id int64 599M 3.18B | number int64 1 7.65k | title stringlengths 1 290 | state stringclasses 2
values | body stringlengths 0 228k | is_pull_request bool 1
class | created_at stringdate 2020-04-14 10:18:02 2025-06-26 12:23:48 | updated_at stringdate 2020-04-27 16:04:17 2025-06-26 14:02:38 | closed_at stringlengths 20 20 ⌀ | user_login stringlengths 3 26 | author_association stringclasses 4
values | pr_url stringlengths 46 49 ⌀ | pr_merged_at stringlengths 20 20 ⌀ | comments_count int64 0 70 | reactions_total int64 0 61 | reactions_plus1 int64 0 39 | reactions_heart int64 0 22 | draft bool 2
classes | locked bool 1
class | labels listlengths 0 4 | html_url stringlengths 46 51 | is_pr_url bool 2
classes | comments listlengths 0 30 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2,477,676,893 | 7,118 | Allow numpy-2.1 and test it without audio extra | closed | Allow numpy-2.1 and test it without audio extra.
This PR reverts:
- #7114
Note that audio extra tests can be included again with numpy-2.1 once next numba-0.61.0 version is released. | true | 2024-08-21T10:29:35Z | 2024-08-21T11:05:03Z | 2024-08-21T10:58:15Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7118 | 2024-08-21T10:58:15Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7118 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7118). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... |
2,476,555,659 | 7,117 | Audio dataset load everything in RAM and is very slow | open | Hello, I'm working with an audio dataset. I want to transcribe the audio that the dataset contain, and for that I use whisper. My issue is that the dataset load everything in the RAM when I map the dataset, obviously, when RAM usage is too high, the program crashes.
To fix this issue, I'm using writer_batch_size tha... | true | 2024-08-20T21:18:12Z | 2024-08-26T13:11:55Z | null | Jourdelune | NONE | null | null | 3 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7117 | false | [
"Hi ! I think the issue comes from the fact that you return `row` entirely, and therefore the dataset has to re-encode the audio data in `row`.\r\n\r\nCan you try this instead ?\r\n\r\n```python\r\n# map the dataset\r\ndef transcribe_audio(row):\r\n audio = row[\"audio\"] # get the audio but do nothing with it\... |
2,475,522,721 | 7,116 | datasets cannot handle nested json if features is given. | closed | ### Describe the bug
I have a json named temp.json.
```json
{"ref1": "ABC", "ref2": "DEF", "cuts":[{"cut1": 3, "cut2": 5}]}
```
I want to load it.
```python
ds = datasets.load_dataset('json', data_files="./temp.json", features=datasets.Features({
'ref1': datasets.Value('string'),
'ref2': datasets.Value... | true | 2024-08-20T12:27:49Z | 2024-09-03T10:18:23Z | 2024-09-03T10:18:07Z | ljw20180420 | NONE | null | null | 3 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7116 | false | [
"Hi ! `Sequence` has a weird behavior for dictionaries (from tensorflow-datasets), use a regular list instead:\r\n\r\n```python\r\nds = datasets.load_dataset('json', data_files=\"./temp.json\", features=datasets.Features({\r\n 'ref1': datasets.Value('string'),\r\n 'ref2': datasets.Value('string'),\r\n 'cut... |
2,475,363,142 | 7,115 | module 'pyarrow.lib' has no attribute 'ListViewType' | closed | ### Describe the bug
Code:
`!pipuninstall -y pyarrow
!pip install --no-cache-dir pyarrow
!pip uninstall -y pyarrow
!pip install pyarrow --no-cache-dir
!pip install --upgrade datasets transformers pyarrow
!pip install pyarrow.parquet
! pip install pyarrow-core libparquet
!pip install pyarrow --no-cache-di... | true | 2024-08-20T11:05:44Z | 2024-09-10T06:51:08Z | 2024-09-10T06:51:08Z | neurafusionai | NONE | null | null | 1 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7115 | false | [
"https://github.com/neurafusionai/Hugging_Face/blob/main/meta_opt_350m_customer_support_lora_v1.ipynb\r\n\r\ncouldnt train because of GPU\r\nI didnt pip install datasets -U\r\nbut looks like restarting worked"
] |
2,475,062,252 | 7,114 | Temporarily pin numpy<2.1 to fix CI | closed | Temporarily pin numpy<2.1 to fix CI.
Fix #7111. | true | 2024-08-20T08:42:57Z | 2024-08-20T09:09:27Z | 2024-08-20T09:02:35Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7114 | 2024-08-20T09:02:35Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7114 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7114). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... |
2,475,029,640 | 7,113 | Stream dataset does not iterate if the batch size is larger than the dataset size (related to drop_last_batch) | closed | ### Describe the bug
Hi there,
I use streaming and interleaving to combine multiple datasets saved in jsonl files. The size of dataset can vary (from 100ish to 100k-ish). I use dataset.map() and a big batch size to reduce the IO cost. It was working fine with datasets-2.16.1 but this problem shows up after I upgr... | true | 2024-08-20T08:26:40Z | 2024-08-26T04:24:11Z | 2024-08-26T04:24:10Z | memray | NONE | null | null | 1 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7113 | false | [
"That's expected behavior, it's also the same in `torch`:\r\n\r\n```python\r\n>>> list(DataLoader(list(range(5)), batch_size=10, drop_last=True))\r\n[]\r\n```"
] |
2,475,004,644 | 7,112 | cudf-cu12 24.4.1, ibis-framework 8.0.0 requires pyarrow<15.0.0a0,>=14.0.1,pyarrow<16,>=2 and datasets 2.21.0 requires pyarrow>=15.0.0 | open | ### Describe the bug
!pip install accelerate>=0.16.0 torchvision transformers>=4.25.1 datasets>=2.19.1 ftfy tensorboard Jinja2 peft==0.7.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
c... | true | 2024-08-20T08:13:55Z | 2024-09-20T15:30:03Z | null | SoumyaMB10 | NONE | null | null | 2 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7112 | false | [
"@sayakpaul please advice ",
"Hits the same dependency conflict"
] |
2,474,915,845 | 7,111 | CI is broken for numpy-2: Failed to fetch wheel: llvmlite==0.34.0 | closed | Ci is broken with error `Failed to fetch wheel: llvmlite==0.34.0`: https://github.com/huggingface/datasets/actions/runs/10466825281/job/28984414269
```
Run uv pip install --system "datasets[tests_numpy2] @ ."
Resolved 150 packages in 4.42s
error: Failed to prepare distributions
Caused by: Failed to fetch wheel: ... | true | 2024-08-20T07:27:28Z | 2024-08-21T05:05:36Z | 2024-08-20T09:02:36Z | albertvillanova | MEMBER | null | null | 2 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7111 | false | [
"Note that the CI before was using:\r\n- llvmlite: 0.43.0\r\n- numba: 0.60.0\r\n\r\nNow it tries to use:\r\n- llvmlite: 0.34.0\r\n- numba: 0.51.2",
"The issue is because numba-0.60.0 pins numpy<2.1 and `uv` tries to install latest numpy-2.1.0 with an old numba-0.51.0 version (and llvmlite-0.34.0). See discussion ... |
2,474,747,695 | 7,110 | Fix ConnectionError for gated datasets and unauthenticated users | closed | Fix `ConnectionError` for gated datasets and unauthenticated users. See:
- https://github.com/huggingface/dataset-viewer/issues/3025
Note that a recent change in the Hub returns dataset info for gated datasets and unauthenticated users, instead of raising a `GatedRepoError` as before. See:
- https://github.com/hug... | true | 2024-08-20T05:26:54Z | 2024-08-20T15:11:35Z | 2024-08-20T09:14:35Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7110 | 2024-08-20T09:14:34Z | 4 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7110 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7110). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"Note that the CI error is unrelated to this PR and should be addressed in another PR. S... |
2,473,367,848 | 7,109 | ConnectionError for gated datasets and unauthenticated users | closed | Since the Hub returns dataset info for gated datasets and unauthenticated users, there is dead code: https://github.com/huggingface/datasets/blob/98fdc9e78e6d057ca66e58a37f49d6618aab8130/src/datasets/load.py#L1846-L1852
We should remove the dead code and properly handle this case: currently we are raising a `Connect... | true | 2024-08-19T13:27:45Z | 2024-08-20T09:14:36Z | 2024-08-20T09:14:35Z | albertvillanova | MEMBER | null | null | 0 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7109 | false | [] |
2,470,665,327 | 7,108 | website broken: Create a new dataset repository, doesn't create a new repo in Firefox | closed | ### Describe the bug
This issue is also reported here:
https://discuss.huggingface.co/t/create-a-new-dataset-repository-broken-page/102644
This page is broken.
https://huggingface.co/new-dataset
I fill in the form with my text, and click `Create Dataset`.
`
used to work till 2.20.0 but doesn't work in 2.21.0
In 2.20.0:
: see `Value.dtype`.
However, `LargeList` attribute (like `Sequence.feature`) expects a `FeatureType` instead.
With this renaming:
- we avoid confusion about the expected type and
-... | true | 2024-08-16T09:12:04Z | 2024-08-26T04:31:59Z | 2024-08-26T04:26:02Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7106 | 2024-08-26T04:26:02Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7106 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7106). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... |
2,468,207,039 | 7,105 | Use `huggingface_hub` cache | closed | - use `hf_hub_download()` from `huggingface_hub` for HF files
- `datasets` cache_dir is still used for:
- caching datasets as Arrow files (that back `Dataset` objects)
- extracted archives, uncompressed files
- files downloaded via http (datasets with scripts)
- I removed code that were made for http files (... | true | 2024-08-15T14:45:22Z | 2024-09-12T04:36:08Z | 2024-08-21T15:47:16Z | lhoestq | MEMBER | https://github.com/huggingface/datasets/pull/7105 | 2024-08-21T15:47:15Z | 7 | 4 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7105 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7105). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"Nice\r\n\r\n<img width=\"141\" alt=\"Capture d’écran 2024-08-19 à 15 25 00\" src=\"ht... |
2,467,788,212 | 7,104 | remove more script docs | closed | true | 2024-08-15T10:13:26Z | 2024-08-15T10:24:13Z | 2024-08-15T10:18:25Z | lhoestq | MEMBER | https://github.com/huggingface/datasets/pull/7104 | 2024-08-15T10:18:25Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7104 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7104). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... | |
2,467,664,581 | 7,103 | Fix args of feature docstrings | closed | Fix Args section of feature docstrings.
Currently, some args do not appear in the docs because they are not properly parsed due to the lack of their type (between parentheses). | true | 2024-08-15T08:46:08Z | 2024-08-16T09:18:29Z | 2024-08-15T10:33:30Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7103 | 2024-08-15T10:33:30Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7103 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7103). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... |
2,466,893,106 | 7,102 | Slow iteration speeds when using IterableDataset.shuffle with load_dataset(data_files=..., streaming=True) | open | ### Describe the bug
When I load a dataset from a number of arrow files, as in:
```
random_dataset = load_dataset(
"arrow",
data_files={split: shard_filepaths},
streaming=True,
split=split,
)
```
I'm able to get fast iteration speeds when iterating over the dataset without shuffling.
... | true | 2024-08-14T21:44:44Z | 2024-08-15T16:17:31Z | null | lajd | NONE | null | null | 2 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7102 | false | [
"Hi @lajd , I was skeptical about how we are saving the shards each as their own dataset (arrow file) in the script above, and so I updated the script to try out saving the shards in a few different file formats. From the experiments I ran, I saw binary format show significantly the best performance, with arrow a... |
2,466,510,783 | 7,101 | `load_dataset` from Hub with `name` to specify `config` using incorrect builder type when multiple data formats are present | open | Following [documentation](https://huggingface.co/docs/datasets/repository_structure#define-your-splits-and-subsets-in-yaml) I had defined different configs for [`Dataception`](https://huggingface.co/datasets/bigdata-pw/Dataception), a dataset of datasets:
```yaml
configs:
- config_name: dataception
data_files:
... | true | 2024-08-14T18:12:25Z | 2024-08-18T10:33:38Z | null | hlky | NONE | null | null | 1 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7101 | false | [
"Having looked into this further it seems the core of the issue is with two different formats in the same repo.\r\n\r\nWhen the `parquet` config is first, the `WebDataset`s are loaded as `parquet`, if the `WebDataset` configs are first, the `parquet` is loaded as `WebDataset`.\r\n\r\nA workaround in my case would b... |
2,465,529,414 | 7,100 | IterableDataset: cannot resolve features from list of numpy arrays | open | ### Describe the bug
when resolve features of `IterableDataset`, got `pyarrow.lib.ArrowInvalid: Can only convert 1-dimensional array values` error.
```
Traceback (most recent call last):
File "test.py", line 6
iter_ds = iter_ds._resolve_features()
File "lib/python3.10/site-packages/datasets/iterable_dat... | true | 2024-08-14T11:01:51Z | 2024-10-03T05:47:23Z | null | VeryLazyBoy | NONE | null | null | 1 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7100 | false | [
"Assign this issue to me under Hacktoberfest with hacktoberfest label inserted on the issue"
] |
2,465,221,827 | 7,099 | Set dev version | closed | true | 2024-08-14T08:31:17Z | 2024-08-14T08:45:17Z | 2024-08-14T08:39:25Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7099 | 2024-08-14T08:39:25Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7099 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7099). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... | |
2,465,016,562 | 7,098 | Release: 2.21.0 | closed | true | 2024-08-14T06:35:13Z | 2024-08-14T06:41:07Z | 2024-08-14T06:41:06Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7098 | 2024-08-14T06:41:06Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7098 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7098). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update."
] | |
2,458,455,489 | 7,097 | Some of DownloadConfig's properties are always being overridden in load.py | open | ### Describe the bug
The `extract_compressed_file` and `force_extract` properties of DownloadConfig are always being set to True in the function `dataset_module_factory` in the `load.py` file. This behavior is very annoying because data extracted will just be ignored the next time the dataset is loaded.
See this im... | true | 2024-08-09T18:26:37Z | 2024-08-09T18:26:37Z | null | ductai199x | NONE | null | null | 0 | 1 | 0 | 1 | null | false | [] | https://github.com/huggingface/datasets/issues/7097 | false | [] |
2,456,929,173 | 7,096 | Automatically create `cache_dir` from `cache_file_name` | closed | You get a pretty unhelpful error message when specifying a `cache_file_name` in a directory that doesn't exist, e.g. `cache_file_name="./cache/data.map"`
```python
import datasets
cache_file_name="./cache/train.map"
dataset = datasets.load_dataset("ylecun/mnist")
dataset["train"].map(lambda x: x, cache_file_na... | true | 2024-08-09T01:34:06Z | 2024-08-15T17:25:26Z | 2024-08-15T10:13:22Z | ringohoffman | NONE | https://github.com/huggingface/datasets/pull/7096 | 2024-08-15T10:13:22Z | 3 | 1 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7096 | true | [
"Hi @albertvillanova, is this PR looking okay to you? Anything else you'd like to see?",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7096). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",... |
2,454,418,130 | 7,094 | Add Arabic Docs to Datasets | open | Translate Docs into Arabic issue-number : #7093
[Arabic Docs](https://github.com/AhmedAlmaghz/datasets/blob/main/docs/source/ar/index.mdx)
[English Docs](https://github.com/AhmedAlmaghz/datasets/blob/main/docs/source/en/index.mdx)
@stevhliu | true | 2024-08-07T21:53:06Z | 2024-08-07T21:53:06Z | null | AhmedAlmaghz | NONE | https://github.com/huggingface/datasets/pull/7094 | null | 0 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7094 | true | [] |
2,454,413,074 | 7,093 | Add Arabic Docs to datasets | open | ### Feature request
Add Arabic Docs to datasets
[Datasets Arabic](https://github.com/AhmedAlmaghz/datasets/blob/main/docs/source/ar/index.mdx)
### Motivation
@AhmedAlmaghz
https://github.com/AhmedAlmaghz/datasets/blob/main/docs/source/ar/index.mdx
### Your contribution
@AhmedAlmaghz
https://github.com/AhmedAlma... | true | 2024-08-07T21:48:05Z | 2024-08-07T21:48:05Z | null | AhmedAlmaghz | NONE | null | null | 0 | 0 | 0 | 0 | null | false | [
"enhancement"
] | https://github.com/huggingface/datasets/issues/7093 | false | [] |
2,451,393,658 | 7,092 | load_dataset with multiple jsonlines files interprets datastructure too early | open | ### Describe the bug
likely related to #6460
using `datasets.load_dataset("json", data_dir= ... )` with multiple `.jsonl` files will error if one of the files (maybe the first file?) contains a full column of empty data.
### Steps to reproduce the bug
real world example:
data is available in this [PR-bra... | true | 2024-08-06T17:42:55Z | 2024-08-08T16:35:01Z | null | Vipitis | NONE | null | null | 5 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7092 | false | [
"I’ll take a look",
"Possible definitions of done for this issue:\r\n\r\n1. A fix so you can load your dataset specifically\r\n2. A general fix for datasets similar to this in the `datasets` library\r\n\r\nOption 1 is trivial. I think option 2 requires significant changes to the library.\r\n\r\nSince you outlined... |
2,449,699,490 | 7,090 | The test test_move_script_doesnt_change_hash fails because it runs the 'python' command while the python executable has a different name | open | ### Describe the bug
Tests should use the same pythin path as they are launched with, which in the case of FreeBSD is /usr/local/bin/python3.11
Failure:
```
if err_filename is not None:
> raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFo... | true | 2024-08-06T00:35:05Z | 2024-08-06T00:35:05Z | null | yurivict | NONE | null | null | 0 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7090 | false | [] |
2,449,479,500 | 7,089 | Missing pyspark dependency causes the testsuite to error out, instead of a few tests to be skipped | open | ### Describe the bug
see the subject
### Steps to reproduce the bug
regular tests
### Expected behavior
n/a
### Environment info
version 2.20.0 | true | 2024-08-05T21:05:11Z | 2024-08-05T21:05:11Z | null | yurivict | NONE | null | null | 0 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7089 | false | [] |
2,447,383,940 | 7,088 | Disable warning when using with_format format on tensors | open | ### Feature request
If we write this code:
```python
"""Get data and define datasets."""
from enum import StrEnum
from datasets import load_dataset
from torch.utils.data import DataLoader
from torchvision import transforms
class Split(StrEnum):
"""Describes what type of split to use in the dataloa... | true | 2024-08-05T00:45:50Z | 2024-08-05T00:45:50Z | null | Haislich | NONE | null | null | 0 | 2 | 2 | 0 | null | false | [
"enhancement"
] | https://github.com/huggingface/datasets/issues/7088 | false | [] |
2,447,158,643 | 7,087 | Unable to create dataset card for Lushootseed language | closed | ### Feature request
While I was creating the dataset which contained all documents from the Lushootseed Wikipedia, the dataset card asked me to enter which language the dataset was in. Since Lushootseed is a critically endangered language, it was not available as one of the options. Is it possible to allow entering la... | true | 2024-08-04T14:27:04Z | 2024-08-06T06:59:23Z | 2024-08-06T06:59:22Z | vaishnavsudarshan | NONE | null | null | 2 | 0 | 0 | 0 | null | false | [
"enhancement"
] | https://github.com/huggingface/datasets/issues/7087 | false | [
"Thanks for reporting.\r\n\r\nIt is weird, because the language entry is in the list. See: https://github.com/huggingface/huggingface.js/blob/98e32f0ed4ee057a596f66a1dec738e5db9643d5/packages/languages/src/languages_iso_639_3.ts#L15186-L15189\r\n\r\nI have reported the issue:\r\n- https://github.com/huggingface/hug... |
2,445,516,829 | 7,086 | load_dataset ignores cached datasets and tries to hit HF Hub, resulting in API rate limit errors | open | ### Describe the bug
I have been running lm-eval-harness a lot which has results in an API rate limit. This seems strange, since all of the data should be cached locally. I have in fact verified this.
### Steps to reproduce the bug
1. Be Me
2. Run `load_dataset("TAUR-Lab/MuSR")`
3. Hit rate limit error
4. Dataset... | true | 2024-08-02T18:12:23Z | 2025-06-16T18:43:29Z | null | tginart | NONE | null | null | 1 | 1 | 0 | 1 | null | false | [] | https://github.com/huggingface/datasets/issues/7086 | false | [
"I'm having the same issue - running into rate limits when doing hyperparameter tuning even though the dataset is supposed to be cached. I feel like this behaviour should at the very least be documented, but honestly you should just not be running into rate limits in the first place when the dataset is cached. It e... |
2,440,008,618 | 7,085 | [Regression] IterableDataset is broken on 2.20.0 | closed | ### Describe the bug
In the latest version of datasets there is a major regression, after creating an `IterableDataset` from a generator and applying a few operations (`map`, `select`), you can no longer iterate through the dataset multiple times.
The issue seems to stem from the recent addition of "resumable Itera... | true | 2024-07-31T13:01:59Z | 2024-08-22T14:49:37Z | 2024-08-22T14:49:07Z | AjayP13 | NONE | null | null | 3 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7085 | false | [
"@lhoestq I detected this regression over on [DataDreamer](https://github.com/datadreamer-dev/DataDreamer)'s test suite. I put in these [monkey patches](https://github.com/datadreamer-dev/DataDreamer/blob/4cbaf9f39cf7bedde72bbaa68346e169788fbecb/src/_patches/datasets_reset_state_hack.py) in case that fixed it our t... |
2,439,519,534 | 7,084 | More easily support streaming local files | open | ### Feature request
Simplify downloading and streaming datasets locally. Specifically, perhaps add an option to `load_dataset(..., streaming="download_first")` or add better support for streaming symlinked or arrow files.
### Motivation
I have downloaded FineWeb-edu locally and currently trying to stream the d... | true | 2024-07-31T09:03:15Z | 2024-07-31T09:05:58Z | null | fschlatt | CONTRIBUTOR | null | null | 0 | 2 | 0 | 1 | null | false | [
"enhancement"
] | https://github.com/huggingface/datasets/issues/7084 | false | [] |
2,439,518,466 | 7,083 | fix streaming from arrow files | closed | true | 2024-07-31T09:02:42Z | 2024-08-30T15:17:03Z | 2024-08-30T15:17:03Z | fschlatt | CONTRIBUTOR | https://github.com/huggingface/datasets/pull/7083 | 2024-08-30T15:17:03Z | 0 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7083 | true | [] | |
2,437,354,975 | 7,082 | Support HTTP authentication in non-streaming mode | closed | Support HTTP authentication in non-streaming mode, by support passing HTTP storage_options in non-streaming mode.
- Note that currently, HTTP authentication is supported only in streaming mode.
For example, this is necessary if a remote HTTP host requires authentication to download the data. | true | 2024-07-30T09:25:49Z | 2024-08-08T08:29:55Z | 2024-08-08T08:24:06Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7082 | 2024-08-08T08:24:06Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7082 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7082). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... |
2,437,059,657 | 7,081 | Set load_from_disk path type as PathLike | closed | Set `load_from_disk` path type as `PathLike`. This way it is aligned with `save_to_disk`. | true | 2024-07-30T07:00:38Z | 2024-07-30T08:30:37Z | 2024-07-30T08:21:50Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7081 | 2024-07-30T08:21:50Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7081 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7081). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... |
2,434,275,664 | 7,080 | Generating train split takes a long time | open | ### Describe the bug
Loading a simple webdataset takes ~45 minutes.
### Steps to reproduce the bug
```
from datasets import load_dataset
dataset = load_dataset("PixArt-alpha/SAM-LLaVA-Captions10M")
```
### Expected behavior
The dataset should load immediately as it does when loaded through a normal indexed WebD... | true | 2024-07-29T01:42:43Z | 2024-10-02T15:31:22Z | null | alexanderswerdlow | NONE | null | null | 2 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7080 | false | [
"@alexanderswerdlow \r\nWhen no specific split is mentioned, the load_dataset library will load all available splits of the dataset. For example, if a dataset has \"train\" and \"test\" splits, the load_dataset function will load both into the DatasetDict object.\r\n\r\n - in my case, this also seems to affect datasets that have been updated recently. Git cloning and the web interface still work:\r\n- https://huggingface.co/api/datasets/acmc/cheat_reduced\r\n- https... |
2,433,270,271 | 7,078 | Fix CI test_convert_to_parquet | closed | Fix `test_convert_to_parquet` by patching `HfApi.preupload_lfs_files` and revert temporary fix:
- #7074 | true | 2024-07-27T05:32:40Z | 2024-07-27T05:50:57Z | 2024-07-27T05:44:32Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7078 | 2024-07-27T05:44:32Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7078 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7078). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... |
2,432,345,489 | 7,077 | column_names ignored by load_dataset() when loading CSV file | open | ### Describe the bug
load_dataset() ignores the column_names kwarg when loading a CSV file. Instead, it uses whatever values are on the first line of the file.
### Steps to reproduce the bug
Call `load_dataset` to load data from a CSV file and specify `column_names` kwarg.
### Expected behavior
The resulting da... | true | 2024-07-26T14:18:04Z | 2024-07-30T07:52:26Z | null | luismsgomes | NONE | null | null | 1 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7077 | false | [
"I confirm that `column_names` values are not copied to `names` variable because in this case `CsvConfig.__post_init__` is not called: `CsvConfig` is instantiated with default values and afterwards the `config_kwargs` are used to overwrite its attributes.\r\n\r\n@luismsgomes in the meantime, you can avoid the bug i... |
2,432,275,393 | 7,076 | 🧪 Do not mock create_commit | closed | true | 2024-07-26T13:44:42Z | 2024-07-27T05:48:17Z | 2024-07-27T05:48:17Z | coyotte508 | MEMBER | https://github.com/huggingface/datasets/pull/7076 | null | 1 | 0 | 0 | 0 | true | false | [] | https://github.com/huggingface/datasets/pull/7076 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7076). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update."
] | |
2,432,027,412 | 7,075 | Update required soxr version from pre-release to release | closed | Update required `soxr` version from pre-release to release 0.4.0: https://github.com/dofuuz/python-soxr/releases/tag/v0.4.0 | true | 2024-07-26T11:24:35Z | 2024-07-26T11:46:52Z | 2024-07-26T11:40:49Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7075 | 2024-07-26T11:40:49Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7075 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7075). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... |
2,431,772,703 | 7,074 | Fix CI by temporarily marking test_convert_to_parquet as expected to fail | closed | As a hotfix for CI, temporarily mark test_convert_to_parquet as expected to fail.
Fix #7073.
Revert once root cause is fixed. | true | 2024-07-26T09:03:33Z | 2024-07-26T09:23:33Z | 2024-07-26T09:16:12Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7074 | 2024-07-26T09:16:12Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7074 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7074). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... |
2,431,706,568 | 7,073 | CI is broken for convert_to_parquet: Invalid rev id: refs/pr/1 404 error causes RevisionNotFoundError | closed | See: https://github.com/huggingface/datasets/actions/runs/10095313567/job/27915185756
```
FAILED tests/test_hub.py::test_convert_to_parquet - huggingface_hub.utils._errors.RevisionNotFoundError: 404 Client Error. (Request ID: Root=1-66a25839-31ce7b475e70e7db1e4d44c2;b0c8870f-d5ef-4bf2-a6ff-0191f3df0f64)
Revision N... | true | 2024-07-26T08:27:41Z | 2024-07-27T05:48:02Z | 2024-07-26T09:16:13Z | albertvillanova | MEMBER | null | null | 9 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7073 | false | [
"Any recent change in the API backend rejecting parameter `revision=\"refs/pr/1\"` to `HfApi.preupload_lfs_files`?\r\n```\r\nf\"{endpoint}/api/{repo_type}s/{repo_id}/preupload/{revision}\"\r\n\r\nhttps://hub-ci.huggingface.co/api/datasets/__DUMMY_TRANSFORMERS_USER__/test-dataset-5188a8-17219154347516/preupload/refs... |
2,430,577,916 | 7,072 | nm | closed | true | 2024-07-25T17:03:24Z | 2024-07-25T20:36:11Z | 2024-07-25T20:36:11Z | brettdavies | NONE | null | null | 0 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7072 | false | [] | |
2,430,313,011 | 7,071 | Filter hangs | open | ### Describe the bug
When trying to filter my custom dataset, the process hangs, regardless of the lambda function used. It appears to be an issue with the way the Images are being handled. The dataset in question is a preprocessed version of https://huggingface.co/datasets/danaaubakirova/patfig where notably, I hav... | true | 2024-07-25T15:29:05Z | 2024-07-25T15:36:59Z | null | lucienwalewski | NONE | null | null | 0 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7071 | false | [] |
2,430,285,235 | 7,070 | how set_transform affects batch size? | open | ### Describe the bug
I am trying to fine-tune w2v-bert for ASR task. Since my dataset is so big, I preferred to use the on-the-fly method with set_transform. So i change the preprocessing function to this:
```
def prepare_dataset(batch):
input_features = processor(batch["audio"], sampling_rate=16000).input_feat... | true | 2024-07-25T15:19:34Z | 2024-07-25T15:19:34Z | null | VafaKnm | NONE | null | null | 0 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7070 | false | [] |
2,429,281,339 | 7,069 | Fix push_to_hub by not calling create_branch if PR branch | closed | Fix push_to_hub by not calling create_branch if PR branch (e.g. `refs/pr/1`).
Note that currently create_branch raises a 400 Bad Request error if the user passes a PR branch (e.g. `refs/pr/1`).
EDIT:
~~Fix push_to_hub by not calling create_branch if branch exists.~~
Note that currently create_branch raises a ... | true | 2024-07-25T07:50:04Z | 2024-07-31T07:10:07Z | 2024-07-30T10:51:01Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7069 | 2024-07-30T10:51:01Z | 8 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7069 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7069). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"cc @Wauplin maybe it's a `huggingface_hub` bug ?\r\n\r\nEDIT: ah actually the issue is ... |
2,426,657,434 | 7,068 | Fix prepare_single_hop_path_and_storage_options | closed | Fix `_prepare_single_hop_path_and_storage_options`:
- Do not pass HF authentication headers and HF user-agent to non-HF HTTP URLs
- Do not overwrite passed `storage_options` nested values:
- Before, when passed
```DownloadConfig(storage_options={"https": {"client_kwargs": {"raise_for_status": True}}})```,
... | true | 2024-07-24T05:52:34Z | 2024-07-29T07:02:07Z | 2024-07-29T06:56:15Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7068 | 2024-07-29T06:56:15Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7068 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7068). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... |
2,425,460,168 | 7,067 | Convert_to_parquet fails for datasets with multiple configs | closed | If the dataset has multiple configs, when using the `datasets-cli convert_to_parquet` command to avoid issues with the data viewer caused by loading scripts, the conversion process only successfully converts the data corresponding to the first config. When it starts converting the second config, it throws an error:
... | true | 2024-07-23T15:09:33Z | 2024-07-30T10:51:02Z | 2024-07-30T10:51:02Z | HuangZhen02 | NONE | null | null | 3 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7067 | false | [
"Many users have encountered the same issue, which has caused inconvenience.\r\n\r\nhttps://discuss.huggingface.co/t/convert-to-parquet-fails-for-datasets-with-multiple-configs/86733\r\n",
"Thanks for reporting.\r\n\r\nI will make the code more robust.",
"I have opened an issue in the huggingface-hub repo:\r\n-... |
2,425,125,160 | 7,066 | One subset per file in repo ? | open | Right now we consider all the files of a dataset to be the same data, e.g.
```
single_subset_dataset/
├── train0.jsonl
├── train1.jsonl
└── train2.jsonl
```
but in cases like this, each file is actually a different subset of the dataset and should be loaded separately
```
many_subsets_dataset/
├── animals.jso... | true | 2024-07-23T12:43:59Z | 2025-06-26T08:24:50Z | null | lhoestq | MEMBER | null | null | 1 | 3 | 3 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7066 | false | [
"Hi @lhoestq! I’ve opened a PR that addresses this issue"
] |
2,424,734,953 | 7,065 | Cannot get item after loading from disk and then converting to iterable. | open | ### Describe the bug
The dataset generated from local file works fine.
```py
root = "/home/data/train"
file_list1 = glob(os.path.join(root, "*part1.flac"))
file_list2 = glob(os.path.join(root, "*part2.flac"))
ds = (
Dataset.from_dict({"part1": file_list1, "part2": file_list2})
.cast_column("part1", Au... | true | 2024-07-23T09:37:56Z | 2024-07-23T09:37:56Z | null | happyTonakai | NONE | null | null | 0 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7065 | false | [] |
2,424,613,104 | 7,064 | Add `batch` method to `Dataset` class | closed | This PR introduces a new `batch` method to the `Dataset` class, aligning its functionality with the `IterableDataset.batch()` method (implemented in #7054). The implementation uses as well the existing `map` method for efficient batching of examples.
Key changes:
- Add `batch` method to `Dataset` class in `arrow_da... | true | 2024-07-23T08:40:43Z | 2024-07-25T13:51:25Z | 2024-07-25T13:45:20Z | lappemic | CONTRIBUTOR | https://github.com/huggingface/datasets/pull/7064 | 2024-07-25T13:45:20Z | 6 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7064 | true | [
"Looks good to me ! :)\r\n\r\nyou might want to add the `map` num_proc argument as well, for people who want to make it run faster",
"Thanks for the feedback @lhoestq! The last commits include:\r\n- Adding the `num_proc` parameter to `batch`\r\n- Adding tests similar to the one done for `IterableDataset.batch()`\... |
2,424,488,648 | 7,063 | Add `batch` method to `Dataset` | closed | ### Feature request
Add a `batch` method to the Dataset class, similar to the one recently implemented for `IterableDataset` in PR #7054.
### Motivation
A batched iteration speeds up data loading significantly (see e.g. #6279)
### Your contribution
I plan to open a PR to implement this. | true | 2024-07-23T07:36:59Z | 2024-07-25T13:45:21Z | 2024-07-25T13:45:21Z | lappemic | CONTRIBUTOR | null | null | 0 | 0 | 0 | 0 | null | false | [
"enhancement"
] | https://github.com/huggingface/datasets/issues/7063 | false | [] |
2,424,467,484 | 7,062 | Avoid calling http_head for non-HTTP URLs | closed | Avoid calling `http_head` for non-HTTP URLs, by adding and `else` statement.
Currently, it makes an unnecessary HTTP call (which adds latency) for non-HTTP protocols, like FTP, S3,...
I discovered this while working in an unrelated issue. | true | 2024-07-23T07:25:09Z | 2024-07-23T14:28:27Z | 2024-07-23T14:21:08Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7062 | 2024-07-23T14:21:08Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7062 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7062). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... |
2,423,786,881 | 7,061 | Custom Dataset | Still Raise Error while handling errors in _generate_examples | open | ### Describe the bug
I follow this [example](https://discuss.huggingface.co/t/error-handling-in-iterabledataset/72827/3) to handle errors in custom dataset. I am writing a dataset script which read jsonl files and i need to handle errors and continue reading files without raising exception and exit the execution.
`... | true | 2024-07-22T21:18:12Z | 2024-09-09T14:48:07Z | null | hahmad2008 | NONE | null | null | 0 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7061 | false | [] |
2,423,188,419 | 7,060 | WebDataset BuilderConfig | closed | This PR adds `WebDatasetConfig`.
Closes #7055 | true | 2024-07-22T15:41:07Z | 2024-07-23T13:28:44Z | 2024-07-23T13:28:44Z | hlky | NONE | https://github.com/huggingface/datasets/pull/7060 | null | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7060 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7060). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update."
] |
2,422,827,892 | 7,059 | None values are skipped when reading jsonl in subobjects | open | ### Describe the bug
I have been fighting against my machine since this morning only to find out this is some kind of a bug.
When loading a dataset composed of `metadata.jsonl`, if you have nullable values (Optional[str]), they can be ignored by the parser, shifting things around.
E.g., let's take this example
... | true | 2024-07-22T13:02:42Z | 2024-07-22T13:02:53Z | null | PonteIneptique | NONE | null | null | 0 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7059 | false | [] |
2,422,560,355 | 7,058 | New feature type: Document | open | It would be useful for PDF.
https://github.com/huggingface/dataset-viewer/issues/2991#issuecomment-2242656069 | true | 2024-07-22T10:49:20Z | 2024-07-22T10:49:20Z | null | severo | COLLABORATOR | null | null | 0 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7058 | false | [] |
2,422,498,520 | 7,057 | Update load_hub.mdx | closed | true | 2024-07-22T10:17:46Z | 2024-07-22T10:34:14Z | 2024-07-22T10:28:10Z | severo | COLLABORATOR | https://github.com/huggingface/datasets/pull/7057 | 2024-07-22T10:28:10Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7057 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7057). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... | |
2,422,192,257 | 7,056 | Make `BufferShuffledExamplesIterable` resumable | closed | This PR aims to implement a resumable `BufferShuffledExamplesIterable`.
Instead of saving the entire buffer content, which is very memory-intensive, the newly implemented `BufferShuffledExamplesIterable` saves only the minimal state necessary for recovery, e.g., the random generator states and the state of the first e... | true | 2024-07-22T07:50:02Z | 2025-01-31T05:34:20Z | 2025-01-31T05:34:19Z | yzhangcs | CONTRIBUTOR | https://github.com/huggingface/datasets/pull/7056 | null | 8 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7056 | true | [
"Oh cool !\r\n\r\nThe time it takes to resume depends on the expected maximum distance in this case right ? Do you know its relationship with $B$ ?\r\n\r\nIn your test it already as high as 15k for $B=1024$, which is ok for text datasets but is maybe not ideal for datasets with heavy samples like audio/image/video ... |
2,421,708,891 | 7,055 | WebDataset with different prefixes are unsupported | closed | ### Describe the bug
Consider a WebDataset with multiple images for each item where the number of images may vary: [example](https://huggingface.co/datasets/bigdata-pw/fashion-150k)
Due to this [code](https://github.com/huggingface/datasets/blob/87f4c2088854ff33e817e724e75179e9975c1b02/src/datasets/packaged_modules... | true | 2024-07-22T01:14:19Z | 2024-07-24T13:26:30Z | 2024-07-23T13:28:46Z | hlky | NONE | null | null | 8 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7055 | false | [
"Since `datasets` uses is built on Arrow to store the data, it requires each sample to have the same columns.\r\n\r\nThis can be fixed by specifyign in advance the name of all the possible columns in the `dataset_info` in YAML, and missing values will be `None`",
"Thanks. This currently doesn't work for WebDatase... |
2,418,548,995 | 7,054 | Add batching to `IterableDataset` | closed | I've taken a try at implementing a batched `IterableDataset` as requested in issue #6279. This PR adds a new `BatchedExamplesIterable` class and a `.batch()` method to the `IterableDataset` class.
The main changes are:
1. A new `BatchedExamplesIterable` that groups examples into batches.
2. A `.batch()` method for... | true | 2024-07-19T10:11:47Z | 2024-07-23T13:25:13Z | 2024-07-23T10:34:28Z | lappemic | CONTRIBUTOR | https://github.com/huggingface/datasets/pull/7054 | 2024-07-23T10:34:28Z | 5 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7054 | true | [
"Cool ! Thanks for diving into it :)\r\n\r\nYour implementation is great and indeed supports shuffling and batching, you just need to additionally account for state_dict (for dataset [checkpointing+resuming](https://huggingface.co/docs/datasets/main/en/use_with_pytorch#checkpoint-and-resume))\r\n\r\nThat being said... |
2,416,423,791 | 7,053 | Datasets.datafiles resolve_pattern `TypeError: can only concatenate tuple (not "str") to tuple` | closed | ### Describe the bug
in data_files.py, line 332,
`fs, _, _ = get_fs_token_paths(pattern, storage_options=storage_options)`
If we run the code on AWS, as fs.protocol will be a tuple like: `('file', 'local')`
So, `isinstance(fs.protocol, str) == False` and
`protocol_prefix = fs.protocol + "://" if fs.protocol != ... | true | 2024-07-18T13:42:35Z | 2024-07-18T15:17:42Z | 2024-07-18T15:16:18Z | MatthewYZhang | NONE | null | null | 2 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7053 | false | [
"Hi,\r\n\r\nThis issue was fixed in `datasets` 2.15.0:\r\n- #6105\r\n\r\nYou will need to update your `datasets`:\r\n```\r\npip install -U datasets\r\n```",
"Duplicate of:\r\n- #6100"
] |
2,411,682,730 | 7,052 | Adding `Music` feature for symbolic music modality (MIDI, abc) | closed | ⚠️ (WIP) ⚠️
### What this PR does
This PR adds a `Music` feature for the symbolic music modality, in particular [MIDI](https://en.wikipedia.org/wiki/Musical_Instrument_Digital_Interface) and [abc](https://en.wikipedia.org/wiki/ABC_notation) files.
### Motivations
These two file formats are widely used in th... | true | 2024-07-16T17:26:04Z | 2024-07-29T06:47:55Z | 2024-07-29T06:47:55Z | Natooz | NONE | https://github.com/huggingface/datasets/pull/7052 | null | 0 | 0 | 0 | 0 | true | false | [] | https://github.com/huggingface/datasets/pull/7052 | true | [] |
2,409,353,929 | 7,051 | How to set_epoch with interleave_datasets? | closed | Let's say I have dataset A which has 100k examples, and dataset B which has 100m examples.
I want to train on an interleaved dataset of A+B, with stopping_strategy='all_exhausted' so dataset B doesn't repeat any examples. But every time A is exhausted I want it to be reshuffled (eg. calling set_epoch)
Of course I... | true | 2024-07-15T18:24:52Z | 2024-08-05T20:58:04Z | 2024-08-05T20:58:04Z | jonathanasdf | NONE | null | null | 7 | 2 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7051 | false | [
"This is not possible right now afaik :/\r\n\r\nMaybe we could have something like this ? wdyt ?\r\n\r\n```python\r\nds = interleave_datasets(\r\n [shuffled_dataset_a, dataset_b],\r\n probabilities=probabilities,\r\n stopping_strategy='all_exhausted',\r\n reshuffle_each_iteration=True,\r\n)",
"That wo... |
2,409,048,733 | 7,050 | add checkpoint and resume title in docs | closed | (minor) just to make it more prominent in the docs page for the soon-to-be-released new torchdata | true | 2024-07-15T15:38:04Z | 2024-07-15T16:06:15Z | 2024-07-15T15:59:56Z | lhoestq | MEMBER | https://github.com/huggingface/datasets/pull/7050 | 2024-07-15T15:59:56Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7050 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7050). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... |
2,408,514,366 | 7,049 | Save nparray as list | closed | ### Describe the bug
When I use the `map` function to convert images into features, datasets saves nparray as a list. Some people use the `set_format` function to convert the column back, but doesn't this lose precision?
### Steps to reproduce the bug
the map function
```python
def convert_image_to_features(inst, ... | true | 2024-07-15T11:36:11Z | 2024-07-18T11:33:34Z | 2024-07-18T11:33:34Z | Sakurakdx | NONE | null | null | 5 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7049 | false | [
"In addition, when I use `set_format ` and index the ds, the following error occurs:\r\nthe code\r\n```python\r\nds.set_format(type=\"np\", colums=\"pixel_values\")\r\n```\r\nerror\r\n<img width=\"918\" alt=\"image\" src=\"https://github.com/user-attachments/assets/b28bbff2-20ea-4d28-ab62-b4ed2d944996\">\r\n",
">... |
2,408,487,547 | 7,048 | ImportError: numpy.core.multiarray when using `filter` | closed | ### Describe the bug
I can't apply the filter method on my dataset.
### Steps to reproduce the bug
The following snippet generates a bug:
```python
from datasets import load_dataset
ami = load_dataset('kamilakesbi/ami', 'ihm')
ami['train'].filter(
lambda example: example["file_name"] == 'EN2001a'
... | true | 2024-07-15T11:21:04Z | 2024-07-16T10:11:25Z | 2024-07-16T10:11:25Z | kamilakesbi | NONE | null | null | 4 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7048 | false | [
"Could you please check your `numpy` version?",
"I got this issue while using numpy version 2.0. \r\n\r\nI solved it by switching back to numpy 1.26.0 :) ",
"We recently added support for numpy 2.0, but it is not released yet.",
"Ok I see, thanks! I think we can close this issue for now as switching back to v... |
2,406,495,084 | 7,047 | Save Dataset as Sharded Parquet | open | ### Feature request
`to_parquet` currently saves the dataset as one massive, monolithic parquet file, rather than as several small parquet files. It should shard large datasets automatically.
### Motivation
This default behavior makes me very sad because a program I ran for 6 hours saved its results using `to_... | true | 2024-07-12T23:47:51Z | 2024-07-17T12:07:08Z | null | tom-p-reichel | NONE | null | null | 2 | 0 | 0 | 0 | null | false | [
"enhancement"
] | https://github.com/huggingface/datasets/issues/7047 | false | [
"To anyone else who finds themselves in this predicament, it's possible to read the parquet file in the same way that datasets writes it, and then manually break it into pieces. Although, you need a couple of magic options (`thrift_*`) to deal with the huge metadata, otherwise pyarrow immediately crashes.\r\n```pyt... |
2,405,485,582 | 7,046 | Support librosa and numpy 2.0 for Python 3.10 | closed | Support librosa and numpy 2.0 for Python 3.10 by installing soxr 0.4.0b1 pre-release:
- https://github.com/dofuuz/python-soxr/releases/tag/v0.4.0b1
- https://github.com/dofuuz/python-soxr/issues/28 | true | 2024-07-12T12:42:47Z | 2024-07-12T13:04:40Z | 2024-07-12T12:58:17Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7046 | 2024-07-12T12:58:17Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7046 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7046). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... |
2,405,447,858 | 7,045 | Fix tensorflow min version depending on Python version | closed | Fix tensorflow min version depending on Python version.
Related to:
- #6991 | true | 2024-07-12T12:20:23Z | 2024-07-12T12:38:53Z | 2024-07-12T12:33:00Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7045 | 2024-07-12T12:33:00Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7045 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7045). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... |
2,405,002,987 | 7,044 | Mark tests that require librosa | closed | Mark tests that require `librosa`.
Note that `librosa` is an optional dependency (installed with `audio` option) and we should be able to test environments without that library installed. This is the case if we want to test Numpy 2.0, which is currently incompatible with `librosa` due to its dependency on `soxr`:
-... | true | 2024-07-12T08:06:59Z | 2024-07-12T09:06:32Z | 2024-07-12T09:00:09Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7044 | 2024-07-12T09:00:09Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7044 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7044). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... |
2,404,951,714 | 7,043 | Add decorator as explicit test dependency | closed | Add decorator as explicit test dependency.
We use `decorator` library in our CI test since PR:
- #4845
However we did not add it as an explicit test requirement, and we depended on it indirectly through other libraries' dependencies.
I discovered this while testing Numpy 2.0 and removing incompatible librarie... | true | 2024-07-12T07:35:23Z | 2024-07-12T08:12:55Z | 2024-07-12T08:07:10Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7043 | 2024-07-12T08:07:10Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7043 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7043). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... |
2,404,605,836 | 7,042 | Improved the tutorial by adding a link for loading datasets | closed | Improved the tutorial by letting readers know about loading datasets with common files and including a link. I left the local files section alone because the methods were already listed with code snippets. | true | 2024-07-12T03:49:54Z | 2024-08-15T10:07:44Z | 2024-08-15T10:01:59Z | AmboThom | CONTRIBUTOR | https://github.com/huggingface/datasets/pull/7042 | 2024-08-15T10:01:59Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7042 | true | [
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | read_batch_formatted_as_numpy after write_flattened_sequence | read_batch_formatted_a... |
2,404,576,038 | 7,041 | `sort` after `filter` unreasonably slow | closed | ### Describe the bug
as the tittle says ...
### Steps to reproduce the bug
`sort` seems to be normal.
```python
from datasets import Dataset
import random
nums = [{"k":random.choice(range(0,1000))} for _ in range(100000)]
ds = Dataset.from_list(nums)
print("start sort")
ds = ds.sort("k")
print("f... | true | 2024-07-12T03:29:27Z | 2025-04-29T09:49:25Z | 2025-04-29T09:49:25Z | Tobin-rgb | NONE | null | null | 2 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7041 | false | [
"`filter` add an indices mapping on top of the dataset, so `sort` has to gather all the rows that are kept to form a new Arrow table and sort the table. Gathering all the rows can take some time, but is a necessary step. You can try calling `ds = ds.flatten_indices()` before sorting to remove the indices mapping.",... |
2,402,918,335 | 7,040 | load `streaming=True` dataset with downloaded cache | open | ### Describe the bug
We build a dataset which contains several hdf5 files and write a script using `h5py` to generate the dataset. The hdf5 files are large and the processed dataset cache takes more disk space. So we hope to try streaming iterable dataset. Unfortunately, `h5py` can't convert a remote URL into a hdf5 f... | true | 2024-07-11T11:14:13Z | 2024-07-11T14:11:56Z | null | wanghaoyucn | NONE | null | null | 2 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7040 | false | [
"When you pass `streaming=True`, the cache is ignored. The remote data URL is used instead and the data is streamed from the remote server.",
"Thanks for your reply! So is there any solution to get my expected behavior besides clone the whole repo ? Or could I adjust my script to load the downloaded arrow files a... |
2,402,403,390 | 7,039 | Fix export to JSON when dataset larger than batch size | open | Fix export to JSON (`lines=False`) when dataset larger than batch size.
Fix #7037. | true | 2024-07-11T06:52:22Z | 2024-09-28T06:10:00Z | null | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7039 | null | 3 | 0 | 0 | 0 | true | false | [] | https://github.com/huggingface/datasets/pull/7039 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7039). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"The test before confirms the bug.\r\n\r\nThere are different possible solutions to this... |
2,400,192,419 | 7,037 | A bug of Dataset.to_json() function | open | ### Describe the bug
When using the Dataset.to_json() function, an unexpected error occurs if the parameter is set to lines=False. The stored data should be in the form of a list, but it actually turns into multiple lists, which causes an error when reading the data again.
The reason is that to_json() writes to the f... | true | 2024-07-10T09:11:22Z | 2024-09-22T13:16:07Z | null | LinglingGreat | NONE | null | null | 2 | 0 | 0 | 0 | null | false | [
"bug"
] | https://github.com/huggingface/datasets/issues/7037 | false | [
"Thanks for reporting, @LinglingGreat.\r\n\r\nI confirm this is a bug.",
"@albertvillanova I would like to take a shot at this if you aren't working on it currently. Let me know!"
] |
2,400,035,672 | 7,036 | Fix doc generation when NamedSplit is used as parameter default value | closed | Fix doc generation when `NamedSplit` is used as parameter default value.
Fix #7035. | true | 2024-07-10T07:58:46Z | 2024-07-26T07:58:00Z | 2024-07-26T07:51:52Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7036 | 2024-07-26T07:51:52Z | 2 | 1 | 1 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7036 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7036). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... |
2,400,021,225 | 7,035 | Docs are not generated when a parameter defaults to a NamedSplit value | closed | While generating the docs, we get an error when some parameter defaults to a `NamedSplit` value, like:
```python
def call_function(split=Split.TRAIN):
...
```
The error is: ValueError: Equality not supported between split train and <class 'inspect._empty'>
See: https://github.com/huggingface/datasets/action... | true | 2024-07-10T07:51:24Z | 2024-07-26T07:51:53Z | 2024-07-26T07:51:53Z | albertvillanova | MEMBER | null | null | 0 | 0 | 0 | 0 | null | false | [
"maintenance"
] | https://github.com/huggingface/datasets/issues/7035 | false | [] |
2,397,525,974 | 7,034 | chore: fix typos in docs | closed | true | 2024-07-09T08:35:05Z | 2024-08-13T08:22:25Z | 2024-08-13T08:16:22Z | hattizai | CONTRIBUTOR | https://github.com/huggingface/datasets/pull/7034 | 2024-08-13T08:16:22Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7034 | true | [
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | read_batch_formatted_as_numpy after write_flattened_sequence | read_batch_formatted_a... | |
2,397,419,768 | 7,033 | `from_generator` does not allow to specify the split name | closed | ### Describe the bug
I'm building train, dev, and test using `from_generator`; however, in all three cases, the logger prints `Generating train split:`
It's not possible to change the split name since it seems to be hardcoded: https://github.com/huggingface/datasets/blob/main/src/datasets/packaged_modules/generator/g... | true | 2024-07-09T07:47:58Z | 2024-07-26T12:56:16Z | 2024-07-26T09:31:56Z | pminervini | CONTRIBUTOR | null | null | 2 | 1 | 1 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7033 | false | [
"Thanks for reporting, @pminervini.\r\n\r\nI agree we should give the option to define the split name.\r\n\r\nIndeed, there is a PR that addresses precisely this issue:\r\n- #7015\r\n\r\nI am reviewing it.",
"Booom! thank you guys :)"
] |
2,395,531,699 | 7,032 | Register `.zstd` extension for zstd-compressed files | closed | For example, https://huggingface.co/datasets/mlfoundations/dclm-baseline-1.0 dataset files have `.zstd` extension which is currently ignored (only `.zst` is registered). | true | 2024-07-08T12:39:50Z | 2024-07-12T15:07:03Z | 2024-07-12T15:07:03Z | polinaeterna | CONTRIBUTOR | https://github.com/huggingface/datasets/pull/7032 | null | 8 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7032 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7032). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"@albertvillanova hm I don't know tbh, it's just that \"mlfoundations/dclm-baseline-1.0\... |
2,395,401,692 | 7,031 | CI quality is broken: use ruff check instead | closed | CI quality is broken: https://github.com/huggingface/datasets/actions/runs/9838873879/job/27159697027
```
error: `ruff <path>` has been removed. Use `ruff check <path>` instead.
``` | true | 2024-07-08T11:42:24Z | 2024-07-08T11:47:29Z | 2024-07-08T11:47:29Z | albertvillanova | MEMBER | null | null | 0 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7031 | false | [] |
2,393,411,631 | 7,030 | Add option to disable progress bar when reading a dataset ("Loading dataset from disk") | closed | ### Feature request
Add an option in load_from_disk to disable the progress bar even if the number of files is larger than 16.
### Motivation
I am reading a lot of datasets that it creates lots of logs.
<img width="1432" alt="image" src="https://github.com/huggingface/datasets/assets/57996478/8d4bbf03-6b89-... | true | 2024-07-06T05:43:37Z | 2024-07-13T14:35:59Z | 2024-07-13T14:35:59Z | yuvalkirstain | NONE | null | null | 2 | 0 | 0 | 0 | null | false | [
"enhancement"
] | https://github.com/huggingface/datasets/issues/7030 | false | [
"You can disable progress bars for all of `datasets` with `disable_progress_bars`. [Link](https://huggingface.co/docs/datasets/en/package_reference/utilities#datasets.enable_progress_bars)\r\n\r\nSo you could do something like:\r\n\r\n```python\r\nfrom datasets import load_from_disk, enable_progress_bars, disable_p... |
2,391,366,696 | 7,029 | load_dataset on AWS lambda throws OSError(30, 'Read-only file system') error | open | ### Describe the bug
I'm using AWS lambda to run a python application. I run the `load_dataset` function with cache_dir="/tmp" and is still throws the OSError(30, 'Read-only file system') error. Is even updated all the HF envs to point to /tmp dir but the issue still persists. I can confirm that the I can write to /... | true | 2024-07-04T19:15:16Z | 2024-07-17T12:44:03Z | null | sugam-nexusflow | NONE | null | null | 1 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7029 | false | [
"hi ! can you share the full stack trace ? this should help locate what files is not written in the cache_dir"
] |
2,391,077,531 | 7,028 | Fix ci | closed | ...after last pr errors | true | 2024-07-04T15:11:08Z | 2024-07-04T15:26:35Z | 2024-07-04T15:19:16Z | lhoestq | MEMBER | https://github.com/huggingface/datasets/pull/7028 | 2024-07-04T15:19:16Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7028 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7028). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... |
2,391,013,330 | 7,027 | Missing line from previous pr | closed | true | 2024-07-04T14:34:29Z | 2024-07-04T14:40:46Z | 2024-07-04T14:34:36Z | lhoestq | MEMBER | https://github.com/huggingface/datasets/pull/7027 | 2024-07-04T14:34:36Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7027 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7027). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... | |
2,390,983,889 | 7,026 | Fix check_library_imports | closed | move it to after the `trust_remote_code` check
Note that it only affects local datasets that already exist on disk, not datasets loaded from HF directly | true | 2024-07-04T14:18:38Z | 2024-07-04T14:28:36Z | 2024-07-04T14:20:02Z | lhoestq | MEMBER | https://github.com/huggingface/datasets/pull/7026 | 2024-07-04T14:20:02Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7026 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7026). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... |
2,390,488,546 | 7,025 | feat: support non streamable arrow file binary format | closed | Support Arrow files (`.arrow`) that are in non streamable binary file formats. | true | 2024-07-04T10:11:12Z | 2024-07-31T06:15:50Z | 2024-07-31T06:09:31Z | kmehant | CONTRIBUTOR | https://github.com/huggingface/datasets/pull/7025 | 2024-07-31T06:09:31Z | 7 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7025 | true | [
"requesting review - @albertvillanova @lhoestq ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7025). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"@lhoestq rebased the PR, It would b... |
2,390,141,626 | 7,024 | Streaming dataset not returning data | open | ### Describe the bug
I'm deciding to post here because I'm still not sure what the issue is, or if I am using IterableDatasets wrongly.
I'm following the guide on here https://huggingface.co/learn/cookbook/en/fine_tuning_code_llm_on_single_gpu pretty much to a tee and have verified that it works when I'm fine-tuning ... | true | 2024-07-04T07:21:47Z | 2024-07-04T07:21:47Z | null | johnwee1 | NONE | null | null | 0 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7024 | false | [] |
2,388,090,424 | 7,023 | Remove dead code for pyarrow < 15.0.0 | closed | Remove dead code for pyarrow < 15.0.0.
Code is dead since the merge of:
- #6892
Fix #7022. | true | 2024-07-03T09:05:03Z | 2024-07-03T09:24:46Z | 2024-07-03T09:17:35Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7023 | 2024-07-03T09:17:35Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7023 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7023). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... |
2,388,064,650 | 7,022 | There is dead code after we require pyarrow >= 15.0.0 | closed | There are code lines specific for pyarrow versions < 15.0.0.
However, we require pyarrow >= 15.0.0 since the merge of PR:
- #6892
Those code lines are now dead code and should be removed. | true | 2024-07-03T08:52:57Z | 2024-07-03T09:17:36Z | 2024-07-03T09:17:36Z | albertvillanova | MEMBER | null | null | 0 | 0 | 0 | 0 | null | false | [
"maintenance"
] | https://github.com/huggingface/datasets/issues/7022 | false | [] |
2,387,948,935 | 7,021 | Fix casting list array to fixed size list | closed | Fix casting list array to fixed size list.
This bug was introduced in [datasets-2.17.0](https://github.com/huggingface/datasets/releases/tag/2.17.0) by PR: https://github.com/huggingface/datasets/pull/6283/files#diff-1cb2b66aa9311d729cfd83013dad56cf5afcda35b39dfd0bfe9c3813a049eab0R1899
- #6283
Fix #7020. | true | 2024-07-03T07:58:57Z | 2024-07-03T08:47:49Z | 2024-07-03T08:41:55Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7021 | 2024-07-03T08:41:55Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7021 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7021). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... |
2,387,940,990 | 7,020 | Casting list array to fixed size list raises error | closed | When trying to cast a list array to fixed size list, an AttributeError is raised:
> AttributeError: 'pyarrow.lib.FixedSizeListType' object has no attribute 'length'
Steps to reproduce the bug:
```python
import pyarrow as pa
from datasets.table import array_cast
arr = pa.array([[0, 1]])
array_cast(arr, pa.lis... | true | 2024-07-03T07:54:49Z | 2024-07-03T08:41:56Z | 2024-07-03T08:41:56Z | albertvillanova | MEMBER | null | null | 0 | 0 | 0 | 0 | null | false | [
"bug"
] | https://github.com/huggingface/datasets/issues/7020 | false | [] |
2,385,793,897 | 7,019 | Support pyarrow large_list | closed | Allow Polars round trip by supporting pyarrow large list.
Fix #6834, fix #6984.
Supersede and close #4800, close #6835, close #6986. | true | 2024-07-02T09:52:52Z | 2024-08-12T14:49:45Z | 2024-08-12T14:43:45Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7019 | 2024-08-12T14:43:45Z | 10 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7019 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7019). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"@albertvillanova really happy to see this fix.\r\n\r\nHave you attempted to save a data... |
2,383,700,286 | 7,018 | `load_dataset` fails to load dataset saved by `save_to_disk` | open | ### Describe the bug
This code fails to load the dataset it just saved:
```python
from datasets import load_dataset
from transformers import AutoTokenizer
MODEL = "google-bert/bert-base-cased"
tokenizer = AutoTokenizer.from_pretrained(MODEL)
dataset = load_dataset("yelp_review_full")
def tokenize_functi... | true | 2024-07-01T12:19:19Z | 2025-05-24T05:21:12Z | null | sliedes | NONE | null | null | 5 | 3 | 3 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/7018 | false | [
"In my case the error was:\r\n```\r\nValueError: You are trying to load a dataset that was saved using `save_to_disk`. Please use `load_from_disk` instead.\r\n```\r\nDid you try `load_from_disk`?",
"More generally, any reason there is no API consistency between save_to_disk and push_to_hub ? \r\n\r\nWould be nice... |
2,383,647,419 | 7,017 | Support fsspec 2024.6.1 | closed | Support fsspec 2024.6.1. | true | 2024-07-01T11:57:15Z | 2024-07-01T12:12:32Z | 2024-07-01T12:06:24Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/7017 | 2024-07-01T12:06:24Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/7017 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7017). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>... |
2,383,262,608 | 7,016 | `drop_duplicates` method | open | ### Feature request
`drop_duplicates` method for huggingface datasets (similiar in simplicity to the `pandas` one)
### Motivation
Ease of use
### Your contribution
I don't think i am good enough to help | true | 2024-07-01T09:01:06Z | 2024-07-20T06:51:58Z | null | MohamedAliRashad | NONE | null | null | 1 | 0 | 0 | 0 | null | false | [
"duplicate",
"enhancement"
] | https://github.com/huggingface/datasets/issues/7016 | false | [
"There is an open issue #2514 about this which also proposes solutions."
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.