CodeLlama 7B Hf is an open-source language model by codellama. Features: 7b LLM, VRAM: 13.5GB, Context: 16K, License: llama2, Code Generating, HF Score: 39.8, LLM Explorer Score: 0.2, Arc: 39.9, HellaSwag: 60.8, MMLU: 31.1, TruthfulQA: 37.8, WinoGrande: 64, GSM8K: 5.2, HumanEval: 30.
| Model Type |
| |||||||||
| Use Cases |
| |||||||||
| Supported Languages |
| |||||||||
| Training Details |
| |||||||||
| Safety Evaluation |
| |||||||||
| Input Output |
|
| LLM Name | CodeLlama 7B Hf |
| Repository 🤗 | https://huggingface.co/codellama/CodeLlama-7b-hf |
| Model Size | 7b |
| Required VRAM | 13.5 GB |
| Updated | 2026-04-20 |
| Maintainer | codellama |
| Model Type | llama |
| Model Files | |
| Supported Languages | code |
| Generates Code | Yes |
| Model Architecture | LlamaForCausalLM |
| License | llama2 |
| Context Length | 16384 |
| Model Max Length | 16384 |
| Transformers Version | 4.33.0.dev0 |
| Tokenizer Class | CodeLlamaTokenizer |
| Beginning of Sentence Token | <s> |
| End of Sentence Token | </s> |
| Unk Token | <unk> |
| Vocabulary Size | 32016 |
| Torch Data Type | bfloat16 |
Model |
Likes |
Downloads |
VRAM |
|---|---|---|---|
| Bachinstruct Codellama7b | 1 | 56 | 13 GB |
| CodeLlama 7B GGUF | 132 | 5843 | 2 GB |
| Musicllm | 0 | 12 | 13 GB |
| CodeLlama 7B AWQ | 6 | 126 | 3 GB |
| CodeLlama 7B GGML | 27 | 16 | 3 GB |
| CodeLlama 7B GPTQ | 14 | 44 | 3 GB |
Best Alternatives |
Context / RAM |
Downloads |
Likes |
|---|---|---|---|
| Deepseek Coder 6.7B Instruct | 16K / 13.5 GB | 215811 | 491 |
| CodeLlama 7B Instruct Hf | 16K / 13.5 GB | 224984 | 255 |
| GetCode Slerp | 16K / 13.6 GB | 139 | 1 |
| Wizardllama 7B | 16K / 13.5 GB | 111 | 0 |
| Codellama 7B Hf ReFT GSM8k | 16K / 13.5 GB | 864 | 1 |
| MathCoder2 CodeLlama 7B | 16K / 13.5 GB | 12 | 5 |
| CodeLlama 7B Python Hf | 16K / 13.5 GB | 2488 | 144 |
| GoLLIE 7B | 16K / 40.5 GB | 2070 | 30 |
| Stack Codellama 7B Inst | 16K / 13.5 GB | 92 | 0 |
| CodeLlama 7B Instruct Hf | 16K / 13.5 GB | 2794 | 59 |
🆘 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! 🌟