Datasets:
data list |
|---|
[
{
"id": "0",
"translation": {
"english": "the captain finished his work .",
"portuguese": "O capitão terminou seu trabalho ."
}
},
{
"id": "1",
"translation": {
"english": "the captain finished her work .",
"portuguese": "A capitã terminou seu trabalho ."
}
},
... |
Dataset with sentences regarding professions, half of the translations are to feminine and half for masculine sentences.
How to use it:
from datasets import load_dataset
remote_dataset = load_dataset("VanessaSchenkel/handmade-dataset", field="data")
remote_dataset
Output:
DatasetDict({
train: Dataset({
features: ['id', 'translation'],
num_rows: 388
})
})
Exemple:
remote_dataset["train"][5]
Output:
{'id': '5',
'translation': {'english': 'the postman finished her work .',
'portuguese': 'A carteira terminou seu trabalho .'}}
- Downloads last month
- 7