UCLA-AGI/Llama-3-Instruct-8B-SPPO-Iter2

Model

0

stars

4

commits

2

linked in READMEs

Jun 25, 2024

updated

conversational
endpoints_compatible
llama
pytorch
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)

Llama-3-Instruct-8B-SPPO-Iter2

This model was developed using Self-Play Preference Optimization at iteration 2, based on the meta-llama/Meta-Llama-3-8B-Instruct 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.

Model Description

  • Model type: A 8B parameter GPT-like model fine-tuned on synthetic datasets.
  • Language(s) (NLP): Primarily English
  • License: Apache-2.0
  • Finetuned from model: meta-llama/Meta-Llama-3-8B-Instruct

AlpacaEval Leaderboard Evaluation Results

ModelLC. Win RateWin RateAvg. Length
Llama-3-8B-SPPO Iter131.7331.741962
Llama-3-8B-SPPO Iter235.1535.982021
Llama-3-8B-SPPO Iter338.7739.852066

Open LLM Leaderboard Evaluation Results

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

arc_challengetruthfulqa_mc2winograndegsm8khellaswagmmluaverage
Llama-3-8B-SPPO Iter163.8254.9676.4075.4479.8065.6569.35
Llama-3-8B-SPPO Iter264.9356.4876.8775.1380.3965.6769.91
Llama-3-8B-SPPO Iter365.1958.0477.1174.9180.8665.6070.29

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: 6.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

4 commits

UCLA-AGI/Llama-3-Instruct-8B-SPPO-Iter2

Model

0

stars

4

commits

2

linked in READMEs

Jun 25, 2024

updated

conversational
endpoints_compatible
llama
pytorch
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)

Llama-3-Instruct-8B-SPPO-Iter2

This model was developed using Self-Play Preference Optimization at iteration 2, based on the meta-llama/Meta-Llama-3-8B-Instruct 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.

Model Description

  • Model type: A 8B parameter GPT-like model fine-tuned on synthetic datasets.
  • Language(s) (NLP): Primarily English
  • License: Apache-2.0
  • Finetuned from model: meta-llama/Meta-Llama-3-8B-Instruct

AlpacaEval Leaderboard Evaluation Results

ModelLC. Win RateWin RateAvg. Length
Llama-3-8B-SPPO Iter131.7331.741962
Llama-3-8B-SPPO Iter235.1535.982021
Llama-3-8B-SPPO Iter338.7739.852066

Open LLM Leaderboard Evaluation Results

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

arc_challengetruthfulqa_mc2winograndegsm8khellaswagmmluaverage
Llama-3-8B-SPPO Iter163.8254.9676.4075.4479.8065.6569.35
Llama-3-8B-SPPO Iter264.9356.4876.8775.1380.3965.6769.91
Llama-3-8B-SPPO Iter365.1958.0477.1174.9180.8665.6070.29

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: 6.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

4 commits