Datasets:
Multilinguality:
translation
Size Categories:
unknown
Language Creators:
crowdsourced
Annotations Creators:
no-annotation
Source Datasets:
original
License:
Fix splits loading
Browse filesAs mentioned in https://huggingface.co/datasets/Helsinki-NLP/tatoeba_mt/discussions/3 there is currently an error preventing from loading the dataset.
In particular the validation split is not loaded correctly because the file location in the dataset script is wrong.
In this PR I fixed the file location, and this fixes issues to load this dataset
cc
@Zaid
- tatoeba_mt.py +1 -1
tatoeba_mt.py
CHANGED
@@ -114,7 +114,7 @@ class tatoebaMT(datasets.GeneratorBasedBuilder):
|
|
114 |
|
115 |
test_path = os.path.join("test", f"tatoeba-test.{lang_pair}.tsv")
|
116 |
files["test"] = test_path
|
117 |
-
valid_path = os.path.join("
|
118 |
files["validation"] = valid_path
|
119 |
try:
|
120 |
data_dir = dl_manager.download_and_extract(files)
|
|
|
114 |
|
115 |
test_path = os.path.join("test", f"tatoeba-test.{lang_pair}.tsv")
|
116 |
files["test"] = test_path
|
117 |
+
valid_path = os.path.join("dev", f"tatoeba-dev.{lang_pair}.tsv")
|
118 |
files["validation"] = valid_path
|
119 |
try:
|
120 |
data_dir = dl_manager.download_and_extract(files)
|