CodeLlama 7B Hf by meta-llama

 Β»  All LLMs  Β»  meta-llama  Β»  CodeLlama 7B Hf   URL Share it on

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

CodeLlama 7B Hf Benchmarks

nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").
CodeLlama 7B Hf (meta-llama/CodeLlama-7b-hf)

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
Updated2024-12-22
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 16bit01713 GB

Best Alternatives to CodeLlama 7B Hf

Best Alternatives
Context / RAM
Downloads
Likes
Deepseek Coder 6.7B Instruct16K / 13.5 GB17049354
CodeLlama 7B Hf16K / 13.5 GB46352334
CodeLlama 7B Instruct Hf16K / 13.5 GB40427218
CodeLlama 7B Instruct Hf16K / 13.5 GB1995829
MathCoder2 CodeLlama 7B16K / 13.5 GB794
GetCode Slerp16K / 13.6 GB11021
CodeV CL 7B16K / 13.5 GB5961
Cdlm 7 Ko Nl2sql V1.016K / 13.5 GB48174
CodeLlama 7B Python Hf16K / 13.5 GB5130135
Wizardllama 7B16K / 13.5 GB770
Note: green Score (e.g. "73.2") means that the model is better than meta-llama/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? 40066 in total.

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