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
1,640,840,012
5,671
How to use `load_dataset('glue', 'cola')`
closed
### Describe the bug I'm new to use HuggingFace datasets but I cannot use `load_dataset('glue', 'cola')`. - I was stacked by the following problem: ```python from datasets import load_dataset cola_dataset = load_dataset('glue', 'cola') ------------------------------------------------------------------------...
true
2023-03-26T09:40:34Z
2023-03-28T07:43:44Z
2023-03-28T07:43:43Z
makinzm
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5671
false
[ "Sounds like an issue with incompatible `transformers` dependencies versions.\r\n\r\nCan you try to update `transformers` ?\r\n\r\nEDIT: I checked the `transformers` dependencies and it seems like you need `tokenizers>=0.10.1,<0.11` with `transformers==4.5.1`\r\n\r\nEDIT2: this old version of `datasets` seems to im...
1,640,607,045
5,670
Unable to load multi class classification datasets
closed
### Describe the bug I've been playing around with huggingface library, mostly with `datasets` and wanted to download the multi class classification datasets to fine tune BERT on this task. ([link](https://huggingface.co/docs/transformers/training#train-with-pytorch-trainer)). While loading the dataset, I'm getting...
true
2023-03-25T18:06:15Z
2023-03-27T22:54:56Z
2023-03-27T22:54:56Z
ysahil97
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5670
false
[ "Hi ! This sounds related to https://github.com/huggingface/datasets/issues/5406\r\n\r\nUpdating `datasets` fixes the issue ;)", "Thanks @lhoestq!\r\n\r\nI'll close this issue now." ]
1,638,070,046
5,669
Almost identical datasets, huge performance difference
open
### Describe the bug I am struggling to understand (huge) performance difference between two datasets that are almost identical. ### Steps to reproduce the bug # Fast (normal) dataset speed: ```python import cv2 from datasets import load_dataset from torch.utils.data import DataLoader dataset = load_dataset(...
true
2023-03-23T18:20:20Z
2023-04-09T18:56:23Z
null
eli-osherovich
CONTRIBUTOR
null
null
7
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5669
false
[ "Do I miss something here?", "Hi! \r\n\r\nThe first dataset stores images as bytes (the \"image\" column type is `datasets.Image()`) and decodes them as `PIL.Image` objects and the second dataset stores them as variable-length lists (the \"image\" column type is `datasets.Sequence(...)`)), so I guess going from `...
1,638,018,598
5,668
Support for downloading only provided split
open
We can pass split to `_split_generators()`. But I'm not sure if it's possible to solve cache issues, mostly with `dataset_info.json`
true
2023-03-23T17:53:39Z
2023-03-24T06:43:14Z
null
polinaeterna
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5668
null
2
0
0
0
true
false
[]
https://github.com/huggingface/datasets/pull/5668
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5668). All of your documentation changes will be reflected on that endpoint.", "My previous comment didn't create the retro-link in the PR. I write it here again.\r\n\r\nYou can check the context and the discussions we had abou...
1,637,789,361
5,667
Jax requires jaxlib
closed
close https://github.com/huggingface/datasets/issues/5666
true
2023-03-23T15:41:09Z
2023-03-23T16:23:11Z
2023-03-23T16:14:52Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5667
2023-03-23T16:14:52Z
6
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5667
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<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 | rea...
1,637,675,062
5,666
Support tensorflow 2.12.0 in CI
closed
Once we find out the root cause of: - #5663 we should revert the temporary pin on tensorflow introduced by: - #5664
true
2023-03-23T14:37:51Z
2023-03-23T16:14:54Z
2023-03-23T16:14:54Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5666
false
[]
1,637,193,648
5,665
Feature request: IterableDataset.push_to_hub
closed
### Feature request It'd be great to have a lazy push to hub, similar to the lazy loading we have with `IterableDataset`. Suppose you'd like to filter [LAION](https://huggingface.co/datasets/laion/laion400m) based on certain conditions, but as LAION doesn't fit into your disk, you'd like to leverage streaming: `...
true
2023-03-23T09:53:04Z
2025-06-06T16:13:22Z
2025-06-06T16:12:36Z
NielsRogge
CONTRIBUTOR
null
null
13
31
31
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5665
false
[ "+1", "+1", "+1, should be possible now? :) https://huggingface.co/blog/xethub-joins-hf", "Haha we're working hard to integrate Xet in the HF back-end, it will enable cool use cases :)\n\nAnyway about `IterableDataset.push_to_hub`, I'd be happy to to provide guidance and answer questions if anyone wants to st...
1,637,192,684
5,664
Fix CI by temporarily pinning tensorflow < 2.12.0
closed
As a hotfix for our CI, temporarily pin `tensorflow` upper version: - In Python 3.10, tensorflow-2.12.0 also installs `jax` Fix #5663 Until root cause is fixed.
true
2023-03-23T09:52:26Z
2023-03-23T10:17:11Z
2023-03-23T10:09:54Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5664
2023-03-23T10:09:53Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5664
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<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 | rea...
1,637,173,248
5,663
CI is broken: ModuleNotFoundError: jax requires jaxlib to be installed
closed
CI test_py310 is broken: see https://github.com/huggingface/datasets/actions/runs/4498945505/jobs/7916194236?pr=5662 ``` FAILED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_jax_in_memory - ModuleNotFoundError: jax requires jaxlib to be installed. See https://github.com/google/jax#installation for installati...
true
2023-03-23T09:39:43Z
2023-03-23T10:09:55Z
2023-03-23T10:09:55Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/5663
false
[]
1,637,140,813
5,662
Fix unnecessary dict comprehension
closed
After ruff-0.0.258 release, the C416 rule was updated with unnecessary dict comprehensions. See: - https://github.com/charliermarsh/ruff/releases/tag/v0.0.258 - https://github.com/charliermarsh/ruff/pull/3605 This PR fixes one unnecessary dict comprehension in our code: no need to unpack and re-pack the tuple valu...
true
2023-03-23T09:18:58Z
2023-03-23T09:46:59Z
2023-03-23T09:37:49Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5662
2023-03-23T09:37:49Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5662
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "I am merging because the CI error is unrelated.", "<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 | re...
1,637,129,445
5,661
CI is broken: Unnecessary `dict` comprehension
closed
CI check_code_quality is broken: ``` src/datasets/arrow_dataset.py:3267:35: C416 [*] Unnecessary `dict` comprehension (rewrite using `dict()`) Found 1 error. ```
true
2023-03-23T09:13:01Z
2023-03-23T09:37:51Z
2023-03-23T09:37:51Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/5661
false
[]
1,635,543,646
5,660
integration with imbalanced-learn
closed
### Feature request Wouldn't it be great if the various class balancing operations from imbalanced-learn were available as part of datasets? ### Motivation I'm trying to use imbalanced-learn to balance a dataset, but it's not clear how to get the two to interoperate - what would be great would be some examples. I'v...
true
2023-03-22T11:05:17Z
2023-07-06T18:10:15Z
2023-07-06T18:10:15Z
tansaku
NONE
null
null
1
0
0
0
null
false
[ "enhancement", "wontfix" ]
https://github.com/huggingface/datasets/issues/5660
false
[ "You can convert any dataset to pandas to be used with imbalanced-learn using `.to_pandas()`\r\n\r\nOtherwise if you want to keep a `Dataset` object and still use e.g. [make_imbalance](https://imbalanced-learn.org/stable/references/generated/imblearn.datasets.make_imbalance.html#imblearn.datasets.make_imbalance), y...
1,635,447,540
5,659
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files
closed
### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfile`/`libsndfile` libraries for loading audio samples, regardless of their file t...
true
2023-03-22T10:07:33Z
2024-07-12T01:35:01Z
2023-04-07T08:51:28Z
sanchit-gandhi
CONTRIBUTOR
null
null
13
3
3
0
null
false
[]
https://github.com/huggingface/datasets/issues/5659
false
[ "cc @polinaeterna @lhoestq ", "@sanchit-gandhi can you please also post the logs of `pip install soundfile==0.12.1`? To check what wheel is being installed or if it's being built from source (I think it's the latter case). \r\nRequired `libsndfile` binary **should** be bundeled with `soundfile` wheel but I assume...
1,634,867,204
5,658
docs: Update num_shards docs to mention num_proc on Dataset and DatasetDict
closed
Closes #5653 @mariosasko
true
2023-03-22T00:12:18Z
2023-03-24T16:43:34Z
2023-03-24T16:36:21Z
connor-henderson
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5658
2023-03-24T16:36:21Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5658
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<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 | rea...
1,634,156,563
5,656
Fix `fsspec.open` when using an HTTP proxy
closed
Most HTTP(S) downloads from this library support proxy automatically by reading the `HTTP_PROXY` environment variable (et al.) because `requests` is widely used. However, in some parts of the code, `fsspec` is used, which in turn uses `aiohttp` for HTTP(S) requests (as opposed to `requests`), which in turn doesn't supp...
true
2023-03-21T15:23:29Z
2023-03-23T14:14:50Z
2023-03-23T13:15:46Z
bryant1410
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5656
2023-03-23T13:15:46Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5656
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<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 | rea...
1,634,030,017
5,655
Improve features decoding in to_iterable_dataset
closed
Following discussion at https://github.com/huggingface/datasets/pull/5589 Right now `to_iterable_dataset` on images/audio hurts iterable dataset performance a lot (e.g. x4 slower because it encodes+decodes images/audios unnecessarily). I fixed it by providing a generator that yields undecoded examples
true
2023-03-21T14:18:09Z
2023-03-23T13:19:27Z
2023-03-23T13:12:25Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5655
2023-03-23T13:12:25Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5655
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<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 | rea...
1,633,523,705
5,654
Offset overflow when executing Dataset.map
open
### Describe the bug Hi, I'm trying to use `.map` method to cache multiple random crops from the image to speed up data processing during training, as the image size is too big. The map function executes all iterations, and then returns the following error: ```bash Traceback (most recent call last): ...
true
2023-03-21T09:33:27Z
2023-03-21T10:32:07Z
null
jan-pair
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5654
false
[ "Upd. the above code works if we replace `25` with `1`, but the result value at key \"hr\" is not a tensor but a list of lists of lists of uint8.\r\n\r\nAdding `train_data.set_format(\"torch\")` after map fixes this, but the original issue remains\r\n\r\n", "As a workaround, one can replace\r\n`return {\"hr\": to...
1,633,254,159
5,653
Doc: save_to_disk, `num_proc` will affect `num_shards`, but it's not documented
closed
### Describe the bug [`num_proc`](https://huggingface.co/docs/datasets/main/en/package_reference/main_classes#datasets.DatasetDict.save_to_disk.num_proc) will affect `num_shards`, but it's not documented ### Steps to reproduce the bug Nothing to reproduce ### Expected behavior [document of `num_shards`](https://...
true
2023-03-21T05:25:35Z
2023-03-24T16:36:23Z
2023-03-24T16:36:23Z
RmZeta2718
NONE
null
null
1
0
0
0
null
false
[ "documentation", "good first issue" ]
https://github.com/huggingface/datasets/issues/5653
false
[ "I agree this should be documented" ]
1,632,546,073
5,652
Copy features
closed
Some users (even internally at HF) are doing ```python dset_features = dset.features dset_features.pop(col_to_remove) dset = dset.map(..., features=dset_features) ``` Right now this causes issues because it modifies the features dict in place before the map. In this PR I modified `dset.features` to return a ...
true
2023-03-20T17:17:23Z
2023-03-23T13:19:19Z
2023-03-23T13:12:08Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5652
2023-03-23T13:12:08Z
7
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5652
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<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 | rea...
1,631,967,509
5,651
expanduser in save_to_disk
closed
### Describe the bug save_to_disk() does not expand `~` 1. `dataset = load_datasets("any dataset")` 2. `dataset.save_to_disk("~/data")` 3. a folder named "~" created in current folder 4. FileNotFoundError is raised, because the expanded path does not exist (`/home/<user>/data`) related issue https://github....
true
2023-03-20T12:02:18Z
2023-10-27T14:04:37Z
2023-10-27T14:04:37Z
RmZeta2718
NONE
null
null
5
0
0
0
null
false
[ "good first issue" ]
https://github.com/huggingface/datasets/issues/5651
false
[ "`save_to_disk` should indeed expand `~`. Marking it as a \"good first issue\".", "#self-assign\r\n\r\nFile path to code: \r\n\r\nhttps://github.com/huggingface/datasets/blob/2.13.0/src/datasets/arrow_dataset.py#L1364\r\n\r\n@RmZeta2718 I created a pull request for this issue. ", "Hello, \r\nIt says `save_to_di...
1,630,336,919
5,650
load_dataset can't work correct with my image data
closed
I have about 20000 images in my folder which divided into 4 folders with class names. When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the problem and did not understand. Tried converting imag...
true
2023-03-18T13:59:13Z
2023-07-24T14:13:02Z
2023-07-24T14:13:01Z
WiNE-iNEFF
NONE
null
null
21
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5650
false
[ "Can you post a reproducible code snippet of what you tried to do?\r\n\r\n", "> Can you post a reproducible code snippet of what you tried to do?\n> \n> \n\n```python\nfrom datasets import load_dataset\n\ndataset = load_dataset(\"my_folder_name\", split=\"train\")\n```", "hi @WiNE-iNEFF ! can you please also te...
1,630,173,460
5,649
The index column created with .to_sql() is dependent on the batch_size when writing
closed
### Describe the bug It seems like the "index" column is designed to be unique? The values are only unique per batch. The SQL index is not a unique index. This can be a problem, for instance, when building a faiss index on a dataset and then trying to match up ids with a sql export. ### Steps to reproduce the ...
true
2023-03-18T05:25:17Z
2023-06-17T07:01:57Z
2023-06-17T07:01:57Z
lsb
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5649
false
[ "Thanks for reporting, @lsb. \r\n\r\nWe are investigating it.\r\n\r\nOn the other hand, please note that in the next `datasets` release, the index will not be created by default (see #5583). If you would like to have it, you will need to explicitly pass `index=True`. ", "I think this is low enough priority for me...
1,629,253,719
5,648
flatten_indices doesn't work with pandas format
open
### Describe the bug Hi, I noticed that `flatten_indices` throws an error when the batch format is `pandas`. This is probably due to the fact that flatten_indices uses map internally which doesn't accept dataframes as the transformation function output ### Steps to reproduce the bug tabular_data = pd.DataFrame(np.r...
true
2023-03-17T12:44:25Z
2023-03-21T13:12:03Z
null
alialamiidrissi
NONE
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/5648
false
[ "Thanks for reporting! This can be fixed by setting the format to `arrow` in `flatten_indices` and restoring the original format after the flattening. I'm working on a PR that reduces the number of the `flatten_indices` calls in our codebase and makes `flatten_indices` a no-op when a dataset does not have an indice...
1,628,225,544
5,647
Make all print statements optional
closed
### Feature request Make all print statements optional to speed up the development ### Motivation Im loading multiple tiny datasets and all the print statements make the loading slower ### Your contribution I can help contribute
true
2023-03-16T20:30:07Z
2023-07-21T14:20:25Z
2023-07-21T14:20:24Z
gagan3012
NONE
null
null
2
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5647
false
[ "related to #5444 ", "We now log these messages instead of printing them (addressed in #6019), so I'm closing this issue." ]
1,627,838,762
5,646
Allow self as key in `Features`
closed
Fix #5641
true
2023-03-16T16:17:03Z
2023-03-16T17:21:58Z
2023-03-16T17:14:50Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5646
2023-03-16T17:14:50Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5646
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<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 | rea...
1,627,108,278
5,645
Datasets map and select(range()) is giving dill error
closed
### Describe the bug I'm using Huggingface Datasets library to load the dataset in google colab When I do, > data = train_dataset.select(range(10)) or > train_datasets = train_dataset.map( > process_data_to_model_inputs, > batched=True, > batch_size=batch_size, > remove_columns...
true
2023-03-16T10:01:28Z
2023-03-17T04:24:51Z
2023-03-17T04:24:51Z
Tanya-11
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5645
false
[ "It looks like an error that we observed once in https://github.com/huggingface/datasets/pull/5166\r\n\r\nCan you try to update `datasets` ?\r\n\r\n```\r\npip install -U datasets\r\n```\r\n\r\nif it doesn't work, can you make sure you don't have packages installed that may modify `dill`'s behavior, such as `apache-...
1,626,204,046
5,644
Allow direct cast from binary to Audio/Image
closed
To address https://github.com/huggingface/datasets/discussions/5593.
true
2023-03-15T20:02:54Z
2023-03-16T14:20:44Z
2023-03-16T14:12:55Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5644
2023-03-16T14:12:55Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5644
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<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 | rea...
1,626,160,220
5,643
Support PyArrow arrays as column values in `from_dict`
closed
For consistency with `pa.Table.from_pydict`, which supports both Python lists and PyArrow arrays as column values. "Fixes" https://discuss.huggingface.co/t/pyarrow-lib-floatarray-did-not-recognize-python-value-type-when-inferring-an-arrow-data-type/33417
true
2023-03-15T19:32:40Z
2023-03-16T17:23:06Z
2023-03-16T17:15:40Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5643
2023-03-16T17:15:39Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5643
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<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 | rea...
1,626,043,177
5,642
Bump hfh to 0.11.0
closed
to fix errors like ``` requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://hub-ci.huggingface.co/api/datasets/__DUMMY_TRANSFORMERS_USER__/... ``` (e.g. from this [failing CI](https://github.com/huggingface/datasets/actions/runs/4428956210/jobs/7769160997)) 0.11.0 is the current mini...
true
2023-03-15T18:26:07Z
2023-03-20T12:34:09Z
2023-03-20T12:26:58Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5642
2023-03-20T12:26:58Z
6
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5642
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<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 | rea...
1,625,942,730
5,641
Features cannot be named "self"
closed
### Describe the bug Hi, I noticed that we cannot create a HuggingFace dataset from Pandas DataFrame with a column named `self`. The error seems to be coming from arguments validation in the `Features.from_dict` function. ### Steps to reproduce the bug ```python import datasets dummy_pandas = pd.DataFrame([0...
true
2023-03-15T17:16:40Z
2023-03-16T17:14:51Z
2023-03-16T17:14:51Z
alialamiidrissi
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5641
false
[]
1,625,896,057
5,640
Less zip false positives
closed
`zipfile.is_zipfile` return false positives for some Parquet files. It causes errors when loading certain parquet datasets, where some files are considered ZIP files by `zipfile.is_zipfile` This is a known issue: https://github.com/python/cpython/issues/72680 At first I wanted to rely only on magic numbers, but t...
true
2023-03-15T16:48:59Z
2023-03-16T13:47:37Z
2023-03-16T13:40:12Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5640
2023-03-16T13:40:12Z
6
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5640
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...
1,625,737,098
5,639
Parquet file wrongly recognized as zip prevents loading a dataset
closed
### Describe the bug When trying to `load_dataset_builder` for `HuggingFaceGECLM/StackExchange_Mar2023`, extraction fails, because parquet file [devops-00000-of-00001-22fe902fd8702892.parquet](https://huggingface.co/datasets/HuggingFaceGECLM/StackExchange_Mar2023/resolve/1f8c9a2ab6f7d0f9ae904b8b922e4384592ae1a5/data...
true
2023-03-15T15:20:45Z
2023-03-16T13:40:14Z
2023-03-16T13:40:14Z
clefourrier
MEMBER
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5639
false
[]
1,625,564,471
5,638
xPath to implement all operations for Path
closed
### Feature request Current xPath implementation is a great extension of Path in order to work with remote objects. However some methods such as `mkdir` are not implemented correctly. It should instead rely on `fsspec` methods, instead of defaulting do `Path` methods which only work locally. ### Motivation I'm using...
true
2023-03-15T13:47:11Z
2023-03-17T13:21:12Z
2023-03-17T13:21:12Z
thomasw21
CONTRIBUTOR
null
null
5
1
1
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5638
false
[ " I think https://github.com/fsspec/universal_pathlib is the project you are looking for.\r\n\r\n`xPath` has the methods often used in dataset scripts, and `mkdir` is not one of them (`dl_manager`'s role is to \"interact\" with the file system, so using `mkdir` is discouraged).", "Right is there a difference betw...
1,625,295,691
5,637
IterableDataset with_format does not support 'device' keyword for jax
open
### Describe the bug As seen here: https://huggingface.co/docs/datasets/use_with_jax dataset.with_format() supports the keyword 'device', to put data on a specific device when loaded as jax. However, when called on an IterableDataset, I got the error `TypeError: with_format() got an unexpected keyword argument 'devi...
true
2023-03-15T11:04:12Z
2025-01-07T06:59:33Z
null
Lime-Cakes
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5637
false
[ "Hi! Yes, only `torch` is currently supported. Unlike `Dataset`, `IterableDataset` is not PyArrow-backed, so we cannot simply call `to_numpy` on the underlying subtables to format them numerically. Instead, we must manually convert examples to (numeric) arrays while preserving consistency with `Dataset`, which is n...
1,623,721,577
5,636
Fix CI: ignore C901 ("some_func" is to complex) in `ruff`
closed
idk if I should have added this ignore to `ruff` too, but I added :)
true
2023-03-14T15:29:11Z
2023-03-14T16:37:06Z
2023-03-14T16:29:52Z
polinaeterna
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5636
2023-03-14T16:29:52Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5636
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<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 | rea...
1,623,682,558
5,635
Pass custom metadata filename to Image/Audio folders
open
This is a quick fix. Now it requires to pass data via `data_files` parameters and include a required metadata file there and pass its filename as `metadata_filename` parameter. For example, with the structure like: ``` data images_dir/ im1.jpg im2.jpg ... metadata_dir/ meta_file...
true
2023-03-14T15:08:16Z
2023-03-22T17:50:31Z
null
polinaeterna
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5635
null
4
1
0
0
true
false
[]
https://github.com/huggingface/datasets/pull/5635
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5635). All of your documentation changes will be reflected on that endpoint.", "I'm not a big fan of this new param - I find assigning metadata files to splits via the `data_files` param cleaner. Also, assuming that the metadat...
1,622,424,174
5,634
Not all progress bars are showing up when they should for downloading dataset
closed
### Describe the bug During downloading the rotten tomatoes dataset, not all progress bars are displayed properly. This might be related to [this ticket](https://github.com/huggingface/datasets/issues/5117) as it raised the same concern but its not clear if the fix solves this issue too. ipywidgets <img width=...
true
2023-03-13T23:04:18Z
2023-10-11T16:30:16Z
2023-10-11T16:30:16Z
garlandz-db
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5634
false
[ "Hi! \r\n\r\nBy default, tqdm has `leave=True` to \"keep all traces of the progress bar upon the termination of iteration\". However, we use `leave=False` in some places (as of recently), which removes the bar once the iteration is over.\r\n\r\nI feel like our TQDM bars are noisy, so I think we should always set `l...
1,621,469,970
5,633
Cannot import datasets
closed
### Describe the bug Hi, I cannot even import the library :( I installed it by running: ``` $ conda install datasets ``` Then I realized I should maybe use the huggingface channel, because I encountered the error below, so I ran: ``` $ conda remove datasets $ conda install -c huggingface datasets ``` Pl...
true
2023-03-13T13:14:44Z
2023-03-13T17:54:19Z
2023-03-13T17:54:19Z
eerio
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5633
false
[ "Okay, the issue was likely caused by mixing `conda` and `pip` usage - I forgot that I have already used `pip` in this environment previously and that it was 'spoiled' because of it. Creating another environment and installing `datasets` by pip with other packages from the `requirements.txt` file solved the problem...
1,621,177,391
5,632
Dataset cannot convert too large dictionnary
open
### Describe the bug Hello everyone! I tried to build a new dataset with the command "dict_valid = datasets.Dataset.from_dict({'input_values': values_array})". However, I have a very large dataset (~400Go) and it seems that dataset cannot handle this. Indeed, I can create the dataset until a certain size of m...
true
2023-03-13T10:14:40Z
2023-03-16T15:28:57Z
null
MaraLac
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5632
false
[ "Answered on the forum:\r\n\r\n> To fix the overflow error, we need to merge [support LargeListArray in pyarrow by xwwwwww · Pull Request #4800 · huggingface/datasets · GitHub](https://github.com/huggingface/datasets/pull/4800), which adds support for the large lists. However, before merging it, we need to come up ...
1,620,442,854
5,631
Custom split names
closed
### Feature request Hi, I participated in multiple NLP tasks where there are more than just train, test, validation splits, there could be multiple validation sets or test sets. But it seems currently only those mentioned three splits supported. It would be nice to have the support for more splits on the hub. (curren...
true
2023-03-12T17:21:43Z
2023-03-24T14:13:00Z
2023-03-24T14:13:00Z
ErfanMoosaviMonazzah
NONE
null
null
1
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5631
false
[ "Hi!\r\n\r\nYou can also use names other than \"train\", \"validation\" and \"test\". As an example, check the [script](https://huggingface.co/datasets/mozilla-foundation/common_voice_11_0/blob/e095840f23f3dffc1056c078c2f9320dad9ca74d/common_voice_11_0.py#L139) of the Common Voice 11 dataset. " ]
1,620,327,510
5,630
adds early exit if url is `PathLike`
open
Closes #4864 Should fix errors thrown when attempting to load `json` dataset using `pathlib.Path` in `data_files` argument.
true
2023-03-12T11:23:28Z
2023-03-15T11:58:38Z
null
vvvm23
NONE
https://github.com/huggingface/datasets/pull/5630
null
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5630
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5630). All of your documentation changes will be reflected on that endpoint." ]
1,619,921,247
5,629
load_dataset gives "403" error when using Financial phrasebank
open
When I try to load this dataset, I receive the following error: ConnectionError: Couldn't reach https://www.researchgate.net/profile/Pekka_Malo/publication/251231364_FinancialPhraseBank-v10/data/0c96051eee4fb1d56e000000/FinancialPhraseBank-v10.zip (error 403) Has this been seen before? Thanks. The website loads ...
true
2023-03-11T07:46:39Z
2023-03-13T18:27:26Z
null
Jimchoo91
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5629
false
[ "Hi! You seem to be using an outdated version of `datasets` that downloads the older script version. To avoid the error, you can either pass `revision=\"main\"` to `load_dataset` (this can fail if a script uses newer features of the lib) or update your installation with `pip install -U datasets` (better solution)."...
1,619,641,810
5,628
add kwargs to index search
closed
This PR proposes to add kwargs to index search methods. This is particularly useful for setting the timeout of a query on elasticsearch. A typical use case would be: ```python dset.add_elasticsearch_index("filename", es_client=es_client) scores, examples = dset.get_nearest_examples("filename", "my_name-train_2...
true
2023-03-10T21:24:58Z
2023-03-15T14:48:47Z
2023-03-15T14:46:04Z
SaulLu
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5628
2023-03-15T14:46:04Z
1
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/5628
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,619,336,609
5,627
Unable to load AutoTrain-generated dataset from the hub
open
### Describe the bug DatasetGenerationError: An error occurred while generating the dataset -> ValueError: Couldn't cast ... because column names don't match ``` ValueError: Couldn't cast _data_files: list<item: struct<filename: string>> child 0, item: struct<filename: string> child 0, filename: string ...
true
2023-03-10T17:25:58Z
2023-03-11T15:44:42Z
null
ijmiller2
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5627
false
[ "The AutoTrain format is not supported right now. I think it would require a dedicated dataset builder", "Okay, good to know. Thanks for the reply. For now I will just have to\nmanage the split manually before training, because I can’t find any way of\npulling out file indices or file names from the autogenerated...
1,619,252,984
5,626
Support streaming datasets with numpy.load
closed
Support streaming datasets with `numpy.load`. See: https://huggingface.co/datasets/qgallouedec/gia_dataset/discussions/1
true
2023-03-10T16:33:39Z
2023-03-21T06:36:05Z
2023-03-21T06:28:54Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5626
2023-03-21T06:28:54Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5626
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<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 | rea...
1,618,971,855
5,625
Allow "jsonl" data type signifier
open
### Feature request `load_dataset` currently does not accept `jsonl` as type but only `json`. ### Motivation I was working with one of the `run_translation` scripts and used my own datasets (`.jsonl`) as train_dataset. But the default code did not work because ``` FileNotFoundError: Couldn't find a dataset scri...
true
2023-03-10T13:21:48Z
2023-03-11T10:35:39Z
null
BramVanroy
CONTRIBUTOR
null
null
2
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5625
false
[ "You can use \"json\" instead. It doesn't work by extension names, but rather by dataset builder names, e.g. \"text\", \"imagefolder\", etc. I don't think the example in `transformers` is correct because of that", "Yes, I understand the reasoning but this issue is to propose that the example in transformers (whil...
1,617,400,192
5,624
glue datasets returning -1 for test split
closed
### Describe the bug Downloading any dataset from GLUE has -1 as class labels for test split. Train and validation have regular 0/1 class labels. This is also present in the dataset card online. ### Steps to reproduce the bug ``` dataset = load_dataset("glue", "sst2") for d in dataset: # prints out -1 ...
true
2023-03-09T14:47:18Z
2023-03-09T16:49:29Z
2023-03-09T16:49:29Z
lithafnium
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5624
false
[ "Hi @lithafnium, thanks for reporting.\r\n\r\nPlease note that you can use the \"Community\" tab in the corresponding dataset page to start any discussion: https://huggingface.co/datasets/glue/discussions\r\n\r\nIndeed this issue was already raised there (https://huggingface.co/datasets/glue/discussions/5) and answ...
1,616,712,665
5,623
Remove set_access_token usage + fail tests if FutureWarning
closed
`set_access_token` is deprecated and will be removed in `huggingface_hub>=0.14`. This PR removes it from the tests (it was not used in `datasets` source code itself). FYI, it was not needed since `set_access_token` was just setting git credentials and `datasets` doesn't seem to use git anywhere. In the future, us...
true
2023-03-09T08:46:01Z
2023-03-09T15:39:00Z
2023-03-09T15:31:59Z
Wauplin
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5623
2023-03-09T15:31:58Z
6
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5623
true
[ "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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...
1,615,190,942
5,622
Update README template to better template
closed
true
2023-03-08T12:30:23Z
2023-03-11T05:07:38Z
2023-03-11T05:07:38Z
emiltj
NONE
https://github.com/huggingface/datasets/pull/5622
null
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5622
true
[ "IMO this template should stay generic.\r\n\r\nAlso, we now use [the card template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/datasetcard_template.md) from `hugginface_hub` as the source of truth on the Hub (you now have the option to import it into the dataset card/READ...
1,615,029,615
5,621
Adding Oracle Cloud to docs
closed
Adding Oracle Cloud's fsspec implementation to the list of supported cloud storage providers.
true
2023-03-08T10:22:50Z
2023-03-11T00:57:18Z
2023-03-11T00:49:56Z
ahosler
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5621
2023-03-11T00:49:56Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5621
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<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 | rea...
1,613,460,520
5,620
Bump pyarrow to 8.0.0
closed
Fix those for Pandas 2.0 (tested [here](https://github.com/huggingface/datasets/actions/runs/4346221280/jobs/7592010397) with pandas==2.0.0.rc0): ```python =========================== short test summary info ============================ FAILED tests/test_arrow_dataset.py::BaseDatasetTest::test_to_parquet_in_memory...
true
2023-03-07T13:31:53Z
2023-03-08T14:01:27Z
2023-03-08T13:54:22Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5620
2023-03-08T13:54:21Z
12
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5620
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,613,439,709
5,619
unpin fsspec
closed
close https://github.com/huggingface/datasets/issues/5618
true
2023-03-07T13:22:41Z
2023-03-07T13:47:01Z
2023-03-07T13:39:02Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5619
2023-03-07T13:39:02Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5619
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,612,977,934
5,618
Unpin fsspec < 2023.3.0 once issue fixed
closed
Unpin `fsspec` upper version once root cause of our CI break is fixed. See: - #5614
true
2023-03-07T08:41:51Z
2023-03-07T13:39:03Z
2023-03-07T13:39:03Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5618
false
[]
1,612,947,422
5,617
Fix CI by temporarily pinning fsspec < 2023.3.0
closed
As a hotfix for our CI, temporarily pin `fsspec`: Fix #5616. Until root cause is fixed, see: - #5614
true
2023-03-07T08:18:20Z
2023-03-07T08:44:55Z
2023-03-07T08:37:28Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5617
2023-03-07T08:37:28Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5617
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,612,932,508
5,616
CI is broken after fsspec-2023.3.0 release
closed
As reported by @lhoestq, our CI is broken after `fsspec` 2023.3.0 release: ``` FAILED tests/test_filesystem.py::test_compression_filesystems[Bz2FileSystem] - AssertionError: assert [{'created': ...: False, ...}] == ['file.txt'] At index 0 diff: {'name': 'file.txt', 'size': 70, 'type': 'file', 'created': 1678175677...
true
2023-03-07T08:06:39Z
2023-03-07T08:37:29Z
2023-03-07T08:37:29Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/5616
false
[]
1,612,552,653
5,615
IterableDataset.add_column is unable to accept another IterableDataset as a parameter.
closed
### Describe the bug `IterableDataset.add_column` occurs an exception when passing another `IterableDataset` as a parameter. The method seems to accept only eager evaluated values. https://github.com/huggingface/datasets/blob/35b789e8f6826b6b5a6b48fcc2416c890a1f326a/src/datasets/iterable_dataset.py#L1388-L1391 ...
true
2023-03-07T01:52:00Z
2023-03-09T15:24:05Z
2023-03-09T15:23:54Z
zsaladin
NONE
null
null
1
0
0
0
null
false
[ "wontfix" ]
https://github.com/huggingface/datasets/issues/5615
false
[ "Hi! You can use `concatenate_datasets([ids1, ids2], axis=1)` to do this." ]
1,611,896,357
5,614
Fix archive fs test
closed
true
2023-03-06T17:28:09Z
2023-03-07T13:27:50Z
2023-03-07T13:20:57Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5614
2023-03-07T13:20:57Z
4
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/5614
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,611,875,473
5,613
Version mismatch with multiprocess and dill on Python 3.10
open
### Describe the bug Grabbing the latest version of `datasets` and `apache-beam` with `poetry` using Python 3.10 gives a crash at runtime. The crash is ``` File "/Users/adpauls/sc/git/DSI-transformers/data/NQ/create_NQ_train_vali.py", line 1, in <module> import datasets File "/Users/adpauls/Library/Caches/...
true
2023-03-06T17:14:41Z
2024-04-05T20:13:52Z
null
adampauls
NONE
null
null
6
10
10
0
null
false
[]
https://github.com/huggingface/datasets/issues/5613
false
[ "Sorry, I just found https://github.com/apache/beam/issues/24458. It seems this issue is being worked on. ", "Reopening, since I think the docs should inform the user of this problem. For example, [this page](https://huggingface.co/docs/datasets/installation) says \r\n> Datasets is tested on Python 3.7+.\r\n\r\nb...
1,611,262,510
5,612
Arrow map type in parquet files unsupported
open
### Describe the bug When I try to load parquet files that were processed with Spark, I get the following issue: `ValueError: Arrow type map<string, string ('warc_headers')> does not have a datasets dtype equivalent.` Strangely, loading the dataset with `streaming=True` solves the issue. ### Steps to reproduce ...
true
2023-03-06T12:03:24Z
2024-03-15T18:56:12Z
null
TevenLeScao
CONTRIBUTOR
null
null
4
5
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5612
false
[ "I'm attaching a minimal reproducible example:\r\n```python\r\nfrom datasets import load_dataset\r\nimport pyarrow as pa\r\nimport pyarrow.parquet as pq\r\n\r\ntable_with_map = pa.Table.from_pydict(\r\n {\"a\": [1, 2], \"b\": [[(\"a\", 2)], [(\"b\", 4)]]},\r\n schema=pa.schema({\"a\": pa.int32(), \"b\": pa.ma...
1,611,197,906
5,611
add Dataset.to_list
closed
close https://github.com/huggingface/datasets/issues/5606 This PR is for adding the `Dataset.to_list` method. Thank you in advance.
true
2023-03-06T11:21:57Z
2023-03-27T13:34:19Z
2023-03-27T13:26:38Z
kyoto7250
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5611
2023-03-27T13:26:38Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5611
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hi, thanks for working on this! `Table.to_pylist` requires PyArrow 7.0+, and our minimal version requirement is 6.0, so we need to bump the version requirement to avoid CI failure. I'll do this in a separate PR.", "<details>\n<summ...
1,610,698,006
5,610
use datasets streaming mode in trainer ddp mode cause memory leak
open
### Describe the bug use datasets streaming mode in trainer ddp mode cause memory leak ### Steps to reproduce the bug import os import time import datetime import sys import numpy as np import random import torch from torch.utils.data import Dataset, DataLoader, random_split, RandomSampler, Sequenti...
true
2023-03-06T05:26:49Z
2024-03-07T01:11:32Z
null
gromzhu
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5610
false
[ "Same problem, \r\ntransformers 4.28.1\r\ndatasets 2.12.0\r\n\r\nleak around 100Mb per 10 seconds when use dataloader_num_werker > 0 in training argumennts for transformer train, possile bug in transformers repo, but still not found solution :(\r\n", "found an article described a problem, may be helpful for someb...
1,610,062,862
5,609
`load_from_disk` vs `load_dataset` performance.
open
### Describe the bug I have downloaded `openwebtext` (~12GB) and filtered out a small amount of junk (it's still huge). Now, I would like to use this filtered version for future work. It seems I have two choices: 1. Use `load_dataset` each time, relying on the cache mechanism, and re-run my filtering. 2. `save_to_di...
true
2023-03-05T05:27:15Z
2023-07-13T18:48:05Z
null
davidgilbertson
NONE
null
null
4
4
4
0
null
false
[]
https://github.com/huggingface/datasets/issues/5609
false
[ "Hi! We've recently made some improvements to `save_to_disk`/`list_to_disk` (100x faster in some scenarios), so it would help if you could install `datasets` directly from `main` (`pip install git+https://github.com/huggingface/datasets.git`) and re-run the \"benchmark\".", "Great to hear! I'll give it a try when...
1,609,996,563
5,608
audiofolder only creates dataset of 13 rows (files) when the data folder it's reading from has 20,000 mp3 files.
closed
### Describe the bug x = load_dataset("audiofolder", data_dir="x") When running this, x is a dataset of 13 rows (files) when it should be 20,000 rows (files) as the data_dir "x" has 20,000 mp3 files. Does anyone know what could possibly cause this (naming convention of mp3 files, etc.) ### Steps to reproduce the b...
true
2023-03-05T00:14:45Z
2023-03-12T00:02:57Z
2023-03-12T00:02:57Z
jcho19
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5608
false
[ "Hi!\r\n\r\n> naming convention of mp3 files\r\n\r\nYes, this could be the problem. MP3 files should end with `.mp3`/`.MP3` to be recognized as audio files.\r\n\r\nIf the file names are not the culprit, can you paste the audio folder's directory structure to help us reproduce the error (e.g., by running the `tree ...
1,609,166,035
5,607
Fix outdated `verification_mode` values
closed
~I think it makes sense not to save `dataset_info.json` file to a dataset cache directory when loading dataset with `verification_mode="no_checks"` because otherwise when next time the dataset is loaded **without** `verification_mode="no_checks"`, it will be loaded successfully, despite some values in info might not co...
true
2023-03-03T19:50:29Z
2023-03-09T17:34:13Z
2023-03-09T17:27:07Z
polinaeterna
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5607
2023-03-09T17:27:07Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5607
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<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 | rea...
1,608,911,632
5,606
Add `Dataset.to_list` to the API
closed
Since there is `Dataset.from_list` in the API, we should also add `Dataset.to_list` to be consistent. Regarding the implementation, we can re-use `Dataset.to_dict`'s code and replace the `to_pydict` calls with `to_pylist`.
true
2023-03-03T16:17:10Z
2023-03-27T13:26:40Z
2023-03-27T13:26:40Z
mariosasko
COLLABORATOR
null
null
3
0
0
0
null
false
[ "enhancement", "good first issue" ]
https://github.com/huggingface/datasets/issues/5606
false
[ "Hello, I have an interest in this issue.\r\nIs the `Dataset.to_dict` you are describing correct in the code here?\r\n\r\nhttps://github.com/huggingface/datasets/blob/35b789e8f6826b6b5a6b48fcc2416c890a1f326a/src/datasets/arrow_dataset.py#L4633-L4667", "Yes, this is where `Dataset.to_dict` is defined.", "#self-a...
1,608,865,460
5,605
Update README logo
closed
true
2023-03-03T15:46:31Z
2023-03-03T21:57:18Z
2023-03-03T21:50:17Z
gary149
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5605
2023-03-03T21:50:17Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5605
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "Are you sure it's safe to remove? https://github.com/huggingface/datasets/pull/3866", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benc...
1,608,304,775
5,604
Problems with downloading The Pile
closed
### Describe the bug The downloads in the screenshot seem to be interrupted after some time and the last download throws a "Read timed out" error. ![image](https://user-images.githubusercontent.com/11065386/222687870-ec5fcb65-84e8-467d-9593-4ad7bdac4d50.png) Here are the downloaded files: ![image](https://user-...
true
2023-03-03T09:52:08Z
2023-10-14T02:15:52Z
2023-03-24T12:44:25Z
sentialx
NONE
null
null
7
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5604
false
[ "Hi! \r\n\r\n\r\nYou can specify `download_config=DownloadConfig(resume_download=True))` in `load_dataset` to resume the download when re-running the code after the timeout error:\r\n```python\r\nfrom datasets import load_dataset, DownloadConfig\r\ndataset = load_dataset('the_pile', split='train', cache_dir='F:\\da...
1,607,143,509
5,603
Don't compute checksums if not necessary in `datasets-cli test`
closed
we only need them if there exists a `dataset_infos.json`
true
2023-03-02T16:42:39Z
2023-03-03T15:45:32Z
2023-03-03T15:38:28Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5603
2023-03-03T15:38:28Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5603
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,607,054,110
5,602
Return dict structure if columns are lists - to_tf_dataset
open
This PR introduces new logic to `to_tf_dataset` affecting the returned data structure, enabling a dictionary structure to be returned, even if only one feature column is selected. If the passed in `columns` or `label_cols` to `to_tf_dataset` are a list, they are returned as a dictionary, respectively. If they are a...
true
2023-03-02T15:51:12Z
2023-04-12T15:54:53Z
null
amyeroberts
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5602
null
19
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5602
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5602). All of your documentation changes will be reflected on that endpoint.", "This is a great PR! Thinking about the UX though, maybe we could do it without the extra argument? Before this PR, the logic in `to_tf_dataset` was...
1,606,685,976
5,601
Authorization error
closed
### Describe the bug Get `Authorization error` when try to push data into hugginface datasets hub. ### Steps to reproduce the bug I did all steps in the [tutorial](https://huggingface.co/docs/datasets/share), 1. `huggingface-cli login` with WRITE token 2. `git lfs install` 3. `git clone https://huggingfa...
true
2023-03-02T12:08:39Z
2023-03-14T16:55:35Z
2023-03-14T16:55:34Z
OleksandrKorovii
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5601
false
[ "Hi! \r\n\r\nIt's better to report this kind of issue in the `huggingface_hub` repo, so if you still haven't resolved it, I suggest you open an issue there.", "Yeah, I solved it. Problem was in osxkeychain. When I do `hugginface-cli login` it's add token with default account (username)`hg_user` but my repo cont...
1,606,585,596
5,600
Dataloader getitem not working for DreamboothDatasets
closed
### Describe the bug Dataloader getitem is not working as before (see example of [DreamboothDatasets](https://github.com/huggingface/peft/blob/main/examples/lora_dreambooth/train_dreambooth.py#L451C14-L529)) moving Datasets to 2.8.0 solved the issue. ### Steps to reproduce the bug 1- using DreamBoothDataset ...
true
2023-03-02T11:00:27Z
2023-03-13T17:59:35Z
2023-03-13T17:59:35Z
salahiguiliz
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5600
false
[ "Hi! \r\n\r\n> (see example of DreamboothDatasets)\r\n\r\n\r\nCould you please provide a link to it? If you are referring to the example in the `diffusers` repo, your issue is unrelated to `datasets` as that example uses `Dataset` from PyTorch to load data." ]
1,605,018,478
5,598
Fix push_to_hub with no dataset_infos
closed
As reported in https://github.com/vijaydwivedi75/lrgb/issues/10, `push_to_hub` fails if the remote repository already exists and has a README.md without `dataset_info` in the YAML tags cc @clefourrier
true
2023-03-01T13:54:06Z
2023-03-02T13:47:13Z
2023-03-02T13:40:17Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5598
2023-03-02T13:40:17Z
2
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/5598
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,604,928,721
5,597
in-place dataset update
closed
### Motivation For the circumstance that I creat an empty `Dataset` and keep appending new rows into it, I found that it leads to creating a new dataset at each call. It looks quite memory-consuming. I just wonder if there is any more efficient way to do this. ```python from datasets import Dataset ds = Datas...
true
2023-03-01T12:58:18Z
2023-03-02T13:30:41Z
2023-03-02T03:47:00Z
speedcell4
NONE
null
null
3
0
0
0
null
false
[ "wontfix" ]
https://github.com/huggingface/datasets/issues/5597
false
[ "We won't support in-place modifications since `datasets` is based on the Apache Arrow format which doesn't support in-place modifications.\r\n\r\nIn your case the old dataset is garbage collected pretty quickly so you won't have memory issues.\r\n\r\nNote that datasets loaded from disk (memory mapped) are not load...
1,604,919,993
5,596
[TypeError: Couldn't cast array of type] Can only load a subset of the dataset
closed
### Describe the bug I'm trying to load this [dataset](https://huggingface.co/datasets/bigcode-data/the-stack-gh-issues) which consists of jsonl files and I get the following error: ``` casted_values = _c(array.values, feature[0]) File "/opt/conda/lib/python3.7/site-packages/datasets/table.py", line 1839, in wr...
true
2023-03-01T12:53:08Z
2023-12-05T03:22:00Z
2023-03-02T11:12:11Z
loubnabnl
NONE
null
null
5
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5596
false
[ "Apparently some JSON objects have a `\"labels\"` field. Since this field is not present in every object, you must specify all the fields types in the README.md\r\n\r\nEDIT: actually specifying the feature types doesn’t solve the issue, it raises an error because “labels” is missing in the data", "We've updated t...
1,604,070,629
5,595
Unpins sqlAlchemy
closed
Closes #5477
true
2023-03-01T01:33:45Z
2023-04-04T08:20:19Z
2023-04-04T08:19:14Z
lazarust
NONE
https://github.com/huggingface/datasets/pull/5595
null
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5595
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5595). All of your documentation changes will be reflected on that endpoint.", "It looks like this issue hasn't been fixed yet, so let's wait a bit more.", "@lazarust thanks for your work, but unfortunately we cannot merge it...
1,603,980,995
5,594
Error while downloading the xtreme udpos dataset
closed
### Describe the bug Hi, I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed ```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtreme/udpos.Arabic/1.0.0/29f5d57a48779f37ccb75cb8708d1...
true
2023-02-28T23:40:53Z
2023-11-04T20:45:56Z
2023-07-24T14:22:18Z
simran-khanuja
NONE
null
null
21
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5594
false
[ "Hi! I cannot reproduce this error on my machine.\r\n\r\nThe raised error could mean that one of the downloaded files is corrupted. To verify this is not the case, you can run `load_dataset` as follows:\r\n```python\r\ntrain_dataset = load_dataset('xtreme', 'udpos.English', split=\"train\", cache_dir=args.cache_dir...
1,603,619,124
5,592
Fix docstring example
closed
Fixes #5581 to use the correct output for the `set_format` method.
true
2023-02-28T18:42:37Z
2023-02-28T19:26:33Z
2023-02-28T19:19:15Z
stevhliu
MEMBER
https://github.com/huggingface/datasets/pull/5592
2023-02-28T19:19:15Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5592
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,603,571,407
5,591
set dev version
closed
true
2023-02-28T18:09:05Z
2023-02-28T18:16:31Z
2023-02-28T18:09:15Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5591
2023-02-28T18:09:15Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5591
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5591). All of your documentation changes will be reflected on that endpoint.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchma...
1,603,549,504
5,590
Release: 2.10.1
closed
true
2023-02-28T17:58:11Z
2023-02-28T18:16:27Z
2023-02-28T18:06:08Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5590
2023-02-28T18:06:08Z
5
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5590
true
[ "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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...
1,603,535,704
5,589
Revert "pass the dataset features to the IterableDataset.from_generator"
closed
This reverts commit b91070b9c09673e2e148eec458036ab6a62ac042 (temporarily) It hurts iterable dataset performance a lot (e.g. x4 slower because it encodes+decodes images unnecessarily). I think we need to fix this before re-adding it cc @mariosasko @Hubert-Bonisseur
true
2023-02-28T17:52:04Z
2023-09-24T10:07:33Z
2023-03-21T14:18:18Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5589
null
5
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5589
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,603,304,766
5,588
Flatten dataset on the fly in `save_to_disk`
closed
Flatten a dataset on the fly in `save_to_disk` instead of doing it with `flatten_indices` to avoid creating an additional cache file. (this is one of the sub-tasks in https://github.com/huggingface/datasets/issues/5507)
true
2023-02-28T15:37:46Z
2023-02-28T17:28:35Z
2023-02-28T17:21:17Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5588
2023-02-28T17:21:17Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5588
true
[ "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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...
1,603,139,420
5,587
Fix `sort` with indices mapping
closed
Fixes the `key` range in the `query_table` call in `sort` to account for an indices mapping Fix #5586
true
2023-02-28T14:05:08Z
2023-02-28T17:28:57Z
2023-02-28T17:21:58Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5587
2023-02-28T17:21:58Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5587
true
[ "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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...
1,602,961,544
5,586
.sort() is broken when used after .filter(), only in 2.10.0
closed
### Describe the bug Hi, thank you for your support! It seems like the addition of multiple key sort (#5502) in 2.10.0 broke the `.sort()` method. After filtering a dataset with `.filter()`, the `.sort()` seems to refer to the query_table index of the previous unfiltered dataset, resulting in an IndexError. ...
true
2023-02-28T12:18:09Z
2023-02-28T18:17:26Z
2023-02-28T17:21:59Z
MattYoon
NONE
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/5586
false
[ "Thanks for reporting and thanks @mariosasko for fixing ! We just did a patch release `2.10.1` with the fix" ]
1,602,190,030
5,585
Cache is not transportable
closed
### Describe the bug I would like to share cache between two machines (a Windows host machine and a WSL instance). I run most my code in WSL. I have just run out of space in the virtual drive. Rather than expand the drive size, I plan to move to cache to the host Windows machine, thereby sharing the downloads. I...
true
2023-02-28T00:53:06Z
2023-02-28T21:26:52Z
2023-02-28T21:26:52Z
davidgilbertson
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5585
false
[ "Hi ! No the cache is not transportable in general. It will work on a shared filesystem if you use the same python environment, but not across machines/os/environments.\r\n\r\nIn particular, reloading cached datasets does work, but reloading cached processed datasets (e.g. from `map`) may not work. This is because ...
1,601,821,808
5,584
Unable to load coyo700M dataset
closed
### Describe the bug Seeing this error when downloading https://huggingface.co/datasets/kakaobrain/coyo-700m: ```ArrowInvalid: Parquet magic bytes not found in footer. Either the file is corrupted or this is not a parquet file.``` Full stack trace ```Downloading and preparing dataset parquet/kakaobrain--coy...
true
2023-02-27T19:35:03Z
2023-02-28T07:27:59Z
2023-02-28T07:27:58Z
manuaero
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5584
false
[ "Hi @manuaero \r\n\r\nThank you for your interest in the COYO dataset.\r\n\r\nOur dataset provides the img-url and alt-text in the form of a parquet, so to utilize the coyo dataset you will need to download it directly.\r\n\r\nWe provide a [guide](https://github.com/kakaobrain/coyo-dataset/blob/main/download/README...
1,601,583,625
5,583
Do no write index by default when exporting a dataset
closed
Ensures all the writers that use Pandas for conversion (JSON, CSV, SQL) do not export `index` by default (https://github.com/huggingface/datasets/pull/5490 only did this for CSV)
true
2023-02-27T17:04:46Z
2023-02-28T13:52:15Z
2023-02-28T13:44:04Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5583
2023-02-28T13:44:04Z
3
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/5583
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,600,932,092
5,582
Add column_names to IterableDataset
closed
This PR closes #5383 * Add column_names property to IterableDataset * Add multiple tests for this new property
true
2023-02-27T10:50:07Z
2023-03-13T19:10:22Z
2023-03-13T19:03:32Z
patrickloeber
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5582
2023-03-13T19:03:31Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5582
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<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 | rea...
1,600,675,489
5,581
[DOC] Mistaken docs on set_format
closed
### Describe the bug https://huggingface.co/docs/datasets/v2.10.0/en/package_reference/main_classes#datasets.Dataset.set_format <img width="700" alt="image" src="https://user-images.githubusercontent.com/36224762/221506973-ae2e3991-60a7-4d4e-99f8-965c6eb61e59.png"> While actually running it will result in: <img w...
true
2023-02-27T08:03:09Z
2023-02-28T19:19:17Z
2023-02-28T19:19:17Z
NightMachinery
CONTRIBUTOR
null
null
1
0
0
0
null
false
[ "good first issue" ]
https://github.com/huggingface/datasets/issues/5581
false
[ "Thanks for reporting!" ]
1,600,431,792
5,580
Support cloud storage in load_dataset via fsspec
closed
Closes https://github.com/huggingface/datasets/issues/5281 This PR uses fsspec to support datasets on cloud storage (tested manually with GCS). ETags are currently unsupported for cloud storage. In general, a much larger refactor could be done to just use fsspec for all schemes (ftp, http/s, s3, gcs) to unify the in...
true
2023-02-27T04:06:05Z
2024-11-27T01:25:39Z
2023-03-11T00:55:40Z
dwyatte
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5580
2023-03-11T00:55:40Z
8
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5580
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "> Regarding the tests I think it should be possible to use the mockfs fixture, it allows to play with a dummy fsspec FileSystem with the \"mock://\" protocol.\r\n\r\n> However it requires some storage_options to be passed. Maybe it c...
1,599,732,211
5,579
Add instructions to create `DataLoader` from augmented dataset in object detection guide
closed
The following adds instructions on how to create a `DataLoader` from the guide on how to use object detection with augmentations (#4710). I am open to hearing any suggestions for improvement !
true
2023-02-25T14:53:17Z
2023-03-23T19:24:59Z
2023-03-23T19:24:50Z
Laurent2916
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5579
null
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5579
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5579). All of your documentation changes will be reflected on that endpoint.", "I'm not sure we need this part as we provide a link to the notebook that shows how to train an object detection model, and this notebook instantiat...
1,598,863,119
5,578
Add `huggingface_hub` version to env cli command
closed
Add the `huggingface_hub` version to the `env` command's output.
true
2023-02-24T15:37:43Z
2023-02-27T17:28:25Z
2023-02-27T17:21:09Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5578
2023-02-27T17:21:09Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5578
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,598,587,665
5,577
Cannot load `the_pile_openwebtext2`
closed
### Describe the bug I met the same bug mentioned in #3053 which is never fixed. Because several `reddit_scores` are larger than `int8` even `int16`. https://huggingface.co/datasets/the_pile_openwebtext2/blob/main/the_pile_openwebtext2.py#L62 ### Steps to reproduce the bug ```python3 from datasets import load...
true
2023-02-24T13:01:48Z
2023-02-24T14:01:09Z
2023-02-24T14:01:09Z
wjfwzzc
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5577
false
[ "Hi! I've merged a PR to use `int32` instead of `int8` for `reddit_scores`, so it should work now.\r\n\r\n" ]
1,598,582,744
5,576
I was getting a similar error `pyarrow.lib.ArrowInvalid: Integer value 528 not in range: -128 to 127` - AFAICT, this is because the type specified for `reddit_scores` is `datasets.Sequence(datasets.Value("int8"))`, but the actual values can be well outside the max range for 8-bit integers.
closed
I was getting a similar error `pyarrow.lib.ArrowInvalid: Integer value 528 not in range: -128 to 127` - AFAICT, this is because the type specified for `reddit_scores` is `datasets.Sequence(datasets.Value("int8"))`, but the actual values can be well outside the max range for 8-bit integers. I worked around this by do...
true
2023-02-24T12:57:49Z
2023-02-24T12:58:31Z
2023-02-24T12:58:18Z
wjfwzzc
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5576
false
[ "Duplicated issue." ]
1,598,396,552
5,575
Metadata for each column
open
### Feature request Being able to put some metadata for each column as a string or any other type. ### Motivation I will bring the motivation by an example, lets say we are experimenting with embedding produced by some image encoder network, and we want to iterate through a couple of preprocessing and see which on...
true
2023-02-24T10:53:44Z
2024-01-05T21:48:35Z
null
parsa-ra
NONE
null
null
5
11
11
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5575
false
[ "Hi! Indeed it would be useful to support this. PyArrow natively supports schema-level and column-level metadata, so implementing this should be straightforward. The API I have in mind would work as follows:\r\n```python\r\ncol_feature = Value(\"string\", metadata=\"Some column-level metadata\")\r\n\r\nfeatures = F...
1,598,104,691
5,574
c4 dataset streaming fails with `FileNotFoundError`
closed
### Describe the bug Loading the `c4` dataset in streaming mode with `load_dataset("c4", "en", split="validation", streaming=True)` and then using it fails with a `FileNotFoundException`. ### Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("c4", "en", split="train", ...
true
2023-02-24T07:57:32Z
2023-12-18T07:32:32Z
2023-02-27T04:03:38Z
krasserm
NONE
null
null
12
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5574
false
[ "Also encountering this issue for every dataset I try to stream! Installed datasets from main:\r\n```\r\n- `datasets` version: 2.10.1.dev0\r\n- Platform: macOS-13.1-arm64-arm-64bit\r\n- Python version: 3.9.13\r\n- PyArrow version: 10.0.1\r\n- Pandas version: 1.5.2\r\n```\r\n\r\nRepro:\r\n```python\r\nfrom datasets ...
1,597,400,836
5,573
Use soundfile for mp3 decoding instead of torchaudio
closed
I've removed `torchaudio` completely and switched to use `soundfile` for everything. With the new version of `soundfile` package this should work smoothly because the `libsndfile` C library is bundled, in Linux wheels too. Let me know if you think it's too harsh and we should continue to support `torchaudio` decodi...
true
2023-02-23T19:19:44Z
2023-02-28T20:25:14Z
2023-02-28T20:16:02Z
polinaeterna
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5573
2023-02-28T20:16:02Z
7
3
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5573
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "@mariosasko thank you for the review! do you have any idea why `test_hash_torch_tensor` fails on \"ubuntu-latest deps-minimum\"? I removed the `torchaudio<0.12.0` test dependency so it uses the latest `torch` now, might it be connect...
1,597,257,624
5,572
Datasets 2.10.0 does not reuse the dataset cache
closed
### Describe the bug download_mode="reuse_dataset_if_exists" will always consider that a dataset doesn't exist. Specifically, upon losing an internet connection trying to load a dataset for a second time in ten seconds, a connection error results, showing a breakpoint of: ``` File ~/jupyterlab/.direnv/python-...
true
2023-02-23T17:28:11Z
2023-02-23T18:03:55Z
2023-02-23T18:03:55Z
lsb
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5572
false
[]
1,597,198,953
5,571
load_dataset fails for JSON in windows
closed
### Describe the bug Steps: 1. Created a dataset in a Linux VM and created a small sample using dataset.to_json() method. 2. Downloaded the JSON file to my local Windows machine for working and saved in say - r"C:\Users\name\file.json" 3. I am reading the file in my local PyCharm - the location of python file is di...
true
2023-02-23T16:50:11Z
2023-02-24T13:21:47Z
2023-02-24T13:21:47Z
abinashsahu
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5571
false
[ "Hi! \r\n\r\nYou need to pass an input json file explicitly as `data_files` to `load_dataset` to avoid this error:\r\n```python\r\n ds = load_dataset(\"json\", data_files=args.input_json)\r\n```\r\n\r\n", "Thanks it worked!" ]
1,597,190,926
5,570
load_dataset gives FileNotFoundError on imagenet-1k if license is not accepted on the hub
closed
### Describe the bug When calling ```load_dataset('imagenet-1k')``` FileNotFoundError is raised, if not logged in and if logged in with huggingface-cli but not having accepted the licence on the hub. There is no error once accepting. ### Steps to reproduce the bug ``` from datasets import load_dataset imagenet =...
true
2023-02-23T16:44:32Z
2023-07-24T15:18:50Z
2023-07-24T15:18:50Z
buoi
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5570
false
[ "Hi, thanks for the feedback! Would it help to add a tip or note saying the dataset is gated and you need to accept the license before downloading it?", "The error is now more informative:\r\n```\r\nFileNotFoundError: Couldn't find a dataset script at /content/imagenet-1k/imagenet-1k.py or any data file in the sa...
1,597,132,383
5,569
pass the dataset features to the IterableDataset.from_generator function
closed
[5558](https://github.com/huggingface/datasets/issues/5568)
true
2023-02-23T16:06:04Z
2023-02-24T14:06:37Z
2023-02-23T18:15:16Z
bruno-hays
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5569
2023-02-23T18:15:16Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5569
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...