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,771,588,158
5,985
Cannot reuse tokenizer object for dataset map
closed
### Describe the bug Related to https://github.com/huggingface/transformers/issues/24441. Not sure if this is a tokenizer issue or caching issue, so filing in both. Passing the tokenizer to the dataset map function causes the tokenizer to be fingerprinted weirdly. After calling the tokenizer with arguments like pad...
true
2023-06-23T14:45:31Z
2023-07-21T14:09:14Z
2023-07-21T14:09:14Z
vikigenius
NONE
null
null
2
1
1
0
null
false
[ "duplicate" ]
https://github.com/huggingface/datasets/issues/5985
false
[ "This is a known issue: https://github.com/huggingface/datasets/issues/3847.\r\n\r\nFixing this requires significant work - rewriting the `tokenizers` lib to make them immutable.\r\n\r\nThe current solution is to pass `cache_file_name` to `map` to use that file for caching or calling a tokenizer before `map` (with ...
1,771,571,458
5,984
AutoSharding IterableDataset's when num_workers > 1
open
### Feature request Minimal Example ``` import torch from datasets import IterableDataset d = IterableDataset.from_file(<file_name>) dl = torch.utils.data.dataloader.DataLoader(d,num_workers=3) for sample in dl: print(sample) ``` Warning: Too many dataloader workers: 2 (max is dataset.n_shard...
true
2023-06-23T14:34:20Z
2024-03-22T15:01:14Z
null
mathephysicist
NONE
null
null
8
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5984
false
[ "For this to be possible, we would have to switch from the \"Streaming\" Arrow format to the \"Random Access\" (IPC/Feather) format, which allows reading arbitrary record batches (explained [here](https://arrow.apache.org/docs/python/ipc.html)). We could then use these batches to construct shards.\r\n\r\n@lhoestq @...
1,770,578,804
5,983
replaced PathLike as a variable for save_to_disk for dataset_path wit…
closed
…h str like that of load_from_disk
true
2023-06-23T00:57:05Z
2023-09-11T04:17:17Z
2023-09-11T04:17:17Z
benjaminbrown038
NONE
https://github.com/huggingface/datasets/pull/5983
null
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5983
true
[]
1,770,333,296
5,982
404 on Datasets Documentation Page
closed
### Describe the bug Getting a 404 from the Hugging Face Datasets docs page: https://huggingface.co/docs/datasets/index ### Steps to reproduce the bug 1. Go to URL https://huggingface.co/docs/datasets/index 2. Notice 404 not found ### Expected behavior URL should either show docs or redirect to new location #...
true
2023-06-22T20:14:57Z
2023-06-26T15:45:03Z
2023-06-26T15:45:03Z
kmulka-bloomberg
NONE
null
null
2
1
1
0
null
false
[]
https://github.com/huggingface/datasets/issues/5982
false
[ "This wasn’t working for me a bit earlier, but it looks to be back up now", "We had a minor issue updating the docs after the latest release. It should work now :)." ]
1,770,310,087
5,981
Only two cores are getting used in sagemaker with pytorch 3.10 kernel
closed
### Describe the bug When using the newer pytorch 3.10 kernel, only 2 cores are being used by huggingface filter and map functions. The Pytorch 3.9 kernel would use as many cores as specified in the num_proc field. We have solved this in our own code by placing the following snippet in the code that is called insi...
true
2023-06-22T19:57:31Z
2023-10-30T06:17:40Z
2023-07-24T11:54:52Z
mmr-crexi
NONE
null
null
4
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5981
false
[ "I think it's more likely that this issue is related to PyTorch than Datasets, as PyTorch (on import) registers functions to execute when forking a process. Maybe this is the culprit: https://github.com/pytorch/pytorch/issues/99625", "From reading that ticket, it may be down in mkl? Is it worth hotfixing in the ...
1,770,255,973
5,980
Viewing dataset card returns “502 Bad Gateway”
closed
The url is: https://huggingface.co/datasets/Confirm-Labs/pile_ngrams_trigrams I am able to successfully view the “Files and versions” tab: [Confirm-Labs/pile_ngrams_trigrams at main](https://huggingface.co/datasets/Confirm-Labs/pile_ngrams_trigrams/tree/main) Any help would be appreciated! Thanks! I hope this is ...
true
2023-06-22T19:14:48Z
2023-06-27T08:38:19Z
2023-06-26T14:42:45Z
tbenthompson
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5980
false
[ "Can you try again? Maybe there was a minor outage.", "Yes, it seems to be working now. In case it's helpful, the outage lasted several days. It was failing as late as yesterday morning. ", "we fixed something on the server side, glad it's fixed now" ]
1,770,198,250
5,979
set dev version
closed
true
2023-06-22T18:32:14Z
2023-06-22T18:42:22Z
2023-06-22T18:32:22Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5979
2023-06-22T18:32:22Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5979
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5979). 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,770,187,053
5,978
Release: 2.13.1
closed
true
2023-06-22T18:23:11Z
2023-06-22T18:40:24Z
2023-06-22T18:30:16Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5978
2023-06-22T18:30:16Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5978
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,768,503,913
5,976
Avoid stuck map operation when subprocesses crashes
closed
I've been using Dataset.map() with `num_proc=os.cpu_count()` to leverage multicore processing for my datasets, but from time to time I get stuck processes waiting forever. Apparently, when one of the subprocesses is abruptly killed (OOM killer, segfault, SIGKILL, etc), the main process keeps waiting for the async task ...
true
2023-06-21T21:18:31Z
2023-07-10T09:58:39Z
2023-07-10T09:50:07Z
pappacena
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5976
2023-07-10T09:50:07Z
11
2
2
0
false
false
[]
https://github.com/huggingface/datasets/pull/5976
true
[ "Hi ! Do you think this can be fixed at the Pool level ? Ideally it should be the Pool responsibility to handle this, not the `map` code. We could even subclass Pool if needed (at least the one from `multiprocess`)", "@lhoestq it makes sense to me. Just pushed a refactoring creating a `class ProcessPool(multiproc...
1,768,271,343
5,975
Streaming Dataset behind Proxy - FileNotFoundError
closed
### Describe the bug When trying to stream a dataset i get the following error after a few minutes of waiting. ``` FileNotFoundError: https://huggingface.co/datasets/facebook/voxpopuli/resolve/main/data/n_files.json If the repo is private or gated, make sure to log in with `huggingface-cli login`. ``` I hav...
true
2023-06-21T19:10:02Z
2023-06-30T05:55:39Z
2023-06-30T05:55:38Z
Veluchs
NONE
null
null
9
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5975
false
[ "Duplicate of #", "Hi ! can you try to set the upper case environment variables `HTTP_PROXY` and `HTTPS_PROXY` ?\r\n\r\nWe use `aiohttp` for streaming and it uses case sensitive environment variables", "Hi, thanks for the quick reply.\r\n\r\nI set the uppercase env variables with\r\n\r\n`\r\nos.environ['HTTP_PR...
1,767,981,231
5,974
Deprecate `errors` param in favor of `encoding_errors` in text builder
closed
For consistency with the JSON builder and Pandas
true
2023-06-21T16:31:38Z
2023-06-26T10:34:43Z
2023-06-26T10:27:40Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5974
2023-06-26T10:27:40Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5974
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,767,897,485
5,972
Filter unsupported extensions
closed
I used a regex to filter the data files based on their extension for packaged builders. I tried and a regex is 10x faster that using `in` to check if the extension is in the list of supported extensions. Supersedes https://github.com/huggingface/datasets/pull/5850 Close https://github.com/huggingface/datasets/...
true
2023-06-21T15:43:01Z
2023-06-22T14:23:29Z
2023-06-22T14:16:26Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5972
2023-06-22T14:16:26Z
5
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5972
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,767,053,635
5,971
Docs: make "repository structure" easier to find
open
The page https://huggingface.co/docs/datasets/repository_structure explains how to create a simple repository structure without a dataset script. It's the simplest way to create a dataset and should be easier to find, particularly on the docs' first pages.
true
2023-06-21T08:26:44Z
2023-07-05T06:51:38Z
null
severo
COLLABORATOR
null
null
5
1
1
0
null
false
[ "documentation" ]
https://github.com/huggingface/datasets/issues/5971
false
[ "Loading a local dataset also works the same way when `data_files` are not specified, so I agree we should make this info easier to discover \r\n\r\ncc @stevhliu ", "Is this issue open? If so, I will self assign. ", "@benjaminbrown038 Yes, it is. Maybe @stevhliu can give some pointers on improving this doc pag...
1,766,010,356
5,970
description disappearing from Info when Uploading a Dataset Created with `from_dict`
open
### Describe the bug When uploading a dataset created locally using `from_dict` with a specified `description` field. It appears before upload, but is missing after upload and re-download. ### Steps to reproduce the bug I think the most relevant pattern in the code might be the following lines: ``` descr...
true
2023-06-20T19:18:26Z
2023-06-22T14:23:56Z
null
balisujohn
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5970
false
[ "Here's a minimal way to reproduce the bug, for the sake of convenience.\r\n````\r\nfrom datasets import Dataset, DatasetInfo, load_dataset\r\n\r\n\r\nepisodes_dict = {\"test\":[1,2,3],\"test2\": [1,2,4]}\r\n\r\nhugging_face_dataset = Dataset.from_dict(\r\n episodes_dict, info=DatasetInfo(description=\"test_str\...
1,765,529,905
5,969
Add `encoding` and `errors` params to JSON loader
closed
"Requested" in https://discuss.huggingface.co/t/utf-16-for-datasets/43828/3. `pd.read_json` also has these parameters, so it makes sense to be consistent.
true
2023-06-20T14:28:35Z
2023-06-21T13:39:50Z
2023-06-21T13:32:22Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5969
2023-06-21T13:32:22Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5969
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,765,252,561
5,968
Common Voice datasets still need `use_auth_token=True`
closed
### Describe the bug We don't need to pass `use_auth_token=True` anymore to download gated datasets or models, so the following should work if correctly logged in. ```py from datasets import load_dataset load_dataset("mozilla-foundation/common_voice_6_1", "tr", split="train+validation") ``` However it throw...
true
2023-06-20T11:58:37Z
2023-07-29T16:08:59Z
2023-07-29T16:08:58Z
patrickvonplaten
CONTRIBUTOR
null
null
4
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5968
false
[ "cc @pcuenca as well. \r\n\r\nNot super urgent btw", "The issue commes from the dataset itself and is not related to the `datasets` lib\r\n\r\nsee https://huggingface.co/datasets/mozilla-foundation/common_voice_6_1/blob/2c475b3b88e0f2e5828f830a4b91618a25ff20b7/common_voice_6_1.py#L148-L152", "Let's remove these...
1,763,926,520
5,967
Config name / split name lost after map with multiproc
open
### Describe the bug Performing a `.map` method on a dataset loses it's config name / split name only if run with multiproc ### Steps to reproduce the bug ```python from datasets import Audio, load_dataset from transformers import AutoFeatureExtractor import numpy as np # load dummy dataset libri = load_datas...
true
2023-06-19T17:27:36Z
2023-06-28T08:55:25Z
null
sanchit-gandhi
CONTRIBUTOR
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5967
false
[ "This must be due to DatasetInfo.from_merge which drops them and is used in `concatenate_datasets`.\r\n\r\nAnd you're experiencing this issue because multiprocessing does concatenate the resulting datasets from each process.\r\n\r\nMaybe they should be kept if all the subdatasets share the same values for config_na...
1,763,885,914
5,966
Fix JSON generation in benchmarks CI
closed
Related to changes made in https://github.com/iterative/dvc/pull/9475
true
2023-06-19T16:56:06Z
2023-06-19T17:29:11Z
2023-06-19T17:22:10Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5966
2023-06-19T17:22:10Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5966
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,763,648,540
5,965
"Couldn't cast array of type" in complex datasets
closed
### Describe the bug When doing a map of a dataset with complex types, sometimes `datasets` is unable to interpret the valid schema of a returned datasets.map() function. This often comes from conflicting types, like when both empty lists and filled lists are competing for the same field value. This is prone to hap...
true
2023-06-19T14:16:14Z
2023-07-26T15:13:53Z
2023-07-26T15:13:53Z
piercefreeman
NONE
null
null
4
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5965
false
[ "Thanks for reporting! \r\n\r\nSpecifying the target features explicitly should avoid this error:\r\n```python\r\ndataset = dataset.map(\r\n batch_process,\r\n batched=True,\r\n batch_size=1,\r\n num_proc=1,\r\n remove_columns=dataset.column_names,\r\n features=datasets.Features({\"texts\": datase...
1,763,513,574
5,964
Always return list in `list_datasets`
closed
Fix #5925 Plus, deprecate `list_datasets`/`inspect_dataset` in favor of `huggingface_hub.list_datasets`/"git clone workflow" (downloads data files)
true
2023-06-19T13:07:08Z
2023-06-19T17:29:37Z
2023-06-19T17:22:41Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5964
2023-06-19T17:22:41Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5964
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,762,774,457
5,963
Got an error _pickle.PicklingError use Dataset.from_spark.
closed
python 3.9.2 Got an error _pickle.PicklingError use Dataset.from_spark. Did the dataset import load data from spark dataframe using multi-node Spark cluster df = spark.read.parquet(args.input_data).repartition(50) ds = Dataset.from_spark(df, keep_in_memory=True, cache_dir="/pnc-data/data...
true
2023-06-19T05:30:35Z
2023-07-24T11:55:46Z
2023-07-24T11:55:46Z
yanzia12138
NONE
null
null
5
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5963
false
[ "i got error using method from_spark when using multi-node Spark cluster. seems could only use \"from_spark\" in local?", "@lhoestq ", "cc @maddiedawson it looks like there an issue with `_validate_cache_dir` ?\r\n\r\nIt looks like the function passed to mapPartitions has a reference to the Spark dataset build...
1,761,589,882
5,962
Issue with train_test_split maintaining the same underlying PyArrow Table
open
### Describe the bug I've been using the train_test_split method in the datasets module to split my HuggingFace Dataset into separate training, validation, and testing subsets. However, I've noticed an issue where the split datasets appear to maintain the same underlying PyArrow Table. ### Steps to reproduce the bug ...
true
2023-06-17T02:19:58Z
2023-06-17T02:19:58Z
null
Oziel14
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5962
false
[]
1,758,525,111
5,961
IterableDataset: split by node and map may preprocess samples that will be skipped anyway
open
There are two ways an iterable dataset can be split by node: 1. if the number of shards is a factor of number of GPUs: in that case the shards are evenly distributed per GPU 2. otherwise, each GPU iterate on the data and at the end keeps 1 sample out of n(GPUs) - skipping the others. In case 2. it's therefore poss...
true
2023-06-15T10:29:10Z
2023-09-01T10:35:11Z
null
johnchienbronci
NONE
null
null
9
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5961
false
[ "Does \"number of shards\" refer to the total number of data?\r\n\r\nmy config:\r\nnproc_per_node=2\r\nds=ds['train'] = load_dataset(streaming=True).take(50000)\r\n\r\nI'm test again: in prepare_data(), data have the same for each GPU\r\n", "The number of shards is `ds.n_shards`. It corresponds generally to the ...
1,757,397,507
5,959
read metric glue.py from local file
closed
### Describe the bug Currently, The server is off-line. I am using the glue metric from the local file downloaded from the hub. I download / cached datasets using `load_dataset('glue','sst2', cache_dir='/xxx')` to cache them and then in the off-line mode, I use `load_dataset('xxx/glue.py','sst2', cache_dir='/xxx'...
true
2023-06-14T17:59:35Z
2023-06-14T18:04:16Z
2023-06-14T18:04:16Z
JiazhaoLi
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5959
false
[ "Sorry, I solve this by call `evaluate.load('glue_metric.py','sst-2')`\r\n" ]
1,757,265,971
5,958
set dev version
closed
true
2023-06-14T16:26:34Z
2023-06-14T16:34:55Z
2023-06-14T16:26:51Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5958
2023-06-14T16:26:51Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5958
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5958). 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,757,252,466
5,957
Release: 2.13.0
closed
true
2023-06-14T16:17:26Z
2023-06-14T16:33:39Z
2023-06-14T16:24:39Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5957
2023-06-14T16:24:39Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5957
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,756,959,367
5,956
Fix ArrowExamplesIterable.shard_data_sources
closed
ArrowExamplesIterable.shard_data_sources was outdated I also fixed a warning message by not using format_type= in with_format()
true
2023-06-14T13:50:38Z
2023-06-14T14:43:12Z
2023-06-14T14:33:45Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5956
2023-06-14T14:33:45Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5956
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,756,827,133
5,955
Strange bug in loading local JSON files, using load_dataset
closed
### Describe the bug I am using 'load_dataset 'loads a JSON file, but I found a strange bug: an error will be reported when the length of the JSON file exceeds 160000 (uncertain exact number). I have checked the data through the following code and there are no issues. So I cannot determine the true reason for this err...
true
2023-06-14T12:46:00Z
2023-06-21T14:42:15Z
2023-06-21T14:42:15Z
Night-Quiet
NONE
null
null
4
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5955
false
[ "This is the actual error:\r\n```\r\nFailed to read file '/home/lakala/hjc/code/pycode/glm/temp.json' with error <class 'pyarrow.lib.ArrowInvalid'>: cannot mix list and non-list, non-null values\r\n```\r\nWhich means some samples are incorrectly formatted.\r\n\r\nPyArrow, a storage backend that we use under the hoo...
1,756,572,994
5,954
Better filenotfound for gated
closed
close https://github.com/huggingface/datasets/issues/5953 <img width="1292" alt="image" src="https://github.com/huggingface/datasets/assets/42851186/270fe5bc-1739-4878-b7bc-ab6d35336d4d">
true
2023-06-14T10:33:10Z
2023-06-14T12:33:27Z
2023-06-14T12:26:31Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5954
2023-06-14T12:26:31Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5954
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,756,520,523
5,953
Bad error message when trying to download gated dataset
closed
### Describe the bug When I attempt to download a model from the Hub that is gated without being logged in, I get a nice error message. E.g.: E.g. ```sh Repository Not Found for url: https://huggingface.co/api/models/DeepFloyd/IF-I-XL-v1.0. Please make sure you specified the correct `repo_id` and `repo_type`. I...
true
2023-06-14T10:03:39Z
2023-06-14T16:36:51Z
2023-06-14T12:26:32Z
patrickvonplaten
CONTRIBUTOR
null
null
8
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5953
false
[ "cc @sanchit-gandhi @Vaibhavs10 @lhoestq - this is mainly for demos that use Common Voice datasets as done here: https://github.com/facebookresearch/fairseq/tree/main/examples/mms#-transformers\r\n", "Hi ! the error for me is\r\n\r\n```\r\nFileNotFoundError: Couldn't find a dataset script at /content/mozilla-foun...
1,756,481,591
5,952
Add Arrow builder docs
closed
following https://github.com/huggingface/datasets/pull/5944
true
2023-06-14T09:42:46Z
2023-06-14T14:42:31Z
2023-06-14T14:34:39Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5952
2023-06-14T14:34:39Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5952
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,756,363,546
5,951
What is the Right way to use discofuse dataset??
closed
[Click here for Dataset link](https://huggingface.co/datasets/discofuse/viewer/discofuse-wikipedia/train?row=6) **Below is the following way, as per my understanding , Is it correct :question: :question:** The **columns/features from `DiscoFuse dataset`** that will be the **input to the `encoder` and `decoder`** ar...
true
2023-06-14T08:38:39Z
2023-06-14T13:25:06Z
2023-06-14T12:10:16Z
akesh1235
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5951
false
[ "Thanks for opening https://huggingface.co/datasets/discofuse/discussions/3, let's continue the discussion over there if you don't mind", "I have posted there also sir, please check\r\n@lhoestq" ]
1,755,197,946
5,950
Support for data with instance-wise dictionary as features
open
### Feature request I notice that when loading data instances with feature type of python dictionary, the dictionary keys would be broadcast so that every instance has the same set of keys. Please see an example in the Motivation section. It is possible to avoid this behavior, i.e., load dictionary features as it i...
true
2023-06-13T15:49:00Z
2025-04-07T13:20:37Z
null
richardwth
NONE
null
null
11
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5950
false
[ "Hi ! We use the Arrow columnar format under the hood, which doesn't support such dictionaries: each field must have a fixed type and exist in each sample.\r\n\r\nInstead you can restructure your data like\r\n```\r\n{\r\n \"index\": 0,\r\n \"keys\": [\"2 * x + y >= 3\"],\r\n \"values\": [[\"2 * x + y >= 3\...
1,754,843,717
5,949
Replace metadata utils with `huggingface_hub`'s RepoCard API
closed
Use `huggingface_hub`'s RepoCard API instead of `DatasetMetadata` for modifying the card's YAML, and deprecate `datasets.utils.metadata` and `datasets.utils.readme`. After removing these modules, we can also delete `datasets.utils.resources` since the moon landing repo now stores its own version of these resources f...
true
2023-06-13T13:03:19Z
2023-06-27T16:47:51Z
2023-06-27T16:38:32Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5949
2023-06-27T16:38:32Z
8
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5949
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,754,794,611
5,948
Fix sequence of array support for most dtype
closed
Fixes #5936 Also, a related fix to #5927
true
2023-06-13T12:38:59Z
2023-06-14T15:11:55Z
2023-06-14T15:03:33Z
qgallouedec
MEMBER
https://github.com/huggingface/datasets/pull/5948
2023-06-14T15:03:33Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5948
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,754,359,316
5,947
Return the audio filename when decoding fails due to corrupt files
open
### Feature request Return the audio filename when the audio decoding fails. Although currently there are some checks for mp3 and opus formats with the library version there are still cases when the audio decoding could fail, eg. Corrupt file. ### Motivation When you try to load an object file dataset and the...
true
2023-06-13T08:44:09Z
2023-06-14T12:45:01Z
null
wetdog
NONE
null
null
2
2
2
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5947
false
[ "Hi ! The audio data don't always exist as files on disk - the blobs are often stored in the Arrow files. For now I'd suggest disabling decoding with `.cast_column(\"audio\", Audio(decode=False))` and apply your own decoding that handles corrupted files (maybe to filter them out ?)\r\n\r\ncc @sanchit-gandhi since i...
1,754,234,469
5,946
IndexError Not Solving -> IndexError: Invalid key: ?? is out of bounds for size 0 or ??
open
### Describe the bug in <cell line: 1>:1 │ │ │ │ /usr/local/lib/python3.10/dist-packages/transformers/trainer.py:1537 in train ...
true
2023-06-13T07:34:15Z
2023-07-14T12:04:48Z
null
syngokhan
NONE
null
null
6
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5946
false
[ "https://colab.research.google.com/#scrollTo=AQ_HCYruWIHU&fileId=https%3A//huggingface.co/dfurman/falcon-40b-chat-oasst1/blob/main/finetune_falcon40b_oasst1_with_bnb_peft.ipynb\r\n\r\nI ran the same administration exactly the same but got the same error", "Looks related to https://discuss.huggingface.co/t/indexer...
1,754,084,577
5,945
Failing to upload dataset to the hub
closed
### Describe the bug Trying to upload a dataset of hundreds of thousands of audio samples (the total volume is not very large, 60 gb) to the hub with push_to_hub, it doesn't work. From time to time one piece of the data (parquet) gets pushed and then I get RemoteDisconnected even though my internet is stable. Please...
true
2023-06-13T05:46:46Z
2023-07-24T11:56:40Z
2023-07-24T11:56:40Z
Ar770
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5945
false
[ "Hi ! Feel free to re-run your code later, it will resume automatically where you left", "Tried many times in the last 2 weeks, problem remains.", "Alternatively you can save your dataset in parquet files locally and upload them to the hub manually\r\n\r\n```python\r\nfrom tqdm import tqdm\r\nnum_shards = 60\r\...
1,752,882,200
5,944
Arrow dataset builder to be able to load and stream Arrow datasets
closed
This adds a Arrow dataset builder to be able to load and stream from already preprocessed Arrow files. It's related to https://github.com/huggingface/datasets/issues/3035
true
2023-06-12T14:21:49Z
2023-06-13T17:36:02Z
2023-06-13T17:29:01Z
mariusz-jachimowicz-83
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5944
2023-06-13T17:29:01Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5944
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "@lhoestq tips applied. Thanks for a review. :smile: It's a lot of fun to improve this project. ", "Let's add some documentation in a subsequent PR :)\r\n\r\nIn particular @mariosasko and I think it's important to note to users tha...
1,752,021,681
5,942
Pass datasets-cli additional args as kwargs to DatasetBuilder in `run_beam.py`
open
Hi, Following this <https://discuss.huggingface.co/t/how-to-preprocess-a-wikipedia-dataset-using-dataflowrunner/41991/3>, here is a simple PR to pass any additional args to datasets-cli as kwargs in the DatasetBuilder in `run_beam.py`. I also took the liberty to add missing setup steps to the `beam.mdx` docs in o...
true
2023-06-12T06:50:50Z
2023-06-30T09:15:00Z
null
graelo
NONE
https://github.com/huggingface/datasets/pull/5942
null
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5942
true
[]
1,751,838,897
5,941
Load Data Sets Too Slow In Train Seq2seq Model
closed
### Describe the bug step 'Generating train split' in load_dataset is too slow: ![image](https://github.com/huggingface/datasets/assets/19569322/d9b08eee-95fe-4741-a346-b70416c948f8) ### Steps to reproduce the bug Data: own data,16K16B Mono wav Oficial Script:[ run_speech_recognition_seq2seq.py](https://github...
true
2023-06-12T03:58:43Z
2023-08-15T02:52:22Z
2023-08-15T02:52:22Z
xyx361100238
NONE
null
null
10
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5941
false
[ "Hi ! you can speed it up using multiprocessing by passing `num_proc=` to `load_dataset()`", "already did,but not useful for step Generating train split,it works in step \"Resolving data files\" & \"Downloading data files\" ", "@mariosasko some advice , thanks!", "I met the same problem, terrible experience...
1,774,389,854
5,990
Pushing a large dataset on the hub consistently hangs
open
### Describe the bug Once I have locally built a large dataset that I want to push to hub, I use the recommended approach of .push_to_hub to get the dataset on the hub, and after pushing a few shards, it consistently hangs. This has happened over 40 times over the past week, and despite my best efforts to try and catc...
true
2023-06-10T14:46:47Z
2025-02-15T09:29:10Z
null
AntreasAntoniou
NONE
null
null
46
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/5990
false
[ "Hi @AntreasAntoniou , sorry to know you are facing this issue. To help debugging it, could you tell me:\r\n- What is the total dataset size?\r\n- Is it always failing on the same shard or is the hanging problem happening randomly?\r\n- Were you able to save the dataset as parquet locally? This would help us determ...
1,749,955,883
5,939
.
closed
true
2023-06-09T14:01:34Z
2023-06-12T12:19:34Z
2023-06-12T12:19:19Z
flckv
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5939
false
[]
1,749,462,851
5,938
Make get_from_cache use custom temp filename that is locked
closed
This PR ensures that the temporary filename created is the same as the one that is locked, while writing to the cache. This PR stops using `tempfile` to generate the temporary filename. Additionally, the behavior now is aligned for both `resume_download` `True` and `False`. Refactor temp_file_manager so that i...
true
2023-06-09T09:01:13Z
2023-06-14T13:35:38Z
2023-06-14T13:27:24Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5938
2023-06-14T13:27:24Z
2
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/5938
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,749,388,597
5,937
Avoid parallel redownload in cache
closed
Avoid parallel redownload in cache by retrying inside the lock if path exists.
true
2023-06-09T08:18:36Z
2023-06-14T12:30:59Z
2023-06-14T12:23:57Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5937
2023-06-14T12:23:57Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5937
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,748,424,388
5,936
Sequence of array not supported for most dtype
closed
### Describe the bug Create a dataset composed of sequence of array fails for most dtypes (see code below). ### Steps to reproduce the bug ```python from datasets import Sequence, Array2D, Features, Dataset import numpy as np for dtype in [ "bool", # ok "int8", # failed "int16", # failed ...
true
2023-06-08T18:18:07Z
2023-06-14T15:03:34Z
2023-06-14T15:03:34Z
qgallouedec
MEMBER
null
null
4
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5936
false
[ "Related, `float16` is the only dtype not supported by `Array2D` (probably by every `ArrayND`):\r\n\r\n```python\r\nfrom datasets import Array2D, Features, Dataset\r\n\r\nimport numpy as np\r\n\r\nfor dtype in [\r\n \"bool\", # ok\r\n \"int8\", # ok\r\n \"int16\", # ok\r\n \"int32\", # ok\r\n \"i...
1,748,090,220
5,935
Better row group size in push_to_hub
closed
This is a very simple change that improves `to_parquet` to use a more reasonable row group size for image and audio datasets. This is especially useful for `push_to_hub` and will provide a better experience with the dataset viewer on HF
true
2023-06-08T15:01:15Z
2023-06-09T17:47:37Z
2023-06-09T17:40:09Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5935
2023-06-09T17:40:09Z
10
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5935
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,747,904,840
5,934
Modify levels of some logging messages
closed
Some warning messages didn't quite sound like warnings so I modified their logging levels to info.
true
2023-06-08T13:31:44Z
2023-07-12T18:21:03Z
2023-07-12T18:21:02Z
Laurent2916
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5934
null
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5934
true
[ "I've addressed this as part of #6019, so feel free to close this PR. ", "Thanks !" ]
1,747,382,500
5,933
Fix `to_numpy` when None values in the sequence
closed
Closes #5927 I've realized that the error was overlooked during testing due to the presence of only one None value in the sequence. Unfortunately, it was the only case where the function works as expected. When the sequence contained more than one None value, the function failed. Consequently, I've updated the tests...
true
2023-06-08T08:38:56Z
2023-06-09T13:49:41Z
2023-06-09T13:23:48Z
qgallouedec
MEMBER
https://github.com/huggingface/datasets/pull/5933
2023-06-09T13:23:48Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5933
true
[ "I just added the same test with dynamic shape", "_The documentation is not available anymore as the PR was closed or merged._", "Awesome ! I'm merging now if you don't mind :)\r\nWe should probably give you permissions to merge your own PRs when you have an approval", "<details>\n<summary>Show benchmarks</su...
1,746,249,161
5,932
[doc build] Use secrets
closed
Companion pr to https://github.com/huggingface/doc-builder/pull/379
true
2023-06-07T16:09:39Z
2023-06-09T10:16:58Z
2023-06-09T09:53:16Z
mishig25
NONE
https://github.com/huggingface/datasets/pull/5932
2023-06-09T09:53:16Z
4
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/5932
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,745,408,784
5,931
`datasets.map` not reusing cached copy by default
closed
### Describe the bug When I load the dataset from local directory, it's cached copy is picked up after first time. However, for `map` operation, the operation is applied again and cached copy is not picked up. Is there any way to pick cached copy instead of processing it again? The only solution I could think of was...
true
2023-06-07T09:03:33Z
2023-06-21T16:15:40Z
2023-06-21T16:15:40Z
bhavitvyamalik
CONTRIBUTOR
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5931
false
[ "This can happen when a map transform cannot be hashed deterministically (e.g., an object referenced by the transform changes its state after the first call - an issue with fast tokenizers). The solution is to provide `cache_file_name` in the `map` call to check this file for the cached result instead of relying on...
1,745,184,395
5,930
loading private custom dataset script - authentication error
closed
### Describe the bug Train model with my custom dataset stored in HuggingFace and loaded with the loading script requires authentication but I am not sure how ? I am logged in in the terminal, in the browser. I receive this error: /python3.8/site-packages/datasets/utils/file_utils.py", line 566, in get_from...
true
2023-06-07T06:58:23Z
2023-06-15T14:49:21Z
2023-06-15T14:49:20Z
flckv
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5930
false
[ "This issue seems to have been resolved, so I'm closing it." ]
1,744,478,456
5,929
Importing PyTorch reduces multiprocessing performance for map
closed
### Describe the bug I noticed that the performance of my dataset preprocessing with `map(...,num_proc=32)` decreases when PyTorch is imported. ### Steps to reproduce the bug I created two example scripts to reproduce this behavior: ``` import datasets datasets.disable_caching() from datasets import Da...
true
2023-06-06T19:42:25Z
2023-06-16T13:09:12Z
2023-06-16T13:09:12Z
Maxscha
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5929
false
[ "Hi! The times match when I run this code locally or on Colab.\r\n\r\nAlso, we use `multiprocess`, not `multiprocessing`, for parallelization, and torch's `__init__.py` (executed on `import torch` ) slightly modifies the latter.", "Hey Mariosasko,\r\n\r\nThanks for looking into it. We further did some investigati...
1,744,098,371
5,928
Fix link to quickstart docs in README.md
closed
true
2023-06-06T15:23:01Z
2023-06-06T15:52:34Z
2023-06-06T15:43:53Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5928
2023-06-06T15:43:53Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5928
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,744,009,032
5,927
`IndexError` when indexing `Sequence` of `Array2D` with `None` values
closed
### Describe the bug Having `None` values in a `Sequence` of `ArrayND` fails. ### Steps to reproduce the bug ```python from datasets import Array2D, Dataset, Features, Sequence data = [ [ [[0]], None, None, ] ] feature = Sequence(Array2D((1, 1), dtype="int64")) dataset =...
true
2023-06-06T14:36:22Z
2023-06-13T12:39:39Z
2023-06-09T13:23:50Z
qgallouedec
MEMBER
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5927
false
[ "Easy fix would be to add:\r\n\r\n```python\r\nnull_indices -= np.arange(len(null_indices))\r\n```\r\n\r\nbefore L279, but I'm not sure it's the most intuitive way to fix it.", "Same issue here:\r\n\r\nhttps://github.com/huggingface/datasets/blob/7fcbe5b1575c8d162b65b9397b3dfda995a4e048/src/datasets/features/feat...
1,743,922,028
5,926
Uncaught exception when generating the splits from a dataset that miss data
open
### Describe the bug Dataset https://huggingface.co/datasets/blog_authorship_corpus has an issue with its hosting platform, since https://drive.google.com/u/0/uc?id=1cGy4RNDV87ZHEXbiozABr9gsSrZpPaPz&export=download returns 404 error. But when trying to generate the split names, we get an exception which is now corr...
true
2023-06-06T13:51:01Z
2023-06-07T07:53:16Z
null
severo
COLLABORATOR
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5926
false
[ "Thanks for reporting, @severo.\r\n\r\nThis is a known issue with `fsspec`:\r\n- #5862\r\n- https://github.com/fsspec/filesystem_spec/issues/1265" ]
1,741,941,436
5,925
Breaking API change in datasets.list_datasets caused by change in HfApi.list_datasets
closed
### Describe the bug Hi all, after an update of the `datasets` library, we observer crashes in our code. We relied on `datasets.list_datasets` returning a `list`. Now, after the API of the HfApi.list_datasets was changed and it returns a `list` instead of an `Iterable`, the `datasets.list_datasets` now sometimes re...
true
2023-06-05T14:46:04Z
2023-06-19T17:22:43Z
2023-06-19T17:22:43Z
mtkinit
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5925
false
[]
1,738,889,236
5,924
Add parallel module using joblib for Spark
closed
Discussion in https://github.com/huggingface/datasets/issues/5798
true
2023-06-02T22:25:25Z
2023-06-14T10:25:10Z
2023-06-14T10:15:46Z
es94129
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5924
2023-06-14T10:15:46Z
7
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5924
true
[ "Hi @lhoestq, I added the `parallel` part according to the discussion we had. Could you take a look to see if this is aligned with your proposal?\r\n\r\nMeanwhile I'm working on adding a `parallel_backend` parameter to `load_datasets` so that it can be used like:\r\n```python\r\nwith parallel_backend('spark', steps...
1,737,436,227
5,923
Cannot import datasets - ValueError: pyarrow.lib.IpcWriteOptions size changed, may indicate binary incompatibility
closed
### Describe the bug When trying to import datasets, I get a pyarrow ValueError: Traceback (most recent call last): File "/Users/edward/test/test.py", line 1, in <module> import datasets File "/Users/edward/opt/anaconda3/envs/cs235/lib/python3.9/site-packages/datasets/__init__.py", line 43, in <module>...
true
2023-06-02T04:16:32Z
2024-06-27T10:07:49Z
2024-02-25T16:38:03Z
ehuangc
NONE
null
null
25
6
6
0
null
false
[]
https://github.com/huggingface/datasets/issues/5923
false
[ "Based on https://github.com/rapidsai/cudf/issues/10187, this probably means your `pyarrow` installation is not compatible with `datasets`.\r\n\r\nCan you please execute the following commands in the terminal and paste the output here?\r\n```\r\nconda list | grep arrow\r\n``` \r\n```\r\npython -c \"import pyarrow; ...
1,736,898,953
5,922
Length of table does not accurately reflect the split
closed
### Describe the bug I load a Huggingface Dataset and do `train_test_split`. I'm expecting the underlying table for the dataset to also be split, but it's not. ### Steps to reproduce the bug ![image](https://github.com/huggingface/datasets/assets/8068268/83e5768f-8b4c-422a-945c-832a7585afff) ### Expected behavior...
true
2023-06-01T18:56:26Z
2023-06-02T16:13:31Z
2023-06-02T16:13:31Z
amogkam
NONE
null
null
2
0
0
0
null
false
[ "wontfix" ]
https://github.com/huggingface/datasets/issues/5922
false
[ "As already replied by @lhoestq (private channel):\r\n> `.train_test_split` (as well as `.shard`, `.select`) doesn't create a new arrow table to save time and disk space. Instead, it uses an indices mapping on top of the table that locate which examples are part of train or test.", "This is an optimization that w...
1,736,563,023
5,921
Fix streaming parquet with image feature in schema
closed
It was not reading the feature type from the parquet arrow schema
true
2023-06-01T15:23:10Z
2023-06-02T10:02:54Z
2023-06-02T09:53:11Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5921
2023-06-02T09:53:11Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5921
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,736,196,991
5,920
Optimize IterableDataset.from_file using ArrowExamplesIterable
closed
following https://github.com/huggingface/datasets/pull/5893
true
2023-06-01T12:14:36Z
2023-06-01T12:42:10Z
2023-06-01T12:35:14Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5920
2023-06-01T12:35:14Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5920
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,735,519,227
5,919
add support for storage_options for load_dataset API
closed
to solve the issue in #5880 1. add s3 support in the link check step, previous we only check `http` and `https`, 2. change the parameter of `use_auth_token` to `download_config` to support both `storage_options` and `use_auth_token` parameter when trying to handle(list, open, read, etc,.) the remote files. 3...
true
2023-06-01T05:52:32Z
2023-07-18T06:14:32Z
2023-07-17T17:02:00Z
janineguo
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5919
null
12
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5919
true
[ "hi @lhoestq,\r\nI saw some errors in my test and found all the failed reasons are `FileNotFoundError` about `test_load_streaming_private_dataset_with_zipped_data` and `test_load_dataset_private_zipped_images` in `test_load.py `, I run pytest on my own Wins and Ubuntu system all the test in `test_load.py ` are suc...
1,735,313,549
5,918
File not found for audio dataset
open
### Describe the bug After loading an audio dataset, and looking at a sample entry, the `path` element, which is supposed to be the path to the audio file, doesn't actually exist. ### Steps to reproduce the bug Run bug.py: ```py import os.path from datasets import load_dataset def run() -> None: cv1...
true
2023-06-01T02:15:29Z
2023-06-11T06:02:25Z
null
RobertBaruch
NONE
null
null
1
3
3
0
null
false
[]
https://github.com/huggingface/datasets/issues/5918
false
[ "load_dataset () did not work for loading local files either " ]
1,733,661,588
5,917
Refactor extensions
closed
Related to: - #5850
true
2023-05-31T08:33:02Z
2023-05-31T13:34:35Z
2023-05-31T13:25:57Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5917
2023-05-31T13:25:57Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5917
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,732,456,392
5,916
Unpin responses
closed
Fix #5906
true
2023-05-30T14:59:48Z
2023-05-30T18:03:10Z
2023-05-30T17:53:29Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5916
2023-05-30T17:53:29Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5916
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,732,389,984
5,915
Raise error in `DatasetBuilder.as_dataset` when `file_format` is not `"arrow"`
closed
Raise an error in `DatasetBuilder.as_dataset` when `file_format != "arrow"` (and fix the docstring) Fix #5874
true
2023-05-30T14:27:55Z
2023-05-31T13:31:21Z
2023-05-31T13:23:54Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5915
2023-05-31T13:23:54Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5915
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,731,483,996
5,914
array is too big; `arr.size * arr.dtype.itemsize` is larger than the maximum possible size in Datasets
open
### Describe the bug When using the `filter` or `map` function to preprocess a dataset, a ValueError is encountered with the error message "array is too big; arr.size * arr.dtype.itemsize is larger than the maximum possible size." Detailed error message: Traceback (most recent call last): File "data_processing...
true
2023-05-30T04:25:00Z
2024-10-27T04:09:18Z
null
ravenouse
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5914
false
[ "Was a fix for this identified?", "> Was a fix for this identified?\r\n\r\nHi @pranav-sridhar \r\nHave you encountered a similar issue with this dataset?\r\nI’ve modified the dataset construction script to address the problem. Feel free to use this updated version to avoid the issue.\r\n\r\n[Ericwang/samromur_chi...
1,731,427,484
5,913
I tried to load a custom dataset using the following statement: dataset = load_dataset('json', data_files=data_files). The dataset contains 50 million text-image pairs, but an error occurred.
closed
### Describe the bug File "/home/kas/.conda/envs/diffusers/lib/python3.7/site-packages/datasets/builder.py", line 1858, in _prepare_split_single Downloading and preparing dataset json/default to /home/kas/diffusers/examples/dreambooth/cache_data/datasets/json/default-acf423d8c6ef99d0/0.0.0/e347ab1c932092252e717ff3f94...
true
2023-05-30T02:55:26Z
2023-07-24T12:00:38Z
2023-07-24T12:00:38Z
cjt222
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5913
false
[ "Thanks for reporting, @cjt222.\r\n\r\nWhat is the structure of your JSON files. Please note that it is normally simpler if the data file format is JSON-Lines instead. ", "> Thanks for reporting, @cjt222.\r\n> \r\n> What is the structure of your JSON files. Please note that it is normally simpler if the data file...
1,730,299,852
5,912
Missing elements in `map` a batched dataset
closed
### Describe the bug As outlined [here](https://discuss.huggingface.co/t/length-error-using-map-with-datasets/40969/3?u=sachin), the following collate function drops 5 out of possible 6 elements in the batch (it is 6 because out of the eight, two are bad links in laion). A reproducible [kaggle kernel ](https://www.kag...
true
2023-05-29T08:09:19Z
2023-07-26T15:48:15Z
2023-07-26T15:48:15Z
sachinruk
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5912
false
[ "Hi ! in your code batching is **only used within** `map`, to process examples in batch. The dataset itself however is not batched and returns elements one by one.\r\n\r\nTo iterate on batches, you can do\r\n```python\r\nfor batch in dataset.iter(batch_size=8):\r\n ...\r\n```" ]
1,728,909,790
5,910
Cannot use both set_format and set_transform
closed
### Describe the bug I need to process some data using the set_transform method but I also need the data to be formatted for pytorch before processing it. I don't see anywhere in the documentation something that says that both methods cannot be used at the same time. ### Steps to reproduce the bug ``` from...
true
2023-05-27T19:22:23Z
2023-07-09T21:40:54Z
2023-06-16T14:41:24Z
ybouane
NONE
null
null
5
2
2
0
null
false
[]
https://github.com/huggingface/datasets/issues/5910
false
[ "Currently, it's not possible to chain `set_format`/`set_transform` calls (plus, this is a breaking change if we decide to implement it), so I see two possible solutions:\r\n* using `set_format`/`set_transform` for the 1st transform and then passing the transformed example/batch to the 2nd transform\r\n* implementi...
1,728,900,068
5,909
Use more efficient and idiomatic way to construct list.
closed
Using `*` is ~2X faster according to [benchmark](https://colab.research.google.com/gist/ttsugriy/c964a2604edf70c41911b10335729b6a/for-vs-mult.ipynb) with just 4 patterns. This doesn't matter much since this tiny difference is not going to be noticeable, but why not?
true
2023-05-27T18:54:47Z
2023-05-31T15:37:11Z
2023-05-31T13:28:29Z
ttsugriy
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5909
2023-05-31T13:28:28Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5909
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,728,653,935
5,908
Unbearably slow sorting on big mapped datasets
open
### Describe the bug For me, with ~40k lines, sorting took 3.5 seconds on a flattened dataset (including the flatten operation) and 22.7 seconds on a mapped dataset (right after sharding), which is about x5 slowdown. Moreover, it seems like it slows down exponentially with bigger datasets (wasn't able to sort 700k lin...
true
2023-05-27T11:08:32Z
2023-06-13T17:45:10Z
null
maximxlss
CONTRIBUTOR
null
null
6
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5908
false
[ "Hi ! `shard` currently returns a slow dataset by default, with examples evenly distributed in the dataset.\r\n\r\nYou can get a fast dataset using `contiguous=True` (which should be the default imo):\r\n\r\n```python\r\ndataset = dataset.shard(10, 0, contiguous=True)\r\n```\r\n\r\nThis way you don't need to flatte...
1,728,648,560
5,907
Add `flatten_indices` to `DatasetDict`
closed
Add `flatten_indices` to `DatasetDict` for convinience
true
2023-05-27T10:55:44Z
2023-06-01T11:46:35Z
2023-06-01T11:39:36Z
maximxlss
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5907
2023-06-01T11:39:35Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5907
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,728,171,113
5,906
Could you unpin responses version?
closed
### Describe the bug Could you unpin [this](https://github.com/huggingface/datasets/blob/main/setup.py#L139) or move it to test requirements? This is a testing library and we also use it for our tests as well. We do not want to use a very outdated version. ### Steps to reproduce the bug could not install this librar...
true
2023-05-26T20:02:14Z
2023-05-30T17:53:31Z
2023-05-30T17:53:31Z
kenimou
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5906
false
[]
1,727,541,392
5,905
Offer an alternative to Iterable Dataset that allows lazy loading and processing while skipping batches efficiently
open
### Feature request I would like a way to resume training from a checkpoint without waiting for a very long time when using an iterable dataset. ### Motivation I am training models on the speech-recognition task. I have very large datasets that I can't comfortably store on a disk and also quite computationally...
true
2023-05-26T12:33:02Z
2023-06-15T13:34:18Z
null
bruno-hays
CONTRIBUTOR
null
null
1
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5905
false
[ "We plan to improve this eventually (see https://github.com/huggingface/datasets/issues/5454 and https://github.com/huggingface/datasets/issues/5380).\r\n\r\n> Is it possible to lazily load samples of a mapped dataset ? I'm used to [dataset scripts](https://huggingface.co/docs/datasets/dataset_script), maybe someth...
1,727,415,626
5,904
Validate name parameter in make_file_instructions
closed
Validate `name` parameter in `make_file_instructions`. This way users get more informative error messages, instead of: ```stacktrace .../huggingface/datasets/src/datasets/arrow_reader.py in make_file_instructions(name, split_infos, instruction, filetype_suffix, prefix_path) 110 name2len = {info.name: info...
true
2023-05-26T11:12:46Z
2023-05-31T07:43:32Z
2023-05-31T07:34:57Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5904
2023-05-31T07:34:57Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5904
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,727,372,549
5,903
Relax `ci.yml` trigger for `pull_request` based on modified paths
open
## What's in this PR? As of a previous PR at #5902, I've seen that the CI was automatically trigger on any file, in that case when modifying a Jupyter Notebook (.ipynb), which IMO could be skipped, as the modification on the Jupyter Notebook has no effect/impact on the `ci.yml` outcome. So this PR controls the paths...
true
2023-05-26T10:46:52Z
2023-09-07T15:52:36Z
null
alvarobartt
MEMBER
https://github.com/huggingface/datasets/pull/5903
null
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5903
true
[ "Also this could be extended to the rest of the GitHub Action `yml` files, so let me know whether you want me to have a look into it! 🤗", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5903). All of your documentation changes will be reflected on that endpoint.", "Maybe ...
1,727,342,194
5,902
Fix `Overview.ipynb` & detach Jupyter Notebooks from `datasets` repository
closed
## What's in this PR? This PR solves #5887 since there was a mismatch between the tokenizer and the model used, since the tokenizer was `bert-base-cased` while the model was `distilbert-base-case` both for the PyTorch and TensorFlow alternatives. Since DistilBERT doesn't use/need the `token_type_ids`, the `**batch` ...
true
2023-05-26T10:25:01Z
2023-07-25T13:50:06Z
2023-07-25T13:38:33Z
alvarobartt
MEMBER
https://github.com/huggingface/datasets/pull/5902
2023-07-25T13:38:33Z
13
2
1
1
false
false
[]
https://github.com/huggingface/datasets/pull/5902
true
[ "Random fact: previous run was showing that the Hub was hosting 13336 datasets, while the most recent run shows 36662 👀🎉", "_The documentation is not available anymore as the PR was closed or merged._", "Thanks! \r\n\r\nHowever, I think we should stop linking this notebook and use the notebook version of the ...
1,727,179,016
5,901
Make prepare_split more robust if errors in metadata dataset_info splits
closed
This PR uses `split_generator.split_info` as default value for `split_info` if any exception is raised while trying to get `split_generator.name` from `self.info.splits` (this may happen if there is any error in the metadata dataset_info splits). Please note that `split_info` is only used by the logger. Fix #5895...
true
2023-05-26T08:48:22Z
2023-06-02T06:06:38Z
2023-06-01T13:39:40Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5901
2023-06-01T13:39:39Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5901
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,727,129,617
5,900
Fix minor typo in docs loading.mdx
closed
Minor fix.
true
2023-05-26T08:10:54Z
2023-05-26T09:34:15Z
2023-05-26T09:25:12Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5900
2023-05-26T09:25:12Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5900
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,726,279,011
5,899
canonicalize data dir in config ID hash
closed
fixes #5871 The second commit is optional but improves readability.
true
2023-05-25T18:17:10Z
2023-06-02T16:02:15Z
2023-06-02T15:52:04Z
kylrth
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5899
2023-06-02T15:52:04Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5899
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,726,190,481
5,898
Loading The flores data set for specific language
closed
### Describe the bug I am trying to load the Flores data set the code which is given is ``` from datasets import load_dataset dataset = load_dataset("facebook/flores") ``` This gives the error of config name ""ValueError: Config name is missing" Now if I add some config it gives me the some error ...
true
2023-05-25T17:08:55Z
2023-05-25T17:21:38Z
2023-05-25T17:21:37Z
106AbdulBasit
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5898
false
[ "got that the syntax is like this\r\n\r\ndataset = load_dataset(\"facebook/flores\", \"ace_Arab\")" ]
1,726,135,494
5,897
Fix `FixedSizeListArray` casting
closed
Fix cast on sliced `FixedSizeListArray`s. Fix #5866
true
2023-05-25T16:26:33Z
2023-05-26T12:22:04Z
2023-05-26T11:57:16Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5897
2023-05-26T11:57:16Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5897
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,726,022,500
5,896
HuggingFace does not cache downloaded files aggressively/early enough
closed
### Describe the bug I wrote the following script: ``` import datasets dataset = datasets.load.load_dataset("wikipedia", "20220301.en", split="train[:10000]") ``` I ran it and spent 90 minutes downloading a 20GB file. Then I saw: ``` Downloading: 100%|████████████████████████████████████████████████████...
true
2023-05-25T15:14:36Z
2024-03-15T15:36:07Z
2024-03-15T15:36:07Z
jack-jjm
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5896
false
[ "I also faced this. Any update?", "We've dropped the `apache-beam` dependency in https://huggingface.co/datasets/wikipedia/discussions/19, so you should no longer get this error." ]
1,725,467,252
5,895
The dir name and split strings are confused when loading ArmelR/stack-exchange-instruction dataset
closed
### Describe the bug When I load the ArmelR/stack-exchange-instruction dataset, I encounter a bug that may be raised by confusing the dir name string and the split string about the dataset. When I use the script "datasets.load_dataset('ArmelR/stack-exchange-instruction', data_dir="data/finetune", split="train", ...
true
2023-05-25T09:39:06Z
2023-05-29T02:32:12Z
2023-05-29T02:32:12Z
DongHande
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5895
false
[ "Thanks for reporting, @DongHande.\r\n\r\nI think the issue is caused by the metadata in the dataset card: in the header of the `README.md`, they state that the dataset has 4 splits (\"finetune\", \"reward\", \"rl\", \"evaluation\"). \r\n```yaml\r\n splits:\r\n - name: finetune\r\n num_bytes: 6674567576\r\...
1,724,774,910
5,894
Force overwrite existing filesystem protocol
closed
Fix #5876
true
2023-05-24T21:41:53Z
2023-05-25T06:52:08Z
2023-05-25T06:42:33Z
baskrahmer
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5894
2023-05-25T06:42:33Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5894
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,722,519,056
5,893
Load cached dataset as iterable
closed
To be used to train models it allows to load an IterableDataset from the cached Arrow file. See https://github.com/huggingface/datasets/issues/5481
true
2023-05-23T17:40:35Z
2023-06-01T11:58:24Z
2023-06-01T11:51:29Z
mariusz-jachimowicz-83
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5893
2023-06-01T11:51:29Z
8
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5893
true
[ "@lhoestq Could you please look into that and review?", "_The documentation is not available anymore as the PR was closed or merged._", "@lhoestq I refactored the code. Could you please check is it what you requested?", "@lhoestq Thanks for a review. Excellent tips. All tips applied. ", "I think there is j...
1,722,503,824
5,892
User access requests with manual review do not notify the dataset owner
closed
### Describe the bug When a user access requests are enabled, and new requests are set to Manual Review, the dataset owner should be notified of the pending requests. However, instead, currently nothing happens, and so the dataset request can go unanswered for quite some time until the owner happens to check that part...
true
2023-05-23T17:27:46Z
2023-07-21T13:55:37Z
2023-07-21T13:55:36Z
leondz
CONTRIBUTOR
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5892
false
[ "cc @SBrandeis", "I think this has been addressed.\r\n\r\nPlease open a new issue if you are still not getting notified." ]
1,722,384,135
5,891
Make split slicing consistent with list slicing
closed
Fix #1774, fix #5875
true
2023-05-23T16:04:33Z
2024-01-31T16:00:26Z
2024-01-31T15:54:17Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5891
2024-01-31T15:54:17Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5891
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5891). 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,722,373,618
5,889
Token Alignment for input and output data over train and test batch/dataset.
open
`data` > DatasetDict({ train: Dataset({ features: ['input', 'output'], num_rows: 4500 }) test: Dataset({ features: ['input', 'output'], num_rows: 500 }) }) **# input (in-correct sentence)** `data['train'][0]['input']` **>>** 'We are meet sunday 10am12pmET i...
true
2023-05-23T15:58:55Z
2023-05-23T15:58:55Z
null
akesh1235
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5889
false
[]
1,722,166,382
5,887
HuggingsFace dataset example give error
closed
### Describe the bug ![image](https://github.com/huggingface/datasets/assets/1328316/1f4f0086-3db9-4c79-906b-05a375357cce) ![image](https://github.com/huggingface/datasets/assets/1328316/733ebd3d-89b9-4ece-b80a-00ab5b0a4122) ### Steps to reproduce the bug Use link as reference document written https://c...
true
2023-05-23T14:09:05Z
2023-07-25T14:01:01Z
2023-07-25T14:01:00Z
donhuvy
NONE
null
null
4
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5887
false
[ "Nice catch @donhuvy, that's because some models don't need the `token_type_ids`, as in this case, as the example is using `distilbert-base-cased`, and according to the DistilBert documentation at https://huggingface.co/transformers/v3.0.2/model_doc/distilbert.html, `DistilBert doesn’t have token_type_ids, you don’...
1,721,070,225
5,886
Use work-stealing algorithm when parallel computing
open
### Feature request when i used Dataset.map api to process data concurrently, i found that it gets slower and slower as it gets closer to completion. Then i read the source code of arrow_dataset.py and found that it shard the dataset and use multiprocessing pool to execute each shard.It may cause the slowest task ...
true
2023-05-23T03:08:44Z
2023-05-24T15:30:09Z
null
1014661165
NONE
null
null
1
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5886
false
[ "Alternatively we could set the number of shards to be a factor than the number of processes (current they're equal) - this way it will be less likely to end up with a shard that is significantly slower than all the other ones." ]
1,720,954,440
5,885
Modify `is_remote_filesystem` to return True for FUSE-mounted paths
closed
true
2023-05-23T01:04:54Z
2024-01-08T18:31:00Z
2024-01-08T18:31:00Z
maddiedawson
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5885
null
5
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5885
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5885). All of your documentation changes will be reflected on that endpoint.", "@lhoestq would you or another maintainer be able to review please? :)", "Why you do need to support FUSE mounted paths ?\r\n\r\n`datasets` uses d...
1,722,290,363
5,888
A way to upload and visualize .mp4 files (millions of them) as part of a dataset
open
**Is your feature request related to a problem? Please describe.** I recently chose to use huggingface hub as the home for a large multi modal dataset I've been building. https://huggingface.co/datasets/Antreas/TALI It combines images, text, audio and video. Now, I could very easily upload a dataset made via datase...
true
2023-05-22T18:05:26Z
2023-06-23T03:37:16Z
null
AntreasAntoniou
NONE
null
null
9
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5888
false
[ "Hi! \r\n\r\nYou want to use `push_to_hub` (creates Parquet files) instead of `save_to_disk` (creates Arrow files) when creating a Hub dataset. Parquet is designed for long-term storage and takes less space than the Arrow format, and, most importantly, `load_dataset` can parse it, which should fix the viewer. \r\n\...
1,719,548,172
5,884
`Dataset.to_tf_dataset` fails when strings cannot be encoded as `np.bytes_`
closed
### Describe the bug When loading any dataset that contains a column with strings that are not ASCII-compatible, looping over those records raises the following exception e.g. for `é` character `UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 0: ordinal not in range(128)`. ### Steps to rep...
true
2023-05-22T12:03:06Z
2023-06-09T16:04:56Z
2023-06-09T16:04:55Z
alvarobartt
MEMBER
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5884
false
[ "May eventually be solved in #5883 ", "#self-assign" ]
1,719,527,597
5,883
Fix string-encoding, make `batch_size` optional, and minor improvements in `Dataset.to_tf_dataset`
closed
## What's in this PR? This PR addresses some minor fixes and general improvements in the `to_tf_dataset` method of `datasets.Dataset`, to convert a 🤗HuggingFace Dataset as a TensorFlow Dataset. The main bug solved in this PR comes with the string-encoding, since for safety purposes the internal conversion of `nu...
true
2023-05-22T11:51:07Z
2023-06-08T11:09:03Z
2023-06-06T16:49:15Z
alvarobartt
MEMBER
https://github.com/huggingface/datasets/pull/5883
2023-06-06T16:49:15Z
29
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5883
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "To showcase the current issue, here's a Colab Gist, that shows that the `imdb` dataset cannot be read/iterated, since one or more samples contain a non-ascii character that is being converted to `numpy.bytes_`, and so on fails.\r\n\r...
1,719,402,643
5,881
Split dataset by node: index error when sharding iterable dataset
open
### Describe the bug Context: we're splitting an iterable dataset by node and then passing it to a torch data loader with multiple workers When we iterate over it for 5 steps, we don't get an error When we instead iterate over it for 8 steps, we get an `IndexError` when fetching the data if we have too many wo...
true
2023-05-22T10:36:13Z
2025-01-31T16:36:30Z
null
sanchit-gandhi
CONTRIBUTOR
null
null
5
1
1
0
null
false
[]
https://github.com/huggingface/datasets/issues/5881
false
[ "cc @lhoestq in case you have any ideas here! Might need a multi-host set-up to debug (can give you access to a JAX one if you need)", "I am also facing the same problem. Could you let me know if you found a solution for this?", "I couldn't reproduce with the latest version of `datasets` 2.16.1, can you update ...
1,719,090,101
5,880
load_dataset from s3 file system through streaming can't not iterate data
open
### Describe the bug I have a JSON file in my s3 file system(minio), I can use load_dataset to get the file link, but I can't iterate it <img width="816" alt="image" src="https://github.com/huggingface/datasets/assets/59083384/cc0778d3-36f3-45b5-ac68-4e7c664c2ed0"> <img width="1144" alt="image" src="https://github.c...
true
2023-05-22T07:40:27Z
2023-05-26T12:52:08Z
null
janineguo
CONTRIBUTOR
null
null
4
1
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5880
false
[ "This sounds related to #5281.\r\n\r\nCan you try passing `storage_options=s3_client.storage_options` instead passing it to `use_auth_token=` ?", "I tried `storage_options` before, but it doesn't work, I checked our source code and I found that we even didn't pass this parameter to the following process. if I use...
1,718,203,843
5,878
Prefetching for IterableDataset
open
### Feature request Add support for prefetching the next n batches through iterabledataset to reduce batch loading bottleneck in training loop. ### Motivation The primary motivation behind this is to use hardware accelerators alongside a streaming dataset. This is required when you are in a low ram or low disk...
true
2023-05-20T15:25:40Z
2025-01-24T17:13:55Z
null
vyeevani
NONE
null
null
7
1
1
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5878
false
[ "Very cool! Do you have a link to the code that you're using to eagerly fetch the data? Would also be interested in hacking around something here for pre-fetching iterable datasets", "I ended up just switching back to the pytorch dataloader and using it's multiprocessing functionality to handle this :(. I'm just ...