Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Languages:
multilingual
Size:
1M - 10M
License:
upload README.md
Browse files
README.md
CHANGED
|
@@ -10,6 +10,7 @@ task_categories:
|
|
| 10 |
tags:
|
| 11 |
- language-identification
|
| 12 |
- common-corpus
|
|
|
|
| 13 |
pretty_name: CommonLingua-Train
|
| 14 |
---
|
| 15 |
|
|
@@ -18,70 +19,73 @@ pretty_name: CommonLingua-Train
|
|
| 18 |
The training data for [PleIAs/CommonLingua](https://huggingface.co/PleIAs/CommonLingua) — a byte-level language identification model for 334 languages. **2.48 M paragraphs**, sourced exclusively from open-licensed and public-domain corpora.
|
| 19 |
|
| 20 |
| | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
## Files
|
| 22 |
|
| 23 |
| File | Rows | Size | Description |
|
| 24 |
|---|---:|---:|---|
|
| 25 |
-
| `train.parquet`
|
| 26 |
-
| `val.parquet`
|
| 27 |
-
| `train_text_lang.parquet` | 2,482,568 | 1.14 GB | Training-time projection (`text`, `lang`) |
|
| 28 |
-
| `val_text_lang.parquet` | ~270 k | 125 MB | Same projection for val |
|
| 29 |
-
|
| 30 |
-
The provenance files are the **canonical artefact**. The two-column projections are convenience copies for users who only want to retrain a classifier and don't care about source / license / metadata; they were derived from the provenance files at the moment training launched.
|
| 31 |
|
| 32 |
-
## Schema
|
| 33 |
|
| 34 |
| Column | Type | Description |
|
| 35 |
|---|---|---|
|
| 36 |
-
| `text`
|
| 37 |
-
| `lang`
|
| 38 |
-
| `
|
| 39 |
-
| `
|
| 40 |
-
| `
|
| 41 |
-
| `
|
| 42 |
-
| `
|
| 43 |
-
| `
|
| 44 |
-
| `
|
| 45 |
-
| `
|
| 46 |
-
| `date` | string | Publication / extraction date, nullable |
|
| 47 |
-
| `section_name` | string | Sub-section within the document (e.g. Wikipedia article section), nullable |
|
| 48 |
|
| 49 |
## Source attribution
|
| 50 |
|
|
|
|
|
|
|
| 51 |
| Source | Rows | License | Notes |
|
| 52 |
|---|---:|---|---|
|
| 53 |
-
| Wikipedia
|
| 54 |
-
|
|
| 55 |
-
|
|
| 56 |
-
|
|
| 57 |
-
|
|
| 58 |
-
|
|
| 59 |
-
|
|
| 60 |
-
|
|
| 61 |
-
|
|
| 62 |
-
|
|
| 63 |
-
|
|
| 64 |
-
|
|
| 65 |
-
|
|
| 66 |
-
|
|
| 67 |
-
|
|
| 68 |
-
|
|
| 69 |
-
|
|
| 70 |
-
|
|
| 71 |
-
| French
|
| 72 |
-
| Sefaria
|
| 73 |
-
|
|
| 74 |
-
|
|
| 75 |
-
|
|
| 76 |
-
|
|
| 77 |
-
|
|
| 78 |
-
|
|
| 79 |
-
| German-PD
|
| 80 |
-
| French-PD-
|
| 81 |
-
| French
|
| 82 |
-
|
|
| 83 |
-
|
| 84 |
-
|
| 85 |
|
| 86 |
## Reproducing the model
|
| 87 |
|
|
@@ -94,14 +98,10 @@ val = pq.read_table("val.parquet", columns=["text", "lang"])
|
|
| 94 |
|
| 95 |
## License & responsible use
|
| 96 |
|
| 97 |
-
CommonLingua-Train aggregates
|
| 98 |
|
| 99 |
If you redistribute derived versions, please keep the per-row `license`, `creator`, and `identifier` columns intact for downstream attribution.
|
| 100 |
|
| 101 |
-
## History
|
| 102 |
-
|
| 103 |
-
This dataset is the v7.2.1 iteration. Earlier iterations (v6.3.x) carried collection-level labels at face value, which led to mislabelled African-language data (Wax̌alNLP collections under `kik`/`mas`/`sog`/etc.). The v7 line dropped those classes outright and re-validated the rest with Gemini 2.5 Flash. The current dataset retains only ~5 k rows from the original WaxalNLP collection, after that cleanup.
|
| 104 |
-
|
| 105 |
## Citation
|
| 106 |
|
| 107 |
```bibtex
|
|
@@ -111,4 +111,4 @@ This dataset is the v7.2.1 iteration. Earlier iterations (v6.3.x) carried collec
|
|
| 111 |
year = {2026},
|
| 112 |
url = {https://huggingface.co/datasets/PleIAs/CommonLingua-Train}
|
| 113 |
}
|
| 114 |
-
```
|
|
|
|
| 10 |
tags:
|
| 11 |
- language-identification
|
| 12 |
- common-corpus
|
| 13 |
+
- african-languages
|
| 14 |
pretty_name: CommonLingua-Train
|
| 15 |
---
|
| 16 |
|
|
|
|
| 19 |
The training data for [PleIAs/CommonLingua](https://huggingface.co/PleIAs/CommonLingua) — a byte-level language identification model for 334 languages. **2.48 M paragraphs**, sourced exclusively from open-licensed and public-domain corpora.
|
| 20 |
|
| 21 |
| | |
|
| 22 |
+
|---|---|
|
| 23 |
+
| **Train rows** | 2,482,568 |
|
| 24 |
+
| **Val rows** | 272,875 |
|
| 25 |
+
| **Languages** | 334 (ISO 639-3) |
|
| 26 |
+
| **Format** | Apache Parquet (zstd-compressed) |
|
| 27 |
+
| **License** | Per-source (see attribution table) |
|
| 28 |
+
|
| 29 |
## Files
|
| 30 |
|
| 31 |
| File | Rows | Size | Description |
|
| 32 |
|---|---:|---:|---|
|
| 33 |
+
| `train.parquet` | 2,482,568 | 1.08 GB | Provenance schema (10 columns) |
|
| 34 |
+
| `val.parquet` | 272,875 | 119 MB | Same schema |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
+
## Schema
|
| 37 |
|
| 38 |
| Column | Type | Description |
|
| 39 |
|---|---|---|
|
| 40 |
+
| `text` | string | Paragraph text, raw UTF-8 (truncated to 512 bytes by the trainer) |
|
| 41 |
+
| `lang` | string | ISO 639-3 label (the training target) |
|
| 42 |
+
| `source` | string | Top-level source name (e.g. `Wikipedia`, `Pralekha`, `OpenAlex`) |
|
| 43 |
+
| `identifier` | string | Item-level identifier (URL / DOI / shelfmark / file id), nullable |
|
| 44 |
+
| `title` | string | Item title, nullable |
|
| 45 |
+
| `collection` | string | Sub-collection within the source, nullable |
|
| 46 |
+
| `license` | string | Per-row license string |
|
| 47 |
+
| `open_type` | string | `public_domain`, `cc_by`, `cc_by_sa`, etc. |
|
| 48 |
+
| `creator` | string | Author / organisation, nullable |
|
| 49 |
+
| `date` | string | Publication / extraction date, nullable |
|
|
|
|
|
|
|
| 50 |
|
| 51 |
## Source attribution
|
| 52 |
|
| 53 |
+
Wikipedia provides the bulk (≈ 94 %); the long tail is filled by [Common Corpus](https://huggingface.co/datasets/PleIAs/common_corpus) collections and a handful of dedicated minority-language corpora.
|
| 54 |
+
|
| 55 |
| Source | Rows | License | Notes |
|
| 56 |
|---|---:|---|---|
|
| 57 |
+
| Wikipedia | 2,323,301 | CC-BY-SA 4.0 | Per-article paragraphs across 300+ language editions |
|
| 58 |
+
| OpenAlex | 29,733 | per-journal | Mostly CC-BY academic content (Indonesian/Malaysian, African, English) |
|
| 59 |
+
| Pralekha | 27,076 | CC-BY-SA 4.0 | Indic-language paragraphs |
|
| 60 |
+
| VOA Africa | 24,341 | Public Domain (US Federal) | Voice of America Africa-language broadcasts |
|
| 61 |
+
| Cultural Heritage | 16,381 | per-collection | Digitised heritage archives (Tocharian, Larth Etruscan, ePSD2/CDLI, Thesaurus Linguae Aegyptiae) |
|
| 62 |
+
| Perseus | 11,638 | CC-BY-SA 4.0 | Classical languages (Latin, Ancient Greek, Old Church Slavonic, Gothic) |
|
| 63 |
+
| OpenPecha | 8,317 | Public Domain / CC | Tibetan and Sanskrit (incl. Ambuda) |
|
| 64 |
+
| WaxalNLP | 5,373 | CC-BY-SA 4.0 | West African ASR transcripts |
|
| 65 |
+
| eBible | 4,877 | Public Domain | Bible translations, public-domain editions only |
|
| 66 |
+
| Chinese-Court-Decisions| 4,474 | Public Domain | Chinese court rulings |
|
| 67 |
+
| StackExchange | 3,312 | CC-BY-SA 4.0 | Q&A across StackExchange sites |
|
| 68 |
+
| Project Ben-Yehuda | 2,701 | Public Domain | Hebrew literature |
|
| 69 |
+
| USPTO | 2,029 | Public Domain | US patent filings |
|
| 70 |
+
| US-PD-Newspapers | 1,834 | Public Domain | US public-domain newspapers |
|
| 71 |
+
| HAL | 1,575 | per-license | French academic abstracts |
|
| 72 |
+
| French-PD-Newspapers | 1,539 | Public Domain | |
|
| 73 |
+
| English-PD | 1,353 | Public Domain | |
|
| 74 |
+
| dotgov | 1,130 | Public Domain | US .gov web text |
|
| 75 |
+
| French-PD-diverse | 1,065 | Public Domain | |
|
| 76 |
+
| Sefaria | 947 | Public Domain | Hebrew religious corpus |
|
| 77 |
+
| Court Listener | 931 | Public Domain | US court filings |
|
| 78 |
+
| Krike-Krake | 744 | Public Domain | Tachelhit / Berber documentation |
|
| 79 |
+
| Deutsches Zeitungsportal | 615 | Public Domain | German newspaper archive |
|
| 80 |
+
| govinfo | 572 | Public Domain | US Government publications |
|
| 81 |
+
| Creative Commons Common Crawl (CCC) | 561 | per-license CC | |
|
| 82 |
+
| enevaeldens_nyheder | 496 | Public Domain | Danish historical news |
|
| 83 |
+
| German-PD | 485 | Public Domain | |
|
| 84 |
+
| French-PD-Books | 368 | Public Domain | |
|
| 85 |
+
| French Open Data | 339 | per-license | |
|
| 86 |
+
| Spanish-Science-Pile | 323 | per-journal | |
|
| 87 |
+
|
| 88 |
+
The remaining ~90 sources cover the long tail of [Common Corpus](https://huggingface.co/datasets/PleIAs/common_corpus) collections (Italian-PD, Latin-PD, Spanish-PD-*, Open Korean Historical Corpus, Wikisource, UN-Digital-Library, …) and account for ~3,000 rows total. Per-row licensing is preserved in the `license` and `open_type` columns of the parquet itself.
|
| 89 |
|
| 90 |
## Reproducing the model
|
| 91 |
|
|
|
|
| 98 |
|
| 99 |
## License & responsible use
|
| 100 |
|
| 101 |
+
CommonLingua-Train aggregates open-licensed and public-domain corpora. Most sources are either CC-BY-SA 4.0 (Wikipedia, Pralekha, Perseus, WaxalNLP, StackExchange) or public domain (newspapers, patents, government publications, religious texts, classical philology). Some OpenAlex rows inherit the journal's per-publication license — most are CC-BY.
|
| 102 |
|
| 103 |
If you redistribute derived versions, please keep the per-row `license`, `creator`, and `identifier` columns intact for downstream attribution.
|
| 104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
## Citation
|
| 106 |
|
| 107 |
```bibtex
|
|
|
|
| 111 |
year = {2026},
|
| 112 |
url = {https://huggingface.co/datasets/PleIAs/CommonLingua-Train}
|
| 113 |
}
|
| 114 |
+
```
|