CodeLlama 7B Hf by codellama

 ยป  All LLMs  ยป  codellama  ยป  CodeLlama 7B Hf   URL Share it on

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

CodeLlama 7B Hf Benchmarks

CodeLlama 7B Hf (codellama/CodeLlama-7b-hf)

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
Updated2025-06-01
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 Codellama7b12613 GB
Musicllm0613 GB
CodeLlama 7B GGUF12243442 GB
CodeLlama 7B AWQ5353 GB
CodeLlama 7B GPTQ143073 GB
CodeLlama 7B GGML27123 GB

Best Alternatives to CodeLlama 7B Hf

Best Alternatives
Context / RAM
Downloads
Likes
CodeLlama 7B Instruct Hf16K / 13.5 GB280420234
Deepseek Coder 6.7B Instruct16K / 13.5 GB46180411
CodeLlama 7B Python Hf16K / 13.5 GB17923141
CodeLlama 7B Hf16K / 13.5 GB5762107
CodeLlama 7B Instruct Hf16K / 13.5 GB686450
MathCoder2 CodeLlama 7B16K / 13.5 GB135
Wizardllama 7B16K / 13.5 GB120
GetCode Slerp16K / 13.6 GB151
Stack Codellama 7B Inst16K / 13.5 GB110
CodeV CL 7B16K / 13.5 GB281
Note: green Score (e.g. "73.2") means that the model is better than codellama/CodeLlama-7b-hf.

Rank the CodeLlama 7B Hf Capabilities

๐Ÿ†˜ 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! ๐ŸŒŸ

Instruction Following and Task Automation  
Factuality and Completeness of Knowledge  
Censorship and Alignment  
Data Analysis and Insight Generation  
Text Generation  
Text Summarization and Feature Extraction  
Code Generation  
Multi-Language Support and Translation  

What open-source LLMs or SLMs are you in search of? 47753 in total.

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Release v20241227