Closed jensan-1 closed 2 years ago
Hello @jen-santoso @holylovenia @bryanwilie, I got the following error on datasets>=2.2.0
:
task_templates=[datasets.AutomaticSpeechRecognition(audio_file_path_column="audio", transcription_column="sentences")],
TypeError: __init__() got an unexpected keyword argument 'audio_file_path_column'
May I know which version of datasets
did you guys use for testing?
Hello @SamuelCahyawijaya
I used datasets==2.0.0
in the requirements.txt
for testing before the merge.
Now I used datasets==2.2.0
and got the same error as what you got. Fixing this error right away
We all should be using datasets==2.0.0
for testing (I'm using that version), because commit 25f81c79a8cf2093e9b5a584af84f1f73c1b2b83 hasn't been merged yet in master when this branch is merged
Closes #181
Please name your PR after the issue it closes. You can use the following line: "Closes #ISSUE-NUMBER" where you replace the ISSUE-NUMBER with the one corresponding to your dataset.
Checkbox
nusantara/nusa_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_NUSANTARA_VERSION
variables._info()
,_split_generators()
and_generate_examples()
in dataloader script.BUILDER_CONFIGS
class attribute is a list with at least oneNusantaraConfig
for the source schema and one for a nusantara schema.datasets.load_dataset
function.python -m tests.test_nusantara --path=nusantara/nusa_datasets/my_dataset/my_dataset.py
.