abideen / Mistral-v2-orpo

huggingface.co
Total runs: 64
24-hour runs: 0
7-day runs: -4
30-day runs: -5
Model's Last Updated: Março 26 2024
text-generation

Introduction of Mistral-v2-orpo

Model Details of Mistral-v2-orpo

Mistral-v0.2-orpo

image/jpeg

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

image/png

🎭 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

More Mistral-v2-orpo license Visit here:

https://choosealicense.com/licenses/apache-2.0

Mistral-v2-orpo huggingface.co

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 Url

https://huggingface.co/abideen/Mistral-v2-orpo

abideen Mistral-v2-orpo online free

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:

https://huggingface.co/abideen/Mistral-v2-orpo

Mistral-v2-orpo install

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.

Mistral-v2-orpo install url in huggingface.co:

https://huggingface.co/abideen/Mistral-v2-orpo

Url of Mistral-v2-orpo

Mistral-v2-orpo huggingface.co Url

Provider of Mistral-v2-orpo huggingface.co

abideen
ORGANIZATIONS

Other API from abideen

huggingface.co

Total runs: 78
Run Growth: -9
Growth Rate: -11.54%
Updated:Março 17 2024
huggingface.co

Total runs: 21
Run Growth: 4
Growth Rate: 19.05%
Updated:Abril 15 2024
huggingface.co

Total runs: 21
Run Growth: -3
Growth Rate: -14.29%
Updated:Janeiro 11 2024
huggingface.co

Total runs: 15
Run Growth: 0
Growth Rate: 0.00%
Updated:Fevereiro 22 2024
huggingface.co

Total runs: 5
Run Growth: 0
Growth Rate: 0.00%
Updated:Janeiro 07 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:Maio 29 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:Dezembro 21 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:Maio 13 2025