id
int64
599M
3.26B
title
stringlengths
1
290
body
stringlengths
0
228k
state
stringclasses
2 values
number
int64
1
7.7k
comments
listlengths
0
30
locked
bool
1 class
created_at
stringdate
2020-04-14 10:18:02
2025-07-24 19:46:28
updated_at
stringdate
2020-04-27 16:04:17
2025-07-25 11:56:51
author_association
stringclasses
4 values
user_login
stringlengths
3
26
user_id
int64
3.5k
219M
user_type
stringclasses
1 value
labels
stringclasses
81 values
reactions
stringlengths
191
197
url
stringlengths
58
61
html_url
stringlengths
46
51
pull_request
stringlengths
289
315
is_pull_request
bool
2 classes
664,583,837
add DatasetDict
## Add DatasetDict ### Overview When you call `load_dataset` it can return a dictionary of datasets if there are several splits (train/test for example). If you wanted to apply dataset transforms you had to iterate over each split and apply the transform. Instead of returning a dict, it now returns a `nlp.Dat...
closed
430
[ "I did the changes in the docstrings and I added a type check in each `DatasetDict` method to make sure all values are of type `Dataset`", "Awesome, do you mind adding these in the doc as well?", "I added it to the docs (processing + main classes)", "I'm trying to follow along with the following about dataset...
false
2020-07-23 15:43:49
2020-08-04 01:01:53
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/430/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/430
https://github.com/huggingface/datasets/pull/430
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/430", "html_url": "https://github.com/huggingface/datasets/pull/430", "diff_url": "https://github.com/huggingface/datasets/pull/430.diff", "patch_url": "https://github.com/huggingface/datasets/pull/430.patch", "merged_at": "2020-07-29T09:06:22Z"}
true
664,412,137
mlsum
Hello, The tests for the load_real_data fail, as there is no default language subset to download it looks for a file that does not exist. This bug does not happen when using the load_dataset function, as it asks you to specify a language if you do not, so I submit this PR anyway. The dataset is avalaible on : https...
closed
429
[ "Thanks @RachelKer for this PR.\r\n\r\nI think the dummy_data structure does not also match. In the `_split_generator` you have something like `os.path.join(downloaded_files[\"validation\"], lang+'_val.jsonl')` but in you dummy_data you have `os.path.join(downloaded_files[\"validation\"], lang+\"_val.zip\", lang+'...
false
2020-07-23 11:52:39
2020-07-31 11:46:20
CONTRIBUTOR
RachelKer
36,986,299
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/429/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/429
https://github.com/huggingface/datasets/pull/429
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/429", "html_url": "https://github.com/huggingface/datasets/pull/429", "diff_url": "https://github.com/huggingface/datasets/pull/429.diff", "patch_url": "https://github.com/huggingface/datasets/pull/429.patch", "merged_at": null}
true
664,367,086
fix concatenate_datasets
`concatenate_datatsets` used to test that the different`nlp.Dataset.schema` match, but this attribute was removed in #423
closed
428
[]
false
2020-07-23 10:30:59
2020-07-23 10:35:00
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/428/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/428
https://github.com/huggingface/datasets/pull/428
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/428", "html_url": "https://github.com/huggingface/datasets/pull/428", "diff_url": "https://github.com/huggingface/datasets/pull/428.diff", "patch_url": "https://github.com/huggingface/datasets/pull/428.patch", "merged_at": "2020-07-23T10:34:58Z"}
true
664,341,623
Allow sequence features for beam + add processed Natural Questions
## Allow Sequence features for Beam Datasets + add Natural Questions ### The issue The steps of beam datasets processing is the following: - download the source files and send them in a remote storage (gcs) - process the files using a beam runner (dataflow) - save output in remote storage (gcs) - convert outp...
closed
427
[]
false
2020-07-23 09:52:41
2020-07-23 13:09:30
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/427/reactions", "total_count": 4, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 3, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/427
https://github.com/huggingface/datasets/pull/427
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/427", "html_url": "https://github.com/huggingface/datasets/pull/427", "diff_url": "https://github.com/huggingface/datasets/pull/427.diff", "patch_url": "https://github.com/huggingface/datasets/pull/427.patch", "merged_at": "2020-07-23T13:09:29Z"}
true
664,203,897
[FEATURE REQUEST] Multiprocessing with for dataset.map, dataset.filter
It would be nice to be able to speed up `dataset.map` or `dataset.filter`. Perhaps this is as easy as sharding the dataset sending each shard to a process/thread/dask pool and using the new `nlp.concatenate_dataset()` function to join them all together?
closed
426
[ "Yes that's definitely something we plan to add ^^", "Yes, that would be nice. We could take a look at what tensorflow `tf.data` does under the hood for instance.", "So `tf.data.Dataset.map()` returns a `ParallelMapDataset` if `num_parallel_calls is not None` [link](https://github.com/tensorflow/tensorflow/blob...
false
2020-07-23 05:00:41
2021-03-12 09:34:12
NONE
timothyjlaurent
2,000,204
User
[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/426/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/426
https://github.com/huggingface/datasets/issues/426
null
false
664,029,848
Correct data structure for PAN-X task in XTREME dataset?
Hi 🤗 team! ## Description of the problem Thanks to the fix from #416 I am now able to load the NER task in the XTREME dataset as follows: ```python from nlp import load_dataset # AmazonPhotos.zip is located in data/ dataset = load_dataset("xtreme", "PAN-X.en", data_dir='./data') dataset_train = dataset['tr...
closed
425
[ "Thanks for noticing ! This looks more reasonable indeed.\r\nFeel free to open a PR", "Hi @lhoestq \r\nI made the proposed changes to the `xtreme.py` script. I noticed that I also need to change the schema in the `dataset_infos.json` file. More specifically the `\"features\"` part of the PAN-X.LANG dataset:\r\n\...
false
2020-07-22 20:29:20
2020-08-02 13:30:34
MEMBER
lewtun
26,859,204
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/425/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/425
https://github.com/huggingface/datasets/issues/425
null
false
663,858,552
Web of science
this PR adds the WebofScience dataset #353
closed
424
[]
false
2020-07-22 15:38:31
2020-07-23 14:27:58
CONTRIBUTOR
mariamabarham
38,249,783
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/424/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/424
https://github.com/huggingface/datasets/pull/424
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/424", "html_url": "https://github.com/huggingface/datasets/pull/424", "diff_url": "https://github.com/huggingface/datasets/pull/424.diff", "patch_url": "https://github.com/huggingface/datasets/pull/424.patch", "merged_at": "2020-07-23T14:27:56Z"}
true
663,079,359
Change features vs schema logic
## New logic for `nlp.Features` in datasets Previously, it was confusing to have `features` and pyarrow's `schema` in `nlp.Dataset`. However `features` is supposed to be the front-facing object to define the different fields of a dataset, while `schema` is only used to write arrow files. Changes: - Remove `sche...
closed
423
[ "I had to make `SplitDict` serializable to be able to copy `DatasetInfo` objects properly.\r\nSerialization was also asked in #389 ", "One thing I forgot to say here, is that we also want to use the features arguments of `load_dataset` (which goes in the builder’s config) to override the default features of a dat...
false
2020-07-21 14:52:47
2020-07-25 09:08:34
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/423/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/423
https://github.com/huggingface/datasets/pull/423
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/423", "html_url": "https://github.com/huggingface/datasets/pull/423", "diff_url": "https://github.com/huggingface/datasets/pull/423.diff", "patch_url": "https://github.com/huggingface/datasets/pull/423.patch", "merged_at": "2020-07-23T10:15:16Z"}
true
663,028,497
- Corrected encoding for IMDB.
The preparation phase (after the download phase) crashed on windows because of charmap encoding not being able to decode certain characters. This change suggested in Issue #347 fixes it for the IMDB dataset.
closed
422
[]
false
2020-07-21 13:46:59
2020-07-22 16:02:53
CONTRIBUTOR
ghazi-f
25,091,538
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/422/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/422
https://github.com/huggingface/datasets/pull/422
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/422", "html_url": "https://github.com/huggingface/datasets/pull/422", "diff_url": "https://github.com/huggingface/datasets/pull/422.diff", "patch_url": "https://github.com/huggingface/datasets/pull/422.patch", "merged_at": "2020-07-22T16:02:53Z"}
true
662,213,864
Style change
make quality and make style ran on scripts
closed
421
[ "What about the other PR #419 ?", "Oh this is the PR where I ran make quality and make style and some previous files from master were changed", "Oh right ! Let me fix the style myself if you don't mind" ]
false
2020-07-20 20:08:29
2020-07-22 16:08:40
CONTRIBUTOR
lordtt13
35,500,534
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/421/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/421
https://github.com/huggingface/datasets/pull/421
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/421", "html_url": "https://github.com/huggingface/datasets/pull/421", "diff_url": "https://github.com/huggingface/datasets/pull/421.diff", "patch_url": "https://github.com/huggingface/datasets/pull/421.patch", "merged_at": null}
true
662,029,782
Better handle nested features
Changes: - added arrow schema to features conversion (it's going to be useful to fix #342 ) - make flatten handle deep features (useful for tfrecords conversion in #339 ) - add tests for flatten and features conversions - the reader now returns the kwargs to instantiate a Dataset (fix circular dependencies)
closed
420
[]
false
2020-07-20 16:44:13
2020-07-21 08:20:49
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/420/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/420
https://github.com/huggingface/datasets/pull/420
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/420", "html_url": "https://github.com/huggingface/datasets/pull/420", "diff_url": "https://github.com/huggingface/datasets/pull/420.diff", "patch_url": "https://github.com/huggingface/datasets/pull/420.patch", "merged_at": "2020-07-21T08:09:51Z"}
true
661,974,747
EmoContext dataset add
EmoContext Dataset add Signed-off-by: lordtt13 <thakurtanmay72@yahoo.com>
closed
419
[]
false
2020-07-20 15:48:45
2020-07-24 08:22:01
CONTRIBUTOR
lordtt13
35,500,534
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/419/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/419
https://github.com/huggingface/datasets/pull/419
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/419", "html_url": "https://github.com/huggingface/datasets/pull/419", "diff_url": "https://github.com/huggingface/datasets/pull/419.diff", "patch_url": "https://github.com/huggingface/datasets/pull/419.patch", "merged_at": "2020-07-24T08:22:00Z"}
true
661,914,873
Addition of google drive links to dl_manager
Hello there, I followed the template to create a download script of my own, which works fine for me, although I had to shun the dl_manager because it was downloading nothing from the drive links and instead use gdown. This is the script for me: ```python class EmoConfig(nlp.BuilderConfig): """BuilderConfig ...
closed
418
[ "I think the problem is the way you wrote your urls. Try the following structure to see `https://drive.google.com/uc?export=download&id=your_file_id` . \r\n\r\n@lhoestq ", "Oh sorry, I think `_get_drive_url` is doing that. \r\n\r\nHave you tried to use `dl_manager.download_and_extract(_get_drive_url(_TRAIN_URL)`...
false
2020-07-20 14:52:02
2020-07-20 15:39:32
CONTRIBUTOR
lordtt13
35,500,534
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/418/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/418
https://github.com/huggingface/datasets/issues/418
null
false
661,804,054
Fix docstrins multiple metrics instances
We change the docstrings of `nlp.Metric.compute`, `nlp.Metric.add` and `nlp.Metric.add_batch` depending on which metric is instantiated. However we had issues when instantiating multiple metrics (docstrings were duplicated). This should fix #304
closed
417
[]
false
2020-07-20 13:08:59
2020-07-22 09:51:00
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/417/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/417
https://github.com/huggingface/datasets/pull/417
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/417", "html_url": "https://github.com/huggingface/datasets/pull/417", "diff_url": "https://github.com/huggingface/datasets/pull/417.diff", "patch_url": "https://github.com/huggingface/datasets/pull/417.patch", "merged_at": "2020-07-22T09:50:58Z"}
true
661,635,393
Fix xtreme panx directory
Fix #412
closed
416
[ "great, I think I did not download the data the way you do, but yours is more reasonable." ]
false
2020-07-20 10:09:17
2020-07-21 08:15:46
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/416/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/416
https://github.com/huggingface/datasets/pull/416
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/416", "html_url": "https://github.com/huggingface/datasets/pull/416", "diff_url": "https://github.com/huggingface/datasets/pull/416.diff", "patch_url": "https://github.com/huggingface/datasets/pull/416.patch", "merged_at": "2020-07-21T08:15:44Z"}
true
660,687,076
Something is wrong with WMT 19 kk-en dataset
The translation in the `train` set does not look right: ``` >>>import nlp >>>from nlp import load_dataset >>>dataset = load_dataset('wmt19', 'kk-en') >>>dataset["train"]["translation"][0] {'kk': 'Trumpian Uncertainty', 'en': 'Трамптық белгісіздік'} >>>dataset["validation"]["translation"][0] {'kk': 'Ақша-несие...
open
415
[]
false
2020-07-19 08:18:51
2020-07-20 09:54:26
NONE
ChenghaoMou
32,014,649
User
[{"id": 2067388877, "node_id": "MDU6TGFiZWwyMDY3Mzg4ODc3", "url": "https://api.github.com/repos/huggingface/datasets/labels/dataset%20bug", "name": "dataset bug", "color": "2edb81", "default": false, "description": "A bug in a dataset script provided in the library"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/415/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 1, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/415
https://github.com/huggingface/datasets/issues/415
null
false
660,654,013
from_dict delete?
AttributeError: type object 'Dataset' has no attribute 'from_dict'
closed
414
[ "`from_dict` was added in #350 that was unfortunately not included in the 0.3.0 release. It's going to be included in the next release that will be out pretty soon though.\r\nRight now if you want to use `from_dict` you have to install the package from the master branch\r\n```\r\npip install git+https://github.com/...
false
2020-07-19 07:08:36
2020-07-21 02:21:17
NONE
hackerxiaobai
22,817,243
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/414/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/414
https://github.com/huggingface/datasets/issues/414
null
false
660,063,655
Is there a way to download only NQ dev?
Maybe I missed that in the docs, but is there a way to only download the dev set of natural questions (~1 GB)? As we want to benchmark QA models on different datasets, I would like to avoid downloading the 41GB of training data. I tried ``` dataset = nlp.load_dataset('natural_questions', split="validation", bea...
closed
413
[ "Unfortunately it's not possible to download only the dev set of NQ.\r\n\r\nI think we could add a way to download only the test set by adding a custom configuration to the processing script though.", "Ok, got it. I think this could be a valuable feature - especially for large datasets like NQ, but potentially al...
false
2020-07-18 10:28:23
2022-02-11 09:50:21
NONE
tholor
1,563,902
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/413/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/413
https://github.com/huggingface/datasets/issues/413
null
false
660,047,139
Unable to load XTREME dataset from disk
Hi 🤗 team! ## Description of the problem Following the [docs](https://huggingface.co/nlp/loading_datasets.html?highlight=xtreme#manually-downloading-files) I'm trying to load the `PAN-X.fr` dataset from the [XTREME](https://github.com/google-research/xtreme) benchmark. I have manually downloaded the `AmazonPho...
closed
412
[ "Hi @lewtun, you have to provide the full path to the downloaded file for example `/home/lewtum/..`", "I was able to repro. Opening a PR to fix that.\r\nThanks for reporting this issue !", "Thanks for the rapid fix @lhoestq!" ]
false
2020-07-18 09:55:00
2020-07-21 08:15:44
MEMBER
lewtun
26,859,204
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/412/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/412
https://github.com/huggingface/datasets/issues/412
null
false
659,393,398
Sbf
This PR adds the Social Bias Frames Dataset (ACL 2020) . dataset homepage: https://homes.cs.washington.edu/~msap/social-bias-frames/
closed
411
[]
false
2020-07-17 16:19:45
2020-07-21 09:13:46
CONTRIBUTOR
mariamabarham
38,249,783
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/411/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/411
https://github.com/huggingface/datasets/pull/411
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/411", "html_url": "https://github.com/huggingface/datasets/pull/411", "diff_url": "https://github.com/huggingface/datasets/pull/411.diff", "patch_url": "https://github.com/huggingface/datasets/pull/411.patch", "merged_at": "2020-07-21T09:13:45Z"}
true
659,242,871
20newsgroup
Add 20Newsgroup dataset. #353
closed
410
[]
false
2020-07-17 13:07:57
2020-07-20 07:05:29
CONTRIBUTOR
mariamabarham
38,249,783
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/410/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/410
https://github.com/huggingface/datasets/pull/410
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/410", "html_url": "https://github.com/huggingface/datasets/pull/410", "diff_url": "https://github.com/huggingface/datasets/pull/410.diff", "patch_url": "https://github.com/huggingface/datasets/pull/410.patch", "merged_at": "2020-07-20T07:05:28Z"}
true
659,128,611
train_test_split error: 'dict' object has no attribute 'deepcopy'
`train_test_split` is giving me an error when I try and call it: `'dict' object has no attribute 'deepcopy'` ## To reproduce ``` dataset = load_dataset('glue', 'mrpc', split='train') dataset = dataset.train_test_split(test_size=0.2) ``` ## Full Stacktrace ``` -------------------------------------------...
closed
409
[ "It was fixed in 2ddd18d139d3047c9c3abe96e1e7d05bb360132c.\r\nCould you pull the latest changes from master @morganmcg1 ?", "Thanks @lhoestq, works fine now!" ]
false
2020-07-17 10:36:28
2020-07-21 14:34:52
NONE
morganmcg1
20,516,801
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/409/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/409
https://github.com/huggingface/datasets/issues/409
null
false
659,064,144
Add tests datasets gcp
Some datasets are available on our google cloud storage in arrow format, so that the users don't need to process the data. These tests make sure that they're always available. It also makes sure that their scripts are in sync between S3 and the repo. This should avoid future issues like #407
closed
408
[]
false
2020-07-17 09:23:27
2020-07-17 09:26:57
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/408/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/408
https://github.com/huggingface/datasets/pull/408
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/408", "html_url": "https://github.com/huggingface/datasets/pull/408", "diff_url": "https://github.com/huggingface/datasets/pull/408.diff", "patch_url": "https://github.com/huggingface/datasets/pull/408.patch", "merged_at": "2020-07-17T09:26:56Z"}
true
658,672,736
MissingBeamOptions for Wikipedia 20200501.en
There may or may not be a regression for the pre-processed Wikipedia dataset. This was working fine 10 commits ago (without having Apache Beam available): ``` nlp.load_dataset('wikipedia', "20200501.en", split='train') ``` And now, having pulled master, I get: ``` Downloading and preparing dataset wikipedia...
closed
407
[ "Fixed. Could you try again @mitchellgordon95 ?\r\nIt was due a file not being updated on S3.\r\n\r\nWe need to make sure all the datasets scripts get updated properly @julien-c ", "Works for me! Thanks.", "I found the same issue with almost any language other than English. (For English, it works). Will someone...
false
2020-07-16 23:48:03
2021-01-12 11:41:16
CONTRIBUTOR
mitchellgordon95
7,490,438
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/407/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/407
https://github.com/huggingface/datasets/issues/407
null
false
658,581,764
Faster Shuffling?
Consider shuffling bookcorpus: ``` dataset = nlp.load_dataset('bookcorpus', split='train') dataset.shuffle() ``` According to tqdm, this will take around 2.5 hours on my machine to complete (even with the faster version of select from #405). I've also tried with `keep_in_memory=True` and `writer_batch_size=1000`...
closed
406
[ "I think the slowness here probably come from the fact that we are copying from and to python.\r\n\r\n@lhoestq for all the `select`-based methods I think we should stay in Arrow format and update the writer so that it can accept Arrow tables or batches as well. What do you think?", "> @lhoestq for all the `select...
false
2020-07-16 21:21:53
2023-08-16 09:52:39
CONTRIBUTOR
mitchellgordon95
7,490,438
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/406/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/406
https://github.com/huggingface/datasets/issues/406
null
false
658,580,192
Make select() faster by batching reads
Here's a benchmark: ``` dataset = nlp.load_dataset('bookcorpus', split='train') start = time.time() dataset.select(np.arange(1000), reader_batch_size=1, load_from_cache_file=False) end = time.time() print(f'{end - start}') start = time.time() dataset.select(np.arange(1000), reader_batch_size=1000, load_fr...
closed
405
[]
false
2020-07-16 21:19:45
2020-07-17 17:05:44
CONTRIBUTOR
mitchellgordon95
7,490,438
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/405/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/405
https://github.com/huggingface/datasets/pull/405
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/405", "html_url": "https://github.com/huggingface/datasets/pull/405", "diff_url": "https://github.com/huggingface/datasets/pull/405.diff", "patch_url": "https://github.com/huggingface/datasets/pull/405.patch", "merged_at": "2020-07-17T16:51:26Z"}
true
658,400,987
Add seed in metrics
With #361 we noticed that some metrics were not deterministic. In this PR I allow the user to specify numpy's seed when instantiating a metric with `load_metric`. The seed is set only when `compute` is called, and reset afterwards. Moreover when calling `compute` with the same metric instance (i.e. same experiment...
closed
404
[]
false
2020-07-16 17:27:05
2020-07-20 10:12:35
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/404/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/404
https://github.com/huggingface/datasets/pull/404
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/404", "html_url": "https://github.com/huggingface/datasets/pull/404", "diff_url": "https://github.com/huggingface/datasets/pull/404.diff", "patch_url": "https://github.com/huggingface/datasets/pull/404.patch", "merged_at": "2020-07-20T10:12:34Z"}
true
658,325,756
return python objects instead of arrays by default
We were using to_pandas() to convert from arrow types, however it returns numpy arrays instead of python lists. I fixed it by using to_pydict/to_pylist instead. Fix #387 It was mentioned in https://github.com/huggingface/transformers/issues/5729
closed
403
[]
false
2020-07-16 15:51:52
2020-07-17 11:37:01
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/403/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/403
https://github.com/huggingface/datasets/pull/403
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/403", "html_url": "https://github.com/huggingface/datasets/pull/403", "diff_url": "https://github.com/huggingface/datasets/pull/403.diff", "patch_url": "https://github.com/huggingface/datasets/pull/403.patch", "merged_at": "2020-07-17T11:37:00Z"}
true
658,001,288
Search qa
add SearchQA dataset #336
closed
402
[]
false
2020-07-16 09:00:10
2020-07-16 14:27:00
CONTRIBUTOR
mariamabarham
38,249,783
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/402/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/402
https://github.com/huggingface/datasets/pull/402
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/402", "html_url": "https://github.com/huggingface/datasets/pull/402", "diff_url": "https://github.com/huggingface/datasets/pull/402.diff", "patch_url": "https://github.com/huggingface/datasets/pull/402.patch", "merged_at": "2020-07-16T14:26:59Z"}
true
657,996,252
add web_questions
add Web Question dataset #336 Maybe @patrickvonplaten you can help with the dummy_data structure? it still broken
closed
401
[ "What does the `nlp-cli dummy_data` command returns ?", "`test.json` -> `test` \r\nand \r\n`train.json` -> `train`\r\n\r\nas shown by the `nlp-cli dummy_data` command ;-)", "LGTM for merge @lhoestq - I let you merge if you want to." ]
false
2020-07-16 08:54:59
2020-08-06 06:16:20
CONTRIBUTOR
mariamabarham
38,249,783
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/401/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/401
https://github.com/huggingface/datasets/pull/401
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/401", "html_url": "https://github.com/huggingface/datasets/pull/401", "diff_url": "https://github.com/huggingface/datasets/pull/401.diff", "patch_url": "https://github.com/huggingface/datasets/pull/401.patch", "merged_at": "2020-08-06T06:16:19Z"}
true
657,975,600
Web questions
add the WebQuestion dataset #336
closed
400
[]
false
2020-07-16 08:28:29
2020-07-16 08:50:51
CONTRIBUTOR
mariamabarham
38,249,783
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/400/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/400
https://github.com/huggingface/datasets/pull/400
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/400", "html_url": "https://github.com/huggingface/datasets/pull/400", "diff_url": "https://github.com/huggingface/datasets/pull/400.diff", "patch_url": "https://github.com/huggingface/datasets/pull/400.patch", "merged_at": null}
true
657,841,433
Spelling mistake
In "Formatting the dataset" part, "The two toehr modifications..." should be "The two other modifications..." ,the word "other" wrong spelled as "toehr".
closed
399
[ "Thanks!" ]
false
2020-07-16 04:37:58
2020-07-16 06:49:48
CONTRIBUTOR
BlancRay
9,410,067
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/399/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/399
https://github.com/huggingface/datasets/pull/399
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/399", "html_url": "https://github.com/huggingface/datasets/pull/399", "diff_url": "https://github.com/huggingface/datasets/pull/399.diff", "patch_url": "https://github.com/huggingface/datasets/pull/399.patch", "merged_at": "2020-07-16T06:49:37Z"}
true
657,511,962
Add inline links
Add inline links to `Contributing.md`
closed
398
[ "Do you mind adding a link to the much more extended pages on adding and sharing a dataset in the new documentation?", "Sure, I will do that too" ]
false
2020-07-15 17:04:04
2020-07-22 10:14:22
CONTRIBUTOR
bharatr21
13,381,361
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/398/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/398
https://github.com/huggingface/datasets/pull/398
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/398", "html_url": "https://github.com/huggingface/datasets/pull/398", "diff_url": "https://github.com/huggingface/datasets/pull/398.diff", "patch_url": "https://github.com/huggingface/datasets/pull/398.patch", "merged_at": "2020-07-22T10:14:22Z"}
true
657,510,856
Add contiguous sharding
This makes dset.shard() play nice with nlp.concatenate_datasets(). When I originally wrote the shard() method, I was thinking about a distributed training scenario, but https://github.com/huggingface/nlp/pull/389 also uses it for splitting the dataset for distributed preprocessing. Usage: ``` nlp.concatenate_datas...
closed
397
[]
false
2020-07-15 17:02:58
2020-07-17 16:59:31
CONTRIBUTOR
jarednielsen
4,564,897
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/397/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/397
https://github.com/huggingface/datasets/pull/397
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/397", "html_url": "https://github.com/huggingface/datasets/pull/397", "diff_url": "https://github.com/huggingface/datasets/pull/397.diff", "patch_url": "https://github.com/huggingface/datasets/pull/397.patch", "merged_at": "2020-07-17T16:59:30Z"}
true
657,477,952
Fix memory issue when doing select
We were passing the `nlp.Dataset` object to get the hash for the new dataset's file name. Fix #395
closed
396
[]
false
2020-07-15 16:15:04
2020-07-16 08:07:32
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/396/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/396
https://github.com/huggingface/datasets/pull/396
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/396", "html_url": "https://github.com/huggingface/datasets/pull/396", "diff_url": "https://github.com/huggingface/datasets/pull/396.diff", "patch_url": "https://github.com/huggingface/datasets/pull/396.patch", "merged_at": "2020-07-16T08:07:30Z"}
true
657,454,983
Memory issue when doing select
As noticed in #389, the following code loads the entire wikipedia in memory. ```python import nlp w = nlp.load_dataset("wikipedia", "20200501.en", split="train") w.select([0]) ``` This is caused by [this line](https://github.com/huggingface/nlp/blob/master/src/nlp/arrow_dataset.py#L626) for some reason, that ...
closed
395
[]
false
2020-07-15 15:43:38
2020-07-16 08:07:31
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/395/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/395
https://github.com/huggingface/datasets/issues/395
null
false
657,425,548
Remove remaining nested dict
This PR deletes the remaining unnecessary nested dict #378
closed
394
[]
false
2020-07-15 15:05:52
2020-07-16 07:39:52
CONTRIBUTOR
mariamabarham
38,249,783
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/394/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/394
https://github.com/huggingface/datasets/pull/394
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/394", "html_url": "https://github.com/huggingface/datasets/pull/394", "diff_url": "https://github.com/huggingface/datasets/pull/394.diff", "patch_url": "https://github.com/huggingface/datasets/pull/394.patch", "merged_at": "2020-07-16T07:39:51Z"}
true
657,330,911
Fix extracted files directory for the DownloadManager
The cache dir was often cluttered by extracted files because of the download manager. For downloaded files, we are using the `downloads` directory to make things easier to navigate, but extracted files were still placed at the root of the cache directory. To fix that I changed the directory for extracted files to ca...
closed
393
[]
false
2020-07-15 12:59:55
2020-07-17 17:02:16
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/393/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/393
https://github.com/huggingface/datasets/pull/393
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/393", "html_url": "https://github.com/huggingface/datasets/pull/393", "diff_url": "https://github.com/huggingface/datasets/pull/393.diff", "patch_url": "https://github.com/huggingface/datasets/pull/393.patch", "merged_at": "2020-07-17T17:02:14Z"}
true
657,313,738
Style change detection
Another [PAN task](https://pan.webis.de/clef20/pan20-web/style-change-detection.html). This time about identifying when the style/author changes in documents. - There's the possibility of adding the [PAN19](https://zenodo.org/record/3577602) and PAN18 style change detection tasks too (these are datasets whose labels...
closed
392
[]
false
2020-07-15 12:32:14
2020-07-21 13:18:36
CONTRIBUTOR
ghomasHudson
13,795,113
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/392/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/392
https://github.com/huggingface/datasets/pull/392
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/392", "html_url": "https://github.com/huggingface/datasets/pull/392", "diff_url": "https://github.com/huggingface/datasets/pull/392.diff", "patch_url": "https://github.com/huggingface/datasets/pull/392.patch", "merged_at": "2020-07-17T17:13:23Z"}
true
656,956,384
Concatenate datasets
I'm constructing the "WikiBooks" dataset, which is a concatenation of Wikipedia & BookCorpus. So I implemented the `Dataset.from_concat()` method, which concatenates two datasets with the same schema. This would also be useful if someone wants to pretrain on a large generic dataset + their own custom dataset. Not in...
closed
390
[ "Looks cool :)\r\n\r\nI feel like \r\n```python\r\nconcatenated_dataset = dataset1.concatenate(dataset2)\r\n```\r\ncould be more natural. What do you think ?\r\n\r\nAlso could you also concatenate the `nlp.Dataset._data_files` ?\r\n```python\r\nreturn cls(table, info=info, split=split, data_files=self._data_files +...
false
2020-07-14 23:24:37
2020-07-22 09:49:58
CONTRIBUTOR
jarednielsen
4,564,897
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/390/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/390
https://github.com/huggingface/datasets/pull/390
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/390", "html_url": "https://github.com/huggingface/datasets/pull/390", "diff_url": "https://github.com/huggingface/datasets/pull/390.diff", "patch_url": "https://github.com/huggingface/datasets/pull/390.patch", "merged_at": "2020-07-22T09:49:58Z"}
true
656,921,768
Fix pickling of SplitDict
It would be nice to pickle and unpickle Datasets, as done in [this tutorial](https://github.com/patil-suraj/exploring-T5/blob/master/T5_on_TPU.ipynb). Example: ``` wiki = nlp.load_dataset('wikipedia', split='train') def sentencize(examples): ... wiki = wiki.map(sentencize, batched=True) torch.save(wiki, '...
closed
389
[ "By the way, the reason this is an issue for me is because I want to be able to \"save\" changes made to a dataset by writing something to disk. In this case, I would like to pre-process my dataset once, and then train multiple models on the dataset later without having to re-process the data. \r\n\r\nIs pickling/u...
false
2020-07-14 21:53:39
2020-08-04 14:38:10
CONTRIBUTOR
mitchellgordon95
7,490,438
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/389/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/389
https://github.com/huggingface/datasets/pull/389
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/389", "html_url": "https://github.com/huggingface/datasets/pull/389", "diff_url": "https://github.com/huggingface/datasets/pull/389.diff", "patch_url": "https://github.com/huggingface/datasets/pull/389.patch", "merged_at": null}
true
656,707,497
🐛 [Dataset] Cannot download wmt14, wmt15 and wmt17
1. I try downloading `wmt14`, `wmt15`, `wmt17`, `wmt19` with the following code: ``` nlp.load_dataset('wmt14','de-en') nlp.load_dataset('wmt15','de-en') nlp.load_dataset('wmt17','de-en') nlp.load_dataset('wmt19','de-en') ``` The code runs but the download speed is **extremely slow**, the same behaviour is not ob...
closed
388
[ "similar slow download speed here for nlp.load_dataset('wmt14', 'fr-en')\r\n`\r\nDownloading: 100%|██████████████████████████████████████████████████████████| 658M/658M [1:00:42<00:00, 181kB/s]\r\nDownloading: 100%|██████████████████████████████████████████████████████████| 918M/918M [1:39:38<00:00, 154kB/s]\r\nDow...
false
2020-07-14 15:36:41
2022-10-04 18:01:28
NONE
SamuelCahyawijaya
2,826,602
User
[{"id": 2067388877, "node_id": "MDU6TGFiZWwyMDY3Mzg4ODc3", "url": "https://api.github.com/repos/huggingface/datasets/labels/dataset%20bug", "name": "dataset bug", "color": "2edb81", "default": false, "description": "A bug in a dataset script provided in the library"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/388/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/388
https://github.com/huggingface/datasets/issues/388
null
false
656,361,357
Conversion through to_pandas output numpy arrays for lists instead of python objects
In a related question, the conversion through to_pandas output numpy arrays for the lists instead of python objects. Here is an example: ```python >>> dataset._data.slice(key, 1).to_pandas().to_dict("list") {'sentence1': ['Amrozi accused his brother , whom he called " the witness " , of deliberately distorting hi...
closed
387
[ "To convert from arrow type we have three options: to_numpy, to_pandas and to_pydict/to_pylist.\r\n\r\n- to_numpy and to_pandas return numpy arrays instead of lists but are very fast.\r\n- to_pydict/to_pylist can be 100x slower and become the bottleneck for reading data, but at least they return lists.\r\n\r\nMaybe...
false
2020-07-14 06:24:01
2020-07-17 11:37:00
MEMBER
thomwolf
7,353,373
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/387/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/387
https://github.com/huggingface/datasets/issues/387
null
false
655,839,067
Update dataset loading and features - Add TREC dataset
This PR: - add a template for a new dataset script - update the caching structure so that the path to the cached data files is also a function of the dataset loading script hash. This way when you update a loading script the data will be automatically updated instead of falling back to the previous version (which is ...
closed
386
[ "I just copied the files that are on google storage to follow the new `_relative_data_dir ` format. It should be good to merge now :)\r\n\r\nWell actually it seems there are some merge conflicts to fix first" ]
false
2020-07-13 13:10:18
2020-07-16 08:17:58
MEMBER
thomwolf
7,353,373
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/386/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/386
https://github.com/huggingface/datasets/pull/386
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/386", "html_url": "https://github.com/huggingface/datasets/pull/386", "diff_url": "https://github.com/huggingface/datasets/pull/386.diff", "patch_url": "https://github.com/huggingface/datasets/pull/386.patch", "merged_at": "2020-07-16T08:17:58Z"}
true
655,663,997
Remove unnecessary nested dict
This PR is removing unnecessary nested dictionary used in some datasets. For now the following datasets are updated: - MLQA - RACE Will be adding more if necessary. #378
closed
385
[ "We can probably scan the dataset scripts with a regexpr to try to identify this pattern cc @patrickvonplaten maybe", "@mariamabarham This script should work. I tested it for a couple of datasets. There might be exceptions where the script breaks - did not test everything.\r\n\r\n```python\r\n#!/usr/bin/env pytho...
false
2020-07-13 08:46:23
2020-07-15 11:27:38
CONTRIBUTOR
mariamabarham
38,249,783
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/385/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/385
https://github.com/huggingface/datasets/pull/385
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/385", "html_url": "https://github.com/huggingface/datasets/pull/385", "diff_url": "https://github.com/huggingface/datasets/pull/385.diff", "patch_url": "https://github.com/huggingface/datasets/pull/385.patch", "merged_at": "2020-07-15T10:03:53Z"}
true
655,291,201
Adding the Linguistic Code-switching Evaluation (LinCE) benchmark
Hi, First of all, this library is really cool! Thanks for putting all of this together! This PR contains the [Linguistic Code-switching Evaluation (LinCE) benchmark](https://ritual.uh.edu/lince). As described in the official website (FAQ): > 1. Why do we need LinCE? >LinCE brings 10 code-switching datasets t...
closed
383
[ "I am checking the details of the CI log for the failed test, but I don't see how the error relates to the code I added; the error is coming from a config builder different than the `LinceConfig`, and it crashes when `self.config.data_files` because is self.config is None. I would appreciate if someone could help m...
false
2020-07-11 22:35:20
2020-07-16 16:19:46
CONTRIBUTOR
gaguilar
5,833,357
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/383/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/383
https://github.com/huggingface/datasets/pull/383
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/383", "html_url": "https://github.com/huggingface/datasets/pull/383", "diff_url": "https://github.com/huggingface/datasets/pull/383.diff", "patch_url": "https://github.com/huggingface/datasets/pull/383.patch", "merged_at": "2020-07-16T16:19:46Z"}
true
655,290,482
1080
closed
382
[]
false
2020-07-11 22:29:07
2020-07-11 22:49:38
NONE
saq194
60,942,503
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/382/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/382
https://github.com/huggingface/datasets/issues/382
null
false
655,277,119
NLp
closed
381
[]
false
2020-07-11 20:50:14
2020-07-11 20:50:39
NONE
Spartanthor
68,147,610
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/381/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/381
https://github.com/huggingface/datasets/issues/381
null
false
655,226,316
[dataset] Structure of MLQA seems unecessary nested
The features of the MLQA dataset comprise several nested dictionaries with a single element inside (for `questions` and `ids`): https://github.com/huggingface/nlp/blob/master/datasets/mlqa/mlqa.py#L90-L97 Should we keep this @mariamabarham @patrickvonplaten? Was this added for compatibility with tfds? ```python ...
closed
378
[ "Same for the RACE dataset: https://github.com/huggingface/nlp/blob/master/datasets/race/race.py\r\n\r\nShould we scan all the datasets to remove this pattern of un-necessary nesting?", "You're right, I think we don't need to use the nested dictionary. \r\n" ]
false
2020-07-11 15:16:08
2020-07-15 16:17:20
MEMBER
thomwolf
7,353,373
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/378/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/378
https://github.com/huggingface/datasets/issues/378
null
false
655,215,790
Iyy!!!
closed
377
[]
false
2020-07-11 14:11:07
2020-07-11 14:30:51
NONE
ajinomoh
68,154,535
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/377/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/377
https://github.com/huggingface/datasets/issues/377
null
false
655,047,826
to_pandas conversion doesn't always work
For some complex nested types, the conversion from Arrow to python dict through pandas doesn't seem to be possible. Here is an example using the official SQUAD v2 JSON file. This example was found while investigating #373. ```python >>> squad = load_dataset('json', data_files={nlp.Split.TRAIN: ["./train-v2.0....
closed
376
[ "**Edit**: other topic previously in this message moved to a new issue: https://github.com/huggingface/nlp/issues/387", "Could you try to update pyarrow to >=0.17.0 ? It should fix the `to_pandas` bug\r\n\r\nAlso I'm not sure that structures like list<struct> are fully supported in the lib (none of the datasets u...
false
2020-07-10 21:33:31
2022-10-04 18:05:39
MEMBER
thomwolf
7,353,373
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/376/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/376
https://github.com/huggingface/datasets/issues/376
null
false
655,023,307
TypeError when computing bertscore
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...
closed
375
[ "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...
false
2020-07-10 20:37:44
2022-06-01 15:15:59
NONE
willywsm1013
13,269,577
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/375/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/375
https://github.com/huggingface/datasets/issues/375
null
false
654,895,066
Add dataset post processing for faiss indexes
# 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....
closed
374
[ "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...
false
2020-07-10 16:25:59
2020-07-13 13:44:03
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/374/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/374
https://github.com/huggingface/datasets/pull/374
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/374", "html_url": "https://github.com/huggingface/datasets/pull/374", "diff_url": "https://github.com/huggingface/datasets/pull/374.diff", "patch_url": "https://github.com/huggingface/datasets/pull/374.patch", "merged_at": "2020-07-13T13:44:01Z"}
true
654,845,133
Segmentation fault when loading local JSON dataset as of #372
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...
closed
373
[ "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...
false
2020-07-10 15:04:25
2022-10-04 18:05:47
CONTRIBUTOR
vegarab
24,683,907
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/373/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/373
https://github.com/huggingface/datasets/issues/373
null
false
654,774,420
Make the json script more flexible
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...
closed
372
[]
false
2020-07-10 13:15:15
2020-07-10 14:52:07
MEMBER
thomwolf
7,353,373
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/372/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/372
https://github.com/huggingface/datasets/pull/372
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/372", "html_url": "https://github.com/huggingface/datasets/pull/372", "diff_url": "https://github.com/huggingface/datasets/pull/372.diff", "patch_url": "https://github.com/huggingface/datasets/pull/372.patch", "merged_at": "2020-07-10T14:52:05Z"}
true
654,668,242
Fix cached file path for metrics with different config names
The config name was not taken into account to build the cached file path. It should fix #368
closed
371
[ "Thanks for the fast fix!" ]
false
2020-07-10 10:02:24
2020-07-10 13:45:22
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/371/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/371
https://github.com/huggingface/datasets/pull/371
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/371", "html_url": "https://github.com/huggingface/datasets/pull/371", "diff_url": "https://github.com/huggingface/datasets/pull/371.diff", "patch_url": "https://github.com/huggingface/datasets/pull/371.patch", "merged_at": "2020-07-10T13:45:20Z"}
true
654,304,193
Allow indexing Dataset via np.ndarray
closed
370
[ "Looks like a flaky CI, failed download from S3." ]
false
2020-07-09 19:43:15
2020-07-10 14:05:44
CONTRIBUTOR
jarednielsen
4,564,897
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/370/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/370
https://github.com/huggingface/datasets/pull/370
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/370", "html_url": "https://github.com/huggingface/datasets/pull/370", "diff_url": "https://github.com/huggingface/datasets/pull/370.diff", "patch_url": "https://github.com/huggingface/datasets/pull/370.patch", "merged_at": "2020-07-10T14:05:43Z"}
true
654,186,890
can't load local dataset: pyarrow.lib.ArrowInvalid: straddling object straddles two block boundaries
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 "/...
closed
369
[ "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...
false
2020-07-09 16:16:53
2020-12-15 23:07:22
CONTRIBUTOR
vegarab
24,683,907
User
[{"id": 2067388877, "node_id": "MDU6TGFiZWwyMDY3Mzg4ODc3", "url": "https://api.github.com/repos/huggingface/datasets/labels/dataset%20bug", "name": "dataset bug", "color": "2edb81", "default": false, "description": "A bug in a dataset script provided in the library"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/369/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/369
https://github.com/huggingface/datasets/issues/369
null
false
654,087,251
load_metric can't acquire lock anymore
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...
closed
368
[ "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...
false
2020-07-09 14:04:09
2020-07-10 13:45:20
NONE
ydshieh
2,521,628
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/368/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/368
https://github.com/huggingface/datasets/issues/368
null
false
654,012,984
Update Xtreme to add PAWS-X es
This PR adds the `PAWS-X.es` in the Xtreme dataset #362
closed
367
[]
false
2020-07-09 12:14:37
2020-07-09 12:37:11
CONTRIBUTOR
mariamabarham
38,249,783
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/367/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/367
https://github.com/huggingface/datasets/pull/367
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/367", "html_url": "https://github.com/huggingface/datasets/pull/367", "diff_url": "https://github.com/huggingface/datasets/pull/367.diff", "patch_url": "https://github.com/huggingface/datasets/pull/367.patch", "merged_at": "2020-07-09T12:37:10Z"}
true
653,954,896
Add quora dataset
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...
closed
366
[ "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" ]
false
2020-07-09 10:34:22
2020-07-13 17:35:21
CONTRIBUTOR
ghomasHudson
13,795,113
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/366/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/366
https://github.com/huggingface/datasets/pull/366
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/366", "html_url": "https://github.com/huggingface/datasets/pull/366", "diff_url": "https://github.com/huggingface/datasets/pull/366.diff", "patch_url": "https://github.com/huggingface/datasets/pull/366.patch", "merged_at": "2020-07-13T17:35:21Z"}
true
653,845,964
How to augment data ?
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...
closed
365
[ "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...
false
2020-07-09 07:52:37
2020-07-10 09:12:07
NONE
astariul
43,774,355
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/365/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/365
https://github.com/huggingface/datasets/issues/365
null
false
653,821,597
add MS MARCO dataset
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...
closed
364
[ "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...
false
2020-07-09 07:11:19
2020-08-06 06:15:49
CONTRIBUTOR
mariamabarham
38,249,783
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/364/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/364
https://github.com/huggingface/datasets/pull/364
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/364", "html_url": "https://github.com/huggingface/datasets/pull/364", "diff_url": "https://github.com/huggingface/datasets/pull/364.diff", "patch_url": "https://github.com/huggingface/datasets/pull/364.patch", "merged_at": "2020-08-06T06:15:48Z"}
true
653,821,172
Adding support for generic multi dimensional tensors and auxillary image data for multimodal datasets
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...
closed
363
[ "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...
false
2020-07-09 07:10:30
2020-08-24 09:59:35
CONTRIBUTOR
eltoto1219
14,030,663
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/363/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/363
https://github.com/huggingface/datasets/pull/363
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/363", "html_url": "https://github.com/huggingface/datasets/pull/363", "diff_url": "https://github.com/huggingface/datasets/pull/363.diff", "patch_url": "https://github.com/huggingface/datasets/pull/363.patch", "merged_at": "2020-08-24T09:59:35Z"}
true
653,766,245
[dateset subset missing] xtreme paws-x
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
closed
362
[ "You're right, thanks for pointing it out. We will update it " ]
false
2020-07-09 05:04:54
2020-07-09 12:38:42
CONTRIBUTOR
cosmeowpawlitan
50,871,412
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/362/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/362
https://github.com/huggingface/datasets/issues/362
null
false
653,757,376
🐛 [Metrics] ROUGE is non-deterministic
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...
closed
361
[ "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...
false
2020-07-09 04:39:37
2022-09-09 15:20:55
NONE
astariul
43,774,355
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/361/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/361
https://github.com/huggingface/datasets/issues/361
null
false
653,687,176
[Feature request] Add dataset.ragged_map() function for many-to-many transformations
`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...
closed
360
[ "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...
false
2020-07-09 01:04:43
2020-07-09 19:31:51
CONTRIBUTOR
jarednielsen
4,564,897
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/360/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/360
https://github.com/huggingface/datasets/issues/360
null
false
653,656,279
ArrowBasedBuilder _prepare_split parse_schema breaks on nested structures
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...
closed
359
[ "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\", ...
false
2020-07-08 23:24:05
2020-07-10 14:52:06
NONE
timothyjlaurent
2,000,204
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/359/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/359
https://github.com/huggingface/datasets/issues/359
null
false
653,645,121
Starting to add some real doc
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...
closed
358
[ "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" ]
false
2020-07-08 22:53:03
2020-07-14 09:58:17
MEMBER
thomwolf
7,353,373
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/358/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/358
https://github.com/huggingface/datasets/pull/358
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/358", "html_url": "https://github.com/huggingface/datasets/pull/358", "diff_url": "https://github.com/huggingface/datasets/pull/358.diff", "patch_url": "https://github.com/huggingface/datasets/pull/358.patch", "merged_at": "2020-07-14T09:58:15Z"}
true
653,642,292
Add hashes to cnn_dailymail
The URL hashes are helpful for comparing results from other sources.
closed
357
[ "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\...
false
2020-07-08 22:45:21
2020-07-13 14:16:38
CONTRIBUTOR
jbragg
2,238,344
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/357/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/357
https://github.com/huggingface/datasets/pull/357
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/357", "html_url": "https://github.com/huggingface/datasets/pull/357", "diff_url": "https://github.com/huggingface/datasets/pull/357.diff", "patch_url": "https://github.com/huggingface/datasets/pull/357.patch", "merged_at": "2020-07-13T14:16:38Z"}
true
653,537,388
Add text dataset
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...
closed
356
[]
false
2020-07-08 19:21:53
2020-07-10 14:19:03
CONTRIBUTOR
jarednielsen
4,564,897
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/356/reactions", "total_count": 6, "+1": 2, "-1": 0, "laugh": 0, "hooray": 3, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/356
https://github.com/huggingface/datasets/pull/356
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/356", "html_url": "https://github.com/huggingface/datasets/pull/356", "diff_url": "https://github.com/huggingface/datasets/pull/356.diff", "patch_url": "https://github.com/huggingface/datasets/pull/356.patch", "merged_at": "2020-07-10T14:19:03Z"}
true
653,451,013
can't load SNLI dataset
`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: ``` ...
closed
355
[ "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 ...
false
2020-07-08 16:54:14
2020-07-18 05:15:57
CONTRIBUTOR
jxmorris12
13,238,952
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/355/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/355
https://github.com/huggingface/datasets/issues/355
null
false
653,357,617
More faiss control
Allow users to specify a faiss index they created themselves, as sometimes indexes can be composite for examples
closed
354
[ "> 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...
false
2020-07-08 14:45:20
2020-07-09 09:54:54
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/354/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/354
https://github.com/huggingface/datasets/pull/354
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/354", "html_url": "https://github.com/huggingface/datasets/pull/354", "diff_url": "https://github.com/huggingface/datasets/pull/354.diff", "patch_url": "https://github.com/huggingface/datasets/pull/354.patch", "merged_at": "2020-07-09T09:54:51Z"}
true
653,250,611
[Dataset requests] New datasets for Text Classification
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 - #...
open
353
[ "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...
false
2020-07-08 12:17:58
2025-04-05 09:28:15
MEMBER
thomwolf
7,353,373
User
[{"id": 1935892884, "node_id": "MDU6TGFiZWwxOTM1ODkyODg0", "url": "https://api.github.com/repos/huggingface/datasets/labels/help%20wanted", "name": "help wanted", "color": "008672", "default": true, "description": "Extra attention is needed"}, {"id": 2067376369, "node_id": "MDU6TGFiZWwyMDY3Mzc2MzY5", "url": "https://ap...
{"url": "https://api.github.com/repos/huggingface/datasets/issues/353/reactions", "total_count": 5, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 3, "rocket": 2, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/353
https://github.com/huggingface/datasets/issues/353
null
false
653,128,883
🐛[BugFix]fix seqeval
Fix seqeval process labels such as 'B', 'B-ARGM-LOC'
closed
352
[ "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',...
false
2020-07-08 09:12:12
2020-07-16 08:26:46
CONTRIBUTOR
AlongWY
20,281,571
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/352/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/352
https://github.com/huggingface/datasets/pull/352
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/352", "html_url": "https://github.com/huggingface/datasets/pull/352", "diff_url": "https://github.com/huggingface/datasets/pull/352.diff", "patch_url": "https://github.com/huggingface/datasets/pull/352.patch", "merged_at": "2020-07-16T08:26:46Z"}
true
652,424,048
add pandas dataset
Create a dataset from serialized pandas dataframes. Usage: ```python from nlp import load_dataset dset = load_dataset("pandas", data_files="df.pkl")["train"] ```
closed
351
[]
false
2020-07-07 15:38:07
2020-07-08 14:15:16
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/351/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/351
https://github.com/huggingface/datasets/pull/351
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/351", "html_url": "https://github.com/huggingface/datasets/pull/351", "diff_url": "https://github.com/huggingface/datasets/pull/351.diff", "patch_url": "https://github.com/huggingface/datasets/pull/351.patch", "merged_at": "2020-07-08T14:15:15Z"}
true
652,398,691
add from_pandas and from_dict
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...
closed
350
[]
false
2020-07-07 15:03:53
2020-07-08 14:14:33
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/350/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/350
https://github.com/huggingface/datasets/pull/350
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/350", "html_url": "https://github.com/huggingface/datasets/pull/350", "diff_url": "https://github.com/huggingface/datasets/pull/350.diff", "patch_url": "https://github.com/huggingface/datasets/pull/350.patch", "merged_at": "2020-07-08T14:14:32Z"}
true
652,231,571
Hyperpartisan news detection
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...
closed
349
[ "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...
false
2020-07-07 11:06:37
2020-07-07 20:47:27
CONTRIBUTOR
ghomasHudson
13,795,113
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/349/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/349
https://github.com/huggingface/datasets/pull/349
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/349", "html_url": "https://github.com/huggingface/datasets/pull/349", "diff_url": "https://github.com/huggingface/datasets/pull/349.diff", "patch_url": "https://github.com/huggingface/datasets/pull/349.patch", "merged_at": "2020-07-07T14:57:11Z"}
true
652,158,308
Add OSCAR dataset
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!
closed
348
[ "@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...
false
2020-07-07 09:22:07
2021-05-03 22:07:08
CONTRIBUTOR
pjox
635,220
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/348/reactions", "total_count": 4, "+1": 0, "-1": 0, "laugh": 0, "hooray": 4, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/348
https://github.com/huggingface/datasets/pull/348
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/348", "html_url": "https://github.com/huggingface/datasets/pull/348", "diff_url": "https://github.com/huggingface/datasets/pull/348.diff", "patch_url": "https://github.com/huggingface/datasets/pull/348.patch", "merged_at": null}
true
652,106,567
'cp950' codec error from load_dataset('xtreme', 'tydiqa')
![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...
closed
347
[ "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 ...
false
2020-07-07 08:14:23
2020-09-07 14:51:45
CONTRIBUTOR
cosmeowpawlitan
50,871,412
User
[{"id": 2067388877, "node_id": "MDU6TGFiZWwyMDY3Mzg4ODc3", "url": "https://api.github.com/repos/huggingface/datasets/labels/dataset%20bug", "name": "dataset bug", "color": "2edb81", "default": false, "description": "A bug in a dataset script provided in the library"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/347/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/347
https://github.com/huggingface/datasets/issues/347
null
false
652,044,151
Add emotion dataset
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...
closed
346
[ "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...
false
2020-07-07 06:35:41
2022-05-30 15:16:44
MEMBER
lewtun
26,859,204
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/346/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/346
https://github.com/huggingface/datasets/pull/346
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/346", "html_url": "https://github.com/huggingface/datasets/pull/346", "diff_url": "https://github.com/huggingface/datasets/pull/346.diff", "patch_url": "https://github.com/huggingface/datasets/pull/346.patch", "merged_at": "2020-07-13T14:39:38Z"}
true
651,761,201
Supporting documents in ELI5
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 ...
closed
345
[ "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...
false
2020-07-06 19:14:13
2020-10-27 15:38:45
NONE
saverymax
29,262,273
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/345/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/345
https://github.com/huggingface/datasets/issues/345
null
false
651,495,246
Search qa
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
closed
344
[ "Could you rebase from master just to make sure we won't break anything for `fever` pls @mariamabarham ?" ]
false
2020-07-06 12:23:16
2020-07-16 08:58:16
CONTRIBUTOR
mariamabarham
38,249,783
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/344/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/344
https://github.com/huggingface/datasets/pull/344
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/344", "html_url": "https://github.com/huggingface/datasets/pull/344", "diff_url": "https://github.com/huggingface/datasets/pull/344.diff", "patch_url": "https://github.com/huggingface/datasets/pull/344.patch", "merged_at": null}
true
651,419,630
Fix nested tensorflow format
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 ...
closed
343
[]
false
2020-07-06 10:13:45
2020-07-06 13:11:52
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/343/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/343
https://github.com/huggingface/datasets/pull/343
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/343", "html_url": "https://github.com/huggingface/datasets/pull/343", "diff_url": "https://github.com/huggingface/datasets/pull/343.diff", "patch_url": "https://github.com/huggingface/datasets/pull/343.patch", "merged_at": "2020-07-06T13:11:51Z"}
true
651,333,194
Features should be updated when `map()` changes schema
`dataset.map()` can change the schema and column names. We should update the features in this case (with what is possible to infer).
closed
342
[ "`dataset.column_names` are being updated but `dataset.features` aren't indeed..." ]
false
2020-07-06 08:03:23
2020-07-23 10:15:16
MEMBER
thomwolf
7,353,373
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/342/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/342
https://github.com/huggingface/datasets/issues/342
null
false
650,611,969
add fever dataset
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
closed
341
[]
false
2020-07-03 13:53:07
2020-07-06 13:03:48
CONTRIBUTOR
mariamabarham
38,249,783
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/341/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/341
https://github.com/huggingface/datasets/pull/341
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/341", "html_url": "https://github.com/huggingface/datasets/pull/341", "diff_url": "https://github.com/huggingface/datasets/pull/341.diff", "patch_url": "https://github.com/huggingface/datasets/pull/341.patch", "merged_at": "2020-07-06T13:03:47Z"}
true
650,533,920
Update cfq.py
Make the dataset name consistent with in the paper: Compositional Freebase Question => Compositional Freebase Questions.
closed
340
[ "Thanks @brainshawn for this update" ]
false
2020-07-03 11:23:19
2020-07-03 12:33:50
CONTRIBUTOR
brainshawn
4,437,290
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/340/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/340
https://github.com/huggingface/datasets/pull/340
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/340", "html_url": "https://github.com/huggingface/datasets/pull/340", "diff_url": "https://github.com/huggingface/datasets/pull/340.diff", "patch_url": "https://github.com/huggingface/datasets/pull/340.patch", "merged_at": "2020-07-03T12:33:50Z"}
true
650,156,468
Add dataset.export() to TFRecords
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...
closed
339
[ "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...
false
2020-07-02 19:26:27
2020-07-22 09:16:12
CONTRIBUTOR
jarednielsen
4,564,897
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/339/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 3, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/339
https://github.com/huggingface/datasets/pull/339
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/339", "html_url": "https://github.com/huggingface/datasets/pull/339", "diff_url": "https://github.com/huggingface/datasets/pull/339.diff", "patch_url": "https://github.com/huggingface/datasets/pull/339.patch", "merged_at": "2020-07-22T09:16:11Z"}
true
650,057,253
Run `make style`
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.
closed
338
[]
false
2020-07-02 16:19:47
2020-07-02 18:03:10
CONTRIBUTOR
jarednielsen
4,564,897
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/338/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/338
https://github.com/huggingface/datasets/pull/338
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/338", "html_url": "https://github.com/huggingface/datasets/pull/338", "diff_url": "https://github.com/huggingface/datasets/pull/338.diff", "patch_url": "https://github.com/huggingface/datasets/pull/338.patch", "merged_at": "2020-07-02T18:03:10Z"}
true
650,035,887
[Feature request] Export Arrow dataset to TFRecords
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...
closed
337
[]
false
2020-07-02 15:47:12
2020-07-22 09:16:12
CONTRIBUTOR
jarednielsen
4,564,897
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/337/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/337
https://github.com/huggingface/datasets/issues/337
null
false
649,914,203
[Dataset requests] New datasets for Open Question Answering
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....
closed
336
[]
false
2020-07-02 13:03:03
2020-07-16 09:04:22
MEMBER
thomwolf
7,353,373
User
[{"id": 1935892884, "node_id": "MDU6TGFiZWwxOTM1ODkyODg0", "url": "https://api.github.com/repos/huggingface/datasets/labels/help%20wanted", "name": "help wanted", "color": "008672", "default": true, "description": "Extra attention is needed"}, {"id": 2067376369, "node_id": "MDU6TGFiZWwyMDY3Mzc2MzY5", "url": "https://ap...
{"url": "https://api.github.com/repos/huggingface/datasets/issues/336/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/336
https://github.com/huggingface/datasets/issues/336
null
false
649,765,179
BioMRC Dataset presented in BioNLP 2020 ACL Workshop
closed
335
[ "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...
false
2020-07-02 09:03:41
2020-07-15 08:02:07
CONTRIBUTOR
PetrosStav
15,162,021
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/335/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/335
https://github.com/huggingface/datasets/pull/335
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/335", "html_url": "https://github.com/huggingface/datasets/pull/335", "diff_url": "https://github.com/huggingface/datasets/pull/335.diff", "patch_url": "https://github.com/huggingface/datasets/pull/335.patch", "merged_at": "2020-07-15T08:02:07Z"}
true
649,661,791
Add dataset.shard() method
Fixes https://github.com/huggingface/nlp/issues/312
closed
334
[ "Great, done!" ]
false
2020-07-02 06:05:19
2020-07-06 12:35:36
CONTRIBUTOR
jarednielsen
4,564,897
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/334/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/334
https://github.com/huggingface/datasets/pull/334
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/334", "html_url": "https://github.com/huggingface/datasets/pull/334", "diff_url": "https://github.com/huggingface/datasets/pull/334.diff", "patch_url": "https://github.com/huggingface/datasets/pull/334.patch", "merged_at": "2020-07-06T12:35:36Z"}
true
649,236,516
fix variable name typo
closed
333
[ "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." ]
false
2020-07-01 19:13:50
2020-07-24 15:43:31
CONTRIBUTOR
stas00
10,676,103
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/333/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/333
https://github.com/huggingface/datasets/pull/333
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/333", "html_url": "https://github.com/huggingface/datasets/pull/333", "diff_url": "https://github.com/huggingface/datasets/pull/333.diff", "patch_url": "https://github.com/huggingface/datasets/pull/333.patch", "merged_at": null}
true
649,140,135
Add wiki_dpr
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...
closed
332
[ "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.",...
false
2020-07-01 17:12:00
2020-07-06 12:21:17
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/332/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/332
https://github.com/huggingface/datasets/pull/332
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/332", "html_url": "https://github.com/huggingface/datasets/pull/332", "diff_url": "https://github.com/huggingface/datasets/pull/332.diff", "patch_url": "https://github.com/huggingface/datasets/pull/332.patch", "merged_at": "2020-07-06T12:21:16Z"}
true
648,533,199
Loading CNN/Daily Mail dataset produces `nlp.utils.info_utils.NonMatchingSplitsSizesError`
``` >>> 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...
closed
331
[ "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...
false
2020-06-30 22:21:33
2020-07-09 13:03:40
CONTRIBUTOR
jxmorris12
13,238,952
User
[{"id": 2067388877, "node_id": "MDU6TGFiZWwyMDY3Mzg4ODc3", "url": "https://api.github.com/repos/huggingface/datasets/labels/dataset%20bug", "name": "dataset bug", "color": "2edb81", "default": false, "description": "A bug in a dataset script provided in the library"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/331/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/331
https://github.com/huggingface/datasets/issues/331
null
false
648,525,720
Doc red
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 ...
closed
330
[]
false
2020-06-30 22:05:31
2020-07-06 12:10:39
CONTRIBUTOR
ghomasHudson
13,795,113
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/330/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/330
https://github.com/huggingface/datasets/pull/330
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/330", "html_url": "https://github.com/huggingface/datasets/pull/330", "diff_url": "https://github.com/huggingface/datasets/pull/330.diff", "patch_url": "https://github.com/huggingface/datasets/pull/330.patch", "merged_at": "2020-07-05T12:27:29Z"}
true
648,446,979
[Bug] FileLock dependency incompatible with filesystem
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...
closed
329
[ "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...
false
2020-06-30 19:45:31
2024-12-26 15:13:39
CONTRIBUTOR
jarednielsen
4,564,897
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/329/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/329
https://github.com/huggingface/datasets/issues/329
null
false
648,326,841
Fork dataset
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...
closed
328
[ "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...
false
2020-06-30 16:42:53
2020-07-06 21:43:59
NONE
timothyjlaurent
2,000,204
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/328/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/328
https://github.com/huggingface/datasets/issues/328
null
false
648,312,858
set seed for suffling tests
Some tests were randomly failing because of a missing seed in a test for `train_test_split(shuffle=True)`
closed
327
[]
false
2020-06-30 16:21:34
2020-07-02 08:34:05
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/327/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/327
https://github.com/huggingface/datasets/pull/327
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/327", "html_url": "https://github.com/huggingface/datasets/pull/327", "diff_url": "https://github.com/huggingface/datasets/pull/327.diff", "patch_url": "https://github.com/huggingface/datasets/pull/327.patch", "merged_at": "2020-07-02T08:34:04Z"}
true