Update VoxLingua107.py
#1
by
Thayabaran
- opened
Line 191: datasets.SplitGenerator(name=datasets.Split.DEV, gen_kwargs={"archive_path": downloaded_files_dev}),
Error: "datasets.SplitGenerator(name=datasets.Split.DEV, gen_kwargs={"archive_path": downloaded_files_dev}),
AttributeError: type object 'Split' has no attribute 'DEV'"
Solution: name=datasets.Split.DEV --> name=datasets.Split.VALIDATION
https://huggingface.co/docs/datasets/v1.4.0/add_dataset.html#downloading-data-files-and-organizing-splits