arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.01149cs.CL
收藏

ChineseWebText:利用有效评估模型提取的大规模高质量中文网络文本

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

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Wuhan AI Research(武汉人工智能研究院)

Jianghao Chen, Pu Jian, Tengxiao Xi, Dongyi Yi, Qianlong Du, Chenglin Ding, Guibo Zhu, Chengqing Zong, Jinqiao Wang, Jiajun Zhang

AI总结:

本文提出EvalWeb工具链,结合规则和评估模型为中文网络文本打分,构建1.42TB高质量数据集ChineseWebText,并发布600GB高质量子集,以支持LLM预训练数据选择。

摘要:

在大语言模型(LLM)的发展过程中,预训练数据的规模和质量对塑造LLM的能力起着至关重要的作用。为了加速LLM的研究,多个大规模数据集,如C4 [1]、Pile [2]、RefinedWeb [3]和WanJuan [4],已经公开发布。然而,大多数发布的语料库主要侧重于英文,并且仍然缺乏从网络数据中提取干净文本的完整工具链。此外,语料库的细粒度信息,例如每个文本的质量,是缺失的。为了解决这些挑战,我们在本文中提出了一种新的完整工具链EvalWeb,用于从嘈杂的网络数据中提取中文干净文本。首先,与之前的工作类似,采用手工设计的规则来丢弃原始爬取网络内容中的显式噪声文本。其次,利用一个精心设计的评估模型来评估剩余相对干净的数据,并为每个文本分配一个特定的质量分数。最后,我们可以轻松地利用适当的阈值来选择高质量的中文预训练数据。使用我们提出的方法,我们发布了最大且最新的高质量中文网络文本ChineseWebText,其包含1.42 TB的数据,每个文本都关联一个质量分数,便于LLM研究人员根据所需的质量阈值选择数据。我们还发布了一个更干净的600 GB中文数据子集,其质量超过90%。

英文摘要:

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%.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑