CodeLlama 7B Instruct GPTQ by TheBloke

 »  All LLMs  »  TheBloke  »  CodeLlama 7B Instruct GPTQ   URL Share it on

CodeLlama 7B Instruct GPTQ is an open-source language model by TheBloke. Features: 7b LLM, VRAM: 3.9GB, Context: 16K, License: llama2, Quantized, Instruction-Based, Code Generating, LLM Explorer Score: 0.1.

  Arxiv:2308.12950   4-bit   Code   Codegen   Custom code   Gptq   Instruct   Llama   Llama2   Quantized   Region:us   Safetensors

CodeLlama 7B Instruct GPTQ Benchmarks

nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").

CodeLlama 7B Instruct GPTQ Parameters and Internals

Model Type 
llama
Training Details 
Hardware Used:
A100-80GB (TDP of 350-400W)
Model Architecture:
Auto-regressive language model using optimized transformer architecture.
LLM NameCodeLlama 7B Instruct GPTQ
Repository 🤗https://huggingface.co/TheBloke/CodeLlama-7B-Instruct-GPTQ 
Model NameCodeLlama 7B Instruct
Model CreatorMeta
Base Model(s)  codellama/CodeLlama-7b-instruct-hf   codellama/CodeLlama-7b-instruct-hf
Model Size7b
Required VRAM3.9 GB
Updated2026-04-23
MaintainerTheBloke
Model Typellama
Instruction-BasedYes
Model Files  3.9 GB
Supported Languagescode
GPTQ QuantizationYes
Quantization Typegptq
Generates CodeYes
Model ArchitectureLlamaForCausalLM
Licensellama2
Context Length16384
Model Max Length16384
Transformers Version4.32.0
Tokenizer ClassLlamaTokenizer
Beginning of Sentence Token<s>
End of Sentence Token</s>
Unk Token<unk>
Vocabulary Size32016
Torch Data Typefloat16

Best Alternatives to CodeLlama 7B Instruct GPTQ

Best Alternatives
Context / RAM
Downloads
Likes
...a 7B Instruct GPTQ Calib Ja 1K16K / 3.9 GB60
...ruct Solidity Bnb 4bit Smashed16K / 4.2 GB60
...B Instruct Hf Bnb 4bit Smashed16K / 4.2 GB60
...eLlama 7B Instruct Hf 4bit MLX16K / 4.2 GB942
CodelLama7B Inst DPO 7K Mlx16K / 4.2 GB333
...6.7B Instruct 8.0bpw H8 EXL2 216K / 6.8 GB72
...6.7B Instruct 3.0bpw H6 EXL2 216K / 2.8 GB51
... 7B Instruct Nf4 Fp16 Upscaled16K / 13.5 GB50
CodeLlama 7B Instruct Fp1616K / 13.5 GB447
...Llama 7B Instruct Bf16 Sharded16K / 13.5 GB271
Note: green Score (e.g. "73.2") means that the model is better than TheBloke/CodeLlama-7B-Instruct-GPTQ.

Rank the CodeLlama 7B Instruct GPTQ 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