arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2404.17733cs.CLcs.AI
收藏

构建面向大语言模型的大规模日语网络语料库

Building a Large Japanese Web Corpus for Large Language Models

Tokyo Institute of Technology(东京工业大学);Global Scientific Information and Computing Center, Tokyo Institute of Technology(东京工业大学全球科学信息与计算中心)

Naoaki Okazaki, Kakeru Hattori, Hirai Shota, Hiroki Iida, Masanari Ohi, Kazuki Fujii, Taishi Nakamura, Mengsay Loem, Rio Yokota, Sakae Mizuki

AI总结:

本研究从Common Crawl提取并精炼文本,构建了包含约3121亿字符的大规模日语网络语料库,规模超越现有主流语料库,并在多个基础模型上通过持续预训练显著提升了日语基准性能。

摘要:

开放的日语大语言模型(LLMs)此前多在CC-100、mC4和OSCAR等语料库的日语部分上进行训练。然而,这些语料库并非出于日语文本质量的目的而构建。本研究通过从Common Crawl存档(包含2020至2023年间抓取的21个快照,约634亿网页)中提取并精炼文本,构建了一个大规模日语网络语料库。该语料库包含约3121亿字符(约1.73亿页面),超过了CC-100(约258亿字符)、mC4(约2397亿字符)和OSCAR 23.10(约740亿字符),是所有可用日语LLM训练语料库中规模最大的。为验证语料库质量,我们以Llama 2 7B、13B、70B,Mistral 7B v0.1和Mixtral 8x7B Instruct作为基础LLMs进行了持续预训练,并在日语基准数据集上获得了一致的提升(6.6-8.1分)。我们还证明,使用本语料库为Llama 2 13B带来的提升在现有语料库中是最大的。

英文摘要:

Open Japanese large language models (LLMs) have been trained on the Japanese portions of corpora such as CC-100, mC4, and OSCAR. However, these corpora were not created for the quality of Japanese texts. This study builds a large Japanese web corpus by extracting and refining text from the Common Crawl archive (21 snapshots of approximately 63.4 billion pages crawled between 2020 and 2023). This corpus consists of approximately 312.1 billion characters (approximately 173 million pages), which is the largest of all available training corpora for Japanese LLMs, surpassing CC-100 (approximately 25.8 billion characters), mC4 (approximately 239.7 billion characters) and OSCAR 23.10 (approximately 74 billion characters). To confirm the quality of the corpus, we performed continual pre-training on Llama 2 7B, 13B, 70B, Mistral 7B v0.1, and Mixtral 8x7B Instruct as base LLMs and gained consistent (6.6-8.1 points) improvements on Japanese benchmark datasets. We also demonstrate that the improvement on Llama 2 13B brought from the presented corpus was the largest among those from other existing corpora.

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

↑