Downloads · 30 days
1
6% of all-time downloads
ssmurali/qwen2.5-1.5b-sft
qwen2.5-1.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-1.5B-Instruct.
Downloads · 30 days
1
6% of all-time downloads
All-time downloads
18
Public
Repo size
81.2 MB
Likes
0
Public
Click a slice to open those files.
.bin69.8 MB · 81%
From the Hugging Face model README
This is a PEFT LoRA adapter for Qwen/Qwen2.5-1.5B-Instruct.
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-1.5B-Instruct")
model = PeftModel.from_pretrained(base_model, "ssmurali/qwen2.5-1.5b-sft")
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-1.5B-Instruct")