Llama 2 Coder 7B by mrm8488

 ยป  All LLMs  ยป  mrm8488  ยป  Llama 2 Coder 7B   URL Share it on

  Autotrain compatible   Code   Codegen   Coding Dataset:huggingfaceh4/codealpa...   Doi:10.57967/hf/0931   Endpoints compatible   Generated from trainer   Llama   Pytorch   Region:us   Sharded

Llama 2 Coder 7B Benchmarks

Llama 2 Coder 7B (mrm8488/llama-2-coder-7b)

Llama 2 Coder 7B Parameters and Internals

Model Type 
text generation, code generation
Use Cases 
Areas:
code assistance, instruction-driven code tasks, commercial
Applications:
software development, code refactoring, coding education
Primary Use Cases:
Coding assistant, Instruction-driven code assistance
Supported Languages 
programming_languages (.all programming languages, focusing on instruction-driven tasks.)
Training Details 
Data Sources:
HuggingFaceH4/CodeAlpaca_20K
Data Volume:
20K instruction-following data
Methodology:
QLoRA fine-tuning with PEFT library
Model Architecture:
Llama-2-Chat fine-tuned with QLoRA
Safety Evaluation 
Methodologies:
Human evaluations for helpfulness and safety
Findings:
On par with ChatGPT and PaLM for dialogue use cases
Input Output 
Input Format:
Instruction as a prompt
Accepted Modalities:
text
Output Format:
Generated text solution
LLM NameLlama 2 Coder 7B
Repository ๐Ÿค—https://huggingface.co/mrm8488/llama-2-coder-7b 
Model Size7b
Required VRAM13.5 GB
Updated2025-02-05
Maintainermrm8488
Model Typellama
Model Files  10.0 GB: 1-of-2   3.5 GB: 2-of-2
Supported Languagescode
Generates CodeYes
Model ArchitectureLlamaForCausalLM
Licenseapache-2.0
Context Length4096
Model Max Length4096
Transformers Version4.31.0
Tokenizer ClassLlamaTokenizer
Beginning of Sentence Token<s>
End of Sentence Token</s>
Unk Token<unk>
Vocabulary Size32000
Torch Data Typebfloat16

Quantized Models of the Llama 2 Coder 7B

Model
Likes
Downloads
VRAM
Llama 2 Coder 7B GGUF1314822 GB
Llama 2 Coder 7B AWQ3113 GB
Llama 2 Coder 7B GPTQ1053 GB

Best Alternatives to Llama 2 Coder 7B

Best Alternatives
Context / RAM
Downloads
Likes
Deepseek Coder 6.7B Instruct16K / 13.5 GB31321374
CodeLlama 7B Instruct Hf16K / 13.5 GB131801224
CodeLlama 7B Hf16K / 13.5 GB65816344
CodeLlama 7B Hf16K / 13.5 GB2515079
CodeLlama 7B Instruct Hf16K / 13.5 GB2757237
GetCode Slerp16K / 13.6 GB12291
MathCoder2 CodeLlama 7B16K / 13.5 GB375
Wizardllama 7B16K / 13.5 GB610
CodeLlama 7B Python Hf16K / 13.5 GB5257137
Cdlm 7 Ko Nl2sql V1.016K / 13.5 GB23114
Note: green Score (e.g. "73.2") means that the model is better than mrm8488/llama-2-coder-7b.

Rank the Llama 2 Coder 7B Capabilities

๐Ÿ†˜ Have you tried this model? Rate its performance. This feedback would greatly assist ML community in identifying the most suitable model for their needs. Your contribution really does make a difference! ๐ŸŒŸ

Instruction Following and Task Automation  
Factuality and Completeness of Knowledge  
Censorship and Alignment  
Data Analysis and Insight Generation  
Text Generation  
Text Summarization and Feature Extraction  
Code Generation  
Multi-Language Support and Translation  

What open-source LLMs or SLMs are you in search of? 42625 in total.

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Release v20241227