Goobo Labs
Research
OverviewPublicationsBenchmarks (SomBench)Open SourceRoadmap
DatasetsModels
Learn
ProgramsLearning PathsCurriculum
BlogCommunity
Sign inExplore research
Goobo Labs

An open research lab building the foundations of Somali AI.

Research

  • Overview
  • Publications
  • Benchmarks
  • Roadmap

Datasets

  • SomNLP Corpus
  • SomNLP STT
  • Wikipedia Corpus
  • Citation Guide

Programs

  • Data Science & ML Bootcamp
  • Python for Everyone
  • NLP (coming soon)
  • Curriculum

Resources

  • Docs
  • Models & Tools
  • Open Source
  • Blog
  • Soplang

Contact

  • info@goobolabs.so
  • Mogadishu, Somalia

Company

  • About
  • Careers
  • Impact
  • Press Kit
  • Verify Certificate
  • Contact

Community

  • GitHub
  • Hugging Face
  • X
  • LinkedIn

© 2026 Goobo Labs. Open research for Somali AI.

Privacy PolicyTerms of Service
HomeBlogDataset
DatasetJun 9, 2026 · 5 min read

SomNLP-Corpus v2: 887M+ tokens from six open sources

Our largest Somali text release yet: 1.77M clean documents, 591M words, and ~887M tokens from HPLT, CC100, mC4, OPUS, MADLAD, and MT560 — filtered through a six-stage pipeline.

Omar Tood

Omar Tood

Data Scientist

SomNLP-Corpus v2 is the largest open Somali text corpus we have released: 1,774,891 clean documents, 591,321,860 words, and approximately 887 million subword tokens (~4.5 GB JSONL). It merges six public Somali-heavy distributions through a reproducible cleaning, deduplication, and language-ID pipeline.

Corpus results

Starting from 2.63M raw rows across HPLT, CC100, mC4, OPUS, MADLAD, and MT560, the pipeline merges, cleans, and LID-verifies down to 1.77M documents. Final word counts are measured on data/final/final_so.jsonl; token estimates use a ×1.5 rule-of-thumb for Somali BPE/SPM relative to whitespace-separated words.

887M+

Subword tokens

591M

Words

1.77M

Clean documents

4.5 GB

Release size

  • Downloaded (raw): 2,633,281 documents
  • Merged: 2,329,800 documents
  • Cleaned: 2,225,791 documents
  • LID verified: 2,035,287 documents
  • Final: 1,774,891 documents · 591,321,860 words

Six-stage pipeline

Each stage removes noise, duplicates, or misidentified language. We drop byte-exact duplicates after merge, apply text normalization and quality filters during cleaning, then run language identification with a Somali-specific threshold before the final export.

We prefer a smaller, verified corpus over a larger noisy dump. The largest removals happen at merge (303K rows) and LID verification (190K rows), where cross-source overlap and non-Somali content are filtered out.

Sources

v2 draws from HPLT, CC100, mC4, OPUS, MADLAD, and MT560 — the same upstream families used in multilingual pretraining research, but filtered and deduplicated specifically for Somali. License terms follow each upstream; the release bundle is CC-BY-4.0 where compatible.

How to use it

python
from datasets import load_dataset

ds = load_dataset("goobolabs/somnlp-corpus", split="train")
print(ds[0])

# Stream without a full download
ds_stream = load_dataset(
    "goobolabs/somnlp-corpus", split="train", streaming=True
)
for row in ds_stream.take(10):
    print(row["text"])

What's next

Public Hugging Face hosting and a full dataset card are in progress alongside model checkpoints. v3 will expand informal and conversational text — SMS, social media, and community forums.

  • Hugging Face release with reproducibility manifest
  • Held-out SomBench evaluation splits aligned to this corpus
  • Dialect and domain metadata on a subset of documents
  • Streaming API for large slices without full download
DatasetNLPSomaliOpen Data
Omar Tood

Omar Tood

Data Scientist

Writing about Somali language technology, open data, and AI from the lab in Mogadishu.

All postsGet in touch

On this page

  • Corpus results
  • Six-stage pipeline
  • Sources
  • How to use it
  • What's next

Share

Back to Blog
More from the lab

Related posts

Research6 min read

Introducing the Somali Language Standard (SLS) – Phase 1 Complete

We've formally published the first two standards of the Somali Language Standard (SLS) — an open, machine-readable, CI/CD-validated framework for the Somali language, starting with the alphabet and the standards process itself.

Jul 9, 2026Read
Research6 min read

Soplang v2.0.0: a compiler for the first Somali programming language

Our team shipped a Rust-based compiler for Soplang — Cranelift JIT and ahead-of-time builds, with syntax written entirely in Somali keywords.

Jun 30, 2026Read
Research7 min read

Why Somali needs its own tokenizer

Foreign multilingual tokenizers over-segment Somali — BERT-base spends 2.69 tokens per word. Our native BPE tokenizer, trained on 529M words of SomNLP-Corpus, gets that down to 1.53: a 1.75× improvement.

Nov 11, 2025Read
Newsletter

Stay in the loop

Dataset releases, new bootcamp cohorts, research papers, and lab updates — straight to your inbox. No spam, unsubscribe anytime.