Manuscript Offprint

arXiv:2610.28173

Africa-Papers: A 10-Billion-Token Multi-Domain Academic Corpus for African Foundation Language Models

Mich-Seth Owusu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Large Language Models (LLMs) depend fundamentally on the diversity, depth, and factual rigor of their pre-training corpora. However, contemporary foundational pre-training datasets (such as The Pile, S2ORC, and Dolma) exhibit a severe structural omission: African scientific, medical, legal, and agricultural scholarship constitutes less than 0.5% of global pre-training tokens. Consequently, state-of-the-art models suffer from systematic failure modes when reasoning about tropical epidemiology, localized smallholder agro-ecologies, regional economic governance, and indigenous linguistic structures. To resolve this representation deficit and advance African intellectual sovereignty in artificial intelligence, we introduce Africa-Papers, the largest curated multi-domain Pan-African academic pre-training corpus to date. Comprising over 844,807 full-text papers spanning 10.15 billion tokens across 879 Parquet shards, Africa-Papers unifies four primary scientific streams: (1) continental peer-reviewed journals indexed in DOAJ across 31 African nations, (2) the CGIAR CGSpace agricultural repository, (3) African-authored and African-focused STEM/AI preprints on arXiv, and (4) open-access international publications by scholars affiliated with African institutions indexed via OpenAlex. The entire corpus is processed into layout-aware, clean Markdown preserving section hierarchies, mathematical equations, and tabular data, accompanied by exact BPE token counts and a standardized 8-domain taxonomy. We release Africa-Papers openly on the Hugging Face Hub under the AfriSpeech organization to accelerate continual pre-training and domain evaluation for foundation models globally.

1 Introduction

The dominant paradigm in training foundation language models relies on web-scale text corpora aggregated from web scrapes and digitized libraries [9, 8]. While datasets such as Common Crawl, The Pile [3], and peS2o [8] contain trillions of tokens, their geographic and institutional provenance is overwhelmingly skewed toward North America, Western Europe, and East Asia. Scholarship authored by African researchers and peer-reviewed journals published across the 54 African nations represent a negligible fraction (< 0.5%) of the global academic pre-training mixture.

This severe under-representation induces significant epistemological vulnerabilities in contemporary models:

• Biomedical & Epidemiological Hallucinations: Foundational models frequently fail when reasoning about tropical pathologies (e.g., malaria strain variants, sickle cell genetics, lassa fever diagnostics, maternal healthcare delivery) because clinical training data defaults to Western institutional protocols [1].

• Agro-Ecological Misalignment: AI conversational assistants routinely default to temperate industrial monoculture recommendations, proving ineffective for African smallholders managing complex, climate-vulnerable intercropping of cassava, yams, cowpea, plantains, or sorghum.

• Jurisprudential & Governance Gaps: African customary jurisprudence, community-based land tenure systems, and regional trade compacts (e.g., AfCFTA) are almost entirely missing from standard legal corpora.

• Deficit Framing in Representation: Western web scrapes disproportionately depict the African continent through crisis reporting, humanitarian appeals, or conflict studies. Models therefore fail to internalize African scholars as primary intellectual authorities in astrophysics, pure mathematics, computer science, and robotics.

To systematically dismantle this structural omission, we present Africa-Papers, an open-access, layout-aware academic corpus engineered specifically for the pre-training and continual domain adaptation of foundation language models.

Contributions:

  1. Massive Scale & Depth: Over 789,348 verified full-text papers yielding 10.15 billion tokens (and actively scaling toward 25 billion tokens across 1.5 million works), establishing the single largest curated African academic corpus in history.

  2. Four-Pillar Multi-Source Architecture: We integrate continental university presses (DOAJ), agricultural field manuals (CGIAR), STEM and AI preprints (arXiv), and global African scholarly literature (OpenAlex).

  3. High-Fidelity Markdown Ingestion: We develop an autonomous stream-to-parquet pipeline employing multi-key deduplication and layout-aware Markdown parsing, preserving tabular data, headings, and formulas while preventing disk bloat through real-time binary pruning.

  4. Domain Taxonomy & Open Release: We classify the corpus into eight standardized academic domains and release the entire collection incrementally on Hugging Face under AfriSpeech/africa-papers 1^{1}.