BAAI/Infinity-Instruct
收藏资源简介:
Infinity Instruct数据集是一个大规模、高质量的指令数据集,旨在提升模型在文本生成任务中的表现。数据集包含两个主要类别:基础数据集(Foundational Dataset)和聊天数据集(Chat Dataset)。基础数据集包含从开源数据集中筛选的数百万条指令,用于提升模型在代码、数学等下游任务中的表现。聊天数据集则包含从高质量种子数据中演化而来的约100万条指令,用于提升模型在真实对话场景中的指令遵循能力。数据集支持多种语言(如英语和中文),并且规模在100万到1000万条指令之间。
The Infinity Instruct dataset is a large-scale, high-quality instruction dataset designed to enhance model performance in text generation tasks. The dataset consists of two main categories: the Foundational Dataset and the Chat Dataset. The Foundational Dataset contains millions of instructions selected from open-source datasets, aimed at improving model performance on challenging downstream tasks such as code and math. The Chat Dataset contains approximately 1 million instructions evolved from a small subset of high-quality seed data, designed to further improve the instruction-following ability of models in real conversation scenarios. The dataset supports multiple languages (e.g., English and Chinese) and has a scale ranging from 1 million to 10 million instructions.
Infinity Instruct 数据集概述
基本信息
- 任务类别: 文本生成
- 语言: 英语、中文
- 数据规模: 1M<n<10M
最新动态
- 2024/06/21: 发布了 InfInstruct-Mistral-7B 0613 模型权重,在 AlpacaEval 2.0 上表现优于 Mixtral 8x7B v0.1、Gemini Pro 和 GPT-3.5,且无需 RLHF。
- 2024/06/13: 分享了数据构建过程的中间结果(对应 InfInstruct-3M),最终版本包含 1000 万条指令,计划于 6 月底发布。
GPT-4 自动评估
| 模型 | MT-Bench | AlpacaEval2.0 |
|---|---|---|
| InfInstruct-Mistral-7B 0613 | 8.1 | 25.5 |
下游任务性能
| 模型 | MMLU | GSM8K | HumanEval | HellaSwag | 平均 |
|---|---|---|---|---|---|
| InfInstruct-3M-Mistral-7B | 62.9 | 78.1 | 50.6 | 84.8 | 69.1 |
数据集概览
- 基础数据集: InfInstruct-3M
- 聊天数据集: InfInstruct-0608, InfInstruct-0612, InfInstruct-0613
数据来源
- 开源社区: 收集了大量开源数据,包括但不限于 OpenHermes-2.5、UltraInteract_sft、CodeBagel 等。
数据集详细信息
- 原始数据集及其行数:
- glaiveai/glaive-code-assistant-v3: 61699
- Replete-AI/code_bagel_hermes-2.5: 383904
- m-a-p/CodeFeedback-Filtered-Instruction: 60735
- bigcode/self-oss-instruct-sc2-exec-filter-50k: 50467
- codefuse-ai/CodeExercise-Python-27k: 27159
- nickrosh/Evol-Instruct-Code-80k-v1: 53702
- TIGER-Lab/MathInstruct: 140666
- microsoft/orca-math-word-problems-200k: 198133
- MetaMathQa: 295195
- teknium/Openhermes-2.5: 847925
- Selected subjective instructions: 1343888
- 总计: 3463473
指令选择与生成
- 高质量开源指令收集与标签系统: 收集并标记高质量开源指令集,用于识别内容分布和完成任务所需能力。
- 信息指令选择: 选择需求多领域知识或能力的指令,以及长尾能力或高难度指令。
- 数据进化策略生成指令: 基于 Evol-Instruct 方法扩展指令,使用 AI 助手生成多轮对话数据。
- 模型能力缺陷诊断: 通过模型性能评估系统自动识别模型弱点,并针对性地合成新指令。
免责声明
- 本项目资源仅限学术研究使用,不得用于商业目的。模型输出受随机性等因素影响,不保证准确性,项目不承担任何法律责任。




