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
721,142,985
dataset(aslg_pc12): initial loading script
This contains the only current public part of this corpus. The rest of the corpus is not yet been made public, but this sample is still being used by researchers.
closed
731
[ "Thanks @lhoestq \r\nAre there any guidelines for the dummy data?\r\nIn this particular case for example, the dataset fetches from two hardcoded URLs. \r\nDo I just `head -n 10` both files and zip them?\r\n\r\n", "> Thanks @lhoestq\r\n> Are there any guidelines for the dummy data?\r\n> In this particular case for...
false
2020-10-14 05:14:37
2020-10-28 15:27:06
CONTRIBUTOR
AmitMY
5,757,359
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/731/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/731
https://github.com/huggingface/datasets/pull/731
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/731", "html_url": "https://github.com/huggingface/datasets/pull/731", "diff_url": "https://github.com/huggingface/datasets/pull/731.diff", "patch_url": "https://github.com/huggingface/datasets/pull/731.patch", "merged_at": "2020-10-28T15:27:06Z"}
true
721,073,812
Possible caching bug
The following code with `test1.txt` containing just "🤗🤗🤗": ``` dataset = datasets.load_dataset('text', data_files=['test1.txt'], split="train", encoding="latin_1") print(dataset[0]) dataset = datasets.load_dataset('text', data_files=['test1.txt'], split="train", encoding="utf-8") print(dataset[0]) ``` produc...
closed
730
[ "Thanks for reporting. That's a bug indeed.\r\nApparently only the `data_files` parameter is taken into account right now in `DatasetBuilder._create_builder_config` but it should also be the case for `config_kwargs` (or at least the instantiated `builder_config`)", "Hi, does this bug be fixed? when I load JSON fi...
false
2020-10-14 02:02:34
2022-11-22 01:45:54
NONE
ArneBinder
3,375,489
User
[{"id": 1935892857, "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": "Something isn't working"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/730/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/730
https://github.com/huggingface/datasets/issues/730
null
false
719,558,876
Better error message when one forgets to call `add_batch` before `compute`
When using metrics, if for some reason a user forgets to call `add_batch` to a metric before `compute` (with no arguments), the error message is a bit cryptic and could probably be made clearer. ## Reproducer ```python import datasets import torch from datasets import Metric class GatherMetric(Metric): ...
closed
729
[]
false
2020-10-12 17:59:22
2020-10-29 15:18:24
CONTRIBUTOR
sgugger
35,901,082
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/729/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/729
https://github.com/huggingface/datasets/issues/729
null
false
719,555,780
Passing `cache_dir` to a metric does not work
When passing `cache_dir` to a custom metric, the folder is concatenated to itself at some point and this results in a FileNotFoundError: ## Reproducer ```python import datasets import torch from datasets import Metric class GatherMetric(Metric): def _info(self): return datasets.MetricInfo( ...
closed
728
[]
false
2020-10-12 17:55:14
2020-10-29 09:34:42
CONTRIBUTOR
sgugger
35,901,082
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/728/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/728
https://github.com/huggingface/datasets/issues/728
null
false
719,386,366
Parallel downloads progress bar flickers
When there are parallel downloads using the download manager, the tqdm progress bar flickers since all the progress bars are on the same line. To fix that we could simply specify `position=i` for i=0 to n the number of files to download when instantiating the tqdm progress bar. Another way would be to have one "...
open
727
[]
false
2020-10-12 13:36:05
2020-10-12 13:36:05
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/727/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/727
https://github.com/huggingface/datasets/issues/727
null
false
719,313,754
"Checksums didn't match for dataset source files" error while loading openwebtext dataset
Hi, I have encountered this problem during loading the openwebtext dataset: ``` >>> dataset = load_dataset('openwebtext') Downloading and preparing dataset openwebtext/plain_text (download: 12.00 GiB, generated: 37.04 GiB, post-processed: Unknown size, total: 49.03 GiB) to /home/admin/.cache/huggingface/datasets/op...
closed
726
[ "Hi try, to provide more information please.\r\n\r\nExample code in a colab to reproduce the error, details on what you are trying to do and what you were expected and details on your environment (OS, PyPi packages version).", "> Hi try, to provide more information please.\r\n> \r\n> Example code in a colab to re...
false
2020-10-12 11:45:10
2022-02-17 17:53:54
NONE
SparkJiao
16,469,472
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/726/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 2}
https://api.github.com/repos/huggingface/datasets/issues/726
https://github.com/huggingface/datasets/issues/726
null
false
718,985,641
pretty print dataset objects
Currently, if I do: ``` from datasets import load_dataset load_dataset("wikihow", 'all', data_dir="/hf/pegasus-datasets/wikihow/") ``` I get: ``` DatasetDict({'train': Dataset(features: {'text': Value(dtype='string', id=None), 'headline': Value(dtype='string', id=None), 'title': Value(dtype='string', id=None...
closed
725
[ "Great, as you found it useful I improved the code a bit to automate indentation in the parent class, so that the child repr doesn't need to guess the indentation level, while repr'ing nicely on its own.\r\n\r\n- do we want indent=4 or 2?\r\n- do we want `{` ... `}` or w/o?\r\n\r\ncurrently it's indent4 and w/ curl...
false
2020-10-12 02:03:46
2020-10-23 16:24:35
CONTRIBUTOR
stas00
10,676,103
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/725/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/725
https://github.com/huggingface/datasets/pull/725
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/725", "html_url": "https://github.com/huggingface/datasets/pull/725", "diff_url": "https://github.com/huggingface/datasets/pull/725.diff", "patch_url": "https://github.com/huggingface/datasets/pull/725.patch", "merged_at": "2020-10-23T09:00:46Z"}
true
718,947,700
need to redirect /nlp to /datasets and remove outdated info
It looks like the website still has all the `nlp` data, e.g.: https://huggingface.co/nlp/viewer/?dataset=wikihow&config=all should probably redirect to: https://huggingface.co/datasets/wikihow also for some reason the new information is slightly borked. If you look at the old one it was nicely formatted and had t...
closed
724
[ "Should be fixed now: \r\n\r\n![image](https://user-images.githubusercontent.com/35882/95917301-040b0600-0d78-11eb-9655-c4ac0e788089.png)\r\n\r\nNot sure I understand what you mean by the second part?\r\n", "Thank you!\r\n\r\n> Not sure I understand what you mean by the second part?\r\n\r\nCompare the 2:\r\n* htt...
false
2020-10-11 23:12:12
2020-10-14 17:00:12
CONTRIBUTOR
stas00
10,676,103
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/724/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/724
https://github.com/huggingface/datasets/issues/724
null
false
718,926,723
Adding pseudo-labels to datasets
I recently [uploaded pseudo-labels](https://github.com/huggingface/transformers/blob/master/examples/seq2seq/precomputed_pseudo_labels.md) for CNN/DM, XSUM and WMT16-en-ro to s3, and thom mentioned I should add them to this repo. Since pseudo-labels are just a large model's generations on an existing dataset, what is ...
closed
723
[ "Nice ! :)\r\nIt's indeed the first time we have such contributions so we'll have to figure out the appropriate way to integrate them.\r\nCould you add details on what they could be used for ?\r\n", "They can be used as training data for a smaller model.", "Sounds just like a regular dataset to me then, no?", ...
false
2020-10-11 21:05:45
2021-08-03 05:11:51
CONTRIBUTOR
sshleifer
6,045,025
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/723/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/723
https://github.com/huggingface/datasets/issues/723
null
false
718,689,117
datasets(RWTH-PHOENIX-Weather 2014 T): add initial loading script
This is the first sign language dataset in this repo as far as I know. Following an old issue I opened https://github.com/huggingface/datasets/issues/302. I added the dataset official REAMDE file, but I see it's not very standard, so it can be removed.
closed
722
[ "This might be interesting to @kayoyin the author of https://github.com/kayoyin/transformer-slt – pinging you just in case :)", "Thanks Amit, this is a great idea! I'm thinking of porting the SLT models from my paper here as well, having this dataset would be perfect for that :)", "Thanks for your contribution,...
false
2020-10-10 19:44:08
2022-09-30 14:53:37
CONTRIBUTOR
AmitMY
5,757,359
User
[{"id": 4564477500, "node_id": "LA_kwDODunzps8AAAABEBBmPA", "url": "https://api.github.com/repos/huggingface/datasets/labels/dataset%20contribution", "name": "dataset contribution", "color": "0e8a16", "default": false, "description": "Contribution to a dataset script"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/722/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/722
https://github.com/huggingface/datasets/pull/722
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/722", "html_url": "https://github.com/huggingface/datasets/pull/722", "diff_url": "https://github.com/huggingface/datasets/pull/722.diff", "patch_url": "https://github.com/huggingface/datasets/pull/722.patch", "merged_at": null}
true
718,647,147
feat(dl_manager): add support for ftp downloads
I am working on a new dataset (#302) and encounter a problem downloading it. ```python # This is the official download link from https://www-i6.informatik.rwth-aachen.de/~koller/RWTH-PHOENIX-2014-T/ _URL = "ftp://wasserstoff.informatik.rwth-aachen.de/pub/rwth-phoenix/2016/phoenix-2014-T.v3.tar.gz" dl_manager.do...
closed
721
[ "We only support http by default for downloading.\r\nIf you really need to use ftp, then feel free to use a library that allows to download through ftp in your dataset script (I see that you've started working on #722 , that's awesome !). The users will get a message to install the extra library when they load the ...
false
2020-10-10 15:50:20
2022-02-15 10:44:44
CONTRIBUTOR
AmitMY
5,757,359
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/721/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/721
https://github.com/huggingface/datasets/issues/721
null
false
716,581,266
OSError: Cannot find data file when not using the dummy dataset in RAG
## Environment info transformers version: 3.3.1 Platform: Linux-4.19 Python version: 3.7.7 PyTorch version (GPU?): 1.6.0 Tensorflow version (GPU?): No Using GPU in script?: Yes Using distributed or parallel set-up in script?: No ## To reproduce Steps to reproduce the behaviour...
closed
720
[ "Same issue here. I will be digging further, but it looks like the [script](https://github.com/huggingface/datasets/blob/master/datasets/wiki_dpr/wiki_dpr.py#L132) is attempting to open a file that is not downloaded yet. \r\n\r\n```\r\n99dcbca09109e58502e6b9271d4d3f3791b43f61f3161a76b25d2775ab1a4498.lock\r\n```\r\n...
false
2020-10-07 14:27:13
2020-12-23 14:04:31
NONE
josemlopez
4,112,135
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/720/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/720
https://github.com/huggingface/datasets/issues/720
null
false
716,492,263
Fix train_test_split output format
There was an issue in the `transmit_format` wrapper that returned bad formats when using train_test_split. This was due to `column_names` being handled as a List[str] instead of Dict[str, List[str]] when the dataset transform (train_test_split) returns a DatasetDict (one set of column names per split). This should ...
closed
719
[]
false
2020-10-07 12:39:01
2020-10-07 13:38:08
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/719/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/719
https://github.com/huggingface/datasets/pull/719
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/719", "html_url": "https://github.com/huggingface/datasets/pull/719", "diff_url": "https://github.com/huggingface/datasets/pull/719.diff", "patch_url": "https://github.com/huggingface/datasets/pull/719.patch", "merged_at": "2020-10-07T13:38:06Z"}
true
715,694,709
Don't use tqdm 4.50.0
tqdm 4.50.0 introduced permission errors on windows see [here](https://app.circleci.com/pipelines/github/huggingface/datasets/235/workflows/cfb6a39f-68eb-4802-8b17-2cd5e8ea7369/jobs/1111) for the error details. For now I just added `<4.50.0` in the setup.py Hopefully we can find what's wrong with this version soon
closed
718
[]
false
2020-10-06 13:45:53
2020-10-06 13:49:24
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/718/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/718
https://github.com/huggingface/datasets/pull/718
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/718", "html_url": "https://github.com/huggingface/datasets/pull/718", "diff_url": "https://github.com/huggingface/datasets/pull/718.diff", "patch_url": "https://github.com/huggingface/datasets/pull/718.patch", "merged_at": "2020-10-06T13:49:22Z"}
true
714,959,268
Fixes #712 Error in the Overview.ipynb notebook
Fixes #712 Error in the Overview.ipynb notebook by adding `with_details=True` parameter to `list_datasets` function in Cell 3 of **overview** notebook
closed
717
[]
false
2020-10-05 15:50:41
2020-10-06 06:31:43
CONTRIBUTOR
subhrm
850,012
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/717/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/717
https://github.com/huggingface/datasets/pull/717
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/717", "html_url": "https://github.com/huggingface/datasets/pull/717", "diff_url": "https://github.com/huggingface/datasets/pull/717.diff", "patch_url": "https://github.com/huggingface/datasets/pull/717.patch", "merged_at": "2020-10-05T16:25:40Z"}
true
714,952,888
Fixes #712 Attribute error in cell 3 of the overview notebook
Fixes the Attribute error in cell 3 of the overview notebook
closed
716
[ "Referencing the wrong issue # in the commit message. Closing this to fix it again." ]
false
2020-10-05 15:42:09
2020-10-05 15:46:38
CONTRIBUTOR
subhrm
850,012
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/716/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/716
https://github.com/huggingface/datasets/pull/716
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/716", "html_url": "https://github.com/huggingface/datasets/pull/716", "diff_url": "https://github.com/huggingface/datasets/pull/716.diff", "patch_url": "https://github.com/huggingface/datasets/pull/716.patch", "merged_at": null}
true
714,690,192
Use python read for text dataset
As mentioned in #622 the pandas reader used for text dataset doesn't work properly when there are \r characters in the text file. Instead I switched to pure python using `open` and `read`. From my benchmark on a 100MB text file, it's the same speed as the previous pandas reader.
closed
715
[ "One thing though, could we try to read the files in parallel?", "We could but I'm not sure this would help a lot since the bottleneck is the drive IO if the files are big enough.\r\nIt could make sense for very small files.", "Looks like windows is not a big fan of this approach\r\nI'm working on a fix", "I ...
false
2020-10-05 09:47:55
2020-10-05 13:13:18
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/715/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 2, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/715
https://github.com/huggingface/datasets/pull/715
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/715", "html_url": "https://github.com/huggingface/datasets/pull/715", "diff_url": "https://github.com/huggingface/datasets/pull/715.diff", "patch_url": "https://github.com/huggingface/datasets/pull/715.patch", "merged_at": "2020-10-05T13:13:16Z"}
true
714,487,881
Add the official dependabot implementation
This will keep dependencies up to date. This will require a pr label `dependencies` being created in order to function correctly.
closed
714
[]
false
2020-10-05 03:49:45
2020-10-12 11:49:21
NONE
ALazyMeme
12,804,673
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/714/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/714
https://github.com/huggingface/datasets/pull/714
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/714", "html_url": "https://github.com/huggingface/datasets/pull/714", "diff_url": "https://github.com/huggingface/datasets/pull/714.diff", "patch_url": "https://github.com/huggingface/datasets/pull/714.patch", "merged_at": null}
true
714,475,732
Fix reading text files with carriage return symbols
The new pandas-based text reader isn't able to work properly with files that contain carriage return symbols (`\r`). It fails with the following error message: ``` ... File "pandas/_libs/parsers.pyx", line 847, in pandas._libs.parsers.TextReader.read File "pandas/_libs/parsers.pyx", line 874, in pandas._l...
closed
713
[ "Discussed in #622, fixed in #715. Closing the issue. Thanks @lhoestq, it works now! 👍 " ]
false
2020-10-05 03:07:03
2020-10-09 05:58:25
NONE
mozharovsky
6,762,769
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/713/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/713
https://github.com/huggingface/datasets/pull/713
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/713", "html_url": "https://github.com/huggingface/datasets/pull/713", "diff_url": "https://github.com/huggingface/datasets/pull/713.diff", "patch_url": "https://github.com/huggingface/datasets/pull/713.patch", "merged_at": null}
true
714,242,316
Error in the notebooks/Overview.ipynb notebook
Hi, I got the following error in **cell number 3** while exploring the **Overview.ipynb** notebook in google colab. I used the [link ](https://colab.research.google.com/github/huggingface/datasets/blob/master/notebooks/Overview.ipynb) provided in the main README file to open it in colab. ```python # You can acc...
closed
712
[ "Do this:\r\n``` python\r\nsquad_dataset = list_datasets(with_details=True)[datasets.index('squad')]\r\npprint(squad_dataset.__dict__) # It's a simple python dataclass\r\n```", "Thanks! This worked. I have created a PR to fix this in the notebook. " ]
false
2020-10-04 05:58:31
2020-10-05 16:25:40
CONTRIBUTOR
subhrm
850,012
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/712/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/712
https://github.com/huggingface/datasets/issues/712
null
false
714,236,408
New Update bertscore.py
closed
711
[]
false
2020-10-04 05:13:09
2020-10-05 16:26:51
CONTRIBUTOR
DayasagarRSalian
51,692,618
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/711/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/711
https://github.com/huggingface/datasets/pull/711
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/711", "html_url": "https://github.com/huggingface/datasets/pull/711", "diff_url": "https://github.com/huggingface/datasets/pull/711.diff", "patch_url": "https://github.com/huggingface/datasets/pull/711.patch", "merged_at": "2020-10-05T16:26:51Z"}
true
714,186,999
fix README typos/ consistency
closed
710
[]
false
2020-10-03 22:20:56
2020-10-17 09:52:45
CONTRIBUTOR
discdiver
7,703,961
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/710/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/710
https://github.com/huggingface/datasets/pull/710
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/710", "html_url": "https://github.com/huggingface/datasets/pull/710", "diff_url": "https://github.com/huggingface/datasets/pull/710.diff", "patch_url": "https://github.com/huggingface/datasets/pull/710.patch", "merged_at": "2020-10-17T09:52:45Z"}
true
714,067,902
How to use similarity settings other then "BM25" in Elasticsearch index ?
**QUESTION : How should we use other similarity algorithms supported by Elasticsearch other than "BM25" ?** **ES Reference** https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules-similarity.html **HF doc reference:** https://huggingface.co/docs/datasets/faiss_and_ea.html **context :** =...
closed
709
[ "Datasets does not use elasticsearch API to define custom similarity. If you want to use a custom similarity, the best would be to run a curl request directly to your elasticsearch instance (see sample hereafter, directly from ES documentation), then you should be able to use `my_similarity` in your configuration p...
false
2020-10-03 11:18:49
2022-10-04 17:19:37
NONE
nsankar
431,890
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/709/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/709
https://github.com/huggingface/datasets/issues/709
null
false
714,020,953
Datasets performance slow? - 6.4x slower than in memory dataset
I've been very excited about this amazing datasets project. However, I've noticed that the performance can be substantially slower than using an in-memory dataset. Now, this is expected I guess, due to memory mapping data using arrow files, and you don't get anything for free. But I was surprised at how much slower....
closed
708
[ "Facing a similar issue here. My model using SQuAD dataset takes about 1h to process with in memory data and more than 2h with datasets directly.", "And if you use in-memory-data with datasets with `load_dataset(..., keep_in_memory=True)`?", "Thanks for the tip @thomwolf ! I did not see that flag in the docs. I...
false
2020-10-03 06:44:07
2021-02-12 14:13:28
NONE
eugeneware
38,154
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/708/reactions", "total_count": 4, "+1": 4, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/708
https://github.com/huggingface/datasets/issues/708
null
false
713,954,666
Requirements should specify pyarrow<1
I was looking at the docs on [Perplexity](https://huggingface.co/transformers/perplexity.html) via GPT2. When you load datasets and try to load Wikitext, you get the error, ``` module 'pyarrow' has no attribute 'PyExtensionType' ``` I traced it back to datasets having installed PyArrow 1.0.1 but there's not pinni...
closed
707
[ "Hello @mathcass I would want to work on this issue. May I do the same? ", "@punitaojha, certainly. Feel free to work on this. Let me know if you need any help or clarity.", "Hello @mathcass \r\n1. I did fork the repository and clone the same on my local system. \r\n\r\n2. Then learnt about how we can publish o...
false
2020-10-02 23:39:39
2020-12-04 08:22:39
NONE
mathcass
918,541
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/707/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/707
https://github.com/huggingface/datasets/issues/707
null
false
713,721,959
Fix config creation for data files with NamedSplit
During config creation, we need to iterate through the data files of all the splits to compute a hash. To make sure the hash is unique given a certain combination of files/splits, we sort the split names. However the `NamedSplit` objects can't be passed to `sorted` and currently it raises an error: we need to sort th...
closed
706
[]
false
2020-10-02 15:46:49
2020-10-05 08:15:00
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/706/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/706
https://github.com/huggingface/datasets/pull/706
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/706", "html_url": "https://github.com/huggingface/datasets/pull/706", "diff_url": "https://github.com/huggingface/datasets/pull/706.diff", "patch_url": "https://github.com/huggingface/datasets/pull/706.patch", "merged_at": "2020-10-05T08:14:59Z"}
true
713,709,100
TypeError: '<' not supported between instances of 'NamedSplit' and 'NamedSplit'
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 3.3.1 (installed from master) - `datasets` version: 1.0.2 (installed as a dependency from transformers) ...
closed
705
[ "Hi !\r\nThanks for reporting :) \r\nIndeed this is an issue on the `datasets` side.\r\nI'm creating a PR", "Thanks @lhoestq !" ]
false
2020-10-02 15:27:55
2020-10-05 08:14:59
NONE
pvcastro
12,713,359
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/705/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/705
https://github.com/huggingface/datasets/issues/705
null
false
713,572,556
Fix remote tests for new datasets
When adding a new dataset, the remote tests fail because they try to get the new dataset from the master branch (i.e., where the dataset doesn't exist yet) To fix that I reverted to the use of the HF API that fetch the available datasets on S3 that is synced with the master branch
closed
704
[]
false
2020-10-02 12:08:04
2020-10-02 12:12:02
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/704/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/704
https://github.com/huggingface/datasets/pull/704
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/704", "html_url": "https://github.com/huggingface/datasets/pull/704", "diff_url": "https://github.com/huggingface/datasets/pull/704.diff", "patch_url": "https://github.com/huggingface/datasets/pull/704.patch", "merged_at": "2020-10-02T12:12:01Z"}
true
713,559,718
Add hotpot QA
Added the [HotpotQA](https://github.com/hotpotqa/hotpot) multi-hop question answering dataset.
closed
703
[ "Awesome :) \r\n\r\nDon't pay attention to the RemoteDatasetTest error, I'm fixing it right now", "You can rebase from master to fix the CI test :)", "If we're lucky we can even include this dataset in today's release", "Just thinking since `type` can only be `comparison` or `bridge` and `level` can only be `...
false
2020-10-02 11:44:28
2020-10-02 12:54:41
CONTRIBUTOR
ghomasHudson
13,795,113
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/703/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/703
https://github.com/huggingface/datasets/pull/703
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/703", "html_url": "https://github.com/huggingface/datasets/pull/703", "diff_url": "https://github.com/huggingface/datasets/pull/703.diff", "patch_url": "https://github.com/huggingface/datasets/pull/703.patch", "merged_at": "2020-10-02T12:54:40Z"}
true
713,499,628
Complete rouge kwargs
In #701 we noticed that some kwargs were missing for rouge
closed
702
[]
false
2020-10-02 09:59:01
2020-10-02 10:11:04
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/702/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/702
https://github.com/huggingface/datasets/pull/702
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/702", "html_url": "https://github.com/huggingface/datasets/pull/702", "diff_url": "https://github.com/huggingface/datasets/pull/702.diff", "patch_url": "https://github.com/huggingface/datasets/pull/702.patch", "merged_at": "2020-10-02T10:11:03Z"}
true
713,485,757
Add rouge 2 and rouge Lsum to rouge metric outputs
Continuation of #700 Rouge 2 and Rouge Lsum were missing in Rouge's outputs. Rouge Lsum is also useful to evaluate Rouge L for sentences with `\n` Fix #617
closed
701
[ "Oups too late, sorry" ]
false
2020-10-02 09:35:46
2020-10-02 09:55:14
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/701/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/701
https://github.com/huggingface/datasets/pull/701
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/701", "html_url": "https://github.com/huggingface/datasets/pull/701", "diff_url": "https://github.com/huggingface/datasets/pull/701.diff", "patch_url": "https://github.com/huggingface/datasets/pull/701.patch", "merged_at": "2020-10-02T09:52:18Z"}
true
713,450,295
Add rouge-2 in rouge_types for metric calculation
The description of the ROUGE metric says, ``` _KWARGS_DESCRIPTION = """ Calculates average rouge scores for a list of hypotheses and references Args: predictions: list of predictions to score. Each predictions should be a string with tokens separated by spaces. references: list of reference for ...
closed
700
[ "Indeed there's currently a mismatch between the description and what it rouge actually returns.\r\nThanks for proposing this fix :) \r\n\r\nI think it's better to return rouge 1-2-L.\r\nWas there a reason to only include rouge 1 and rouge L @thomwolf ? ", "rougeLsum is also missing, could you add it ?", "Addin...
false
2020-10-02 08:36:45
2020-10-02 11:08:49
NONE
Shashi456
18,056,781
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/700/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/700
https://github.com/huggingface/datasets/pull/700
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/700", "html_url": "https://github.com/huggingface/datasets/pull/700", "diff_url": "https://github.com/huggingface/datasets/pull/700.diff", "patch_url": "https://github.com/huggingface/datasets/pull/700.patch", "merged_at": null}
true
713,395,642
XNLI dataset is not loading
`dataset = datasets.load_dataset(path='xnli')` showing below error ``` /opt/conda/lib/python3.7/site-packages/nlp/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name) 36 if len(bad_urls) > 0: 37 error_msg = "Checksums didn't match" + for_verifi...
closed
699
[ "also i tried below code to solve checksum error \r\n`datasets-cli test ./datasets/xnli --save_infos --all_configs`\r\n\r\nand it shows \r\n\r\n```\r\n2020-10-02 07:06:16.588760: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1\r\nTraceback (most ...
false
2020-10-02 06:53:16
2020-10-03 17:45:52
NONE
imadarsh1001
14,936,525
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/699/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/699
https://github.com/huggingface/datasets/issues/699
null
false
712,979,029
Update README.md
Hey I was just telling my subscribers to check out your repositories Thank you
closed
697
[]
false
2020-10-01 16:02:42
2020-10-01 16:12:00
NONE
bishug
71,011,306
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/697/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/697
https://github.com/huggingface/datasets/pull/697
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/697", "html_url": "https://github.com/huggingface/datasets/pull/697", "diff_url": "https://github.com/huggingface/datasets/pull/697.diff", "patch_url": "https://github.com/huggingface/datasets/pull/697.patch", "merged_at": null}
true
712,942,977
Elasticsearch index docs
I added the docs for ES indexes. I also added a `load_elasticsearch_index` method to load an index that has already been built. I checked the tests for the ES index and we have tests that mock ElasticSearch. I think this is good for now but at some point it would be cool to have an end-to-end test with a real ES...
closed
696
[]
false
2020-10-01 15:18:58
2020-10-02 07:48:19
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/696/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/696
https://github.com/huggingface/datasets/pull/696
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/696", "html_url": "https://github.com/huggingface/datasets/pull/696", "diff_url": "https://github.com/huggingface/datasets/pull/696.diff", "patch_url": "https://github.com/huggingface/datasets/pull/696.patch", "merged_at": "2020-10-02T07:48:18Z"}
true
712,843,949
Update XNLI download link
The old link isn't working anymore. I updated it with the new official link. Fix #690
closed
695
[]
false
2020-10-01 13:27:22
2020-10-01 14:01:15
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/695/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/695
https://github.com/huggingface/datasets/pull/695
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/695", "html_url": "https://github.com/huggingface/datasets/pull/695", "diff_url": "https://github.com/huggingface/datasets/pull/695.diff", "patch_url": "https://github.com/huggingface/datasets/pull/695.patch", "merged_at": "2020-10-01T14:01:14Z"}
true
712,827,751
Use GitHub instead of aws in remote dataset tests
Recently we switched from aws s3 to github to download dataset scripts. However in the tests, the dummy data were still downloaded from s3. So I changed that to download them from github instead, in the MockDownloadManager. Moreover I noticed that `anli`'s dummy data were quite heavy (18MB compressed, i.e. the ent...
closed
694
[]
false
2020-10-01 13:07:50
2020-10-02 07:47:28
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/694/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/694
https://github.com/huggingface/datasets/pull/694
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/694", "html_url": "https://github.com/huggingface/datasets/pull/694", "diff_url": "https://github.com/huggingface/datasets/pull/694.diff", "patch_url": "https://github.com/huggingface/datasets/pull/694.patch", "merged_at": "2020-10-02T07:47:26Z"}
true
712,822,200
Rachel ker add dataset/mlsum
.
closed
693
[ "It looks like an outdated PR (we've already added mlsum). Closing it" ]
false
2020-10-01 13:01:10
2023-09-24 09:48:23
NONE
pdhg
32,742,136
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/693/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/693
https://github.com/huggingface/datasets/pull/693
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/693", "html_url": "https://github.com/huggingface/datasets/pull/693", "diff_url": "https://github.com/huggingface/datasets/pull/693.diff", "patch_url": "https://github.com/huggingface/datasets/pull/693.patch", "merged_at": null}
true
712,818,968
Update README.md
closed
692
[ "Hacktoberfest spam", "To enhance its readability.....not Hacktoberfest spam", "How is adding a punctuation to the end of a sentence justified as \"To enhance its readability\". \r\nConsidering that this is not your first \"README enhancement '' please don't spam the open source community with useless PR to get...
false
2020-10-01 12:57:22
2020-10-02 11:01:59
NONE
mayank1897
62,796,466
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/692/reactions", "total_count": 6, "+1": 0, "-1": 4, "laugh": 0, "hooray": 0, "confused": 2, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/692
https://github.com/huggingface/datasets/pull/692
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/692", "html_url": "https://github.com/huggingface/datasets/pull/692", "diff_url": "https://github.com/huggingface/datasets/pull/692.diff", "patch_url": "https://github.com/huggingface/datasets/pull/692.patch", "merged_at": null}
true
712,389,499
Add UI filter to filter datasets based on task
This is great work, so huge shoutout to contributors and huggingface. The [/nlp/viewer](https://huggingface.co/nlp/viewer/) is great and the [/datasets](https://huggingface.co/datasets) page is great. I was wondering if in both or either places we can have a filter that selects if a dataset is good for the following...
closed
691
[ "Already supported." ]
false
2020-10-01 00:56:18
2022-02-15 10:46:50
NONE
praateekmahajan
7,589,415
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/691/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/691
https://github.com/huggingface/datasets/issues/691
null
false
712,150,321
XNLI dataset: NonMatchingChecksumError
Hi, I tried to download "xnli" dataset in colab using `xnli = load_dataset(path='xnli')` but got 'NonMatchingChecksumError' error `NonMatchingChecksumError Traceback (most recent call last) <ipython-input-27-a87bedc82eeb> in <module>() ----> 1 xnli = load_dataset(path='xnli') 3 frames /usr...
closed
690
[ "Thanks for reporting.\r\nThe data file must have been updated by the host.\r\nI'll update the checksum with the new one.", "Well actually it looks like the link isn't working anymore :(", "The new link is https://cims.nyu.edu/~sbowman/xnli/XNLI-1.0.zip\r\nI'll update the dataset script", "I'll do a release i...
false
2020-09-30 17:50:03
2020-10-01 17:15:08
NONE
xiey1
13,307,358
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/690/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/690
https://github.com/huggingface/datasets/issues/690
null
false
712,095,262
Switch to pandas reader for text dataset
Following the discussion in #622 , it appears that there's no appropriate ways to use the payrrow csv reader to read text files because of the separator. In this PR I switched to pandas to read the file. Moreover pandas allows to read the file by chunk, which means that you can build the arrow dataset from a text...
closed
689
[ "If the windows tests in the CI pass, today will be a happy day" ]
false
2020-09-30 16:28:12
2020-09-30 16:45:32
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/689/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/689
https://github.com/huggingface/datasets/pull/689
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/689", "html_url": "https://github.com/huggingface/datasets/pull/689", "diff_url": "https://github.com/huggingface/datasets/pull/689.diff", "patch_url": "https://github.com/huggingface/datasets/pull/689.patch", "merged_at": "2020-09-30T16:45:31Z"}
true
711,804,828
Disable tokenizers parallelism in multiprocessed map
It was reported in #620 that using multiprocessing with a tokenizers shows this message: ``` The current process just got forked. Disabling parallelism to avoid deadlocks... To disable this warning, please explicitly set TOKENIZERS_PARALLELISM=(true | false) ``` This message is shown when TOKENIZERS_PARALLELISM is...
closed
688
[]
false
2020-09-30 09:53:34
2020-10-01 08:45:46
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/688/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/688
https://github.com/huggingface/datasets/pull/688
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/688", "html_url": "https://github.com/huggingface/datasets/pull/688", "diff_url": "https://github.com/huggingface/datasets/pull/688.diff", "patch_url": "https://github.com/huggingface/datasets/pull/688.patch", "merged_at": "2020-10-01T08:45:45Z"}
true
711,664,810
`ArrowInvalid` occurs while running `Dataset.map()` function
It seems to fail to process the final batch. This [colab](https://colab.research.google.com/drive/1_byLZRHwGP13PHMkJWo62Wp50S_Z2HMD?usp=sharing) can reproduce the error. Code: ```python # train_ds = Dataset(features: { # 'title': Value(dtype='string', id=None), # 'score': Value(dtype='float64', id=Non...
closed
687
[ "Hi !\r\n\r\nThis is because `encode` expects one single text as input (str), or one tokenized text (List[str]).\r\nI believe that you actually wanted to use `encode_batch` which expects a batch of texts.\r\nHowever this method is only available for our \"fast\" tokenizers (ex: BertTokenizerFast).\r\nBertJapanese i...
false
2020-09-30 06:16:50
2020-09-30 09:53:03
NONE
peinan
5,601,012
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/687/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/687
https://github.com/huggingface/datasets/issues/687
null
false
711,385,739
Dataset browser url is still https://huggingface.co/nlp/viewer/
Might be worth updating to https://huggingface.co/datasets/viewer/
closed
686
[ "Yes! might do it with @srush one of these days. Hopefully it won't break too many links (we can always redirect from old url to new)", "This was fixed but forgot to close the issue. cc @lhoestq @yjernite \r\n\r\nThanks @jarednielsen!" ]
false
2020-09-29 19:21:52
2021-01-08 18:29:26
CONTRIBUTOR
jarednielsen
4,564,897
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/686/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/686
https://github.com/huggingface/datasets/issues/686
null
false
711,182,185
Add features parameter to CSV
Add support for the `features` parameter when loading a csv dataset: ```python from datasets import load_dataset, Features features = Features({...}) csv_dataset = load_dataset("csv", data_files=["path/to/my/file.csv"], features=features) ``` I added tests to make sure that it is also compatible with the ca...
closed
685
[]
false
2020-09-29 14:43:36
2020-09-30 08:39:56
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/685/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/685
https://github.com/huggingface/datasets/pull/685
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/685", "html_url": "https://github.com/huggingface/datasets/pull/685", "diff_url": "https://github.com/huggingface/datasets/pull/685.diff", "patch_url": "https://github.com/huggingface/datasets/pull/685.patch", "merged_at": "2020-09-30T08:39:54Z"}
true
711,080,947
Fix column order issue in cast
Previously, the order of the columns in the features passes to `cast_` mattered. However even though features passed to `cast_` had the same order as the dataset features, it could fail because the schema that was built was always in alphabetical order. This issue was reported by @lewtun in #623 To fix that I fi...
closed
684
[]
false
2020-09-29 12:49:13
2020-09-29 15:56:46
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/684/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/684
https://github.com/huggingface/datasets/pull/684
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/684", "html_url": "https://github.com/huggingface/datasets/pull/684", "diff_url": "https://github.com/huggingface/datasets/pull/684.diff", "patch_url": "https://github.com/huggingface/datasets/pull/684.patch", "merged_at": "2020-09-29T15:56:45Z"}
true
710,942,704
Fix wrong delimiter in text dataset
The delimiter is set to the bell character as it is used nowhere is text files usually. However in the text dataset the delimiter was set to `\b` which is backspace in python, while the bell character is `\a`. I replace \b by \a Hopefully it fixes issues mentioned by some users in #622
closed
683
[]
false
2020-09-29 09:43:24
2021-05-05 18:24:31
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/683/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/683
https://github.com/huggingface/datasets/pull/683
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/683", "html_url": "https://github.com/huggingface/datasets/pull/683", "diff_url": "https://github.com/huggingface/datasets/pull/683.diff", "patch_url": "https://github.com/huggingface/datasets/pull/683.patch", "merged_at": null}
true
710,325,399
Update navbar chapter titles color
Consistency with the color change that was done in transformers at https://github.com/huggingface/transformers/pull/7423 It makes the background-color of the chapter titles in the docs navbar darker, to differentiate them from the inner sections. see changes [here](https://691-250213286-gh.circle-artifacts.com/0/do...
closed
682
[]
false
2020-09-28 14:35:17
2020-09-28 17:30:13
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/682/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/682
https://github.com/huggingface/datasets/pull/682
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/682", "html_url": "https://github.com/huggingface/datasets/pull/682", "diff_url": "https://github.com/huggingface/datasets/pull/682.diff", "patch_url": "https://github.com/huggingface/datasets/pull/682.patch", "merged_at": "2020-09-28T17:30:12Z"}
true
710,075,721
Adding missing @property (+2 small flake8 fixes).
Fixes #678
closed
681
[]
false
2020-09-28 08:53:53
2020-09-28 10:26:13
CONTRIBUTOR
Narsil
204,321
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/681/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/681
https://github.com/huggingface/datasets/pull/681
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/681", "html_url": "https://github.com/huggingface/datasets/pull/681", "diff_url": "https://github.com/huggingface/datasets/pull/681.diff", "patch_url": "https://github.com/huggingface/datasets/pull/681.patch", "merged_at": "2020-09-28T10:26:09Z"}
true
710,066,138
Fix bug related to boolean in GAP dataset.
### Why I did The value in `row["A-coref"]` and `row["B-coref"]` is `'TRUE'` or `'FALSE'`. This type is `string`, then `bool('FALSE')` is equal to `True` in Python. So, both rows are transformed into `True` now. So, I modified this problem. ### What I did I modified `bool(row["A-coref"])` and `bool(row["B-cor...
closed
680
[ "Hi !\r\n\r\nGood catch, thanks for creating this PR :)\r\n\r\nCould you also regenerate the metadata for this dataset using \r\n```\r\ndatasets-cli test ./datasets/gap --save_infos --all_configs\r\n```\r\n\r\nThat'd be awesome", "@lhoestq Thank you for your revieing!!!\r\n\r\nI've performed it and have read CONT...
false
2020-09-28 08:39:39
2020-09-29 15:54:47
CONTRIBUTOR
otakumesi
14,996,977
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/680/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/680
https://github.com/huggingface/datasets/pull/680
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/680", "html_url": "https://github.com/huggingface/datasets/pull/680", "diff_url": "https://github.com/huggingface/datasets/pull/680.diff", "patch_url": "https://github.com/huggingface/datasets/pull/680.patch", "merged_at": "2020-09-29T15:54:47Z"}
true
710,065,838
Fix negative ids when slicing with an array
```python from datasets import Dataset d = ds.Dataset.from_dict({"a": range(10)}) print(d[[0, -1]]) # OverflowError ``` raises an error because of the negative id. This PR fixes that. Fix #668
closed
679
[]
false
2020-09-28 08:39:08
2020-09-28 14:42:20
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/679/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/679
https://github.com/huggingface/datasets/pull/679
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/679", "html_url": "https://github.com/huggingface/datasets/pull/679", "diff_url": "https://github.com/huggingface/datasets/pull/679.diff", "patch_url": "https://github.com/huggingface/datasets/pull/679.patch", "merged_at": "2020-09-28T14:42:19Z"}
true
710,060,497
The download instructions for c4 datasets are not contained in the error message
The manual download instructions are not clear ```The dataset c4 with config en requires manual data. Please follow the manual download instructions: <bound method C4.manual_download_instructions of <datasets_modules.datasets.c4.830b0c218bd41fed439812c8dd19dbd4767d2a3faa385eb695cf8666c982b1b3.c4.C4 object at 0x7ff...
closed
678
[ "Good catch !\r\nIndeed the `@property` is missing.\r\n\r\nFeel free to open a PR :)", "Also not that C4 is a dataset that needs an Apache Beam runtime to be generated.\r\nFor example Dataflow, Spark, Flink etc.\r\n\r\nUsually we generate the dataset on our side once and for all, but we haven't done it for C4 yet...
false
2020-09-28 08:30:54
2020-09-28 10:26:09
CONTRIBUTOR
Narsil
204,321
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/678/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/678
https://github.com/huggingface/datasets/issues/678
null
false
710,055,239
Move cache dir root creation in builder's init
We use lock files in the builder initialization but sometimes the cache directory where they're supposed to be was not created. To fix that I moved the builder's cache dir root creation in the builder's init. Fix #671
closed
677
[]
false
2020-09-28 08:22:46
2020-09-28 14:42:43
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/677/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/677
https://github.com/huggingface/datasets/pull/677
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/677", "html_url": "https://github.com/huggingface/datasets/pull/677", "diff_url": "https://github.com/huggingface/datasets/pull/677.diff", "patch_url": "https://github.com/huggingface/datasets/pull/677.patch", "merged_at": "2020-09-28T14:42:42Z"}
true
710,014,319
train_test_split returns empty dataset item
I try to split my dataset by `train_test_split`, but after that the item in `train` and `test` `Dataset` is empty. The codes: ``` yelp_data = datasets.load_from_disk('/home/ssd4/huanglianzhe/test_yelp') print(yelp_data[0]) yelp_data = yelp_data.train_test_split(test_size=0.1) print(yelp_data) pri...
closed
676
[ "The problem still exists after removing the cache files.", "Can you reproduce this example in a Colab so we can investigate? (or give more information on your software/hardware config)", "Thanks for reporting.\r\nI just found the issue, I'm creating a PR", "We'll do a release pretty soon to include the fix :...
false
2020-09-28 07:19:33
2020-10-07 13:46:33
NONE
mojave-pku
26,648,528
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/676/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/676
https://github.com/huggingface/datasets/issues/676
null
false
709,818,725
Add custom dataset to NLP?
Is it possible to add a custom dataset such as a .csv to the NLP library? Thanks.
closed
675
[ "Yes you can have a look here: https://huggingface.co/docs/datasets/loading_datasets.html#csv-files", "No activity, closing" ]
false
2020-09-27 21:22:50
2020-10-20 09:08:49
CONTRIBUTOR
timpal0l
6,556,710
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/675/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/675
https://github.com/huggingface/datasets/issues/675
null
false
709,661,006
load_dataset() won't download in Windows
I don't know if this is just me or Windows. Maybe other Windows users can chime in if they don't have this problem. I've been trying to get some of the tutorials working on Windows, but when I use the load_dataset() function, it just stalls and the script keeps running indefinitely without downloading anything. I've wa...
closed
674
[ "I have the same issue. Tried to download a few of them and not a single one is downloaded successfully.\r\n\r\nThis is the output:\r\n```\r\n>>> dataset = load_dataset('blended_skill_talk', split='train')\r\nUsing custom data configuration default <-- This step never ends\r\n```", "This was fixed i...
false
2020-09-27 03:56:25
2020-10-05 08:28:18
NONE
ThisDavehead
34,422,661
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/674/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/674
https://github.com/huggingface/datasets/issues/674
null
false
709,603,989
blog_authorship_corpus crashed
This is just to report that When I pick blog_authorship_corpus in https://huggingface.co/nlp/viewer/?dataset=blog_authorship_corpus I get this: ![image](https://user-images.githubusercontent.com/7553188/94349542-4364f300-0013-11eb-897d-b25660a449f0.png)
closed
673
[ "Thanks for reporting !\r\nWe'll free some memory" ]
false
2020-09-26 20:15:28
2022-02-15 10:47:58
NONE
Moshiii
7,553,188
User
[{"id": 2107841032, "node_id": "MDU6TGFiZWwyMTA3ODQxMDMy", "url": "https://api.github.com/repos/huggingface/datasets/labels/nlp-viewer", "name": "nlp-viewer", "color": "94203D", "default": false, "description": ""}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/673/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/673
https://github.com/huggingface/datasets/issues/673
null
false
709,575,527
Questions about XSUM
Hi there ✋ I'm looking into your `xsum` dataset and I have several questions on that. So here is how I loaded the data: ``` >>> data = datasets.load_dataset('xsum', version='1.0.1') >>> data['train'] Dataset(features: {'document': Value(dtype='string', id=None), 'summary': Value(dtype='string', id=None)}, nu...
closed
672
[ "We should try to regenerate the data using the official script.\r\nBut iirc that's what we used in the first place, so not sure why it didn't match in the first place.\r\n\r\nI'll let you know when the dataset is updated", "Thanks, looking forward to hearing your update on this thread. \r\n\r\nThis is a blocking...
false
2020-09-26 17:16:24
2022-10-04 17:30:17
CONTRIBUTOR
danyaljj
2,441,454
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/672/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/672
https://github.com/huggingface/datasets/issues/672
null
false
709,093,151
[BUG] No such file or directory
This happens when both 1. Huggingface datasets cache dir does not exist 2. Try to load a local dataset script builder.py throws an error when trying to create a filelock in a directory (cache/datasets) that does not exist https://github.com/huggingface/datasets/blob/master/src/datasets/builder.py#L177 Tested o...
closed
671
[]
false
2020-09-25 16:38:54
2020-09-28 14:42:42
CONTRIBUTOR
jbragg
2,238,344
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/671/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/671
https://github.com/huggingface/datasets/issues/671
null
false
709,061,231
Fix SQuAD metric kwargs description
The `answer_start` field was missing in the kwargs docstring. This should fix #657 FYI another fix was proposed by @tshrjn in #658 and suggests to remove this field. However IMO `answer_start` is useful to match the squad dataset format for consistency, even though it is not used in the metric computation. I th...
closed
670
[]
false
2020-09-25 16:08:57
2020-09-29 15:57:39
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/670/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/670
https://github.com/huggingface/datasets/pull/670
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/670", "html_url": "https://github.com/huggingface/datasets/pull/670", "diff_url": "https://github.com/huggingface/datasets/pull/670.diff", "patch_url": "https://github.com/huggingface/datasets/pull/670.patch", "merged_at": "2020-09-29T15:57:37Z"}
true
708,857,595
How to skip a example when running dataset.map
in processing func, I process examples and detect some invalid examples, which I did not want it to be added into train dataset. However I did not find how to skip this recognized invalid example when doing dataset.map.
closed
669
[ "Hi @xixiaoyao,\r\nDepending on what you want to do you can:\r\n- use a first step of `filter` to filter out the invalid examples: https://huggingface.co/docs/datasets/processing.html#filtering-rows-select-and-filter\r\n- or directly detect the invalid examples inside the callable used with `map` and return them un...
false
2020-09-25 11:17:53
2022-06-17 21:45:03
NONE
xixiaoyao
24,541,791
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/669/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/669
https://github.com/huggingface/datasets/issues/669
null
false
708,310,956
OverflowError when slicing with an array containing negative ids
```python from datasets import Dataset d = ds.Dataset.from_dict({"a": range(10)}) print(d[0]) # {'a': 0} print(d[-1]) # {'a': 9} print(d[[0, -1]]) # OverflowError ``` results in ``` --------------------------------------------------------------------------- OverflowError ...
closed
668
[]
false
2020-09-24 16:27:14
2020-09-28 14:42:19
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/668/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/668
https://github.com/huggingface/datasets/issues/668
null
false
708,258,392
Loss not decrease with Datasets and Transformers
HI, The following script is used to fine-tune a BertForSequenceClassification model on SST2. The script is adapted from [this colab](https://colab.research.google.com/github/huggingface/datasets/blob/master/notebooks/Overview.ipynb) that presents an example of fine-tuning BertForQuestionAnswering using squad data...
closed
667
[ "And I tested it on T5ForConditionalGeneration, that works no problem.", "Hi did you manage to fix your issue ?\r\n\r\nIf so feel free to share your fix and close this thread" ]
false
2020-09-24 15:14:43
2021-01-01 20:01:25
NONE
wangcongcong123
23,032,865
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/667/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/667
https://github.com/huggingface/datasets/issues/667
null
false
707,608,578
Does both 'bookcorpus' and 'wikipedia' belong to the same datasets which Google used for pretraining BERT?
closed
666
[ "No they are other similar copies but they are not provided by the official Bert models authors." ]
false
2020-09-23 19:02:25
2020-10-27 15:19:25
NONE
wahab4114
31,090,427
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/666/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/666
https://github.com/huggingface/datasets/issues/666
null
false
707,037,738
runing dataset.map, it raises TypeError: can't pickle Tokenizer objects
I load squad dataset. Then want to process data use following function with `Huggingface Transformers LongformerTokenizer`. ``` def convert_to_features(example): # Tokenize contexts and questions (as pairs of inputs) input_pairs = [example['question'], example['context']] encodings = tokenizer.encode...
closed
665
[ "Hi !\r\nIt works on my side with both the LongFormerTokenizer and the LongFormerTokenizerFast.\r\n\r\nWhich version of transformers/datasets are you using ?", "transformers and datasets are both the latest", "Then I guess you need to give us more informations on your setup (OS, python, GPU, etc) or a Google Co...
false
2020-09-23 04:28:14
2020-10-08 09:32:16
NONE
xixiaoyao
24,541,791
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/665/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/665
https://github.com/huggingface/datasets/issues/665
null
false
707,017,791
load_dataset from local squad.py, raise error: TypeError: 'NoneType' object is not callable
version: 1.0.2 ``` train_dataset = datasets.load_dataset('squad') ``` The above code can works. However, when I download the squad.py from your server, and saved as `my_squad.py` to local. I run followings raise errors. ``` train_dataset = datasets.load_dataset('./my_squad.py') ...
closed
664
[ "Hi !\r\nThanks for reporting.\r\nIt looks like no object inherits from `datasets.GeneratorBasedBuilder` (or more generally from `datasets.DatasetBuilder`) in your script.\r\n\r\nCould you check that there exist at least one dataset builder class ?", "Hi @xixiaoyao did you manage to fix your issue ?", "No activ...
false
2020-09-23 03:53:36
2023-04-17 09:31:20
NONE
xixiaoyao
24,541,791
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/664/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/664
https://github.com/huggingface/datasets/issues/664
null
false
706,732,636
Created dataset card snli.md
First draft of a dataset card using the SNLI corpus as an example. This is mostly based on the [Google Doc draft](https://docs.google.com/document/d/1dKPGP-dA2W0QoTRGfqQ5eBp0CeSsTy7g2yM8RseHtos/edit), but I added a few sections and moved some things around. - I moved **Who Was Involved** to follow **Language**, ...
closed
663
[ "Adding a direct link to the rendered markdown:\r\nhttps://github.com/mcmillanmajora/datasets/blob/add_dataset_documentation/datasets/snli/README.md\r\n", "It would be amazing if we ended up with this much information on all of our datasets :) \r\n\r\nI don't think there's too much repetition, everything that is ...
false
2020-09-22 22:29:37
2020-10-13 17:05:20
CONTRIBUTOR
mcmillanmajora
26,722,925
User
[{"id": 2067401494, "node_id": "MDU6TGFiZWwyMDY3NDAxNDk0", "url": "https://api.github.com/repos/huggingface/datasets/labels/Dataset%20discussion", "name": "Dataset discussion", "color": "72f99f", "default": false, "description": "Discussions on the datasets"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/663/reactions", "total_count": 3, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/663
https://github.com/huggingface/datasets/pull/663
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/663", "html_url": "https://github.com/huggingface/datasets/pull/663", "diff_url": "https://github.com/huggingface/datasets/pull/663.diff", "patch_url": "https://github.com/huggingface/datasets/pull/663.patch", "merged_at": "2020-10-12T20:26:52Z"}
true
706,689,866
Created dataset card snli.md
First draft of a dataset card using the SNLI corpus as an example
closed
662
[ "Resubmitting on a new fork" ]
false
2020-09-22 21:00:17
2023-09-24 09:50:16
CONTRIBUTOR
mcmillanmajora
26,722,925
User
[{"id": 2067401494, "node_id": "MDU6TGFiZWwyMDY3NDAxNDk0", "url": "https://api.github.com/repos/huggingface/datasets/labels/Dataset%20discussion", "name": "Dataset discussion", "color": "72f99f", "default": false, "description": "Discussions on the datasets"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/662/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/662
https://github.com/huggingface/datasets/pull/662
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/662", "html_url": "https://github.com/huggingface/datasets/pull/662", "diff_url": "https://github.com/huggingface/datasets/pull/662.diff", "patch_url": "https://github.com/huggingface/datasets/pull/662.patch", "merged_at": null}
true
706,465,936
Replace pa.OSFile by open
It should fix #643
closed
661
[]
false
2020-09-22 15:05:59
2021-05-05 18:24:36
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/661/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/661
https://github.com/huggingface/datasets/pull/661
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/661", "html_url": "https://github.com/huggingface/datasets/pull/661", "diff_url": "https://github.com/huggingface/datasets/pull/661.diff", "patch_url": "https://github.com/huggingface/datasets/pull/661.patch", "merged_at": null}
true
706,324,032
add openwebtext
This adds [The OpenWebText Corpus](https://skylion007.github.io/OpenWebTextCorpus/), which is a clean and large text corpus for nlp pretraining. It is an open source effort to reproduce OpenAI’s WebText dataset used by GPT-2, and it is also needed to reproduce ELECTRA. It solves #132 . ### Besides dataset buildin...
closed
660
[ "BTW, is there a one-line command to make our building scripts pass flake8 test? (included code quality test), I got like trailing space or mixed space and tab warning and error, and fixed them manually.", "> BTW, is there a one-line command to make our building scripts pass flake8 test? (included code quality te...
false
2020-09-22 12:05:22
2020-10-06 09:20:10
CONTRIBUTOR
richarddwang
17,963,619
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/660/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/660
https://github.com/huggingface/datasets/pull/660
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/660", "html_url": "https://github.com/huggingface/datasets/pull/660", "diff_url": "https://github.com/huggingface/datasets/pull/660.diff", "patch_url": "https://github.com/huggingface/datasets/pull/660.patch", "merged_at": "2020-09-28T09:07:26Z"}
true
706,231,506
Keep new columns in transmit format
When a dataset is formatted with a list of columns that `__getitem__` should return, then calling `map` to add new columns doesn't add the new columns to this list. It caused `KeyError` issues in #620 I changed the logic to add those new columns to the list that `__getitem__` should return.
closed
659
[]
false
2020-09-22 09:47:23
2020-09-22 10:07:22
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/659/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/659
https://github.com/huggingface/datasets/pull/659
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/659", "html_url": "https://github.com/huggingface/datasets/pull/659", "diff_url": "https://github.com/huggingface/datasets/pull/659.diff", "patch_url": "https://github.com/huggingface/datasets/pull/659.patch", "merged_at": "2020-09-22T10:07:20Z"}
true
706,206,247
Fix squad metric's Features
Resolves issue [657](https://github.com/huggingface/datasets/issues/657).
closed
658
[ "Closing this one in favor of #670 \r\n\r\nThanks again for reporting the issue and proposing this fix !\r\nLet me know if you have other remarks" ]
false
2020-09-22 09:09:52
2020-09-29 15:58:30
NONE
tshrjn
8,372,098
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/658/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/658
https://github.com/huggingface/datasets/pull/658
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/658", "html_url": "https://github.com/huggingface/datasets/pull/658", "diff_url": "https://github.com/huggingface/datasets/pull/658.diff", "patch_url": "https://github.com/huggingface/datasets/pull/658.patch", "merged_at": null}
true
706,204,383
Squad Metric Description & Feature Mismatch
The [description](https://github.com/huggingface/datasets/blob/master/metrics/squad/squad.py#L39) doesn't mention `answer_start` in squad. However the `datasets.features` require [it](https://github.com/huggingface/datasets/blob/master/metrics/squad/squad.py#L68). It's also not used in the evaluation.
closed
657
[ "Thanks for reporting !\r\nThere indeed a mismatch between the features and the kwargs description\r\n\r\nI believe `answer_start` was added to match the squad dataset format for consistency, even though it is not used in the metric computation. I think I'd rather keep it this way, so that you can just give `refere...
false
2020-09-22 09:07:00
2020-10-13 02:16:56
NONE
tshrjn
8,372,098
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/657/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/657
https://github.com/huggingface/datasets/issues/657
null
false
705,736,319
Use multiprocess from pathos for multiprocessing
[Multiprocess](https://github.com/uqfoundation/multiprocess) (from the [pathos](https://github.com/uqfoundation/pathos) project) allows to use lambda functions in multiprocessed map. It was suggested to use it by @kandorm. We're already using dill which is its only dependency.
closed
656
[ "We can just install multiprocess actually, I'll change that", "Just an FYI: I remember that I wanted to try pathos a couple of years back and I ran into issues considering cross-platform; the code would just break on Windows. If I can verify this PR by running CPU tests on Windows, let me know!", "That's good ...
false
2020-09-21 16:12:19
2020-09-28 14:45:40
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/656/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/656
https://github.com/huggingface/datasets/pull/656
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/656", "html_url": "https://github.com/huggingface/datasets/pull/656", "diff_url": "https://github.com/huggingface/datasets/pull/656.diff", "patch_url": "https://github.com/huggingface/datasets/pull/656.patch", "merged_at": "2020-09-28T14:45:39Z"}
true
705,672,208
added Winogrande debiased subset
The [Winogrande](https://arxiv.org/abs/1907.10641) paper mentions a `debiased` subset that wasn't in the first release; this PR adds it.
closed
655
[ "To fix the CI you just have to copy the dummy data to the 1.1.0 folder, and maybe create the dummy ones for the `debiased` configuration", "Fixed! Thanks @lhoestq " ]
false
2020-09-21 14:51:08
2020-09-21 16:20:40
CONTRIBUTOR
TevenLeScao
26,709,476
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/655/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/655
https://github.com/huggingface/datasets/pull/655
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/655", "html_url": "https://github.com/huggingface/datasets/pull/655", "diff_url": "https://github.com/huggingface/datasets/pull/655.diff", "patch_url": "https://github.com/huggingface/datasets/pull/655.patch", "merged_at": "2020-09-21T16:16:04Z"}
true
705,511,058
Allow empty inputs in metrics
There was an arrow error when trying to compute a metric with empty inputs. The error was occurring when reading the arrow file, before calling metric._compute.
closed
654
[]
false
2020-09-21 11:26:36
2020-10-06 03:51:48
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/654/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/654
https://github.com/huggingface/datasets/pull/654
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/654", "html_url": "https://github.com/huggingface/datasets/pull/654", "diff_url": "https://github.com/huggingface/datasets/pull/654.diff", "patch_url": "https://github.com/huggingface/datasets/pull/654.patch", "merged_at": "2020-09-21T16:13:38Z"}
true
705,482,391
handle data alteration when trying type
Fix #649 The bug came from the type inference that didn't handle a weird case in Pyarrow. Indeed this code runs without error but alters the data in arrow: ```python import pyarrow as pa type = pa.struct({"a": pa.struct({"b": pa.string()})}) array_with_altered_data = pa.array([{"a": {"b": "foo", "c": "bar"}}...
closed
653
[]
false
2020-09-21 10:41:49
2020-09-21 16:13:06
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/653/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/653
https://github.com/huggingface/datasets/pull/653
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/653", "html_url": "https://github.com/huggingface/datasets/pull/653", "diff_url": "https://github.com/huggingface/datasets/pull/653.diff", "patch_url": "https://github.com/huggingface/datasets/pull/653.patch", "merged_at": "2020-09-21T16:13:05Z"}
true
705,390,850
handle connection error in download_prepared_from_hf_gcs
Fix #647
closed
652
[]
false
2020-09-21 08:21:11
2020-09-21 08:28:43
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/652/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/652
https://github.com/huggingface/datasets/pull/652
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/652", "html_url": "https://github.com/huggingface/datasets/pull/652", "diff_url": "https://github.com/huggingface/datasets/pull/652.diff", "patch_url": "https://github.com/huggingface/datasets/pull/652.patch", "merged_at": "2020-09-21T08:28:42Z"}
true
705,212,034
Problem with JSON dataset format
I have a local json dataset with the following form. { 'id01234': {'key1': value1, 'key2': value2, 'key3': value3}, 'id01235': {'key1': value1, 'key2': value2, 'key3': value3}, . . . 'id09999': {'key1': value1, 'key2': value2, 'key3': value3} } Note that instead of a list of records i...
open
651
[ "Currently the `json` dataset doesn't support this format unfortunately.\r\nHowever you could load it with\r\n```python\r\nfrom datasets import Dataset\r\nimport pandas as pd\r\n\r\ndf = pd.read_json(\"path_to_local.json\", orient=\"index\")\r\ndataset = Dataset.from_pandas(df)\r\n```", "or you can make a custom ...
false
2020-09-20 23:57:14
2020-09-21 12:14:24
NONE
vikigenius
12,724,810
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/651/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/651
https://github.com/huggingface/datasets/issues/651
null
false
704,861,844
dummy data testing can't test datasets using `dl_manager.extract` in `_split_generators`
Hi, I recently want to add a dataset whose source data is like this ``` openwebtext.tar.xz |__ openwebtext |__subset000.xz | |__ ....txt | |__ ....txt | ... |__ subset001.xz | .... ``` So I wrote `openwebtext.py` like this ``` d...
closed
650
[ "Hi :) \r\nIn your dummy data zip file you can just have `subset000.xz` as directories instead of compressed files.\r\nLet me know if it helps", "Thanks for your comment @lhoestq ,\r\nJust for confirmation, changing dummy data like this won't make dummy test test the functionality to extract `subsetxxx.xz` but ac...
false
2020-09-19 11:07:03
2020-09-22 11:54:10
CONTRIBUTOR
richarddwang
17,963,619
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/650/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/650
https://github.com/huggingface/datasets/issues/650
null
false
704,838,415
Inconsistent behavior in map
I'm observing inconsistent behavior when applying .map(). This happens specifically when I'm incrementally adding onto a feature that is a nested dictionary. Here's a simple example that reproduces the problem. ```python import datasets # Dataset with a single feature called 'field' consisting of two examples d...
closed
649
[ "Thanks for reporting !\r\n\r\nThis issue must have appeared when we refactored type inference in `nlp`\r\nBy default the library tries to keep the same feature types when applying `map` but apparently it has troubles with nested structures. I'll try to fix that next week" ]
false
2020-09-19 08:41:12
2020-09-21 16:13:05
NONE
krandiash
10,166,085
User
[{"id": 1935892857, "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": "Something isn't working"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/649/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/649
https://github.com/huggingface/datasets/issues/649
null
false
704,753,123
offset overflow when multiprocessing batched map on large datasets.
It only happened when "multiprocessing" + "batched" + "large dataset" at the same time. ``` def bprocess(examples): examples['len'] = [] for text in examples['text']: examples['len'].append(len(text)) return examples wiki.map(brpocess, batched=True, num_proc=8) ``` ``` ----------------------------...
closed
648
[ "This should be fixed with #645 ", "Feel free to re-open if it still occurs", "This has just happened to me while working with a large (65GB) Parquet dataset.\n```\n[rank0]: Traceback (most recent call last):\n[rank0]: File \"/app/LLaMA-Factory/src/llamafactory/launcher.py\", line 23, in <module>\n[rank0]: ...
false
2020-09-19 02:15:11
2025-06-17 12:56:07
CONTRIBUTOR
richarddwang
17,963,619
User
[{"id": 1935892857, "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": "Something isn't working"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/648/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/648
https://github.com/huggingface/datasets/issues/648
null
false
704,734,764
Cannot download dataset_info.json
I am running my job on a cloud server where does not provide for connections from the standard compute nodes to outside resources. Hence, when I use `dataset.load_dataset()` to load data, I got an error like this: ``` ConnectionError: Couldn't reach https://storage.googleapis.com/huggingface-nlp/cache/datasets/text...
closed
647
[ "Thanks for reporting !\r\nWe should add support for servers without internet connection indeed\r\nI'll do that early next week", "Thanks, @lhoestq !\r\nPlease let me know when it is available. ", "Right now the recommended way is to create the dataset on a server with internet connection and then to save it an...
false
2020-09-19 01:35:15
2020-09-21 08:28:42
NONE
chiyuzhang94
33,407,613
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/647/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/647
https://github.com/huggingface/datasets/issues/647
null
false
704,607,371
Fix docs typos
This PR fixes few typos in the docs and the error in the code snippet in the set_format section in docs/source/torch_tensorflow.rst. `torch.utils.data.Dataloader` expects padded batches so it throws an error due to not being able to stack the unpadded tensors. If we follow the Quick tour from the docs where they add th...
closed
646
[]
false
2020-09-18 19:32:27
2020-09-21 16:30:54
COLLABORATOR
mariosasko
47,462,742
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/646/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/646
https://github.com/huggingface/datasets/pull/646
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/646", "html_url": "https://github.com/huggingface/datasets/pull/646", "diff_url": "https://github.com/huggingface/datasets/pull/646.diff", "patch_url": "https://github.com/huggingface/datasets/pull/646.patch", "merged_at": "2020-09-21T16:14:12Z"}
true
704,542,234
Don't use take on dataset table in pyarrow 1.0.x
Fix #615
closed
645
[ "I tried lower batch sizes and it didn't accelerate filter (quite the opposite actually).\r\nThe slow-down also appears for pyarrow 0.17.1 for some reason, not sure it comes from these changes", "I just checked the benchmarks of other PRs and some of them had 300s (!!) for filter. This needs some investigation.."...
false
2020-09-18 17:31:34
2023-09-19 07:59:19
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/645/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/645
https://github.com/huggingface/datasets/pull/645
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/645", "html_url": "https://github.com/huggingface/datasets/pull/645", "diff_url": "https://github.com/huggingface/datasets/pull/645.diff", "patch_url": "https://github.com/huggingface/datasets/pull/645.patch", "merged_at": "2020-09-19T16:46:31Z"}
true
704,534,501
Better windows support
There are a few differences in the behavior of python and pyarrow on windows. For example there are restrictions when accessing/deleting files that are open Fix #590
closed
644
[ "This PR is ready :)\r\nIt brings official support for windows.\r\n\r\nSome tests `AWSDatasetTest` are failing.\r\nThis is because I had to fix a few datasets that were not compatible with windows.\r\nThese test will pass once they got merged on master :)" ]
false
2020-09-18 17:17:36
2020-09-25 14:02:30
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/644/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/644
https://github.com/huggingface/datasets/pull/644
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/644", "html_url": "https://github.com/huggingface/datasets/pull/644", "diff_url": "https://github.com/huggingface/datasets/pull/644.diff", "patch_url": "https://github.com/huggingface/datasets/pull/644.patch", "merged_at": "2020-09-25T14:02:28Z"}
true
704,477,164
Caching processed dataset at wrong folder
Hi guys, I run this on my Colab (PRO): ```python from datasets import load_dataset dataset = load_dataset('text', data_files='/content/corpus.txt', cache_dir='/content/drive/My Drive', split='train') def encode(examples): return tokenizer(examples['text'], truncation=True, padding='max_length') dataset = ...
closed
643
[ "Thanks for reporting !\r\nIt uses a temporary file to write the data.\r\nHowever it looks like the temporary file is not placed in the right directory during the processing", "Well actually I just tested and the temporary file is placed in the same directory, so it should work as expected.\r\nWhich version of `d...
false
2020-09-18 15:41:26
2022-02-16 14:53:29
CONTRIBUTOR
mrm8488
3,653,789
User
[{"id": 1935892857, "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": "Something isn't working"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/643/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/643
https://github.com/huggingface/datasets/issues/643
null
false
704,397,499
Rename wnut fields
As mentioned in #641 it would be cool to have it follow the naming of the other NER datasets
closed
642
[]
false
2020-09-18 13:51:31
2020-09-18 17:18:31
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/642/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/642
https://github.com/huggingface/datasets/pull/642
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/642", "html_url": "https://github.com/huggingface/datasets/pull/642", "diff_url": "https://github.com/huggingface/datasets/pull/642.diff", "patch_url": "https://github.com/huggingface/datasets/pull/642.patch", "merged_at": "2020-09-18T17:18:30Z"}
true
704,373,940
Add Polyglot-NER Dataset
Adds the [Polyglot-NER dataset](https://sites.google.com/site/rmyeid/projects/polylgot-ner) with named entity tags for 40 languages. I include separate configs for each language as well as a `combined` config which lumps them all together.
closed
641
[ "Hi @joeddav thanks for adding this! (I did a long webarchive.org session to actually find that dataset a while ago).\r\n\r\nOne question: should we manually correct the labeling scheme to (at least) IOB1?\r\n\r\nThat means \"LOC\" will be converted to \"I-LOC\". IOB1 is not explict. mentioned in the paper, but it ...
false
2020-09-18 13:21:44
2020-09-20 03:04:43
CONTRIBUTOR
joeddav
9,353,833
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/641/reactions", "total_count": 6, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 2, "rocket": 2, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/641
https://github.com/huggingface/datasets/pull/641
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/641", "html_url": "https://github.com/huggingface/datasets/pull/641", "diff_url": "https://github.com/huggingface/datasets/pull/641.diff", "patch_url": "https://github.com/huggingface/datasets/pull/641.patch", "merged_at": "2020-09-20T03:04:43Z"}
true
704,311,758
Make shuffle compatible with temp_seed
This code used to return different dataset at each run ```python import dataset as ds dataset = ... with ds.temp_seed(42): shuffled = dataset.shuffle() ``` Now it returns the same one since the seed is set
closed
640
[]
false
2020-09-18 11:38:58
2020-09-18 11:47:51
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/640/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/640
https://github.com/huggingface/datasets/pull/640
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/640", "html_url": "https://github.com/huggingface/datasets/pull/640", "diff_url": "https://github.com/huggingface/datasets/pull/640.diff", "patch_url": "https://github.com/huggingface/datasets/pull/640.patch", "merged_at": "2020-09-18T11:47:50Z"}
true
704,217,963
Update glue QQP checksum
Fix #638
closed
639
[]
false
2020-09-18 09:08:15
2020-09-18 11:37:08
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/639/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/639
https://github.com/huggingface/datasets/pull/639
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/639", "html_url": "https://github.com/huggingface/datasets/pull/639", "diff_url": "https://github.com/huggingface/datasets/pull/639.diff", "patch_url": "https://github.com/huggingface/datasets/pull/639.patch", "merged_at": "2020-09-18T11:37:07Z"}
true
704,146,956
GLUE/QQP dataset: NonMatchingChecksumError
Hi @lhoestq , I know you are busy and there are also other important issues. But if this is easy to be fixed, I am shamelessly wondering if you can give me some help , so I can evaluate my models and restart with my developing cycle asap. 😚 datasets version: editable install of master at 9/17 `datasets.load_data...
closed
638
[ "Hi ! Sure I'll take a look" ]
false
2020-09-18 07:09:10
2020-09-18 11:37:07
CONTRIBUTOR
richarddwang
17,963,619
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/638/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/638
https://github.com/huggingface/datasets/issues/638
null
false
703,539,909
Add MATINF
closed
637
[]
false
2020-09-17 12:24:53
2020-09-17 13:23:18
CONTRIBUTOR
JetRunner
22,514,219
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/637/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/637
https://github.com/huggingface/datasets/pull/637
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/637", "html_url": "https://github.com/huggingface/datasets/pull/637", "diff_url": "https://github.com/huggingface/datasets/pull/637.diff", "patch_url": "https://github.com/huggingface/datasets/pull/637.patch", "merged_at": "2020-09-17T13:23:17Z"}
true
702,883,989
Consistent ner features
As discussed in #613 , this PR aims at making NER feature names consistent across datasets. I changed the feature names of LinCE and XTREME/PAN-X
closed
636
[]
false
2020-09-16 15:56:25
2020-09-17 09:52:59
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/636/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/636
https://github.com/huggingface/datasets/pull/636
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/636", "html_url": "https://github.com/huggingface/datasets/pull/636", "diff_url": "https://github.com/huggingface/datasets/pull/636.diff", "patch_url": "https://github.com/huggingface/datasets/pull/636.patch", "merged_at": "2020-09-17T09:52:58Z"}
true
702,822,439
Loglevel
Continuation of #618
closed
635
[ "I think it's ready now @stas00, did you want to add something else ?\r\nThis PR includes your changes but with the level set to warning", "LGTM, thank you, @lhoestq " ]
false
2020-09-16 14:37:53
2020-09-17 09:52:19
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/635/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/635
https://github.com/huggingface/datasets/pull/635
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/635", "html_url": "https://github.com/huggingface/datasets/pull/635", "diff_url": "https://github.com/huggingface/datasets/pull/635.diff", "patch_url": "https://github.com/huggingface/datasets/pull/635.patch", "merged_at": "2020-09-17T09:52:18Z"}
true
702,676,041
Add ConLL-2000 dataset
Adds ConLL-2000 dataset used for text chunking. See https://www.clips.uantwerpen.be/conll2000/chunking/ for details and [motivation](https://github.com/huggingface/transformers/pull/7041#issuecomment-692710948) behind this PR
closed
634
[]
false
2020-09-16 11:14:11
2020-09-17 10:38:10
CONTRIBUTOR
vblagoje
458,335
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/634/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/634
https://github.com/huggingface/datasets/pull/634
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/634", "html_url": "https://github.com/huggingface/datasets/pull/634", "diff_url": "https://github.com/huggingface/datasets/pull/634.diff", "patch_url": "https://github.com/huggingface/datasets/pull/634.patch", "merged_at": "2020-09-17T10:38:10Z"}
true
702,440,484
Load large text file for LM pre-training resulting in OOM
I tried to pretrain Longformer using transformers and datasets. But I got OOM issues with loading a large text file. My script is almost like this: ```python from datasets import load_dataset @dataclass class DataCollatorForDatasetsLanguageModeling(DataCollatorForLanguageModeling): """ Data collator u...
open
633
[ "Not sure what could cause that on the `datasets` side. Could this be a `Trainer` issue ? cc @julien-c @sgugger ?", "There was a memory leak issue fixed recently in master. You should install from source and see if it fixes your problem.", "@lhoestq @sgugger Thanks for your comments. I have install from source ...
false
2020-09-16 04:33:15
2021-02-16 12:02:01
NONE
leethu2012
29,704,017
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/633/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/633
https://github.com/huggingface/datasets/issues/633
null
false
702,358,124
Fix typos in the loading datasets docs
This PR fixes two typos in the loading datasets docs, one of them being a broken link to the `load_dataset` function.
closed
632
[ "thanks!" ]
false
2020-09-16 00:27:41
2020-09-21 16:31:11
COLLABORATOR
mariosasko
47,462,742
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/632/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/632
https://github.com/huggingface/datasets/pull/632
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/632", "html_url": "https://github.com/huggingface/datasets/pull/632", "diff_url": "https://github.com/huggingface/datasets/pull/632.diff", "patch_url": "https://github.com/huggingface/datasets/pull/632.patch", "merged_at": "2020-09-16T06:52:44Z"}
true
701,711,255
Fix text delimiter
I changed the delimiter in the `text` dataset script. It should fix the `pyarrow.lib.ArrowInvalid: CSV parse error` from #622 I changed the delimiter to an unused ascii character that is not present in text files : `\b`
closed
631
[ "Which OS are you using ?@abhi1nandy2", "> Which OS are you using ?\r\n\r\nPRETTY_NAME=\"Debian GNU/Linux 9 (stretch)\"\r\nNAME=\"Debian GNU/Linux\"\r\nVERSION_ID=\"9\"\r\nVERSION=\"9 (stretch)\"\r\nVERSION_CODENAME=stretch\r\nID=debian\r\nHOME_URL=\"https://www.debian.org/\"\r\nSUPPORT_URL=\"https://www.debian.o...
false
2020-09-15 08:08:42
2020-09-22 15:03:06
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/631/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/631
https://github.com/huggingface/datasets/pull/631
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/631", "html_url": "https://github.com/huggingface/datasets/pull/631", "diff_url": "https://github.com/huggingface/datasets/pull/631.diff", "patch_url": "https://github.com/huggingface/datasets/pull/631.patch", "merged_at": "2020-09-15T08:26:25Z"}
true