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
940,307,053
2,611
More consistent naming
closed
As per @stas00's suggestion in #2500, this PR inserts a space between the logo and the lib name (`🤗Datasets` -> `🤗 Datasets`) for consistency with the Transformers lib. Additionally, more consistent names are used for Datasets Hub, etc.
true
2021-07-09T00:09:17Z
2021-07-13T17:13:19Z
2021-07-13T16:08:30Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/2611
2021-07-13T16:08:30Z
0
2
0
2
false
false
[]
https://github.com/huggingface/datasets/pull/2611
true
[]
939,899,829
2,610
Add missing WikiANN language tags
closed
Add missing language tags for WikiANN datasets.
true
2021-07-08T14:08:01Z
2021-07-12T14:12:16Z
2021-07-08T15:44:04Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2610
2021-07-08T15:44:04Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2610
true
[]
939,616,682
2,609
Fix potential DuplicatedKeysError
closed
Fix potential DiplicatedKeysError by ensuring keys are unique. We should promote as a good practice, that the keys should be programmatically generated as unique, instead of read from data (which might be not unique).
true
2021-07-08T08:38:04Z
2021-07-12T14:13:16Z
2021-07-09T16:42:08Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2609
2021-07-09T16:42:08Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2609
true
[ "Finally, I'm splitting this PR." ]
938,897,626
2,608
Support streaming JSON files
closed
Use open in JSON dataset builder, so that it can be patched with xopen for streaming. Close #2607.
true
2021-07-07T13:30:22Z
2021-07-12T14:12:31Z
2021-07-08T16:08:41Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2608
2021-07-08T16:08:40Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2608
true
[]
938,796,902
2,607
Streaming local gzip compressed JSON line files is not working
closed
## Describe the bug Using streaming to iterate on local gzip compressed JSON files raise a file not exist error ## Steps to reproduce the bug ```python from datasets import load_dataset streamed_dataset = load_dataset('json', split='train', data_files=data_files, streaming=True) next(iter(streamed_dataset))...
true
2021-07-07T11:36:33Z
2021-07-20T09:50:19Z
2021-07-08T16:08:41Z
thomwolf
MEMBER
null
null
6
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2607
false
[ "Updating to pyarrow-4.0.1 didn't fix the issue", "Here is an exemple dataset with 2 of these compressed JSON files: https://huggingface.co/datasets/thomwolf/github-python", "Hi @thomwolf, thanks for reporting.\r\n\r\nIt seems this might be due to the fact that the JSON Dataset builder uses `pyarrow.json` (`paj...
938,763,684
2,606
[Metrics] addition of wiki_split metrics
closed
**Is your feature request related to a problem? Please describe.** While training the model on sentence split the task in English we require to evaluate the trained model on `Exact Match`, `SARI` and `BLEU` score like this ![image](https://user-images.githubusercontent.com/26653468/124746876-ff5a3380-df3e-11eb-9a01...
true
2021-07-07T10:56:04Z
2021-07-12T22:34:31Z
2021-07-12T22:34:31Z
bhadreshpsavani
CONTRIBUTOR
null
null
1
0
0
0
null
false
[ "enhancement", "metric request" ]
https://github.com/huggingface/datasets/issues/2606
false
[ "#take" ]
938,648,164
2,605
Make any ClientError trigger retry in streaming mode (e.g. ClientOSError)
closed
During the FLAX sprint some users have this error when streaming datasets: ```python aiohttp.client_exceptions.ClientOSError: [Errno 104] Connection reset by peer ``` This error must trigger a retry instead of directly crashing Therefore I extended the error type that triggers the retry to be the base aiohttp er...
true
2021-07-07T08:47:23Z
2021-07-12T14:10:27Z
2021-07-07T08:59:13Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2605
2021-07-07T08:59:13Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2605
true
[]
938,602,237
2,604
Add option to delete temporary files (e.g. extracted files) when loading dataset
closed
I'm loading a dataset constituted of 44 GB of compressed JSON files. When loading the dataset with the JSON script, extracting the files create about 200 GB of uncompressed files before creating the 180GB of arrow cache tables Having a simple way to delete the extracted files after usage (or even better, to strea...
true
2021-07-07T07:56:16Z
2021-07-19T09:08:18Z
2021-07-19T09:08:18Z
thomwolf
MEMBER
null
null
14
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2604
false
[ "Hi !\r\nIf we want something more general, we could either\r\n1. delete the extracted files after the arrow data generation automatically, or \r\n2. delete each extracted file during the arrow generation right after it has been closed.\r\n\r\nSolution 2 is better to save disk space during the arrow generation. Is ...
938,588,149
2,603
Fix DuplicatedKeysError in omp
closed
Close #2598.
true
2021-07-07T07:38:32Z
2021-07-12T14:10:41Z
2021-07-07T12:56:35Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2603
2021-07-07T12:56:35Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2603
true
[]
938,555,712
2,602
Remove import of transformers
closed
When pickling a tokenizer within multiprocessing, check that is instance of transformers PreTrainedTokenizerBase without importing transformers. Related to huggingface/transformers#12549 and #502.
true
2021-07-07T06:58:18Z
2021-07-12T14:10:22Z
2021-07-07T08:28:51Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2602
2021-07-07T08:28:51Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2602
true
[]
938,096,396
2,601
Fix `filter` with multiprocessing in case all samples are discarded
closed
Fixes #2600 Also I moved the check for `num_proc` larger than dataset size added in #2566 up so that multiprocessing is not used with one process.
true
2021-07-06T17:06:28Z
2021-07-12T14:10:35Z
2021-07-07T12:50:31Z
mxschmdt
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2601
2021-07-07T12:50:31Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2601
true
[]
938,086,745
2,600
Crash when using multiprocessing (`num_proc` > 1) on `filter` and all samples are discarded
closed
## Describe the bug If `filter` is applied to a dataset using multiprocessing (`num_proc` > 1) and all sharded datasets are empty afterwards (due to all samples being discarded), the program crashes. ## Steps to reproduce the bug ```python from datasets import Dataset data = Dataset.from_dict({'id': [0,1]}) dat...
true
2021-07-06T16:53:25Z
2021-07-07T12:50:31Z
2021-07-07T12:50:31Z
mxschmdt
CONTRIBUTOR
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2600
false
[]
937,980,229
2,599
Update processing.rst with other export formats
closed
Add other supported export formats than CSV in the docs.
true
2021-07-06T14:50:38Z
2021-07-12T14:10:16Z
2021-07-07T08:05:48Z
TevenLeScao
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2599
2021-07-07T08:05:48Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2599
true
[]
937,930,632
2,598
Unable to download omp dataset
closed
## Describe the bug The omp dataset cannot be downloaded because of a DuplicatedKeysError ## Steps to reproduce the bug from datasets import load_dataset omp = load_dataset('omp', 'posts_labeled') print(omp) ## Expected results This code should download the omp dataset and print the dictionary ## Actual r...
true
2021-07-06T14:00:52Z
2021-07-07T12:56:35Z
2021-07-07T12:56:35Z
erikadistefano
NONE
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2598
false
[ "Hi @erikadistefano , thanks for reporting the issue.\r\n\r\nI have created a Pull Request that should fix it. \r\n\r\nOnce merged into master, feel free to update your installed `datasets` library (either by installing it from our GitHub master branch or waiting until our next release) to be able to load omp datas...
937,917,770
2,597
Remove redundant prepare_module
closed
I have noticed that after implementing `load_dataset_builder` (#2500), there is a redundant call to `prepare_module`.
true
2021-07-06T13:47:45Z
2021-07-12T14:10:52Z
2021-07-07T13:01:46Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2597
2021-07-07T13:01:46Z
0
0
0
0
false
false
[ "refactoring" ]
https://github.com/huggingface/datasets/pull/2597
true
[]
937,598,914
2,596
Transformer Class on dataset
closed
Just wondering if you have intenttion to create TransformerClass : dataset --> dataset and make determnistic transformation (ie not fit).
true
2021-07-06T07:27:15Z
2022-11-02T14:26:09Z
2022-11-02T14:26:09Z
arita37
NONE
null
null
9
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2596
false
[ "Hi ! Do you have an example in mind that shows how this could be useful ?", "Example:\n\nMerge 2 datasets into one datasets\n\nLabel extraction from dataset\n\ndataset(text, label)\n —> dataset(text, newlabel)\n\nTextCleaning.\n\n\nFor image dataset, \nTransformation are easier (ie linear algebra).\n\n\n\n\n\n...
937,483,120
2,595
ModuleNotFoundError: No module named 'datasets.tasks' while importing common voice datasets
closed
Error traceback: --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-8-a7b592d3bca0> in <module>() 1 from datasets import load_dataset, load_metric 2 ----> 3 common_voice_train = load_da...
true
2021-07-06T03:20:55Z
2021-07-06T05:59:49Z
2021-07-06T05:59:49Z
profsatwinder
NONE
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2595
false
[ "Hi @profsatwinder.\r\n\r\nIt looks like you are using an old version of `datasets`. Please update it with `pip install -U datasets` and indicate if the problem persists.", "@albertvillanova Thanks for the information. I updated it to 1.9.0 and the issue is resolved. Thanks again. " ]
937,294,772
2,594
Fix BibTeX entry
closed
Fix BibTeX entry.
true
2021-07-05T18:24:10Z
2021-07-06T04:59:38Z
2021-07-06T04:59:38Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2594
2021-07-06T04:59:38Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2594
true
[]
937,242,137
2,593
Support pandas 1.3.0 read_csv
closed
Workaround for this issue in pandas 1.3.0 : https://github.com/pandas-dev/pandas/issues/42387 The csv reader raises an error: ```python /usr/local/lib/python3.7/dist-packages/pandas/io/parsers/readers.py in _refine_defaults_read(dialect, delimiter, delim_whitespace, engine, sep, error_bad_lines, warn_bad_lines, on...
true
2021-07-05T16:40:04Z
2021-07-05T17:14:14Z
2021-07-05T17:14:14Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2593
2021-07-05T17:14:14Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2593
true
[]
937,060,559
2,592
Add c4.noclean infos
closed
Adding the data files checksums and the dataset size of the c4.noclean configuration of the C4 dataset
true
2021-07-05T12:51:40Z
2021-07-05T13:15:53Z
2021-07-05T13:15:52Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2592
2021-07-05T13:15:52Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2592
true
[]
936,957,975
2,591
Cached dataset overflowing disk space
closed
I'm training a Swedish Wav2vec2 model on a Linux GPU and having issues that the huggingface cached dataset folder is completely filling up my disk space (I'm training on a dataset of around 500 gb). The cache folder is 500gb (and now my disk space is full). Is there a way to toggle caching or set the caching to b...
true
2021-07-05T10:43:19Z
2021-07-19T09:08:19Z
2021-07-19T09:08:19Z
BirgerMoell
CONTRIBUTOR
null
null
4
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/2591
false
[ "Hi! I'm transferring this issue over to `datasets`", "I'm using the datasets concatenate dataset to combine the datasets and then train.\r\ntrain_dataset = concatenate_datasets([dataset1, dataset2, common_voice_train])\r\n\r\n", "Hi @BirgerMoell.\r\n\r\nYou have several options:\r\n- to set caching to be store...
936,954,348
2,590
Add language tags
closed
This PR adds some missing language tags needed for ASR datasets in #2565
true
2021-07-05T10:39:57Z
2021-07-05T10:58:48Z
2021-07-05T10:58:48Z
lewtun
MEMBER
https://github.com/huggingface/datasets/pull/2590
2021-07-05T10:58:48Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2590
true
[]
936,825,060
2,589
Support multilabel metrics
closed
Currently, multilabel metrics are not supported because `predictions` and `references` are defined as `Value("int32")`. This PR creates a new feature type `OptionalSequence` which can act as either `Value("int32")` or `Sequence(Value("int32"))`, depending on the data passed. Close #2554.
true
2021-07-05T08:19:25Z
2022-07-29T10:56:25Z
2021-07-08T08:40:15Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2589
2021-07-08T08:40:15Z
5
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2589
true
[ "Hi ! Thanks for the fix :)\r\n\r\nIf I understand correctly, `OptionalSequence` doesn't have an associated arrow type that we know in advance unlike the other feature types, because it depends on the type of the examples.\r\n\r\nFor example, I tested this and it raises an error:\r\n```python\r\nimport datasets as ...
936,795,541
2,588
Fix test_is_small_dataset
closed
Remove environment variable fixture `env_max_in_memory_dataset_size`. This fixture does not work because env variable is read in datasets.config when first loading datasets, and it is never reread during tests.
true
2021-07-05T07:46:26Z
2021-07-12T14:10:11Z
2021-07-06T17:09:30Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2588
2021-07-06T17:09:30Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2588
true
[]
936,771,339
2,587
Add aiohttp to tests extras require
closed
Currently, none of the streaming tests are runned within our CI test suite, because the streaming tests require aiohttp and this is missing from our tests extras require dependencies. Our CI test suite should be exhaustive and test all the library functionalities.
true
2021-07-05T07:14:01Z
2021-07-05T09:04:38Z
2021-07-05T09:04:38Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2587
2021-07-05T09:04:38Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2587
true
[]
936,747,588
2,586
Fix misalignment in SQuAD
closed
Fix misalignment between: - the answer text and - the answer_start within the context by keeping original leading blank spaces in the context. Fix #2585.
true
2021-07-05T06:42:20Z
2021-07-12T14:11:10Z
2021-07-07T13:18:51Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2586
2021-07-07T13:18:51Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2586
true
[]
936,484,419
2,585
sqaud_v2 dataset contains misalignment between the answer text and the context value at the answer index
closed
## Describe the bug The built in huggingface squad_v2 dataset that you can access via datasets.load_dataset contains mis-alignment between the answers['text'] and the characters in the context at the location specified by answers['answer_start']. For example: id = '56d1f453e7d4791d009025bd' answers = {'text': ['P...
true
2021-07-04T15:39:49Z
2021-07-07T13:18:51Z
2021-07-07T13:18:51Z
mmajurski
NONE
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2585
false
[ "Hi @mmajurski, thanks for reporting this issue.\r\n\r\nIndeed this misalignment arises because the source dataset context field contains leading blank spaces (and these are counted within the answer_start), while our datasets loading script removes these leading blank spaces.\r\n\r\nI'm going to fix our script so ...
936,049,736
2,584
wi_locness: reference latest leaderboard on codalab
closed
The dataset's author asked me to put this codalab link into the dataset's README.
true
2021-07-02T20:26:22Z
2021-07-05T09:06:14Z
2021-07-05T09:06:14Z
aseifert
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2584
2021-07-05T09:06:14Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2584
true
[]
936,034,976
2,583
Error iteration over IterableDataset using Torch DataLoader
closed
## Describe the bug I have an IterableDataset (created using streaming=True) and I am trying to create batches using Torch DataLoader class by passing this IterableDataset to it. This throws error which is pasted below. I can do the same by using Torch IterableDataset. One thing I noticed is that in the former case wh...
true
2021-07-02T19:55:58Z
2021-07-20T09:04:45Z
2021-07-05T23:48:23Z
LeenaShekhar
NONE
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2583
false
[ "Hi ! This is because you first need to format the dataset for pytorch:\r\n\r\n```python\r\n>>> import torch\r\n>>> from datasets import load_dataset\r\n>>> dataset = load_dataset('oscar', \"unshuffled_deduplicated_en\", split='train', streaming=True)\r\n>>> torch_iterable_dataset = dataset.with_format(\"torch\")\r...
935,859,104
2,582
Add skip and take
closed
As discussed in https://github.com/huggingface/datasets/pull/2375#discussion_r657084544 I added the `IterableDataset.skip` and `IterableDataset.take` methods that allows to do basic splitting of iterable datasets. You can create new dataset with the first `n` examples using `IterableDataset.take()`, or you can get a...
true
2021-07-02T15:10:19Z
2021-07-05T16:06:40Z
2021-07-05T16:06:39Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2582
2021-07-05T16:06:39Z
3
2
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2582
true
[ "@lhoestq looks good. I tried with https://huggingface.co/datasets/vblagoje/wikipedia_snippets_streamed and it worked nicely. I would add more unit tests for edge cases. What happens if the n is larger than the total number of samples? Just to make sure these cases are handled properly. ", "Yup I'll add the tests...
935,783,588
2,581
Faster search_batch for ElasticsearchIndex due to threading
closed
Hey, I think it makes sense to perform search_batch threaded, so ES can perform search in parallel. Cheers!
true
2021-07-02T13:42:07Z
2021-07-12T14:13:46Z
2021-07-12T09:52:51Z
mwrzalik
NONE
https://github.com/huggingface/datasets/pull/2581
2021-07-12T09:52:51Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2581
true
[]
935,767,421
2,580
Fix Counter import
closed
Import from `collections` instead of `typing`.
true
2021-07-02T13:21:48Z
2021-07-02T14:37:47Z
2021-07-02T14:37:46Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2580
2021-07-02T14:37:46Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2580
true
[]
935,486,894
2,579
Fix BibTeX entry
closed
Add missing contributor to BibTeX entry. cc: @abhishekkrthakur @thomwolf
true
2021-07-02T07:10:40Z
2021-07-02T07:33:44Z
2021-07-02T07:33:44Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2579
2021-07-02T07:33:44Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2579
true
[]
935,187,497
2,578
Support Zstandard compressed files
closed
Close #2572. cc: @thomwolf
true
2021-07-01T20:22:34Z
2021-08-11T14:46:24Z
2021-07-05T10:50:27Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2578
2021-07-05T10:50:27Z
8
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2578
true
[ "> What if people want to run some tests without having zstandard ?\r\n> Usually what we do is add a decorator @require_zstandard for example\r\n\r\n@lhoestq I think I'm missing something here...\r\n\r\nTests are a *development* tool (to ensure we deliver a good quality lib), not something we offer to the end users...
934,986,761
2,576
Add mC4
closed
AllenAI is now hosting the processed C4 and mC4 dataset in this repo: https://huggingface.co/datasets/allenai/c4 Thanks a lot to them ! In this PR I added the mC4 dataset builder. It supports 108 languages You can load it with ```python from datasets import load_dataset en_mc4 = load_dataset("mc4", "en") f...
true
2021-07-01T15:51:25Z
2021-07-02T14:50:56Z
2021-07-02T14:50:55Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2576
2021-07-02T14:50:55Z
0
1
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2576
true
[]
934,876,496
2,575
Add C4
closed
The old code for the C4 dataset was to generate the C4 with Apache Beam, as in Tensorflow Datasets. However AllenAI is now hosting the processed C4 dataset in this repo: https://huggingface.co/datasets/allenai/c4 Thanks a lot to them for their amazing work ! In this PR I changed the script to download and prepare ...
true
2021-07-01T13:58:08Z
2021-07-02T14:50:23Z
2021-07-02T14:50:23Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2575
2021-07-02T14:50:23Z
0
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/2575
true
[]
934,632,378
2,574
Add streaming in load a dataset docs
closed
Mention dataset streaming on the "loading a dataset" page of the documentation
true
2021-07-01T09:32:53Z
2021-07-01T14:12:22Z
2021-07-01T14:12:21Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2574
2021-07-01T14:12:21Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2574
true
[]
934,584,745
2,573
Finding right block-size with JSON loading difficult for user
open
As reported by @thomwolf, while loading a JSON Lines file with "json" loading script, he gets > json.decoder.JSONDecodeError: Extra data: line 2 column 1 (char 383)
true
2021-07-01T08:48:35Z
2021-07-01T19:10:53Z
null
albertvillanova
MEMBER
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2573
false
[ "This was actually a second error arising from a too small block-size in the json reader.\r\n\r\nFinding the right block size is difficult for the layman user" ]
934,573,767
2,572
Support Zstandard compressed files
closed
Add support for Zstandard compressed files: https://facebook.github.io/zstd/
true
2021-07-01T08:37:04Z
2023-01-03T15:34:01Z
2021-07-05T10:50:27Z
albertvillanova
MEMBER
null
null
5
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2572
false
[ "I am trying to load a dataset using Hugging Face Datasets load_dataset method. I am getting the value error as show below. Can someone help with this? I am using Windows laptop and Google Colab notebook.\r\n\r\n```\r\n!pip install zstandard\r\nfrom datasets import load_dataset\r\n\r\nlds = load_dataset(\r\n \"j...
933,791,018
2,571
Filter expected warning log from transformers
closed
Close #2569.
true
2021-06-30T14:48:19Z
2021-07-02T04:08:17Z
2021-07-02T04:08:17Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2571
2021-07-02T04:08:16Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2571
true
[ "I think the failing test has nothing to do with my PR..." ]
933,402,521
2,570
Minor fix docs format for bertscore
closed
Minor fix docs format for bertscore: - link to README - format of KWARGS_DESCRIPTION
true
2021-06-30T07:42:12Z
2021-06-30T15:31:01Z
2021-06-30T15:31:01Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2570
2021-06-30T15:31:01Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2570
true
[]
933,015,797
2,569
Weights of model checkpoint not initialized for RobertaModel for Bertscore
closed
When applying bertscore out of the box, ```Some weights of the model checkpoint at roberta-large were not used when initializing RobertaModel: ['lm_head.decoder.weight', 'lm_head.bias', 'lm_head.dense.bias', 'lm_head.layer_norm.bias', 'lm_head.dense.weight', 'lm_head.layer_norm.weight']``` Following the typical ...
true
2021-06-29T18:55:23Z
2021-07-01T07:08:59Z
2021-06-30T07:35:49Z
suzyahyah
NONE
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2569
false
[ "Hi @suzyahyah, thanks for reporting.\r\n\r\nThe message you get is indeed not an error message, but a warning coming from Hugging Face `transformers`. The complete warning message is:\r\n```\r\nSome weights of the model checkpoint at roberta-large were not used when initializing RobertaModel: ['lm_head.decoder.wei...
932,934,795
2,568
Add interleave_datasets for map-style datasets
closed
### Add interleave_datasets for map-style datasets Add support for map-style datasets (i.e. `Dataset` objects) in `interleave_datasets`. It was only supporting iterable datasets (i.e. `IterableDataset` objects). ### Implementation details It works by concatenating the datasets and then re-order the indices to...
true
2021-06-29T17:19:24Z
2021-07-01T09:33:34Z
2021-07-01T09:33:33Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2568
2021-07-01T09:33:32Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2568
true
[]
932,933,536
2,567
Add ASR task and new languages to resources
closed
This PR adds a new `automatic-speech-recognition` task to the list of supported tasks in `tasks.json` and also includes a few new languages missing from `common_voice`. Note: I used the [Papers with Code list](https://www.paperswithcode.com/area/speech/speech-recognition) as inspiration for the ASR subtasks
true
2021-06-29T17:18:01Z
2021-07-01T09:42:23Z
2021-07-01T09:42:09Z
lewtun
MEMBER
https://github.com/huggingface/datasets/pull/2567
2021-07-01T09:42:09Z
0
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/2567
true
[]
932,804,725
2,566
fix Dataset.map when num_procs > num rows
closed
closes #2470 ## Testing notes To run updated tests: ```sh pytest tests/test_arrow_dataset.py -k "BaseDatasetTest and test_map_multiprocessing" -s ``` With Python code (to view warning): ```python from datasets import Dataset dataset = Dataset.from_dict({"x": ["sample"]}) print(len(dataset)) dataset.map...
true
2021-06-29T15:07:07Z
2021-07-01T09:11:13Z
2021-07-01T09:11:13Z
connor-mccarthy
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2566
2021-07-01T09:11:13Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2566
true
[]
932,445,439
2,565
Inject templates for ASR datasets
closed
This PR adds ASR templates for 5 of the most common speech datasets on the Hub, where "common" is defined by the number of models trained on them. I also fixed a bunch of the tags in the READMEs 😎
true
2021-06-29T10:02:01Z
2021-07-05T14:26:26Z
2021-07-05T14:26:26Z
lewtun
MEMBER
https://github.com/huggingface/datasets/pull/2565
2021-07-05T14:26:26Z
2
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/2565
true
[ "Wait until #2567 is merged so we can benefit from the tagger :)", "thanks for the feedback @lhoestq! i've added the new language codes and this PR should be ready for a merge :)" ]
932,389,639
2,564
concatenate_datasets for iterable datasets
closed
Currently `concatenate_datasets` only works for map-style `Dataset`. It would be nice to have it work for `IterableDataset` objects as well. It would simply chain the iterables of the iterable datasets.
true
2021-06-29T08:59:41Z
2022-06-28T21:15:04Z
2022-06-28T21:15:04Z
lhoestq
MEMBER
null
null
2
5
5
0
null
false
[]
https://github.com/huggingface/datasets/issues/2564
false
[ "It is probably worth noting here that the [documentation](https://huggingface.co/docs/datasets/process#concatenate) is misleading (indicating that it does work for IterableDatasets):\r\n\r\n> You can also mix several datasets together by taking alternating examples from each one to create a new dataset. This is kn...
932,387,639
2,563
interleave_datasets for map-style datasets
closed
Currently the `interleave_datasets` functions only works for `IterableDataset`. Let's make it work for map-style `Dataset` objects as well. It would work the same way: either alternate between the datasets in order or randomly given probabilities specified by the user.
true
2021-06-29T08:57:24Z
2021-07-01T09:33:33Z
2021-07-01T09:33:33Z
lhoestq
MEMBER
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/2563
false
[]
932,333,436
2,562
Minor fix in loading metrics docs
closed
Make some minor fixes in "Loading metrics" docs.
true
2021-06-29T07:55:11Z
2021-06-29T17:21:22Z
2021-06-29T17:21:22Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2562
2021-06-29T17:21:22Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2562
true
[]
932,321,725
2,561
Existing cache for local dataset builder file updates is ignored with `ignore_verifications=True`
closed
## Describe the bug If i have local file defining a dataset builder class and I load it using `load_dataset` functionality, the existing cache is ignored whenever the file is update even with `ignore_verifications=True`. This slows down debugging and cache generator for very large datasets. ## Steps to reproduce th...
true
2021-06-29T07:43:03Z
2022-08-04T11:58:36Z
2022-08-04T11:58:36Z
apsdehal
CONTRIBUTOR
null
null
4
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2561
false
[ "Hi ! I just tried to reproduce what you said:\r\n- create a local builder class\r\n- use `load_dataset`\r\n- update the builder class code\r\n- use `load_dataset` again (with or without `ignore_verifications=True`)\r\nAnd it creates a new cache, as expected.\r\n\r\nWhat modifications did you do to your builder's c...
932,143,634
2,560
fix Dataset.map when num_procs > num rows
closed
closes #2470 ## Testing notes To run updated tests: ```sh pytest tests/test_arrow_dataset.py -k "BaseDatasetTest and test_map_multiprocessing" -s ``` With Python code (to view warning): ```python from datasets import Dataset dataset = Dataset.from_dict({"x": ["sample"]}) print(len(dataset)) dataset.map...
true
2021-06-29T02:24:11Z
2021-06-29T15:00:18Z
2021-06-29T14:53:31Z
connor-mccarthy
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2560
null
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2560
true
[ "Hi ! Thanks for fixing this :)\r\n\r\nLooks like you have tons of changes due to code formatting.\r\nWe're using `black` for this, with a custom line length. To run our code formatting, you just need to run\r\n```\r\nmake style\r\n```\r\n\r\nThen for the windows error in the CI, I'm looking into it. It's probably ...
931,849,724
2,559
Memory usage consistently increases when processing a dataset with `.map`
closed
## Describe the bug I have a HF dataset with image paths stored in it and I am trying to load those image paths using `.map` with `num_proc=80`. I am noticing that the memory usage consistently keeps on increasing with time. I tried using `DEFAULT_WRITER_BATCH_SIZE=10` in the builder to decrease arrow writer's batch...
true
2021-06-28T18:31:58Z
2023-07-20T13:34:10Z
2023-07-20T13:34:10Z
apsdehal
CONTRIBUTOR
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2559
false
[ "Hi ! Can you share the function you pass to `map` ?\r\nI know you mentioned it would be hard to share some code but this would really help to understand what happened", "This is the same behavior as in #4883, so I'm closing this issue as a duplicate. " ]
931,736,647
2,558
Update: WebNLG - update checksums
closed
The master branch changed so I computed the new checksums. I also pinned a specific revision so that it doesn't happen again in the future. Fix https://github.com/huggingface/datasets/issues/2553
true
2021-06-28T16:16:37Z
2021-06-28T17:23:17Z
2021-06-28T17:23:16Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2558
2021-06-28T17:23:16Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2558
true
[]
931,633,823
2,557
Fix `fever` keys
closed
The keys has duplicates since they were reset to 0 after each file. I fixed it by taking into account the file index as well.
true
2021-06-28T14:27:02Z
2021-06-28T16:11:30Z
2021-06-28T16:11:29Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2557
2021-06-28T16:11:29Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2557
true
[]
931,595,872
2,556
Better DuplicateKeysError error to help the user debug the issue
closed
As mentioned in https://github.com/huggingface/datasets/issues/2552 it would be nice to improve the error message when a dataset fails to build because there are duplicate example keys. The current one is ```python datasets.keyhash.DuplicatedKeysError: FAILURE TO GENERATE DATASET ! Found duplicate Key: 48 Keys s...
true
2021-06-28T13:50:57Z
2022-06-28T09:26:04Z
2022-06-28T09:26:04Z
lhoestq
MEMBER
null
null
7
1
1
0
null
false
[ "enhancement", "good first issue" ]
https://github.com/huggingface/datasets/issues/2556
false
[ "excuse me, my `datasets` version is `2.2.2`, but I also just see the error info like \r\n```\r\nDuplicatedKeysError: FAILURE TO GENERATE DATASET !\r\nFound duplicate Key: 0\r\nKeys should be unique and deterministic in nature\r\n```", "Hi ! for which dataset do you have this error ?\r\n\r\nAlso note that this is...
931,585,485
2,555
Fix code_search_net keys
closed
There were duplicate keys in the `code_search_net` dataset, as reported in https://github.com/huggingface/datasets/issues/2552 I fixed the keys (it was an addition of the file and row indices, which was causing collisions) Fix #2552.
true
2021-06-28T13:40:23Z
2021-09-02T08:24:43Z
2021-06-28T14:10:35Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2555
2021-06-28T14:10:35Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2555
true
[ "Fix #2552." ]
931,453,855
2,554
Multilabel metrics not supported
closed
When I try to use a metric like F1 macro I get the following error: ``` TypeError: int() argument must be a string, a bytes-like object or a number, not 'list' ``` There is an explicit casting here: https://github.com/huggingface/datasets/blob/fc79f61cbbcfa0e8c68b28c0a8257f17e768a075/src/datasets/features.py#L...
true
2021-06-28T11:09:46Z
2021-10-13T12:29:13Z
2021-07-08T08:40:15Z
GuillemGSubies
NONE
null
null
4
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2554
false
[ "Hi @GuillemGSubies, thanks for reporting.\r\n\r\nI have made a PR to fix this issue and allow metrics to be computed also for multilabel classification problems.", "Looks nice, thank you very much! 🚀 ", "Sorry for reopening but I just noticed that the `_compute` method for the F1 metric is still not good enou...
931,365,926
2,553
load_dataset("web_nlg") NonMatchingChecksumError
closed
Hi! It seems the WebNLG dataset gives a NonMatchingChecksumError. ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('web_nlg', name="release_v3.0_en", split="dev") ``` Gives ``` NonMatchingChecksumError: Checksums didn't match for dataset source files: ['h...
true
2021-06-28T09:26:46Z
2021-06-28T17:23:39Z
2021-06-28T17:23:16Z
alxthm
NONE
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2553
false
[ "Hi ! Thanks for reporting. This is due to the WebNLG repository that got updated today.\r\nI just pushed a fix at #2558 - this shouldn't happen anymore in the future.", "This is fixed on `master` now :)\r\nWe'll do a new release soon !" ]
931,354,687
2,552
Keys should be unique error on code_search_net
closed
## Describe the bug Loading `code_search_net` seems not possible at the moment. ## Steps to reproduce the bug ```python >>> load_dataset('code_search_net') Downloading: 8.50kB [00:00, 3.09MB/s] ...
true
2021-06-28T09:15:20Z
2021-09-06T14:08:30Z
2021-09-02T08:25:29Z
thomwolf
MEMBER
null
null
8
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2552
false
[ "Two questions:\r\n- with `datasets-cli env` we don't have any information on the dataset script version used. Should we give access to this somehow? Either as a note in the Error message or as an argument with the name of the dataset to `datasets-cli env`?\r\n- I don't really understand why the id is duplicated in...
930,967,978
2,551
Fix FileSystems documentation
closed
### What this fixes: This PR resolves several issues I discovered in the documentation on the `datasets.filesystems` module ([this page](https://huggingface.co/docs/datasets/filesystems.html)). ### What were the issues? When I originally tried implementing the code examples I faced several bugs attributed to: -...
true
2021-06-27T16:18:42Z
2021-06-28T13:09:55Z
2021-06-28T13:09:54Z
connor-mccarthy
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2551
2021-06-28T13:09:54Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2551
true
[]
930,951,287
2,550
Allow for incremental cumulative metric updates in a distributed setup
closed
Currently, using a metric allows for one of the following: - Per example/batch metrics - Cumulative metrics over the whole data What I'd like is to have an efficient way to get cumulative metrics over the examples/batches added so far, in order to display it as part of the progress bar during training/evaluation. ...
true
2021-06-27T15:00:58Z
2021-09-26T13:42:39Z
2021-09-26T13:42:39Z
eladsegal
CONTRIBUTOR
null
null
0
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2550
false
[]
929,819,093
2,549
Handling unlabeled datasets
closed
Hi! Is there a way for datasets to produce unlabeled instances (e.g., the `ClassLabel` can be nullable). For example, I want to use the MNLI dataset reader ( https://github.com/huggingface/datasets/blob/master/datasets/multi_nli/multi_nli.py ) on a file that doesn't have the `gold_label` field. I tried setting `"...
true
2021-06-25T04:32:23Z
2021-06-25T21:07:57Z
2021-06-25T21:07:56Z
nelson-liu
NONE
null
null
2
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2549
false
[ "Hi @nelson-liu,\r\n\r\nYou can pass the parameter `features` to `load_dataset`: https://huggingface.co/docs/datasets/_modules/datasets/load.html#load_dataset\r\n\r\nIf you look at the code of the MNLI script you referred in your question (https://github.com/huggingface/datasets/blob/master/datasets/multi_nli/multi...
929,232,831
2,548
Field order issue in loading json
closed
## Describe the bug The `load_dataset` function expects columns in alphabetical order when loading json files. Similar bug was previously reported for csv in #623 and fixed in #684. ## Steps to reproduce the bug For a json file `j.json`, ``` {"c":321, "a": 1, "b": 2} ``` Running the following, ``` f= data...
true
2021-06-24T13:29:53Z
2021-06-24T14:36:43Z
2021-06-24T14:34:05Z
luyug
NONE
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2548
false
[ "Hi @luyug, thanks for reporting.\r\n\r\nThe good news is that we fixed this issue only 9 days ago: #2507.\r\n\r\nThe patch is already in the master branch of our repository and it will be included in our next `datasets` release version 1.9.0.\r\n\r\nFeel free to reopen the issue if the problem persists." ]
929,192,329
2,547
Dataset load_from_disk is too slow
open
@lhoestq ## Describe the bug It's not normal that I have to wait 7-8 hours for a dataset to be loaded from disk, as there are no preprocessing steps, it's only loading it with load_from_disk. I have 96 cpus, however only 1 is used for this, which is inefficient. Moreover, its usage is at 1%... This is happening in t...
true
2021-06-24T12:45:44Z
2021-06-25T14:56:38Z
null
avacaondata
NONE
null
null
3
1
1
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2547
false
[ "Hi ! It looks like an issue with the virtual disk you are using.\r\n\r\nWe load datasets using memory mapping. In general it makes it possible to load very big files instantaneously since it doesn't have to read the file (it just assigns virtual memory to the file on disk).\r\nHowever there happens to be issues wi...
929,091,689
2,546
Add license to the Cambridge English Write & Improve + LOCNESS dataset card
closed
As noticed in https://github.com/huggingface/datasets/pull/2539, the licensing information was missing for this dataset. I added it and I also filled a few other empty sections.
true
2021-06-24T10:39:29Z
2021-06-24T10:52:01Z
2021-06-24T10:52:01Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2546
2021-06-24T10:52:01Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2546
true
[]
929,016,580
2,545
Fix DuplicatedKeysError in drop dataset
closed
Close #2542. cc: @VictorSanh.
true
2021-06-24T09:10:39Z
2021-06-24T14:57:08Z
2021-06-24T14:57:08Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2545
2021-06-24T14:57:08Z
0
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/2545
true
[]
928,900,827
2,544
Fix logging levels
closed
Sometimes default `datasets` logging can be too verbose. One approach could be reducing some logging levels, from info to debug, or from warning to info. Close #2543. cc: @stas00
true
2021-06-24T06:41:36Z
2021-06-25T13:40:19Z
2021-06-25T13:40:19Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2544
2021-06-25T13:40:19Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2544
true
[]
928,571,915
2,543
switching some low-level log.info's to log.debug?
closed
In https://github.com/huggingface/transformers/pull/12276 we are now changing the examples to have `datasets` on the same log level as `transformers`, so that one setting can do a consistent logging across all involved components. The trouble is that now we get a ton of these: ``` 06/23/2021 12:15:31 - INFO - da...
true
2021-06-23T19:26:55Z
2021-06-25T13:40:19Z
2021-06-25T13:40:19Z
stas00
CONTRIBUTOR
null
null
1
1
1
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2543
false
[ "Hi @stas00, thanks for pointing out this issue with logging.\r\n\r\nI agree that `datasets` can sometimes be too verbose... I can create a PR and we could discuss there the choice of the log levels for different parts of the code." ]
928,540,382
2,542
`datasets.keyhash.DuplicatedKeysError` for `drop` and `adversarial_qa/adversarialQA`
closed
## Describe the bug Failure to generate the datasets (`drop` and subset `adversarialQA` from `adversarial_qa`) because of duplicate keys. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("drop") load_dataset("adversarial_qa", "adversarialQA") ``` ## Expected results Th...
true
2021-06-23T18:41:16Z
2021-06-25T21:50:05Z
2021-06-24T14:57:08Z
VictorSanh
CONTRIBUTOR
null
null
4
1
1
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2542
false
[ "very much related: https://github.com/huggingface/datasets/pull/2333", "Hi @VictorSanh, thank you for reporting this issue with duplicated keys.\r\n\r\n- The issue with \"adversarial_qa\" was fixed 23 days ago: #2433. Current version of `datasets` (1.8.0) includes the patch.\r\n- I am investigating the issue wit...
928,529,078
2,541
update discofuse link cc @ekQ
closed
Updating the discofuse link: https://github.com/google-research-datasets/discofuse/commit/fd4b120cb3dd19a417e7f3b5432010b574b5eeee
true
2021-06-23T18:24:58Z
2021-06-28T14:34:51Z
2021-06-28T14:34:50Z
VictorSanh
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2541
2021-06-28T14:34:50Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2541
true
[ "The CI is failing because the dataset tags for `discofuse` are missing. I'm merging this PR since this is unrelated to this PR, but feel free to open another PR to add the tags here if you have some time:\r\n\r\nhttps://github.com/huggingface/datasets/blob/19408f9fab85c79b966085574cd2da3b90959179/datasets/discofus...
928,433,892
2,540
Remove task templates if required features are removed during `Dataset.map`
closed
This PR fixes a bug reported by @craffel where removing a dataset's columns during `Dataset.map` triggered a `KeyError` because the `TextClassification` template tried to access the removed columns during `DatasetInfo.__post_init__`: ```python from datasets import load_dataset # `yelp_polarity` comes with a `Tex...
true
2021-06-23T16:20:25Z
2021-06-24T14:41:15Z
2021-06-24T13:34:03Z
lewtun
MEMBER
https://github.com/huggingface/datasets/pull/2540
2021-06-24T13:34:03Z
0
2
1
1
false
false
[]
https://github.com/huggingface/datasets/pull/2540
true
[]
927,952,429
2,539
remove wi_locness dataset due to licensing issues
closed
It was brought to my attention that this dataset's license is not only missing, but also prohibits redistribution. I contacted the original author to apologize for this oversight and asked if we could still use it, but unfortunately we can't and the author kindly asked to take down this dataset.
true
2021-06-23T07:35:32Z
2021-06-25T14:52:42Z
2021-06-25T14:52:42Z
aseifert
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2539
null
5
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2539
true
[ "Hi ! I'm sorry to hear that.\r\nThough we are not redistributing the dataset, we just provide a python script that downloads and process the dataset from its original source hosted at https://www.cl.cam.ac.uk\r\n\r\nTherefore I'm not sure what's the issue with licensing. What do you mean exactly ?", "I think tha...
927,940,691
2,538
Loading partial dataset when debugging
open
I am using PyTorch Lightning along with datasets (thanks for so many datasets already prepared and the great splits). Every time I execute load_dataset for the imdb dataset it takes some time even if I specify a split involving very few samples. I guess this due to hashing as per the other issues. Is there a wa...
true
2021-06-23T07:19:52Z
2023-04-19T11:05:38Z
null
reachtarunhere
NONE
null
null
11
1
1
0
null
false
[]
https://github.com/huggingface/datasets/issues/2538
false
[ "Hi ! `load_dataset` downloads the full dataset once and caches it, so that subsequent calls to `load_dataset` just reloads the dataset from your disk.\r\nThen when you specify a `split` in `load_dataset`, it will just load the requested split from the disk. If your specified split is a sliced split (e.g. `\"train[...
927,472,659
2,537
Add Parquet loader + from_parquet and to_parquet
closed
Continuation of #2247 I added a "parquet" dataset builder, as well as the methods `Dataset.from_parquet` and `Dataset.to_parquet`. As usual, the data are converted to arrow in a batched way to avoid loading everything in memory.
true
2021-06-22T17:28:23Z
2021-06-30T16:31:03Z
2021-06-30T16:30:58Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2537
2021-06-30T16:30:58Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2537
true
[ "`pyarrow` 1.0.0 doesn't support some types in parquet, we'll have to bump its minimum version.\r\n\r\nAlso I still need to add dummy data to test the parquet builder.", "I had to bump the minimum pyarrow version to 3.0.0 to properly support parquet.\r\n\r\nEverything is ready for review now :)\r\nI reused pretty...
927,338,639
2,536
Use `Audio` features for `AutomaticSpeechRecognition` task template
closed
In #2533 we added a task template for speech recognition that relies on the file paths to the audio files. As pointed out by @SBrandeis this is brittle as it doesn't port easily across different OS'. The solution is to use dedicated `Audio` features when casting the dataset. These features are not yet available in ...
true
2021-06-22T15:07:21Z
2022-06-01T17:18:16Z
2022-06-01T17:18:16Z
lewtun
MEMBER
null
null
2
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2536
false
[ "I'm just retaking and working on #2324. 😉 ", "Resolved via https://github.com/huggingface/datasets/pull/4006." ]
927,334,349
2,535
Improve Features docs
closed
- Fix rendering and cross-references in Features docs - Add docstrings to Features methods
true
2021-06-22T15:03:27Z
2021-06-23T13:40:43Z
2021-06-23T13:40:43Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2535
2021-06-23T13:40:43Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2535
true
[]
927,201,435
2,534
Sync with transformers disabling NOTSET
closed
Close #2528.
true
2021-06-22T12:54:21Z
2021-06-24T14:42:47Z
2021-06-24T14:42:47Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2534
2021-06-24T14:42:47Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2534
true
[ "Nice thanks ! I think there are other places with\r\n```python\r\nnot_verbose = bool(logger.getEffectiveLevel() > WARNING)\r\n```\r\n\r\nCould you replace them as well ?", "Sure @lhoestq! I was not sure if this change should only be circumscribed to `http_get`..." ]
927,193,264
2,533
Add task template for automatic speech recognition
closed
This PR adds a task template for automatic speech recognition. In this task, the input is a path to an audio file which the model consumes to produce a transcription. Usage: ```python from datasets import load_dataset from datasets.tasks import AutomaticSpeechRecognition ds = load_dataset("timit_asr", split=...
true
2021-06-22T12:45:02Z
2021-06-23T16:14:46Z
2021-06-23T15:56:57Z
lewtun
MEMBER
https://github.com/huggingface/datasets/pull/2533
2021-06-23T15:56:57Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2533
true
[ "@SBrandeis @lhoestq i've integrated your suggestions, so this is ready for another review :)", "Merging if it's good for you @lewtun :)" ]
927,063,196
2,532
Tokenizer's normalization preprocessor cause misalignment in return_offsets_mapping for tokenizer classification task
closed
[This colab notebook](https://colab.research.google.com/drive/151gKyo0YIwnlznrOHst23oYH_a3mAe3Z?usp=sharing) implements a token classification input pipeline extending the logic from [this hugging example](https://huggingface.co/transformers/custom_datasets.html#tok-ner). The pipeline works fine with most instance i...
true
2021-06-22T10:08:18Z
2021-06-23T05:17:25Z
2021-06-23T05:17:25Z
cosmeowpawlitan
CONTRIBUTOR
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2532
false
[ "Hi @jerryIsHere, thanks for reporting the issue. But are you sure this is a bug in HuggingFace **Datasets**?", "> Hi @jerryIsHere, thanks for reporting the issue. But are you sure this is a bug in HuggingFace **Datasets**?\r\n\r\nOh, I am sorry\r\nI would reopen the post on huggingface/transformers" ]
927,017,924
2,531
Fix dev version
closed
The dev version that ends in `.dev0` should be greater than the current version. However it happens that `1.8.0 > 1.8.0.dev0` for example. Therefore we need to use `1.8.1.dev0` for example in this case. I updated the dev version to use `1.8.1.dev0`, and I also added a comment in the setup.py in the release steps a...
true
2021-06-22T09:17:10Z
2021-06-22T09:47:10Z
2021-06-22T09:47:09Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2531
2021-06-22T09:47:09Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2531
true
[]
927,013,773
2,530
Fixed label parsing in the ProductReviews dataset
closed
Fixed issue with parsing dataset labels.
true
2021-06-22T09:12:45Z
2021-06-22T12:55:20Z
2021-06-22T12:52:40Z
yavuzKomecoglu
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2530
2021-06-22T12:52:40Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2530
true
[ "@lhoestq, can you please review this PR?\r\nWhat exactly is the problem in the test case? Should it matter?", "Hi ! Thanks for fixing this :)\r\n\r\nThe CI fails for two reasons:\r\n- the `pretty_name` tag is missing in yaml tags in ./datasets/turkish_product_reviews/README.md. You can fix that by adding this in...
926,378,812
2,529
Add summarization template
closed
This PR adds a task template for text summarization. As far as I can tell, we do not need to distinguish between "extractive" or "abstractive" summarization - both can be handled with this template. Usage: ```python from datasets import load_dataset from datasets.tasks import Summarization ds = load_dataset(...
true
2021-06-21T16:08:31Z
2021-06-23T14:22:11Z
2021-06-23T13:30:10Z
lewtun
MEMBER
https://github.com/huggingface/datasets/pull/2529
2021-06-23T13:30:10Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2529
true
[ "> Nice thanks !\r\n> Could you just move the test outside of the BaseDatasetTest class please ? Otherwise it will unnecessarily be run twice.\r\n\r\nsure, on it! thanks for the explanations about the `self._to` method :)", "@lhoestq i've moved all the task template tests outside of `BaseDatasetTest` and collecte...
926,314,656
2,528
Logging cannot be set to NOTSET similar to transformers
closed
## Describe the bug In the transformers library you can set the verbosity level to logging.NOTSET to work around the usage of tqdm and IPywidgets, however in Datasets this is no longer possible. This is because transformers set the verbosity level of tqdm with [this](https://github.com/huggingface/transformers/blob/b5...
true
2021-06-21T15:04:54Z
2021-06-24T14:42:47Z
2021-06-24T14:42:47Z
joshzwiebel
NONE
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2528
false
[ "Hi @joshzwiebel, thanks for reporting. We are going to align with `transformers`." ]
926,031,525
2,527
Replace bad `n>1M` size tag
closed
Some datasets were still using the old `n>1M` tag which has been replaced with tags `1M<n<10M`, etc. This resulted in unexpected results when searching for datasets bigger than 1M on the hub, since it was only showing the ones with the tag `n>1M`.
true
2021-06-21T09:42:35Z
2021-06-21T15:06:50Z
2021-06-21T15:06:49Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2527
2021-06-21T15:06:49Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2527
true
[]
925,929,228
2,526
Add COCO datasets
open
## Adding a Dataset - **Name:** COCO - **Description:** COCO is a large-scale object detection, segmentation, and captioning dataset. - **Paper + website:** https://cocodataset.org/#home - **Data:** https://cocodataset.org/#download - **Motivation:** It would be great to have COCO available in HuggingFace datasets...
true
2021-06-21T07:48:32Z
2023-06-22T14:12:18Z
null
NielsRogge
CONTRIBUTOR
null
null
17
3
3
0
null
false
[ "dataset request", "vision" ]
https://github.com/huggingface/datasets/issues/2526
false
[ "I'm currently adding it, the entire dataset is quite big around 30 GB so I add splits separately. You can take a look here https://huggingface.co/datasets/merve/coco", "I talked to @lhoestq and it's best if I download this dataset through TensorFlow datasets instead, so I'll be implementing that one really soon....
925,896,358
2,525
Use scikit-learn package rather than sklearn in setup.py
closed
The sklearn package is an historical thing and should probably not be used by anyone, see https://github.com/scikit-learn/scikit-learn/issues/8215#issuecomment-344679114 for some caveats. Note: this affects only TESTS_REQUIRE so I guess only developers not end users.
true
2021-06-21T07:04:25Z
2021-06-21T10:01:13Z
2021-06-21T08:57:33Z
lesteve
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2525
2021-06-21T08:57:33Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2525
true
[]
925,610,934
2,524
Raise FileNotFoundError in WindowsFileLock
closed
Closes #2443
true
2021-06-20T14:25:11Z
2021-06-28T09:56:22Z
2021-06-28T08:47:39Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/2524
2021-06-28T08:47:39Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2524
true
[ "Hi ! Could you clarify what it fixes exactly and give more details please ? Especially why this is related to the windows hanging error ?", "This has already been merged, but I'll clarify the idea of this PR. Before this merge, FileLock was the only component affected by the max path limit on Windows (that came ...
925,421,008
2,523
Fr
closed
__Originally posted by @lewtun in https://github.com/huggingface/datasets/pull/2469__
true
2021-06-19T15:56:32Z
2021-06-19T18:48:23Z
2021-06-19T18:48:23Z
aDrIaNo34500
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/2523
false
[]
925,334,379
2,522
Documentation Mistakes in Dataset: emotion
closed
As per documentation, Dataset: emotion Homepage: https://github.com/dair-ai/emotion_dataset Dataset: https://github.com/huggingface/datasets/blob/master/datasets/emotion/emotion.py Permalink: https://huggingface.co/datasets/viewer/?dataset=emotion Emotion is a dataset of English Twitter messages with eight b...
true
2021-06-19T07:08:57Z
2023-01-02T12:04:58Z
2023-01-02T12:04:58Z
GDGauravDutta
NONE
null
null
3
1
1
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2522
false
[ "Hi,\r\n\r\nthis issue has been already reported in the dataset repo (https://github.com/dair-ai/emotion_dataset/issues/2), so this is a bug on their side.", "The documentation has another bug in the dataset card [here](https://huggingface.co/datasets/emotion). \r\n\r\nIn the dataset summary **six** emotions are ...
925,030,685
2,521
Insert text classification template for Emotion dataset
closed
This PR includes a template and updated `dataset_infos.json` for the `emotion` dataset.
true
2021-06-18T15:56:19Z
2021-06-21T09:22:31Z
2021-06-21T09:22:31Z
lewtun
MEMBER
https://github.com/huggingface/datasets/pull/2521
2021-06-21T09:22:31Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2521
true
[]
925,015,004
2,520
Datasets with tricky task templates
closed
I'm collecting a list of datasets here that don't follow the "standard" taxonomy and require further investigation to implement task templates for. ## Text classification * [hatexplain](https://huggingface.co/datasets/hatexplain): ostensibly a form of text classification, but not in the standard `(text, target)` ...
true
2021-06-18T15:33:57Z
2023-07-20T13:20:32Z
2023-07-20T13:20:32Z
lewtun
MEMBER
null
null
1
0
0
0
null
false
[ "Dataset discussion" ]
https://github.com/huggingface/datasets/issues/2520
false
[ "The `task_templates` API is deprecated in favor of the `train-eval-index` YAML field, so I'm closing this issue." ]
924,903,240
2,519
Improve performance of pandas arrow extractor
closed
While reviewing PR #2505, I noticed that pandas arrow extractor could be refactored to be faster.
true
2021-06-18T13:24:41Z
2021-06-21T09:06:06Z
2021-06-21T09:06:06Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2519
2021-06-21T09:06:06Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2519
true
[ "Looks like this change\r\n```\r\npa_table[pa_table.column_names[0]].to_pandas(types_mapper=pandas_types_mapper)\r\n```\r\ndoesn't return a Series with the correct type.\r\nThis is related to https://issues.apache.org/jira/browse/ARROW-9664\r\n\r\nSince the types_mapper isn't taken into account, the ArrayXD types a...
924,654,100
2,518
Add task templates for tydiqa and xquad
closed
This PR adds question-answering templates to the remaining datasets that are linked to a model on the Hub. Notes: * I could not test the tydiqa implementation since I don't have enough disk space 😢 . But I am confident the template works :) * there exist other datasets like `fquad` and `mlqa` which are candida...
true
2021-06-18T08:06:34Z
2021-06-18T15:01:17Z
2021-06-18T14:50:33Z
lewtun
MEMBER
https://github.com/huggingface/datasets/pull/2518
2021-06-18T14:50:33Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2518
true
[ "Just tested TydiQA and it works fine :)" ]
924,643,345
2,517
Fix typo in MatthewsCorrelation class name
closed
Close #2513.
true
2021-06-18T07:53:06Z
2021-06-18T08:43:55Z
2021-06-18T08:43:55Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2517
2021-06-18T08:43:55Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2517
true
[]
924,597,470
2,516
datasets.map pickle issue resulting in invalid mapping function
open
I trained my own tokenizer, and I needed to use a python custom class. Because of this I have to detach the custom step before saving and reattach after restore. I did this using the standard pickle `__get_state__` / `__set_state__` mechanism. I think it's correct but it fails when I use it inside a function which is m...
true
2021-06-18T06:47:26Z
2021-06-23T13:47:49Z
null
david-waterworth
NONE
null
null
7
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2516
false
[ "Hi ! `map` calls `__getstate__` using `dill` to hash your map function. This is used by the caching mechanism to recover previously computed results. That's why you don't see any `__setstate__` call.\r\n\r\nWhy do you change an attribute of your tokenizer when `__getstate__` is called ?", "@lhoestq because if I ...
924,435,447
2,515
CRD3 dataset card
closed
This PR adds additional information to the CRD3 dataset card.
true
2021-06-18T00:24:07Z
2021-06-21T10:18:44Z
2021-06-21T10:18:44Z
wilsonyhlee
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2515
2021-06-21T10:18:44Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2515
true
[]
924,417,172
2,514
Can datasets remove duplicated rows?
open
**Is your feature request related to a problem? Please describe.** i find myself more and more relying on datasets just to do all the preprocessing. One thing however, for removing duplicated rows, I couldn't find out how and am always converting datasets to pandas to do that.. **Describe the solution you'd like*...
true
2021-06-17T23:35:38Z
2024-07-19T13:23:01Z
null
liuxinglan
NONE
null
null
12
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2514
false
[ "Hi ! For now this is probably the best option.\r\nWe might add a feature like this in the feature as well.\r\n\r\nDo you know any deduplication method that works on arbitrary big datasets without filling up RAM ?\r\nOtherwise we can have do the deduplication in memory like pandas but I feel like this is going to b...
924,174,413
2,513
Corelation should be Correlation
closed
https://github.com/huggingface/datasets/blob/0e87e1d053220e8ecddfa679bcd89a4c7bc5af62/metrics/matthews_correlation/matthews_correlation.py#L66
true
2021-06-17T17:28:48Z
2021-06-18T08:43:55Z
2021-06-18T08:43:55Z
colbym-MM
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/2513
false
[ "Hi @colbym-MM, thanks for reporting. We are fixing it." ]
924,069,353
2,512
seqeval metric does not work with a recent version of sklearn: classification_report() got an unexpected keyword argument 'output_dict'
closed
## Describe the bug A clear and concise description of what the bug is. ## Steps to reproduce the bug ```python from datasets import load_dataset, load_metric seqeval = load_metric("seqeval") seqeval.compute(predictions=[['A']], references=[['A']]) ``` ## Expected results The function computes a dict with ...
true
2021-06-17T15:36:02Z
2021-06-17T15:46:07Z
2021-06-17T15:46:07Z
avidale
NONE
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2512
false
[ "Sorry, I was using an old version of sequeval" ]
923,762,133
2,511
Add C4
closed
## Adding a Dataset - **Name:** *C4* - **Description:** *https://github.com/allenai/allennlp/discussions/5056* - **Paper:** *https://arxiv.org/abs/1910.10683* - **Data:** *https://huggingface.co/datasets/allenai/c4* - **Motivation:** *Used a lot for pretraining* Instructions to add a new dataset can be found [h...
true
2021-06-17T10:31:04Z
2021-07-05T12:36:58Z
2021-07-05T12:36:57Z
lhoestq
MEMBER
null
null
2
0
0
0
null
false
[ "dataset request" ]
https://github.com/huggingface/datasets/issues/2511
false
[ "Update on this: I'm computing the checksums of the data files. It will be available soon", "Added in #2575 :)" ]