id
int64
599M
3.18B
number
int64
1
7.65k
title
stringlengths
1
290
state
stringclasses
2 values
body
stringlengths
0
228k
is_pull_request
bool
1 class
created_at
stringdate
2020-04-14 10:18:02
2025-06-26 12:23:48
updated_at
stringdate
2020-04-27 16:04:17
2025-06-26 14:02:38
closed_at
stringlengths
20
20
⌀
user_login
stringlengths
3
26
author_association
stringclasses
4 values
pr_url
stringlengths
46
49
⌀
pr_merged_at
stringlengths
20
20
⌀
comments_count
int64
0
70
reactions_total
int64
0
61
reactions_plus1
int64
0
39
reactions_heart
int64
0
22
draft
bool
2 classes
locked
bool
1 class
labels
listlengths
0
4
html_url
stringlengths
46
51
is_pr_url
bool
2 classes
comments
listlengths
0
30
1,676,716,662
5,774
Fix style
closed
Fix C419 issues
true
2023-04-20T13:21:32Z
2023-04-20T13:34:26Z
2023-04-20T13:24:28Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5774
2023-04-20T13:24:28Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5774
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea...
1,675,984,633
5,773
train_dataset does not implement __len__
open
when train using data precessored by the datasets, I get follow warning and it leads to that I can not set epoch numbers: `ValueError: The train_dataset does not implement __len__, max_steps has to be specified. The number of steps needs to be known in advance for the learning rate scheduler.`
true
2023-04-20T04:37:05Z
2023-07-19T20:33:13Z
null
ben-8878
NONE
null
null
9
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5773
false
[ "Thanks for reporting, @v-yunbin.\r\n\r\nCould you please give more details, the steps to reproduce the bug, the complete error back trace and the environment information (`datasets-cli env`)?", "this is a detail error info from transformers:\r\n```\r\nTraceback (most recent call last):\r\n File \"finetune.py\",...
1,675,033,510
5,772
Fix JSON builder when missing keys in first row
closed
Until now, the JSON builder only considered the keys present in the first element of the list: - Either explicitly: by passing index 0 in `dataset[0].keys()` - Or implicitly: `pa.Table.from_pylist(dataset)`, where "schema (default None): If not passed, will be inferred from the first row of the mapping values" Thi...
true
2023-04-19T14:32:57Z
2023-04-21T06:45:13Z
2023-04-21T06:35:27Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5772
2023-04-21T06:35:27Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5772
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea...
1,674,828,380
5,771
Support cloud storage for loading datasets
closed
### Feature request It seems that the the current implementation supports cloud storage only for `load_from_disk`. It would be nice if a similar functionality existed in `load_dataset`. ### Motivation Motivation is pretty clear -- let users work with datasets located in the cloud. ### Your contribution ...
true
2023-04-19T12:43:53Z
2023-05-07T17:47:41Z
2023-05-07T17:47:41Z
eli-osherovich
CONTRIBUTOR
null
null
1
0
0
0
null
false
[ "duplicate", "enhancement" ]
https://github.com/huggingface/datasets/issues/5771
false
[ "A duplicate of https://github.com/huggingface/datasets/issues/5281" ]
1,673,581,555
5,770
Add IterableDataset.from_spark
closed
Follow-up from https://github.com/huggingface/datasets/pull/5701 Related issue: https://github.com/huggingface/datasets/issues/5678
true
2023-04-18T17:47:53Z
2023-05-17T14:07:32Z
2023-05-17T14:00:38Z
maddiedawson
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5770
2023-05-17T14:00:38Z
8
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5770
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hi again @lhoestq this is ready for review! Not sure I have permission to add people to the reviewers list...", "Cool ! I think you can define `IterableDataset.from_spark` instead of adding `streaming=` in `Dataset.from_spark`, it ...
1,673,441,182
5,769
Tiktoken tokenizers are not pickable
closed
### Describe the bug Since tiktoken tokenizer is not pickable, it is not possible to use it inside `dataset.map()` with multiprocessing enabled. However, you [made](https://github.com/huggingface/datasets/issues/5536) tiktoken's tokenizers pickable in `datasets==2.10.0` for caching. For some reason, this logic does no...
true
2023-04-18T16:07:40Z
2023-05-04T18:55:57Z
2023-05-04T18:55:57Z
markovalexander
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5769
false
[ "Thanks for reporting, @markovalexander.\r\n\r\nUnfortunately, I'm not able to reproduce the issue: the `tiktoken` tokenizer can be used within `Dataset.map`, both in my local machine and in a Colab notebook: https://colab.research.google.com/drive/1DhJroZgk0sNFJ2Mrz-jYgrmh9jblXaCG?usp=sharing\r\n\r\nAre you sure y...
1,672,494,561
5,768
load_dataset("squad") doesn't work in 2.7.1 and 2.10.1
closed
### Describe the bug There is an issue that seems to be unique to the "squad" dataset, in which it cannot be loaded using standard methods. This issue is most quickly reproduced from the command line, using the HF examples to verify a dataset is loaded properly. This is not a problem with "squad_v2" dataset for e...
true
2023-04-18T07:10:56Z
2023-04-20T10:27:23Z
2023-04-20T10:27:22Z
yaseen157
NONE
null
null
8
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5768
false
[ "Thanks for reporting, @yaseen157.\r\n\r\nCould you please give the complete error stack trace?", "I am not able to reproduce your issue: the dataset loads perfectly on my local machine and on a Colab notebook: https://colab.research.google.com/drive/1Fbdoa1JdNz8DOdX6gmIsOK1nCT8Abj4O?usp=sharing\r\n```python\r\nI...
1,672,433,979
5,767
How to use Distill-BERT with different datasets?
closed
### Describe the bug - `transformers` version: 4.11.3 - Platform: Linux-5.4.0-58-generic-x86_64-with-glibc2.29 - Python version: 3.8.10 - PyTorch version (GPU?): 1.12.0+cu102 (True) - Tensorflow version (GPU?): 2.10.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxL...
true
2023-04-18T06:25:12Z
2023-04-20T16:52:05Z
2023-04-20T16:52:05Z
sauravtii
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5767
false
[ "Closing this one in favor of the same issue opened in the `transformers` repo." ]
1,671,485,882
5,766
Support custom feature types
open
### Feature request I think it would be nice to allow registering custom feature types with the 🤗 Datasets library. For example, allow to do something along the following lines: ``` from datasets.features import register_feature_type # this would be a new function @register_feature_type class CustomFeature...
true
2023-04-17T15:46:41Z
2024-03-10T11:11:22Z
null
jmontalt
NONE
null
null
4
1
1
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5766
false
[ "Hi ! Interesting :) What kind of new types would you like to use ?\r\n\r\nNote that you can already implement your own decoding by using `set_transform` that can decode data on-the-fly when rows are accessed", "An interesting proposal indeed. \r\n\r\nPandas and Polars have the \"extension API\", so doing somethi...
1,671,388,824
5,765
ValueError: You should supply an encoding or a list of encodings to this method that includes input_ids, but you provided ['text']
open
### Describe the bug Following is my code that I am trying to run, but facing an error (have attached the whole error below): My code: ``` from collections import OrderedDict import warnings import flwr as fl import torch import numpy as np import random from torch.utils.data import DataLoader from...
true
2023-04-17T15:00:50Z
2023-04-25T13:50:45Z
null
sauravtii
NONE
null
null
4
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5765
false
[ "You need to remove the `text` and `text_en` columns before passing the dataset to the `DataLoader` to avoid this error:\r\n```python\r\ntokenized_datasets = tokenized_datasets.remove_columns([\"text\", \"text_en\"])\r\n```\r\n", "Thanks @mariosasko. Now I am getting this error:\r\n\r\n```\r\nTraceback (most rece...
1,670,740,198
5,764
ConnectionError: Couldn't reach https://www.dropbox.com/s/zts98j4vkqtsns6/aclImdb_v2.tar?dl=1
closed
### Describe the bug I want to use this (https://huggingface.co/datasets/josianem/imdb) dataset therefore I am trying to load it using the following code: ``` dataset = load_dataset("josianem/imdb") ``` The dataset is not getting loaded and gives the error message as the following: ``` Traceback (most rece...
true
2023-04-17T09:08:18Z
2023-04-18T07:18:20Z
2023-04-18T07:18:20Z
sauravtii
NONE
null
null
7
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5764
false
[ "Thanks for reporting, @sauravtii.\r\n\r\nUnfortunately, I'm not able to reproduce the issue:\r\n```python\r\nIn [1]: from datasets import load_dataset\r\n\r\nIn [2]: ds = load_dataset(\"josianem/imdb\")\r\n\r\nIn [2]: ds\r\nOut[2]: \r\nDatasetDict({\r\n train: Dataset({\r\n features: ['text', 'label'],\r...
1,670,476,302
5,763
fix typo: "mow" -> "now"
closed
I noticed a typo as I was reading the datasets documentation. This PR contains a trivial fix changing "mow" to "now."
true
2023-04-17T06:03:44Z
2023-04-17T15:01:53Z
2023-04-17T14:54:46Z
csris
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5763
2023-04-17T14:54:46Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5763
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea...
1,670,326,470
5,762
Not able to load the pile
closed
### Describe the bug Got this error when I am trying to load the pile dataset ``` TypeError: Couldn't cast array of type struct<file: string, id: string> to {'id': Value(dtype='string', id=None)} ``` ### Steps to reproduce the bug Please visit the following sample notebook https://colab.research.goo...
true
2023-04-17T03:09:10Z
2023-04-17T09:37:27Z
2023-04-17T09:37:27Z
surya-narayanan
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5762
false
[ "Thanks for reporting, @surya-narayanan.\r\n\r\nI see you already started a discussion about this on the Community tab of the corresponding dataset: https://huggingface.co/datasets/EleutherAI/the_pile/discussions/10\r\nLet's continue the discussion there!" ]
1,670,034,582
5,761
One or several metadata.jsonl were found, but not in the same directory or in a parent directory
open
### Describe the bug An attempt to generate a dataset from a zip archive using imagefolder and metadata.jsonl does not lead to the expected result. Tried all possible locations of the json file: the file in the archive is ignored (generated dataset contains only images), the file next to the archive like [here](http...
true
2023-04-16T16:21:55Z
2023-04-19T11:53:24Z
null
blghtr
NONE
null
null
3
1
1
0
null
false
[]
https://github.com/huggingface/datasets/issues/5761
false
[ "Also, when generated from a zip archive, the dataset contains only a few images. In my case, 20 versus 2000+ contained in the archive. The generation from folders works as expected.", "Thanks for reporting, @blghtr.\r\n\r\nYou should include the `metadata.jsonl` in your ZIP archives, at the root level directory....
1,670,028,072
5,760
Multi-image loading in Imagefolder dataset
open
### Feature request Extend the `imagefolder` dataloading script to support loading multiple images per dataset entry. This only really makes sense if a metadata file is present. Currently you can use the following format (example `metadata.jsonl`: ``` {'file_name': 'path_to_image.png', 'metadata': ...} ... `...
true
2023-04-16T16:01:05Z
2024-12-01T11:16:09Z
null
vvvm23
NONE
null
null
10
1
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5760
false
[ "Supporting this could be useful (I remember a use-case for this on the Hub). Do you agree @polinaeterna? \r\n\r\nImplementing this should be possible if we iterate over metadata files and build image/audio file paths instead of iterating over image/audio files and looking for the corresponding entries in metadata ...
1,669,977,848
5,759
Can I load in list of list of dict format?
open
### Feature request my jsonl dataset has following format: ``` [{'input':xxx, 'output':xxx},{'input:xxx,'output':xxx},...] [{'input':xxx, 'output':xxx},{'input:xxx,'output':xxx},...] ``` I try to use `datasets.load_dataset('json', data_files=path)` or `datasets.Dataset.from_json`, it raises ``` File "site-p...
true
2023-04-16T13:50:14Z
2023-04-19T12:04:36Z
null
LZY-the-boys
NONE
null
null
1
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5759
false
[ "Thanks for reporting, @LZY-the-boys.\r\n\r\nCould you please give more details about what is your intended dataset structure? What are the names of the columns and the value of each row?\r\n\r\nCurrently, the JSON-Lines format is supported:\r\n- Each line correspond to one row of the dataset\r\n- Each line is comp...
1,669,920,923
5,758
Fixes #5757
closed
Fixes the bug #5757
true
2023-04-16T11:56:01Z
2023-04-20T15:37:49Z
2023-04-20T15:30:48Z
eli-osherovich
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5758
2023-04-20T15:30:48Z
5
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5758
true
[ "The CI can be fixed by merging `main` into your branch. Can you do that before we merge ?", "_The documentation is not available anymore as the PR was closed or merged._", "Done.\n\nOn Thu, Apr 20, 2023 at 6:01 PM Quentin Lhoest ***@***.***>\nwrote:\n\n> The CI can be fixed by merging main into your branch. Ca...
1,669,910,503
5,757
Tilde (~) is not supported
closed
### Describe the bug It seems that `~` is not recognized correctly in local paths. Whenever I try to use it I get an exception ### Steps to reproduce the bug ```python load_dataset("imagefolder", data_dir="~/data/my_dataset") ``` Will generate the following error: ``` EmptyDatasetError: The directory at ...
true
2023-04-16T11:48:10Z
2023-04-20T15:30:51Z
2023-04-20T15:30:51Z
eli-osherovich
CONTRIBUTOR
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5757
false
[]
1,669,678,080
5,756
Calling shuffle on a IterableDataset with streaming=True, gives "ValueError: cannot reshape array"
closed
### Describe the bug When calling shuffle on a IterableDataset with streaming=True, I get the following error: ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/administrator/Documents/Projects/huggingface/jax-diffusers-sprint-consistency-models/virtualenv/lib/python3.1...
true
2023-04-16T04:59:47Z
2023-04-18T03:40:56Z
2023-04-18T03:40:56Z
rohfle
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5756
false
[ "Hi! I've merged a PR on the Hub with a fix: https://huggingface.co/datasets/fashion_mnist/discussions/3", "Thanks, this appears to have fixed the issue.\r\n\r\nI've created a PR for the same change in the mnist dataset: https://huggingface.co/datasets/mnist/discussions/3/files" ]
1,669,048,438
5,755
ImportError: cannot import name 'DeprecatedEnum' from 'datasets.utils.deprecation_utils'
closed
### Describe the bug The module moved to new place? ### Steps to reproduce the bug in the import step, ```python from datasets.utils.deprecation_utils import DeprecatedEnum ``` error: ``` ImportError: cannot import name 'DeprecatedEnum' from 'datasets.utils.deprecation_utils' ``` ### Expected behavior...
true
2023-04-14T23:28:54Z
2023-04-14T23:36:19Z
2023-04-14T23:36:19Z
fivejjs
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5755
false
[ "update the version. fix" ]
1,668,755,035
5,754
Minor tqdm fixes
closed
`GeneratorBasedBuilder`'s TQDM bars were not used as context managers. This PR fixes that (missed these bars in https://github.com/huggingface/datasets/pull/5560). Also, this PR modifies the single-proc `save_to_disk` to fix the issue with the TQDM bar not accumulating the progress in the multi-shard setting (again...
true
2023-04-14T18:15:14Z
2023-04-20T15:27:58Z
2023-04-20T15:21:00Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5754
2023-04-20T15:21:00Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5754
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea...
1,668,659,536
5,753
[IterableDatasets] Add column followed by interleave datasets gives bogus outputs
closed
### Describe the bug If we add a new column to our iterable dataset using the hack described in #5752, when we then interleave datasets the new column is pinned to one value. ### Steps to reproduce the bug What we're going to do here is: 1. Load an iterable dataset in streaming mode (`original_dataset`) 2. A...
true
2023-04-14T17:32:31Z
2023-04-14T17:45:52Z
2023-04-14T17:36:37Z
sanchit-gandhi
CONTRIBUTOR
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5753
false
[ "Problem with the code snippet! Using global vars and functions was not a good idea with iterable datasets!\r\n\r\nIf we update to:\r\n```python\r\nfrom datasets import load_dataset\r\n\r\noriginal_dataset = load_dataset(\"librispeech_asr\", \"clean\", split=\"validation\", streaming=True)\r\n\r\n# now add a new co...
1,668,574,209
5,752
Streaming dataset looses `.feature` method after `.add_column`
open
### Describe the bug After appending a new column to a streaming dataset using `.add_column`, we can no longer access the list of dataset features using the `.feature` method. ### Steps to reproduce the bug ```python from datasets import load_dataset original_dataset = load_dataset("librispeech_asr", "clean", sp...
true
2023-04-14T16:39:50Z
2024-01-18T10:15:20Z
null
sanchit-gandhi
CONTRIBUTOR
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/5752
false
[ "I believe the issue resides in this line:\r\nhttps://github.com/huggingface/datasets/blob/7c3a9b057c476c40d157bd7a5d57f49066239df0/src/datasets/iterable_dataset.py#L1415\r\n\r\nIf we pass the **new** features of the dataset to the `.map` method we can return the features after adding a column, e.g.:\r\n```python\r...
1,668,333,316
5,751
Consistent ArrayXD Python formatting + better NumPy/Pandas formatting
closed
Return a list of lists instead of a list of NumPy arrays when converting the variable-shaped `ArrayXD` to Python. Additionally, improve the NumPy conversion by returning a numeric NumPy array when the offsets are equal or a NumPy object array when they aren't, and allow converting the variable-shaped `ArrayXD` to Panda...
true
2023-04-14T14:13:59Z
2023-04-20T14:43:20Z
2023-04-20T14:40:34Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5751
2023-04-20T14:40:34Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5751
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea...
1,668,289,067
5,750
Fail to create datasets from a generator when using Google Big Query
closed
### Describe the bug Creating a dataset from a generator using `Dataset.from_generator()` fails if the generator is the [Google Big Query Python client](https://cloud.google.com/python/docs/reference/bigquery/latest). The problem is that the Big Query client is not pickable. And the function `create_config_id` tries t...
true
2023-04-14T13:50:59Z
2023-04-17T12:20:43Z
2023-04-17T12:20:43Z
ivanprado
NONE
null
null
4
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5750
false
[ "`from_generator` expects a generator function, not a generator object, so this should work:\r\n```python\r\nfrom datasets import Dataset\r\nfrom google.cloud import bigquery\r\n\r\nclient = bigquery.Client()\r\n\r\ndef gen()\r\n # Perform a query.\r\n QUERY = (\r\n 'SELECT name FROM `bigquery-public-d...
1,668,016,321
5,749
AttributeError: 'Version' object has no attribute 'match'
closed
### Describe the bug When I run from datasets import load_dataset data = load_dataset("visual_genome", 'region_descriptions_v1.2.0') AttributeError: 'Version' object has no attribute 'match' ### Steps to reproduce the bug from datasets import load_dataset data = load_dataset("visual_genome", 'region_descripti...
true
2023-04-14T10:48:06Z
2023-06-30T11:31:17Z
2023-04-18T12:57:08Z
gulnaz-zh
NONE
null
null
8
3
3
0
null
false
[]
https://github.com/huggingface/datasets/issues/5749
false
[ "I got the same error, and the official website for visual genome is down. Did you solve this problem? ", "I am in the same situation now :( ", "Thanks for reporting, @gulnaz-zh.\r\n\r\nI am investigating it.", "The host server is down: https://visualgenome.org/\r\n\r\nWe are contacting the dataset authors.",...
1,667,517,024
5,748
[BUG FIX] Issue 5739
open
A fix for https://github.com/huggingface/datasets/issues/5739
true
2023-04-14T05:07:31Z
2023-04-14T05:07:31Z
null
airlsyn
NONE
https://github.com/huggingface/datasets/pull/5748
null
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5748
true
[]
1,667,270,412
5,747
[WIP] Add Dataset.to_spark
closed
true
2023-04-13T23:20:03Z
2024-01-08T18:31:50Z
2024-01-08T18:31:50Z
maddiedawson
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5747
null
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5747
true
[]
1,667,102,459
5,746
Fix link in docs
closed
Fixes a broken link in the use_with_pytorch docs
true
2023-04-13T20:45:19Z
2023-04-14T13:15:38Z
2023-04-14T13:08:42Z
bbbxyz
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5746
2023-04-14T13:08:42Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5746
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea...
1,667,086,143
5,745
[BUG FIX] Issue 5744
open
A temporal fix for https://github.com/huggingface/datasets/issues/5744.
true
2023-04-13T20:29:55Z
2023-04-21T15:22:43Z
null
keyboardAnt
NONE
https://github.com/huggingface/datasets/pull/5745
null
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5745
true
[ "Have met the same problem with datasets==2.8.0, pandas==2.0.0. It could be solved by installing the latest version of datasets or using datasets==2.8.0, pandas==1.5.3.", "Pandas 2.0.0 has removed support to passing `mangle_dupe_cols`.\r\n\r\nHowever, our `datasets` library does not use this parameter: it only pa...
1,667,076,620
5,744
[BUG] With Pandas 2.0.0, `load_dataset` raises `TypeError: read_csv() got an unexpected keyword argument 'mangle_dupe_cols'`
closed
The `load_dataset` function with Pandas `1.5.3` has no issue (just a FutureWarning) but crashes with Pandas `2.0.0`. For your convenience, I opened a draft Pull Request to fix it quickly: https://github.com/huggingface/datasets/pull/5745 --- * The FutureWarning mentioned above: ``` FutureWarning: the 'mangle_...
true
2023-04-13T20:21:28Z
2024-04-09T16:13:59Z
2023-07-06T17:01:59Z
keyboardAnt
NONE
null
null
6
4
4
0
null
false
[]
https://github.com/huggingface/datasets/issues/5744
false
[ "Thanks for reporting, @keyboardAnt.\r\n\r\nWe haven't noticed any crash in our CI tests. Could you please indicate specifically the `load_dataset` command that crashes in your side, so that we can reproduce it?", "This has been fixed in `datasets` 2.11", "I am still getting this bug with the latest pandas and ...
1,666,843,832
5,743
dataclass.py in virtual environment is overriding the stdlib module "dataclasses"
closed
### Describe the bug "e:\Krish_naik\FSDSRegression\venv\Lib\dataclasses.py" is overriding the stdlib module "dataclasses" ### Steps to reproduce the bug module issue ### Expected behavior overriding the stdlib module "dataclasses" ### Environment info VS code
true
2023-04-13T17:28:33Z
2023-04-17T12:23:18Z
2023-04-17T12:23:18Z
syedabdullahhassan
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5743
false
[ "We no longer depend on `dataclasses` (for almost a year), so I don't think our package is the problematic one. \r\n\r\nI think it makes more sense to raise this issue in the `dataclasses` repo: https://github.com/ericvsmith/dataclasses." ]
1,666,209,738
5,742
Warning specifying future change in to_tf_dataset behaviour
closed
Warning specifying future changes happening to `to_tf_dataset` behaviour when #5602 is merged in
true
2023-04-13T11:10:00Z
2023-04-21T13:18:14Z
2023-04-21T13:11:09Z
amyeroberts
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5742
2023-04-21T13:11:09Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5742
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea...
1,665,860,919
5,741
Fix CI warnings
closed
Fix warnings in our CI tests.
true
2023-04-13T07:17:02Z
2023-04-13T09:48:10Z
2023-04-13T09:40:50Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5741
2023-04-13T09:40:50Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5741
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea...
1,664,132,130
5,740
Fix CI mock filesystem fixtures
closed
This PR fixes the fixtures of our CI mock filesystems. Before, we had to pass `clobber=True` to `fsspec.register_implementation` to overwrite the still present previously added "mock" filesystem. That meant that the mock filesystem fixture was not working properly, because the previously added "mock" filesystem, sho...
true
2023-04-12T08:52:35Z
2023-04-13T11:01:24Z
2023-04-13T10:54:13Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5740
2023-04-13T10:54:13Z
5
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5740
true
[ "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | read_batch_formatted_as_numpy after write_flattened_sequence | read_batch_formatted_a...
1,663,762,901
5,739
weird result during dataset split when data path starts with `/data`
open
### Describe the bug The regex defined here https://github.com/huggingface/datasets/blob/f2607935c4e45c70c44fcb698db0363ca7ba83d4/src/datasets/utils/py_utils.py#L158 will cause a weird result during dataset split when data path starts with `/data` ### Steps to reproduce the bug 1. clone dataset into local path ...
true
2023-04-12T04:51:35Z
2023-04-21T14:20:59Z
null
airlsyn
NONE
null
null
4
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5739
false
[ "Same problem.", "hi! \r\nI think you can run python from `/data/train/raw/` directory and load dataset as `load_dataset(\"code_contests\")` to mitigate this issue as a workaround. \r\n@ericxsun Do you want to open a PR to fix the regex? As you already found the solution :) ", "> hi! I think you can run python ...
1,663,477,690
5,738
load_dataset("text","dataset.txt") loads the wrong dataset!
closed
### Describe the bug I am trying to load my own custom text dataset using the load_dataset function. My dataset is a bunch of ordered text, think along the lines of shakespeare plays. However, after I load the dataset and I inspect it, the dataset is a table with a bunch of latitude and longitude values! What in th...
true
2023-04-12T01:07:46Z
2023-04-19T12:08:27Z
2023-04-19T12:08:27Z
Tylersuard
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5738
false
[ "You need to provide a text file as `data_files`, not as a configuration:\r\n\r\n```python\r\nmy_dataset = load_dataset(\"text\", data_files=\"TextFile.txt\")\r\n```\r\n\r\nOtherwise, since `data_files` is `None`, it picks up Colab's sample datasets from the `content` dir." ]
1,662,919,811
5,737
ClassLabel Error
closed
### Describe the bug I still getting the error "call() takes 1 positional argument but 2 were given" even after ensuring that the value being passed to the label object is a single value and that the ClassLabel object has been created with the correct number of label classes ### Steps to reproduce the bug from...
true
2023-04-11T17:14:13Z
2023-04-13T16:49:57Z
2023-04-13T16:49:57Z
mrcaelumn
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5737
false
[ "Hi, you can use the `cast_column` function to change the feature type from a `Value(int64)` to `ClassLabel`:\r\n\r\n```py\r\ndataset = dataset.cast_column(\"label\", ClassLabel(names=[\"label_1\", \"label_2\", \"label_3\"]))\r\nprint(dataset.features)\r\n{'text': Value(dtype='string', id=None),\r\n 'label': ClassL...
1,662,286,061
5,736
FORCE_REDOWNLOAD raises "Directory not empty" exception on second run
open
### Describe the bug Running `load_dataset(..., download_mode=datasets.DownloadMode.FORCE_REDOWNLOAD)` twice raises a `Directory not empty` exception on the second run. ### Steps to reproduce the bug I cannot test this on datasets v2.11.0 due to #5711, but this happens in v2.10.1. 1. Set up a script `my_dataset.p...
true
2023-04-11T11:29:15Z
2023-11-30T07:16:58Z
null
rcasero
NONE
null
null
3
4
4
0
null
false
[]
https://github.com/huggingface/datasets/issues/5736
false
[ "Hi ! I couldn't reproduce your issue :/\r\n\r\nIt seems that `shutil.rmtree` failed. It is supposed to work even if the directory is not empty, but you still end up with `OSError: [Errno 39] Directory not empty:`. Can you make sure another process is not using this directory at the same time ?", "I have the same...
1,662,150,903
5,735
Implement sharding on merged iterable datasets
closed
This PR allows sharding of merged iterable datasets. Merged iterable datasets with for instance the `interleave_datasets` command are comprised of multiple sub-iterable, one for each dataset that has been merged. With this PR, sharding a merged iterable will result in multiple merged datasets each comprised of sh...
true
2023-04-11T10:02:25Z
2023-04-27T16:39:04Z
2023-04-27T16:32:09Z
bruno-hays
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5735
2023-04-27T16:32:09Z
11
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5735
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hi ! What if one of the sub-iterables only has one shard ? In that case I don't think we'd end up with a correctly interleaved dataset, since only rank 0 would yield examples from this sub-iterable", "Hi ! \r\nI just tested this ou...
1,662,058,028
5,734
Remove temporary pin of fsspec
closed
Once root cause is found and fixed, remove the temporary pin introduced by: - #5731
true
2023-04-11T09:04:17Z
2023-04-11T11:04:52Z
2023-04-11T11:04:52Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/5734
false
[]
1,662,039,191
5,733
Unpin fsspec
closed
In `fsspec--2023.4.0` default value for clobber when registering an implementation was changed from True to False. See: - https://github.com/fsspec/filesystem_spec/pull/1237 This PR recovers previous behavior by passing clobber True when registering mock implementations. This PR also removes the temporary pin in...
true
2023-04-11T08:52:12Z
2023-04-11T11:11:45Z
2023-04-11T11:04:51Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5733
2023-04-11T11:04:51Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5733
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea...
1,662,020,571
5,732
Enwik8 should support the standard split
closed
### Feature request The HuggingFace Datasets library currently supports two BuilderConfigs for Enwik8. One config yields individual lines as examples, while the other config yields the entire dataset as a single example. Both support only a monolithic split: it is all grouped as "train". The HuggingFace Datasets l...
true
2023-04-11T08:38:53Z
2023-04-11T09:28:17Z
2023-04-11T09:28:16Z
lucaslingle
NONE
null
null
2
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5732
false
[ "#self-assign", "The Enwik8 pipeline is not present in this codebase, and is hosted elsewhere. I have opened a PR [there](https://huggingface.co/datasets/enwik8/discussions/4) instead. " ]
1,662,012,913
5,731
Temporarily pin fsspec
closed
Fix #5730.
true
2023-04-11T08:33:15Z
2023-04-11T08:57:45Z
2023-04-11T08:47:55Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5731
2023-04-11T08:47:55Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5731
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea...
1,662,007,926
5,730
CI is broken: ValueError: Name (mock) already in the registry and clobber is False
closed
CI is broken for `test_py310`. See: https://github.com/huggingface/datasets/actions/runs/4665326892/jobs/8258580948 ``` =========================== short test summary info ============================ ERROR tests/test_builder.py::test_builder_with_filesystem_download_and_prepare - ValueError: Name (mock) already ...
true
2023-04-11T08:29:46Z
2023-04-11T08:47:56Z
2023-04-11T08:47:56Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/5730
false
[]
1,661,929,923
5,729
Fix nondeterministic sharded data split order
closed
This PR makes the order of the split names deterministic. Before it was nondeterministic because we were iterating over `set` elements. Fix #5728.
true
2023-04-11T07:34:20Z
2023-04-26T15:12:25Z
2023-04-26T15:05:12Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5729
2023-04-26T15:05:12Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5729
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "The error in the CI was unrelated to this PR. I have merged main branch once that has been fixed.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### B...
1,661,925,932
5,728
The order of data split names is nondeterministic
closed
After this CI error: https://github.com/huggingface/datasets/actions/runs/4639528358/jobs/8210492953?pr=5718 ``` FAILED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split4] - AssertionError: assert ['random', 'train'] == ['train', 'random'] At index 0 diff: 'random' != 'train' Full diff:...
true
2023-04-11T07:31:25Z
2023-04-26T15:05:13Z
2023-04-26T15:05:13Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/5728
false
[]
1,661,536,363
5,727
load_dataset fails with FileNotFound error on Windows
closed
### Describe the bug Although I can import and run the datasets library in a Colab environment, I cannot successfully load any data on my own machine (Windows 10) despite following the install steps: (1) create conda environment (2) activate environment (3) install with: ``conda` install -c huggingface -c conda-...
true
2023-04-10T23:21:12Z
2023-07-21T14:08:20Z
2023-07-21T14:08:19Z
joelkowalewski
NONE
null
null
4
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5727
false
[ "Hi! Can you please paste the entire error stack trace, not only the last few lines?", "`----> 1 dataset = datasets.load_dataset(\"glue\", \"ax\")\r\n\r\nFile ~\\anaconda3\\envs\\huggingface\\Lib\\site-packages\\datasets\\load.py:1767, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, ...
1,660,944,807
5,726
Fallback JSON Dataset loading does not load all values when features specified manually
closed
### Describe the bug The fallback JSON dataset loader located here: https://github.com/huggingface/datasets/blob/1c4ec00511868bd881e84a6f7e0333648d833b8e/src/datasets/packaged_modules/json/json.py#L130-L153 does not load the values of features correctly when features are specified manually and not all features...
true
2023-04-10T15:22:14Z
2023-04-21T06:35:28Z
2023-04-21T06:35:28Z
myluki2000
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5726
false
[ "Thanks for reporting, @myluki2000.\r\n\r\nI am working on a fix." ]
1,660,455,202
5,725
How to limit the number of examples in dataset, for testing?
closed
### Describe the bug I am using this command: `data = load_dataset("json", data_files=data_path)` However, I want to add a parameter, to limit the number of loaded examples to be 10, for development purposes, but can't find this simple parameter. ### Steps to reproduce the bug In the description. ### Expected beh...
true
2023-04-10T08:41:43Z
2023-04-21T06:16:24Z
2023-04-21T06:16:24Z
ndvbd
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5725
false
[ "Hi! You can use the `nrows` parameter for this:\r\n```python\r\ndata = load_dataset(\"json\", data_files=data_path, nrows=10)\r\n```", "@mariosasko I get:\r\n\r\n`TypeError: __init__() got an unexpected keyword argument 'nrows'`", "I misread the format in which the dataset is stored - the `nrows` parameter wo...
1,659,938,135
5,724
Error after shuffling streaming IterableDatasets with downloaded dataset
closed
### Describe the bug I downloaded the C4 dataset, and used streaming IterableDatasets to read it. Everything went normal until I used `dataset = dataset.shuffle(seed=42, buffer_size=10_000)` to shuffle the dataset. Shuffled dataset will throw the following error when it is used by `next(iter(dataset))`: ``` File "/d...
true
2023-04-09T16:58:44Z
2023-04-20T20:37:30Z
2023-04-20T20:37:30Z
szxiangjn
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5724
false
[ "Moving `\"en\"` to the end of the path instead of passing it as a config name should fix the error:\r\n```python\r\nimport datasets\r\ndataset = datasets.load_dataset('/path/to/your/data/dir/en', streaming=True, split='train')\r\ndataset = dataset.shuffle(buffer_size=10_000, seed=42)\r\nnext(iter(dataset))\r\n```\...
1,659,837,510
5,722
Distributed Training Error on Customized Dataset
closed
Hi guys, recently I tried to use `datasets` to train a dual encoder. I finish my own datasets according to the nice [tutorial](https://huggingface.co/docs/datasets/v2.11.0/en/dataset_script) Here are my code: ```python class RetrivalDataset(datasets.GeneratorBasedBuilder): """CrossEncoder dataset.""" B...
true
2023-04-09T11:04:59Z
2023-07-24T14:50:46Z
2023-07-24T14:50:46Z
wlhgtc
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5722
false
[ "Hmm the error doesn't seem related to data loading.\r\n\r\nRegarding `split_dataset_by_node`: it's generally used to split an iterable dataset (e.g. when streaming) in pytorch DDP. It's not needed if you use a regular dataset since the pytorch DataLoader already assigns a subset of the dataset indices to each node...
1,659,680,682
5,721
Calling datasets.load_dataset("text" ...) results in a wrong split.
open
### Describe the bug When creating a text dataset, the training split should have the bulk of the examples by default. Currently, testing does. ### Steps to reproduce the bug I have a folder with 18K text files in it. Each text file essentially consists in a document or article scraped from online. Calling the follo...
true
2023-04-08T23:55:12Z
2023-04-08T23:55:12Z
null
cyrilzakka
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5721
false
[]
1,659,610,705
5,720
Streaming IterableDatasets do not work with torch DataLoaders
open
### Describe the bug When using streaming datasets set up with train/val split using `.skip()` and `.take()`, the following error occurs when iterating over a torch dataloader: ``` File "/Users/julian/miniconda3/envs/sims/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 363, in __iter__ self....
true
2023-04-08T18:45:48Z
2025-03-19T14:06:47Z
null
jlehrer1
NONE
null
null
10
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5720
false
[ "Edit: This behavior is true even without `.take/.set`", "I'm experiencing the same problem that @jlehrer1. I was able to reproduce it with a very small example:\r\n\r\n```py\r\nfrom datasets import Dataset, load_dataset, load_dataset_builder\r\nfrom torch.utils.data import DataLoader\r\n\r\n\r\ndef my_gen():\r\n...
1,659,203,222
5,719
Array2D feature creates a list of list instead of a numpy array
closed
### Describe the bug I'm not sure if this is expected behavior or not. When I create a 2D array using `Array2D`, the data has list type instead of numpy array. I think it should not be the expected behavior especially when I feed a numpy array as input to the data creation function. Why is it converting my array int...
true
2023-04-07T21:04:08Z
2023-04-20T15:34:41Z
2023-04-20T15:34:41Z
offchan42
NONE
null
null
4
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5719
false
[ "Hi! \r\n\r\nYou need to set the format to `np` before indexing the dataset to get NumPy arrays:\r\n```python\r\nfeatures = Features(dict(seq=Array2D((2,2), 'float32'))) \r\nds = Dataset.from_dict(dict(seq=[np.random.rand(2,2)]), features=features)\r\nds.set_format(\"np\")\r\na = ds[0]['seq']\r\n```\r\n\r\n> I th...
1,658,958,406
5,718
Reorder default data splits to have validation before test
closed
This PR reorders data splits, so that by default validation appears before test. The default order becomes: [train, validation, test] instead of [train, test, validation].
true
2023-04-07T16:01:26Z
2023-04-27T14:43:13Z
2023-04-27T14:35:52Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5718
2023-04-27T14:35:52Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5718
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "After this CI error: https://github.com/huggingface/datasets/actions/runs/4639528358/jobs/8210492953?pr=5718\r\n```\r\nFAILED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split4] - AssertionError: assert ['ran...
1,658,729,866
5,717
Errror when saving to disk a dataset of images
open
### Describe the bug Hello! I have an issue when I try to save on disk my dataset of images. The error I get is: ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/jplu/miniconda3/envs/image-xp/lib/python3.10/site-packages/datasets/arrow_dataset.py", line 1442, in save_...
true
2023-04-07T11:59:17Z
2025-02-09T09:35:25Z
null
jplu
CONTRIBUTOR
null
null
20
1
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5717
false
[ "Looks like as long as the number of shards makes a batch lower than 1000 images it works. In my training set I have 40K images. If I use `num_shards=40` (batch of 1000 images) I get the error, but if I update it to `num_shards=50` (batch of 800 images) it works.\r\n\r\nI will be happy to share my dataset privately...
1,658,613,092
5,716
Handle empty audio
closed
Some audio paths exist, but they are empty, and an error will be reported when reading the audio path.How to use the filter function to avoid the empty audio path? when a audio is empty, when do resample , it will break: `array, sampling_rate = sf.read(f) array = librosa.resample(array, orig_sr=sampling_rate, target_...
true
2023-04-07T09:51:40Z
2023-09-27T17:47:08Z
2023-09-27T17:47:08Z
ben-8878
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5716
false
[ "Hi! Can you share one of the problematic audio files with us?\r\n\r\nI tried to reproduce the error with the following code: \r\n```python\r\nimport soundfile as sf\r\nimport numpy as np\r\nfrom datasets import Audio\r\n\r\nsf.write(\"empty.wav\", np.array([]), 16000)\r\nAudio(sampling_rate=24000).decode_example(...
1,657,479,788
5,715
Return Numpy Array (fixed length) Mode, in __get_item__, Instead of List
closed
### Feature request There are old known issues, but they can be easily forgettable problems in multiprocessing with pytorch-dataloader: Too high usage of RAM or shared-memory in pytorch when we set num workers > 1 and returning type of dataset or dataloader is "List" or "Dict". https://github.com/pytorch/pytorch...
true
2023-04-06T13:57:48Z
2023-04-20T17:16:26Z
2023-04-20T17:16:26Z
jungbaepark
NONE
null
null
1
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5715
false
[ "Hi! \r\n\r\nYou can use [`.set_format(\"np\")`](https://huggingface.co/docs/datasets/process#format) to get NumPy arrays (or Pytorch tensors with `.set_format(\"torch\")`) in `__getitem__`.\r\n\r\nAlso, have you been able to reproduce the linked PyTorch issue with a HF dataset?\r\n " ]
1,657,388,033
5,714
Fix xnumpy_load for .npz files
closed
PR: - #5626 implemented support for streaming `.npy` files by using `numpy.load`. However, it introduced a bug when used with `.npz` files, within a context manager: ``` ValueError: seek of closed file ``` or in streaming mode: ``` ValueError: I/O operation on closed file. ``` This PR fixes the bug an...
true
2023-04-06T13:01:45Z
2023-04-07T09:23:54Z
2023-04-07T09:16:57Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5714
2023-04-07T09:16:57Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5714
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea...
1,657,141,251
5,713
ArrowNotImplementedError when loading dataset from the hub
closed
### Describe the bug Hello, I have created a dataset by using the image loader. Once the dataset is created I try to download it and I get the error: ``` Traceback (most recent call last): File "/home/jplu/miniconda3/envs/image-xp/lib/python3.10/site-packages/datasets/builder.py", line 1860, in _prepare_split_...
true
2023-04-06T10:27:22Z
2023-04-06T13:06:22Z
2023-04-06T13:06:21Z
jplu
CONTRIBUTOR
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5713
false
[ "Hi Julien ! This sounds related to https://github.com/huggingface/datasets/issues/5695 - TL;DR: you need to have shards smaller than 2GB to avoid this issue\r\n\r\nThe number of rows per shard is computed using an estimated size of the full dataset, which can sometimes lead to shards bigger than `max_shard_size`. ...
1,655,972,106
5,712
load_dataset in v2.11.0 raises "ValueError: seek of closed file" in np.load()
closed
### Describe the bug Hi, I have some `dataset_load()` code of a custom offline dataset that works with datasets v2.10.1. ```python ds = datasets.load_dataset(path=dataset_dir, name=configuration, data_dir=dataset_dir, ...
true
2023-04-05T16:47:10Z
2023-04-06T08:32:37Z
2023-04-05T17:17:44Z
rcasero
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5712
false
[ "Closing since this is a duplicate of #5711", "> Closing since this is a duplicate of #5711\r\n\r\nSorry @mariosasko , my internet went down went submitting the issue, and somehow it ended up creating a duplicate" ]
1,655,971,647
5,711
load_dataset in v2.11.0 raises "ValueError: seek of closed file" in np.load()
closed
### Describe the bug Hi, I have some `dataset_load()` code of a custom offline dataset that works with datasets v2.10.1. ```python ds = datasets.load_dataset(path=dataset_dir, name=configuration, data_dir=dataset_dir, ...
true
2023-04-05T16:46:49Z
2023-04-07T09:16:59Z
2023-04-07T09:16:59Z
rcasero
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5711
false
[ "It seems like https://github.com/huggingface/datasets/pull/5626 has introduced this error. \r\n\r\ncc @albertvillanova \r\n\r\nI think replacing:\r\nhttps://github.com/huggingface/datasets/blob/0803a006db1c395ac715662cc6079651f77c11ea/src/datasets/download/streaming_download_manager.py#L777-L778\r\nwith:\r\n```pyt...
1,655,703,534
5,710
OSError: Memory mapping file failed: Cannot allocate memory
closed
### Describe the bug Hello, I have a series of datasets each of 5 GB, 600 datasets in total. So together this makes 3TB. When I trying to load all the 600 datasets into memory, I get the above error message. Is this normal because I'm hitting the max size of memory mapping of the OS? Thank you ```te...
true
2023-04-05T14:11:26Z
2023-04-20T17:16:40Z
2023-04-20T17:16:40Z
Saibo-creator
NONE
null
null
1
1
1
0
null
false
[]
https://github.com/huggingface/datasets/issues/5710
false
[ "Hi! This error means that PyArrow's internal [`mmap`](https://man7.org/linux/man-pages/man2/mmap.2.html) call failed to allocate memory, which can be tricky to debug. Since this error is more related to PyArrow than us, I think it's best to report this issue in their [repo](https://github.com/apache/arrow) (they a...
1,655,423,503
5,709
Manually dataset info made not taken into account
closed
### Describe the bug Hello, I'm manually building an image dataset with the `from_dict` approach. I also build the features with the `cast_features` methods. Once the dataset is created I push it on the hub, and a default `dataset_infos.json` file seems to have been automatically added to the repo in same time. Hen...
true
2023-04-05T11:15:17Z
2023-04-06T08:52:20Z
2023-04-06T08:52:19Z
jplu
CONTRIBUTOR
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5709
false
[ "hi @jplu ! Did I understand you correctly that you create the dataset, push it to the Hub with `.push_to_hub` and you see a `dataset_infos.json` file there, then you edit this file, load the dataset with `load_dataset` and you don't see any changes in `.info` attribute of a dataset object? \r\n\r\nThis is actually...
1,655,023,642
5,708
Dataset sizes are in MiB instead of MB in dataset cards
closed
As @severo reported in an internal discussion (https://github.com/huggingface/moon-landing/issues/5929): Now we show the dataset size: - from the dataset card (in the side column) - from the datasets-server (in the viewer) But, even if the size is the same, we see a mismatch because the viewer shows MB, while t...
true
2023-04-05T06:36:03Z
2023-12-21T10:20:28Z
2023-12-21T10:20:27Z
albertvillanova
MEMBER
null
null
12
0
0
0
null
false
[ "bug", "dataset-viewer" ]
https://github.com/huggingface/datasets/issues/5708
false
[ "Example of bulk edit: https://huggingface.co/datasets/aeslc/discussions/5", "looks great! \r\n\r\nDo you encode the fact that you've already converted a dataset? (to not convert it twice) or do you base yourself on the info contained in `dataset_info`", "I am only looping trough the dataset cards, assuming tha...
1,653,545,835
5,706
Support categorical data types for Parquet
closed
### Feature request Huggingface datasets does not seem to support categorical / dictionary data types for Parquet as of now. There seems to be a `TODO` in the code for this feature but no implementation yet. Below you can find sample code to reproduce the error that is currently thrown when attempting to read a Parq...
true
2023-04-04T09:45:35Z
2024-06-07T12:20:43Z
2024-06-07T12:20:43Z
kklemon
NONE
null
null
17
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5706
false
[ "Hi ! We could definitely a type that holds the categories and uses a DictionaryType storage. There's a ClassLabel type that is similar with a 'names' parameter (similar to a id2label in deep learning frameworks) that uses an integer array as storage.\r\n\r\nIt can be added in `features.py`. Here are some pointers:...
1,653,500,383
5,705
Getting next item from IterableDataset took forever.
closed
### Describe the bug I have a large dataset, about 500GB. The format of the dataset is parquet. I then load the dataset and try to get the first item ```python def get_one_item(): dataset = load_dataset("path/to/datafiles", split="train", cache_dir=".", streaming=True) dataset = dataset.filter(lambda...
true
2023-04-04T09:16:17Z
2023-04-05T23:35:41Z
2023-04-05T23:35:41Z
HongtaoYang
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5705
false
[ "Hi! It can take some time to iterate over Parquet files as big as yours, convert the samples to Python, and find the first one that matches a filter predicate before yielding it...", "Thanks @mariosasko, I figured it was the filter operation. I'm closing this issue because it is not a bug, it is the expected beh...
1,653,471,356
5,704
5537 speedup load
open
I reimplemented fsspec.spec.glob() in `hffilesystem.py` as `_glob`, used it in `_resolve_single_pattern_in_dataset_repository` only, and saw a 20% speedup in times to load the config, on average. That's not much when usually this step takes only 2-3 seconds for most datasets, but in this particular case, `bigcode...
true
2023-04-04T08:58:14Z
2023-04-07T16:10:55Z
null
semajyllek
NONE
https://github.com/huggingface/datasets/pull/5704
null
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5704
true
[ "Awesome ! cc @mariosasko :)", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5704). All of your documentation changes will be reflected on that endpoint.", "Hi, thanks for working on this!\r\n\r\nYour solution only works if the `root` is `\"\"`, e.g., this would yield an...
1,653,158,955
5,703
[WIP][Test, Please ignore] Investigate performance impact of using multiprocessing only
closed
true
2023-04-04T04:37:49Z
2023-04-20T03:17:37Z
2023-04-20T03:17:32Z
hvaara
NONE
https://github.com/huggingface/datasets/pull/5703
null
4
0
0
0
true
false
[]
https://github.com/huggingface/datasets/pull/5703
true
[ "`multiprocess` uses `dill` instead of `pickle` for pickling shared objects and, as such, can pickle more types than `multiprocessing`. And I don't think this is something we want to change :).", "That makes sense to me, and I don't think you should merge this change. I was only curious about the performance impa...
1,653,104,720
5,702
Is it possible or how to define a `datasets.Sequence` that could potentially be either a dict, a str, or None?
closed
### Feature request Hello! Apologies if my question sounds naive: I was wondering if it’s possible, or how one would go about defining a 'datasets.Sequence' element in datasets.Features that could potentially be either a dict, a str, or None? Specifically, I’d like to define a feature for a list that contains 18...
true
2023-04-04T03:20:43Z
2023-04-05T14:15:18Z
2023-04-05T14:15:17Z
gitforziio
NONE
null
null
4
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5702
false
[ "Hi ! `datasets` uses Apache Arrow as backend to store the data, and it requires each column to have a fixed type. Therefore a column can't have a mix of dicts/lists/strings.\r\n\r\nThough it's possible to have one (nullable) field for each type:\r\n```python\r\nfeatures = Features({\r\n \"text_alone\": Value(\"...
1,652,931,399
5,701
Add Dataset.from_spark
closed
Adds static method Dataset.from_spark to create datasets from Spark DataFrames. This approach alleviates users of the need to materialize their dataframe---a common use case is that the user loads their dataset into a dataframe, uses Spark to apply some transformation to some of the columns, and then wants to train ...
true
2023-04-03T23:51:29Z
2023-06-16T16:39:32Z
2023-04-26T15:43:39Z
maddiedawson
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5701
2023-04-26T15:43:39Z
21
6
0
2
false
false
[]
https://github.com/huggingface/datasets/pull/5701
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "@mariosasko Would you or another HF datasets maintainer be able to review this, please?", "Amazing ! Great job @maddiedawson \r\n\r\nDo you know if it's possible to also support writing to Parquet using the HF ParquetWriter if `fil...
1,652,527,530
5,700
fix: fix wrong modification of the 'cache_file_name' -related paramet…
open
…ers values in 'train_test_split' + fix bad interaction between 'keep_in_memory' and 'cache_file_name' -related parameters (#5699)
true
2023-04-03T18:05:26Z
2023-04-06T17:17:27Z
null
FrancoisNoyez
NONE
https://github.com/huggingface/datasets/pull/5700
null
7
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5700
true
[ "Have you tried to set the cache file names if `keep_in_memory`is True ?\r\n\r\n```diff\r\n- if self.cache_files:\r\n+ if self.cache_files and not keep_in_memory:\r\n```\r\n\r\nThis way it doesn't change the indice cache arguments and leave them as `None`", "@lhoestq \r\nRegarding what you suggest:\r\nThe thing i...
1,652,437,419
5,699
Issue when wanting to split in memory a cached dataset
open
### Describe the bug **In the 'train_test_split' method of the Dataset class** (defined datasets/arrow_dataset.py), **if 'self.cache_files' is not empty**, then, **regarding the input parameters 'train_indices_cache_file_name' and 'test_indices_cache_file_name', if they are None**, we modify them to make them not No...
true
2023-04-03T17:00:07Z
2024-05-15T13:12:18Z
null
FrancoisNoyez
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5699
false
[ "Hi ! Good catch, this is wrong indeed and thanks for opening a PR :)", "Facing the same issue. Kindly fix this bug." ]
1,652,183,611
5,698
Add Qdrant as another search index
open
### Feature request I'd suggest adding Qdrant (https://qdrant.tech) as another search index available, so users can directly build an index from a dataset. Currently, FAISS and ElasticSearch are only supported: https://huggingface.co/docs/datasets/faiss_es ### Motivation ElasticSearch is a keyword-based search syst...
true
2023-04-03T14:25:19Z
2023-04-11T10:28:40Z
null
kacperlukawski
CONTRIBUTOR
null
null
1
6
6
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5698
false
[ "@mariosasko I'd appreciate your feedback on this. " ]
1,651,812,614
5,697
Raise an error on missing distributed seed
closed
close https://github.com/huggingface/datasets/issues/5696
true
2023-04-03T10:44:58Z
2023-04-04T15:05:24Z
2023-04-04T14:58:16Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5697
2023-04-04T14:58:16Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5697
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea...
1,651,707,008
5,696
Shuffle a sharded iterable dataset without seed can lead to duplicate data
closed
As reported in https://github.com/huggingface/datasets/issues/5360 If `seed=None` in `.shuffle()`, shuffled datasets don't use the same shuffling seed across nodes. Because of that, the lists of shards is not shuffled the same way across nodes, and therefore some shards may be assigned to multiple nodes instead o...
true
2023-04-03T09:40:03Z
2023-04-04T14:58:18Z
2023-04-04T14:58:18Z
lhoestq
MEMBER
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/5696
false
[]
1,650,974,156
5,695
Loading big dataset raises pyarrow.lib.ArrowNotImplementedError
closed
### Describe the bug Calling `datasets.load_dataset` to load the (publicly available) dataset `theodor1289/wit` fails with `pyarrow.lib.ArrowNotImplementedError`. ### Steps to reproduce the bug Steps to reproduce this behavior: 1. `!pip install datasets` 2. `!huggingface-cli login` 3. This step will throw the e...
true
2023-04-02T14:42:44Z
2024-05-15T12:04:47Z
2023-04-10T08:04:04Z
amariucaitheodor
NONE
null
null
7
1
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5695
false
[ "Hi ! It looks like an issue with PyArrow: https://issues.apache.org/jira/browse/ARROW-5030\r\n\r\nIt appears it can happen when you have parquet files with row groups larger than 2GB.\r\nI can see that your parquet files are around 10GB. It is usually advised to keep a value around the default value 500MB to avoid...
1,650,467,793
5,694
Dataset configuration
open
Following discussions from https://github.com/huggingface/datasets/pull/5331 We could have something like `config.json` to define the configuration of a dataset. ```json { "data_dir": "data" "data_files": { "train": "train-[0-9][0-9][0-9][0-9]-of-[0-9][0-9][0-9][0-9][0-9]*.*" } } ``` ...
true
2023-04-01T13:08:05Z
2023-04-04T14:54:37Z
null
lhoestq
MEMBER
null
null
3
2
2
0
null
false
[ "generic discussion" ]
https://github.com/huggingface/datasets/issues/5694
false
[ "Originally we also though about adding it to the YAML part of the README.md:\r\n\r\n```yaml\r\nbuilder_config:\r\n data_dir: data\r\n data_files:\r\n - split: train\r\n pattern: \"train-[0-9][0-9][0-9][0-9]-of-[0-9][0-9][0-9][0-9][0-9]*.*\"\r\n```\r\n\r\nHaving it in the README.md could make it easier to mod...
1,649,934,749
5,693
[docs] Split pattern search order
closed
This PR addresses #5681 about the order of split patterns 🤗 Datasets searches for when generating dataset splits.
true
2023-03-31T19:51:38Z
2023-04-03T18:43:30Z
2023-04-03T18:29:58Z
stevhliu
MEMBER
https://github.com/huggingface/datasets/pull/5693
2023-04-03T18:29:58Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5693
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea...
1,649,818,644
5,692
pyarrow.lib.ArrowInvalid: Unable to merge: Field <field> has incompatible types
open
### Describe the bug When loading the dataset [wikianc-en](https://huggingface.co/datasets/cyanic-selkie/wikianc-en) which I created using [this](https://github.com/cyanic-selkie/wikianc) code, I get the following error: ``` Traceback (most recent call last): File "/home/sven/code/rector/answer-detection/trai...
true
2023-03-31T18:19:40Z
2024-01-14T07:24:21Z
null
cyanic-selkie
NONE
null
null
6
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5692
false
[ "Hi! The link pointing to the code that generated the dataset is broken. Can you please fix it to make debugging easier?", "> Hi! The link pointing to the code that generated the dataset is broken. Can you please fix it to make debugging easier?\r\n\r\nSorry about that, it's fixed now.\r\n", "@cyanic-selkie cou...
1,649,737,526
5,691
[docs] Compress data files
closed
This PR addresses the comments in #5687 about compressing text file extensions before uploading to the Hub. Also clarified what "too large" means based on the GitLFS [docs](https://docs.github.com/en/repositories/working-with-files/managing-large-files/about-git-large-file-storage).
true
2023-03-31T17:17:26Z
2023-04-19T13:37:32Z
2023-04-19T07:25:58Z
stevhliu
MEMBER
https://github.com/huggingface/datasets/pull/5691
2023-04-19T07:25:58Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5691
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "[Confirmed](https://huggingface.slack.com/archives/C02EMARJ65P/p1680541667004199) with the Hub team the file size limit for the Hugging Face Hub is 10MB :)", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<deta...
1,648,956,349
5,689
Support streaming Beam datasets from HF GCS preprocessed data
closed
This PR implements streaming Apache Beam datasets that are already preprocessed by us and stored in the HF Google Cloud Storage: - natural_questions - wiki40b - wikipedia This is done by streaming from the prepared Arrow files in HF Google Cloud Storage. This will fix their corresponding dataset viewers. Relat...
true
2023-03-31T08:44:24Z
2023-04-12T05:57:55Z
2023-04-12T05:50:31Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5689
2023-04-12T05:50:30Z
4
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/5689
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "```python\r\nIn [1]: from datasets import load_dataset\r\n\r\nIn [2]: ds = load_dataset(\"wikipedia\", \"20220301.en\", split=\"train\", streaming=True); item = next(iter(ds)); item\r\nOut[2]: \r\n{'id': '12',\r\n 'url': 'https://en....
1,649,289,883
5,690
raise AttributeError(f"No {package_name} attribute {name}") AttributeError: No huggingface_hub attribute hf_api
closed
### Describe the bug rta.sh Traceback (most recent call last): File "run.py", line 7, in <module> import datasets File "/home/appuser/miniconda3/envs/pt2/lib/python3.8/site-packages/datasets/__init__.py", line 37, in <module> from .builder import ArrowBasedBuilder, BeamBasedBuilder, BuilderConfig, Dat...
true
2023-03-31T08:22:22Z
2023-07-21T14:21:57Z
2023-07-21T14:21:57Z
wccccp
NONE
null
null
5
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/5690
false
[ "Hi @wccccp, thanks for reporting. \r\nThat's weird since `huggingface_hub` _has_ a module called `hf_api` and you are using a recent version of it. \r\n\r\nWhich version of `datasets` are you using? And is it a bug that you experienced only recently? (cc @lhoestq can it be somehow related to the recent release of ...
1,648,463,504
5,688
Wikipedia download_and_prepare for GCS
closed
### Describe the bug I am unable to download the wikipedia dataset onto GCS. When I run the script provided the memory firstly gets eaten up, then it crashes. I tried running this on a VM with 128GB RAM and all I got was a two empty files: _data_builder.lock_, _data.incomplete/beam-temp-wikipedia-train-1ab2039a...
true
2023-03-30T23:43:22Z
2024-03-15T15:59:18Z
2024-03-15T15:59:18Z
adrianfagerland
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5688
false
[ "Hi @adrianfagerland, thanks for reporting.\r\n\r\nPlease note that \"wikipedia\" is a special dataset, with an Apache Beam builder: https://beam.apache.org/\r\nYou can find more info about Beam datasets in our docs: https://huggingface.co/docs/datasets/beam\r\n\r\nIt was implemented to be run in parallel processin...
1,647,009,018
5,687
Document to compress data files before uploading
closed
In our docs to [Share a dataset to the Hub](https://huggingface.co/docs/datasets/upload_dataset), we tell users to upload directly their data files, like CSV, JSON, JSON-Lines, text,... However, these extensions are not tracked by Git LFS by default, as they are not in the `.giattributes` file. Therefore, if they are t...
true
2023-03-30T06:41:07Z
2023-04-19T07:25:59Z
2023-04-19T07:25:59Z
albertvillanova
MEMBER
null
null
3
1
1
0
null
false
[ "documentation" ]
https://github.com/huggingface/datasets/issues/5687
false
[ "Great idea!\r\n\r\nShould we also take this opportunity to include some audio/image file formats? Currently, it still reads very text heavy. Something like:\r\n\r\n> We support many text, audio, and image data extensions such as `.zip`, `.rar`, `.mp3`, and `.jpg` among many others. For data extensions like `.csv`,...
1,646,308,228
5,686
set dev version
closed
true
2023-03-29T18:24:13Z
2023-03-29T18:33:49Z
2023-03-29T18:24:22Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5686
2023-03-29T18:24:22Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5686
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5686). All of your documentation changes will be reflected on that endpoint.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchma...
1,646,048,667
5,685
Broken Image render on the hub website
closed
### Describe the bug Hi :wave: Not sure if this is the right place to ask, but I am trying to load a huge amount of datasets on the hub (:partying_face: ) but I am facing a little issue with the `image` type ![image](https://user-images.githubusercontent.com/15908060/228587875-427a37f1-3a31-4e17-8bbe-0f75900391...
true
2023-03-29T15:25:30Z
2023-03-30T07:54:25Z
2023-03-30T07:54:25Z
FrancescoSaverioZuppichini
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5685
false
[ "Hi! \r\n\r\nYou can fix the viewer by adding the `dataset_info` YAML field deleted in https://huggingface.co/datasets/Francesco/cell-towers/commit/b95b59ddd91ebe9c12920f0efe0ed415cd0d4298 back to the metadata section of the card. \r\n\r\nTo avoid this issue in the feature, you can use `huggingface_hub`'s [RepoCard...
1,646,013,226
5,684
Release: 2.11.0
closed
true
2023-03-29T15:06:07Z
2023-03-29T18:30:34Z
2023-03-29T18:15:54Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5684
2023-03-29T18:15:54Z
5
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5684
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea...
1,646,001,197
5,683
Fix verification_mode when ignore_verifications is passed
closed
This PR fixes the values assigned to `verification_mode` when passing `ignore_verifications` to `load_dataset`. Related to: - #5303 Fix #5682.
true
2023-03-29T15:00:50Z
2023-03-29T17:36:06Z
2023-03-29T17:28:57Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5683
2023-03-29T17:28:57Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5683
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea...
1,646,000,571
5,682
ValueError when passing ignore_verifications
closed
When passing `ignore_verifications=True` to `load_dataset`, we get a ValueError: ``` ValueError: 'none' is not a valid VerificationMode ```
true
2023-03-29T15:00:30Z
2023-03-29T17:28:58Z
2023-03-29T17:28:58Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/5682
false
[]
1,645,630,784
5,681
Add information about patterns search order to the doc about structuring repo
closed
Following [this](https://github.com/huggingface/datasets/issues/5650) issue I think we should add a note about the order of patterns that is used to find splits, see [my comment](https://github.com/huggingface/datasets/issues/5650#issuecomment-1488412527). Also we should reference this page in pages about packaged load...
true
2023-03-29T11:44:49Z
2023-04-03T18:31:11Z
2023-04-03T18:31:11Z
polinaeterna
CONTRIBUTOR
null
null
2
0
0
0
null
false
[ "documentation" ]
https://github.com/huggingface/datasets/issues/5681
false
[ "Good idea, I think I've seen this a couple of times before too on the forums. I can work on this :)", "Closed in #5693 " ]
1,645,430,103
5,680
Fix a description error for interleave_datasets.
closed
There is a description mistake in the annotation of interleave_dataset with "all_exhausted" stopping_strategy. ``` python d1 = Dataset.from_dict({"a": [0, 1, 2]}) d2 = Dataset.from_dict({"a": [10, 11, 12, 13]}) d3 = Dataset.from_dict({"a": [20, 21, 22, 23, 24]}) dataset = interleave_datasets([d1, d2, d3], stopping...
true
2023-03-29T09:50:23Z
2023-03-30T13:14:19Z
2023-03-30T13:07:18Z
QizhiPei
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5680
2023-03-30T13:07:18Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5680
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "_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_a...
1,645,184,622
5,679
Allow load_dataset to take a working dir for intermediate data
open
### Feature request As a user, I can set a working dir for intermediate data creation. The processed files will be moved to the cache dir, like ``` load_dataset(…, working_dir=”/temp/dir”, cache_dir=”/cloud_dir”). ``` ### Motivation This will help the use case for using datasets with cloud storage as cache. It wi...
true
2023-03-29T07:21:09Z
2023-04-12T22:30:25Z
null
lu-wang-dl
NONE
null
null
4
1
1
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5679
false
[ "Hi ! AFAIK a dataset must be present on a local disk to be able to efficiently memory map the datasets Arrow files. What makes you think that it is possible to load from a cloud storage and have good performance ?\r\n\r\nAnyway it's already possible to download_and_prepare a dataset as Arrow files in a cloud stora...
1,645,018,359
5,678
Add support to create a Dataset from spark dataframe
closed
### Feature request Add a new API `Dataset.from_spark` to create a Dataset from Spark DataFrame. ### Motivation Spark is a distributed computing framework that can handle large datasets. By supporting loading Spark DataFrames directly into Hugging Face Datasets, we enable take the advantages of spark to processing t...
true
2023-03-29T04:36:28Z
2024-08-27T14:43:19Z
2023-07-21T14:15:38Z
lu-wang-dl
NONE
null
null
5
2
2
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5678
false
[ "if i read spark Dataframe , got an error on multi-node Spark cluster.\r\nDid the Api (Dataset.from_spark) support Spark cluster, read dataframe and save_to_disk?\r\n\r\nError: \r\n_pickle.PicklingError: Could not serialize object: RuntimeError: It appears that you are attempting to reference SparkContext from a b...
1,644,828,606
5,677
Dataset.map() crashes when any column contains more than 1000 empty dictionaries
closed
### Describe the bug `Dataset.map()` crashes any time any column contains more than `writer_batch_size` (default 1000) empty dictionaries, regardless of whether the column is being operated on. The error does not occur if the dictionaries are non-empty. ### Steps to reproduce the bug Example: ``` import datasets...
true
2023-03-29T00:01:31Z
2023-07-07T14:01:14Z
2023-07-07T14:01:14Z
mtoles
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5677
false
[]
1,641,763,478
5,675
Filter datasets by language code
closed
Hi! I use the language search field on https://huggingface.co/datasets However, some of the datasets tagged by ISO language code are not accessible by this search form. For example, [myv_ru_2022](https://huggingface.co/datasets/slone/myv_ru_2022) is has `myv` language tag but it is not included in Languages search fo...
true
2023-03-27T09:42:28Z
2023-03-30T08:08:15Z
2023-03-30T08:08:15Z
named-entity
NONE
null
null
4
6
6
0
null
false
[]
https://github.com/huggingface/datasets/issues/5675
false
[ "The dataset still can be found, if instead of using the search form you just enter the language code in the url, like https://huggingface.co/datasets?language=language:myv. \r\n\r\nBut of course having a more complete list of languages in the search form (or just a fallback to the language codes, if they are missi...
1,641,084,105
5,674
Stored XSS
closed
x
true
2023-03-26T20:55:58Z
2024-04-30T22:56:41Z
2023-03-27T21:01:55Z
Fadavvi
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5674
false
[ "Hi! You can contact `security@huggingface.co` to report this vulnerability." ]
1,641,066,352
5,673
Pass down storage options
closed
Remove implementation-specific kwargs from `file_utils.fsspec_get` and `file_utils.fsspec_head`, instead allowing them to be passed down via `storage_options`. This fixes an issue where s3fs did not recognize a timeout arg as well as fixes an issue mentioned in https://github.com/huggingface/datasets/issues/5281 by all...
true
2023-03-26T20:09:37Z
2023-03-28T15:03:38Z
2023-03-28T14:54:17Z
dwyatte
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5673
2023-03-28T14:54:17Z
5
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5673
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "> download_and_prepare is not called when streaming a dataset, so we may need to have storage_options in the DatasetBuilder.__init__ ? This way it could also be passed later to as_streaming_dataset and the StreamingDownloadManager\r\...
1,641,005,322
5,672
Pushing dataset to hub crash
closed
### Describe the bug Uploading a dataset with `push_to_hub()` fails without error description. ### Steps to reproduce the bug Hey there, I've built a image dataset of 100k images + text pair as described here https://huggingface.co/docs/datasets/image_dataset#imagefolder Now I'm trying to push it to the hub b...
true
2023-03-26T17:42:13Z
2023-03-30T08:11:05Z
2023-03-30T08:11:05Z
tzvc
NONE
null
null
3
1
1
0
null
false
[]
https://github.com/huggingface/datasets/issues/5672
false
[ "Hi ! It's been fixed by https://github.com/huggingface/datasets/pull/5598. We're doing a new release tomorrow with the fix and you'll be able to push your 100k images ;)\r\n\r\nBasically `push_to_hub` used to fail if the remote repository already exists and has a README.md without dataset_info in the YAML tags.\r\...