ChineseWebText: Large-scale High-quality Chinese Web Text Extracted with Effective Evaluation Model

Jianghao Chen, Pu Jian, Tengxiao Xi, Dongyi Yi, Qianlong Du +5 more
11/2/2023
cs.CL

No official code found. Best implementation: CASIA-LM/ChineseWebText (186 stars, last commit 2023-11-13).

Abstract

During the development of large language models (LLMs), the scale and quality of the pre-training data play a crucial role in shaping LLMs' capabilities. To accelerate the research of LLMs, several large-scale datasets, such as C4 [1], Pile [2], RefinedWeb [3] and WanJuan [4], have been released to the public. However, most of the released corpus focus mainly on English, and there is still lack of complete tool-chain for extracting clean texts from web data. Furthermore, fine-grained information of the corpus, e.g. the quality of each text, is missing. To address these challenges, we propose in this paper a new complete tool-chain EvalWeb to extract Chinese clean texts from noisy web data. First, similar to previous work, manually crafted rules are employed to discard explicit noisy texts from the raw crawled web contents. Second, a well-designed evaluation model is leveraged to assess the remaining relatively clean data, and each text is assigned a specific quality score. Finally, we can easily utilize an appropriate threshold to select the high-quality pre-training data for Chinese. Using our proposed approach, we release the largest and latest large-scale high-quality Chinese web text ChineseWebText, which consists of 1.42 TB and each text is associated with a quality score, facilitating the LLM researchers to choose the data according to the desired quality thresholds. We also release a much cleaner subset of 600 GB Chinese data with the quality exceeding 90%.

View on arXivView PDF

Code Implementations(1)

18615Shell, PythonNov 2, 20232 years ago

Similar Papers

Cite this paper

@article{chen2023chinesewebtext,
  title  = {ChineseWebText: Large-scale High-quality Chinese Web Text Extracted with Effective Evaluation Model},
  author = {Jianghao Chen and Pu Jian and Tengxiao Xi and Dongyi Yi and Qianlong Du and Chenglin Ding and Guibo Zhu and Chengqing Zong and Jinqiao Wang and Jiajun Zhang},
  year   = {2023},
  eprint = {2311.01149},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.01149v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.01149.svg)](https://codeofpaper.com/paper/2311.01149)

Discussion