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
923,735,485
2,510
Add align_labels_with_mapping to DatasetDict
closed
https://github.com/huggingface/datasets/pull/2457 added the `Dataset.align_labels_with_mapping` method. In this PR I also added `DatasetDict.align_labels_with_mapping`
true
2021-06-17T10:03:35Z
2021-06-17T10:45:25Z
2021-06-17T10:45:24Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2510
2021-06-17T10:45:24Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2510
true
[]
922,846,035
2,509
Fix fingerprint when moving cache dir
closed
The fingerprint of a dataset changes if the cache directory is moved. I fixed that by setting the fingerprint to be the hash of: - the relative cache dir (dataset_name/version/config_id) - the requested split Close #2496 I had to fix an issue with the filelock filename that was too long (>255). It prevented t...
true
2021-06-16T16:45:09Z
2021-06-21T15:05:04Z
2021-06-21T15:05:03Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2509
2021-06-21T15:05:03Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2509
true
[ "Windows, why are you doing this to me ?", "Thanks @lhoestq, I'm starting reviewing this PR.", "Yea issues on windows are about long paths, not long filenames.\r\nWe can make sure the lock filenames are not too long, but not for the paths", "Took your suggestions into account @albertvillanova :)" ]
921,863,173
2,508
Load Image Classification Dataset from Local
closed
**Is your feature request related to a problem? Please describe.** Yes - we would like to load an image classification dataset with datasets without having to write a custom data loader. **Describe the solution you'd like** Given a folder structure with images of each class in each folder, the ability to load th...
true
2021-06-15T22:43:33Z
2022-03-01T16:29:44Z
2022-03-01T16:29:44Z
Jacobsolawetz
NONE
null
null
5
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2508
false
[ "Hi ! Is this folder structure a standard, a bit like imagenet ?\r\nIn this case maybe we can consider having a dataset loader for cifar-like, imagenet-like, squad-like, conll-like etc. datasets ?\r\n```python\r\nfrom datasets import load_dataset\r\n\r\nmy_custom_cifar = load_dataset(\"cifar_like\", data_dir=\"path...
921,441,962
2,507
Rearrange JSON field names to match passed features schema field names
closed
This PR depends on PR #2453 (which must be merged first). Close #2366.
true
2021-06-15T14:10:02Z
2021-06-16T10:47:49Z
2021-06-16T10:47:49Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2507
2021-06-16T10:47:49Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2507
true
[]
921,435,598
2,506
Add course banner
closed
This PR adds a course banner similar to the one you can now see in the [Transformers repo](https://github.com/huggingface/transformers) that links to the course. Let me know if placement seems right to you or not, I can move it just below the badges too.
true
2021-06-15T14:03:54Z
2021-06-15T16:25:36Z
2021-06-15T16:25:35Z
sgugger
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2506
2021-06-15T16:25:35Z
0
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/2506
true
[]
921,234,797
2,505
Make numpy arrow extractor faster
closed
I changed the NumpyArrowExtractor to call directly to_numpy and see if it can lead to speed-ups as discussed in https://github.com/huggingface/datasets/issues/2498 This could make the numpy/torch/tf/jax formatting faster
true
2021-06-15T10:11:32Z
2021-06-28T09:53:39Z
2021-06-28T09:53:38Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2505
2021-06-28T09:53:38Z
5
2
0
2
false
false
[]
https://github.com/huggingface/datasets/pull/2505
true
[ "Looks like we have a nice speed up in some benchmarks. For example:\r\n- `read_formatted numpy 5000`: 4.584777 sec -> 0.487113 sec\r\n- `read_formatted torch 5000`: 4.565676 sec -> 1.289514 sec", "Can we convert this draft to PR @lhoestq ?", "Ready for review ! cc @vblagoje", "@lhoestq I tried the branch a...
920,636,186
2,503
SubjQA wrong boolean values in entries
open
## Describe the bug SubjQA seems to have a boolean that's consistently wrong. It defines: - question_subj_level: The subjectiviy level of the question (on a 1 to 5 scale with 1 being the most subjective). - is_ques_subjective: A boolean subjectivity label derived from question_subj_level (i.e., scores below 4 are...
true
2021-06-14T17:42:46Z
2021-08-25T03:52:06Z
null
arnaudstiegler
NONE
null
null
4
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2503
false
[ "Hi @arnaudstiegler, thanks for reporting. I'm investigating it.", "@arnaudstiegler I have just checked that these mismatches are already present in the original dataset: https://github.com/megagonlabs/SubjQA\r\n\r\nWe are going to contact the dataset owners to report this.", "I have:\r\n- opened an issue in th...
920,623,572
2,502
JAX integration
closed
Hi ! I just added the "jax" formatting, as we already have for pytorch, tensorflow, numpy (and also pandas and arrow). It does pretty much the same thing as the pytorch formatter except it creates jax.numpy.ndarray objects. ```python from datasets import Dataset d = Dataset.from_dict({"foo": [[0., 1., 2.]]})...
true
2021-06-14T17:24:23Z
2021-06-21T16:15:50Z
2021-06-21T16:15:49Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2502
2021-06-21T16:15:48Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2502
true
[]
920,579,634
2,501
Add Zenodo metadata file with license
closed
This Zenodo metadata file fixes the name of the `Datasets` license appearing in the DOI as `"Apache-2.0"`, which otherwise by default is `"other-open"`. Close #2472.
true
2021-06-14T16:28:12Z
2021-06-14T16:49:42Z
2021-06-14T16:49:42Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2501
2021-06-14T16:49:42Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2501
true
[]
920,471,411
2,500
Add load_dataset_builder
closed
Adds the `load_dataset_builder` function. The good thing is that we can reuse this function to load the dataset info without downloading the dataset itself. TODOs: - [x] Add docstring and entry in the docs - [x] Add tests Closes #2484
true
2021-06-14T14:27:45Z
2025-06-20T18:07:24Z
2021-07-05T10:45:58Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/2500
2021-07-05T10:45:57Z
6
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/2500
true
[ "Hi @mariosasko, thanks for taking on this issue.\r\n\r\nJust a few logistic suggestions, as you are one of our most active contributors ❤️ :\r\n- When you start working on an issue, you can self-assign it to you by commenting on the issue page with the keyword: `#self-assign`; we have implemented a GitHub Action t...
920,413,021
2,499
Python Programming Puzzles
open
## Adding a Dataset - **Name:** Python Programming Puzzles - **Description:** Programming challenge called programming puzzles, as an objective and comprehensive evaluation of program synthesis - **Paper:** https://arxiv.org/pdf/2106.05784.pdf - **Data:** https://github.com/microsoft/PythonProgrammingPuzzles ([Scro...
true
2021-06-14T13:27:18Z
2021-06-15T18:14:14Z
null
VictorSanh
CONTRIBUTOR
null
null
2
2
0
1
null
false
[ "dataset request" ]
https://github.com/huggingface/datasets/issues/2499
false
[ "👀 @TalSchuster", "Thanks @VictorSanh!\r\nThere's also a [notebook](https://aka.ms/python_puzzles) and [demo](https://aka.ms/python_puzzles_study) available now to try out some of the puzzles" ]
920,411,285
2,498
Improve torch formatting performance
open
**Is your feature request related to a problem? Please describe.** It would be great, if possible, to further improve read performance of raw encoded datasets and their subsequent conversion to torch tensors. A bit more background. I am working on LM pre-training using HF ecosystem. We use encoded HF Wikipedia an...
true
2021-06-14T13:25:24Z
2022-07-15T17:12:04Z
null
vblagoje
CONTRIBUTOR
null
null
17
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2498
false
[ "That’s interesting thanks, let’s see what we can do. Can you detail your last sentence? I’m not sure I understand it well.", "Hi ! I just re-ran a quick benchmark and using `to_numpy()` seems to be faster now:\r\n\r\n```python\r\nimport pyarrow as pa # I used pyarrow 3.0.0\r\nimport numpy as np\r\n\r\nn, max_le...
920,250,382
2,497
Use default cast for sliced list arrays if pyarrow >= 4
closed
From pyarrow version 4, it is supported to cast sliced lists. This PR uses default pyarrow cast in Datasets to cast sliced list arrays if pyarrow version is >= 4. In relation with PR #2461 and #2490. cc: @lhoestq, @abhi1thakur, @SBrandeis
true
2021-06-14T10:02:47Z
2021-06-15T18:06:18Z
2021-06-14T14:24:37Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2497
2021-06-14T14:24:37Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2497
true
[ "I believe we don't use PyArrow >= 4.0.0 because of some segfault issues:\r\nhttps://github.com/huggingface/datasets/blob/1206ffbcd42dda415f6bfb3d5040708f50413c93/setup.py#L78\r\nCan you confirm @lhoestq ?", "@SBrandeis pyarrow version 4.0.1 has fixed that issue: #2489 😉 " ]
920,216,314
2,496
Dataset fingerprint changes after moving the cache directory, which prevent cache reload when using `map`
closed
`Dataset.map` uses the dataset fingerprint (a hash) for caching. However the fingerprint seems to change when someone moves the cache directory of the dataset. This is because it uses the default fingerprint generation: 1. the dataset path is used to get the fingerprint 2. the modification times of the arrow file...
true
2021-06-14T09:20:26Z
2021-06-21T15:05:03Z
2021-06-21T15:05:03Z
lhoestq
MEMBER
null
null
0
2
1
1
null
false
[]
https://github.com/huggingface/datasets/issues/2496
false
[]
920,170,030
2,495
JAX formatting
closed
We already support pytorch, tensorflow, numpy, pandas and arrow dataset formatting. Let's add jax as well
true
2021-06-14T08:32:07Z
2021-06-21T16:15:49Z
2021-06-21T16:15:49Z
lhoestq
MEMBER
null
null
0
1
1
0
null
false
[]
https://github.com/huggingface/datasets/issues/2495
false
[]
920,149,183
2,494
Improve docs on Enhancing performance
open
In the ["Enhancing performance"](https://huggingface.co/docs/datasets/loading_datasets.html#enhancing-performance) section of docs, add specific use cases: - How to make datasets the fastest - How to make datasets take the less RAM - How to make datasets take the less hard drive mem cc: @thomwolf
true
2021-06-14T08:11:48Z
2024-01-20T19:48:38Z
null
albertvillanova
MEMBER
null
null
1
0
0
0
null
false
[ "documentation" ]
https://github.com/huggingface/datasets/issues/2494
false
[ "Hi @albertvillanova, I hope you are doing well.\r\n\r\nI am interested in this issue, is this still unresolved and open ?\r\n\r\nThe link you have provided in the above message directs to a webpage that does not exist.\r\n\r\nThanks and Regards" ]
919,833,281
2,493
add tensorflow-macos support
closed
ref - https://github.com/huggingface/datasets/issues/2068
true
2021-06-13T16:20:08Z
2021-06-15T08:53:06Z
2021-06-15T08:53:06Z
slayerjain
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2493
2021-06-15T08:53:06Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2493
true
[ "@albertvillanova done!" ]
919,718,102
2,492
Eduge
closed
Hi, awesome folks behind the huggingface! Here is my PR for the text classification dataset in Mongolian. Please do let me know in case you have anything to clarify. Thanks & Regards, Enod
true
2021-06-13T05:10:59Z
2021-06-22T09:49:04Z
2021-06-16T10:41:46Z
enod
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2492
2021-06-16T10:41:46Z
0
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/2492
true
[]
919,714,506
2,491
add eduge classification dataset
closed
true
2021-06-13T04:37:01Z
2021-06-13T05:06:48Z
2021-06-13T05:06:38Z
enod
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2491
null
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2491
true
[ "Closing this PR as I'll submit a new one - bug free" ]
919,571,385
2,490
Allow latest pyarrow version
closed
Allow latest pyarrow version, once that version 4.0.1 fixes the segfault bug introduced in version 4.0.0. Close #2489.
true
2021-06-12T14:17:34Z
2021-07-06T16:54:52Z
2021-06-14T07:53:23Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2490
2021-06-14T07:53:23Z
1
1
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2490
true
[ "i need some help with this" ]
919,569,749
2,489
Allow latest pyarrow version once segfault bug is fixed
closed
As pointed out by @symeneses (see https://github.com/huggingface/datasets/pull/2268#issuecomment-860048613), pyarrow has fixed the segfault bug present in version 4.0.0 (see https://issues.apache.org/jira/browse/ARROW-12568): - it was fixed on 3 May 2021 - version 4.0.1 was released on 19 May 2021 with the bug fix
true
2021-06-12T14:09:52Z
2021-06-14T07:53:23Z
2021-06-14T07:53:23Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2489
false
[]
919,500,756
2,488
Set configurable downloaded datasets path
closed
Part of #2480.
true
2021-06-12T09:09:03Z
2021-06-14T09:13:27Z
2021-06-14T08:29:07Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2488
2021-06-14T08:29:07Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2488
true
[]
919,452,407
2,487
Set configurable extracted datasets path
closed
Part of #2480.
true
2021-06-12T05:47:29Z
2021-06-14T09:30:17Z
2021-06-14T09:02:56Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2487
2021-06-14T09:02:56Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2487
true
[ "Let me push a small fix... 😉 ", "Thanks !" ]
919,174,898
2,486
Add Rico Dataset
closed
Hi there! I'm wanting to add the Rico datasets for software engineering type data to y'alls awesome library. However, as I have started coding, I've ran into a few hiccups so I thought it best to open the PR early to get a bit of discussion on how the Rico datasets should be added to the `datasets` lib. 1) There ...
true
2021-06-11T20:17:41Z
2022-10-03T09:38:18Z
2022-10-03T09:38:18Z
ncoop57
NONE
https://github.com/huggingface/datasets/pull/2486
null
2
1
0
0
false
false
[ "dataset contribution" ]
https://github.com/huggingface/datasets/pull/2486
true
[ "Hi ! Thanks for adding this dataset :)\r\n\r\nRegarding your questions:\r\n1. We can have them as different configuration of the `rico` dataset\r\n2. Yes please use the path to the image and not open the image directly, so that we can let users open the image one at at time during training if they want to for exam...
919,099,218
2,485
Implement layered building
open
As discussed with @stas00 and @lhoestq (see also here https://github.com/huggingface/datasets/issues/2481#issuecomment-859712190): > My suggestion for this would be to have this enabled by default. > > Plus I don't know if there should be a dedicated issue to that is another functionality. But I propose layered b...
true
2021-06-11T18:54:25Z
2021-06-11T18:54:25Z
null
albertvillanova
MEMBER
null
null
0
1
0
1
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2485
false
[]
919,092,635
2,484
Implement loading a dataset builder
closed
As discussed with @stas00 and @lhoestq, this would allow things like: ```python from datasets import load_dataset_builder dataset_name = "openwebtext" builder = load_dataset_builder(dataset_name) print(builder.cache_dir) ```
true
2021-06-11T18:47:22Z
2021-07-05T10:45:57Z
2021-07-05T10:45:57Z
albertvillanova
MEMBER
null
null
1
1
0
1
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2484
false
[ "#self-assign" ]
918,871,712
2,483
Use gc.collect only when needed to avoid slow downs
closed
In https://github.com/huggingface/datasets/commit/42320a110d9d072703814e1f630a0d90d626a1e6 we added a call to gc.collect to resolve some issues on windows (see https://github.com/huggingface/datasets/pull/2482) However calling gc.collect too often causes significant slow downs (the CI run time doubled). So I just m...
true
2021-06-11T15:09:30Z
2021-06-18T19:25:06Z
2021-06-11T15:31:36Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2483
2021-06-11T15:31:35Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2483
true
[ "I continue thinking that the origin of the issue has to do with tqdm (and not with Arrow): this issue only arises for version 4.50.0 (and later) of tqdm, not for previous versions of tqdm.\r\n\r\nMy guess is that tqdm made a change from version 4.50.0 that does not properly release the iterable. ", "FR" ]
918,846,027
2,482
Allow to use tqdm>=4.50.0
closed
We used to have permission errors on windows whith the latest versions of tqdm (see [here](https://app.circleci.com/pipelines/github/huggingface/datasets/6365/workflows/24f7c960-3176-43a5-9652-7830a23a981e/jobs/39232)) They were due to open arrow files not properly closed by pyarrow. Since https://github.com/huggin...
true
2021-06-11T14:49:21Z
2021-06-11T15:11:51Z
2021-06-11T15:11:50Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2482
2021-06-11T15:11:50Z
0
2
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2482
true
[]
918,680,168
2,481
Delete extracted files to save disk space
closed
As discussed with @stas00 and @lhoestq, allowing the deletion of extracted files would save a great amount of disk space to typical user.
true
2021-06-11T12:21:52Z
2021-07-19T09:08:18Z
2021-07-19T09:08:18Z
albertvillanova
MEMBER
null
null
1
1
0
1
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2481
false
[ "My suggestion for this would be to have this enabled by default.\r\n\r\nPlus I don't know if there should be a dedicated issue to that is another functionality. But I propose layered building rather than all at once. That is:\r\n\r\n1. uncompress a handful of files via a generator enough to generate one arrow file...
918,678,578
2,480
Set download/extracted paths configurable
open
As discussed with @stas00 and @lhoestq, setting these paths configurable may allow to overcome disk space limitation on different partitions/drives. TODO: - [x] Set configurable extracted datasets path: #2487 - [x] Set configurable downloaded datasets path: #2488 - [ ] Set configurable "incomplete" datasets path?
true
2021-06-11T12:20:24Z
2021-06-15T14:23:49Z
null
albertvillanova
MEMBER
null
null
1
1
0
1
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2480
false
[ "For example to be able to send uncompressed and temp build files to another volume/partition, so that the user gets the minimal disk usage on their primary setup - and ends up with just the downloaded compressed data + arrow files, but outsourcing the huge files and building to another partition. e.g. on JZ there...
918,672,431
2,479
❌ load_datasets ❌
closed
true
2021-06-11T12:14:36Z
2021-06-11T14:46:25Z
2021-06-11T14:46:25Z
julien-c
MEMBER
https://github.com/huggingface/datasets/pull/2479
2021-06-11T14:46:24Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2479
true
[]
918,507,510
2,478
Create release script
open
Create a script so that releases can be done automatically (as done in `transformers`).
true
2021-06-11T09:38:02Z
2023-07-20T13:22:23Z
null
albertvillanova
MEMBER
null
null
1
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2478
false
[ "I've aligned the release script with Transformers in #6004, so I think this issue can be closed." ]
918,334,431
2,477
Fix docs custom stable version
closed
Currently docs default version is 1.5.0. This PR fixes this and sets the latest version instead.
true
2021-06-11T07:26:03Z
2021-06-14T09:14:20Z
2021-06-14T08:20:18Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2477
2021-06-14T08:20:18Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2477
true
[ "I see that @lhoestq overlooked this PR with his commit 07e2b05. 😢 \r\n\r\nI'm adding a script so that this issue does not happen again.\r\n", "For the moment, the script only includes `update_custom_js`, but in a follow-up PR I will include all the required steps to make a package release.", "I think we just ...
917,686,662
2,476
Add TimeDial
closed
Dataset: https://github.com/google-research-datasets/TimeDial To-Do: Update README.md and add YAML tags
true
2021-06-10T18:33:07Z
2021-07-30T12:57:54Z
2021-07-30T12:57:54Z
bhavitvyamalik
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2476
2021-07-30T12:57:54Z
1
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/2476
true
[ "Hi @lhoestq,\r\nI've pushed the updated README and tags. Let me know if anything is missing/needs some improvement!\r\n\r\n~PS. I don't know why it's not triggering the build~" ]
917,650,882
2,475
Issue in timit_asr database
closed
## Describe the bug I am trying to load the timit_asr dataset however only the first record is shown (duplicated over all the rows). I am using the next code line dataset = load_dataset(“timit_asr”, split=“test”).shuffle().select(range(10)) The above code result with the same sentence duplicated ten times. It al...
true
2021-06-10T18:05:29Z
2021-06-13T08:13:50Z
2021-06-13T08:13:13Z
hrahamim
NONE
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2475
false
[ "This bug was fixed in #1995. Upgrading datasets to version 1.6 fixes the issue!", "Indeed was a fixed bug.\r\nWorks on version 1.8\r\nThanks " ]
917,622,055
2,474
cache_dir parameter for load_from_disk ?
closed
**Is your feature request related to a problem? Please describe.** When using Google Colab big datasets can be an issue, as they won't fit on the VM's disk. Therefore mounting google drive could be a possible solution. Unfortunatly when loading my own dataset by using the _load_from_disk_ function, the data gets cache...
true
2021-06-10T17:39:36Z
2022-02-16T14:55:01Z
2022-02-16T14:55:00Z
chbensch
NONE
null
null
4
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2474
false
[ "Hi ! `load_from_disk` doesn't move the data. If you specify a local path to your mounted drive, then the dataset is going to be loaded directly from the arrow file in this directory. The cache files that result from `map` operations are also stored in the same directory by default.\r\n\r\nHowever note than writing...
917,538,629
2,473
Add Disfl-QA
closed
Dataset: https://github.com/google-research-datasets/disfl-qa To-Do: Update README.md and add YAML tags
true
2021-06-10T16:18:00Z
2021-07-29T11:56:19Z
2021-07-29T11:56:18Z
bhavitvyamalik
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2473
2021-07-29T11:56:18Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2473
true
[ "Sounds great! It'll make things easier for the user while accessing the dataset. I'll make some changes to the current file then.", "I've updated with the suggested changes. Updated the README, YAML tags as well (not sure of Size category tag as I couldn't pass the path of `dataset_infos.json` for this dataset)\...
917,463,821
2,472
Fix automatic generation of Zenodo DOI
closed
After the last release of Datasets (1.8.0), the automatic generation of the Zenodo DOI failed: it appears in yellow as "Received", instead of in green as "Published". I have contacted Zenodo support to fix this issue. TODO: - [x] Check with Zenodo to fix the issue - [x] Check BibTeX entry is right
true
2021-06-10T15:15:46Z
2021-06-14T16:49:42Z
2021-06-14T16:49:42Z
albertvillanova
MEMBER
null
null
4
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2472
false
[ "I have received a reply from Zenodo support:\r\n> We are currently investigating and fixing this issue related to GitHub releases. As soon as we have solved it we will reach back to you.", "Other repo maintainers had the same problem with Zenodo. \r\n\r\nThere is an open issue on their GitHub repo: zenodo/zenodo...
917,067,165
2,471
Fix PermissionError on Windows when using tqdm >=4.50.0
closed
See: https://app.circleci.com/pipelines/github/huggingface/datasets/235/workflows/cfb6a39f-68eb-4802-8b17-2cd5e8ea7369/jobs/1111 ``` PermissionError: [WinError 32] The process cannot access the file because it is being used by another process ```
true
2021-06-10T08:31:49Z
2021-06-11T15:11:50Z
2021-06-11T15:11:50Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2471
false
[]
916,724,260
2,470
Crash when `num_proc` > dataset length for `map()` on a `datasets.Dataset`.
closed
## Describe the bug Crash if when using `num_proc` > 1 (I used 16) for `map()` on a `datasets.Dataset`. I believe I've had cases where `num_proc` > 1 works before, but now it seems either inconsistent, or depends on my data. I'm not sure whether the issue is on my end, because it's difficult for me to debug! Any ti...
true
2021-06-09T22:40:22Z
2021-07-01T09:34:54Z
2021-07-01T09:11:13Z
mbforbes
NONE
null
null
6
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2470
false
[ "Hi ! It looks like the issue comes from pyarrow. What version of pyarrow are you using ? How did you install it ?", "Thank you for the quick reply! I have `pyarrow==4.0.0`, and I am installing with `pip`. It's not one of my explicit dependencies, so I assume it came along with something else.", "Could you tryi...
916,440,418
2,469
Bump tqdm version
closed
true
2021-06-09T17:24:40Z
2021-06-11T15:03:42Z
2021-06-11T15:03:36Z
lewtun
MEMBER
https://github.com/huggingface/datasets/pull/2469
null
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2469
true
[ "i tried both the latest version of `tqdm` and the version required by `autonlp` - no luck with windows 😞 \r\n\r\nit's very weird that a progress bar would trigger these kind of errors, so i'll have a look to see if it's something unique to `datasets`", "Closing since this is now fixed in #2482 " ]
916,427,320
2,468
Implement ClassLabel encoding in JSON loader
closed
Close #2365.
true
2021-06-09T17:08:54Z
2021-06-28T15:39:54Z
2021-06-28T15:05:35Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2468
2021-06-28T15:05:34Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2468
true
[ "No, nevermind @lhoestq. Thanks to you for your reviews!" ]
915,914,098
2,466
change udpos features structure
closed
The structure is change such that each example is a sentence The change is done for issues: #2061 #2444 Close #2061 , close #2444.
true
2021-06-09T08:03:31Z
2021-06-18T11:55:09Z
2021-06-16T10:41:37Z
cosmeowpawlitan
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2466
2021-06-16T10:41:37Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2466
true
[ "Let's add the tags in another PR. Thanks again !", "Close #2061 , close #2444." ]
915,525,071
2,465
adding masahaner dataset
closed
Adding Masakhane dataset https://github.com/masakhane-io/masakhane-ner @lhoestq , can you please review
true
2021-06-08T21:20:25Z
2021-06-14T14:59:05Z
2021-06-14T14:59:05Z
dadelani
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2465
2021-06-14T14:59:05Z
3
2
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2465
true
[ "Thank you for the review. ", "Thanks a lot for the corrections and comments. \r\n\r\nI have resolved point 2. The make style still throws some errors, please see below\r\n\r\nblack --line-length 119 --target-version py36 tests src benchmarks datasets/**/*.py metrics\r\n/bin/sh: 1: black: not found\r\nMakefile:13...
915,485,601
2,464
fix: adjusting indexing for the labels.
closed
The labels index were mismatching the actual ones used in the dataset. Specifically `0` is used for `SUPPORTS` and `1` is used for `REFUTES` After this change, the `README.md` now reflects the content of `dataset_infos.json`. Signed-off-by: Matteo Manica <drugilsberg@gmail.com>
true
2021-06-08T20:47:25Z
2021-06-09T10:15:46Z
2021-06-09T09:10:28Z
drugilsberg
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2464
2021-06-09T09:10:28Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2464
true
[ "> Good catch ! Thanks for fixing it\r\n\r\nMy pleasure🙏" ]
915,454,788
2,463
Fix proto_qa download link
closed
Fixes #2459 Instead of updating the path, this PR fixes a commit hash as suggested by @lhoestq.
true
2021-06-08T20:23:16Z
2021-06-10T12:49:56Z
2021-06-10T08:31:10Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/2463
2021-06-10T08:31:09Z
0
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/2463
true
[]
915,384,613
2,462
Merge DatasetDict and Dataset
open
As discussed in #2424 and #2437 (please see there for detailed conversation): - It would be desirable to improve UX with respect the confusion between DatasetDict and Dataset. - The difference between Dataset and DatasetDict is an additional abstraction complexity that confuses "typical" end users. - A user expects...
true
2021-06-08T19:22:04Z
2023-08-16T09:34:34Z
null
albertvillanova
MEMBER
null
null
2
2
2
0
null
false
[ "enhancement", "generic discussion" ]
https://github.com/huggingface/datasets/issues/2462
false
[ "Any update on this? @lhoestq ", "Unless there is high demande I don't think we will end up implementing this. This is a lot of work with very few advantages" ]
915,286,150
2,461
Support sliced list arrays in cast
closed
There is this issue in pyarrow: ```python import pyarrow as pa arr = pa.array([[i * 10] for i in range(4)]) arr.cast(pa.list_(pa.int32())) # works arr = arr.slice(1) arr.cast(pa.list_(pa.int32())) # fails # ArrowNotImplementedError("Casting sliced lists (non-zero offset) not yet implemented") ``` Howev...
true
2021-06-08T17:38:47Z
2021-06-08T17:56:24Z
2021-06-08T17:56:23Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2461
2021-06-08T17:56:23Z
0
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/2461
true
[]
915,268,536
2,460
Revert default in-memory for small datasets
closed
Close #2458
true
2021-06-08T17:14:23Z
2021-06-08T18:04:14Z
2021-06-08T17:55:43Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2460
2021-06-08T17:55:43Z
1
1
0
1
false
false
[ "enhancement" ]
https://github.com/huggingface/datasets/pull/2460
true
[ "Thank you for this welcome change guys!" ]
915,222,015
2,459
`Proto_qa` hosting seems to be broken
closed
## Describe the bug The hosting (on Github) of the `proto_qa` dataset seems broken. I haven't investigated more yet, just flagging it for now. @zaidalyafeai if you want to dive into it, I think it's just a matter of changing the links in `proto_qa.py` ## Steps to reproduce the bug ```python from datasets impo...
true
2021-06-08T16:16:32Z
2021-06-10T08:31:09Z
2021-06-10T08:31:09Z
VictorSanh
CONTRIBUTOR
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2459
false
[ "@VictorSanh , I think @mariosasko is already working on it. " ]
915,199,693
2,458
Revert default in-memory for small datasets
closed
Users are reporting issues and confusion about setting default in-memory to True for small datasets. We see 2 clear use cases of Datasets: - the "canonical" way, where you can work with very large datasets, as they are memory-mapped and cached (after every transformation) - some edge cases (speed benchmarks, inter...
true
2021-06-08T15:51:41Z
2021-06-08T18:57:11Z
2021-06-08T17:55:43Z
albertvillanova
MEMBER
null
null
1
2
1
1
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2458
false
[ "cc: @krandiash (pinged in reverted PR)." ]
915,079,441
2,457
Add align_labels_with_mapping function
closed
This PR adds a helper function to align the `label2id` mapping between a `datasets.Dataset` and a classifier (e.g. a transformer with a `PretrainedConfig.label2id` dict), with the alignment performed on the dataset itself. This will help us with the Hub evaluation, where we won't know in advance whether a model that...
true
2021-06-08T13:54:00Z
2022-01-12T08:57:41Z
2021-06-17T09:56:52Z
lewtun
MEMBER
https://github.com/huggingface/datasets/pull/2457
2021-06-17T09:56:52Z
5
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/2457
true
[ "@lhoestq i think this is ready for another review 🙂 ", "@lhoestq thanks for the feedback - it's now integrated :) \r\n\r\ni also added a comment about sorting the input label IDs", "Created the PR here: https://github.com/huggingface/datasets/pull/2510", "> Thanks ! Looks all good now :)\r\n> \r\n> We will ...
914,709,293
2,456
Fix cross-reference typos in documentation
closed
Fix some minor typos in docs that avoid the creation of cross-reference links.
true
2021-06-08T09:45:14Z
2021-06-08T17:41:37Z
2021-06-08T17:41:36Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2456
2021-06-08T17:41:36Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2456
true
[]
914,177,468
2,455
Update version in xor_tydi_qa.py
closed
Fix #2449 @lhoestq Should I revert to the old `dummy/1.0.0` or delete it and keep only `dummy/1.1.0`?
true
2021-06-08T02:23:45Z
2021-06-14T15:35:25Z
2021-06-14T15:35:25Z
changjonathanc
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2455
2021-06-14T15:35:25Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2455
true
[ "Hi ! Thanks for updating the version\r\n\r\n> Should I revert to the old dummy/1.0.0 or delete it and keep only dummy/1.1.0?\r\n\r\nFeel free to delete the old dummy data files\r\n" ]
913,883,631
2,454
Rename config and environment variable for in memory max size
closed
As discussed in #2409, both config and environment variable have been renamed. cc: @stas00, huggingface/transformers#12056
true
2021-06-07T19:21:08Z
2021-06-07T20:43:46Z
2021-06-07T20:43:46Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2454
2021-06-07T20:43:46Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2454
true
[ "Thank you for the rename, @albertvillanova!" ]
913,729,258
2,453
Keep original features order
closed
When loading a Dataset from a JSON file whose column names are not sorted alphabetically, we should get the same column name order, whether we pass features (in the same order as in the file) or not. I found this issue while working on #2366.
true
2021-06-07T16:26:38Z
2021-06-15T18:05:36Z
2021-06-15T15:43:48Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2453
2021-06-15T15:43:48Z
5
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/2453
true
[ "The arrow writer was supposing that the columns were always in the sorted order. I just pushed a fix to reorder the arrays accordingly to the schema. It was failing for many datasets like squad", "and obviously it broke everything", "Feel free to revert my commit. I can investigate this in the coming days", ...
913,603,877
2,452
MRPC test set differences between torch and tensorflow datasets
closed
## Describe the bug When using `load_dataset("glue", "mrpc")` to load the MRPC dataset, the test set includes the labels. When using `tensorflow_datasets.load('glue/{}'.format('mrpc'))` to load the dataset the test set does not contain the labels. There should be consistency between torch and tensorflow ways of import...
true
2021-06-07T14:20:26Z
2021-06-07T14:34:32Z
2021-06-07T14:34:32Z
FredericOdermatt
NONE
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2452
false
[ "Realized that `tensorflow_datasets` is not provided by Huggingface and should therefore raise the issue there." ]
913,263,340
2,451
Mention that there are no answers in adversarial_qa test set
closed
As mention in issue https://github.com/huggingface/datasets/issues/2447, there are no answers in the test set
true
2021-06-07T08:13:57Z
2021-06-07T08:34:14Z
2021-06-07T08:34:13Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2451
2021-06-07T08:34:13Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2451
true
[]
912,890,291
2,450
BLUE file not found
closed
Hi, I'm having the following issue when I try to load the `blue` metric. ```shell import datasets metric = datasets.load_metric('blue') Traceback (most recent call last): File "/home/irfan/environments/Perplexity_Transformers/lib/python3.6/site-packages/datasets/load.py", line 320, in prepare_module local...
true
2021-06-06T17:01:54Z
2021-06-07T10:46:15Z
2021-06-07T10:46:15Z
mirfan899
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/2450
false
[ "Hi ! The `blue` metric doesn't exist, but the `bleu` metric does.\r\nYou can get the full list of metrics [here](https://github.com/huggingface/datasets/tree/master/metrics) or by running\r\n```python\r\nfrom datasets import list_metrics\r\n\r\nprint(list_metrics())\r\n```", "Ah, my mistake. Thanks for correctin...
912,751,752
2,449
Update `xor_tydi_qa` url to v1.1
closed
The dataset is updated and the old url no longer works. So I updated it. I faced a bug while trying to fix this. Documenting the solution here. Maybe we can add it to the doc (`CONTRIBUTING.md` and `ADD_NEW_DATASET.md`). > And to make the command work without the ExpectedMoreDownloadedFiles error, you just need to ...
true
2021-06-06T09:44:58Z
2021-06-07T15:16:21Z
2021-06-07T08:31:04Z
changjonathanc
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2449
2021-06-07T08:31:03Z
6
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2449
true
[ "Just noticed while \r\n```load_dataset('local_path/datastes/xor_tydi_qa')``` works,\r\n```load_dataset('xor_tydi_qa')``` \r\noutputs an error: \r\n`\r\nFileNotFoundError: Couldn't find file at https://nlp.cs.washington.edu/xorqa/XORQA_site/data/xor_dev_retrieve_eng_span.jsonl\r\n`\r\n(the old url)\r\n\r\nI tired c...
912,360,109
2,448
Fix flores download link
closed
true
2021-06-05T17:30:24Z
2021-06-08T20:02:58Z
2021-06-07T08:18:25Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/2448
2021-06-07T08:18:25Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2448
true
[]
912,299,527
2,447
dataset adversarial_qa has no answers in the "test" set
closed
## Describe the bug When loading the adversarial_qa dataset the 'test' portion has no answers. Only the 'train' and 'validation' portions do. This occurs with all four of the configs ('adversarialQA', 'dbidaf', 'dbert', 'droberta') ## Steps to reproduce the bug ``` from datasets import load_dataset examples ...
true
2021-06-05T14:57:38Z
2021-06-07T11:13:07Z
2021-06-07T11:13:07Z
bjascob
NONE
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2447
false
[ "Hi ! I'm pretty sure that the answers are not made available for the test set on purpose because it is part of the DynaBench benchmark, for which you can submit your predictions on the website.\r\nIn any case we should mention this in the dataset card of this dataset.", "Makes sense, but not intuitive for someon...
911,635,399
2,446
`yelp_polarity` is broken
closed
![image](https://user-images.githubusercontent.com/22514219/120828150-c4a35b00-c58e-11eb-8083-a537cee4dbb3.png)
true
2021-06-04T15:44:29Z
2021-06-04T18:56:47Z
2021-06-04T18:56:47Z
JetRunner
CONTRIBUTOR
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/2446
false
[ "```\r\nFile \"/home/sasha/.local/share/virtualenvs/lib-ogGKnCK_/lib/python3.7/site-packages/streamlit/script_runner.py\", line 332, in _run_script\r\n exec(code, module.__dict__)\r\nFile \"/home/sasha/nlp-viewer/run.py\", line 233, in <module>\r\n configs = get_confs(option)\r\nFile \"/home/sasha/.local/shar...
911,577,578
2,445
Fix broken URLs for bn_hate_speech and covid_tweets_japanese
closed
Closes #2388
true
2021-06-04T14:53:35Z
2021-06-04T17:39:46Z
2021-06-04T17:39:45Z
lewtun
MEMBER
https://github.com/huggingface/datasets/pull/2445
2021-06-04T17:39:45Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2445
true
[ "Thanks ! To fix the CI you just have to rename the dummy data file in the dummy_data.zip files", "thanks for the tip with the dummy data - all fixed now!" ]
911,297,139
2,444
Sentence Boundaries missing in Dataset: xtreme / udpos
closed
I was browsing through annotation guidelines, as suggested by the datasets introduction. The guidlines saids "There must be exactly one blank line after every sentence, including the last sentence in the file. Empty sentences are not allowed." in the [Sentence Boundaries and Comments section](https://universaldepend...
true
2021-06-04T09:10:26Z
2021-06-18T11:53:43Z
2021-06-18T11:53:43Z
cosmeowpawlitan
CONTRIBUTOR
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2444
false
[ "Hi,\r\n\r\nThis is a known issue. More info on this issue can be found in #2061. If you are looking for an open-source contribution, there are step-by-step instructions in the linked issue that you can follow to fix it.", "Closed by #2466." ]
909,983,574
2,443
Some tests hang on Windows
closed
Currently, several tests hang on Windows if the max path limit of 260 characters is not disabled. This happens due to the changes introduced by #2223 that cause an infinite loop in `WindowsFileLock` described in #2220. This can be very tricky to debug, so I think now is a good time to address these issues/PRs. IMO thr...
true
2021-06-03T00:27:30Z
2021-06-28T08:47:39Z
2021-06-28T08:47:39Z
mariosasko
COLLABORATOR
null
null
3
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2443
false
[ "Hi ! That would be nice indeed to at least have a warning, since we don't handle the max path length limit.\r\nAlso if we could have an error instead of an infinite loop I'm sure windows users will appreciate that", "Unfortunately, I know this problem very well... 😅 \r\n\r\nI remember having proposed to throw a...
909,677,029
2,442
add english language tags for ~100 datasets
closed
As discussed on Slack, I have manually checked for ~100 datasets that they have at least one subset in English. This information was missing so adding into the READMEs. Note that I didn't check all the subsets so it's possible that some of the datasets have subsets in other languages than English...
true
2021-06-02T16:24:56Z
2021-06-04T09:51:40Z
2021-06-04T09:51:39Z
VictorSanh
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2442
2021-06-04T09:51:39Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2442
true
[ "Fixing the tags of all the datasets is out of scope for this PR so I'm merging even though the CI fails because of the missing tags" ]
908,554,713
2,441
DuplicatedKeysError on personal dataset
closed
## Describe the bug Ever since today, I have been getting a DuplicatedKeysError while trying to load my dataset from my own script. Error returned when running this line: `dataset = load_dataset('/content/drive/MyDrive/Thesis/Datasets/book_preprocessing/goodreads_maharjan_trimmed_and_nered/goodreadsnered.py')` Note ...
true
2021-06-01T17:59:41Z
2021-06-04T23:50:03Z
2021-06-04T23:50:03Z
lucaguarro
NONE
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2441
false
[ "Hi ! In your dataset script you must be yielding examples like\r\n```python\r\nfor line in file:\r\n ...\r\n yield key, {...}\r\n```\r\n\r\nSince `datasets` 1.7.0 we enforce the keys to be unique.\r\nHowever it looks like your examples generator creates duplicate keys: at least two examples have key 0.\r\n\r...
908,521,954
2,440
Remove `extended` field from dataset tagger
closed
## Describe the bug While working on #2435 I used the [dataset tagger](https://huggingface.co/datasets/tagging/) to generate the missing tags for the YAML metadata of each README.md file. However, it seems that our CI raises an error when the `extended` field is included: ``` dataset_name = 'arcd' @pytest.m...
true
2021-06-01T17:18:42Z
2021-06-09T09:06:31Z
2021-06-09T09:06:30Z
lewtun
MEMBER
null
null
4
1
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2440
false
[ "The tagger also doesn't insert the value for the `size_categories` field automatically, so this should be fixed too", "Thanks for reporting. Indeed the `extended` tag doesn't exist. Not sure why we had that in the tagger.\r\nThe repo of the tagger is here if someone wants to give this a try: https://github.com/h...
908,511,983
2,439
Better error message when trying to access elements of a DatasetDict without specifying the split
closed
As mentioned in #2437 it'd be nice to to have an indication to the users when they try to access an element of a DatasetDict without specifying the split name. cc @thomwolf
true
2021-06-01T17:04:32Z
2021-06-15T16:03:23Z
2021-06-07T08:54:35Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2439
2021-06-07T08:54:35Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2439
true
[]
908,461,914
2,438
Fix NQ features loading: reorder fields of features to match nested fields order in arrow data
closed
As mentioned in #2401, there is an issue when loading the features of `natural_questions` since the order of the nested fields in the features don't match. The order is important since it matters for the underlying arrow schema. To fix that I re-order the features based on the arrow schema: ```python inferred_fe...
true
2021-06-01T16:09:30Z
2021-06-04T09:02:31Z
2021-06-04T09:02:31Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2438
2021-06-04T09:02:30Z
0
2
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/2438
true
[]
908,108,882
2,437
Better error message when using the wrong load_from_disk
closed
As mentioned in #2424, the error message when one tries to use `Dataset.load_from_disk` to load a DatasetDict object (or _vice versa_) can be improved. I added a suggestion in the error message to let users know that they should use the other one.
true
2021-06-01T09:43:22Z
2021-06-08T18:03:50Z
2021-06-08T18:03:50Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2437
2021-06-08T18:03:49Z
9
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2437
true
[ "We also have other cases where people are lost between Dataset and DatasetDict, maybe let's gather and solve them all here?\r\n\r\nFor instance, I remember that some people thought they would request a single element of a split but are calling this on a DatasetDict. Maybe here also a better error message when the ...
908,100,211
2,436
Update DatasetMetadata and ReadMe
closed
This PR contains the changes discussed in #2395. **Edit**: In addition to those changes, I'll be updating the `ReadMe` as follows: Currently, `Section` has separate parsing and validation error lists. In `.validate()`, we add these lists to the final lists and throw errors. One way to make `ReadMe` consistent...
true
2021-06-01T09:32:37Z
2021-06-14T13:23:27Z
2021-06-14T13:23:26Z
gchhablani
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2436
2021-06-14T13:23:26Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2436
true
[]
907,505,531
2,435
Insert Extractive QA templates for SQuAD-like datasets
closed
This PR adds task templates for 9 SQuAD-like templates with the following properties: * 1 config * A schema that matches the `squad` one (i.e. same column names, especially for the nested `answers` column because the current implementation does not support casting with mismatched columns. see #2434) * Less than 20...
true
2021-05-31T14:09:11Z
2021-06-03T14:34:30Z
2021-06-03T14:32:27Z
lewtun
MEMBER
https://github.com/huggingface/datasets/pull/2435
2021-06-03T14:32:27Z
3
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/2435
true
[ "hi @lhoestq @SBrandeis i've now added the missing YAML tags, so this PR should be good to go :)", "urgh, the windows tests are failing because of encoding issues 😢 \r\n\r\n```\r\ndataset_name = 'squad_kor_v1'\r\n\r\n @pytest.mark.parametrize(\"dataset_name\", get_changed_datasets(repo_path))\r\n def test_...
907,503,557
2,434
Extend QuestionAnsweringExtractive template to handle nested columns
closed
Currently the `QuestionAnsweringExtractive` task template and `preprare_for_task` only support "flat" features. We should extend the functionality to cover QA datasets like: * `iapp_wiki_qa_squad` * `parsinlu_reading_comprehension` where the nested features differ with those from `squad` and trigger an `ArrowNot...
true
2021-05-31T14:06:51Z
2022-10-05T17:06:28Z
2022-10-05T17:06:28Z
lewtun
MEMBER
null
null
2
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2434
false
[ "this is also the case for the following datasets and configurations:\r\n\r\n* `mlqa` with config `mlqa-translate-train.ar`\r\n\r\n", "The current task API is somewhat deprecated (we plan to align it with `train eval index` at some point), so I think we can close this issue." ]
907,488,711
2,433
Fix DuplicatedKeysError in adversarial_qa
closed
Fixes #2431
true
2021-05-31T13:48:47Z
2021-06-01T08:52:11Z
2021-06-01T08:52:11Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/2433
2021-06-01T08:52:10Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2433
true
[]
907,462,881
2,432
Fix CI six installation on linux
closed
For some reason we end up with this error in the linux CI when running pip install .[tests] ``` pip._vendor.resolvelib.resolvers.InconsistentCandidate: Provided candidate AlreadyInstalledCandidate(six 1.16.0 (/usr/local/lib/python3.6/site-packages)) does not satisfy SpecifierRequirement('six>1.9'), SpecifierRequireme...
true
2021-05-31T13:15:36Z
2021-05-31T13:17:07Z
2021-05-31T13:17:06Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2432
2021-05-31T13:17:06Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2432
true
[]
907,413,691
2,431
DuplicatedKeysError when trying to load adversarial_qa
closed
## Describe the bug A clear and concise description of what the bug is. ## Steps to reproduce the bug ```python dataset = load_dataset('adversarial_qa', 'adversarialQA') ``` ## Expected results The dataset should be loaded into memory ## Actual results >DuplicatedKeysError: FAILURE TO GENERATE DATASET ...
true
2021-05-31T12:11:19Z
2021-06-01T08:54:03Z
2021-06-01T08:52:11Z
hanss0n
NONE
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2431
false
[ "Thanks for reporting !\r\n#2433 fixed the issue, thanks @mariosasko :)\r\n\r\nWe'll do a patch release soon of the library.\r\nIn the meantime, you can use the fixed version of adversarial_qa by adding `script_version=\"master\"` in `load_dataset`" ]
907,322,595
2,430
Add version-specific BibTeX
closed
As pointed out by @lhoestq in #2411, after the creation of the Zenodo DOI for Datasets, a new BibTeX entry is created with each release. This PR adds a version-specific BibTeX entry, besides the existing one which is generic for the project. See version-specific BibTeX entry here: https://zenodo.org/record/481776...
true
2021-05-31T10:05:42Z
2021-06-08T07:53:22Z
2021-06-08T07:53:22Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2430
2021-06-08T07:53:22Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2430
true
[ "Maybe we should only keep one citation ?\r\ncc @thomwolf @yjernite ", "For info:\r\n- The one automatically generated by Zenodo is version-specific, and a new one will be generated after each release.\r\n- Zenodo has also generated a project-specific DOI (they call it *Concept DOI* as opposed to *Version DOI*), ...
907,321,665
2,429
Rename QuestionAnswering template to QuestionAnsweringExtractive
closed
Following the discussion with @thomwolf in #2255, this PR renames the QA template to distinguish extractive vs abstractive QA. The abstractive template will be added in a future PR.
true
2021-05-31T10:04:42Z
2021-05-31T15:57:26Z
2021-05-31T15:57:24Z
lewtun
MEMBER
https://github.com/huggingface/datasets/pull/2429
2021-05-31T15:57:24Z
1
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/2429
true
[ "> I like having \"extractive\" in the name to make things explicit. However this creates an inconsistency with transformers.\r\n> \r\n> See\r\n> https://huggingface.co/transformers/task_summary.html#extractive-question-answering\r\n> \r\n> But this is minor IMO and I'm ok with this renaming\r\n\r\nyes i chose this...
907,169,746
2,428
Add copyright info for wiki_lingua dataset
closed
true
2021-05-31T07:22:52Z
2021-06-04T10:22:33Z
2021-06-04T10:22:33Z
PhilipMay
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2428
2021-06-04T10:22:33Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2428
true
[ "Build fails but this change should not be the reason...", "rebased on master", "rebased on master" ]
907,162,923
2,427
Add copyright info to MLSUM dataset
closed
true
2021-05-31T07:15:57Z
2021-06-04T09:53:50Z
2021-06-04T09:53:50Z
PhilipMay
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2427
2021-06-04T09:53:49Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2427
true
[ "Build fails but this change should not be the reason...", "rebased on master" ]
906,473,546
2,426
Saving Graph/Structured Data in Datasets
closed
Thanks for this amazing library! And my question is I have structured data that is organized with a graph. For example, a dataset with users' friendship relations and user's articles. When I try to save a python dict in the dataset, an error occurred ``did not recognize Python value type when inferring an Arrow data ty...
true
2021-05-29T13:35:21Z
2021-06-02T01:21:03Z
2021-06-02T01:21:03Z
gsh199449
NONE
null
null
6
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2426
false
[ "It should probably work out of the box to save structured data. If you want to show an example we can help you.", "An example of a toy dataset is like:\r\n```json\r\n[\r\n {\r\n \"name\": \"mike\",\r\n \"friends\": [\r\n \"tom\",\r\n \"lily\"\r\n ],\r\n \"arti...
906,385,457
2,425
Fix Docstring Mistake: dataset vs. metric
closed
PR to fix #2412
true
2021-05-29T06:09:53Z
2021-06-01T08:18:04Z
2021-06-01T08:18:04Z
PhilipMay
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2425
2021-06-01T08:18:04Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2425
true
[ "IMO this PR is ready for review. I do not know why tests fail...", "The CI fail is unrelated to this PR, and it has been fixed on master, merging :)", "> I just have one comment: we use rouge, not rogue :p\r\n\r\nOops!", "rebased on master" ]
906,193,679
2,424
load_from_disk and save_to_disk are not compatible with each other
closed
## Describe the bug load_from_disk and save_to_disk are not compatible. When I use save_to_disk to save a dataset to disk it works perfectly but given the same directory load_from_disk throws an error that it can't find state.json. looks like the load_from_disk only works on one split ## Steps to reproduce the bug ...
true
2021-05-28T23:07:10Z
2021-06-08T19:22:32Z
2021-06-08T19:22:32Z
roholazandie
NONE
null
null
6
1
1
0
null
false
[]
https://github.com/huggingface/datasets/issues/2424
false
[ "Hi,\r\n\r\n`load_dataset` returns an instance of `DatasetDict` if `split` is not specified, so instead of `Dataset.load_from_disk`, use `DatasetDict.load_from_disk` to load the dataset from disk.", "Thanks it worked!", "Though I see a stream of issues open by people lost between datasets and datasets dicts so ...
905,935,753
2,423
add `desc` in `map` for `DatasetDict` object
closed
`desc` in `map` currently only works with `Dataset` objects. This PR adds support for `DatasetDict` objects as well
true
2021-05-28T19:28:44Z
2021-05-31T14:51:23Z
2021-05-31T13:08:04Z
bhavitvyamalik
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2423
2021-05-31T13:08:04Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2423
true
[ "The CI error is unrelated to the PR, merging", "@lhoestq, can we release this feature if you guys are planning for any patch release for Datasets. It'll slow down [#11927](https://github.com/huggingface/transformers/pull/11927) otherwise :/ ", "Sure definitely, having a discrepancy between Dataset.map and Data...
905,568,548
2,422
Fix save_to_disk nested features order in dataset_info.json
closed
Fix issue https://github.com/huggingface/datasets/issues/2267 The order of the nested features matters (pyarrow limitation), but the save_to_disk method was saving the features types as JSON with `sort_keys=True`, which was breaking the order of the nested features.
true
2021-05-28T15:03:28Z
2021-05-28T15:26:57Z
2021-05-28T15:26:56Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2422
2021-05-28T15:26:56Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2422
true
[]
905,549,756
2,421
doc: fix typo HF_MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES
closed
MAX_MEMORY_DATASET_SIZE_IN_BYTES should be HF_MAX_MEMORY_DATASET_SIZE_IN_BYTES
true
2021-05-28T14:52:10Z
2021-06-04T09:52:45Z
2021-06-04T09:52:45Z
borisdayma
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2421
2021-06-04T09:52:45Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2421
true
[]
904,821,772
2,420
Updated Dataset Description
closed
Added Point of contact information and several other details about the dataset.
true
2021-05-28T07:10:51Z
2021-06-10T12:11:35Z
2021-06-10T12:11:35Z
binny-mathew
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2420
2021-06-10T12:11:35Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2420
true
[]
904,347,339
2,419
adds license information for DailyDialog.
closed
true
2021-05-27T23:03:42Z
2021-05-31T13:16:52Z
2021-05-31T13:16:52Z
aditya2211
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2419
2021-05-31T13:16:52Z
5
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/2419
true
[ "Thanks! Can you also add it as metadata in the YAML block at the top of the file?\r\n\r\nShould be in the form:\r\n\r\n```\r\nlicenses:\r\n- cc-by-sa-4.0\r\n```", "seems like we need to add all the other tags ? \r\n``` \r\nif error_messages:\r\n> raise ValueError(\"\\n\".join(error_messages))\r\n...
904,051,497
2,418
add utf-8 while reading README
closed
It was causing tests to fail in Windows (see #2416). In Windows, the default encoding is CP1252 which is unable to decode the character byte 0x9d
true
2021-05-27T18:12:28Z
2021-06-04T09:55:01Z
2021-06-04T09:55:00Z
bhavitvyamalik
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2418
2021-06-04T09:55:00Z
2
2
2
0
false
false
[]
https://github.com/huggingface/datasets/pull/2418
true
[ "Can you please add encoding to this line as well to fix the issue (and maybe replace `path.open(...)` with `open(path, ...)`)?\r\nhttps://github.com/huggingface/datasets/blob/7bee4be44706a59b084b9b69c4cd00f73ee72f76/src/datasets/utils/metadata.py#L58", "Sure, in fact even I was thinking of adding this in order t...
903,956,071
2,417
Make datasets PEP-561 compliant
closed
Allows to type-check datasets with `mypy` when imported as a third-party library PEP-561: https://www.python.org/dev/peps/pep-0561 MyPy doc on the subject: https://mypy.readthedocs.io/en/stable/installed_packages.html
true
2021-05-27T16:16:17Z
2021-05-28T13:10:10Z
2021-05-28T13:09:16Z
SBrandeis
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2417
2021-05-28T13:09:16Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2417
true
[ "This is super cool, I love that ❤️ " ]
903,932,299
2,416
Add KLUE dataset
closed
Add `KLUE (Korean Language Understanding Evaluation)` dataset released recently from [paper](https://arxiv.org/abs/2105.09680), [github](https://github.com/KLUE-benchmark/KLUE) and [webpage](https://klue-benchmark.com/tasks). Please let me know if there's anything missing in the code or README. Thanks!
true
2021-05-27T15:49:51Z
2021-06-09T15:00:02Z
2021-06-04T17:45:15Z
jungwhank
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2416
2021-06-04T17:45:15Z
7
2
2
0
false
false
[]
https://github.com/huggingface/datasets/pull/2416
true
[ "I'm not sure why I got error like below when I auto-generate dummy data \"mrc\" \r\n```\r\ndatasets.keyhash.DuplicatedKeysError: FAILURE TO GENERATE DATASET !\r\nFound duplicate Key: 0\r\nKeys should be unique and deterministic in nature\r\n```", "> I'm not sure why I got error like below when I auto-generate du...
903,923,097
2,415
Cached dataset not loaded
closed
## Describe the bug I have a large dataset (common_voice, english) where I use several map and filter functions. Sometimes my cached datasets after specific functions are not loaded. I always use the same arguments, same functions, no seed… ## Steps to reproduce the bug ```python def filter_by_duration(batch): ...
true
2021-05-27T15:40:06Z
2021-06-02T13:15:47Z
2021-06-02T13:15:47Z
borisdayma
CONTRIBUTOR
null
null
5
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2415
false
[ "It actually seems to happen all the time in above configuration:\r\n* the function `filter_by_duration` correctly loads cached processed dataset\r\n* the function `prepare_dataset` is always reexecuted\r\n\r\nI end up solving the issue by saving to disk my dataset at the end but I'm still wondering if it's a bug o...
903,877,096
2,414
Update README.md
closed
Provides description of data instances and dataset features
true
2021-05-27T14:53:19Z
2021-06-28T13:46:14Z
2021-06-28T13:04:56Z
cryoff
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2414
2021-06-28T13:04:56Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2414
true
[ "Merging since the CI error is unrelated to this PR and has been fixed on master", "Thank you for taking a look at the CI error - I was a bit confused with that. Thanks!" ]
903,777,557
2,413
AttributeError: 'DatasetInfo' object has no attribute 'task_templates'
closed
## Describe the bug Hello, I'm trying to add dataset and contribute, but test keep fail with below cli. ` RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_dataset_all_configs_<my_dataset>` ## Steps to reproduce the bug It seems like a bug when I see an error with the existing dataset,...
true
2021-05-27T13:44:28Z
2021-06-01T01:05:47Z
2021-06-01T01:05:47Z
jungwhank
CONTRIBUTOR
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2413
false
[ "Hi ! Can you try using a more up-to-date version ? We added the task_templates in `datasets` 1.7.0.\r\n\r\nIdeally when you're working on new datasets, you should install and use the local version of your fork of `datasets`. Here I think you tried to run the 1.7.0 tests with the 1.6.2 code" ]
903,769,151
2,412
Docstring mistake: dataset vs. metric
closed
This: https://github.com/huggingface/datasets/blob/d95b95f8cf3cb0cff5f77a675139b584dcfcf719/src/datasets/load.py#L582 Should better be something like: `a metric identifier on HuggingFace AWS bucket (list all available metrics and ids with ``datasets.list_metrics()``)` I can provide a PR l8er...
true
2021-05-27T13:39:11Z
2021-06-01T08:18:04Z
2021-06-01T08:18:04Z
PhilipMay
CONTRIBUTOR
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/2412
false
[ "> I can provide a PR l8er...\r\n\r\nSee #2425 " ]
903,671,778
2,411
Add DOI badge to README
closed
Once published the latest release, the DOI badge has been automatically generated by Zenodo.
true
2021-05-27T12:36:47Z
2021-05-27T13:42:54Z
2021-05-27T13:42:54Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2411
2021-05-27T13:42:54Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2411
true
[]
903,613,676
2,410
fix #2391 add original answers in kilt-TriviaQA
closed
cc @yjernite is it ok like this?
true
2021-05-27T11:54:29Z
2021-06-15T12:35:57Z
2021-06-14T17:29:10Z
PaulLerner
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2410
2021-06-14T17:29:10Z
5
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2410
true
[ "LGTM, but I'm not sure what's going on with the Unix tests @lhoestq ", "The CI error is unrelated to this PR, it's been fixed now on master.", "Thanks @PaulLerner !", "> #- [ ] - Hey![image](https://user-images.githubusercontent.com/71971234/121969638-00030e00-cd75-11eb-9512-25d32ac08051.jpeg)@fr[fr_fr**fr~~...
903,441,398
2,409
Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES
closed
As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_
true
2021-05-27T09:07:00Z
2021-06-08T16:00:55Z
2021-05-27T09:33:41Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2409
2021-05-27T09:33:41Z
14
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2409
true
[ "I thought the renaming was suggested only for the env var, and not for the config variable... As you think is better! ;)", "I think it's better if they match, so that users understand directly that they're directly connected", "Well, if you're not concerned about back-compat here, perhaps it could be renamed a...