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 8 |
+
- cv
|
| 9 |
+
- dar
|
| 10 |
+
- dig
|
| 11 |
+
- kjh
|
| 12 |
+
- kk
|
| 13 |
+
- kv
|
| 14 |
+
- mhr
|
| 15 |
+
- os
|
| 16 |
+
- sah
|
| 17 |
+
- tt
|
| 18 |
+
- udm
|
| 19 |
+
pretty_name: "SuperMinor — assistant instruction prompts in 15 minority languages, RU pivot"
|
| 20 |
+
task_categories:
|
| 21 |
+
- translation
|
| 22 |
+
- text2text-generation
|
| 23 |
+
multilinguality:
|
| 24 |
+
- translation
|
| 25 |
+
size_categories:
|
| 26 |
+
- n<1K
|
| 27 |
+
license: cc-by-4.0
|
| 28 |
+
tags:
|
| 29 |
+
- parallel-corpus
|
| 30 |
+
- instruction-tuning
|
| 31 |
+
- low-resource
|
| 32 |
+
- minority-languages
|
| 33 |
+
- languages-of-russia
|
| 34 |
+
configs:
|
| 35 |
+
- config_name: prompts
|
| 36 |
+
data_files: data/prompts.parquet
|
| 37 |
+
default: true
|
| 38 |
+
---
|
| 39 |
+
|
| 40 |
+
# SuperMinor — assistant-style instruction prompts in 15 minority languages (RU pivot)
|
| 41 |
+
|
| 42 |
+
A fully parallel set of **124 assistant-style instruction prompts** (summarize, extract
|
| 43 |
+
key points, quiz questions, style transfer, translation requests, etc.) translated from
|
| 44 |
+
Russian into **15 low-resource languages**, most of them minority languages of Russia.
|
| 45 |
+
Every prompt has a translation in every language — a perfect N-way parallel table.
|
| 46 |
+
|
| 47 |
+
The prompts imitate how a user talks to a virtual assistant. Together with per-language
|
| 48 |
+
answers they can be used to teach instruction-following models to converse in languages
|
| 49 |
+
that today's assistants barely speak.
|
| 50 |
+
|
| 51 |
+
## About the SuperMinor project
|
| 52 |
+
|
| 53 |
+
SuperMinor is a project for the development of minor languages, aimed at collecting and
|
| 54 |
+
translating data for training language models in instruction format. Virtual
|
| 55 |
+
assistants mostly work well only with popular languages — and not
|
| 56 |
+
even all of those. For small languages like Yakut or Chuvash the situation is far
|
| 57 |
+
worse.
|
| 58 |
+
|
| 59 |
+
For the project, a small portal was built where native speakers of minor languages
|
| 60 |
+
could, without any extra hassle, translate and edit specially selected short texts in
|
| 61 |
+
the form of instructions. The instructions are sets of phrases imitating a conversation
|
| 62 |
+
with an assistant. By training on such texts, a model learns to communicate in a
|
| 63 |
+
language new to it, which makes it possible to build all kinds of generative content
|
| 64 |
+
and neural-network applications in Bashkir, Tatar, the Mari languages, the Ossetian
|
| 65 |
+
dialects, and the other languages for which the data was collected.
|
| 66 |
+
|
| 67 |
+
This dataset is the result of the project: native-speaker translations, validated with
|
| 68 |
+
the **Claude Fable 5** model, which also produced the machine translations (`mt` rows)
|
| 69 |
+
for the prompts no volunteer had covered.
|
| 70 |
+
|
| 71 |
+
## Languages
|
| 72 |
+
|
| 73 |
+
| code | language | human | mt |
|
| 74 |
+
|---|---|---|---|
|
| 75 |
+
| ru | Russian (pivot) | — | — |
|
| 76 |
+
| alt | Southern Altai | 124 | 0 |
|
| 77 |
+
| av | Avar | 2 | 122 |
|
| 78 |
+
| ba | Bashkir | 124 | 0 |
|
| 79 |
+
| be | Belarusian | 5 | 119 |
|
| 80 |
+
| cv | Chuvash | 124 | 0 |
|
| 81 |
+
| dar | Dargwa | 124 | 0 |
|
| 82 |
+
| dig | Digor Ossetian | 0 | 124 |
|
| 83 |
+
| kjh | Khakas | 25 | 99 |
|
| 84 |
+
| kk | Kazakh | 124 | 0 |
|
| 85 |
+
| kv | Komi-Zyrian | 124 | 0 |
|
| 86 |
+
| mhr | Meadow Mari | 124 | 0 |
|
| 87 |
+
| os | Ossetian (Iron) | 0 | 124 |
|
| 88 |
+
| sah | Yakut | 124 | 0 |
|
| 89 |
+
| tt | Tatar | 124 | 0 |
|
| 90 |
+
| udm | Udmurt | 124 | 0 |
|
| 91 |
+
|
| 92 |
+
Codes are ISO 639-1 where available, ISO 639-2/3 otherwise. `os` is Iron Ossetian, the
|
| 93 |
+
literary standard; Digor Ossetian has no dedicated ISO code, so `dig` follows the
|
| 94 |
+
convention of the companion [Little Prince multiparallel corpus of low resource languages of Russia](https://huggingface.co/datasets/averoo/low_resource_parallel_corpora).
|
| 95 |
+
|
| 96 |
+
## Data
|
| 97 |
+
|
| 98 |
+
`data/prompts.parquet` contains one flat row per prompt. Each language is a text column
|
| 99 |
+
and carries two metadata columns prefixed with its code:
|
| 100 |
+
|
| 101 |
+
```json
|
| 102 |
+
{
|
| 103 |
+
"ru": "Выпиши десять ключевых слов, описывающих текст:",
|
| 104 |
+
"ba": "Тексты тасуирлаған ун төп һүҙҙе яҙып ал:",
|
| 105 |
+
"ba_source": "human",
|
| 106 |
+
"ba_edited": false
|
| 107 |
+
}
|
| 108 |
+
```
|
| 109 |
+
|
| 110 |
+
- `<code>` — the prompt in that language;
|
| 111 |
+
- `<code>_source` — `human` (translated by a native-speaker volunteer on the SuperMinor
|
| 112 |
+
portal) or `mt` (no volunteer translation existed; rendered by the validation model);
|
| 113 |
+
- `<code>_edited` — `true` if the text was touched during the validation pass (typo /
|
| 114 |
+
consistency / mistranslation fixes for human rows; always `true` for `mt` rows).
|
| 115 |
+
|
| 116 |
+
When pristine native-speaker text is required, filter on `<code>_source == "human"`.
|
| 117 |
+
|
| 118 |
+
## Validation
|
| 119 |
+
|
| 120 |
+
Every human translation was reviewed and every gap filled in a per-language verification
|
| 121 |
+
pass (Claude Fable 5), using the project's Little Prince multiparallel corpus and its
|
| 122 |
+
per-language dictionaries as orthographic and lexical reference. The pass enforced:
|
| 123 |
+
faithfulness to the Russian prompt, one orthographic convention per language
|
| 124 |
+
(single palochka form, Cyrillic-only letters where standard, one че/nasal letter for
|
| 125 |
+
Khakas, degemination per native majority for Bashkir), an exact `XXX` placeholder,
|
| 126 |
+
digit and trailing-colon parity with the pivot, and terminology consistency across each
|
| 127 |
+
language's prompt set.
|
| 128 |
+
|
| 129 |
+
## Usage
|
| 130 |
+
|
| 131 |
+
```python
|
| 132 |
+
from datasets import load_dataset
|
| 133 |
+
|
| 134 |
+
prompts = load_dataset("averoo/sumi", "prompts")["train"]
|
| 135 |
+
row = prompts[0]
|
| 136 |
+
print(row["ru"], "->", row["sah"])
|
| 137 |
+
```
|
| 138 |
+
|
| 139 |
+
## Licensing and intended use
|
| 140 |
+
|
| 141 |
+
Volunteer translations were contributed to the SuperMinor project for developing
|
| 142 |
+
language technology for minority languages. Published for language preservation,
|
| 143 |
+
education, and research; attribution appreciated.
|
data/prompts.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4fa78343769cc9f80e1be5f6d43c75c57d479ab82dbd5d873f4e207cbe6b916
|
| 3 |
+
size 101731
|