id
int64
599M
3.26B
title
stringlengths
1
290
body
stringlengths
0
228k
state
stringclasses
2 values
number
int64
1
7.7k
comments
listlengths
0
30
locked
bool
1 class
created_at
stringdate
2020-04-14 10:18:02
2025-07-24 19:46:28
updated_at
stringdate
2020-04-27 16:04:17
2025-07-25 11:56:51
author_association
stringclasses
4 values
user_login
stringlengths
3
26
user_id
int64
3.5k
219M
user_type
stringclasses
1 value
labels
stringclasses
81 values
reactions
stringlengths
191
197
url
stringlengths
58
61
html_url
stringlengths
46
51
pull_request
stringlengths
289
315
is_pull_request
bool
2 classes
2,846,095,043
push_to_hub payload too large error when using large ClassLabel feature
### Describe the bug When using `datasets.DatasetDict.push_to_hub` an `HfHubHTTPError: 413 Client Error: Payload Too Large for url` is raised if the dataset contains a large `ClassLabel` feature. Even if the total size of the dataset is small. ### Steps to reproduce the bug ``` python import random import sys impor...
open
7,392
[ "See also <https://discuss.huggingface.co/t/datasetdict-push-to-hub-failing-with-payload-to-large/140083/8>\n" ]
false
2025-02-11 17:51:34
2025-02-11 18:01:31
CONTRIBUTOR
DavidRConnell
35,470,740
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7392/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7392
https://github.com/huggingface/datasets/issues/7392
null
false
2,845,184,764
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType'
pyarrow 尝试了若干个版本都不可以
open
7,391
[]
false
2025-02-11 12:02:26
2025-02-11 12:02:26
NONE
LinXin04
25,193,686
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7391/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7391
https://github.com/huggingface/datasets/issues/7391
null
false
2,843,813,365
Re-add py.typed
### Feature request The motivation for removing py.typed no longer seems to apply. Would a solution like [this one](https://github.com/huggingface/huggingface_hub/pull/2752) work here? ### Motivation MyPy support is broken. As more type checkers come out, such as RedKnot, these may also be broken. It would be goo...
open
7,390
[]
false
2025-02-10 22:12:52
2025-02-10 22:12:52
CONTRIBUTOR
NeilGirdhar
730,137
User
[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7390/reactions", "total_count": 10, "+1": 10, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7390
https://github.com/huggingface/datasets/issues/7390
null
false
2,843,592,606
Getting statistics about filtered examples
@lhoestq wondering if the team has thought about this and if there are any recommendations? Currently when processing datasets some examples are bound to get filtered out, whether it's due to bad format, or length is too long, or any other custom filters that might be getting applied. Let's just focus on the filter by...
closed
7,389
[ "You can actually track a running sum in map() or filter() :)\n\n```python\nnum_filtered = 0\n\ndef f(x):\n global num_filtered\n condition = len(x[\"text\"]) < 1000\n if not condition:\n num_filtered += 1\n return condition\n\nds = ds.filter(f)\nprint(num_filtered)\n```\n\nand if you want to use...
false
2025-02-10 20:48:29
2025-02-11 20:44:15
NONE
jonathanasdf
511,073
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7389/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7389
https://github.com/huggingface/datasets/issues/7389
null
false
2,843,188,499
OSError: [Errno 22] Invalid argument forbidden character
### Describe the bug I'm on Windows and i'm trying to load a datasets but i'm having title error because files in the repository are named with charactere like < >which can't be in a name file. Could it be possible to load this datasets but removing those charactere ? ### Steps to reproduce the bug load_dataset("CAT...
closed
7,388
[ "You can probably copy the dataset in your HF account and rename the files (without having to download them to your disk). Or alternatively feel free to open a Pull Request to this dataset with the renamed file", "Thank you, that will help me work around this problem" ]
false
2025-02-10 17:46:31
2025-02-11 13:42:32
NONE
langflogit
124,634,542
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7388/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7388
https://github.com/huggingface/datasets/issues/7388
null
false
2,841,228,048
Dynamic adjusting dataloader sampling weight
Hi, Thanks for your wonderful work! I'm wondering is there a way to dynamically adjust the sampling weight of each data in the dataset during training? Looking forward to your reply, thanks again.
open
7,387
[ "You mean based on a condition that has to be checked on-the-fly during training ? Otherwise if you know in advance after how many samples you need to change the sampling you can simply concatenate the two mixes", "Yes, like during training, if one data sample's prediction is consistently wrong, its sampling weig...
false
2025-02-10 03:18:47
2025-03-07 14:06:54
NONE
whc688
72,799,643
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7387/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7387
https://github.com/huggingface/datasets/issues/7387
null
false
2,840,032,524
Add bookfolder Dataset Builder for Digital Book Formats
### Feature request This feature proposes adding a new dataset builder called bookfolder to the datasets library. This builder would allow users to easily load datasets consisting of various digital book formats, including: AZW, AZW3, CB7, CBR, CBT, CBZ, EPUB, MOBI, and PDF. ### Motivation Currently, loading dataset...
closed
7,386
[ "On second thought, probably not a good idea." ]
false
2025-02-08 14:27:55
2025-02-08 14:30:10
NONE
shikanime
22,115,108
User
[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7386/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7386
https://github.com/huggingface/datasets/issues/7386
null
false
2,830,664,522
Make IterableDataset (optionally) resumable
### What does this PR do? This PR introduces a new `stateful` option to the `dataset.shuffle` method, which defaults to `False`. When enabled, this option allows for resumable shuffling of `IterableDataset` instances, albeit with some additional memory overhead. Key points: * All tests have passed * Docstrings ...
open
7,385
[ "@lhoestq Hi again~ Just circling back on this\r\nWondering if there’s anything I can do to help move this forward. 🤗 \r\nThanks!", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7385). All of your documentation changes will be reflected on that endpoint. The docs are avai...
false
2025-02-04 15:55:33
2025-03-03 17:31:40
CONTRIBUTOR
yzhangcs
18,402,347
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7385/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7385
https://github.com/huggingface/datasets/pull/7385
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7385", "html_url": "https://github.com/huggingface/datasets/pull/7385", "diff_url": "https://github.com/huggingface/datasets/pull/7385.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7385.patch", "merged_at": null}
true
2,828,208,828
Support async functions in map()
e.g. to download images or call an inference API like HF or vLLM ```python import asyncio import random from datasets import Dataset async def f(x): await asyncio.sleep(random.random()) ds = Dataset.from_dict({"data": range(100)}) ds.map(f) # Map: 100%|█████████████████████████████| 100/100 [00:0...
closed
7,384
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7384). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "example of what you can do with it:\r\n\r\n```python\r\nimport aiohttp\r\nfrom huggingf...
false
2025-02-03 18:18:40
2025-02-13 14:01:13
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7384/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 3, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7384
https://github.com/huggingface/datasets/pull/7384
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7384", "html_url": "https://github.com/huggingface/datasets/pull/7384", "diff_url": "https://github.com/huggingface/datasets/pull/7384.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7384.patch", "merged_at": "2025-02-13T14:00:06Z"}
true
2,823,480,924
Add Pandas, PyArrow and Polars docs
(also added the missing numpy docs and fixed a small bug in pyarrow formatting)
closed
7,382
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7382). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-01-31 13:22:59
2025-01-31 16:30:59
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7382/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7382
https://github.com/huggingface/datasets/pull/7382
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7382", "html_url": "https://github.com/huggingface/datasets/pull/7382", "diff_url": "https://github.com/huggingface/datasets/pull/7382.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7382.patch", "merged_at": "2025-01-31T16:30:57Z"}
true
2,815,649,092
Iterating over values of a column in the IterableDataset
### Feature request I would like to be able to iterate (and re-iterate if needed) over a column of an `IterableDataset` instance. The following example shows the supposed API: ```python def gen(): yield {"text": "Good", "label": 0} yield {"text": "Bad", "label": 1} ds = IterableDataset.from_generator(gen) tex...
closed
7,381
[ "I'd be in favor of that ! I saw many people implementing their own iterables that wrap a dataset just to iterate on a single column, that would make things more practical.\n\nKinda related: https://github.com/huggingface/datasets/issues/5847", "(For anyone's information, I'm going on vacation for the next 3 week...
false
2025-01-28 13:17:36
2025-05-22 18:00:04
CONTRIBUTOR
TopCoder2K
47,208,659
User
[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7381/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7381
https://github.com/huggingface/datasets/issues/7381
null
false
2,811,566,116
fix: dill default for version bigger 0.3.8
Fixes def log for dill version >= 0.3.9 https://pypi.org/project/dill/ This project uses dill with the release of version 0.3.9 the datasets lib.
closed
7,380
[ "`datasets` doesn't support `dill` 0.3.9 yet afaik since `dill` made some changes related to the determinism of dumps\r\n\r\nIt would be cool to investigate (maybe run the `datasets` test) with recent `dill` to see excactly what breaks and if we can make `dill` 0.3.9 work with `datasets`" ]
false
2025-01-26 13:37:16
2025-03-13 20:40:19
NONE
sam-hey
40,773,225
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7380/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7380
https://github.com/huggingface/datasets/pull/7380
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7380", "html_url": "https://github.com/huggingface/datasets/pull/7380", "diff_url": "https://github.com/huggingface/datasets/pull/7380.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7380.patch", "merged_at": null}
true
2,802,957,388
Allow pushing config version to hub
### Feature request Currently, when datasets are created, they can be versioned by passing the `version` argument to `load_dataset(...)`. For example creating `outcomes.csv` on the command line ``` echo "id,value\n1,0\n2,0\n3,1\n4,1\n" > outcomes.csv ``` and creating it ``` import datasets dataset = datasets.load_dat...
open
7,378
[ "Hi ! This sounds reasonable to me, feel free to open a PR :)" ]
false
2025-01-21 22:35:07
2025-01-30 13:56:56
NONE
momeara
129,072
User
[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7378/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7378
https://github.com/huggingface/datasets/issues/7378
null
false
2,802,723,285
Support for sparse arrays with the Arrow Sparse Tensor format?
### Feature request AI in biology is becoming a big thing. One thing that would be a huge benefit to the field that Huggingface Datasets doesn't currently have is native support for **sparse arrays**. Arrow has support for sparse tensors. https://arrow.apache.org/docs/format/Other.html#sparse-tensor It would be ...
open
7,377
[ "Hi ! Unfortunately the Sparse Tensor structure in Arrow is not part of the Arrow format (yes it's confusing...), so it's not possible to use it in `datasets`. It's a separate structure that doesn't correspond to any type or extension type in Arrow.\n\nThe Arrow community recently added an extension type for fixed ...
false
2025-01-21 20:14:35
2025-01-30 14:06:45
NONE
JulesGM
3,231,217
User
[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7377/reactions", "total_count": 4, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 2}
https://api.github.com/repos/huggingface/datasets/issues/7377
https://github.com/huggingface/datasets/issues/7377
null
false
2,802,621,104
[docs] uv install
Proposes adding uv to installation docs (see Slack thread [here](https://huggingface.slack.com/archives/C01N44FJDHT/p1737377177709279) for more context) if you're interested!
closed
7,376
[]
false
2025-01-21 19:15:48
2025-03-14 20:16:35
MEMBER
stevhliu
59,462,357
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7376/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7376
https://github.com/huggingface/datasets/pull/7376
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7376", "html_url": "https://github.com/huggingface/datasets/pull/7376", "diff_url": "https://github.com/huggingface/datasets/pull/7376.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7376.patch", "merged_at": null}
true
2,800,609,218
vllm批量推理报错
### Describe the bug ![Image](https://github.com/user-attachments/assets/3d958e43-28dc-4467-9333-5990c7af3b3f) ### Steps to reproduce the bug ![Image](https://github.com/user-attachments/assets/3067eeca-a54d-4956-b0fd-3fc5ea93dabb) ### Expected behavior ![Image](https://github.com/user-attachments/assets/77d32936-...
open
7,375
[ "Make sure you have installed a recent version of `soundfile`" ]
false
2025-01-21 03:22:23
2025-01-30 14:02:40
NONE
YuShengzuishuai
51,228,154
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7375/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7375
https://github.com/huggingface/datasets/issues/7375
null
false
2,793,442,320
Remove .h5 from imagefolder extensions
the format is not relevant for imagefolder, and makes the viewer fail to process datasets on HF (so many that the viewer takes more time to process new datasets)
closed
7,374
[]
false
2025-01-16 18:17:24
2025-01-16 18:26:40
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7374/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7374
https://github.com/huggingface/datasets/pull/7374
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7374", "html_url": "https://github.com/huggingface/datasets/pull/7374", "diff_url": "https://github.com/huggingface/datasets/pull/7374.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7374.patch", "merged_at": "2025-01-16T18:26:38Z"}
true
2,793,237,139
Excessive RAM Usage After Dataset Concatenation concatenate_datasets
### Describe the bug When loading a dataset from disk, concatenating it, and starting the training process, the RAM usage progressively increases until the kernel terminates the process due to excessive memory consumption. https://github.com/huggingface/datasets/issues/2276 ### Steps to reproduce the bug ```python ...
open
7,373
[ "![Image](https://github.com/user-attachments/assets/b6f8bcbd-44af-413e-bc06-65380eb0f746)\n\n![Image](https://github.com/user-attachments/assets/a241fcd8-4b62-495c-926c-685f82015dfb)\n\nAdding a img from memray\nhttps://gist.github.com/sam-hey/00c958f13fb0f7b54d17197fe353002f", "I'm having the same issue where c...
false
2025-01-16 16:33:10
2025-03-27 17:40:59
NONE
sam-hey
40,773,225
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7373/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7373
https://github.com/huggingface/datasets/issues/7373
null
false
2,791,760,968
Inconsistent Behavior Between `load_dataset` and `load_from_disk` When Loading Sharded Datasets
### Description I encountered an inconsistency in behavior between `load_dataset` and `load_from_disk` when loading sharded datasets. Here is a minimal example to reproduce the issue: #### Code 1: Using `load_dataset` ```python from datasets import Dataset, load_dataset # First save with max_shard_size=10 Dataset.fr...
open
7,372
[]
false
2025-01-16 05:47:20
2025-01-16 05:47:20
NONE
gaohongkui
38,203,359
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7372/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7372
https://github.com/huggingface/datasets/issues/7372
null
false
2,790,549,889
500 Server error with pushing a dataset
### Describe the bug Suddenly, I started getting this error message saying it was an internal error. `Error creating/pushing dataset: 500 Server Error: Internal Server Error for url: https://huggingface.co/api/datasets/ll4ma-lab/grasp-dataset/commit/main (Request ID: Root=1-6787f0b7-66d5bd45413e481c4c2fb22d;670d04ff-...
open
7,371
[ "EDIT: seems to be all good now. I'll add a comment if the error happens again within the next 48 hours. If it doesn't, I'll just close the topic." ]
false
2025-01-15 18:23:02
2025-01-15 20:06:05
NONE
martinmatak
7,677,814
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7371/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7371
https://github.com/huggingface/datasets/issues/7371
null
false
2,787,972,786
Support faster processing using pandas or polars functions in `IterableDataset.map()`
Following the polars integration :) Allow super fast processing using pandas or polars functions in `IterableDataset.map()` by adding support to pandas and polars formatting in `IterableDataset` ```python import polars as pl from datasets import Dataset ds = Dataset.from_dict({"i": range(10)}).to_iterable_da...
closed
7,370
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7370). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "merging this and will make some docs and communications around using polars for optimiz...
false
2025-01-14 18:14:13
2025-01-31 11:08:15
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7370/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7370
https://github.com/huggingface/datasets/pull/7370
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7370", "html_url": "https://github.com/huggingface/datasets/pull/7370", "diff_url": "https://github.com/huggingface/datasets/pull/7370.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7370.patch", "merged_at": "2025-01-30T13:30:57Z"}
true
2,787,193,238
Importing dataset gives unhelpful error message when filenames in metadata.csv are not found in the directory
### Describe the bug While importing an audiofolder dataset, where the names of the audiofiles don't correspond to the filenames in the metadata.csv, we get an unclear error message that is not helpful for the debugging, i.e. ``` ValueError: Instruction "train" corresponds to no data! ``` ### Steps to reproduce the ...
open
7,369
[ "I'd prefer even more verbose errors; like `\"file123.mp3\" is referenced in metadata.csv, but not found in the data directory '/path/to/audiofolder' ! (and 100+ more missing files)` Or something along those lines." ]
false
2025-01-14 13:53:21
2025-01-14 15:05:51
NONE
svencornetsdegroot
38,278,139
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7369/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7369
https://github.com/huggingface/datasets/issues/7369
null
false
2,784,272,477
Add with_split to DatasetDict.map
#7356
closed
7,368
[ "Can you check this out, @lhoestq?", "cc @lhoestq @albertvillanova ", "@lhoestq\r\n", "@lhoestq\r\n", "@lhoestq", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7368). All of your documentation changes will be reflected on that endpoint. The docs are available until...
false
2025-01-13 15:09:56
2025-03-08 05:45:02
CONTRIBUTOR
jp1924
93,233,241
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7368/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7368
https://github.com/huggingface/datasets/pull/7368
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7368", "html_url": "https://github.com/huggingface/datasets/pull/7368", "diff_url": "https://github.com/huggingface/datasets/pull/7368.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7368.patch", "merged_at": "2025-03-07T14:09:52Z"}
true
2,781,522,894
Dataset.from_dict() can't handle large dict
### Describe the bug I have 26,000,000 3-tuples. When I use Dataset.from_dict() to load, neither. py nor Jupiter notebook can run successfully. This is my code: ``` # len(example_data) is 26,000,000, 'diff' is a text diff1_list = [example_data[i].texts[0] for i in range(len(example_data))] diff2_list =...
open
7,366
[]
false
2025-01-11 02:05:21
2025-01-11 02:05:21
NONE
CSU-OSS
164,967,134
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7366/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7366
https://github.com/huggingface/datasets/issues/7366
null
false
2,780,216,199
A parameter is specified but not used in datasets.arrow_dataset.Dataset.from_pandas()
### Describe the bug I am interested in creating train, test and eval splits from a pandas Dataframe, therefore I was looking at the possibilities I can follow. I noticed the split parameter and was hopeful to use it in order to generate the 3 at once, however, while trying to understand the code, i noticed that it ha...
open
7,365
[]
false
2025-01-10 13:39:33
2025-01-10 13:39:33
NONE
NourOM02
69,003,192
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7365/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7365
https://github.com/huggingface/datasets/issues/7365
null
false
2,776,929,268
API endpoints for gated dataset access requests
### Feature request I would like a programatic way of requesting access to gated datasets. The current solution to gain access forces me to visit a website and physically click an "agreement" button (as per the [documentation](https://huggingface.co/docs/hub/en/datasets-gated#access-gated-datasets-as-a-user)). An i...
closed
7,364
[ "Looks like a [similar feature request](https://github.com/huggingface/huggingface_hub/issues/1198) was made to the HF Hub team. Is handling this at the Hub level more appropriate?\r\n\r\n(As an aside, I've gotten the [HTTP-based solution](https://github.com/huggingface/huggingface_hub/issues/1198#issuecomment-1905...
false
2025-01-09 06:21:20
2025-01-09 11:17:40
NONE
jerome-white
6,140,840
User
[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7364/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7364
https://github.com/huggingface/datasets/issues/7364
null
false
2,774,090,012
ImportError: To support decoding images, please install 'Pillow'.
### Describe the bug Following this tutorial locally using a macboko and VSCode: https://huggingface.co/docs/diffusers/en/tutorials/basic_training This line of code: for i, image in enumerate(dataset[:4]["image"]): throws: ImportError: To support decoding images, please install 'Pillow'. Pillow is installed. ###...
open
7,363
[ "what's your `pip show Pillow` output", "same issue.. my pip show Pillow output as below:\n\n```\nName: pillow\nVersion: 11.1.0\nSummary: Python Imaging Library (Fork)\nHome-page: https://python-pillow.github.io/\nAuthor: \nAuthor-email: \"Jeffrey A. Clark\" <aclark@aclark.net>\nLicense: MIT-CMU\nLocation: [/opt/...
false
2025-01-08 02:22:57
2025-05-28 14:56:53
NONE
jamessdixon
1,394,644
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7363/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7363
https://github.com/huggingface/datasets/issues/7363
null
false
2,773,731,829
HuggingFace CLI dataset download raises error
### Describe the bug Trying to download Hugging Face datasets using Hugging Face CLI raises error. This error only started after December 27th, 2024. For example: ``` huggingface-cli download --repo-type dataset gboleda/wikicorpus Traceback (most recent call last): File "/home/ubuntu/test_venv/bin/huggingface...
closed
7,362
[ "I got the same error and was able to resolve it by upgrading from 2.15.0 to 3.2.0.", "> I got the same error and was able to resolve it by upgrading from 2.15.0 to 3.2.0.\r\n\r\nWhat is needed is upgrading `huggingface-hub==0.27.1`. `datasets` does not appear to have anything to do with the error. The upgrade is...
false
2025-01-07 21:03:30
2025-01-08 15:00:37
NONE
ajayvohra2005
3,870,355
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7362/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7362
https://github.com/huggingface/datasets/issues/7362
null
false
2,771,859,244
Fix lock permission
All files except lock file have proper permission obeying `ACL` property if it is set. If the cache directory has `ACL` property, it should be respected instead of just using `umask` for permission. To fix it, just create a lock file and pass the created `mode`. By creating a lock file with `touch()` before `Fil...
open
7,361
[]
false
2025-01-07 04:15:53
2025-01-07 04:49:46
NONE
cih9088
11,530,592
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7361/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7361
https://github.com/huggingface/datasets/pull/7361
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7361", "html_url": "https://github.com/huggingface/datasets/pull/7361", "diff_url": "https://github.com/huggingface/datasets/pull/7361.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7361.patch", "merged_at": null}
true
2,771,751,406
error when loading dataset in Hugging Face: NoneType error is not callable
### Describe the bug I met an error when running a notebook provide by Hugging Face, and met the error. ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[2], line 5 3 # Load the enhancers dat...
open
7,360
[ "Hi ! I couldn't reproduce on my side, can you try deleting your cache at `~/.cache/huggingface/modules/datasets_modules/datasets/InstaDeepAI--nucleotide_transformer_downstream_tasks_revised` and try again ? For some reason `datasets` wasn't able to find the DatasetBuilder class in the python script of this dataset...
false
2025-01-07 02:11:36
2025-02-24 13:32:52
NONE
nanu23333
189,343,338
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7360/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7360
https://github.com/huggingface/datasets/issues/7360
null
false
2,771,137,842
There are multiple 'mteb/arguana' configurations in the cache: default, corpus, queries with HF_HUB_OFFLINE=1
### Describe the bug Hey folks, I am trying to run this code - ```python from datasets import load_dataset, get_dataset_config_names ds = load_dataset("mteb/arguana") ``` with HF_HUB_OFFLINE=1 But I get the following error - ```python Using the latest cached version of the dataset since mteb/arguana...
open
7,359
[ "Related to https://github.com/embeddings-benchmark/mteb/issues/1714" ]
false
2025-01-06 17:42:49
2025-01-06 17:43:31
NONE
Bhavya6187
723,146
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7359/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7359
https://github.com/huggingface/datasets/issues/7359
null
false
2,770,927,769
Fix remove_columns in the formatted case
`remove_columns` had no effect when running a function in `.map()` on dataset that is formatted This aligns the logic of `map()` with the non formatted case and also with with https://github.com/huggingface/datasets/pull/7353
open
7,358
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7358). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-01-06 15:44:23
2025-01-06 15:46:46
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7358/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7358
https://github.com/huggingface/datasets/pull/7358
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7358", "html_url": "https://github.com/huggingface/datasets/pull/7358", "diff_url": "https://github.com/huggingface/datasets/pull/7358.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7358.patch", "merged_at": null}
true
2,770,456,127
Python process aborded with GIL issue when using image dataset
### Describe the bug The issue is visible only with the latest `datasets==3.2.0`. When using image dataset the Python process gets aborted right before the exit with the following error: ``` Fatal Python error: PyGILState_Release: thread state 0x7fa1f409ade0 must be current when releasing Python runtime state: f...
open
7,357
[ "The issue seems to come from `pyarrow`, I opened an issue on their side at https://github.com/apache/arrow/issues/45214" ]
false
2025-01-06 11:29:30
2025-03-08 15:59:36
NONE
AlexKoff88
25,342,812
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7357/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7357
https://github.com/huggingface/datasets/issues/7357
null
false
2,770,095,103
How about adding a feature to pass the key when performing map on DatasetDict?
### Feature request Add a feature to pass the key of the DatasetDict when performing map ### Motivation I often preprocess using map on DatasetDict. Sometimes, I need to preprocess train and valid data differently depending on the task. So, I thought it would be nice to pass the key (like train, valid) when perf...
closed
7,356
[ "@lhoestq \r\nIf it's okay with you, can I work on this?", "Hi ! Can you give an example of what it would look like to use this new feature ?\r\n\r\nNote that currently you can already do\r\n\r\n```python\r\nds[\"train\"] = ds[\"train\"].map(process_train)\r\nds[\"test\"] = ds[\"test\"].map(process_test)\r\n```",...
false
2025-01-06 08:13:52
2025-03-24 10:57:47
CONTRIBUTOR
jp1924
93,233,241
User
[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7356/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7356
https://github.com/huggingface/datasets/issues/7356
null
false
2,768,958,211
Not available datasets[audio] on python 3.13
### Describe the bug This is the error I got, it seems numba package does not support python 3.13 PS C:\Users\sergi\Documents> pip install datasets[audio] Defaulting to user installation because normal site-packages is not writeable Collecting datasets[audio] Using cached datasets-3.2.0-py3-none-any.whl.metada...
open
7,355
[ "It looks like an issue with `numba` which can't be installed on 3.13 ? `numba` is a dependency of `librosa`, used to decode audio files", "There seems that `uv` cannot resolve \n\n```bhas\nuv add -n datasets[audio] huggingface-hub[hf-transfer] transformers\n```\n\nThe problem is again `librosa` which depends on ...
false
2025-01-04 18:37:08
2025-06-28 00:26:19
NONE
sergiosinlimites
70,306,948
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7355/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7355
https://github.com/huggingface/datasets/issues/7355
null
false
2,768,955,917
A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.2 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
### Describe the bug Following this tutorial: https://huggingface.co/docs/diffusers/en/tutorials/basic_training and running it locally using VSCode on my MacBook. The first line in the tutorial fails: from datasets import load_dataset dataset = load_dataset('huggan/smithsonian_butterflies_subset', split="train"). w...
closed
7,354
[ "recreated .venv and run this: pip install diffusers[training]==0.11.1" ]
false
2025-01-04 18:30:17
2025-01-08 02:20:58
NONE
jamessdixon
1,394,644
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7354/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7354
https://github.com/huggingface/datasets/issues/7354
null
false
2,768,484,726
changes to MappedExamplesIterable to resolve #7345
modified `MappedExamplesIterable` and `test_iterable_dataset.py::test_mapped_examples_iterable_with_indices` fix #7345 @lhoestq
closed
7,353
[ "I noticed that `Dataset.map` has a more complex output depending on `remove_columns`. In particular [this](https://github.com/huggingface/datasets/blob/6457be66e2ef88411281eddc4e7698866a3977f1/src/datasets/arrow_dataset.py#L3371) line removes columns from output if the input is being modified in place (i.e. `input...
false
2025-01-04 06:01:15
2025-01-07 11:56:41
CONTRIBUTOR
vttrifonov
12,157,034
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7353/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7353
https://github.com/huggingface/datasets/pull/7353
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7353", "html_url": "https://github.com/huggingface/datasets/pull/7353", "diff_url": "https://github.com/huggingface/datasets/pull/7353.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7353.patch", "merged_at": "2025-01-07T11:56:41Z"}
true
2,767,763,850
fsspec 2024.12.0
closed
7,352
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7352). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-01-03 15:32:25
2025-01-03 15:34:54
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7352/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7352
https://github.com/huggingface/datasets/pull/7352
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7352", "html_url": "https://github.com/huggingface/datasets/pull/7352", "diff_url": "https://github.com/huggingface/datasets/pull/7352.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7352.patch", "merged_at": "2025-01-03T15:34:11Z"}
true
2,767,731,707
Bump hfh to 0.24 to fix ci
closed
7,350
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7350). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-01-03 15:09:40
2025-01-03 15:12:17
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7350/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7350
https://github.com/huggingface/datasets/pull/7350
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7350", "html_url": "https://github.com/huggingface/datasets/pull/7350", "diff_url": "https://github.com/huggingface/datasets/pull/7350.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7350.patch", "merged_at": "2025-01-03T15:10:27Z"}
true
2,767,670,454
Webdataset special columns in last position
Place columns "__key__" and "__url__" in last position in the Dataset Viewer since they are not the main content before: <img width="1012" alt="image" src="https://github.com/user-attachments/assets/b556c1fe-2674-4ba0-9643-c074aa9716fd" />
closed
7,349
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7349). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-01-03 14:32:15
2025-01-03 14:34:39
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7349/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7349
https://github.com/huggingface/datasets/pull/7349
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7349", "html_url": "https://github.com/huggingface/datasets/pull/7349", "diff_url": "https://github.com/huggingface/datasets/pull/7349.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7349.patch", "merged_at": "2025-01-03T14:32:30Z"}
true
2,766,128,230
Catch OSError for arrow
fixes https://github.com/huggingface/datasets/issues/7346 (also updated `ruff` and appleid style changes)
closed
7,348
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7348). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-01-02 14:30:00
2025-01-09 14:25:06
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7348/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7348
https://github.com/huggingface/datasets/pull/7348
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7348", "html_url": "https://github.com/huggingface/datasets/pull/7348", "diff_url": "https://github.com/huggingface/datasets/pull/7348.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7348.patch", "merged_at": "2025-01-09T14:25:04Z"}
true
2,760,282,339
Converting Arrow to WebDataset TAR Format for Offline Use
### Feature request Hi, I've downloaded an Arrow-formatted dataset offline using the hugggingface's datasets library by: ``` import json from datasets import load_dataset dataset = load_dataset("pixparse/cc3m-wds") dataset.save_to_disk("./cc3m_1") ``` now I need to convert it to WebDataset's TAR form...
closed
7,347
[ "Hi,\r\n\r\nI've downloaded an Arrow-formatted dataset offline using the hugggingface's datasets library by:\r\n\r\nimport json\r\nfrom datasets import load_dataset\r\n\r\ndataset = load_dataset(\"pixparse/cc3m-wds\")\r\ndataset.save_to_disk(\"./cc3m_1\")\r\n\r\n\r\nnow I need to convert it to WebDataset's TAR form...
false
2024-12-27 01:40:44
2024-12-31 17:38:00
NONE
katie312
91,370,128
User
[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7347/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7347
https://github.com/huggingface/datasets/issues/7347
null
false
2,758,752,118
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 can be loaded correctly. When 2,00...
closed
7,346
[ "Thanks for reporting, it looks like an issue with `pyarrow.ipc.open_stream`\r\n\r\nCan you try installing `datasets` from this pull request and see if it helps ? https://github.com/huggingface/datasets/pull/7348", "> Thanks for reporting, it looks like an issue with `pyarrow.ipc.open_stream`\r\n> \r\n> Can you t...
false
2024-12-25 11:38:52
2025-01-09 14:25:29
NONE
antecede
46,232,487
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7346/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7346
https://github.com/huggingface/datasets/issues/7346
null
false
2,758,585,709
Different behaviour of IterableDataset.map vs Dataset.map with remove_columns
### Describe the bug The following code ```python import datasets as hf ds1 = hf.Dataset.from_list([{'i': i} for i in [0,1]]) #ds1 = ds1.to_iterable_dataset() ds2 = ds1.map( lambda i: {'i': i+1}, input_columns = ['i'], remove_columns = ['i'] ) list(ds2) ``` produces ```python [{'i': ...
closed
7,345
[ "Good catch ! Do you think you can open a PR to fix this issue ?" ]
false
2024-12-25 07:36:48
2025-01-07 11:56:42
CONTRIBUTOR
vttrifonov
12,157,034
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7345/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7345
https://github.com/huggingface/datasets/issues/7345
null
false
2,754,735,951
HfHubHTTPError: 429 Client Error: Too Many Requests for URL when trying to access SlimPajama-627B or c4 on TPUs
### Describe the bug I am trying to run some trainings on Google's TPUs using Huggingface's DataLoader on [SlimPajama-627B](https://huggingface.co/datasets/cerebras/SlimPajama-627B) and [c4](https://huggingface.co/datasets/allenai/c4), but I end up running into `429 Client Error: Too Many Requests for URL` error when ...
closed
7,344
[ "Hi ! This is due to your old version of `datasets` which calls HF with `expand=True`, an option that is strongly rate limited.\r\n\r\nRecent versions of `datasets` don't rely on this anymore, you can fix your issue by upgrading `datasets` :)\r\n\r\n```\r\npip install -U datasets\r\n```\r\n\r\nYou can also get maxi...
false
2024-12-22 16:30:07
2025-01-15 05:32:00
NONE
clankur
9,397,233
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7344/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7344
https://github.com/huggingface/datasets/issues/7344
null
false
2,750,525,823
[Bug] Inconsistent behavior of data_files and data_dir in load_dataset method.
### Describe the bug Inconsistent operation of data_files and data_dir in load_dataset method. ### Steps to reproduce the bug # First I have three files, named 'train.json', 'val.json', 'test.json'. Each one has a simple dict `{text:'aaa'}`. Their path are `/data/train.json`, `/data/val.json`, `/data/test.jso...
closed
7,343
[ "Hi ! `data_files` with a list is equivalent to `data_files={\"train\": data_files}` with a train test only.\r\n\r\nWhen no split are specified, they are inferred based on file names, and files with no apparent split are ignored", "Thanks for your reply!\r\n`files with no apparent split are ignored`. Is there a o...
false
2024-12-19 14:31:27
2025-01-03 15:54:09
NONE
JasonCZH4
74,161,960
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7343/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7343
https://github.com/huggingface/datasets/issues/7343
null
false
2,749,572,310
Update LICENSE
closed
7,342
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7342). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2024-12-19 08:17:50
2024-12-19 08:44:08
NONE
eliebak
97,572,401
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7342/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7342
https://github.com/huggingface/datasets/pull/7342
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7342", "html_url": "https://github.com/huggingface/datasets/pull/7342", "diff_url": "https://github.com/huggingface/datasets/pull/7342.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7342.patch", "merged_at": null}
true
2,745,658,561
minor video docs on how to install
closed
7,341
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7341). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2024-12-17 18:06:17
2024-12-17 18:11:17
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7341/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7341
https://github.com/huggingface/datasets/pull/7341
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7341", "html_url": "https://github.com/huggingface/datasets/pull/7341", "diff_url": "https://github.com/huggingface/datasets/pull/7341.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7341.patch", "merged_at": "2024-12-17T18:11:14Z"}
true
2,745,473,274
don't import soundfile in tests
closed
7,340
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7340). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2024-12-17 16:49:55
2024-12-17 16:54:04
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7340/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7340
https://github.com/huggingface/datasets/pull/7340
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7340", "html_url": "https://github.com/huggingface/datasets/pull/7340", "diff_url": "https://github.com/huggingface/datasets/pull/7340.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7340.patch", "merged_at": "2024-12-17T16:50:24Z"}
true
2,745,460,060
Update CONTRIBUTING.md
closed
7,339
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7339). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2024-12-17 16:45:25
2024-12-17 16:51:36
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7339/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7339
https://github.com/huggingface/datasets/pull/7339
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7339", "html_url": "https://github.com/huggingface/datasets/pull/7339", "diff_url": "https://github.com/huggingface/datasets/pull/7339.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7339.patch", "merged_at": "2024-12-17T16:46:30Z"}
true
2,744,877,569
One or several metadata.jsonl were found, but not in the same directory or in a parent directory of
### Describe the bug ImageFolder with metadata.jsonl error. I downloaded liuhaotian/LLaVA-CC3M-Pretrain-595K locally from Hugging Face. According to the tutorial in https://huggingface.co/docs/datasets/image_dataset#image-captioning, only put images.zip and metadata.jsonl containing information in the same folder. How...
open
7,337
[ "Hmmm I double checked in the source code and I found a contradiction: in the current implementation the metadata file is ignored if it's not in the same archive as the zip image somehow:\r\n\r\nhttps://github.com/huggingface/datasets/blob/caa705e8bf4bedf1a956f48b545283b2ca14170a/src/datasets/packaged_modules/folde...
false
2024-12-17 12:58:43
2025-01-03 15:28:13
NONE
mst272
67,250,532
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7337/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7337
https://github.com/huggingface/datasets/issues/7337
null
false
2,744,746,456
Clarify documentation or Create DatasetCard
### Feature request I noticed that you can use a Model Card instead of a Dataset Card when pushing a dataset to the Hub, but this isn’t clearly mentioned in [the docs.](https://huggingface.co/docs/datasets/dataset_card) - Update the docs to clarify that a Model Card can work for datasets too. - It might be worth c...
open
7,336
[]
false
2024-12-17 12:01:00
2024-12-17 12:01:00
NONE
August-murr
145,011,209
User
[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7336/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7336
https://github.com/huggingface/datasets/issues/7336
null
false
2,743,437,260
Too many open files: '/root/.cache/huggingface/token'
### Describe the bug I ran this code: ``` from datasets import load_dataset dataset = load_dataset("common-canvas/commoncatalog-cc-by", cache_dir="/datadrive/datasets/cc", num_proc=1000) ``` And got this error. Before it was some other file though (lie something...incomplete) runnting ``` ulimit -n 8192 ...
open
7,335
[]
false
2024-12-16 21:30:24
2024-12-16 21:30:24
NONE
kopyl
17,604,849
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7335/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7335
https://github.com/huggingface/datasets/issues/7335
null
false
2,740,266,503
TypeError: Value.__init__() missing 1 required positional argument: 'dtype'
### Describe the bug ds = load_dataset( "./xxx.py", name="default", split="train", ) The datasets does not support debugging locally anymore... ### Steps to reproduce the bug ``` from datasets import load_dataset ds = load_dataset( "./repo.py", name="default", split="train", ) ...
open
7,334
[ "same error \n```\ndata = load_dataset('/opt/deepseek_R1_finetune/hf_datasets/openai/gsm8k', 'main')[split] \n```", "> same error\n> \n> ```\n> data = load_dataset('/opt/deepseek_R1_finetune/hf_datasets/openai/gsm8k', 'main')[split] \n> ```\n\nhttps://github.com/huggingface/open-r1/issues/204 this help me", "S...
false
2024-12-15 04:08:46
2025-07-10 03:32:36
NONE
ghost
10,137
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7334/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7334
https://github.com/huggingface/datasets/issues/7334
null
false
2,738,626,593
Fix typo in arrow_dataset
closed
7,328
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7328). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2024-12-13 15:17:09
2024-12-19 17:10:27
CONTRIBUTOR
AndreaFrancis
5,564,745
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7328/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7328
https://github.com/huggingface/datasets/pull/7328
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7328", "html_url": "https://github.com/huggingface/datasets/pull/7328", "diff_url": "https://github.com/huggingface/datasets/pull/7328.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7328.patch", "merged_at": "2024-12-19T17:10:25Z"}
true
2,738,514,909
.map() is not caching and ram goes OOM
### Describe the bug Im trying to run a fairly simple map that is converting a dataset into numpy arrays. however, it just piles up on memory and doesnt write to disk. Ive tried multiple cache techniques such as specifying the cache dir, setting max mem, +++ but none seem to work. What am I missing here? ### Steps to...
open
7,327
[ "I have the same issue - any update on this?" ]
false
2024-12-13 14:22:56
2025-02-10 10:42:38
NONE
simeneide
7,136,076
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7327/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7327
https://github.com/huggingface/datasets/issues/7327
null
false
2,738,188,902
Remove upper bound for fsspec
### Describe the bug As also raised by @cyyever in https://github.com/huggingface/datasets/pull/7296 and @NeilGirdhar in https://github.com/huggingface/datasets/commit/d5468836fe94e8be1ae093397dd43d4a2503b926#commitcomment-140952162 , `datasets` has a problematic version constraint on `fsspec`. In our case this c...
open
7,326
[ "Unfortunately `fsspec` versioning allows breaking changes across version and there is no way we can keep it without constrains at the moment. It already broke `datasets` once in the past. Maybe one day once `fsspec` decides on a stable and future proof API but I don't think this will happen anytime soon\r\n\r\nedi...
false
2024-12-13 11:35:12
2025-01-03 15:34:37
NONE
fellhorn
26,092,524
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7326/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 3, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7326
https://github.com/huggingface/datasets/issues/7326
null
false
2,736,618,054
Introduce pdf support (#7318)
First implementation of the Pdf feature to support pdfs (#7318) . Using [pdfplumber](https://github.com/jsvine/pdfplumber?tab=readme-ov-file#python-library) as the default library to work with pdfs. @lhoestq and @AndreaFrancis
closed
7,325
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7325). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Hi @AndreaFrancis and @lhoestq ! Thanks for looking at the code and for all the changes...
false
2024-12-12 18:31:18
2025-03-18 14:00:36
CONTRIBUTOR
yabramuvdi
4,812,761
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7325/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7325
https://github.com/huggingface/datasets/pull/7325
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7325", "html_url": "https://github.com/huggingface/datasets/pull/7325", "diff_url": "https://github.com/huggingface/datasets/pull/7325.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7325.patch", "merged_at": "2025-03-18T14:00:36Z"}
true
2,736,008,698
Unexpected cache behaviour using load_dataset
### Describe the bug Following the (Cache management)[https://huggingface.co/docs/datasets/en/cache] docu and previous behaviour from datasets version 2.18.0, one is able to change the cache directory. Previously, all downloaded/extracted/etc files were found in this folder. As i have recently update to the latest v...
closed
7,323
[ "Hi ! Since `datasets` 3.x, the `datasets` specific files are in `cache_dir=` and the HF files are cached using `huggingface_hub` and you can set its cache directory using the `HF_HOME` environment variable.\r\n\r\nThey are independent, for example you can delete the Hub cache (containing downloaded files) but sti...
false
2024-12-12 14:03:00
2025-01-31 11:34:24
NONE
Moritz-Wirth
74,349,080
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7323/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7323
https://github.com/huggingface/datasets/issues/7323
null
false
2,732,254,868
ArrowInvalid: JSON parse error: Column() changed from object to array in row 0
### Describe the bug Encountering an error while loading the ```liuhaotian/LLaVA-Instruct-150K dataset```. ### Steps to reproduce the bug ``` from datasets import load_dataset fw =load_dataset("liuhaotian/LLaVA-Instruct-150K") ``` Error: ``` ArrowInvalid Traceback (most recen...
open
7,322
[ "Hi ! `datasets` uses Arrow under the hood which expects each column and array to have fixed types that don't change across rows of a dataset, which is why we get this error. This dataset in particular doesn't have a format compatible with Arrow unfortunately. Don't hesitate to open a discussion or PR on HF to fix ...
false
2024-12-11 08:41:39
2025-07-15 13:06:55
NONE
Polarisamoon
41,767,521
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7322/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7322
https://github.com/huggingface/datasets/issues/7322
null
false
2,731,626,760
ImportError: cannot import name 'set_caching_enabled' from 'datasets'
### Describe the bug Traceback (most recent call last): File "/usr/local/lib/python3.10/runpy.py", line 187, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/usr/local/lib/python3.10/runpy.py", line 110, in _get_module_details __import__(pkg_name) File "...
open
7,321
[ "pip install datasets==2.18.0", "Hi ! I think you need to update axolotl" ]
false
2024-12-11 01:58:46
2024-12-11 13:32:15
NONE
sankexin
33,318,353
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7321/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7321
https://github.com/huggingface/datasets/issues/7321
null
false
2,731,112,100
ValueError: You should supply an encoding or a list of encodings to this method that includes input_ids, but you provided ['label']
### Describe the bug I am trying to create a PEFT model from DISTILBERT model, and run a training loop. However, the trainer.train() is giving me this error: ValueError: You should supply an encoding or a list of encodings to this method that includes input_ids, but you provided ['label'] Here is my code: ### St...
closed
7,320
[ "Now i have other error" ]
false
2024-12-10 20:23:11
2024-12-10 23:22:23
NONE
atrompeterog
38,381,084
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7320/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7320
https://github.com/huggingface/datasets/issues/7320
null
false
2,730,679,980
set dev version
closed
7,319
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7319). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2024-12-10 17:01:34
2024-12-10 17:04:04
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7319/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7319
https://github.com/huggingface/datasets/pull/7319
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7319", "html_url": "https://github.com/huggingface/datasets/pull/7319", "diff_url": "https://github.com/huggingface/datasets/pull/7319.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7319.patch", "merged_at": "2024-12-10T17:01:45Z"}
true
2,730,676,278
Introduce support for PDFs
### Feature request The idea (discussed in the Discord server with @lhoestq ) is to have a Pdf type like Image/Audio/Video. For example [Video](https://github.com/huggingface/datasets/blob/main/src/datasets/features/video.py) was recently added and contains how to decode a video file encoded in a dictionary like {"pat...
open
7,318
[ "#self-assign", "Awesome ! Let me know if you have any question or if I can help :)\r\n\r\ncc @AndreaFrancis as well for viz", "Other candidates libraries for the Pdf type: PyMuPDF pypdf and pdfplumber\r\n\r\nEDIT: Pymupdf looks like a good choice when it comes to maturity + performance + versatility BUT the li...
false
2024-12-10 16:59:48
2024-12-12 18:38:13
CONTRIBUTOR
yabramuvdi
4,812,761
User
[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7318/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7318
https://github.com/huggingface/datasets/issues/7318
null
false
2,730,661,237
Release: 3.2.0
closed
7,317
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7317). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2024-12-10 16:53:20
2024-12-10 16:56:58
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7317/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7317
https://github.com/huggingface/datasets/pull/7317
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7317", "html_url": "https://github.com/huggingface/datasets/pull/7317", "diff_url": "https://github.com/huggingface/datasets/pull/7317.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7317.patch", "merged_at": "2024-12-10T16:56:56Z"}
true
2,730,196,085
More docs to from_dict to mention that the result lives in RAM
following discussions at https://discuss.huggingface.co/t/how-to-load-this-simple-audio-data-set-and-use-dataset-map-without-memory-issues/17722/14
closed
7,316
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7316). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2024-12-10 13:56:01
2024-12-10 13:58:32
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7316/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7316
https://github.com/huggingface/datasets/pull/7316
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7316", "html_url": "https://github.com/huggingface/datasets/pull/7316", "diff_url": "https://github.com/huggingface/datasets/pull/7316.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7316.patch", "merged_at": "2024-12-10T13:57:02Z"}
true
2,727,502,630
Resolved for empty datafiles
Resolved for Issue#6152
open
7,314
[ "Closes #6152 ", "@mariosasko I hope this resolves #6152 " ]
false
2024-12-09 15:47:22
2024-12-27 18:20:21
NONE
sahillihas
20,582,290
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7314/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7314
https://github.com/huggingface/datasets/pull/7314
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7314", "html_url": "https://github.com/huggingface/datasets/pull/7314", "diff_url": "https://github.com/huggingface/datasets/pull/7314.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7314.patch", "merged_at": null}
true
2,726,240,634
Cannot create a dataset with relative audio path
### Describe the bug Hello! I want to create a dataset of parquet files, with audios stored as separate .mp3 files. However, it says "No such file or directory" (see the reproducing code). ### Steps to reproduce the bug Creating a dataset ``` from pathlib import Path from datasets import Dataset, load_datas...
open
7,313
[ "Hello ! when you `cast_column` you need the paths to be absolute paths or relative paths to your working directory, not the original dataset directory.\r\n\r\nThough I'd recommend structuring your dataset as an AudioFolder which automatically links a metadata.jsonl or csv to the audio files via relative paths **wi...
false
2024-12-09 07:34:20
2025-04-19 07:13:08
NONE
sedol1339
5,188,731
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7313/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7313
https://github.com/huggingface/datasets/issues/7313
null
false
2,725,103,094
[Audio Features - DO NOT MERGE] PoC for adding an offset+sliced reading to audio file.
This is a proof of concept for #7310 . The idea is to enable the access to others column of the dataset row when loading an audio file into a table. This is to allow sliced reading. As stated in the issue, many people have very long audio files and use start and stop slicing in this audio file. Right now, this code ...
open
7,312
[]
false
2024-12-08 10:27:31
2024-12-08 10:27:31
NONE
TParcollet
11,910,731
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7312/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7312
https://github.com/huggingface/datasets/pull/7312
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7312", "html_url": "https://github.com/huggingface/datasets/pull/7312", "diff_url": "https://github.com/huggingface/datasets/pull/7312.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7312.patch", "merged_at": null}
true
2,725,002,630
How to get the original dataset name with username?
### Feature request The issue is related to ray data https://github.com/ray-project/ray/issues/49008 which it requires to check if the dataset is the original one just after `load_dataset` and parquet files are already available on hf hub. The solution used now is to get the dataset name, config and split, then `...
open
7,311
[ "Hi ! why not pass the dataset id to Ray and let it check the parquet files ? Or pass the parquet files lists directly ?", "I'm not sure why ray design an API like this to accept a `Dataset` object, so they need to verify the `Dataset` is the original one and use the `DatasetInfo` to query the huggingface hub. I'...
false
2024-12-08 07:18:14
2025-01-09 10:48:02
CONTRIBUTOR
npuichigo
11,533,479
User
[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7311/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7311
https://github.com/huggingface/datasets/issues/7311
null
false
2,724,830,603
Enable the Audio Feature to decode / read with an offset + duration
### Feature request For most large speech dataset, we do not wish to generate hundreds of millions of small audio samples. Instead, it is quite common to provide larger audio files with frame offset (soundfile start and stop arguments). We should be able to pass these arguments to Audio() (column ID corresponding in t...
open
7,310
[ "Hi ! What about having audio + start + duration columns and enable something like this ?\r\n\r\n```python\r\nfor example in ds:\r\n array = example[\"audio\"].read(start=example[\"start\"], frames=example[\"duration\"])\r\n```", "Hi @lhoestq, this would work with a file-based dataset but would be terrible for...
false
2024-12-07 22:01:44
2024-12-09 21:09:46
NONE
TParcollet
11,910,731
User
[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7310/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7310
https://github.com/huggingface/datasets/issues/7310
null
false
2,729,738,963
Allow manual configuration of Dataset Viewer for datasets not created with the `datasets` library
#### **Problem Description** Currently, the Hugging Face Dataset Viewer automatically interprets dataset fields for datasets created with the `datasets` library. However, for datasets pushed directly via `git`, the Viewer: - Defaults to generic columns like `label` with `null` values if no explicit mapping is provide...
open
7,315
[ "Hi @diarray-hub , thanks for opening the issue :) Let me ping @lhoestq and @severo from the dataset viewer team :hugs: ", "amazing :)", "Hi ! why not modify the manifest.json file directly ? this way users see in the viewer the dataset as is instead which makes it easier to use using e.g. the `datasets` librar...
false
2024-12-07 16:37:12
2024-12-11 11:05:22
NONE
diarray-hub
114,512,099
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7315/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7315
https://github.com/huggingface/datasets/issues/7315
null
false
2,723,636,931
Faster parquet streaming + filters with predicate pushdown
ParquetFragment.to_batches uses a buffered stream to read parquet data, which makes streaming faster (x2 on my laptop). I also added the `filters` config parameter to support filtering with predicate pushdown, e.g. ```python from datasets import load_dataset filters = [('problem_source', '==', 'math')] ds = ...
closed
7,309
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7309). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2024-12-06 18:01:54
2024-12-07 23:32:30
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7309/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7309
https://github.com/huggingface/datasets/pull/7309
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7309", "html_url": "https://github.com/huggingface/datasets/pull/7309", "diff_url": "https://github.com/huggingface/datasets/pull/7309.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7309.patch", "merged_at": "2024-12-07T23:32:28Z"}
true
2,720,244,889
refactor: remove unnecessary else
open
7,307
[]
false
2024-12-05 12:11:09
2024-12-06 15:11:33
NONE
HarikrishnanBalagopal
20,921,177
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7307/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7307
https://github.com/huggingface/datasets/pull/7307
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7307", "html_url": "https://github.com/huggingface/datasets/pull/7307", "diff_url": "https://github.com/huggingface/datasets/pull/7307.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7307.patch", "merged_at": null}
true
2,719,807,464
Creating new dataset from list loses information. (Audio Information Lost - either Datatype or Values).
### Describe the bug When creating a dataset from a list of datapoints, information is lost of the individual items. Specifically, when creating a dataset from a list of datapoints (from another dataset). Either the datatype is lost or the values are lost. See examples below. -> What is the best way to create...
open
7,306
[]
false
2024-12-05 09:07:53
2024-12-05 09:09:38
NONE
ai-nikolai
9,797,804
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7306/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7306
https://github.com/huggingface/datasets/issues/7306
null
false
2,715,907,267
Build Documentation Test Fails Due to "Bad Credentials" Error
### Describe the bug The `Build documentation / build / build_main_documentation (push)` job is consistently failing during the "Syncing repository" step. The error occurs when attempting to determine the default branch name, resulting in "Bad credentials" errors. ### Steps to reproduce the bug 1. Trigger the `build...
open
7,305
[ "how were you able to fix this please?", "> how were you able to fix this please?\r\n\r\nI was not able to fix this." ]
false
2024-12-03 20:22:54
2025-01-08 22:38:14
CONTRIBUTOR
ruidazeng
31,152,346
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7305/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7305
https://github.com/huggingface/datasets/issues/7305
null
false
2,715,179,811
Update iterable_dataset.py
close https://github.com/huggingface/datasets/issues/7297
closed
7,304
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7304). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2024-12-03 14:25:42
2024-12-03 14:28:10
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7304/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7304
https://github.com/huggingface/datasets/pull/7304
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7304", "html_url": "https://github.com/huggingface/datasets/pull/7304", "diff_url": "https://github.com/huggingface/datasets/pull/7304.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7304.patch", "merged_at": "2024-12-03T14:27:02Z"}
true
2,705,729,696
DataFilesNotFoundError for datasets LM1B
### Describe the bug Cannot load the dataset https://huggingface.co/datasets/billion-word-benchmark/lm1b ### Steps to reproduce the bug `dataset = datasets.load_dataset('lm1b', split=split)` ### Expected behavior `Traceback (most recent call last): File "/home/hml/projects/DeepLearning/Generative_model/Diffusio...
closed
7,303
[ "Hi ! Can you try with a more recent version of `datasets` ? Also you might need to pass trust_remote_code=True since it's a script based dataset" ]
false
2024-11-29 17:27:45
2024-12-11 13:22:47
NONE
hml1996-fight
72,264,324
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7303/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7303
https://github.com/huggingface/datasets/issues/7303
null
false
2,702,626,386
Let server decide default repo visibility
Until now, all repos were public by default when created without passing the `private` argument. This meant that passing `private=False` or `private=None` was strictly the same. This is not the case anymore. Enterprise Hub offers organizations to set a default visibility setting for new repos. This is useful for organi...
closed
7,302
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7302). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "No need for a specific version of huggingface_hub to avoid a breaking change no (it's a...
false
2024-11-28 16:01:13
2024-11-29 17:00:40
CONTRIBUTOR
Wauplin
11,801,849
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7302/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7302
https://github.com/huggingface/datasets/pull/7302
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7302", "html_url": "https://github.com/huggingface/datasets/pull/7302", "diff_url": "https://github.com/huggingface/datasets/pull/7302.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7302.patch", "merged_at": "2024-11-29T17:00:38Z"}
true
2,701,813,922
update load_dataset doctring
- remove canonical dataset name - remove dataset script logic - add streaming info - clearer download and prepare steps
closed
7,301
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7301). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2024-11-28 11:19:20
2024-11-29 10:31:43
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7301/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7301
https://github.com/huggingface/datasets/pull/7301
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7301", "html_url": "https://github.com/huggingface/datasets/pull/7301", "diff_url": "https://github.com/huggingface/datasets/pull/7301.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7301.patch", "merged_at": "2024-11-29T10:31:40Z"}
true
2,701,424,320
fix: update elasticsearch version
This should fix the `test_py311 (windows latest, deps-latest` errors. ``` =========================== short test summary info =========================== ERROR tests/test_search.py - AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead. ERROR tests/test_search.py - AttributeE...
closed
7,300
[ "May I request a review @lhoestq", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7300). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2024-11-28 09:14:21
2024-12-03 14:36:56
CONTRIBUTOR
ruidazeng
31,152,346
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7300/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7300
https://github.com/huggingface/datasets/pull/7300
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7300", "html_url": "https://github.com/huggingface/datasets/pull/7300", "diff_url": "https://github.com/huggingface/datasets/pull/7300.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7300.patch", "merged_at": "2024-12-03T14:24:42Z"}
true
2,695,378,251
Efficient Image Augmentation in Hugging Face Datasets
### Describe the bug I'm using the Hugging Face datasets library to load images in batch and would like to apply a torchvision transform to solve the inconsistent image sizes in the dataset and apply some on the fly image augmentation. I can just think about using the collate_fn, but seems quite inefficient. ...
open
7,299
[]
false
2024-11-26 16:50:32
2024-11-26 16:53:53
NONE
fabiozappo
46,443,190
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7299/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7299
https://github.com/huggingface/datasets/issues/7299
null
false
2,694,196,968
loading dataset issue with load_dataset() when training controlnet
### Describe the bug i'm unable to load my dataset for [controlnet training](https://github.com/huggingface/diffusers/blob/074e12358bc17e7dbe111ea4f62f05dbae8a49d5/examples/controlnet/train_controlnet.py#L606) using load_dataset(). however, load_from_disk() seems to work? would appreciate if someone can explain why ...
open
7,298
[]
false
2024-11-26 10:50:18
2024-11-26 10:50:18
NONE
sarahahtee
81,594,044
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7298/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7298
https://github.com/huggingface/datasets/issues/7298
null
false
2,683,977,430
wrong return type for `IterableDataset.shard()`
### Describe the bug `IterableDataset.shard()` has the wrong typing for its return as `"Dataset"`. It should be `"IterableDataset"`. Makes my IDE unhappy. ### Steps to reproduce the bug look at [the source code](https://github.com/huggingface/datasets/blob/main/src/datasets/iterable_dataset.py#L2668)? ### Expected ...
closed
7,297
[ "Oops my bad ! thanks for reporting" ]
false
2024-11-22 17:25:46
2024-12-03 14:27:27
NONE
ysngshn
47,225,236
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7297/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7297
https://github.com/huggingface/datasets/issues/7297
null
false
2,675,573,974
Remove upper version limit of fsspec[http]
closed
7,296
[]
false
2024-11-20 11:29:16
2025-03-06 04:47:04
CONTRIBUTOR
cyyever
17,618,148
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7296/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7296
https://github.com/huggingface/datasets/pull/7296
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7296", "html_url": "https://github.com/huggingface/datasets/pull/7296", "diff_url": "https://github.com/huggingface/datasets/pull/7296.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7296.patch", "merged_at": null}
true
2,672,003,384
[BUG]: Streaming from S3 triggers `unexpected keyword argument 'requote_redirect_url'`
### Describe the bug Note that this bug is only triggered when `streaming=True`. #5459 introduced always calling fsspec with `client_kwargs={"requote_redirect_url": False}`, which seems to have incompatibility issues even in the newest versions. Analysis of what's happening: 1. `datasets` passes the `client_kw...
open
7,295
[]
false
2024-11-19 12:23:36
2024-11-19 13:01:53
NONE
casper-hansen
27,340,033
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7295/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7295
https://github.com/huggingface/datasets/issues/7295
null
false
2,668,663,130
Remove `aiohttp` from direct dependencies
The dependency is only used for catching an exception from other code. That can be done with an import guard.
closed
7,294
[]
false
2024-11-18 14:00:59
2025-05-07 14:27:18
CONTRIBUTOR
akx
58,669
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7294/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7294
https://github.com/huggingface/datasets/pull/7294
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7294", "html_url": "https://github.com/huggingface/datasets/pull/7294", "diff_url": "https://github.com/huggingface/datasets/pull/7294.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7294.patch", "merged_at": "2025-05-07T14:27:17Z"}
true
2,664,592,054
Updated inconsistent output in documentation examples for `ClassLabel`
fix #7129 @stevhliu
closed
7,293
[ "Updated! 😄 ", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7293). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@lhoestq, can you help with this failing test please? 🙏 " ]
false
2024-11-16 16:20:57
2024-12-06 11:33:33
MEMBER
sergiopaniego
17,179,696
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7293/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7293
https://github.com/huggingface/datasets/pull/7293
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7293", "html_url": "https://github.com/huggingface/datasets/pull/7293", "diff_url": "https://github.com/huggingface/datasets/pull/7293.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7293.patch", "merged_at": "2024-12-06T11:32:01Z"}
true
2,664,250,855
DataFilesNotFoundError for datasets `OpenMol/PubChemSFT`
### Describe the bug Cannot load the dataset https://huggingface.co/datasets/OpenMol/PubChemSFT ### Steps to reproduce the bug ``` from datasets import load_dataset dataset = load_dataset('OpenMol/PubChemSFT') ``` ### Expected behavior ``` -----------------------------------------------------------------------...
closed
7,292
[ "Hi ! If the dataset owner uses `push_to_hub()` instead of `save_to_disk()` and upload the local files it will fix the issue.\r\nRight now `datasets` sees the train/test/valid pickle files but they are not supported file formats.", "Alternatively you can load the arrow file instead:\r\n\r\n```python\r\nfrom datas...
false
2024-11-16 11:54:31
2024-11-19 00:53:00
NONE
xnuohz
17,878,022
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7292/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7292
https://github.com/huggingface/datasets/issues/7292
null
false
2,662,244,643
Why return_tensors='pt' doesn't work?
### Describe the bug I tried to add input_ids to dataset with map(), and I used the return_tensors='pt', but why I got the callback with the type of List? ![image](https://github.com/user-attachments/assets/ab046e20-2174-4e91-9cd6-4a296a43e83c) ### Steps to reproduce the bug ![image](https://github.com/user-attac...
open
7,291
[ "Hi ! `datasets` uses Arrow as storage backend which is agnostic to deep learning frameworks like torch. If you want to get torch tensors back, you need to do `dataset = dataset.with_format(\"torch\")`", "> Hi ! `datasets` uses Arrow as storage backend which is agnostic to deep learning frameworks like torch. If ...
false
2024-11-15 15:01:23
2024-11-18 13:47:08
NONE
bw-wang19
86,752,851
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7291/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7291
https://github.com/huggingface/datasets/issues/7291
null
false
2,657,620,816
`Dataset.save_to_disk` hangs when using num_proc > 1
### Describe the bug Hi, I'm encountered a small issue when saving datasets that led to the saving taking up to multiple hours. Specifically, [`Dataset.save_to_disk`](https://huggingface.co/docs/datasets/main/en/package_reference/main_classes#datasets.Dataset.save_to_disk) is a lot slower when using `num_proc>1` than...
open
7,290
[ "I've met the same situations.\r\n\r\nHere's my logs:\r\nnum_proc = 64, I stop it early as it cost **too** much time.\r\n```\r\nSaving the dataset (1540/4775 shards): 32%|███▏ | 47752224/147853764 [15:32:54<132:28:34, 209.89 examples/s]\r\nSaving the dataset (1540/4775 shards): 32%|███▏ | 47754224/14785...
false
2024-11-14 05:25:13
2025-06-27 00:56:47
NONE
JohannesAck
22,243,463
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7290/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7290
https://github.com/huggingface/datasets/issues/7290
null
false
2,648,019,507
Dataset viewer displays wrong statists
### Describe the bug In [my dataset](https://huggingface.co/datasets/speedcell4/opus-unigram2), there is a column called `lang2`, and there are 94 different classes in total, but the viewer says there are 83 values only. This issue only arises in the `train` split. The total number of values is also 94 in the `test`...
closed
7,289
[ "i think this issue is more for https://github.com/huggingface/dataset-viewer" ]
false
2024-11-11 03:29:27
2024-11-13 13:02:25
NONE
speedcell4
3,585,459
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7289/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7289
https://github.com/huggingface/datasets/issues/7289
null
false
2,647,052,280
Release v3.1.1
closed
7,288
[]
false
2024-11-10 09:38:15
2024-11-10 09:38:48
CONTRIBUTOR
alex-hh
5,719,745
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7288/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7288
https://github.com/huggingface/datasets/pull/7288
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7288", "html_url": "https://github.com/huggingface/datasets/pull/7288", "diff_url": "https://github.com/huggingface/datasets/pull/7288.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7288.patch", "merged_at": null}
true
2,646,958,393
Support for identifier-based automated split construction
### Feature request As far as I understand, automated construction of splits for hub datasets is currently based on either file names or directory structure ([as described here](https://huggingface.co/docs/datasets/en/repository_structure)) It would seem to be pretty useful to also allow splits to be based on ide...
open
7,287
[ "Hi ! You can already configure the README.md to have multiple sets of splits, e.g.\r\n\r\n```yaml\r\nconfigs:\r\n- config_name: my_first_set_of_split\r\n data_files:\r\n - split: train\r\n path: *.csv\r\n- config_name: my_second_set_of_split\r\n data_files:\r\n - split: train\r\n path: train-*.csv\r\n -...
false
2024-11-10 07:45:19
2024-11-19 14:37:02
CONTRIBUTOR
alex-hh
5,719,745
User
[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7287/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7287
https://github.com/huggingface/datasets/issues/7287
null
false
2,645,350,151
Concurrent loading in `load_from_disk` - `num_proc` as a param
### Feature request https://github.com/huggingface/datasets/pull/6464 mentions a `num_proc` param while loading dataset from disk, but can't find that in the documentation and code anywhere ### Motivation Make loading large datasets from disk faster ### Your contribution Happy to contribute if given pointers
closed
7,286
[]
false
2024-11-08 23:21:40
2024-11-09 16:14:37
NONE
unography
5,240,449
User
[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7286/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7286
https://github.com/huggingface/datasets/issues/7286
null
false
2,644,488,598
Release v3.1.0
closed
7,285
[]
false
2024-11-08 16:17:58
2024-11-08 16:18:05
CONTRIBUTOR
alex-hh
5,719,745
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7285/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7285
https://github.com/huggingface/datasets/pull/7285
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7285", "html_url": "https://github.com/huggingface/datasets/pull/7285", "diff_url": "https://github.com/huggingface/datasets/pull/7285.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7285.patch", "merged_at": null}
true
2,644,302,386
support for custom feature encoding/decoding
Fix for https://github.com/huggingface/datasets/issues/7220 as suggested in discussion, in preference to #7221 (only concern would be on effect on type checking with custom feature types that aren't covered by FeatureType?)
closed
7,284
[ "@lhoestq ", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7284). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2024-11-08 15:04:08
2024-11-21 16:09:47
CONTRIBUTOR
alex-hh
5,719,745
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7284/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7284
https://github.com/huggingface/datasets/pull/7284
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7284", "html_url": "https://github.com/huggingface/datasets/pull/7284", "diff_url": "https://github.com/huggingface/datasets/pull/7284.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7284.patch", "merged_at": "2024-11-21T16:09:47Z"}
true
2,642,537,708
Allow for variation in metadata file names as per issue #7123
Allow metadata files to have an identifying preface. Specifically, it will recognize files with `-metadata.csv` or `_metadata.csv` as metadata files for the purposes of the dataset viewer functionality. Resolves #7123.
open
7,283
[]
false
2024-11-08 00:44:47
2024-11-08 00:44:47
NONE
egrace479
38,985,481
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7283/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7283
https://github.com/huggingface/datasets/pull/7283
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7283", "html_url": "https://github.com/huggingface/datasets/pull/7283", "diff_url": "https://github.com/huggingface/datasets/pull/7283.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7283.patch", "merged_at": null}
true
2,642,075,491
Faulty datasets.exceptions.ExpectedMoreSplitsError
### Describe the bug Trying to download only the 'validation' split of my dataset; instead hit the error `datasets.exceptions.ExpectedMoreSplitsError`. Appears to be the same undesired behavior as reported in [#6939](https://github.com/huggingface/datasets/issues/6939), but with `data_files`, not `data_dir`. Her...
open
7,282
[]
false
2024-11-07 20:15:01
2024-11-07 20:15:42
CONTRIBUTOR
meg-huggingface
90,473,723
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7282/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7282
https://github.com/huggingface/datasets/issues/7282
null
false
2,640,346,339
File not found error
### Describe the bug I get a FileNotFoundError: <img width="944" alt="image" src="https://github.com/user-attachments/assets/1336bc08-06f6-4682-a3c0-071ff65efa87"> ### Steps to reproduce the bug See screenshot. ### Expected behavior I want to load one audiofile from the dataset. ### Environmen...
open
7,281
[ "Link to the dataset: https://huggingface.co/datasets/MichielBontenbal/UrbanSounds " ]
false
2024-11-07 09:04:49
2024-11-07 09:22:43
NONE
MichielBontenbal
37,507,786
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7281/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7281
https://github.com/huggingface/datasets/issues/7281
null
false