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,497,643,744
5,362
Run 'GPT-J' failure due to download dataset fail (' ConnectionError: Couldn't reach http://eaidata.bmk.sh/data/enron_emails.jsonl.zst ' )
closed
### Describe the bug Run model "GPT-J" with dataset "the_pile" fail. The fail out is as below: ![image](https://user-images.githubusercontent.com/52023469/207750127-118d9896-35f4-4ee9-90d4-d0ab9aae9c74.png) Looks like which is due to "http://eaidata.bmk.sh/data/enron_emails.jsonl.zst" unreachable . ### Steps to ...
true
2022-12-15T01:23:03Z
2022-12-15T07:45:54Z
2022-12-15T07:45:53Z
shaoyuta
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5362
false
[ "Thanks for reporting, @shaoyuta.\r\n\r\nWe have checked and yes, apparently there is an issue with the server hosting the data of the \"enron_emails\" subset of \"the_pile\" dataset: http://eaidata.bmk.sh/data/enron_emails.jsonl.zst\r\nIt seems to be down: The connection has timed out.\r\n\r\nPlease note that at t...
1,497,153,889
5,361
How concatenate `Audio` elements using batch mapping
closed
### Describe the bug I am trying to do concatenate audios in a dataset e.g. `google/fleurs`. ```python print(dataset) # Dataset({ # features: ['path', 'audio'], # num_rows: 24 # }) def mapper_function(batch): # to merge every 3 audio # np.concatnate(audios[i: i+3]) for i in range(i, len(batc...
true
2022-12-14T18:13:55Z
2023-07-21T14:30:51Z
2023-07-21T14:30:51Z
bayartsogt-ya
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5361
false
[ "You can try something like this ?\r\n```python\r\ndef mapper_function(batch):\r\n return {\"concatenated_audio\": [np.concatenate([audio[\"array\"] for audio in batch[\"audio\"]])]}\r\n\r\ndataset = dataset.map(\r\n mapper_function,\r\n batched=True,\r\n batch_size=3,\r\n remove_columns=list(dataset....
1,496,947,177
5,360
IterableDataset returns duplicated data using PyTorch DDP
closed
As mentioned in https://github.com/huggingface/datasets/issues/3423, when using PyTorch DDP the dataset ends up with duplicated data. We already check for the PyTorch `worker_info` for single node, but we should also check for `torch.distributed.get_world_size()` and `torch.distributed.get_rank()`
true
2022-12-14T16:06:19Z
2023-06-15T09:51:13Z
2023-01-16T13:33:33Z
lhoestq
MEMBER
null
null
11
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5360
false
[ "If you use huggingface trainer, you will find the trainer has wrapped a `IterableDatasetShard` to avoid duplication.\r\nSee:\r\nhttps://github.com/huggingface/transformers/blob/dfd818420dcbad68e05a502495cf666d338b2bfb/src/transformers/trainer.py#L835\r\n", "If you want to support it by datasets natively, maybe w...
1,495,297,857
5,359
Raise error if ClassLabel names is not python list
closed
Checks type of names provided to ClassLabel to avoid easy and hard to debug errors (closes #5332 - see for discussion)
true
2022-12-13T23:04:06Z
2022-12-22T16:35:49Z
2022-12-22T16:32:49Z
freddyheppell
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5359
2022-12-22T16:32:49Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5359
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks for your proposed fix, @freddyheppell.\r\n\r\nCurrently the CI fails because in a test we pass a `tuple` instead of a `list`. I would say we should accept `tuple` as a valid input type as well...\r\n\r\nWhat about checking for...
1,495,270,822
5,358
Fix `fs.open` resource leaks
closed
Invoking `{load,save}_from_dict` results in resource leak warnings, this should fix. Introduces no significant logic changes.
true
2022-12-13T22:35:51Z
2023-01-05T16:46:31Z
2023-01-05T15:59:51Z
tkukurin
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5358
2023-01-05T15:59:51Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5358
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "@mariosasko Sorry, I didn't check tests/style after doing a merge from the Git UI last week. Thx for fixing. \r\n\r\nFYI I'm getting \"Only those with [write access](https://docs.github.com/articles/what-are-the-different-access-perm...
1,495,029,602
5,357
Support torch dataloader without torch formatting
closed
In https://github.com/huggingface/datasets/pull/5084 we make the torch formatting consistent with the map-style datasets formatting: a torch formatted iterable dataset will yield torch tensors. The previous behavior of the torch formatting for iterable dataset was simply to make the iterable dataset inherit from `to...
true
2022-12-13T19:39:24Z
2023-01-04T12:45:40Z
2022-12-15T19:15:54Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5357
2022-12-15T19:15:54Z
7
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5357
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "Need some more time to fix the tests, especially with pickle", "> And I actually don't quite understand the idea - what's the motivation behind making only IterableDataset compatible with torch DataLoader without setting the format...
1,494,961,609
5,356
Clean filesystem and logging docstrings
closed
This PR cleans the `Filesystems` and `Logging` docstrings.
true
2022-12-13T18:54:09Z
2022-12-14T17:25:58Z
2022-12-14T17:22:16Z
stevhliu
MEMBER
https://github.com/huggingface/datasets/pull/5356
2022-12-14T17:22:16Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5356
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,493,076,860
5,355
Clean up Table class docstrings
closed
This PR cleans up the `Table` class docstrings :)
true
2022-12-13T00:29:47Z
2022-12-13T18:17:56Z
2022-12-13T18:14:42Z
stevhliu
MEMBER
https://github.com/huggingface/datasets/pull/5355
2022-12-13T18:14:42Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5355
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,492,174,125
5,354
Consider using "Sequence" instead of "List"
open
### Feature request Hi, please consider using `Sequence` type annotation instead of `List` in function arguments such as in [`Dataset.from_parquet()`](https://github.com/huggingface/datasets/blob/main/src/datasets/arrow_dataset.py#L1088). It leads to type checking errors, see below. **How to reproduce** ```py ...
true
2022-12-12T15:39:45Z
2025-06-21T13:56:58Z
null
tranhd95
NONE
null
null
11
0
0
0
null
false
[ "enhancement", "good first issue" ]
https://github.com/huggingface/datasets/issues/5354
false
[ "Hi! Linking a comment to provide more info on the issue: https://stackoverflow.com/a/39458225. This means we should replace all (most of) the occurrences of `List` with `Sequence` in function signatures.\r\n\r\n@tranhd95 Would you be interested in submitting a PR?", "Hi all! I tried to reproduce this issue and d...
1,491,880,500
5,353
Support remote file systems for `Audio`
closed
### Feature request Hi there! It would be super cool if `Audio()`, and potentially other features, could read files from a remote file system. ### Motivation Large amounts of data is often stored in buckets. `load_from_disk` is able to retrieve data from cloud storage but to my knowledge actually copies the datas...
true
2022-12-12T13:22:13Z
2022-12-12T13:37:14Z
2022-12-12T13:37:14Z
OllieBroadhurst
NONE
null
null
1
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5353
false
[ "Just seen https://github.com/huggingface/datasets/issues/5281" ]
1,490,796,414
5,352
__init__() got an unexpected keyword argument 'input_size'
open
### Describe the bug I try to define a custom configuration with a input_size attribute following the instructions by "Specifying several dataset configurations" in https://huggingface.co/docs/datasets/v1.2.1/add_dataset.html But when I load the dataset, I got an error "__init__() got an unexpected keyword argument...
true
2022-12-12T02:52:03Z
2022-12-19T01:38:48Z
null
J-shel
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5352
false
[ "Hi @J-shel, thanks for reporting.\r\n\r\nI think the issue comes from your call to `load_dataset`. As first argument, you should pass:\r\n- either the name of your dataset (\"mrf\") if this is already published on the Hub\r\n- or the path to the loading script of your dataset (\"path/to/your/local/mrf.py\").", "...
1,490,659,504
5,351
Do we need to implement `_prepare_split`?
closed
### Describe the bug I'm not sure this is a bug or if it's just missing in the documentation, or i'm not doing something correctly, but I'm subclassing `DatasetBuilder` and getting the following error because on the `DatasetBuilder` class the `_prepare_split` method is abstract (as are the others we are required to im...
true
2022-12-12T01:38:54Z
2022-12-20T18:20:57Z
2022-12-12T16:48:56Z
jmwoloso
NONE
null
null
11
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5351
false
[ "Hi! `DatasetBuilder` is a parent class for concrete builders: `GeneratorBasedBuilder`, `ArrowBasedBuilder` and `BeamBasedBuilder`. When writing a builder script, these classes are the ones you should inherit from. And since all of them implement `_prepare_split`, you only have to implement the three methods mentio...
1,487,559,904
5,350
Clean up Loading methods docstrings
closed
Clean up for the docstrings in Loading methods!
true
2022-12-09T22:25:30Z
2022-12-12T17:27:20Z
2022-12-12T17:24:01Z
stevhliu
MEMBER
https://github.com/huggingface/datasets/pull/5350
2022-12-12T17:24:01Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5350
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,487,396,780
5,349
Clean up remaining Main Classes docstrings
closed
This PR cleans up the remaining docstrings in Main Classes (`IterableDataset`, `IterableDatasetDict`, and `Features`).
true
2022-12-09T20:17:15Z
2022-12-12T17:27:17Z
2022-12-12T17:24:13Z
stevhliu
MEMBER
https://github.com/huggingface/datasets/pull/5349
2022-12-12T17:24:13Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5349
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,486,975,626
5,348
The data downloaded in the download folder of the cache does not respect `umask`
open
### Describe the bug For a project on a cluster we are several users to share the same cache for the datasets library. And we have a problem with the permissions on the data downloaded in the cache. Indeed, it seems that the data is downloaded by giving read and write permissions only to the user launching the com...
true
2022-12-09T15:46:27Z
2022-12-09T17:21:26Z
null
SaulLu
CONTRIBUTOR
null
null
1
1
0
1
null
false
[]
https://github.com/huggingface/datasets/issues/5348
false
[ "note, that `datasets` already did some of that umask fixing in the past and also at the hub - the recent work on the hub about the same: https://github.com/huggingface/huggingface_hub/pull/1220\r\n\r\nAlso I noticed that each file has a .json counterpart and the latter always has the correct perms:\r\n\r\n```\r\n-...
1,486,920,261
5,347
Force soundfile to return float32 instead of the default float64
open
(Fixes issue #5345)
true
2022-12-09T15:10:24Z
2023-01-17T16:12:49Z
null
qmeeus
NONE
https://github.com/huggingface/datasets/pull/5347
null
8
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/5347
true
[ "cc @polinaeterna", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5347). All of your documentation changes will be reflected on that endpoint.", "Cool ! Feel free to add a comment in the code to explain that and we can merge :)", "I'm not sure if this is a good change ...
1,486,884,983
5,346
[Quick poll] Give your opinion on the future of the Hugging Face Open Source ecosystem!
closed
Thanks to all of you, Datasets is just about to pass 15k stars! Since the last survey, a lot has happened: the [diffusers](https://github.com/huggingface/diffusers), [evaluate](https://github.com/huggingface/evaluate) and [skops](https://github.com/skops-dev/skops) libraries were born. `timm` joined the Hugging Face...
true
2022-12-09T14:48:02Z
2023-06-02T20:24:44Z
2023-01-25T19:35:40Z
LysandreJik
MEMBER
null
null
3
3
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5346
false
[ "As the survey is finished, can we close this issue, @LysandreJik ?", "Yes! I'll post a public summary on the forums shortly.", "Is the summary available? I would be interested in reading your findings." ]
1,486,555,384
5,345
Wrong dtype for array in audio features
open
### Describe the bug When concatenating/interleaving different datasets, I stumble into an error because the features can't be aligned. After some investigation, I understood that the audio arrays had different dtypes, namely `float32` and `float64`. Consequently, the datasets cannot be merged. ### Steps to repro...
true
2022-12-09T11:05:11Z
2023-02-10T14:39:28Z
null
qmeeus
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5345
false
[ "After some more investigation, this is due to [this line of code](https://github.com/huggingface/datasets/blob/main/src/datasets/features/audio.py#L279). The function `sf.read(file)` should be updated to `sf.read(file, dtype=\"float32\")`\r\n\r\nIndeed, the default value in soundfile is `float64` ([see here](https...
1,485,628,319
5,344
Clean up Dataset and DatasetDict
closed
This PR cleans up the docstrings for the other half of the methods in `Dataset` and finishes `DatasetDict`.
true
2022-12-09T00:02:08Z
2022-12-13T00:56:07Z
2022-12-13T00:53:02Z
stevhliu
MEMBER
https://github.com/huggingface/datasets/pull/5344
2022-12-13T00:53:01Z
1
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/5344
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,485,297,823
5,343
T5 for Q&A produces truncated sentence
closed
Dear all, I am fine-tuning T5 for Q&A task using the MedQuAD ([GitHub - abachaa/MedQuAD: Medical Question Answering Dataset of 47,457 QA pairs created from 12 NIH websites](https://github.com/abachaa/MedQuAD)) dataset. In the dataset, there are many long answers with thousands of words. I have used pytorch_lightning to...
true
2022-12-08T19:48:46Z
2022-12-08T19:57:17Z
2022-12-08T19:57:17Z
junyongyou
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5343
false
[]
1,485,244,178
5,342
Emotion dataset cannot be downloaded
closed
### Describe the bug The emotion dataset gives a FileNotFoundError. The full error is: `FileNotFoundError: Couldn't find file at https://www.dropbox.com/s/1pzkadrvffbqw6o/train.txt?dl=1`. It was working yesterday (December 7, 2022), but stopped working today (December 8, 2022). ### Steps to reproduce the bug ...
true
2022-12-08T19:07:09Z
2023-02-23T19:13:19Z
2022-12-09T10:46:11Z
cbarond
NONE
null
null
7
0
0
0
null
false
[ "duplicate" ]
https://github.com/huggingface/datasets/issues/5342
false
[ "Hi @cbarond there's already an open issue at https://github.com/dair-ai/emotion_dataset/issues/5, as the data seems to be missing now, so check that issue instead 👍🏻 ", "Thanks @cbarond for reporting and @alvarobartt for pointing to the issue we opened in the author's repo.\r\n\r\nIndeed, this issue was first ...
1,484,376,644
5,341
Remove tasks.json
closed
After discussions in https://github.com/huggingface/datasets/pull/5335 we should remove this file that is not used anymore. We should update https://github.com/huggingface/hub-docs/blob/main/js/src/lib/interfaces/Types.ts instead.
true
2022-12-08T11:04:35Z
2022-12-09T12:26:21Z
2022-12-09T12:23:20Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5341
2022-12-09T12:23:20Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5341
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,483,182,158
5,340
Clean up DatasetInfo and Dataset docstrings
closed
This PR cleans up the docstrings for `DatasetInfo` and about half of the methods in `Dataset`.
true
2022-12-08T00:17:53Z
2022-12-08T19:33:14Z
2022-12-08T19:30:10Z
stevhliu
MEMBER
https://github.com/huggingface/datasets/pull/5340
2022-12-08T19:30:10Z
1
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/5340
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,482,817,424
5,339
Add Video feature, videofolder, and video-classification task
closed
This PR does the following: - Adds `Video` feature (Resolves #5225 ) - Adds `video-classification` task - Adds `videofolder` packaged module for easy loading of local video classification datasets TODO: - [ ] add tests - [ ] add docs
true
2022-12-07T20:48:34Z
2024-01-11T06:30:24Z
2023-10-11T09:13:11Z
nateraw
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5339
null
4
1
0
1
true
false
[]
https://github.com/huggingface/datasets/pull/5339
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5339). All of your documentation changes will be reflected on that endpoint.", "@lhoestq I think I need some serious help with the tests 😅...I started this locally but it got too time consuming.\n\nOne issue I remember running...
1,482,646,151
5,338
`map()` stops every 1000 steps
closed
### Describe the bug I am passing the following `prepare_dataset` function to `Dataset.map` (code is inspired from [here](https://github.com/huggingface/community-events/blob/main/whisper-fine-tuning-event/run_speech_recognition_seq2seq_streaming.py#L454)) ```python3 def prepare_dataset(batch): # load and res...
true
2022-12-07T19:09:40Z
2025-02-14T18:10:07Z
2022-12-10T00:39:28Z
bayartsogt-ya
NONE
null
null
3
2
2
0
null
false
[]
https://github.com/huggingface/datasets/issues/5338
false
[ "Hi !\r\n\r\n> It starts using all the cores (I am not sure why because I did not pass num_proc)\r\n\r\nThe tokenizer uses Rust code that is multithreaded. And maybe the `feature_extractor` might run some things in parallel as well - but I'm not super familiar with its internals.\r\n\r\n> then progress bar stops at...
1,481,692,156
5,337
Support webdataset format
closed
Webdataset is an efficient format for iterable datasets. It would be nice to support it in `datasets`, as discussed in https://github.com/rom1504/img2dataset/issues/234. In particular it would be awesome to be able to load one using `load_dataset` in streaming mode (either from a local directory, or from a dataset o...
true
2022-12-07T11:32:25Z
2024-03-06T14:39:29Z
2024-03-06T14:39:28Z
lhoestq
MEMBER
null
null
5
4
4
0
null
false
[]
https://github.com/huggingface/datasets/issues/5337
false
[ "I like the idea of having `webdataset` as an optional dependency to ensure our loader generates web datasets the same way as the main project.", "Webdataset is the one of the most popular dataset formats for large scale computer vision tasks. Upvote for this issue. ", "Any updates on this?", "We haven't had ...
1,479,649,900
5,336
Set `IterableDataset.map` param `batch_size` typing as optional
closed
This PR solves #5325 ~Indeed we're using the typing for optional values as `Union[type, None]` as it's similar to how Python 3.10 handles optional values as `type | None`, instead of using `Optional[type]`.~ ~Do we want to start using `Union[type, None]` for type-hinting optional values or just keep on using `Op...
true
2022-12-06T17:08:10Z
2022-12-07T14:14:56Z
2022-12-07T14:06:27Z
alvarobartt
MEMBER
https://github.com/huggingface/datasets/pull/5336
2022-12-07T14:06:27Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5336
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5336). All of your documentation changes will be reflected on that endpoint.", "Hi @mariosasko, @lhoestq I was wondering whether we should include `batched` as a `pytest.mark` param for the functions testing `IterableDataset.ma...
1,478,890,788
5,335
Update tasks.json
closed
Context: * https://github.com/huggingface/datasets/issues/5255#issuecomment-1339107195 Cc: @osanseviero
true
2022-12-06T11:37:57Z
2023-09-24T10:06:42Z
2022-12-07T12:46:03Z
sayakpaul
MEMBER
https://github.com/huggingface/datasets/pull/5335
null
11
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5335
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "I think the only place where we need to add it is here https://github.com/huggingface/hub-docs/blob/main/js/src/lib/interfaces/Types.ts\r\n\r\nAnd I think we can remove tasks.json completely from this repo", "Isn't tasks.json used ...
1,477,421,927
5,334
Clean up docstrings
closed
As raised by @polinaeterna in #5324, some of the docstrings are a bit of a mess because it has both Markdown and Sphinx syntax. This PR fixes the docstring for `DatasetBuilder`. I'll start working on cleaning up the rest of the docstrings and removing the old Sphinx syntax (let me know if you prefer one big PR with...
true
2022-12-05T20:56:08Z
2022-12-09T01:44:25Z
2022-12-09T01:41:44Z
stevhliu
MEMBER
https://github.com/huggingface/datasets/pull/5334
2022-12-09T01:41:44Z
3
1
0
1
false
false
[ "documentation" ]
https://github.com/huggingface/datasets/pull/5334
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks ! Let us know if we can help :)\r\n\r\nSmall pref for having multiple PRs", "Awesome, thanks! Sorry this one is a little big, I'll open some smaller ones next :)" ]
1,476,890,156
5,333
fix: 🐛 pass the token to get the list of config names
closed
Otherwise, get_dataset_infos doesn't work on gated or private datasets, even with the correct token.
true
2022-12-05T16:06:09Z
2022-12-06T08:25:17Z
2022-12-06T08:22:49Z
severo
COLLABORATOR
https://github.com/huggingface/datasets/pull/5333
2022-12-06T08:22:49Z
1
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/5333
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,476,513,072
5,332
Passing numpy array to ClassLabel names causes ValueError
closed
### Describe the bug If a numpy array is passed to the names argument of ClassLabel, creating a dataset with those features causes an error. ### Steps to reproduce the bug https://colab.research.google.com/drive/1cV_es1PWZiEuus17n-2C-w0KEoEZ68IX TLDR: If I define my classes as: ``` my_classes = np.array(['on...
true
2022-12-05T12:59:03Z
2022-12-22T16:32:50Z
2022-12-22T16:32:50Z
freddyheppell
CONTRIBUTOR
null
null
5
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5332
false
[ "Should `datasets` allow `ClassLabel` input parameter to be an `np.array` even though internally we need to cast it to a Python list? @lhoestq @mariosasko ", "Hi! No, I don't think so. The `names` parameter is [annotated](https://github.com/huggingface/datasets/blob/582236640b9109988e5f7a16a8353696ffa09a16/src/d...
1,473,146,738
5,331
Support for multiple configs in packaged modules via metadata yaml info
closed
will solve https://github.com/huggingface/datasets/issues/5209 and https://github.com/huggingface/datasets/issues/5151 and many other... Config parameters for packaged builders are parsed from `“builder_config”` field in README.md file (separate firs-level field, not part of “dataset_info”), example: ```yaml --- ...
true
2022-12-02T16:43:44Z
2023-07-24T15:49:54Z
2023-07-13T13:27:56Z
polinaeterna
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5331
2023-07-13T13:27:56Z
22
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5331
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "feel free to merge `main` into your PR to fix the CI :)", "Let me see if I can fix the pattern thing ^^'", "Hmm I think it would be easier to specify the `data_files` in the end, because having a split pattern like `{split}-...` ...
1,471,999,125
5,329
Clarify imagefolder is for small datasets
closed
Based on feedback from [here](https://github.com/huggingface/datasets/issues/5317#issuecomment-1334108824), this PR adds a note to the `imagefolder` loading and creating docs that `imagefolder` is designed for small scale image datasets.
true
2022-12-01T21:47:29Z
2022-12-06T17:20:04Z
2022-12-06T17:16:53Z
stevhliu
MEMBER
https://github.com/huggingface/datasets/pull/5329
2022-12-06T17:16:53Z
4
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/5329
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "I think it's also reasonable to add the same note to the AudioFolder decription", "Thank you ! I think \"regular\" is more appropriate than \"small\". It can easily scale to a few thousands of images - just not millions x)", "Rep...
1,471,661,437
5,328
Fix docs building for main
closed
This PR reverts the triggering event for building documentation introduced by: - #5250 Fix #5326.
true
2022-12-01T17:07:45Z
2022-12-02T16:29:00Z
2022-12-02T16:26:00Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5328
2022-12-02T16:26:00Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5328
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "EDIT\r\nAt least the docs for ~~main~~ PR branch are now built:\r\n- https://github.com/huggingface/datasets/actions/runs/3594847760/jobs/6053620813", "Build documentation for main branch was triggered after this PR being merged: h...
1,471,657,247
5,327
Avoid unwanted behaviour when splits from script and metadata are not matching because of outdated metadata
open
will fix #5315
true
2022-12-01T17:05:23Z
2023-01-23T12:48:29Z
null
polinaeterna
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5327
null
1
0
0
0
true
false
[]
https://github.com/huggingface/datasets/pull/5327
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5327). All of your documentation changes will be reflected on that endpoint." ]
1,471,634,168
5,326
No documentation for main branch is built
closed
Since: - #5250 - Commit: 703b84311f4ead83c7f79639f2dfa739295f0be6 the docs for main branch are no longer built. The change introduced only triggers the docs building for releases.
true
2022-12-01T16:50:58Z
2022-12-02T16:26:01Z
2022-12-02T16:26:01Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/5326
false
[]
1,471,536,822
5,325
map(...batch_size=None) for IterableDataset
closed
### Feature request Dataset.map(...) allows batch_size to be None. It would be nice if IterableDataset did too. ### Motivation Although it may seem a bit of a spurious request given that `IterableDataset` is meant for larger than memory datasets, but there are a couple of reasons why this might be nice. One is th...
true
2022-12-01T15:43:42Z
2022-12-07T15:54:43Z
2022-12-07T15:54:42Z
frankier
CONTRIBUTOR
null
null
5
0
0
0
null
false
[ "enhancement", "good first issue" ]
https://github.com/huggingface/datasets/issues/5325
false
[ "Hi! I agree it makes sense for `IterableDataset.map` to support the `batch_size=None` case. This should be super easy to fix.", "@mariosasko as this is something simple maybe I can include it as part of https://github.com/huggingface/datasets/pull/5311? Let me know :+1:", "#self-assign", "Feel free to close ...
1,471,524,512
5,324
Fix docstrings and types in documentation that appears on the website
open
While I was working on https://github.com/huggingface/datasets/pull/5313 I've noticed that we have a mess in how we annotate types and format args and return values in the code. And some of it is displayed in the [Reference section](https://huggingface.co/docs/datasets/package_reference/builder_classes) of the document...
true
2022-12-01T15:34:53Z
2024-01-23T16:21:54Z
null
polinaeterna
CONTRIBUTOR
null
null
5
0
0
0
null
false
[ "documentation" ]
https://github.com/huggingface/datasets/issues/5324
false
[ "I agree we have a mess with docstrings...", "Ok, I believe we've cleaned up most of the old syntax we were using for the user-facing docs! There are still a couple of `:obj:`'s and `:class:` floating around in the docstrings we don't expose that I'll track down :)", "Hi @polinaeterna @albertvillanova @stevhliu...
1,471,518,803
5,323
Duplicated Keys in Taskmaster-2 Dataset
closed
### Describe the bug Loading certain splits () of the taskmaster-2 dataset fails because of a DuplicatedKeysError. This occurs for the following domains: `'hotels', 'movies', 'music', 'sports'`. The domains `'flights', 'food-ordering', 'restaurant-search'` load fine. Output: ### Steps to reproduce the bug ``` ...
true
2022-12-01T15:31:06Z
2022-12-01T16:26:06Z
2022-12-01T16:26:06Z
liaeh
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5323
false
[ "Thanks for reporting, @liaeh.\r\n\r\nWe are having a look at it. ", "I have transferred the discussion to the Community tab of the dataset: https://huggingface.co/datasets/taskmaster2/discussions/1" ]
1,471,502,162
5,322
Raise error for `.tar` archives in the same way as for `.tar.gz` and `.tgz` in `_get_extraction_protocol`
closed
Currently `download_and_extract` doesn't throw an error when it is used with files with `.tar` extension in streaming mode because `_get_extraction_protocol` doesn't do it (like it does for `tar.gz` and `tgz`). `_get_extraction_protocol` returns formatted url as if we support tar protocol but we don't. That means tha...
true
2022-12-01T15:19:28Z
2022-12-14T16:37:16Z
2022-12-14T16:33:30Z
polinaeterna
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5322
2022-12-14T16:33:30Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5322
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,471,430,667
5,321
Fix loading from HF GCP cache
closed
As reported in https://discuss.huggingface.co/t/error-loading-wikipedia-dataset/26599/4 it's not possible to download a cached version of Wikipedia from the HF GCP cache I fixed it and added an integration test (runs in 10sec)
true
2022-12-01T14:39:06Z
2022-12-01T16:10:09Z
2022-12-01T16:07:02Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5321
2022-12-01T16:07:02Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5321
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "> Do you know why this stopped working?\r\n\r\nIt comes from the changes in https://github.com/huggingface/datasets/pull/5107/files#diff-355ae5c229f95f86895404b72378ecd6e966c41cbeebb674af6fe6e9611bc126" ]
1,471,360,910
5,320
[Extract] Place the lock file next to the destination directory
closed
Previously it was placed next to the archive to extract, but the archive can be in a read-only directory as noticed in https://github.com/huggingface/datasets/issues/5295 Therefore I moved the lock location to be next to the destination directory, which is required to have write permissions
true
2022-12-01T13:55:49Z
2022-12-01T15:36:44Z
2022-12-01T15:33:58Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5320
2022-12-01T15:33:58Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5320
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,470,945,515
5,319
Fix Text sample_by paragraph
closed
Fix #5316.
true
2022-12-01T09:08:09Z
2022-12-01T15:21:44Z
2022-12-01T15:19:00Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5319
2022-12-01T15:19:00Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5319
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,470,749,750
5,318
Origin/fix missing features error
closed
This fixes the problem of when the dataset_load function reads a function with "features" provided but some read batches don't have columns that later show up. For instance, the provided "features" requires columns A,B,C but only columns B,C show. This fixes this by adding the column A with nulls.
true
2022-12-01T06:18:39Z
2022-12-12T19:06:42Z
2022-12-04T05:49:39Z
eunseojo
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5318
2022-12-04T05:49:39Z
5
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5318
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "please review :) @lhoestq @ola13 thankoo", "Thanks :) I just updated the test to make sure it works even when there's a column missing, and did a minor change to json.py to add the missing columns for the other kinds of JSON files ...
1,470,390,164
5,317
`ImageFolder` performs poorly with large datasets
open
### Describe the bug While testing image dataset creation, I'm seeing significant performance bottlenecks with imagefolders when scanning a directory structure with large number of images. ## Setup * Nested directories (5 levels deep) * 3M+ images * 1 `metadata.jsonl` file ## Performance Degradation Point...
true
2022-12-01T00:04:21Z
2022-12-01T21:49:26Z
null
salieri
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5317
false
[ "Hi ! ImageFolder is made for small scale datasets indeed. For large scale image datasets you better group your images in TAR archives or Arrow/Parquet files. This is true not just for ImageFolder loading performance, but also because having millions of files is not ideal for your filesystem or when moving the data...
1,470,115,681
5,316
Bug in sample_by="paragraph"
closed
### Describe the bug I think [this line](https://github.com/huggingface/datasets/blob/main/src/datasets/packaged_modules/text/text.py#L96) is wrong and should be `batch = f.read(self.config.chunksize)`. Otherwise it will never terminate because even when `f` is finished reading, `batch` will still be truthy from the l...
true
2022-11-30T19:24:13Z
2022-12-01T15:19:02Z
2022-12-01T15:19:02Z
adampauls
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5316
false
[ "Thanks for reporting, @adampauls.\r\n\r\nWe are having a look at it. " ]
1,470,026,797
5,315
Adding new splits to a dataset script with existing old splits info in metadata's `dataset_info` fails
open
### Describe the bug If you first create a custom dataset with a specific set of splits, generate metadata with `datasets-cli test ... --save_info`, then change your script to include more splits, it fails. That's what happened in https://huggingface.co/datasets/mrdbourke/food_vision_199_classes/discussions/2#6385f...
true
2022-11-30T18:02:15Z
2022-12-02T07:02:53Z
null
polinaeterna
CONTRIBUTOR
null
null
3
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/5315
false
[ "EDIT:\r\nI think in this case, the metadata files (either README or JSON) should not be read (i.e. `self.info.splits` should be None).\r\n\r\nOne idea: \r\n- I think ideally we should set this behavior when we pass `--save_info` to the CLI `test`\r\n- However, currently, the builder is unaware of this: `save_info`...
1,469,685,118
5,314
Datasets: classification_report() got an unexpected keyword argument 'suffix'
closed
https://github.com/huggingface/datasets/blob/main/metrics/seqeval/seqeval.py > import datasets predictions = [['O', 'O', 'B-MISC', 'I-MISC', 'I-MISC', 'I-MISC', 'O'], ['B-PER', 'I-PER', 'O']] references = [['O', 'O', 'O', 'B-MISC', 'I-MISC', 'I-MISC', 'O'], ['B-PER', 'I-PER', 'O']] seqeval = datasets.load_metri...
true
2022-11-30T14:01:03Z
2023-07-21T14:40:31Z
2023-07-21T14:40:31Z
JonathanAlis
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5314
false
[ "This seems similar to https://github.com/huggingface/datasets/issues/2512 Can you try to update seqeval ? ", "@JonathanAlis also note that the metrics are deprecated in our `datasets` library.\r\n\r\nPlease, use the new library 🤗 Evaluate instead: https://huggingface.co/docs/evaluate" ]
1,468,484,136
5,313
Fix description of streaming in the docs
closed
We say that "the data is being downloaded progressively" which is not true, it's just streamed, so I fixed it. Probably I missed some other places where it is written? Also changed docstrings for `StreamingDownloadManager`'s `download` and `extract` to reflect the same, as these docstrings are displayed in the docu...
true
2022-11-29T18:00:28Z
2022-12-01T14:55:30Z
2022-12-01T14:00:34Z
polinaeterna
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5313
2022-12-01T14:00:34Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5313
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,468,352,562
5,312
Add DatasetDict.to_pandas
closed
From discussions in https://github.com/huggingface/datasets/issues/5189, for tabular data it doesn't really make sense to have to do ```python df = load_dataset(...)["train"].to_pandas() ``` because many datasets are not split. In this PR I added `to_pandas` to `DatasetDict` which returns the DataFrame: If th...
true
2022-11-29T16:30:02Z
2023-09-24T10:06:19Z
2023-01-25T17:33:42Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5312
null
12
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/5312
true
[ "The current implementation is what I had in mind, i.e. concatenate all splits by default.\r\n\r\nHowever, I think most tabular datasets would come as a single split. So for that usecase, it wouldn't change UX if we raise when there are more than one splits.\r\n\r\nAnd for multiple splits, the user either passes a ...
1,467,875,153
5,311
Add `features` param to `IterableDataset.map`
closed
## Description As suggested by @lhoestq in #3888, we should be adding the param `features` to `IterableDataset.map` so that the features can be preserved (not turned into `None` as that's the default behavior) whenever the user passes those as param, so as to be consistent with `Dataset.map`, as it provides the `fea...
true
2022-11-29T11:08:34Z
2022-12-06T15:45:02Z
2022-12-06T15:42:04Z
alvarobartt
MEMBER
https://github.com/huggingface/datasets/pull/5311
2022-12-06T15:42:04Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5311
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,467,719,635
5,310
Support xPath for Windows pathnames
closed
This PR implements a string representation of `xPath`, which is valid for local paths (also windows) and remote URLs. Additionally, some `os.path` methods are fixed for remote URLs on Windows machines. Now, on Windows machines: ```python In [2]: str(xPath("C:\\dir\\file.txt")) Out[2]: 'C:\\dir\\file.txt' In [...
true
2022-11-29T09:20:47Z
2022-11-30T12:00:09Z
2022-11-30T11:57:16Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5310
2022-11-30T11:57:16Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5310
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,466,758,987
5,309
Close stream in `ArrowWriter.finalize` before inference error
closed
Ensure the file stream is closed in `ArrowWriter.finalize` before raising the `SchemaInferenceError` to avoid the `PermissionError` on Windows in `incomplete_dir`'s `shutil.rmtree`.
true
2022-11-28T16:59:39Z
2022-12-07T12:55:20Z
2022-12-07T12:52:15Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5309
2022-12-07T12:52:15Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5309
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,466,552,281
5,308
Support `topdown` parameter in `xwalk`
closed
Add support for the `topdown` parameter in `xwalk` when `fsspec>=2022.11.0` is installed.
true
2022-11-28T14:42:41Z
2022-12-09T12:58:55Z
2022-12-09T12:55:59Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5308
2022-12-09T12:55:59Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5308
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "I like the `kwargs` approach, thanks!" ]
1,466,477,427
5,307
Use correct dataset type in `from_generator` docs
closed
Use the correct dataset type in the `from_generator` docs (example with sharding).
true
2022-11-28T13:59:10Z
2022-11-28T15:30:37Z
2022-11-28T15:27:26Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5307
2022-11-28T15:27:26Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5307
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,465,968,639
5,306
Can't use custom feature description when loading a dataset
closed
### Describe the bug I have created a feature dictionary to describe my datasets' column types, to use when loading the dataset, following [the doc](https://huggingface.co/docs/datasets/main/en/about_dataset_features). It crashes at dataset load. ### Steps to reproduce the bug ```python # Creating features task_...
true
2022-11-28T07:55:44Z
2022-11-28T08:11:45Z
2022-11-28T08:11:44Z
clefourrier
MEMBER
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5306
false
[ "Forgot to actually convert the feature dict to a Feature object. Closing." ]
1,465,627,826
5,305
Dataset joelito/mc4_legal does not work with multiple files
closed
### Describe the bug The dataset https://huggingface.co/datasets/joelito/mc4_legal works for languages like bg with a single data file, but not for languages with multiple files like de. It shows zero rows for the de dataset. joelniklaus@Joels-MacBook-Pro ~/N/P/C/L/p/m/mc4_legal (main) [1]> python test_mc4_legal....
true
2022-11-28T00:16:16Z
2022-11-28T07:22:42Z
2022-11-28T07:22:42Z
JoelNiklaus
CONTRIBUTOR
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5305
false
[ "Thanks for reporting @JoelNiklaus.\r\n\r\nPlease note that since we moved all dataset loading scripts to the Hub, the issues and pull requests relative to specific datasets are directly handled on the Hub, in their Community tab. I'm transferring this issue there: https://huggingface.co/datasets/joelito/mc4_legal/...
1,465,110,367
5,304
timit_asr doesn't load the test split.
closed
### Describe the bug When I use the function ```timit = load_dataset('timit_asr', data_dir=data_dir)```, it only loads train split, not test split. I tried to change the directory and filename to lower case to upper case for the test split, but it does not work at all. ```python DatasetDict({ train: Datase...
true
2022-11-26T10:18:22Z
2023-02-10T16:33:21Z
2023-02-10T16:33:21Z
seyong92
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5304
false
[ "The [timit_asr.py](https://huggingface.co/datasets/timit_asr/blob/main/timit_asr.py) script iterates over the WAV files per split directory using this:\r\n```python\r\nwav_paths = sorted(Path(data_dir).glob(f\"**/{split}/**/*.wav\"))\r\nwav_paths = wav_paths if wav_paths else sorted(Path(data_dir).glob(f\"**/{spli...
1,464,837,251
5,303
Skip dataset verifications by default
closed
Skip the dataset verifications (split and checksum verifications, duplicate keys check) by default unless a dataset is being tested (`datasets-cli test/run_beam`). The main goal is to avoid running the checksum check in the default case due to how expensive it can be for large datasets. PS: Maybe we should deprecate...
true
2022-11-25T18:39:09Z
2023-02-13T16:50:42Z
2023-02-13T16:43:47Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5303
2023-02-13T16:43:47Z
17
3
3
0
false
false
[]
https://github.com/huggingface/datasets/pull/5303
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "100% agree that the checksum verification is overkill and not super useful. But I think this PR would also disable the check on num_examples no ?\r\n \r\nAs a user I would like to know if the dataset I'm loading changed significantly...
1,464,778,901
5,302
Improve `use_auth_token` docstring and deprecate `use_auth_token` in `download_and_prepare`
closed
Clarify in the docstrings what happens when `use_auth_token` is `None` and deprecate the `use_auth_token` param in `download_and_prepare`.
true
2022-11-25T17:09:21Z
2022-12-09T14:20:15Z
2022-12-09T14:17:20Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5302
2022-12-09T14:17:20Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5302
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,464,749,156
5,301
Return a split Dataset in load_dataset
closed
...instead of a DatasetDict. ```python # now supported ds = load_dataset("squad") ds[0] for example in ds: pass # still works ds["train"] ds["validation"] # new ds.splits # Dict[str, Dataset] | None # soon to be supported (not in this PR) ds = load_dataset("dataset_with_no_splits") ds[0] f...
true
2022-11-25T16:35:54Z
2023-09-24T10:06:15Z
2023-02-21T13:13:13Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5301
null
2
1
0
1
true
false
[]
https://github.com/huggingface/datasets/pull/5301
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5301). All of your documentation changes will be reflected on that endpoint.", "Just noticed that now we have to deal with indexed & split datasets. The remaining tests are failing because one should be able to get an indexed d...
1,464,697,136
5,300
Use same `num_proc` for dataset download and generation
closed
Use the same `num_proc` value for data download and generation. Additionally, do not set `num_proc` to 16 in `DownloadManager` by default (`num_proc` now has to be specified explicitly).
true
2022-11-25T15:37:42Z
2022-12-07T12:55:39Z
2022-12-07T12:52:51Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5300
2022-12-07T12:52:50Z
2
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/5300
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "I noticed this bug the other day and was going to look into it! \"Where are these processes coming from?\" ;-)" ]
1,464,695,091
5,299
Fix xopen for Windows pathnames
closed
This PR fixes a bug in `xopen` function for Windows pathnames. Fix #5298.
true
2022-11-25T15:35:28Z
2022-11-29T08:23:58Z
2022-11-29T08:21:24Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5299
2022-11-29T08:21:24Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5299
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,464,681,871
5,298
Bug in xopen with Windows pathnames
closed
Currently, `xopen` function has a bug with local Windows pathnames: From its implementation: ```python def xopen(file: str, mode="r", *args, **kwargs): file = _as_posix(PurePath(file)) main_hop, *rest_hops = file.split("::") if is_local_path(main_hop): return open(file, mode, *args, **kwarg...
true
2022-11-25T15:21:32Z
2022-11-29T08:21:25Z
2022-11-29T08:21:25Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/5298
false
[]
1,464,554,491
5,297
Fix xjoin for Windows pathnames
closed
This PR fixes a bug in `xjoin` function with Windows pathnames. Fix #5296.
true
2022-11-25T13:30:17Z
2022-11-29T08:07:39Z
2022-11-29T08:05:12Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5297
2022-11-29T08:05:12Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5297
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,464,553,580
5,296
Bug in xjoin with Windows pathnames
closed
Currently, `xjoin` function has a bug with local Windows pathnames: instead of returning the OS-dependent join pathname, it always returns it in POSIX format. ```python from datasets.download.streaming_download_manager import xjoin path = xjoin("C:\\Users\\USERNAME", "filename.txt") ``` Join path should be: ...
true
2022-11-25T13:29:33Z
2022-11-29T08:05:13Z
2022-11-29T08:05:13Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/5296
false
[]
1,464,006,743
5,295
Extractions failed when .zip file located on read-only path (e.g., SageMaker FastFile mode)
closed
### Describe the bug Hi, `load_dataset()` does not work .zip files located on a read-only directory. Looks like it's because Dataset creates a lock file in the [same directory](https://github.com/huggingface/datasets/blob/df4bdd365f2abb695f113cbf8856a925bc70901b/src/datasets/utils/extract.py) as the .zip file. ...
true
2022-11-25T03:59:43Z
2023-07-21T14:39:09Z
2023-07-21T14:39:09Z
verdimrc
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5295
false
[ "Hi ! Thanks for reporting. Indeed the lock file should be placed in a directory with write permission (e.g. in the directory where the archive is extracted).", "I opened https://github.com/huggingface/datasets/pull/5320 to fix this - it places the lock file in the cache directory instead of trying to put in next...
1,463,679,582
5,294
Support streaming datasets with pathlib.Path.with_suffix
closed
This PR extends the support in streaming mode for datasets that use `pathlib.Path.with_suffix`. Fix #5293.
true
2022-11-24T18:04:38Z
2022-11-29T07:09:08Z
2022-11-29T07:06:32Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5294
2022-11-29T07:06:32Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5294
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,463,669,201
5,293
Support streaming datasets with pathlib.Path.with_suffix
closed
Extend support for streaming datasets that use `pathlib.Path.with_suffix`. This feature will be useful e.g. for datasets containing text files and annotated files with the same name but different extension.
true
2022-11-24T17:52:08Z
2022-11-29T07:06:33Z
2022-11-29T07:06:33Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5293
false
[]
1,463,053,832
5,292
Missing documentation build for versions 2.7.1 and 2.6.2
closed
After the patch releases [2.7.1](https://github.com/huggingface/datasets/releases/tag/2.7.1) and [2.6.2](https://github.com/huggingface/datasets/releases/tag/2.6.2), the online docs were not properly built (the build_documentation workflow was not triggered). There was a fix by: - #5291 However, both documentati...
true
2022-11-24T09:42:10Z
2022-11-24T10:10:02Z
2022-11-24T10:10:02Z
albertvillanova
MEMBER
null
null
1
0
0
0
null
false
[ "maintenance" ]
https://github.com/huggingface/datasets/issues/5292
false
[ "- Build docs for 2.6.2:\r\n - Commit: a6a5a1cf4cdf1e0be65168aed5a327f543001fe8\r\n - Build docs GH Action: https://github.com/huggingface/datasets/actions/runs/3539470622/jobs/5941404044\r\n- Build docs for 2.7.1:\r\n - Commit: 5ef1ab1cc06c2b7a574bf2df454cd9fcb071ccb2\r\n - Build docs GH Action: https://github...
1,462,983,472
5,291
[build doc] for v2.7.1 & v2.6.2
closed
Do NOT merge. Using this PR to build docs for [v2.7.1](https://github.com/huggingface/datasets/pull/5291/commits/f4914af20700f611b9331a9e3ba34743bbeff934) & [v2.6.2](https://github.com/huggingface/datasets/pull/5291/commits/025f85300a0874eeb90a20393c62f25ac0accaa0)
true
2022-11-24T08:54:47Z
2022-11-24T09:14:10Z
2022-11-24T09:11:15Z
mishig25
NONE
https://github.com/huggingface/datasets/pull/5291
null
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5291
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "doc versions are built https://huggingface.co/docs/datasets/index" ]
1,462,716,766
5,290
fix error where reading breaks when batch missing an assigned column feature
open
true
2022-11-24T03:53:46Z
2022-11-25T03:21:54Z
null
eunseojo
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5290
null
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5290
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5290). All of your documentation changes will be reflected on that endpoint." ]
1,462,543,139
5,289
Added support for JXL images.
open
JPEG-XL is the most advanced of the next-generation of image codecs, supporting both lossless and lossy files — with better compression and quality than PNG and JPG respectively. It has reduced the disk sizes and bandwidth required for many of the datasets I use. Pillow does not yet support JXL, but there's a plugi...
true
2022-11-23T23:16:33Z
2022-11-29T18:49:46Z
null
alexjc
NONE
https://github.com/huggingface/datasets/pull/5289
null
11
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5289
true
[ "I'm fine with the addition of jxl in the list of known image extensions, this way users that have the plugin can work with their JXL datasets. WDYT @mariosasko ?", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5289). All of your documentation changes will be reflected on ...
1,462,134,067
5,288
Lossy json serialization - deserialization of dataset info
open
### Describe the bug Saving a dataset to disk as json (using `to_json`) and then loading it again (using `load_dataset`) results in features whose labels are not type-cast correctly. In the code snippet below, `features.label` should have a label of type `ClassLabel` but has type `Value` instead. ### Steps to re...
true
2022-11-23T17:20:15Z
2022-11-25T12:53:51Z
null
anuragprat1k
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5288
false
[ "Hi ! JSON is a lossy format indeed. If you want to keep the feature types or other metadata I'd encourage you to store them as well. For example you can use `dataset.info.write_to_directory` and `DatasetInfo.from_directory` to store the feature types, split info, description, license etc." ]
1,461,971,889
5,287
Fix methods using `IterableDataset.map` that lead to `features=None`
closed
As currently `IterableDataset.map` is setting the `info.features` to `None` every time as we don't know the output of the dataset in advance, `IterableDataset` methods such as `rename_column`, `rename_columns`, and `remove_columns`. that internally use `map` lead to the features being `None`. This PR is related to #...
true
2022-11-23T15:33:25Z
2022-11-28T15:43:14Z
2022-11-28T12:53:22Z
alvarobartt
MEMBER
https://github.com/huggingface/datasets/pull/5287
2022-11-28T12:53:22Z
7
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5287
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._", "Maybe other options are:\r\n* Keep the `info.features` to `None` if those were initially `None`\r\n* Infer the features with pre-fetching just if the `...
1,461,908,087
5,286
FileNotFoundError: Couldn't find file at https://dumps.wikimedia.org/enwiki/20220301/dumpstatus.json
closed
### Describe the bug I follow the steps provided on the website [https://huggingface.co/datasets/wikipedia](https://huggingface.co/datasets/wikipedia) $ pip install apache_beam mwparserfromhell >>> from datasets import load_dataset >>> load_dataset("wikipedia", "20220301.en") however this results in the follo...
true
2022-11-23T14:54:15Z
2024-11-23T01:16:41Z
2022-11-25T11:33:14Z
roritol
NONE
null
null
3
1
1
0
null
false
[]
https://github.com/huggingface/datasets/issues/5286
false
[ "I found a solution \r\n\r\nIf you specifically install datasets==1.18 and then run\r\n\r\nimport datasets\r\nwiki = datasets.load_dataset('wikipedia', '20200501.en')\r\nthen this should work (it worked for me.)", "I have the same problem here but installing datasets==1.18 wont work for me\r\n", "This works wit...
1,461,521,215
5,285
Save file name in embed_storage
closed
Having the file name is useful in case we need to check the extension of the file (e.g. mp3), or in general in case it includes some metadata information (track id, image id etc.) Related to https://github.com/huggingface/datasets/issues/5276
true
2022-11-23T10:55:54Z
2022-11-24T14:11:41Z
2022-11-24T14:08:37Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5285
2022-11-24T14:08:37Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5285
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "I updated the tests, met le know if it sounds good to you now :)" ]
1,461,519,733
5,284
Features of IterableDataset set to None by remove column
closed
### Describe the bug The `remove_column` method of the IterableDataset sets the dataset features to None. ### Steps to reproduce the bug ```python from datasets import Audio, load_dataset # load LS in streaming mode dataset = load_dataset("librispeech_asr", "clean", split="validation", streaming=True) ...
true
2022-11-23T10:54:59Z
2025-02-07T11:36:41Z
2022-11-28T12:53:24Z
sanchit-gandhi
CONTRIBUTOR
null
null
19
0
0
0
null
false
[ "bug", "streaming" ]
https://github.com/huggingface/datasets/issues/5284
false
[ "Related to https://github.com/huggingface/datasets/issues/5245", "#self-assign", "Thanks @lhoestq and @alvarobartt!\r\n\r\nThis would be extremely helpful to have working for the Whisper fine-tuning event - we're **only** training using streaming mode, so it'll be quite important to have this feature working t...
1,460,291,003
5,283
Release: 2.6.2
closed
true
2022-11-22T17:36:24Z
2022-11-22T17:50:12Z
2022-11-22T17:47:02Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5283
2022-11-22T17:47:02Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5283
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,460,238,928
5,282
Release: 2.7.1
closed
true
2022-11-22T16:58:54Z
2022-11-22T17:21:28Z
2022-11-22T17:21:27Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5282
2022-11-22T17:21:27Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5282
true
[]
1,459,930,271
5,281
Support cloud storage in load_dataset
open
Would be nice to be able to do ```python data_files=["s3://..."] # or gs:// or any cloud storage path storage_options = {...} load_dataset(..., data_files=data_files, storage_options=storage_options) ``` The idea would be to use `fsspec` as in `download_and_prepare` and `save_to_disk`. This has been reque...
true
2022-11-22T14:00:10Z
2024-11-15T15:03:41Z
null
lhoestq
MEMBER
null
null
31
61
39
22
null
false
[ "enhancement", "good second issue" ]
https://github.com/huggingface/datasets/issues/5281
false
[ "Or for example an archive on GitHub releases! Before I added support for JXL (locally only, PR still pending) I was considering hosting my files on GitHub instead...", "+1 to this. I would like to use 'audiofolder' with a data_dir that's on S3, for example. I don't want to upload my dataset to the Hub, but I wo...
1,459,823,179
5,280
Import error
closed
https://github.com/huggingface/datasets/blob/cd3d8e637cfab62d352a3f4e5e60e96597b5f0e9/src/datasets/__init__.py#L28 Hy, I have error at the above line. I have python version 3.8.13, the message says I need python>=3.7, which is True, but I think the if statement not working properly (or the message wrong)
true
2022-11-22T12:56:43Z
2022-12-15T19:57:40Z
2022-12-15T19:57:40Z
feketedavid1012
NONE
null
null
5
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5280
false
[ "Hi ! Can you \r\n```python\r\nimport platform\r\nprint(platform.python_version())\r\n```\r\nto see that it returns ?", "Hi,\n\n3.8.13\n\nGet Outlook for Android<https://aka.ms/AAb9ysg>\n________________________________\nFrom: Quentin Lhoest ***@***.***>\nSent: Tuesday, November 22, 2022 2:37:02 PM\nTo: huggingfa...
1,459,635,002
5,279
Warn about checksums
closed
It takes a lot of time on big datasets to compute the checksums, we should at least add a warning to notify the user about this step. I also mentioned how to disable it, and added a tqdm bar (delay=5 seconds) cc @ola13
true
2022-11-22T10:58:48Z
2022-11-23T11:43:50Z
2022-11-23T09:47:02Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5279
2022-11-23T09:47:01Z
3
1
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5279
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "I'm also in favor of disabling this by default - it's kinda impractical", "Great, thanks for the quick turnaround on this!" ]
1,459,574,490
5,278
load_dataset does not read jsonl metadata file properly
closed
### Describe the bug Hi, I'm following [this page](https://huggingface.co/docs/datasets/image_dataset) to create a dataset of images and captions via an image folder and a metadata.json file, but I can't seem to get the dataloader to recognize the "text" column. It just spits out "image" and "label" as features. B...
true
2022-11-22T10:24:46Z
2023-02-14T14:48:16Z
2022-11-23T11:38:35Z
065294847
NONE
null
null
6
1
1
0
null
false
[]
https://github.com/huggingface/datasets/issues/5278
false
[ "Can you try to remove \"drop_labels=false\" ? It may force the loader to infer the labels instead of reading the metadata", "Hi, thanks for responding. I tried that, but it does not change anything.", "Can you try updating `datasets` ? Metadata support was added in `datasets` 2.4", "Probably the issue, will ...
1,459,388,551
5,277
Remove YAML integer keys from class_label metadata
closed
Fix partially #5275.
true
2022-11-22T08:34:07Z
2022-11-22T13:58:26Z
2022-11-22T13:55:49Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5277
2022-11-22T13:55:49Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5277
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "Also note that this approach is valid when metadata keys are str, but also if they are int.\r\n- This will be helpful for any community dataset using old integer keys in their metadata", "perfect !" ]
1,459,363,442
5,276
Bug in downloading common_voice data and snall chunk of it to one's own hub
closed
### Describe the bug I'm trying to load the common voice dataset. Currently there is no implementation to download just par tof the data, and I need just one part of it, without downloading the entire dataset Help please? ![image](https://user-images.githubusercontent.com/48530104/203260511-26df766f-6013-4...
true
2022-11-22T08:17:53Z
2023-07-21T14:33:10Z
2023-07-21T14:33:10Z
capsabogdan
NONE
null
null
17
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5276
false
[ "Sounds like one of the file is not a valid one, can you make sure you uploaded valid mp3 files ?", "Well I just sharded the original commonVoice dataset and pushed a small chunk of it in a private rep\n\nWhat did go wrong?\n\nHolen Sie sich Outlook für iOS<https://aka.ms/o0ukef>\n________________________________...
1,459,358,919
5,275
YAML integer keys are not preserved Hub server-side
closed
After an internal discussion (https://github.com/huggingface/moon-landing/issues/4563): - YAML integer keys are not preserved server-side: they are transformed to strings - See for example this Hub PR: https://huggingface.co/datasets/acronym_identification/discussions/1/files - Original: ```yaml ...
true
2022-11-22T08:14:47Z
2023-01-26T10:52:35Z
2023-01-26T10:40:21Z
albertvillanova
MEMBER
null
null
13
1
0
1
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/5275
false
[ "@huggingface/datasets if you agree, I can make the bulk edit on the Hub to fix integer keys into strings.", "Ok for me, and we can merge (internal) https://github.com/huggingface/moon-landing/pull/4609", "FYI there are still 2k+ weekly users on `datasets` 2.6.1 which doesn't support the string label format for...
1,458,646,455
5,274
load_dataset possibly broken for gated datasets?
closed
### Describe the bug When trying to download the [winoground dataset](https://huggingface.co/datasets/facebook/winoground), I get this error unless I roll back the version of huggingface-hub: ``` [/usr/local/lib/python3.7/dist-packages/huggingface_hub/utils/_validators.py](https://localhost:8080/#) in validate_rep...
true
2022-11-21T21:59:53Z
2023-05-27T00:06:14Z
2022-11-28T02:50:42Z
TristanThrush
CONTRIBUTOR
null
null
9
1
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5274
false
[ "@BradleyHsu", "Btw, thanks very much for finding the hub rollback temporary fix and bringing the issue to our attention @KhoomeiK!", "I see the same issue when calling `load_dataset('poloclub/diffusiondb', 'large_random_1k')` with `datasets==2.7.1` and `huggingface-hub=0.11.0`. No issue with `datasets=2.6.1` a...
1,458,018,050
5,273
download_mode="force_redownload" does not refresh cached dataset
open
### Describe the bug `load_datasets` does not refresh dataset when features are imported from external file, even with `download_mode="force_redownload"`. The bug is not limited to nested fields, however it is more likely to occur with nested fields. ### Steps to reproduce the bug To reproduce the bug 3 files are ne...
true
2022-11-21T14:12:43Z
2022-11-21T14:13:03Z
null
nomisto
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5273
false
[]
1,456,940,021
5,272
Use pyarrow Tensor dtype
open
### Feature request I was going the discussion of converting tensors to lists. Is there a way to leverage pyarrow's Tensors for nested arrays / embeddings? For example: ```python import pyarrow as pa import numpy as np x = np.array([[2, 2, 4], [4, 5, 100]], np.int32) pa.Tensor.from_numpy(x, dim_names=["dim1...
true
2022-11-20T15:18:41Z
2024-11-11T03:03:17Z
null
franz101
NONE
null
null
17
2
2
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5272
false
[ "Hi ! We're using the Arrow format for the datasets, and PyArrow tensors are not part of the Arrow format AFAIK:\r\n\r\n> There is no direct support in the arrow columnar format to store Tensors as column values.\r\n\r\nsource: https://github.com/apache/arrow/issues/4802#issuecomment-508494694", "@wesm @rok its b...
1,456,807,738
5,271
Fix #5269
closed
``` $ datasets-cli convert --datasets_directory <TAB> datasets_directory benchmarks/ docs/ metrics/ notebooks/ src/ templates/ tests/ utils/ ```
true
2022-11-20T07:50:49Z
2022-11-21T15:07:19Z
2022-11-21T15:06:38Z
Freed-Wu
NONE
https://github.com/huggingface/datasets/pull/5271
null
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5271
true
[ "See <https://github.com/huggingface/datasets/issues/5269>" ]
1,456,508,990
5,270
When len(_URLS) > 16, download will hang
open
### Describe the bug ```python In [9]: dataset = load_dataset('Freed-Wu/kodak', split='test') Downloading: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2.53k/2.53k [00:00<00:00, 1.88MB/s] [1...
true
2022-11-19T14:27:41Z
2022-11-21T15:27:16Z
null
Freed-Wu
NONE
null
null
7
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5270
false
[ "It can fix the bug temporarily.\r\n```python\r\nfrom datasets import DownloadConfig\r\nconfig = DownloadConfig(num_proc=8)\r\nIn [5]: dataset = load_dataset('Freed-Wu/kodak', split='test', download_config=config)\r\nDownloading and preparing dataset kodak/default to /home/wzy/.cache/huggingface/datasets/Freed-Wu__...
1,456,485,799
5,269
Shell completions
closed
### Feature request Like <https://github.com/huggingface/huggingface_hub/issues/1197>, datasets-cli maybe need it, too. ### Motivation See above. ### Your contribution Maybe.
true
2022-11-19T13:48:59Z
2022-11-21T15:06:15Z
2022-11-21T15:06:14Z
Freed-Wu
NONE
null
null
2
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5269
false
[ "I don't think we need completion on the datasets-cli, since we're mainly developing huggingface-cli", "I see." ]
1,455,633,978
5,268
Sharded save_to_disk + multiprocessing
closed
Added `num_shards=` and `num_proc=` to `save_to_disk()` EDIT: also added `max_shard_size=` to `save_to_disk()`, and also `num_shards=` to `push_to_hub` I also: - deprecated the fs parameter in favor of storage_options (for consistency with the rest of the lib) in save_to_disk and load_from_disk - always embed t...
true
2022-11-18T18:50:01Z
2022-12-14T18:25:52Z
2022-12-14T18:22:58Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5268
2022-12-14T18:22:58Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5268
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "Added both num_shards and max_shard_size in push_to_hub/save_to_disk. Will take care of updating the tests later", "It's ready for a final review @mariosasko and @albertvillanova, let me know what you think :)", "Took your commen...
1,455,466,464
5,267
Fix `max_shard_size` docs
closed
true
2022-11-18T16:55:22Z
2022-11-18T17:28:58Z
2022-11-18T17:25:27Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5267
2022-11-18T17:25:26Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5267
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,455,281,310
5,266
Specify arguments as keywords in librosa.reshape to avoid future errors
closed
Fixes a warning and future deprecation from `librosa.reshape`: ``` FutureWarning: Pass orig_sr=16000, target_sr=48000 as keyword args. From version 0.10 passing these as positional arguments will result in an error array = librosa.resample(array, sampling_rate, self.sampling_rate, res_type="kaiser_best") ```
true
2022-11-18T14:58:47Z
2022-11-21T15:45:02Z
2022-11-21T15:41:57Z
polinaeterna
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5266
2022-11-21T15:41:57Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5266
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,455,274,864
5,265
Get an IterableDataset from a map-style Dataset
closed
This is useful to leverage iterable datasets specific features like: - fast approximate shuffling - lazy map, filter etc. Iterating over the resulting iterable dataset should be at least as fast at iterating over the map-style dataset. Here are some ideas regarding the API: ```python # 1. # - consistency wi...
true
2022-11-18T14:54:40Z
2023-02-01T16:36:03Z
2023-02-01T16:36:03Z
lhoestq
MEMBER
null
null
1
0
0
0
null
false
[ "enhancement", "streaming" ]
https://github.com/huggingface/datasets/issues/5265
false
[ "I think `stream` could be misleading since the data is not being streamed from remote endpoints (one could think that's the case when they see `load_dataset` followed by `stream`). Hence, I prefer the second option.\r\n\r\nPS: When we resolve https://github.com/huggingface/datasets/issues/4542, we could add `as_tf...
1,455,252,906
5,264
`datasets` can't read a Parquet file in Python 3.9.13
closed
### Describe the bug I have an error when trying to load this [dataset](https://huggingface.co/datasets/bigcode/the-stack-dedup-pjj) (it's private but I can add you to the bigcode org). `datasets` can't read one of the parquet files in the Java subset ```python from datasets import load_dataset ds = load_data...
true
2022-11-18T14:44:01Z
2023-05-07T09:52:59Z
2022-11-22T11:18:08Z
loubnabnl
NONE
null
null
16
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/5264
false
[ "Could you share the full stack trace please ?\r\n\r\n\r\nCan you also try running this code ? It can be useful to determine if the issue comes from `datasets` or `fsspec` (streaming) or `pyarrow` (parquet reading):\r\n```python\r\nds = load_dataset(\"parquet\", data_files=a_parquet_file_url, use_auth_token=True)\r...
1,455,252,626
5,263
Save a dataset in a determined number of shards
closed
This is useful to distribute the shards to training nodes. This can be implemented in `save_to_disk` and can also leverage multiprocessing to speed up the process
true
2022-11-18T14:43:54Z
2022-12-14T18:22:59Z
2022-12-14T18:22:59Z
lhoestq
MEMBER
null
null
0
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5263
false
[]
1,455,171,100
5,262
AttributeError: 'Value' object has no attribute 'names'
closed
Hello I'm trying to build a model for custom token classification I already followed the token classification course on huggingface while adapting the code to my work, this message occures : 'Value' object has no attribute 'names' Here's my code: `raw_datasets` generates DatasetDict({ train: Datas...
true
2022-11-18T13:58:42Z
2022-11-22T10:09:24Z
2022-11-22T10:09:23Z
emnaboughariou
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5262
false
[ "Hi ! It looks like your \"isDif\" column is a Sequence of Value(\"string\"), not a Sequence of ClassLabel.\r\n\r\nYou can convert your Value(\"string\") feature type to a ClassLabel feature type this way:\r\n```python\r\nfrom datasets import ClassLabel, Sequence\r\n\r\n# provide the label_names yourself\r\nlabel_n...