url
stringlengths
58
61
number
int64
1
8.23k
title
stringlengths
1
290
body
stringlengths
0
228k
state
stringclasses
2 values
created_at
timestamp[s]date
2020-04-14 10:18:02
2026-05-30 09:38:59
comments_url
stringlengths
67
70
pull_request
dict
is_pull_request
bool
2 classes
text
stringlengths
2
228k
comments
listlengths
0
30
https://api.github.com/repos/huggingface/datasets/issues/6550
6,550
Multi gpu docs
after discussions in https://github.com/huggingface/datasets/pull/6415
closed
2024-01-02T15:11:58
https://api.github.com/repos/huggingface/datasets/issues/6550/comments
{ "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
Multi gpu docs after discussions in https://github.com/huggingface/datasets/pull/6415
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6549
6,549
Loading from hf hub with clearer error message
### 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...
open
2024-01-02T13:26:34
https://api.github.com/repos/huggingface/datasets/issues/6549/comments
null
false
Loading from hf hub with clearer error message ### 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...
[ "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 ...
https://api.github.com/repos/huggingface/datasets/issues/6548
6,548
Skip if a dataset has issues
### 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...
open
2023-12-31T12:41:26
https://api.github.com/repos/huggingface/datasets/issues/6548/comments
null
false
Skip if a dataset has issues ### 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/wikiped...
[ "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." ]
https://api.github.com/repos/huggingface/datasets/issues/6547
6,547
set dev version
null
closed
2023-12-30T16:47:17
https://api.github.com/repos/huggingface/datasets/issues/6547/comments
{ "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
set dev version
[ "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>...
https://api.github.com/repos/huggingface/datasets/issues/6546
6,546
Release: 2.16.1
null
closed
2023-12-30T16:44:51
https://api.github.com/repos/huggingface/datasets/issues/6546/comments
{ "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
Release: 2.16.1
[ "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>...
https://api.github.com/repos/huggingface/datasets/issues/6545
6,545
`image` column not automatically inferred if image dataset only contains 1 image
### 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...
closed
2023-12-30T16:17:29
https://api.github.com/repos/huggingface/datasets/issues/6545/comments
null
false
`image` column not automatically inferred if image dataset only contains 1 image ### 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 ...
[]
https://api.github.com/repos/huggingface/datasets/issues/6544
6,544
Fix custom configs from script
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
closed
2023-12-30T15:51:25
https://api.github.com/repos/huggingface/datasets/issues/6544/comments
{ "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
Fix custom configs from script 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
[ "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>...
https://api.github.com/repos/huggingface/datasets/issues/6543
6,543
Fix dl_manager.extract returning FileNotFoundError
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
closed
2023-12-30T15:24:50
https://api.github.com/repos/huggingface/datasets/issues/6543/comments
{ "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
Fix dl_manager.extract returning FileNotFoundError 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
[ "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>...
https://api.github.com/repos/huggingface/datasets/issues/6542
6,542
Datasets : wikipedia 20220301.en error
### 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...
closed
2023-12-29T08:34:51
https://api.github.com/repos/huggingface/datasets/issues/6542/comments
null
false
Datasets : wikipedia 20220301.en error ### 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", "...
[ "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 ...
https://api.github.com/repos/huggingface/datasets/issues/6541
6,541
Dataset not loading successfully.
### 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 ...
closed
2023-12-29T01:35:47
https://api.github.com/repos/huggingface/datasets/issues/6541/comments
null
false
Dataset not loading successfully. ### 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 r...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6540
6,540
Extreme inefficiency for `save_to_disk` when merging datasets
### 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! ###...
open
2023-12-29T00:44:35
https://api.github.com/repos/huggingface/datasets/issues/6540/comments
null
false
Extreme inefficiency for `save_to_disk` when merging datasets ### 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 a...
[ "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 ?" ]
https://api.github.com/repos/huggingface/datasets/issues/6539
6,539
'Repo card metadata block was not found' when loading a pragmeval dataset
### 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...
open
2023-12-28T14:18:25
https://api.github.com/repos/huggingface/datasets/issues/6539/comments
null
false
'Repo card metadata block was not found' when loading a pragmeval dataset ### 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 ...
[]
https://api.github.com/repos/huggingface/datasets/issues/6538
6,538
ImportError: cannot import name 'SchemaInferenceError' from 'datasets.arrow_writer' (/opt/conda/lib/python3.10/site-packages/datasets/arrow_writer.py)
### 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, ...
closed
2023-12-27T13:31:16
https://api.github.com/repos/huggingface/datasets/issues/6538/comments
null
false
ImportError: cannot import name 'SchemaInferenceError' from 'datasets.arrow_writer' (/opt/conda/lib/python3.10/site-packages/datasets/arrow_writer.py) ### Describe the bug While importing from packages getting the error Code: ``` import os import torch from datasets import load_dataset, Dataset from transfor...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6537
6,537
Adding support for netCDF (*.nc) files
### 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...
open
2023-12-27T09:27:29
https://api.github.com/repos/huggingface/datasets/issues/6537/comments
null
false
Adding support for netCDF (*.nc) files ### 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 uploadin...
[ "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." ]
https://api.github.com/repos/huggingface/datasets/issues/6536
6,536
datasets.load_dataset raises FileNotFoundError for datasets==2.16.0
### 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...
closed
2023-12-27T03:15:48
https://api.github.com/repos/huggingface/datasets/issues/6536/comments
null
false
datasets.load_dataset raises FileNotFoundError for datasets==2.16.0 ### 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 dat...
[ "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```" ]
https://api.github.com/repos/huggingface/datasets/issues/6535
6,535
IndexError: Invalid key: 47682 is out of bounds for size 0 while using PEFT
### 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...
open
2023-12-26T10:14:33
https://api.github.com/repos/huggingface/datasets/issues/6535/comments
null
false
IndexError: Invalid key: 47682 is out of bounds for size 0 while using PEFT ### 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 g...
[ "@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 `...
https://api.github.com/repos/huggingface/datasets/issues/6534
6,534
How to configure multiple folders in the same zip package
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
open
2023-12-26T03:56:20
https://api.github.com/repos/huggingface/datasets/issues/6534/comments
null
false
How to configure multiple folders in the same zip package 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
[ "@albertvillanova" ]
https://api.github.com/repos/huggingface/datasets/issues/6533
6,533
ted_talks_iwslt | Error: Config name is missing
### 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...
closed
2023-12-26T00:38:18
https://api.github.com/repos/huggingface/datasets/issues/6533/comments
null
false
ted_talks_iwslt | Error: Config name is missing ### 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 ...
[ "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```" ]
https://api.github.com/repos/huggingface/datasets/issues/6532
6,532
[Feature request] Indexing datasets by a customly-defined id field to enable random access dataset items via the id
### 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...
open
2023-12-25T11:37:10
https://api.github.com/repos/huggingface/datasets/issues/6532/comments
null
false
[Feature request] Indexing datasets by a customly-defined id field to enable random access dataset items via the id ### 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/dbp...
[ "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>...
https://api.github.com/repos/huggingface/datasets/issues/6531
6,531
Add polars compatibility
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_...
closed
2023-12-24T20:03:23
https://api.github.com/repos/huggingface/datasets/issues/6531/comments
{ "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
Add polars compatibility 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")`...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6530
6,530
Impossible to save a mapped dataset to disk
### 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...
open
2023-12-23T15:18:27
https://api.github.com/repos/huggingface/datasets/issues/6530/comments
null
false
Impossible to save a mapped dataset to disk ### 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_...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6529
6,529
Impossible to only download a test split
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...
open
2023-12-22T16:56:32
https://api.github.com/repos/huggingface/datasets/issues/6529/comments
null
false
Impossible to only download a test split 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 ...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6528
6,528
set dev version
null
closed
2023-12-22T14:23:18
https://api.github.com/repos/huggingface/datasets/issues/6528/comments
{ "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
set dev version
[ "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>...
https://api.github.com/repos/huggingface/datasets/issues/6527
6,527
Release: 2.16.0
null
closed
2023-12-22T13:59:56
https://api.github.com/repos/huggingface/datasets/issues/6527/comments
{ "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
Release: 2.16.0
[ "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>...
https://api.github.com/repos/huggingface/datasets/issues/6526
6,526
Preserve order of configs and splits when using Parquet exports
Preserve order of configs and splits, as defined in dataset infos. Fix #6521.
closed
2023-12-22T10:35:56
https://api.github.com/repos/huggingface/datasets/issues/6526/comments
{ "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
Preserve order of configs and splits when using Parquet exports Preserve order of configs and splits, as defined in dataset infos. Fix #6521.
[ "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>...
https://api.github.com/repos/huggingface/datasets/issues/6525
6,525
BBox type
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_...
closed
2023-12-21T22:13:27
https://api.github.com/repos/huggingface/datasets/issues/6525/comments
{ "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
BBox type 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 >>> ...
[ "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" ]
https://api.github.com/repos/huggingface/datasets/issues/6524
6,524
Streaming the Pile: Missing Files
### 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...
closed
2023-12-21T21:25:09
https://api.github.com/repos/huggingface/datasets/issues/6524/comments
null
false
Streaming the Pile: Missing Files ### 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/pi...
[ "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.", "Gener...
https://api.github.com/repos/huggingface/datasets/issues/6523
6,523
fix tests
null
closed
2023-12-21T15:36:21
https://api.github.com/repos/huggingface/datasets/issues/6523/comments
{ "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
fix tests
[ "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>...
https://api.github.com/repos/huggingface/datasets/issues/6522
6,522
Loading HF Hub Dataset (private org repo) fails to load all features
### 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 ...
open
2023-12-21T12:26:35
https://api.github.com/repos/huggingface/datasets/issues/6522/comments
null
false
Loading HF Hub Dataset (private org repo) fails to load all features ### 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 a...
[]
https://api.github.com/repos/huggingface/datasets/issues/6521
6,521
The order of the splits is not preserved
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({ ...
closed
2023-12-21T11:17:27
https://api.github.com/repos/huggingface/datasets/issues/6521/comments
null
false
The order of the splits is not preserved 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 [...
[ "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 " ]
https://api.github.com/repos/huggingface/datasets/issues/6520
6,520
Support commit_description parameter in push_to_hub
Support `commit_description` parameter in `push_to_hub`. CC: @Wauplin
closed
2023-12-21T09:36:11
https://api.github.com/repos/huggingface/datasets/issues/6520/comments
{ "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
Support commit_description parameter in push_to_hub Support `commit_description` parameter in `push_to_hub`. CC: @Wauplin
[ "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>...
https://api.github.com/repos/huggingface/datasets/issues/6519
6,519
Support push_to_hub canonical datasets
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: ...
closed
2023-12-20T15:16:45
https://api.github.com/repos/huggingface/datasets/issues/6519/comments
{ "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
Support push_to_hub canonical datasets 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_na...
[ "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.", ...
https://api.github.com/repos/huggingface/datasets/issues/6518
6,518
fix get_metadata_patterns function args error
Bug get_metadata_patterns arg error https://github.com/huggingface/datasets/issues/6517
closed
2023-12-20T09:06:22
https://api.github.com/repos/huggingface/datasets/issues/6518/comments
{ "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
fix get_metadata_patterns function args error Bug get_metadata_patterns arg error https://github.com/huggingface/datasets/issues/6517
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6517
6,517
Bug get_metadata_patterns arg error
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)
closed
2023-12-20T08:56:44
https://api.github.com/repos/huggingface/datasets/issues/6517/comments
null
false
Bug get_metadata_patterns arg error 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)
[]
https://api.github.com/repos/huggingface/datasets/issues/6516
6,516
Support huggingface-hub pre-releases
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.
closed
2023-12-20T07:52:29
https://api.github.com/repos/huggingface/datasets/issues/6516/comments
{ "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
Support huggingface-hub pre-releases 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.
[ "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>...
https://api.github.com/repos/huggingface/datasets/issues/6515
6,515
Why call http_head() when fsspec_head() succeeds
https://github.com/huggingface/datasets/blob/a91582de288d98e94bcb5ab634ca1cfeeff544c5/src/datasets/utils/file_utils.py#L510C1-L523C14
closed
2023-12-20T02:25:51
https://api.github.com/repos/huggingface/datasets/issues/6515/comments
null
false
Why call http_head() when fsspec_head() succeeds https://github.com/huggingface/datasets/blob/a91582de288d98e94bcb5ab634ca1cfeeff544c5/src/datasets/utils/file_utils.py#L510C1-L523C14
[]
https://api.github.com/repos/huggingface/datasets/issues/6514
6,514
Cache backward compatibility with 2.15.0
...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...
closed
2023-12-19T23:52:25
https://api.github.com/repos/huggingface/datasets/issues/6514/comments
{ "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
Cache backward compatibility with 2.15.0 ...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 hash...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6513
6,513
Support huggingface-hub 0.20.0
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
closed
2023-12-19T15:15:46
https://api.github.com/repos/huggingface/datasets/issues/6513/comments
null
false
Support huggingface-hub 0.20.0 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
[]
https://api.github.com/repos/huggingface/datasets/issues/6512
6,512
Remove deprecated HfFolder
...and use `huggingface_hub.get_token()` instead
closed
2023-12-19T14:40:49
https://api.github.com/repos/huggingface/datasets/issues/6512/comments
{ "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
Remove deprecated HfFolder ...and use `huggingface_hub.get_token()` instead
[ "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>...
https://api.github.com/repos/huggingface/datasets/issues/6511
6,511
Implement get dataset default config name
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...
closed
2023-12-19T11:26:19
https://api.github.com/repos/huggingface/datasets/issues/6511/comments
{ "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
Implement get dataset default config name 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 t...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6510
6,510
Replace `list_files_info` with `list_repo_tree` in `push_to_hub`
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)
closed
2023-12-18T15:34:19
https://api.github.com/repos/huggingface/datasets/issues/6510/comments
{ "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
Replace `list_files_info` with `list_repo_tree` in `push_to_hub` 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)
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6509
6,509
Better cast error when generating dataset
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...
closed
2023-12-18T13:57:24
https://api.github.com/repos/huggingface/datasets/issues/6509/comments
{ "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
Better cast error when generating dataset 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/quentin...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6508
6,508
Read GeoParquet files using parquet reader
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...
closed
2023-12-18T04:50:37
https://api.github.com/repos/huggingface/datasets/issues/6508/comments
{ "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
Read GeoParquet files using parquet reader 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...
[ "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`...
https://api.github.com/repos/huggingface/datasets/issues/6507
6,507
where is glue_metric.py> @Frankie123421 what was the resolution to this?
> @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_
closed
2023-12-17T09:58:25
https://api.github.com/repos/huggingface/datasets/issues/6507/comments
null
false
where is glue_metric.py> @Frankie123421 what was the resolution to this? > @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_ ...
[]
https://api.github.com/repos/huggingface/datasets/issues/6506
6,506
Incorrect test set labels for RTE and CoLA datasets via load_dataset
### 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...
closed
2023-12-16T22:06:08
https://api.github.com/repos/huggingface/datasets/issues/6506/comments
null
false
Incorrect test set labels for RTE and CoLA datasets via load_dataset ### 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 misma...
[ "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!" ]
https://api.github.com/repos/huggingface/datasets/issues/6505
6,505
Got stuck when I trying to load a dataset
### 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...
open
2023-12-16T11:51:07
https://api.github.com/repos/huggingface/datasets/issues/6505/comments
null
false
Got stuck when I trying to load a dataset ### 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_...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6504
6,504
Error Pushing to Hub
### 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...
closed
2023-12-16T01:05:22
https://api.github.com/repos/huggingface/datasets/issues/6504/comments
null
false
Error Pushing to Hub ### 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], } dat...
[]
https://api.github.com/repos/huggingface/datasets/issues/6503
6,503
Fix streaming xnli
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...
closed
2023-12-15T14:40:57
https://api.github.com/repos/huggingface/datasets/issues/6503/comments
{ "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
Fix streaming xnli 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 = li...
[ "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>...
https://api.github.com/repos/huggingface/datasets/issues/6502
6,502
Pickle support for `torch.Generator` objects
Fix for https://discuss.huggingface.co/t/caching-a-dataset-processed-with-randomness/65616
closed
2023-12-15T13:55:12
https://api.github.com/repos/huggingface/datasets/issues/6502/comments
{ "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
Pickle support for `torch.Generator` objects Fix for https://discuss.huggingface.co/t/caching-a-dataset-processed-with-randomness/65616
[ "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>...
https://api.github.com/repos/huggingface/datasets/issues/6501
6,501
OverflowError: value too large to convert to int32_t
### 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...
open
2023-12-15T10:10:21
https://api.github.com/repos/huggingface/datasets/issues/6501/comments
null
false
OverflowError: value too large to convert to int32_t ### 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/c...
[ "+1\n" ]
https://api.github.com/repos/huggingface/datasets/issues/6500
6,500
Enable setting config as default when push_to_hub
Fix #6497.
closed
2023-12-15T09:17:41
https://api.github.com/repos/huggingface/datasets/issues/6500/comments
{ "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
Enable setting config as default when push_to_hub Fix #6497.
[ "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 ...
https://api.github.com/repos/huggingface/datasets/issues/6499
6,499
docs: add reference Git over SSH
see https://discuss.huggingface.co/t/update-datasets-getting-started-to-new-git-security/65893
closed
2023-12-15T08:38:31
https://api.github.com/repos/huggingface/datasets/issues/6499/comments
{ "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
docs: add reference Git over SSH see https://discuss.huggingface.co/t/update-datasets-getting-started-to-new-git-security/65893
[ "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>...
https://api.github.com/repos/huggingface/datasets/issues/6498
6,498
Fallback on dataset script if user wants to load default config
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...
closed
2023-12-14T16:46:01
https://api.github.com/repos/huggingface/datasets/issues/6498/comments
{ "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
Fallback on dataset script if user wants to load default config 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...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6497
6,497
Support setting a default config name in push_to_hub
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.
closed
2023-12-14T15:59:03
https://api.github.com/repos/huggingface/datasets/issues/6497/comments
null
false
Support setting a default config name in push_to_hub 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.
[]
https://api.github.com/repos/huggingface/datasets/issues/6496
6,496
Error when writing a dataset to HF Hub: A commit has happened since. Please refresh and try again.
**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...
open
2023-12-14T11:24:54
https://api.github.com/repos/huggingface/datasets/issues/6496/comments
null
false
Error when writing a dataset to HF Hub: A commit has happened since. Please refresh and try again. **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: ...
[ "I transferred from datasets-server, since the issue is more about `datasets` and the integration with `huggingface_hub`." ]
https://api.github.com/repos/huggingface/datasets/issues/6494
6,494
Image Data loaded Twice
### 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...
open
2023-12-13T13:11:42
https://api.github.com/repos/huggingface/datasets/issues/6494/comments
null
false
Image Data loaded Twice ### 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 returne...
[]
https://api.github.com/repos/huggingface/datasets/issues/6495
6,495
Newline characters don't behave as expected when calling dataset.info
### 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...
open
2023-12-12T23:07:51
https://api.github.com/repos/huggingface/datasets/issues/6495/comments
null
false
Newline characters don't behave as expected when calling dataset.info ### 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 ...
[]
https://api.github.com/repos/huggingface/datasets/issues/6493
6,493
Lazy data files resolution and offline cache reload
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...
closed
2023-12-12T17:15:17
https://api.github.com/repos/huggingface/datasets/issues/6493/comments
{ "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
Lazy data files resolution and offline cache reload 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 wer...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6492
6,492
Make push_to_hub return CommitInfo
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
closed
2023-12-12T15:18:16
https://api.github.com/repos/huggingface/datasets/issues/6492/comments
{ "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
Make push_to_hub return CommitInfo 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
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6491
6,491
Fix metrics dead link
null
closed
2023-12-12T12:51:49
https://api.github.com/repos/huggingface/datasets/issues/6491/comments
{ "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
Fix metrics dead link
[ "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>...
https://api.github.com/repos/huggingface/datasets/issues/6490
6,490
`load_dataset(...,save_infos=True)` not working without loading script
### 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...
open
2023-12-12T08:09:18
https://api.github.com/repos/huggingface/datasets/issues/6490/comments
null
false
`load_dataset(...,save_infos=True)` not working without loading script ### 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 i...
[ "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_...
https://api.github.com/repos/huggingface/datasets/issues/6489
6,489
load_dataset imageflder for aws s3 path
### 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...
open
2023-12-12T00:08:43
https://api.github.com/repos/huggingface/datasets/issues/6489/comments
null
false
load_dataset imageflder for aws s3 path ### 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 ...
[]
https://api.github.com/repos/huggingface/datasets/issues/6488
6,488
429 Client Error
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...
open
2023-12-11T15:06:01
https://api.github.com/repos/huggingface/datasets/issues/6488/comments
null
false
429 Client Error 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 Cl...
[ "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```" ]
https://api.github.com/repos/huggingface/datasets/issues/6487
6,487
Update builder hash with info
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...
closed
2023-12-11T11:09:16
https://api.github.com/repos/huggingface/datasets/issues/6487/comments
{ "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
Update builder hash with info 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 ...
[ "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/...
https://api.github.com/repos/huggingface/datasets/issues/6486
6,486
Fix docs phrasing about supported formats when sharing a dataset
Fix docs phrasing.
closed
2023-12-11T09:21:22
https://api.github.com/repos/huggingface/datasets/issues/6486/comments
{ "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
Fix docs phrasing about supported formats when sharing a dataset Fix docs phrasing.
[ "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>...
https://api.github.com/repos/huggingface/datasets/issues/6485
6,485
FileNotFoundError: [Errno 2] No such file or directory: 'nul'
### 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...
closed
2023-12-11T08:52:13
https://api.github.com/repos/huggingface/datasets/issues/6485/comments
null
false
FileNotFoundError: [Errno 2] No such file or directory: 'nul' ### 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/asset...
[ "Hi! It seems like the problem is your environment. Maybe this issue can help: https://github.com/pytest-dev/pytest/issues/9519. " ]
https://api.github.com/repos/huggingface/datasets/issues/6483
6,483
Iterable Dataset: rename column clashes with remove column
### 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...
closed
2023-12-08T16:11:30
https://api.github.com/repos/huggingface/datasets/issues/6483/comments
null
false
Iterable Dataset: rename column clashes with remove column ### 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`,...
[ "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\...
https://api.github.com/repos/huggingface/datasets/issues/6484
6,484
[Feature Request] Dataset versioning
**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...
open
2023-12-08T16:01:35
https://api.github.com/repos/huggingface/datasets/issues/6484/comments
null
false
[Feature Request] Dataset versioning **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 ...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6482
6,482
Fix max lock length on unix
reported in https://github.com/huggingface/datasets/pull/6482
closed
2023-12-08T13:39:30
https://api.github.com/repos/huggingface/datasets/issues/6482/comments
{ "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
Fix max lock length on unix reported in https://github.com/huggingface/datasets/pull/6482
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6481
6,481
using torchrun, save_to_disk suddenly shows SIGTERM
### 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...
open
2023-12-08T13:22:03
https://api.github.com/repos/huggingface/datasets/issues/6481/comments
null
false
using torchrun, save_to_disk suddenly shows SIGTERM ### 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 sa...
[]
https://api.github.com/repos/huggingface/datasets/issues/6480
6,480
Add IterableDataset `__repr__`
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',...
closed
2023-12-07T16:31:50
https://api.github.com/repos/huggingface/datasets/issues/6480/comments
{ "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
Add IterableDataset `__repr__` 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({ ...
[ "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>...
https://api.github.com/repos/huggingface/datasets/issues/6479
6,479
More robust preupload retry mechanism
null
closed
2023-12-06T17:19:38
https://api.github.com/repos/huggingface/datasets/issues/6479/comments
{ "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
More robust preupload retry mechanism
[ "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>...
https://api.github.com/repos/huggingface/datasets/issues/6478
6,478
How to load data from lakefs
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
closed
2023-12-06T09:04:11
https://api.github.com/repos/huggingface/datasets/issues/6478/comments
null
false
How to load data from lakefs 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
[ "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 ...
https://api.github.com/repos/huggingface/datasets/issues/6477
6,477
Fix PermissionError on Windows CI
Fix #6476.
closed
2023-12-06T08:34:53
https://api.github.com/repos/huggingface/datasets/issues/6477/comments
{ "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
Fix PermissionError on Windows CI Fix #6476.
[ "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>...
https://api.github.com/repos/huggingface/datasets/issues/6476
6,476
CI on windows is broken: PermissionError
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\...
closed
2023-12-06T08:32:53
https://api.github.com/repos/huggingface/datasets/issues/6476/comments
null
false
CI on windows is broken: PermissionError 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\\h...
[]
https://api.github.com/repos/huggingface/datasets/issues/6475
6,475
laion2B-en failed to load on Windows with PrefetchVirtualMemory failed
### 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...
open
2023-12-06T00:07:34
https://api.github.com/repos/huggingface/datasets/issues/6475/comments
null
false
laion2B-en failed to load on Windows with PrefetchVirtualMemory failed ### 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-Worksp...
[ "~~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 -...
https://api.github.com/repos/huggingface/datasets/issues/6474
6,474
Deprecate Beam API and download from HF GCS bucket
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...
closed
2023-12-05T19:51:33
https://api.github.com/repos/huggingface/datasets/issues/6474/comments
{ "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
Deprecate Beam API and download from HF GCS bucket 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 [`nat...
[ "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>...
https://api.github.com/repos/huggingface/datasets/issues/6473
6,473
Fix CI quality
Fix #6472.
closed
2023-12-05T15:36:23
https://api.github.com/repos/huggingface/datasets/issues/6473/comments
{ "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
Fix CI quality Fix #6472.
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6472
6,472
CI quality is broken
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 ```
closed
2023-12-05T15:35:34
https://api.github.com/repos/huggingface/datasets/issues/6472/comments
null
false
CI quality is broken 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 ```
[]
https://api.github.com/repos/huggingface/datasets/issues/6471
6,471
Remove delete doc CI
null
closed
2023-12-05T12:37:50
https://api.github.com/repos/huggingface/datasets/issues/6471/comments
{ "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
Remove delete doc CI
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6470
6,470
If an image in a dataset is corrupted, we get unescapable error
### 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...
open
2023-12-04T20:58:49
https://api.github.com/repos/huggingface/datasets/issues/6470/comments
null
false
If an image in a dataset is corrupted, we get unescapable error ### 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', ...
[]
https://api.github.com/repos/huggingface/datasets/issues/6469
6,469
Don't expand_info in HF glob
Finally fix https://github.com/huggingface/datasets/issues/5537
closed
2023-12-04T12:00:37
https://api.github.com/repos/huggingface/datasets/issues/6469/comments
{ "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
Don't expand_info in HF glob Finally fix https://github.com/huggingface/datasets/issues/5537
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6468
6,468
Use auth to get parquet export
added `token` to the `_datasets_server` functions
closed
2023-12-04T11:18:27
https://api.github.com/repos/huggingface/datasets/issues/6468/comments
{ "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
Use auth to get parquet export added `token` to the `_datasets_server` functions
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6467
6,467
New version release request
### 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 ...
closed
2023-12-04T07:08:26
https://api.github.com/repos/huggingface/datasets/issues/6467/comments
null
false
New version release request ### 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...
[ "We will publish it soon (we usually do it in intervals of 1-2 months, so probably next week)", "Thanks!" ]
https://api.github.com/repos/huggingface/datasets/issues/6466
6,466
Can't align optional features of struct
### 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] ``` ...
closed
2023-12-03T15:57:07
https://api.github.com/repos/huggingface/datasets/issues/6466/comments
null
false
Can't align optional features of struct ### 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: n...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6465
6,465
`load_dataset` uses out-of-date cache instead of re-downloading a changed dataset
### 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...
open
2023-12-02T21:35:17
https://api.github.com/repos/huggingface/datasets/issues/6465/comments
null
false
`load_dataset` uses out-of-date cache instead of re-downloading a changed dataset ### 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. c...
[ "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." ]
https://api.github.com/repos/huggingface/datasets/issues/6464
6,464
Add concurrent loading of shards to datasets.load_from_disk
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'...
closed
2023-12-01T13:13:53
https://api.github.com/repos/huggingface/datasets/issues/6464/comments
{ "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
Add concurrent loading of shards to datasets.load_from_disk 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 (se...
[ "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 ...
https://api.github.com/repos/huggingface/datasets/issues/6463
6,463
Disable benchmarks in PRs
In order to keep PR pages less spammy / more readable. Having the benchmarks on commits on `main` is enough imo
closed
2023-12-01T11:35:30
https://api.github.com/repos/huggingface/datasets/issues/6463/comments
{ "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
Disable benchmarks in PRs In order to keep PR pages less spammy / more readable. Having the benchmarks on commits on `main` is enough imo
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6462
6,462
Missing DatasetNotFoundError
continuation of https://github.com/huggingface/datasets/pull/6431 this should fix the CI in https://github.com/huggingface/datasets/pull/6458 too
closed
2023-11-30T18:09:43
https://api.github.com/repos/huggingface/datasets/issues/6462/comments
{ "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
Missing DatasetNotFoundError continuation of https://github.com/huggingface/datasets/pull/6431 this should fix the CI in https://github.com/huggingface/datasets/pull/6458 too
[ "<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...
https://api.github.com/repos/huggingface/datasets/issues/6461
6,461
Fix shard retry mechanism in `push_to_hub`
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...
closed
2023-11-30T14:57:14
https://api.github.com/repos/huggingface/datasets/issues/6461/comments
{ "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
Fix shard retry mechanism in `push_to_hub` 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...
[ "@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 ...
https://api.github.com/repos/huggingface/datasets/issues/6460
6,460
jsonlines files don't load with `load_dataset`
### 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_...
closed
2023-11-29T21:20:11
https://api.github.com/repos/huggingface/datasets/issues/6460/comments
null
false
jsonlines files don't load with `load_dataset` ### 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: ``` ...
[ "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---------------------------------------------------------------------------\...
https://api.github.com/repos/huggingface/datasets/issues/6459
6,459
Retrieve cached datasets that were pushed to hub when offline
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({ ...
closed
2023-11-29T16:56:15
https://api.github.com/repos/huggingface/datasets/issues/6459/comments
{ "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
Retrieve cached datasets that were pushed to hub when offline 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_data...
[ "<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...
https://api.github.com/repos/huggingface/datasets/issues/6458
6,458
Lazy data files resolution
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...
closed
2023-11-29T13:18:44
https://api.github.com/repos/huggingface/datasets/issues/6458/comments
{ "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
Lazy data files resolution 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 co...
[ "<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...
https://api.github.com/repos/huggingface/datasets/issues/6457
6,457
`TypeError`: huggingface_hub.hf_file_system.HfFileSystem.find() got multiple values for keyword argument 'maxdepth'
### 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...
closed
2023-11-29T01:57:36
https://api.github.com/repos/huggingface/datasets/issues/6457/comments
null
false
`TypeError`: huggingface_hub.hf_file_system.HfFileSystem.find() got multiple values for keyword argument 'maxdepth' ### 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 ### Expe...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6456
6,456
Don't require trust_remote_code in inspect_dataset
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
closed
2023-11-28T19:47:07
https://api.github.com/repos/huggingface/datasets/issues/6456/comments
{ "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
Don't require trust_remote_code in inspect_dataset 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
[ "_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...
https://api.github.com/repos/huggingface/datasets/issues/6454
6,454
Refactor `dill` logic
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...
closed
2023-11-27T20:01:25
https://api.github.com/repos/huggingface/datasets/issues/6454/comments
{ "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
Refactor `dill` logic 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.ha...
[ "<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...
https://api.github.com/repos/huggingface/datasets/issues/6453
6,453
Update hub-docs reference
Follow up to huggingface/huggingface.js#296
closed
2023-11-27T09:57:20
https://api.github.com/repos/huggingface/datasets/issues/6453/comments
{ "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
Update hub-docs reference Follow up to huggingface/huggingface.js#296
[ "_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...
https://api.github.com/repos/huggingface/datasets/issues/6452
6,452
Praveen_repo_pull_req
null
closed
2023-11-27T07:07:50
https://api.github.com/repos/huggingface/datasets/issues/6452/comments
{ "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
Praveen_repo_pull_req
[]
https://api.github.com/repos/huggingface/datasets/issues/6451
6,451
Unable to read "marsyas/gtzan" data
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 ...
closed
2023-11-25T15:13:17
https://api.github.com/repos/huggingface/datasets/issues/6451/comments
null
false
Unable to read "marsyas/gtzan" data 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/1346...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/6450
6,450
Support multiple image/audio columns in ImageFolder/AudioFolder
### Feature request Have a metadata.csv file with multiple columns that point to relative image or audio files. ### Motivation Currently, ImageFolder allows one column, called `file_name`, pointing to relative image files. On the same model, AudioFolder allows one column, called `file_name`, pointing to relative aud...
closed
2023-11-24T10:34:09
https://api.github.com/repos/huggingface/datasets/issues/6450/comments
null
false
Support multiple image/audio columns in ImageFolder/AudioFolder ### Feature request Have a metadata.csv file with multiple columns that point to relative image or audio files. ### Motivation Currently, ImageFolder allows one column, called `file_name`, pointing to relative image files. On the same model, AudioFolder...
[ "A duplicate of https://github.com/huggingface/datasets/issues/5760" ]