Downloads · 30 days
4
17% of all-time downloads
ssmurali/qwen2.5-0.5b-sft
qwen2.5-0.5b-sft is a machine learning model from ssmurali. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft.
This is a PEFT LoRA adapter for Qwen/Qwen2.5-0.5B-Instruct.
Downloads · 30 days
4
17% of all-time downloads
All-time downloads
23
Public
Repo size
46.1 MB
Likes
0
Public
Click a slice to open those files.
.bin34.6 MB · 69%
From the Hugging Face model README
This is a PEFT LoRA adapter for Qwen/Qwen2.5-0.5B-Instruct.
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-0.5B-Instruct")
model = PeftModel.from_pretrained(base_model, "ssmurali/qwen2.5-0.5b-sft")
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-0.5B-Instruct")