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,046,495,831
3,224
User-pickling with dynamic sub-classing
closed
This is a continuation of the now closed PR in https://github.com/huggingface/datasets/pull/3206. The discussion there has shaped a new approach to do this. In this PR, behavior of `pklregister` and `Pickler` is extended. Earlier, users were already able to register custom pickle functions. That is useful if they ha...
true
2021-11-06T12:08:24Z
2025-03-26T19:45:37Z
2025-03-26T19:45:36Z
BramVanroy
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3224
null
18
0
0
0
true
false
[]
https://github.com/huggingface/datasets/pull/3224
true
[ "@lhoestq Feel free to have a look. The implementation is slightly different from what you suggested. I have opted to overwrite `save` instead of meddling with `save_global`. `save_global` is called very late down in dill/pickle so it is hard to control for what is happening there. I might be wrong. Pickling is mor...
1,046,445,507
3,223
Update BibTeX entry
closed
Update BibTeX entry.
true
2021-11-06T06:41:52Z
2021-11-06T07:06:38Z
2021-11-06T07:06:38Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3223
2021-11-06T07:06:38Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3223
true
[]
1,046,299,725
3,222
Add docs for audio processing
closed
This PR adds documentation for the `Audio` feature. It describes: - The difference between loading `path` and `audio`, as well as use-cases/best practices for each of them. - Resampling audio files with `cast_column`, and then calling `ds[0]["audio"]` to automatically decode and resample to the desired sampling rat...
true
2021-11-05T23:07:59Z
2021-11-24T16:32:08Z
2021-11-24T15:35:52Z
stevhliu
MEMBER
https://github.com/huggingface/datasets/pull/3222
2021-11-24T15:35:52Z
2
0
0
0
false
false
[ "documentation" ]
https://github.com/huggingface/datasets/pull/3222
true
[ "Nice ! love it this way. I guess you can set this PR to \"ready for review\" ?", "I guess we can merge this one now :)" ]
1,045,890,512
3,221
Resolve data_files by split name
closed
As discussed in https://github.com/huggingface/datasets/issues/3027 we should automatically infer what file is supposed to go to what split automatically, based on filenames. I added the support for different kinds of patterns, for both dataset repositories and local directories: ``` Input structure: ...
true
2021-11-05T14:07:35Z
2021-11-08T13:52:20Z
2021-11-05T17:49:58Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/3221
2021-11-05T17:49:57Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3221
true
[ "Really cool!\r\nWhen splitting by folder, what do we use for validation set (\"valid\", \"validation\" or both)?", "> When splitting by folder, what do we use for validation set (\"valid\", \"validation\" or both)?\r\n\r\nBoth are fine :) As soon as it has \"valid\" in it", "Merging for now, if you have commen...
1,045,549,029
3,220
Add documentation about dataset viewer feature
open
Add to the docs more details about the dataset viewer feature in the Hub. CC: @julien-c
true
2021-11-05T08:11:19Z
2023-09-25T11:48:38Z
null
albertvillanova
MEMBER
null
null
1
0
0
0
null
false
[ "enhancement", "dataset-viewer" ]
https://github.com/huggingface/datasets/issues/3220
false
[ "In particular, include this somewhere in the docs: https://huggingface.co/docs/hub/datasets-viewer#access-the-parquet-files\r\n\r\nSee https://github.com/huggingface/hub-docs/issues/563" ]
1,045,095,000
3,219
Eventual Invalid Token Error at setup of private datasets
closed
## Describe the bug From time to time, there appear Invalid Token errors with private datasets: - https://app.circleci.com/pipelines/github/huggingface/datasets/8520/workflows/d44629f2-4749-40f8-a657-50931d0b3434/jobs/52534 ``` ____________ ERROR at setup of test_load_streaming_private_dataset _____________ ...
true
2021-11-04T18:50:45Z
2021-11-08T13:23:06Z
2021-11-08T08:59:43Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3219
false
[]
1,045,032,313
3,218
Fix code quality in riddle_sense dataset
closed
Fix trailing whitespace. Fix #3217.
true
2021-11-04T17:43:20Z
2021-11-04T17:50:03Z
2021-11-04T17:50:02Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3218
2021-11-04T17:50:02Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3218
true
[]
1,045,029,710
3,217
Fix code quality bug in riddle_sense dataset
closed
## Describe the bug ``` datasets/riddle_sense/riddle_sense.py:36:21: W291 trailing whitespace ```
true
2021-11-04T17:40:32Z
2021-11-04T17:50:02Z
2021-11-04T17:50:02Z
albertvillanova
MEMBER
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3217
false
[ "To give more context: https://github.com/psf/black/issues/318. `black` doesn't treat this as a bug, but `flake8` does. \r\n" ]
1,045,027,733
3,216
Pin version exclusion for tensorflow incompatible with keras
closed
Once `tensorflow` version 2.6.2 is released: - https://github.com/tensorflow/tensorflow/commit/c1867f3bfdd1042f694df7a9870be51ba80543cb - https://pypi.org/project/tensorflow/2.6.2/ with the patch: - tensorflow/tensorflow#52927 we can remove the temporary fix we introduced in: - #3208 Fix #3209.
true
2021-11-04T17:38:06Z
2021-11-05T10:57:38Z
2021-11-05T10:57:37Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3216
2021-11-05T10:57:37Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3216
true
[]
1,045,011,207
3,215
Small updates to to_tf_dataset documentation
closed
I added a little more description about `to_tf_dataset` compared to just setting the format
true
2021-11-04T17:22:01Z
2021-11-04T18:55:38Z
2021-11-04T18:55:37Z
Rocketknight1
MEMBER
https://github.com/huggingface/datasets/pull/3215
2021-11-04T18:55:37Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3215
true
[ "@stevhliu Accepted both suggestions, thanks for the review!" ]
1,044,924,050
3,214
Add ACAV100M Dataset
open
## Adding a Dataset - **Name:** *ACAV100M* - **Description:** *contains 100 million videos with high audio-visual correspondence, ideal for self-supervised video representation learning.* - **Paper:** *https://arxiv.org/abs/2101.10803* - **Data:** *https://github.com/sangho-vision/acav100m* - **Motivation:** *The ...
true
2021-11-04T15:59:58Z
2021-12-08T12:00:30Z
null
nateraw
CONTRIBUTOR
null
null
0
1
1
0
null
false
[ "dataset request", "vision" ]
https://github.com/huggingface/datasets/issues/3214
false
[]
1,044,745,313
3,213
Fix tuple_ie download url
closed
Fix #3204
true
2021-11-04T13:09:07Z
2021-11-05T14:16:06Z
2021-11-05T14:16:05Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/3213
2021-11-05T14:16:05Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3213
true
[]
1,044,640,967
3,212
Sort files before loading
closed
When loading a dataset that consists of several files (e.g. `my_data/data_001.json`, `my_data/data_002.json` etc.) they are not loaded in order when using `load_dataset("my_data")`. This could lead to counter-intuitive results if, for example, the data files are sorted by date or similar since they would appear in d...
true
2021-11-04T11:08:31Z
2021-11-05T17:49:58Z
2021-11-05T17:49:58Z
lvwerra
MEMBER
null
null
1
1
1
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/3212
false
[ "This will be fixed by https://github.com/huggingface/datasets/pull/3221" ]
1,044,617,913
3,211
Fix disable_nullable default value to False
closed
Currently the `disable_nullable` parameter is not consistent across all dataset transforms. For example it is `False` in `map` but `True` in `flatten_indices`. This creates unexpected behaviors like this ```python from datasets import Dataset, concatenate_datasets d1 = Dataset.from_dict({"a": [0, 1, 2, 3]}) d2...
true
2021-11-04T10:52:06Z
2021-11-04T11:08:21Z
2021-11-04T11:08:20Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/3211
2021-11-04T11:08:20Z
0
2
0
2
false
false
[]
https://github.com/huggingface/datasets/pull/3211
true
[]
1,044,611,471
3,210
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.15.1/datasets/wmt16/wmt16.py
closed
when I use python examples/pytorch/translation/run_translation.py --model_name_or_path examples/pytorch/translation/opus-mt-en-ro --do_train --do_eval --source_lang en --target_lang ro --dataset_name wmt16 --dataset_config_name ro-en --output_dir /tmp/tst-translation --per_device_tra...
true
2021-11-04T10:47:26Z
2022-03-30T08:26:35Z
2022-03-30T08:26:35Z
xiuzhilu
NONE
null
null
3
0
0
0
null
false
[ "dataset bug" ]
https://github.com/huggingface/datasets/issues/3210
false
[ "Hi ! Do you have some kind of proxy in your browser that gives you access to internet ?\r\n\r\nMaybe you're having this error because you don't have access to this URL from python ?", "Hi,do you fixed this error?\r\nI still have this issue when use \"use_auth_token=True\"", "You don't need authentication to ac...
1,044,505,771
3,209
Unpin keras once TF fixes its release
closed
Related to: - #3208
true
2021-11-04T09:15:32Z
2021-11-05T10:57:37Z
2021-11-05T10:57:37Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/3209
false
[]
1,044,504,093
3,208
Pin keras version until TF fixes its release
closed
Fix #3207.
true
2021-11-04T09:13:32Z
2021-11-04T09:30:55Z
2021-11-04T09:30:54Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3208
2021-11-04T09:30:54Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3208
true
[]
1,044,496,389
3,207
CI error: Another metric with the same name already exists in Keras 2.7.0
closed
## Describe the bug Release of TensorFlow 2.7.0 contains an incompatibility with Keras. See: - keras-team/keras#15579 This breaks our CI test suite: https://app.circleci.com/pipelines/github/huggingface/datasets/8493/workflows/055c7ae2-43bc-49b4-9f11-8fc71f35a25c/jobs/52363
true
2021-11-04T09:04:11Z
2021-11-04T09:30:54Z
2021-11-04T09:30:54Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3207
false
[]
1,044,216,270
3,206
[WIP] Allow user-defined hash functions via a registry
closed
Inspired by the discussion on hashing in https://github.com/huggingface/datasets/issues/3178#issuecomment-959016329, @lhoestq suggested that it would be neat to allow users more control over the hashing process. Specifically, it would be great if users can specify specific hashing functions depending on the **class** o...
true
2021-11-03T23:25:42Z
2021-11-05T12:38:11Z
2021-11-05T12:38:04Z
BramVanroy
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3206
null
13
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3206
true
[ "Hi @BramVanroy, thanks for your PR.\r\n\r\nThere was a bug in TensorFlow/Keras. We have made a temporary fix in master branch. Please, merge master into your PR branch, so that the CI tests pass.\r\n\r\n```\r\ngit checkout registry\r\ngit fetch upstream master\r\ngit merge upstream/master\r\n```", "@albertvillan...
1,044,099,561
3,205
Add Multidoc2dial Dataset
closed
This PR adds the MultiDoc2Dial dataset introduced in this [paper](https://arxiv.org/pdf/2109.12595v1.pdf )
true
2021-11-03T20:48:31Z
2021-11-24T17:32:49Z
2021-11-24T16:55:08Z
sivasankalpp
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3205
2021-11-24T16:55:08Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3205
true
[ "@songfeng cc", "Hi @sivasankalpp, thanks for your PR.\r\n\r\nThere was a bug in TensorFlow/Keras. We have made a temporary fix in our master branch. Please, merge master into your PR branch, so that the CI tests pass.\r\n\r\n```\r\ngit checkout multidoc2dial\r\ngit fetch upstream master\r\ngit merge upstream/mas...
1,043,707,307
3,204
FileNotFoundError for TupleIE dataste
closed
Hi, `dataset = datasets.load_dataset('tuple_ie', 'all')` returns a FileNotFound error. Is the data not available? Many thanks.
true
2021-11-03T14:56:55Z
2021-11-05T15:51:15Z
2021-11-05T14:16:05Z
arda-vianai
NONE
null
null
3
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3204
false
[ "@mariosasko @lhoestq Could you give me an update on how to load the dataset after the fix?\r\nThanks.", "Hi @arda-vianai,\r\n\r\nfirst, you can try:\r\n```python\r\nimport datasets\r\ndataset = datasets.load_dataset('tuple_ie', 'all', revision=\"master\")\r\n```\r\nIf this doesn't work, your version of `datasets...
1,043,552,766
3,203
Updated: DaNE - updated URL for download
closed
It seems that DaNLP has updated their download URLs and it therefore also needs to be updated in here...
true
2021-11-03T12:55:13Z
2021-11-04T13:14:36Z
2021-11-04T11:46:43Z
MalteHB
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3203
2021-11-04T11:46:43Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3203
true
[ "Actually it looks like the old URL is still working, and it's also the one that is mentioned in https://github.com/alexandrainst/danlp/blob/master/docs/docs/datasets.md\r\n\r\nWhat makes you think we should use the new URL ?", "@lhoestq Sorry! I might have jumped to conclusions a bit too fast here... \r\n\r\nI w...
1,043,213,660
3,202
Add mIoU metric
closed
**Is your feature request related to a problem? Please describe.** Recently, some semantic segmentation models were added to HuggingFace Transformers, including [SegFormer](https://huggingface.co/transformers/model_doc/segformer.html) and [BEiT](https://huggingface.co/transformers/model_doc/beit.html). Semantic seg...
true
2021-11-03T08:42:32Z
2022-06-01T17:39:05Z
2022-06-01T17:39:04Z
NielsRogge
CONTRIBUTOR
null
null
1
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/3202
false
[ "Resolved via https://github.com/huggingface/datasets/pull/3745." ]
1,043,209,142
3,201
Add GSM8K dataset
closed
## Adding a Dataset - **Name:** GSM8K (short for Grade School Math 8k) - **Description:** GSM8K is a dataset of 8.5K high quality linguistically diverse grade school math word problems created by human problem writers. - **Paper:** https://openai.com/blog/grade-school-math/ - **Data:** https://github.com/openai/gra...
true
2021-11-03T08:36:44Z
2022-04-13T11:56:12Z
2022-04-13T11:56:11Z
NielsRogge
CONTRIBUTOR
null
null
1
0
0
0
null
false
[ "dataset request" ]
https://github.com/huggingface/datasets/issues/3201
false
[ "Closed via https://github.com/huggingface/datasets/pull/4103" ]
1,042,887,291
3,200
Catch token invalid error in CI
closed
The staging back end sometimes returns invalid token errors when trying to delete a repo. I modified the fixture in the test that uses staging to ignore this error
true
2021-11-02T21:56:26Z
2021-11-03T09:41:08Z
2021-11-03T09:41:08Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/3200
2021-11-03T09:41:08Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3200
true
[]
1,042,860,935
3,199
Bump huggingface_hub
closed
huggingface_hub just released its first minor version, so we need to update the dependency It was supposed to be part of 1.15.0 but I'm adding it for 1.15.1
true
2021-11-02T21:29:10Z
2021-11-14T01:48:11Z
2021-11-02T21:41:40Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/3199
2021-11-02T21:41:40Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3199
true
[]
1,042,679,548
3,198
Add Multi-Lingual LibriSpeech
closed
Add https://www.openslr.org/94/
true
2021-11-02T18:23:59Z
2021-11-04T17:09:22Z
2021-11-04T17:09:22Z
patrickvonplaten
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3198
2021-11-04T17:09:22Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3198
true
[]
1,042,541,127
3,197
Fix optimized encoding for arrays
closed
Hi ! #3124 introduced a regression that made the benchmarks CI fail because of a bad array comparison when checking the first encoded element. This PR fixes this by making sure that encoding is applied on all sequence types except lists. cc @eladsegal fyi (no big deal)
true
2021-11-02T15:55:53Z
2021-11-02T19:12:24Z
2021-11-02T19:12:23Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/3197
2021-11-02T19:12:23Z
0
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/3197
true
[]
1,042,223,913
3,196
QOL improvements: auto-flatten_indices and desc in map calls
closed
This PR: * automatically calls `flatten_indices` where needed: in `unique` and `save_to_disk` to avoid saving the indices file * adds descriptions to the map calls Fix #3040
true
2021-11-02T11:28:50Z
2021-11-02T15:41:09Z
2021-11-02T15:41:08Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/3196
2021-11-02T15:41:08Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3196
true
[]
1,042,204,044
3,195
More robust `None` handling
closed
PyArrow has explicit support for `null` values, so it makes sense to support Nones on our side as well. [Colab Notebook with examples](https://colab.research.google.com/drive/1zcK8BnZYnRe3Ao2271u1T19ag9zLEiy3?usp=sharing) Changes: * allow None for the features types with special encoding (`ClassLabel, Translatio...
true
2021-11-02T11:15:10Z
2021-12-09T14:27:00Z
2021-12-09T14:26:58Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/3195
2021-12-09T14:26:57Z
5
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3195
true
[ "I also created a PR regarding `disable_nullable` that must be always `False` by default, in order to always allow None values\r\nhttps://github.com/huggingface/datasets/pull/3211", "@lhoestq I addressed your comments, added tests, did some refactoring to make the implementation cleaner and added support for `Non...
1,041,999,535
3,194
Update link to Datasets Tagging app in Spaces
closed
Fix #3193.
true
2021-11-02T08:13:50Z
2021-11-08T10:36:23Z
2021-11-08T10:36:22Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3194
2021-11-08T10:36:22Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3194
true
[]
1,041,971,117
3,193
Update link to datasets-tagging app
closed
Once datasets-tagging has been transferred to Spaces: - huggingface/datasets-tagging#22 We should update the link in Datasets.
true
2021-11-02T07:39:59Z
2021-11-08T10:36:22Z
2021-11-08T10:36:22Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/3193
false
[]
1,041,308,086
3,192
Multiprocessing filter/map (tests) not working on Windows
open
While running the tests, I found that the multiprocessing examples fail on Windows, or rather they do not complete: they cause a deadlock. I haven't dug deep into it, but they do not seem to work as-is. I currently have no time to tests this in detail but at least the tests seem not to run correctly (deadlocking). #...
true
2021-11-01T15:36:08Z
2021-11-01T15:57:03Z
null
BramVanroy
CONTRIBUTOR
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3192
false
[]
1,041,225,111
3,191
Dataset viewer issue for '*compguesswhat*'
closed
## Dataset viewer issue for '*compguesswhat*' **Link:** https://huggingface.co/datasets/compguesswhat File not found Am I the one who added this dataset ? No
true
2021-11-01T14:16:49Z
2022-09-12T08:02:29Z
2022-09-12T08:02:29Z
benotti
NONE
null
null
4
0
0
0
null
false
[ "streaming" ]
https://github.com/huggingface/datasets/issues/3191
false
[ "```python\r\n>>> import datasets\r\n>>> dataset = datasets.load_dataset('compguesswhat', name='compguesswhat-original',split='train', streaming=True)\r\n>>> next(iter(dataset))\r\nTraceback (most recent call last):\r\n File \"<stdin>\", line 1, in <module>\r\n File \"/home/slesage/hf/datasets-preview-backend/.ve...
1,041,153,631
3,190
combination of shuffle and filter results in a bug
closed
## Describe the bug Hi, I would like to shuffle a dataset, then filter it based on each existing label. however, the combination of `filter`, `shuffle` seems to results in a bug. In the minimal example below, as you see in the filtered results, the filtered labels are not unique, meaning filter has not worked. Any su...
true
2021-11-01T13:07:29Z
2021-11-02T10:50:49Z
2021-11-02T10:50:49Z
rabeehk
CONTRIBUTOR
null
null
3
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3190
false
[ "I cannot reproduce this on master and pyarrow==4.0.1.\r\n", "Hi ! There was a regression in `datasets` 1.12 that introduced this bug. It has been fixed in #3019 in 1.13\r\n\r\nCan you try to update `datasets` and try again ?", "Thanks a lot, fixes with 1.13" ]
1,041,044,986
3,189
conll2003 incorrect label explanation
closed
In the [conll2003](https://huggingface.co/datasets/conll2003#data-fields) README, the labels are described as follows > - `id`: a `string` feature. > - `tokens`: a `list` of `string` features. > - `pos_tags`: a `list` of classification labels, with possible values including `"` (0), `''` (1), `#` (2), `$` (3), `(`...
true
2021-11-01T11:03:30Z
2021-11-09T10:40:58Z
2021-11-09T10:40:58Z
BramVanroy
CONTRIBUTOR
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3189
false
[ "Hi @BramVanroy,\r\n\r\nsince these fields are of type `ClassLabel` (you can check this with `dset.features`), you can inspect the possible values with:\r\n```python\r\ndset.features[field_name].feature.names # .feature because it's a sequence of labels\r\n```\r\n\r\nand to find the mapping between names and integ...
1,040,980,712
3,188
conll2002 issues
closed
**Link:** https://huggingface.co/datasets/conll2002 The dataset viewer throws a server error when trying to preview the dataset. ``` Message: Extraction protocol 'train' for file at 'https://raw.githubusercontent.com/teropa/nlp/master/resources/corpora/conll2002/esp.train' is not implemented yet ``` I...
true
2021-11-01T09:49:24Z
2021-11-15T13:50:59Z
2021-11-12T17:18:11Z
BramVanroy
CONTRIBUTOR
null
null
4
0
0
0
null
false
[ "dataset-viewer" ]
https://github.com/huggingface/datasets/issues/3188
false
[ "Hi ! Thanks for reporting :)\r\n\r\nThis is related to https://github.com/huggingface/datasets/issues/2742, I'm working on it. It should fix the viewer for around 80 datasets.\r\n", "Ah, hadn't seen that sorry.\r\n\r\nThe scrambled \"point of contact\" is a separate issue though, I think.", "@lhoestq The \"poi...
1,040,412,869
3,187
Add ChrF(++) (as implemented in sacrebleu)
closed
Similar to my [PR for TER](https://github.com/huggingface/datasets/pull/3153), it feels only right to also include ChrF and friends. These are present in Sacrebleu and are therefore very similar to implement as TER and sacrebleu. I tested the implementation with sacrebleu's tests to verify. You can try this below for y...
true
2021-10-31T08:53:58Z
2021-11-02T14:50:50Z
2021-11-02T14:31:26Z
BramVanroy
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3187
2021-11-02T14:31:26Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3187
true
[]
1,040,369,397
3,186
Dataset viewer for nli_tr
closed
## Dataset viewer issue for '*nli_tr*' **Link:** https://huggingface.co/datasets/nli_tr Hello, Thank you for the new dataset preview feature that will help the users to view the datasets online. We just noticed that the dataset viewer widget in the `nli_tr` dataset shows the error below. The error must be d...
true
2021-10-31T03:56:33Z
2022-09-12T09:15:34Z
2022-09-12T08:43:09Z
e-budur
CONTRIBUTOR
null
null
6
0
0
0
null
false
[ "streaming" ]
https://github.com/huggingface/datasets/issues/3186
false
[ "It's an issue with the streaming mode:\r\n\r\n```python\r\n>>> import datasets\r\n>>> dataset = datasets.load_dataset('nli_tr', name='snli_tr',split='test', streaming=True)\r\n>>> next(iter(dataset))\r\nTraceback (most recent call last):\r\n File \"<stdin>\", line 1, in <module>\r\n File \"/home/slesage/hf/datas...
1,040,291,961
3,185
7z dataset preview not implemented?
closed
## Dataset viewer issue for dataset 'samsum' **Link:** https://huggingface.co/datasets/samsum Server Error Status code: 400 Exception: NotImplementedError Message: Extraction protocol '7z' for file at 'https://arxiv.org/src/1911.12237v2/anc/corpus.7z' is not implemented yet
true
2021-10-30T20:18:27Z
2022-04-12T11:48:16Z
2022-04-12T11:48:07Z
Kirili4ik
NONE
null
null
2
1
1
0
null
false
[ "dataset-viewer" ]
https://github.com/huggingface/datasets/issues/3185
false
[ "It's a bug in the dataset viewer: the dataset cannot be downloaded in streaming mode, but since the dataset is relatively small, the dataset viewer should have fallback to normal mode. Working on a fix.", "Fixed. https://huggingface.co/datasets/samsum/viewer/samsum/train\r\n\r\n<img width=\"1563\" alt=\"Capture ...
1,040,114,102
3,184
RONEC v2
closed
Hi, as we've recently finished with the new RONEC (Romanian Named Entity Corpus), we'd like to update the dataset here as well. It's actually essential as links to V1 are no longer valid. In reality we'd like to replace completely v1, as v2 is a full re-annotation of v1 with additional data (up to 2x size vs v1). ...
true
2021-10-30T10:50:03Z
2021-11-02T16:02:23Z
2021-11-02T16:02:22Z
dumitrescustefan
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3184
2021-11-02T16:02:22Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3184
true
[ "@lhoestq Thanks for the review. I totally understand what you are saying. Normally, I would definitely agree with you, but in this particular case, the quality of v1 is poor, and the dataset itself is small (at the time we created v1 it was the only RO NER dataset, and its size was limited by the available resourc...
1,039,761,120
3,183
Add missing docstring to DownloadConfig
closed
Document the `use_etag` and `num_proc` attributes in `DownloadConig`.
true
2021-10-29T16:56:35Z
2021-11-02T10:25:38Z
2021-11-02T10:25:37Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/3183
2021-11-02T10:25:37Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3183
true
[]
1,039,739,606
3,182
Don't memoize strings when hashing since two identical strings may have different python ids
closed
When hashing an object that has several times the same string, the hashing could return a different hash if the identical strings share the same python `id()` or not. Here is an example code that shows how the issue can affect the caching: ```python import json import pyarrow as pa from datasets.features import ...
true
2021-10-29T16:26:17Z
2021-11-02T09:35:38Z
2021-11-02T09:35:37Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/3182
2021-11-02T09:35:37Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3182
true
[ "This change slows down the hash computation a little bit but from my tests it doesn't look too impactful. So I think it's fine to merge this." ]
1,039,682,097
3,181
`None` converted to `"None"` when loading a dataset
closed
## Describe the bug When loading a dataset `None` values of the type `NoneType` are converted to `'None'` of the type `str`. ## Steps to reproduce the bug ```python from datasets import load_dataset qasper = load_dataset("qasper", split="train", download_mode="reuse_cache_if_exists") print(qasper[60]["full_text...
true
2021-10-29T15:23:53Z
2021-12-11T01:16:40Z
2021-12-09T14:26:57Z
eladsegal
CONTRIBUTOR
null
null
9
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3181
false
[ "Hi @eladsegal, thanks for reporting.\r\n\r\n@mariosasko I saw you are already working on this, but maybe my comment will be useful to you.\r\n\r\nAll values are casted to their corresponding feature type (including `None` values). For example if the feature type is `Value(\"bool\")`, `None` is casted to `False`.\r...
1,039,641,316
3,180
fix label mapping
closed
Fixing label mapping for hlgd. 0 correponds to same event and 1 corresponds to different event <img width="642" alt="Capture d’écran 2021-10-29 à 10 39 58 AM" src="https://user-images.githubusercontent.com/16107619/139454810-1f225e3d-ad48-44a8-b8b1-9205c9533839.png"> <img width="638" alt="Capture d’écran 2021-10-...
true
2021-10-29T14:42:24Z
2021-11-02T13:41:07Z
2021-11-02T10:37:12Z
VictorSanh
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3180
2021-11-02T10:37:12Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3180
true
[ "heck, test failings. moving to draft. will come back to this later today hopefully", "Thanks for fixing this :)\r\nI just updated the dataset_infos.json and added the missing `pretty_name` tag to the dataset card", "thank you @lhoestq! running around as always it felt through as a lower priority..." ]
1,039,571,928
3,179
Cannot load dataset when the config name is "special"
closed
## Describe the bug After https://github.com/huggingface/datasets/pull/3159, we can get the config name of "Check/region_1", which is "Check___region_1". But now we cannot load the dataset (not sure it's related to the above PR though). It's the case for all the similar datasets, listed in https://github.com/hugg...
true
2021-10-29T13:30:47Z
2021-10-29T13:35:21Z
2021-10-29T13:35:21Z
severo
COLLABORATOR
null
null
1
0
0
0
null
false
[ "bug", "dataset-viewer" ]
https://github.com/huggingface/datasets/issues/3179
false
[ "The issue is that the datasets are malformed. Not a bug with the datasets library" ]
1,039,539,076
3,178
"Property couldn't be hashed properly" even though fully picklable
closed
## Describe the bug I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It should not be an issue either, since spaCy objects are picklable. ...
true
2021-10-29T12:56:09Z
2024-08-19T13:03:49Z
2022-11-02T17:18:43Z
BramVanroy
CONTRIBUTOR
null
null
26
5
5
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3178
false
[ "After some digging, I found that this is caused by `dill` and using `recurse=True)` when trying to dump the object. The problem also occurs without multiprocessing. I can only find [the following information](https://dill.readthedocs.io/en/latest/dill.html#dill._dill.dumps) about this:\r\n\r\n> If recurse=True, th...
1,039,487,780
3,177
More control over TQDM when using map/filter with multiple processes
closed
It would help with the clutter in my terminal if tqdm is only shown for rank 0 when using `num_proces>0` in the map and filter methods of datasets. ```python dataset.map(lambda examples: tokenize(examples["text"]), batched=True, num_proc=6) ``` The above snippet leads to a lot of TQDM bars and depending on your...
true
2021-10-29T11:56:16Z
2023-02-13T20:16:40Z
2023-02-13T20:16:40Z
BramVanroy
CONTRIBUTOR
null
null
2
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/3177
false
[ "Hi,\r\n\r\nIt's hard to provide an API that would cover all use-cases with tqdm in this project.\r\n\r\nHowever, you can make it work by defining a custom decorator (a bit hacky tho) as follows:\r\n```python\r\nimport datasets\r\n\r\ndef progress_only_on_rank_0(func):\r\n def wrapper(*args, **kwargs):\r\n ...
1,039,068,312
3,176
OpenSLR dataset: update generate_examples to properly extract data for SLR83
closed
Fixed #3168. The SLR38 indices are CSV files and there wasn't any code in openslr.py to process these files properly. The end result was an empty table. I've added code to properly process these CSV files.
true
2021-10-29T00:59:27Z
2021-11-04T16:20:45Z
2021-10-29T10:04:09Z
tyrius02
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3176
2021-10-29T10:04:09Z
1
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/3176
true
[ "Also fix #3125." ]
1,038,945,271
3,175
Add docs for `to_tf_dataset`
closed
This PR adds some documentation for new features released in v1.13.0, with the main addition being `to_tf_dataset`: - Show how to use `to_tf_dataset` in the tutorial, and move `set_format(type='tensorflow'...)` to the Process section (let me know if I'm missing anything @Rocketknight1 😅). - Add an example for load...
true
2021-10-28T20:55:22Z
2021-11-03T15:39:36Z
2021-11-03T10:07:23Z
stevhliu
MEMBER
https://github.com/huggingface/datasets/pull/3175
2021-11-03T10:07:23Z
2
0
0
0
false
false
[ "documentation" ]
https://github.com/huggingface/datasets/pull/3175
true
[ "This looks great, thank you!", "Thanks !\r\n\r\nFor some reason the new GIF is 6MB, which is a bit heavy for an image on a website. The previous one was around 200KB though which is perfect. For a good experience we usually expect images to be less than 500KB - otherwise for users with poor connection it takes t...
1,038,427,245
3,174
Asserts replaced by exceptions (huggingface#3171)
closed
I've replaced two asserts with their proper exceptions following the guidelines described in issue #3171 by following the contributing guidelines. PS: This is one of my first PRs, hoping I don't break anything!
true
2021-10-28T11:55:45Z
2021-11-06T06:35:32Z
2021-10-29T13:08:43Z
joseporiolayats
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3174
2021-10-29T13:08:43Z
1
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/3174
true
[ "Your first PR went smoothly, well done!\r\nYou are welcome to continue contributing to this project.\r\nGràcies, @joseporiolayats! 😉 " ]
1,038,404,300
3,173
Fix issue with filelock filename being too long on encrypted filesystems
closed
Infer max filename length in filelock on Unix-like systems. Should fix problems on encrypted filesystems such as eCryptfs. Fix #2924 cc: @lmmx
true
2021-10-28T11:28:57Z
2021-10-29T09:42:24Z
2021-10-29T09:42:24Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/3173
2021-10-29T09:42:24Z
0
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/3173
true
[]
1,038,351,587
3,172
`SystemError 15` thrown in `Dataset.__del__` when using `Dataset.map()` with `num_proc>1`
closed
## Describe the bug I use `datasets.map` to preprocess some data in my application. The error `SystemError 15` is thrown at the end of the execution of `Dataset.map()` (only with `num_proc>1`. Traceback included bellow. The exception is raised only when the code runs within a specific context. Despite ~10h spent ...
true
2021-10-28T10:29:00Z
2024-04-02T18:13:21Z
2021-11-03T11:26:10Z
vlievin
NONE
null
null
12
2
2
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3172
false
[ "NB: even if the error is raised, the dataset is successfully cached. So restarting the script after every `map()` allows to ultimately run the whole preprocessing. But this prevents to realistically run the code over multiple nodes.", "Hi,\r\n\r\nIt's not easy to debug the problem without the script. I may be wr...
1,037,728,059
3,171
Raise exceptions instead of using assertions for control flow
closed
Motivated by https://github.com/huggingface/transformers/issues/12789 in Transformers, one welcoming change would be replacing assertions with proper exceptions. The only type of assertions we should keep are those used as sanity checks. Currently, there is a total of 87 files with the `assert` statements (located u...
true
2021-10-27T18:26:52Z
2021-12-23T16:40:37Z
2021-12-23T16:40:37Z
mariosasko
COLLABORATOR
null
null
4
0
0
0
null
false
[ "good first issue" ]
https://github.com/huggingface/datasets/issues/3171
false
[ "Adding the remaining tasks for this issue to help new code contributors. \r\n$ cd src/datasets && ack assert -lc \r\n- [x] commands/convert.py:1\r\n- [x] arrow_reader.py:3\r\n- [x] load.py:7\r\n- [x] utils/py_utils.py:2\r\n- [x] features/features.py:9\r\n- [x] arrow_writer.py:7\r\n- [x] search.py:6\r\n- [x] table...
1,037,601,926
3,170
Preserve ordering in `zip_dict`
closed
Replace `set` with the `unique_values` generator in `zip_dict`. This PR fixes the problem with the different ordering of the example keys across different Python sessions caused by the `zip_dict` call in `Features.decode_example`.
true
2021-10-27T16:07:30Z
2021-10-29T13:09:37Z
2021-10-29T13:09:37Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/3170
2021-10-29T13:09:37Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3170
true
[]
1,036,773,357
3,169
Configurable max filename length in file locks
closed
Resolve #2924 (https://github.com/huggingface/datasets/issues/2924#issuecomment-952330956) wherein the assumption of file lock maximum filename length to be 255 raises an OSError on encrypted drives (ecryptFS on Linux uses part of the lower filename, reducing the maximum filename size to 143). Allowing this limit to be...
true
2021-10-26T21:52:55Z
2021-10-28T16:14:14Z
2021-10-28T16:14:13Z
lmmx
NONE
https://github.com/huggingface/datasets/pull/3169
null
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3169
true
[ "I've also added environment variable configuration so that this can be configured once per machine (e.g. in a `.bashrc` file), as is already done for a few other config variables here.", "Cancelling PR in favour of @mariosasko's in #3173" ]
1,036,673,263
3,168
OpenSLR/83 is empty
closed
## Describe the bug As the summary says, openslr / SLR83 / train is empty. The dataset returned after loading indicates there are **zero** rows. The correct number should be **17877**. ## Steps to reproduce the bug ```python import datasets datasets.load_dataset('openslr', 'SLR83') ``` ## Expected resul...
true
2021-10-26T19:42:21Z
2021-10-29T10:04:09Z
2021-10-29T10:04:09Z
tyrius02
CONTRIBUTOR
null
null
3
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3168
false
[ "Hi @tyrius02, thanks for reporting. I see you self-assigned this issue: are you working on this?", "@albertvillanova Yes. Figured I introduced the broken config, I should fix it too.\r\n\r\nI've got it working, but I'm struggling with one of the tests. I've started a PR so I/we can work through it.", "Looks li...
1,036,488,992
3,167
bookcorpusopen no longer works
closed
## Describe the bug When using the latest version of datasets (1.14.0), I cannot use the `bookcorpusopen` dataset. The process blocks always around `9924 examples [00:06, 1439.61 examples/s]` when preparing the dataset. I also noticed that after half an hour the process is automatically killed because of the RAM usa...
true
2021-10-26T16:06:15Z
2021-11-17T15:53:46Z
2021-11-17T15:53:46Z
lucadiliello
CONTRIBUTOR
null
null
3
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3167
false
[ "Hi ! Thanks for reporting :) I think #3280 should fix this", "I tried with the latest changes from #3280 on google colab and it worked fine :)\r\nWe'll do a new release soon, in the meantime you can use the updated version with:\r\n```python\r\nload_dataset(\"bookcorpusopen\", revision=\"master\")\r\n```", "Fi...
1,036,450,283
3,166
Deprecate prepare_module
closed
In version 1.13, `prepare_module` was deprecated. This PR adds a deprecation warning and removes it from all the library, using `dataset_module_factory` or `metric_module_factory` instead. Fix #3165.
true
2021-10-26T15:28:24Z
2021-11-05T09:27:37Z
2021-11-05T09:27:36Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3166
2021-11-05T09:27:36Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3166
true
[ "Sounds good, thanks !" ]
1,036,448,998
3,165
Deprecate prepare_module
closed
In version 1.13, `prepare_module` was deprecated. Add deprecation warning and remove its usage from all the library.
true
2021-10-26T15:27:15Z
2021-11-05T09:27:36Z
2021-11-05T09:27:36Z
albertvillanova
MEMBER
null
null
0
1
1
0
null
false
[]
https://github.com/huggingface/datasets/issues/3165
false
[]
1,035,662,830
3,164
Add raw data files to the Hub with GitHub LFS for canonical dataset
closed
I'm interested in sharing the CaseHOLD dataset (https://arxiv.org/abs/2104.08671) as a canonical dataset on the HuggingFace Hub and would like to add the raw data files to the Hub with GitHub LFS, since it seems like a more sustainable long term storage solution, compared to other storage solutions available to my team...
true
2021-10-25T23:28:21Z
2021-10-30T19:54:51Z
2021-10-30T19:54:51Z
zlucia
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/3164
false
[ "Hi @zlucia, I would actually suggest hosting the dataset as a huggingface.co-hosted dataset.\r\n\r\nThe only difference with a \"canonical\"/legacy dataset is that it's nested under an organization (here `stanford` or `stanfordnlp` for instance – completely up to you) but then you can upload your data using git-lf...
1,035,475,061
3,163
Add Image feature
closed
Adds the Image feature. This feature is heavily inspired by the recently added Audio feature (#2324). Currently, this PR is pretty simple. Some considerations that need further discussion: * I've decided to use `Pillow`/`PIL` as the image decoding library. Another candidate I considered is `torchvision`, mostly bec...
true
2021-10-25T19:07:48Z
2021-12-30T06:37:21Z
2021-12-06T17:49:02Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/3163
2021-12-06T17:49:02Z
14
8
0
7
false
false
[]
https://github.com/huggingface/datasets/pull/3163
true
[ "Awesome, looking forward to using it :)", "Few additional comments:\r\n* the current API doesn't meet the requirements mentioned in #3145 (e.g. image mime-type). However, this will be doable soon as we also plan to store image bytes alongside paths in arrow files (see https://github.com/huggingface/datasets/pull...
1,035,462,136
3,162
`datasets-cli test` should work with datasets without scripts
open
It would be really useful to be able to run `datasets-cli test`for datasets that don't have scripts attached to them (whether the datasets are private or not). I wasn't able to run the script for a private test dataset that I had created on the hub (https://huggingface.co/datasets/huggingface/DataMeasurementsTest/t...
true
2021-10-25T18:52:30Z
2021-11-25T16:04:29Z
null
sashavor
CONTRIBUTOR
null
null
5
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/3162
false
[ "> It would be really useful to be able to run `datasets-cli test`for datasets that don't have scripts attached to them (whether the datasets are private or not).\r\n> \r\n> I wasn't able to run the script for a private test dataset that I had created on the hub (https://huggingface.co/datasets/huggingface/DataMeas...
1,035,444,292
3,161
Add riddle_sense dataset
closed
Adding a new dataset for QA with riddles. I'm confused about the tagging process because it looks like the streamlit app loads data from the current repo, so is it something that should be done after merging or off my fork?
true
2021-10-25T18:30:56Z
2021-11-04T14:01:15Z
2021-11-04T14:01:15Z
ziyiwu9494
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3161
2021-11-04T14:01:14Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3161
true
[ "@lhoestq \r\nI address all the comments, I think. Thanks! \r\n", "The five test fails are unrelated to this PR and fixed on master so we can ignore them" ]
1,035,274,640
3,160
Better error msg if `len(predictions)` doesn't match `len(references)` in metrics
closed
Improve the error message in `Metric.add_batch` if `len(predictions)` doesn't match `len(references)`. cc: @BramVanroy (feel free to test this code on your examples and review this PR)
true
2021-10-25T15:25:05Z
2021-11-05T11:44:59Z
2021-11-05T09:31:02Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/3160
2021-11-05T09:31:02Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3160
true
[ "Can't test this now but it may be a good improvement indeed.", "I added a function, but it only works with the `list` type. For arrays/tensors, we delegate formatting to the frameworks. " ]
1,035,174,560
3,159
Make inspect.get_dataset_config_names always return a non-empty list
closed
Make all named configs cases, so that no special unnamed config case needs to be handled differently. Fix #3135.
true
2021-10-25T13:59:43Z
2021-10-29T13:14:37Z
2021-10-28T05:44:49Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3159
2021-10-28T05:44:49Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3159
true
[ "This PR is already working (although not very beautiful; see below): the idea was to have the `DatasetModule.builder_kwargs` accessible from the `builder_cls`, so that this can generate the default builder config (at the class level, without requiring the builder to be instantiated).\r\n\r\nI have a plan for a fol...
1,035,158,070
3,158
Fix string encoding for Value type
closed
Some metrics have `string` features but currently it fails if users pass integers instead. Indeed feature encoding that handles the conversion of the user's objects to the right python type is missing a case for `string`, while it already works as expected for integers, floats and booleans Here is an example code th...
true
2021-10-25T13:44:13Z
2021-10-25T14:12:06Z
2021-10-25T14:12:05Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/3158
2021-10-25T14:12:05Z
1
2
0
2
false
false
[]
https://github.com/huggingface/datasets/pull/3158
true
[ "That was fast! \r\n" ]
1,034,775,165
3,157
Fixed: duplicate parameter and missing parameter in docstring
closed
changing duplicate parameter `data_files` in `DatasetBuilder.__init__` to the missing parameter `data_dir`
true
2021-10-25T07:26:00Z
2021-10-25T14:02:19Z
2021-10-25T14:02:19Z
PanQiWei
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3157
2021-10-25T14:02:18Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3157
true
[]
1,034,468,757
3,155
Illegal instruction (core dumped) at datasets import
closed
## Describe the bug I install datasets using conda and when I import datasets I get: "Illegal instruction (core dumped)" ## Steps to reproduce the bug ``` conda create --prefix path/to/env conda activate path/to/env conda install -c huggingface -c conda-forge datasets # exits with output "Illegal instruction...
true
2021-10-24T17:21:36Z
2021-11-18T19:07:04Z
2021-11-18T19:07:03Z
hacobe
CONTRIBUTOR
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3155
false
[ "It seems to be an issue with how conda-forge is building the binaries. It works on some machines, but not a machine with AMD Opteron 8384 processors." ]
1,034,361,806
3,154
Sacrebleu unexpected behaviour/requirement for data format
closed
## Describe the bug When comparing with the original `sacrebleu` implementation, the `datasets` implementation does some strange things that I do not quite understand. This issue was triggered when I was trying to implement TER and found the datasets implementation of BLEU [here](https://github.com/huggingface/dataset...
true
2021-10-24T08:55:33Z
2021-10-31T09:08:32Z
2021-10-31T09:08:31Z
BramVanroy
CONTRIBUTOR
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3154
false
[ "Hi @BramVanroy!\r\n\r\nGood question. This project relies on PyArrow (tables) to store data too big to fit in RAM. In the case of metrics, this means that the number of predictions and references has to match to form a table.\r\n\r\nThat's why your example throws an error even though it matches the schema:\r\n```p...
1,034,179,198
3,153
Add TER (as implemented in sacrebleu)
closed
Implements TER (Translation Edit Rate) as per its implementation in sacrebleu. Sacrebleu for BLEU scores is already implemented in `datasets` so I thought this would be a nice addition. I started from the sacrebleu implementation, as the two metrics have a lot in common. Verified with sacrebleu's [testing suite](...
true
2021-10-23T14:26:45Z
2021-11-02T11:04:11Z
2021-11-02T11:04:11Z
BramVanroy
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3153
2021-11-02T11:04:11Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3153
true
[ "The problem appears to stem from the omission of the lines that you mentioned. If you add them back and try examples from [this](https://huggingface.co/docs/datasets/using_metrics.html) tutorial (sacrebleu metric example) the code you implemented works fine.\r\n\r\nI think the purpose of these lines is follows:\r\...
1,034,039,379
3,152
Fix some typos in the documentation
closed
true
2021-10-23T01:38:35Z
2021-10-25T14:27:36Z
2021-10-25T14:03:48Z
h4iku
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3152
2021-10-25T14:03:48Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3152
true
[]
1,033,890,501
3,151
Re-add faiss to windows testing suite
closed
In recent versions, `faiss-cpu` seems to be available for Windows as well. See the [PyPi page](https://pypi.org/project/faiss-cpu/#files) to confirm. We can therefore included it for Windows in the setup file. At first tests didn't pass due to problems with permissions as caused by `NamedTemporaryFile` on Windows. T...
true
2021-10-22T19:34:29Z
2021-11-02T10:47:34Z
2021-11-02T10:06:03Z
BramVanroy
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3151
2021-11-02T10:06:03Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3151
true
[]
1,033,831,530
3,150
Faiss _is_ available on Windows
closed
In the setup file, I find the following: https://github.com/huggingface/datasets/blob/87c71b9c29a40958973004910f97e4892559dfed/setup.py#L171 However, FAISS does install perfectly fine on Windows on my system. You can also confirm this on the [PyPi page](https://pypi.org/project/faiss-cpu/#files), where Windows wh...
true
2021-10-22T18:07:16Z
2021-11-02T10:06:03Z
2021-11-02T10:06:03Z
BramVanroy
CONTRIBUTOR
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/3150
false
[ "Sure, feel free to open a PR." ]
1,033,747,625
3,149
Add CMU Hinglish DoG Dataset for MT
closed
Address part of #2841 Added the CMU Hinglish DoG Dataset as in GLUECoS. Added it as a seperate dataset as unlike other tasks of GLUE CoS this can't be evaluated for a BERT like model. Consists of parallel dataset between Hinglish (Hindi-English) and English, can be used for Machine Translation between the two. ...
true
2021-10-22T16:17:25Z
2021-11-15T11:36:42Z
2021-11-15T10:27:45Z
Ishan-Kumar2
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3149
2021-11-15T10:27:45Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3149
true
[ "Hi @lhoestq, thanks a lot for the help. I have moved the part as suggested. \r\nAlthough still while running the dummy data script, I face this issue\r\n\r\n```\r\nTraceback (most recent call last):\r\n File \"/home/ishan/anaconda3/bin/datasets-cli\", line 8, in <module>\r\n sys.exit(main())\r\n File \"/home/...
1,033,685,208
3,148
Streaming with num_workers != 0
closed
## Describe the bug When using dataset streaming with pytorch DataLoader, the setting num_workers to anything other than 0 causes the code to freeze forever before yielding the first batch. The code owner is likely @lhoestq ## Steps to reproduce the bug For your convenience, we've prepped a colab notebook th...
true
2021-10-22T15:07:17Z
2022-07-04T12:14:58Z
2022-07-04T12:14:58Z
justheuristic
NONE
null
null
4
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3148
false
[ "I can confirm that I was able to reproduce the bug. This seems odd given that #3423 reports duplicate data retrieval when `num_workers` and `streaming` are used together, which is obviously different from what is reported here. ", "Any update? A possible solution is to have multiple arrow files as shards, and ha...
1,033,607,659
3,147
Fix CLI test to ignore verfications when saving infos
closed
Fix #3146.
true
2021-10-22T13:52:46Z
2021-10-27T08:01:50Z
2021-10-27T08:01:49Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3147
2021-10-27T08:01:49Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3147
true
[]
1,033,605,947
3,146
CLI test command throws NonMatchingSplitsSizesError when saving infos
closed
When trying to generate a datset JSON metadata, a `NonMatchingSplitsSizesError` is thrown: ``` $ datasets-cli test datasets/arabic_billion_words --save_infos --all_configs Testing builder 'Alittihad' (1/10) Downloading and preparing dataset arabic_billion_words/Alittihad (download: 332.13 MiB, generated: Unknown si...
true
2021-10-22T13:50:53Z
2021-10-27T08:01:49Z
2021-10-27T08:01:49Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3146
false
[]
1,033,580,009
3,145
[when Image type will exist] provide a way to get the data as binary + filename
closed
**Is your feature request related to a problem? Please describe.** When a dataset cell contains a value of type Image (be it from a remote URL, an Array2D/3D, or any other way to represent images), I want to be able to write the image to the disk, with the correct filename, and optionally to know its mimetype, in or...
true
2021-10-22T13:23:49Z
2021-12-22T11:05:37Z
2021-12-22T11:05:36Z
severo
COLLABORATOR
null
null
4
0
0
0
null
false
[ "enhancement", "dataset-viewer" ]
https://github.com/huggingface/datasets/issues/3145
false
[ "@severo, maybe somehow related to this PR ?\r\n- #3129", "@severo I'll keep that in mind.\r\n\r\nYou can track progress on the Image feature in #3163 (still in the early stage). ", "Hi ! As discussed with @severo offline it looks like the dataset viewer already supports reading PIL images, so maybe the datase...
1,033,573,760
3,144
Infer the features if missing
closed
**Is your feature request related to a problem? Please describe.** Some datasets, in particular community datasets, have no info file, thus no features. **Describe the solution you'd like** If a dataset has no features, the first loaded data (5-10 rows) could be used to infer the type. Related: `datasets` w...
true
2021-10-22T13:17:33Z
2022-09-08T08:23:10Z
2022-09-08T08:23:10Z
severo
COLLABORATOR
null
null
1
0
0
0
null
false
[ "enhancement", "dataset-viewer" ]
https://github.com/huggingface/datasets/issues/3144
false
[ "Done by @lhoestq here: https://github.com/huggingface/datasets/pull/4500 (https://github.com/huggingface/datasets/pull/4500/files#diff-02930e1d966f4b41f9ddf15d961f16f5466d9bee583138657018c7329f71aa43R1255 in particular)\r\n" ]
1,033,569,655
3,143
Provide a way to check if the features (in info) match with the data of a split
open
**Is your feature request related to a problem? Please describe.** I understand that currently the data loaded has not always the type described in the info features **Describe the solution you'd like** Provide a way to check if the rows have the type described by info features **Describe alternatives you'v...
true
2021-10-22T13:13:36Z
2021-10-22T13:17:56Z
null
severo
COLLABORATOR
null
null
1
0
0
0
null
false
[ "enhancement", "dataset-viewer" ]
https://github.com/huggingface/datasets/issues/3143
false
[ "Related: #3144 " ]
1,033,566,034
3,142
Provide a way to write a streamed dataset to the disk
open
**Is your feature request related to a problem? Please describe.** The streaming mode allows to get the 100 first rows of a dataset very quickly. But it does not cache the answer, so a posterior call to get the same 100 rows will send a request to the server again and again. **Describe the solution you'd like** ...
true
2021-10-22T13:09:53Z
2024-01-12T07:26:43Z
null
severo
COLLABORATOR
null
null
2
3
3
0
null
false
[ "enhancement", "dataset-viewer" ]
https://github.com/huggingface/datasets/issues/3142
false
[ "Yes, I agree this feature is much needed. We could do something similar to what TF does (https://www.tensorflow.org/api_docs/python/tf/data/Dataset#cache). \r\n\r\nIdeally, if the entire streamed dataset is consumed/cached, the generated cache should be reusable for the Arrow dataset.", "@mariosasko Hi big broth...
1,033,555,910
3,141
Fix caching bugs
closed
This PR fixes some caching bugs (most likely introduced in the latest refactor): * remove ")" added by accident in the dataset dir name * correctly pass the namespace kwargs in `CachedDatasetModuleFactory` * improve the warning message if `HF_DATASETS_OFFLINE is `True`
true
2021-10-22T12:59:25Z
2021-10-22T20:52:08Z
2021-10-22T13:47:05Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/3141
2021-10-22T13:47:04Z
0
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/3141
true
[]
1,033,524,079
3,139
Fix file/directory deletion on Windows
open
Currently, on Windows, some attempts to delete a dataset file/directory will fail with the `PerimissionError`. Examples: - download a dataset, then force redownload it in the same session while keeping a reference to the downloaded dataset ```python from datasets import load_dataset dset = load_dataset("sst", s...
true
2021-10-22T12:22:08Z
2021-10-22T12:22:08Z
null
mariosasko
COLLABORATOR
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3139
false
[]
1,033,379,997
3,138
More fine-grained taxonomy of error types
open
**Is your feature request related to a problem? Please describe.** Exceptions like `FileNotFoundError` can be raised by different parts of the code, and it's hard to detect which one did **Describe the solution you'd like** Give a specific exception type for every group of similar errors **Describe alternat...
true
2021-10-22T09:35:29Z
2022-09-20T13:04:42Z
null
severo
COLLABORATOR
null
null
1
0
0
0
null
false
[ "enhancement", "dataset-viewer" ]
https://github.com/huggingface/datasets/issues/3138
false
[ "related: #4995\r\n" ]
1,033,363,652
3,137
Fix numpy deprecation warning for ragged tensors
closed
Numpy shows a deprecation warning when we call `np.array` on a list of ragged tensors without specifying the `dtype`. If their shapes match, the tensors can be collated together, otherwise the resulting array should have `dtype=np.object`. Fix #3084 cc @Rocketknight1
true
2021-10-22T09:17:46Z
2021-10-22T16:04:15Z
2021-10-22T16:04:14Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/3137
2021-10-22T16:04:14Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3137
true
[ "This'll be a really helpful fix, thank you!" ]
1,033,360,396
3,136
Fix script of Arabic Billion Words dataset to return all data
closed
The script has a bug and only parses and generates a portion of the entire dataset. This PR fixes the loading script so that is properly parses the entire dataset. Current implementation generates the same number of examples as reported in the [original paper](https://arxiv.org/abs/1611.04033) for all configurat...
true
2021-10-22T09:14:24Z
2021-10-22T13:28:41Z
2021-10-22T13:28:40Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3136
2021-10-22T13:28:39Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3136
true
[]
1,033,294,299
3,135
Make inspect.get_dataset_config_names always return a non-empty list of configs
closed
**Is your feature request related to a problem? Please describe.** Currently, some datasets have a configuration, while others don't. It would be simpler for the user to always have configuration names to refer to **Describe the solution you'd like** In that sense inspect.get_dataset_config_names should always...
true
2021-10-22T08:02:50Z
2021-10-28T05:44:49Z
2021-10-28T05:44:49Z
severo
COLLABORATOR
null
null
2
0
0
0
null
false
[ "enhancement", "dataset-viewer" ]
https://github.com/huggingface/datasets/issues/3135
false
[ "Hi @severo, I guess this issue requests not only to be able to access the configuration name (by using `inspect.get_dataset_config_names`), but the configuration itself as well (I mean you use the name to get the configuration afterwards, maybe using `builder_cls.builder_configs`), is this right?", "Yes, maybe t...
1,033,251,755
3,134
Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.11.0/metrics/rouge/rouge.py
closed
datasets version: 1.12.1 `metric = datasets.load_metric('rouge')` The error: > ConnectionError Traceback (most recent call last) > <ipython-input-3-dd10a0c5212f> in <module> > ----> 1 metric = datasets.load_metric('rouge') > > /usr/local/lib/python3.6/dist-packages/datasets/load....
true
2021-10-22T07:07:52Z
2023-09-14T01:19:45Z
2022-01-19T14:02:31Z
yanan1116
NONE
null
null
4
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3134
false
[ "Hi,\r\n\r\nDid you try to run the code multiple times (GitHub URLs can be down sometimes for various reasons)? I can access `https://raw.githubusercontent.com/huggingface/datasets/1.11.0/metrics/rouge/rouge.py`, so this code is working without an error on my side. \r\n\r\nAdditionally, can you please run the `data...
1,032,511,710
3,133
Support Audio feature in streaming mode
closed
Fix #3132.
true
2021-10-21T13:37:57Z
2021-11-12T14:13:05Z
2021-11-12T14:13:04Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3133
2021-11-12T14:13:04Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3133
true
[]
1,032,505,430
3,132
Support Audio feature in streaming mode
closed
Currently, Audio feature is only supported for non-streaming datasets. Due to the large size of many speech datasets, we should also support Audio feature in streaming mode.
true
2021-10-21T13:32:18Z
2021-11-12T14:13:04Z
2021-11-12T14:13:04Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/3132
false
[]
1,032,309,865
3,131
Add ADE20k
closed
## Adding a Dataset - **Name:** ADE20k (actually it's called the MIT Scene Parsing Benchmark, it's actually a subset of ADE20k but a lot of authors still call it ADE20k) - **Description:** A semantic segmentation dataset, consisting of 150 classes. - **Paper:** http://people.csail.mit.edu/bzhou/publication/scene-par...
true
2021-10-21T10:13:09Z
2023-01-27T14:40:20Z
2023-01-27T14:40:20Z
NielsRogge
CONTRIBUTOR
null
null
1
0
0
0
null
false
[ "dataset request", "vision" ]
https://github.com/huggingface/datasets/issues/3131
false
[ "I think we can close this issue since PR [#3607](https://github.com/huggingface/datasets/pull/3607) solves this." ]
1,032,299,417
3,130
Create SECURITY.md
closed
To let the repository confirm feedback@huggingface.co as its security contact.
true
2021-10-21T10:03:03Z
2021-10-21T14:33:28Z
2021-10-21T14:31:50Z
zidingz
NONE
https://github.com/huggingface/datasets/pull/3130
null
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3130
true
[ "Hi @zidingz, thanks for your contribution.\r\n\r\nHowever I am closing it because it is a duplicate of a previous PR:\r\n - #2958\r\n\r\n" ]
1,032,234,167
3,129
Support Audio feature for TAR archives in sequential access
closed
Add Audio feature support for TAR archived files in sequential access. Fix #3128.
true
2021-10-21T08:56:51Z
2021-11-17T17:42:08Z
2021-11-17T17:42:07Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3129
2021-11-17T17:42:07Z
7
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3129
true
[ "Also do you think we can adapt `cast_column` to keep the same value for this new parameter when the user only wants to change the sampling rate ?", "Thanks for your comments, @lhoestq, I will address them afterwards.\r\n\r\nBut, I think it is more important/urgent first address the current blocking non-passing t...
1,032,201,870
3,128
Support Audio feature for TAR archives in sequential access
closed
Currently, Audio feature accesses each audio file by their file path. However, streamed TAR archive files do not allow random access to their archived files. Therefore, we should enhance the Audio feature to support TAR archived files in sequential access.
true
2021-10-21T08:23:01Z
2021-11-17T17:42:07Z
2021-11-17T17:42:07Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/3128
false
[]
1,032,100,613
3,127
datasets-cli: convertion of a tfds dataset to a huggingface one.
open
### Discussed in https://github.com/huggingface/datasets/discussions/3079 <div type='discussions-op-text'> <sup>Originally posted by **vitalyshalumov** October 14, 2021</sup> I'm trying to convert a tfds dataset to a huggingface one. I've tried: 1. datasets-cli convert --tfds_path ~/tensorflow_datas...
true
2021-10-21T06:14:27Z
2021-10-27T11:36:05Z
null
vitalyshalumov
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/3127
false
[ "Hi,\r\n\r\nthe MNIST dataset is already available on the Hub. You can use it as follows:\r\n```python\r\nimport datasets\r\ndataset_dict = datasets.load_dataset(\"mnist\")\r\n```\r\n\r\nAs for the conversion of TFDS datasets to HF datasets, we will be working on it in the coming months, so stay tuned." ]
1,032,093,055
3,126
"arabic_billion_words" dataset does not create the full dataset
closed
## Describe the bug When running: raw_dataset = load_dataset('arabic_billion_words','Alittihad') the correct dataset file is pulled from the url. But, the generated dataset includes just a small portion of the data included in the file. This is true for all other portions of the "arabic_billion_words" dataset ('A...
true
2021-10-21T06:02:38Z
2021-10-22T13:28:40Z
2021-10-22T13:28:40Z
vitalyshalumov
NONE
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3126
false
[ "Thanks for reporting, @vitalyshalumov.\r\n\r\nApparently the script to parse the data has a bug, and does not generate the entire dataset.\r\n\r\nI'm fixing it." ]
1,032,046,666
3,125
Add SLR83 to OpenSLR
closed
The PR resolves #3119, adding SLR83 (UK and Ireland dialects) to the previously created OpenSLR dataset.
true
2021-10-21T04:26:00Z
2021-10-22T20:10:05Z
2021-10-22T08:30:22Z
tyrius02
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3125
2021-10-22T08:30:22Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3125
true
[]
1,031,976,286
3,124
More efficient nested features encoding
closed
Nested encoding of features wastes a lot of time on operations which are effectively doing nothing when lists are used. For example, if in the input we have a list of integers, `encoded_nested_example` will iterate over it and apply `encoded_nested_example` on every element even though it just return the int as is. ...
true
2021-10-21T01:55:31Z
2021-11-02T15:07:13Z
2021-11-02T11:04:04Z
eladsegal
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3124
2021-11-02T11:04:04Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3124
true
[ "@lhoestq @albertvillanova @mariosasko\r\nCan you please check this out?", "Thanks, done!" ]
1,031,793,207
3,123
Segmentation fault when loading datasets from file
closed
## Describe the bug Custom dataset loading sometimes segfaults and kills the process if chunks contain a variety of features/ ## Steps to reproduce the bug Download an example file: ``` wget https://gist.githubusercontent.com/TevenLeScao/11e2184394b3fa47d693de2550942c6b/raw/4232704d08fbfcaf93e5b51def9e50515076...
true
2021-10-20T20:16:11Z
2021-11-02T14:57:07Z
2021-11-02T14:57:07Z
TevenLeScao
CONTRIBUTOR
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3123
false
[ "Hi ! I created an issue on Arrow's JIRA after making a minimum reproducible example\r\n\r\nhttps://issues.apache.org/jira/browse/ARROW-14439\r\n\r\n```python\r\nimport io\r\n\r\nimport pyarrow.json as paj\r\n\r\nbatch = b'{\"a\": [], \"b\": 1}\\n{\"b\": 1}'\r\nblock_size = 12\r\n\r\npaj.read_json(\r\n io.BytesI...