id
stringlengths
18
24
number
int64
2
8.48k
title
stringlengths
1
290
body
stringlengths
0
228k
state
stringclasses
2 values
createdAt
timestamp[s]date
2020-04-14 18:18:51
2026-08-13 03:02:44
updatedAt
timestamp[s]date
2020-04-29 09:23:05
2026-08-15 04:47:12
closedAt
timestamp[s]date
2020-04-29 09:23:05
2026-07-28 10:29:56
url
stringlengths
48
51
author
dict
labels
dict
comments
listlengths
0
30
I_kwDODunzps5_iFI9
6,675
Allow image model (color conversion) to be specified as part of datasets Image() decode
### Feature request Typical torchvision / torch Datasets in image applications apply color conversion in the Dataset portion of the code as part of image decode, separately from the image transform stack. This is true for PIL.Image where convert is usually called in dataset, for native torchvision https://pytorch.or...
CLOSED
2024-02-16T23:43:20
2024-03-18T15:41:34
2024-03-18T15:41:34
https://github.com/huggingface/datasets/issues/6675
{ "login": "rwightman" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "It would be a great addition indeed :)\r\n\r\nThis can be implemented the same way we have `sampling_rate` for Audio(): we just add a new parameter to the Image() type and take this parameter into account in `Image.decode_example`\r\n\r\nEDIT: adding an example of how it can be used:\r\n\r\n```python\r\nds = ds.ca...
I_kwDODunzps5_h6M4
6,674
Depprcated Overview.ipynb Link to new Quickstart Notebook invalid
### Describe the bug For the dreprecated notebook found [here](https://github.com/huggingface/datasets/blob/main/notebooks/Overview.ipynb). The link to the new notebook is broken. ### Steps to reproduce the bug Click the [Quickstart notebook](https://github.com/huggingface/notebooks/blob/main/datasets_doc/quicksta...
CLOSED
2024-02-16T22:51:35
2024-02-25T18:48:09
2024-02-25T18:48:09
https://github.com/huggingface/datasets/issues/6674
{ "login": "Codeblockz" }
{ "nodes": [] }
[ "Good catch! Feel free to open a PR to fix the link." ]
I_kwDODunzps5_hocL
6,673
IterableDataset `set_epoch` is ignored when DataLoader `persistent_workers=True`
### Describe the bug When persistent workers are enabled, the epoch that's set via the IterableDataset instance held by the training process is ignored by the workers as they are disconnected across processes. PyTorch samplers for non-iterable datasets have a mechanism to sync this, datasets.IterableDataset does ...
CLOSED
2024-02-16T21:38:12
2024-07-01T17:45:31
2024-07-01T17:45:31
https://github.com/huggingface/datasets/issues/6673
{ "login": "rwightman" }
{ "nodes": [ { "name": "bug" }, { "name": "streaming" } ] }
[]
I_kwDODunzps5_emW-
6,671
CSV builder raises deprecation warning on verbose parameter
CSV builder raises a deprecation warning on `verbose` parameter: ``` FutureWarning: The 'verbose' keyword in pd.read_csv is deprecated and will be removed in a future version. ``` See: - https://github.com/pandas-dev/pandas/pull/56556 - https://github.com/pandas-dev/pandas/pull/57450
CLOSED
2024-02-16T14:23:46
2024-02-19T09:20:23
2024-02-19T09:20:23
https://github.com/huggingface/datasets/issues/6671
{ "login": "albertvillanova" }
{ "nodes": [] }
[]
I_kwDODunzps5_dPte
6,670
ValueError
### Describe the bug ValueError Traceback (most recent call last) [<ipython-input-11-9b99bc80ec23>](https://localhost:8080/#) in <cell line: 11>() 9 import numpy as np 10 import matplotlib.pyplot as plt ---> 11 from datasets import DatasetDict, Dataset 12 from transf...
CLOSED
2024-02-16T11:05:17
2024-02-17T04:26:34
2024-02-16T14:43:53
https://github.com/huggingface/datasets/issues/6670
{ "login": "prashanth19bolukonda" }
{ "nodes": [] }
[ "Hi @prashanth19bolukonda,\r\n\r\nYou have to restart the notebook runtime session after the installation of `datasets`.\r\n\r\nDuplicate of:\r\n- #5923", "Thank you soo much\r\n\r\nOn Fri, Feb 16, 2024 at 8:14 PM Albert Villanova del Moral <\r\n***@***.***> wrote:\r\n\r\n> Closed #6670 <https://github.com/huggin...
I_kwDODunzps5_dDbm
6,669
attribute error when writing trainer.train()
### Describe the bug AttributeError Traceback (most recent call last) Cell In[39], line 2 1 # Start the training process ----> 2 trainer.train() File /opt/conda/lib/python3.10/site-packages/transformers/trainer.py:1539, in Trainer.train(self, resume_from_checkpoint, trial, ignore...
CLOSED
2024-02-16T10:40:49
2024-03-01T10:58:00
2024-02-29T17:25:17
https://github.com/huggingface/datasets/issues/6669
{ "login": "prashanth19bolukonda" }
{ "nodes": [] }
[ "Hi! Kaggle notebooks use an outdated version of `datasets`, so you should update the `datasets` installation (with `!pip install -U datasets`) to avoid the error.", "Thank you for your response\r\n\r\nOn Thu, Feb 29, 2024 at 10:55 PM Mario Šaško ***@***.***>\r\nwrote:\r\n\r\n> Closed #6669 <https://github.com/hu...
I_kwDODunzps5_bSdf
6,668
Chapter 6 - Issue Loading `cnn_dailymail` dataset
### Describe the bug So I am getting this bug when I try to run cell 4 of the Chapter 6 notebook code: `dataset = load_dataset("ccdv/cnn_dailymail", version="3.0.0")` Error Message: ``` --------------------------------------------------------------------------- ValueError Tracebac...
OPEN
2024-02-16T04:40:56
2025-10-24T18:49:28
null
https://github.com/huggingface/datasets/issues/6668
{ "login": "hariravichandran" }
{ "nodes": [] }
[ "Here's a snippet that works with the current `datasets`:\n\n```python\ndataset = load_dataset(\"cnn_dailymail\", \"3.0.0\")\n```\n\n(Drop the `version=` part.)" ]
I_kwDODunzps5_a8ZQ
6,667
Default config for squad is incorrect
### Describe the bug If you download Squad, it will download the plain_text version, but the config still specifies "default", so if you set the offline mode the cache will try to look it up according to the config_id which is "default" and this will say; ValueError: Couldn't find cache for squad for config 'default'...
OPEN
2024-02-16T02:36:55
2024-02-23T09:10:00
null
https://github.com/huggingface/datasets/issues/6667
{ "login": "kiddyboots216" }
{ "nodes": [] }
[ "you can try: pip install datasets==2.16.1" ]
I_kwDODunzps5_SNnr
6,663
`write_examples_on_file` and `write_batch` are broken in `ArrowWriter`
### Describe the bug `write_examples_on_file` and `write_batch` are broken in `ArrowWriter` since #6636. The order between the columns and the schema is not preserved anymore. So these functions don't work anymore unless the order happens to align well. ### Steps to reproduce the bug Try to do `write_batch` with any...
CLOSED
2024-02-15T01:43:27
2024-02-16T09:25:00
2024-02-16T09:25:00
https://github.com/huggingface/datasets/issues/6663
{ "login": "bryant1410" }
{ "nodes": [] }
[ "Thanks for reporting! I've left some comments on the PR on how to fix this recent change rather than reverting it.", "> Thanks for reporting! I've left some comments on the PR on how to fix this recent change rather than reverting it.\r\n\r\nI feel that'd be good, but it'd be great to release a hotfix ASAP (a re...
I_kwDODunzps5_GEJL
6,661
Import error on Google Colab
### Describe the bug Cannot be imported on Google Colab, the import throws the following error: ValueError: pyarrow.lib.IpcWriteOptions size changed, may indicate binary incompatibility. Expected 88 from C header, got 72 from PyObject ### Steps to reproduce the bug 1. `! pip install -U datasets` 2. `import dataset...
CLOSED
2024-02-13T13:12:40
2024-02-25T16:37:54
2024-02-14T08:04:47
https://github.com/huggingface/datasets/issues/6661
{ "login": "kithogue" }
{ "nodes": [] }
[ "Hi! This can happen if an incompatible `pyarrow` version (`pyarrow<12.0.0`) has been imported before the `datasets` installation and the Colab session hasn't been restarted afterward. To avoid the error, go to \"Runtime -> Restart session\" after `!pip install -U datasets` and before `import datasets`, or insert t...
I_kwDODunzps5-6DTN
6,657
Release not pushed to conda channel
### Describe the bug The github actions step to publish the release 2.17.0 to conda channel has failed due to expired token. Can some one please update the anaconda token rerun the failed action? @albertvillanova ? ![image](https://github.com/huggingface/datasets/assets/7138162/1b56ad3d-7643-4778-9cce-4bf531717700...
CLOSED
2024-02-11T20:05:17
2024-03-06T15:06:22
2024-03-06T15:06:22
https://github.com/huggingface/datasets/issues/6657
{ "login": "atulsaurav" }
{ "nodes": [] }
[ "Thanks for reporting, @atulsaurav.\r\n\r\nWe are investigating the issue. ", "I can't fix this issue because I do not appear as a team member of the huggingface datasets project: https://anaconda.org/huggingface/datasets\r\n\r\n@lhoestq could you please add `datasets` team members to the corresponding Anaconda p...
I_kwDODunzps5-zJuJ
6,656
Error when loading a big local json file
### Describe the bug When trying to load big json files from a local directory, `load_dataset` throws the following error ``` Traceback (most recent call last): File "/miniconda3/envs/conda-env/lib/python3.10/site-packages/datasets/builder.py", line 1989, in _prepare_split_single writer.write_table(table) ...
OPEN
2024-02-09T15:14:21
2024-11-29T10:06:57
null
https://github.com/huggingface/datasets/issues/6656
{ "login": "Riccorl" }
{ "nodes": [] }
[ "I get similar when dealing with a large jsonl file (6k lines), \r\n\r\n> TypeError: Couldn't cast array of type timestamp[us] to null\r\n\r\nYet when I split it into 1k lines, files, load_dataset works fine!\r\n\r\nhttps://github.com/huggingface/course/issues/692\r\n\r\n", "What's the proposed solution? :-)" ]
I_kwDODunzps5-x8AK
6,655
Cannot load the dataset go_emotions
### Describe the bug When I run the following code I get an exception; `go_emotions = load_dataset("go_emotions")` > AttributeError Traceback (most recent call last) Cell In[6], [line 1](vscode-notebook-cell:?execution_count=6&line=1) ----> [1](vscode-notebook-cell:?execution_count=6&l...
OPEN
2024-02-09T12:15:39
2024-02-12T09:35:55
null
https://github.com/huggingface/datasets/issues/6655
{ "login": "arame" }
{ "nodes": [] }
[ "Thanks for reporting, @arame.\r\n\r\nI guess you have an old version of `transformers` (that submodule is present in `transformers` since version 3.0.1, since nearly 4 years ago). If you update it, the error should disappear:\r\n```shell\r\npip install -U transformers\r\n```\r\n\r\nOn the other hand, I am wonderin...
I_kwDODunzps5-xoTe
6,654
Batched dataset map throws exception that cannot cast fixed length array to Sequence
### Describe the bug I encountered a TypeError when batch processing a dataset with Sequence features in datasets package version 2.16.1. The error arises from a mismatch in handling fixed-size list arrays during the map function execution. Debugging pinpoints the issue to an if-statement in datasets/table.py, line 20...
CLOSED
2024-02-09T11:23:19
2024-02-12T08:26:53
2024-02-12T08:26:53
https://github.com/huggingface/datasets/issues/6654
{ "login": "keesjandevries" }
{ "nodes": [] }
[ "Hi ! This issue has been fixed by https://github.com/huggingface/datasets/pull/6283\r\n\r\nCan you try again with the new release 2.17.0 ?\r\n\r\n```\r\npip install -U datasets\r\n```\r\n\r\n", "Amazing! It's indeed fixed now. Thanks!" ]
I_kwDODunzps5-whka
6,651
Slice splits support for datasets.load_from_disk
### Feature request Support for slice splits in `datasets.load_from_disk`, similar to how it's already supported for `datasets.load_dataset`. ### Motivation Slice splits are convienient in a numer of cases - adding support to `datasets.load_from_disk` would make working with local datasets easier and homogeniz...
OPEN
2024-02-09T08:00:21
2024-06-14T14:42:46
null
https://github.com/huggingface/datasets/issues/6651
{ "login": "mhorlacher" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps5-s1Ff
6,650
AttributeError: 'InMemoryTable' object has no attribute '_batches'
### Describe the bug ``` Traceback (most recent call last): File "finetune.py", line 103, in <module> main(args) File "finetune.py", line 45, in main data_tokenized = data.map(partial(funcs.tokenize_function, tokenizer, File "/opt/conda/envs/ptca/lib/python3.8/site-packages/datasets/dataset_dict....
OPEN
2024-02-08T17:11:26
2024-02-21T00:34:41
null
https://github.com/huggingface/datasets/issues/6650
{ "login": "matsuobasho" }
{ "nodes": [] }
[ "Hi! Does running the following code also return the same error on your machine? \r\n\r\n```python\r\nimport copy\r\nimport pyarrow as pa\r\nfrom datasets.table import InMemoryTable\r\n\r\ncopy.deepcopy(InMemoryTable(pa.table({\"a\": [1, 2, 3], \"b\": [\"foo\", \"bar\", \"foobar\"]})))\r\n```", "No, it doesn't, ...
I_kwDODunzps5-icAS
6,645
Support fsspec 2024.2
Support fsspec 2024.2. First, we should address: - #6644
CLOSED
2024-02-07T12:45:29
2024-02-29T15:12:19
2024-02-29T15:12:19
https://github.com/huggingface/datasets/issues/6645
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "I'd be very grateful. This upper bound banished me straight into dependency hell today. :(" ]
I_kwDODunzps5-iboS
6,644
Support fsspec 2023.12
Support fsspec 2023.12 by handling previous and new glob behavior.
CLOSED
2024-02-07T12:44:39
2024-02-29T15:12:18
2024-02-29T15:12:18
https://github.com/huggingface/datasets/issues/6644
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "The pinned fsspec version range dependency conflict has been affecting several of our users in https://github.com/iterative/dvc. I've opened an initial PR that I think should resolve the glob behavior changes with using datasets + the latest fsspec release.\r\n\r\nPlease let us know if there's any other fsspec rel...
I_kwDODunzps5-b4n_
6,643
Faiss GPU index cannot be serialised when passed to trainer
### Describe the bug I am working on a retrieval project and encountering I have encountered two issues in the hugging face faiss integration: 1. I am trying to pass in a dataset with a faiss index to the Huggingface trainer. The code works for a cpu faiss index, but doesn't for a gpu one, getting error: ``` ...
OPEN
2024-02-06T16:41:00
2024-02-15T10:29:32
null
https://github.com/huggingface/datasets/issues/6643
{ "login": "rubenweitzman" }
{ "nodes": [] }
[ "Hi ! make sure your query embeddings are numpy arrays, not torch tensors ;)", "Hi Quentin, not sure how that solves the problem number 1. I am trying to pass on a dataset with a faiss gpu for training to the standard trainer but getting this serialisation error. What is a workaround this? I do not want to remove...
I_kwDODunzps5-Tq7G
6,642
Differently dataset object saved than it is loaded.
### Describe the bug Differently sized object is saved than it is loaded. ### Steps to reproduce the bug Hi, I save dataset in a following way: ``` dataset = load_dataset("json", data_files={ "train": os.path.join(input_folder, f"{task_met...
CLOSED
2024-02-05T17:28:57
2024-02-06T09:50:19
2024-02-06T09:50:19
https://github.com/huggingface/datasets/issues/6642
{ "login": "MFajcik" }
{ "nodes": [] }
[ "I see now, that I have to use `load_from_disk`, in order to load dataset properly, not `load_dataset`. Why is this behavior split? Why do we need both, `load_dataset` and `load_from_disk`?\r\n\r\nUnless answered, I believe this might be helpful for other hf datasets newbies.\r\n\r\nAnyway, made a `load_dataset` co...
I_kwDODunzps5-Lks8
6,641
unicodedecodeerror: 'utf-8' codec can't decode byte 0xac in position 25: invalid start byte
### Describe the bug unicodedecodeerror: 'utf-8' codec can't decode byte 0xac in position 25: invalid start byte ### Steps to reproduce the bug ``` import sys sys.getdefaultencoding() 'utf-8' from datasets import load_dataset print(f"Train dataset size: {len(dataset['train'])}") print(f"Test datase...
CLOSED
2024-02-04T08:49:31
2024-02-06T09:26:07
2024-02-06T09:11:45
https://github.com/huggingface/datasets/issues/6641
{ "login": "Hughhuh" }
{ "nodes": [] }
[ "Hi @Hughhuh. \r\n\r\nI have formatted the issue because it was not easily readable. Additionally, the environment info is incomplete: it seems you did not run the proposed CLI command `datasets-cli env` and essential information is missing: version of `datasets`, version of `pyarrow`,...\r\n\r\nWith the informatio...
I_kwDODunzps5-HYfT
6,640
Sign Language Support
### Feature request Currently, there are only several Sign Language labels, I would like to propose adding all the Signed Languages as new labels which are described in this ISO standard: https://www.evertype.com/standards/iso639/sign-language.html ### Motivation Datasets currently only have labels for several signe...
OPEN
2024-02-02T21:54:51
2024-02-02T21:54:51
null
https://github.com/huggingface/datasets/issues/6640
{ "login": "Merterm" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps599thp
6,638
Cannot download wmt16 dataset
### Describe the bug As of this morning (PST) 2/1/2024, seeing the wmt16 dataset is missing from opus , could you suggest an alternative? ``` Downloading data files: 0%| | 0/4 [00:00<?, ?it/s]Tra...
CLOSED
2024-02-01T19:41:42
2024-02-01T20:07:29
2024-02-01T20:07:29
https://github.com/huggingface/datasets/issues/6638
{ "login": "vidyasiv" }
{ "nodes": [] }
[ "Looks like it works with latest datasets repository\r\n```\r\n- `datasets` version: 2.16.2.dev0\r\n- Platform: Linux-5.15.0-92-generic-x86_64-with-glibc2.29\r\n- Python version: 3.8.10\r\n- `huggingface_hub` version: 0.20.3\r\n- PyArrow version: 15.0.0\r\n- Pandas version: 2.0.1\r\n- `fsspec` version: 2023.10.0\r\...
I_kwDODunzps598je3
6,637
'with_format' is extremely slow when used together with 'interleave_datasets' or 'shuffle' on IterableDatasets
### Describe the bug If you: 1. Interleave two iterable datasets together with the interleave_datasets function, or shuffle an iterable dataset 2. Set the output format to torch tensors with .with_format('torch') Then iterating through the dataset becomes over 100x slower than it is if you don't apply the torch...
CLOSED
2024-02-01T17:16:54
2025-09-18T16:37:11
2025-09-18T16:37:11
https://github.com/huggingface/datasets/issues/6637
{ "login": "tobycrisford" }
{ "nodes": [] }
[ "The \"torch\" formatting is usually fast because we do zero-copy conversion from the Arrow data on your disk to Torch tensors. However IterableDataset shuffling seems to do data copies that slow down the pipeline, and it shuffles python objects instead of Arrow data.\r\n\r\nTo fix this we need to implement `Buffer...
I_kwDODunzps59Z71-
6,624
How to download the laion-coco dataset
The laion coco dataset is not available now. How to download it https://huggingface.co/datasets/laion/laion-coco
CLOSED
2024-01-28T03:56:05
2024-02-06T09:43:31
2024-02-06T09:43:31
https://github.com/huggingface/datasets/issues/6624
{ "login": "vanpersie32" }
{ "nodes": [] }
[ "Hi, this dataset has been disabled by the authors, so unfortunately it's no longer possible to download it." ]
I_kwDODunzps59ZoKr
6,623
streaming datasets doesn't work properly with multi-node
### Feature request Let’s say I have a dataset with 5 samples with values [1, 2, 3, 4, 5], with 2 GPUs (for DDP) and batch size of 2. This dataset is an `IterableDataset` since I am streaming it. Now I split the dataset using `split_dataset_by_node` to ensure it doesn’t get repeated. And since it’s already splitt...
OPEN
2024-01-27T23:46:13
2025-12-08T12:26:20
null
https://github.com/huggingface/datasets/issues/6623
{ "login": "rohitgr7" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "@mariosasko, @lhoestq, @albertvillanova\r\nhey guys! can anyone help? or can you guys suggest who can help with this?", "Hi ! \r\n\r\n1. When the dataset is running of of examples, the last batches received by the GPU can be incomplete or empty/missing. We haven't implemented yet a way to ignore the last batch. ...
I_kwDODunzps59ZSVZ
6,622
multi-GPU map does not work
### Describe the bug Here is the code for single-GPU processing: https://pastebin.com/bfmEeK2y Here is the code for multi-GPU processing: https://pastebin.com/gQ7i5AQy Here is the video showing that the multi-GPU mapping does not work as expected (there are so many things wrong here, it's better to watch the 3-min...
CLOSED
2024-01-27T20:06:08
2024-02-08T11:18:21
2024-02-08T11:18:21
https://github.com/huggingface/datasets/issues/6622
{ "login": "kopyl" }
{ "nodes": [] }
[ "This should now be fixed by https://github.com/huggingface/datasets/pull/6550 and updated with https://github.com/huggingface/datasets/pull/6646\r\n\r\nFeel free to re-open if you're still having issues :)" ]
I_kwDODunzps59Y4me
6,621
deleted
...
CLOSED
2024-01-27T16:59:58
2024-01-27T17:14:43
2024-01-27T17:14:43
https://github.com/huggingface/datasets/issues/6621
{ "login": "kopyl" }
{ "nodes": [] }
[]
I_kwDODunzps59WuuI
6,620
wiki_dpr.py error (ID mismatch between lines {id} and vector {vec_id}
### Describe the bug I'm trying to run a rag example, and the dataset is wiki_dpr. wiki_dpr download and extracting have been completed successfully. However, at the generating train split stage, an error from wiki_dpr.py keeps popping up. Especially in "_generate_examples" : 1. The following error occurs in the...
CLOSED
2024-01-27T01:00:09
2024-02-06T09:40:19
2024-02-06T09:40:19
https://github.com/huggingface/datasets/issues/6620
{ "login": "kiehls90" }
{ "nodes": [] }
[ "Thanks for reporting, @kiehls90.\r\n\r\nAs this seems an issue with the specific \"wiki_dpr\" dataset, I am transferring the issue to the corresponding dataset page: https://huggingface.co/datasets/wiki_dpr/discussions/13" ]
I_kwDODunzps59R_am
6,618
While importing load_dataset from datasets
### Describe the bug cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' this is the error i received ### Steps to reproduce the bug from datasets import load_dataset ### Expected behavior No errors ### Environment info python 3.11.5
CLOSED
2024-01-26T09:21:57
2024-07-23T09:31:07
2024-02-06T09:25:54
https://github.com/huggingface/datasets/issues/6618
{ "login": "suprith-hub" }
{ "nodes": [] }
[ "Hi! Can you please share the error's stack trace so we can see where it comes from?", "We cannot reproduce the issue and we do not have enough information: environment info (need to run `datasets-cli env`), stack trace,...\r\n\r\nI am closing the issue. Feel free to reopen it (with additional information) if the...
I_kwDODunzps59G3Tx
6,615
...
...
CLOSED
2024-01-24T19:37:03
2024-01-24T19:42:30
2024-01-24T19:40:11
https://github.com/huggingface/datasets/issues/6615
{ "login": "ftkeys" }
{ "nodes": [] }
[ "Sorry I posted in the wrong repo, please delete.. thanks!" ]
I_kwDODunzps59Gm-o
6,614
`datasets/downloads` cleanup tool
### Feature request Splitting off https://github.com/huggingface/huggingface_hub/issues/1997 - currently `huggingface-cli delete-cache` doesn't take care of cleaning `datasets` temp files e.g. I discovered having millions of files under `datasets/downloads` cache, I had to do: ``` sudo find /data/huggingface/...
OPEN
2024-01-24T18:52:10
2024-01-24T18:55:09
null
https://github.com/huggingface/datasets/issues/6614
{ "login": "stas00" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps59DiIC
6,612
cnn_dailymail repeats itself
### Describe the bug When I try to load `cnn_dailymail` dataset, it takes longer than usual and when I checked the dataset it's 3x bigger than it's supposed to be. Check https://huggingface.co/datasets/cnn_dailymail: it says 287k rows for train. But when I check length of train split it says 861339. Also I che...
CLOSED
2024-01-24T11:38:25
2024-02-01T08:14:50
2024-02-01T08:14:50
https://github.com/huggingface/datasets/issues/6612
{ "login": "KeremZaman" }
{ "nodes": [] }
[ "Hi ! We recently updated `cnn_dailymail` and now `datasets>=2.14` is needed to load it.\r\n\r\nYou can update `datasets` with\r\n\r\n```\r\npip install -U datasets\r\n```" ]
I_kwDODunzps587n76
6,611
`load_from_disk` with large dataset from S3 runs into `botocore.exceptions.ClientError`
### Describe the bug When loading a large dataset (>1000GB) from S3 I run into the following error: ``` Traceback (most recent call last): File "/home/alp/.local/lib/python3.10/site-packages/s3fs/core.py", line 113, in _error_wrapper return await func(*args, **kwargs) File "/home/alp/.local/lib/python3....
OPEN
2024-01-23T12:37:57
2024-01-23T12:37:57
null
https://github.com/huggingface/datasets/issues/6611
{ "login": "zotroneneis" }
{ "nodes": [] }
[]
I_kwDODunzps586Pw_
6,610
cast_column to Sequence(subfeatures_dict) has err
### Describe the bug I am working with the following demo code: ``` from datasets import load_dataset from datasets.features import Sequence, Value, ClassLabel, Features ais_dataset = load_dataset("/data/ryan.gao/ais_dataset_cache/raw/1978/") ais_dataset = ais_dataset["train"] def add_class(example): ...
CLOSED
2024-01-23T09:32:32
2024-01-25T02:15:23
2024-01-25T02:15:23
https://github.com/huggingface/datasets/issues/6610
{ "login": "neiblegy" }
{ "nodes": [] }
[ "Hi! You are passing the wrong feature type to `cast_column`. This is the fixed call:\r\n```python\r\nais_dataset = ais_dataset.cast_column(\"my_labeled_bbox\", {\"bbox\": Sequence(Value(dtype=\"int64\")), \"label\": ClassLabel(names=[\"cat\", \"dog\"])})\r\n```", "> Hi! You are passing the wrong feature type to ...
I_kwDODunzps584HhS
6,609
Wrong path for cache directory in offline mode
### Describe the bug Dear huggingfacers, I'm trying to use a subset of the-stack dataset. When I run the command the first time ``` dataset = load_dataset( path='bigcode/the-stack', data_dir='data/fortran', split='train' ) ``` It downloads the files and caches them normally. Nevertheless, ...
CLOSED
2024-01-23T01:47:19
2024-02-06T17:21:25
2024-02-06T17:21:25
https://github.com/huggingface/datasets/issues/6609
{ "login": "je-santos" }
{ "nodes": [] }
[ "+1", "same error in 2.16.1", "@kongjiellx any luck with the issue?", "I opened https://github.com/huggingface/datasets/pull/6632 to fix this issue. Once it's merged we'll do a new release of `datasets`", "Thanks @lhoestq !" ]
I_kwDODunzps58lb5Y
6,605
ELI5 no longer available, but referenced in example code
Here, an example code is given: https://huggingface.co/docs/transformers/tasks/language_modeling This code + article references the ELI5 dataset. ELI5 is no longer available, as the ELI5 dataset page states: https://huggingface.co/datasets/eli5 "Defunct: Dataset "eli5" is defunct and no longer accessible due to u...
CLOSED
2024-01-19T10:21:52
2024-02-01T17:58:23
2024-02-01T17:58:22
https://github.com/huggingface/datasets/issues/6605
{ "login": "drdsgvo" }
{ "nodes": [] }
[ "Addressed in https://github.com/huggingface/transformers/pull/28715." ]
I_kwDODunzps58joEZ
6,604
Transform fingerprint collisions due to setting fixed random seed
### Describe the bug The transform fingerprinting logic relies on the `random` library for random bits when the function is not hashable (e.g. bound methods as used in `trl`: https://github.com/huggingface/trl/blob/main/trl/trainer/dpo_trainer.py#L356). This causes collisions when the training code sets a fixed random...
CLOSED
2024-01-19T06:32:25
2024-01-26T15:05:35
2024-01-26T15:05:35
https://github.com/huggingface/datasets/issues/6604
{ "login": "normster" }
{ "nodes": [] }
[ "I've opened a PR with a fix.", "I don't think the PR fixes the root cause, since it still relies on the `random` library which will often have its seed fixed. I think the builtin `uuid.uuid4()` is a better choice: https://docs.python.org/3/library/uuid.html" ]
I_kwDODunzps58hyGu
6,603
datasets map `cache_file_name` does not work
### Describe the bug In the documentation `datasets.Dataset.map` arg `cache_file_name` is said to be a string, but it doesn't work. ### Steps to reproduce the bug 1. pick a dataset 2. write a map function 3. do `ds.map(..., cache_file_name='some_filename')` 4. it crashes ### Expected behavior It will tell you t...
OPEN
2024-01-18T23:08:30
2024-01-28T04:01:15
null
https://github.com/huggingface/datasets/issues/6603
{ "login": "ChenchaoZhao" }
{ "nodes": [] }
[ "Unfortunately, I'm unable to reproduce this error. Can you share the reproducer?", "```\r\nds = datasets.Dataset.from_dict(dict(a=[i for i in range(100)]))\r\nds.map(lambda item: dict(b=item['a'] * 2), cache_file_name=\"/tmp/whatever-fn\") # this worked\r\nds.map(lambda item: dict(b=item['a'] * 2), cache_file_na...
I_kwDODunzps58hu3L
6,602
Index error when data is large
### Describe the bug At `save_to_disk` step, the `max_shard_size` by default is `500MB`. However, one row of the dataset might be larger than `500MB` then the saving will throw an index error. Without looking at the source code, the bug is due to wrong calculation of number of shards which i think is `total_size / m...
OPEN
2024-01-18T23:00:47
2025-04-16T04:13:01
null
https://github.com/huggingface/datasets/issues/6602
{ "login": "ChenchaoZhao" }
{ "nodes": [] }
[ "I'm facing this problem while doing my translation of [mteb/stackexchange-clustering](https://huggingface.co/datasets/mteb/stackexchange-clustering). each row has lots of samples (up to 100k samples), because in this dataset, each row represent multiple clusters.\nmy hack is to setting `max_shard_size` to 20Gb or ...
I_kwDODunzps58eymx
6,600
Loading CSV exported dataset has unexpected format
### Describe the bug I wanted to be able to save a HF dataset for translations and load it again in another script, but I'm a bit confused with the documentation and the result I've got so I'm opening this issue to ask if this behavior is as expected. ### Steps to reproduce the bug The documentation I've mainly cons...
OPEN
2024-01-18T14:48:27
2024-01-23T14:42:32
null
https://github.com/huggingface/datasets/issues/6600
{ "login": "OrianeN" }
{ "nodes": [] }
[ "Hi! Parquet is the only format that supports complex/nested features such as `Translation`. So, this should work:\r\n```python\r\ntest_dataset = load_dataset(\"opus100\", name=\"en-fr\", split=\"test\")\r\n\r\n# Save with .to_parquet()\r\ntest_parquet_path = \"try_testset_save.parquet\"\r\ntest_dataset.to_parquet(...
I_kwDODunzps58YEf4
6,599
Easy way to segment into 30s snippets given an m4a file and a vtt file
### Feature request Uploading datasets is straightforward thanks to the ability to push Audio to hub. However, it would be nice if the data (text and audio) could be segmented when being pushed (if not possible already). ### Motivation It's easy to create a vtt file from an audio file. If there could be auto-segment...
CLOSED
2024-01-17T17:51:40
2024-01-23T10:42:17
2024-01-22T15:35:49
https://github.com/huggingface/datasets/issues/6599
{ "login": "RonanKMcGovern" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Hi! Non-generic data processing is out of this library's scope, so it's downstream libraries/users' responsibility to implement such logic.", "That's fair. Thanks" ]
I_kwDODunzps58Ou09
6,598
Unexpected keyword argument 'hf' when downloading CSV dataset from S3
### Describe the bug I receive this error message when using `load_dataset` with "csv" path and `dataset_files=s3://...`: ``` TypeError: Session.__init__() got an unexpected keyword argument 'hf' ``` I found a similar issue here: https://stackoverflow.com/questions/77596258/aws-issue-load-dataset-from-s3-fails-w...
CLOSED
2024-01-16T15:16:01
2025-01-31T15:35:33
2024-07-23T14:30:10
https://github.com/huggingface/datasets/issues/6598
{ "login": "dguenms" }
{ "nodes": [] }
[ "I am facing similar issue while reading a csv file from s3. Wondering if somebody has found a workaround. ", "same thing happened to other formats like parquet", "I am facing similar issue while reading a parquet file from s3.\r\ni try with every version between 2.14 to 2.16.1 but it dosen't work ", "Re-def...
I_kwDODunzps58Mt5p
6,597
Dataset.push_to_hub of a canonical dataset creates an additional dataset under the user namespace
While using `Dataset.push_to_hub` of a canonical dataset, an additional dataset was created under my user namespace. ## Steps to reproduce the bug The command: ```python commit_info = ds.push_to_hub( "caner", config_name="default", commit_message="Convert dataset to Parquet", commit_descriptio...
CLOSED
2024-01-16T11:27:07
2024-02-05T12:29:37
2024-02-05T12:29:37
https://github.com/huggingface/datasets/issues/6597
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[ "It is caused by these code lines: https://github.com/huggingface/datasets/blob/9d6d16117a30ba345b0236407975f701c5b288d4/src/datasets/dataset_dict.py#L1688-L1694", "Also note the information in the docstring: https://github.com/huggingface/datasets/blob/9d6d16117a30ba345b0236407975f701c5b288d4/src/datasets/datase...
I_kwDODunzps58JnkU
6,595
Loading big dataset raises pyarrow.lib.ArrowNotImplementedError 2
### Describe the bug I'm aware of the issue #5695 . I'm using a modified SDXL trainer: https://github.com/kopyl/diffusers/blob/5e70f604155aeecee254a5c63c5e4236ad4a0d3d/examples/text_to_image/train_text_to_image_sdxl.py#L1027C16-L1027C16 So i 1. Map dataset 2. Save to disk 3. Try to upload: ``` import data...
CLOSED
2024-01-16T02:03:09
2024-01-27T18:26:33
2024-01-26T02:28:32
https://github.com/huggingface/datasets/issues/6595
{ "login": "kopyl" }
{ "nodes": [] }
[ "Hi ! I think the issue comes from the \"float16\" features that are not supported yet in Parquet\r\n\r\nFeel free to open an issue in `pyarrow` about this. In the meantime, I'd encourage you to use \"float32\" for your \"pooled_prompt_embeds\" and \"prompt_embeds\" features.\r\n\r\nYou can cast them to \"float32\"...
I_kwDODunzps58JDdz
6,594
IterableDataset sharding logic needs improvement
### Describe the bug The sharding of IterableDatasets with respect to distributed and dataloader worker processes appears problematic with significant performance traps and inconsistencies wrt to distributed train processes vs worker processes. Splitting across num_workers (per train process loader processes) and...
OPEN
2024-01-15T22:22:36
2025-11-10T14:55:20
null
https://github.com/huggingface/datasets/issues/6594
{ "login": "rwightman" }
{ "nodes": [] }
[ "I do not know is it the same probelm as mine. I think the num_workers should a value of process number for one dataloader mapped to one card, or the total number of processes for all multiple cards. \r\nbut when I set the num_workers larger then the count of training split files, it will report num_workers ...
I_kwDODunzps58Hw8R
6,592
Logs are delayed when doing .map when `docker logs`
### Describe the bug When I run my SD training in a Docker image and then listen to logs like `docker logs train -f`, the progress bar is delayed. It's updating every few percent. When you have a large dataset that has to be mapped (like 1+ million samples), it's crucial to see the updates in real-time, not every co...
CLOSED
2024-01-15T17:05:21
2024-02-12T17:35:21
2024-02-12T17:35:21
https://github.com/huggingface/datasets/issues/6592
{ "login": "kopyl" }
{ "nodes": [] }
[ "Hi! `tqdm` doesn't work well in non-interactive environments, so there isn't much we can do about this. It's best to [disable it](https://huggingface.co/docs/datasets/v2.16.1/en/package_reference/utilities#datasets.disable_progress_bars) in such environments and instead use logging to track progress." ]
I_kwDODunzps58HpTN
6,591
The datasets models housed in Dropbox can't support a lot of users downloading them
### Describe the bug I'm using the datasets ``` from datasets import load_dataset, Audio dataset = load_dataset("PolyAI/minds14", name="en-US", split="train") ``` And it seems that sometimes when I imagine a lot of users are accessing the same resources, the Dropbox host fails: `raise ConnectionError(...
CLOSED
2024-01-15T16:43:38
2024-01-22T23:18:09
2024-01-22T23:18:09
https://github.com/huggingface/datasets/issues/6591
{ "login": "RDaneelOlivav" }
{ "nodes": [] }
[ "Hi! Indeed, Dropbox is not a reliable host. I've just merged https://huggingface.co/datasets/PolyAI/minds14/discussions/24 to fix this by hosting the data files inside the repo." ]
I_kwDODunzps58GMzU
6,590
Feature request: Multi-GPU dataset mapping for SDXL training
### Feature request We need to speed up SDXL dataset pre-process. Please make it possible to use multiple GPUs for the [official SDXL trainer](https://github.com/huggingface/diffusers/blob/main/examples/text_to_image/train_text_to_image_sdxl.py) :) ### Motivation Pre-computing 3 million of images takes around ...
OPEN
2024-01-15T13:06:06
2024-01-15T13:07:07
null
https://github.com/huggingface/datasets/issues/6590
{ "login": "kopyl" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps58DwMb
6,589
After `2.16.0` version, there are `PermissionError` when users use shared cache_dir
### Describe the bug - We use shared `cache_dir` using `HF_HOME="{shared_directory}"` - After dataset version 2.16.0, datasets uses `filelock` package for file locking #6445 - But, `filelock` package make `.lock` file with `644` permission - Dataset is not available to other users except the user who created the ...
CLOSED
2024-01-15T06:46:27
2024-02-02T07:55:38
2024-01-30T15:28:38
https://github.com/huggingface/datasets/issues/6589
{ "login": "minhopark-neubla" }
{ "nodes": [] }
[ "We'll do a new release of `datasets` in the coming days with a fix !", "@lhoestq Thank you very much!" ]
I_kwDODunzps58DeCd
6,588
fix os.listdir return name is empty string
### Describe the bug xlistdir return name is empty string Overloaded os.listdir ### Steps to reproduce the bug ```python from datasets.download.streaming_download_manager import xjoin from datasets.download.streaming_download_manager import xlistdir config = DownloadConfig(storage_options=options) manger = Str...
CLOSED
2024-01-15T05:34:36
2024-01-24T10:08:29
2024-01-24T10:08:29
https://github.com/huggingface/datasets/issues/6588
{ "login": "d710055071" }
{ "nodes": [] }
[]
I_kwDODunzps576RmV
6,585
losing DatasetInfo in Dataset.map when num_proc > 1
### Describe the bug Hello and thanks for developing this package! When I process a Dataset with the map function using multiple processors some set attributes of the DatasetInfo get lost and are None in the resulting Dataset. ### Steps to reproduce the bug ```python from datasets import Dataset, DatasetInfo...
OPEN
2024-01-12T13:39:19
2024-01-12T14:08:24
null
https://github.com/huggingface/datasets/issues/6585
{ "login": "JochenSiegWork" }
{ "nodes": [] }
[ "Hi ! This issue comes from the fact that `map()` with `num_proc>1` shards the dataset in multiple chunks to be processed (one per process) and merges them. The DatasetInfos of each chunk are then merged together, but for some fields like `dataset_name` it's not been implemented and default to None.\r\n\r\nThe Data...
I_kwDODunzps574rRe
6,584
np.fromfile not supported
How to do np.fromfile to use it like np.load ```python def xnumpy_fromfile(filepath_or_buffer, *args, download_config: Optional[DownloadConfig] = None, **kwargs): import numpy as np if hasattr(filepath_or_buffer, "read"): return np.fromfile(filepath_or_buffer, *args, **kwargs) else: ...
OPEN
2024-01-12T09:46:17
2024-01-15T05:20:50
null
https://github.com/huggingface/datasets/issues/6584
{ "login": "d710055071" }
{ "nodes": [] }
[ "@lhoestq\r\nCan you provide me with some ideas?", "Hi ! What's the error ?", "@lhoestq \r\n```\r\nTraceback (most recent call last):\r\n File \"/home/dongzf/miniconda3/envs/dataset_ai/lib/python3.11/runpy.py\", line 198, in _run_module_as_main\r\n return _run_code(code, main_globals, None,\r\n ^^...
I_kwDODunzps57t9Ry
6,580
dataset cache only stores one config of the dataset in parquet dir, and uses that for all other configs resulting in showing same data in all configs.
### Describe the bug ds = load_dataset("ai2_arc", "ARC-Easy"), i have tried to force redownload, delete cache and changing the cache dir. ### Steps to reproduce the bug dataset = [] dataset_name = "ai2_arc" possible_configs = [ 'ARC-Challenge', 'ARC-Easy' ] for config in possible_configs: data...
CLOSED
2024-01-11T03:14:18
2024-01-20T12:46:16
2024-01-20T12:46:16
https://github.com/huggingface/datasets/issues/6580
{ "login": "kartikgupta321" }
{ "nodes": [] }
[]
I_kwDODunzps57tDRx
6,579
Unable to load `eli5` dataset with streaming
### Describe the bug Unable to load `eli5` dataset with streaming. ### Steps to reproduce the bug This fails with FileNotFoundError: https://files.pushshift.io/reddit/submissions ``` from datasets import load_dataset load_dataset("eli5", streaming=True) ``` This works correctly. ``` from datasets import lo...
CLOSED
2024-01-10T23:44:20
2024-01-11T09:19:18
2024-01-11T09:19:17
https://github.com/huggingface/datasets/issues/6579
{ "login": "haok1402" }
{ "nodes": [] }
[ "Hi @haok1402, I have created an issue in the Discussion tab of the corresponding dataset: https://huggingface.co/datasets/eli5/discussions/7\r\nLet's continue the discussion there!" ]
I_kwDODunzps57qsvA
6,577
502 Server Errors when streaming large dataset
### Describe the bug When streaming a [large ASR dataset](https://huggingface.co/datasets/sanchit-gandhi/concatenated-train-set) from the Hug (~3TB) I often encounter 502 Server Errors seemingly randomly during streaming: ``` huggingface_hub.utils._errors.HfHubHTTPError: 502 Server Error: Bad Gateway for url: http...
CLOSED
2024-01-10T16:59:36
2024-02-12T11:46:03
2024-01-15T16:05:44
https://github.com/huggingface/datasets/issues/6577
{ "login": "sanchit-gandhi" }
{ "nodes": [ { "name": "streaming" } ] }
[ "cc @mariosasko @lhoestq ", "Hi! We should be able to avoid this error by retrying to read the data when it happens. I'll open a PR in `huggingface_hub` to address this.", "Thanks for the fix @mariosasko! Just wondering whether \"500 error\" should also be excluded? I got these errors overnight:\r\n\r\n```\r\nh...
I_kwDODunzps57mk4s
6,576
document page 404 not found after redirection
### Describe the bug The redirected page encountered 404 not found. ### Steps to reproduce the bug 1. In this tutorial: https://huggingface.co/learn/nlp-course/chapter5/4?fw=pt original md: https://github.com/huggingface/course/blob/2c733c2246b8b7e0e6f19a9e5d15bb12df43b2a3/chapters/en/chapter5/4.mdx#L49 `...
CLOSED
2024-01-10T06:48:14
2024-01-17T14:01:31
2024-01-17T14:01:31
https://github.com/huggingface/datasets/issues/6576
{ "login": "annahung31" }
{ "nodes": [] }
[ "Thanks for reporting! I've opened a PR with a fix." ]
I_kwDODunzps57geeY
6,571
Make DatasetDict.column_names return a list instead of dict
Currently, `DatasetDict.column_names` returns a dict, with each split name as keys and the corresponding list of column names as values. However, by construction, all splits have the same column names. I think it makes more sense to return a single list with the column names, which is the same for all the split k...
OPEN
2024-01-09T10:45:17
2025-09-22T08:47:53
null
https://github.com/huggingface/datasets/issues/6571
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Hi @albertvillanova, can I work on this issue?" ]
I_kwDODunzps57fT1R
6,570
No online docs for 2.16 release
We do not have the online docs for the latest minor release 2.16 (2.16.0 nor 2.16.1). In the online docs, the latest version appearing is 2.15.0: https://huggingface.co/docs/datasets/index ![Screenshot from 2024-01-09 08-43-08](https://github.com/huggingface/datasets/assets/8515462/83613222-867f-41f4-8833-7a4a765...
CLOSED
2024-01-09T07:43:30
2024-01-09T16:45:50
2024-01-09T16:45:50
https://github.com/huggingface/datasets/issues/6570
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" }, { "name": "documentation" } ] }
[ "Though the `build / build_main_documentation` CI job ran for 2.16.0: https://github.com/huggingface/datasets/actions/runs/7300836845/job/19896275099 🤔 ", "Yes, I saw it. Maybe @mishig25 can give us some hint...", "fixed https://huggingface.co/docs/datasets/v2.16.0/en/index", "Still missing 2.16.1.", "> St...
I_kwDODunzps57ZYZy
6,569
WebDataset ignores features defined in YAML or passed to load_dataset
we should not override if the features exist already https://github.com/huggingface/datasets/blob/d26abadce0b884db32382b92422d8a6aa997d40a/src/datasets/packaged_modules/webdataset/webdataset.py#L78-L85
CLOSED
2024-01-08T11:24:21
2024-01-11T16:11:06
2024-01-11T16:11:05
https://github.com/huggingface/datasets/issues/6569
{ "login": "lhoestq" }
{ "nodes": [] }
[]
I_kwDODunzps57YIFn
6,568
keep_in_memory=True does not seem to work
UPD: [Fixed](https://github.com/huggingface/datasets/issues/6568#issuecomment-1880817794) . But a new issue came up :(
OPEN
2024-01-08T08:03:58
2024-01-13T04:53:04
null
https://github.com/huggingface/datasets/issues/6568
{ "login": "kopyl" }
{ "nodes": [] }
[ "Seems like I just used the old code which did not have `keep_in_memory=True` argument, sorry.\r\n\r\nAlthough i encountered a different problem – at 97% my python process just hung for around 11 minutes with no logs (when running dataset.map without `keep_in_memory=True` over around 3 million of dataset samples).....
I_kwDODunzps57XsbK
6,567
AttributeError: 'str' object has no attribute 'to'
### Describe the bug ``` -------------------------------------------------------------------------- AttributeError Traceback (most recent call last) [<ipython-input-6-80c6086794e8>](https://localhost:8080/#) in <cell line: 10>() 8 report_to="wandb") 9 ---> 10 trainer =...
CLOSED
2024-01-08T06:40:21
2024-01-08T11:56:19
2024-01-08T10:03:17
https://github.com/huggingface/datasets/issues/6567
{ "login": "andysingal" }
{ "nodes": [] }
[ "I think you are reporting an issue with the `transformers` library. Note this is the repository of the `datasets` library. I recommend that you open an issue in their repository: https://github.com/huggingface/transformers/issues\r\n\r\nEDIT: I have not the rights to transfer the issue\r\n~~I am transferring your ...
I_kwDODunzps57Wf6F
6,566
I train controlnet_sdxl in bf16 datatype, got unsupported ERROR in datasets
### Describe the bug ``` Traceback (most recent call last): File "train_controlnet_sdxl.py", line 1252, in <module> main(args) File "train_controlnet_sdxl.py", line 1013, in main train_dataset = train_dataset.map(compute_embeddings_fn, batched=True, new_fingerprint=new_fingerprint) File "/home/mini...
CLOSED
2024-01-08T02:37:03
2024-06-02T14:24:39
2024-05-17T09:40:14
https://github.com/huggingface/datasets/issues/6566
{ "login": "HelloWorldBeginner" }
{ "nodes": [ { "name": "bug" } ] }
[ "I also see the same error and get passed it by casting that line to float. \r\n\r\nso `for x in obj.detach().cpu().numpy()` becomes `for x in obj.detach().to(torch.float).cpu().numpy()`\r\n\r\nI got the idea from [this ](https://github.com/kohya-ss/sd-webui-additional-networks/pull/128/files) PR where someone was...
I_kwDODunzps57UYOW
6,565
`drop_last_batch=True` for IterableDataset map function is ignored with multiprocessing DataLoader
### Describe the bug Scenario: - Interleaving two iterable datasets of unequal lengths (`all_exhausted`), followed by a batch mapping with batch size 2 to effectively merge the two datasets and get a sample from each dataset in a single batch, with `drop_last_batch=True` to skip the last batch in case it doesn't ha...
CLOSED
2024-01-07T02:46:50
2025-03-08T09:46:05
2024-01-11T16:10:31
https://github.com/huggingface/datasets/issues/6565
{ "login": "naba89" }
{ "nodes": [] }
[ "My current workaround this issue is to return `None` in the second element and then filter out samples which have `None` in them.\r\n\r\n```python\r\ndef merge_samples(batch):\r\n if len(batch['a']) == 1:\r\n batch['c'] = [batch['a'][0]]\r\n batch['d'] = [None]\r\n else:\r\n batch['c'] ...
I_kwDODunzps57UM4K
6,564
`Dataset.filter` missing `with_rank` parameter
### Describe the bug The issue shall be open: https://github.com/huggingface/datasets/issues/6435 When i try to pass `with_rank` to `Dataset.filter()`, i get this: `Dataset.filter() got an unexpected keyword argument 'with_rank'` ### Steps to reproduce the bug Run notebook: https://colab.research.google.com...
CLOSED
2024-01-06T23:48:13
2024-01-29T16:36:55
2024-01-29T16:36:54
https://github.com/huggingface/datasets/issues/6564
{ "login": "kopyl" }
{ "nodes": [] }
[ "Thanks for reporting! I've opened a PR with a fix", "@mariosasko thank you very much :)" ]
I_kwDODunzps57R8pC
6,563
`ImportError`: cannot import name 'insecure_hashlib' from 'huggingface_hub.utils' (.../huggingface_hub/utils/__init__.py)
### Describe the bug Yep its not [there](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/__init__.py) anymore. ```text + python /home/trainer/sft_train.py --model_name cognitivecomputations/dolphin-2.2.1-mistral-7b --dataset_name wasertech/OneOS --load_in_4bit --use_peft --batch_...
CLOSED
2024-01-06T02:28:54
2024-03-14T02:59:42
2024-01-06T16:13:27
https://github.com/huggingface/datasets/issues/6563
{ "login": "wasertech" }
{ "nodes": [] }
[ "@Wauplin Do you happen to know what's up?", "<del>Installing `datasets` from `main` did the trick so I guess it will be fixed in the next release.\r\n\r\nNVM https://github.com/huggingface/datasets/blob/d26abadce0b884db32382b92422d8a6aa997d40a/src/datasets/utils/info_utils.py#L5", "@wasertech upgrading `huggin...
I_kwDODunzps57Qbf4
6,562
datasets.DownloadMode.FORCE_REDOWNLOAD use cache to download dataset features with load_dataset function
### Describe the bug I have updated my dataset by adding a new feature, and push it to the hub. When I want to download it on my machine which contain the old version by using `datasets.load_dataset("your_dataset_name", download_mode=datasets.DownloadMode.FORCE_REDOWNLOAD)` I get an error (paste bellow). Seems that...
OPEN
2024-01-05T19:10:25
2024-01-05T19:10:25
null
https://github.com/huggingface/datasets/issues/6562
{ "login": "LsTam91" }
{ "nodes": [] }
[]
I_kwDODunzps57OhiX
6,561
Document YAML configuration with "data_dir"
See https://huggingface.co/datasets/uonlp/CulturaX/discussions/15#6597e83f185db94370d6bf50 for reference
CLOSED
2024-01-05T14:03:33
2026-04-09T10:40:24
2026-04-09T10:40:24
https://github.com/huggingface/datasets/issues/6561
{ "login": "severo" }
{ "nodes": [ { "name": "documentation" } ] }
[ "In particular, I would like to have an example of how to replace the following configuration (from https://huggingface.co/docs/hub/datasets-manual-configuration#splits)\r\n\r\n```\r\n---\r\nconfigs:\r\n- config_name: default\r\n data_files:\r\n - split: train\r\n path: \"data/*.csv\"\r\n - split: test\r\n ...
I_kwDODunzps57HyD5
6,560
Support Video
### Feature request HF datasets are awesome in supporting text and images. Will be great to see such a support in videos :) ### Motivation Video generation :) ### Your contribution Will probably be limited to raising this feature request ;)
CLOSED
2024-01-04T13:10:58
2024-08-23T09:51:27
2024-08-23T09:51:27
https://github.com/huggingface/datasets/issues/6560
{ "login": "yuvalkirstain" }
{ "nodes": [ { "name": "duplicate" }, { "name": "enhancement" } ] }
[ "duplicate of #5225" ]
I_kwDODunzps57FzR8
6,559
Latest version 2.16.1, when load dataset error occurs. ValueError: BuilderConfig 'allenai--c4' not found. Available: ['default']
### Describe the bug python script is: ``` from datasets import load_dataset cache_dir = 'path/to/your/cache/directory' dataset = load_dataset('allenai/c4','allenai--c4', data_files={'train': 'en/c4-train.00000-of-01024.json.gz'}, split='train', use_auth_token=False, cache_dir=cache_dir) ``` the script su...
CLOSED
2024-01-04T07:04:48
2024-04-03T10:40:53
2024-01-05T01:26:25
https://github.com/huggingface/datasets/issues/6559
{ "login": "zhulinJulia24" }
{ "nodes": [] }
[ "Hi ! The \"allenai--c4\" config doesn't exist (this naming schema comes from old versions of `datasets`)\r\n\r\nYou can load it this way instead:\r\n\r\n```python\r\nfrom datasets import load_dataset\r\ncache_dir = 'path/to/your/cache/directory'\r\ndataset = load_dataset('allenai/c4', data_files={'train': 'en/c4-t...
I_kwDODunzps57E6jg
6,558
OSError: image file is truncated (1 bytes not processed) #28323
### Describe the bug ``` --------------------------------------------------------------------------- OSError Traceback (most recent call last) Cell In[24], line 28 23 return example 25 # Filter the dataset 26 # filtered_dataset = dataset.filter(contains_number...
CLOSED
2024-01-04T02:15:13
2024-02-21T00:38:12
2024-02-21T00:38:12
https://github.com/huggingface/datasets/issues/6558
{ "login": "andysingal" }
{ "nodes": [] }
[ "You can add \r\n\r\n```python\r\nfrom PIL import ImageFile\r\nImageFile.LOAD_TRUNCATED_IMAGES = True\r\n```\r\n\r\nafter the imports to be able to read truncated images." ]
I_kwDODunzps57A7Ks
6,554
Parquet exports are used even if revision is passed
We should not used Parquet exports if `revision` is passed. I think this is a regression.
CLOSED
2024-01-03T11:32:26
2024-02-02T10:35:29
2024-02-02T10:35:29
https://github.com/huggingface/datasets/issues/6554
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[ "I don't think this bug is a thing ? Do you have some code that leads to this issue ?" ]
I_kwDODunzps56_h4H
6,553
Cannot import name 'load_dataset' from .... module ‘datasets’
### Describe the bug use python -m pip install datasets to install ### Steps to reproduce the bug from datasets import load_dataset ### Expected behavior it doesn't work ### Environment info datasets version==2.15.0 python == 3.10.12 linux version I don't know??
CLOSED
2024-01-03T08:18:21
2024-02-21T00:38:24
2024-02-21T00:38:24
https://github.com/huggingface/datasets/issues/6553
{ "login": "ciaoyizhen" }
{ "nodes": [] }
[ "I don't know My conpany conputer cannot work. but in my computer, it work?", "Do you have a folder in your working directory called datasets?" ]
I_kwDODunzps56-UfD
6,552
Loading a dataset from Google Colab hangs at "Resolving data files".
### Describe the bug Hello, I'm trying to load a dataset from Google Colab but the process hangs at `Resolving data files`: ![image](https://github.com/huggingface/datasets/assets/99779/7175ad85-e571-46ed-9f87-92653985777d) It is happening when the `_get_origin_metadata` definition is invoked: ```python d...
CLOSED
2024-01-03T02:18:17
2024-01-08T10:09:04
2024-01-08T10:09:04
https://github.com/huggingface/datasets/issues/6552
{ "login": "thomasmansencal" }
{ "nodes": [] }
[ "This bug comes from the `huggingface_hub` library, see: https://github.com/huggingface/huggingface_hub/issues/1952\r\n\r\nA fix is provided at https://github.com/huggingface/huggingface_hub/pull/1953. Feel free to install `huggingface_hub` from this PR, or wait for it to be merged and the new version of `huggingfa...
I_kwDODunzps567gkj
6,549
Loading from hf hub with clearer error message
### Feature request Shouldn't this kinda work ? ``` Dataset.from_json("hf://datasets/HuggingFaceTB/eval_data/resolve/main/eval_data_context_and_answers.json") ``` I got an error ``` File ~/miniconda3/envs/datatrove/lib/python3.10/site-packages/datasets/data_files.py:380, in resolve_pattern(pattern, base_path, al...
OPEN
2024-01-02T13:26:34
2024-01-02T14:06:49
null
https://github.com/huggingface/datasets/issues/6549
{ "login": "thomwolf" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Maybe we can add a helper message like `Maybe try again using \"hf://path/without/resolve\"` if the path contains `/resolve/` ?\r\n\r\ne.g.\r\n\r\n```\r\nFileNotFoundError: Unable to find 'hf://datasets/HuggingFaceTB/eval_data/resolve/main/eval_data_context_and_answers.json'\r\nIt looks like you used parts of the ...
I_kwDODunzps562Riw
6,548
Skip if a dataset has issues
### Describe the bug Hello everyone, I'm using **load_datasets** from **huggingface** to download the datasets and I'm facing an issue, the download starts but it reaches some state and then fails with the following error: Couldn't reach https://huggingface.co/datasets/wikimedia/wikipedia/resolve/4cb9b0d719291f1a10...
OPEN
2023-12-31T12:41:26
2024-01-02T10:33:17
null
https://github.com/huggingface/datasets/issues/6548
{ "login": "hadianasliwa" }
{ "nodes": [] }
[ "It looks like a transient DNS issue. It should work fine now if you try again.\r\n\r\nThere is no parameter in load_dataset to skip failed downloads. In your case it would have skipped every single subsequent download until the DNS issue was resolved anyway." ]
I_kwDODunzps561ScD
6,545
`image` column not automatically inferred if image dataset only contains 1 image
### Describe the bug By default, the standard Image Dataset maps out `file_name` to `image` when loading an Image Dataset. However, if the dataset contains only 1 image, this does not take place ### Steps to reproduce the bug Input (dataset with one image `multimodalart/repro_1_image`) ```py from data...
CLOSED
2023-12-30T16:17:29
2024-01-09T13:06:31
2024-01-09T13:06:31
https://github.com/huggingface/datasets/issues/6545
{ "login": "apolinario" }
{ "nodes": [] }
[]
I_kwDODunzps56vOBv
6,542
Datasets : wikipedia 20220301.en error
### Describe the bug When I used load_dataset to download this data set, the following error occurred. The main problem was that the target data did not exist. ### Steps to reproduce the bug 1.I tried downloading directly. ```python wiki_dataset = load_dataset("wikipedia", "20220301.en") ``` An exception occurre...
CLOSED
2023-12-29T08:34:51
2024-01-02T13:21:06
2024-01-02T13:20:30
https://github.com/huggingface/datasets/issues/6542
{ "login": "ppx666" }
{ "nodes": [] }
[ "Hi ! We now recommend using the `wikimedia/wikipedia` dataset, can you try loading this one instead ?\r\n\r\n```python\r\nwiki_dataset = load_dataset(\"wikimedia/wikipedia\", \"20231101.en\")\r\n```", "This bug has been fixed in `2.16.1` thanks to https://github.com/huggingface/datasets/pull/6544, feel free to ...
I_kwDODunzps56uZmS
6,541
Dataset not loading successfully.
### Describe the bug When I run down the below code shows this error: AttributeError: module 'numpy' has no attribute '_no_nep50_warning' I also added this issue in transformers library please check out: [link](https://github.com/huggingface/transformers/issues/28099) ### Steps to reproduce the bug ## Reproduction ...
CLOSED
2023-12-29T01:35:47
2024-01-17T00:40:46
2024-01-17T00:40:45
https://github.com/huggingface/datasets/issues/6541
{ "login": "hisushanta" }
{ "nodes": [] }
[ "This is a problem with your environment. You should be able to fix it by upgrading `numpy` based on [this](https://github.com/numpy/numpy/issues/23570) issue.", "Bro I already update numpy package.", "Then, this shouldn't throw an error on your machine:\r\n```python\r\nimport numpy\r\nnumpy._no_nep50_warning\r...
I_kwDODunzps56uVCl
6,540
Extreme inefficiency for `save_to_disk` when merging datasets
### Describe the bug Hi, I tried to merge in total 22M sequences of data, where each sequence is of maximum length 2000. I found that merging these datasets and then `save_to_disk` is extremely slow because of flattening the indices. Wondering if you have any suggestions or guidance on this. Thank you very much! ###...
OPEN
2023-12-29T00:44:35
2023-12-30T15:05:48
null
https://github.com/huggingface/datasets/issues/6540
{ "login": "KatarinaYuan" }
{ "nodes": [] }
[ "Concatenating datasets doesn't create any indices mapping - so flattening indices is not needed (unless you shuffle the dataset).\r\nCan you share the snippet of code you are using to merge your datasets and save them to disk ?" ]
I_kwDODunzps56siAI
6,539
'Repo card metadata block was not found' when loading a pragmeval dataset
### Describe the bug I can't load dataset subsets of 'pragmeval'. The funny thing is I ran the dataset author's [colab notebook](https://colab.research.google.com/drive/1sg--LF4z7XR1wxAOfp0-3d4J6kQ9nj_A?usp=sharing) and it works just fine. I tried to install exactly the same packages that are installed on colab usi...
OPEN
2023-12-28T14:18:25
2023-12-28T14:18:37
null
https://github.com/huggingface/datasets/issues/6539
{ "login": "lambdaofgod" }
{ "nodes": [] }
[]
I_kwDODunzps56oRde
6,538
ImportError: cannot import name 'SchemaInferenceError' from 'datasets.arrow_writer' (/opt/conda/lib/python3.10/site-packages/datasets/arrow_writer.py)
### Describe the bug While importing from packages getting the error Code: ``` import os import torch from datasets import load_dataset, Dataset from transformers import ( AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig, HfArgumentParser, TrainingArguments, pipeline, ...
CLOSED
2023-12-27T13:31:16
2024-01-03T10:06:47
2024-01-03T10:04:58
https://github.com/huggingface/datasets/issues/6538
{ "login": "Sonali-Behera-TRT" }
{ "nodes": [] }
[ "Hi ! Are you sure you have `datasets` 2.16 ? I just checked and on 2.16 I can run `from datasets.arrow_writer import SchemaInferenceError` without error", "I have the same issue - using with datasets version 2.16.1. Also this is on a kaggle notebook - other people with the same issue also seem to be having it on...
I_kwDODunzps56nViN
6,537
Adding support for netCDF (*.nc) files
### Feature request netCDF (*.nc) is a file format for storing multidimensional scientific data, which is used by packages like `xarray` (labelled multi-dimensional arrays in Python). It would be nice to have native support for netCDF in `datasets`. ### Motivation When uploading *.nc files onto Huggingface Hub throu...
OPEN
2023-12-27T09:27:29
2023-12-27T20:46:53
null
https://github.com/huggingface/datasets/issues/6537
{ "login": "shermansiu" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Related to #3113 ", "Conceptually, we can use xarray to load the netCDF file, then xarray -> pandas -> pyarrow.", "I'd still need to verify that such a conversion would be lossless, especially for multi-dimensional data." ]
I_kwDODunzps56mT4H
6,536
datasets.load_dataset raises FileNotFoundError for datasets==2.16.0
### Describe the bug Seems `datasets.load_dataset` raises FileNotFoundError for some hub datasets with the latest `datasets==2.16.0` ### Steps to reproduce the bug For example `pip install datasets==2.16.0` then ```python import datasets datasets.load_dataset("wentingzhao/anthropic-hh-first-prompt", cache_di...
CLOSED
2023-12-27T03:15:48
2023-12-30T18:58:04
2023-12-30T15:54:00
https://github.com/huggingface/datasets/issues/6536
{ "login": "ArvinZhuang" }
{ "nodes": [] }
[ "Hi ! Thanks for reporting\r\n\r\nThis is a bug in 2.16.0 for some datasets when `cache_dir` is a relative path. I opened https://github.com/huggingface/datasets/pull/6543 to fix this", "We just released 2.16.1 with a fix:\r\n\r\n```\r\npip install -U datasets\r\n```" ]
I_kwDODunzps56kBqT
6,535
IndexError: Invalid key: 47682 is out of bounds for size 0 while using PEFT
### Describe the bug I am trying to fine-tune the t5 model on the paraphrasing task. While running the same code without- model = get_peft_model(model, config) the model trains without any issues. However, using the model returned from get_peft_model raises the following error due to datasets- IndexError: Inv...
OPEN
2023-12-26T10:14:33
2024-02-05T08:42:31
null
https://github.com/huggingface/datasets/issues/6535
{ "login": "MahavirDabas18" }
{ "nodes": [] }
[ "@sabman @pvl @kashif @vigsterkr ", "This is surely the same issue as https://discuss.huggingface.co/t/indexerror-invalid-key-16-is-out-of-bounds-for-size-0/14298/25 that comes from the `transformers` `Trainer`. You should add `remove_unused_columns=False` to `TrainingArguments`\r\n\r\nAlso check your logs: the `...
I_kwDODunzps56jBv0
6,534
How to configure multiple folders in the same zip package
How should I write "config" in readme when all the data, such as train test, is in a zip file train floder and test floder in data.zip
OPEN
2023-12-26T03:56:20
2023-12-26T06:31:16
null
https://github.com/huggingface/datasets/issues/6534
{ "login": "d710055071" }
{ "nodes": [] }
[ "@albertvillanova" ]
I_kwDODunzps56iv0N
6,533
ted_talks_iwslt | Error: Config name is missing
### Describe the bug Running load_dataset using the newest `datasets` library like below on the ted_talks_iwslt using year pair data will throw an error "Config name is missing" see also: https://huggingface.co/datasets/ted_talks_iwslt/discussions/3 likely caused by #6493, where the `and not config_kwargs` part...
CLOSED
2023-12-26T00:38:18
2023-12-30T18:58:21
2023-12-30T16:09:50
https://github.com/huggingface/datasets/issues/6533
{ "login": "rayliuca" }
{ "nodes": [] }
[ "Hi ! Thanks for reporting. I opened https://github.com/huggingface/datasets/pull/6544 to fix this", "We just released 2.16.1 with a fix:\r\n\r\n```\r\npip install -U datasets\r\n```" ]
I_kwDODunzps56hnFh
6,532
[Feature request] Indexing datasets by a customly-defined id field to enable random access dataset items via the id
### Feature request Some datasets may contain an id-like field, for example the `id` field in [wikimedia/wikipedia](https://huggingface.co/datasets/wikimedia/wikipedia) and the `_id` field in [BeIR/dbpedia-entity](https://huggingface.co/datasets/BeIR/dbpedia-entity). HF datasets support efficient random access via r...
OPEN
2023-12-25T11:37:10
2025-05-05T13:25:24
null
https://github.com/huggingface/datasets/issues/6532
{ "login": "Yu-Shi" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "You can simply use a python dict as index:\r\n\r\n```python\r\n>>> from datasets import load_dataset\r\n>>> ds = load_dataset(\"BeIR/dbpedia-entity\", \"corpus\", split=\"corpus\")\r\n>>> index = {key: idx for idx, key in enumerate(ds[\"_id\"])}\r\n>>> ds[index[\"<dbpedia:Pikachu>\"]]\r\n{'_id': '<dbpedia:Pikachu>...
I_kwDODunzps56egdJ
6,530
Impossible to save a mapped dataset to disk
### Describe the bug I want to play around with different hyperparameters when training but don't want to re-map my dataset with 3 million samples each time for tens of hours when I [fully fine-tune SDXL](https://github.com/huggingface/diffusers/blob/main/examples/text_to_image/train_text_to_image_sdxl.py). After...
OPEN
2023-12-23T15:18:27
2023-12-24T09:40:30
null
https://github.com/huggingface/datasets/issues/6530
{ "login": "kopyl" }
{ "nodes": [] }
[ "I solved it with `train_dataset.with_format(None)`\r\nBut then faced some more issues (which i later solved too).\r\n\r\nHuggingface does not seem to care, so I do. Here is an updated training script which saves a pre-processed (mapped) dataset to your local directory if you specify `--save_precomputed_data_dir=DI...
I_kwDODunzps56cL-p
6,529
Impossible to only download a test split
I've spent a significant amount of time trying to locate the split object inside my _split_generators() custom function. Then after diving [in the code](https://github.com/huggingface/datasets/blob/5ff3670c18ed34fa8ddfa70a9aa403ae6cc9ad54/src/datasets/load.py#L2558) I realized that `download_and_prepare` is executed b...
OPEN
2023-12-22T16:56:32
2024-02-02T00:05:04
null
https://github.com/huggingface/datasets/issues/6529
{ "login": "ysig" }
{ "nodes": [] }
[ "The only way right now is to load with streaming=True", "This feature has been proposed for a long time. I'm looking forward to the implementation. On clusters `streaming=True` is not an option since we do not have Internet on compute nodes. See: https://github.com/huggingface/datasets/discussions/1896#discussio...
I_kwDODunzps56X3VX
6,524
Streaming the Pile: Missing Files
### Describe the bug The pile does not stream, a "File not Found error" is returned. It looks like the Pile's files have been moved. ### Steps to reproduce the bug To reproduce run the following code: ``` from datasets import load_dataset dataset = load_dataset('EleutherAI/pile', 'en', split='train', streamin...
CLOSED
2023-12-21T21:25:09
2026-04-24T08:36:44
2023-12-22T09:17:05
https://github.com/huggingface/datasets/issues/6524
{ "login": "FelixLabelle" }
{ "nodes": [] }
[ "Hello @FelixLabelle,\r\n\r\nAs you can see in the Community tab of the corresponding dataset, it is a known issue: https://huggingface.co/datasets/EleutherAI/pile/discussions/15\r\n\r\nThe data has been taken down due to reported copyright infringement.\r\n\r\nFeel free to continue the discussion there.", "Gener...
I_kwDODunzps56VBvw
6,522
Loading HF Hub Dataset (private org repo) fails to load all features
### Describe the bug When pushing a `Dataset` with multiple `Features` (`input`, `output`, `tags`) to Huggingface Hub (private org repo), and later downloading the `Dataset`, only `input` and `output` load - I believe the expected behavior is for all `Features` to be loaded by default? ### Steps to reproduce the ...
OPEN
2023-12-21T12:26:35
2023-12-21T13:24:31
null
https://github.com/huggingface/datasets/issues/6522
{ "login": "versipellis" }
{ "nodes": [] }
[]
I_kwDODunzps56Uomi
6,521
The order of the splits is not preserved
We had a regression and the order of the splits is not preserved. They are alphabetically sorted, instead of preserving original "train", "validation", "test" order. Check: In branch "main" ```python In [9]: dataset = load_dataset("adversarial_qa", '"adversarialQA") In [10]: dataset Out[10]: DatasetDict({ ...
CLOSED
2023-12-21T11:17:27
2023-12-22T11:36:15
2023-12-22T11:36:15
https://github.com/huggingface/datasets/issues/6521
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[ "After investigation, I think the issue was introduced by the use of the Parquet export:\r\n- #6448\r\n\r\nI am proposing a fix.\r\n\r\nCC: @lhoestq " ]
I_kwDODunzps56Ml90
6,517
Bug get_metadata_patterns arg error
https://github.com/huggingface/datasets/blob/3f149204a2a5948287adcade5e90707aa5207a92/src/datasets/load.py#L1240C1-L1240C69 metadata_patterns = get_metadata_patterns(base_path, download_config=self.download_config)
CLOSED
2023-12-20T08:56:44
2023-12-22T00:24:23
2023-12-22T00:24:23
https://github.com/huggingface/datasets/issues/6517
{ "login": "d710055071" }
{ "nodes": [] }
[]
I_kwDODunzps56LE9b
6,515
Why call http_head() when fsspec_head() succeeds
https://github.com/huggingface/datasets/blob/a91582de288d98e94bcb5ab634ca1cfeeff544c5/src/datasets/utils/file_utils.py#L510C1-L523C14
CLOSED
2023-12-20T02:25:51
2023-12-26T05:35:46
2023-12-26T05:35:46
https://github.com/huggingface/datasets/issues/6515
{ "login": "d710055071" }
{ "nodes": [] }
[]
I_kwDODunzps56H0Mf
6,513
Support huggingface-hub 0.20.0
CI to test the support of `huggingface-hub` 0.20.0: https://github.com/huggingface/datasets/compare/main...ci-test-huggingface-hub-v0.20.0.rc1 We need to merge: - #6510 - #6512 - #6516
CLOSED
2023-12-19T15:15:46
2023-12-20T08:44:45
2023-12-20T08:44:45
https://github.com/huggingface/datasets/issues/6513
{ "login": "albertvillanova" }
{ "nodes": [] }
[]
I_kwDODunzps555o6g
6,507
where is glue_metric.py> @Frankie123421 what was the resolution to this?
> @Frankie123421 what was the resolution to this? use glue_metric.py instead of glue.py in load_metric _Originally posted by @Frankie123421 in https://github.com/huggingface/datasets/issues/2117#issuecomment-905093763_
CLOSED
2023-12-17T09:58:25
2023-12-18T11:42:49
2023-12-18T11:42:49
https://github.com/huggingface/datasets/issues/6507
{ "login": "Mcccccc1024" }
{ "nodes": [] }
[]
I_kwDODunzps5549e-
6,506
Incorrect test set labels for RTE and CoLA datasets via load_dataset
### Describe the bug The test set labels for the RTE and CoLA datasets when loading via datasets load_dataset are all -1. Edit: It appears this is also the case for every other dataset except for MRPC (stsb, sst2, qqp, mnli (both matched and mismatched), qnli, wnli, ax). Is this intended behavior to safeguard the t...
CLOSED
2023-12-16T22:06:08
2023-12-21T09:57:57
2023-12-21T09:57:57
https://github.com/huggingface/datasets/issues/6506
{ "login": "emreonal11" }
{ "nodes": [] }
[ "As this is a specific issue of the \"glue\" dataset, I have transferred it to the dataset Discussion page: https://huggingface.co/datasets/glue/discussions/15\r\n\r\nLet's continue the discussion there!" ]
I_kwDODunzps553_iI
6,505
Got stuck when I trying to load a dataset
### Describe the bug Hello, everyone. I met a problem when I am trying to load a data file using load_dataset method on a Debian 10 system. The data file is not very large, only 1.63MB with 600 records. Here is my code: from datasets import load_dataset dataset = load_dataset('json', data_files='mypath/oaast_r...
OPEN
2023-12-16T11:51:07
2024-12-24T16:45:52
null
https://github.com/huggingface/datasets/issues/6505
{ "login": "yirenpingsheng" }
{ "nodes": [] }
[ "I ran into the same problem when I used a server cluster (Slurm system managed) that couldn't load any of the huggingface datasets or models, but it worked on my laptop. I suspected some system configuration-related problem, but I had no idea. \r\nMy problems are consistent with [issue #2618](https://github.com/hu...
I_kwDODunzps553Tji
6,504
Error Pushing to Hub
### Describe the bug Error when trying to push a dataset in a special format to hub ### Steps to reproduce the bug ``` import datasets from datasets import Dataset dataset_dict = { "filename": ["apple", "banana"], "token": [[[1,2],[3,4]],[[1,2],[3,4]]], "label": [0, 1], } dataset = Dataset.from_d...
CLOSED
2023-12-16T01:05:22
2023-12-16T06:20:53
2023-12-16T06:20:53
https://github.com/huggingface/datasets/issues/6504
{ "login": "Jiayi-Pan" }
{ "nodes": [] }
[]