LLM EXPLORER 58,873 MODELS INDEXED

CodeLlama 7B Hf by meta-llama

By meta-llama · 980 downloads

CodeLlama 7B Hf is an open-source language model by meta-llama. Features: 7b LLM, VRAM: 13.5GB, Context: 16K, License: llama2, Code Generating, LLM Explorer Score: 0.13.

  Arxiv:2308.12950   Code   Codegen   Endpoints compatible   Facebook   Llama   Llama2   Meta   Pytorch   Region:us   Safetensors   Sharded   Tensorflow

CodeLlama 7B Hf Parameters and Internals

Model Type 
text generation
Use Cases 
Areas:
commercial, research
Applications:
code synthesis, code understanding
Primary Use Cases:
Python programming, code generation
Limitations:
Use outside of English language, Violate laws, Use contrary to Llama License
Considerations:
Developers should perform safety testing before deployment.
Additional Notes 
Future versions will include improvements via community feedback.
Supported Languages 
English (full), Programming languages (relevant)
Training Details 
Data Sources:
same as Llama 2
Data Volume:
unknown
Methodology:
custom training libraries
Context Length:
4096
Training Time:
unknown
Hardware Used:
Meta’s Research Super Cluster with A100-80GB GPUs
Model Architecture:
optimized transformer architecture
Safety Evaluation 
Risk Categories:
misinformation, bias
Ethical Considerations:
Model outputs may be inaccurate or objectionable.
Responsible Ai Considerations 
Fairness:
Not all biases can be mitigated.
Transparency:
Model may produce unexpected outputs.
Accountability:
Licensees are responsible for their use.
Mitigation Strategies:
Developers advised to perform safety testing and tuning.
Input Output 
Input Format:
text only
Accepted Modalities:
text
Output Format:
text only
Performance Tips:
Use Python variants for Python-specific tasks.
LLM NameCodeLlama 7B Hf
Repository πŸ€—https://huggingface.co/meta-llama/CodeLlama-7b-hf 
Model Size7b
Required VRAM13.5 GB
Updated2026-08-04
Maintainermeta-llama
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
CodeLlama 7B Java 16bit01013 GB

Best Alternatives to CodeLlama 7B Hf

Best Alternatives
Context / RAM
Downloads
Likes
Deepseek Coder 6.7B Instruct16K / 13.5 GB535311507
CodeLlama 7B Hf16K / 13.5 GB254150377
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
Note: green Score (e.g. "73.2") means that the model is better than meta-llama/CodeLlama-7b-hf.