Datasets:
|
Download README.md from failed09/bashkir-wikipedia-parallel: direct link, hf CLI and curl.
- Browser
- Download file 8.18 kB
-
https://huggingface.co/datasets/failed09/bashkir-wikipedia-parallel/resolve/main/README.md
- Command line
-
hf download hf://datasets/failed09/bashkir-wikipedia-parallel/README.md
-
curl -L -o README.md https://huggingface.co/datasets/failed09/bashkir-wikipedia-parallel/resolve/main/README.md
8.18 kB
| license: cc-by-sa-4.0 | |
| language: | |
| - ba | |
| - ru | |
| pretty_name: Bashkir-Russian Wikipedia Parallel Corpus | |
| task_categories: | |
| - translation | |
| configs: | |
| - config_name: filtered | |
| default: true | |
| data_files: | |
| - split: train | |
| path: filtered/data.parquet | |
| - config_name: cleaned | |
| data_files: | |
| - split: train | |
| path: cleaned/data.parquet | |
| - config_name: scored | |
| data_files: | |
| - split: train | |
| path: scored/data.parquet | |
| - config_name: precleaned | |
| data_files: | |
| - split: train | |
| path: precleaned/data.parquet | |
| tags: | |
| - bashkir | |
| - russian | |
| - wikipedia | |
| - cyrillic | |
| - low-resource | |
| - parallel-corpus | |
| - sentence-level | |
| - bitext-mining | |
| # Bashkir-Russian Wikipedia Parallel Corpus | |
| > Sentence-level Bashkir-Russian parallel text from Wikipedia, scored and filtered | |
| > for machine translation. | |
| ## Overview | |
| Sentence-level Bashkir-Russian parallel dataset extracted from the corresponding | |
| Bashkir and Russian Wikipedia dumps dated `2026-08-01`. Candidate pairs are scored | |
| for semantic alignment with multilingual sentence encoders (Meta LASER3, Google | |
| LaBSE) and the in-domain Bashkir-Russian Pair Scorer. The `filtered` configuration | |
| is the high-precision subset recommended for machine translation; `cleaned`, | |
| `scored` and `precleaned` are provided for custom filtering experiments. | |
| | At a glance | | | |
| | --- | --- | | |
| | Task | Parallel corpus / machine translation | | |
| | Default config | `filtered` | | |
| | Fields | `ba_title`, `ru_title`, `section`, `ba`, `ru`, sentence indices and alignment scores | | |
| | Source | Bashkir and Russian Wikipedia dumps `2026-08-01` | | |
| | License | CC BY-SA 4.0 | | |
| ## Contents | |
| ### Files and Configurations | |
| | Config | Pairs | Articles | Description | | |
| | --- | ---: | ---: | --- | | |
| | **`filtered`** (recommended) | 66,498 | 31,574 | High-precision subset by two-voice scoring (LASER3 + LaBSE), annotated with `pair_score` | | |
| | `cleaned` | 68,737 | 33,582 | Base alignment with article-level sentence mapping, Wiki markup and service boilerplate removed | | |
| | `scored` | 68,737 | 33,582 | Identical rows to `cleaned`, retaining LASER margin scores and `pair_score` | | |
| | `precleaned` | 84,512 | 40,705 | Broad extraction with relaxed sentence-length heuristics, for custom filtering | | |
| Counts, filter rules and score distributions are the source of truth in | |
| [`META.json`](META.json). | |
| ### Fields and Schema | |
| - `ba_title`, `ru_title`: article titles in the two Wikipedias. | |
| - `section`: section category (`lead` or `facts`). | |
| - `ba`, `ru`: aligned sentence pair. | |
| - `ba_sentence_index`, `ru_sentence_index`: sentence positions in the source articles. | |
| - `laser_cos`, `laser_margin`, `laser_margin_xling`: LASER3 cosine and margin scores (Artetxe & Schwenk, 2018). | |
| - `labse_cos`, `labse_margin_xling`: LaBSE cosine and cross-lingual margin (present only in `filtered`). | |
| - `pair_score`: semantic compatibility from the [Bashkir-Russian Pair Scorer](https://huggingface.co/failed09/bashkir-pair-scorer) `medium` model, 0.0–1.0. | |
| ### Examples | |
| | Bashkir (ba) | Russian (ru) | `pair_score` | | |
| | --- | --- | ---: | | |
| | Тарих — белем өлкәһе, кешелектең үткән замандағы эшмәкәрлеген, торошон, донъяға ҡарашын, ойошоуын һәм социаль бәйләнештәрен өйрәнә торған гуманитар фән. | История — общий термин, описывающий как события прошлого, так и память о прошлом, нахождение, сбор и интерпретацию сведений об этих событиях. | 0.999 | | |
| | Республика (Йөмһүриәт) … — юғары власть органдары билдәле мөҙҙәткә һайланып ҡуйыла торған дәүләт төҙөлөшө. | Республика (от — «общественное дело») — форма государственного правления, при которой высшая власть принадлежит представительным органам, избираемым населением на определённый срок. | 0.589 | | |
| | 1919 йылдың 20 мартында … Башҡорт Совет Республикаһын иғлан ителә. | 20 марта 1919 года … была образована Башкирская Советская Республика (Малая Башкирия) с временной столицей в с. | 0.511 | | |
| ## Method | |
| ```text | |
| upstream Wikimedia dumps (bawiki-20260801 & ruwiki-20260801) | |
| ├── 1. map articles via interlanguage Wikidata links (40,705 paired articles) | |
| ├── 2. extract candidate sentence pairs within matched articles (84,512 candidate pairs) | |
| ├── 3. strip MediaWiki markup, templates, tables & citation markers (15,775 dropped) | |
| ├── 4. cross-lingual alignment scoring: LASER3, Google LaBSE & pair-scorer medium | |
| ├── 5. two-voice consensus filter: reject if laser_margin < 0.876 AND labse_margin < 0.723 (2,239 dropped) | |
| └── 6. export zstd Parquet: filtered (66,498 pairs) & cleaned (68,737 pairs) | |
| ``` | |
| ## Quality and Use | |
| Alignment quality is estimated automatically and is not human-verified. At this | |
| scale, encyclopedic texts cover global geography, history and sciences, so some | |
| sentence pairs may be loosely aligned or contain borrowed vocabulary, foreign | |
| names or segmentation artifacts. Review samples before using the dataset in | |
| production or as an evaluation benchmark. | |
| ### Limitations | |
| - Alignment scores are model estimates, not human judgments; thresholds were calibrated on this corpus. | |
| - `pair_score` values are not calibrated human probabilities. | |
| - `train` is a distribution convention; no leakage-free evaluation split is provided. | |
| - `precleaned` and `cleaned` are intentionally looser than `filtered`. | |
| ## Related Resources | |
| - [Bashkir Wikipedia Monolingual Corpus](https://huggingface.co/datasets/failed09/bashkir-wikipedia-monolingual) — | |
| sentence-level monolingual Bashkir text from the same dump, for pretraining and language modelling. | |
| - [Bashkir-Russian Pair Scorer](https://huggingface.co/failed09/bashkir-pair-scorer) — | |
| standalone compatibility model used to produce the `pair_score` column. | |
| ## Usage | |
| ```bash | |
| pip install datasets | |
| ``` | |
| ```python | |
| from datasets import load_dataset | |
| # Recommended subset for machine translation training | |
| filtered = load_dataset("failed09/bashkir-wikipedia-parallel", "filtered") | |
| # Custom filtering combining pair_score and LASER margin | |
| df = filtered["train"].to_pandas() | |
| strict_subset = df[(df.pair_score >= 0.80) & (df.laser_margin_xling >= 0.95)] | |
| print(f"Strict high-quality subset: {len(strict_subset):,} sentence pairs") | |
| ``` | |
| ## License | |
| Distributed under the [CC BY-SA 4.0 license](https://creativecommons.org/licenses/by-sa/4.0/). | |
| The release contains text extracted from Wikipedia; upstream source licenses and | |
| attribution requirements apply. Preserve Wikipedia and Wikimedia attribution when | |
| redistributing or publishing derivative datasets. | |
| ## Citation | |
| ```bibtex | |
| @dataset{failed09_bashkir_russian_wikipedia_parallel_2026, | |
| title = {Bashkir-Russian Wikipedia Parallel Corpus}, | |
| author = {failed09}, | |
| year = {2026}, | |
| publisher = {Hugging Face}, | |
| url = {https://huggingface.co/datasets/failed09/bashkir-wikipedia-parallel}, | |
| note = {Cleaned sentence-level Bashkir-Russian Wikipedia parallel corpus} | |
| } | |
| ``` | |
| ## Open Bashkir Data and Sources 🐝 | |
| This release is part of an open-source effort to support the development, | |
| preservation and practical use of the Bashkir language. Other related models, | |
| datasets and tools are available on the author's Hugging Face profile. | |
| The author does not claim ownership or authorship of the source texts or other | |
| materials used to derive this release; rights and licensing remain with the | |
| original authors, publishers and dataset providers. Source texts are not | |
| redistributed in this repository, so users should follow the licenses and | |
| attribution requirements of the relevant upstream resources. | |