Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -1,4 +1,23 @@
|
|
1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
dataset_info:
|
3 |
features:
|
4 |
- name: source_tatoeba_id
|
@@ -57,3 +76,139 @@ configs:
|
|
57 |
- split: tur
|
58 |
path: data/tur-*
|
59 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- kbd
|
4 |
+
- deu
|
5 |
+
- eng
|
6 |
+
- fra
|
7 |
+
- por
|
8 |
+
- rus
|
9 |
+
- spa
|
10 |
+
- tur
|
11 |
+
license: cc-by-2.0
|
12 |
+
task_categories:
|
13 |
+
- translation
|
14 |
+
pretty_name: Tatoeba Translations Dataset
|
15 |
+
size_categories:
|
16 |
+
- 1M<n<10M
|
17 |
+
tags:
|
18 |
+
- translation
|
19 |
+
- multilingual
|
20 |
+
- parallel-corpus
|
21 |
dataset_info:
|
22 |
features:
|
23 |
- name: source_tatoeba_id
|
|
|
76 |
- split: tur
|
77 |
path: data/tur-*
|
78 |
---
|
79 |
+
|
80 |
+
# Tatoeba Translations Dataset
|
81 |
+
|
82 |
+
## Dataset Description
|
83 |
+
|
84 |
+
This dataset contains parallel sentence translations from [Tatoeba](https://tatoeba.org/) to Kabardian language (kbd), filtered by similarity score. The source languages are:
|
85 |
+
|
86 |
+
- German (deu)
|
87 |
+
- English (eng)
|
88 |
+
- French (fra)
|
89 |
+
- Portuguese (por)
|
90 |
+
- Russian (rus)
|
91 |
+
- Spanish (spa)
|
92 |
+
- Turkish (tur)
|
93 |
+
|
94 |
+
All translations in this dataset are paired with Kabardian (kbd) as the target language.
|
95 |
+
|
96 |
+
### Dataset Summary
|
97 |
+
|
98 |
+
The dataset consists of high-quality parallel translations between multiple language pairs, where each translation pair has been filtered based on similarity scores to ensure quality. Each language section contains translations to/from Russian, making this dataset particularly useful for multilingual translation tasks involving Russian.
|
99 |
+
|
100 |
+
### Languages
|
101 |
+
|
102 |
+
The dataset includes translations from the following source languages to Kabardian:
|
103 |
+
|
104 |
+
Source languages:
|
105 |
+
- German (deu) [ISO 639-3](https://iso639-3.sil.org/)
|
106 |
+
- English (eng) [ISO 639-3](https://iso639-3.sil.org/)
|
107 |
+
- French (fra) [ISO 639-3](https://iso639-3.sil.org/)
|
108 |
+
- Portuguese (por) [ISO 639-3](https://iso639-3.sil.org/)
|
109 |
+
- Russian (rus) [ISO 639-3](https://iso639-3.sil.org/)
|
110 |
+
- Spanish (spa) [ISO 639-3](https://iso639-3.sil.org/)
|
111 |
+
- Turkish (tur) [ISO 639-3](https://iso639-3.sil.org/)
|
112 |
+
|
113 |
+
Target language:
|
114 |
+
- Kabardian (kbd) [ISO 639-3](https://iso639-3.sil.org/)
|
115 |
+
|
116 |
+
## Dataset Structure
|
117 |
+
|
118 |
+
### Data Instances
|
119 |
+
|
120 |
+
Each instance in the dataset contains:
|
121 |
+
```python
|
122 |
+
{
|
123 |
+
'source_tatoeba_id': 7627627, # Tatoeba sentence ID
|
124 |
+
'source_lang': 'eng', # Source language code
|
125 |
+
'source_text': 'He's always happy.', # Original text
|
126 |
+
'target_text': 'Ар сыт щыгъуи насыпыфIэщ.', # Translated text
|
127 |
+
'similarity_score': 0.9283, # Translation similarity score
|
128 |
+
'nllb_model_version': 'rus-kbd-v1.3.4' # Model used for verification
|
129 |
+
}
|
130 |
+
```
|
131 |
+
|
132 |
+
### Data Fields
|
133 |
+
|
134 |
+
- `source_tatoeba_id`: Unique identifier from Tatoeba
|
135 |
+
- `source_lang`: Language code of the source text
|
136 |
+
- `source_text`: Original text in source language
|
137 |
+
- `target_text`: Translated text (predominantly in Russian)
|
138 |
+
- `similarity_score`: Similarity score between source and target texts
|
139 |
+
- `nllb_model_version`: Version of the translation model used for verification
|
140 |
+
|
141 |
+
### Data Splits
|
142 |
+
|
143 |
+
The dataset is organized by source languages, with each language paired with Kabardian as the target language. The similarity thresholds represent the 75th percentile of similarity scores for each language pair:
|
144 |
+
- deu: German-Kabardian pairs (75th percentile similarity: 0.8711)
|
145 |
+
- eng: English-Kabardian pairs (75th percentile similarity: 0.8800)
|
146 |
+
- fra: French-Kabardian pairs (75th percentile similarity: 0.8716)
|
147 |
+
- por: Portuguese-Kabardian pairs (75th percentile similarity: 0.8807)
|
148 |
+
- rus: Russian-Kabardian pairs (75th percentile similarity: 0.8916)
|
149 |
+
- spa: Spanish-Kabardian pairs (75th percentile similarity: 0.8718)
|
150 |
+
- tur: Turkish-Kabardian pairs (75th percentile similarity: 0.8554)
|
151 |
+
|
152 |
+
## Dataset Creation
|
153 |
+
|
154 |
+
### Source Data
|
155 |
+
|
156 |
+
The source data comes from [Tatoeba](https://tatoeba.org/), a free collaborative online database of example sentences.
|
157 |
+
|
158 |
+
#### Initial Data Collection and Normalization
|
159 |
+
|
160 |
+
1. Sentences were extracted from Tatoeba's database
|
161 |
+
2. Filtered by language pairs
|
162 |
+
3. Processed and verified using NLLB-200 model
|
163 |
+
4. Similarity scores were calculated for each translation pair
|
164 |
+
5. For quality assurance, translations were filtered using the 75th percentile of similarity scores for each language pair as a threshold
|
165 |
+
|
166 |
+
### Annotations
|
167 |
+
|
168 |
+
The similarity scores were computed using the NLLB-200 model to ensure translation quality.
|
169 |
+
|
170 |
+
## Additional Information
|
171 |
+
|
172 |
+
### Dataset Curators
|
173 |
+
|
174 |
+
This dataset was curated by [Your Name/Organization]
|
175 |
+
|
176 |
+
### Licensing Information
|
177 |
+
|
178 |
+
This dataset is licensed under [Creative Commons Attribution 2.0](https://creativecommons.org/licenses/by/2.0/).
|
179 |
+
|
180 |
+
### Citation Information
|
181 |
+
|
182 |
+
```bibtex
|
183 |
+
@misc{tatoeba_translations_2024,
|
184 |
+
title={Multilingual Tatoeba Translations Dataset},
|
185 |
+
author={Your Name},
|
186 |
+
year={2024},
|
187 |
+
publisher={Hugging Face},
|
188 |
+
howpublished={\url{https://huggingface.co/datasets/username/dataset-name}}
|
189 |
+
}
|
190 |
+
```
|
191 |
+
|
192 |
+
### Contributions
|
193 |
+
|
194 |
+
Thanks to [@Tatoeba](https://tatoeba.org/) for providing the source data.
|
195 |
+
|
196 |
+
## Usage Examples
|
197 |
+
|
198 |
+
```python
|
199 |
+
from datasets import load_dataset
|
200 |
+
|
201 |
+
# Load the entire dataset
|
202 |
+
dataset = load_dataset("username/dataset-name")
|
203 |
+
|
204 |
+
# Load specific language pairs
|
205 |
+
eng_dataset = load_dataset("username/dataset-name", "eng")
|
206 |
+
rus_dataset = load_dataset("username/dataset-name", "rus")
|
207 |
+
|
208 |
+
# Example of accessing data
|
209 |
+
for example in eng_dataset['train']:
|
210 |
+
source = example['source_text']
|
211 |
+
target = example['target_text']
|
212 |
+
similarity = example['similarity_score']
|
213 |
+
# Your processing code...
|
214 |
+
```
|