Downloads · 30 days
9
26% of all-time downloads
pyamy/llama3-dpo-pairrm
llama3-dpo-pairrm is a machine learning model from pyamy. 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.
This model is a fine-tuned version of meta-llama/Llama-3.2-1B-Instruct using Direct Preference Optimization (DPO).
Downloads · 30 days
9
26% of all-time downloads
All-time downloads
34
Public
Repo size
336 MB
Likes
0
Public
Click a slice to open those files.
.json121 MB · 50%
From the Hugging Face model README
This model is a fine-tuned version of meta-llama/Llama-3.2-1B-Instruct using Direct Preference Optimization (DPO).
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.2-1B-Instruct")
model = PeftModel.from_pretrained(base_model, "pyamy/llama3-dpo-pairrm")
tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-3.2-1B-Instruct")
See evaluation results in the repository for detailed performance metrics.