arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.02069cs.CLcs.AIcs.LG
收藏

MultiLegalPile:一个689GB的多语言法律语料库

MultiLegalPile: A 689GB Multilingual Legal Corpus

University of Bern(伯尔尼大学);Bern University of Applied Sciences(伯尔尼应用科学大学);Stanford University(斯坦福大学);University of Copenhagen(哥本哈根大学)

Joel Niklaus, Veton Matoshi, Matthias Stürmer, Ilias Chalkidis, Daniel E. Ho

AI总结:

针对法律领域多语言高质量训练数据匮乏的问题,研究者发布了689GB、覆盖24种语言17个司法管辖区的MultiLegalPile语料库,基于其训练的多语言和单语言模型在LEXTREME、LexGLUE基准上取得SotA成绩。

摘要:

大规模高质量数据集对训练大语言模型(LLM)至关重要。但目前法律这类关键专业领域可用数据集很少,且现有数据集通常仅支持英语。我们整理并发布了MultiLegalPile,这是一个涵盖17个司法管辖区24种语言、规模达689GB的语料库。该语料库包含不同许可协议的多元法律数据源,可在合理使用原则下用于预训练NLP模型,其中Eurlex Resources和Legal mC4子集的许可协议更为宽松。我们预训练了2个多语言RoBERTa模型、1个多语言Longformer模型,以及针对各语言子集的24个单语言模型,并在LEXTREME基准上进行评估。此外,我们还在LexGLUE基准上评估了英语模型和多语言模型。我们的多语言模型在LEXTREME上创下新的SotA(当前最优水平),英语模型在LexGLUE上创下新SotA。我们以尽可能开放的许可协议发布了该数据集、训练好的模型及全部代码。

英文摘要:

Large, high-quality datasets are crucial for training Large Language Models (LLMs). However, so far, there are few datasets available for specialized critical domains such as law and the available ones are often only for the English language. We curate and release MultiLegalPile, a 689GB corpus in 24 languages from 17 jurisdictions. The MultiLegalPile corpus, which includes diverse legal data sources with varying licenses, allows for pretraining NLP models under fair use, with more permissive licenses for the Eurlex Resources and Legal mC4 subsets. We pretrain two RoBERTa models and one Longformer multilingually, and 24 monolingual models on each of the language-specific subsets and evaluate them on LEXTREME. Additionally, we evaluate the English and multilingual models on LexGLUE. Our multilingual models set a new SotA on LEXTREME and our English models on LexGLUE. We release the dataset, the trained models, and all of the code under the most open possible licenses.

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

↑