PyLlama 7B by mlabonne

 ยป  All LLMs  ยป  mlabonne  ยป  PyLlama 7B   URL Share it on

  Autotrain compatible Dataset:mlabonne/evol-instruct...   Endpoints compatible   Instruct   Llama   Lora   Pytorch   Region:us   Safetensors   Sharded
Model Card on HF ๐Ÿค—: https://huggingface.co/mlabonne/PyLlama-7b 

PyLlama 7B Benchmarks

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

PyLlama 7B Parameters and Internals

Model Type 
text generation
Additional Notes 
The model is fine-tuned using QLoRA with 4-bit precision on the Evol-Instruct-Python-26k dataset. The entire training is done on an RTX 3090 card.
Training Details 
Data Sources:
mlabonne/Evol-Instruct-Python-26k
Methodology:
Fine-tuning using QLoRA (4-bit precision)
Context Length:
2048
Training Time:
9h 52m 34s
Hardware Used:
RTX 3090
Model Architecture:
LlamaForCausalLM
LLM NamePyLlama 7B
Repository ๐Ÿค—https://huggingface.co/mlabonne/PyLlama-7b 
Model Size7b
Required VRAM13.5 GB
Updated2025-02-09
Maintainermlabonne
Instruction-BasedYes
Model Files  0.2 GB   10.0 GB: 1-of-2   3.5 GB: 2-of-2   0.0 GB
Model ArchitectureAutoModelForCausalLM
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 Modulesk_proj|v_proj|o_proj|gate_proj|down_proj|up_proj|q_proj
LoRA Alpha16
LoRA Dropout0.05
R Param32

Best Alternatives to PyLlama 7B

Best Alternatives
Context / RAM
Downloads
Likes
Mistral 7B Instruct V0.332K / 14.5 GB6632391319
Mistral 7B Instruct V0.332K / 14.5 GB53125
Mistral 7B Instruct V0.332K / 14.5 GB8143
...ralai Mistral 7B Instruct V0.332K / 14.5 GB241
Mistral 7B Instruct V0.332K / 14.5 GB50
Full V4 Astromistral Final32K / 4.5 GB91
Mistral 7B Instruct Uz0K / 14.5 GB17610
...phyr 7B Beta Agent Instruct V30K / 0.7 GB51
Cuscuz 7B0K / 14.4 GB211
Code Llama Python0K / 0.3 GB41
Note: green Score (e.g. "73.2") means that the model is better than mlabonne/PyLlama-7b.

Rank the PyLlama 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? 42884 in total.

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