Datasets:

Fix splits loading

#4
by lhoestq HF staff - opened
Files changed (1) hide show
  1. 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("test", f"tatoeba-dev.{lang_pair}.tsv")
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)