Datasets:
docs: format Method pipeline as tree
Browse files
README.md
CHANGED
|
@@ -1,176 +1,174 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-sa-4.0
|
| 3 |
-
language:
|
| 4 |
-
- ba
|
| 5 |
-
- ru
|
| 6 |
-
pretty_name: Bashkir-Russian Wikipedia Parallel Corpus
|
| 7 |
-
task_categories:
|
| 8 |
-
- translation
|
| 9 |
-
configs:
|
| 10 |
-
- config_name: filtered
|
| 11 |
-
default: true
|
| 12 |
-
data_files:
|
| 13 |
-
- split: train
|
| 14 |
-
path: filtered/data.parquet
|
| 15 |
-
- config_name: cleaned
|
| 16 |
-
data_files:
|
| 17 |
-
- split: train
|
| 18 |
-
path: cleaned/data.parquet
|
| 19 |
-
- config_name: scored
|
| 20 |
-
data_files:
|
| 21 |
-
- split: train
|
| 22 |
-
path: scored/data.parquet
|
| 23 |
-
- config_name: precleaned
|
| 24 |
-
data_files:
|
| 25 |
-
- split: train
|
| 26 |
-
path: precleaned/data.parquet
|
| 27 |
-
tags:
|
| 28 |
-
- bashkir
|
| 29 |
-
- russian
|
| 30 |
-
- wikipedia
|
| 31 |
-
- cyrillic
|
| 32 |
-
- low-resource
|
| 33 |
-
- parallel-corpus
|
| 34 |
-
- sentence-level
|
| 35 |
-
- bitext-mining
|
| 36 |
-
---
|
| 37 |
-
|
| 38 |
-
# Bashkir-Russian Wikipedia Parallel Corpus
|
| 39 |
-
|
| 40 |
-
> Sentence-level Bashkir-Russian parallel text from Wikipedia, scored and filtered
|
| 41 |
-
> for machine translation.
|
| 42 |
-
|
| 43 |
-
## Overview
|
| 44 |
-
|
| 45 |
-
Sentence-level Bashkir-Russian parallel dataset extracted from the corresponding
|
| 46 |
-
Bashkir and Russian Wikipedia dumps dated `2026-08-01`. Candidate pairs are scored
|
| 47 |
-
for semantic alignment with multilingual sentence encoders (Meta LASER3, Google
|
| 48 |
-
LaBSE) and the in-domain Bashkir-Russian Pair Scorer. The `filtered` configuration
|
| 49 |
-
is the high-precision subset recommended for machine translation; `cleaned`,
|
| 50 |
-
`scored` and `precleaned` are provided for custom filtering experiments.
|
| 51 |
-
|
| 52 |
-
| At a glance | |
|
| 53 |
-
| --- | --- |
|
| 54 |
-
| Task | Parallel corpus / machine translation |
|
| 55 |
-
| Default config | `filtered` |
|
| 56 |
-
| Fields | `ba_title`, `ru_title`, `section`, `ba`, `ru`, sentence indices and alignment scores |
|
| 57 |
-
| Source | Bashkir and Russian Wikipedia dumps `2026-08-01` |
|
| 58 |
-
| License | CC BY-SA 4.0 |
|
| 59 |
-
|
| 60 |
-
## Contents
|
| 61 |
-
|
| 62 |
-
### Files and Configurations
|
| 63 |
-
|
| 64 |
-
| Config | Pairs | Articles | Description |
|
| 65 |
-
| --- | ---: | ---: | --- |
|
| 66 |
-
| **`filtered`** (recommended) | 66,498 | 31,574 | High-precision subset by two-voice scoring (LASER3 + LaBSE), annotated with `pair_score` |
|
| 67 |
-
| `cleaned` | 68,737 | 33,582 | Base alignment with article-level sentence mapping, Wiki markup and service boilerplate removed |
|
| 68 |
-
| `scored` | 68,737 | 33,582 | Identical rows to `cleaned`, retaining LASER margin scores and `pair_score` |
|
| 69 |
-
| `precleaned` | 84,512 | 40,705 | Broad extraction with relaxed sentence-length heuristics, for custom filtering |
|
| 70 |
-
|
| 71 |
-
Counts, filter rules and score distributions are the source of truth in
|
| 72 |
-
[`META.json`](META.json).
|
| 73 |
-
|
| 74 |
-
### Fields and Schema
|
| 75 |
-
|
| 76 |
-
- `ba_title`, `ru_title`: article titles in the two Wikipedias.
|
| 77 |
-
- `section`: section category (`lead` or `facts`).
|
| 78 |
-
- `ba`, `ru`: aligned sentence pair.
|
| 79 |
-
- `ba_sentence_index`, `ru_sentence_index`: sentence positions in the source articles.
|
| 80 |
-
- `laser_cos`, `laser_margin`, `laser_margin_xling`: LASER3 cosine and margin scores (Artetxe & Schwenk, 2018).
|
| 81 |
-
- `labse_cos`, `labse_margin_xling`: LaBSE cosine and cross-lingual margin (present only in `filtered`).
|
| 82 |
-
- `pair_score`: semantic compatibility from the [Bashkir-Russian Pair Scorer](https://huggingface.co/failed09/bashkir-pair-scorer) `medium` model, 0.0–1.0.
|
| 83 |
-
|
| 84 |
-
### Examples
|
| 85 |
-
|
| 86 |
-
| Bashkir (ba) | Russian (ru) | `pair_score` |
|
| 87 |
-
| --- | --- | ---: |
|
| 88 |
-
| Тарих — белем өлкәһе, кешелектең үткән замандағы эшмәкәрлеген, торошон, донъяға ҡарашын, ойошоуын һәм социаль бәйләнештәрен өйрәнә торған гуманитар фән. | История — общий термин, описывающий как события прошлого, так и память о прошлом, нахождение, сбор и интерпретацию сведений об этих событиях. | 0.999 |
|
| 89 |
-
| Республика (Йөмһүриәт) … — юғары власть органдары билдәле мөҙҙәткә һайланып ҡуйыла торған дәүләт төҙөлөшө. | Республика (от — «общественное дело») — форма государственного правления, при которой высшая власть принадлежит представительным органам, избираемым населением на определённый срок. | 0.589 |
|
| 90 |
-
| 1919 йылдың 20 мартында … Башҡорт Совет Республикаһын иғлан ителә. | 20 марта 1919 года … была образована Башкирская Советская Республика (Малая Башкирия) с временной столицей в с. | 0.511 |
|
| 91 |
-
|
| 92 |
-
## Method
|
| 93 |
-
|
| 94 |
-
```text
|
| 95 |
-
bawiki-20260801
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
-
|
| 117 |
-
- `
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
- [Bashkir
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
```
|
| 131 |
-
|
| 132 |
-
```
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
redistributed in this repository, so users should follow the licenses and
|
| 176 |
-
attribution requirements of the relevant upstream resources.
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-sa-4.0
|
| 3 |
+
language:
|
| 4 |
+
- ba
|
| 5 |
+
- ru
|
| 6 |
+
pretty_name: Bashkir-Russian Wikipedia Parallel Corpus
|
| 7 |
+
task_categories:
|
| 8 |
+
- translation
|
| 9 |
+
configs:
|
| 10 |
+
- config_name: filtered
|
| 11 |
+
default: true
|
| 12 |
+
data_files:
|
| 13 |
+
- split: train
|
| 14 |
+
path: filtered/data.parquet
|
| 15 |
+
- config_name: cleaned
|
| 16 |
+
data_files:
|
| 17 |
+
- split: train
|
| 18 |
+
path: cleaned/data.parquet
|
| 19 |
+
- config_name: scored
|
| 20 |
+
data_files:
|
| 21 |
+
- split: train
|
| 22 |
+
path: scored/data.parquet
|
| 23 |
+
- config_name: precleaned
|
| 24 |
+
data_files:
|
| 25 |
+
- split: train
|
| 26 |
+
path: precleaned/data.parquet
|
| 27 |
+
tags:
|
| 28 |
+
- bashkir
|
| 29 |
+
- russian
|
| 30 |
+
- wikipedia
|
| 31 |
+
- cyrillic
|
| 32 |
+
- low-resource
|
| 33 |
+
- parallel-corpus
|
| 34 |
+
- sentence-level
|
| 35 |
+
- bitext-mining
|
| 36 |
+
---
|
| 37 |
+
|
| 38 |
+
# Bashkir-Russian Wikipedia Parallel Corpus
|
| 39 |
+
|
| 40 |
+
> Sentence-level Bashkir-Russian parallel text from Wikipedia, scored and filtered
|
| 41 |
+
> for machine translation.
|
| 42 |
+
|
| 43 |
+
## Overview
|
| 44 |
+
|
| 45 |
+
Sentence-level Bashkir-Russian parallel dataset extracted from the corresponding
|
| 46 |
+
Bashkir and Russian Wikipedia dumps dated `2026-08-01`. Candidate pairs are scored
|
| 47 |
+
for semantic alignment with multilingual sentence encoders (Meta LASER3, Google
|
| 48 |
+
LaBSE) and the in-domain Bashkir-Russian Pair Scorer. The `filtered` configuration
|
| 49 |
+
is the high-precision subset recommended for machine translation; `cleaned`,
|
| 50 |
+
`scored` and `precleaned` are provided for custom filtering experiments.
|
| 51 |
+
|
| 52 |
+
| At a glance | |
|
| 53 |
+
| --- | --- |
|
| 54 |
+
| Task | Parallel corpus / machine translation |
|
| 55 |
+
| Default config | `filtered` |
|
| 56 |
+
| Fields | `ba_title`, `ru_title`, `section`, `ba`, `ru`, sentence indices and alignment scores |
|
| 57 |
+
| Source | Bashkir and Russian Wikipedia dumps `2026-08-01` |
|
| 58 |
+
| License | CC BY-SA 4.0 |
|
| 59 |
+
|
| 60 |
+
## Contents
|
| 61 |
+
|
| 62 |
+
### Files and Configurations
|
| 63 |
+
|
| 64 |
+
| Config | Pairs | Articles | Description |
|
| 65 |
+
| --- | ---: | ---: | --- |
|
| 66 |
+
| **`filtered`** (recommended) | 66,498 | 31,574 | High-precision subset by two-voice scoring (LASER3 + LaBSE), annotated with `pair_score` |
|
| 67 |
+
| `cleaned` | 68,737 | 33,582 | Base alignment with article-level sentence mapping, Wiki markup and service boilerplate removed |
|
| 68 |
+
| `scored` | 68,737 | 33,582 | Identical rows to `cleaned`, retaining LASER margin scores and `pair_score` |
|
| 69 |
+
| `precleaned` | 84,512 | 40,705 | Broad extraction with relaxed sentence-length heuristics, for custom filtering |
|
| 70 |
+
|
| 71 |
+
Counts, filter rules and score distributions are the source of truth in
|
| 72 |
+
[`META.json`](META.json).
|
| 73 |
+
|
| 74 |
+
### Fields and Schema
|
| 75 |
+
|
| 76 |
+
- `ba_title`, `ru_title`: article titles in the two Wikipedias.
|
| 77 |
+
- `section`: section category (`lead` or `facts`).
|
| 78 |
+
- `ba`, `ru`: aligned sentence pair.
|
| 79 |
+
- `ba_sentence_index`, `ru_sentence_index`: sentence positions in the source articles.
|
| 80 |
+
- `laser_cos`, `laser_margin`, `laser_margin_xling`: LASER3 cosine and margin scores (Artetxe & Schwenk, 2018).
|
| 81 |
+
- `labse_cos`, `labse_margin_xling`: LaBSE cosine and cross-lingual margin (present only in `filtered`).
|
| 82 |
+
- `pair_score`: semantic compatibility from the [Bashkir-Russian Pair Scorer](https://huggingface.co/failed09/bashkir-pair-scorer) `medium` model, 0.0–1.0.
|
| 83 |
+
|
| 84 |
+
### Examples
|
| 85 |
+
|
| 86 |
+
| Bashkir (ba) | Russian (ru) | `pair_score` |
|
| 87 |
+
| --- | --- | ---: |
|
| 88 |
+
| Тарих — белем өлкәһе, кешелектең үткән замандағы эшмәкәрлеген, торошон, донъяға ҡарашын, ойошоуын һәм социаль бәйләнештәрен өйрәнә торған гуманитар фән. | История — общий термин, описывающий как события прошлого, так и память о прошлом, нахождение, сбор и интерпретацию сведений об этих событиях. | 0.999 |
|
| 89 |
+
| Республика (Йөмһүриәт) … — юғары власть органдары билдәле мөҙҙәткә һайланып ҡуйыла торған дәүләт төҙөлөшө. | Республика (от — «общественное дело») — форма государственного правления, при которой высшая власть принадлежит представительным органам, избираемым населением на определённый срок. | 0.589 |
|
| 90 |
+
| 1919 йылдың 20 мартында … Башҡорт Совет Республикаһын иғлан ителә. | 20 марта 1919 года … была образована Башкирская Советская Республика (Малая Башкирия) с временной столицей в с. | 0.511 |
|
| 91 |
+
|
| 92 |
+
## Method
|
| 93 |
+
|
| 94 |
+
```text
|
| 95 |
+
upstream Wikimedia dumps (bawiki-20260801 & ruwiki-20260801)
|
| 96 |
+
├── 1. map articles via interlanguage Wikidata links (40,705 paired articles)
|
| 97 |
+
├── 2. extract candidate sentence pairs within matched articles (84,512 candidate pairs)
|
| 98 |
+
├── 3. strip MediaWiki markup, templates, tables & citation markers (15,775 dropped)
|
| 99 |
+
├── 4. cross-lingual alignment scoring: LASER3, Google LaBSE & pair-scorer medium
|
| 100 |
+
├── 5. two-voice consensus filter: reject if laser_margin < 0.876 AND labse_margin < 0.723 (2,239 dropped)
|
| 101 |
+
└── 6. export zstd Parquet: filtered (66,498 pairs) & cleaned (68,737 pairs)
|
| 102 |
+
```
|
| 103 |
+
|
| 104 |
+
## Quality and Use
|
| 105 |
+
|
| 106 |
+
Alignment quality is estimated automatically and is not human-verified. At this
|
| 107 |
+
scale, encyclopedic texts cover global geography, history and sciences, so some
|
| 108 |
+
sentence pairs may be loosely aligned or contain borrowed vocabulary, foreign
|
| 109 |
+
names or segmentation artifacts. Review samples before using the dataset in
|
| 110 |
+
production or as an evaluation benchmark.
|
| 111 |
+
|
| 112 |
+
### Limitations
|
| 113 |
+
|
| 114 |
+
- Alignment scores are model estimates, not human judgments; thresholds were calibrated on this corpus.
|
| 115 |
+
- `pair_score` values are not calibrated human probabilities.
|
| 116 |
+
- `train` is a distribution convention; no leakage-free evaluation split is provided.
|
| 117 |
+
- `precleaned` and `cleaned` are intentionally looser than `filtered`.
|
| 118 |
+
|
| 119 |
+
## Related Resources
|
| 120 |
+
|
| 121 |
+
- [Bashkir Wikipedia Monolingual Corpus](https://huggingface.co/datasets/failed09/bashkir-wikipedia-monolingual) —
|
| 122 |
+
sentence-level monolingual Bashkir text from the same dump, for pretraining and language modelling.
|
| 123 |
+
- [Bashkir-Russian Pair Scorer](https://huggingface.co/failed09/bashkir-pair-scorer) —
|
| 124 |
+
standalone compatibility model used to produce the `pair_score` column.
|
| 125 |
+
|
| 126 |
+
## Usage
|
| 127 |
+
|
| 128 |
+
```bash
|
| 129 |
+
pip install datasets
|
| 130 |
+
```
|
| 131 |
+
|
| 132 |
+
```python
|
| 133 |
+
from datasets import load_dataset
|
| 134 |
+
|
| 135 |
+
# Recommended subset for machine translation training
|
| 136 |
+
filtered = load_dataset("failed09/bashkir-wikipedia-parallel", "filtered")
|
| 137 |
+
|
| 138 |
+
# Custom filtering combining pair_score and LASER margin
|
| 139 |
+
df = filtered["train"].to_pandas()
|
| 140 |
+
strict_subset = df[(df.pair_score >= 0.80) & (df.laser_margin_xling >= 0.95)]
|
| 141 |
+
print(f"Strict high-quality subset: {len(strict_subset):,} sentence pairs")
|
| 142 |
+
```
|
| 143 |
+
|
| 144 |
+
## License
|
| 145 |
+
|
| 146 |
+
Distributed under the [CC BY-SA 4.0 license](https://creativecommons.org/licenses/by-sa/4.0/).
|
| 147 |
+
The release contains text extracted from Wikipedia; upstream source licenses and
|
| 148 |
+
attribution requirements apply. Preserve Wikipedia and Wikimedia attribution when
|
| 149 |
+
redistributing or publishing derivative datasets.
|
| 150 |
+
|
| 151 |
+
## Citation
|
| 152 |
+
|
| 153 |
+
```bibtex
|
| 154 |
+
@dataset{failed09_bashkir_russian_wikipedia_parallel_2026,
|
| 155 |
+
title = {Bashkir-Russian Wikipedia Parallel Corpus},
|
| 156 |
+
author = {failed09},
|
| 157 |
+
year = {2026},
|
| 158 |
+
publisher = {Hugging Face},
|
| 159 |
+
url = {https://huggingface.co/datasets/failed09/bashkir-wikipedia-parallel},
|
| 160 |
+
note = {Cleaned sentence-level Bashkir-Russian Wikipedia parallel corpus}
|
| 161 |
+
}
|
| 162 |
+
```
|
| 163 |
+
|
| 164 |
+
## Open Bashkir Data and Sources 🐝
|
| 165 |
+
|
| 166 |
+
This release is part of an open-source effort to support the development,
|
| 167 |
+
preservation and practical use of the Bashkir language. Other related models,
|
| 168 |
+
datasets and tools are available on the author's Hugging Face profile.
|
| 169 |
+
|
| 170 |
+
The author does not claim ownership or authorship of the source texts or other
|
| 171 |
+
materials used to derive this release; rights and licensing remain with the
|
| 172 |
+
original authors, publishers and dataset providers. Source texts are not
|
| 173 |
+
redistributed in this repository, so users should follow the licenses and
|
| 174 |
+
attribution requirements of the relevant upstream resources.
|
|
|
|
|
|