AIAny
Icon for item

CommonLingua-Train

Training dataset for byte-level language identification across 334 languages with ~2.48M paragraph samples (primarily Wikipedia and open-licensed corpora). Curated to reduce multilingual contamination, boost low-resource coverage, target frequent confusions, and preserve per-row license metadata for attribution.

Introduction

Accurate, wide-coverage language identification is a low-level infrastructure component that directly affects tokenization, routing, filtering, and evaluation in multilingual NLP systems. This training split was curated not just for scale but to address three recurring production problems: multilingual contamination in source dumps, severe under-representation of many African and other low-resource languages, and model confusion between closely related varieties (e.g., Indonesian vs Malay). The dataset is therefore optimized for building robust byte-level language-ID models rather than downstream tasks that need full-document context.

What Sets It Apart
  • Targeted composition and sampling: combines a large Wikipedia core with curated inclusions (OpenAlex, VOA Africa, Pralekha, OCR-heavy corpora). That mix increases representation for low-resource languages while preserving high-quality encyclopedic text for majority languages — useful when you need both coverage and signal.
  • Contamination and generator filtering: the authors report filtering steps to remove multilingually contaminated pages and widespread generated content found in some Wikipedia snapshots, reducing label noise that commonly degrades language-ID performance.
  • Per-row provenance and license fields: each record keeps license, creator, and identifier metadata. This makes attribution and selective redistribution possible without losing provenance — important for legal compliance in research or product datasets.
  • Byte-level focus and truncation constraints: text is provided trimmed to 512 bytes for training consistency with byte-level models; this helps train classifiers that are robust to byte-level tokenization quirks but means you lose long-context signals.
Who It's For & Tradeoffs

Great fit if you are training or evaluating language identification models (especially byte-level classifiers), building language-routing pipelines for multilingual systems, or benchmarking ID performance across hundreds of languages including many African languages. The dataset’s provenance metadata also makes it suitable when you must track licenses or produce attribution-aware derivatives.

Look elsewhere if you need full-document context (this is paragraph-level and truncated), require commercial/clearly permissive licensing across all rows (licenses are per-row and heterogeneous), or need web-scale noisy web text representative of social media or conversational domains. Also note that the 512-byte truncation and byte-level framing favor ID robustness over tasks requiring sentence-level semantics.

Where It Fits

Use this training split to reproduce or improve byte-level language-ID SOTA, to augment low-resource language coverage in multilingual pipelines, or as a provenance-aware baseline for dataset auditing. For downstream tasks (translation, summarization) combine it with longer-context corpora that match your target domain.

Information

Categories

More Items

Hugging Face

A collection of ready-to-run Hugging Face Jobs OCR scripts that add a markdown column (or structured JSON) to image datasets, with model switching, layout detection, server-mode serving, and per-model options for table/form extraction.

Hugging Face

Provides 115M public GitHub source files (≈873GB of code, ~1TB uncompressed) with per-file metadata (repo, path, language, license). Supports streaming, language/license filtering and full download for training and evaluating code LLMs and code generation models.

Hugging Face

Provides labeled prompts with full-reference answers (including chain-of-thought and code blocks) and per-example metadata to train edge routing/orchestrator models that decide whether to handle inputs locally or route them to larger models. Includes complexity scores, coding/math flags, routing justifications, and an automated override rule; suited for fine-tuning small models (50M–1.5B) for edge deployment.