Text Generation
Transformers
PyTorch
Safetensors
English
llama
axolotl
Generated from Trainer
conversational
text-generation-inference
Zhangchen Xu commited on
Commit
b1e27a1
·
verified ·
1 Parent(s): c3a87c5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -55
README.md CHANGED
@@ -43,6 +43,8 @@ It achieves performance comparable with the official Llama-3.1-8B-Instruct Model
43
 
44
  **Conversation Template**: Please use Llama 3 **official chat template** for the best performance.
45
 
 
 
46
  ## Citation
47
 
48
  If you find the model, data, or code useful, please cite our paper:
@@ -172,58 +174,4 @@ special_tokens:
172
 
173
  ```
174
 
175
- </details><be>
176
-
177
- ## Paper Abstract
178
-
179
- <details><summary>Click Here</summary>
180
- High-quality instruction data is critical for aligning large language models (LLMs). Although some models, such as Llama-3-Instruct, have open weights, their alignment data remain private, which hinders the democratization of AI. High human labor costs and a limited, predefined scope for prompting prevent existing open-source data creation methods from scaling effectively, potentially limiting the diversity and quality of public alignment datasets. Is it possible to synthesize high-quality instruction data at scale by extracting it directly from an aligned LLM? We present a self-synthesis method for generating large-scale alignment data named Magpie. Our key observation is that aligned LLMs like Llama-3-Instruct can generate a user query when we input only the left-side templates up to the position reserved for user messages, thanks to their auto-regressive nature. We use this method to prompt Llama-3-Instruct and generate 4 million instructions along with their corresponding responses. We perform a comprehensive analysis of the extracted data and select 300K high-quality instances. To compare Magpie data with other public instruction datasets, we fine-tune Llama-3-8B-Base with each dataset and evaluate the performance of the fine-tuned models. Our results indicate that in some tasks, models fine-tuned with Magpie perform comparably to the official Llama-3-8B-Instruct, despite the latter being enhanced with 10 million data points through supervised fine-tuning (SFT) and subsequent feedback learning. We also show that using Magpie solely for SFT can surpass the performance of previous public datasets utilized for both SFT and preference optimization, such as direct preference optimization with UltraFeedback. This advantage is evident on alignment benchmarks such as AlpacaEval, ArenaHard, and WildBench.
181
- </details><be>
182
-
183
- ## 📚 Citation
184
-
185
- If you find the model, data, or code useful, please cite our paper:
186
- ```
187
- @article{xu2024magpie,
188
- title={Magpie: Alignment Data Synthesis from Scratch by Prompting Aligned LLMs with Nothing},
189
- author={Zhangchen Xu and Fengqing Jiang and Luyao Niu and Yuntian Deng and Radha Poovendran and Yejin Choi and Bill Yuchen Lin},
190
- year={2024},
191
- eprint={2406.08464},
192
- archivePrefix={arXiv},
193
- primaryClass={cs.CL}
194
- }
195
- ```
196
-
197
- Please also cite the creators of preference datasets:
198
-
199
- SimPO paper:
200
- ```
201
- @article{meng2024simpo,
202
- title={{SimPO}: Simple preference optimization with a reference-free reward},
203
- author={Meng, Yu and Xia, Mengzhou and Chen, Danqi},
204
- journal={arXiv preprint arXiv:2405.14734},
205
- year={2024}
206
- }
207
- ```
208
-
209
- UltraFeedback paper:
210
- ```
211
- @article{cui2023ultrafeedback,
212
- title={{UltraFeedback}: Boosting language models with high-quality feedback},
213
- author={Cui, Ganqu and Yuan, Lifan and Ding, Ning and Yao, Guanming and Zhu, Wei and Ni, Yuan and Xie, Guotong and Liu, Zhiyuan and Sun, Maosong},
214
- journal={arXiv preprint arXiv:2310.01377},
215
- year={2023}
216
- }
217
- ```
218
-
219
- ArmoRM paper:
220
- ```
221
- @article{wang2024interpretable,
222
- title={Interpretable Preferences via Multi-Objective Reward Modeling and Mixture-of-Experts},
223
- author={Wang, Haoxiang and Xiong, Wei and Xie, Tengyang and Zhao, Han and Zhang, Tong},
224
- journal={arXiv preprint arXiv:2406.12845},
225
- year={2024}
226
- }
227
- ```
228
-
229
- **Questions?** Please contact [Zhangchen](https://zhangchenxu.com/) by email.
 
43
 
44
  **Conversation Template**: Please use Llama 3 **official chat template** for the best performance.
45
 
46
+ **Questions?** Please contact [Zhangchen](https://zhangchenxu.com/) by email.
47
+
48
  ## Citation
49
 
50
  If you find the model, data, or code useful, please cite our paper:
 
174
 
175
  ```
176
 
177
+ </details><be>