CodeLlama 7B Instruct Hf by meta-llama

 ยป  All LLMs  ยป  meta-llama  ยป  CodeLlama 7B Instruct Hf   URL Share it on

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

CodeLlama 7B Instruct 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 Instruct Hf Parameters and Internals

Model Type 
text generation, code synthesis
Use Cases 
Areas:
Commercial, Research
Applications:
Code synthesis, Code understanding, Python programming
Primary Use Cases:
Code generation assistance
Limitations:
Use in any manner that violates laws
Considerations:
Responsible Use Guide available at Meta's website.
Additional Notes 
The model is designed to be safer with community feedback and will have future versions.
Supported Languages 
English (fluent)
Training Details 
Data Sources:
Data used in training Llama 2
Methodology:
Trained using optimized transformer architecture; auto-regressive model.
Training Time:
From January 2023 to July 2023
Hardware Used:
A100-80GB GPUs
Model Architecture:
Auto-regressive language model using optimized transformer architecture
Safety Evaluation 
Methodologies:
English language testing
Risk Categories:
inaccurate or objectionable responses
Ethical Considerations:
Potential for producing unpredictable outputs.
Responsible Ai Considerations 
Mitigation Strategies:
Developers should perform safety testing and tuning tailored to specific applications.
Input Output 
Input Format:
Text input
Accepted Modalities:
text
Output Format:
Text output
LLM NameCodeLlama 7B Instruct Hf
Repository ๐Ÿค—https://huggingface.co/meta-llama/CodeLlama-7b-Instruct-hf 
Model Size7b
Required VRAM13.5 GB
Updated2024-11-21
Maintainermeta-llama
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
CodeLlama 7B Instruct Hf (meta-llama/CodeLlama-7b-Instruct-hf)

Best Alternatives to CodeLlama 7B Instruct Hf

Best Alternatives
Context / RAM
Downloads
Likes
Deepseek Coder 6.7B Instruct16K / 13.5 GB44551350
CodeLlama 7B Instruct Hf16K / 13.5 GB92874217
CodeV CL 7B16K / 13.5 GB11531
GetCode Slerp16K / 13.6 GB12141
Cdlm 7 Ko Nl2sql V1.016K / 13.5 GB41704
Stack Codellama 7B Inst16K / 13.5 GB790
...ama 7B Instruct Hf Dequantized16K / 13.5 GB1970
...deLlama 7B Instruct Hf 8bits Q16K / 4.2 GB11
Llama 2 7B Chat Finetune516K / 13.8 GB11
Glaive Coder 7B16K / 27 GB114954
Note: green Score (e.g. "73.2") means that the model is better than meta-llama/CodeLlama-7b-Instruct-hf.

Rank the CodeLlama 7B Instruct 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? 38199 in total.

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