Datasets:

Task Categories: translation
Multilinguality: translation
Size Categories: 100K<n<1M
Language Creators: found
Annotations Creators: found
Source Datasets: original
Licenses: afl-3.0
Dataset Preview
Go to dataset viewer
The dataset preview is not available for this split.
The split features (columns) cannot be extracted.
Error code:   FeaturesError
Exception:    ValueError
Message:      Not able to read records in the JSON file at https://huggingface.co/datasets/VanessaSchenkel/translation-en-pt/resolve/17487444fd4af0e275d41e60c1134aa7e530e54f/translate-en-pt.json. You should probably indicate the field of the JSON file containing your records. This JSON file contain the following fields: ['data']. Select the correct one and provide it as `field='XXX'` to the dataset loading method. 
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/responses/first_rows.py", line 327, in get_first_rows_response
                  iterable_dataset = iterable_dataset._resolve_features()
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1261, in _resolve_features
                  features = _infer_features_from_batch(self._head())
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 686, in _head
                  return _examples_to_batch([x for key, x in islice(self._iter(), n)])
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 686, in <listcomp>
                  return _examples_to_batch([x for key, x in islice(self._iter(), n)])
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 708, in _iter
                  yield from ex_iterable
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 112, in __iter__
                  yield from self.generate_examples_fn(**self.kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 651, in wrapper
                  for key, table in generate_tables_fn(**kwargs):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/json/json.py", line 134, in _generate_tables
                  raise ValueError(
              ValueError: Not able to read records in the JSON file at https://huggingface.co/datasets/VanessaSchenkel/translation-en-pt/resolve/17487444fd4af0e275d41e60c1134aa7e530e54f/translate-en-pt.json. You should probably indicate the field of the JSON file containing your records. This JSON file contain the following fields: ['data']. Select the correct one and provide it as `field='XXX'` to the dataset loading method.

Need help to make the dataset viewer work? Open an discussion for direct support.

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.'}}
Edit dataset card
Evaluate models HF Leaderboard