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
655,023,307
375
TypeError when computing bertscore
closed
Hi, I installed nlp 0.3.0 via pip, and my python version is 3.7. When I tried to compute bertscore with the code: ``` import nlp bertscore = nlp.load_metric('bertscore') # load hyps and refs ... print (bertscore.compute(hyps, refs, lang='en')) ``` I got the following error. ``` Traceback (most rece...
true
2020-07-10T20:37:44Z
2022-06-01T15:15:59Z
2022-06-01T15:15:59Z
willywsm1013
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/375
false
[ "I am not able to reproduce this issue on my side.\r\nCould you give us more details about the inputs you used ?\r\n\r\nI do get another error though:\r\n```\r\n~/.virtualenvs/hf-datasets/lib/python3.7/site-packages/bert_score/utils.py in bert_cos_score_idf(model, refs, hyps, tokenizer, idf_dict, verbose, batch_siz...
654,895,066
374
Add dataset post processing for faiss indexes
closed
# Post processing of datasets for faiss indexes Now that we can have datasets with embeddings (see `wiki_pr` for example), we can allow users to load the dataset + get the Faiss index that comes with it to do nearest neighbors queries. ## Implementation proposition - Faiss indexes have to be added to the `nlp....
true
2020-07-10T16:25:59Z
2020-07-13T13:44:03Z
2020-07-13T13:44:01Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/374
2020-07-13T13:44:01Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/374
true
[ "I changed the `wiki_dpr` script to ignore the last 24 examples for now. Hopefully we'll have the full version soon.\r\nThe datasets_infos.json and the data on GCS are updated.\r\n\r\nAnd I also added a check to make sure we don't have post processing resources in sub-directories.", "I added a dummy config that c...
654,845,133
373
Segmentation fault when loading local JSON dataset as of #372
closed
The last issue was closed (#369) once the #372 update was merged. However, I'm still not able to load a SQuAD formatted JSON file. Instead of the previously recorded pyarrow error, I now get a segmentation fault. ``` dataset = nlp.load_dataset('json', data_files={nlp.Split.TRAIN: ["./datasets/train-v2.0.json"]}, f...
true
2020-07-10T15:04:25Z
2022-10-04T18:05:47Z
2022-10-04T18:05:47Z
vegarab
CONTRIBUTOR
null
null
11
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/373
false
[ "I've seen this sort of thing before -- it might help to delete the directory -- I've also noticed that there is an error with the json Dataloader for any data I've tried to load. I've replaced it with this, which skips over the data feature population step:\r\n\r\n\r\n```python\r\nimport os\r\n\r\nimport pyarrow.j...
654,774,420
372
Make the json script more flexible
closed
Fix https://github.com/huggingface/nlp/issues/359 Fix https://github.com/huggingface/nlp/issues/369 JSON script now can accept JSON files containing a single dict with the records as a list in one attribute to the dict (previously it only accepted JSON files containing records as rows of dicts in the file). In t...
true
2020-07-10T13:15:15Z
2020-07-10T14:52:07Z
2020-07-10T14:52:06Z
thomwolf
MEMBER
https://github.com/huggingface/datasets/pull/372
2020-07-10T14:52:05Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/372
true
[]
654,668,242
371
Fix cached file path for metrics with different config names
closed
The config name was not taken into account to build the cached file path. It should fix #368
true
2020-07-10T10:02:24Z
2020-07-10T13:45:22Z
2020-07-10T13:45:20Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/371
2020-07-10T13:45:20Z
1
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/371
true
[ "Thanks for the fast fix!" ]
654,304,193
370
Allow indexing Dataset via np.ndarray
closed
true
2020-07-09T19:43:15Z
2020-07-10T14:05:44Z
2020-07-10T14:05:43Z
jarednielsen
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/370
2020-07-10T14:05:43Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/370
true
[ "Looks like a flaky CI, failed download from S3." ]
654,186,890
369
can't load local dataset: pyarrow.lib.ArrowInvalid: straddling object straddles two block boundaries
closed
Trying to load a local SQuAD-formatted dataset (from a JSON file, about 60MB): ``` dataset = nlp.load_dataset(path='json', data_files={nlp.Split.TRAIN: ["./path/to/file.json"]}) ``` causes ``` Traceback (most recent call last): File "dataloader.py", line 9, in <module> ["./path/to/file.json"]}) File "/...
true
2020-07-09T16:16:53Z
2020-12-15T23:07:22Z
2020-07-10T14:52:06Z
vegarab
CONTRIBUTOR
null
null
2
0
0
0
null
false
[ "dataset bug" ]
https://github.com/huggingface/datasets/issues/369
false
[ "I am able to reproduce this with the official SQuAD `train-v2.0.json` file downloaded directly from https://rajpurkar.github.io/SQuAD-explorer/", "I am facing this issue in transformers library 3.0.2 while reading a csv using datasets.\r\nIs this fixed in latest version? \r\nI updated the latest version 4.0.1 bu...
654,087,251
368
load_metric can't acquire lock anymore
closed
I can't load metric (glue) anymore after an error in a previous run. I even removed the whole cache folder `/home/XXX/.cache/huggingface/`, and the issue persisted. What are the steps to fix this? Traceback (most recent call last): File "/home/XXX/miniconda3/envs/ML-DL-py-3.7/lib/python3.7/site-packages/n...
true
2020-07-09T14:04:09Z
2020-07-10T13:45:20Z
2020-07-10T13:45:20Z
ydshieh
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/368
false
[ "I found that, in the same process (or the same interactive session), if I do\r\n\r\nimport nlp\r\n\r\nm1 = nlp.load_metric('glue', 'mrpc')\r\nm2 = nlp.load_metric('glue', 'sst2')\r\n\r\nI will get the same error `ValueError: Cannot acquire lock, caching file might be used by another process, you should setup a uni...
654,012,984
367
Update Xtreme to add PAWS-X es
closed
This PR adds the `PAWS-X.es` in the Xtreme dataset #362
true
2020-07-09T12:14:37Z
2020-07-09T12:37:11Z
2020-07-09T12:37:10Z
mariamabarham
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/367
2020-07-09T12:37:10Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/367
true
[]
653,954,896
366
Add quora dataset
closed
Added the [Quora question pairs dataset](https://www.quora.com/q/quoradata/First-Quora-Dataset-Release-Question-Pairs). Implementation Notes: - I used the original version provided on the quora website. There's also a [Kaggle competition](https://www.kaggle.com/c/quora-question-pairs) which has a nice train/test sp...
true
2020-07-09T10:34:22Z
2020-07-13T17:35:21Z
2020-07-13T17:35:21Z
ghomasHudson
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/366
2020-07-13T17:35:21Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/366
true
[ "Tests seem to be failing because of pandas", "Kaggle needs authentification to download datasets. We don't have a way to handle that in the lib for now" ]
653,845,964
365
How to augment data ?
closed
Is there any clean way to augment data ? For now my work-around is to use batched map, like this : ```python def aug(samples): # Simply copy the existing data to have x2 amount of data for k, v in samples.items(): samples[k].extend(v) return samples dataset = dataset.map(aug, batched=T...
true
2020-07-09T07:52:37Z
2020-07-10T09:12:07Z
2020-07-10T08:22:15Z
astariul
NONE
null
null
6
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/365
false
[ "Using batched map is probably the easiest way at the moment.\r\nWhat kind of augmentation would you like to do ?", "Some samples in the dataset are too long, I want to divide them in several samples.", "Using batched map is the way to go then.\r\nWe'll make it clearer in the docs that map could be used for aug...
653,821,597
364
add MS MARCO dataset
closed
This PR adds the MS MARCO dataset as requested in this issue #336. MS mARCO has multiple task including: - Passage and Document Retrieval - Keyphrase Extraction - QA and NLG This PR only adds the 2 versions of the QA and NLG task dataset which was realeased with the original paper here https://arxiv.org/pd...
true
2020-07-09T07:11:19Z
2020-08-06T06:15:49Z
2020-08-06T06:15:48Z
mariamabarham
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/364
2020-08-06T06:15:48Z
7
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/364
true
[ "The dummy data for v2.1 is missing as far as I can see. I think running the dummy data command should work correctly here. ", "Also, it might be that the structure of the dummy data is wrong - looking at `generate_examples` the structure does not look too easy.", "The fact that the dummy data for v2.1 is miss...
653,821,172
363
Adding support for generic multi dimensional tensors and auxillary image data for multimodal datasets
closed
nlp/features.py: The main factory class is MultiArray, every single time this class is called, a corresponding pyarrow extension array and type class is generated (and added to the list of globals for future use) for a given root data type and set of dimensions/shape. I provide examples on working with this in datas...
true
2020-07-09T07:10:30Z
2020-08-24T09:59:35Z
2020-08-24T09:59:35Z
eltoto1219
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/363
2020-08-24T09:59:35Z
23
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/363
true
[ "Thank you! I just marked this as a draft PR. It probably would be better to create specific Array2D and Array3D classes as needed instead of a generic MultiArray for now, it should simplify the code a lot too so, I'll update it as such. Also i was meaning to reply earlier, but I wanted to thank you for the testing...
653,766,245
362
[dateset subset missing] xtreme paws-x
closed
I tried nlp.load_dataset('xtreme', 'PAWS-X.es') but get the value error It turns out that the subset for Spanish is missing https://github.com/google-research-datasets/paws/tree/master/pawsx
true
2020-07-09T05:04:54Z
2020-07-09T12:38:42Z
2020-07-09T12:38:42Z
cosmeowpawlitan
CONTRIBUTOR
null
null
1
1
1
0
null
false
[]
https://github.com/huggingface/datasets/issues/362
false
[ "You're right, thanks for pointing it out. We will update it " ]
653,757,376
361
🐛 [Metrics] ROUGE is non-deterministic
closed
If I run the ROUGE metric 2 times, with same predictions / references, the scores are slightly different. Refer to [this Colab notebook](https://colab.research.google.com/drive/1wRssNXgb9ldcp4ulwj-hMJn0ywhDOiDy?usp=sharing) for reproducing the problem. Example of F-score for ROUGE-1, ROUGE-2, ROUGE-L in 2 differe...
true
2020-07-09T04:39:37Z
2022-09-09T15:20:55Z
2020-07-20T23:48:37Z
astariul
NONE
null
null
8
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/361
false
[ "Hi, can you give a full self-contained example to reproduce this behavior?", "> Hi, can you give a full self-contained example to reproduce this behavior?\r\n\r\nThere is a notebook in the post ;)", "> If I run the ROUGE metric 2 times, with same predictions / references, the scores are slightly different.\r\n...
653,687,176
360
[Feature request] Add dataset.ragged_map() function for many-to-many transformations
closed
`dataset.map()` enables one-to-one transformations. Input one example and output one example. This is helpful for tokenizing and cleaning individual lines. `dataset.filter()` enables one-to-(one-or-none) transformations. Input one example and output either zero/one example. This is helpful for removing portions from t...
true
2020-07-09T01:04:43Z
2020-07-09T19:31:51Z
2020-07-09T19:31:51Z
jarednielsen
CONTRIBUTOR
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/360
false
[ "Actually `map(batched=True)` can already change the size of the dataset.\r\nIt can accept examples of length `N` and returns a batch of length `M` (can be null or greater than `N`).\r\n\r\nI'll make that explicit in the doc that I'm currently writing.", "You're two steps ahead of me :) In my testing, it also wor...
653,656,279
359
ArrowBasedBuilder _prepare_split parse_schema breaks on nested structures
closed
I tried using the Json dataloader to load some JSON lines files. but get an exception in the parse_schema function. ``` --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-23-9aecfbee53bd> in <mo...
true
2020-07-08T23:24:05Z
2020-07-10T14:52:06Z
2020-07-10T14:52:06Z
timothyjlaurent
NONE
null
null
4
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/359
false
[ "Hi, it depends on what it is in your `dataset_builder.py` file. Can you share it?\r\n\r\nIf you are just loading `json` files, you can also directly use the `json` script (which will find the schema/features from your JSON structure):\r\n\r\n```python\r\nfrom nlp import load_dataset\r\nds = load_dataset(\"json\", ...
653,645,121
358
Starting to add some real doc
closed
Adding a lot of documentation for: - load a dataset - explore the dataset object - process data with the dataset - add a new dataset script - share a dataset script - full package reference This version of the doc can be explored here: https://2219-250213286-gh.circle-artifacts.com/0/docs/_build/html/index.htm...
true
2020-07-08T22:53:03Z
2020-07-14T09:58:17Z
2020-07-14T09:58:15Z
thomwolf
MEMBER
https://github.com/huggingface/datasets/pull/358
2020-07-14T09:58:15Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/358
true
[ "Ok this is starting to be really big so it's probably good to merge this first version of the doc and continue in another PR :)\r\n\r\nThis first version of the doc can be explored here: https://2219-250213286-gh.circle-artifacts.com/0/docs/_build/html/index.html" ]
653,642,292
357
Add hashes to cnn_dailymail
closed
The URL hashes are helpful for comparing results from other sources.
true
2020-07-08T22:45:21Z
2020-07-13T14:16:38Z
2020-07-13T14:16:38Z
jbragg
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/357
2020-07-13T14:16:38Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/357
true
[ "Looks you to me :)\r\n\r\nCould you also update the json file that goes with the dataset script by doing \r\n```\r\nnlp-cli test ./datasets/cnn_dailymail --save_infos --all_configs\r\n```\r\nIt will update the features metadata and the size of the dataset with your changes.", "@lhoestq I ran that command.\r\n\r\...
653,537,388
356
Add text dataset
closed
Usage: ```python from nlp import load_dataset dset = load_dataset("text", data_files="/path/to/file.txt")["train"] ``` I created a dummy_data.zip which contains three files: `train.txt`, `test.txt`, `dev.txt`. Each of these contains two lines. It passes ```bash RUN_SLOW=1 pytest tests/test_dataset_common...
true
2020-07-08T19:21:53Z
2020-07-10T14:19:03Z
2020-07-10T14:19:03Z
jarednielsen
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/356
2020-07-10T14:19:03Z
0
6
2
1
false
false
[]
https://github.com/huggingface/datasets/pull/356
true
[]
653,451,013
355
can't load SNLI dataset
closed
`nlp` seems to load `snli` from some URL based on nlp.stanford.edu. This subdomain is frequently down -- including right now, when I'd like to load `snli` in a Colab notebook, but can't. Is there a plan to move these datasets to huggingface servers for a more stable solution? Btw, here's the stack trace: ``` ...
true
2020-07-08T16:54:14Z
2020-07-18T05:15:57Z
2020-07-15T07:59:01Z
jxmorris12
CONTRIBUTOR
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/355
false
[ "I just added the processed files of `snli` on our google storage, so that when you do `load_dataset` it can download the processed files from there :)\r\n\r\nWe are thinking about having available those processed files for more datasets in the future, because sometimes files aren't available (like for `snli`), or ...
653,357,617
354
More faiss control
closed
Allow users to specify a faiss index they created themselves, as sometimes indexes can be composite for examples
true
2020-07-08T14:45:20Z
2020-07-09T09:54:54Z
2020-07-09T09:54:51Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/354
2020-07-09T09:54:51Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/354
true
[ "> Ok, so we're getting rid of the `FaissGpuOptions`?\r\n\r\nWe support `device=...` because it's simple, but faiss GPU options can be used in so many ways (you can set different gpu options for the different parts of your index for example) that it's probably better to let the user create and configure its index a...
653,250,611
353
[Dataset requests] New datasets for Text Classification
open
We are missing a few datasets for Text Classification which is an important field. Namely, it would be really nice to add: - [x] TREC-6 dataset (see here for instance: https://pytorchnlp.readthedocs.io/en/latest/source/torchnlp.datasets.html#torchnlp.datasets.trec_dataset) **[done]** - #386 - [x] Yelp-5 - #...
true
2020-07-08T12:17:58Z
2025-04-05T09:28:15Z
null
thomwolf
MEMBER
null
null
12
5
0
3
null
false
[ "help wanted", "dataset request" ]
https://github.com/huggingface/datasets/issues/353
false
[ "Pinging @mariamabarham as well", "- `nlp` has MR! It's called `rotten_tomatoes`\r\n- SST is part of GLUE, or is that just SST-2?\r\n- `nlp` also has `ag_news`, a popular news classification dataset\r\n\r\nI'd also like to see:\r\n- the Yahoo Answers topic classification dataset\r\n- the Kaggle Fake News classifi...
653,128,883
352
🐛[BugFix]fix seqeval
closed
Fix seqeval process labels such as 'B', 'B-ARGM-LOC'
true
2020-07-08T09:12:12Z
2020-07-16T08:26:46Z
2020-07-16T08:26:46Z
AlongWY
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/352
2020-07-16T08:26:46Z
7
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/352
true
[ "I think this is good but can you detail a bit the behavior before and after your fix?", "examples:\r\n\r\ninput: `['B', 'I', 'I', 'O', 'B', 'I']`\r\nbefore: `[('B', 0, 0), ('I', 1, 2), ('B', 4, 4), ('I', 5, 5)]`\r\nafter: `[('_', 0, 2), ('_', 4, 5)]`\r\n\r\ninput: `['B-ARGM-LOC', 'I-ARGM-LOC', 'I-ARGM-LOC', 'O',...
652,424,048
351
add pandas dataset
closed
Create a dataset from serialized pandas dataframes. Usage: ```python from nlp import load_dataset dset = load_dataset("pandas", data_files="df.pkl")["train"] ```
true
2020-07-07T15:38:07Z
2020-07-08T14:15:16Z
2020-07-08T14:15:15Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/351
2020-07-08T14:15:15Z
0
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/351
true
[]
652,398,691
350
add from_pandas and from_dict
closed
I added two new methods to the `Dataset` class: - `from_pandas()` to create a dataset from a pandas dataframe - `from_dict()` to create a dataset from a dictionary (keys = columns) It uses the `pa.Table.from_pandas` and `pa.Table.from_pydict` funcitons to do so. It is also possible to specify the features types v...
true
2020-07-07T15:03:53Z
2020-07-08T14:14:33Z
2020-07-08T14:14:32Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/350
2020-07-08T14:14:32Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/350
true
[]
652,231,571
349
Hyperpartisan news detection
closed
Adding the hyperpartisan news detection dataset from PAN. This contains news article text, labelled with whether they're hyper-partisan and why kinds of biases they display. Implementation notes: - As with many PAN tasks, the data is hosted on [Zenodo](https://zenodo.org/record/1489920) and must be requested before...
true
2020-07-07T11:06:37Z
2020-07-07T20:47:27Z
2020-07-07T14:57:11Z
ghomasHudson
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/349
2020-07-07T14:57:11Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/349
true
[ "Thank you so much for working on this! This is awesome!\r\n\r\nHow much would it help you if we would remove the manual request?\r\n\r\nWe are naturally interested in getting some broad idea of how many people and who are using our dataset. But if you consider hosting the dataset yourself, I would rather remove th...
652,158,308
348
Add OSCAR dataset
closed
I don't know if tests pass, when I run them it tries to download the whole corpus which is around 3.5TB compressed and I don't have that kind of space. I'll really need some help with it 😅 Thanks!
true
2020-07-07T09:22:07Z
2021-05-03T22:07:08Z
2021-02-09T10:19:19Z
pjox
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/348
null
20
4
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/348
true
[ "@pjox I think the tests don't pass because you haven't provided any dummy data (`dummy_data.zip`).\r\n\r\n ", "> @pjox I think the tests don't pass because you haven't provided any dummy data (`dummy_data.zip`).\r\n\r\nBut can I do the dummy data without running `python nlp-cli test datasets/<your-dataset-folder...
652,106,567
347
'cp950' codec error from load_dataset('xtreme', 'tydiqa')
closed
![image](https://user-images.githubusercontent.com/50871412/86744744-67481680-c06c-11ea-8612-b77eba92a392.png) I guess the error is related to python source encoding issue that my PC is trying to decode the source code with wrong encoding-decoding tools, perhaps : https://www.python.org/dev/peps/pep-0263/ I gues...
true
2020-07-07T08:14:23Z
2020-09-07T14:51:45Z
2020-09-07T14:51:45Z
cosmeowpawlitan
CONTRIBUTOR
null
null
10
0
0
0
null
false
[ "dataset bug" ]
https://github.com/huggingface/datasets/issues/347
false
[ "This is probably a Windows issue, we need to specify the encoding when `load_dataset()` reads the original CSV file.\r\nTry to find the `open()` statement called by `load_dataset()` and add an `encoding='utf-8'` parameter.\r\nSee issues #242 and #307 ", "It should be in `xtreme.py:L755`:\r\n```python\r\n ...
652,044,151
346
Add emotion dataset
closed
Hello 🤗 team! I am trying to add an emotion classification dataset ([link](https://github.com/dair-ai/emotion_dataset)) to `nlp` but I am a bit stuck about what I should do when the URL for the dataset is not a ZIP file, but just a pickled `pandas.DataFrame` (see [here](https://www.dropbox.com/s/607ptdakxuh5i4s/me...
true
2020-07-07T06:35:41Z
2022-05-30T15:16:44Z
2020-07-13T14:39:38Z
lewtun
MEMBER
https://github.com/huggingface/datasets/pull/346
2020-07-13T14:39:38Z
9
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/346
true
[ "I've tried it and am getting the same error as you.\r\n\r\nYou could use the text files rather than the pickle:\r\n```\r\nhttps://www.dropbox.com/s/ikkqxfdbdec3fuj/test.txt\r\nhttps://www.dropbox.com/s/1pzkadrvffbqw6o/train.txt\r\nhttps://www.dropbox.com/s/2mzialpsgf9k5l3/val.txt\r\n```\r\n\r\nThen you would get a...
651,761,201
345
Supporting documents in ELI5
closed
I was attempting to use the ELI5 dataset, when I realized that huggingface does not provide the supporting documents (the source documents from the common crawl). Without the supporting documents, this makes the dataset about as useful for my project as a block of cheese, or some other more apt metaphor. According to ...
true
2020-07-06T19:14:13Z
2020-10-27T15:38:45Z
2020-10-27T15:38:45Z
saverymax
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/345
false
[ "Hi @saverymax ! For licensing reasons, the original team was unable to release pre-processed CommonCrawl documents. Instead, they provided a script to re-create them from a CommonCrawl dump, but it unfortunately requires access to a medium-large size cluster:\r\nhttps://github.com/facebookresearch/ELI5#downloading...
651,495,246
344
Search qa
closed
This PR adds the Search QA dataset used in **SearchQA: A New Q&A Dataset Augmented with Context from a Search Engine**. The dataset has the following config name: - raw_jeopardy: raw data - train_test_val: which is the splitted version #336
true
2020-07-06T12:23:16Z
2020-07-16T08:58:16Z
2020-07-16T08:58:16Z
mariamabarham
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/344
null
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/344
true
[ "Could you rebase from master just to make sure we won't break anything for `fever` pls @mariamabarham ?" ]
651,419,630
343
Fix nested tensorflow format
closed
In #339 and #337 we are thinking about adding a way to export datasets to tfrecords. However I noticed that it was not possible to do `dset.set_format("tensorflow")` on datasets with nested features like `squad`. I fixed that using a nested map operations to convert features to `tf.ragged.constant`. I also added ...
true
2020-07-06T10:13:45Z
2020-07-06T13:11:52Z
2020-07-06T13:11:51Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/343
2020-07-06T13:11:51Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/343
true
[]
651,333,194
342
Features should be updated when `map()` changes schema
closed
`dataset.map()` can change the schema and column names. We should update the features in this case (with what is possible to infer).
true
2020-07-06T08:03:23Z
2020-07-23T10:15:16Z
2020-07-23T10:15:16Z
thomwolf
MEMBER
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/342
false
[ "`dataset.column_names` are being updated but `dataset.features` aren't indeed..." ]
650,611,969
341
add fever dataset
closed
This PR add the FEVER dataset https://fever.ai/ used in with the paper: FEVER: a large-scale dataset for Fact Extraction and VERification (https://arxiv.org/pdf/1803.05355.pdf). #336
true
2020-07-03T13:53:07Z
2020-07-06T13:03:48Z
2020-07-06T13:03:47Z
mariamabarham
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/341
2020-07-06T13:03:47Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/341
true
[]
650,533,920
340
Update cfq.py
closed
Make the dataset name consistent with in the paper: Compositional Freebase Question => Compositional Freebase Questions.
true
2020-07-03T11:23:19Z
2020-07-03T12:33:50Z
2020-07-03T12:33:50Z
brainshawn
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/340
2020-07-03T12:33:50Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/340
true
[ "Thanks @brainshawn for this update" ]
650,156,468
339
Add dataset.export() to TFRecords
closed
Fixes https://github.com/huggingface/nlp/issues/337 Some design decisions: - Simplified the function API to not handle sharding. It writes the entire dataset as a single TFRecord file. This simplifies the function logic and users can use other functions (`select`, `shard`, etc) to handle custom sharding or splitt...
true
2020-07-02T19:26:27Z
2020-07-22T09:16:12Z
2020-07-22T09:16:12Z
jarednielsen
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/339
2020-07-22T09:16:11Z
18
3
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/339
true
[ "Really cool @jarednielsen !\r\nDo you think we can make it work with dataset with nested features like `squad` ?\r\n\r\nI just did a PR to fix `.set_format` for datasets with nested features, but as soon as it's merged we could try to make the conversion work on a dataset like `squad`.", "For datasets with neste...
650,057,253
338
Run `make style`
closed
These files get changed when I run `make style` on an unrelated PR. Upstreaming these changes so development on a different branch can be easier.
true
2020-07-02T16:19:47Z
2020-07-02T18:03:10Z
2020-07-02T18:03:10Z
jarednielsen
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/338
2020-07-02T18:03:10Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/338
true
[]
650,035,887
337
[Feature request] Export Arrow dataset to TFRecords
closed
The TFRecord generation process is error-prone and requires complex separate Python scripts to download and preprocess the data. I propose to combine the user-friendly features of `nlp` with the speed and efficiency of TFRecords. Sample API: ```python # use these existing methods ds = load_dataset("wikitext", "wik...
true
2020-07-02T15:47:12Z
2020-07-22T09:16:12Z
2020-07-22T09:16:12Z
jarednielsen
CONTRIBUTOR
null
null
0
3
3
0
null
false
[]
https://github.com/huggingface/datasets/issues/337
false
[]
649,914,203
336
[Dataset requests] New datasets for Open Question Answering
closed
We are still a few datasets missing for Open-Question Answering which is currently a field in strong development. Namely, it would be really nice to add: - WebQuestions (Berant et al., 2013) [done] - CuratedTrec (Baudis et al. 2015) [not open-source] - MS-MARCO (NGuyen et al. 2016) [done] - SearchQA (Dunn et al....
true
2020-07-02T13:03:03Z
2020-07-16T09:04:22Z
2020-07-16T09:04:22Z
thomwolf
MEMBER
null
null
0
1
1
0
null
false
[ "help wanted", "dataset request" ]
https://github.com/huggingface/datasets/issues/336
false
[]
649,765,179
335
BioMRC Dataset presented in BioNLP 2020 ACL Workshop
closed
true
2020-07-02T09:03:41Z
2020-07-15T08:02:07Z
2020-07-15T08:02:07Z
PetrosStav
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/335
2020-07-15T08:02:07Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/335
true
[ "I fixed the issues that you pointed out, re-run all the test and pushed the fixed code :-)", "```\r\n=================================== FAILURES ===================================\r\n___________________ AWSDatasetTest.test_load_dataset_pandas ____________________\r\n\r\nself = <tests.test_dataset_common.AWSDat...
649,661,791
334
Add dataset.shard() method
closed
Fixes https://github.com/huggingface/nlp/issues/312
true
2020-07-02T06:05:19Z
2020-07-06T12:35:36Z
2020-07-06T12:35:36Z
jarednielsen
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/334
2020-07-06T12:35:36Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/334
true
[ "Great, done!" ]
649,236,516
333
fix variable name typo
closed
true
2020-07-01T19:13:50Z
2020-07-24T15:43:31Z
2020-07-24T08:32:16Z
stas00
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/333
null
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/333
true
[ "Good catch :)\r\nI think there is another occurence that needs to be fixed in the second gist (line 4924 of the notebook file):\r\n```python\r\nbleu = nlp.load_metric(...)\r\n```", "Was fixed in e16f79b5f7fc12a6a30c777722be46897a272e6f\r\nClosing it." ]
649,140,135
332
Add wiki_dpr
closed
Presented in the [Dense Passage Retrieval paper](https://arxiv.org/pdf/2004.04906.pdf), this dataset consists in 21M passages from the english wikipedia along with their 768-dim embeddings computed using DPR's context encoder. Note on the implementation: - There are two configs: with and without the embeddings (73G...
true
2020-07-01T17:12:00Z
2020-07-06T12:21:17Z
2020-07-06T12:21:16Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/332
2020-07-06T12:21:16Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/332
true
[ "The two configurations don't have the same sizes, I may change that so that they both have 21015300 examples for convenience, even though it's supposed to have 21015324 examples in total.\r\n\r\nOne configuration only has 21015300 examples because it seems that the embeddings of the last 24 examples are missing.",...
648,533,199
331
Loading CNN/Daily Mail dataset produces `nlp.utils.info_utils.NonMatchingSplitsSizesError`
closed
``` >>> import nlp >>> nlp.load_dataset('cnn_dailymail', '3.0.0') Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.26 GiB, total: 1.81 GiB) to /u/jm8wx/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0... Traceback (most recent call last): File "<stdin>", line 1, in...
true
2020-06-30T22:21:33Z
2020-07-09T13:03:40Z
2020-07-09T13:03:40Z
jxmorris12
CONTRIBUTOR
null
null
5
0
0
0
null
false
[ "dataset bug" ]
https://github.com/huggingface/datasets/issues/331
false
[ "I couldn't reproduce on my side.\r\nIt looks like you were not able to generate all the examples, and you have the problem for each split train-test-validation.\r\nCould you try to enable logging, try again and send the logs ?\r\n```python\r\nimport logging\r\nlogging.basicConfig(level=logging.INFO)\r\n```", "he...
648,525,720
330
Doc red
closed
Adding [DocRED](https://github.com/thunlp/DocRED) - a relation extraction dataset which tests document-level RE. A few implementation notes: - There are 2 separate versions of the training set - *annotated* and *distant*. Instead of `nlp.Split.Train` I've used the splits `"train_annotated"` and `"train_distant"` to ...
true
2020-06-30T22:05:31Z
2020-07-06T12:10:39Z
2020-07-05T12:27:29Z
ghomasHudson
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/330
2020-07-05T12:27:29Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/330
true
[]
648,446,979
329
[Bug] FileLock dependency incompatible with filesystem
closed
I'm downloading a dataset successfully with `load_dataset("wikitext", "wikitext-2-raw-v1")` But when I attempt to cache it on an external volume, it hangs indefinitely: `load_dataset("wikitext", "wikitext-2-raw-v1", cache_dir="/fsx") # /fsx is an external volume mount` The filesystem when hanging looks like thi...
true
2020-06-30T19:45:31Z
2024-12-26T15:13:39Z
2020-06-30T21:33:06Z
jarednielsen
CONTRIBUTOR
null
null
11
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/329
false
[ "Hi, can you give details on your environment/os/packages versions/etc?", "Environment is Ubuntu 18.04, Python 3.7.5, nlp==0.3.0, filelock=3.0.12.\r\n\r\nThe external volume is Amazon FSx for Lustre, and it by default creates files with limited permissions. My working theory is that FileLock creates a lockfile th...
648,326,841
328
Fork dataset
closed
We have a multi-task learning model training I'm trying to convert to using the Arrow-based nlp dataset. We're currently training a custom TensorFlow model but the nlp paradigm should be a bridge for us to be able to use the wealth of pre-trained models in Transformers. Our preprocessing flow parses raw text and...
true
2020-06-30T16:42:53Z
2020-07-06T21:43:59Z
2020-07-06T21:43:59Z
timothyjlaurent
NONE
null
null
5
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/328
false
[ "To be able to generate the Arrow dataset you need to either use our csv or json utilities `load_dataset(\"json\", data_files=my_json_files)` OR write your own custom dataset script (you can find some inspiration from the [squad](https://github.com/huggingface/nlp/blob/master/datasets/squad/squad.py) script for exa...
648,312,858
327
set seed for suffling tests
closed
Some tests were randomly failing because of a missing seed in a test for `train_test_split(shuffle=True)`
true
2020-06-30T16:21:34Z
2020-07-02T08:34:05Z
2020-07-02T08:34:04Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/327
2020-07-02T08:34:04Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/327
true
[]
648,126,103
326
Large dataset in Squad2-format
closed
At the moment we are building an large question answering dataset and think about sharing it with the huggingface community. Caused the computing power we splitted it into multiple tiles, but they are all in the same format. Right now the most important facts about are this: - Contexts: 1.047.671 - questions: 1.677...
true
2020-06-30T12:18:59Z
2020-07-09T09:01:50Z
2020-07-09T09:01:50Z
flozi00
CONTRIBUTOR
null
null
8
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/326
false
[ "I'm pretty sure you can get some inspiration from the squad_v2 script. It looks like the dataset is quite big so it will take some time for the users to generate it, but it should be reasonable.\r\n\r\nAlso you are saying that you are still making the dataset grow in size right ?\r\nIt's probably good practice to ...
647,601,592
325
Add SQuADShifts dataset
closed
This PR adds the four new variants of the SQuAD dataset used in [The Effect of Natural Distribution Shift on Question Answering Models](https://arxiv.org/abs/2004.14444) to facilitate evaluating model robustness to distribution shift.
true
2020-06-29T19:11:16Z
2020-06-30T17:07:31Z
2020-06-30T17:07:31Z
millerjohnp
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/325
2020-06-30T17:07:31Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/325
true
[ "Very cool to have this dataset, thank you for adding it :)" ]
647,525,725
324
Error when calculating glue score
closed
I was trying glue score along with other metrics here. But glue gives me this error; ``` import nlp glue_metric = nlp.load_metric('glue',name="cola") glue_score = glue_metric.compute(predictions, references) ``` ``` --------------------------------------------------------------------------- --------------...
true
2020-06-29T16:53:48Z
2020-07-09T09:13:34Z
2020-07-09T09:13:34Z
D-i-l-r-u-k-s-h-i
NONE
null
null
4
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/324
false
[ "The glue metric for cola is a metric for classification. It expects label ids as integers as inputs.", "I want to evaluate a sentence pair whether they are semantically equivalent, so I used MRPC and it gives the same error, does that mean we have to encode the sentences and parse as input?\r\n\r\nusing BertToke...
647,521,308
323
Add package path to sys when downloading package as github archive
closed
This fixes the `coval.py` metric so that imports within the downloaded module work correctly. We can use a similar trick to add the BLEURT metric (@ankparikh) @thomwolf not sure how you feel about adding to the `PYTHONPATH` from the script. This is the only way I could make it work with my understanding of `importli...
true
2020-06-29T16:46:01Z
2020-07-30T14:00:23Z
2020-07-30T14:00:23Z
yjernite
MEMBER
https://github.com/huggingface/datasets/pull/323
null
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/323
true
[ "Sorry for the long diff, everything after the imports comes from `black` for code quality :/ ", " I think it's fine and I can't think of another way to make the import work anyways.\r\n\r\nMaybe we can have the `sys.path` behavior inside `prepare_module` instead ? Currently it seems to come out of nowhere in the...
647,483,850
322
output nested dict in get_nearest_examples
closed
As we are using a columnar format like arrow as the backend for datasets, we expect to have a dictionary of columns when we slice a dataset like in this example: ```python my_examples = dataset[0:10] print(type(my_examples)) # >>> dict print(my_examples["my_column"][0] # >>> this is the first element of the colum...
true
2020-06-29T15:47:47Z
2020-07-02T08:33:33Z
2020-07-02T08:33:32Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/322
2020-07-02T08:33:32Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/322
true
[]
647,271,526
321
ERROR:root:mwparserfromhell
closed
Hi, I am trying to download some wikipedia data but I got this error for spanish "es" (but there are maybe some others languages which have the same error I haven't tried all of them ). `ERROR:root:mwparserfromhell ParseError: This is a bug and should be reported. Info: C tokenizer exited with non-empty token sta...
true
2020-06-29T11:10:43Z
2022-02-14T15:21:46Z
2022-02-14T15:21:46Z
Shiro-LK
NONE
null
null
10
0
0
0
null
false
[ "dataset bug" ]
https://github.com/huggingface/datasets/issues/321
false
[ "It looks like it comes from `mwparserfromhell`.\r\n\r\nWould it be possible to get the bad `section` that causes this issue ? The `section` string is from `datasets/wikipedia.py:L548` ? You could just add a `try` statement and print the section if the line `section_text.append(section.strip_code().strip())` crashe...
647,188,167
320
Blog Authorship Corpus, Non Matching Splits Sizes Error, nlp viewer
closed
Selecting `blog_authorship_corpus` in the nlp viewer throws the following error: ``` NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=610252351, num_examples=532812, dataset_name='blog_authorship_corpus'), 'recorded': SplitInfo(name='train', num_bytes=614706451, num_examples=535568, dat...
true
2020-06-29T07:36:35Z
2020-06-29T14:44:42Z
2020-06-29T14:44:42Z
mariamabarham
CONTRIBUTOR
null
null
2
0
0
0
null
false
[ "nlp-viewer" ]
https://github.com/huggingface/datasets/issues/320
false
[ "I wonder if this means downloading failed? That corpus has a really slow server.", "This dataset seems to have a decoding problem that results in inconsistencies in the number of generated examples.\r\nSee #215.\r\nThat's why we end up with a `NonMatchingSplitsSizesError `." ]
646,792,487
319
Nested sequences with dicts
closed
Am pretty much finished [adding a dataset](https://github.com/ghomasHudson/nlp/blob/DocRED/datasets/docred/docred.py) for [DocRED](https://github.com/thunlp/DocRED), but am getting an error when trying to add a nested `nlp.features.sequence(nlp.features.sequence({key:value,...}))`. The original data is in this form...
true
2020-06-27T23:45:17Z
2020-07-03T10:22:00Z
2020-07-03T10:22:00Z
ghomasHudson
CONTRIBUTOR
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/319
false
[ "Oh yes, this is a backward compatibility feature with tensorflow_dataset in which a `Sequence` or `dict` is converted in a `dict` of `lists`, unfortunately it is not very intuitive, see here: https://github.com/huggingface/nlp/blob/master/src/nlp/features.py#L409\r\n\r\nTo avoid this behavior, you can just define ...
646,682,840
318
Multitask
closed
Following our discussion in #217, I've implemented a first working version of `MultiDataset`. There's a function `build_multitask()` which takes either individual `nlp.Dataset`s or `dicts` of splits and constructs `MultiDataset`(s). I've added a notebook with example usage. I've implemented many of the `nlp.Datas...
true
2020-06-27T13:27:29Z
2022-07-06T15:19:57Z
2022-07-06T15:19:57Z
ghomasHudson
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/318
null
18
1
1
0
true
false
[]
https://github.com/huggingface/datasets/pull/318
true
[ "It's definitely going in the right direction ! Thanks for giving it a try\r\n\r\nI really like the API.\r\nIMO it's fine right now if we don't have all the dataset transforms (map, filter, etc.) as it can be done before building the multitask dataset, but it will be important to have them in the end.\r\nAll the fo...
646,555,384
317
Adding a dataset with multiple subtasks
closed
I intent to add the datasets of the MT Quality Estimation shared tasks to `nlp`. However, they have different subtasks -- such as word-level, sentence-level and document-level quality estimation, each of which having different language pairs, and some of the data reused in different subtasks. For example, in [QE 201...
true
2020-06-26T23:14:19Z
2020-10-27T15:36:52Z
2020-10-27T15:36:52Z
erickrf
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/317
false
[ "For one dataset you can have different configurations that each have their own `nlp.Features`.\r\nWe imagine having one configuration per subtask for example.\r\nThey are loaded with `nlp.load_dataset(\"my_dataset\", \"my_config\")`.\r\n\r\nFor example the `glue` dataset has many configurations. It is a bit differ...
646,366,450
316
add AG News dataset
closed
adds support for the AG-News topic classification dataset
true
2020-06-26T16:11:58Z
2020-06-30T09:58:08Z
2020-06-30T08:31:55Z
jxmorris12
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/316
2020-06-30T08:31:55Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/316
true
[ "Thanks @jxmorris12 for adding this adding. \r\nCan you please add a small description of the PR?" ]
645,888,943
315
[Question] Best way to batch a large dataset?
open
I'm training on large datasets such as Wikipedia and BookCorpus. Following the instructions in [the tutorial notebook](https://colab.research.google.com/github/huggingface/nlp/blob/master/notebooks/Overview.ipynb), I see the following recommended for TensorFlow: ```python train_tf_dataset = train_tf_dataset.filter(...
true
2020-06-25T22:30:20Z
2020-10-27T15:38:17Z
null
jarednielsen
CONTRIBUTOR
null
null
11
1
0
0
null
false
[ "generic discussion" ]
https://github.com/huggingface/datasets/issues/315
false
[ "Update: I think I've found a solution.\r\n\r\n```python\r\noutput_types = {\"input_ids\": tf.int64, \"token_type_ids\": tf.int64, \"attention_mask\": tf.int64}\r\ndef train_dataset_gen():\r\n for i in range(len(train_dataset)):\r\n yield train_dataset[i]\r\ntf_dataset = tf.data.Dataset.from_generator(tra...
645,461,174
314
Fixed singlular very minor spelling error
closed
An instance of "independantly" was changed to "independently". That's all.
true
2020-06-25T10:45:59Z
2020-06-26T08:46:41Z
2020-06-25T12:43:59Z
SchizoidBat
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/314
2020-06-25T12:43:59Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/314
true
[ "Thank you BatJeti! The storm-joker, aka the typo, finally got caught!" ]
645,390,088
313
Add MWSC
closed
Adding the [Modified Winograd Schema Challenge](https://github.com/salesforce/decaNLP/blob/master/local_data/schema.txt) dataset which formed part of the [decaNLP](http://decanlp.com/) benchmark. Not sure how much use people would find for it it outside of the benchmark, but it is general purpose. Code is heavily bo...
true
2020-06-25T09:22:02Z
2020-06-30T08:28:11Z
2020-06-30T08:28:11Z
ghomasHudson
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/313
2020-06-30T08:28:10Z
1
3
3
0
false
false
[]
https://github.com/huggingface/datasets/pull/313
true
[ "Looks good to me" ]
645,025,561
312
[Feature request] Add `shard()` method to dataset
closed
Currently, to shard a dataset into 10 pieces on different ranks, you can run ```python rank = 3 # for example size = 10 dataset = nlp.load_dataset('wikitext', 'wikitext-2-raw-v1', split=f"train[{rank*10}%:{(rank+1)*10}%]") ``` However, this breaks down if you have a number of ranks that doesn't divide cleanly...
true
2020-06-24T22:48:33Z
2020-07-06T12:35:36Z
2020-07-06T12:35:36Z
jarednielsen
CONTRIBUTOR
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/312
false
[ "Hi Jared,\r\nInteresting, thanks for raising this question. You can also do that after loading with `dataset.select()` or `dataset.filter()` which let you keep only a specific subset of rows in a dataset.\r\nWhat is your use-case for sharding?", "Thanks for the pointer to those functions! It's still a little mor...
645,013,131
311
Add qa_zre
closed
Adding the QA-ZRE dataset from ["Zero-Shot Relation Extraction via Reading Comprehension"](http://nlp.cs.washington.edu/zeroshot/). A common processing step seems to be replacing the `XXX` placeholder with the `subject`. I've left this out as it's something you could easily do with `map`.
true
2020-06-24T22:17:22Z
2020-06-29T16:37:38Z
2020-06-29T16:37:38Z
ghomasHudson
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/311
2020-06-29T16:37:38Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/311
true
[]
644,806,720
310
add wikisql
closed
Adding the [WikiSQL](https://github.com/salesforce/WikiSQL) dataset. Interesting things to note: - Have copied the function (`_convert_to_human_readable`) which converts the SQL query to a human-readable (string) format as this is what most people will want when actually using this dataset for NLP applications. - ...
true
2020-06-24T18:00:35Z
2020-06-25T12:32:25Z
2020-06-25T12:32:25Z
ghomasHudson
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/310
2020-06-25T12:32:25Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/310
true
[ "That's great work @ghomasHudson !" ]
644,783,822
309
Add narrative qa
closed
Test cases for dummy data don't pass Only contains data for summaries (not whole story)
true
2020-06-24T17:26:18Z
2020-09-03T09:02:10Z
2020-09-03T09:02:09Z
Varal7
NONE
https://github.com/huggingface/datasets/pull/309
null
11
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/309
true
[ "Does it make sense to download the full stories? I remember attempting to implement this dataset a while ago and ended up with something like:\r\n```python\r\n def _split_generators(self, dl_manager):\r\n \"\"\"Returns SplitGenerators.\"\"\"\r\n\r\n dl_dir = dl_manager.download_and_extract(_DOWNLO...
644,195,251
308
Specify utf-8 encoding for MRPC files
closed
Fixes #307, again probably a Windows-related issue.
true
2020-06-23T22:44:36Z
2020-06-25T12:52:21Z
2020-06-25T12:16:10Z
patpizio
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/308
2020-06-25T12:16:09Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/308
true
[]
644,187,262
307
Specify encoding for MRPC
closed
Same as #242, but with MRPC: on Windows, I get a `UnicodeDecodeError` when I try to download the dataset: ```python dataset = nlp.load_dataset('glue', 'mrpc') ``` ```python Downloading and preparing dataset glue/mrpc (download: Unknown size, generated: Unknown size, total: Unknown size) to C:\Users\Python\.cache...
true
2020-06-23T22:24:49Z
2020-06-25T12:16:09Z
2020-06-25T12:16:09Z
patpizio
CONTRIBUTOR
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/307
false
[]
644,176,078
306
add pg19 dataset
closed
https://github.com/huggingface/nlp/issues/274 Add functioning PG19 dataset with dummy data `cos_e.py` was just auto-linted by `make style`
true
2020-06-23T22:03:52Z
2020-07-06T07:55:59Z
2020-07-06T07:55:59Z
lucidrains
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/306
2020-07-06T07:55:59Z
12
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/306
true
[ "@lucidrains - Thanks a lot for making the PR - PG19 is a super important dataset! Thanks for making it. Many people are asking for PG-19, so it would be great to have that in the library as soon as possible @thomwolf .", "@mariamabarham yup! around 11GB!", "I'm looking forward to our first deep learning writte...
644,148,149
305
Importing downloaded package repository fails
closed
The `get_imports` function in `src/nlp/load.py` has a feature to download a package as a zip archive of the github repository and import functions from the unpacked directory. This is used for example in the `metrics/coval.py` file, and would be useful to add BLEURT (@ankparikh). Currently however, the code seems to...
true
2020-06-23T21:09:05Z
2020-07-30T16:44:23Z
2020-07-30T16:44:23Z
yjernite
MEMBER
null
null
0
0
0
0
null
false
[ "metric bug" ]
https://github.com/huggingface/datasets/issues/305
false
[]
644,091,970
304
Problem while printing doc string when instantiating multiple metrics.
closed
When I load more than one metric and try to print doc string of a particular metric,. It shows the doc strings of all imported metric one after the other which looks quite confusing and clumsy. Attached [Colab](https://colab.research.google.com/drive/13H0ZgyQ2se0mqJ2yyew0bNEgJuHaJ8H3?usp=sharing) Notebook for problem ...
true
2020-06-23T19:32:05Z
2020-07-22T09:50:58Z
2020-07-22T09:50:58Z
codehunk628
CONTRIBUTOR
null
null
0
0
0
0
null
false
[ "metric bug" ]
https://github.com/huggingface/datasets/issues/304
false
[]
643,912,464
303
allow to move files across file systems
closed
Users are allowed to use the `cache_dir` that they want. Therefore it can happen that we try to move files across filesystems. We were using `os.rename` that doesn't allow that, so I changed some of them to `shutil.move`. This should fix #301
true
2020-06-23T14:56:08Z
2020-06-23T15:08:44Z
2020-06-23T15:08:43Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/303
2020-06-23T15:08:43Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/303
true
[]
643,910,418
302
Question - Sign Language Datasets
closed
An emerging field in NLP is SLP - sign language processing. I was wondering about adding datasets here, specifically because it's shaping up to be large and easily usable. The metrics for sign language to text translation are the same. So, what do you think about (me, or others) adding datasets here? An exa...
true
2020-06-23T14:53:40Z
2020-11-25T11:25:33Z
2020-11-25T11:25:33Z
AmitMY
CONTRIBUTOR
null
null
3
0
0
0
null
false
[ "enhancement", "generic discussion" ]
https://github.com/huggingface/datasets/issues/302
false
[ "Even more complicating - \r\n\r\nAs I see it, datasets can have \"addons\".\r\nFor example, the WebNLG dataset is a dataset for data-to-text. However, a work of mine and other works enriched this dataset with text plans / underlying text structures. In that case, I see a need to load the dataset \"WebNLG\" with \"...
643,763,525
301
Setting cache_dir gives error on wikipedia download
closed
First of all thank you for a super handy library! I'd like to download large files to a specific drive so I set `cache_dir=my_path`. This works fine with e.g. imdb and squad. But on wikipedia I get an error: ``` nlp.load_dataset('wikipedia', '20200501.de', split = 'train', cache_dir=my_path) ``` ``` OSError ...
true
2020-06-23T11:31:44Z
2020-06-24T07:05:07Z
2020-06-24T07:05:07Z
hallvagi
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/301
false
[ "Whoops didn't mean to close this one.\r\nI did some changes, could you try to run it from the master branch ?", "Now it works, thanks!" ]
643,688,304
300
Fix bertscore references
closed
I added some type checking for metrics. There was an issue where a metric could interpret a string a a list. A `ValueError` is raised if a string is given instead of a list. Moreover I added support for both strings and lists of strings for `references` in `bertscore`, as it is the case in the original code. Both...
true
2020-06-23T09:38:59Z
2020-06-23T14:47:38Z
2020-06-23T14:47:37Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/300
2020-06-23T14:47:36Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/300
true
[]
643,611,557
299
remove some print in snli file
closed
This PR removes unwanted `print` statements in some files such as `snli.py`
true
2020-06-23T07:46:06Z
2020-06-23T08:10:46Z
2020-06-23T08:10:44Z
mariamabarham
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/299
2020-06-23T08:10:44Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/299
true
[ "I guess you can just rebase from master to fix the CI" ]
643,603,804
298
Add searchable datasets
closed
# Better support for Numpy format + Add Indexed Datasets I was working on adding Indexed Datasets but in the meantime I had to also add more support for Numpy arrays in the lib. ## Better support for Numpy format New features: - New fast method to convert Numpy arrays from Arrow structure (up to x100 speed up...
true
2020-06-23T07:33:03Z
2020-06-26T07:50:44Z
2020-06-26T07:50:43Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/298
2020-06-26T07:50:43Z
8
1
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/298
true
[ "Looks very cool! Only looked at it superficially though", "Alright I think I've checked all your comments, thanks :)\r\n\r\nMoreover I just added a way to serialize faiss indexes.\r\nThis is important because for big datasets the index construction can take some time.\r\n\r\nExamples:\r\n\r\n```python\r\nds = nl...
643,444,625
297
Error in Demo for Specific Datasets
closed
Selecting `natural_questions` or `newsroom` dataset in the online demo results in an error similar to the following. ![image](https://user-images.githubusercontent.com/60150701/85347842-ac861900-b4ae-11ea-98c4-a53a00934783.png)
true
2020-06-23T00:38:42Z
2020-07-17T17:43:06Z
2020-07-17T17:43:06Z
s-jse
NONE
null
null
3
0
0
0
null
false
[ "nlp-viewer" ]
https://github.com/huggingface/datasets/issues/297
false
[ "Thanks for reporting these errors :)\r\n\r\nI can actually see two issues here.\r\n\r\nFirst, datasets like `natural_questions` require apache_beam to be processed. Right now the import is not at the right place so we have this error message. However, even the imports are fixed, the nlp viewer doesn't actually hav...
643,423,717
296
snli -1 labels
closed
I'm trying to train a model on the SNLI dataset. Why does it have so many -1 labels? ``` import nlp from collections import Counter data = nlp.load_dataset('snli')['train'] print(Counter(data['label'])) Counter({0: 183416, 2: 183187, 1: 182764, -1: 785}) ```
true
2020-06-22T23:33:30Z
2020-06-23T14:41:59Z
2020-06-23T14:41:58Z
jxmorris12
CONTRIBUTOR
null
null
4
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/296
false
[ "@jxmorris12 , we use `-1` to label examples for which `gold label` is missing (`gold label = -` in the original dataset). ", "Thanks @mariamabarham! so the original dataset is missing some labels? That is weird. Is standard practice just to discard those examples training/eval?", "Yes the original dataset is...
643,245,412
295
Improve input warning for evaluation metrics
closed
Hi, I am the author of `bert_score`. Recently, we received [ an issue ](https://github.com/Tiiiger/bert_score/issues/62) reporting a problem in using `bert_score` from the `nlp` package (also see #238 in this repo). After looking into this, I realized that the problem arises from the format `nlp.Metric` takes inpu...
true
2020-06-22T17:28:57Z
2020-06-23T14:47:37Z
2020-06-23T14:47:37Z
Tiiiger
NONE
null
null
0
2
2
0
null
false
[]
https://github.com/huggingface/datasets/issues/295
false
[]
643,181,179
294
Cannot load arxiv dataset on MacOS?
closed
I am having trouble loading the `"arxiv"` config from the `"scientific_papers"` dataset on MacOS. When I try loading the dataset with: ```python arxiv = nlp.load_dataset("scientific_papers", "arxiv") ``` I get the following stack trace: ```bash JSONDecodeError Traceback (most recen...
true
2020-06-22T15:46:55Z
2020-06-30T15:25:10Z
2020-06-30T15:25:10Z
JohnGiorgi
CONTRIBUTOR
null
null
4
0
0
0
null
false
[ "dataset bug" ]
https://github.com/huggingface/datasets/issues/294
false
[ "I couldn't replicate this issue on my macbook :/\r\nCould you try to play with different encodings in `with open(path, encoding=...) as f` in scientific_papers.py:L108 ?", "I was able to track down the file causing the problem by adding the following to `scientific_papers.py` (starting at line 116):\r\n\r\n```py...
642,942,182
293
Don't test community datasets
closed
This PR disables testing for community datasets on aws. It should fix the CI that is currently failing.
true
2020-06-22T10:15:33Z
2020-06-22T11:07:00Z
2020-06-22T11:06:59Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/293
2020-06-22T11:06:59Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/293
true
[]
642,897,797
292
Update metadata for x_stance dataset
closed
Thank you for featuring the x_stance dataset in your library. This PR updates some metadata: - Citation: Replace preprint with proceedings - URL: Use a URL with long-term availability
true
2020-06-22T09:13:26Z
2020-06-23T08:07:24Z
2020-06-23T08:07:24Z
jvamvas
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/292
2020-06-23T08:07:24Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/292
true
[ "Great! Thanks @jvamvas for these updates.\r\n", "I have fixed a warning. The remaining test failure is due to an unrelated dataset.", "We just fixed the other dataset on master. Could you rebase from master and push to rerun the CI ?" ]
642,688,450
291
break statement not required
closed
true
2020-06-22T01:40:55Z
2020-06-23T17:57:58Z
2020-06-23T09:37:02Z
mayurnewase
NONE
https://github.com/huggingface/datasets/pull/291
null
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/291
true
[ "I guess,test failing due to connection error?", "We just fixed the other dataset on master. Could you rebase from master and push to rerun the CI ?", "If I'm not wrong this function returns None if no main class was found.\r\nI think it makes things less clear not to have a return at the end of the function.\r...
641,978,286
290
ConnectionError - Eli5 dataset download
closed
Hi, I have a problem with downloading Eli5 dataset. When typing `nlp.load_dataset('eli5')`, I get ConnectionError: Couldn't reach https://storage.googleapis.com/huggingface-nlp/cache/datasets/eli5/LFQA_reddit/1.0.0/explain_like_im_five-train_eli5.arrow I would appreciate if you could help me with this issue.
true
2020-06-19T13:40:33Z
2020-06-20T13:22:24Z
2020-06-20T13:22:24Z
JovanNj
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/290
false
[ "It should ne fixed now, thanks for reporting this one :)\r\nIt was an issue on our google storage.\r\n\r\nLet me now if you're still facing this issue.", "It works now, thanks for prompt help!" ]
641,934,194
289
update xsum
closed
This PR makes the following update to the xsum dataset: - Manual download is not required anymore - dataset can be loaded as follow: `nlp.load_dataset('xsum')` **Important** Instead of using on outdated url to download the data: "https://raw.githubusercontent.com/EdinburghNLP/XSum/master/XSum-Dataset/XSum...
true
2020-06-19T12:28:32Z
2020-06-22T13:27:26Z
2020-06-22T07:20:07Z
mariamabarham
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/289
2020-06-22T07:20:07Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/289
true
[ "Looks cool!\r\n@mariamabarham can you add a detailed description here what exactly is changed and how the user can load xsum now?", "And a rebase should solve the conflicts", "This is a super useful PR :-) @sshleifer - maybe you can take a look at the updated version of xsum if you can use it for your use case...
641,888,610
288
Error at the first example in README: AttributeError: module 'dill' has no attribute '_dill'
closed
/Users/parasol_tree/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:469: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint8 = np.dtype([("qint8", np.int8, 1)]) /Users/...
true
2020-06-19T11:01:22Z
2020-06-21T09:05:11Z
2020-06-21T09:05:11Z
wutong8023
NONE
null
null
5
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/288
false
[ "It looks like the bug comes from `dill`. Which version of `dill` are you using ?", "Thank you. It is version 0.2.6, which version is better?", "0.2.6 is three years old now, maybe try a more recent one, e.g. the current 0.3.2 if you can?", "Thanks guys! I upgraded dill and it works.", "Awesome" ]
641,800,227
287
fix squad_v2 metric
closed
Fix #280 The imports were wrong
true
2020-06-19T08:24:46Z
2020-06-19T08:33:43Z
2020-06-19T08:33:41Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/287
2020-06-19T08:33:41Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/287
true
[]
641,585,758
286
Add ANLI dataset.
closed
I completed all the steps in https://github.com/huggingface/nlp/blob/master/CONTRIBUTING.md#how-to-add-a-dataset and push the code for ANLI. Please let me know if there are any errors.
true
2020-06-18T22:27:30Z
2020-06-22T12:23:27Z
2020-06-22T12:23:27Z
easonnie
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/286
2020-06-22T12:23:26Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/286
true
[ "Awesome!! Thanks @easonnie.\r\nLet's wait for additional reviews maybe from @lhoestq @patrickvonplaten @jplu" ]
641,360,702
285
Consistent formatting of citations
closed
#283
true
2020-06-18T16:25:23Z
2020-06-22T08:09:25Z
2020-06-22T08:09:24Z
mariamabarham
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/285
2020-06-22T08:09:23Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/285
true
[ "Circle CI shuold be green :-) " ]
641,337,217
284
Fix manual download instructions
closed
This PR replaces the static `DatasetBulider` variable `MANUAL_DOWNLOAD_INSTRUCTIONS` by a property function `manual_download_instructions()`. Some datasets like XTREME and all WMT need the manual data dir only for a small fraction of the possible configs. After some brainstorming with @mariamabarham and @lhoestq...
true
2020-06-18T15:59:57Z
2020-06-19T08:24:21Z
2020-06-19T08:24:19Z
patrickvonplaten
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/284
2020-06-19T08:24:19Z
5
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/284
true
[ "Verified that this works, thanks!", "But I get\r\n```python\r\nConnectionError: Couldn't reach https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/./datasets/wmt16/wmt16.py\r\n```\r\nWhen I try from jupyter on brutasse or my mac. (the jupyter server is run from transformers).\r\n\r\n\r\nBoth machines c...
641,270,439
283
Consistent formatting of citations
closed
The citations are all of a different format, some have "```" and have text inside, others are proper bibtex. Can we make it so that they all are proper citations, i.e. parse by the bibtex spec: https://bibtexparser.readthedocs.io/en/master/
true
2020-06-18T14:48:45Z
2020-06-22T17:30:46Z
2020-06-22T17:30:46Z
srush
CONTRIBUTOR
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/283
false
[]
641,217,759
282
Update dataset_info from gcs
closed
Some datasets are hosted on gcs (wikipedia for example). In this PR I make sure that, when a user loads such datasets, the file_instructions are built using the dataset_info.json from gcs and not from the info extracted from the local `dataset_infos.json` (the one that contain the info for each config). Indeed local fi...
true
2020-06-18T13:41:15Z
2020-06-18T16:24:52Z
2020-06-18T16:24:51Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/282
2020-06-18T16:24:51Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/282
true
[]
641,067,856
281
Private/sensitive data
closed
Hi all, Thanks for this fantastic library, it makes it very easy to do prototyping for NLP projects interchangeably between TF/Pytorch. Unfortunately, there is data that cannot easily be shared publicly as it may contain sensitive information. Is there support/a plan to support such data with NLP, e.g. by readin...
true
2020-06-18T09:47:27Z
2020-06-20T13:15:12Z
2020-06-20T13:15:12Z
MFreidank
CONTRIBUTOR
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/281
false
[ "Hi @MFreidank, you should already be able to load a dataset from local sources, indeed. (ping @lhoestq and @jplu)\r\n\r\nWe're also thinking about the ability to host private datasets on a hosted bucket with permission management, but that's further down the road.", "Hi @MFreidank, it is possible to load a datas...
640,677,615
280
Error with SquadV2 Metrics
closed
I can't seem to import squad v2 metrics. **squad_metric = nlp.load_metric('squad_v2')** **This throws me an error.:** ``` ImportError Traceback (most recent call last) <ipython-input-8-170b6a170555> in <module> ----> 1 squad_metric = nlp.load_metric('squad_v2') ~/env/lib6...
true
2020-06-17T19:10:54Z
2020-06-19T08:33:41Z
2020-06-19T08:33:41Z
avinregmi
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/280
false
[]
640,611,692
279
Dataset Preprocessing Cache with .map() function not working as expected
closed
I've been having issues with reproducibility when loading and processing datasets with the `.map` function. I was only able to resolve them by clearing all of the cache files on my system. Is there a way to disable using the cache when processing a dataset? As I make minor processing changes on the same dataset, I ...
true
2020-06-17T17:17:21Z
2021-07-06T21:43:28Z
2021-04-18T23:43:49Z
sarahwie
NONE
null
null
5
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/279
false
[ "When you're processing a dataset with `.map`, it checks whether it has already done this computation using a hash based on the function and the input (using some fancy serialization with `dill`). If you found that it doesn't work as expected in some cases, let us know !\r\n\r\nGiven that, you can still force to re...
640,518,917
278
MemoryError when loading German Wikipedia
closed
Hi, first off let me say thank you for all the awesome work you're doing at Hugging Face across all your projects (NLP, Transformers, Tokenizers) - they're all amazing contributions to us working with NLP models :) I'm trying to download the German Wikipedia dataset as follows: ``` wiki = nlp.load_dataset("wikip...
true
2020-06-17T15:06:21Z
2020-06-19T12:53:02Z
2020-06-19T12:53:02Z
gregburman
NONE
null
null
7
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/278
false
[ "Hi !\r\n\r\nAs you noticed, \"big\" datasets like Wikipedia require apache beam to be processed.\r\nHowever users usually don't have an apache beam runtime available (spark, dataflow, etc.) so our goal for this library is to also make available processed versions of these datasets, so that users can just download ...
640,163,053
277
Empty samples in glue/qqp
closed
``` qqp = nlp.load_dataset('glue', 'qqp') print(qqp['train'][310121]) print(qqp['train'][362225]) ``` ``` {'question1': 'How can I create an Android app?', 'question2': '', 'label': 0, 'idx': 310137} {'question1': 'How can I develop android app?', 'question2': '', 'label': 0, 'idx': 362246} ``` Notice that que...
true
2020-06-17T05:54:52Z
2020-06-21T00:21:45Z
2020-06-21T00:21:45Z
richarddwang
CONTRIBUTOR
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/277
false
[ "We are only wrapping the original dataset.\r\n\r\nMaybe try to ask on the GLUE mailing list or reach out to the original authors?", "Tanks for the suggestion, I'll try to ask GLUE benchmark.\r\nI'll first close the issue, post the following up here afterwards, and reopen the issue if needed. " ]
639,490,858
276
Fix metric compute (original_instructions missing)
closed
When loading arrow data we added in cc8d250 a way to specify the instructions that were used to store them with the loaded dataset. However metrics load data the same way but don't need instructions (we use one single file). In this PR I just make `original_instructions` optional when reading files to load a `Datas...
true
2020-06-16T08:52:01Z
2020-06-18T07:41:45Z
2020-06-18T07:41:44Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/276
2020-06-18T07:41:43Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/276
true
[ "Awesome! This is working now:\r\n\r\n```python\r\nimport nlp \r\nseqeval = nlp.load_metric(\"seqeval\") \r\ny_true = [['O', 'O', 'O', 'B-MISC', 'I-MISC', 'I-MISC', 'O'], ['B-PER', 'I-PER', 'O']] \r\ny_pred = [['O', 'O', 'B-MISC', 'I-MISC', 'I-MISC', 'I-MISC', 'O'], ['B-PER', 'I-PER', 'O']] ...