AIFeed

NaijaWeb: Advancing Pretraining for Low-Resource Nigerian Languages with a Quality-Filtered Web Corpus

Summary

arXiv:2612.04941v1 Announce Type: new Abstract: To advance pretraining for low-resource languages, we construct NaijaWeb, a filtered and cleaned corpus of 527.4M tokens (856,317 documents) in Hausa, Igbo and Yor\`ub\'a. We process Common Crawl snapshots from 2024 to 2026, filter and deduplicate them, and remove machine-translated localisation sites, which we screen manually. Next, we recruit native-speaker annotators to label documents as keep or drop, and train a classifier on these labels to select high-quality documents. To test this selection, we pretrain a small language model on it and on a random sample of the same size from the deduplicated pool, and compare the loss on held-out sets in the three languages: our selection has lower loss after one epoch and is on par after ten. We then expand the corpus by adding a re-crawl of news and community sites and the FineWeb-2 documents in these languages, from crawls up to 2024, that are not already in our pool, and pass all of them thr…

Original text(via arXiv cs.CL)

Computer Science > Computation and Language

Title:NaijaWeb: Advancing Pretraining for Low-Resource Nigerian Languages with a Quality-Filtered Web Corpus

Abstract:To advance pretraining for low-resource languages, we construct NaijaWeb, a filtered and cleaned corpus of 527.4M tokens (856,317 documents) in Hausa, Igbo and Yorùbá. We process Common Crawl snapshots from 2024 to 2026, filter and deduplicate them, and remove machine-translated localisation sites, which we screen manually. Next, we recruit native-speaker annotators to label documents as keep or drop, and train a classifier on these labels to select high-quality documents. To test this selection, we pretrain a small language model on it and on a random sample of the same size from the deduplicated pool, and compare the loss on held-out sets in the three languages: our selection has lower loss after one epoch and is on par after ten. We then expand the corpus by adding a re-crawl of news and community sites and the FineWeb-2 documents in these languages, from crawls up to 2024, that are not already in our pool, and pass all of them through the classifier. In our evaluation, where a 134.1M-parameter model is pretrained for ten epochs on each corpus, holding the token budget constant, NaijaWeb reaches the lowest mean held-out loss of the six corpora, ahead of WURA, FineWeb-2, MADLAD-400 (noisy and clean) and HPLT 2.0. By token count, it is also the largest in total of the filtered corpora we compare.
Comments:Accepted at AfriLang AI 2026 (PMLR). 29 pages
Subjects:Computation and Language (cs.CL)
Cite as:arXiv:2612.04941 [cs.CL]
(or arXiv:2612.04941v1 [cs.CL] for this version)
https://doi.org/10.48550/arXiv.2612.04941 arXiv-issued DOI via DataCite (pending registration)

Submission history

Access Paper:

  • HTML (experimental)

Additional Features

  • Audio Summary

Current browse context:

References & Citations

  • Google Scholar
  • Semantic Scholar

BibTeX formatted citation

Bookmark

Bibliographic and Citation Tools

Code, Data and Media Associated with this Article

Demos

Recommenders and Search Tools

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by arXiv cs.CL
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗