LLM EXPLORER 61,491 MODELS INDEXED

CodeLlama 7B Instruct Hf by codellama

By codellama · 58587 downloads

CodeLlama 7B Instruct Hf is an open-source language model by codellama. Features: 7b LLM, VRAM: 13.5GB, Context: 16K, License: llama2, Instruction-Based, Code Generating, LLM Explorer Score: 0.18, Arc: 36.5, HellaSwag: 55.4, MMLU: 34.5, GSM8K: 8, HumanEval: 45.7.

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

CodeLlama 7B Instruct Hf Parameters and Internals

Model Type 
generative, text-generation
Use Cases 
Areas:
Commercial, Research
Applications:
Code synthesis, Code understanding, Code assistant and generation applications
Primary Use Cases:
General code synthesis, Python programming, Instruction following
Limitations:
Output in languages other than English is not recommended., Use in any manner that violates applicable laws or regulations is prohibited.
Considerations:
Developers should perform safety testing and tuning tailored to their specific applications.
Additional Notes 
This is a static model trained on an offline dataset.
Supported Languages 
primary_language (English), specialties (Programming languages, primarily Python)
Training Details 
Data Sources:
Same data as Llama 2
Methodology:
Trained with custom libraries on Meta’s Research Super Cluster
Hardware Used:
A100-80GB GPUs
Model Architecture:
Auto-regressive language model using an optimized transformer architecture
Input Output 
Input Format:
Text
Accepted Modalities:
Text
Output Format:
Text
LLM NameCodeLlama 7B Instruct Hf
Repository πŸ€—https://huggingface.co/codellama/CodeLlama-7b-Instruct-hf 
Model Size7b
Required VRAM13.5 GB
Updated2026-07-22
Maintainercodellama
Model Typellama
Instruction-BasedYes
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 Instruct Hf

Model
Likes
Downloads
VRAM
...B Instruct Hf Bnb 4bit Smashed064 GB

Best Alternatives to CodeLlama 7B Instruct Hf

Best Alternatives
Context / RAM
Downloads
Likes
Deepseek Coder 6.7B Instruct16K / 13.5 GB535311507
GetCode Slerp16K / 13.6 GB871
Stack Codellama 7B Inst16K / 13.5 GB660
CodeV CL 7B16K / 13.5 GB4301
CodeLlama 7B Instruct Hf16K / 13.5 GB231363
Glaive Coder 7B16K / 27 GB8555
...deLlama 7B Instruct Hf 8bits Q16K / 4.2 GB171
Llama 2 7B Chat Finetune516K / 13.8 GB31
...ama 7B Instruct Hf Dequantized16K / 13.5 GB1970
CodeLLama SFT FILTERED16K / 13.5 GB90
Note: green Score (e.g. "73.2") means that the model is better than codellama/CodeLlama-7b-Instruct-hf.