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

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.

Authors

Publication Details

Journal
arXiv
Published
2026-12-03
Primary Topic
Natural Language Processing Techniques
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

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

Jana Lasser, Ruggero Marino Lazzaroni, Olaniyi Moluga
arXiv
Natural Language Processing Techniques
preprint

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

Jana Lasser, Ruggero Marino Lazzaroni, Olaniyi Moluga
preprint en

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.

arXiv
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon