Sandbox Alignment Data
收藏资源简介:
该数据集致力于运用模型自身的反馈机制来进行数 据标注,而非依赖人类的直接参与。此数据集源自于一个名为SANDBOX 的虚拟 交互环境,该环境模拟了人类社交互动的场景。在这个环境中,多个大语言模型 根据问题给出回复然后互相“交流”,并根据彼此的反馈来不断修正和完善自己的 回复,以期达到更佳的交互效果。该数据集涵盖了169K 个实例,每个实例均包含 一个查询、多个回复选项以及由其他模型给出的相应评分。
This dataset is dedicated to utilizing the model's own feedback mechanism for data annotation, rather than relying on direct human involvement. Originating from a virtual interactive environment named SANDBOX, which simulates human social interaction scenarios, this dataset involves multiple large language models (LLMs) providing responses to queries and then 'communicating' with each other. Through this process, they continuously refine and improve their responses based on mutual feedback, aiming to achieve better interaction outcomes. The dataset encompasses 169K instances, each containing a query, multiple response options, and corresponding ratings provided by other models.
Stable Alignment 数据集概述
数据集简介
Stable Alignment 项目旨在提供一种优于RLHF的对齐学习方法,具有高效的数据学习和易于扩展部署的特点。该方法通过直接训练模拟社交游戏中的交互数据,避免了训练额外奖励模型可能带来的优化问题。
数据集内容
- 社交模拟代码:用于在沙盒环境中运行社交模拟。
- 169K 交互数据:用于对齐训练的交互数据。
- 训练代码:使用稳定对齐方法进行训练的代码。
- So(cially)-Good 语言模型:训练好的语言模型。
数据统计
sandbox_v1.json
| 数据类型 / 社交代理类型 | text-davinci-002 | text-davinci-003 | ChatGPT | 总计 |
|---|---|---|---|---|
| 对齐模仿 | 9.8k | 10k | 10k | 29.8k |
| 自我批评 | 17k | 20k | 20k | 57k |
| 重新对齐 | 3.3k | 3k | 0.7k | 7k |
| 总计 | 30.1k | 33k | 30.7k | 93.8k |
sandbox_v2.json
| 数据类型 / 社交代理类型 | text-davinci-002 | text-davinci-003 | GPT4 | 总计 |
|---|---|---|---|---|
| 对齐模仿 | 18.2k | 10.4k | 20.2k | 48.8k |
| 自我批评 | 36.3k | 18.3k | 40k | 94.6k |
| 重新对齐 | 18.2k | 3.4k | 4.0k | 25.6k |
| 总计 | 72.7k | 32.1k | 64.2k | 169k |
训练方法
使用 torchrun 命令进行训练,支持多GPU训练,训练参数包括模型路径、数据路径、训练轮数、批量大小等。
模型发布
- better-base:基于LLaMA训练的模型,使用AlpacaDataCleaned和codealpaca数据集。
- hh-rlhf-sft:在better-base基础上使用Anthropic HH-RLHF数据集进行监督微调的模型。
- socially-good-lm:在hh-rlhf-sft基础上使用稳定对齐方法训练的社会对齐语言模型。
引用
如果使用本数据集或代码,请引用以下论文: bibtex @misc{liu2023sociallyaligned, title={Training Socially Aligned Language Models in Simulated Human Society}, author={Ruibo Liu and Ruixin Yang and Chenyan Jia and Ge Zhang and Denny Zhou and Andrew M. Dai and Diyi Yang and Soroush Vosoughi}, year={2023}, eprint={2305.16960}, archivePrefix={arXiv}, primaryClass={cs.CL} }




