Oromo AI RESEARCH HUB
On this page
Snapshot 2026-10-17 · View original ↗

Afaan Oromoo Corpus Statistics Report

Oromo AI — Production Corpus Statistics
AfriBERTa Afaan Oromoo Corpus — v0.1.2


1. Report Purpose

This document records the statistical profile and validation state of the current production Afaan Oromoo corpus used by the Oromo AI project.

The report is intended to provide:

  • reproducible dataset statistics
  • corpus-size measurements
  • token and character distributions
  • quality diagnostics
  • rejection statistics
  • version-to-version comparisons
  • integrity checks
  • provenance information
  • evidence for downstream tokenizer and model decisions

This report describes the processed v0.1.2 dataset.

It does not replace the raw source dataset.


2. Dataset Identity

Field Value
Dataset AfriBERTa Afaan Oromoo corpus
Dataset subset afaanoromoo
Project dataset version afriberta_oromo_v0.1.2
Language Afaan Oromoo
ISO 639-3 orm
Country metadata ET
Source castorini/afriberta-corpus
License Apache-2.0
Processing approach Conservative, provenance-first
Raw source format Text / line-oriented
Processed format JSONL
Processing version 0.1.0

The source corpus is retained separately from the processed corpus.


3. Source Integrity

The authoritative raw training text is:

data/raw/afriberta_oromo/train/train.txt

Raw training file SHA-256:

269cde87d84ad34463b7bd654b16737aeef756adbe2463518353004660187d6a

This hash is used as an input integrity anchor.

The processed dataset must never be interpreted independently of its source and processing metadata.


4. Production Dataset

Current production output:

data/processed/afriberta_oromo_v0.1.2/train.jsonl

Validated processed SHA-256:

6f990088c8fb319b46c9a25a1c463e7a700cc8d292da781cfcc44ac4391ee0f6

Core statistics

Metric Value
Raw input records 410,841
Processed records 410,193
Primary rejected records 614
Duplicate-after-cleaning records 34
Clean decisions 360
Changed records 264
Processed characters 52,122,367
Rejection-ledger entries 648

The 648 ledger entries consist of:

614 primary rejection records
+
34 duplicate-after-cleaning records
=
648 ledger entries

5. Processing Accounting

The production accounting is:

410,841 input records
        │
        ├── 410,193 processed records
        │
        ├── 614 primary rejections
        │
        └── 34 duplicates removed

Therefore:

410,193 + 614 + 34 = 410,841

This invariant passes.

The 34 duplicate records are represented in the rejection ledger so that deduplication remains auditable.


6. v0.1.1 → v0.1.2 Comparison

Version 0.1.2 is a targeted update to the previous production dataset.

Metric v0.1.1 v0.1.2 Delta
Records 410,242 410,193 -49
Characters 52,122,995 52,122,367 -628
Records under 20 chars 694 645 -49
High single-character ratio 321 272 -49
Placeholder records 188 139 -49
URL records 46 46 0
HTML records 0 0 0
English-signal records 3,988 3,988 0

The comparison demonstrates that the v0.1.2 change was narrowly targeted.

Exactly:

49 records
628 characters

were removed.

No change occurred in the reported URL, HTML, or English-signal counts.


7. Short-Record Investigation

The initial v0.1.1 corpus contained:

694 records under 20 characters

Shortness alone was not considered sufficient evidence of corruption.

The short records were therefore investigated by structural characteristics.

Observed categories included:

  • potential linguistic text
  • numeric/table fragments
  • symbol-heavy text
  • spaced-letter extraction
  • control-character cases
  • records without meaningful word content

Examples included:

a f a a n i
2 H * 1 amu = 2 amu
K U T A A – 1
TA 1 E E ■ ■

These examples demonstrate why a blanket short-record filter would be unsafe.


8. Targeted Extraction-Artifact Rule

The v0.1.2 processor introduced a narrow rule for a specific extraction-artifact pattern.

A record is classified as a short extraction artifact only when all relevant structural conditions are met:

length < 20 characters
+
at least 3 tokens
+
≥75% single-character tokens
+
placeholder/replacement glyph present

Placeholder/replacement indicators include:

■
□
�

The rule is intentionally narrow.

It does not reject a record simply because:

  • it is short
  • it contains one-character tokens
  • it contains numbers
  • it resembles a formula
  • it contains repeated letters

9. Effect of the Targeted Rule

The rule identified:

49 records

for rejection.

Before the rule:

placeholder records = 188

After the rule:

placeholder records = 139

Difference:

188 - 139 = 49

The high single-character-ratio population changed by the same amount:

321 → 272

This correspondence is consistent with the intended narrow targeting.


10. Ambiguous Oromo Text

The following type of text is deliberately preserved when there is insufficient evidence of corruption:

a f a a n i

A spaced character sequence could represent:

  • extraction corruption
  • OCR behavior
  • typography
  • a linguistic artifact
  • legitimate source formatting

Without sufficient evidence, the pipeline does not silently destroy it.

This is particularly important for low-resource-language corpus construction.


11. Formula and Numeric Preservation

Numeric and formula-like records are not automatically rejected.

For example:

2 H * 1 amu = 2 amu

and similar records may originate from educational or scientific material.

The pipeline therefore distinguishes:

numeric signal

from:

confirmed unusable extraction

The presence of numbers alone is not sufficient for deletion.


12. Rejection Statistics

The v0.1.2 rejection ledger contains:

Rejection reason Count
Scientific/genomic payload 308
Social-media spam 144
Obvious extraction garbage 111
Short extraction artifact 49
Duplicate after cleaning 34
Technical/code payload 1
Base64/data URI 1
Total 648

The first six categories represent content-processing decisions.

The duplicate category represents post-cleaning deduplication.


13. Scientific / Genomic Payloads

The decision engine identifies strong scientific/genomic contamination signals such as combinations involving:

  • DNA
  • genomic sequences
  • PCR
  • primers
  • amplicons
  • nucleotide sequences
  • chromosomes
  • microsatellites
  • cDNA
  • sequencing
  • genotype/genotyping

Long sequence-like payloads and domain-specific scientific structures are also considered.

These rules are deliberately stronger than the general diagnostic audit.

Consequently, the decision-engine count for scientific/genomic payloads should not be expected to equal the narrower diagnostic audit category count.


14. Social-Media Spam

The corpus contains records exhibiting combinations of:

  • excessive hashtags
  • excessive handles
  • low lexical diversity
  • social-media formatting
  • spam-like structures

These are evaluated as corpus-quality signals rather than as evidence that every social-media-derived record is inherently unusable.

The production processor currently rejects records that meet the project's strong spam criteria.


15. Cleaning Statistics

The production processor reports:

clean decisions: 360
changed records: 264

Cleaning is applied only when a record meets a supported cleaning condition.

The cleaner may perform operations such as:

Unicode NFC normalization
whitespace normalization
HTML removal
URL removal
CMS boilerplate removal
embed-marker removal
terminal/bracketed Read More cleanup

The cleaner does not perform semantic rewriting.


16. Read More Handling

Read More was specifically investigated because it appeared in multiple forms.

Observed classes included:

bracketed_read_more
terminal_read_more
other
embedded_read_more

Not every occurrence is treated as corruption.

For example:

Read more about Mitikkuu Maddaa...

can be legitimate prose.

Therefore the production cleaner removes only structurally obvious CMS artifacts while preserving ambiguous linguistic content.


17. Deduplication

Deduplication occurs after cleaning.

The normalization used for hashing includes:

  • Unicode NFC normalization
  • whitespace collapsing

The deduplication process intentionally does not:

  • lowercase text
  • remove punctuation
  • ASCII-fold characters
  • perform semantic normalization

This protects Oromo orthographic distinctions.

The v0.1.2 validation confirms:

duplicate cleaned hashes = 0

in the final processed output.


18. Corpus Length Statistics

The previous production statistics provide the following distribution for v0.1.1:

Statistic Value
Minimum characters 1
Median characters 103
Mean characters 127.1
95th percentile 289
99th percentile 483
Maximum characters 3,680

Whitespace-token statistics:

Statistic Value
Total whitespace tokens 6,882,693
Unique whitespace tokens 537,014
Type-token ratio 0.078024
Median tokens / record 14
Mean tokens / record 16.8
95th percentile 37
99th percentile 61
Maximum 343

These values describe the previously generated corpus-statistics snapshot and should be regenerated against v0.1.2 if exact final-distribution statistics are required.


19. Corpus Size Interpretation

The corpus contains approximately:

6.9 million whitespace tokens

This is a valuable Oromo-language seed corpus, but it is not sufficient by itself to represent a modern large-scale foundation-model training mixture.

The official expansion objective is:

Milestone Target
OromoCorpus v0.2 50 million net unique OromoLM-tokenizer tokens minimum
OromoCorpus v0.3 100 million net unique OromoLM-tokenizer tokens preferred

These targets are not raw download totals. They are measured after conservative cleaning and cross-source exact/near-duplicate removal. Evaluation holdouts are excluded, and synthetic or machine-translated datasets are tracked separately from the primary natural-language total.

The corpus should therefore be treated as:

high-value seed data

rather than:

complete Oromo pretraining corpus

Future acquisition should expand:

  • domain coverage
  • document length
  • literary material
  • educational content
  • conversational language
  • dialect coverage
  • parallel text
  • terminology
  • high-quality curated sources

20. Short-Record Distribution

The v0.1.2 dataset contains:

645 records under 20 characters

This remains a small but important population for future inspection.

The project intentionally does not assume that all short records are corrupted.

Future corpus versions may use:

  • document reconstruction
  • source metadata
  • neighboring-record analysis
  • source-specific structure
  • human linguistic review

to determine whether short records can safely be improved.


21. English-Signal Statistics

The previous corpus statistics identified:

3,988 records

containing matches to a small common-English signal list in the processed corpus.

This represents approximately:

3,988 / 410,242 ≈ 0.97%

for the v0.1.1 snapshot.

This should not be interpreted as:

0.97% English contamination

The diagnostic can capture:

  • names
  • organizations
  • borrowed terminology
  • technical vocabulary
  • quoted text
  • URLs or metadata
  • legitimate bilingual material

English-signal detection is therefore diagnostic only.


22. URLs and HTML

The v0.1.1 → v0.1.2 comparison shows:

URL records:
46 → 46

HTML records:
0 → 0

The unchanged URL count demonstrates that the short-extraction rule did not alter this population.

HTML detection reports zero residual HTML records in both versions.


23. Integrity Validation

The production v0.1.2 dataset passed the following checks:

raw_hash_correct       = True
manifest_count_matches = True
manifest_chars_match   = True
no_malformed_json      = True
no_empty_records       = True
no_duplicate_hashes    = True
source_lines_unique    = True
accounting_correct     = True

Raw hash

269cde87d84ad34463b7bd654b16737aeef756adbe2463518353004660187d6a

Processed hash

6f990088c8fb319b46c9a25a1c463e7a700cc8d292da781cfcc44ac4391ee0f6

These values provide reproducibility anchors for the current dataset version.


24. JSON Integrity

Production validation found:

malformed_json = 0
empty_records = 0

The processed JSONL therefore passes the current structural integrity checks.

Each processed record remains traceable through deterministic source-line identifiers.


25. Source-Line Uniqueness

The production validation reports:

unique_source_lines = 410,193

This means every surviving processed source line has a unique source-line identity.

The raw source line number is retained as part of deterministic record provenance.


26. Manifest

The production manifest records metadata required to identify the dataset version.

Important fields include:

dataset name
dataset version
language
license
source
source URL
record count
character count
processing version
source hash
processing statistics
decision counts
rejection information

The manifest should be considered part of the dataset artifact, not optional documentation.


27. Why Statistics Matter for the Model

Corpus statistics directly influence later engineering decisions.

For example:

Tokenizer

Character and word distributions help determine whether an existing tokenizer represents Oromo efficiently.

Continued pretraining

Corpus size determines how much additional Oromo text must be acquired before meaningful continued pretraining.

Data mixture

Short-record and domain distributions help identify missing sources.

Evaluation

Corpus weaknesses can become benchmark categories.

Model architecture

Token fertility and sequence lengths influence context-window and training-cost decisions.


28. Limitations

This dataset should not be treated as a complete representation of Afaan Oromoo.

Known limitations include:

  • limited total corpus size
  • source-domain concentration
  • possible news-domain bias
  • Common Crawl-derived material
  • limited explicit dialect metadata
  • limited document-boundary information
  • short extracted records
  • possible residual web artifacts
  • limited conversational coverage
  • incomplete literary coverage

These limitations are documented rather than hidden.


29. Next Corpus Work

The original afriberta_oromo_v0.1.2 seed remains frozen and unchanged. Corpus expansion is now operating as a source-by-source, provenance-first process.

Current multi-source planning snapshot — 2026-10-17

The current accepted sources measure:

Source Final accepted records Characters 48K reference tokens
AfriBERTa Afaan Oromoo v0.1.2 410,193 52,122,367 9,587,934
Wikimedia omwiki v0.1 2,254 4,749,893 1,070,896
VOA Afaan Oromoo via WURA v0.1 9,510 10,433,883 1,899,811
WaxalNLP Oromo ASR v0.1 44,194 10,637,213 1,934,045
MADLAD-400 Oromo v0.2 18,704 87,930,775 17,873,390
HPLT 3.0 gaz_Latn v0.1 26,655 104,275,394 19,771,727
Michsethowusu Oromo Sentiments cleaned subset v0.1 193,681 20,515,090 3,877,136
Michsethowusu English–Oromo cleaned monolingual subset v0.1 45,048 6,094,197 1,185,406
Glot500 Oromo source-partitioned subset v0.1 80,069 30,954,346 5,913,656
FineWeb2 gaz_Latn v0.1 22,205 56,438,459 11,706,955
GlotCC V1 gaz-Latn 2,109 8,383,273 1,716,558
AllenAI NLLB gaz_Latn v0.1 1,101,371 — 16,701,572
mOSCAR V2 gaz_Latn 12,215 — 820,958
Mozilla Common Voice Oromo 27.0 18,367 796,880 170,146
Accepted total 1,986,575 — 94,230,190

FineWeb2 approved source

FineWeb2 West Central Oromo (gaz_Latn) v0.1 contributes 22,205 records / 56,438,459 characters / 11,706,955 48K-reference tokens after exact cross-source deduplication, canonical 5-word-shingle Jaccard near deduplication at 0.85, and a narrow quality filter. The final artifact SHA-256 is d1a6c58c2298d37ae49df6bafd6a4d03963ebc99cdac831490448cb21cfc56ec. Dataset packaging is recorded as ODC-By 1.0; underlying individual Common Crawl content rights were not independently verified.

GlotCC, NLLB, and mOSCAR accepted additions

Subsequent qualification added three accepted sources. GlotCC V1 gaz-Latn contributes 2,109 records / 1,716,558 reference tokens. Canonical AllenAI NLLB gaz_Latn contributes 1,101,371 records / 16,701,572 reference tokens after global pair-level consolidation, sentence-aware containment, normalized equality deduplication, and canonical near deduplication. mOSCAR V2 gaz_Latn contributes 12,215 native text segments / 820,958 reference tokens after native-segment extraction, quality filtering, and canonical near deduplication.

These additions raise OromoCorpus to 1,968,208 accepted records / 94,060,044 reference tokens (94.06% of 100M). Character totals for NLLB and mOSCAR are not restated in this report because the frozen user-visible summaries used for this update did not include their final character counts; the token and record totals are authoritative.

Common Voice Oromo accepted addition

Mozilla Common Voice Scripted Speech 27.0 contributes 18,367 validated Oromo sentences / 115,004 whitespace words / 796,880 characters / 170,146 48K-reference tokens. Exact cross-source overlap was only 7 sentences before canonical near deduplication, and the final accepted text retained 99.34% of the exact-net-new word mass. Audio is excluded from the text corpus. Final SHA-256: ea25fe8d3300a02228afc8d7306e60a6266090bad01f01ffa18f5a60a79fd67b.

MADLAD-400 approved source

MADLAD-400 Oromo v0.2 is approved for OromoCorpus under the upstream AllenAI/MADLAD-400 dataset's published ODC-BY license after technical and language-quality qualification. The approval relies on the upstream dataset-level license representation and requires preservation of AllenAI/MADLAD-400 attribution; it does not claim independent copyright clearance of every underlying Common Crawl page.

The prior provenance investigation remains documented: 1,917 final research-clean records / 1,874,398 48K-reference tokens (10.49%) were deterministically mapped to official MADLAD v1.5 URLs and timestamps across 182 domains. 16,787 records / 15,998,992 reference tokens remain without directly recovered source-level provenance, recorded as not_independently_verified rather than as a release blocker.

Metric Value
Raw records 18,895
Near-dedup net-new records 18,863
Language-quality rejects 159
Research-clean records 18,704
Research-clean characters 87,930,775
Research-clean whitespace tokens 11,088,537
Research-clean 48K reference tokens 17,873,390
Provenance-recovered final records 1,917
Provenance-recovered 48K reference tokens 1,874,398
Provenance token coverage 10.49%
Recovered unique domains 182
Provenance-unresolved final records 16,787
Provenance-unresolved 48K reference tokens 15,998,992

Research-clean SHA-256:

4a28bde40c0c3f973fa2d503edee80a7a5e06330ddb74d7249f23bc662dcaf11

HPLT 3.0 approved source and 50M milestone

HPLT 3.0 gaz_Latn v0.1 is approved/frozen as a conservative WDS 8–10 subset after exact deduplication, canonical 5-word-shingle near deduplication, structural-quality review, and full GlotLID v3 verification.

HPLT v0.1 metric Value
Final records 26,655
Characters 104,275,394
Whitespace tokens 13,581,841
48K reference tokens 19,771,727
Unique domains 1,091
GlotLID gaz_Latn top-1 26,570
GlotLID hae_Latn top-1 85

Frozen HPLT corpus SHA-256:

b39bae97f09990d3ccfac141ae86ecfeb2c75ab30ce6674ee73e5504b419f856

Frozen HPLT statistics SHA-256:

0860a7d309f25245d5d288973fd94c30ec4431a7bfb91d553e2c6c00586f53cb

The v0.1 release excludes WDS 5–7, 315 structural-review records, 164 language-ambiguous records, and 1,112 strong non-Oromo records. HPLT licenses the dataset packaging under CC0 while stating that it does not own the underlying extracted text; underlying individual-content rights are therefore recorded as not independently verified.

See docs/sources/HPLT3_OROMO_REPORT.md and docs/sources/HPLT3_LICENSE_DECISION.md.

Accepted OromoCorpus is now 52,137,803 reference tokens.

MADLAD contributes 17,873,390 accepted research-clean reference tokens. HPLT v0.1 contributes 19,771,727 accepted reference tokens.

The accepted corpus is 104.28% of the 50M minimum.

The token total uses the Oromo Unigram 48K + byte-fallback tokenizer as the current planning reference, not as the final OromoLM tokenizer.

OromoCorpus v0.2 minimum: 50,000,000 reference tokens
current planning total:   52,137,803
progress:                 104.28%
margin above minimum:      2,137,803

OromoCorpus v0.3 target: 100,000,000 reference tokens
progress:                 52.14%

Approved source expansion completed so far:

  • wikimedia-omwiki.v0.1: 2,254 net-new records after source-specific cleaning, exact deduplication, and 5-word-shingle near deduplication;
  • voa-afaan-oromoo-via-wura.v0.1: 9,510 net-new records after conservative third-party provenance holds, quality processing, exact deduplication, and near deduplication;
  • castorini-wura-orm remains reviewing as a discovery layer and does not count as a whole toward the accepted corpus.
  • allenai-madlad-400-om-clean is technically qualified, quality-passed, and approved under the upstream MADLAD-400 ODC-BY dataset license. Its 17,873,390 reference tokens count toward accepted OromoCorpus. The project preserves the provenance findings and records underlying individual content rights as not independently verified.
  • hplt3-gaz-latn.v0.1 is approved/frozen after WDS 8–10 selection, cross-source deduplication, structural screening, and full GlotLID verification. Its 19,771,727 reference tokens bring the accepted planning total above the 50M minimum.

Frozen source-level reports:

  • docs/sources/WIKIMEDIA_OMWIKI_REPORT.md
  • docs/sources/VOA_AFAAN_OROMOO_WURA_REPORT.md
  • docs/sources/MADLAD_400_OROMO_REPORT.md
  • docs/sources/MADLAD400_PROVENANCE_REVIEW.md
  • docs/sources/MADLAD_400_LICENSE_DECISION.md
  • docs/sources/HPLT3_OROMO_REPORT.md
  • docs/sources/HPLT3_LICENSE_DECISION.md

Next acquisition priorities

The next data-engineering priorities are:

1. Continue expansion toward the preferred 100M target
2. Preserve source-level licensing and provenance decisions
3. Continue exact and near deduplication against every accepted source
4. Improve domain, dialect, literary, educational, technical, and conversational balance rather than maximizing raw volume
5. Use smaller curated sources when they add unusually valuable linguistic diversity
6. Keep OromoBench/evaluation data isolated from trainingd from training
7. Freeze OromoCorpus v0.2 only after the 50M release gates pass
8. Continue toward 100M with broader domain and dialect coverage

The goal is not merely to increase record count. The goal is to increase quality, coverage, diversity, provenance, and linguistic usefulness. No source's advertised size is counted before it passes the production pipeline.


BSSCO legal/government candidate audit — 2026-10-17

A new BSSCO Oromia legal candidate has passed extraction-feasibility testing but is not part of the accepted statistics. The validated inventory contains 291 live PDFs / 2,176.06 MiB. A stratified 30-file sample covered 1,018 pages and yielded 212,457 directly extracted words before language separation; 12 files were text-rich, 15 were scan-heavy/very-low-text, and 3 contained no direct text.

OCR validation showed that scan-only Oromo legal pages are recoverable at useful quality, but the source is trilingual and page orientation/layout can change inside the same PDF. Production processing therefore requires page-level Oromo/English/Amharic/unknown routing. These audit figures are not accepted corpus counts and must not be added to the 94,230,190-token baseline. See docs/sources/BSSCO_OROMIA_LEGAL_AUDIT.md.

30. Production Dataset Principle

The current corpus pipeline follows:

RAW SOURCE
    │
    ▼
HASH
    │
    ▼
AUDIT
    │
    ▼
DECISION ENGINE
    │
    ├───────────────┐
    ▼               ▼
  KEEP             CLEAN
    │               │
    │               ▼
    │            VALIDATE
    │               │
    └───────┬───────┘
            ▼
       DEDUPLICATE
            │
            ▼
     PROCESSED CORPUS
            │
            ├── manifest
            │
            └── rejection ledger

This architecture is designed to make every production dataset version explainable.


31. Current Conclusion

afriberta_oromo_v0.1.2 is the current validated production corpus version.

Its most important properties are:

410,193 processed records
52,122,367 characters
0 malformed JSON records
0 empty processed records
0 duplicate cleaned hashes
648 auditable ledger entries
validated source and processed hashes

The v0.1.2 update removed exactly:

49 targeted short extraction artifacts

without introducing a blanket short-record deletion policy.

The corpus is now ready to serve as a seed dataset for tokenizer research and subsequent corpus expansion.

It should not yet be treated as the final Oromo foundation-model training corpus.

Since v0.1.2 was frozen, two additional source-level expansions have been qualified and frozen: Wikimedia omwiki and the provenance-cleared VOA Afaan Oromoo subset recovered through WURA. Together they contribute 2,970,707 net-new 48K reference tokens beyond the AfriBERTa seed.

The current accepted planning total is 94,230,190 48K reference tokens across 1,986,575 records, or 188.46% of the 50M v0.2 minimum and 94.23% of the preferred 100M target. 5,769,810 reference tokens remain to the preferred 100M target. The token-volume gate is achieved; a formal OromoCorpus v0.2 release still requires the selected/versioned OromoLM tokenizer and the remaining release checks.


32. Dataset Status

┌──────────────────────────────────────────┐
│  OROMO AI — CORPUS STATUS                │
├──────────────────────────────────────────┤
│  Source acquisition       COMPLETE       │
│  Provenance               COMPLETE       │
│  Audit pipeline           COMPLETE       │
│  Conservative cleaning    COMPLETE       │
│  Deduplication            COMPLETE       │
│  Rejection ledger         COMPLETE       │
│  v0.1.2 processing        COMPLETE       │
│  Integrity validation     COMPLETE       │
│                                          │
│  50M corpus minimum       ACHIEVED       │
│  Corpus expansion         ACTIVE → 100M  │
│  Source registry          ACTIVE         │
│  Tokenizer research       ACTIVE         │
│  Model training           LATER          │
└──────────────────────────────────────────┘

Current principle:

Build the data foundation first. Then build the model on top of evidence.