LLM EXPLORER 61,491 MODELS INDEXED

CodeLlama 7B Python Hf by codellama

By codellama · 1935 downloads

CodeLlama 7B Python 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.14, Arc: 29.3, HellaSwag: 50.1, MMLU: 28.4, GSM8K: 5.2, HumanEval: 40.5.

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

CodeLlama 7B Python Hf Parameters and Internals

Model Type 
text generation
Use Cases 
Areas:
Commercial, Research
Applications:
Code synthesis and understanding, Python programming
Primary Use Cases:
Python specialist, Code completion
Limitations:
Use in languages other than English, Potentially objectionable content
Training Details 
Hardware Used:
A100-80GB
Model Architecture:
Auto-regressive language model with optimized transformer architecture.
Responsible Ai Considerations 
Mitigation Strategies:
Developers should perform safety testing and tuning tailored to their specific applications of the model.
Input Output 
Input Format:
Text only
Output Format:
Text only
LLM NameCodeLlama 7B Python Hf
Repository πŸ€—https://huggingface.co/codellama/CodeLlama-7b-Python-hf 
Model Size7b
Required VRAM13.5 GB
Updated2026-07-25
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 Size32000
Torch Data Typebfloat16

Quantized Models of the CodeLlama 7B Python Hf

Model
Likes
Downloads
VRAM
CodeLlama 7B Python Fp1691013 GB

Best Alternatives to CodeLlama 7B Python 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
CodeV CL 7B16K / 13.5 GB4301
Note: green Score (e.g. "73.2") means that the model is better than codellama/CodeLlama-7b-Python-hf.