UCLA-AGI/Mistral7B-PairRM-SPPO-Iter1

Model

2

stars

16

commits

4

linked in READMEs

May 6, 2024

updated

conversational
endpoints_compatible
mistral
safetensors
text-generation
text-generation-inference
transformers
Browse cluster: LLM Fine-tuning & RLHF Optimization

README

Self-Play Preference Optimization for Language Model Alignment (https://arxiv.org/abs/2405.00675)

Mistral7B-PairRM-SPPO-Iter1

This model was developed using Self-Play Preference Optimization at iteration 1, based on the mistralai/Mistral-7B-Instruct-v0.2 architecture as starting point. We utilized the prompt sets from the openbmb/UltraFeedback dataset, splited to 3 parts for 3 iterations by snorkelai/Snorkel-Mistral-PairRM-DPO-Dataset. All responses used are synthetic.

This is the model reported in the paper , with K=5 (generate 5 responses per iteration). We attached the Arena-Hard eval results in this model page.

Model Description

  • Model type: A 7B parameter GPT-like model fine-tuned on synthetic datasets.
  • Language(s) (NLP): Primarily English
  • License: Apache-2.0
  • Finetuned from model: mistralai/Mistral-7B-Instruct-v0.2

AlpacaEval Leaderboard Evaluation Results

ModelLC. Win RateWin RateAvg. Length
Mistral7B-PairRM-SPPO Iter 124.7923.511855
Mistral7B-PairRM-SPPO Iter 226.8927.622019
Mistral7B-PairRM-SPPO Iter 328.5331.022163
Mistral7B-PairRM-SPPO Iter 1 (best-of-16)28.7127.771901
Mistral7B-PairRM-SPPO Iter 2 (best-of-16)31.2332.122035
Mistral7B-PairRM-SPPO Iter 3 (best-of-16)32.1334.942174

Arena-Hard Evaluation Results

ModelScore95% CIaverage # Tokens
Mistral7B-PairRM-SPPO-Iter323.3(-1.8, 1.8)578

Open LLM Leaderboard Evaluation Results

Results are reported by using lm-evaluation-harness v0.4.1

arc_challengetruthfulqa_mc2winograndegsm8khellaswagmmluaverage
Mistral7B-PairRM-SPPO Iter 165.0269.477.8243.8285.1158.8466.67
Mistral7B-PairRM-SPPO Iter 265.5369.5577.0344.3585.2958.7266.75
Mistral7B-PairRM-SPPO Iter 365.3669.9776.842.6885.1658.4566.4

MT-Bench Evaluation Results

1st Turn2nd TurnAverage
Mistral7B-PairRM-SPPO Iter 17.636.797.21
Mistral7B-PairRM-SPPO Iter 27.907.087.49
Mistral7B-PairRM-SPPO Iter 37.847.347.59

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 5e-07
  • eta: 1000
  • per_device_train_batch_size: 8
  • gradient_accumulation_steps: 1
  • seed: 42
  • distributed_type: deepspeed_zero3
  • num_devices: 8
  • optimizer: RMSProp
  • lr_scheduler_type: linear
  • lr_scheduler_warmup_ratio: 0.1
  • num_train_epochs: 18.0 (stop at epoch=1.0)

Citation

@misc{wu2024self,
      title={Self-Play Preference Optimization for Language Model Alignment}, 
      author={Wu, Yue and Sun, Zhiqing and Yuan, Huizhuo and Ji, Kaixuan and Yang, Yiming and Gu, Quanquan},
      year={2024},
      eprint={2405.00675},
      archivePrefix={arXiv},
      primaryClass={cs.LG}
}

Contributors

angelahzyuan

16 commits

UCLA-AGI/Mistral7B-PairRM-SPPO-Iter1

Model

2

stars

16

commits

4

linked in READMEs

May 6, 2024

updated

conversational
endpoints_compatible
mistral
safetensors
text-generation
text-generation-inference
transformers
Browse cluster: LLM Fine-tuning & RLHF Optimization

README

Self-Play Preference Optimization for Language Model Alignment (https://arxiv.org/abs/2405.00675)

Mistral7B-PairRM-SPPO-Iter1

This model was developed using Self-Play Preference Optimization at iteration 1, based on the mistralai/Mistral-7B-Instruct-v0.2 architecture as starting point. We utilized the prompt sets from the openbmb/UltraFeedback dataset, splited to 3 parts for 3 iterations by snorkelai/Snorkel-Mistral-PairRM-DPO-Dataset. All responses used are synthetic.

This is the model reported in the paper , with K=5 (generate 5 responses per iteration). We attached the Arena-Hard eval results in this model page.

Model Description

  • Model type: A 7B parameter GPT-like model fine-tuned on synthetic datasets.
  • Language(s) (NLP): Primarily English
  • License: Apache-2.0
  • Finetuned from model: mistralai/Mistral-7B-Instruct-v0.2

AlpacaEval Leaderboard Evaluation Results

ModelLC. Win RateWin RateAvg. Length
Mistral7B-PairRM-SPPO Iter 124.7923.511855
Mistral7B-PairRM-SPPO Iter 226.8927.622019
Mistral7B-PairRM-SPPO Iter 328.5331.022163
Mistral7B-PairRM-SPPO Iter 1 (best-of-16)28.7127.771901
Mistral7B-PairRM-SPPO Iter 2 (best-of-16)31.2332.122035
Mistral7B-PairRM-SPPO Iter 3 (best-of-16)32.1334.942174

Arena-Hard Evaluation Results

ModelScore95% CIaverage # Tokens
Mistral7B-PairRM-SPPO-Iter323.3(-1.8, 1.8)578

Open LLM Leaderboard Evaluation Results

Results are reported by using lm-evaluation-harness v0.4.1

arc_challengetruthfulqa_mc2winograndegsm8khellaswagmmluaverage
Mistral7B-PairRM-SPPO Iter 165.0269.477.8243.8285.1158.8466.67
Mistral7B-PairRM-SPPO Iter 265.5369.5577.0344.3585.2958.7266.75
Mistral7B-PairRM-SPPO Iter 365.3669.9776.842.6885.1658.4566.4

MT-Bench Evaluation Results

1st Turn2nd TurnAverage
Mistral7B-PairRM-SPPO Iter 17.636.797.21
Mistral7B-PairRM-SPPO Iter 27.907.087.49
Mistral7B-PairRM-SPPO Iter 37.847.347.59

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 5e-07
  • eta: 1000
  • per_device_train_batch_size: 8
  • gradient_accumulation_steps: 1
  • seed: 42
  • distributed_type: deepspeed_zero3
  • num_devices: 8
  • optimizer: RMSProp
  • lr_scheduler_type: linear
  • lr_scheduler_warmup_ratio: 0.1
  • num_train_epochs: 18.0 (stop at epoch=1.0)

Citation

@misc{wu2024self,
      title={Self-Play Preference Optimization for Language Model Alignment}, 
      author={Wu, Yue and Sun, Zhiqing and Yuan, Huizhuo and Ji, Kaixuan and Yang, Yiming and Gu, Quanquan},
      year={2024},
      eprint={2405.00675},
      archivePrefix={arXiv},
      primaryClass={cs.LG}
}

Contributors

angelahzyuan

16 commits