LLM EXPLORER 59,420 MODELS INDEXED

Codellama 2 7B by mlabonne

By mlabonne · 23 downloads

Codellama 2 7B is an open-source language model by mlabonne. Features: 7b LLM, VRAM: 13.5GB, License: apache-2.0, Code Generating, LLM Explorer Score: 0.08.

  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

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
Updated2026-08-05
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 GB50
Mistral 7b 2EPOCH DolphinCoder0K / 0.1 GB50
Mistral 7b 3Epoch DolphinCoder0K / 0.1 GB80
Codellama2 Finetuned Nl2bash0K / 0 GB71
Tsql To Plsql0K / 0.4 GB50
Second Sql Converter Model0K / 0 GB80
Llama Code 7B0K / 13.5 GB61
Cria Llama2 7B V1.3 Peft0K / 0.1 GB80
EvilCodeLlama 7B0K / 10.8 GB141
Note: green Score (e.g. "73.2") means that the model is better than mlabonne/codellama-2-7b.