Sponsored by
Vmake Labs Video Enhancer
-O Vmake Labs Video Enhancer utiliza IA para melhorar a qualidade dos vídeos, restaurar detalhes, reduzir a desfocagem e aumentar
Mistral-v0.2-orpo
is a fine-tuned version of the new
Mistral-7B-v0.2
on
argilla/distilabel-capybara-dpo-7k-binarized
preference dataset using
Odds Ratio Preference Optimization (ORPO)
. The model has been trained for 1 epoch. It took almost 8 hours on A100 GPU.
💥 LazyORPO
This model has been trained using
LazyORPO
. A colab notebook that makes the training
process much easier. Based on
ORPO paper
🎭 What is ORPO?
Odds Ratio Preference Optimization (ORPO) proposes a new method to train LLMs by combining SFT and Alignment into a new objective (loss function), achieving state of the art results.
Some highlights of this techniques are:
🧠 Reference model-free → memory friendly
🔄 Replaces SFT+DPO/PPO with 1 single method (ORPO)
🏆 ORPO Outperforms SFT, SFT+DPO on PHI-2, Llama 2, and Mistral
📊 Mistral ORPO achieves 12.20% on AlpacaEval2.0, 66.19% on IFEval, and 7.32 on MT-Bench out Hugging Face Zephyr Beta
💻 Usage
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
torch.set_default_device("cuda")
model = AutoModelForCausalLM.from_pretrained("abideen/Mistral-v0.2-orpo", torch_dtype="auto", trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained("abideen/Mistral-v0.2-orpo", trust_remote_code=True)
inputs = tokenizer(''' """ Write a detailed analogy between mathematics and a lighthouse. """''', return_tensors="pt", return_attention_mask=False)
outputs = model.generate(**inputs, max_length=200)
text = tokenizer.batch_decode(outputs)[0]
print(text)
🏆 Evaluation
COMING SOON
Runs of abideen Mistral-v2-orpo on huggingface.co
64
Total runs
0
24-hour runs
-3
3-day runs
-4
7-day runs
-5
30-day runs
More Information About Mistral-v2-orpo huggingface.co Model
Mistral-v2-orpo huggingface.co is an AI model on huggingface.co that provides Mistral-v2-orpo's model effect (), which can be used instantly with this abideen Mistral-v2-orpo model. huggingface.co supports a free trial of the Mistral-v2-orpo model, and also provides paid use of the Mistral-v2-orpo. Support call Mistral-v2-orpo model through api, including Node.js, Python, http.
Mistral-v2-orpo huggingface.co is an online trial and call api platform, which integrates Mistral-v2-orpo's modeling effects, including api services, and provides a free online trial of Mistral-v2-orpo, you can try Mistral-v2-orpo online for free by clicking the link below.
abideen Mistral-v2-orpo online free url in huggingface.co:
Mistral-v2-orpo is an open source model from GitHub that offers a free installation service, and any user can find Mistral-v2-orpo on GitHub to install. At the same time, huggingface.co provides the effect of Mistral-v2-orpo install, users can directly use Mistral-v2-orpo installed effect in huggingface.co for debugging and trial. It also supports api for free installation.