Downloads · 30 days
5
12% of all-time downloads
TunaMonsieur/lab22-dpo-vn
lab22-dpo-vn is a machine learning model from TunaMonsieur. 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. The card lists the license as apache-2.0.
LoRA adapter trained with DPO (TRL) on an SFT-mini checkpoint. VinUni AICB Track-3 Day-22.
Downloads · 30 days
5
12% of all-time downloads
All-time downloads
43
Public
Repo size
131 MB
Likes
0
Public
Click a slice to open those files.
.safetensors120 MB · 88%
From the Hugging Face model README
LoRA adapter trained with DPO (TRL) on an SFT-mini checkpoint. VinUni AICB Track-3 Day-22.
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base = "unsloth/Qwen2.5-3B-bnb-4bit"
tok = AutoTokenizer.from_pretrained(base)
m = AutoModelForCausalLM.from_pretrained(base, load_in_4bit=True, device_map="auto")
m = PeftModel.from_pretrained(m, "TunaMonsieur/lab22-dpo-vn")