Closed ssun32 closed 6 months ago
Tested this with python -m tests.test_seacrowd seacrowd/sea_datasets/kde4/kde4.py
and encountered the following error. @ssun32 did you download them locally when you create this, or is it that perhaps the url currently down?
File "/Users/yong/Dev/env_seacrowd/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 596, in get_from_cache
raise FileNotFoundError(f"Couldn't find file at {url}")
FileNotFoundError: Couldn't find file at https://opus.nlpl.eu/download.php?f=KDE4/v2/moses/af-ms.txt.zip
Tested this with
python -m tests.test_seacrowd seacrowd/sea_datasets/kde4/kde4.py
and encountered the following error. @ssun32 did you download them locally when you create this, or is it that perhaps the url currently down?File "/Users/yong/Dev/env_seacrowd/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 596, in get_from_cache raise FileNotFoundError(f"Couldn't find file at {url}") FileNotFoundError: Couldn't find file at https://opus.nlpl.eu/download.php?f=KDE4/v2/moses/af-ms.txt.zip
Hi @yongzx, it seems that opus people did a major overhaul to their website. I have updated the script with the latest download link.
Works for me now! Approving this.
Closes #365
Checkbox
seacrowd/sea_datasets/my_dataset/my_dataset.py
(please use only lowercase and underscore for dataset naming)._CITATION
,_DATASETNAME
,_DESCRIPTION
,_HOMEPAGE
,_LICENSE
,_URLs
,_SUPPORTED_TASKS
,_SOURCE_VERSION
, and_SEACROWD_VERSION
variables._info()
,_split_generators()
and_generate_examples()
in dataloader script.BUILDER_CONFIGS
class attribute is a list with at least oneSEACrowdConfig
for the source schema and one for a seacrowd schema.datasets.load_dataset
function.python -m tests.test_seacrowd seacrowd/sea_datasets/<my_dataset>/<my_dataset>.py
.