id
int64
1.9B
3.25B
title
stringlengths
2
244
state
stringclasses
2 values
body
stringlengths
3
58.6k
created_at
timestamp[s]date
2023-09-15 14:23:33
2025-07-22 09:33:54
updated_at
timestamp[s]date
2023-09-18 16:20:09
2025-07-22 10:44:03
closed_at
timestamp[s]date
2023-09-18 16:20:09
2025-07-19 22:45:08
html_url
stringlengths
49
51
pull_request
dict
number
int64
6.24k
7.7k
is_pull_request
bool
2 classes
comments
listlengths
0
24
2,062,768,400
Fix parallel downloads for datasets without scripts
closed
Enable parallel downloads using multiprocessing when `num_proc` is passed to `load_dataset`. It was enabled for datasets with scripts already (if they passed lists to `dl_manager.download`) but not for no-script datasets (we pass dicts {split: [list of files]} to `dl_manager.download` for those ones). I fixed thi...
2024-01-02T18:06:18
2024-01-06T20:14:57
2024-01-03T13:19:48
https://github.com/huggingface/datasets/pull/6551
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6551", "html_url": "https://github.com/huggingface/datasets/pull/6551", "diff_url": "https://github.com/huggingface/datasets/pull/6551.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6551.patch", "merged_at": "2024-01-03T13:19...
6,551
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6551). 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,062,556,493
Multi gpu docs
closed
after discussions in https://github.com/huggingface/datasets/pull/6415
2024-01-02T15:11:58
2024-01-31T13:45:15
2024-01-31T13:38:59
https://github.com/huggingface/datasets/pull/6550
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6550", "html_url": "https://github.com/huggingface/datasets/pull/6550", "diff_url": "https://github.com/huggingface/datasets/pull/6550.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6550.patch", "merged_at": "2024-01-31T13:38...
6,550
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6550). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Thanks @lhoestq . This is a very important fix for code to run on multiple GPUs. Otherw...
2,062,420,259
Loading from hf hub with clearer error message
open
### Feature request Shouldn't this kinda work ? ``` Dataset.from_json("hf://datasets/HuggingFaceTB/eval_data/resolve/main/eval_data_context_and_answers.json") ``` I got an error ``` File ~/miniconda3/envs/datatrove/lib/python3.10/site-packages/datasets/data_files.py:380, in resolve_pattern(pattern, base_path, al...
2024-01-02T13:26:34
2024-01-02T14:06:49
null
https://github.com/huggingface/datasets/issues/6549
null
6,549
false
[ "Maybe we can add a helper message like `Maybe try again using \"hf://path/without/resolve\"` if the path contains `/resolve/` ?\r\n\r\ne.g.\r\n\r\n```\r\nFileNotFoundError: Unable to find 'hf://datasets/HuggingFaceTB/eval_data/resolve/main/eval_data_context_and_answers.json'\r\nIt looks like you used parts of the ...
2,061,047,984
Skip if a dataset has issues
open
### Describe the bug Hello everyone, I'm using **load_datasets** from **huggingface** to download the datasets and I'm facing an issue, the download starts but it reaches some state and then fails with the following error: Couldn't reach https://huggingface.co/datasets/wikimedia/wikipedia/resolve/4cb9b0d719291f1a10...
2023-12-31T12:41:26
2024-01-02T10:33:17
null
https://github.com/huggingface/datasets/issues/6548
null
6,548
false
[ "It looks like a transient DNS issue. It should work fine now if you try again.\r\n\r\nThere is no parameter in load_dataset to skip failed downloads. In your case it would have skipped every single subsequent download until the DNS issue was resolved anyway." ]
2,060,796,927
set dev version
closed
null
2023-12-30T16:47:17
2023-12-30T16:53:38
2023-12-30T16:47:27
https://github.com/huggingface/datasets/pull/6547
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6547", "html_url": "https://github.com/huggingface/datasets/pull/6547", "diff_url": "https://github.com/huggingface/datasets/pull/6547.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6547.patch", "merged_at": "2023-12-30T16:47...
6,547
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6547). 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,060,796,369
Release: 2.16.1
closed
null
2023-12-30T16:44:51
2023-12-30T16:52:07
2023-12-30T16:45:52
https://github.com/huggingface/datasets/pull/6546
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6546", "html_url": "https://github.com/huggingface/datasets/pull/6546", "diff_url": "https://github.com/huggingface/datasets/pull/6546.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6546.patch", "merged_at": "2023-12-30T16:45...
6,546
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6546). 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,060,789,507
`image` column not automatically inferred if image dataset only contains 1 image
closed
### Describe the bug By default, the standard Image Dataset maps out `file_name` to `image` when loading an Image Dataset. However, if the dataset contains only 1 image, this does not take place ### Steps to reproduce the bug Input (dataset with one image `multimodalart/repro_1_image`) ```py from data...
2023-12-30T16:17:29
2024-01-09T13:06:31
2024-01-09T13:06:31
https://github.com/huggingface/datasets/issues/6545
null
6,545
false
[]
2,060,782,594
Fix custom configs from script
closed
We should not use the parquet export when the user is passing config_kwargs I also fixed a regression that would disallow creating a custom config when a dataset has multiple predefined configs fix https://github.com/huggingface/datasets/issues/6533
2023-12-30T15:51:25
2024-01-02T11:02:39
2023-12-30T16:09:49
https://github.com/huggingface/datasets/pull/6544
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6544", "html_url": "https://github.com/huggingface/datasets/pull/6544", "diff_url": "https://github.com/huggingface/datasets/pull/6544.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6544.patch", "merged_at": "2023-12-30T16:09...
6,544
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6544). 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,060,776,174
Fix dl_manager.extract returning FileNotFoundError
closed
The dl_manager base path is remote (e.g. a hf:// path), so local cached paths should be passed as absolute paths. This could happen if users provide a relative path as `cache_dir` fix https://github.com/huggingface/datasets/issues/6536
2023-12-30T15:24:50
2023-12-30T16:00:06
2023-12-30T15:53:59
https://github.com/huggingface/datasets/pull/6543
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6543", "html_url": "https://github.com/huggingface/datasets/pull/6543", "diff_url": "https://github.com/huggingface/datasets/pull/6543.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6543.patch", "merged_at": "2023-12-30T15:53...
6,543
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6543). 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,059,198,575
Datasets : wikipedia 20220301.en error
closed
### Describe the bug When I used load_dataset to download this data set, the following error occurred. The main problem was that the target data did not exist. ### Steps to reproduce the bug 1.I tried downloading directly. ```python wiki_dataset = load_dataset("wikipedia", "20220301.en") ``` An exception occurre...
2023-12-29T08:34:51
2024-01-02T13:21:06
2024-01-02T13:20:30
https://github.com/huggingface/datasets/issues/6542
null
6,542
false
[ "Hi ! We now recommend using the `wikimedia/wikipedia` dataset, can you try loading this one instead ?\r\n\r\n```python\r\nwiki_dataset = load_dataset(\"wikimedia/wikipedia\", \"20231101.en\")\r\n```", "This bug has been fixed in `2.16.1` thanks to https://github.com/huggingface/datasets/pull/6544, feel free to ...
2,058,983,826
Dataset not loading successfully.
closed
### Describe the bug When I run down the below code shows this error: AttributeError: module 'numpy' has no attribute '_no_nep50_warning' I also added this issue in transformers library please check out: [link](https://github.com/huggingface/transformers/issues/28099) ### Steps to reproduce the bug ## Reproduction ...
2023-12-29T01:35:47
2024-01-17T00:40:46
2024-01-17T00:40:45
https://github.com/huggingface/datasets/issues/6541
null
6,541
false
[ "This is a problem with your environment. You should be able to fix it by upgrading `numpy` based on [this](https://github.com/numpy/numpy/issues/23570) issue.", "Bro I already update numpy package.", "Then, this shouldn't throw an error on your machine:\r\n```python\r\nimport numpy\r\nnumpy._no_nep50_warning\r...
2,058,965,157
Extreme inefficiency for `save_to_disk` when merging datasets
open
### Describe the bug Hi, I tried to merge in total 22M sequences of data, where each sequence is of maximum length 2000. I found that merging these datasets and then `save_to_disk` is extremely slow because of flattening the indices. Wondering if you have any suggestions or guidance on this. Thank you very much! ###...
2023-12-29T00:44:35
2023-12-30T15:05:48
null
https://github.com/huggingface/datasets/issues/6540
null
6,540
false
[ "Concatenating datasets doesn't create any indices mapping - so flattening indices is not needed (unless you shuffle the dataset).\r\nCan you share the snippet of code you are using to merge your datasets and save them to disk ?" ]
2,058,493,960
'Repo card metadata block was not found' when loading a pragmeval dataset
open
### Describe the bug I can't load dataset subsets of 'pragmeval'. The funny thing is I ran the dataset author's [colab notebook](https://colab.research.google.com/drive/1sg--LF4z7XR1wxAOfp0-3d4J6kQ9nj_A?usp=sharing) and it works just fine. I tried to install exactly the same packages that are installed on colab usi...
2023-12-28T14:18:25
2023-12-28T14:18:37
null
https://github.com/huggingface/datasets/issues/6539
null
6,539
false
[]
2,057,377,630
ImportError: cannot import name 'SchemaInferenceError' from 'datasets.arrow_writer' (/opt/conda/lib/python3.10/site-packages/datasets/arrow_writer.py)
closed
### Describe the bug While importing from packages getting the error Code: ``` import os import torch from datasets import load_dataset, Dataset from transformers import ( AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig, HfArgumentParser, TrainingArguments, pipeline, ...
2023-12-27T13:31:16
2024-01-03T10:06:47
2024-01-03T10:04:58
https://github.com/huggingface/datasets/issues/6538
null
6,538
false
[ "Hi ! Are you sure you have `datasets` 2.16 ? I just checked and on 2.16 I can run `from datasets.arrow_writer import SchemaInferenceError` without error", "I have the same issue - using with datasets version 2.16.1. Also this is on a kaggle notebook - other people with the same issue also seem to be having it on...
2,057,132,173
Adding support for netCDF (*.nc) files
open
### Feature request netCDF (*.nc) is a file format for storing multidimensional scientific data, which is used by packages like `xarray` (labelled multi-dimensional arrays in Python). It would be nice to have native support for netCDF in `datasets`. ### Motivation When uploading *.nc files onto Huggingface Hub throu...
2023-12-27T09:27:29
2023-12-27T20:46:53
null
https://github.com/huggingface/datasets/issues/6537
null
6,537
false
[ "Related to #3113 ", "Conceptually, we can use xarray to load the netCDF file, then xarray -> pandas -> pyarrow.", "I'd still need to verify that such a conversion would be lossless, especially for multi-dimensional data." ]
2,056,863,239
datasets.load_dataset raises FileNotFoundError for datasets==2.16.0
closed
### Describe the bug Seems `datasets.load_dataset` raises FileNotFoundError for some hub datasets with the latest `datasets==2.16.0` ### Steps to reproduce the bug For example `pip install datasets==2.16.0` then ```python import datasets datasets.load_dataset("wentingzhao/anthropic-hh-first-prompt", cache_di...
2023-12-27T03:15:48
2023-12-30T18:58:04
2023-12-30T15:54:00
https://github.com/huggingface/datasets/issues/6536
null
6,536
false
[ "Hi ! Thanks for reporting\r\n\r\nThis is a bug in 2.16.0 for some datasets when `cache_dir` is a relative path. I opened https://github.com/huggingface/datasets/pull/6543 to fix this", "We just released 2.16.1 with a fix:\r\n\r\n```\r\npip install -U datasets\r\n```" ]
2,056,264,339
IndexError: Invalid key: 47682 is out of bounds for size 0 while using PEFT
open
### Describe the bug I am trying to fine-tune the t5 model on the paraphrasing task. While running the same code without- model = get_peft_model(model, config) the model trains without any issues. However, using the model returned from get_peft_model raises the following error due to datasets- IndexError: Inv...
2023-12-26T10:14:33
2024-02-05T08:42:31
null
https://github.com/huggingface/datasets/issues/6535
null
6,535
false
[ "@sabman @pvl @kashif @vigsterkr ", "This is surely the same issue as https://discuss.huggingface.co/t/indexerror-invalid-key-16-is-out-of-bounds-for-size-0/14298/25 that comes from the `transformers` `Trainer`. You should add `remove_unused_columns=False` to `TrainingArguments`\r\n\r\nAlso check your logs: the `...
2,056,002,548
How to configure multiple folders in the same zip package
open
How should I write "config" in readme when all the data, such as train test, is in a zip file train floder and test floder in data.zip
2023-12-26T03:56:20
2023-12-26T06:31:16
null
https://github.com/huggingface/datasets/issues/6534
null
6,534
false
[ "@albertvillanova" ]
2,055,929,101
ted_talks_iwslt | Error: Config name is missing
closed
### Describe the bug Running load_dataset using the newest `datasets` library like below on the ted_talks_iwslt using year pair data will throw an error "Config name is missing" see also: https://huggingface.co/datasets/ted_talks_iwslt/discussions/3 likely caused by #6493, where the `and not config_kwargs` part...
2023-12-26T00:38:18
2023-12-30T18:58:21
2023-12-30T16:09:50
https://github.com/huggingface/datasets/issues/6533
null
6,533
false
[ "Hi ! Thanks for reporting. I opened https://github.com/huggingface/datasets/pull/6544 to fix this", "We just released 2.16.1 with a fix:\r\n\r\n```\r\npip install -U datasets\r\n```" ]
2,055,631,201
[Feature request] Indexing datasets by a customly-defined id field to enable random access dataset items via the id
open
### Feature request Some datasets may contain an id-like field, for example the `id` field in [wikimedia/wikipedia](https://huggingface.co/datasets/wikimedia/wikipedia) and the `_id` field in [BeIR/dbpedia-entity](https://huggingface.co/datasets/BeIR/dbpedia-entity). HF datasets support efficient random access via r...
2023-12-25T11:37:10
2025-05-05T13:25:24
null
https://github.com/huggingface/datasets/issues/6532
null
6,532
false
[ "You can simply use a python dict as index:\r\n\r\n```python\r\n>>> from datasets import load_dataset\r\n>>> ds = load_dataset(\"BeIR/dbpedia-entity\", \"corpus\", split=\"corpus\")\r\n>>> index = {key: idx for idx, key in enumerate(ds[\"_id\"])}\r\n>>> ds[index[\"<dbpedia:Pikachu>\"]]\r\n{'_id': '<dbpedia:Pikachu>...
2,055,201,605
Add polars compatibility
closed
Hey there, I've just finished adding support to convert and format to `polars.DataFrame`. This was in response to the open issue about integrating Polars [#3334](https://github.com/huggingface/datasets/issues/3334). Datasets can be switched to Polars format via `Dataset.set_format("polars")`. I've also included `to_...
2023-12-24T20:03:23
2024-03-08T19:29:25
2024-03-08T15:22:58
https://github.com/huggingface/datasets/pull/6531
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6531", "html_url": "https://github.com/huggingface/datasets/pull/6531", "diff_url": "https://github.com/huggingface/datasets/pull/6531.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6531.patch", "merged_at": "2024-03-08T15:22...
6,531
true
[ "Hi ! thanks for adding polars support :)\r\n\r\nYou added from_polars in arrow_dataset.py but not to_polars, is this on purpose ?\r\n\r\nAlso no need to touch table.py imo, which is for arrow-only logic (tables are just wrappers of pyarrow.Table with the exact same methods + optimization to existing methods + sepa...
2,054,817,609
Impossible to save a mapped dataset to disk
open
### Describe the bug I want to play around with different hyperparameters when training but don't want to re-map my dataset with 3 million samples each time for tens of hours when I [fully fine-tune SDXL](https://github.com/huggingface/diffusers/blob/main/examples/text_to_image/train_text_to_image_sdxl.py). After...
2023-12-23T15:18:27
2023-12-24T09:40:30
null
https://github.com/huggingface/datasets/issues/6530
null
6,530
false
[ "I solved it with `train_dataset.with_format(None)`\r\nBut then faced some more issues (which i later solved too).\r\n\r\nHuggingface does not seem to care, so I do. Here is an updated training script which saves a pre-processed (mapped) dataset to your local directory if you specify `--save_precomputed_data_dir=DI...
2,054,209,449
Impossible to only download a test split
open
I've spent a significant amount of time trying to locate the split object inside my _split_generators() custom function. Then after diving [in the code](https://github.com/huggingface/datasets/blob/5ff3670c18ed34fa8ddfa70a9aa403ae6cc9ad54/src/datasets/load.py#L2558) I realized that `download_and_prepare` is executed b...
2023-12-22T16:56:32
2024-02-02T00:05:04
null
https://github.com/huggingface/datasets/issues/6529
null
6,529
false
[ "The only way right now is to load with streaming=True", "This feature has been proposed for a long time. I'm looking forward to the implementation. On clusters `streaming=True` is not an option since we do not have Internet on compute nodes. See: https://github.com/huggingface/datasets/discussions/1896#discussio...
2,053,996,494
set dev version
closed
null
2023-12-22T14:23:18
2023-12-22T14:31:42
2023-12-22T14:25:34
https://github.com/huggingface/datasets/pull/6528
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6528", "html_url": "https://github.com/huggingface/datasets/pull/6528", "diff_url": "https://github.com/huggingface/datasets/pull/6528.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6528.patch", "merged_at": "2023-12-22T14:25...
6,528
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6528). 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,053,966,748
Release: 2.16.0
closed
null
2023-12-22T13:59:56
2023-12-22T14:24:12
2023-12-22T14:17:55
https://github.com/huggingface/datasets/pull/6527
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6527", "html_url": "https://github.com/huggingface/datasets/pull/6527", "diff_url": "https://github.com/huggingface/datasets/pull/6527.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6527.patch", "merged_at": "2023-12-22T14:17...
6,527
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6527). 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,053,726,451
Preserve order of configs and splits when using Parquet exports
closed
Preserve order of configs and splits, as defined in dataset infos. Fix #6521.
2023-12-22T10:35:56
2023-12-22T11:42:22
2023-12-22T11:36:14
https://github.com/huggingface/datasets/pull/6526
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6526", "html_url": "https://github.com/huggingface/datasets/pull/6526", "diff_url": "https://github.com/huggingface/datasets/pull/6526.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6526.patch", "merged_at": "2023-12-22T11:36...
6,526
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6526). 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,053,119,357
BBox type
closed
see [internal discussion](https://huggingface.slack.com/archives/C02EK7C3SHW/p1703097195609209) Draft to get some feedback on a possible `BBox` feature type that can be used to get object detection bounding boxes data in one format or another. ```python >>> from datasets import load_dataset, BBox >>> ds = load_...
2023-12-21T22:13:27
2024-01-11T06:34:51
2023-12-21T22:39:27
https://github.com/huggingface/datasets/pull/6525
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6525", "html_url": "https://github.com/huggingface/datasets/pull/6525", "diff_url": "https://github.com/huggingface/datasets/pull/6525.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6525.patch", "merged_at": null }
6,525
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6525). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "closing in favor of other ideas that would not involve any typing" ]
2,053,076,311
Streaming the Pile: Missing Files
closed
### Describe the bug The pile does not stream, a "File not Found error" is returned. It looks like the Pile's files have been moved. ### Steps to reproduce the bug To reproduce run the following code: ``` from datasets import load_dataset dataset = load_dataset('EleutherAI/pile', 'en', split='train', streamin...
2023-12-21T21:25:09
2023-12-22T09:17:05
2023-12-22T09:17:05
https://github.com/huggingface/datasets/issues/6524
null
6,524
false
[ "Hello @FelixLabelle,\r\n\r\nAs you can see in the Community tab of the corresponding dataset, it is a known issue: https://huggingface.co/datasets/EleutherAI/pile/discussions/15\r\n\r\nThe data has been taken down due to reported copyright infringement.\r\n\r\nFeel free to continue the discussion there." ]
2,052,643,484
fix tests
closed
null
2023-12-21T15:36:21
2023-12-21T15:56:54
2023-12-21T15:50:38
https://github.com/huggingface/datasets/pull/6523
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6523", "html_url": "https://github.com/huggingface/datasets/pull/6523", "diff_url": "https://github.com/huggingface/datasets/pull/6523.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6523.patch", "merged_at": "2023-12-21T15:50...
6,523
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6523). 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,052,332,528
Loading HF Hub Dataset (private org repo) fails to load all features
open
### Describe the bug When pushing a `Dataset` with multiple `Features` (`input`, `output`, `tags`) to Huggingface Hub (private org repo), and later downloading the `Dataset`, only `input` and `output` load - I believe the expected behavior is for all `Features` to be loaded by default? ### Steps to reproduce the ...
2023-12-21T12:26:35
2023-12-21T13:24:31
null
https://github.com/huggingface/datasets/issues/6522
null
6,522
false
[]
2,052,229,538
The order of the splits is not preserved
closed
We had a regression and the order of the splits is not preserved. They are alphabetically sorted, instead of preserving original "train", "validation", "test" order. Check: In branch "main" ```python In [9]: dataset = load_dataset("adversarial_qa", '"adversarialQA") In [10]: dataset Out[10]: DatasetDict({ ...
2023-12-21T11:17:27
2023-12-22T11:36:15
2023-12-22T11:36:15
https://github.com/huggingface/datasets/issues/6521
null
6,521
false
[ "After investigation, I think the issue was introduced by the use of the Parquet export:\r\n- #6448\r\n\r\nI am proposing a fix.\r\n\r\nCC: @lhoestq " ]
2,052,059,078
Support commit_description parameter in push_to_hub
closed
Support `commit_description` parameter in `push_to_hub`. CC: @Wauplin
2023-12-21T09:36:11
2023-12-21T14:49:47
2023-12-21T14:43:35
https://github.com/huggingface/datasets/pull/6520
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6520", "html_url": "https://github.com/huggingface/datasets/pull/6520", "diff_url": "https://github.com/huggingface/datasets/pull/6520.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6520.patch", "merged_at": "2023-12-21T14:43...
6,520
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6520). 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,050,759,824
Support push_to_hub canonical datasets
closed
Support `push_to_hub` canonical datasets. This is necessary in the Space to convert script-datasets to Parquet: https://huggingface.co/spaces/albertvillanova/convert-dataset-to-parquet Note that before this PR, the `repo_id` "dataset_name" was transformed to "user/dataset_name". This behavior was introduced by: ...
2023-12-20T15:16:45
2023-12-21T14:48:20
2023-12-21T14:40:57
https://github.com/huggingface/datasets/pull/6519
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6519", "html_url": "https://github.com/huggingface/datasets/pull/6519", "diff_url": "https://github.com/huggingface/datasets/pull/6519.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6519.patch", "merged_at": "2023-12-21T14:40...
6,519
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6519). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "nice catch @albertvillanova ", "@huggingface/datasets this PR is ready for review.", ...
2,050,137,038
fix get_metadata_patterns function args error
closed
Bug get_metadata_patterns arg error https://github.com/huggingface/datasets/issues/6517
2023-12-20T09:06:22
2023-12-21T15:14:17
2023-12-21T15:07:57
https://github.com/huggingface/datasets/pull/6518
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6518", "html_url": "https://github.com/huggingface/datasets/pull/6518", "diff_url": "https://github.com/huggingface/datasets/pull/6518.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6518.patch", "merged_at": "2023-12-21T15:07...
6,518
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6518). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "hello!\r\n@albertvillanova \r\nThank you very much for your recognition。\r\nWhen can t...
2,050,121,588
Bug get_metadata_patterns arg error
closed
https://github.com/huggingface/datasets/blob/3f149204a2a5948287adcade5e90707aa5207a92/src/datasets/load.py#L1240C1-L1240C69 metadata_patterns = get_metadata_patterns(base_path, download_config=self.download_config)
2023-12-20T08:56:44
2023-12-22T00:24:23
2023-12-22T00:24:23
https://github.com/huggingface/datasets/issues/6517
null
6,517
false
[]
2,050,033,322
Support huggingface-hub pre-releases
closed
Support `huggingface-hub` pre-releases. This way we will have our CI green when testing `huggingface-hub` release candidates. See: https://github.com/huggingface/datasets/tree/ci-test-huggingface-hub-v0.20.0.rc1 Close #6513.
2023-12-20T07:52:29
2023-12-20T08:51:34
2023-12-20T08:44:44
https://github.com/huggingface/datasets/pull/6516
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6516", "html_url": "https://github.com/huggingface/datasets/pull/6516", "diff_url": "https://github.com/huggingface/datasets/pull/6516.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6516.patch", "merged_at": "2023-12-20T08:44...
6,516
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6516). 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,049,724,251
Why call http_head() when fsspec_head() succeeds
closed
https://github.com/huggingface/datasets/blob/a91582de288d98e94bcb5ab634ca1cfeeff544c5/src/datasets/utils/file_utils.py#L510C1-L523C14
2023-12-20T02:25:51
2023-12-26T05:35:46
2023-12-26T05:35:46
https://github.com/huggingface/datasets/issues/6515
null
6,515
false
[]
2,049,600,663
Cache backward compatibility with 2.15.0
closed
...for datasets without scripts It takes into account the changes in cache from - https://github.com/huggingface/datasets/pull/6493: switch to `config/version/commit_sha` schema - https://github.com/huggingface/datasets/pull/6454: fix `DataFilesDict` keys ordering when hashing requires https://github.com/huggin...
2023-12-19T23:52:25
2023-12-21T21:14:11
2023-12-21T21:07:55
https://github.com/huggingface/datasets/pull/6514
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6514", "html_url": "https://github.com/huggingface/datasets/pull/6514", "diff_url": "https://github.com/huggingface/datasets/pull/6514.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6514.patch", "merged_at": "2023-12-21T21:07...
6,514
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6514). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "it's hard to tell if this works as expected without a test but i guess it's not trivial...
2,048,869,151
Support huggingface-hub 0.20.0
closed
CI to test the support of `huggingface-hub` 0.20.0: https://github.com/huggingface/datasets/compare/main...ci-test-huggingface-hub-v0.20.0.rc1 We need to merge: - #6510 - #6512 - #6516
2023-12-19T15:15:46
2023-12-20T08:44:45
2023-12-20T08:44:45
https://github.com/huggingface/datasets/issues/6513
null
6,513
false
[]
2,048,795,819
Remove deprecated HfFolder
closed
...and use `huggingface_hub.get_token()` instead
2023-12-19T14:40:49
2023-12-19T20:21:13
2023-12-19T20:14:30
https://github.com/huggingface/datasets/pull/6512
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6512", "html_url": "https://github.com/huggingface/datasets/pull/6512", "diff_url": "https://github.com/huggingface/datasets/pull/6512.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6512.patch", "merged_at": "2023-12-19T20:14...
6,512
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6512). 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,048,465,958
Implement get dataset default config name
closed
Implement `get_dataset_default_config_name`. Now that we support setting a configuration as default in `push_to_hub` (see #6500), we need a programmatically way to know in advance which is the default configuration. This will be used in the Space to convert script-datasets to Parquet: https://huggingface.co/spaces/a...
2023-12-19T11:26:19
2023-12-21T14:48:57
2023-12-21T14:42:41
https://github.com/huggingface/datasets/pull/6511
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6511", "html_url": "https://github.com/huggingface/datasets/pull/6511", "diff_url": "https://github.com/huggingface/datasets/pull/6511.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6511.patch", "merged_at": "2023-12-21T14:42...
6,511
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6511). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@huggingface/datasets, this PR is ready for review.", "<details>\n<summary>Show bench...
2,046,928,742
Replace `list_files_info` with `list_repo_tree` in `push_to_hub`
closed
Starting from `huggingface_hub` 0.20.0, `list_files_info` will be deprecated in favor of `list_repo_tree` (see https://github.com/huggingface/huggingface_hub/pull/1910)
2023-12-18T15:34:19
2023-12-19T18:05:47
2023-12-19T17:58:34
https://github.com/huggingface/datasets/pull/6510
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6510", "html_url": "https://github.com/huggingface/datasets/pull/6510", "diff_url": "https://github.com/huggingface/datasets/pull/6510.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6510.patch", "merged_at": "2023-12-19T17:58...
6,510
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6510). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "CI errors are unrelated to the changes, so I'm merging.", "<details>\n<summary>Show b...
2,046,720,869
Better cast error when generating dataset
closed
I want to improve the error message for datasets like https://huggingface.co/datasets/m-a-p/COIG-CQIA Cc @albertvillanova @severo is this new error ok ? Or should I use a dedicated error class ? New: ```python Traceback (most recent call last): File "/Users/quentinlhoest/hf/datasets/src/datasets/builder.py...
2023-12-18T13:57:24
2023-12-19T09:37:12
2023-12-19T09:31:03
https://github.com/huggingface/datasets/pull/6509
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6509", "html_url": "https://github.com/huggingface/datasets/pull/6509", "diff_url": "https://github.com/huggingface/datasets/pull/6509.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6509.patch", "merged_at": "2023-12-19T09:31...
6,509
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6509). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "I created `DatatasetGenerationCastError` in `exceptions.py` that inherits from `Dataset...
2,045,733,273
Read GeoParquet files using parquet reader
closed
Let GeoParquet files with the file extension `*.geoparquet` or `*.gpq` be readable by the default parquet reader. Those two file extensions are the ones most commonly used for GeoParquet files, and is included in the `gpq` validator tool at https://github.com/planetlabs/gpq/blob/e5576b4ee7306b4d2259d56c879465a9364da...
2023-12-18T04:50:37
2024-01-26T18:22:35
2024-01-26T16:18:41
https://github.com/huggingface/datasets/pull/6508
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6508", "html_url": "https://github.com/huggingface/datasets/pull/6508", "diff_url": "https://github.com/huggingface/datasets/pull/6508.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6508.patch", "merged_at": "2024-01-26T16:18...
6,508
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6508). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Cool ! Do you mind writing a test using a geoparquet file in `tests/io/test_parquet.py`...
2,045,152,928
where is glue_metric.py> @Frankie123421 what was the resolution to this?
closed
> @Frankie123421 what was the resolution to this? use glue_metric.py instead of glue.py in load_metric _Originally posted by @Frankie123421 in https://github.com/huggingface/datasets/issues/2117#issuecomment-905093763_
2023-12-17T09:58:25
2023-12-18T11:42:49
2023-12-18T11:42:49
https://github.com/huggingface/datasets/issues/6507
null
6,507
false
[]
2,044,975,038
Incorrect test set labels for RTE and CoLA datasets via load_dataset
closed
### Describe the bug The test set labels for the RTE and CoLA datasets when loading via datasets load_dataset are all -1. Edit: It appears this is also the case for every other dataset except for MRPC (stsb, sst2, qqp, mnli (both matched and mismatched), qnli, wnli, ax). Is this intended behavior to safeguard the t...
2023-12-16T22:06:08
2023-12-21T09:57:57
2023-12-21T09:57:57
https://github.com/huggingface/datasets/issues/6506
null
6,506
false
[ "As this is a specific issue of the \"glue\" dataset, I have transferred it to the dataset Discussion page: https://huggingface.co/datasets/glue/discussions/15\r\n\r\nLet's continue the discussion there!" ]
2,044,721,288
Got stuck when I trying to load a dataset
open
### Describe the bug Hello, everyone. I met a problem when I am trying to load a data file using load_dataset method on a Debian 10 system. The data file is not very large, only 1.63MB with 600 records. Here is my code: from datasets import load_dataset dataset = load_dataset('json', data_files='mypath/oaast_r...
2023-12-16T11:51:07
2024-12-24T16:45:52
null
https://github.com/huggingface/datasets/issues/6505
null
6,505
false
[ "I ran into the same problem when I used a server cluster (Slurm system managed) that couldn't load any of the huggingface datasets or models, but it worked on my laptop. I suspected some system configuration-related problem, but I had no idea. \r\nMy problems are consistent with [issue #2618](https://github.com/hu...
2,044,541,154
Error Pushing to Hub
closed
### Describe the bug Error when trying to push a dataset in a special format to hub ### Steps to reproduce the bug ``` import datasets from datasets import Dataset dataset_dict = { "filename": ["apple", "banana"], "token": [[[1,2],[3,4]],[[1,2],[3,4]]], "label": [0, 1], } dataset = Dataset.from_d...
2023-12-16T01:05:22
2023-12-16T06:20:53
2023-12-16T06:20:53
https://github.com/huggingface/datasets/issues/6504
null
6,504
false
[]
2,043,847,591
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...
2023-12-15T14:40:57
2023-12-15T14:51:06
2023-12-15T14:44:47
https://github.com/huggingface/datasets/pull/6503
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6503", "html_url": "https://github.com/huggingface/datasets/pull/6503", "diff_url": "https://github.com/huggingface/datasets/pull/6503.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6503.patch", "merged_at": "2023-12-15T14:44...
6,503
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
Pickle support for `torch.Generator` objects
closed
Fix for https://discuss.huggingface.co/t/caching-a-dataset-processed-with-randomness/65616
2023-12-15T13:55:12
2023-12-15T15:04:33
2023-12-15T14:58:22
https://github.com/huggingface/datasets/pull/6502
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6502", "html_url": "https://github.com/huggingface/datasets/pull/6502", "diff_url": "https://github.com/huggingface/datasets/pull/6502.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6502.patch", "merged_at": "2023-12-15T14:58...
6,502
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
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...
2023-12-15T10:10:21
2025-06-27T04:27:14
null
https://github.com/huggingface/datasets/issues/6501
null
6,501
false
[ "+1\n" ]
2,043,258,633
Enable setting config as default when push_to_hub
closed
Fix #6497.
2023-12-15T09:17:41
2023-12-18T11:56:11
2023-12-18T11:50:03
https://github.com/huggingface/datasets/pull/6500
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6500", "html_url": "https://github.com/huggingface/datasets/pull/6500", "diff_url": "https://github.com/huggingface/datasets/pull/6500.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6500.patch", "merged_at": "2023-12-18T11:50...
6,500
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
docs: add reference Git over SSH
closed
see https://discuss.huggingface.co/t/update-datasets-getting-started-to-new-git-security/65893
2023-12-15T08:38:31
2023-12-15T11:48:47
2023-12-15T11:42:38
https://github.com/huggingface/datasets/pull/6499
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6499", "html_url": "https://github.com/huggingface/datasets/pull/6499", "diff_url": "https://github.com/huggingface/datasets/pull/6499.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6499.patch", "merged_at": "2023-12-15T11:42...
6,499
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
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...
2023-12-14T16:46:01
2023-12-15T13:16:56
2023-12-15T13:10:48
https://github.com/huggingface/datasets/pull/6498
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6498", "html_url": "https://github.com/huggingface/datasets/pull/6498", "diff_url": "https://github.com/huggingface/datasets/pull/6498.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6498.patch", "merged_at": "2023-12-15T13:10...
6,498
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
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.
2023-12-14T15:59:03
2023-12-18T11:50:04
2023-12-18T11:50:04
https://github.com/huggingface/datasets/issues/6497
null
6,497
false
[]
2,041,589,386
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...
2023-12-14T11:24:54
2023-12-14T12:22:21
null
https://github.com/huggingface/datasets/issues/6496
null
6,496
false
[ "I transferred from datasets-server, since the issue is more about `datasets` and the integration with `huggingface_hub`." ]
2,039,684,839
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...
2023-12-13T13:11:42
2023-12-13T13:11:42
null
https://github.com/huggingface/datasets/issues/6494
null
6,494
false
[]
2,039,708,529
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...
2023-12-12T23:07:51
2023-12-13T13:24:22
null
https://github.com/huggingface/datasets/issues/6495
null
6,495
false
[]
2,038,221,490
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...
2023-12-12T17:15:17
2023-12-21T15:19:20
2023-12-21T15:13:11
https://github.com/huggingface/datasets/pull/6493
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6493", "html_url": "https://github.com/huggingface/datasets/pull/6493", "diff_url": "https://github.com/huggingface/datasets/pull/6493.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6493.patch", "merged_at": "2023-12-21T15:13...
6,493
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
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
2023-12-12T15:18:16
2023-12-13T14:29:01
2023-12-13T14:22:41
https://github.com/huggingface/datasets/pull/6492
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6492", "html_url": "https://github.com/huggingface/datasets/pull/6492", "diff_url": "https://github.com/huggingface/datasets/pull/6492.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6492.patch", "merged_at": "2023-12-13T14:22...
6,492
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
Fix metrics dead link
closed
null
2023-12-12T12:51:49
2023-12-21T15:15:08
2023-12-21T15:08:53
https://github.com/huggingface/datasets/pull/6491
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6491", "html_url": "https://github.com/huggingface/datasets/pull/6491", "diff_url": "https://github.com/huggingface/datasets/pull/6491.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6491.patch", "merged_at": "2023-12-21T15:08...
6,491
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
`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...
2023-12-12T08:09:18
2023-12-12T08:36:22
null
https://github.com/huggingface/datasets/issues/6490
null
6,490
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
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...
2023-12-12T00:08:43
2023-12-12T00:09:27
null
https://github.com/huggingface/datasets/issues/6489
null
6,489
false
[]
2,035,899,898
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...
2023-12-11T15:06:01
2024-06-20T05:55:45
null
https://github.com/huggingface/datasets/issues/6488
null
6,488
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
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...
2023-12-11T11:09:16
2024-01-11T06:35:07
2023-12-11T11:41:34
https://github.com/huggingface/datasets/pull/6487
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6487", "html_url": "https://github.com/huggingface/datasets/pull/6487", "diff_url": "https://github.com/huggingface/datasets/pull/6487.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6487.patch", "merged_at": null }
6,487
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
Fix docs phrasing about supported formats when sharing a dataset
closed
Fix docs phrasing.
2023-12-11T09:21:22
2023-12-13T14:21:29
2023-12-13T14:15:21
https://github.com/huggingface/datasets/pull/6486
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6486", "html_url": "https://github.com/huggingface/datasets/pull/6486", "diff_url": "https://github.com/huggingface/datasets/pull/6486.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6486.patch", "merged_at": "2023-12-13T14:15...
6,486
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
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...
2023-12-11T08:52:13
2023-12-14T08:09:08
2023-12-14T08:09:08
https://github.com/huggingface/datasets/issues/6485
null
6,485
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
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...
2023-12-08T16:11:30
2023-12-08T16:27:16
2023-12-08T16:27:04
https://github.com/huggingface/datasets/issues/6483
null
6,483
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
[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...
2023-12-08T16:01:35
2023-12-11T19:13:46
null
https://github.com/huggingface/datasets/issues/6484
null
6,484
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
Fix max lock length on unix
closed
reported in https://github.com/huggingface/datasets/pull/6482
2023-12-08T13:39:30
2023-12-12T11:53:32
2023-12-12T11:47:27
https://github.com/huggingface/datasets/pull/6482
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6482", "html_url": "https://github.com/huggingface/datasets/pull/6482", "diff_url": "https://github.com/huggingface/datasets/pull/6482.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6482.patch", "merged_at": "2023-12-12T11:47...
6,482
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
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...
2023-12-08T13:22:03
2023-12-08T13:22:03
null
https://github.com/huggingface/datasets/issues/6481
null
6,481
false
[]
2,031,116,653
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',...
2023-12-07T16:31:50
2023-12-08T13:33:06
2023-12-08T13:26:54
https://github.com/huggingface/datasets/pull/6480
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6480", "html_url": "https://github.com/huggingface/datasets/pull/6480", "diff_url": "https://github.com/huggingface/datasets/pull/6480.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6480.patch", "merged_at": "2023-12-08T13:26...
6,480
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
More robust preupload retry mechanism
closed
null
2023-12-06T17:19:38
2023-12-06T19:47:29
2023-12-06T19:41:06
https://github.com/huggingface/datasets/pull/6479
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6479", "html_url": "https://github.com/huggingface/datasets/pull/6479", "diff_url": "https://github.com/huggingface/datasets/pull/6479.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6479.patch", "merged_at": "2023-12-06T19:41...
6,479
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
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
2023-12-06T09:04:11
2024-07-03T19:13:57
2024-07-03T19:13:56
https://github.com/huggingface/datasets/issues/6478
null
6,478
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
Fix PermissionError on Windows CI
closed
Fix #6476.
2023-12-06T08:34:53
2023-12-06T09:24:11
2023-12-06T09:17:52
https://github.com/huggingface/datasets/pull/6477
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6477", "html_url": "https://github.com/huggingface/datasets/pull/6477", "diff_url": "https://github.com/huggingface/datasets/pull/6477.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6477.patch", "merged_at": "2023-12-06T09:17...
6,477
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
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\...
2023-12-06T08:32:53
2023-12-06T09:17:53
2023-12-06T09:17:53
https://github.com/huggingface/datasets/issues/6476
null
6,476
false
[]
2,027,373,734
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...
2023-12-06T00:07:34
2023-12-06T23:26:23
null
https://github.com/huggingface/datasets/issues/6475
null
6,475
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
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...
2023-12-05T19:51:33
2024-03-12T14:56:25
2024-03-12T14:50:12
https://github.com/huggingface/datasets/pull/6474
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6474", "html_url": "https://github.com/huggingface/datasets/pull/6474", "diff_url": "https://github.com/huggingface/datasets/pull/6474.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6474.patch", "merged_at": "2024-03-12T14:50...
6,474
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
Fix CI quality
closed
Fix #6472.
2023-12-05T15:36:23
2023-12-05T18:14:50
2023-12-05T18:08:41
https://github.com/huggingface/datasets/pull/6473
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6473", "html_url": "https://github.com/huggingface/datasets/pull/6473", "diff_url": "https://github.com/huggingface/datasets/pull/6473.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6473.patch", "merged_at": "2023-12-05T18:08...
6,473
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
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 ```
2023-12-05T15:35:34
2023-12-06T08:17:34
2023-12-05T18:08:43
https://github.com/huggingface/datasets/issues/6472
null
6,472
false
[]
2,026,100,761
Remove delete doc CI
closed
null
2023-12-05T12:37:50
2023-12-05T12:44:59
2023-12-05T12:38:50
https://github.com/huggingface/datasets/pull/6471
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6471", "html_url": "https://github.com/huggingface/datasets/pull/6471", "diff_url": "https://github.com/huggingface/datasets/pull/6471.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6471.patch", "merged_at": "2023-12-05T12:38...
6,471
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
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...
2023-12-04T20:58:49
2023-12-04T20:58:49
null
https://github.com/huggingface/datasets/issues/6470
null
6,470
false
[]
2,023,695,839
Don't expand_info in HF glob
closed
Finally fix https://github.com/huggingface/datasets/issues/5537
2023-12-04T12:00:37
2023-12-15T13:18:37
2023-12-15T13:12:30
https://github.com/huggingface/datasets/pull/6469
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6469", "html_url": "https://github.com/huggingface/datasets/pull/6469", "diff_url": "https://github.com/huggingface/datasets/pull/6469.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6469.patch", "merged_at": "2023-12-15T13:12...
6,469
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
Use auth to get parquet export
closed
added `token` to the `_datasets_server` functions
2023-12-04T11:18:27
2023-12-04T17:21:22
2023-12-04T17:15:11
https://github.com/huggingface/datasets/pull/6468
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6468", "html_url": "https://github.com/huggingface/datasets/pull/6468", "diff_url": "https://github.com/huggingface/datasets/pull/6468.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6468.patch", "merged_at": "2023-12-04T17:15...
6,468
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
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 ...
2023-12-04T07:08:26
2023-12-04T15:42:22
2023-12-04T15:42:22
https://github.com/huggingface/datasets/issues/6467
null
6,467
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
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] ``` ...
2023-12-03T15:57:07
2024-02-15T15:19:33
2024-02-08T14:38:34
https://github.com/huggingface/datasets/issues/6466
null
6,466
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
`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...
2023-12-02T21:35:17
2024-08-20T08:32:11
null
https://github.com/huggingface/datasets/issues/6465
null
6,465
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
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'...
2023-12-01T13:13:53
2024-01-26T15:17:43
2024-01-26T15:10:26
https://github.com/huggingface/datasets/pull/6464
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6464", "html_url": "https://github.com/huggingface/datasets/pull/6464", "diff_url": "https://github.com/huggingface/datasets/pull/6464.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6464.patch", "merged_at": "2024-01-26T15:10...
6,464
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
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
2023-12-01T11:35:30
2023-12-01T12:09:09
2023-12-01T12:03:04
https://github.com/huggingface/datasets/pull/6463
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6463", "html_url": "https://github.com/huggingface/datasets/pull/6463", "diff_url": "https://github.com/huggingface/datasets/pull/6463.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6463.patch", "merged_at": "2023-12-01T12:03...
6,463
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
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
2023-11-30T18:09:43
2023-11-30T18:36:40
2023-11-30T18:30:30
https://github.com/huggingface/datasets/pull/6462
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6462", "html_url": "https://github.com/huggingface/datasets/pull/6462", "diff_url": "https://github.com/huggingface/datasets/pull/6462.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6462.patch", "merged_at": "2023-11-30T18:30...
6,462
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
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...
2023-11-30T14:57:14
2023-12-01T17:57:39
2023-12-01T17:51:33
https://github.com/huggingface/datasets/pull/6461
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6461", "html_url": "https://github.com/huggingface/datasets/pull/6461", "diff_url": "https://github.com/huggingface/datasets/pull/6461.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6461.patch", "merged_at": "2023-12-01T17:51...
6,461
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
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_...
2023-11-29T21:20:11
2023-12-29T02:58:29
2023-12-05T13:30:53
https://github.com/huggingface/datasets/issues/6460
null
6,460
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
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({ ...
2023-11-29T16:56:15
2024-03-25T13:55:42
2024-03-25T13:55:42
https://github.com/huggingface/datasets/pull/6459
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6459", "html_url": "https://github.com/huggingface/datasets/pull/6459", "diff_url": "https://github.com/huggingface/datasets/pull/6459.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6459.patch", "merged_at": null }
6,459
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
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...
2023-11-29T13:18:44
2024-02-08T14:41:35
2024-02-08T14:41:35
https://github.com/huggingface/datasets/pull/6458
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6458", "html_url": "https://github.com/huggingface/datasets/pull/6458", "diff_url": "https://github.com/huggingface/datasets/pull/6458.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6458.patch", "merged_at": null }
6,458
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
`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...
2023-11-29T01:57:36
2023-11-29T15:39:03
2023-11-29T02:02:38
https://github.com/huggingface/datasets/issues/6457
null
6,457
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
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
2023-11-28T19:47:07
2023-11-30T10:40:23
2023-11-30T10:34:12
https://github.com/huggingface/datasets/pull/6456
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6456", "html_url": "https://github.com/huggingface/datasets/pull/6456", "diff_url": "https://github.com/huggingface/datasets/pull/6456.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6456.patch", "merged_at": "2023-11-30T10:34...
6,456
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
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...
2023-11-27T20:01:25
2023-11-28T16:29:58
2023-11-28T16:29:31
https://github.com/huggingface/datasets/pull/6454
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6454", "html_url": "https://github.com/huggingface/datasets/pull/6454", "diff_url": "https://github.com/huggingface/datasets/pull/6454.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6454.patch", "merged_at": "2023-11-28T16:29...
6,454
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
Update hub-docs reference
closed
Follow up to huggingface/huggingface.js#296
2023-11-27T09:57:20
2023-11-27T10:23:44
2023-11-27T10:17:34
https://github.com/huggingface/datasets/pull/6453
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6453", "html_url": "https://github.com/huggingface/datasets/pull/6453", "diff_url": "https://github.com/huggingface/datasets/pull/6453.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6453.patch", "merged_at": "2023-11-27T10:17...
6,453
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
Praveen_repo_pull_req
closed
null
2023-11-27T07:07:50
2023-11-27T09:28:00
2023-11-27T09:28:00
https://github.com/huggingface/datasets/pull/6452
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6452", "html_url": "https://github.com/huggingface/datasets/pull/6452", "diff_url": "https://github.com/huggingface/datasets/pull/6452.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6452.patch", "merged_at": null }
6,452
true
[]
2,010,693,912
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 ...
2023-11-25T15:13:17
2023-12-01T12:53:46
2023-11-27T09:36:25
https://github.com/huggingface/datasets/issues/6451
null
6,451
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...