Skip to main content
QUICK REVIEW

[Paper Review] The BigScience ROOTS Corpus: A 1.6TB Composite Multilingual Dataset

Hugo Laurençon, Lucile Saulnier|arXiv (Cornell University)|Mar 7, 2023
Topic ModelingComputer Science100 references65 citations
TL;DR

This paper documents the creation, curation, and analysis of the ROOTS corpus, a 1.6TB multilingual text dataset used to train BLOOM, detailing data sourcing, processing pipelines, and quality controls across 59 languages and 13 programming languages.

ABSTRACT

As language models grow ever larger, the need for large-scale high-quality text datasets has never been more pressing, especially in multilingual settings. The BigScience workshop, a 1-year international and multidisciplinary initiative, was formed with the goal of researching and training large language models as a values-driven undertaking, putting issues of ethics, harm, and governance in the foreground. This paper documents the data creation and curation efforts undertaken by BigScience to assemble the Responsible Open-science Open-collaboration Text Sources (ROOTS) corpus, a 1.6TB dataset spanning 59 languages that was used to train the 176-billion-parameter BigScience Large Open-science Open-access Multilingual (BLOOM) language model. We further release a large initial subset of the corpus and analyses thereof, and hope to empower large-scale monolingual and multilingual modeling projects with both the data and the processing tools, as well as stimulate research around this large multilingual corpus.

Motivation & Objective

  • Motivate the creation of a large, open, multilingual dataset aligned with ethical and governance considerations.
  • Describe the data sourcing process and the composition of ROOTS, including community-selected sources and OSCAR-derived data.
  • Explain the processing and quality-improvement pipeline applied to crowdsourced datasets.
  • Detail the steps for deduplication and removal of personally identifiable information.
  • Provide initial analyses and tools to enable further research on the ROOTS corpus.

Proposed method

  • Assemble ROOTS from 62% community-identified sources and 38% OSCAR-derived data into a 1.6TB multilingual corpus.
  • Implement a two-phase data collection pipeline: gather sources and map to a uniform format with text and metadata fields.
  • Apply a multi-stage processing pipeline with document- and dataset-scoped cleaning and filtering functions to reduce noise and deduplicate data.
  • Conduct pseudo-crawling of web domains via Common Crawl snapshots, HTML text extraction, and domain-level filtering rules.
  • Filter OSCAR data with language-specific quality indicators and native-speaker thresholds to remove low-quality or non-natural language content.

Experimental results

Research questions

  • RQ1How can a large-scale multilingual corpus be assembled from diverse data sources while maintaining documentation and governance?
  • RQ2What processing and filtering strategies are effective for improving quality and reducing noise in crowd-sourced and web-crawled text?
  • RQ3What is the linguistic and coding-language composition of a 1.6TB multilingual corpus intended for large language model training?
  • RQ4How does deduplication and PII filtering affect dataset quality and usefulness for multilingual LM training?

Key findings

  • The ROOTS corpus totals 1.6TB and spans 59 languages and 13 programming languages.
  • The final dataset comprises 62% community-selected sources and 38% OSCAR-derived data.
  • A multi-phase data collection and a detailed processing pipeline yield 485 non-empty datasets after cleaning and deduplication.
  • For OSCAR data, language-specific filters and native-speaker thresholds remove a substantial portion of low-quality or pornographic content, with language-dependent removal rates reported.
  • Code data exhibit substantial near-duplication, with 32% of the data identified as near-duplicates after deduplication steps.
  • Tokenizer analyses show how component datasets align with or diverge from established corpora, informing model tokenization considerations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.