Update taiwanese_english_translation.py
Browse files
taiwanese_english_translation.py
CHANGED
@@ -48,7 +48,7 @@ _LICENSE = ""
|
|
48 |
# TODO: Add link to the official dataset URLs here
|
49 |
# The HuggingFace Datasets library doesn't host the datasets but only points to the original files.
|
50 |
# This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
|
51 |
-
_URLS = "https://
|
52 |
|
53 |
class TaiwaneseEnglishTranslationConfig(datasets.BuilderConfig):
|
54 |
"""BuilderConfig for FLoRes."""
|
@@ -131,7 +131,7 @@ class TaiwaneseEnglishTranslation(datasets.GeneratorBasedBuilder):
|
|
131 |
urls = _URLS
|
132 |
data_dir = dl_manager.download_and_extract(urls)
|
133 |
|
134 |
-
path_tmpl = "{data_dir}/{split}.
|
135 |
|
136 |
files = {}
|
137 |
for split in ("train", "valid", "test"):
|
|
|
48 |
# TODO: Add link to the official dataset URLs here
|
49 |
# The HuggingFace Datasets library doesn't host the datasets but only points to the original files.
|
50 |
# This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
|
51 |
+
_URLS = "https://huggingface.co/datasets/atenglens/taiwanese_english_translation"
|
52 |
|
53 |
class TaiwaneseEnglishTranslationConfig(datasets.BuilderConfig):
|
54 |
"""BuilderConfig for FLoRes."""
|
|
|
131 |
urls = _URLS
|
132 |
data_dir = dl_manager.download_and_extract(urls)
|
133 |
|
134 |
+
path_tmpl = "{data_dir}/{split}.csv"
|
135 |
|
136 |
files = {}
|
137 |
for split in ("train", "valid", "test"):
|