Downloads · 30 days
23
1% of all-time downloads
alvarobartt/Mistral-7B-v0.1-ORPO
Mistral-7B-v0.1-ORPO is a text generation model from alvarobartt. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
23
1% of all-time downloads
All-time downloads
2.7K
Public
Parameters
7.2B
16.3 GB on disk
Likes
14
Public
Click a slice to open those files.
.safetensors14.5 GB · 100%
From the Hugging Face model README

Stable Diffusion XL "A capybara, a killer whale, and a robot named Ultra being friends"
This is an ORPO fine-tune of mistralai/Mistral-7B-v0.1 with
alvarobartt/dpo-mix-7k-simplified.
⚠️ Note that the code is still experimental, as the ORPOTrainer PR is still not merged, follow its progress
at 🤗trl - ORPOTrainer PR.
In order to fine-tune mistralai/Mistral-7B-v0.1 using ORPO, the branch
orpo from 🤗trl has been used, thanks to the invaluable and quick contribution of
@kashif.
ORPO stands for Odds Ratio Preference Optimization, and defines a new paradigm on fine-tuning LLMs, “combining” both the SFT and the PPO/DPO stage into a single stage, thanks to the proposed loss function starting off from a preference dataset i.e. chosen-rejected pairs.
Some key features about ORPO:
Some notes on the experiments mentioned in the paper:
For more information about ORPO, I highly recommend reading their paper titled ORPO: Monolithic Preference Optimization without Reference Model,
as it contains a lot of information and details not only on the ORPO method, but also on the experiment they ran, the results they got, and much more.
📅 Fine-tuning code will be shared soon, stay tuned!
The dataset used for this fine-tune is alvarobartt/dpo-mix-7k-simplified,
which is a simplified version of argilla/dpo-mix-7k.
The simplification comes from the fact that the prompt column is detached from both the chosen and rejected
columns so that there's no need for extra pre-processing while applying the chat template to the dataset before the
fine-tuning. So on, the dataset remains as is, with an additional column for the prompt.
The dataset is a small cocktail combining Argilla's latest efforts on DPO datasets, mixing the following datasets:
argilla/distilabel-capybara-dpo-7k-binarizedargilla/distilabel-intel-orca-dpo-pairsargilla/ultrafeedback-binarized-preferences-cleanedThe samples have been randomly selected from the original datasets with a proportion of 0.33 each, as can be seen via the dataset column of the dataset.
For more information about the original dataset check the README.md file of argilla/dpo-mix-7k.