Datasets:
Commit ·
7ff48c4
1
Parent(s): a93126b
Update DocLayNet-small.py
Browse files158 unmodified lines159160161162163164165158 unmodified lines# It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archivedownloaded_file = dl_manager.download_and_extract("https://huggingface.co/datasets/pierreguillou/DocLayNet-small/blob/main/data/dataset_small.zip")return [datasets.SplitGenerator(158 unmodified lines159160161162163164165158 unmodified lines# It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archivedownloaded_file = dl_manager.download_and_extract("https://huggingface.co/datasets/pierreguillou/DocLayNet-small/resolve/main/data/dataset_small.zip")return [datasets.SplitGenerator(
DocLayNet-small.py+1-1