id int64 600M 4.6B | node_id stringlengths 18 24 | number int64 2 8.24k | title stringlengths 1 290 | state stringclasses 2
values | state_reason stringclasses 5
values | created_at timestamp[s]date 2020-04-14 18:18:51 2026-06-05 18:08:17 | updated_at timestamp[s]date 2020-04-29 09:23:05 2026-06-05 21:18:34 | closed_at stringlengths 0 20 | html_url stringlengths 48 51 | user stringlengths 3 26 | labels listlengths 0 4 | assignees listlengths 0 4 | milestone stringclasses 7
values | comments listlengths 0 70 | author_association stringclasses 4
values | body stringlengths 0 228k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2,847,172,115 | I_kwDODunzps6ptGYT | 7,394 | Using load_dataset with data_files and split arguments yields an error | open | 2025-02-12T04:50:11 | 2025-11-21T14:05:23 | https://github.com/huggingface/datasets/issues/7394 | devon-research | [] | [] | [
"Hi, \nI want to work on this issue involving adding a verification test for the **`HuggingFaceM4/InterleavedWebDocuments`** dataset. \nThis will be my first contribution to `datasets`, \nI plan to add a simple loading and basic structure verification test like other recent dataset tests. \nYou can expect a PR ... | NONE | ### Describe the bug
It seems the list of valid splits recorded by the package becomes incorrectly overwritten when using the `data_files` argument.
If I run
```python
from datasets import load_dataset
load_dataset("allenai/super", split="all_examples", data_files="tasks/expert.jsonl")
```
then I get the error
```
Va... | |||
2,846,095,043 | I_kwDODunzps6po_bD | 7,392 | push_to_hub payload too large error when using large ClassLabel feature | open | 2025-02-11T17:51:34 | 2025-02-11T18:01:31 | https://github.com/huggingface/datasets/issues/7392 | DavidRConnell | [] | [] | [
"See also <https://discuss.huggingface.co/t/datasetdict-push-to-hub-failing-with-payload-to-large/140083/8>\n"
] | CONTRIBUTOR | ### 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... | |||
2,845,184,764 | I_kwDODunzps6plhL8 | 7,391 | AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' | open | 2025-02-11T12:02:26 | 2025-02-11T12:02:26 | https://github.com/huggingface/datasets/issues/7391 | LinXin04 | [] | [] | [] | NONE | pyarrow 尝试了若干个版本都不可以 | |||
2,843,813,365 | I_kwDODunzps6pgSX1 | 7,390 | Re-add py.typed | open | 2025-02-10T22:12:52 | 2025-08-10T00:51:17 | https://github.com/huggingface/datasets/issues/7390 | NeilGirdhar | [
"enhancement"
] | [] | [
"A similar issue was fixed for the `transformers` package, too: https://github.com/huggingface/transformers/pull/37022"
] | CONTRIBUTOR | ### 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... | |||
2,843,592,606 | I_kwDODunzps6pfcee | 7,389 | Getting statistics about filtered examples | closed | completed | 2025-02-10T20:48:29 | 2025-02-11T20:44:15 | 2025-02-11T20:44:13Z | https://github.com/huggingface/datasets/issues/7389 | jonathanasdf | [] | [] | [
"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... | NONE | @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... | |
2,843,188,499 | I_kwDODunzps6pd50T | 7,388 | OSError: [Errno 22] Invalid argument forbidden character | closed | completed | 2025-02-10T17:46:31 | 2025-02-11T13:42:32 | 2025-02-11T13:42:30Z | https://github.com/huggingface/datasets/issues/7388 | langflogit | [] | [] | [
"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"
] | NONE | ### 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... | |
2,841,228,048 | I_kwDODunzps6pWbMQ | 7,387 | Dynamic adjusting dataloader sampling weight | open | 2025-02-10T03:18:47 | 2025-03-07T14:06:54 | https://github.com/huggingface/datasets/issues/7387 | whc688 | [] | [] | [
"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... | NONE | 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. | |||
2,840,032,524 | I_kwDODunzps6pR3UM | 7,386 | Add bookfolder Dataset Builder for Digital Book Formats | closed | completed | 2025-02-08T14:27:55 | 2025-02-08T14:30:10 | 2025-02-08T14:30:09Z | https://github.com/huggingface/datasets/issues/7386 | shikanime | [
"enhancement"
] | [] | [
"On second thought, probably not a good idea."
] | NONE | ### 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... | |
2,815,649,092 | I_kwDODunzps6n02VE | 7,381 | Iterating over values of a column in the IterableDataset | closed | completed | 2025-01-28T13:17:36 | 2025-05-22T18:00:04 | 2025-05-22T18:00:04Z | https://github.com/huggingface/datasets/issues/7381 | TopCoder2K | [
"enhancement"
] | [
"TopCoder2K"
] | [
"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... | CONTRIBUTOR | ### 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... | |
2,802,957,388 | I_kwDODunzps6nEbxM | 7,378 | Allow pushing config version to hub | open | 2025-01-21T22:35:07 | 2025-01-30T13:56:56 | https://github.com/huggingface/datasets/issues/7378 | momeara | [
"enhancement"
] | [] | [
"Hi ! This sounds reasonable to me, feel free to open a PR :)"
] | NONE | ### 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... | |||
2,802,723,285 | I_kwDODunzps6nDinV | 7,377 | Support for sparse arrays with the Arrow Sparse Tensor format? | open | 2025-01-21T20:14:35 | 2026-02-03T23:05:02 | https://github.com/huggingface/datasets/issues/7377 | JulesGM | [
"enhancement"
] | [] | [
"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 ... | NONE | ### 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 ... | |||
2,800,609,218 | I_kwDODunzps6m7efC | 7,375 | vllm批量推理报错 | open | 2025-01-21T03:22:23 | 2025-01-30T14:02:40 | https://github.com/huggingface/datasets/issues/7375 | YuShengzuishuai | [] | [] | [
"Make sure you have installed a recent version of `soundfile`"
] | NONE | ### Describe the bug

### Steps to reproduce the bug

### Expected behavior
\n\n\n\nAdding a img from memray\nhttps://gist.github.com/sam-hey/00c958f13fb0f7b54d17197fe353002f",
"I'm having the same issue where c... | NONE | ### 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
... | |||
2,791,760,968 | I_kwDODunzps6mZuRI | 7,372 | Inconsistent Behavior Between `load_dataset` and `load_from_disk` When Loading Sharded Datasets | open | 2025-01-16T05:47:20 | 2025-01-16T05:47:20 | https://github.com/huggingface/datasets/issues/7372 | gaohongkui | [] | [] | [] | NONE | ### 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... | |||
2,790,549,889 | I_kwDODunzps6mVGmB | 7,371 | 500 Server error with pushing a dataset | open | 2025-01-15T18:23:02 | 2025-01-15T20:06:05 | https://github.com/huggingface/datasets/issues/7371 | martinmatak | [] | [] | [
"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."
] | NONE | ### 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-... | |||
2,787,193,238 | I_kwDODunzps6mITGW | 7,369 | Importing dataset gives unhelpful error message when filenames in metadata.csv are not found in the directory | open | 2025-01-14T13:53:21 | 2025-01-14T15:05:51 | https://github.com/huggingface/datasets/issues/7369 | svencornetsdegroot | [] | [] | [
"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."
] | NONE | ### 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 ... | |||
2,781,522,894 | I_kwDODunzps6lyqvO | 7,366 | Dataset.from_dict() can't handle large dict | open | 2025-01-11T02:05:21 | 2025-01-11T02:05:21 | https://github.com/huggingface/datasets/issues/7366 | CSU-OSS | [] | [] | [] | NONE | ### 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 =... | |||
2,780,216,199 | I_kwDODunzps6ltruH | 7,365 | A parameter is specified but not used in datasets.arrow_dataset.Dataset.from_pandas() | open | 2025-01-10T13:39:33 | 2025-01-10T13:39:33 | https://github.com/huggingface/datasets/issues/7365 | NourOM02 | [] | [] | [] | NONE | ### 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... | |||
2,776,929,268 | I_kwDODunzps6lhJP0 | 7,364 | API endpoints for gated dataset access requests | closed | not_planned | 2025-01-09T06:21:20 | 2025-01-09T11:17:40 | 2025-01-09T11:17:20Z | https://github.com/huggingface/datasets/issues/7364 | jerome-white | [
"enhancement"
] | [] | [
"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... | NONE | ### 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... | |
2,774,090,012 | I_kwDODunzps6lWUEc | 7,363 | ImportError: To support decoding images, please install 'Pillow'. | open | 2025-01-08T02:22:57 | 2025-05-28T14:56:53 | https://github.com/huggingface/datasets/issues/7363 | jamessdixon | [] | [] | [
"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/... | NONE | ### 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.
###... | |||
2,773,731,829 | I_kwDODunzps6lU8n1 | 7,362 | HuggingFace CLI dataset download raises error | closed | completed | 2025-01-07T21:03:30 | 2025-01-08T15:00:37 | 2025-01-08T14:35:52Z | https://github.com/huggingface/datasets/issues/7362 | ajayvohra2005 | [] | [] | [
"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... | NONE | ### 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... | |
2,771,751,406 | I_kwDODunzps6lNZHu | 7,360 | error when loading dataset in Hugging Face: NoneType error is not callable | open | 2025-01-07T02:11:36 | 2025-02-24T13:32:52 | https://github.com/huggingface/datasets/issues/7360 | nanu23333 | [] | [] | [
"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... | NONE | ### 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... | |||
2,771,137,842 | I_kwDODunzps6lLDUy | 7,359 | There are multiple 'mteb/arguana' configurations in the cache: default, corpus, queries with HF_HUB_OFFLINE=1 | open | 2025-01-06T17:42:49 | 2025-01-06T17:43:31 | https://github.com/huggingface/datasets/issues/7359 | Bhavya6187 | [] | [] | [
"Related to https://github.com/embeddings-benchmark/mteb/issues/1714"
] | NONE | ### 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... | |||
2,770,456,127 | I_kwDODunzps6lIc4_ | 7,357 | Python process aborded with GIL issue when using image dataset | open | 2025-01-06T11:29:30 | 2026-04-04T07:09:22 | https://github.com/huggingface/datasets/issues/7357 | AlexKoff88 | [] | [] | [
"The issue seems to come from `pyarrow`, I opened an issue on their side at https://github.com/apache/arrow/issues/45214",
"I \"solved\" this by setting a low batch_size for load_datasets()",
"datasets==3.1.0 works\ndatasets==4.1.1 fails",
"If you want to use latest version over 3.1.0, a temporary fix is to m... | NONE | ### 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... | |||
2,770,095,103 | I_kwDODunzps6lHEv_ | 7,356 | How about adding a feature to pass the key when performing map on DatasetDict? | closed | completed | 2025-01-06T08:13:52 | 2025-03-24T10:57:47 | 2025-03-24T10:57:47Z | https://github.com/huggingface/datasets/issues/7356 | jp1924 | [
"enhancement"
] | [] | [
"@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```",... | CONTRIBUTOR | ### 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... | |
2,768,958,211 | I_kwDODunzps6lCvMD | 7,355 | Not available datasets[audio] on python 3.13 | open | 2025-01-04T18:37:08 | 2025-06-28T00:26:19 | https://github.com/huggingface/datasets/issues/7355 | sergiosinlimites | [] | [] | [
"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 ... | NONE | ### 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... | |||
2,768,955,917 | I_kwDODunzps6lCuoN | 7,354 | 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'. | closed | completed | 2025-01-04T18:30:17 | 2025-01-08T02:20:58 | 2025-01-08T02:20:58Z | https://github.com/huggingface/datasets/issues/7354 | jamessdixon | [] | [] | [
"recreated .venv and run this: pip install diffusers[training]==0.11.1"
] | NONE | ### 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... | |
2,760,282,339 | I_kwDODunzps6khpDj | 7,347 | Converting Arrow to WebDataset TAR Format for Offline Use | closed | completed | 2024-12-27T01:40:44 | 2024-12-31T17:38:00 | 2024-12-28T15:38:03Z | https://github.com/huggingface/datasets/issues/7347 | katie312 | [
"enhancement"
] | [] | [
"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... | NONE | ### 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... | |
2,758,752,118 | I_kwDODunzps6kbzd2 | 7,346 | OSError: Invalid flatbuffers message. | closed | completed | 2024-12-25T11:38:52 | 2025-01-09T14:25:29 | 2025-01-09T14:25:05Z | https://github.com/huggingface/datasets/issues/7346 | antecede | [] | [] | [
"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... | NONE | ### 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... | |
2,758,585,709 | I_kwDODunzps6kbK1t | 7,345 | Different behaviour of IterableDataset.map vs Dataset.map with remove_columns | closed | completed | 2024-12-25T07:36:48 | 2025-01-07T11:56:42 | 2025-01-07T11:56:42Z | https://github.com/huggingface/datasets/issues/7345 | vttrifonov | [] | [] | [
"Good catch ! Do you think you can open a PR to fix this issue ?"
] | CONTRIBUTOR | ### 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': ... | |
2,754,735,951 | I_kwDODunzps6kMe9P | 7,344 | HfHubHTTPError: 429 Client Error: Too Many Requests for URL when trying to access SlimPajama-627B or c4 on TPUs | closed | completed | 2024-12-22T16:30:07 | 2025-01-15T05:32:00 | 2025-01-15T05:31:58Z | https://github.com/huggingface/datasets/issues/7344 | clankur | [] | [] | [
"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... | NONE | ### 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 ... | |
2,750,525,823 | I_kwDODunzps6j8bF_ | 7,343 | [Bug] Inconsistent behavior of data_files and data_dir in load_dataset method. | closed | completed | 2024-12-19T14:31:27 | 2025-01-03T15:54:09 | 2025-01-03T15:54:09Z | https://github.com/huggingface/datasets/issues/7343 | JasonCZH4 | [] | [] | [
"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... | NONE | ### 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... | |
2,744,877,569 | I_kwDODunzps6jm4IB | 7,337 | One or several metadata.jsonl were found, but not in the same directory or in a parent directory of | open | 2024-12-17T12:58:43 | 2025-01-03T15:28:13 | https://github.com/huggingface/datasets/issues/7337 | mst272 | [] | [] | [
"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... | NONE | ### 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... | |||
2,744,746,456 | I_kwDODunzps6jmYHY | 7,336 | Clarify documentation or Create DatasetCard | open | 2024-12-17T12:01:00 | 2024-12-17T12:01:00 | https://github.com/huggingface/datasets/issues/7336 | August-murr | [
"enhancement"
] | [] | [] | NONE | ### 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... | |||
2,743,437,260 | I_kwDODunzps6jhYfM | 7,335 | Too many open files: '/root/.cache/huggingface/token' | open | 2024-12-16T21:30:24 | 2024-12-16T21:30:24 | https://github.com/huggingface/datasets/issues/7335 | kopyl | [] | [] | [] | NONE | ### 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
... | |||
2,740,266,503 | I_kwDODunzps6jVSYH | 7,334 | TypeError: Value.__init__() missing 1 required positional argument: 'dtype' | open | 2024-12-15T04:08:46 | 2025-10-30T09:05:53 | https://github.com/huggingface/datasets/issues/7334 | ghost | [] | [] | [
"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... | NONE | ### 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",
)
... | |||
2,738,514,909 | I_kwDODunzps6jOmvd | 7,327 | .map() is not caching and ram goes OOM | open | 2024-12-13T14:22:56 | 2025-02-10T10:42:38 | https://github.com/huggingface/datasets/issues/7327 | simeneide | [] | [] | [
"I have the same issue - any update on this?"
] | NONE | ### 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... | |||
2,738,188,902 | I_kwDODunzps6jNXJm | 7,326 | Remove upper bound for fsspec | open | 2024-12-13T11:35:12 | 2025-01-03T15:34:37 | https://github.com/huggingface/datasets/issues/7326 | fellhorn | [] | [] | [
"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... | NONE | ### 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... | |||
2,736,008,698 | I_kwDODunzps6jFC36 | 7,323 | Unexpected cache behaviour using load_dataset | closed | completed | 2024-12-12T14:03:00 | 2025-01-31T11:34:24 | 2025-01-31T11:34:24Z | https://github.com/huggingface/datasets/issues/7323 | Moritz-Wirth | [] | [] | [
"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... | NONE | ### 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... | |
2,732,254,868 | I_kwDODunzps6i2uaU | 7,322 | ArrowInvalid: JSON parse error: Column() changed from object to array in row 0 | open | 2024-12-11T08:41:39 | 2025-07-15T13:06:55 | https://github.com/huggingface/datasets/issues/7322 | Polarisamoon | [] | [] | [
"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 ... | NONE | ### 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... | |||
2,731,626,760 | I_kwDODunzps6i0VEI | 7,321 | ImportError: cannot import name 'set_caching_enabled' from 'datasets' | open | 2024-12-11T01:58:46 | 2024-12-11T13:32:15 | https://github.com/huggingface/datasets/issues/7321 | sankexin | [] | [] | [
"pip install datasets==2.18.0",
"Hi ! I think you need to update axolotl"
] | NONE | ### 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 "... | |||
2,731,112,100 | I_kwDODunzps6iyXak | 7,320 | ValueError: You should supply an encoding or a list of encodings to this method that includes input_ids, but you provided ['label'] | closed | completed | 2024-12-10T20:23:11 | 2024-12-10T23:22:23 | 2024-12-10T23:22:23Z | https://github.com/huggingface/datasets/issues/7320 | atrompeterog | [] | [] | [
"Now i have other error"
] | NONE | ### 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... | |
2,730,676,278 | I_kwDODunzps6iwtA2 | 7,318 | Introduce support for PDFs | open | 2024-12-10T16:59:48 | 2024-12-12T18:38:13 | https://github.com/huggingface/datasets/issues/7318 | yabramuvdi | [
"enhancement"
] | [] | [
"#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... | CONTRIBUTOR | ### 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... | |||
2,726,240,634 | I_kwDODunzps6ifyF6 | 7,313 | Cannot create a dataset with relative audio path | open | 2024-12-09T07:34:20 | 2025-04-19T07:13:08 | https://github.com/huggingface/datasets/issues/7313 | sedol1339 | [] | [] | [
"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... | NONE | ### 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... | |||
2,725,002,630 | I_kwDODunzps6ibD2G | 7,311 | How to get the original dataset name with username? | open | 2024-12-08T07:18:14 | 2025-01-09T10:48:02 | https://github.com/huggingface/datasets/issues/7311 | npuichigo | [
"enhancement"
] | [] | [
"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'... | CONTRIBUTOR | ### 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 `... | |||
2,724,830,603 | I_kwDODunzps6iaZ2L | 7,310 | Enable the Audio Feature to decode / read with an offset + duration | open | 2024-12-07T22:01:44 | 2024-12-09T21:09:46 | https://github.com/huggingface/datasets/issues/7310 | TParcollet | [
"enhancement"
] | [] | [
"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... | NONE | ### 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... | |||
2,729,738,963 | I_kwDODunzps6itILT | 7,315 | Allow manual configuration of Dataset Viewer for datasets not created with the `datasets` library | open | 2024-12-07T16:37:12 | 2024-12-11T11:05:22 | https://github.com/huggingface/datasets/issues/7315 | diarray-hub | [] | [] | [
"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... | NONE | #### **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... | |||
2,719,807,464 | I_kwDODunzps6iHPfo | 7,306 | Creating new dataset from list loses information. (Audio Information Lost - either Datatype or Values). | open | 2024-12-05T09:07:53 | 2024-12-05T09:09:38 | https://github.com/huggingface/datasets/issues/7306 | ai-nikolai | [] | [] | [] | NONE | ### 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... | |||
2,715,907,267 | I_kwDODunzps6h4XTD | 7,305 | Build Documentation Test Fails Due to "Bad Credentials" Error | open | 2024-12-03T20:22:54 | 2025-01-08T22:38:14 | https://github.com/huggingface/datasets/issues/7305 | ruidazeng | [] | [] | [
"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."
] | CONTRIBUTOR | ### 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... | |||
2,705,729,696 | I_kwDODunzps6hRiig | 7,303 | DataFilesNotFoundError for datasets LM1B | closed | completed | 2024-11-29T17:27:45 | 2024-12-11T13:22:47 | 2024-12-11T13:22:47Z | https://github.com/huggingface/datasets/issues/7303 | hml1996-fight | [] | [] | [
"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"
] | NONE | ### 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... | |
2,695,378,251 | I_kwDODunzps6gqDVL | 7,299 | Efficient Image Augmentation in Hugging Face Datasets | open | 2024-11-26T16:50:32 | 2024-11-26T16:53:53 | https://github.com/huggingface/datasets/issues/7299 | fabiozappo | [] | [] | [] | NONE | ### 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.
... | |||
2,694,196,968 | I_kwDODunzps6gli7o | 7,298 | loading dataset issue with load_dataset() when training controlnet | open | 2024-11-26T10:50:18 | 2024-11-26T10:50:18 | https://github.com/huggingface/datasets/issues/7298 | sarahahtee | [] | [] | [] | NONE | ### 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 ... | |||
2,683,977,430 | I_kwDODunzps6f-j7W | 7,297 | wrong return type for `IterableDataset.shard()` | closed | completed | 2024-11-22T17:25:46 | 2024-12-03T14:27:27 | 2024-12-03T14:27:03Z | https://github.com/huggingface/datasets/issues/7297 | ysngshn | [] | [] | [
"Oops my bad ! thanks for reporting"
] | NONE | ### 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 ... | |
2,672,003,384 | I_kwDODunzps6fQ4k4 | 7,295 | [BUG]: Streaming from S3 triggers `unexpected keyword argument 'requote_redirect_url'` | open | 2024-11-19T12:23:36 | 2024-11-19T13:01:53 | https://github.com/huggingface/datasets/issues/7295 | casper-hansen | [] | [] | [] | NONE | ### 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... | |||
2,664,250,855 | I_kwDODunzps6ezT3n | 7,292 | DataFilesNotFoundError for datasets `OpenMol/PubChemSFT` | closed | completed | 2024-11-16T11:54:31 | 2024-11-19T00:53:00 | 2024-11-19T00:52:59Z | https://github.com/huggingface/datasets/issues/7292 | xnuohz | [] | [] | [
"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... | NONE | ### 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
```
-----------------------------------------------------------------------... | |
2,662,244,643 | I_kwDODunzps6erqEj | 7,291 | Why return_tensors='pt' doesn't work? | open | 2024-11-15T15:01:23 | 2024-11-18T13:47:08 | https://github.com/huggingface/datasets/issues/7291 | bw-wang19 | [] | [] | [
"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 ... | NONE | ### 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?

### Steps to reproduce the bug
: 32%|███▏ | 47752224/147853764 [15:32:54<132:28:34, 209.89 examples/s]\r\nSaving the dataset (1540/4775 shards): 32%|███▏ | 47754224/14785... | NONE | ### 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... | |||
2,648,019,507 | I_kwDODunzps6d1ZIz | 7,289 | Dataset viewer displays wrong statists | closed | completed | 2024-11-11T03:29:27 | 2024-11-13T13:02:25 | 2024-11-13T13:02:25Z | https://github.com/huggingface/datasets/issues/7289 | speedcell4 | [] | [] | [
"i think this issue is more for https://github.com/huggingface/dataset-viewer"
] | NONE | ### 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`... | |
2,646,958,393 | I_kwDODunzps6dxWE5 | 7,287 | Support for identifier-based automated split construction | open | 2024-11-10T07:45:19 | 2024-11-19T14:37:02 | https://github.com/huggingface/datasets/issues/7287 | alex-hh | [
"enhancement"
] | [] | [
"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 -... | CONTRIBUTOR | ### 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... | |||
2,645,350,151 | I_kwDODunzps6drNcH | 7,286 | Concurrent loading in `load_from_disk` - `num_proc` as a param | closed | not_planned | 2024-11-08T23:21:40 | 2024-11-09T16:14:37 | 2024-11-09T16:14:37Z | https://github.com/huggingface/datasets/issues/7286 | unography | [
"enhancement"
] | [] | [] | NONE | ### 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 | |
2,642,075,491 | I_kwDODunzps6det9j | 7,282 | Faulty datasets.exceptions.ExpectedMoreSplitsError | open | 2024-11-07T20:15:01 | 2024-11-07T20:15:42 | https://github.com/huggingface/datasets/issues/7282 | meg-huggingface | [] | [] | [] | CONTRIBUTOR | ### 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... | |||
2,640,346,339 | I_kwDODunzps6dYHzj | 7,281 | File not found error | open | 2024-11-07T09:04:49 | 2024-11-07T09:22:43 | https://github.com/huggingface/datasets/issues/7281 | MichielBontenbal | [] | [] | [
"Link to the dataset: https://huggingface.co/datasets/MichielBontenbal/UrbanSounds "
] | NONE | ### 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... | |||
2,639,977,077 | I_kwDODunzps6dWtp1 | 7,280 | Add filename in error message when ReadError or similar occur | open | 2024-11-07T06:00:53 | 2024-11-20T13:23:12 | https://github.com/huggingface/datasets/issues/7280 | elisa-aleman | [] | [] | [
"Hi Elisa, please share the error traceback here, and if you manage to find the location in the `datasets` code where the error occurs, feel free to open a PR to add the necessary logging / improve the error message.",
"> please share the error traceback\n\nI don't have access to it but it should be during [this ... | NONE | Please update error messages to include relevant information for debugging when loading datasets with `load_dataset()` that may have a few corrupted files.
Whenever downloading a full dataset, some files might be corrupted (either at the source or from downloading corruption).
However the errors often only let me k... | |||
2,631,917,431 | I_kwDODunzps6c3993 | 7,276 | Accessing audio dataset value throws Format not recognised error | open | 2024-11-04T05:59:13 | 2024-11-09T18:51:52 | https://github.com/huggingface/datasets/issues/7276 | fawazahmed0 | [] | [] | [
"Hi ! can you try if this works ?\r\n\r\n```python\r\nimport soundfile as sf\r\n\r\nwith open('C:\\\\Users\\\\Nawaz-Server\\\\.cache\\\\huggingface\\\\hub\\\\datasets--fawazahmed0--bug-audio\\\\snapshots\\\\fab1398431fed1c0a2a7bff0945465bab8b5daef\\\\data\\\\Ghamadi\\\\037136.mp3', 'rb') as f:\r\n print(sf.read(... | NONE | ### Describe the bug
Accessing audio dataset value throws `Format not recognised error`
### Steps to reproduce the bug
**code:**
```py
from datasets import load_dataset
dataset = load_dataset("fawazahmed0/bug-audio")
for data in dataset["train"]:
print(data)
```
**output:**
```bash
(mypy) ... | |||
2,631,713,397 | I_kwDODunzps6c3MJ1 | 7,275 | load_dataset | open | 2024-11-04T03:01:44 | 2024-11-04T03:01:44 | https://github.com/huggingface/datasets/issues/7275 | santiagobp99 | [] | [] | [] | NONE | ### Describe the bug
I am performing two operations I see on a hugging face tutorial (Fine-tune a language model), and I am defining every aspect inside the mapped functions, also some imports of the library because it doesnt identify anything not defined outside that function where the dataset elements are being mapp... | |||
2,626,873,843 | I_kwDODunzps6ckunz | 7,269 | Memory leak when streaming | open | 2024-10-31T13:33:52 | 2025-12-19T07:48:08 | https://github.com/huggingface/datasets/issues/7269 | Jourdelune | [] | [] | [
"I seem to have encountered the same problem when loading non streaming datasets. load_from_disk. Causing hundreds of GB of memory, but the dataset actually only has 50GB",
"FYI when streaming parquet data, only one row group per worker is loaded in memory at a time.\r\n\r\nBtw for datasets of embeddings you can ... | NONE | ### Describe the bug
I try to use a dataset with streaming=True, the issue I have is that the RAM usage becomes higher and higher until it is no longer sustainable.
I understand that huggingface store data in ram during the streaming, and more worker in dataloader there are, more a lot of shard will be stored in ... | |||
2,626,664,687 | I_kwDODunzps6cj7jv | 7,268 | load_from_disk | open | 2024-10-31T11:51:56 | 2025-07-01T08:42:17 | https://github.com/huggingface/datasets/issues/7268 | ghaith-mq | [] | [] | [
"Hello, It's an interesting issue here. I have the same problem, I have a local dataset and I want to push the dataset to the hub but huggingface does a copy of it.\r\n\r\n```py\r\nfrom datasets import load_dataset\r\n\r\ndataset = load_dataset(\"webdataset\", data_files=\"/media/works/data/*.tar\") # copy here\r\n... | NONE | ### Describe the bug
I have data saved with save_to_disk. The data is big (700Gb). When I try loading it, the only option is load_from_disk, and this function copies the data to a tmp directory, causing me to run out of disk space. Is there an alternative solution to that?
### Steps to reproduce the bug
when trying ... | |||
2,626,490,029 | I_kwDODunzps6cjQ6t | 7,267 | Source installation fails on Macintosh with python 3.10 | open | 2024-10-31T10:18:45 | 2024-11-04T22:18:06 | https://github.com/huggingface/datasets/issues/7267 | mayankagarwals | [] | [] | [
"I encountered the same problem on M1, a workaround I did was to simply comment out the dependency:\r\n\r\n```python\r\n...\r\n \"zstandard\",\r\n \"polars[timezone]>=0.20.0\",\r\n # \"decord==0.6.0\",\r\n]\r\n```\r\n\r\nThis worked for me as the adjustments I did to the code do not use the dependency, but... | NONE | ### Describe the bug
Hi,
Decord is a dev dependency not maintained since couple years.
It does not have an ARM package available rendering it uninstallable on non-intel based macs
Suggestion is to move to eva-decord (https://github.com/georgia-tech-db/eva-decord) which doesnt have this problem.
Happy to... | |||
2,624,666,087 | I_kwDODunzps6ccTnn | 7,266 | The dataset viewer should be available soon. Please retry later. | closed | completed | 2024-10-30T16:32:00 | 2024-10-31T03:48:11 | 2024-10-31T03:48:10Z | https://github.com/huggingface/datasets/issues/7266 | viiika | [] | [] | [
"Waiting is all you need. 10 hours later, it works."
] | NONE | ### Describe the bug
After waiting for 2 hours, it still presents ``The dataset viewer should be available soon. Please retry later.''
### Steps to reproduce the bug
dataset link: https://huggingface.co/datasets/BryanW/HI_EDIT
### Expected behavior
Present the dataset viewer.
### Environment info
NA | |
2,620,510,840 | I_kwDODunzps6cMdJ4 | 7,261 | Cannot load the cache when mapping the dataset | open | 2024-10-29T08:29:40 | 2025-03-24T13:27:55 | https://github.com/huggingface/datasets/issues/7261 | zhangn77 | [] | [] | [
"@zhangn77 Hi ,have you solved this problem? I encountered the same issue during training. Could we discuss it?",
"I also encountered the same problem, why is that?"
] | NONE | ### Describe the bug
I'm training the flux controlnet. The train_dataset.map() takes long time to finish. However, when I killed one training process and want to restart a new training with the same dataset. I can't reuse the mapped result even I defined the cache dir for the dataset.
with accelerator.main_process_... | |||
2,620,014,285 | I_kwDODunzps6cKj7N | 7,260 | cache can't cleaned or disabled | open | 2024-10-29T03:15:28 | 2024-12-11T09:04:52 | https://github.com/huggingface/datasets/issues/7260 | charliedream1 | [] | [] | [
"Hey I have a similar problem and found a workaround using [temporary directories](https://docs.python.org/3/library/tempfile.html):\r\n\r\n```python\r\nfrom tempfile import TemporaryDirectory\r\n\r\nwith TemporaryDirectory() as cache_dir:\r\n data = load_dataset('json', data_files=save_local_path, split='train'... | NONE | ### Describe the bug
I tried following ways, the cache can't be disabled.
I got 2T data, but I also got more than 2T cache file. I got pressure on storage. I need to diable cache or cleaned immediately after processed. Following ways are all not working, please give some help!
```python
from datasets import ... | |||
2,616,174,996 | I_kwDODunzps6b76mU | 7,254 | mismatch for datatypes when providing `Features` with `Array2D` and user specified `dtype` and using with_format("numpy") | open | 2024-10-26T22:06:27 | 2024-10-26T22:07:37 | https://github.com/huggingface/datasets/issues/7254 | Akhil-CM | [] | [] | [
"It seems that https://github.com/huggingface/datasets/issues/5517 is exactly the same issue.\r\n\r\nIt was mentioned there that this would be fixed in version 3.x"
] | NONE | ### Describe the bug
If the user provides a `Features` type value to `datasets.Dataset` with members having `Array2D` with a value for `dtype`, it is not respected during `with_format("numpy")` which should return a `np.array` with `dtype` that the user provided for `Array2D`. It seems for floats, it will be set to `f... | |||
2,615,862,202 | I_kwDODunzps6b6uO6 | 7,253 | Unable to upload a large dataset zip either from command line or UI | open | 2024-10-26T13:17:06 | 2024-10-26T13:17:06 | https://github.com/huggingface/datasets/issues/7253 | vakyansh | [] | [] | [] | NONE | ### Describe the bug
Unable to upload a large dataset zip from command line or UI. UI simply says error. I am trying to a upload a tar.gz file of 17GB.
<img width="550" alt="image" src="https://github.com/user-attachments/assets/f9d29024-06c8-49c4-a109-0492cff79d34">
<img width="755" alt="image" src="https://githu... | |||
2,610,136,636 | I_kwDODunzps6bk4Y8 | 7,249 | How to debugging | open | 2024-10-24T01:03:51 | 2024-10-24T01:03:51 | https://github.com/huggingface/datasets/issues/7249 | ShDdu | [] | [] | [] | NONE | ### Describe the bug
I wanted to use my own script to handle the processing, and followed the tutorial documentation by rewriting the MyDatasetConfig and MyDatasetBuilder (which contains the _info,_split_generators and _generate_examples methods) classes. Testing with simple data was able to output the results of the ... | |||
2,609,926,089 | I_kwDODunzps6bkE_J | 7,248 | ModuleNotFoundError: No module named 'datasets.tasks' | open | 2024-10-23T21:58:25 | 2024-10-24T17:00:19 | https://github.com/huggingface/datasets/issues/7248 | shoowadoo | [] | [] | [
"tasks was removed in v3: #6999 \r\n\r\nI also don't see why TextClassification is imported, since it's not used after. So the fix is simple: delete this line.",
"I opened https://huggingface.co/datasets/knowledgator/events_classification_biotech/discussions/7 to remove the line, hopefully the dataset owner will ... | NONE | ### Describe the bug
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
[<ipython-input-9-13b5f31bd391>](https://bcb6shpazyu-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20241022-060119_R... | |||
2,606,230,029 | I_kwDODunzps6bV-oN | 7,247 | Adding column with dict struction when mapping lead to wrong order | open | 2024-10-22T18:55:11 | 2024-10-22T18:55:23 | https://github.com/huggingface/datasets/issues/7247 | chchch0109 | [] | [] | [] | NONE | ### Describe the bug
in `map()` function, I want to add a new column with a dict structure.
```
def map_fn(example):
example['text'] = {'user': ..., 'assistant': ...}
return example
```
However this leads to a wrong order `{'assistant':..., 'user':...}` in the dataset.
Thus I can't concatenate two datasets ... | |||
2,602,853,172 | I_kwDODunzps6bJGM0 | 7,243 | ArrayXD with None as leading dim incompatible with DatasetCardData | open | 2024-10-21T15:08:13 | 2024-10-22T14:18:10 | https://github.com/huggingface/datasets/issues/7243 | alex-hh | [] | [] | [
"It looks like `CardData` in `huggingface_hub` removes None values where it shouldn't. Indeed it calls `_remove_none` on the return of `to_dict()`:\r\n\r\n```python\r\n def to_dict(self) -> Dict[str, Any]:\r\n \"\"\"Converts CardData to a dict.\r\n\r\n Returns:\r\n `dict`: CardData repre... | CONTRIBUTOR | ### Describe the bug
Creating a dataset with ArrayXD features leads to errors when downloading from hub due to DatasetCardData removing the Nones
@lhoestq
### Steps to reproduce the bug
```python
import numpy as np
from datasets import Array2D, Dataset, Features, load_dataset
def examples_generator():... | |||
2,599,899,156 | I_kwDODunzps6a91AU | 7,241 | `push_to_hub` overwrite argument | closed | completed | 2024-10-20T03:23:26 | 2024-10-24T17:39:08 | 2024-10-24T17:39:08Z | https://github.com/huggingface/datasets/issues/7241 | ceferisbarov | [
"enhancement"
] | [] | [
"Hi ! Do you mean deleting all the files ? or erasing the repository git history before push_to_hub ?",
"Hi! I meant the latter.",
"I don't think there is a `huggingface_hub` utility to erase the git history, cc @Wauplin maybe ?",
"What is the goal exactly of deleting all the git history without deleting the ... | NONE | ### Feature request
Add an `overwrite` argument to the `push_to_hub` method.
### Motivation
I want to overwrite a repo without deleting it on Hugging Face. Is this possible? I couldn't find anything in the documentation or tutorials.
### Your contribution
I can create a PR. | |
2,598,409,993 | I_kwDODunzps6a4JcJ | 7,238 | incompatibily issue when using load_dataset with datasets==3.0.1 | open | 2024-10-18T21:25:23 | 2024-12-09T09:49:32 | https://github.com/huggingface/datasets/issues/7238 | jupiterMJM | [] | [] | [
"Hi! I'm also getting the same issue - have you been able to find a solution to this? ",
"From what I remember, I stayed at the \"downgraded\" version of dataset (2.21.0)"
] | NONE | ### Describe the bug
There is a bug when using load_dataset with dataset version at 3.0.1 .
Please see below in the "steps to reproduce the bug".
To resolve the bug, I had to downgrade to version 2.21.0
OS: Ubuntu 24 (AWS instance)
Python: same bug under 3.12 and 3.10
The error I had was:
Traceback (most rec... | |||
2,593,903,113 | I_kwDODunzps6am9IJ | 7,233 | 数据集数量问题 | open | 2024-10-17T07:41:44 | 2024-10-17T07:41:44 | https://github.com/huggingface/datasets/issues/7233 | want-well | [] | [] | [] | NONE | ### Describe the bug
这里我进行大模型微调,当数据集数量为718时,模型可以正常微调,但是当我添加一个在前718个数据集中的数据或者新增一个数据就会报错
### Steps to reproduce the bug
1.
这里我的数据集可以微调的最后两个数据集是:
{
"messages": [
{
"role": "user",
"content": "完成校正装置设计后需要进行哪些工作?"
},
{
"role": "assistant",
"content": "一旦完成校正装置设计后,需要进行系统实际调校... | |||
2,587,310,094 | I_kwDODunzps6aNzgO | 7,228 | Composite (multi-column) features | open | 2024-10-14T23:59:19 | 2024-10-15T11:17:15 | https://github.com/huggingface/datasets/issues/7228 | alex-hh | [
"enhancement"
] | [] | [] | CONTRIBUTOR | ### Feature request
Structured data types (graphs etc.) might often be most efficiently stored as multiple columns, which then need to be combined during feature decoding
Although it is currently possible to nest features as structs, my impression is that in particular when dealing with e.g. a feature composed of... | |||
2,586,920,351 | I_kwDODunzps6aMUWf | 7,226 | Add R as a How to use from the Polars (R) Library as an option | open | 2024-10-14T19:56:07 | 2024-10-14T19:57:13 | https://github.com/huggingface/datasets/issues/7226 | ran-codes | [
"enhancement"
] | [] | [] | NONE | ### Feature request
The boiler plate code to access a dataset via the hugging face file system is very useful. Please addd
## Add Polars (R) option
The equivailent code works, because the [Polars-R](https://github.com/pola-rs/r-polars) wrapper has hugging faces funcitonaliy as well.
```r
library(polars)
... | |||
2,586,229,216 | I_kwDODunzps6aJrng | 7,225 | Huggingface GIT returns null as Content-Type instead of application/x-git-receive-pack-result | open | 2024-10-14T14:33:06 | 2024-10-14T14:33:06 | https://github.com/huggingface/datasets/issues/7225 | padmalcom | [] | [] | [] | NONE | ### Describe the bug
We push changes to our datasets programmatically. Our git client jGit reports that the hf git server returns null as Content-Type after a push.
### Steps to reproduce the bug
A basic kotlin application:
```
val person = PersonIdent(
"padmalcom",
"padmalcom@sth.com"
)
... | |||
2,583,231,590 | I_kwDODunzps6Z-Pxm | 7,223 | Fallback to arrow defaults when loading dataset with custom features that aren't registered locally | open | 2024-10-12T16:08:20 | 2024-10-12T16:08:20 | https://github.com/huggingface/datasets/issues/7223 | alex-hh | [] | [] | [] | CONTRIBUTOR | ### Describe the bug
Datasets allows users to create and register custom features.
However if datasets are then pushed to the hub, this means that anyone calling load_dataset without registering the custom Features in the same way as the dataset creator will get an error message.
It would be nice to offer a fall... | |||
2,582,678,033 | I_kwDODunzps6Z8IoR | 7,222 | TypeError: Couldn't cast array of type string to null in long json | open | 2024-10-12T08:14:59 | 2025-09-26T11:54:48 | https://github.com/huggingface/datasets/issues/7222 | nokados | [] | [] | [
"I am encountering this same issue. It seems that the library manages to recognise an optional column (but not **exclusively** null) if there is at least one non-null instance within the same file. For example, given a `test_0.jsonl` file:\r\n```json\r\n{\"a\": \"a1\", \"b\": \"b1\", \"c\": null, \"d\": null}\r\n{\... | NONE | ### Describe the bug
In general, changing the type from string to null is allowed within a dataset — there are even examples of this in the documentation.
However, if the dataset is large and unevenly distributed, this allowance stops working. The schema gets locked in after reading a chunk.
Consequently, if al... | |||
2,582,036,110 | I_kwDODunzps6Z5r6O | 7,220 | Custom features not compatible with special encoding/decoding logic | open | 2024-10-11T19:20:11 | 2024-11-08T15:10:58 | https://github.com/huggingface/datasets/issues/7220 | alex-hh | [] | [] | [
"I think you can fix this simply by replacing the line with hardcoded features with `hastattr(schema, \"encode_example\")` actually",
"#7284 "
] | CONTRIBUTOR | ### Describe the bug
It is possible to register custom features using datasets.features.features.register_feature (https://github.com/huggingface/datasets/pull/6727)
However such features are not compatible with Features.encode_example/decode_example if they require special encoding / decoding logic because encod... | |||
2,581,095,098 | I_kwDODunzps6Z2GK6 | 7,217 | ds.map(f, num_proc=10) is slower than df.apply | open | 2024-10-11T11:04:05 | 2025-02-28T21:21:01 | https://github.com/huggingface/datasets/issues/7217 | lanlanlanlanlanlan365 | [] | [] | [
"Hi ! `map()` reads all the columns and writes the resulting dataset with all the columns as well, while df.column_name.apply only reads and writes one column and does it in memory. So this is speed difference is actually expected.\r\n\r\nMoreover using multiprocessing on a dataset that lives in memory (from_pandas... | NONE | ### Describe the bug
pandas columns: song_id, song_name
ds = Dataset.from_pandas(df)
def has_cover(song_name):
if song_name is None or pd.isna(song_name):
return False
return 'cover' in song_name.lower()
df['has_cover'] = df.song_name.progress_apply(has_cover)
ds = ds.map(lambda x: {'has_cov... | |||
2,579,942,939 | I_kwDODunzps6Zxs4b | 7,215 | Iterable dataset map with explicit features causes slowdown for Sequence features | open | 2024-10-10T22:08:20 | 2024-10-10T22:10:32 | https://github.com/huggingface/datasets/issues/7215 | alex-hh | [] | [] | [] | CONTRIBUTOR | ### Describe the bug
When performing map, it's nice to be able to pass the new feature type, and indeed required by interleave and concatenate datasets.
However, this can cause a major slowdown for certain types of array features due to the features being re-encoded.
This is separate to the slowdown reported i... | |||
2,578,743,713 | I_kwDODunzps6ZtIGh | 7,214 | Formatted map + with_format(None) changes array dtype for iterable datasets | open | 2024-10-10T12:45:16 | 2024-10-12T16:55:57 | https://github.com/huggingface/datasets/issues/7214 | alex-hh | [] | [] | [
"possibly due to this logic:\r\n\r\n```python\r\n def _arrow_array_to_numpy(self, pa_array: pa.Array) -> np.ndarray:\r\n if isinstance(pa_array, pa.ChunkedArray):\r\n if isinstance(pa_array.type, _ArrayXDExtensionType):\r\n # don't call to_pylist() to preserve dtype of the fixed-... | CONTRIBUTOR | ### Describe the bug
When applying with_format -> map -> with_format(None), array dtypes seem to change, even if features are passed
### Steps to reproduce the bug
```python
features=Features(**{"array0": Array3D((None, 10, 10), dtype="float32")})
dataset = Dataset.from_dict({f"array0": [np.zeros((100,10,10... | |||
2,578,675,565 | I_kwDODunzps6Zs3dt | 7,213 | Add with_rank to Dataset.from_generator | open | 2024-10-10T12:15:29 | 2024-10-10T12:17:11 | https://github.com/huggingface/datasets/issues/7213 | muthissar | [
"enhancement"
] | [] | [] | NONE | ### Feature request
Add `with_rank` to `Dataset.from_generator` similar to `Dataset.map` and `Dataset.filter`.
### Motivation
As for `Dataset.map` and `Dataset.filter`, this is useful when creating cache files using multi-GPU, where the rank can be used to select GPU IDs. For now, rank can be added in the `ge... | |||
2,578,641,259 | I_kwDODunzps6ZsvFr | 7,212 | Windows do not supprot signal.alarm and singal.signal | open | 2024-10-10T12:00:19 | 2024-10-10T12:00:19 | https://github.com/huggingface/datasets/issues/7212 | TomasJavurek | [] | [] | [] | NONE | ### Describe the bug
signal.alarm and signal.signal are used in the load.py module, but these are not supported by Windows.
### Steps to reproduce the bug
lighteval accelerate --model_args "pretrained=gpt2,trust_remote_code=True" --tasks "community|kinit_sts" --custom_tasks "community_tasks/kinit_evals.py" --output... | |||
2,576,400,502 | I_kwDODunzps6ZkMB2 | 7,211 | Describe only selected fields in README | open | 2024-10-09T16:25:47 | 2024-10-09T16:25:47 | https://github.com/huggingface/datasets/issues/7211 | alozowski | [
"enhancement"
] | [] | [] | NONE | ### Feature request
Hi Datasets team!
Is it possible to add the ability to describe only selected fields of the dataset files in `README.md`? For example, I have this open dataset ([open-llm-leaderboard/results](https://huggingface.co/datasets/open-llm-leaderboard/results?row=0)) and I want to describe only some f... | |||
2,575,883,939 | I_kwDODunzps6ZiN6j | 7,210 | Convert Array features to numpy arrays rather than lists by default | open | 2024-10-09T13:05:21 | 2024-10-09T13:05:21 | https://github.com/huggingface/datasets/issues/7210 | alex-hh | [
"enhancement"
] | [] | [] | CONTRIBUTOR | ### Feature request
It is currently quite easy to cause massive slowdowns when using datasets and not familiar with the underlying data conversions by e.g. making bad choices of formatting.
Would it be more user-friendly to set defaults that avoid this as much as possible? e.g. format Array features as numpy arrays... | |||
2,575,484,256 | I_kwDODunzps6ZgsVg | 7,208 | Iterable dataset.filter should not override features | closed | completed | 2024-10-09T10:23:45 | 2024-10-09T16:08:46 | 2024-10-09T16:08:45Z | https://github.com/huggingface/datasets/issues/7208 | alex-hh | [] | [] | [
"closed by https://github.com/huggingface/datasets/pull/7209, thanks @alex-hh !"
] | CONTRIBUTOR | ### Describe the bug
When calling filter on an iterable dataset, the features get set to None
### Steps to reproduce the bug
import numpy as np
import time
from datasets import Dataset, Features, Array3D
```python
features=Features(**{"array0": Array3D((None, 10, 10), dtype="float32"), "array1": Array3D((None,... | |
2,573,567,467 | I_kwDODunzps6ZZYXr | 7,206 | Slow iteration for iterable dataset with numpy formatting for array data | open | 2024-10-08T15:38:11 | 2024-10-17T17:14:52 | https://github.com/huggingface/datasets/issues/7206 | alex-hh | [] | [] | [
"The below easily eats up 32G of RAM. Leaving it for a while bricked the laptop with 16GB.\r\n\r\n```\r\ndataset = load_dataset(\"Voxel51/OxfordFlowers102\", data_dir=\"data\").with_format(\"numpy\")\r\nprocessed_dataset = dataset.map(lambda x: x)\r\n```\r\n\r\n` of images from a single directory where `train.png` image exists | open | 2024-10-07T09:14:17 | 2026-06-05T04:58:46 | https://github.com/huggingface/datasets/issues/7201 | SagiPolaczek | [] | [] | [
"#self-assign"
] | NONE | ### Describe the bug
Hey!
Firstly, thanks for maintaining such framework!
I had a small issue, where I wanted to load a custom dataset of image+text captioning. I had all of my images in a single directory, and one of the images had the name `train.png`. Then, the loaded dataset had only this image.
I guess it'... | |||
2,565,924,788 | I_kwDODunzps6Y8Oe0 | 7,197 | ConnectionError: Couldn't reach 'allenai/c4' on the Hub (ConnectionError)数据集下不下来,怎么回事 | open | 2024-10-04T09:33:25 | 2025-02-26T02:26:16 | https://github.com/huggingface/datasets/issues/7197 | Mrgengli | [] | [] | [
"Also cant download \"allenai/c4\", but with different error reported:\r\n```\r\nTraceback (most recent call last): ... | NONE | ### Describe the bug
from datasets import load_dataset
print("11")
traindata = load_dataset('ptb_text_only', 'penn_treebank', split='train')
print("22")
valdata = load_dataset('ptb_text_only',
'penn_treebank',
split='validation')
### Steps to reproduce the b... | |||
2,564,218,566 | I_kwDODunzps6Y1t7G | 7,196 | concatenate_datasets does not preserve shuffling state | closed | completed | 2024-10-03T14:30:38 | 2026-02-04T18:55:36 | 2026-02-04T18:55:36Z | https://github.com/huggingface/datasets/issues/7196 | alex-hh | [] | [] | [
"It also does preserve `split_by_node`, so in the meantime you should call `shuffle` or `split_by_node` AFTER `interleave_datasets` or `concatenate_datasets`"
] | CONTRIBUTOR | ### Describe the bug
After concatenate datasets on an iterable dataset, the shuffling state is destroyed, similar to #7156
This means concatenation cant be used for resolving uneven numbers of samples across devices when using iterable datasets in a distributed setting as discussed in #6623
I also noticed th... | |
2,564,070,809 | I_kwDODunzps6Y1J2Z | 7,195 | Add support for 3D datasets | open | 2024-10-03T13:27:44 | 2024-10-04T09:23:36 | https://github.com/huggingface/datasets/issues/7195 | severo | [
"enhancement"
] | [
"severo"
] | [
"maybe related: https://github.com/huggingface/datasets/issues/6388",
"Also look at https://github.com/huggingface/dataset-viewer/blob/f5fd117ceded990a7766e705bba1203fa907d6ad/services/worker/src/worker/job_runners/dataset/modalities.py#L241 which lists the 3D file formats that will assign the 3D modality to a da... | COLLABORATOR | See https://huggingface.co/datasets/allenai/objaverse for example |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.