id
int64
599M
3.18B
number
int64
1
7.65k
title
stringlengths
1
290
state
stringclasses
2 values
body
stringlengths
0
228k
is_pull_request
bool
1 class
created_at
stringdate
2020-04-14 10:18:02
2025-06-26 12:23:48
updated_at
stringdate
2020-04-27 16:04:17
2025-06-26 14:02:38
closed_at
stringlengths
20
20
⌀
user_login
stringlengths
3
26
author_association
stringclasses
4 values
pr_url
stringlengths
46
49
⌀
pr_merged_at
stringlengths
20
20
⌀
comments_count
int64
0
70
reactions_total
int64
0
61
reactions_plus1
int64
0
39
reactions_heart
int64
0
22
draft
bool
2 classes
locked
bool
1 class
labels
listlengths
0
4
html_url
stringlengths
46
51
is_pr_url
bool
2 classes
comments
listlengths
0
30
710,065,838
679
Fix negative ids when slicing with an array
closed
```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
true
2020-09-28T08:39:08Z
2020-09-28T14:42:20Z
2020-09-28T14:42:19Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/679
2020-09-28T14:42:19Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/679
true
[]
710,060,497
678
The download instructions for c4 datasets are not contained in the error message
closed
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...
true
2020-09-28T08:30:54Z
2020-09-28T10:26:09Z
2020-09-28T10:26:09Z
Narsil
CONTRIBUTOR
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/678
false
[ "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...
710,055,239
677
Move cache dir root creation in builder's init
closed
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
true
2020-09-28T08:22:46Z
2020-09-28T14:42:43Z
2020-09-28T14:42:42Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/677
2020-09-28T14:42:42Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/677
true
[]
710,014,319
676
train_test_split returns empty dataset item
closed
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...
true
2020-09-28T07:19:33Z
2020-10-07T13:46:33Z
2020-10-07T13:38:06Z
mojave-pku
NONE
null
null
4
1
1
0
null
false
[]
https://github.com/huggingface/datasets/issues/676
false
[ "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 :...
709,818,725
675
Add custom dataset to NLP?
closed
Is it possible to add a custom dataset such as a .csv to the NLP library? Thanks.
true
2020-09-27T21:22:50Z
2020-10-20T09:08:49Z
2020-10-20T09:08:49Z
timpal0l
CONTRIBUTOR
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/675
false
[ "Yes you can have a look here: https://huggingface.co/docs/datasets/loading_datasets.html#csv-files", "No activity, closing" ]
709,661,006
674
load_dataset() won't download in Windows
closed
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...
true
2020-09-27T03:56:25Z
2020-10-05T08:28:18Z
2020-10-05T08:28:18Z
ThisDavehead
NONE
null
null
3
1
1
0
null
false
[]
https://github.com/huggingface/datasets/issues/674
false
[ "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...
709,603,989
673
blog_authorship_corpus crashed
closed
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)
true
2020-09-26T20:15:28Z
2022-02-15T10:47:58Z
2022-02-15T10:47:58Z
Moshiii
NONE
null
null
1
0
0
0
null
false
[ "nlp-viewer" ]
https://github.com/huggingface/datasets/issues/673
false
[ "Thanks for reporting !\r\nWe'll free some memory" ]
709,575,527
672
Questions about XSUM
closed
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...
true
2020-09-26T17:16:24Z
2022-10-04T17:30:17Z
2022-10-04T17:30:17Z
danyaljj
CONTRIBUTOR
null
null
14
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/672
false
[ "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...
709,093,151
671
[BUG] No such file or directory
closed
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...
true
2020-09-25T16:38:54Z
2020-09-28T14:42:42Z
2020-09-28T14:42:42Z
jbragg
CONTRIBUTOR
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/671
false
[]
709,061,231
670
Fix SQuAD metric kwargs description
closed
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...
true
2020-09-25T16:08:57Z
2020-09-29T15:57:39Z
2020-09-29T15:57:38Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/670
2020-09-29T15:57:37Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/670
true
[]
708,857,595
669
How to skip a example when running dataset.map
closed
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.
true
2020-09-25T11:17:53Z
2022-06-17T21:45:03Z
2020-10-05T16:28:13Z
xixiaoyao
NONE
null
null
3
1
1
0
null
false
[]
https://github.com/huggingface/datasets/issues/669
false
[ "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...
708,310,956
668
OverflowError when slicing with an array containing negative ids
closed
```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 ...
true
2020-09-24T16:27:14Z
2020-09-28T14:42:19Z
2020-09-28T14:42:19Z
lhoestq
MEMBER
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/668
false
[]
708,258,392
667
Loss not decrease with Datasets and Transformers
closed
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...
true
2020-09-24T15:14:43Z
2021-01-01T20:01:25Z
2021-01-01T20:01:25Z
wangcongcong123
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/667
false
[ "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" ]
707,608,578
666
Does both 'bookcorpus' and 'wikipedia' belong to the same datasets which Google used for pretraining BERT?
closed
true
2020-09-23T19:02:25Z
2020-10-27T15:19:25Z
2020-10-27T15:19:25Z
wahab4114
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/666
false
[ "No they are other similar copies but they are not provided by the official Bert models authors." ]
707,037,738
665
runing dataset.map, it raises TypeError: can't pickle Tokenizer objects
closed
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...
true
2020-09-23T04:28:14Z
2020-10-08T09:32:16Z
2020-10-08T09:32:16Z
xixiaoyao
NONE
null
null
8
1
1
0
null
false
[]
https://github.com/huggingface/datasets/issues/665
false
[ "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...
707,017,791
664
load_dataset from local squad.py, raise error: TypeError: 'NoneType' object is not callable
closed
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') ...
true
2020-09-23T03:53:36Z
2023-04-17T09:31:20Z
2020-10-20T09:06:13Z
xixiaoyao
NONE
null
null
4
1
1
0
null
false
[]
https://github.com/huggingface/datasets/issues/664
false
[ "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...
706,732,636
663
Created dataset card snli.md
closed
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**, ...
true
2020-09-22T22:29:37Z
2020-10-13T17:05:20Z
2020-10-12T20:26:52Z
mcmillanmajora
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/663
2020-10-12T20:26:52Z
11
3
2
1
false
false
[ "Dataset discussion" ]
https://github.com/huggingface/datasets/pull/663
true
[ "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 ...
706,689,866
662
Created dataset card snli.md
closed
First draft of a dataset card using the SNLI corpus as an example
true
2020-09-22T21:00:17Z
2023-09-24T09:50:16Z
2020-09-22T21:26:21Z
mcmillanmajora
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/662
null
1
0
0
0
false
false
[ "Dataset discussion" ]
https://github.com/huggingface/datasets/pull/662
true
[ "Resubmitting on a new fork" ]
706,465,936
661
Replace pa.OSFile by open
closed
It should fix #643
true
2020-09-22T15:05:59Z
2021-05-05T18:24:36Z
2020-09-22T15:15:25Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/661
null
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/661
true
[]
706,324,032
660
add openwebtext
closed
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...
true
2020-09-22T12:05:22Z
2020-10-06T09:20:10Z
2020-09-28T09:07:26Z
richarddwang
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/660
2020-09-28T09:07:26Z
3
2
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/660
true
[ "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...
706,231,506
659
Keep new columns in transmit format
closed
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.
true
2020-09-22T09:47:23Z
2020-09-22T10:07:22Z
2020-09-22T10:07:20Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/659
2020-09-22T10:07:20Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/659
true
[]
706,206,247
658
Fix squad metric's Features
closed
Resolves issue [657](https://github.com/huggingface/datasets/issues/657).
true
2020-09-22T09:09:52Z
2020-09-29T15:58:30Z
2020-09-29T15:58:30Z
tshrjn
NONE
https://github.com/huggingface/datasets/pull/658
null
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/658
true
[ "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" ]
706,204,383
657
Squad Metric Description & Feature Mismatch
closed
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.
true
2020-09-22T09:07:00Z
2020-10-13T02:16:56Z
2020-09-29T15:57:38Z
tshrjn
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/657
false
[ "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...
705,736,319
656
Use multiprocess from pathos for multiprocessing
closed
[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.
true
2020-09-21T16:12:19Z
2020-09-28T14:45:40Z
2020-09-28T14:45:39Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/656
2020-09-28T14:45:39Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/656
true
[ "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 ...
705,672,208
655
added Winogrande debiased subset
closed
The [Winogrande](https://arxiv.org/abs/1907.10641) paper mentions a `debiased` subset that wasn't in the first release; this PR adds it.
true
2020-09-21T14:51:08Z
2020-09-21T16:20:40Z
2020-09-21T16:16:04Z
TevenLeScao
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/655
2020-09-21T16:16:04Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/655
true
[ "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 " ]
705,511,058
654
Allow empty inputs in metrics
closed
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.
true
2020-09-21T11:26:36Z
2020-10-06T03:51:48Z
2020-09-21T16:13:38Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/654
2020-09-21T16:13:38Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/654
true
[]
705,482,391
653
handle data alteration when trying type
closed
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"}}...
true
2020-09-21T10:41:49Z
2020-09-21T16:13:06Z
2020-09-21T16:13:05Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/653
2020-09-21T16:13:05Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/653
true
[]
705,390,850
652
handle connection error in download_prepared_from_hf_gcs
closed
Fix #647
true
2020-09-21T08:21:11Z
2020-09-21T08:28:43Z
2020-09-21T08:28:42Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/652
2020-09-21T08:28:42Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/652
true
[]
705,212,034
651
Problem with JSON dataset format
open
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...
true
2020-09-20T23:57:14Z
2020-09-21T12:14:24Z
null
vikigenius
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/651
false
[ "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 ...
704,861,844
650
dummy data testing can't test datasets using `dl_manager.extract` in `_split_generators`
closed
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...
true
2020-09-19T11:07:03Z
2020-09-22T11:54:10Z
2020-09-22T11:54:09Z
richarddwang
CONTRIBUTOR
null
null
4
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/650
false
[ "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...
704,838,415
649
Inconsistent behavior in map
closed
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...
true
2020-09-19T08:41:12Z
2020-09-21T16:13:05Z
2020-09-21T16:13:05Z
krandiash
NONE
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/649
false
[ "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" ]
704,753,123
648
offset overflow when multiprocessing batched map on large datasets.
closed
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) ``` ``` ----------------------------...
true
2020-09-19T02:15:11Z
2025-06-17T12:56:07Z
2020-09-19T16:46:31Z
richarddwang
CONTRIBUTOR
null
null
6
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/648
false
[ "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]: ...
704,734,764
647
Cannot download dataset_info.json
closed
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...
true
2020-09-19T01:35:15Z
2020-09-21T08:28:42Z
2020-09-21T08:28:42Z
chiyuzhang94
NONE
null
null
4
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/647
false
[ "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...
704,607,371
646
Fix docs typos
closed
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...
true
2020-09-18T19:32:27Z
2020-09-21T16:30:54Z
2020-09-21T16:14:12Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/646
2020-09-21T16:14:12Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/646
true
[]
704,542,234
645
Don't use take on dataset table in pyarrow 1.0.x
closed
Fix #615
true
2020-09-18T17:31:34Z
2023-09-19T07:59:19Z
2020-09-19T16:46:31Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/645
2020-09-19T16:46:31Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/645
true
[ "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.."...
704,534,501
644
Better windows support
closed
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
true
2020-09-18T17:17:36Z
2020-09-25T14:02:30Z
2020-09-25T14:02:28Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/644
2020-09-25T14:02:28Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/644
true
[ "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 :)" ]
704,477,164
643
Caching processed dataset at wrong folder
closed
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 = ...
true
2020-09-18T15:41:26Z
2022-02-16T14:53:29Z
2022-02-16T14:53:29Z
mrm8488
CONTRIBUTOR
null
null
13
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/643
false
[ "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...
704,397,499
642
Rename wnut fields
closed
As mentioned in #641 it would be cool to have it follow the naming of the other NER datasets
true
2020-09-18T13:51:31Z
2020-09-18T17:18:31Z
2020-09-18T17:18:30Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/642
2020-09-18T17:18:30Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/642
true
[]
704,373,940
641
Add Polyglot-NER Dataset
closed
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.
true
2020-09-18T13:21:44Z
2020-09-20T03:04:43Z
2020-09-20T03:04:43Z
joeddav
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/641
2020-09-20T03:04:43Z
7
6
2
2
false
false
[]
https://github.com/huggingface/datasets/pull/641
true
[ "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 ...
704,311,758
640
Make shuffle compatible with temp_seed
closed
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
true
2020-09-18T11:38:58Z
2020-09-18T11:47:51Z
2020-09-18T11:47:50Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/640
2020-09-18T11:47:50Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/640
true
[]
704,217,963
639
Update glue QQP checksum
closed
Fix #638
true
2020-09-18T09:08:15Z
2020-09-18T11:37:08Z
2020-09-18T11:37:07Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/639
2020-09-18T11:37:07Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/639
true
[]
704,146,956
638
GLUE/QQP dataset: NonMatchingChecksumError
closed
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...
true
2020-09-18T07:09:10Z
2020-09-18T11:37:07Z
2020-09-18T11:37:07Z
richarddwang
CONTRIBUTOR
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/638
false
[ "Hi ! Sure I'll take a look" ]
703,539,909
637
Add MATINF
closed
true
2020-09-17T12:24:53Z
2020-09-17T13:23:18Z
2020-09-17T13:23:17Z
JetRunner
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/637
2020-09-17T13:23:17Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/637
true
[]
702,883,989
636
Consistent ner features
closed
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
true
2020-09-16T15:56:25Z
2020-09-17T09:52:59Z
2020-09-17T09:52:58Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/636
2020-09-17T09:52:58Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/636
true
[]
702,822,439
635
Loglevel
closed
Continuation of #618
true
2020-09-16T14:37:53Z
2020-09-17T09:52:19Z
2020-09-17T09:52:18Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/635
2020-09-17T09:52:18Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/635
true
[ "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 " ]
702,676,041
634
Add ConLL-2000 dataset
closed
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
true
2020-09-16T11:14:11Z
2020-09-17T10:38:10Z
2020-09-17T10:38:10Z
vblagoje
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/634
2020-09-17T10:38:10Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/634
true
[]
702,440,484
633
Load large text file for LM pre-training resulting in OOM
open
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...
true
2020-09-16T04:33:15Z
2021-02-16T12:02:01Z
null
leethu2012
NONE
null
null
27
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/633
false
[ "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 ...
702,358,124
632
Fix typos in the loading datasets docs
closed
This PR fixes two typos in the loading datasets docs, one of them being a broken link to the `load_dataset` function.
true
2020-09-16T00:27:41Z
2020-09-21T16:31:11Z
2020-09-16T06:52:44Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/632
2020-09-16T06:52:44Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/632
true
[ "thanks!" ]
701,711,255
631
Fix text delimiter
closed
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`
true
2020-09-15T08:08:42Z
2020-09-22T15:03:06Z
2020-09-15T08:26:25Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/631
2020-09-15T08:26:25Z
5
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/631
true
[ "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...
701,636,350
630
Text dataset not working with large files
closed
``` Traceback (most recent call last): File "examples/language-modeling/run_language_modeling.py", line 333, in <module> main() File "examples/language-modeling/run_language_modeling.py", line 262, in main get_dataset(data_args, tokenizer=tokenizer, cache_dir=model_args.cache_dir) if training_args.do_t...
true
2020-09-15T06:02:36Z
2020-09-25T22:21:43Z
2020-09-25T22:21:43Z
ksjae
NONE
null
null
11
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/630
false
[ "Seems like it works when setting ```block_size=2100000000``` or something arbitrarily large though.", "Can you give us some stats on the data files you use as inputs?", "Basically ~600MB txt files(UTF-8) * 59. \r\ncontents like ```안녕하세요, 이것은 예제로 한번 말해보는 텍스트입니다. 그냥 이렇다고요.<|endoftext|>\\n```\r\n\r\nAlso, it gets...
701,517,550
629
straddling object straddles two block boundaries
closed
I am trying to read json data (it's an array with lots of dictionaries) and getting block boundaries issue as below : I tried calling read_json with readOptions but no luck . ``` table = json.read_json(fn) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "pyarrow/_json.pyx", li...
true
2020-09-15T00:30:46Z
2020-09-15T00:36:17Z
2020-09-15T00:32:17Z
bharaniabhishek123
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/629
false
[ "sorry it's an apache arrow issue." ]
701,496,053
628
Update docs links in the contribution guideline
closed
Fixed the `add a dataset` and `share a dataset` links in the contribution guideline to refer to the new docs website.
true
2020-09-14T23:27:19Z
2020-11-02T21:03:23Z
2020-09-15T06:19:35Z
M-Salti
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/628
2020-09-15T06:19:35Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/628
true
[ "Thanks!" ]
701,411,661
627
fix (#619) MLQA features names
closed
Fixed the features names as suggested in (#619) in the `_generate_examples` and `_info` methods in the MLQA loading script and also changed the names in the `dataset_infos.json` file.
true
2020-09-14T20:41:59Z
2020-11-02T21:04:32Z
2020-09-16T06:54:11Z
M-Salti
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/627
2020-09-16T06:54:11Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/627
true
[]
701,352,605
626
Update GLUE URLs (now hosted on FB)
closed
NYU is switching dataset hosting from Google to FB. This PR closes https://github.com/huggingface/datasets/issues/608 and is necessary for https://github.com/jiant-dev/jiant/issues/161. This PR updates the data URLs based on changes made in https://github.com/nyu-mll/jiant/pull/1112. Note: rebased on huggingface/dat...
true
2020-09-14T19:05:39Z
2020-09-16T06:53:18Z
2020-09-16T06:53:18Z
jeswan
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/626
2020-09-16T06:53:18Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/626
true
[]
701,057,799
625
dtype of tensors should be preserved
closed
After switching to `datasets` my model just broke. After a weekend of debugging, the issue was that my model could not handle the double that the Dataset provided, as it expected a float (but didn't give a warning, which seems a [PyTorch issue](https://discuss.pytorch.org/t/is-it-required-that-input-and-hidden-for-gru-...
true
2020-09-14T12:38:05Z
2021-08-17T08:30:04Z
2021-08-17T08:30:04Z
BramVanroy
CONTRIBUTOR
null
null
9
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/625
false
[ "Indeed we convert tensors to list to be able to write in arrow format. Because of this conversion we lose the dtype information. We should add the dtype detection when we do type inference. However it would require a bit of refactoring since currently the conversion happens before the type inference..\r\n\r\nAnd t...
700,541,628
624
Add learningq dataset
open
Hi, Thank you again for this amazing repo. Would it be possible for y'all to add the LearningQ dataset - https://github.com/AngusGLChen/LearningQ ?
true
2020-09-13T10:20:27Z
2020-09-14T09:50:02Z
null
krrishdholakia
NONE
null
null
0
0
0
0
null
false
[ "dataset request" ]
https://github.com/huggingface/datasets/issues/624
false
[]
700,235,308
623
Custom feature types in `load_dataset` from CSV
closed
I am trying to load a local file with the `load_dataset` function and I want to predefine the feature types with the `features` argument. However, the types are always the same independent of the value of `features`. I am working with the local files from the emotion dataset. To get the data you can use the followi...
true
2020-09-12T13:21:34Z
2020-09-30T19:51:43Z
2020-09-30T08:39:54Z
lvwerra
MEMBER
null
null
7
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/623
false
[ "Currently `csv` doesn't support the `features` attribute (unlike `json`).\r\nWhat you can do for now is cast the features using the in-place transform `cast_`\r\n\r\n```python\r\nfrom datasets import load_dataset\r\n\r\ndataset = load_dataset('csv', data_files=file_dict, delimiter=';', column_names=['text', 'label...
700,225,826
622
load_dataset for text files not working
closed
Trying the following snippet, I get different problems on Linux and Windows. ```python dataset = load_dataset("text", data_files="data.txt") # or dataset = load_dataset("text", data_files=["data.txt"]) ``` (ps [This example](https://huggingface.co/docs/datasets/loading_datasets.html#json-files) shows that ...
true
2020-09-12T12:49:28Z
2020-10-28T11:07:31Z
2020-10-28T11:07:30Z
BramVanroy
CONTRIBUTOR
null
null
41
3
3
0
null
false
[ "dataset bug" ]
https://github.com/huggingface/datasets/issues/622
false
[ "Can you give us more information on your os and pip environments (pip list)?", "@thomwolf Sure. I'll try downgrading to 3.7 now even though Arrow say they support >=3.5.\r\n\r\nLinux (Ubuntu 18.04) - Python 3.8\r\n======================\r\nPackage - Version\r\n---------------------\r\ncertifi 2...
700,171,097
621
[docs] Index: The native emoji looks kinda ugly in large size
closed
true
2020-09-12T09:48:40Z
2020-09-15T06:20:03Z
2020-09-15T06:20:02Z
julien-c
MEMBER
https://github.com/huggingface/datasets/pull/621
2020-09-15T06:20:02Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/621
true
[]
699,815,135
620
map/filter multiprocessing raises errors and corrupts datasets
closed
After upgrading to the 1.0 started seeing errors in my data loading script after enabling multiprocessing. ```python ... ner_ds_dict = ner_ds.train_test_split(test_size=test_pct, shuffle=True, seed=seed) ner_ds_dict["validation"] = ner_ds_dict["test"] rel_ds_dict = rel_ds.train_test_split(test_si...
true
2020-09-11T22:30:06Z
2020-10-08T16:31:47Z
2020-10-08T16:31:46Z
timothyjlaurent
NONE
null
null
22
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/620
false
[ "It seems that I ran into the same problem\r\n```\r\ndef tokenize(cols, example):\r\n for in_col, out_col in cols.items():\r\n example[out_col] = hf_tokenizer.convert_tokens_to_ids(hf_tokenizer.tokenize(example[in_col]))\r\n return example\r\ncola = datasets.load_dataset('glue', 'cola')\r\ntokenized_cola = col...
699,733,612
619
Mistakes in MLQA features names
closed
I think the following features in MLQA shouldn't be named the way they are: 1. `questions` (should be `question`) 2. `ids` (should be `id`) 3. `start` (should be `answer_start`) The reasons I'm suggesting these features be renamed are: * To make them consistent with other QA datasets like SQuAD, XQuAD, TyDiQA et...
true
2020-09-11T20:46:23Z
2020-09-16T06:59:19Z
2020-09-16T06:59:19Z
M-Salti
CONTRIBUTOR
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/619
false
[ "Indeed you're right ! Thanks for reporting that\r\n\r\nCould you open a PR to fix the features names ?" ]
699,684,831
618
sync logging utils with transformers
closed
sync the docs/code with the recent changes in transformers' `logging` utils: 1. change the default level to `WARNING` 2. add `DATASETS_VERBOSITY` env var 3. expand docs
true
2020-09-11T19:46:13Z
2020-09-17T15:40:59Z
2020-09-17T09:53:47Z
stas00
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/618
null
12
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/618
true
[ "Also, some downloads and dataset processing can be quite long for large datasets like wikipedia/pg19/etc. We probably don't want to user to think that the library is hanging. Happy to reorganize logging between DEBUG/INFO/WARNING to make it less verbose by default though.", "The problem is that `transformers` im...
699,472,596
617
Compare different Rouge implementations
closed
I used RougeL implementation provided in `datasets` [here](https://github.com/huggingface/datasets/blob/master/metrics/rouge/rouge.py) and it gives numbers that match those reported in the pegasus paper but very different from those reported in other papers, [this](https://arxiv.org/pdf/1909.03186.pdf) for example. Ca...
true
2020-09-11T15:49:32Z
2023-03-22T12:08:44Z
2020-10-02T09:52:18Z
ibeltagy
NONE
null
null
7
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/617
false
[ "Updates - the differences between the following three\r\n(1) https://github.com/bheinzerling/pyrouge (previously popular. The one I trust the most)\r\n(2) https://github.com/google-research/google-research/tree/master/rouge\r\n(3) https://github.com/pltrdy/files2rouge (used in fairseq)\r\ncan be explained by two t...
699,462,293
616
UserWarning: The given NumPy array is not writeable, and PyTorch does not support non-writeable tensors
open
I am trying out the library and want to load in pickled data with `from_dict`. In that dict, one column `text` should be tokenized and the other (an embedding vector) should be retained. All other columns should be removed. When I eventually try to set the format for the columns with `set_format` I am getting this stra...
true
2020-09-11T15:39:16Z
2021-07-22T21:12:21Z
null
BramVanroy
CONTRIBUTOR
null
null
14
4
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/616
false
[ "I have the same issue", "Same issue here when Trying to load a dataset from disk.", "I am also experiencing this issue, and don't know if it's affecting my training.", "Same here. I hope the dataset is not being modified in-place.", "I think the only way to avoid this warning would be to do a copy of the n...
699,410,773
615
Offset overflow when slicing a big dataset with an array of indices in Pyarrow >= 1.0.0
closed
How to reproduce: ```python from datasets import load_dataset wiki = load_dataset("wikipedia", "20200501.en", split="train") wiki[[0]] --------------------------------------------------------------------------- ArrowInvalid Traceback (most recent call last) <ipython-input-13-38...
true
2020-09-11T14:50:38Z
2024-05-02T06:53:15Z
2020-09-19T16:46:31Z
lhoestq
MEMBER
null
null
16
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/615
false
[ "Related: https://issues.apache.org/jira/browse/ARROW-9773\r\n\r\nIt's definitely a size thing. I took a smaller dataset with 87000 rows and did:\r\n```\r\nfor i in range(10,1000,20):\r\n table = pa.concat_tables([dset._data]*i)\r\n table.take([0])\r\n```\r\nand it broke at around i=300.\r\n\r\nAlso when `_in...
699,177,110
614
[doc] Update deploy.sh
closed
true
2020-09-11T11:06:13Z
2020-09-14T08:49:19Z
2020-09-14T08:49:17Z
thomwolf
MEMBER
https://github.com/huggingface/datasets/pull/614
2020-09-14T08:49:17Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/614
true
[]
699,117,070
613
Add CoNLL-2003 shared task dataset
closed
Please consider adding CoNLL-2003 shared task dataset as it's beneficial for token classification tasks. The motivation behind this PR is the [PR](https://github.com/huggingface/transformers/pull/7041) in the transformers project. This dataset would be not only useful for the usual run-of-the-mill NER tasks but also fo...
true
2020-09-11T10:02:30Z
2020-10-05T10:43:05Z
2020-09-17T10:36:38Z
vblagoje
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/613
2020-09-17T10:36:38Z
7
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/613
true
[ "I think we should somewhere mention, that is the dataset in IOB2 tagging scheme, whereas the original dataset uses IOB1 :)", "Indeed this is something we want to mention.\r\n\r\nIf would want to add more details about the IOB1->2 change, feel free to ignore my suggestions and edit the description + update the da...
699,008,644
612
add multi-proc to dataset dict
closed
Add multi-proc to `DatasetDict`
true
2020-09-11T08:18:13Z
2020-09-11T10:20:13Z
2020-09-11T10:20:11Z
thomwolf
MEMBER
https://github.com/huggingface/datasets/pull/612
2020-09-11T10:20:11Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/612
true
[]
698,863,988
611
ArrowCapacityError: List array cannot contain more than 2147483646 child elements, have 2147483648
closed
Hi, I'm trying to load a dataset from Dataframe, but I get the error: ```bash --------------------------------------------------------------------------- ArrowCapacityError Traceback (most recent call last) <ipython-input-7-146b6b495963> in <module> ----> 1 dataset = Dataset.from_pandas(emb)...
true
2020-09-11T05:29:12Z
2022-06-01T15:11:43Z
2022-06-01T15:11:43Z
sangyx
NONE
null
null
6
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/611
false
[ "Can you give us stats/information on your pandas DataFrame?", "```\r\n<class 'pandas.core.frame.DataFrame'>\r\nInt64Index: 17136104 entries, 0 to 17136103\r\nData columns (total 6 columns):\r\n # Column Dtype \r\n--- ------ ----- \r\n 0 item_id int64 \r\n 1 item_titl object \r\n...
698,349,388
610
Load text file for RoBERTa pre-training.
closed
I migrate my question from https://github.com/huggingface/transformers/pull/4009#issuecomment-690039444 I tried to train a Roberta from scratch using transformers. But I got OOM issues with loading a large text file. According to the suggestion from @thomwolf , I tried to implement `datasets` to load my text file....
true
2020-09-10T18:41:38Z
2022-11-22T13:51:24Z
2022-11-22T13:51:23Z
chiyuzhang94
NONE
null
null
43
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/610
false
[ "Could you try\r\n```python\r\nload_dataset('text', data_files='test.txt',cache_dir=\"./\", split=\"train\")\r\n```\r\n?\r\n\r\n`load_dataset` returns a dictionary by default, like {\"train\": your_dataset}", "Hi @lhoestq\r\nThanks for your suggestion.\r\n\r\nI tried \r\n```\r\ndataset = load_dataset('text', data...
698,323,989
609
Update GLUE URLs (now hosted on FB)
closed
NYU is switching dataset hosting from Google to FB. This PR closes https://github.com/huggingface/datasets/issues/608 and is necessary for https://github.com/jiant-dev/jiant/issues/161. This PR updates the data URLs based on changes made in https://github.com/nyu-mll/jiant/pull/1112.
true
2020-09-10T18:16:32Z
2020-09-14T19:06:02Z
2020-09-14T19:06:01Z
jeswan
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/609
null
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/609
true
[ "Thanks for opening this PR :) \r\n\r\nWe changed the name of the lib from nlp to datasets yesterday.\r\nCould you rebase from master and re-generate the dataset_info.json file to fix the name changes ?", "Rebased changes here: https://github.com/huggingface/datasets/pull/626" ]
698,291,156
608
Don't use the old NYU GLUE dataset URLs
closed
NYU is switching dataset hosting from Google to FB. Initial changes to `datasets` are in https://github.com/jeswan/nlp/commit/b7d4a071d432592ded971e30ef73330529de25ce. What tests do you suggest I run before opening a PR? See: https://github.com/jiant-dev/jiant/issues/161 and https://github.com/nyu-mll/jiant/pull/111...
true
2020-09-10T17:47:02Z
2020-09-16T06:53:18Z
2020-09-16T06:53:18Z
jeswan
CONTRIBUTOR
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/608
false
[ "Feel free to open the PR ;)\r\nThanks for updating the dataset_info.json file !" ]
698,094,442
607
Add transmit_format wrapper and tests
closed
Same as #605 but using a decorator on-top of dataset transforms that are not in place
true
2020-09-10T15:03:50Z
2020-09-10T15:21:48Z
2020-09-10T15:21:47Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/607
2020-09-10T15:21:47Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/607
true
[]
698,050,442
606
Quick fix :)
closed
`nlp` => `datasets`
true
2020-09-10T14:32:06Z
2020-09-10T16:18:32Z
2020-09-10T16:18:30Z
thomwolf
MEMBER
https://github.com/huggingface/datasets/pull/606
2020-09-10T16:18:30Z
1
3
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/606
true
[ ":heart:" ]
697,887,401
605
[Datasets] Transmit format to children
closed
Transmit format to children obtained when processing a dataset. Added a test. When concatenating datasets, if the formats are disparate, the concatenated dataset has a format reset to defaults.
true
2020-09-10T12:30:18Z
2023-09-24T09:49:47Z
2020-09-10T16:15:21Z
thomwolf
MEMBER
https://github.com/huggingface/datasets/pull/605
null
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/605
true
[ "Closing as #607 was merged" ]
697,774,581
604
Update bucket prefix
closed
cc @julien-c
true
2020-09-10T11:01:13Z
2020-09-10T12:45:33Z
2020-09-10T12:45:32Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/604
2020-09-10T12:45:32Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/604
true
[]
697,758,750
603
Set scripts version to master
closed
By default the scripts version is master, so that if the library is installed with ``` pip install git+http://github.com/huggingface/nlp.git ``` or ``` git clone http://github.com/huggingface/nlp.git pip install -e ./nlp ``` will use the latest scripts, and not the ones from the previous version.
true
2020-09-10T10:47:44Z
2020-09-10T11:02:05Z
2020-09-10T11:02:04Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/603
2020-09-10T11:02:04Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/603
true
[]
697,636,605
602
apply offset to indices in multiprocessed map
closed
Fix #597 I fixed the indices by applying an offset. I added the case to our tests to make sure it doesn't happen again. I also added the message proposed by @thomwolf in #597 ```python >>> d.select(range(10)).map(fn, with_indices=True, batched=True, num_proc=2, load_from_cache_file=False) Done writing 10 ...
true
2020-09-10T08:54:30Z
2020-09-10T11:03:39Z
2020-09-10T11:03:37Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/602
2020-09-10T11:03:37Z
0
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/602
true
[]
697,574,848
601
check if trasnformers has PreTrainedTokenizerBase
closed
Fix #598
true
2020-09-10T07:54:56Z
2020-09-10T11:01:37Z
2020-09-10T11:01:36Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/601
2020-09-10T11:01:36Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/601
true
[]
697,496,913
600
Pickling error when loading dataset
closed
Hi, I modified line 136 in the original [run_language_modeling.py](https://github.com/huggingface/transformers/blob/master/examples/language-modeling/run_language_modeling.py) as: ``` # line 136: return LineByLineTextDataset(tokenizer=tokenizer, file_path=file_path, block_size=args.block_size) dataset = load_da...
true
2020-09-10T06:28:08Z
2020-09-25T14:31:54Z
2020-09-25T14:31:54Z
kandorm
NONE
null
null
5
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/600
false
[ "When I change from python3.6 to python3.8, it works! ", "Does it work when you install `nlp` from source on python 3.6?", "No, still the pickling error.", "I wasn't able to reproduce on google colab (python 3.6.9 as well) with \r\n\r\npickle==4.0\r\ndill=0.3.2\r\ntransformers==3.1.0\r\ndatasets=1.0.1 (also t...
697,377,786
599
Add MATINF dataset
closed
@lhoestq The command to create metadata failed. I guess it's because the zip is not downloaded from a remote address? How to solve that? Also the CI fails and I don't know how to fix that :(
true
2020-09-10T03:31:09Z
2023-09-24T09:50:08Z
2020-09-17T12:17:25Z
JetRunner
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/599
null
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/599
true
[ "Hi ! sorry for the late response\r\n\r\nCould you try to rebase from master ? We changed the named of the library last week so you have to include this change in your code.\r\n\r\nCan you give me more details about the error you get when running the cli command ?\r\n\r\nNote that in case of a manual download you h...
697,156,501
598
The current version of the package on github has an error when loading dataset
closed
Instead of downloading the package from pip, downloading the version from source will result in an error when loading dataset (the pip version is completely fine): To recreate the error: First, installing nlp directly from source: ``` git clone https://github.com/huggingface/nlp.git cd nlp pip install -e . ``...
true
2020-09-09T21:03:23Z
2020-09-10T06:25:21Z
2020-09-09T22:57:28Z
zeyuyun1
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/598
false
[ "Thanks for reporting !\r\nWhich version of transformers are you using ?\r\nIt looks like it doesn't have the PreTrainedTokenizerBase class", "I was using transformer 2.9. And I switch to the latest transformer package. Everything works just fine!!\r\n\r\nThanks for helping! I should look more carefully next time...
697,112,029
597
Indices incorrect with multiprocessing
closed
When `num_proc` > 1, the indices argument passed to the map function is incorrect: ```python d = load_dataset('imdb', split='test[:1%]') def fn(x, inds): print(inds) return x d.select(range(10)).map(fn, with_indices=True, batched=True) # [0, 1] # [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] d.select(range(10...
true
2020-09-09T19:50:56Z
2020-09-10T11:03:37Z
2020-09-10T11:03:37Z
joeddav
CONTRIBUTOR
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/597
false
[ "I fixed a bug that could cause this issue earlier today. Could you pull the latest version and try again ?", "Still the case on master.\r\nI guess we should have an offset in the multi-procs indeed (hopefully it's enough).\r\n\r\nAlso, side note is that we should add some logging before the \"test\" to say we ar...
696,928,139
596
[style/quality] Moving to isort 5.0.0 + style/quality on datasets and metrics
closed
Move the repo to isort 5.0.0. Also start testing style/quality on datasets and metrics. Specific rule: we allow F401 (unused imports) in metrics to be able to add imports to detect early on missing dependencies. Maybe we could add this in datasets but while cleaning this I've seen many example of really unused i...
true
2020-09-09T15:47:21Z
2020-09-10T10:05:04Z
2020-09-10T10:05:03Z
thomwolf
MEMBER
https://github.com/huggingface/datasets/pull/596
2020-09-10T10:05:03Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/596
true
[ "Ready for review @lhoestq, just updated a few 156 files here" ]
696,892,304
595
`Dataset`/`DatasetDict` has no attribute 'save_to_disk'
closed
Hi, As the title indicates, both `Dataset` and `DatasetDict` classes don't seem to have the `save_to_disk` method. While the file [`arrow_dataset.py`](https://github.com/huggingface/nlp/blob/34bf0b03bfe03e7f77b8fec1cd48f5452c4fc7c1/src/nlp/arrow_dataset.py) in the repo here has the method, the file `arrow_dataset.p...
true
2020-09-09T15:01:52Z
2020-09-09T16:20:19Z
2020-09-09T16:20:18Z
sudarshan85
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/595
false
[ "`pip install git+https://github.com/huggingface/nlp.git` should have done the job.\r\n\r\nDid you uninstall `nlp` before installing from github ?", "> Did you uninstall `nlp` before installing from github ?\r\n\r\nI did not. I created a new environment and installed `nlp` directly from `github` and it worked!\r\...
696,816,893
594
Fix germeval url
closed
Continuation of #593 but without the dummy data hack
true
2020-09-09T13:29:35Z
2020-09-09T13:34:35Z
2020-09-09T13:34:34Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/594
2020-09-09T13:34:34Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/594
true
[]
696,679,182
593
GermEval 2014: new download urls
closed
Hi, unfortunately, the download links for the GermEval 2014 dataset have changed: they're now located on a Google Drive. I changed the URLs and bump version from 1.0.0 to 2.0.0.
true
2020-09-09T10:07:29Z
2020-09-09T14:16:54Z
2020-09-09T13:35:15Z
stefan-it
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/593
null
5
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/593
true
[ "/cc: @vblagoje", "Closing this one as #594 is merged (same changes except the dummy data hack)", "Awesome @stefan-it ! @lhoestq how soon can I use the fixed GermEval dataset in HF token classification examples?", "I've manually updated the script on S3, so you can actually use it right now with\r\n```python\...
696,619,986
592
Test in memory and on disk
closed
I added test parameters to do every test both in memory and on disk. I also found a bug in concatenate_dataset thanks to the new tests and fixed it.
true
2020-09-09T08:59:30Z
2020-09-09T13:50:04Z
2020-09-09T13:50:03Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/592
2020-09-09T13:50:03Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/592
true
[]
696,530,413
591
fix #589 (backward compat)
closed
Fix #589
true
2020-09-09T07:33:13Z
2020-09-09T08:57:56Z
2020-09-09T08:57:55Z
thomwolf
MEMBER
https://github.com/huggingface/datasets/pull/591
2020-09-09T08:57:54Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/591
true
[]
696,501,827
590
The process cannot access the file because it is being used by another process (windows)
closed
Hi, I consistently get the following error when developing in my PC (windows 10): ``` train_dataset = train_dataset.map(convert_to_features, batched=True) File "C:\Users\saareliad\AppData\Local\Continuum\miniconda3\envs\py38\lib\site-packages\nlp\arrow_dataset.py", line 970, in map shutil.move(tmp_file....
true
2020-09-09T07:01:36Z
2020-09-25T14:02:28Z
2020-09-25T14:02:28Z
saareliad
NONE
null
null
7
1
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/590
false
[ "Hi, which version of `nlp` are you using?\r\n\r\nBy the way we'll be releasing today a significant update fixing many issues (but also comprising a few breaking changes).\r\nYou can see more informations here #545 and try it by installing from source from the master branch.", "I'm using version 0.4.0.\r\n\r\n", ...
696,488,447
589
Cannot use nlp.load_dataset text, AttributeError: module 'nlp.utils' has no attribute 'logging'
closed
``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/root/anaconda3/envs/pytorch/lib/python3.7/site-packages/nlp/load.py", line 533, in load_dataset builder_cls = import_main_class(module_path, dataset=True) File "/root/anaconda3/envs/pytorch/lib/python3.7/site-packages/nlp/l...
true
2020-09-09T06:46:53Z
2020-09-09T08:57:54Z
2020-09-09T08:57:54Z
ksjae
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/589
false
[]
695,249,809
588
Support pathlike obj in load dataset
closed
Fix #582 (I recreated the PR, I got an issue with git)
true
2020-09-07T16:13:21Z
2020-09-08T07:45:19Z
2020-09-08T07:45:18Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/588
2020-09-08T07:45:17Z
0
1
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/588
true
[]
695,246,018
587
Support pathlike obj in load dataset
closed
Fix #582
true
2020-09-07T16:09:16Z
2020-09-07T16:10:35Z
2020-09-07T16:10:35Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/587
null
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/587
true
[]
695,237,999
586
Better message when data files is empty
closed
Fix #581
true
2020-09-07T15:59:57Z
2020-09-09T09:00:09Z
2020-09-09T09:00:08Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/586
2020-09-09T09:00:07Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/586
true
[]
695,191,209
585
Fix select for pyarrow < 1.0.0
closed
Fix #583
true
2020-09-07T15:02:52Z
2020-09-08T07:43:17Z
2020-09-08T07:43:15Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/585
2020-09-08T07:43:15Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/585
true
[]
695,186,652
584
Use github versioning
closed
Right now dataset scripts and metrics are downloaded from S3 which is in sync with master. It means that it's not currently possible to pin the dataset/metric script version. To fix that I changed the download url from S3 to github, and adding a `version` parameter in `load_dataset` and `load_metric` to pin a certai...
true
2020-09-07T14:58:15Z
2020-09-09T13:37:35Z
2020-09-09T13:37:34Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/584
2020-09-09T13:37:34Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/584
true
[ "I noticed that datasets like `cnn_dailymail` need the `version` parameter to be passed to its `config_kwargs`.\r\nShall we rename the `version` paramater in `load_dataset` ? Maybe `repo_version` or `script_version` ?" ]
695,166,265
583
ArrowIndexError on Dataset.select
closed
If the indices table consists in several chunks, then `dataset.select` results in an `ArrowIndexError` error for pyarrow < 1.0.0 Example: ```python from nlp import load_dataset mnli = load_dataset("glue", "mnli", split="train") shuffled = mnli.shuffle(seed=42) mnli.select(list(range(len(mnli)))) ``` rai...
true
2020-09-07T14:36:29Z
2020-09-08T07:43:15Z
2020-09-08T07:43:15Z
lhoestq
MEMBER
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/583
false
[]
695,126,456
582
Allow for PathLike objects
closed
Using PathLike objects as input for `load_dataset` does not seem to work. The following will throw an error. ```python files = list(Path(r"D:\corpora\yourcorpus").glob("*.txt")) dataset = load_dataset("text", data_files=files) ``` Traceback: ``` Traceback (most recent call last): File "C:/dev/python/dut...
true
2020-09-07T13:54:51Z
2020-09-08T07:45:17Z
2020-09-08T07:45:17Z
BramVanroy
CONTRIBUTOR
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/582
false
[]
695,120,517
581
Better error message when input file does not exist
closed
In the following scenario, when `data_files` is an empty list, the stack trace and error message could be improved. This can probably be solved by checking for each file whether it actually exists and/or whether the argument is not false-y. ```python dataset = load_dataset("text", data_files=[]) ``` Example err...
true
2020-09-07T13:47:59Z
2020-09-09T09:00:07Z
2020-09-09T09:00:07Z
BramVanroy
CONTRIBUTOR
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/581
false
[]
694,954,551
580
nlp re-creates already-there caches when using a script, but not within a shell
closed
`nlp` keeps creating new caches for the same file when launching `filter` from a script, and behaves correctly from within the shell. Example: try running ``` import nlp hans_easy_data = nlp.load_dataset('hans', split="validation").filter(lambda x: x['label'] == 0) hans_hard_data = nlp.load_dataset('hans', s...
true
2020-09-07T10:23:50Z
2020-09-07T15:19:09Z
2020-09-07T14:26:41Z
TevenLeScao
CONTRIBUTOR
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/580
false
[ "Couln't reproduce on my side :/ \r\nlet me know if you manage to reproduce on another env (colab for example)", "Fixed with a clean re-install!" ]