Datasets:
configs:
- config_name: chinese_traditional
data_files:
- split: train
path: chinese_traditional/*
- config_name: coig_pc
data_files:
- split: train
path: coig_pc/*
- config_name: exam
data_files:
- split: train
path: exam/*
- config_name: finance
- config_name: douban
data_files:
- split: train
path: douban/*
- config_name: finance
data_files:
- split: train
path: finance/*
- config_name: human_value
data_files:
- split: train
path: human_value/*
- config_name: logi_qa
data_files:
- split: train
path: logi_qa/*
- config_name: ruozhiba
data_files:
- split: train
path: ruozhiba/*
- config_name: segmentfault
data_files:
- split: train
path: segmentfault/*
- config_name: wiki
data_files:
- split: train
path: wiki/*
- config_name: wikihow
data_files:
- split: train
path: wikihow/*
- config_name: xhs
data_files:
- split: train
path: xhs/*
- config_name: zhihu
data_files:
- split: train
path: zhihu/*
task_categories:
- question-answering
- text-classification
- text-generation
- text2text-generation
language:
- zh
size_categories:
- 10K<n<100K
COIG-CQIA:Quality is All you need for Chinese Instruction Fine-tuning
Dataset Details
Dataset Description
欢迎来到COIG-CQIA,COIG-CQIA全称为Chinese Open Instruction Generalist - Quality is All You Need, 是一个开源的高质量指令微调数据集,旨在为中文NLP社区提供高质量且符合人类交互行为的指令微调数据。COIG-CQIA以中文互联网获取到的问答及文章作为原始数据,经过深度清洗、重构及人工审核构建而成。本项目受LIMA: Less Is More for Alignment等研究启发,使用少量高质量的数据即可让大语言模型学习到人类交互行为,因此在数据构建中我们十分注重数据的来源、质量与多样性,数据集详情请见数据介绍以及我们接下来的论文。
Welcome to the COIG-CQIA project page. COIG-CQIA stands for Chinese Open Instruction Generalist - Quality is All You Need, a high-quality Chinese instruction fine-tuning dataset. This dataset is designed to provide the Chinese NLP community with high-quality and human interaction-aligned instruction fine-tuning data.Inspired by studies like LIMA: Less Is More for Alignment, COIG-CQIA focuses on creating a dataset from Chinese internet sources including Q&A and articles. These are deeply cleansed, restructured, and manually reviewed to ensure quality, diversity, and relevance.
- Curated by: 来自零一万物、中科院深圳先进技术研究院,和M-A-P等机构的研究者们。
- Language(s) (NLP): 本数据集主要语言为中文。
- License: [More Information Needed]
本数据集当前为v0.1版本,如果您在使用中发现数据集存在问题或者有可以改进的地方,欢迎留言交流!
Uses
Direct Use
本数据集适用于指令微调,训练模型具备响应指令的能力。
Out-of-Scope Use
[More Information Needed]
数据
数据格式
{
"instruction": "示例问题或者指令。",
"input": "示例问题或指令的补充。",
"output": "对输入的回复。",
"task_type": {
"major": ["问答"],
"minor": ["百科问答"]
},
"domain": ["百科", "医疗"],
"answer_from": "human",
"human_verified": true,
"copyright": "作者及版权信息。",
}
数据字段
instruction
: 用于输入的指令或者问题。input
: 问题或指令的补充内容。output
: 输入对应的回答。task_type
: 表示该数据所属的主要任务类型和细分任务类型。domain
: 该数据所属领域。answer_from
: 回答是人类撰写的还是大模型撰写的,本数据集中绝大部分是由人类撰写的回答,少部分由大模型生成(经过了人工验证)。human_verified
: 该数据是否又人类核验过。copyright
: 包括该数据的版权信息,包括作者等。
当前版本的数据字段中仍有不完善的部分,我们将在近期的下一版本中补充。
数据详情
社交媒体&论坛
通用百科
通用NLP任务
类别 | 数量 | 来源 | 构造方式 |
---|---|---|---|
COIG-PC-Core | 3000 | [Open Dataset] | 人工验证数据质量。 |
总量 | 3000 | - | - |
考试&试题
类别 | 数量 | 来源 | 构造方式 |
---|---|---|---|
高考&中考 | 2000 | [公开数据集] | - |
研究生入学考试 | 475 | 从网络中收集 | 规则方式清洗与筛选。 |
逻辑推理题 | 422 | 从网络中收集 | 规则方式清洗与筛选。 |
总量 | 2897 | - | - |
中国传统文化
金融&经管领域
医疗领域
法律领域
类别 | 数量 | 来源 | 构造方式 |
---|---|---|---|
法律研究生入学考试 | 2645 | 从网络中收集 | 规则方式清洗与筛选。 |
总量 | 2645 | - | - |
Recommendations
Users should be made aware of the risks, biases and limitations of the dataset. More information needed for further recommendations.
Citation
如果本项目为您的研究带来了帮助,欢迎引用!
@article{bai2024coig,
title={COIG-CQIA: Quality is All You Need for Chinese Instruction Fine-tuning},
author={Bai, Yuelin and Du, Xinrun and Liang, Yiming and Jin, Yonggang and Liu, Ziqiang and Zhou, Junting and Zheng, Tianyu and Zhang, Xincheng and Ma, Nuo and Wang, Zekun and others},
journal={arXiv preprint arXiv:2403.18058},
year={2024}
}
本数据集中也包含了以下公开数据:
@article{zhang2023chinese,
title={Chinese open instruction generalist: A preliminary release},
author={Zhang, Ge and Shi, Yemin and Liu, Ruibo and Yuan, Ruibin and Li, Yizhi and Dong, Siwei and Shu, Yu and Li, Zhaoqun and Wang, Zekun and Lin, Chenghua and others},
journal={arXiv preprint arXiv:2304.07987},
year={2023}
}
@misc{Firefly,
author = {Jianxin Yang},
title = {Firefly(流萤): 中文对话式大语言模型},
year = {2023},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/yangjianxin1/Firefly}},
}
@misc{xu2023cvalues,
title={CValues: Measuring the Values of Chinese Large Language Models from Safety to Responsibility},
author={Guohai Xu and Jiayi Liu and Ming Yan and Haotian Xu and Jinghui Si and Zhuoran Zhou and Peng Yi and Xing Gao and Jitao Sang and Rong Zhang and Ji Zhang and Chao Peng and Fei Huang and Jingren Zhou},
year={2023},
eprint={2307.09705},
archivePrefix={arXiv},
primaryClass={cs.CL}
}