Closed sabilmakbar closed 5 months ago
Test log on all available languages (all passed) test_xlsum.log
Hello, I got these errors when I tried to run the test, can you check?
Or is there any specific command do you use for the testing this code?
It's because I don't implement xl_sum_source
and xl_sum_seacrowd_t2t
due to multiple subsets required (multilingual). You may try using an optional args called --subset_id
when testing it, it should be like this:
python -m tests.test_seacrowd seacrowd/sea_datasets/xl_sum/xl_sum.py --subset_id xl_sum_ind
# it will test both xl_sum_ind_source and xl_sum_seacrowd_t2t
and you can do the similar for other langs (mya
, tha
, and vie
)
Please name your PR title and the first line of PR message after the issue it will close. You can use the following examples:
Closes #32
Checkbox
seacrowd/sea_datasets/{my_dataset}/{my_dataset}.py
(please use only lowercase and underscore for dataset folder naming, as mentioned in dataset issue) and its__init__.py
within{my_dataset}
folder._CITATION
,_DATASETNAME
,_DESCRIPTION
,_HOMEPAGE
,_LICENSE
,_LOCAL
,_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
orpython -m tests.test_seacrowd seacrowd/sea_datasets/<my_dataset>/<my_dataset>.py --subset_id {subset_name_without_source_or_seacrowd_suffix}
.