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

Provides manually curated Japanese instruction pairs (questions and safe reference answers) for improving LLM output safety, covering broad harm categories and regionally sensitive cases. Includes English meta-tags and standard splits for benchmarking and fine-tuning.

Hugging Face

A 16 GB, 507-file PhD‑level cybersecurity knowledge base for training and evaluating security-focused LLMs and automation. Covers offensive/defensive/forensics/cloud/iot and AI-security across 30+ domains with real-world labs and framework mappings.

Hugging Face

Structured dataset for training and evaluating LLM agentic behavior: function-calling conversations, JSON-mode structured outputs, and extraction samples for teaching models to generate tool calls and strict structured responses. Includes single-turn and multi-turn scenarios across several configs.