Datasets:
File size: 1,159 Bytes
5b4e326 5d7735d 5b4e326 c86fb1e 317e203 c86fb1e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
---
license: mit
task_categories:
- translation
language:
- en
- ro
size_categories:
- 1M<n<10M
---
This dataset is a combination and conversion of two En-Ro datasets published by [University of Helsinki](https://huggingface.co./Helsinki-NLP),
specifically [Opus-100](https://huggingface.co./datasets/Helsinki-NLP/opus-100) and [Europarl](https://huggingface.co./datasets/Helsinki-NLP/europarl).
1,404,356 En-Ro text-pair samples were extracted and combined into a single dataset.
Each sample is a dict with two keys corresponding to the text-pair languages names: `en` and `ro` and values of those keys represent the matching text in the given languages.
NOTE:
Some initial analysis reveals many of these samples face formatting issues, and might be facing semantic translation issues.
To use
```python
import datasets
ds = datasets.load_dataset("laelhalawani/opus_and_europarl_en_ro")
print(ds) # preview dataset
print(ds["train"]) # preview default split (all samples are here)
print(ds["train"][0]) # preview first sample
print(["train"][0]["en"]) # preview EN part of the first sample
print(["train"][0]["ro"]) # preview RO part of the first sample
``` |