Codellama 2 7B by mlabonne

 ยป  All LLMs  ยป  mlabonne  ยป  Codellama 2 7B   URL Share it on

  Adapter Base model:adapter:meta-llama/... Base model:meta-llama/llama-2-...   Code   Codegen Dataset:mlabonne/codellama-2-2...   Finetuned   Llama   Lora   Peft   Pytorch   Region:us   Safetensors   Sharded   Tensorflow
Model Card on HF ๐Ÿค—: https://huggingface.co/mlabonne/codellama-2-7b 

Codellama 2 7B Benchmarks

nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").
Codellama 2 7B (mlabonne/codellama-2-7b)

Codellama 2 7B Parameters and Internals

Model Type 
text generation
Training Details 
Data Sources:
mlabonne/CodeLlama-2-20k
Methodology:
fine-tuning using QLoRA
Hardware Used:
RTX 3090
LLM NameCodellama 2 7B
Repository ๐Ÿค—https://huggingface.co/mlabonne/codellama-2-7b 
Base Model(s)  Llama 2 7B Hf   meta-llama/Llama-2-7b-hf
Model Size7b
Required VRAM13.5 GB
Updated2025-03-24
Maintainermlabonne
Model Files  0.0 GB   0.0 GB   10.0 GB: 1-of-2   10.0 GB: 1-of-2   3.5 GB: 2-of-2   3.5 GB: 2-of-2   0.0 GB
Generates CodeYes
Model ArchitectureAdapter
Licenseapache-2.0
Is Biasednone
Tokenizer ClassLlamaTokenizer
Beginning of Sentence Token<s>
End of Sentence Token</s>
Unk Token<unk>
PEFT TypeLORA
LoRA ModelYes
PEFT Target Modulesq_proj|v_proj
LoRA Alpha16
LoRA Dropout0.1
R Param8

Best Alternatives to Codellama 2 7B

Best Alternatives
Context / RAM
Downloads
Likes
Code Llama 7B Chatbot0K / 1.1 GB60
...10 2024 06 23 10 41 40 35586360K / 0.6 GB80
Codellama2 Finetuned Nl2bash0K / 0 GB21
Tsql To Plsql0K / 0.4 GB50
Second Sql Converter Model0K / 0 GB80
Llama Code 7B0K / 13.5 GB11
EvilCodeLlama 7B0K / 10.8 GB71
Code Llama 7B Text To Sql0K / 1.8 GB124
Codellama 7b DolphinCoder0K / 0.1 GB301
Cria Llama2 7B V1.3 Peft0K / 0.1 GB50
Note: green Score (e.g. "73.2") means that the model is better than mlabonne/codellama-2-7b.

Rank the Codellama 2 7B 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? 45494 in total.

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