Downloads · 30 days
43
20% of all-time downloads
azherali/Qwen2.5-1.5B-Instruct-dpo
Qwen2.5-1.5B-Instruct-dpo is a text generation model from azherali. Use it when you need the model to write or continue text. It is set up for transformers.
This model is a fine-tuned version of Qwen/Qwen2.5-1.5B-Instruct. It has been trained using TRL.
Downloads · 30 days
43
20% of all-time downloads
All-time downloads
211
Public
Parameters
1.5B
6.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors6.2 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of Qwen/Qwen2.5-1.5B-Instruct. It has been trained using TRL.
from transformers import pipeline
question = "Explain diabetes simply"
generator = pipeline("text-generation", model="azherali/Qwen2.5-1.5B-Instruct-dpo", device="cuda")
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
print(output["generated_text"])
This model was trained with DPO, a method introduced in Direct Preference Optimization: Your Language Model is Secretly a Reward Model.