Datasets:

Empty rows in m2 config?

#1
by severo HF staff - opened

When I load the split "test" from the config "m2", I get no rows:

>>> from datasets import load_dataset
>>> dataset = load_dataset("ett", name="m2", split="test")
Downloading and preparing dataset ett/m2 (download: 9.23 MiB, generated: 974.59 KiB, post-processed: Unknown size, total: 10.18 MiB) to /home/slesage/.cache/huggingface/datasets/ett/m2/1.0.0/84f192d7ac6e48734d87b08ddb05db98674539ddaf1b653396bbf8be3a930ad6...
Downloading data: 9.68MB [00:00, 162MB/s]
Dataset ett downloaded and prepared to /home/slesage/.cache/huggingface/datasets/ett/m2/1.0.0/84f192d7ac6e48734d87b08ddb05db98674539ddaf1b653396bbf8be3a930ad6. Subsequent calls will reuse this data.
>>> len(dataset)
0

Is it expected?

Looks like m1 and m2 have no test/validation splits

thanks for the report... having a look now. This PR is the fix for the issue: https://github.com/huggingface/datasets/pull/4499

Thanks for fixing it. It works as expected!

Capture d’écran 2022-06-16 à 20.03.47.png

severo changed discussion status to closed

Sign up or log in to comment