Llama 2 Coder 7B by mrm8488

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

Llama 2 Coder 7B is an open-source language model by mrm8488. Features: 7b LLM, VRAM: 13.5GB, Context: 4K, License: apache-2.0, Code Generating, HF Score: 50, LLM Explorer Score: 0.13, Arc: 54, HellaSwag: 78.4, MMLU: 46.3, TruthfulQA: 38.5, WinoGrande: 75.5, GSM8K: 7.1.

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

Llama 2 Coder 7B Benchmarks

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
Updated2026-04-30
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 GGUF159282 GB
Llama 2 Coder 7B AWQ3793 GB
Llama 2 Coder 7B GPTQ10103 GB

Best Alternatives to Llama 2 Coder 7B

Best Alternatives
Context / RAM
Downloads
Likes
Deepseek Coder 6.7B Instruct16K / 13.5 GB215811491
CodeLlama 7B Instruct Hf16K / 13.5 GB224984255
CodeLlama 7B Hf16K / 13.5 GB63145375
GetCode Slerp16K / 13.6 GB1391
Wizardllama 7B16K / 13.5 GB1110
Codellama 7B Hf ReFT GSM8k16K / 13.5 GB8641
MathCoder2 CodeLlama 7B16K / 13.5 GB125
CodeLlama 7B Python Hf16K / 13.5 GB2488144
GoLLIE 7B16K / 40.5 GB207030
Stack Codellama 7B Inst16K / 13.5 GB920
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? 53472 in total.

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Check out Ag3ntum — our secure, self-hosted AI agent for server management.
Release v20260328a