Datasets:
Fix example in opus_ubuntu, Add license info (#4360)
Browse files* Fix example in opus_ubuntu, Add license info
* fix missing languages and sections
* minor
Co-authored-by: Quentin Lhoest <lhoest.q@gmail.com>
Commit from https://github.com/huggingface/datasets/commit/4844b9c65e042598e0bd9f2e5bd5b5f784c618bc
README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
---
|
2 |
annotations_creators:
|
3 |
-
-
|
|
|
4 |
language_creators:
|
5 |
- found
|
6 |
languages:
|
@@ -11,7 +12,7 @@ languages:
|
|
11 |
- an
|
12 |
- ang
|
13 |
- ar
|
14 |
-
-
|
15 |
- ary
|
16 |
- as
|
17 |
- ast
|
@@ -24,7 +25,7 @@ languages:
|
|
24 |
- bg
|
25 |
- bho
|
26 |
- bn
|
27 |
-
-
|
28 |
- bo
|
29 |
- br
|
30 |
- brx
|
@@ -44,48 +45,48 @@ languages:
|
|
44 |
- cy
|
45 |
- da
|
46 |
- de
|
47 |
-
-
|
48 |
-
-
|
49 |
- dsb
|
50 |
- dv
|
51 |
- dz
|
52 |
- el
|
53 |
- en
|
54 |
-
-
|
55 |
-
-
|
56 |
-
-
|
57 |
-
-
|
58 |
-
-
|
59 |
- eo
|
60 |
- es
|
61 |
-
-
|
62 |
-
-
|
63 |
-
-
|
64 |
-
-
|
65 |
-
-
|
66 |
-
-
|
67 |
-
-
|
68 |
-
-
|
69 |
-
-
|
70 |
-
-
|
71 |
-
-
|
72 |
-
-
|
73 |
-
-
|
74 |
-
-
|
75 |
-
-
|
76 |
-
-
|
77 |
-
-
|
78 |
- et
|
79 |
- eu
|
80 |
- fa
|
81 |
-
-
|
82 |
- ff
|
83 |
- fi
|
84 |
- fil
|
85 |
- fo
|
86 |
- fr
|
87 |
-
-
|
88 |
-
-
|
89 |
- frm
|
90 |
- frp
|
91 |
- fur
|
@@ -153,7 +154,6 @@ languages:
|
|
153 |
- mk
|
154 |
- ml
|
155 |
- mn
|
156 |
-
- mo
|
157 |
- mr
|
158 |
- ms
|
159 |
- mt
|
@@ -166,13 +166,12 @@ languages:
|
|
166 |
- ne
|
167 |
- nhn
|
168 |
- nl
|
169 |
-
-
|
170 |
- nn
|
171 |
-
-
|
172 |
- nso
|
173 |
- ny
|
174 |
- oc
|
175 |
-
- oj
|
176 |
- om
|
177 |
- or
|
178 |
- os
|
@@ -184,8 +183,8 @@ languages:
|
|
184 |
- pmy
|
185 |
- ps
|
186 |
- pt
|
187 |
-
-
|
188 |
-
-
|
189 |
- qu
|
190 |
- rm
|
191 |
- ro
|
@@ -215,7 +214,7 @@ languages:
|
|
215 |
- syr
|
216 |
- szl
|
217 |
- ta
|
218 |
-
-
|
219 |
- te
|
220 |
- tet
|
221 |
- tg
|
@@ -243,13 +242,13 @@ languages:
|
|
243 |
- yi
|
244 |
- yo
|
245 |
- zh
|
246 |
-
-
|
247 |
-
-
|
248 |
-
-
|
249 |
- zu
|
250 |
- zza
|
251 |
licenses:
|
252 |
-
-
|
253 |
multilinguality:
|
254 |
- multilingual
|
255 |
size_categories:
|
@@ -262,7 +261,7 @@ task_categories:
|
|
262 |
- translation
|
263 |
task_ids: []
|
264 |
paperswithcode_id: null
|
265 |
-
pretty_name:
|
266 |
configs:
|
267 |
- as-bs
|
268 |
- az-cs
|
@@ -276,7 +275,7 @@ configs:
|
|
276 |
- bs-szl
|
277 |
---
|
278 |
|
279 |
-
# Dataset Card
|
280 |
|
281 |
## Table of Contents
|
282 |
- [Dataset Description](#dataset-description)
|
@@ -312,12 +311,13 @@ configs:
|
|
312 |
|
313 |
### Dataset Summary
|
314 |
|
|
|
315 |
|
316 |
To load a language pair which isn't part of the config, all you need to do is specify the language code as pairs.
|
317 |
You can find the valid pairs in Homepage section of Dataset Description: http://opus.nlpl.eu/Ubuntu.php
|
318 |
E.g.
|
319 |
|
320 |
-
`dataset = load_dataset("
|
321 |
|
322 |
|
323 |
### Supported Tasks and Leaderboards
|
@@ -332,15 +332,40 @@ E.g.
|
|
332 |
|
333 |
### Data Instances
|
334 |
|
335 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
336 |
|
337 |
### Data Fields
|
338 |
|
339 |
-
|
|
|
|
|
340 |
|
341 |
### Data Splits
|
342 |
|
343 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
344 |
|
345 |
## Dataset Creation
|
346 |
|
@@ -398,10 +423,11 @@ E.g.
|
|
398 |
|
399 |
### Licensing Information
|
400 |
|
401 |
-
|
402 |
|
403 |
### Citation Information
|
404 |
|
|
|
405 |
@InProceedings{TIEDEMANN12.463,
|
406 |
author = {J{\"o}rg Tiedemann},
|
407 |
title = {Parallel Data, Tools and Interfaces in OPUS},
|
@@ -415,6 +441,7 @@ E.g.
|
|
415 |
isbn = {978-2-9517408-7-7},
|
416 |
language = {english}
|
417 |
}
|
|
|
418 |
|
419 |
### Contributions
|
420 |
|
|
|
1 |
---
|
2 |
annotations_creators:
|
3 |
+
- crowdsourced
|
4 |
+
- expert-generated
|
5 |
language_creators:
|
6 |
- found
|
7 |
languages:
|
|
|
12 |
- an
|
13 |
- ang
|
14 |
- ar
|
15 |
+
- ar-SY
|
16 |
- ary
|
17 |
- as
|
18 |
- ast
|
|
|
25 |
- bg
|
26 |
- bho
|
27 |
- bn
|
28 |
+
- bn-IN
|
29 |
- bo
|
30 |
- br
|
31 |
- brx
|
|
|
45 |
- cy
|
46 |
- da
|
47 |
- de
|
48 |
+
- de-AT
|
49 |
+
- de-DE
|
50 |
- dsb
|
51 |
- dv
|
52 |
- dz
|
53 |
- el
|
54 |
- en
|
55 |
+
- en-AU
|
56 |
+
- en-CA
|
57 |
+
- en-GB
|
58 |
+
- en-NZ
|
59 |
+
- en-US
|
60 |
- eo
|
61 |
- es
|
62 |
+
- es-AR
|
63 |
+
- es-CL
|
64 |
+
- es-CO
|
65 |
+
- es-CR
|
66 |
+
- es-DO
|
67 |
+
- es-EC
|
68 |
+
- es-ES
|
69 |
+
- es-GT
|
70 |
+
- es-HN
|
71 |
+
- es-MX
|
72 |
+
- es-NI
|
73 |
+
- es-PA
|
74 |
+
- es-PE
|
75 |
+
- es-PR
|
76 |
+
- es-SV
|
77 |
+
- es-UY
|
78 |
+
- es-VE
|
79 |
- et
|
80 |
- eu
|
81 |
- fa
|
82 |
+
- fa-AF
|
83 |
- ff
|
84 |
- fi
|
85 |
- fil
|
86 |
- fo
|
87 |
- fr
|
88 |
+
- fr-CA
|
89 |
+
- fr-FR
|
90 |
- frm
|
91 |
- frp
|
92 |
- fur
|
|
|
154 |
- mk
|
155 |
- ml
|
156 |
- mn
|
|
|
157 |
- mr
|
158 |
- ms
|
159 |
- mt
|
|
|
166 |
- ne
|
167 |
- nhn
|
168 |
- nl
|
169 |
+
- nl-NL
|
170 |
- nn
|
171 |
+
- "no"
|
172 |
- nso
|
173 |
- ny
|
174 |
- oc
|
|
|
175 |
- om
|
176 |
- or
|
177 |
- os
|
|
|
183 |
- pmy
|
184 |
- ps
|
185 |
- pt
|
186 |
+
- pt-BR
|
187 |
+
- pt-PT
|
188 |
- qu
|
189 |
- rm
|
190 |
- ro
|
|
|
214 |
- syr
|
215 |
- szl
|
216 |
- ta
|
217 |
+
- ta-LK
|
218 |
- te
|
219 |
- tet
|
220 |
- tg
|
|
|
242 |
- yi
|
243 |
- yo
|
244 |
- zh
|
245 |
+
- zh-CN
|
246 |
+
- zh-HK
|
247 |
+
- zh-TW
|
248 |
- zu
|
249 |
- zza
|
250 |
licenses:
|
251 |
+
- bsd-3-clause
|
252 |
multilinguality:
|
253 |
- multilingual
|
254 |
size_categories:
|
|
|
261 |
- translation
|
262 |
task_ids: []
|
263 |
paperswithcode_id: null
|
264 |
+
pretty_name: Opus Ubuntu
|
265 |
configs:
|
266 |
- as-bs
|
267 |
- az-cs
|
|
|
275 |
- bs-szl
|
276 |
---
|
277 |
|
278 |
+
# Dataset Card for Opus Ubuntu
|
279 |
|
280 |
## Table of Contents
|
281 |
- [Dataset Description](#dataset-description)
|
|
|
311 |
|
312 |
### Dataset Summary
|
313 |
|
314 |
+
These are translations of the Ubuntu software package messages, donated by the Ubuntu community.
|
315 |
|
316 |
To load a language pair which isn't part of the config, all you need to do is specify the language code as pairs.
|
317 |
You can find the valid pairs in Homepage section of Dataset Description: http://opus.nlpl.eu/Ubuntu.php
|
318 |
E.g.
|
319 |
|
320 |
+
`dataset = load_dataset("opus_ubuntu", lang1="it", lang2="pl")`
|
321 |
|
322 |
|
323 |
### Supported Tasks and Leaderboards
|
|
|
332 |
|
333 |
### Data Instances
|
334 |
|
335 |
+
Example instance:
|
336 |
+
|
337 |
+
```
|
338 |
+
{
|
339 |
+
'id': '0',
|
340 |
+
'translation': {
|
341 |
+
'it': 'Comprende Gmail, Google Docs, Google+, YouTube e Picasa',
|
342 |
+
'pl': 'Zawiera Gmail, Google Docs, Google+, YouTube oraz Picasa'
|
343 |
+
}
|
344 |
+
}
|
345 |
+
```
|
346 |
|
347 |
### Data Fields
|
348 |
|
349 |
+
Each instance has two fields:
|
350 |
+
- **id**: the id of the example
|
351 |
+
- **translation**: a dictionary containing translated texts in two languages.
|
352 |
|
353 |
### Data Splits
|
354 |
|
355 |
+
Each subset simply consists in a train set. We provide the number of examples for certain language pairs:
|
356 |
+
|
357 |
+
| | train |
|
358 |
+
|:---------|--------:|
|
359 |
+
| as-bs | 8583 |
|
360 |
+
| az-cs | 293 |
|
361 |
+
| bg-de | 184 |
|
362 |
+
| br-es_PR | 125 |
|
363 |
+
| bn-ga | 7324 |
|
364 |
+
| br-hi | 15551 |
|
365 |
+
| br-la | 527 |
|
366 |
+
| bs-szl | 646 |
|
367 |
+
| br-uz | 1416 |
|
368 |
+
| br-yi | 2799 |
|
369 |
|
370 |
## Dataset Creation
|
371 |
|
|
|
423 |
|
424 |
### Licensing Information
|
425 |
|
426 |
+
BSD "Revised" license (see (https://help.launchpad.net/Legal#Translations_copyright)[https://help.launchpad.net/Legal#Translations_copyright])
|
427 |
|
428 |
### Citation Information
|
429 |
|
430 |
+
```bibtex
|
431 |
@InProceedings{TIEDEMANN12.463,
|
432 |
author = {J{\"o}rg Tiedemann},
|
433 |
title = {Parallel Data, Tools and Interfaces in OPUS},
|
|
|
441 |
isbn = {978-2-9517408-7-7},
|
442 |
language = {english}
|
443 |
}
|
444 |
+
```
|
445 |
|
446 |
### Contributions
|
447 |
|