File size: 743 Bytes
40e382f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9f4e1fd
 
 
 
 
 
 
40e382f
 
1748744
 
 
 
 
 
 
 
 
40e382f
1748744
 
 
 
40e382f
1748744
 
 
 
 
 
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
annotations_creators:
- found
language:
- en
- pt
language_creators:
- found
license:
- afl-3.0
multilinguality:
- translation
pretty_name: VanessaSchenkel/translation-en-pt
size_categories:
- 100K<n<1M
source_datasets:
- original
tags: []
task_categories:
- translation
task_ids: []
---
How to use it: 

```
from datasets import load_dataset

remote_dataset = load_dataset("VanessaSchenkel/translation-en-pt", field="data")

remote_dataset
```

Output:
```
DatasetDict({
    train: Dataset({
        features: ['id', 'translation'],
        num_rows: 260482
    })
})
```

Exemple: 
```
remote_dataset["train"][5]
```

Output:
```
{'id': '5',
 'translation': {'english': 'I have to go to sleep.',
  'portuguese': 'Tenho de dormir.'}}
 ```