mlsanityData to 14 Oct 2026

Building High-Quality Datasets for Portuguese LLMs: From Common Crawl Snapshots to Industrial-Grade Corpora

arXiv 2509.08824 ↗First posted 10 Sep 2025cs.CLcited by 7

Not on the map. Why?

Abstract (arXiv)

The performance of large language models (LLMs) is deeply influenced by the quality and composition of their training data. While much of the existing work has centered on English, there remains a gap in understanding how to construct effective training corpora for other languages. We explore scalable methods for building web-based corpora for LLMs. We apply them to build a new 120B token corpus in Portuguese that achieves competitive results to an industrial-grade corpus. Using a continual pretraining setup, we study how different data selection and preprocessing strategies affect LLM performance when transitioning a model originally trained in English to another language. Our findings demonstrate the value of language-specific filtering pipelines, including classifiers for education, science, technology, engineering, and mathematics (STEM), as well as toxic content. We show that adapting a model to the target language leads to performance improvements, reinforcing the importance of high-quality, language-specific data. While our case study focuses on Portuguese, our methods are applicable to other languages, offering insights for multilingual LLM development.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 54 of its 75 references that are in the map. First posted on arXiv 10 Sep 2025.

Builds on

54 of 75 references.

References · 54

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2024The Llama 3 Herd of Modelscited by 14,715
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  6. 2023Qwen Technical Reportcited by 3,344
  7. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
  8. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  9. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  10. 2020Extracting Training Data from Large Language Modelscited by 2,189
  11. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  12. 2023Code Llama: Open Foundation Models for Codecited by 2,139
38 more
  1. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
  2. 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,818
  3. 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,392
  4. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,202
  5. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
  6. 2023BloombergGPT: A Large Language Model for Financecited by 939
  7. 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 905
  8. 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 763
  9. 2021Deduplicating Training Data Makes Language Models Bettercited by 714
  10. 2024TinyLlama: An Open-Source Small Language Modelcited by 618
  11. 2019CCNet: Extracting High Quality Monolingual Datasets from Web Crawl Datacited by 548
  12. 2021Deep Learning on a Data Diet: Finding Important Examples Early in Trainingcited by 533
  13. 2022Beyond neural scaling laws: beating power law scaling via data pruningcited by 528
  14. 2021Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpuscited by 492
  15. 2023Llemma: An Open Language Model For Mathematicscited by 388
  16. 2023SemDeDup: Data-efficient learning at web-scale through semantic deduplicationcited by 303
  17. 2024BioMistral: A Collection of Open-Source Pretrained Large Language Models for Medical Domainscited by 301
  18. 2023MEDITRON-70B: Scaling Medical Pretraining for Large Language Modelscited by 274
  19. 2021Quality at a Glance: An Audit of Web-Crawled Multilingual Datasetscited by 243
  20. 2019WinoGrande: An Adversarial Winograd Schema Challenge at Scalecited by 204
  21. 2022Scaling Up Models and Data with textttt5x and textttseqiocited by 187
  22. 2023MADLAD-400: A Multilingual And Document-Level Large Audited Datasetcited by 181
  23. 2023CulturaX: A Cleaned, Enormous, and Multilingual Dataset for Large Language Models in 167 Languagescited by 174
  24. 2020MKQA: A Linguistically Diverse Benchmark for Multilingual Open Domain Question Answeringcited by 153
  25. 2022MASSIVE: A 1M-Example Multilingual Natural Language Understanding Dataset with 51 Typologically-Diverse Languagescited by 146
  26. 2024SaulLM-7B: A pioneering Large Language Model for Lawcited by 142
  27. 2020A Monolingual Approach to Contextualized Word Embeddings for Mid-Resource Languagescited by 131
  28. 2023SeaLLMs -- Large Language Models for Southeast Asiacited by 104
  29. 2024Datasets for Large Language Models: A Comprehensive Surveycited by 71
  30. 2023Typhoon: Thai Large Language Modelscited by 30
  31. 2023Evaluating GPT-3.5 and GPT-4 Models on Brazilian University Admission Examscited by 25
  32. 2023Advancing Neural Encoding of Portuguese with Transformer Albertina PT-*cited by 24
  33. 2017Building a Sentiment Corpus of Tweets in Brazilian Portuguesecited by 20
  34. 2023Sabi'a: Portuguese Large Language Modelscited by 19
  35. 2024Advancing Generative AI for Portuguese with Open Decoder Gerv'asio PT*cited by 19
  36. 2024Embedding And Clustering Your Data Can Improve Contrastive Pretrainingcited by 17
  37. 2024Gl'orIA -- A Generative and Open Large Language Model for Portuguesecited by 16
  38. 2023BLUEX: A benchmark based on Brazilian Leading Universities Entrance eXamscited by 15

50 most cited of 54 All 54 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 5.

7 papers.