Datasets:
BAAI
/

Modalities:
Text
Formats:
json
Libraries:
Datasets
Dask
License:
h094071 commited on
Commit
764779f
1 Parent(s): 8e4c3cb

Upload README_ZH.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README_ZH.md +34 -46
README_ZH.md CHANGED
@@ -1,46 +1,34 @@
1
- ---
2
- license: apache-2.0
3
- language:
4
- - zh
5
- - en
6
- size_categories:
7
- - n>1T
8
- task_categories:
9
- - text-generation
10
- ---
11
-
12
- [[中文主页]](README_ZH.md)
13
-
14
- Industry models play a crucial role in driving enterprise intelligence transformation and innovative development. High-quality industry data is key to improving the performance of large models and realizing industry applications. However, datasets currently used for industry model training generally suffer from issues such as insufficient data volume, low quality, and lack of domain expertise.
15
-
16
- To address these problems, we constructed and applied 22 industry data processing operators to clean and filter 3.4TB of high-quality multi-industry classified Chinese and English language pre-training datasets from over 100TB of open-source datasets including WuDaoCorpora, BAAI-CCI, redpajama, and SkyPile-150B. The filtered data consists of 1TB of Chinese data and 2.4TB of English data. To facilitate user utilization, we annotated the Chinese data with 12 types of labels including alphanumeric ratio, average line length, language confidence score, maximum line length, and perplexity.
17
-
18
- Furthermore, to validate the dataset's performance, we conducted continued pre-training, SFT, and DPO training on a medical industry demonstration model. The results showed a 20% improvement in objective performance and a subjective win rate of 82%.
19
-
20
- Industry categories: 18 categories including medical, education, literature, finance, travel, law, sports, automotive, news, etc.
21
- Rule-based filtering: Traditional Chinese conversion, email removal, IP address removal, link removal, Unicode repair, etc.
22
- Chinese data labels: Alphanumeric ratio, average line length, language confidence score, maximum line length, perplexity, toxicity character ratio, etc.
23
- Model-based filtering: Industry classification language model with 80% accuracy
24
- Data deduplication: MinHash document-level deduplication
25
- Data size: 1TB Chinese, 2.4TB English
26
-
27
- Industry classification data size:
28
-
29
- | Industry Category | Data Size (GB) | Industry Category | Data Size (GB) |
30
- | :-------------------:|:----------------:|:-------------------:|:----------------:|
31
- | Programming | 4.1 | Politics | 326.4 |
32
- | Law | 274.6 | Mathematics | 5.9 |
33
- | Education | 458.1 | Sports | 442 |
34
- | Finance | 197.8 | Literature | 179.3 |
35
- | Computer Science | 46.9 | News | 564.1 |
36
- | Technology | 333.6 | Film & TV | 162.1 |
37
- | Travel | 82.5 | Medicine | 189.4 |
38
- | Agriculture | 41.6 | Automotive | 40.8 |
39
- | Emotion | 31.7 | Artificial Intelligence | 5.6 |
40
- | Total (GB) | 3386.5 | | |
41
-
42
- For the convenience of users to download and use, we have split the large dataset into sub-datasets for 18 industries. The current one is the sub-dataset for the 金融 industry.
43
-
44
- Data processing workflow:
45
-
46
- ![image/png](https://cdn-uploads.huggingface.co/production/uploads/6459c242abdbb77c4c6e1f8e/8okkYsiKvGcU_ssn--vpD.png)
 
1
+ 行业模型在推动企业智能化转型和创新发展中发挥着至关重要的作用。高质量的行业数据是提升大模型性能和实现行业应用落地的关键。然而,目前用于行业模型训练的数据集普遍存在数据量少、质量低、专业性不足等问题。
2
+
3
+ 为了解决这些问题,我们构建并应用了22个行业数据处理算子,从WuDaoCorpora、BAAI-CCI、redpajama、SkyPile-150B等超过100TB的开源数据集中,清洗过滤出3.4TB的高质量多行业分类中英文语言预训练数据集,其中中文数据占1TB,英文数据占2.4TB。为了方便用户使用,我们为中文数据标注了字母数字比例、平均行长度、语言的置信度得分、最大行长度、困惑度等12种标签。
4
+
5
+ 此外,为了验证数据集的性能,我们对医疗行业示范模型进行了继续预训练、SFT和DPO训练。结果显示,模型的客观性能提升了20%,主观胜率达到了82%。
6
+
7
+ 行业分类:医疗、教育、文学、金融、旅游、法律、体育、汽车、新闻等18类行业数据
8
+ 基于规则的过滤:繁体中文转换、删除邮箱信息、删除 IP 地址、删除链接、修复损坏的 Unicode等
9
+ 中文数据标签:字母数字比例、平均行长度、语言的置信度得分、最大行长度、困惑度、毒性等字符比率等
10
+ 基于模型的过滤:行业分类语言模型,分类准确率达到80%
11
+ 数据去重:minhash文档级去重
12
+ 数据大小:中文1TB, 英文2.4TB
13
+
14
+ 行业分类数据大小
15
+
16
+ | 行业类别 | 数据大小(GB) | 行业类别 | 数据大小(GB) |
17
+ | :----------: | :--------------: | :--------: | :--------------: |
18
+ | 编程 | 4.1 | 时政 | 326.4 |
19
+ | 法律 | 274.6 | 数学 | 5.9 |
20
+ | 教育 | 458.1 | 体育 | 442 |
21
+ | 金融 | 197.8 | 文学 | 179.3 |
22
+ | 计算机 | 46.9 | 新闻 | 564.1 |
23
+ | 科技 | 333.6 | 影视 | 162.1 |
24
+ | 旅游 | 82.5 | 医学 | 189.4 |
25
+ | 农业 | 41.6 | 汽车 | 40.8 |
26
+ | 情感 | 31.7 | 人工智能 | 5.6 |
27
+ | 合计(GB) | 3386.5 | | |
28
+
29
+ 为了方便用户下载使用,我们将大的数据集拆分为18个行业的子数据集,当前为金融行业子数据集
30
+
31
+ 数据处理流程图
32
+
33
+ ![数据处理流程图](https://data.baai.ac.cn/resources/projects/data_hub/IndustryCorpus1_0/20240613-170156.jpg)
34
+