id
int64
599M
3.48B
number
int64
1
7.8k
title
stringlengths
1
290
state
stringclasses
2 values
comments
listlengths
0
30
created_at
timestamp[s]date
2020-04-14 10:18:02
2025-10-05 06:37:50
updated_at
timestamp[s]date
2020-04-27 16:04:17
2025-10-05 10:32:43
closed_at
timestamp[s]date
2020-04-14 12:01:40
2025-10-01 13:56:03
body
stringlengths
0
228k
user
stringlengths
3
26
html_url
stringlengths
46
51
pull_request
dict
is_pull_request
bool
2 classes
2,063,157,187
6,552
Loading a dataset from Google Colab hangs at "Resolving data files".
closed
[ "This bug comes from the `huggingface_hub` library, see: https://github.com/huggingface/huggingface_hub/issues/1952\r\n\r\nA fix is provided at https://github.com/huggingface/huggingface_hub/pull/1953. Feel free to install `huggingface_hub` from this PR, or wait for it to be merged and the new version of `huggingfa...
2024-01-03T02:18:17
2024-01-08T10:09:04
2024-01-08T10:09:04
### Describe the bug Hello, I'm trying to load a dataset from Google Colab but the process hangs at `Resolving data files`: ![image](https://github.com/huggingface/datasets/assets/99779/7175ad85-e571-46ed-9f87-92653985777d) It is happening when the `_get_origin_metadata` definition is invoked: ```python d...
KelSolaar
https://github.com/huggingface/datasets/issues/6552
null
false
2,062,768,400
6,551
Fix parallel downloads for datasets without scripts
closed
[ "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>...
2024-01-02T18:06:18
2024-01-06T20:14:57
2024-01-03T13:19:48
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...
lhoestq
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...
true
2,062,556,493
6,550
Multi gpu docs
closed
[ "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...
2024-01-02T15:11:58
2024-01-31T13:45:15
2024-01-31T13:38:59
after discussions in https://github.com/huggingface/datasets/pull/6415
lhoestq
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...
true
2,062,420,259
6,549
Loading from hf hub with clearer error message
open
[ "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 ...
2024-01-02T13:26:34
2024-01-02T14:06:49
null
### 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...
thomwolf
https://github.com/huggingface/datasets/issues/6549
null
false
2,061,047,984
6,548
Skip if a dataset has issues
open
[ "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." ]
2023-12-31T12:41:26
2024-01-02T10:33:17
null
### 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...
hadianasliwa
https://github.com/huggingface/datasets/issues/6548
null
false
2,060,796,927
6,547
set dev version
closed
[ "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>...
2023-12-30T16:47:17
2023-12-30T16:53:38
2023-12-30T16:47:27
null
lhoestq
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...
true
2,060,796,369
6,546
Release: 2.16.1
closed
[ "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>...
2023-12-30T16:44:51
2023-12-30T16:52:07
2023-12-30T16:45:52
null
lhoestq
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...
true
2,060,789,507
6,545
`image` column not automatically inferred if image dataset only contains 1 image
closed
[]
2023-12-30T16:17:29
2024-01-09T13:06:31
2024-01-09T13:06:31
### 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...
apolinario
https://github.com/huggingface/datasets/issues/6545
null
false
2,060,782,594
6,544
Fix custom configs from script
closed
[ "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>...
2023-12-30T15:51:25
2024-01-02T11:02:39
2023-12-30T16:09:49
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
lhoestq
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...
true
2,060,776,174
6,543
Fix dl_manager.extract returning FileNotFoundError
closed
[ "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>...
2023-12-30T15:24:50
2023-12-30T16:00:06
2023-12-30T15:53:59
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
lhoestq
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...
true
2,059,198,575
6,542
Datasets : wikipedia 20220301.en error
closed
[ "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 ...
2023-12-29T08:34:51
2024-01-02T13:21:06
2024-01-02T13:20:30
### 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...
ppx666
https://github.com/huggingface/datasets/issues/6542
null
false
2,058,983,826
6,541
Dataset not loading successfully.
closed
[ "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...
2023-12-29T01:35:47
2024-01-17T00:40:46
2024-01-17T00:40:45
### 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 ...
hisushanta
https://github.com/huggingface/datasets/issues/6541
null
false
2,058,965,157
6,540
Extreme inefficiency for `save_to_disk` when merging datasets
open
[ "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 ?" ]
2023-12-29T00:44:35
2023-12-30T15:05:48
null
### 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! ###...
KatarinaYuan
https://github.com/huggingface/datasets/issues/6540
null
false
2,058,493,960
6,539
'Repo card metadata block was not found' when loading a pragmeval dataset
open
[]
2023-12-28T14:18:25
2023-12-28T14:18:37
null
### 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...
lambdaofgod
https://github.com/huggingface/datasets/issues/6539
null
false
2,057,377,630
6,538
ImportError: cannot import name 'SchemaInferenceError' from 'datasets.arrow_writer' (/opt/conda/lib/python3.10/site-packages/datasets/arrow_writer.py)
closed
[ "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...
2023-12-27T13:31:16
2024-01-03T10:06:47
2024-01-03T10:04:58
### 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, ...
Sonali-Behera-TRT
https://github.com/huggingface/datasets/issues/6538
null
false
2,057,132,173
6,537
Adding support for netCDF (*.nc) files
open
[ "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." ]
2023-12-27T09:27:29
2023-12-27T20:46:53
null
### 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...
shermansiu
https://github.com/huggingface/datasets/issues/6537
null
false
2,056,863,239
6,536
datasets.load_dataset raises FileNotFoundError for datasets==2.16.0
closed
[ "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```" ]
2023-12-27T03:15:48
2023-12-30T18:58:04
2023-12-30T15:54:00
### 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...
ArvinZhuang
https://github.com/huggingface/datasets/issues/6536
null
false
2,056,264,339
6,535
IndexError: Invalid key: 47682 is out of bounds for size 0 while using PEFT
open
[ "@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 `...
2023-12-26T10:14:33
2024-02-05T08:42:31
null
### 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...
MahavirDabas18
https://github.com/huggingface/datasets/issues/6535
null
false
2,056,002,548
6,534
How to configure multiple folders in the same zip package
open
[ "@albertvillanova" ]
2023-12-26T03:56:20
2023-12-26T06:31:16
null
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
d710055071
https://github.com/huggingface/datasets/issues/6534
null
false
2,055,929,101
6,533
ted_talks_iwslt | Error: Config name is missing
closed
[ "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```" ]
2023-12-26T00:38:18
2023-12-30T18:58:21
2023-12-30T16:09:50
### 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...
rayliuca
https://github.com/huggingface/datasets/issues/6533
null
false
2,055,631,201
6,532
[Feature request] Indexing datasets by a customly-defined id field to enable random access dataset items via the id
open
[ "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>...
2023-12-25T11:37:10
2025-05-05T13:25:24
null
### 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...
Yu-Shi
https://github.com/huggingface/datasets/issues/6532
null
false
2,055,201,605
6,531
Add polars compatibility
closed
[ "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...
2023-12-24T20:03:23
2024-03-08T19:29:25
2024-03-08T15:22:58
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_...
psmyth94
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...
true
2,054,817,609
6,530
Impossible to save a mapped dataset to disk
open
[ "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...
2023-12-23T15:18:27
2023-12-24T09:40:30
null
### 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...
kopyl
https://github.com/huggingface/datasets/issues/6530
null
false
2,054,209,449
6,529
Impossible to only download a test split
open
[ "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...
2023-12-22T16:56:32
2024-02-02T00:05:04
null
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...
ysig
https://github.com/huggingface/datasets/issues/6529
null
false
2,053,996,494
6,528
set dev version
closed
[ "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>...
2023-12-22T14:23:18
2023-12-22T14:31:42
2023-12-22T14:25:34
null
lhoestq
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...
true
2,053,966,748
6,527
Release: 2.16.0
closed
[ "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>...
2023-12-22T13:59:56
2023-12-22T14:24:12
2023-12-22T14:17:55
null
lhoestq
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...
true
2,053,726,451
6,526
Preserve order of configs and splits when using Parquet exports
closed
[ "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>...
2023-12-22T10:35:56
2023-12-22T11:42:22
2023-12-22T11:36:14
Preserve order of configs and splits, as defined in dataset infos. Fix #6521.
albertvillanova
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...
true
2,053,119,357
6,525
BBox type
closed
[ "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" ]
2023-12-21T22:13:27
2024-01-11T06:34:51
2023-12-21T22:39:27
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_...
lhoestq
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 }
true
2,053,076,311
6,524
Streaming the Pile: Missing Files
closed
[ "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." ]
2023-12-21T21:25:09
2023-12-22T09:17:05
2023-12-22T09:17:05
### 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...
FelixLabelle
https://github.com/huggingface/datasets/issues/6524
null
false
2,052,643,484
6,523
fix tests
closed
[ "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>...
2023-12-21T15:36:21
2023-12-21T15:56:54
2023-12-21T15:50:38
null
lhoestq
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...
true
2,052,332,528
6,522
Loading HF Hub Dataset (private org repo) fails to load all features
open
[]
2023-12-21T12:26:35
2023-12-21T13:24:31
null
### 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 ...
versipellis
https://github.com/huggingface/datasets/issues/6522
null
false
2,052,229,538
6,521
The order of the splits is not preserved
closed
[ "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 " ]
2023-12-21T11:17:27
2023-12-22T11:36:15
2023-12-22T11:36:15
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({ ...
albertvillanova
https://github.com/huggingface/datasets/issues/6521
null
false
2,052,059,078
6,520
Support commit_description parameter in push_to_hub
closed
[ "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>...
2023-12-21T09:36:11
2023-12-21T14:49:47
2023-12-21T14:43:35
Support `commit_description` parameter in `push_to_hub`. CC: @Wauplin
albertvillanova
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...
true
2,050,759,824
6,519
Support push_to_hub canonical datasets
closed
[ "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.", ...
2023-12-20T15:16:45
2023-12-21T14:48:20
2023-12-21T14:40:57
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: ...
albertvillanova
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...
true
2,050,137,038
6,518
fix get_metadata_patterns function args error
closed
[ "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...
2023-12-20T09:06:22
2023-12-21T15:14:17
2023-12-21T15:07:57
Bug get_metadata_patterns arg error https://github.com/huggingface/datasets/issues/6517
d710055071
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...
true
2,050,121,588
6,517
Bug get_metadata_patterns arg error
closed
[]
2023-12-20T08:56:44
2023-12-22T00:24:23
2023-12-22T00:24:23
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)
d710055071
https://github.com/huggingface/datasets/issues/6517
null
false
2,050,033,322
6,516
Support huggingface-hub pre-releases
closed
[ "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>...
2023-12-20T07:52:29
2023-12-20T08:51:34
2023-12-20T08:44:44
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.
albertvillanova
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...
true
2,049,724,251
6,515
Why call http_head() when fsspec_head() succeeds
closed
[]
2023-12-20T02:25:51
2023-12-26T05:35:46
2023-12-26T05:35:46
https://github.com/huggingface/datasets/blob/a91582de288d98e94bcb5ab634ca1cfeeff544c5/src/datasets/utils/file_utils.py#L510C1-L523C14
d710055071
https://github.com/huggingface/datasets/issues/6515
null
false
2,049,600,663
6,514
Cache backward compatibility with 2.15.0
closed
[ "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...
2023-12-19T23:52:25
2023-12-21T21:14:11
2023-12-21T21:07:55
...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...
lhoestq
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...
true
2,048,869,151
6,513
Support huggingface-hub 0.20.0
closed
[]
2023-12-19T15:15:46
2023-12-20T08:44:45
2023-12-20T08:44:45
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
albertvillanova
https://github.com/huggingface/datasets/issues/6513
null
false
2,048,795,819
6,512
Remove deprecated HfFolder
closed
[ "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>...
2023-12-19T14:40:49
2023-12-19T20:21:13
2023-12-19T20:14:30
...and use `huggingface_hub.get_token()` instead
lhoestq
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...
true
2,048,465,958
6,511
Implement get dataset default config name
closed
[ "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...
2023-12-19T11:26:19
2023-12-21T14:48:57
2023-12-21T14:42:41
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...
albertvillanova
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...
true
2,046,928,742
6,510
Replace `list_files_info` with `list_repo_tree` in `push_to_hub`
closed
[ "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...
2023-12-18T15:34:19
2023-12-19T18:05:47
2023-12-19T17:58:34
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)
mariosasko
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...
true
2,046,720,869
6,509
Better cast error when generating dataset
closed
[ "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...
2023-12-18T13:57:24
2023-12-19T09:37:12
2023-12-19T09:31:03
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...
lhoestq
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...
true
2,045,733,273
6,508
Read GeoParquet files using parquet reader
closed
[ "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`...
2023-12-18T04:50:37
2024-01-26T18:22:35
2024-01-26T16:18:41
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...
weiji14
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...
true
2,045,152,928
6,507
where is glue_metric.py> @Frankie123421 what was the resolution to this?
closed
[]
2023-12-17T09:58:25
2023-12-18T11:42:49
2023-12-18T11:42:49
> @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_
Mcccccc1024
https://github.com/huggingface/datasets/issues/6507
null
false
2,044,975,038
6,506
Incorrect test set labels for RTE and CoLA datasets via load_dataset
closed
[ "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!" ]
2023-12-16T22:06:08
2023-12-21T09:57:57
2023-12-21T09:57:57
### 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...
emreonal11
https://github.com/huggingface/datasets/issues/6506
null
false
2,044,721,288
6,505
Got stuck when I trying to load a dataset
open
[ "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...
2023-12-16T11:51:07
2024-12-24T16:45:52
null
### 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...
yirenpingsheng
https://github.com/huggingface/datasets/issues/6505
null
false
2,044,541,154
6,504
Error Pushing to Hub
closed
[]
2023-12-16T01:05:22
2023-12-16T06:20:53
2023-12-16T06:20:53
### 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...
Jiayi-Pan
https://github.com/huggingface/datasets/issues/6504
null
false
2,043,847,591
6,503
Fix streaming xnli
closed
[ "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>...
2023-12-15T14:40:57
2023-12-15T14:51:06
2023-12-15T14:44:47
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...
lhoestq
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...
true
2,043,771,731
6,502
Pickle support for `torch.Generator` objects
closed
[ "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>...
2023-12-15T13:55:12
2023-12-15T15:04:33
2023-12-15T14:58:22
Fix for https://discuss.huggingface.co/t/caching-a-dataset-processed-with-randomness/65616
mariosasko
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...
true
2,043,377,240
6,501
OverflowError: value too large to convert to int32_t
open
[ "+1\n" ]
2023-12-15T10:10:21
2025-06-27T04:27:14
null
### 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...
zhangfan-algo
https://github.com/huggingface/datasets/issues/6501
null
false
2,043,258,633
6,500
Enable setting config as default when push_to_hub
closed
[ "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 ...
2023-12-15T09:17:41
2023-12-18T11:56:11
2023-12-18T11:50:03
Fix #6497.
albertvillanova
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...
true
2,043,166,976
6,499
docs: add reference Git over SSH
closed
[ "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>...
2023-12-15T08:38:31
2023-12-15T11:48:47
2023-12-15T11:42:38
see https://discuss.huggingface.co/t/update-datasets-getting-started-to-new-git-security/65893
severo
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...
true
2,042,075,969
6,498
Fallback on dataset script if user wants to load default config
closed
[ "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...
2023-12-14T16:46:01
2023-12-15T13:16:56
2023-12-15T13:10:48
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...
lhoestq
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...
true
2,041,994,274
6,497
Support setting a default config name in push_to_hub
closed
[]
2023-12-14T15:59:03
2023-12-18T11:50:04
2023-12-18T11:50:04
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.
albertvillanova
https://github.com/huggingface/datasets/issues/6497
null
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
[ "I transferred from datasets-server, since the issue is more about `datasets` and the integration with `huggingface_hub`." ]
2023-12-14T11:24:54
2023-12-14T12:22:21
null
**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...
GeorgesLorre
https://github.com/huggingface/datasets/issues/6496
null
false
2,039,684,839
6,494
Image Data loaded Twice
open
[]
2023-12-13T13:11:42
2023-12-13T13:11:42
null
### 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...
ArcaneLex
https://github.com/huggingface/datasets/issues/6494
null
false
2,039,708,529
6,495
Newline characters don't behave as expected when calling dataset.info
open
[]
2023-12-12T23:07:51
2023-12-13T13:24:22
null
### 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...
gerald-wrona
https://github.com/huggingface/datasets/issues/6495
null
false
2,038,221,490
6,493
Lazy data files resolution and offline cache reload
closed
[ "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...
2023-12-12T17:15:17
2023-12-21T15:19:20
2023-12-21T15:13:11
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...
lhoestq
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...
true
2,037,987,267
6,492
Make push_to_hub return CommitInfo
closed
[ "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...
2023-12-12T15:18:16
2023-12-13T14:29:01
2023-12-13T14:22:41
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
albertvillanova
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...
true
2,037,690,643
6,491
Fix metrics dead link
closed
[ "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>...
2023-12-12T12:51:49
2023-12-21T15:15:08
2023-12-21T15:08:53
null
qgallouedec
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...
true
2,037,204,892
6,490
`load_dataset(...,save_infos=True)` not working without loading script
open
[ "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_...
2023-12-12T08:09:18
2023-12-12T08:36:22
null
### 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...
morganveyret
https://github.com/huggingface/datasets/issues/6490
null
false
2,036,743,777
6,489
load_dataset imageflder for aws s3 path
open
[]
2023-12-12T00:08:43
2023-12-12T00:09:27
null
### 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...
segalinc
https://github.com/huggingface/datasets/issues/6489
null
false
2,035,899,898
6,488
429 Client Error
open
[ "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```" ]
2023-12-11T15:06:01
2024-06-20T05:55:45
null
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...
sasaadi
https://github.com/huggingface/datasets/issues/6488
null
false
2,035,424,254
6,487
Update builder hash with info
closed
[ "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/...
2023-12-11T11:09:16
2024-01-11T06:35:07
2023-12-11T11:41:34
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...
lhoestq
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 }
true
2,035,206,206
6,486
Fix docs phrasing about supported formats when sharing a dataset
closed
[ "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>...
2023-12-11T09:21:22
2023-12-13T14:21:29
2023-12-13T14:15:21
Fix docs phrasing.
albertvillanova
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...
true
2,035,141,884
6,485
FileNotFoundError: [Errno 2] No such file or directory: 'nul'
closed
[ "Hi! It seems like the problem is your environment. Maybe this issue can help: https://github.com/pytest-dev/pytest/issues/9519. " ]
2023-12-11T08:52:13
2023-12-14T08:09:08
2023-12-14T08:09:08
### 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...
amanyara
https://github.com/huggingface/datasets/issues/6485
null
false
2,032,946,981
6,483
Iterable Dataset: rename column clashes with remove column
closed
[ "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\...
2023-12-08T16:11:30
2023-12-08T16:27:16
2023-12-08T16:27:04
### 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...
sanchit-gandhi
https://github.com/huggingface/datasets/issues/6483
null
false
2,033,333,294
6,484
[Feature Request] Dataset versioning
open
[ "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...
2023-12-08T16:01:35
2023-12-11T19:13:46
null
**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...
kenfus
https://github.com/huggingface/datasets/issues/6484
null
false
2,032,675,918
6,482
Fix max lock length on unix
closed
[ "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...
2023-12-08T13:39:30
2023-12-12T11:53:32
2023-12-12T11:47:27
reported in https://github.com/huggingface/datasets/pull/6482
lhoestq
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...
true
2,032,650,003
6,481
using torchrun, save_to_disk suddenly shows SIGTERM
open
[]
2023-12-08T13:22:03
2023-12-08T13:22:03
null
### 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...
Ariya12138
https://github.com/huggingface/datasets/issues/6481
null
false
2,031,116,653
6,480
Add IterableDataset `__repr__`
closed
[ "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>...
2023-12-07T16:31:50
2023-12-08T13:33:06
2023-12-08T13:26:54
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',...
lhoestq
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...
true
2,029,040,121
6,479
More robust preupload retry mechanism
closed
[ "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>...
2023-12-06T17:19:38
2023-12-06T19:47:29
2023-12-06T19:41:06
null
mariosasko
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...
true
2,028,071,596
6,478
How to load data from lakefs
closed
[ "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 ...
2023-12-06T09:04:11
2024-07-03T19:13:57
2024-07-03T19:13:56
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
d710055071
https://github.com/huggingface/datasets/issues/6478
null
false
2,028,022,374
6,477
Fix PermissionError on Windows CI
closed
[ "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>...
2023-12-06T08:34:53
2023-12-06T09:24:11
2023-12-06T09:17:52
Fix #6476.
albertvillanova
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...
true
2,028,018,596
6,476
CI on windows is broken: PermissionError
closed
[]
2023-12-06T08:32:53
2023-12-06T09:17:53
2023-12-06T09:17:53
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\...
albertvillanova
https://github.com/huggingface/datasets/issues/6476
null
false
2,027,373,734
6,475
laion2B-en failed to load on Windows with PrefetchVirtualMemory failed
open
[ "~~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 -...
2023-12-06T00:07:34
2023-12-06T23:26:23
null
### 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...
doctorpangloss
https://github.com/huggingface/datasets/issues/6475
null
false
2,027,006,715
6,474
Deprecate Beam API and download from HF GCS bucket
closed
[ "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>...
2023-12-05T19:51:33
2024-03-12T14:56:25
2024-03-12T14:50:12
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...
mariosasko
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...
true
2,026,495,084
6,473
Fix CI quality
closed
[ "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...
2023-12-05T15:36:23
2023-12-05T18:14:50
2023-12-05T18:08:41
Fix #6472.
albertvillanova
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...
true
2,026,493,439
6,472
CI quality is broken
closed
[]
2023-12-05T15:35:34
2023-12-06T08:17:34
2023-12-05T18:08:43
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 ```
albertvillanova
https://github.com/huggingface/datasets/issues/6472
null
false
2,026,100,761
6,471
Remove delete doc CI
closed
[ "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...
2023-12-05T12:37:50
2023-12-05T12:44:59
2023-12-05T12:38:50
null
lhoestq
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...
true
2,024,724,319
6,470
If an image in a dataset is corrupted, we get unescapable error
open
[]
2023-12-04T20:58:49
2023-12-04T20:58:49
null
### 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...
chigozienri
https://github.com/huggingface/datasets/issues/6470
null
false
2,023,695,839
6,469
Don't expand_info in HF glob
closed
[ "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...
2023-12-04T12:00:37
2023-12-15T13:18:37
2023-12-15T13:12:30
Finally fix https://github.com/huggingface/datasets/issues/5537
lhoestq
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...
true
2,023,617,877
6,468
Use auth to get parquet export
closed
[ "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...
2023-12-04T11:18:27
2023-12-04T17:21:22
2023-12-04T17:15:11
added `token` to the `_datasets_server` functions
lhoestq
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...
true
2,023,174,233
6,467
New version release request
closed
[ "We will publish it soon (we usually do it in intervals of 1-2 months, so probably next week)", "Thanks!" ]
2023-12-04T07:08:26
2023-12-04T15:42:22
2023-12-04T15:42:22
### 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 ...
LZHgrla
https://github.com/huggingface/datasets/issues/6467
null
false
2,022,601,176
6,466
Can't align optional features of struct
closed
[ "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...
2023-12-03T15:57:07
2024-02-15T15:19:33
2024-02-08T14:38:34
### 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] ``` ...
Dref360
https://github.com/huggingface/datasets/issues/6466
null
false
2,022,212,468
6,465
`load_dataset` uses out-of-date cache instead of re-downloading a changed dataset
open
[ "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." ]
2023-12-02T21:35:17
2024-08-20T08:32:11
null
### 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...
mnoukhov
https://github.com/huggingface/datasets/issues/6465
null
false
2,020,860,462
6,464
Add concurrent loading of shards to datasets.load_from_disk
closed
[ "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 ...
2023-12-01T13:13:53
2024-01-26T15:17:43
2024-01-26T15:10:26
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'...
kkoutini
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...
true
2,020,702,967
6,463
Disable benchmarks in PRs
closed
[ "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...
2023-12-01T11:35:30
2023-12-01T12:09:09
2023-12-01T12:03:04
In order to keep PR pages less spammy / more readable. Having the benchmarks on commits on `main` is enough imo
lhoestq
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...
true
2,019,238,388
6,462
Missing DatasetNotFoundError
closed
[ "<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...
2023-11-30T18:09:43
2023-11-30T18:36:40
2023-11-30T18:30:30
continuation of https://github.com/huggingface/datasets/pull/6431 this should fix the CI in https://github.com/huggingface/datasets/pull/6458 too
lhoestq
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...
true
2,018,850,731
6,461
Fix shard retry mechanism in `push_to_hub`
closed
[ "@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 ...
2023-11-30T14:57:14
2023-12-01T17:57:39
2023-12-01T17:51:33
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...
mariosasko
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...
true
2,017,433,899
6,460
jsonlines files don't load with `load_dataset`
closed
[ "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---------------------------------------------------------------------------\...
2023-11-29T21:20:11
2023-12-29T02:58:29
2023-12-05T13:30:53
### 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_...
serenalotreck
https://github.com/huggingface/datasets/issues/6460
null
false
2,017,029,380
6,459
Retrieve cached datasets that were pushed to hub when offline
closed
[ "<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...
2023-11-29T16:56:15
2024-03-25T13:55:42
2024-03-25T13:55:42
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({ ...
lhoestq
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 }
true
2,016,577,761
6,458
Lazy data files resolution
closed
[ "<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...
2023-11-29T13:18:44
2024-02-08T14:41:35
2024-02-08T14:41:35
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...
lhoestq
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 }
true
2,015,650,563
6,457
`TypeError`: huggingface_hub.hf_file_system.HfFileSystem.find() got multiple values for keyword argument 'maxdepth'
closed
[ "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...
2023-11-29T01:57:36
2023-11-29T15:39:03
2023-11-29T02:02:38
### 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...
wasertech
https://github.com/huggingface/datasets/issues/6457
null
false
2,015,186,090
6,456
Don't require trust_remote_code in inspect_dataset
closed
[ "_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...
2023-11-28T19:47:07
2023-11-30T10:40:23
2023-11-30T10:34:12
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
lhoestq
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...
true
2,013,001,584
6,454
Refactor `dill` logic
closed
[ "<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...
2023-11-27T20:01:25
2023-11-28T16:29:58
2023-11-28T16:29:31
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...
mariosasko
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...
true
2,011,907,787
6,453
Update hub-docs reference
closed
[ "_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...
2023-11-27T09:57:20
2023-11-27T10:23:44
2023-11-27T10:17:34
Follow up to huggingface/huggingface.js#296
mishig25
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...
true
2,011,632,708
6,452
Praveen_repo_pull_req
closed
[]
2023-11-27T07:07:50
2023-11-27T09:28:00
2023-11-27T09:28:00
null
Praveenhh
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 }
true