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
872,974,907
2,296
1
closed
## Adding a Dataset - **Name:** *name of the dataset* - **Description:** *short description of the dataset (or link to social media or blog post)* - **Paper:** *link to the dataset paper if available* - **Data:** *link to the Github repository or current dataset location* - **Motivation:** *what are some good reasons t...
true
2021-04-30T17:53:49Z
2021-05-03T08:17:31Z
2021-05-03T08:17:31Z
zinnyi
NONE
null
null
0
0
0
0
null
false
[ "dataset request" ]
https://github.com/huggingface/datasets/issues/2296
false
[]
872,902,867
2,295
Create ExtractManager
closed
Perform refactoring to decouple extract functionality.
true
2021-04-30T17:13:34Z
2021-07-12T14:12:03Z
2021-07-08T08:11:49Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2295
2021-07-08T08:11:49Z
2
1
0
1
false
false
[ "refactoring" ]
https://github.com/huggingface/datasets/pull/2295
true
[ "Hi @lhoestq,\r\n\r\nOnce that #2578 has been merged, I would like to ask you to have a look at this PR: it implements the same logic as the one in #2578 but for all the other file compression formats.\r\n\r\nThanks.", "I think all is done @lhoestq ;)" ]
872,136,075
2,294
Slow #0 when using map to tokenize.
open
Hi, _datasets_ is really amazing! I am following [run_mlm_no_trainer.py](url) to pre-train BERT, and it uses `tokenized_datasets = raw_datasets.map( tokenize_function, batched=True, num_proc=args.preprocessing_num_workers, remove_columns=column_names, loa...
true
2021-04-30T08:00:33Z
2021-05-04T11:00:11Z
null
VerdureChen
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/2294
false
[ "Hi ! Have you tried other values for `preprocessing_num_workers` ? Is it always process 0 that is slower ?\r\nThere are no difference between process 0 and the others except that it processes the first shard of the dataset.", "Hi, I have found the reason of it. Before using the map function to tokenize the data,...
872,079,385
2,293
imdb dataset from Don't Stop Pretraining Paper
closed
true
2021-04-30T06:40:48Z
2021-04-30T06:54:25Z
2021-04-30T06:54:25Z
BobbyManion
NONE
https://github.com/huggingface/datasets/pull/2293
null
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2293
true
[]
871,230,183
2,292
Fixed typo seperate->separate
closed
true
2021-04-29T16:40:53Z
2021-04-30T13:29:18Z
2021-04-30T13:03:12Z
laksh9950
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2292
2021-04-30T13:03:12Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2292
true
[]
871,216,757
2,291
Don't copy recordbatches in memory during a table deepcopy
closed
Fix issue #2276 and hopefully #2134 The recordbatches of the `IndexedTableMixin` used to speed up queries to the table were copied in memory during a table deepcopy. This resulted in `concatenate_datasets`, `load_from_disk` and other methods to always bring the data in memory. I fixed the copy similarly to #2287...
true
2021-04-29T16:26:05Z
2021-04-29T16:34:35Z
2021-04-29T16:34:34Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2291
2021-04-29T16:34:33Z
0
2
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/2291
true
[]
871,145,817
2,290
Bbaw egyptian
closed
This is the "hieroglyph corpus" that I could unfortunately not contribute during the marathon. I re-extracted it again now, so that it is in the state as used in my paper (seee documentation). I hope it satiesfies your requirements and wish every scientist out their loads of fun deciphering a 5.000 years old language :...
true
2021-04-29T15:27:58Z
2021-05-06T17:25:25Z
2021-05-06T17:25:25Z
phiwi
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2290
2021-05-06T17:25:25Z
9
3
0
3
false
false
[]
https://github.com/huggingface/datasets/pull/2290
true
[ "Hi @phiwi,\r\n\r\nThanks for contributing this nice dataset. If you have any blocking problem or question, do not hesitate to ask here. We are pleased to help you.\r\n\r\nCould you please first synchronize with our master branch? From your branch `bbaw_egyptian`, type:\r\n```\r\ngit fetch upstream master\r\ngit me...
871,118,573
2,289
Allow collaborators to self-assign issues
closed
Allow collaborators (without write access to the repository) to self-assign issues. In order to self-assign an issue, they have to comment it with the word: `#take` or `#self-assign`.
true
2021-04-29T15:07:06Z
2021-04-30T18:28:16Z
2021-04-30T18:28:16Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2289
2021-04-30T18:28:16Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2289
true
[ "What do you think, @lhoestq? 😉 \r\n\r\nI think this could be another step to facilitate community contributions.", "@lhoestq, it doesn't exist in `transformers`... I picked the idea from `scikit-learn`, where I have previously collaborated...\r\n\r\nAnd sure, this must be documented! I just wanted first to know...
871,111,235
2,288
Load_dataset for local CSV files
closed
The method load_dataset fails to correctly load a dataset from csv. Moreover, I am working on a token-classification task ( POS tagging) , where each row in my CSV contains two columns each of them having a list of strings. row example: ```tokens | labels ['I' , 'am', 'John'] | ['PRON', 'AUX', 'PROPN' ] ``...
true
2021-04-29T15:01:10Z
2021-06-15T13:49:26Z
2021-06-15T13:49:26Z
sstojanoska
NONE
null
null
3
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2288
false
[ "Hi,\r\n\r\nthis is not a standard CSV file (requires additional preprocessing) so I wouldn't label this as s bug. You could parse the examples with the regex module or the string API to extract the data, but the following approach is probably the easiest (once you load the data):\r\n```python\r\nimport ast\r\n# lo...
871,063,374
2,287
Avoid copying table's record batches
closed
Fixes #2276
true
2021-04-29T14:15:01Z
2021-04-29T16:34:23Z
2021-04-29T16:34:22Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/2287
null
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2287
true
[ "Thanks for fixing it. I actually included a similar fix in #2291 along with some updates in tests\r\nI'm closing this one in favor of #2291 if you don't mind.\r\n\r\nThanks again !" ]
871,032,393
2,286
Fix metadata validation with config names
closed
I noticed in https://github.com/huggingface/datasets/pull/2280 that the metadata validator doesn't parse the tags in the readme properly when then contain the tags per config.
true
2021-04-29T13:44:32Z
2021-04-29T14:07:29Z
2021-04-29T14:07:28Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2286
2021-04-29T14:07:28Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2286
true
[]
871,005,236
2,285
Help understanding how to build a dataset for language modeling as with the old TextDataset
closed
Hello, I am trying to load a custom dataset that I will then use for language modeling. The dataset consists of a text file that has a whole document in each line, meaning that each line overpasses the normal 512 tokens limit of most tokenizers. I would like to understand what is the process to build a text datas...
true
2021-04-29T13:16:45Z
2021-05-19T07:22:45Z
2021-05-19T07:22:39Z
danieldiezmallo
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/2285
false
[ "\r\nI received an answer for this question on the HuggingFace Datasets forum by @lhoestq\r\n\r\nHi !\r\n\r\nIf you want to tokenize line by line, you can use this:\r\n\r\n```\r\nmax_seq_length = 512\r\nnum_proc = 4\r\n\r\ndef tokenize_function(examples):\r\n# Remove empty lines\r\nexamples[\"text\"] = [line for li...
870,932,710
2,284
Initialize Imdb dataset as used in Don't Stop Pretraining Paper
closed
true
2021-04-29T11:52:38Z
2021-04-29T12:54:34Z
2021-04-29T12:54:34Z
BobbyManion
NONE
https://github.com/huggingface/datasets/pull/2284
null
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2284
true
[]
870,926,475
2,283
Initialize imdb dataset from don't stop pretraining paper
closed
true
2021-04-29T11:44:54Z
2021-04-29T11:50:24Z
2021-04-29T11:50:24Z
BobbyManion
NONE
https://github.com/huggingface/datasets/pull/2283
null
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2283
true
[]
870,900,332
2,282
Initialize imdb dataset from don't stop pretraining paper
closed
true
2021-04-29T11:17:56Z
2021-04-29T11:43:51Z
2021-04-29T11:43:51Z
BobbyManion
NONE
https://github.com/huggingface/datasets/pull/2282
null
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2282
true
[]
870,792,784
2,281
Update multi_woz_v22 checksum
closed
Fix issue https://github.com/huggingface/datasets/issues/1876 The files were changed in https://github.com/budzianowski/multiwoz/pull/72
true
2021-04-29T09:09:11Z
2021-04-29T13:41:35Z
2021-04-29T13:41:34Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2281
2021-04-29T13:41:34Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2281
true
[]
870,780,431
2,280
Fixed typo seperate->separate
closed
true
2021-04-29T08:55:46Z
2021-04-29T16:41:22Z
2021-04-29T16:41:16Z
laksh9950
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2280
null
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2280
true
[ "Hi ! Thanks for the fix :)\r\nThe CI fail isn't related to your PR. I opened a PR #2286 to fix the CI.\r\nWe'll wait for #2286 to be merged to master first if you don't mind", "The PR has been merged ! Feel free to merge master into your branch to fix the CI" ]
870,431,662
2,279
Compatibility with Ubuntu 18 and GLIBC 2.27?
closed
## Describe the bug For use on Ubuntu systems, it seems that datasets requires GLIBC 2.29. However, Ubuntu 18 runs with GLIBC 2.27 and it seems [non-trivial to upgrade GLIBC to 2.29 for Ubuntu 18 users](https://www.digitalocean.com/community/questions/how-install-glibc-2-29-or-higher-in-ubuntu-18-04). I'm not sure...
true
2021-04-28T22:08:07Z
2021-04-29T07:42:42Z
2021-04-29T07:42:42Z
tginart
NONE
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2279
false
[ "From the trace this seems like an error in the tokenizer library instead.\r\n\r\nDo you mind opening an issue at https://github.com/huggingface/tokenizers instead?", "Hi @tginart, thanks for reporting.\r\n\r\nI think this issue is already open at `tokenizers` library: https://github.com/huggingface/tokenizers/is...
870,088,059
2,278
Loss result inGptNeoForCasual
closed
Is there any way you give the " loss" and "logits" results in the gpt neo api?
true
2021-04-28T15:39:52Z
2021-05-06T16:14:23Z
2021-05-06T16:14:23Z
Yossillamm
NONE
null
null
1
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2278
false
[ "Hi ! I think you might have to ask on the `transformers` repo on or the forum at https://discuss.huggingface.co/\r\n\r\nClosing since it's not related to this library" ]
870,071,994
2,277
Create CacheManager
open
Perform refactoring to decouple cache functionality (method `as_dataset`).
true
2021-04-28T15:23:42Z
2022-07-06T15:19:48Z
null
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2277
null
0
0
0
0
false
false
[ "refactoring" ]
https://github.com/huggingface/datasets/pull/2277
true
[]
870,010,511
2,276
concatenate_datasets loads all the data into memory
closed
## Describe the bug When I try to concatenate 2 datasets (10GB each) , the entire data is loaded into memory instead of being written directly to disk. Interestingly, this happens when trying to save the new dataset to disk or concatenating it again. ![image](https://user-images.githubusercontent.com/7063207/116...
true
2021-04-28T14:27:21Z
2021-05-03T08:41:55Z
2021-05-03T08:41:55Z
chbensch
NONE
null
null
7
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2276
false
[ "Therefore, when I try to concatenate larger datasets (5x 35GB data sets) I also get an out of memory error, since over 90GB of swap space was used at the time of the crash:\r\n\r\n```\r\n---------------------------------------------------------------------------\r\nMemoryError Traceba...
869,378,311
2,275
SNLI dataset has labels of -1
closed
There are a number of rows with a label of -1 in the SNLI dataset. The dataset descriptions [here](https://nlp.stanford.edu/projects/snli/) and [here](https://github.com/huggingface/datasets/tree/master/datasets/snli) don't list -1 as a label possibility, and neither does the dataset viewer. As examples, see index 107...
true
2021-04-28T00:32:25Z
2021-05-17T13:34:18Z
2021-05-17T13:34:18Z
puzzler10
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/2275
false
[ "Hi @puzzler10, \r\nThose examples where `gold_label` field was empty, -1 label was alloted to it. In order to remove it you can filter the samples from train/val/test splits. Here's how you can drop those rows from the dataset:\r\n`dataset = load_dataset(\"snli\")`\r\n`dataset_test_filter = dataset['test'].filter(...
869,186,276
2,274
Always update metadata in arrow schema
closed
We store a redundant copy of the features in the metadata of the schema of the arrow table. This is used to recover the features when doing `Dataset.from_file`. These metadata are updated after each transfor, that changes the feature types. For each function that transforms the feature types of the dataset, I added ...
true
2021-04-27T19:21:57Z
2022-06-03T08:31:19Z
2021-04-29T09:57:50Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2274
2021-04-29T09:57:50Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2274
true
[]
869,046,290
2,273
Added CUAD metrics
closed
`EM`, `F1`, `AUPR`, `Precision@80%Recall`, and `Precision@90%Recall` metrics supported for CUAD
true
2021-04-27T16:49:12Z
2021-04-29T13:59:47Z
2021-04-29T13:59:47Z
bhavitvyamalik
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2273
2021-04-29T13:59:47Z
0
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/2273
true
[]
869,017,977
2,272
Bug in Dataset.class_encode_column
closed
## Describe the bug All the rest of the columns except the one passed to `Dataset.class_encode_column` are discarded. ## Expected results All the original columns should be kept. This needs regression tests.
true
2021-04-27T16:13:18Z
2021-04-30T12:54:27Z
2021-04-30T12:54:27Z
albertvillanova
MEMBER
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2272
false
[ "This has been fixed in this commit: https://github.com/huggingface/datasets/pull/2254/commits/88676c930216cd4cc31741b99827b477d2b46cb6\r\n\r\nIt was introduced in #2246 : using map with `input_columns` doesn't return the other columns anymore" ]
869,002,141
2,271
Synchronize table metadata with features
closed
**Is your feature request related to a problem? Please describe.** As pointed out in this [comment](https://github.com/huggingface/datasets/pull/2145#discussion_r621326767): > Metadata stored in the schema is just a redundant information regarding the feature types. It is used when calling Dataset.from_file to kno...
true
2021-04-27T15:55:13Z
2022-06-01T17:13:21Z
2022-06-01T17:13:21Z
albertvillanova
MEMBER
null
null
1
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2271
false
[ "See PR #2274 " ]
868,913,660
2,270
Fix iterable interface expected by numpy
closed
Numpy expects the old iterable interface with `__getitem__` instead of `__iter__`.
true
2021-04-27T14:35:56Z
2021-04-28T17:39:27Z
2021-04-28T17:39:27Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2270
null
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2270
true
[ "It's been fixed in this commit: https://github.com/huggingface/datasets/commit/549110e08238b3716a5904667095fb003acda54e\r\n\r\nBasically #2246 broke querying an index with a simple iterable.\r\nWith the fix, it's again possible to use iterables and we can keep RandIter as it is.\r\n\r\nClosing since the fix is alr...
868,878,468
2,269
Fix query table with iterable
closed
The benchmark runs are failing on master because it tries to use an iterable to query the dataset. However there's currently an issue caused by the use of `np.array` instead of `np.fromiter` on the iterable. This PR fixes it
true
2021-04-27T13:59:38Z
2021-04-27T14:21:57Z
2021-04-27T14:21:56Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2269
2021-04-27T14:21:56Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2269
true
[]
868,773,380
2,268
Don't use pyarrow 4.0.0 since it segfaults when casting a sliced ListArray of integers
closed
This test `tests/test_table.py::test_concatenation_table_cast` segfaults with the latest update of pyarrow 4.0.0. Setting `pyarrow<4.0.0` for now. I'll open an issue on JIRA once I know more about the origin of the issue
true
2021-04-27T11:58:28Z
2021-06-12T12:44:49Z
2021-04-27T13:43:20Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2268
2021-04-27T13:43:20Z
3
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/2268
true
[ "@lhoestq note that the segfault also occurs on Linux.", "Created the ticket at\r\nhttps://issues.apache.org/jira/browse/ARROW-12568", "@lhoestq the ticket you mentioned is now in state resolved. Pyarrow supports AArch64 after version 4.0.0. Because of this restriction `datasets` is not installing in AArch64 sy...
868,291,129
2,267
DatasetDict save load Failing test in 1.6 not in 1.5
open
## Describe the bug We have a test that saves a DatasetDict to disk and then loads it from disk. In 1.6 there is an incompatibility in the schema. Downgrading to `>1.6` -- fixes the problem. ## Steps to reproduce the bug ```python ### Load a dataset dict from jsonl path = '/test/foo' ds_dict.s...
true
2021-04-27T00:03:25Z
2021-05-28T15:27:34Z
null
timothyjlaurent
NONE
null
null
6
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2267
false
[ "Thanks for reporting ! We're looking into it", "I'm not able to reproduce this, do you think you can provide a code that creates a DatasetDict that has this issue when saving and reloading ?", "Hi, I just ran into a similar error. Here is the minimal code to reproduce:\r\n```python\r\nfrom datasets import load...
867,864,353
2,266
Make tests run faster
closed
From 7min to 2min to run pytest. Ideally we should keep the whole CI run time below 10min. In this PR I removed the remote tests that were never used. I also replaced nested parametrized tests with unit tests. This makes me think that we could still add more high level tests to check for a few combinations of par...
true
2021-04-26T15:55:40Z
2021-04-29T10:00:13Z
2021-04-29T10:00:04Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2266
2021-04-29T10:00:04Z
3
2
0
2
false
false
[]
https://github.com/huggingface/datasets/pull/2266
true
[ "LOL, I was also working on something similar 😅. I'm gonna have a look!!!", "Sorry I didn't know you were also working on it ^^'\r\nAnd yes I 100% agree with you on the points you mentioned. We should definitely improve the coverage. It would be nice to have a clearer separation to know which tests in the suite ...
867,490,646
2,265
Update black
closed
Latest black version 21.4b0 requires to reformat most dataset scripts and also the core code of the lib. This makes the CI currently fail on master
true
2021-04-26T09:35:09Z
2021-04-26T09:47:48Z
2021-04-26T09:47:47Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2265
2021-04-26T09:47:47Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2265
true
[]
867,476,228
2,264
Fix memory issue in multiprocessing: Don't pickle table index
closed
The table index is currently being pickled when doing multiprocessing, which brings all the record batches of the dataset in memory. I fixed that by not pickling the index attributes. Therefore each process has to rebuild the index when unpickling the table. Fix issue #2256 We'll do a patch release asap !
true
2021-04-26T09:21:35Z
2021-04-26T10:30:28Z
2021-04-26T10:08:14Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2264
2021-04-26T10:08:14Z
5
2
2
0
false
false
[]
https://github.com/huggingface/datasets/pull/2264
true
[ "The code quality check is going to be fixed by #2265 ", "The memory issue didn't come from `self.__dict__.copy()` but from the fact that this dict contains `_batches` which has all the batches of the table in it.\r\nTherefore for a MemoryMappedTable all the data in `_batches` were copied in memory when pickling ...
867,420,912
2,263
test data added, dataset_infos updated
closed
Fixes #2262. Thanks for pointing out issue with dataset @jinmang2!
true
2021-04-26T08:27:18Z
2021-04-29T09:30:21Z
2021-04-29T09:30:20Z
bhavitvyamalik
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2263
2021-04-29T09:30:20Z
0
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/2263
true
[]
867,325,351
2,262
NewsPH NLI dataset script fails to access test data.
closed
In Newsph-NLI Dataset (#1192), it fails to access test data. According to the script below, the download manager will download the train data when trying to download the test data. https://github.com/huggingface/datasets/blob/2a2dd6316af2cc7fdf24e4779312e8ee0c7ed98b/datasets/newsph_nli/newsph_nli.py#L71 If yo...
true
2021-04-26T06:44:41Z
2021-04-29T09:32:03Z
2021-04-29T09:30:20Z
jinmang2
NONE
null
null
1
0
0
0
null
false
[ "dataset bug" ]
https://github.com/huggingface/datasets/issues/2262
false
[ "Thanks @bhavitvyamalik for the fix !\r\nThe fix will be available in the next release.\r\nIt's already available on the `master` branch. For now you can either install `datasets` from source or use `script_version=\"master\"` in `load_dataset` to use the fixed version of this dataset." ]
867,088,818
2,261
Improve ReadInstruction logic and update docs
closed
Improve ReadInstruction logic and docs.
true
2021-04-25T19:07:26Z
2021-05-17T18:24:44Z
2021-05-17T16:48:57Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/2261
2021-05-17T16:48:57Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2261
true
[ "Ready for the final review" ]
866,961,697
2,260
GooAQ dataset added
closed
@lhoestq here the dataset is stored with Git LFS. Should I add option for manual downloading of dataset using `git lfs pull` post repo cloning or can we accommodate this in the current `download_and_extract`?
true
2021-04-25T09:26:48Z
2021-05-07T08:36:17Z
2021-05-07T08:36:17Z
bhavitvyamalik
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2260
2021-05-07T08:36:17Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2260
true
[ "Thanks for adding this one !\r\nThe download manager does support downloading files on git lfs via their github url. No need for a manual download option ;)" ]
866,880,092
2,259
Add support for Split.ALL
closed
The title says it all.
true
2021-04-25T01:45:42Z
2021-06-28T08:21:27Z
2021-06-28T08:21:27Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/2259
2021-06-28T08:21:27Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2259
true
[ "Honestly, I think we should fix some other issues in Split API before this change. E. g. currently the following will not work, even though it should:\r\n```python\r\nimport datasets\r\ndatasets.load_dataset(\"sst\", split=datasets.Split.TRAIN+datasets.Split.TEST) # AssertionError\r\n```\r\n\r\nEDIT:\r\nActually,...
866,870,588
2,258
Fix incorrect update_metadata_with_features calls in ArrowDataset
closed
Fixes bugs in the `unpdate_metadata_with_features` calls (caused by changes in #2151)
true
2021-04-25T00:48:38Z
2021-04-26T17:16:30Z
2021-04-26T16:54:04Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/2258
2021-04-26T16:54:04Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2258
true
[ "@lhoestq Maybe a test that runs the functions that call `update_metadata_with_features` and checks if metadata was updated would be nice to prevent this from happening in the future." ]
866,755,203
2,257
added metrics for CUAD
closed
For now I've added F1, AUPR, Precision at 80% recall, and Precision at 90%. Last 3 metrics were reported in the [paper](https://arxiv.org/pdf/2103.06268.pdf). Please let me know if we require `exact_match` metric too here
true
2021-04-24T14:09:54Z
2021-04-29T09:53:38Z
2021-04-27T16:16:32Z
bhavitvyamalik
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2257
null
3
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/2257
true
[ "> For now I've added F1, AUPR, Precision at 80% recall, and Precision at 90%. Last 3 metrics were reported in the [paper](https://arxiv.org/pdf/2103.06268.pdf). Please let me know if we require `exact_match` metric too here\r\n\r\n@bhavitvyamalik I guess the mentioned metrics are enough but it would be better if ...
866,708,609
2,256
Running `datase.map` with `num_proc > 1` uses a lot of memory
closed
## Describe the bug Running `datase.map` with `num_proc > 1` leads to a tremendous memory usage that requires swapping on disk and it becomes very slow. ## Steps to reproduce the bug ```python from datasets import load_dataset dstc8_datset = load_dataset("roskoN/dstc8-reddit-corpus", keep_in_memory=False) ...
true
2021-04-24T09:56:20Z
2021-04-26T17:12:15Z
2021-04-26T17:12:15Z
roskoN
NONE
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2256
false
[ "Thanks for reporting ! We are working on this and we'll do a patch release very soon.", "We did a patch release to fix this issue.\r\nIt should be fixed in the new version 1.6.1\r\n\r\nThanks again for reporting and for the details :)" ]
866,242,892
2,255
Task casting for text classification & question answering
closed
This PR implements task preparation for a given task, in the continuation of #2143 Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines Edit by @lewtun: This PR implements support for the following tasks: * `text-clas...
true
2021-04-23T16:00:41Z
2021-05-18T13:31:36Z
2021-05-18T13:31:35Z
SBrandeis
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2255
2021-05-18T13:31:35Z
15
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2255
true
[ "cc @abhi1thakur ", "Looks really nice so far, thanks !\r\nMaybe if a dataset doesn't have a template for a specific task we could try the default template of this task ?", "hey @SBrandeis @lhoestq,\r\n\r\ni now have a better idea about what you guys are trying to achieve with the task templates and have a few ...
866,169,312
2,254
Update format, fingerprint and indices after add_item
closed
Added fingerprint and format update wrappers + update the indices by adding the index of the newly added item in the table.
true
2021-04-23T14:31:49Z
2021-04-27T16:30:49Z
2021-04-27T16:30:48Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2254
2021-04-27T16:30:48Z
1
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/2254
true
[ "I renamed the variable, added a test for dataset._indices and fixed an issue with class_encode_column" ]
866,034,321
2,253
Perform minor refactoring: use config
closed
Perform minor refactoring related to `config`.
true
2021-04-23T11:45:47Z
2021-05-27T09:12:45Z
2021-04-27T15:02:59Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2253
2021-04-27T15:02:58Z
4
0
0
0
false
false
[ "refactoring" ]
https://github.com/huggingface/datasets/pull/2253
true
[ "@lhoestq is there a problem in the master branch? I got a segmentation fault...\r\n```\r\ntests/test_table.py::test_concatenation_table_cast[in_memory] Fatal Python error: Segmentation fault\r\n```", "Oh wow. Let me re-run the CI just to make sure", "Hmm interesting, the segfault is still there. I'm investigat...
865,870,710
2,252
Slow dataloading with big datasets issue persists
closed
Hi, I reported too slow data fetching when data is large(#2210) a couple of weeks ago, and @lhoestq referred me to the fix (#2122). However, the problem seems to persist. Here is the profiled results: 1) Running with 60GB ``` Action | Mean duration (s) |Num calls | Total ...
true
2021-04-23T08:18:20Z
2024-01-26T15:10:28Z
2024-01-26T15:10:28Z
hwijeen
NONE
null
null
70
9
5
0
null
false
[]
https://github.com/huggingface/datasets/issues/2252
false
[ "Hi ! Sorry to hear that. This may come from another issue then.\r\n\r\nFirst can we check if this latency comes from the dataset itself ?\r\nYou can try to load your dataset and benchmark the speed of querying random examples inside it ?\r\n```python\r\nimport time\r\nimport numpy as np\r\n\r\nfrom datasets import...
865,848,705
2,251
while running run_qa.py, ran into a value error
open
command: python3 run_qa.py --model_name_or_path hyunwoongko/kobart --dataset_name squad_kor_v2 --do_train --do_eval --per_device_train_batch_size 8 --learning_rate 3e-5 --num_train_epochs 3 --max_seq_length 512 --doc_stride 128 --output_dir /tmp/debug_squad/ error: ValueError: External fe...
true
2021-04-23T07:51:03Z
2021-04-23T07:51:03Z
null
nlee0212
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/2251
false
[]
865,402,449
2,250
some issue in loading local txt file as Dataset for run_mlm.py
closed
![image](https://user-images.githubusercontent.com/14968123/115773877-18cef300-a3c6-11eb-8e58-a9cbfd1001ec.png) first of all, I tried to load 3 .txt files as a dataset (sure that the directory and permission is OK.), I face with the below error. > FileNotFoundError: [Errno 2] No such file or directory: 'c' by ...
true
2021-04-22T19:39:13Z
2022-03-30T08:29:47Z
2022-03-30T08:29:47Z
alighofrani95
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/2250
false
[ "Hi,\r\n\r\n1. try\r\n ```python\r\n dataset = load_dataset(\"text\", data_files={\"train\": [\"a1.txt\", \"b1.txt\"], \"test\": [\"c1.txt\"]})\r\n ```\r\n instead.\r\n\r\n Sadly, I can't reproduce the error on my machine. If the above code doesn't resolve the issue, try to update the library to the ...
865,257,826
2,249
Allow downloading/processing/caching only specific splits
open
Allow downloading/processing/caching only specific splits without downloading/processing/caching the other splits. This PR implements two steps to handle only specific splits: - it allows processing/caching only specific splits into Arrow files - for some simple cases, it allows downloading only specific splits (w...
true
2021-04-22T17:51:44Z
2022-07-06T15:19:48Z
null
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2249
null
2
1
1
0
false
false
[ "enhancement" ]
https://github.com/huggingface/datasets/pull/2249
true
[ "> If you pass a dictionary like this:\r\n> \r\n> ```\r\n> {\"main_metadata\": url_to_main_data,\r\n> \"secondary_metadata\": url_to_sec_data,\r\n> \"train\": url_train_data,\r\n> \"test\": url_test_data}\r\n> ```\r\n> \r\n> then only the train or test keys will be kept, which I feel not intuitive.\r\n> \r\n> For e...
864,853,447
2,248
Implement Dataset to JSON
closed
Implement `Dataset.to_json`.
true
2021-04-22T11:46:51Z
2021-04-27T15:29:21Z
2021-04-27T15:29:20Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2248
2021-04-27T15:29:20Z
0
0
0
0
false
false
[ "enhancement" ]
https://github.com/huggingface/datasets/pull/2248
true
[]
864,817,520
2,247
Implement Dataset from Parquet
closed
Implement instantiation of Dataset from Parquet file.
true
2021-04-22T11:01:38Z
2021-07-26T13:28:52Z
2021-07-26T13:28:51Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2247
null
2
0
0
0
false
false
[ "enhancement" ]
https://github.com/huggingface/datasets/pull/2247
true
[ "Hi @albertvillanova , I'll implement the parquet builder as an ArrowBasedBuilder if you don't mind", "closing in favor of #2537 that is already merged" ]
864,220,031
2,246
Faster map w/ input_columns & faster slicing w/ Iterable keys
closed
@lhoestq Fixes #2193 - `map` now uses `with_format` to only load needed columns in memory when `input_columns` is set - Slicing datasets with Iterables of indices now uses a new `Table.fast_gather` method, implemented with `np.searchsorted`, to find the appropriate batch indices all at once. `pa.concat_tables` is ...
true
2021-04-21T19:49:07Z
2021-04-26T16:13:59Z
2021-04-26T16:13:59Z
norabelrose
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2246
2021-04-26T16:13:58Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2246
true
[ "@lhoestq Just fixed the code style issues— I think it should be good to merge now :)" ]
863,191,655
2,245
Add `key` type and duplicates verification with hashing
closed
Closes #2230 There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`. This PR is currently a work in progress with the following goals: - [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash - [x]...
true
2021-04-20T20:03:19Z
2021-05-10T18:04:37Z
2021-05-10T17:31:22Z
NikhilBartwal
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2245
2021-05-10T17:31:21Z
17
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2245
true
[ "@lhoestq The tests for key type and duplicate keys have been added and verified successfully.\r\nAfter generating with an intentionally faulty `mnist` script, when there is an incompatible key type, it shows:\r\n\r\n```\r\nDownloading and preparing dataset mnist/mnist (download: 11.06 MiB, generated: 60.62 MiB, po...
863,029,946
2,244
Set specific cache directories per test function call
open
Implement specific cache directories (datasets, metrics and modules) per test function call. Currently, the cache directories are set within the temporary test directory, but they are shared across all test function calls. This PR implements specific cache directories for each test function call, so that tests ar...
true
2021-04-20T17:06:22Z
2022-07-06T15:19:48Z
null
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2244
null
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2244
true
[ "@lhoestq, I think this reaches some memory limit on Linux instances... (?)", "It looks like the `comet` metric test fails because it tries to load a model in memory.\r\nIn the tests I think we have `patch_comet` that mocks the model download + inference. Not sure why it didn't work though.\r\nI can take a look t...
862,909,389
2,243
Map is slow and processes batches one after another
closed
## Describe the bug I have a somewhat unclear bug to me, where I can't figure out what the problem is. The code works as expected on a small subset of my dataset (2000 samples) on my local machine, but when I execute the same code with a larger dataset (1.4 million samples) this problem occurs. Thats why I can't giv...
true
2021-04-20T14:58:20Z
2021-05-03T17:54:33Z
2021-05-03T17:54:32Z
villmow
NONE
null
null
5
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2243
false
[ "Hi @villmow, thanks for reporting.\r\n\r\nCould you please try with the Datasets version 1.6? We released it yesterday and it fixes some issues about the processing speed. You can see the fix implemented by @lhoestq here: #2122.\r\n\r\nOnce you update Datasets, please confirm if the problem persists.", "Hi @albe...
862,870,205
2,242
Link to datasets viwer on Quick Tour page returns "502 Bad Gateway"
closed
Link to datasets viwer (https://huggingface.co/datasets/viewer/) on Quick Tour page (https://huggingface.co/docs/datasets/quicktour.html) returns "502 Bad Gateway" The same error with https://huggingface.co/datasets/viewer/?dataset=glue&config=mrpc
true
2021-04-20T14:19:51Z
2021-04-20T15:02:45Z
2021-04-20T15:02:45Z
martavillegas
NONE
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2242
false
[ "This should be fixed now!\r\n\r\ncc @srush " ]
862,696,460
2,241
Add SLR32 to OpenSLR
closed
I would like to add SLR32 to OpenSLR. It contains four South African languages: Afrikaans, Sesotho, Setswana and isiXhosa
true
2021-04-20T11:02:45Z
2021-04-23T16:21:24Z
2021-04-23T15:36:15Z
cahya-wirawan
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2241
2021-04-23T15:36:15Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2241
true
[ "> And yet another one ! Thanks a lot :)\r\n\r\nI just hope you don’t get fed up with openslr PR 😊 there are still few other datasets created by google in openslr that is not in hf dataset yet\r\n" ]
862,537,856
2,240
Clarify how to load wikihow
closed
Explain clearer how to load the dataset in the manual download instructions. En relation with #2239.
true
2021-04-20T08:02:58Z
2021-04-21T09:54:57Z
2021-04-21T09:54:57Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2240
2021-04-21T09:54:57Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2240
true
[]
861,904,306
2,239
Error loading wikihow dataset
closed
## Describe the bug When attempting to load wikihow into a dataset with ```python from datasets import load_dataset dataset = load_dataset('wikihow', data_dir='./wikihow') ``` I get the message: ``` AttributeError: 'BuilderConfig' object has no attribute 'filename' ``` at the end of a [full stack trace](htt...
true
2021-04-19T21:02:31Z
2021-04-20T16:33:11Z
2021-04-20T16:33:11Z
odellus
CONTRIBUTOR
null
null
4
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2239
false
[ "Hi @odellus, thanks for reporting.\r\n\r\nThe `wikihow` dataset has 2 versions:\r\n- `all`: Consisting of the concatenation of all paragraphs as the articles and the bold lines as the reference summaries.\r\n- `sep`: Consisting of each paragraph and its summary.\r\n\r\nTherefore, in order to load it, you have to s...
861,518,291
2,238
NLU evaluation data
closed
New intent classification dataset from https://github.com/xliuhw/NLU-Evaluation-Data
true
2021-04-19T16:47:20Z
2021-04-23T15:32:05Z
2021-04-23T15:32:05Z
dkajtoch
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2238
2021-04-23T15:32:05Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2238
true
[]
861,427,439
2,237
Update Dataset.dataset_size after transformed with map
open
After loading a dataset, if we transform it by using `.map` its `dataset_size` attirbute is not updated.
true
2021-04-19T15:19:38Z
2021-04-20T14:22:05Z
null
albertvillanova
MEMBER
null
null
1
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2237
false
[ "@albertvillanova I would like to take this up. It would be great if you could point me as to how the dataset size is calculated in HF. Thanks!" ]
861,388,145
2,236
Request to add StrategyQA dataset
open
## Request to add StrategyQA dataset - **Name:** StrategyQA - **Description:** open-domain QA [(project page)](https://allenai.org/data/strategyqa) - **Paper:** [url](https://arxiv.org/pdf/2101.02235.pdf) - **Data:** [here](https://allenai.org/data/strategyqa) - **Motivation:** uniquely-formulated dataset that als...
true
2021-04-19T14:46:26Z
2021-04-19T14:46:26Z
null
sarahwie
NONE
null
null
0
2
2
0
null
false
[ "dataset request" ]
https://github.com/huggingface/datasets/issues/2236
false
[]
861,040,716
2,235
Update README.md
closed
Adding relevant citations (paper accepted at AAAI 2020 & EMNLP 2020) to the benchmark
true
2021-04-19T08:21:02Z
2021-04-19T12:49:19Z
2021-04-19T12:49:19Z
PierreColombo
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2235
2021-04-19T12:49:19Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2235
true
[]
860,442,246
2,234
Fix bash snippet formatting in ADD_NEW_DATASET.md
closed
This PR indents the paragraphs around the bash snippets in ADD_NEW_DATASET.md to fix formatting.
true
2021-04-17T16:01:08Z
2021-04-19T10:57:31Z
2021-04-19T07:51:36Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/2234
2021-04-19T07:51:36Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2234
true
[]
860,097,084
2,233
Fix `xnli` dataset tuple key
closed
Closes #2229 The `xnli` dataset yields a tuple key in case of `ar` which is inconsistant with the acceptable key types (str/int). The key was thus ported to `str` keeping the original information intact.
true
2021-04-16T19:12:42Z
2021-04-19T08:56:42Z
2021-04-19T08:56:42Z
NikhilBartwal
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2233
2021-04-19T08:56:42Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2233
true
[]
860,075,931
2,232
Start filling GLUE dataset card
closed
The dataset card was pretty much empty. I added the descriptions (mainly from TFDS since the script is the same), and I also added the tasks tags as well as examples for a subset of the tasks. cc @sgugger
true
2021-04-16T18:37:37Z
2021-04-21T09:33:09Z
2021-04-21T09:33:08Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2232
2021-04-21T09:33:08Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2232
true
[ "I replaced all the \"we\" and applied your suggestion", "Merging this for now, we can continue improving this card in other PRs :)" ]
859,850,488
2,231
Fix map when removing columns on a formatted dataset
closed
This should fix issue #2226 The `remove_columns` argument was ignored on formatted datasets
true
2021-04-16T14:08:55Z
2021-04-16T15:10:05Z
2021-04-16T15:10:04Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2231
2021-04-16T15:10:04Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2231
true
[]
859,817,159
2,230
Keys yielded while generating dataset are not being checked
closed
The keys used in the dataset generation script to ensure the same order is generated on every user's end should be checked for their types (i.e either `str` or `int`) as well as whether they are unique or not. Currently, the keys are not being checked for any of these, as evident from `xnli' dataset generation: https...
true
2021-04-16T13:29:47Z
2021-05-10T17:31:21Z
2021-05-10T17:31:21Z
NikhilBartwal
CONTRIBUTOR
null
null
9
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2230
false
[ "Hi ! Indeed there's no verification on the uniqueness nor the types of the keys.\r\nDo you already have some ideas of what you would like to implement and how ?", "Hey @lhoestq, thank you so much for the opportunity.\r\nAlthough I haven't had much experience with the HF Datasets code, after a careful look at how...
859,810,602
2,229
`xnli` dataset creating a tuple key while yielding instead of `str` or `int`
closed
When using `ds = datasets.load_dataset('xnli', 'ar')`, the dataset generation script uses the following section of code in the egging, which yields a tuple key instead of the specified `str` or `int` key: https://github.com/huggingface/datasets/blob/56346791aed417306d054d89bd693d6b7eab17f7/datasets/xnli/xnli.py#L196 ...
true
2021-04-16T13:21:53Z
2021-04-19T08:56:42Z
2021-04-19T08:56:42Z
NikhilBartwal
CONTRIBUTOR
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/2229
false
[ "Hi ! Sure sounds good. Also if you find other datasets that use tuples instead of str/int, you can also fix them !\r\nthanks :)", "@lhoestq I have sent a PR for fixing the issue. Would be great if you could have a look! Thanks!" ]
859,795,563
2,228
[WIP] Add ArrayXD support for fixed size list.
open
Add support for fixed size list for ArrayXD when shape is known . See https://github.com/huggingface/datasets/issues/2146 Since offset are not stored anymore, the file size is now roughly equal to the actual data size.
true
2021-04-16T13:04:08Z
2022-07-06T15:19:48Z
null
jblemoine
NONE
https://github.com/huggingface/datasets/pull/2228
null
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2228
true
[ "Awesome thanks ! To fix the CI you just need to merge master into your branch.\r\nThe error is unrelated to your PR" ]
859,771,526
2,227
Use update_metadata_with_features decorator in class_encode_column method
closed
Following @mariosasko 's comment
true
2021-04-16T12:31:41Z
2021-04-16T13:49:40Z
2021-04-16T13:49:39Z
SBrandeis
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2227
2021-04-16T13:49:39Z
0
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/2227
true
[]
859,720,302
2,226
Batched map fails when removing all columns
closed
Hi @lhoestq , I'm hijacking this issue, because I'm currently trying to do the approach you recommend: > Currently the optimal setup for single-column computations is probably to do something like > > ```python > result = dataset.map(f, input_columns="my_col", remove_columns=dataset.column_names) > ``` He...
true
2021-04-16T11:17:01Z
2022-10-05T17:32:15Z
2022-10-05T17:32:15Z
villmow
NONE
null
null
3
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2226
false
[ "I found the problem. I called `set_format` on some columns before. This makes it crash. Here is a complete example to reproduce:\r\n\r\n```python\r\nfrom datasets import load_dataset\r\nsst = load_dataset(\"sst\")\r\nsst.set_format(\"torch\", columns=[\"label\"], output_all_columns=True)\r\nds = sst[\"train\"]\r\n...
858,469,561
2,225
fixed one instance of 'train' to 'test'
closed
I believe this should be 'test' instead of 'train'
true
2021-04-15T04:26:40Z
2021-04-15T22:09:50Z
2021-04-15T21:19:09Z
alexwdong
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2225
2021-04-15T21:19:09Z
2
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/2225
true
[ "Thanks ! good catch\r\n\r\nCould you also update the metadata of this dataset ?\r\nYou can do so by running\r\n```\r\ndatasets-cli test ./datasets/newsgroup --all_configs --save_infos --ignore_verifications\r\n```\r\nThis should update the dataset_infos.json file that contains the size of all the splits for exampl...
857,983,361
2,224
Raise error if Windows max path length is not disabled
open
On startup, raise an error if Windows max path length is not disabled; ask the user to disable it. Linked to discussion in #2220.
true
2021-04-14T14:57:20Z
2021-04-14T14:59:13Z
null
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/2224
false
[]
857,870,800
2,223
Set test cache config
closed
Currently, running the tests populates the default cache directory `"~/.cache"`. This PR monkey-patches the config to set the cache directory within the temporary test directory, avoiding side effects.
true
2021-04-14T12:55:24Z
2021-04-15T19:11:25Z
2021-04-15T19:11:25Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2223
2021-04-15T19:11:25Z
5
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2223
true
[ "> why a cache dir per test function does not work?\r\n\r\nProbably because we end up with multiple `datasets_module` in the python path. This breaks the import of all the datasets/metrics modules.\r\nIf you want to use one modules cache per test, you may need remove the `datasets_module` that was added to the pyt...
857,847,231
2,222
Fix too long WindowsFileLock name
closed
Fix WindowsFileLock name longer than allowed MAX_PATH by shortening the basename.
true
2021-04-14T12:26:52Z
2021-04-14T15:00:25Z
2021-04-14T14:46:19Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2222
null
3
0
0
0
false
false
[ "wontfix" ]
https://github.com/huggingface/datasets/pull/2222
true
[ "Windows users should disable the max path length limit. It's a nightmare to handle it.\r\nAlso the lock path must not be changed in a random way. Otherwise from another process the lock path might not be the same and the locking mechanism won't work.", "Do you agree with handling the case where MAX_PATH is not d...
857,833,770
2,221
Add SLR70 - SLR80 and SLR86 to OpenSLR dataset
closed
I would like to add SLR70, SLR71, SLR72, SLR73, SLR74, SLR75, SLR76, SLR77, SLR78, SLR79, SLR80 and SLR86 to OpenSLR dataset. The languages are: Nigerian English, Chilean Spanish, Columbian Spanish, Peruvian Spanish, Puerto Rico Spanish, Venezuelan Spanish, Basque, Galician, Gujarati and Kannada.
true
2021-04-14T12:09:18Z
2021-04-14T13:50:19Z
2021-04-14T13:50:19Z
cahya-wirawan
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2221
2021-04-14T13:50:19Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2221
true
[]
857,774,626
2,220
Fix infinite loop in WindowsFileLock
closed
Raise exception to avoid infinite loop.
true
2021-04-14T10:49:58Z
2021-04-14T14:59:50Z
2021-04-14T14:59:34Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2220
null
4
0
0
0
false
false
[ "wontfix" ]
https://github.com/huggingface/datasets/pull/2220
true
[ "How is it possible to get an infinite loop ? Can you add more details ?", "Yes, in Windows, if the filename is too long, a `FileNotFoundError` is raised. The exception should be raised in this case. Otherwise, we get into an infinite loop.\r\n\r\nIf other process has the file locked, then `PermissionError` is ra...
857,321,242
2,219
Added CUAD dataset
closed
Dataset link : https://github.com/TheAtticusProject/cuad/ Working on README.md currently. Closes #2084 and [#1](https://github.com/TheAtticusProject/cuad/issues/1).
true
2021-04-13T21:05:03Z
2021-04-24T14:25:51Z
2021-04-16T08:50:44Z
bhavitvyamalik
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2219
2021-04-16T08:50:44Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2219
true
[ "1) Changed the language in a few places apart from those you mentioned in README\r\n2) Reduced the size of dummy data folder by removing all other entries except the first\r\n3) Updated YAML tags by using to the past version of `datasets-tagging` app. Will update the quick fix on that repository too in a while", ...
857,238,435
2,218
Duplicates in the LAMA dataset
open
I observed duplicates in the LAMA probing dataset, see a minimal code below. ``` >>> import datasets >>> dataset = datasets.load_dataset('lama') No config specified, defaulting to: lama/trex Reusing dataset lama (/home/anam/.cache/huggingface/datasets/lama/trex/1.1.0/97deffae13eca0a18e77dfb3960bb31741e973586f5c...
true
2021-04-13T18:59:49Z
2021-04-14T21:42:27Z
null
amarasovic
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/2218
false
[ "Hi,\r\n\r\ncurrently the datasets API doesn't have a dedicated function to remove duplicate rows, but since the LAMA dataset is not too big (it fits in RAM), we can leverage pandas to help us remove duplicates:\r\n```python\r\n>>> from datasets import load_dataset, Dataset\r\n>>> dataset = load_dataset('lama', spl...
857,011,314
2,217
Revert breaking change in cache_files property
closed
#2025 changed the format of `Dataset.cache_files`. Before it was formatted like ```python [{"filename": "path/to/file.arrow", "start": 0, "end": 1337}] ``` and it was changed to ```python ["path/to/file.arrow"] ``` since there's no start/end offsets available anymore. To make this less breaking, I'm setting...
true
2021-04-13T14:20:04Z
2021-04-14T14:24:24Z
2021-04-14T14:24:23Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2217
2021-04-14T14:24:23Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2217
true
[]
856,955,534
2,216
added real label for glue/mrpc to test set
closed
Added real label to `glue.py` `mrpc` task for test split.
true
2021-04-13T13:20:20Z
2021-04-13T13:53:20Z
2021-04-13T13:53:19Z
philschmid
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2216
2021-04-13T13:53:19Z
0
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/2216
true
[]
856,716,791
2,215
Add datasets SLR35 and SLR36 to OpenSLR
closed
I would like to add [SLR35](https://openslr.org/35/) (18GB) and [SLR36](https://openslr.org/36/) (22GB) which are Large Javanese and Sundanese ASR training data set collected by Google in collaboration with Reykjavik University and Universitas Gadjah Mada in Indonesia.
true
2021-04-13T08:24:07Z
2021-04-13T14:05:14Z
2021-04-13T14:05:14Z
cahya-wirawan
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2215
2021-04-13T14:05:14Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2215
true
[ "Hi @lhoestq,\r\nCould you please help me, I got this error message in all \"ci/circleci: run_dataset_script_tests_pyarrow*\" tests:\r\n```\r\n...\r\n \"\"\"Wrapper classes for various types of tokenization.\"\"\"\r\n \r\n from bleurt.lib import bert_tokenization\r\n import tensorflow.compat.v1 as tf\r\...
856,333,657
2,214
load_metric error: module 'datasets.utils.file_utils' has no attribute 'add_start_docstrings'
closed
I'm having the same problem as [Notebooks issue 10](https://github.com/huggingface/notebooks/issues/10) on datasets 1.2.1, and it seems to be an issue with the datasets package. ```python >>> from datasets import load_metric >>> metric = load_metric("glue", "sst2") Traceback (most recent call last): File "<std...
true
2021-04-12T20:26:01Z
2021-04-23T15:20:02Z
2021-04-23T15:20:02Z
nsaphra
NONE
null
null
4
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2214
false
[ "Hi @nsaphra, thanks for reporting.\r\n\r\nThis issue was fixed in `datasets` version 1.3.0. Could you please update `datasets` and tell me if the problem persists?\r\n```shell\r\npip install -U datasets\r\n```", "There might be a bug in the conda version of `datasets` 1.2.1 where the datasets/metric scripts are ...
856,025,320
2,213
Fix lc_quad download checksum
closed
Fixes #2211
true
2021-04-12T14:16:59Z
2021-04-14T22:04:54Z
2021-04-14T13:42:25Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/2213
2021-04-14T13:42:25Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2213
true
[]
855,999,133
2,212
Can't reach "https://storage.googleapis.com/illuin/fquad/train.json.zip" when trying to load fquad dataset
closed
I'm trying to load the [fquad dataset](https://huggingface.co/datasets/fquad) by running: ```Python fquad = load_dataset("fquad") ``` which produces the following error: ``` Using custom data configuration default Downloading and preparing dataset fquad/default (download: 3.14 MiB, generated: 6.62 MiB, ...
true
2021-04-12T13:49:56Z
2023-10-03T16:09:19Z
2023-10-03T16:09:18Z
hanss0n
NONE
null
null
5
1
1
0
null
false
[]
https://github.com/huggingface/datasets/issues/2212
false
[ "Hi ! Apparently the data are not available from this url anymore. We'll replace it with the new url when it's available", "I saw this on their website when we request to download the dataset:\r\n![image](https://user-images.githubusercontent.com/19718818/114879600-fa458680-9e1e-11eb-9e05-f0963d68ff0f.png)\r\n\r\...
855,988,410
2,211
Getting checksum error when trying to load lc_quad dataset
closed
I'm having issues loading the [lc_quad](https://huggingface.co/datasets/fquad) dataset by running: ```Python lc_quad = load_dataset("lc_quad") ``` which is giving me the following error: ``` Using custom data configuration default Downloading and preparing dataset lc_quad/default (download: 3.69 MiB, ge...
true
2021-04-12T13:38:58Z
2021-04-14T13:42:25Z
2021-04-14T13:42:25Z
hanss0n
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/2211
false
[ "Hi,\r\n\r\nI've already opened a PR with the fix. If you are in a hurry, just build the project from source and run:\r\n```bash\r\ndatasets-cli test datasets/lc_quad --save_infos --all_configs --ignore_verifications\r\n```\r\n\r\n", "Ah sorry, I tried searching but couldn't find any related PR. \r\n\r\nThank you...
855,709,400
2,210
dataloading slow when using HUGE dataset
closed
Hi, When I use datasets with 600GB data, the dataloading speed increases significantly. I am experimenting with two datasets, and one is about 60GB and the other 600GB. Simply speaking, my code uses `datasets.set_format("torch")` function and let pytorch-lightning handle ddp training. When looking at the pytorch...
true
2021-04-12T08:33:02Z
2021-04-13T02:03:05Z
2021-04-13T02:03:05Z
hwijeen
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/2210
false
[ "Hi ! Yes this is an issue with `datasets<=1.5.0`\r\nThis issue has been fixed by #2122 , we'll do a new release soon :)\r\nFor now you can test it on the `master` branch.", "Hi, thank you for your answer. I did not realize that my issue stems from the same problem. " ]
855,638,232
2,209
Add code of conduct to the project
closed
Add code of conduct to the project and link it from README and CONTRIBUTING. This was already done in `transformers`.
true
2021-04-12T07:16:14Z
2021-04-12T17:55:52Z
2021-04-12T17:55:52Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2209
2021-04-12T17:55:52Z
0
0
0
0
false
false
[ "documentation" ]
https://github.com/huggingface/datasets/pull/2209
true
[]
855,343,835
2,208
Remove Python2 leftovers
closed
This PR removes Python2 leftovers since this project aims for Python3.6+ (and as of 2020 Python2 is no longer officially supported)
true
2021-04-11T16:08:03Z
2021-04-14T22:05:36Z
2021-04-14T13:40:51Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/2208
2021-04-14T13:40:50Z
1
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/2208
true
[ "merging since the CI is fixed on master" ]
855,267,383
2,207
making labels consistent across the datasets
closed
Hi For accessing the labels one can type ``` >>> a.features['label'] ClassLabel(num_classes=3, names=['entailment', 'neutral', 'contradiction'], names_file=None, id=None) ``` The labels however are not consistent with the actual labels sometimes, for instance in case of XNLI, the actual labels are 0,1,2, but if ...
true
2021-04-11T10:03:56Z
2022-06-01T16:23:08Z
2022-06-01T16:21:10Z
dorost1234
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/2207
false
[ "Hi ! The ClassLabel feature type encodes the labels as integers.\r\nThe integer corresponds to the index of the label name in the `names` list of the ClassLabel.\r\nHere that means that the labels are 'entailment' (0), 'neutral' (1), 'contradiction' (2).\r\n\r\nYou can get the label names back by using `a.features...
855,252,415
2,206
Got pyarrow error when loading a dataset while adding special tokens into the tokenizer
closed
I added five more special tokens into the GPT2 tokenizer. But after that, when I try to pre-process the data using my previous code, I got an error shown below: Traceback (most recent call last): File "/home/xuyan/anaconda3/envs/convqa/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1687, in _map_sin...
true
2021-04-11T08:40:09Z
2021-11-10T12:18:30Z
2021-11-10T12:04:28Z
yana-xuyan
NONE
null
null
7
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2206
false
[ "Hi,\r\n\r\nthe output of the tokenizers is treated specially in the lib to optimize the dataset size (see the code [here](https://github.com/huggingface/datasets/blob/master/src/datasets/arrow_writer.py#L138-L141)). It looks like that one of the values in a dictionary returned by the tokenizer is out of the assume...
855,207,605
2,205
Updating citation information on LinCE readme
closed
Hi! I just updated the citation information in this PR. It had an additional bibtex from one of the datasets used in LinCE and then the LinCE bibtex. I removed the former and added a link that shows the full list of citations for each dataset. Thanks!
true
2021-04-11T03:18:05Z
2021-04-12T17:53:34Z
2021-04-12T17:53:34Z
gaguilar
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2205
2021-04-12T17:53:34Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2205
true
[]
855,144,431
2,204
Add configurable options to `seqeval` metric
closed
Fixes #2148 Adds options to use strict mode, different schemes of evaluation, sample weight and adjust zero_division behavior, if encountered. `seqeval` provides schemes as objects, hence dynamic import from string, to avoid making the user do the import (thanks to @albertvillanova for the `importlib` idea).
true
2021-04-10T19:58:19Z
2021-04-15T13:49:46Z
2021-04-15T13:49:46Z
marrodion
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2204
2021-04-15T13:49:46Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2204
true
[]
855,053,595
2,203
updated banking77 train and test data
closed
true
2021-04-10T12:10:10Z
2021-04-23T14:33:39Z
2021-04-23T14:33:39Z
hsali
NONE
https://github.com/huggingface/datasets/pull/2203
null
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2203
true
[ "Hi ! Can you add a description regarding this PR ? Why do you think we need to update the dummy data used to test the `banking77` dataset loading script ?", "Closing for inactivity. Feel free to re-open if you want to push this change" ]
854,501,109
2,202
Add classes GenerateMode, DownloadConfig and Version to the documentation
closed
Add documentation for classes `GenerateMode`, `DownloadConfig` and `Version`. Update the docstring of `load_dataset` to create cross-reference links to the classes. Related to #2187.
true
2021-04-09T12:58:19Z
2021-04-12T17:58:00Z
2021-04-12T17:57:59Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2202
2021-04-12T17:57:59Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2202
true
[]
854,499,563
2,201
Fix ArrowWriter overwriting features in ArrowBasedBuilder
closed
This should fix the issues with CSV loading experienced in #2153 and #2200. The CSV builder is an ArrowBasedBuilder that had an issue with its ArrowWriter used to write the arrow file from the csv data. The writer wasn't initialized with the features passed by the user. Therefore the writer was inferring the featur...
true
2021-04-09T12:56:19Z
2021-04-12T13:32:17Z
2021-04-12T13:32:16Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2201
2021-04-12T13:32:16Z
0
2
2
0
false
false
[]
https://github.com/huggingface/datasets/pull/2201
true
[]
854,449,656
2,200
_prepare_split will overwrite DatasetBuilder.info.features
closed
Hi, here is my issue: I initialized a Csv datasetbuilder with specific features: ``` def get_dataset_features(data_args): features = {} if data_args.text_features: features.update({text_feature: hf_features.Value("string") for text_feature in data_args.text_features.strip().split(",")}) if da...
true
2021-04-09T11:47:13Z
2021-06-04T10:37:35Z
2021-06-04T10:37:35Z
Gforky
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/2200
false
[ "Hi ! This might be related to #2153 \r\n\r\nYou're right the ArrowWriter should be initialized with `features=self.info.features` ! Good catch\r\nI'm opening a PR to fix this and also to figure out how it was not caught in the tests\r\n\r\nEDIT: opened #2201", "> Hi ! This might be related to #2153\r\n> \r\n> Yo...
854,417,318
2,199
Fix backward compatibility in Dataset.load_from_disk
closed
Fix backward compatibility when loading from disk an old dataset saved to disk with indices using key "_indices_data_files". Related to #2195.
true
2021-04-09T11:01:10Z
2021-04-09T15:57:05Z
2021-04-09T15:57:05Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2199
2021-04-09T15:57:05Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2199
true
[ "Hi @lhoestq, could you please check if this makes sense? Thanks.", "What about using `_indices_data_files` field in save_to_disk instead of `_indices_files` ?\r\nThis way future datasets can also be reloaded from older versions of the lib\r\n\r\n`_indices_files` was introduced in a recent PR and was not released...
854,357,481
2,198
added file_permission in load_dataset
closed
As discussed in #2065 I've added `file_permission` argument in `load_dataset`. Added mainly 2 things here: 1) Permission of downloaded datasets when converted to .arrow files can be changed with argument `file_permission` argument in `load_dataset` (default is 0o644 only) 2) Incase the user uses `map` later on t...
true
2021-04-09T09:39:06Z
2021-04-16T14:11:46Z
2021-04-16T14:11:46Z
bhavitvyamalik
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2198
null
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2198
true
[ "From offline discussions: we want to make the permissions handling consistent with `transformers`. However from discussion in https://github.com/huggingface/transformers/pull/11119 it looks like it might not be a good solution to provide this argument. Users should use umask for now, and we'll see how things evol...
854,356,559
2,197
fix missing indices_files in load_form_disk
closed
This should fix #2195 `load_from_disk` was failing if there was no "_indices_files" field in state.json. This can happen if the dataset has no indices mapping
true
2021-04-09T09:37:57Z
2021-04-09T09:54:40Z
2021-04-09T09:54:39Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2197
2021-04-09T09:54:39Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2197
true
[]