LLM EXPLORER 61,491 MODELS INDEXED

CodeLlama 7B Hf by codellama

By codellama · 254150 downloads

CodeLlama 7B Hf is an open-source language model by codellama. Features: 7b LLM, VRAM: 13.5GB, Context: 16K, License: llama2, Code Generating, LLM Explorer Score: 0.21, Arc: 39.9, HellaSwag: 60.8, MMLU: 31.1, GSM8K: 5.2, HumanEval: 30.

  Arxiv:2308.12950   Code   Codegen   Deploy:azure   Deploy:sagemaker   Endpoints compatible   Llama   Llama2   Pytorch   Region:us   Safetensors   Sharded   Tensorflow

CodeLlama 7B Hf Parameters and Internals

Model Type 
text generation, code synthesis, code understanding
Use Cases 
Areas:
commercial, research
Applications:
code synthesis, code understanding, code assistant, code generation
Limitations:
use in languages other than English, violations of laws or regulations
Supported Languages 
English (fluent), programming languages (relevant)
Training Details 
Data Sources:
same data as Llama 2
Hardware Used:
A100-80GB (TDP of 350-400W)
Model Architecture:
Auto-regressive language model with optimized transformer architecture
Safety Evaluation 
Ethical Considerations:
Potential outputs cannot be predicted in advance; may produce inaccurate or objectionable responses.
Input Output 
Input Format:
text only
Output Format:
text only
LLM NameCodeLlama 7B Hf
Repository πŸ€—https://huggingface.co/codellama/CodeLlama-7b-hf 
Model Size7b
Required VRAM13.5 GB
Updated2026-08-03
Maintainercodellama
Model Typellama
Model Files  10.0 GB: 1-of-2   3.5 GB: 2-of-2   4.9 GB: 1-of-3   5.0 GB: 2-of-3   3.6 GB: 3-of-3
Supported Languagescode
Generates CodeYes
Model ArchitectureLlamaForCausalLM
Licensellama2
Context Length16384
Model Max Length16384
Transformers Version4.33.0.dev0
Tokenizer ClassCodeLlamaTokenizer
Beginning of Sentence Token<s>
End of Sentence Token</s>
Unk Token<unk>
Vocabulary Size32016
Torch Data Typebfloat16

Quantized Models of the CodeLlama 7B Hf

Model
Likes
Downloads
VRAM
Bachinstruct Codellama7b13913 GB
Musicllm01213 GB
CodeLlama 7B GGUF13430532 GB
CodeLlama 7B AWQ6753 GB
CodeLlama 7B GPTQ14633 GB
CodeLlama 7B GGML27103 GB

Best Alternatives to CodeLlama 7B Hf

Best Alternatives
Context / RAM
Downloads
Likes
Deepseek Coder 6.7B Instruct16K / 13.5 GB535311507
CodeLlama 7B Instruct Hf16K / 13.5 GB58587258
GetCode Slerp16K / 13.6 GB871
Wizardllama 7B16K / 13.5 GB480
GoLLIE 7B16K / 40.5 GB277932
Codellama 7B Hf ReFT GSM8k16K / 13.5 GB4591
MathCoder2 CodeLlama 7B16K / 13.5 GB105
Stack Codellama 7B Inst16K / 13.5 GB660
CodeLlama 7B Python Hf16K / 13.5 GB1935146
CodeV CL 7B16K / 13.5 GB4301
Note: green Score (e.g. "73.2") means that the model is better than codellama/CodeLlama-7b-hf.