wenge-research
commited on
Commit
•
ae89e2d
1
Parent(s):
a445144
first commit
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +1 -0
- README.md +52 -0
- assets/compression_rate.png +3 -0
- assets/data_distribution.jpg +3 -0
- assets/data_process.png +3 -0
- assets/language_distribution.jpg +3 -0
- assets/loss.png +3 -0
- assets/yayi_dark.png +3 -0
- assets/yayi_dark_small.png +3 -0
- assets/yayi_light.png +3 -0
- part_0.jsonl +3 -0
- part_1.jsonl +3 -0
- part_10.jsonl +3 -0
- part_100.jsonl +3 -0
- part_1000.jsonl +3 -0
- part_1001.jsonl +3 -0
- part_1002.jsonl +3 -0
- part_1003.jsonl +3 -0
- part_1004.jsonl +3 -0
- part_1005.jsonl +3 -0
- part_1006.jsonl +3 -0
- part_1007.jsonl +3 -0
- part_1008.jsonl +3 -0
- part_1009.jsonl +3 -0
- part_101.jsonl +3 -0
- part_1010.jsonl +3 -0
- part_1011.jsonl +3 -0
- part_1012.jsonl +3 -0
- part_1013.jsonl +3 -0
- part_1014.jsonl +3 -0
- part_1015.jsonl +3 -0
- part_1016.jsonl +3 -0
- part_1017.jsonl +3 -0
- part_1018.jsonl +3 -0
- part_1019.jsonl +3 -0
- part_102.jsonl +3 -0
- part_1020.jsonl +3 -0
- part_1021.jsonl +3 -0
- part_1022.jsonl +3 -0
- part_1023.jsonl +3 -0
- part_1024.jsonl +3 -0
- part_1025.jsonl +3 -0
- part_1026.jsonl +3 -0
- part_1027.jsonl +3 -0
- part_1028.jsonl +3 -0
- part_1029.jsonl +3 -0
- part_103.jsonl +3 -0
- part_1030.jsonl +3 -0
- part_1031.jsonl +3 -0
- part_1032.jsonl +3 -0
.gitattributes
CHANGED
@@ -53,3 +53,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
53 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
|
|
|
53 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
56 |
+
*.jsonl filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
language:
|
4 |
+
- zh
|
5 |
+
- en
|
6 |
+
size_categories:
|
7 |
+
- 100B<n<1T
|
8 |
+
---
|
9 |
+
|
10 |
+
|
11 |
+
## 介绍/Introduction
|
12 |
+
|
13 |
+
本数据集源自雅意训练语料,我们精选了约100B数据,数据大小约为500GB。我们期望通过雅意预训练数据的开源推动中文预训练大模型开源社区的发展,并积极为此贡献力量。通过开源,我们与每一位合作伙伴共同构建雅意大模型生态。
|
14 |
+
|
15 |
+
We opensource the pre-trained dataset in this release, it should contain more than 100B tokens depending on the tokenizer you use, requiring more than 500GB of local storage. By open-sourcing the pre-trained dataset, we aim to contribute to the development of the Chinese pre-trained large language model open-source community. Through open-source, we aspire to collaborate with every partner in building the YAYI large language model ecosystem.
|
16 |
+
|
17 |
+
## 组成
|
18 |
+
|
19 |
+
* 在预训练阶段,我们不仅使用了互联网数据来训练模型的语言能力,还添加了通用精选数据和领域数据,以增强模型的专业技能。通用精选数据包含人工收集和整理的高质量数据。涵盖了报纸类数据、文献类数据、APP类数据、代码类数据、书籍类数据、百科类数据。其中,报纸类数据包括广泛的新闻报道和专栏文章,这类数据通常结构化程度高,信息量丰富。文献类数据包括学术论文和研究报告,为我们的数据集注入了专业和深度。代码类数据包括各种编程语言的源码,有助于构建和优化技术类数据的处理模型。书籍类数据涵盖了小说、诗歌、古文、教材等内容,提供丰富的语境和词汇,增强语言模型的理解能力。数据分布情况如下:
|
20 |
+
* During the pre-training phase, we not only utilized internet data to train the model's language abilities but also incorporated curated general data and domain-specific information to enhance the model's expertise. Curated general data covers a wide range of categories including books (e.g., textbooks, novels), codes, encyclopedias, forums, academic papers, authoritative news, laws and regulations. Details of the data distribution are as follows:
|
21 |
+
|
22 |
+
![data distribution](https://huggingface.co/datasets/wenge-research/yayi2_pretrain_data/resolve/main/assets/data_distribution.jpg)
|
23 |
+
|
24 |
+
## 数据清洗
|
25 |
+
|
26 |
+
- 我们构建了一套全方位提升数据质量的数据处理流水线,包括标准化、启发式清洗、多级去重、毒性过滤四个模块。我们共收集了 240TB 原始数据,预处理后仅剩 10.6TB 高质量数据。整体流程如下:
|
27 |
+
|
28 |
+
- We establish a comprehensive data processing pipeline to enhance data quality in all aspects. This pipeline comprises four modules: normalizing, heuristic cleaning, multi-level deduplication, and toxicity filtering. 240 terabytes of raw data are collected for pre-training, and only 10.6 terabytes of high-quality data remain after preprocessing. Details of the data processing pipeline are as follows:
|
29 |
+
|
30 |
+
![data process](https://huggingface.co/datasets/wenge-research/yayi2_pretrain_data/resolve/main/assets/data_process.png)
|
31 |
+
|
32 |
+
|
33 |
+
## 协议/License
|
34 |
+
|
35 |
+
本项目中的代码依照 [Apache-2.0](https://github.com/wenge-research/YAYI2/blob/main/LICENSE) 协议开源,社区使用 YAYI 2 模型和数据需要遵循[雅意YAYI 2 模型社区许可协议](https://github.com/wenge-research/YAYI2/blob/main/COMMUNITY_LICENSE)。若您需要将雅意 YAYI 2系列模型或其衍生品用作商业用途,请根据[《雅意 YAYI 2 模型商用许可协议》](https://github.com/wenge-research/YAYI2/blob/main/COMMERCIAL_LICENSE)将商用许可申请登记信息发送至指定邮箱 [[email protected]](mailto:[email protected])。审核通过后,雅意将授予您商用版权许可,请遵循协议中的商业许可限制。
|
36 |
+
|
37 |
+
The code in this project is open-sourced under the [Apache-2.0](https://github.com/wenge-research/YAYI2/blob/main/LICENSE) license. The use of YaYi series model weights and data must adhere to the [YAYI 2 Community License](https://github.com/wenge-research/YAYI2/blob/main/COMMUNITY_LICENSE). If you intend to use the YAYI 2 series models or their derivatives for commercial purposes, please submit your commercial license application and registration information to [[email protected]](mailto:[email protected]), following the [YAYI 2 Commercial License](https://github.com/wenge-research/YAYI2/blob/main/COMMERCIAL_LICENSE). Upon approval, YAYI will grant you a commercial copyright license, subject to the commercial license restrictions outlined in the agreement.
|
38 |
+
|
39 |
+
## 引用/Citation
|
40 |
+
|
41 |
+
如果您在工作中使用了我们的模型或者数据,请引用我们的论文。
|
42 |
+
|
43 |
+
If you are using the resource for your work, please cite our paper.
|
44 |
+
|
45 |
+
```
|
46 |
+
@article{YAYI 2,
|
47 |
+
author = {Yin Luo, Qingchao Kong, Nan Xu, et.al.},
|
48 |
+
title = {YAYI 2: Multilingual Open Source Large Language Models},
|
49 |
+
journal = {arXiv preprint arXiv},
|
50 |
+
year = {2023}
|
51 |
+
}
|
52 |
+
```
|
assets/compression_rate.png
ADDED
Git LFS Details
|
assets/data_distribution.jpg
ADDED
Git LFS Details
|
assets/data_process.png
ADDED
Git LFS Details
|
assets/language_distribution.jpg
ADDED
Git LFS Details
|
assets/loss.png
ADDED
Git LFS Details
|
assets/yayi_dark.png
ADDED
Git LFS Details
|
assets/yayi_dark_small.png
ADDED
Git LFS Details
|
assets/yayi_light.png
ADDED
Git LFS Details
|
part_0.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:88050b2c12b5f8c2910d6d7ed33dd7bbcc38a0687984265989f3ce73cc5a0dda
|
3 |
+
size 104859657
|
part_1.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fa89449ca99da00033e3f0b9f9db944c01dfbae2d27757f221d336934318aca8
|
3 |
+
size 104857917
|
part_10.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e36542808a8a48527c1060f20581130b8f942ab8ad2df6283422319d81ed07f4
|
3 |
+
size 104858142
|
part_100.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:80d7267044844d42e63d65c14a16cfb88a47d5dae1dcc3a406e82c8e270ea089
|
3 |
+
size 104857643
|
part_1000.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ece32226158a287b1e90202ab8534594e469516e4e9ff4ee381b6c1279856232
|
3 |
+
size 104861322
|
part_1001.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0050ae666d89f3220b15a90456d1772a45da6086fdeae1a97a62329e0332bdcd
|
3 |
+
size 104875378
|
part_1002.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:11786e88209e56c968e0b0f2f72ac403c43410e785403080f074d539d002c47a
|
3 |
+
size 104859159
|
part_1003.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c4104c535b5d8e1f3b1fe2d5b15b45bca167a1066dd4d70f2ee1d1f44c70157a
|
3 |
+
size 104858696
|
part_1004.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a8c1c79e0ccfbc8df8f56bd161a05ead378327aeb66b17fbb94d469c1cf6c7ad
|
3 |
+
size 104858952
|
part_1005.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0bd07a0a3ada43f5519be83634c98876623c58cabef22133fa3603decb103872
|
3 |
+
size 104869785
|
part_1006.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed07d21300a9b92522014497bc2171a09ad3074624841bb318409305cf1718cd
|
3 |
+
size 104866000
|
part_1007.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:56ca39faa9ca6ca308070a46e1b1eb2fc3a91868b5662fff7fde9aa73930efad
|
3 |
+
size 138309781
|
part_1008.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:136d8672095644b470ca82c873a2679bd0b4d56389f4f7cffa35c90e2cdb5e7f
|
3 |
+
size 104858446
|
part_1009.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:65f0fedc7e76adc355898dcf475c21ca907c95fc4d97003ff66c7e954e87f396
|
3 |
+
size 104857736
|
part_101.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8a887594d6d855ba14b87fbd9545ac33a02c9147cc67f44af29272ef48cd95ed
|
3 |
+
size 104863490
|
part_1010.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1bdea1326c28ca46504a4a0da6d574c18a9b88bd45983d47b8b355d31cfb994c
|
3 |
+
size 104858913
|
part_1011.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9ed5a90e32bb5427b283c1e7dd79913aef8fea06faefc4a5c776ab0ee5fd6dbb
|
3 |
+
size 104857863
|
part_1012.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0e7d82afdea0e6964095cd5af416a4d098c036edb038dea670f57db411f1d593
|
3 |
+
size 104858480
|
part_1013.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:233282241f7a61637c830080b770e23d6f081f999d0d7edfb14cdf8eea48ba97
|
3 |
+
size 104857639
|
part_1014.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a903a9460b7f59f19b60610ab31890aa109aab55187d80551b115adb19203cef
|
3 |
+
size 104858113
|
part_1015.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f0f10efb02636266d6436b070b08388f8d9206cb95ae8f2b125184ee1ddad976
|
3 |
+
size 104878272
|
part_1016.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8361644e9035c0973e5ebd47f2f8c9f2884780caba09680496f9f3fef09c0866
|
3 |
+
size 104858258
|
part_1017.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8a0f53a1e6691eaca12230a0a3d2ec93fb4f63196761d6680112182797406bce
|
3 |
+
size 104878757
|
part_1018.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:210ebfd6ed203c7b685f65d103a7e1233e27981213f8c7ec1b8184771709afdc
|
3 |
+
size 104863135
|
part_1019.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ca79590b5398bbfd126cd9ac700adf3b68066c9601d26ca0d5f5dad4830d8848
|
3 |
+
size 104857801
|
part_102.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:666e2cf3b78a26ba0487b69a4ae0e9fe347f7836a2ec53197413ea0b03dafbcd
|
3 |
+
size 104860487
|
part_1020.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f9b03f756348c23f37a9c7a93b94146c76ac64b93726b5e166168a5bc0be6ce4
|
3 |
+
size 104859853
|
part_1021.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:27dcb14bf05a3fce3ccf5804d884de981ca202cef438bb2d0c5957bb8025bdfa
|
3 |
+
size 104857920
|
part_1022.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d49dd129f095f7c8e5b3ea5c6560ac57d59c5f53c86a5b414daccb2525fbe4f8
|
3 |
+
size 104858663
|
part_1023.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:89615a77c1d0ea0773bd65a0c2cb6453660f2b736e9f61cf3a9d17c4b422ac18
|
3 |
+
size 104857986
|
part_1024.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b1e32b59caaa67f6f51b472fa8f35f2559011cf99779e76a3349fc9211534d15
|
3 |
+
size 104858467
|
part_1025.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ebd406821608cce7390ea5ad1c4392aef5998709b4b9379876968dc2e63c36e0
|
3 |
+
size 104857798
|
part_1026.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2a51705468819318d6425a2060b341d5ee2b10fc5dbc30f93ebed783a338b57b
|
3 |
+
size 104858482
|
part_1027.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f80c0d4623b48b2dbae73cb9b60a4b60a83b7583f576f77a7c4cf20ba416352
|
3 |
+
size 104897135
|
part_1028.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:17a4a4371180d56d54fd5cbfc4f4392c408216da142632f992b91f0b1d009d2b
|
3 |
+
size 104871676
|
part_1029.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6cd4112a76d4bdb6492f1603fa6666dd8fe1c1e85940dbc6104b4d77bf3ac47e
|
3 |
+
size 104858501
|
part_103.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:965af4285e339dcaeecc09c666c365fcaaaccd9c4748a4464d283482bda6db89
|
3 |
+
size 105273836
|
part_1030.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:983219ebd75f9d9d0b726c135ef10992a77c1b325f8c70d984df0d1eb7c98ff9
|
3 |
+
size 104858072
|
part_1031.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7b2dfc56ba65ad3900ff73713971868b2a8148e970b45372d71143b698bed5c1
|
3 |
+
size 104882681
|
part_1032.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:19dbf5c438fd1e08ff972ebf02ffacf42a6337a323e524b4f36a68c6f5694f34
|
3 |
+
size 104860021
|