Downloads · 30 days
7
7% of all-time downloads
ayoubkirouane/Mistral-SLERP-Merged7B-DPO
Mistral-SLERP-Merged7B-DPO is a text generation model from ayoubkirouane. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
- DPO PEFT finetuned version from my Mistral-SLERP-Merged7B
Downloads · 30 days
7
7% of all-time downloads
All-time downloads
97
Public
Repo size
672 MB
Likes
0
Public
Click a slice to open those files.
.safetensors671 MB · 100%
From the Hugging Face model README

Direct Preference Optimization (DPO) is an algorithm introduced in order to achieve precise control of the behavior of large-scale unsupervised language models (LMs). It is a parameterization of the reward model in Reinforcement Learning from Human Feedback (RLHF) that enables the extraction of the corresponding optimal policy in closed form. This allows for the solution of the standard RLHF problem with only a simple classification loss.
DPO eliminates the need for sampling from the LM during fine-tuning or performing significant hyperparameter tuning, making it stable, performant, and computationally lightweight. Experiments have shown that DPO can fine-tune LMs to align with human preferences as well as or better than existing methods. It has been found to be particularly effective in controlling the sentiment of generations and matching or improving response quality in summarization and single-turn dialogue.