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,043,847,591
6,503
Fix streaming xnli
closed
This code was failing ```python In [1]: from datasets import load_dataset In [2]: ...: ds = load_dataset("xnli", "all_languages", split="test", streaming=True) ...: ...: sample_data = next(iter(ds))["premise"] # pick up one data ...: input_text = list(sample_data.valu...
true
2023-12-15T14:40:57Z
2023-12-15T14:51:06Z
2023-12-15T14:44:47Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/6503
2023-12-15T14:44:46Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6503
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6503). 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,043,771,731
6,502
Pickle support for `torch.Generator` objects
closed
Fix for https://discuss.huggingface.co/t/caching-a-dataset-processed-with-randomness/65616
true
2023-12-15T13:55:12Z
2023-12-15T15:04:33Z
2023-12-15T14:58:22Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/6502
2023-12-15T14:58:22Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6502
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6502). 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,043,377,240
6,501
OverflowError: value too large to convert to int32_t
open
### Describe the bug ![image](https://github.com/huggingface/datasets/assets/47747764/f58044fb-ddda-48b6-ba68-7bbfef781630) ### Steps to reproduce the bug just loading datasets ### Expected behavior how can I fix it ### Environment info pip install /mnt/cluster/zhangfan/study_info/LLaMA-Factory/peft-0.6.0-py3...
true
2023-12-15T10:10:21Z
2023-12-15T10:10:21Z
null
zhangfan-algo
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6501
false
[]
2,043,258,633
6,500
Enable setting config as default when push_to_hub
closed
Fix #6497.
true
2023-12-15T09:17:41Z
2023-12-18T11:56:11Z
2023-12-18T11:50:03Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/6500
2023-12-18T11:50:03Z
8
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/6500
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6500). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "This is ready for review @huggingface/datasets. ", "Also what if the config is being ...
2,043,166,976
6,499
docs: add reference Git over SSH
closed
see https://discuss.huggingface.co/t/update-datasets-getting-started-to-new-git-security/65893
true
2023-12-15T08:38:31Z
2023-12-15T11:48:47Z
2023-12-15T11:42:38Z
severo
COLLABORATOR
https://github.com/huggingface/datasets/pull/6499
2023-12-15T11:42:38Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6499
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6499). 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,042,075,969
6,498
Fallback on dataset script if user wants to load default config
closed
Right now this code is failing on `main`: ```python load_dataset("openbookqa") ``` This is because it tries to load the dataset from the Parquet export but the dataset has multiple configurations and the Parquet export doesn't know which one is the default one. I fixed this by simply falling back on using th...
true
2023-12-14T16:46:01Z
2023-12-15T13:16:56Z
2023-12-15T13:10:48Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/6498
2023-12-15T13:10:48Z
8
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6498
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6498). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "> I was just thinking: what if the user does not pass a config name and the dataset has...
2,041,994,274
6,497
Support setting a default config name in push_to_hub
closed
In order to convert script-datasets to no-script datasets, we need to support setting a default config name for those scripts that set one.
true
2023-12-14T15:59:03Z
2023-12-18T11:50:04Z
2023-12-18T11:50:04Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/6497
false
[]
2,041,589,386
6,496
Error when writing a dataset to HF Hub: A commit has happened since. Please refresh and try again.
open
**Describe the bug** Getting a `412 Client Error: Precondition Failed` when trying to write a dataset to the HF hub. ``` huggingface_hub.utils._errors.HfHubHTTPError: 412 Client Error: Precondition Failed for url: https://huggingface.co/api/datasets/GLorr/test-dask/commit/main (Request ID: Root=1-657ae26f-3bd92b...
true
2023-12-14T11:24:54Z
2023-12-14T12:22:21Z
null
GeorgesLorre
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6496
false
[ "I transferred from datasets-server, since the issue is more about `datasets` and the integration with `huggingface_hub`." ]
2,039,684,839
6,494
Image Data loaded Twice
open
### Describe the bug ![1702472610561](https://github.com/huggingface/datasets/assets/28867010/4b7ef5e7-32c3-4b73-84cb-5de059caa0b6) When I learn from https://huggingface.co/docs/datasets/image_load and try to load image data from a folder. I noticed that the image was read twice in the returned data. As you can see i...
true
2023-12-13T13:11:42Z
2023-12-13T13:11:42Z
null
ArcaneLex
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6494
false
[]
2,039,708,529
6,495
Newline characters don't behave as expected when calling dataset.info
open
### System Info - `transformers` version: 4.32.1 - Platform: Windows-10-10.0.19045-SP0 - Python version: 3.11.5 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.2 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 2.1.1+cpu (False) - Tensorflow version (GPU...
true
2023-12-12T23:07:51Z
2023-12-13T13:24:22Z
null
gerald-wrona
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6495
false
[]
2,038,221,490
6,493
Lazy data files resolution and offline cache reload
closed
Includes both https://github.com/huggingface/datasets/pull/6458 and https://github.com/huggingface/datasets/pull/6459 This PR should be merged instead of the two individually, since they are conflicting ## Offline cache reload it can reload datasets that were pushed to hub if they exist in the cache. examp...
true
2023-12-12T17:15:17Z
2023-12-21T15:19:20Z
2023-12-21T15:13:11Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/6493
2023-12-21T15:13:11Z
8
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6493
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6493). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "> Naive question: is there any breaking change when loading?\r\n\r\nNo breaking changes...
2,037,987,267
6,492
Make push_to_hub return CommitInfo
closed
Make `push_to_hub` return `CommitInfo`. This is useful, for example, if we pass `create_pr=True` and we want to know the created PR ID. CC: @severo for the use case in https://huggingface.co/datasets/jmhessel/newyorker_caption_contest/discussions/4
true
2023-12-12T15:18:16Z
2023-12-13T14:29:01Z
2023-12-13T14:22:41Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/6492
2023-12-13T14:22:41Z
3
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/6492
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6492). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "This PR is ready to review @huggingface/datasets.", "<details>\n<summary>Show benchma...
2,037,690,643
6,491
Fix metrics dead link
closed
true
2023-12-12T12:51:49Z
2023-12-21T15:15:08Z
2023-12-21T15:08:53Z
qgallouedec
MEMBER
https://github.com/huggingface/datasets/pull/6491
2023-12-21T15:08:53Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6491
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6491). 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,037,204,892
6,490
`load_dataset(...,save_infos=True)` not working without loading script
open
### Describe the bug It seems that saving a dataset infos back into the card file is not working for datasets without a loading script. After tracking the problem a bit it looks like saving the infos uses `Builder.get_imported_module_dir()` as its destination directory. Internally this is a call to `inspect.getfil...
true
2023-12-12T08:09:18Z
2023-12-12T08:36:22Z
null
morganveyret
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6490
false
[ "Also, once the README.md exists in the python environment it is used when loading another dataset in the same format (e.g. json) since it always resolves the path to the same directory.\r\nThe consequence here is any other dataset won't load because of infos mismatch.\r\nTo reproduce this aspect:\r\n1. Do a `load_...
2,036,743,777
6,489
load_dataset imageflder for aws s3 path
open
### Feature request I would like to load a dataset from S3 using the imagefolder option something like `dataset = datasets.load_dataset('imagefolder', data_dir='s3://.../lsun/train/bedroom', fs=S3FileSystem(), streaming=True) ` ### Motivation no need of data_files ### Your contribution no experience...
true
2023-12-12T00:08:43Z
2023-12-12T00:09:27Z
null
segalinc
NONE
null
null
0
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/6489
false
[]
2,035,899,898
6,488
429 Client Error
open
Hello, I was downloading the following dataset and after 20% of data was downloaded, I started getting error 429. It is not resolved since a few days. How should I resolve it? Thanks Dataset: https://huggingface.co/datasets/cerebras/SlimPajama-627B Error: `requests.exceptions.HTTPError: 429 Client Error: Too M...
true
2023-12-11T15:06:01Z
2024-06-20T05:55:45Z
null
sasaadi
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6488
false
[ "Transferring repos as this is a datasets issue ", "I'm getting a similar issue even though I've already downloaded the dataset 😅 \r\n\r\n```\r\nhuggingface_hub.utils._errors.HfHubHTTPError: 429 Client Error: Too Many Requests for url: https://huggingface.co/api/datasets/HuggingFaceM4/WebSight\r\n```" ]
2,035,424,254
6,487
Update builder hash with info
closed
Currently if you change the `dataset_info` of a dataset (e.g. in the YAML part of the README.md), the cache ignores this change. This is problematic because you want to regenerate a dataset if you change the features or the split sizes for example (e.g. after push_to_hub) Ideally we should take the resolved files...
true
2023-12-11T11:09:16Z
2024-01-11T06:35:07Z
2023-12-11T11:41:34Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/6487
null
2
0
0
0
true
false
[]
https://github.com/huggingface/datasets/pull/6487
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6487). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Closing this one in favor of https://github.com/huggingface/datasets/pull/6458/commits/...
2,035,206,206
6,486
Fix docs phrasing about supported formats when sharing a dataset
closed
Fix docs phrasing.
true
2023-12-11T09:21:22Z
2023-12-13T14:21:29Z
2023-12-13T14:15:21Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/6486
2023-12-13T14:15:21Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6486
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6486). 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,035,141,884
6,485
FileNotFoundError: [Errno 2] No such file or directory: 'nul'
closed
### Describe the bug it seems that sth wrong with my terrible "bug body" life, When i run this code, "import datasets" i meet this error FileNotFoundError: [Errno 2] No such file or directory: 'nul' ![image](https://github.com/huggingface/datasets/assets/73683903/3973c120-ebb1-42b7-bede-b9de053e861d) ![image](htt...
true
2023-12-11T08:52:13Z
2023-12-14T08:09:08Z
2023-12-14T08:09:08Z
amanyara
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6485
false
[ "Hi! It seems like the problem is your environment. Maybe this issue can help: https://github.com/pytest-dev/pytest/issues/9519. " ]
2,032,946,981
6,483
Iterable Dataset: rename column clashes with remove column
closed
### Describe the bug Suppose I have a two iterable datasets, one with the features: * `{"audio", "text", "column_a"}` And the other with the features: * `{"audio", "sentence", "column_b"}` I want to combine both datasets using `interleave_datasets`, which requires me to unify the column names. I would typic...
true
2023-12-08T16:11:30Z
2023-12-08T16:27:16Z
2023-12-08T16:27:04Z
sanchit-gandhi
CONTRIBUTOR
null
null
4
0
0
0
null
false
[ "streaming" ]
https://github.com/huggingface/datasets/issues/6483
false
[ "Column \"text\" doesn't exist anymore so you can't remove it", "You can get the expected result by fixing typos in the snippet :)\r\n```python\r\nfrom datasets import load_dataset\r\n\r\n# load LS in streaming mode\r\ndataset = load_dataset(\"librispeech_asr\", \"clean\", split=\"validation\", streaming=True)\r\...
2,033,333,294
6,484
[Feature Request] Dataset versioning
open
**Is your feature request related to a problem? Please describe.** I am working on a project, where I would like to test different preprocessing methods for my ML-data. Thus, I would like to work a lot with revisions and compare them. Currently, I was not able to make it work with the revision keyword because it was n...
true
2023-12-08T16:01:35Z
2023-12-11T19:13:46Z
null
kenfus
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6484
false
[ "Hello @kenfus, this is meant to be possible to do yes. Let me ping @lhoestq or @mariosasko from the `datasets` team (`huggingface_hub` is only the underlying library to download files from the Hub but here it looks more like a `datasets` problem). ", "Hi! https://github.com/huggingface/datasets/pull/6459 will fi...
2,032,675,918
6,482
Fix max lock length on unix
closed
reported in https://github.com/huggingface/datasets/pull/6482
true
2023-12-08T13:39:30Z
2023-12-12T11:53:32Z
2023-12-12T11:47:27Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/6482
2023-12-12T11:47:27Z
3
2
2
0
false
false
[]
https://github.com/huggingface/datasets/pull/6482
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6482). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "I'm getting `AttributeError: module 'os' has no attribute 'statvfs'` on windows - rever...
2,032,650,003
6,481
using torchrun, save_to_disk suddenly shows SIGTERM
open
### Describe the bug When I run my code using the "torchrun" command, when the code reaches the "save_to_disk" part, suddenly I get the following warning and error messages: Because the dataset is too large, the "save_to_disk" function splits it into 70 parts for saving. However, an error occurs suddenly when it reac...
true
2023-12-08T13:22:03Z
2023-12-08T13:22:03Z
null
Ariya12138
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6481
false
[]
2,031,116,653
6,480
Add IterableDataset `__repr__`
closed
Example for glue sst2: Dataset ``` DatasetDict({ test: Dataset({ features: ['sentence', 'label', 'idx'], num_rows: 1821 }) train: Dataset({ features: ['sentence', 'label', 'idx'], num_rows: 67349 }) validation: Dataset({ features: ['sentence',...
true
2023-12-07T16:31:50Z
2023-12-08T13:33:06Z
2023-12-08T13:26:54Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/6480
2023-12-08T13:26:54Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6480
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6480). 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,029,040,121
6,479
More robust preupload retry mechanism
closed
true
2023-12-06T17:19:38Z
2023-12-06T19:47:29Z
2023-12-06T19:41:06Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/6479
2023-12-06T19:41:06Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6479
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6479). 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,028,071,596
6,478
How to load data from lakefs
closed
My dataset is stored on the company's lakefs server. How can I write code to load the dataset? It would be great if I could provide code examples or provide some references
true
2023-12-06T09:04:11Z
2024-07-03T19:13:57Z
2024-07-03T19:13:56Z
d710055071
CONTRIBUTOR
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6478
false
[ "You can create a `pandas` DataFrame following [this](https://lakefs.io/data-version-control/dvc-using-python/) tutorial, and then convert this DataFrame to a `Dataset` with `datasets.Dataset.from_pandas`. For larger datasets (to memory map them), you can use `Dataset.from_generator` with a generator function that ...
2,028,022,374
6,477
Fix PermissionError on Windows CI
closed
Fix #6476.
true
2023-12-06T08:34:53Z
2023-12-06T09:24:11Z
2023-12-06T09:17:52Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/6477
2023-12-06T09:17:52Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6477
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6477). 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,028,018,596
6,476
CI on windows is broken: PermissionError
closed
See: https://github.com/huggingface/datasets/actions/runs/7104781624/job/19340572394 ``` FAILED tests/test_load.py::test_loading_from_the_datasets_hub - NotADirectoryError: [WinError 267] The directory name is invalid: 'C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpfcnps56i\\hf-internal-testing___dataset_with_script\...
true
2023-12-06T08:32:53Z
2023-12-06T09:17:53Z
2023-12-06T09:17:53Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/6476
false
[]
2,027,373,734
6,475
laion2B-en failed to load on Windows with PrefetchVirtualMemory failed
open
### Describe the bug I have downloaded laion2B-en, and I'm receiving the following error trying to load it: ``` Resolving data files: 100%|██████████| 128/128 [00:00<00:00, 1173.79it/s] Traceback (most recent call last): File "D:\Art-Workspace\src\artworkspace\tokeneval\compute_frequencies.py", line 31, in <mo...
true
2023-12-06T00:07:34Z
2023-12-06T23:26:23Z
null
doctorpangloss
NONE
null
null
6
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6475
false
[ "~~You will see this error if the cache dir filepath contains relative `..` paths. Use `os.path.realpath(_CACHE_DIR)` before passing it to the `load_dataset` function.~~", "This is a real issue and not related to paths.", "Based on the StackOverflow answer, this causes the error to go away:\r\n```diff\r\ndiff -...
2,027,006,715
6,474
Deprecate Beam API and download from HF GCS bucket
closed
Deprecate the Beam API and download from the HF GCS bucked. TODO: - [x] Convert the Beam-based [`wikipedia`](https://huggingface.co/datasets/wikipedia) to an Arrow-based dataset ([Hub PR](https://huggingface.co/datasets/wikipedia/discussions/19)) - [x] Make [`natural_questions`](https://huggingface.co/datasets/na...
true
2023-12-05T19:51:33Z
2024-03-12T14:56:25Z
2024-03-12T14:50:12Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/6474
2024-03-12T14:50:12Z
2
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/6474
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6474). 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,026,495,084
6,473
Fix CI quality
closed
Fix #6472.
true
2023-12-05T15:36:23Z
2023-12-05T18:14:50Z
2023-12-05T18:08:41Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/6473
2023-12-05T18:08:41Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6473
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6473). All of your documentation changes will be reflected on that endpoint.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchma...
2,026,493,439
6,472
CI quality is broken
closed
See: https://github.com/huggingface/datasets/actions/runs/7100835633/job/19327734359 ``` Would reformat: src/datasets/features/image.py 1 file would be reformatted, 253 files left unchanged ```
true
2023-12-05T15:35:34Z
2023-12-06T08:17:34Z
2023-12-05T18:08:43Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "bug", "maintenance" ]
https://github.com/huggingface/datasets/issues/6472
false
[]
2,026,100,761
6,471
Remove delete doc CI
closed
true
2023-12-05T12:37:50Z
2023-12-05T12:44:59Z
2023-12-05T12:38:50Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/6471
2023-12-05T12:38:50Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6471
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6471). All of your documentation changes will be reflected on that endpoint.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchma...
2,024,724,319
6,470
If an image in a dataset is corrupted, we get unescapable error
open
### Describe the bug Example discussed in detail here: https://huggingface.co/datasets/sasha/birdsnap/discussions/1 ### Steps to reproduce the bug ``` from datasets import load_dataset, VerificationMode dataset = load_dataset( 'sasha/birdsnap', split="train", verification_mode=VerificationMode.ALL_C...
true
2023-12-04T20:58:49Z
2023-12-04T20:58:49Z
null
chigozienri
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6470
false
[]
2,023,695,839
6,469
Don't expand_info in HF glob
closed
Finally fix https://github.com/huggingface/datasets/issues/5537
true
2023-12-04T12:00:37Z
2023-12-15T13:18:37Z
2023-12-15T13:12:30Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/6469
2023-12-15T13:12:30Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6469
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6469). All of your documentation changes will be reflected on that endpoint.", "Merging this one for now, but lmk if you had other optimizations in mind for the next version of `huggingface_hub`", "<details>\n<summary>Show be...
2,023,617,877
6,468
Use auth to get parquet export
closed
added `token` to the `_datasets_server` functions
true
2023-12-04T11:18:27Z
2023-12-04T17:21:22Z
2023-12-04T17:15:11Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/6468
2023-12-04T17:15:11Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6468
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6468). All of your documentation changes will be reflected on that endpoint.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchma...
2,023,174,233
6,467
New version release request
closed
### Feature request Hi! I am using `datasets` in library `xtuner` and am highly interested in the features introduced since v2.15.0. To avoid installation from source in our pypi wheels, we are eagerly waiting for the new release. So, Does your team have a new release plan for v2.15.1 and could you please share ...
true
2023-12-04T07:08:26Z
2023-12-04T15:42:22Z
2023-12-04T15:42:22Z
LZHgrla
CONTRIBUTOR
null
null
2
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/6467
false
[ "We will publish it soon (we usually do it in intervals of 1-2 months, so probably next week)", "Thanks!" ]
2,022,601,176
6,466
Can't align optional features of struct
closed
### Describe the bug Hello! I'm currently experiencing an issue where I can't concatenate datasets if an inner field of a Feature is Optional. I have a column named `speaker`, and this holds some information about a speaker. ```python @dataclass class Speaker: name: str email: Optional[str] ``` ...
true
2023-12-03T15:57:07Z
2024-02-15T15:19:33Z
2024-02-08T14:38:34Z
Dref360
CONTRIBUTOR
null
null
3
1
1
0
null
false
[]
https://github.com/huggingface/datasets/issues/6466
false
[ "Friendly bump, I would be happy to work on this issue once I get the go-ahead from the dev team. ", "Thanks for the PR!\r\n\r\nI'm struggling with this as well and would love to see this PR merged. My case is slightly different, with keys completely missing rather than being `None`:\r\n\r\n```\r\nds = Dataset.fr...
2,022,212,468
6,465
`load_dataset` uses out-of-date cache instead of re-downloading a changed dataset
open
### Describe the bug When a dataset is updated on the hub, using `load_dataset` will load the locally cached dataset instead of re-downloading the updated dataset ### Steps to reproduce the bug Here is a minimal example script to 1. create an initial dataset and upload 2. download it so it is stored in cache 3. c...
true
2023-12-02T21:35:17Z
2024-08-20T08:32:11Z
null
mnoukhov
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6465
false
[ "Hi, thanks for reporting! https://github.com/huggingface/datasets/pull/6459 will fix this.", "I meet a similar problem as using loading scripts. I have to set download_mode='force_redownload' to load the latest script." ]
2,020,860,462
6,464
Add concurrent loading of shards to datasets.load_from_disk
closed
In some file systems (like luster), memory mapping arrow files takes time. This can be accelerated by performing the mmap in parallel on processes or threads. - Threads seem to be faster than processes when gathering the list of tables from the workers (see https://github.com/huggingface/datasets/issues/2252). - I'...
true
2023-12-01T13:13:53Z
2024-01-26T15:17:43Z
2024-01-26T15:10:26Z
kkoutini
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/6464
2024-01-26T15:10:26Z
8
2
2
0
false
false
[]
https://github.com/huggingface/datasets/pull/6464
true
[ "If we use multithreading no need to ask for `num_proc`. And maybe we the same numbers of threads as tqdm by default (IIRC it's `max(32, cpu_count() + 4)`) - you can even use `tqdm.contrib.concurrent.thread_map` directly to simplify the code\r\n\r\nAlso you can ignore the `IN_MEMORY_MAX_SIZE` config for this. This ...
2,020,702,967
6,463
Disable benchmarks in PRs
closed
In order to keep PR pages less spammy / more readable. Having the benchmarks on commits on `main` is enough imo
true
2023-12-01T11:35:30Z
2023-12-01T12:09:09Z
2023-12-01T12:03:04Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/6463
2023-12-01T12:03:04Z
2
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/6463
true
[ "It's a way to detect regressions in performance sensitive methods like map, and find the commit that lead to the regression", "<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_bat...
2,019,238,388
6,462
Missing DatasetNotFoundError
closed
continuation of https://github.com/huggingface/datasets/pull/6431 this should fix the CI in https://github.com/huggingface/datasets/pull/6458 too
true
2023-11-30T18:09:43Z
2023-11-30T18:36:40Z
2023-11-30T18:30:30Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/6462
2023-11-30T18:30:30Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6462
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,018,850,731
6,461
Fix shard retry mechanism in `push_to_hub`
closed
When it fails, `preupload_lfs_files` throws a [`RuntimeError`](https://github.com/huggingface/huggingface_hub/blob/5eefebee2c150a2df950ab710db350e96c711433/src/huggingface_hub/_commit_api.py#L402) error and chains the original HTTP error. This PR modifies the retry mechanism's error handling to account for that. Fix...
true
2023-11-30T14:57:14Z
2023-12-01T17:57:39Z
2023-12-01T17:51:33Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/6461
2023-12-01T17:51:33Z
5
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6461
true
[ "@Wauplin Maybe `504` should be added to the `retry_on_status_codes` tuple [here](https://github.com/huggingface/huggingface_hub/blob/5eefebee2c150a2df950ab710db350e96c711433/src/huggingface_hub/lfs.py#L300) to guard against https://github.com/huggingface/datasets/issues/3872", "We could but I'm not sure to have ...
2,017,433,899
6,460
jsonlines files don't load with `load_dataset`
closed
### Describe the bug While [the docs](https://huggingface.co/docs/datasets/upload_dataset#upload-dataset) seem to state that `.jsonl` is a supported extension for `datasets`, loading the dataset results in a `JSONDecodeError`. ### Steps to reproduce the bug Code: ``` from datasets import load_dataset dset = load_...
true
2023-11-29T21:20:11Z
2023-12-29T02:58:29Z
2023-12-05T13:30:53Z
serenalotreck
NONE
null
null
4
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6460
false
[ "Hi @serenalotreck,\r\n\r\nWe use Apache Arrow `pyarrow` to read jsonlines and it throws an error when trying to load your data files:\r\n```python\r\nIn [1]: import pyarrow as pa\r\n\r\nIn [2]: data = pa.json.read_json(\"train.jsonl\")\r\n---------------------------------------------------------------------------\...
2,017,029,380
6,459
Retrieve cached datasets that were pushed to hub when offline
closed
I drafted the logic to retrieve a no-script dataset in the cache. For example it can reload datasets that were pushed to hub if they exist in the cache. example: ```python >>> Dataset.from_dict({"a": [1, 2]}).push_to_hub("lhoestq/tmp") >>> load_dataset("lhoestq/tmp") DatasetDict({ train: Dataset({ ...
true
2023-11-29T16:56:15Z
2024-03-25T13:55:42Z
2024-03-25T13:55:42Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/6459
null
3
0
0
0
true
false
[]
https://github.com/huggingface/datasets/pull/6459
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,016,577,761
6,458
Lazy data files resolution
closed
Related to discussion at https://github.com/huggingface/datasets/pull/6255 this makes this code run in 2sec instead of >10sec ```python from datasets import load_dataset ds = load_dataset("glue", "sst2", streaming=True, trust_remote_code=False) ``` For some datasets with many configs and files it can be u...
true
2023-11-29T13:18:44Z
2024-02-08T14:41:35Z
2024-02-08T14:41:35Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/6458
null
20
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/6458
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,015,650,563
6,457
`TypeError`: huggingface_hub.hf_file_system.HfFileSystem.find() got multiple values for keyword argument 'maxdepth'
closed
### Describe the bug Please see https://github.com/huggingface/huggingface_hub/issues/1872 ### Steps to reproduce the bug Please see https://github.com/huggingface/huggingface_hub/issues/1872 ### Expected behavior Please see https://github.com/huggingface/huggingface_hub/issues/1872 ### Environment info Please s...
true
2023-11-29T01:57:36Z
2023-11-29T15:39:03Z
2023-11-29T02:02:38Z
wasertech
NONE
null
null
5
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6457
false
[ "Updating `fsspec>=2023.10.0` did solve the issue.", "May be it should be pinned somewhere?", "> Maybe this should go in datasets directly... anyways you can easily fix this error by updating datasets>=2.15.1.dev0.\r\n\r\n@lhoestq @mariosasko for what I understand this is a bug fixed in `datasets` already, righ...
2,015,186,090
6,456
Don't require trust_remote_code in inspect_dataset
closed
don't require `trust_remote_code` in (deprecated) `inspect_dataset` (it defeats its purpose) (not super important but we might as well keep it until the next major release) this is needed to fix the tests in https://github.com/huggingface/datasets/pull/6448
true
2023-11-28T19:47:07Z
2023-11-30T10:40:23Z
2023-11-30T10:34:12Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/6456
2023-11-30T10:34:12Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6456
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...
2,013,001,584
6,454
Refactor `dill` logic
closed
Refactor the `dill` logic to make it easier to maintain (and fix some issues along the way) It makes the following improvements to the serialization API: * consistent order of a `dict`'s keys * support for hashing `torch.compile`-ed modules and functions * deprecates `datasets.fingerprint.hashregister` as the `ha...
true
2023-11-27T20:01:25Z
2023-11-28T16:29:58Z
2023-11-28T16:29:31Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/6454
2023-11-28T16:29:31Z
5
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6454
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,011,907,787
6,453
Update hub-docs reference
closed
Follow up to huggingface/huggingface.js#296
true
2023-11-27T09:57:20Z
2023-11-27T10:23:44Z
2023-11-27T10:17:34Z
mishig25
NONE
https://github.com/huggingface/datasets/pull/6453
2023-11-27T10:17:34Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6453
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...
2,011,632,708
6,452
Praveen_repo_pull_req
closed
true
2023-11-27T07:07:50Z
2023-11-27T09:28:00Z
2023-11-27T09:28:00Z
Praveenhh
NONE
https://github.com/huggingface/datasets/pull/6452
null
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6452
true
[]
2,010,693,912
6,451
Unable to read "marsyas/gtzan" data
closed
Hi, this is my code and the error: ``` from datasets import load_dataset gtzan = load_dataset("marsyas/gtzan", "all") ``` [error_trace.txt](https://github.com/huggingface/datasets/files/13464397/error_trace.txt) [audio_yml.txt](https://github.com/huggingface/datasets/files/13464410/audio_yml.txt) Python 3.11.5 ...
true
2023-11-25T15:13:17Z
2023-12-01T12:53:46Z
2023-11-27T09:36:25Z
gerald-wrona
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6451
false
[ "Hi! We've merged a [PR](https://huggingface.co/datasets/marsyas/gtzan/discussions/1) that fixes the script's path logic on Windows.", "I have transferred the discussion to the corresponding dataset: https://huggingface.co/datasets/marsyas/gtzan/discussions/2\r\n\r\nLet's continue there.", "@mariosasko @albertv...
2,009,491,386
6,450
Support multiple image/audio columns in ImageFolder/AudioFolder
closed
### Feature request Have a metadata.csv file with multiple columns that point to relative image or audio files. ### Motivation Currently, ImageFolder allows one column, called `file_name`, pointing to relative image files. On the same model, AudioFolder allows one column, called `file_name`, pointing to relative aud...
true
2023-11-24T10:34:09Z
2023-11-28T11:07:17Z
2023-11-24T17:24:38Z
severo
COLLABORATOR
null
null
1
0
0
0
null
false
[ "duplicate", "enhancement" ]
https://github.com/huggingface/datasets/issues/6450
false
[ "A duplicate of https://github.com/huggingface/datasets/issues/5760" ]
2,008,617,992
6,449
Fix metadata file resolution when inferred pattern is `**`
closed
Refetch metadata files in case they were dropped by `filter_extensions` in the previous step. Fix #6442
true
2023-11-23T17:35:02Z
2023-11-27T10:02:56Z
2023-11-24T17:13:02Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/6449
2023-11-24T17:13:02Z
6
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6449
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,008,614,985
6,448
Use parquet export if possible
closed
The idea is to make this code work for datasets with scripts if they have a Parquet export ```python ds = load_dataset("squad", trust_remote_code=False) ``` And more generally, it means we use the Parquet export whenever it's possible (it's safer and faster than dataset scripts). I also added a `config.USE_P...
true
2023-11-23T17:31:57Z
2023-12-01T17:57:17Z
2023-12-01T17:50:59Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/6448
2023-12-01T17:50:59Z
24
2
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6448
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,008,195,298
6,447
Support one dataset loader per config when using YAML
open
### Feature request See https://huggingface.co/datasets/datasets-examples/doc-unsupported-1 I would like to use CSV loader for the "csv" config, JSONL loader for the "jsonl" config, etc. ### Motivation It would be more flexible for the users ### Your contribution No specific contribution
true
2023-11-23T13:03:07Z
2023-11-23T13:03:07Z
null
severo
COLLABORATOR
null
null
0
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/6447
false
[]
2,007,092,708
6,446
Speech Commands v2 dataset doesn't match AST-v2 config
closed
### Describe the bug [According](https://huggingface.co/MIT/ast-finetuned-speech-commands-v2) to `MIT/ast-finetuned-speech-commands-v2`, the model was trained on the Speech Commands v2 dataset. However, while the model config says the model should have 35 class labels, the dataset itself has 36 class labels. Moreover,...
true
2023-11-22T20:46:36Z
2023-11-28T14:46:08Z
2023-11-28T14:46:08Z
vymao
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6446
false
[ "You can use `.align_labels_with_mapping` on the dataset to align the labels with the model config.\r\n\r\nRegarding the number of labels, only the special `_silence_` label corresponding to noise is missing, which is consistent with the model paper (reports training on 35 labels). You can run a `.filter` to drop ...
2,006,958,595
6,445
Use `filelock` package for file locking
closed
Use the `filelock` package instead of `datasets.utils.filelock` for file locking to be consistent with `huggingface_hub` and not to be responsible for improving the `filelock` capabilities 🙂. (Reverts https://github.com/huggingface/datasets/pull/859, but these `INFO` logs are not printed by default (anymore?), so ...
true
2023-11-22T19:04:45Z
2023-11-23T18:47:30Z
2023-11-23T18:41:23Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/6445
2023-11-23T18:41:22Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6445
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,006,842,179
6,444
Remove `Table.__getstate__` and `Table.__setstate__`
closed
When using distributed training, the code of `os.remove(filename)` may be executed separately by each rank, leading to `FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmprxxxxxxx.arrow'` ```python from torch import distributed as dist if dist.get_rank() == 0: dataset = process_dataset(*args, ...
true
2023-11-22T17:55:10Z
2023-11-23T15:19:43Z
2023-11-23T15:13:28Z
LZHgrla
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/6444
2023-11-23T15:13:28Z
4
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/6444
true
[ "Thanks for working on this! The [issue](https://bugs.python.org/issue24658) with pickling objects larger than 4GB seems to be patched in Python 3.8 (the minimal supported version was 3.6 at the time of implementing this), so a simple solution would be removing the `Table.__setstate__` and `Table.__getstate__` over...
2,006,568,368
6,443
Trouble loading files defined in YAML explicitly
open
Look at https://huggingface.co/datasets/severo/doc-yaml-2 It's a reproduction of the example given in the docs at https://huggingface.co/docs/hub/datasets-manual-configuration ``` You can select multiple files per split using a list of paths: my_dataset_repository/ ├── README.md ├── data/ │ ├── abc.csv ...
true
2023-11-22T15:18:10Z
2025-06-23T13:46:46Z
null
severo
COLLABORATOR
null
null
6
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/6443
false
[ "There is a typo in one of the file names - `data/edf.csv` should be renamed to `data/def.csv` 🙂. ", "wow, I reviewed it twice to avoid being ashamed like that, but... I didn't notice the typo.\r\n\r\n---\r\n\r\nBesides this: do you think we would be able to improve the error message to make this clearer?", "H...
2,006,086,907
6,442
Trouble loading image folder with additional features - metadata file ignored
closed
### Describe the bug Loading image folder with a caption column using `load_dataset(<image_folder_path>)` doesn't load the captions. When loading a local image folder with captions using `datasets==2.13.0` ``` from datasets import load_dataset data = load_dataset(<image_folder_path>) data.column_names ``` ...
true
2023-11-22T11:01:35Z
2023-11-24T17:13:03Z
2023-11-24T17:13:03Z
linoytsaban
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6442
false
[ "I reproduced too:\r\n- root: metadata file is ignored (https://huggingface.co/datasets/severo/doc-image-3)\r\n- data/ dir: metadata file is ignored (https://huggingface.co/datasets/severo/doc-image-4)\r\n- train/ dir: works (https://huggingface.co/datasets/severo/doc-image-5)" ]
2,004,985,857
6,441
Trouble Loading a Gated Dataset For User with Granted Permission
closed
### Describe the bug I have granted permissions to several users to access a gated huggingface dataset. The users accepted the invite and when trying to load the dataset using their access token they get `FileNotFoundError: Couldn't find a dataset script at .....` . Also when they try to click the url link for the d...
true
2023-11-21T19:24:36Z
2023-12-13T08:27:16Z
2023-12-13T08:27:16Z
e-trop
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6441
false
[ "> Also when they try to click the url link for the dataset they get a 404 error.\r\n\r\nThis seems to be a Hub error then (cc @SBrandeis)", "Could you report this to https://discuss.huggingface.co/c/hub/23, providing the URL of the dataset, or at least if the dataset is public or private?", "Thanks for the rep...
2,004,509,301
6,440
`.map` not hashing under python 3.9
closed
### Describe the bug The `.map` function cannot hash under python 3.9. Tried to use [the solution here](https://github.com/huggingface/datasets/issues/4521#issuecomment-1205166653), but still get the same message: `Parameter 'function'=<function map_to_pred at 0x7fa0b49ead30> of the transform datasets.arrow_data...
true
2023-11-21T15:14:54Z
2023-11-28T16:29:33Z
2023-11-28T16:29:33Z
changyeli
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6440
false
[ "Tried to upgrade Python to 3.11 - still get this message. A partial solution is to NOT use `num_proc` at all. It will be considerably longer to finish the job.", "Hi! The `model = torch.compile(model)` line is problematic for our hashing logic. We would have to merge https://github.com/huggingface/datasets/pull/...
2,002,916,514
6,439
Download + preparation speed of datasets.load_dataset is 20x slower than huggingface hub snapshot and manual loding
open
### Describe the bug I am working with a dataset I am trying to publish. The path is Antreas/TALI. It's a fairly large dataset, and contains images, video, audio and text. I have been having multiple problems when the dataset is being downloaded using the load_dataset function -- even with 64 workers takin...
true
2023-11-20T20:07:23Z
2023-11-20T20:07:37Z
null
AntreasAntoniou
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6439
false
[]
2,002,032,804
6,438
Support GeoParquet
open
### Feature request Support the GeoParquet format ### Motivation GeoParquet (https://geoparquet.org/) is a common format for sharing vectorial geospatial data on the cloud, along with "traditional" data columns. It would be nice to be able to load this format with datasets, and more generally, in the Datasets Hub...
true
2023-11-20T11:54:58Z
2024-02-07T08:36:51Z
null
severo
COLLABORATOR
null
null
6
1
1
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/6438
false
[ "Thank you, @severo ! I would be more than happy to help in any way I can. I am not familiar with this repo's codebase, but I would be eager to contribute. :)\r\n\r\nFor the preview in Datasets Hub, I think it makes sense to just display the geospatial column as text. If there were a dataset loader, though, I think...
2,001,272,606
6,437
Problem in training iterable dataset
open
### Describe the bug I am using PyTorch DDP (Distributed Data Parallel) to train my model. Since the data is too large to load into memory at once, I am using load_dataset to read the data as an iterable dataset. I have used datasets.distributed.split_dataset_by_node to distribute the dataset. However, I have notice...
true
2023-11-20T03:04:02Z
2024-05-22T03:14:13Z
null
21Timothy
NONE
null
null
5
1
1
0
null
false
[]
https://github.com/huggingface/datasets/issues/6437
false
[ "Has anyone ever encountered this problem before?", "`split_dataset_by_node` doesn't give the exact same number of examples to each node in the case of iterable datasets, though it tries to be as equal as possible. In particular if your dataset is sharded and you have a number of shards that is a factor of the nu...
2,000,844,474
6,436
TypeError: <lambda>() takes 0 positional arguments but 1 was given
closed
### Describe the bug ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) [<ipython-input-35-7b6becee3685>](https://localhost:8080/#) in <cell line: 1>() ----> 1 from datasets import Dataset 9 frames [/usr/lo...
true
2023-11-19T13:10:20Z
2025-05-05T18:21:21Z
2023-11-29T16:28:34Z
ahmadmustafaanis
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6436
false
[ "This looks like a problem with your environment rather than `datasets`.", "I meet the same problem,\r\nand originally use\r\n```python\r\nlocale.getpreferredencoding = lambda : \"UTF-8\"\r\n```\r\nand change to\r\n```\r\nlocale.getpreferredencoding = lambda x: \"UTF-8\"\r\n```\r\nand it works.", "> I meet the ...
2,000,690,513
6,435
Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method
closed
### Describe the bug 1. I ran dataset mapping with `num_proc=6` in it and got this error: `RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method` I can't actually find a way to run multi-GPU dataset mapping. Can you help? ### Steps to...
true
2023-11-19T04:21:16Z
2024-01-27T17:14:20Z
2023-12-04T16:57:43Z
kopyl
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6435
false
[ "[This doc section](https://huggingface.co/docs/datasets/main/en/process#multiprocessing) explains how to modify the script to avoid this error.", "@mariosasko thank you very much, i'll check it", "@mariosasko no it does not\r\n\r\n`Dataset.filter() got an unexpected keyword argument 'with_rank'`" ]
1,999,554,915
6,434
Use `ruff` for formatting
closed
Use `ruff` instead of `black` for formatting to be consistent with `transformers` ([PR](https://github.com/huggingface/transformers/pull/27144)) and `huggingface_hub` ([PR 1](https://github.com/huggingface/huggingface_hub/pull/1783) and [PR 2](https://github.com/huggingface/huggingface_hub/pull/1789)).
true
2023-11-17T16:53:22Z
2023-11-21T14:19:21Z
2023-11-21T14:13:13Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/6434
2023-11-21T14:13:13Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6434
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,999,419,105
6,433
Better `tqdm` wrapper
closed
This PR aligns the `tqdm` logic with `huggingface_hub` (without introducing breaking changes), as the current one is error-prone. Additionally, it improves the doc page about the `datasets`' utilities, and the handling of local `fsspec` paths in `cached_path`. Fix #6409
true
2023-11-17T15:45:15Z
2023-11-22T16:48:18Z
2023-11-22T16:42:08Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/6433
2023-11-22T16:42:08Z
9
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6433
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,999,258,140
6,432
load_dataset does not load all of the data in my input file
open
### Describe the bug I have 127 elements in my input dataset. When I do a len on the dataset after loaded, it is only 124 elements. ### Steps to reproduce the bug train_dataset = nlp.load_dataset(data_args.dataset_path, name=data_args.qg_format, split=nlp.Split.TRAIN) valid_dataset = nlp.load_dataset(data_...
true
2023-11-17T14:28:50Z
2023-11-22T17:34:58Z
null
demongolem-biz2
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6432
false
[ "You should use `datasets.load_dataset` instead of `nlp.load_dataset`, as the `nlp` package is outdated.\r\n\r\nIf switching to `datasets.load_dataset` doesn't fix the issue, sharing the JSON file (feel free to replace the data with dummy data) would be nice so that we can reproduce it ourselves." ]
1,997,202,770
6,431
Create DatasetNotFoundError and DataFilesNotFoundError
closed
Create `DatasetNotFoundError` and `DataFilesNotFoundError`. Fix #6397. CC: @severo
true
2023-11-16T16:02:55Z
2023-11-22T15:18:51Z
2023-11-22T15:12:33Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/6431
2023-11-22T15:12:33Z
10
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6431
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,996,723,698
6,429
Add trust_remote_code argument
closed
Draft about adding `trust_remote_code` to `load_dataset`. ```python ds = load_dataset(..., trust_remote_code=True) # run remote code (current default) ``` It would default to `True` (current behavior) and in the next major release it will prompt the user to check the code before running it (we'll communicate o...
true
2023-11-16T12:12:54Z
2023-11-28T16:10:39Z
2023-11-28T16:03:43Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/6429
2023-11-28T16:03:43Z
14
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6429
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,996,306,394
6,428
Set dev version
closed
true
2023-11-16T08:12:55Z
2023-11-16T08:19:39Z
2023-11-16T08:13:28Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/6428
2023-11-16T08:13:28Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6428
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6428). All of your documentation changes will be reflected on that endpoint.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchma...
1,996,248,605
6,427
Release: 2.15.0
closed
true
2023-11-16T07:37:20Z
2023-11-16T08:12:12Z
2023-11-16T07:43:05Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/6427
2023-11-16T07:43:05Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6427
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,995,363,264
6,426
More robust temporary directory deletion
closed
While fixing the Windows errors in #6362, I noticed that `PermissionError` can still easily be thrown on the session exit by the temporary cache directory's finalizer (we would also have to keep track of intermediate datasets, copies, etc.). ~~Due to the low usage of `datasets` on Windows, this PR takes a simpler appro...
true
2023-11-15T19:06:42Z
2023-12-01T15:37:32Z
2023-12-01T15:31:19Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/6426
2023-12-01T15:31:19Z
7
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6426
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6426). All of your documentation changes will be reflected on that endpoint.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchma...
1,995,269,382
6,425
Fix deprecation warning when building conda package
closed
When building/releasing conda package, we get this deprecation warning: ``` /usr/share/miniconda/envs/build-datasets/bin/conda-build:11: DeprecationWarning: conda_build.cli.main_build.main is deprecated and will be removed in 4.0.0. Use `conda build` instead. ``` This PR fixes the deprecation warning by using `co...
true
2023-11-15T18:00:11Z
2023-12-13T14:22:30Z
2023-12-13T14:16:00Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/6425
2023-12-13T14:16:00Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6425
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,995,224,516
6,424
[docs] troubleshooting guide
closed
Hi all! This is a PR adding a troubleshooting guide for Datasets docs. I went through the library's GitHub Issues and Forum questions and identified a few issues that are common enough that I think it would be valuable to include them in the troubleshooting guide. These are: - creating a dataset from a folder and n...
true
2023-11-15T17:28:14Z
2023-11-30T17:29:55Z
2023-11-30T17:23:46Z
MKhalusova
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/6424
2023-11-30T17:23:46Z
2
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/6424
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6424). All of your documentation changes will be reflected on that endpoint.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchma...
1,994,946,847
6,423
Fix conda release by adding pyarrow-hotfix dependency
closed
Fix conda release by adding pyarrow-hotfix dependency. Note that conda release failed in latest 2.14.7 release: https://github.com/huggingface/datasets/actions/runs/6874667214/job/18696761723 ``` Traceback (most recent call last): File "/usr/share/miniconda/envs/build-datasets/conda-bld/datasets_1700036460222/t...
true
2023-11-15T14:57:12Z
2023-11-15T17:15:33Z
2023-11-15T17:09:24Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/6423
2023-11-15T17:09:24Z
6
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6423
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,994,579,267
6,422
Allow to choose the `writer_batch_size` when using `save_to_disk`
open
### Feature request Add an argument in `save_to_disk` regarding batch size, which would be passed to `shard` and other methods. ### Motivation The `Dataset.save_to_disk` method currently calls `shard` without passing a `writer_batch_size` argument, thus implicitly using the default value (1000). This can result in R...
true
2023-11-15T11:18:34Z
2023-11-16T10:00:21Z
null
NathanGodey
NONE
null
null
2
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/6422
false
[ "We have a config variable that controls the batch size in `save_to_disk`:\r\n```python\r\nimport datasets\r\ndatasets.config.DEFAULT_MAX_BATCH_SIZE = <smaller_batch_size>\r\n...\r\nds.save_to_disk(...)\r\n```", "Thank you for your answer!\r\n\r\nFrom what I am reading in `https://github.com/huggingface/datasets/...
1,994,451,553
6,421
Add pyarrow-hotfix to release docs
closed
Add `pyarrow-hotfix` to release docs.
true
2023-11-15T10:06:44Z
2023-11-15T13:49:55Z
2023-11-15T13:38:22Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/6421
2023-11-15T13:38:22Z
3
0
0
0
false
false
[ "maintenance" ]
https://github.com/huggingface/datasets/pull/6421
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,994,278,903
6,420
Set dev version
closed
true
2023-11-15T08:22:19Z
2023-11-15T08:33:36Z
2023-11-15T08:22:33Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/6420
2023-11-15T08:22:33Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6420
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6420). All of your documentation changes will be reflected on that endpoint.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchma...
1,994,257,873
6,419
Release: 2.14.7
closed
Release 2.14.7.
true
2023-11-15T08:07:37Z
2023-11-15T17:35:30Z
2023-11-15T08:12:59Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/6419
2023-11-15T08:12:59Z
6
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6419
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,993,224,629
6,418
Remove token value from warnings
closed
Fix #6412
true
2023-11-14T17:34:06Z
2023-11-14T22:26:04Z
2023-11-14T22:19:45Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/6418
2023-11-14T22:19:45Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6418
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,993,149,416
6,417
Bug: LayoutLMv3 finetuning on FUNSD Notebook; Arrow Error
closed
### Describe the bug Arrow issues when running the example Notebook laptop locally on Mac with M1. Works on Google Collab. **Notebook**: https://github.com/NielsRogge/Transformers-Tutorials/blob/master/LayoutLMv3/Fine_tune_LayoutLMv3_on_FUNSD_(HuggingFace_Trainer).ipynb **Error**: `ValueError: Arrow type extensi...
true
2023-11-14T16:53:20Z
2023-11-16T20:23:41Z
2023-11-16T20:23:41Z
Davo00
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6417
false
[ "Very strange: `datasets-cli env`\r\n> \r\n> Copy-and-paste the text below in your GitHub issue.\r\n> \r\n> - `datasets` version: 2.9.0\r\n> - Platform: macOS-14.0-arm64-arm-64bit\r\n> - Python version: 3.9.13\r\n> - PyArrow version: 8.0.0\r\n> - Pandas version: 1.3.5\r\n\r\nAfter updating datasets and pyarrow on b...
1,992,954,723
6,416
Rename audio_classificiation.py to audio_classification.py
closed
true
2023-11-14T15:15:29Z
2023-11-15T11:59:32Z
2023-11-15T11:53:20Z
carlthome
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/6416
2023-11-15T11:53:20Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6416
true
[ "Oh good catch. Can you also rename it in `src/datasets/tasks/__init__.py` ?", "Fixed! \r\n\r\n(I think, tough word to spell right TBH)", "_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...
1,992,917,248
6,415
Fix multi gpu map example
closed
- use `orch.cuda.set_device` instead of `CUDA_VISIBLE_DEVICES ` - add `if __name__ == "__main__"` fix https://github.com/huggingface/datasets/issues/6186
true
2023-11-14T14:57:18Z
2024-01-31T00:49:15Z
2023-11-22T15:42:19Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/6415
2023-11-22T15:42:19Z
23
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6415
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,992,482,491
6,414
Set `usedforsecurity=False` in hashlib methods (FIPS compliance)
closed
Related to https://github.com/huggingface/transformers/issues/27034 and https://github.com/huggingface/huggingface_hub/pull/1782. **TL;DR:** `hashlib` is not a secure library for cryptography-related stuff. We are only using `hashlib` for non-security-related purposes in `datasets` so it's fine. From Python 3.9 we s...
true
2023-11-14T10:47:09Z
2023-11-17T14:23:20Z
2023-11-17T14:17:00Z
Wauplin
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/6414
2023-11-17T14:17:00Z
10
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6414
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,992,401,594
6,412
User token is printed out!
closed
This line prints user token on command line! Is it safe? https://github.com/huggingface/datasets/blob/12ebe695b4748c5a26e08b44ed51955f74f5801d/src/datasets/load.py#L2091
true
2023-11-14T10:01:34Z
2023-11-14T22:19:46Z
2023-11-14T22:19:46Z
mohsen-goodarzi
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6412
false
[ "Indeed, this is not a good practice. I've opened a PR that removes the token value from the (deprecation) warning." ]
1,992,386,630
6,411
Fix dependency conflict within CI build documentation
closed
Manually fix dependency conflict on `typing-extensions` version originated by `apache-beam` + `pydantic` (now a dependency of `huggingface-hub`). This is a temporary hot fix of our CI build documentation until we stop using `apache-beam`. Fix #6406.
true
2023-11-14T09:52:51Z
2023-11-14T10:05:59Z
2023-11-14T10:05:35Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/6411
2023-11-14T10:05:34Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6411
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,992,100,209
6,410
Datasets does not load HuggingFace Repository properly
open
### Describe the bug Dear Datasets team, We just have published a dataset on Huggingface: https://huggingface.co/ai4privacy However, when trying to read it using the Dataset library we get an error. As I understand jsonl files are compatible, could you please clarify how we can solve the issue? Please let me ...
true
2023-11-14T06:50:49Z
2023-11-16T06:54:36Z
null
MikeDoes
NONE
null
null
2
2
2
0
null
false
[]
https://github.com/huggingface/datasets/issues/6410
false
[ "Hi! You can avoid the error by requesting only the `jsonl` files. `dataset = load_dataset(\"ai4privacy/pii-masking-200k\", data_files=[\"*.jsonl\"])`.\r\n\r\nOur data file inference does not filter out (incompatible) `json` files because `json` and `jsonl` use the same builder. Still, I think the inference should...
1,991,960,865
6,409
using DownloadManager to download from local filesystem and disable_progress_bar, there will be an exception
closed
### Describe the bug i'm using datasets.download.download_manager.DownloadManager to download files like "file:///a/b/c.txt", and i disable_progress_bar() to disable bar. there will be an exception as follows: `AttributeError: 'function' object has no attribute 'close' Exception ignored in: <function TqdmCallback....
true
2023-11-14T04:21:01Z
2023-11-22T16:42:09Z
2023-11-22T16:42:09Z
neiblegy
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6409
false
[]
1,991,902,972
6,408
`IterableDataset` lost but not keep columns when map function adding columns with names in `remove_columns`
open
### Describe the bug IterableDataset lost but not keep columns when map function adding columns with names in remove_columns, Dataset not. May be related to the code below: https://github.com/huggingface/datasets/blob/06c3ffb8d068b6307b247164b10f7c7311cefed4/src/datasets/iterable_dataset.py#L750-L756 ### Steps t...
true
2023-11-14T03:12:08Z
2023-11-16T06:24:10Z
null
shmily326
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6408
false
[]
1,991,514,079
6,407
Loading the dataset from private S3 bucket gives "TypeError: cannot pickle '_contextvars.Context' object"
open
### Describe the bug I'm trying to read the parquet file from the private s3 bucket using the `load_dataset` function, but I receive `TypeError: cannot pickle '_contextvars.Context' object` error I'm working on a machine with `~/.aws/credentials` file. I can't give credentials and the path to a file in a private bu...
true
2023-11-13T21:27:43Z
2024-07-30T12:35:09Z
null
eawer
NONE
null
null
1
2
2
0
null
false
[]
https://github.com/huggingface/datasets/issues/6407
false
[ "I have encountered the same problem with `datasets-2.20.0`. \r\n\r\nI found the following workaround for this issue (including the fix from #6598):\r\n1. specify the AWS profile name in the `storage_options` instead of passing an existing session object\r\n2. use a custom `DownloadConfig` object to fix #6598\r\n3....
1,990,469,045
6,406
CI Build PR Documentation is broken: ImportError: cannot import name 'TypeAliasType' from 'typing_extensions'
closed
Our CI Build PR Documentation is broken. See: https://github.com/huggingface/datasets/actions/runs/6799554060/job/18486828777?pr=6390 ``` ImportError: cannot import name 'TypeAliasType' from 'typing_extensions' ```
true
2023-11-13T11:36:10Z
2023-11-14T10:05:36Z
2023-11-14T10:05:36Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6406
false
[]
1,990,358,743
6,405
ConfigNamesError on a simple CSV file
closed
See https://huggingface.co/datasets/Nguyendo1999/mmath/discussions/1 ``` Error code: ConfigNamesError Exception: TypeError Message: __init__() missing 1 required positional argument: 'dtype' Traceback: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runn...
true
2023-11-13T10:28:29Z
2023-11-13T20:01:24Z
2023-11-13T20:01:24Z
severo
COLLABORATOR
null
null
3
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/6405
false
[ "The viewer is working now. \r\n\r\nBased on the repo commit history, the bug was due to the incorrect format of the `features` field in the README YAML (`Value` requires `dtype`, e.g., `Value(\"string\")`, but it was not specified)", "Feel free to close the issue", "Oh, OK! Thanks. So, there was no reason to o...
1,990,211,901
6,404
Support pyarrow 14.0.1 and fix vulnerability CVE-2023-47248
closed
Support `pyarrow` 14.0.1 and fix vulnerability [CVE-2023-47248](https://github.com/advisories/GHSA-5wvp-7f3h-6wmm). Fix #6396.
true
2023-11-13T09:15:39Z
2023-11-14T10:29:48Z
2023-11-14T10:23:29Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/6404
2023-11-14T10:23:29Z
15
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6404
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,990,098,817
6,403
Cannot import datasets on google colab (python 3.10.12)
closed
### Describe the bug I'm trying A full colab demo notebook of zero-shot-distillation from https://github.com/huggingface/transformers/tree/main/examples/research_projects/zero-shot-distillation but i got this type of error when importing datasets on my google colab (python version is 3.10.12) ![image](https://gith...
true
2023-11-13T08:14:43Z
2023-11-16T05:04:22Z
2023-11-16T05:04:21Z
nabilaannisa
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6403
false
[ "You are most likely using an outdated version of `datasets` in the notebook, which can be verified with the `!datasets-cli env` command. You can run `!pip install -U datasets` to update the installation.", "okay, it works! thank you so much! 😄 " ]
1,989,094,542
6,402
Update torch_formatter.py
closed
Ensure PyTorch images are converted to (C, H, W) instead of (H, W, C). See #6394 for motivation.
true
2023-11-11T19:40:41Z
2024-03-15T11:31:53Z
2024-03-15T11:25:37Z
varunneal
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/6402
2024-03-15T11:25:36Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/6402
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6402). 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>...
1,988,710,061
6,401
dataset = load_dataset("Hyperspace-Technologies/scp-wiki-text") not working
closed
### Describe the bug ``` (datasets) mruserbox@guru-X99:/media/10TB_HHD/_LLM_DATASETS$ python dataset.py Downloading readme: 100%|███████████████████████████████████| 360/360 [00:00<00:00, 2.16MB/s] Downloading data: 100%|█████████████████████████████████| 65.1M/65.1M [00:19<00:00, 3.38MB/s] Downloading data: 100...
true
2023-11-11T04:09:07Z
2023-11-20T17:45:20Z
2023-11-20T17:45:20Z
userbox020
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/6401
false
[ "Seems like it's a problem with the dataset, since in the [README](https://huggingface.co/datasets/Hyperspace-Technologies/scp-wiki-text/blob/main/README.md) the validation is not specified. Try cloning the dataset, removing the README (or validation split), and loading it locally/ ", "@VarunNSrivastava thanks br...