html_url
stringlengths
51
51
title
stringlengths
9
280
comments
stringlengths
63
24.7k
body
stringlengths
51
58.6k
comments length
int64
16
1.45k
text
stringlengths
186
59.1k
https://github.com/huggingface/datasets/issues/4185
Librispeech documentation, clarification on format
> I don't think it's a good idea to convert to MP3 out-of-the-box, but we could maybe think about some kind of convert function for audio datasets cc @lhoestq ? Sure, I would expect that `load_dataset("librispeech_asr")` would give you the original (not re-encoded) data (flac or already decoded). So such re-encoding...
https://github.com/huggingface/datasets/blob/cd3ce34ab1604118351e1978d26402de57188901/datasets/librispeech_asr/librispeech_asr.py#L53 > Note that in order to limit the required storage for preparing this dataset, the audio > is stored in the .flac format and is not converted to a float32 array. To convert, the audi...
67
Librispeech documentation, clarification on format https://github.com/huggingface/datasets/blob/cd3ce34ab1604118351e1978d26402de57188901/datasets/librispeech_asr/librispeech_asr.py#L53 > Note that in order to limit the required storage for preparing this dataset, the audio > is stored in the .flac format and is not...
https://github.com/huggingface/datasets/issues/4185
Librispeech documentation, clarification on format
A follow-up question: I wonder whether a Parquet dataset is maybe more what we actually want to have? (Following also my comment here: https://github.com/huggingface/datasets/pull/4184#issuecomment-1105045491.) Because I think we actually would prefer to embed the data content in the dataset. So, instead of `save_to...
https://github.com/huggingface/datasets/blob/cd3ce34ab1604118351e1978d26402de57188901/datasets/librispeech_asr/librispeech_asr.py#L53 > Note that in order to limit the required storage for preparing this dataset, the audio > is stored in the .flac format and is not converted to a float32 array. To convert, the audi...
64
Librispeech documentation, clarification on format https://github.com/huggingface/datasets/blob/cd3ce34ab1604118351e1978d26402de57188901/datasets/librispeech_asr/librispeech_asr.py#L53 > Note that in order to limit the required storage for preparing this dataset, the audio > is stored in the .flac format and is not...
https://github.com/huggingface/datasets/issues/4185
Librispeech documentation, clarification on format
`save_to_disk` saves the dataset as an Arrow file, which is the format we use to load a dataset using memory mapping. This way the dataset does not fill your RAM, but is read from your disk instead. Therefore you can directly reload a dataset saved with `save_to_disk` using `load_from_disk`. Parquet files are use...
https://github.com/huggingface/datasets/blob/cd3ce34ab1604118351e1978d26402de57188901/datasets/librispeech_asr/librispeech_asr.py#L53 > Note that in order to limit the required storage for preparing this dataset, the audio > is stored in the .flac format and is not converted to a float32 array. To convert, the audi...
107
Librispeech documentation, clarification on format https://github.com/huggingface/datasets/blob/cd3ce34ab1604118351e1978d26402de57188901/datasets/librispeech_asr/librispeech_asr.py#L53 > Note that in order to limit the required storage for preparing this dataset, the audio > is stored in the .flac format and is not...
https://github.com/huggingface/datasets/issues/3505
cast_column function not working with map function in streaming mode for Audio features
Hi! This is probably due to the fact that `IterableDataset.map` sets `features` to `None` before mapping examples. We can fix the issue by passing the old `features` dict to the map generator and performing encoding/decoding there (before calling the map transform function).
## Describe the bug I am trying to use Audio class for loading audio features using custom dataset. I am able to cast 'audio' feature into 'Audio' format with cast_column function. On using map function, I am not getting 'Audio' casted feature but getting path of audio file only. I am getting features of 'audio' of s...
42
cast_column function not working with map function in streaming mode for Audio features ## Describe the bug I am trying to use Audio class for loading audio features using custom dataset. I am able to cast 'audio' feature into 'Audio' format with cast_column function. On using map function, I am not getting 'Audio' ca...
https://github.com/huggingface/datasets/issues/7399
Synchronize parameters for various datasets
Hi ! the `desc` parameter is only available for Dataset / DatasetDict for the progress bar of `map()`` Since IterableDataset only runs the map functions when you iterate over the dataset, there is no progress bar and `desc` is useless. We could still add the argument for parity but it wouldn't be used for anything
### Describe the bug [IterableDatasetDict](https://huggingface.co/docs/datasets/v3.2.0/en/package_reference/main_classes#datasets.IterableDatasetDict.map) map function is missing the `desc` parameter. You can see the equivalent map function for [Dataset here](https://huggingface.co/docs/datasets/v3.2.0/en/package_refe...
55
Synchronize parameters for various datasets ### Describe the bug [IterableDatasetDict](https://huggingface.co/docs/datasets/v3.2.0/en/package_reference/main_classes#datasets.IterableDatasetDict.map) map function is missing the `desc` parameter. You can see the equivalent map function for [Dataset here](https://hugging...
https://github.com/huggingface/datasets/issues/7399
Synchronize parameters for various datasets
I think you should add it. It doesn't hurt. The reason I ran into it was because I re-wrote a pipeline to use either a stream or a fully loaded dataset. Of course I can simply remove it but it is nice to have on the memory loaded dataset.
### Describe the bug [IterableDatasetDict](https://huggingface.co/docs/datasets/v3.2.0/en/package_reference/main_classes#datasets.IterableDatasetDict.map) map function is missing the `desc` parameter. You can see the equivalent map function for [Dataset here](https://huggingface.co/docs/datasets/v3.2.0/en/package_refe...
49
Synchronize parameters for various datasets ### Describe the bug [IterableDatasetDict](https://huggingface.co/docs/datasets/v3.2.0/en/package_reference/main_classes#datasets.IterableDatasetDict.map) map function is missing the `desc` parameter. You can see the equivalent map function for [Dataset here](https://hugging...
https://github.com/huggingface/datasets/issues/3992
Image column is not decoded in map when using with with_transform
Hi! This behavior stems from this line: https://github.com/huggingface/datasets/blob/799b817d97590ddc97cbd38d07469403e030de8c/src/datasets/arrow_dataset.py#L1919 Basically, the `Image`/`Audio` columns are decoded only if the `format_type` attribute is `None` (`set_format`/`with_format` and `set_transform`/`with_transf...
## Describe the bug Image column is not _decoded_ in **map** when using with `with_transform` ## Steps to reproduce the bug ```python from datasets import Image, Dataset def add_C(batch): batch["C"] = batch["A"] return batch ds = Dataset.from_dict({"A": ["image.png"]}).cast_column("A", Image()) ...
45
Image column is not decoded in map when using with with_transform ## Describe the bug Image column is not _decoded_ in **map** when using with `with_transform` ## Steps to reproduce the bug ```python from datasets import Image, Dataset def add_C(batch): batch["C"] = batch["A"] return batch ds = Da...
https://github.com/huggingface/datasets/issues/6457
`TypeError`: huggingface_hub.hf_file_system.HfFileSystem.find() got multiple values for keyword argument 'maxdepth'
> Maybe this should go in datasets directly... anyways you can easily fix this error by updating datasets>=2.15.1.dev0. @lhoestq @mariosasko for what I understand this is a bug fixed in `datasets` already, right? No need to do anything in `huggingface_hub`?
### Describe the bug Please see https://github.com/huggingface/huggingface_hub/issues/1872 ### Steps to reproduce the bug Please see https://github.com/huggingface/huggingface_hub/issues/1872 ### Expected behavior Please see https://github.com/huggingface/huggingface_hub/issues/1872 ### Environment info Please s...
40
`TypeError`: huggingface_hub.hf_file_system.HfFileSystem.find() got multiple values for keyword argument 'maxdepth' ### Describe the bug Please see https://github.com/huggingface/huggingface_hub/issues/1872 ### Steps to reproduce the bug Please see https://github.com/huggingface/huggingface_hub/issues/1872 ### Expe...
https://github.com/huggingface/datasets/issues/5013
would huggingface like publish cpp binding for datasets package ?
Hi ! Can you share more information about your use case ? How could it help you to have cpp bindings versus using the python libraries ?
HI: I use cpp env libtorch, I like use hugggingface ,but huggingface not cpp binding, would you like publish cpp binding for it. thanks
27
would huggingface like publish cpp binding for datasets package ? HI: I use cpp env libtorch, I like use hugggingface ,but huggingface not cpp binding, would you like publish cpp binding for it. thanks Hi ! Can you share more information about your use case ? How could it help you to have cpp bindings versus using th...
https://github.com/huggingface/datasets/issues/5013
would huggingface like publish cpp binding for datasets package ?
> Hi ! Can you share more information about your use case ? How could it help you to have cpp bindings versus using the python libraries ? for example ,the huggingface load_model() and load_dataset() can execute in cpp env
HI: I use cpp env libtorch, I like use hugggingface ,but huggingface not cpp binding, would you like publish cpp binding for it. thanks
40
would huggingface like publish cpp binding for datasets package ? HI: I use cpp env libtorch, I like use hugggingface ,but huggingface not cpp binding, would you like publish cpp binding for it. thanks > Hi ! Can you share more information about your use case ? How could it help you to have cpp bindings versus using ...
https://github.com/huggingface/datasets/issues/5013
would huggingface like publish cpp binding for datasets package ?
If it's a viable option for you, you can check [tch-rs](https://github.com/LaurentMazare/tch-rs) to load models in Rust. Regarding datasets, you can first download them in python and then use Arrow C++ or Rust to load them
HI: I use cpp env libtorch, I like use hugggingface ,but huggingface not cpp binding, would you like publish cpp binding for it. thanks
35
would huggingface like publish cpp binding for datasets package ? HI: I use cpp env libtorch, I like use hugggingface ,but huggingface not cpp binding, would you like publish cpp binding for it. thanks If it's a viable option for you, you can check [tch-rs](https://github.com/LaurentMazare/tch-rs) to load models in R...
https://github.com/huggingface/datasets/issues/5013
would huggingface like publish cpp binding for datasets package ?
If you are more adventurous, another option is to embed python calls inside c++ e.g. with `pybind11`.
HI: I use cpp env libtorch, I like use hugggingface ,but huggingface not cpp binding, would you like publish cpp binding for it. thanks
17
would huggingface like publish cpp binding for datasets package ? HI: I use cpp env libtorch, I like use hugggingface ,but huggingface not cpp binding, would you like publish cpp binding for it. thanks If you are more adventurous, another option is to embed python calls inside c++ e.g. with `pybind11`.
https://github.com/huggingface/datasets/issues/5695
Loading big dataset raises pyarrow.lib.ArrowNotImplementedError
Hi ! It looks like an issue with PyArrow: https://issues.apache.org/jira/browse/ARROW-5030 It appears it can happen when you have parquet files with row groups larger than 2GB. I can see that your parquet files are around 10GB. It is usually advised to keep a value around the default value 500MB to avoid these issu...
### Describe the bug Calling `datasets.load_dataset` to load the (publicly available) dataset `theodor1289/wit` fails with `pyarrow.lib.ArrowNotImplementedError`. ### Steps to reproduce the bug Steps to reproduce this behavior: 1. `!pip install datasets` 2. `!huggingface-cli login` 3. This step will throw the e...
106
Loading big dataset raises pyarrow.lib.ArrowNotImplementedError ### Describe the bug Calling `datasets.load_dataset` to load the (publicly available) dataset `theodor1289/wit` fails with `pyarrow.lib.ArrowNotImplementedError`. ### Steps to reproduce the bug Steps to reproduce this behavior: 1. `!pip install datas...
https://github.com/huggingface/datasets/issues/5695
Loading big dataset raises pyarrow.lib.ArrowNotImplementedError
Hey, thanks for the reply! I've since switched to working with the locally-saved dataset (which works). Maybe it makes sense to show a warning for uploads with large shard sizes? Since the functionality completely breaks (due to the PyArrow bug).
### Describe the bug Calling `datasets.load_dataset` to load the (publicly available) dataset `theodor1289/wit` fails with `pyarrow.lib.ArrowNotImplementedError`. ### Steps to reproduce the bug Steps to reproduce this behavior: 1. `!pip install datasets` 2. `!huggingface-cli login` 3. This step will throw the e...
40
Loading big dataset raises pyarrow.lib.ArrowNotImplementedError ### Describe the bug Calling `datasets.load_dataset` to load the (publicly available) dataset `theodor1289/wit` fails with `pyarrow.lib.ArrowNotImplementedError`. ### Steps to reproduce the bug Steps to reproduce this behavior: 1. `!pip install datas...
https://github.com/huggingface/datasets/issues/5695
Loading big dataset raises pyarrow.lib.ArrowNotImplementedError
Just tried uploading the same dataset with 500MB shards, I get an errors 4 hours in: ``` Pushing dataset shards to the dataset hub: 25%|██▍ | 358/1453 [4:40:31<14:18:00, 47.01s/it] Traceback (most recent call last): File "/cluster/home/tamariucai/.local/lib/python3.8/site-packages/huggingface_hub/_commit...
### Describe the bug Calling `datasets.load_dataset` to load the (publicly available) dataset `theodor1289/wit` fails with `pyarrow.lib.ArrowNotImplementedError`. ### Steps to reproduce the bug Steps to reproduce this behavior: 1. `!pip install datasets` 2. `!huggingface-cli login` 3. This step will throw the e...
336
Loading big dataset raises pyarrow.lib.ArrowNotImplementedError ### Describe the bug Calling `datasets.load_dataset` to load the (publicly available) dataset `theodor1289/wit` fails with `pyarrow.lib.ArrowNotImplementedError`. ### Steps to reproduce the bug Steps to reproduce this behavior: 1. `!pip install datas...
https://github.com/huggingface/datasets/issues/5695
Loading big dataset raises pyarrow.lib.ArrowNotImplementedError
Leaving this other error here for the record, which occurs when I load the +700GB dataset from the hub with shard sizes of 500MB: ``` Traceback (most recent call last): File "/cluster/home/tamariucai/.local/lib/python3.10/site-packages/datasets/builder.py"...
### Describe the bug Calling `datasets.load_dataset` to load the (publicly available) dataset `theodor1289/wit` fails with `pyarrow.lib.ArrowNotImplementedError`. ### Steps to reproduce the bug Steps to reproduce this behavior: 1. `!pip install datasets` 2. `!huggingface-cli login` 3. This step will throw the e...
83
Loading big dataset raises pyarrow.lib.ArrowNotImplementedError ### Describe the bug Calling `datasets.load_dataset` to load the (publicly available) dataset `theodor1289/wit` fails with `pyarrow.lib.ArrowNotImplementedError`. ### Steps to reproduce the bug Steps to reproduce this behavior: 1. `!pip install datas...
https://github.com/huggingface/datasets/issues/5695
Loading big dataset raises pyarrow.lib.ArrowNotImplementedError
I am having this same issue trying to load my Audio dataset of about 520GB of audio files and about 1.8 million rows: https://github.com/huggingface/datasets/issues/5695#issuecomment-1500738729 I also tried the default shard size of 500MB and still hit this issue after about 4 hours. When I re-run the code, it res...
### Describe the bug Calling `datasets.load_dataset` to load the (publicly available) dataset `theodor1289/wit` fails with `pyarrow.lib.ArrowNotImplementedError`. ### Steps to reproduce the bug Steps to reproduce this behavior: 1. `!pip install datasets` 2. `!huggingface-cli login` 3. This step will throw the e...
65
Loading big dataset raises pyarrow.lib.ArrowNotImplementedError ### Describe the bug Calling `datasets.load_dataset` to load the (publicly available) dataset `theodor1289/wit` fails with `pyarrow.lib.ArrowNotImplementedError`. ### Steps to reproduce the bug Steps to reproduce this behavior: 1. `!pip install datas...
https://github.com/huggingface/datasets/issues/5695
Loading big dataset raises pyarrow.lib.ArrowNotImplementedError
`push_to_hub` has a fast resuming, though for audio/image there is this PR to fix a speed issue: https://github.com/huggingface/datasets/pull/6056
### Describe the bug Calling `datasets.load_dataset` to load the (publicly available) dataset `theodor1289/wit` fails with `pyarrow.lib.ArrowNotImplementedError`. ### Steps to reproduce the bug Steps to reproduce this behavior: 1. `!pip install datasets` 2. `!huggingface-cli login` 3. This step will throw the e...
18
Loading big dataset raises pyarrow.lib.ArrowNotImplementedError ### Describe the bug Calling `datasets.load_dataset` to load the (publicly available) dataset `theodor1289/wit` fails with `pyarrow.lib.ArrowNotImplementedError`. ### Steps to reproduce the bug Steps to reproduce this behavior: 1. `!pip install datas...
https://github.com/huggingface/datasets/issues/6958
My Private Dataset doesn't exist on the Hub or cannot be accessed
I have checked the API HTTP link. Repository Not Found for url: https://huggingface.co/api/datasets/xxx/xxx. ![image](https://github.com/huggingface/datasets/assets/39621324/4aceef59-0c65-4161-9665-676d25d73225) It just works fine.
### Describe the bug ``` File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on t...
18
My Private Dataset doesn't exist on the Hub or cannot be accessed ### Describe the bug ``` File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets...
https://github.com/huggingface/datasets/issues/6958
My Private Dataset doesn't exist on the Hub or cannot be accessed
https://github.com/huggingface/datasets/blob/main/templates/new_dataset_script.py#L81 can not use this, too complex. I just need a def to load my file to a dict
### Describe the bug ``` File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on t...
19
My Private Dataset doesn't exist on the Hub or cannot be accessed ### Describe the bug ``` File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets...
https://github.com/huggingface/datasets/issues/7346
OSError: Invalid flatbuffers message.
Thanks for reporting, it looks like an issue with `pyarrow.ipc.open_stream` Can you try installing `datasets` from this pull request and see if it helps ? https://github.com/huggingface/datasets/pull/7348
### Describe the bug When loading a large 2D data (1000 × 1152) with a large number of (2,000 data in this case) in `load_dataset`, the error message `OSError: Invalid flatbuffers message` is reported. When only 300 pieces of data of this size (1000 × 1152) are stored, they can be loaded correctly. When 2,00...
26
OSError: Invalid flatbuffers message. ### Describe the bug When loading a large 2D data (1000 × 1152) with a large number of (2,000 data in this case) in `load_dataset`, the error message `OSError: Invalid flatbuffers message` is reported. When only 300 pieces of data of this size (1000 × 1152) are stored, they ...
https://github.com/huggingface/datasets/issues/7346
OSError: Invalid flatbuffers message.
> Thanks for reporting, it looks like an issue with `pyarrow.ipc.open_stream` > > Can you try installing `datasets` from this pull request and see if it helps ? #7348 Thank you very much. Here, it also needed to be changed to `except (OSError, pa.lib.ArrowInvalid):`. And then the bug was fixed. https://github.co...
### Describe the bug When loading a large 2D data (1000 × 1152) with a large number of (2,000 data in this case) in `load_dataset`, the error message `OSError: Invalid flatbuffers message` is reported. When only 300 pieces of data of this size (1000 × 1152) are stored, they can be loaded correctly. When 2,00...
51
OSError: Invalid flatbuffers message. ### Describe the bug When loading a large 2D data (1000 × 1152) with a large number of (2,000 data in this case) in `load_dataset`, the error message `OSError: Invalid flatbuffers message` is reported. When only 300 pieces of data of this size (1000 × 1152) are stored, they ...
https://github.com/huggingface/datasets/issues/7346
OSError: Invalid flatbuffers message.
Cool ! we will do a new release soon :) in the meantime you can use `datasets` from `main`
### Describe the bug When loading a large 2D data (1000 × 1152) with a large number of (2,000 data in this case) in `load_dataset`, the error message `OSError: Invalid flatbuffers message` is reported. When only 300 pieces of data of this size (1000 × 1152) are stored, they can be loaded correctly. When 2,00...
19
OSError: Invalid flatbuffers message. ### Describe the bug When loading a large 2D data (1000 × 1152) with a large number of (2,000 data in this case) in `load_dataset`, the error message `OSError: Invalid flatbuffers message` is reported. When only 300 pieces of data of this size (1000 × 1152) are stored, they ...
https://github.com/huggingface/datasets/issues/3299
Add option to find unique elements in nested sequences when calling `Dataset.unique`
Hi! Not yet, would you be interested in contributing a PR? I can give you some pointers if needed.
It would be nice to have an option to flatten nested sequences to find unique elements stored in them when calling `Dataset.unique`. ~~Currently, `Dataset.unique` only supports finding unique sequences and not unique elements in that situation.~~
19
Add option to find unique elements in nested sequences when calling `Dataset.unique` It would be nice to have an option to flatten nested sequences to find unique elements stored in them when calling `Dataset.unique`. ~~Currently, `Dataset.unique` only supports finding unique sequences and not unique elements in that s...
https://github.com/huggingface/datasets/issues/3299
Add option to find unique elements in nested sequences when calling `Dataset.unique`
@mariosasko did this ever get implemented? Willing to help if you are still up for it.
It would be nice to have an option to flatten nested sequences to find unique elements stored in them when calling `Dataset.unique`. ~~Currently, `Dataset.unique` only supports finding unique sequences and not unique elements in that situation.~~
16
Add option to find unique elements in nested sequences when calling `Dataset.unique` It would be nice to have an option to flatten nested sequences to find unique elements stored in them when calling `Dataset.unique`. ~~Currently, `Dataset.unique` only supports finding unique sequences and not unique elements in that s...
https://github.com/huggingface/datasets/issues/3299
Add option to find unique elements in nested sequences when calling `Dataset.unique`
@dcruiz01 No, but here is an example of how to do this with the existing API: ```python ds = Dataset.from_dict({"tokens": [["a", "b"], ["c", "a"], ["c", "e"]]}) def flatten_tokens(pa_table): return pa.table([pc.list_flatten(pa_table["tokens"])], ["flat_tokens"]) ds = ds.with_format("arrow") ds = ds.ma...
It would be nice to have an option to flatten nested sequences to find unique elements stored in them when calling `Dataset.unique`. ~~Currently, `Dataset.unique` only supports finding unique sequences and not unique elements in that situation.~~
63
Add option to find unique elements in nested sequences when calling `Dataset.unique` It would be nice to have an option to flatten nested sequences to find unique elements stored in them when calling `Dataset.unique`. ~~Currently, `Dataset.unique` only supports finding unique sequences and not unique elements in that s...
https://github.com/huggingface/datasets/issues/4027
ElasticSearch Indexing example: TypeError: __init__() missing 1 required positional argument: 'scheme'
Hi, @MoritzLaurer, thanks for reporting. Normally this is due to a mismatch between the versions of your Elasticsearch client and server: - your ES client is passing only keyword arguments to your ES server - whereas your ES server expects a positional argument called 'scheme' In order to fix this, you should a...
## Describe the bug I am following the example in the documentation for elastic search step by step (on google colab): https://huggingface.co/docs/datasets/faiss_es#elasticsearch ``` from datasets import load_dataset squad = load_dataset('crime_and_punish', split='train[:1000]') ``` When I run the line: `sq...
93
ElasticSearch Indexing example: TypeError: __init__() missing 1 required positional argument: 'scheme' ## Describe the bug I am following the example in the documentation for elastic search step by step (on google colab): https://huggingface.co/docs/datasets/faiss_es#elasticsearch ``` from datasets import load_dat...
https://github.com/huggingface/datasets/issues/4027
ElasticSearch Indexing example: TypeError: __init__() missing 1 required positional argument: 'scheme'
1. Check elasticsearch version ``` import elasticsearch print(elasticsearch.__version__) ``` Ex: 7.9.1 2. Uninstall current elasticsearch package `pip uninstall elasticsearch` 3. Install elasticsearch 7.9.1 package `pip install elasticsearch==7.9.1`
## Describe the bug I am following the example in the documentation for elastic search step by step (on google colab): https://huggingface.co/docs/datasets/faiss_es#elasticsearch ``` from datasets import load_dataset squad = load_dataset('crime_and_punish', split='train[:1000]') ``` When I run the line: `sq...
27
ElasticSearch Indexing example: TypeError: __init__() missing 1 required positional argument: 'scheme' ## Describe the bug I am following the example in the documentation for elastic search step by step (on google colab): https://huggingface.co/docs/datasets/faiss_es#elasticsearch ``` from datasets import load_dat...
https://github.com/huggingface/datasets/issues/7449
Cannot load data with different schemas from different parquet files
Hi ! `load_dataset` expects all the data_files to have the same schema. Maybe you can try enforcing certain `features` using: ```python features = Features({"conversations": {'content': Value('string'), 'role': Value('string',)}}) ds = load_dataset(..., features=features) ```
### Describe the bug Cannot load samples with optional fields from different files. The schema cannot be correctly derived. ### Steps to reproduce the bug When I place two samples with an optional field `some_extra_field` within a single parquet file, it can be loaded via `load_dataset`. ```python import pandas as ...
33
Cannot load data with different schemas from different parquet files ### Describe the bug Cannot load samples with optional fields from different files. The schema cannot be correctly derived. ### Steps to reproduce the bug When I place two samples with an optional field `some_extra_field` within a single parquet fi...
https://github.com/huggingface/datasets/issues/4149
load_dataset for winoground returning decoding error
I thought I had fixed it with this after some helpful hints from @severo ```python import datasets token = 'hf_XXXXX' dataset = datasets.load_dataset( 'facebook/winoground', name='facebook--winoground', split='train', streaming=True, use_auth_token=token, ) ``` but I found out that w...
## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winoground', use_auth_token=token) ``` ## Expected res...
50
load_dataset for winoground returning decoding error ## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winog...
https://github.com/huggingface/datasets/issues/4149
load_dataset for winoground returning decoding error
Hi ! This dataset structure (image + labels in a JSON file) is not supported yet, though we're adding support for this in in #4069 The following structure will be supported soon: ``` metadata.json images/ image0.png image1.png ... ``` Where `metadata.json` is a JSON Lines file with labels or ...
## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winoground', use_auth_token=token) ``` ## Expected res...
141
load_dataset for winoground returning decoding error ## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winog...
https://github.com/huggingface/datasets/issues/4149
load_dataset for winoground returning decoding error
We'll also investigate the issue with the streaming download manager in https://github.com/huggingface/datasets/issues/4139 ;) thanks for reporting
## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winoground', use_auth_token=token) ``` ## Expected res...
16
load_dataset for winoground returning decoding error ## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winog...
https://github.com/huggingface/datasets/issues/4149
load_dataset for winoground returning decoding error
In the meantime, anyone can always download the images.zip and examples.jsonl files directly from huggingface.co - let me know if anyone has issues with that.
## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winoground', use_auth_token=token) ``` ## Expected res...
25
load_dataset for winoground returning decoding error ## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winog...
https://github.com/huggingface/datasets/issues/4149
load_dataset for winoground returning decoding error
I mirrored the files at https://huggingface.co/datasets/facebook/winoground in a folder on my local machine `winground` and when I tried ```python import datasets ds = datasets.load_from_disk('./winoground') ``` I get the following error ```python ----------------------------------------------------------------...
## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winoground', use_auth_token=token) ``` ## Expected res...
107
load_dataset for winoground returning decoding error ## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winog...
https://github.com/huggingface/datasets/issues/4149
load_dataset for winoground returning decoding error
Note that `load_from_disk` is the function that reloads an Arrow dataset saved with `my_dataset.save_to_disk`. Once we do support images with metadata you'll be able to use `load_dataset("facebook/winoground")` directly (or `load_dataset("./winoground")` of you've cloned the winoground repository locally).
## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winoground', use_auth_token=token) ``` ## Expected res...
37
load_dataset for winoground returning decoding error ## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winog...
https://github.com/huggingface/datasets/issues/4149
load_dataset for winoground returning decoding error
Apologies for the delay. I added a custom dataset loading script for winoground. It should work now, with an auth token: `examples = load_dataset('facebook/winoground', use_auth_token=<your auth token>)` Let me know if there are any issues
## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winoground', use_auth_token=token) ``` ## Expected res...
35
load_dataset for winoground returning decoding error ## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winog...
https://github.com/huggingface/datasets/issues/4149
load_dataset for winoground returning decoding error
Adding the dataset loading script definitely didn't take as long as I thought it would 😅
## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winoground', use_auth_token=token) ``` ## Expected res...
16
load_dataset for winoground returning decoding error ## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winog...
https://github.com/huggingface/datasets/issues/5749
AttributeError: 'Version' object has no attribute 'match'
I got the same error, and the official website for visual genome is down. Did you solve this problem?
### Describe the bug When I run from datasets import load_dataset data = load_dataset("visual_genome", 'region_descriptions_v1.2.0') AttributeError: 'Version' object has no attribute 'match' ### Steps to reproduce the bug from datasets import load_dataset data = load_dataset("visual_genome", 'region_descripti...
19
AttributeError: 'Version' object has no attribute 'match' ### Describe the bug When I run from datasets import load_dataset data = load_dataset("visual_genome", 'region_descriptions_v1.2.0') AttributeError: 'Version' object has no attribute 'match' ### Steps to reproduce the bug from datasets import load_datas...
https://github.com/huggingface/datasets/issues/5749
AttributeError: 'Version' object has no attribute 'match'
Apart form data host server being down, there is an additional issue with the `datasets` library introduced by this PR: - #5238 I am working to fix it.
### Describe the bug When I run from datasets import load_dataset data = load_dataset("visual_genome", 'region_descriptions_v1.2.0') AttributeError: 'Version' object has no attribute 'match' ### Steps to reproduce the bug from datasets import load_dataset data = load_dataset("visual_genome", 'region_descripti...
28
AttributeError: 'Version' object has no attribute 'match' ### Describe the bug When I run from datasets import load_dataset data = load_dataset("visual_genome", 'region_descriptions_v1.2.0') AttributeError: 'Version' object has no attribute 'match' ### Steps to reproduce the bug from datasets import load_datas...
https://github.com/huggingface/datasets/issues/5749
AttributeError: 'Version' object has no attribute 'match'
For the issue with their data host server being down, I have opened a discussion in the "Community" tab of the Hub dataset: https://huggingface.co/datasets/visual_genome/discussions/3 Let's continue the discussion there.
### Describe the bug When I run from datasets import load_dataset data = load_dataset("visual_genome", 'region_descriptions_v1.2.0') AttributeError: 'Version' object has no attribute 'match' ### Steps to reproduce the bug from datasets import load_dataset data = load_dataset("visual_genome", 'region_descripti...
29
AttributeError: 'Version' object has no attribute 'match' ### Describe the bug When I run from datasets import load_dataset data = load_dataset("visual_genome", 'region_descriptions_v1.2.0') AttributeError: 'Version' object has no attribute 'match' ### Steps to reproduce the bug from datasets import load_datas...
https://github.com/huggingface/datasets/issues/5749
AttributeError: 'Version' object has no attribute 'match'
The authors just replied to us with their new URL: https://homes.cs.washington.edu/~ranjay/visualgenome/ We have fixed the datasets loading script, which is operative again.
### Describe the bug When I run from datasets import load_dataset data = load_dataset("visual_genome", 'region_descriptions_v1.2.0') AttributeError: 'Version' object has no attribute 'match' ### Steps to reproduce the bug from datasets import load_dataset data = load_dataset("visual_genome", 'region_descripti...
22
AttributeError: 'Version' object has no attribute 'match' ### Describe the bug When I run from datasets import load_dataset data = load_dataset("visual_genome", 'region_descriptions_v1.2.0') AttributeError: 'Version' object has no attribute 'match' ### Steps to reproduce the bug from datasets import load_datas...
https://github.com/huggingface/datasets/issues/7699
Broken link in documentation for "Create a video dataset"
The URL is ok but it seems the webdataset website is down. There seems to be a related issue here: https://github.com/webdataset/webdataset/issues/155 Feel free to ask the authors there for an update. Otherwise happy to witch the link to the mirror shared in that issue
The link to "the [WebDataset documentation](https://webdataset.github.io/webdataset)." is broken. https://huggingface.co/docs/datasets/main/en/video_dataset#webdataset <img width="2048" height="264" alt="Image" src="https://github.com/user-attachments/assets/975dd10c-aad8-42fc-9fbc-de0e2747a326" />
44
Broken link in documentation for "Create a video dataset" The link to "the [WebDataset documentation](https://webdataset.github.io/webdataset)." is broken. https://huggingface.co/docs/datasets/main/en/video_dataset#webdataset <img width="2048" height="264" alt="Image" src="https://github.com/user-attachments/assets/...
https://github.com/huggingface/datasets/issues/4898
Dataset Viewer issue for timit_asr
Yes, the dataset viewer is based on `datasets`, and the following does not work: ``` >>> from datasets import get_dataset_split_names >>> get_dataset_split_names('timit_asr') Downloading builder script: 7.48kB [00:00, 6.69MB/s] Traceback (most recent call last): File "/home/slesage/hf/datasets-server/services...
### Link _No response_ ### Description _No response_ ### Owner _No response_
136
Dataset Viewer issue for timit_asr ### Link _No response_ ### Description _No response_ ### Owner _No response_ Yes, the dataset viewer is based on `datasets`, and the following does not work: ``` >>> from datasets import get_dataset_split_names >>> get_dataset_split_names('timit_asr') Downloading builder sc...
https://github.com/huggingface/datasets/issues/4898
Dataset Viewer issue for timit_asr
Due to license restriction, this dataset needs manual downloading of the original data. This information is in the dataset card: https://huggingface.co/datasets/timit_asr > The dataset needs to be downloaded manually from https://catalog.ldc.upenn.edu/LDC93S1
### Link _No response_ ### Description _No response_ ### Owner _No response_
31
Dataset Viewer issue for timit_asr ### Link _No response_ ### Description _No response_ ### Owner _No response_ Due to license restriction, this dataset needs manual downloading of the original data. This information is in the dataset card: https://huggingface.co/datasets/timit_asr > The dataset needs to be do...
https://github.com/huggingface/datasets/issues/4898
Dataset Viewer issue for timit_asr
Maybe a better error message for datasets that need manual downloading? @severo Maybe we can raise a specific excpetion as done from `load_dataset`...
### Link _No response_ ### Description _No response_ ### Owner _No response_
23
Dataset Viewer issue for timit_asr ### Link _No response_ ### Description _No response_ ### Owner _No response_ Maybe a better error message for datasets that need manual downloading? @severo Maybe we can raise a specific excpetion as done from `load_dataset`...
https://github.com/huggingface/datasets/issues/4898
Dataset Viewer issue for timit_asr
The preview is now disabled (and a descriptive warning is displayed) for datasets requiring manual download. See: ![timit_asr-manual-download](https://user-images.githubusercontent.com/8515462/193578572-3d21b790-f848-4257-9e9b-7cab3d76a269.png)
### Link _No response_ ### Description _No response_ ### Owner _No response_
18
Dataset Viewer issue for timit_asr ### Link _No response_ ### Description _No response_ ### Owner _No response_ The preview is now disabled (and a descriptive warning is displayed) for datasets requiring manual download. See: ![timit_asr-manual-download](https://user-images.githubusercontent.com/8515462/1935785...
https://github.com/huggingface/datasets/issues/6303
Parquet uploads off-by-one naming scheme
You can find the reasoning behind this naming scheme [here](https://github.com/huggingface/transformers/pull/16343#discussion_r931182168). This point has been raised several times, so I'd be okay with starting with `00001-` (also to be consistent with the `transformers` sharding), but I'm not sure @lhoestq agrees.
### Describe the bug I noticed this numbering scheme not matching up in a different project and wanted to raise it as an issue for discussion, what is the actual proper way to have these stored? <img width="425" alt="image" src="https://github.com/huggingface/datasets/assets/1981179/3ffa2144-7c9a-446f-b521-a5e9db71...
39
Parquet uploads off-by-one naming scheme ### Describe the bug I noticed this numbering scheme not matching up in a different project and wanted to raise it as an issue for discussion, what is the actual proper way to have these stored? <img width="425" alt="image" src="https://github.com/huggingface/datasets/assets...
https://github.com/huggingface/datasets/issues/6303
Parquet uploads off-by-one naming scheme
We start at 0 in `datasets` for consistency with Apache Spark, Apache Beam, Dask and others. Also note `transformers` isn't a good reference on this topic. I talked with the maintainers when they added shards but it was already released this way. Though we found that there is a backward-compatible way in `transforme...
### Describe the bug I noticed this numbering scheme not matching up in a different project and wanted to raise it as an issue for discussion, what is the actual proper way to have these stored? <img width="425" alt="image" src="https://github.com/huggingface/datasets/assets/1981179/3ffa2144-7c9a-446f-b521-a5e9db71...
67
Parquet uploads off-by-one naming scheme ### Describe the bug I noticed this numbering scheme not matching up in a different project and wanted to raise it as an issue for discussion, what is the actual proper way to have these stored? <img width="425" alt="image" src="https://github.com/huggingface/datasets/assets...
https://github.com/huggingface/datasets/issues/6303
Parquet uploads off-by-one naming scheme
Makes sense to start at 0 for plenty of good reasons so I'm on board. What about the second part `-of-0000X`? With single commit PR #6269 just getting merged, there was a note about issues with 100+ file edits https://github.com/huggingface/datasets/pull/6269#issuecomment-1755428581. That would be my last remain...
### Describe the bug I noticed this numbering scheme not matching up in a different project and wanted to raise it as an issue for discussion, what is the actual proper way to have these stored? <img width="425" alt="image" src="https://github.com/huggingface/datasets/assets/1981179/3ffa2144-7c9a-446f-b521-a5e9db71...
93
Parquet uploads off-by-one naming scheme ### Describe the bug I noticed this numbering scheme not matching up in a different project and wanted to raise it as an issue for discussion, what is the actual proper way to have these stored? <img width="425" alt="image" src="https://github.com/huggingface/datasets/assets...
https://github.com/huggingface/datasets/issues/4895
load_dataset method returns Unknown split "validation" even if this dir exists
I don't know the main problem but it looks like, it is ignoring the last directory in your case. So, create a directory called 'zzz' in the same folder as train, validation and test. if it doesn't work, create a directory called "aaa". It worked for me.
## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-directory exists in the local data path. The data directories are as follows and a...
47
load_dataset method returns Unknown split "validation" even if this dir exists ## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-direct...
https://github.com/huggingface/datasets/issues/4895
load_dataset method returns Unknown split "validation" even if this dir exists
@SamSamhuns could you please try to load it with the current main-branch version of `datasets`? I suppose the problem is that it tries to get splits names from filenames in this case, ignoring directories names, but `val` wasn't in keywords at that time, but it was fixed recently in this PR https://github.com/hugging...
## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-directory exists in the local data path. The data directories are as follows and a...
52
load_dataset method returns Unknown split "validation" even if this dir exists ## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-direct...
https://github.com/huggingface/datasets/issues/4895
load_dataset method returns Unknown split "validation" even if this dir exists
I have a similar problem. When I try to create `data_infos.json` using `datasets-cli test Peter.py --save_infos --all_configs` I get an error: `ValueError: Unknown split "test". Should be one of ['train'].` The `data_infos.json` is created perfectly fine when I use only one split - `datasets.Split.TRAIN` @polin...
## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-directory exists in the local data path. The data directories are as follows and a...
59
load_dataset method returns Unknown split "validation" even if this dir exists ## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-direct...
https://github.com/huggingface/datasets/issues/4895
load_dataset method returns Unknown split "validation" even if this dir exists
@skalinin It seems the `dataset_infos.json` of your dataset is missing the info on the test split (and `datasets-cli` doesn't ignore the cached infos at the moment, which is a known bug), so your issue is not related to this one. I think you can fix your issue by deleting all the cached `dataset_infos.json` (in the loc...
## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-directory exists in the local data path. The data directories are as follows and a...
81
load_dataset method returns Unknown split "validation" even if this dir exists ## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-direct...
https://github.com/huggingface/datasets/issues/4895
load_dataset method returns Unknown split "validation" even if this dir exists
This code indeed behaves as expected on `main`. But suppose the `val_234.png` is renamed to some other value not containing one of [these](https://github.com/huggingface/datasets/blob/38c8c725f3996ff1ff03f6fd461aa6d645321034/src/datasets/data_files.py#L31) keywords, in that case, this issue becomes relevant again becau...
## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-directory exists in the local data path. The data directories are as follows and a...
127
load_dataset method returns Unknown split "validation" even if this dir exists ## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-direct...
https://github.com/huggingface/datasets/issues/4895
load_dataset method returns Unknown split "validation" even if this dir exists
> @polinaeterna @lhoestq Perhaps one way to fix this would be to swap the [order](https://github.com/huggingface/datasets/blob/38c8c725f3996ff1ff03f6fd461aa6d645321034/src/datasets/data_files.py#L78-L79) of the patterns if data_dir is specified (or if load_dataset(data_dir) is called)? yes that makes sense !
## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-directory exists in the local data path. The data directories are as follows and a...
32
load_dataset method returns Unknown split "validation" even if this dir exists ## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-direct...
https://github.com/huggingface/datasets/issues/4895
load_dataset method returns Unknown split "validation" even if this dir exists
Looks like the `val/validation` dir name issue is fixed with the current main-branch version of the `datasets` repository. > @polinaeterna @lhoestq Perhaps one way to fix this would be to swap the [order](https://github.com/huggingface/datasets/blob/38c8c725f3996ff1ff03f6fd461aa6d645321034/src/datasets/data_files.p...
## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-directory exists in the local data path. The data directories are as follows and a...
84
load_dataset method returns Unknown split "validation" even if this dir exists ## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-direct...
https://github.com/huggingface/datasets/issues/4895
load_dataset method returns Unknown split "validation" even if this dir exists
> @polinaeterna @lhoestq Perhaps one way to fix this would be to swap the [order](https://github.com/huggingface/datasets/blob/38c8c725f3996ff1ff03f6fd461aa6d645321034/src/datasets/data_files.py#L78-L79) of the patterns if data_dir is specified (or if load_dataset(data_dir) is called)? Sounds good to me! opened a PR...
## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-directory exists in the local data path. The data directories are as follows and a...
35
load_dataset method returns Unknown split "validation" even if this dir exists ## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-direct...
https://github.com/huggingface/datasets/issues/4895
load_dataset method returns Unknown split "validation" even if this dir exists
Hi there @polinaeterna @mariosasko ! I have installed 5.2.3.dev0, which should have this fix. Unfortunately, I am still getting the error: `ValueError: Unknown split "validation". Should be one of ['train'].` When I call `load_dataset("csv", data_files=files, split=split)` Any help would be greatly appreciated!
## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-directory exists in the local data path. The data directories are as follows and a...
42
load_dataset method returns Unknown split "validation" even if this dir exists ## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-direct...
https://github.com/huggingface/datasets/issues/4895
load_dataset method returns Unknown split "validation" even if this dir exists
Hi there @polinaeterna . My local CSV files are stored as follows: binding: ---------- tune.csv ---------- public_data: --------------------------- train.csv `self.list_shards(split)` sucessfully finds the relevant data files
## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-directory exists in the local data path. The data directories are as follows and a...
26
load_dataset method returns Unknown split "validation" even if this dir exists ## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-direct...
https://github.com/huggingface/datasets/issues/4895
load_dataset method returns Unknown split "validation" even if this dir exists
@shaneacton do you have `validation.csv`/`val.csv`/`valid.csv`/`dev.csv` file in your data folder? I can't find it in the structure you provided
## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-directory exists in the local data path. The data directories are as follows and a...
19
load_dataset method returns Unknown split "validation" even if this dir exists ## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-direct...
https://github.com/huggingface/datasets/issues/4895
load_dataset method returns Unknown split "validation" even if this dir exists
@polinaeterna no, does the name of the split need to match the name of the file exactly? But my train file is not actually named 'train.py' its called 'XXXXXXXXX_train_XXXXXXXX.csv' And the code works fine for train, but fails for validation. Does the file name need to _contain_ the split name?
## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-directory exists in the local data path. The data directories are as follows and a...
50
load_dataset method returns Unknown split "validation" even if this dir exists ## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-direct...
https://github.com/huggingface/datasets/issues/4895
load_dataset method returns Unknown split "validation" even if this dir exists
@shaneacton what files do you expect to be included in "validation" split? yes, you should somehow indicate that a file belongs to a certain split - either by including split name in a filename or by putting it into a folder with split name, you can also check out [this documentation page](https://huggingface.co/docs/d...
## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-directory exists in the local data path. The data directories are as follows and a...
64
load_dataset method returns Unknown split "validation" even if this dir exists ## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-direct...
https://github.com/huggingface/datasets/issues/4895
load_dataset method returns Unknown split "validation" even if this dir exists
@polinaeterna I have specified my train/test/tune files via the `split_to_filepattern` argument when initialising my `FileDataSource` class. This is how `list_shards` is able to find the right files. After your last message, I have tried renaminig my data files to simply `train.csv` and `validation.csv`, however I am...
## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-directory exists in the local data path. The data directories are as follows and a...
59
load_dataset method returns Unknown split "validation" even if this dir exists ## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-direct...
https://github.com/huggingface/datasets/issues/4895
load_dataset method returns Unknown split "validation" even if this dir exists
For me it resolved by adding the verification_mode param: ``` imdb_ds = load_dataset( "imdb", verification_mode="no_checks" ) imdb_ds ```
## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-directory exists in the local data path. The data directories are as follows and a...
18
load_dataset method returns Unknown split "validation" even if this dir exists ## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-direct...
https://github.com/huggingface/datasets/issues/5946
IndexError Not Solving -> IndexError: Invalid key: ?? is out of bounds for size 0 or ??
> Looks related to https://discuss.huggingface.co/t/indexerror-invalid-key-16-is-out-of-bounds-for-size-0/14298/4?u=lhoestq The problem has not been solved, I have tried this before, but the problem is the same
### Describe the bug in <cell line: 1>:1 │ │ │ │ /usr/local/lib/python3.10/dist-packages/transformers/trainer.py:1537 in train ...
22
IndexError Not Solving -> IndexError: Invalid key: ?? is out of bounds for size 0 or ?? ### Describe the bug in <cell line: 1>:1 │ │ │ │ /usr/l...
https://github.com/huggingface/datasets/issues/5946
IndexError Not Solving -> IndexError: Invalid key: ?? is out of bounds for size 0 or ??
data = data["train"].shuffle().map(generate_and_tokenize_prompt, batched = False) # change this line to - data["train"] = data["train"].shuffle().map(generate_and_tokenize_prompt, batched = False) After doing this change you code should run fine.
### Describe the bug in <cell line: 1>:1 │ │ │ │ /usr/local/lib/python3.10/dist-packages/transformers/trainer.py:1537 in train ...
27
IndexError Not Solving -> IndexError: Invalid key: ?? is out of bounds for size 0 or ?? ### Describe the bug in <cell line: 1>:1 │ │ │ │ /usr/l...
https://github.com/huggingface/datasets/issues/5946
IndexError Not Solving -> IndexError: Invalid key: ?? is out of bounds for size 0 or ??
> > > > @syngokhan did u solve it? I am desperate refer to my earlier comment. you will find the solution.
### Describe the bug in <cell line: 1>:1 │ │ │ │ /usr/local/lib/python3.10/dist-packages/transformers/trainer.py:1537 in train ...
22
IndexError Not Solving -> IndexError: Invalid key: ?? is out of bounds for size 0 or ?? ### Describe the bug in <cell line: 1>:1 │ │ │ │ /usr/l...
https://github.com/huggingface/datasets/issues/5857
Adding chemistry dataset/models in huggingface
Hi! This would be a nice addition to the Hub! You can find the existing chemistry datasets/models on the Hub (using the `chemistry` tag) [here](https://huggingface.co/search/full-text?q=chemistry&type=model&type=dataset). Feel free to ping us here on the Hub if you need help adding the datasets.
### Feature request Huggingface is really amazing platform for open science. In addition to computer vision, video and NLP, would it be of interest to add chemistry/materials science dataset/models in Huggingface? Or, if its already done, can you provide some pointers. We have been working on a comprehensive ben...
41
Adding chemistry dataset/models in huggingface ### Feature request Huggingface is really amazing platform for open science. In addition to computer vision, video and NLP, would it be of interest to add chemistry/materials science dataset/models in Huggingface? Or, if its already done, can you provide some pointers....
https://github.com/huggingface/datasets/issues/4876
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
Love this in principle 🚀 Let's keep in mind users might rely on `dataset_infos.json` already. I'm not convinced by the two-syntax solution, wouldn't it be simpler to have only one syntax with a `default` config for datasets with only one config? ie, always having the `configs` field. This makes parsing the meta...
Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types - and more - YAML tags, which contain - license - language - trai...
111
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types ...
https://github.com/huggingface/datasets/issues/4876
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
> Let's keep in mind users might rely on dataset_infos.json already. Yea we'll full full backward compatibility > Let's also keep in mind that extracting YAML metadata from a markdown readme is a bit more fastidious for users than just parsing a JSON file. The main things that may use or ingest these data IMO ...
Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types - and more - YAML tags, which contain - license - language - trai...
195
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types ...
https://github.com/huggingface/datasets/issues/4876
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
love the idea, and the trend in general to move more things (like tasks) to a single place (YAML). also, if you browse files on a dataset's page (in "Files and versions"), raw `README.md` files looks nice and readable, while `.json` files are just one long line that users need to scroll. > Let's also keep in min...
Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types - and more - YAML tags, which contain - license - language - trai...
86
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types ...
https://github.com/huggingface/datasets/issues/4876
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
> do users often parse datasets_infos.json file themselves? Not AFAIK, but I'm sure there should be a few users. Users that access these info via the `DatasetInfo` from `datasets` won't see the change though e.g. ```python >> from datasets import get_datasets_infos >>> get_datasets_infos("squad") {'plain_text':...
Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types - and more - YAML tags, which contain - license - language - trai...
49
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types ...
https://github.com/huggingface/datasets/issues/4876
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
> Maybe one single syntax like this then ? LGTM! > The main things that may use or ingest these data IMO are: > - users in the UI or IDE > - datasets to populate DatasetInfo python object > - moon landing which is already parsing YAML Fair point! Having dataset info in the README's YAML is great for API ...
Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types - and more - YAML tags, which contain - license - language - trai...
80
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types ...
https://github.com/huggingface/datasets/issues/4876
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
Very supportive of this! Nesting an array of configs inside `dataset_infos: ` sounds good to me. One small tweak is that `config: default` can be optional for the default config (which can be the first one by convention) We'll be able to implement metadata validation on the Hub side so we ensure that those metada...
Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types - and more - YAML tags, which contain - license - language - trai...
181
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types ...
https://github.com/huggingface/datasets/issues/4876
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
re: `config: default` Note also that the default config is not named `default`, afaiu, but create from the repo name, eg: https://huggingface.co/datasets/nbtpj/bionlp2021SAS default config is `nbtpj--bionlp2021SAS` (which is awful)
Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types - and more - YAML tags, which contain - license - language - trai...
29
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types ...
https://github.com/huggingface/datasets/issues/4876
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
> Note also that the default config is not named default, afaiu, but create from the repo name, eg: https://huggingface.co/datasets/nbtpj/bionlp2021SAS default config is nbtpj--bionlp2021SAS (which is awful) We can change this to `default` I think or something else
Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types - and more - YAML tags, which contain - license - language - trai...
38
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types ...
https://github.com/huggingface/datasets/issues/4876
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
> From a quick glance the features might be the harder part to validate here, any doc will be welcome. I dug into features validation, see: - the OpenAPI spec: https://github.com/huggingface/datasets-server/blob/main/chart/static-files/openapi.json#L460-L697 - the node.js code: https://github.com/huggingface/moo...
Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types - and more - YAML tags, which contain - license - language - trai...
36
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types ...
https://github.com/huggingface/datasets/issues/4876
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
> We can change this to default I think or something else I created https://github.com/huggingface/datasets/issues/4902 to discuss that
Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types - and more - YAML tags, which contain - license - language - trai...
18
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types ...
https://github.com/huggingface/datasets/issues/4876
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
> Note also that the default config is not named `default`, afaiu, but create from the repo name in case of single-config you can even hide the config name from the UI IMO > I dug into features validation, see: the OpenAPI spec in moon-landing we use [Joi](https://joi.dev/api/) to validate metadata so we would...
Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types - and more - YAML tags, which contain - license - language - trai...
84
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types ...
https://github.com/huggingface/datasets/issues/4876
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
I remember there was an ongoing discussion on this topic: - #3507 I recall some of the concerns raised on that discussion: - @lhoestq: Tensorflow Datasets catalog includes a community catalog where you can find and use HF datasets. They are using the exported dataset_infos.json files from github to get the metada...
Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types - and more - YAML tags, which contain - license - language - trai...
136
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types ...
https://github.com/huggingface/datasets/issues/4876
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
Thanks for bringing these points up ! > @lhoestq: Tensorflow Datasets catalog includes a community catalog where you can find and use HF datasets. They are using the exported dataset_infos.json files from github to get the metadata: https://github.com/huggingface/datasets/issues/3507#issuecomment-1056997627 The T...
Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types - and more - YAML tags, which contain - license - language - trai...
158
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types ...
https://github.com/huggingface/datasets/issues/5506
IterableDataset and Dataset return different batch sizes when using Trainer with multiple GPUs
Hi ! `datasets` doesn't do batching - the PyTorch DataLoader does and is created by the `Trainer`. Do you pass other arguments to training_args with respect to data loading ? Also we recently released `.to_iterable_dataset` that does pretty much what you implemented, but using contiguous shards to get a better speed...
### Describe the bug I am training a Roberta model using 2 GPUs and the `Trainer` API with a batch size of 256. Initially I used a standard `Dataset`, but had issues with slow data loading. After reading [this issue](https://github.com/huggingface/datasets/issues/2252), I swapped to loading my dataset as contiguous...
61
IterableDataset and Dataset return different batch sizes when using Trainer with multiple GPUs ### Describe the bug I am training a Roberta model using 2 GPUs and the `Trainer` API with a batch size of 256. Initially I used a standard `Dataset`, but had issues with slow data loading. After reading [this issue](http...
https://github.com/huggingface/datasets/issues/5506
IterableDataset and Dataset return different batch sizes when using Trainer with multiple GPUs
This is the full set of training args passed. No training args were changed when switching dataset types. ```python training_args = TrainingArguments( output_dir="./checkpoints", overwrite_output_dir=True, num_train_epochs=1, per_device_train_batch_size=256, save_steps=2000, save_total...
### Describe the bug I am training a Roberta model using 2 GPUs and the `Trainer` API with a batch size of 256. Initially I used a standard `Dataset`, but had issues with slow data loading. After reading [this issue](https://github.com/huggingface/datasets/issues/2252), I swapped to loading my dataset as contiguous...
43
IterableDataset and Dataset return different batch sizes when using Trainer with multiple GPUs ### Describe the bug I am training a Roberta model using 2 GPUs and the `Trainer` API with a batch size of 256. Initially I used a standard `Dataset`, but had issues with slow data loading. After reading [this issue](http...
https://github.com/huggingface/datasets/issues/5506
IterableDataset and Dataset return different batch sizes when using Trainer with multiple GPUs
Makes sense. Given that it's a `transformers` issue and already being tracked, I'll close this out.
### Describe the bug I am training a Roberta model using 2 GPUs and the `Trainer` API with a batch size of 256. Initially I used a standard `Dataset`, but had issues with slow data loading. After reading [this issue](https://github.com/huggingface/datasets/issues/2252), I swapped to loading my dataset as contiguous...
16
IterableDataset and Dataset return different batch sizes when using Trainer with multiple GPUs ### Describe the bug I am training a Roberta model using 2 GPUs and the `Trainer` API with a batch size of 256. Initially I used a standard `Dataset`, but had issues with slow data loading. After reading [this issue](http...
https://github.com/huggingface/datasets/issues/6841
Unable to load wiki_auto_asset_turk from GEM
Hi! I've opened a [PR](https://huggingface.co/datasets/GEM/wiki_auto_asset_turk/discussions/5) with a fix. While waiting for it to be merged, you can load the dataset from the PR branch with `datasets.load_dataset("GEM/wiki_auto_asset_turk", revision="refs/pr/5")`
### Describe the bug I am unable to load the wiki_auto_asset_turk dataset. I get a fatal error while trying to access wiki_auto_asset_turk and load it with datasets.load_dataset. The error (TypeError: expected str, bytes or os.PathLike object, not NoneType) is from filenames_for_dataset_split in a os.path.join call ...
27
Unable to load wiki_auto_asset_turk from GEM ### Describe the bug I am unable to load the wiki_auto_asset_turk dataset. I get a fatal error while trying to access wiki_auto_asset_turk and load it with datasets.load_dataset. The error (TypeError: expected str, bytes or os.PathLike object, not NoneType) is from filename...
https://github.com/huggingface/datasets/issues/6841
Unable to load wiki_auto_asset_turk from GEM
Thanks Mario. Still getting the same issue though with the suggested fix #cat gem_sari.py import datasets print (datasets.__version__) dataset =datasets.load_dataset("GEM/wiki_auto_asset_turk", revision="refs/pr/5") End up with File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-pa...
### Describe the bug I am unable to load the wiki_auto_asset_turk dataset. I get a fatal error while trying to access wiki_auto_asset_turk and load it with datasets.load_dataset. The error (TypeError: expected str, bytes or os.PathLike object, not NoneType) is from filenames_for_dataset_split in a os.path.join call ...
109
Unable to load wiki_auto_asset_turk from GEM ### Describe the bug I am unable to load the wiki_auto_asset_turk dataset. I get a fatal error while trying to access wiki_auto_asset_turk and load it with datasets.load_dataset. The error (TypeError: expected str, bytes or os.PathLike object, not NoneType) is from filename...
https://github.com/huggingface/datasets/issues/6841
Unable to load wiki_auto_asset_turk from GEM
Tried that a couple of time. It does download the data fresh but end up with same error. Is there a way to see if its using the right version ?
### Describe the bug I am unable to load the wiki_auto_asset_turk dataset. I get a fatal error while trying to access wiki_auto_asset_turk and load it with datasets.load_dataset. The error (TypeError: expected str, bytes or os.PathLike object, not NoneType) is from filenames_for_dataset_split in a os.path.join call ...
31
Unable to load wiki_auto_asset_turk from GEM ### Describe the bug I am unable to load the wiki_auto_asset_turk dataset. I get a fatal error while trying to access wiki_auto_asset_turk and load it with datasets.load_dataset. The error (TypeError: expected str, bytes or os.PathLike object, not NoneType) is from filename...
https://github.com/huggingface/datasets/issues/6841
Unable to load wiki_auto_asset_turk from GEM
the datasets version is 2.18. I wanted to see if the command datasets.load_dataset("GEM/wiki_auto_asset_turk", revision="refs/pr/5") is using the right revision (refs/pr/5).
### Describe the bug I am unable to load the wiki_auto_asset_turk dataset. I get a fatal error while trying to access wiki_auto_asset_turk and load it with datasets.load_dataset. The error (TypeError: expected str, bytes or os.PathLike object, not NoneType) is from filenames_for_dataset_split in a os.path.join call ...
20
Unable to load wiki_auto_asset_turk from GEM ### Describe the bug I am unable to load the wiki_auto_asset_turk dataset. I get a fatal error while trying to access wiki_auto_asset_turk and load it with datasets.load_dataset. The error (TypeError: expected str, bytes or os.PathLike object, not NoneType) is from filename...
https://github.com/huggingface/datasets/issues/6841
Unable to load wiki_auto_asset_turk from GEM
The issue is fixed once the fixing PR has been merged and the dataset has been converted to Parquet. If the problem persists on your side, you should update your `datasets` library: ```shell pip install -U datasets ``` And if you have already the latest version of `datasets`, then you need to delete the old vers...
### Describe the bug I am unable to load the wiki_auto_asset_turk dataset. I get a fatal error while trying to access wiki_auto_asset_turk and load it with datasets.load_dataset. The error (TypeError: expected str, bytes or os.PathLike object, not NoneType) is from filenames_for_dataset_split in a os.path.join call ...
70
Unable to load wiki_auto_asset_turk from GEM ### Describe the bug I am unable to load the wiki_auto_asset_turk dataset. I get a fatal error while trying to access wiki_auto_asset_turk and load it with datasets.load_dataset. The error (TypeError: expected str, bytes or os.PathLike object, not NoneType) is from filename...
https://github.com/huggingface/datasets/issues/5032
new dataset type: single-label and multi-label video classification
Hi ! You can in the `features` folder how we implemented the audio and image feature types. We can have something similar to videos. What we need to decide: - the video loading library to use - the output format when a user accesses a video type object - what parameters a `Video()` feature type needs also cc @...
**Is your feature request related to a problem? Please describe.** In my research, I am dealing with multi-modal (audio+text+frame sequence) video classification. It would be great if the datasets library supported generating multi-modal batches from a video dataset. **Describe the solution you'd like** Assume I h...
71
new dataset type: single-label and multi-label video classification **Is your feature request related to a problem? Please describe.** In my research, I am dealing with multi-modal (audio+text+frame sequence) video classification. It would be great if the datasets library supported generating multi-modal batches from ...
https://github.com/huggingface/datasets/issues/5032
new dataset type: single-label and multi-label video classification
Hi ! I think we just missing which lib we're going to use to decode the videos + which parameters must go in the `Video` type
**Is your feature request related to a problem? Please describe.** In my research, I am dealing with multi-modal (audio+text+frame sequence) video classification. It would be great if the datasets library supported generating multi-modal batches from a video dataset. **Describe the solution you'd like** Assume I h...
26
new dataset type: single-label and multi-label video classification **Is your feature request related to a problem? Please describe.** In my research, I am dealing with multi-modal (audio+text+frame sequence) video classification. It would be great if the datasets library supported generating multi-modal batches from ...
https://github.com/huggingface/datasets/issues/5032
new dataset type: single-label and multi-label video classification
pytorchvideo uses [pyav](https://github.com/PyAV-Org/PyAV) as the default decoder: https://github.com/facebookresearch/pytorchvideo/blob/c8d23d8b7e597586a9e2d18f6ed31ad8aa379a7a/pytorchvideo/data/labeled_video_dataset.py#L37 Also it would be great if `optionally` audio can also be decoded from the video as in pytorc...
**Is your feature request related to a problem? Please describe.** In my research, I am dealing with multi-modal (audio+text+frame sequence) video classification. It would be great if the datasets library supported generating multi-modal batches from a video dataset. **Describe the solution you'd like** Assume I h...
36
new dataset type: single-label and multi-label video classification **Is your feature request related to a problem? Please describe.** In my research, I am dealing with multi-modal (audio+text+frame sequence) video classification. It would be great if the datasets library supported generating multi-modal batches from ...
https://github.com/huggingface/datasets/issues/5032
new dataset type: single-label and multi-label video classification
@sayakpaul I did do quite a bit of work on [this PR](https://github.com/huggingface/datasets/pull/4532) a while back to add a video feature. It's outdated, but uses my `encoded_video` [package](https://github.com/nateraw/encoded-video) under the hood, which is basically a wrapper around PyAV stolen from [pytorchvideo](...
**Is your feature request related to a problem? Please describe.** In my research, I am dealing with multi-modal (audio+text+frame sequence) video classification. It would be great if the datasets library supported generating multi-modal batches from a video dataset. **Describe the solution you'd like** Assume I h...
67
new dataset type: single-label and multi-label video classification **Is your feature request related to a problem? Please describe.** In my research, I am dealing with multi-modal (audio+text+frame sequence) video classification. It would be great if the datasets library supported generating multi-modal batches from ...
https://github.com/huggingface/datasets/issues/3792
Checksums didn't match for dataset source
Same issue with `dataset = load_dataset("dbpedia_14")` ``` NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.com/uc?export=download&id=0Bz8a_Dbh9QhbQ2Vic1kxMmZZQ1k']
## Dataset viewer issue for 'wiki_lingua*' **Link:** *link to the dataset viewer page* `data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]") ` *short description of the issue* ``` [NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.co...
16
Checksums didn't match for dataset source ## Dataset viewer issue for 'wiki_lingua*' **Link:** *link to the dataset viewer page* `data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]") ` *short description of the issue* ``` [NonMatchingChecksumError: Checksums didn't match for datase...
https://github.com/huggingface/datasets/issues/3792
Checksums didn't match for dataset source
I think this is a side-effect of #3787. The checksums won't match because the URLs have changed. @rafikg @Y0mingZhang, while this is fixed, maybe you can load the datasets as such: `data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]", ignore_verifications=True)` `dataset = load_dataset("...
## Dataset viewer issue for 'wiki_lingua*' **Link:** *link to the dataset viewer page* `data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]") ` *short description of the issue* ``` [NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.co...
53
Checksums didn't match for dataset source ## Dataset viewer issue for 'wiki_lingua*' **Link:** *link to the dataset viewer page* `data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]") ` *short description of the issue* ``` [NonMatchingChecksumError: Checksums didn't match for datase...
https://github.com/huggingface/datasets/issues/3792
Checksums didn't match for dataset source
Hi! Installing the `datasets` package from master (`pip install git+https://github.com/huggingface/datasets.git`) and then redownloading the datasets with `download_mode` set to `force_redownload` (e.g. `dataset = load_dataset("dbpedia_14", download_mode="force_redownload")`) should fix the issue.
## Dataset viewer issue for 'wiki_lingua*' **Link:** *link to the dataset viewer page* `data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]") ` *short description of the issue* ``` [NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.co...
29
Checksums didn't match for dataset source ## Dataset viewer issue for 'wiki_lingua*' **Link:** *link to the dataset viewer page* `data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]") ` *short description of the issue* ``` [NonMatchingChecksumError: Checksums didn't match for datase...
https://github.com/huggingface/datasets/issues/3792
Checksums didn't match for dataset source
Hi @rafikg and @Y0mingZhang, thanks for reporting. Indeed it seems that Google Drive changed their way to access their data files. We have recently handled that change: - #3787 but it will be accessible to users only in our next release of the `datasets` version. - Note that our latest release (version 1.18.3) ...
## Dataset viewer issue for 'wiki_lingua*' **Link:** *link to the dataset viewer page* `data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]") ` *short description of the issue* ``` [NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.co...
117
Checksums didn't match for dataset source ## Dataset viewer issue for 'wiki_lingua*' **Link:** *link to the dataset viewer page* `data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]") ` *short description of the issue* ``` [NonMatchingChecksumError: Checksums didn't match for datase...
https://github.com/huggingface/datasets/issues/3792
Checksums didn't match for dataset source
@albertvillanova by running: ``` pip install git+https://github.com/huggingface/datasets#egg=datasets data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]", download_mode="force_redownload", ignore_verifications=True) ``` I had a pickle error **UnpicklingError: invalid load key, '<'** ...
## Dataset viewer issue for 'wiki_lingua*' **Link:** *link to the dataset viewer page* `data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]") ` *short description of the issue* ``` [NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.co...
59
Checksums didn't match for dataset source ## Dataset viewer issue for 'wiki_lingua*' **Link:** *link to the dataset viewer page* `data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]") ` *short description of the issue* ``` [NonMatchingChecksumError: Checksums didn't match for datase...
https://github.com/huggingface/datasets/issues/3792
Checksums didn't match for dataset source
This issue impacts many more datasets than the ones mention in this thread. Can we post # of downloads for each dataset by day (by successes and failures)? If so, it should be obvious which ones are failing.
## Dataset viewer issue for 'wiki_lingua*' **Link:** *link to the dataset viewer page* `data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]") ` *short description of the issue* ``` [NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.co...
38
Checksums didn't match for dataset source ## Dataset viewer issue for 'wiki_lingua*' **Link:** *link to the dataset viewer page* `data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]") ` *short description of the issue* ``` [NonMatchingChecksumError: Checksums didn't match for datase...
https://github.com/huggingface/datasets/issues/3792
Checksums didn't match for dataset source
I can see this problem too in xcopa, unfortunately installing the latest master (1.18.4.dev0) doesn't work, @albertvillanova . ``` from datasets import load_dataset dataset = load_dataset("xcopa", "it") ``` Throws ``` in verify_checksums(expected_checksums, recorded_checksums, verification_name) 38 ...
## Dataset viewer issue for 'wiki_lingua*' **Link:** *link to the dataset viewer page* `data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]") ` *short description of the issue* ``` [NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.co...
74
Checksums didn't match for dataset source ## Dataset viewer issue for 'wiki_lingua*' **Link:** *link to the dataset viewer page* `data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]") ` *short description of the issue* ``` [NonMatchingChecksumError: Checksums didn't match for datase...