number int64 2 7.91k | title stringlengths 1 290 | body stringlengths 0 228k | state stringclasses 2
values | created_at timestamp[s]date 2020-04-14 18:18:51 2025-12-16 10:45:02 | updated_at timestamp[s]date 2020-04-29 09:23:05 2025-12-16 19:34:46 | closed_at timestamp[s]date 2020-04-29 09:23:05 2025-12-16 14:20:48 ⌀ | url stringlengths 48 51 | author stringlengths 3 26 ⌀ | comments_count int64 0 70 | labels listlengths 0 4 |
|---|---|---|---|---|---|---|---|---|---|---|
668 | 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 | 2020-09-24T16:27:14 | 2020-09-28T14:42:19 | 2020-09-28T14:42:19 | https://github.com/huggingface/datasets/issues/668 | lhoestq | 0 | [] |
667 | 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 | 2020-09-24T15:14:43 | 2021-01-01T20:01:25 | 2021-01-01T20:01:25 | https://github.com/huggingface/datasets/issues/667 | wangcongcong123 | 2 | [] |
666 | Does both 'bookcorpus' and 'wikipedia' belong to the same datasets which Google used for pretraining BERT? | CLOSED | 2020-09-23T19:02:25 | 2020-10-27T15:19:25 | 2020-10-27T15:19:25 | https://github.com/huggingface/datasets/issues/666 | wahab4114 | 1 | [] | |
665 | 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 | 2020-09-23T04:28:14 | 2020-10-08T09:32:16 | 2020-10-08T09:32:16 | https://github.com/huggingface/datasets/issues/665 | xixiaoyao | 8 | [] |
664 | 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 | 2020-09-23T03:53:36 | 2023-04-17T09:31:20 | 2020-10-20T09:06:13 | https://github.com/huggingface/datasets/issues/664 | xixiaoyao | 4 | [] |
657 | 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 | 2020-09-22T09:07:00 | 2020-10-13T02:16:56 | 2020-09-29T15:57:38 | https://github.com/huggingface/datasets/issues/657 | tshrjn | 2 | [] |
651 | 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 | 2020-09-20T23:57:14 | 2020-09-21T12:14:24 | null | https://github.com/huggingface/datasets/issues/651 | vikigenius | 2 | [] |
650 | 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 | 2020-09-19T11:07:03 | 2020-09-22T11:54:10 | 2020-09-22T11:54:09 | https://github.com/huggingface/datasets/issues/650 | richarddwang | 4 | [] |
649 | 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 | 2020-09-19T08:41:12 | 2020-09-21T16:13:05 | 2020-09-21T16:13:05 | https://github.com/huggingface/datasets/issues/649 | krandiash | 1 | [
"bug"
] |
648 | 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 | 2020-09-19T02:15:11 | 2025-06-17T12:56:07 | 2020-09-19T16:46:31 | https://github.com/huggingface/datasets/issues/648 | richarddwang | 6 | [
"bug"
] |
647 | 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 | 2020-09-19T01:35:15 | 2020-09-21T08:28:42 | 2020-09-21T08:28:42 | https://github.com/huggingface/datasets/issues/647 | chiyuzhang94 | 4 | [] |
643 | 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 | 2020-09-18T15:41:26 | 2022-02-16T14:53:29 | 2022-02-16T14:53:29 | https://github.com/huggingface/datasets/issues/643 | mrm8488 | 13 | [
"bug"
] |
638 | 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 | 2020-09-18T07:09:10 | 2020-09-18T11:37:07 | 2020-09-18T11:37:07 | https://github.com/huggingface/datasets/issues/638 | richarddwang | 1 | [] |
633 | 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 | 2020-09-16T04:33:15 | 2021-02-16T12:02:01 | null | https://github.com/huggingface/datasets/issues/633 | leethu2012 | 27 | [] |
630 | Text dataset not working with large files | ```
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... | CLOSED | 2020-09-15T06:02:36 | 2020-09-25T22:21:43 | 2020-09-25T22:21:43 | https://github.com/huggingface/datasets/issues/630 | ksjae | 11 | [] |
629 | straddling object straddles two block boundaries | 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... | CLOSED | 2020-09-15T00:30:46 | 2020-09-15T00:36:17 | 2020-09-15T00:32:17 | https://github.com/huggingface/datasets/issues/629 | bharaniabhishek123 | 1 | [] |
625 | dtype of tensors should be preserved | 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-... | CLOSED | 2020-09-14T12:38:05 | 2021-08-17T08:30:04 | 2021-08-17T08:30:04 | https://github.com/huggingface/datasets/issues/625 | BramVanroy | 9 | [] |
624 | Add learningq dataset | 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 ?
| OPEN | 2020-09-13T10:20:27 | 2020-09-14T09:50:02 | null | https://github.com/huggingface/datasets/issues/624 | krrishdholakia | 0 | [
"dataset request"
] |
623 | Custom feature types in `load_dataset` from CSV | 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... | CLOSED | 2020-09-12T13:21:34 | 2020-09-30T19:51:43 | 2020-09-30T08:39:54 | https://github.com/huggingface/datasets/issues/623 | lvwerra | 7 | [
"enhancement"
] |
622 | load_dataset for text files not working | 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 ... | CLOSED | 2020-09-12T12:49:28 | 2020-10-28T11:07:31 | 2020-10-28T11:07:30 | https://github.com/huggingface/datasets/issues/622 | BramVanroy | 41 | [
"dataset bug"
] |
620 | map/filter multiprocessing raises errors and corrupts datasets | 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... | CLOSED | 2020-09-11T22:30:06 | 2020-10-08T16:31:47 | 2020-10-08T16:31:46 | https://github.com/huggingface/datasets/issues/620 | timothyjlaurent | 22 | [
"bug"
] |
619 | Mistakes in MLQA features names | 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... | CLOSED | 2020-09-11T20:46:23 | 2020-09-16T06:59:19 | 2020-09-16T06:59:19 | https://github.com/huggingface/datasets/issues/619 | M-Salti | 1 | [] |
617 | Compare different Rouge implementations | 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... | CLOSED | 2020-09-11T15:49:32 | 2023-03-22T12:08:44 | 2020-10-02T09:52:18 | https://github.com/huggingface/datasets/issues/617 | ibeltagy | 7 | [] |
616 | UserWarning: The given NumPy array is not writeable, and PyTorch does not support non-writeable tensors | 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... | OPEN | 2020-09-11T15:39:16 | 2021-07-22T21:12:21 | null | https://github.com/huggingface/datasets/issues/616 | BramVanroy | 14 | [] |
615 | Offset overflow when slicing a big dataset with an array of indices in Pyarrow >= 1.0.0 | 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... | CLOSED | 2020-09-11T14:50:38 | 2024-05-02T06:53:15 | 2020-09-19T16:46:31 | https://github.com/huggingface/datasets/issues/615 | lhoestq | 16 | [] |
611 | ArrowCapacityError: List array cannot contain more than 2147483646 child elements, have 2147483648 | 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)... | CLOSED | 2020-09-11T05:29:12 | 2022-06-01T15:11:43 | 2022-06-01T15:11:43 | https://github.com/huggingface/datasets/issues/611 | sangyx | 6 | [] |
610 | Load text file for RoBERTa pre-training. | 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.... | CLOSED | 2020-09-10T18:41:38 | 2022-11-22T13:51:24 | 2022-11-22T13:51:23 | https://github.com/huggingface/datasets/issues/610 | chiyuzhang94 | 43 | [] |
608 | Don't use the old NYU GLUE dataset URLs | 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... | CLOSED | 2020-09-10T17:47:02 | 2020-09-16T06:53:18 | 2020-09-16T06:53:18 | https://github.com/huggingface/datasets/issues/608 | jeswan | 1 | [] |
600 | Pickling error when loading dataset | 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... | CLOSED | 2020-09-10T06:28:08 | 2020-09-25T14:31:54 | 2020-09-25T14:31:54 | https://github.com/huggingface/datasets/issues/600 | kandorm | 5 | [] |
598 | The current version of the package on github has an error when loading dataset | 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 .
``... | CLOSED | 2020-09-09T21:03:23 | 2020-09-10T06:25:21 | 2020-09-09T22:57:28 | https://github.com/huggingface/datasets/issues/598 | zeyuyun1 | 3 | [] |
597 | Indices incorrect with multiprocessing | 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... | CLOSED | 2020-09-09T19:50:56 | 2020-09-10T11:03:37 | 2020-09-10T11:03:37 | https://github.com/huggingface/datasets/issues/597 | joeddav | 2 | [] |
595 | `Dataset`/`DatasetDict` has no attribute 'save_to_disk' | 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... | CLOSED | 2020-09-09T15:01:52 | 2020-09-09T16:20:19 | 2020-09-09T16:20:18 | https://github.com/huggingface/datasets/issues/595 | sudarshan85 | 2 | [] |
590 | The process cannot access the file because it is being used by another process (windows) | 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.... | CLOSED | 2020-09-09T07:01:36 | 2020-09-25T14:02:28 | 2020-09-25T14:02:28 | https://github.com/huggingface/datasets/issues/590 | saareliad | 7 | [] |
589 | Cannot use nlp.load_dataset text, AttributeError: module 'nlp.utils' has no attribute 'logging' |
```
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... | CLOSED | 2020-09-09T06:46:53 | 2020-09-09T08:57:54 | 2020-09-09T08:57:54 | https://github.com/huggingface/datasets/issues/589 | ksjae | 0 | [] |
583 | ArrowIndexError on Dataset.select | 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... | CLOSED | 2020-09-07T14:36:29 | 2020-09-08T07:43:15 | 2020-09-08T07:43:15 | https://github.com/huggingface/datasets/issues/583 | lhoestq | 0 | [] |
582 | Allow for PathLike objects | 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... | CLOSED | 2020-09-07T13:54:51 | 2020-09-08T07:45:17 | 2020-09-08T07:45:17 | https://github.com/huggingface/datasets/issues/582 | BramVanroy | 0 | [] |
581 | Better error message when input file does not exist | 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... | CLOSED | 2020-09-07T13:47:59 | 2020-09-09T09:00:07 | 2020-09-09T09:00:07 | https://github.com/huggingface/datasets/issues/581 | BramVanroy | 0 | [] |
580 | nlp re-creates already-there caches when using a script, but not within a shell | `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... | CLOSED | 2020-09-07T10:23:50 | 2020-09-07T15:19:09 | 2020-09-07T14:26:41 | https://github.com/huggingface/datasets/issues/580 | TevenLeScao | 2 | [] |
577 | Some languages in wikipedia dataset are not loading | Hi,
I am working with the `wikipedia` dataset and I have a script that goes over 92 of the available languages in that dataset. So far I have detected that `ar`, `af`, `an` are not loading. Other languages like `fr` and `en` are working fine. Here's how I am loading them:
```
import nlp
langs = ['ar'. 'af', '... | CLOSED | 2020-09-07T01:16:29 | 2023-04-11T22:50:48 | 2022-10-11T11:16:04 | https://github.com/huggingface/datasets/issues/577 | gaguilar | 16 | [] |
575 | Couldn't reach certain URLs and for the ones that can be reached, code just blocks after downloading. | Hi,
I'm following the [quick tour](https://huggingface.co/nlp/quicktour.html) and tried to load the glue dataset:
```
>>> from nlp import load_dataset
>>> dataset = load_dataset('glue', 'mrpc', split='train')
```
However, this ran into a `ConnectionError` saying it could not reach the URL (just pasting the la... | CLOSED | 2020-09-04T21:46:25 | 2020-09-22T10:41:36 | 2020-09-22T10:41:36 | https://github.com/huggingface/datasets/issues/575 | sudarshan85 | 6 | [] |
568 | `metric.compute` throws `ArrowInvalid` error | I get the following error with `rouge.compute`. It happens only with distributed training, and it occurs randomly I can't easily reproduce it. This is using `nlp==0.4.0`
```
File "/home/beltagy/trainer.py", line 92, in validation_step
rouge_scores = rouge.compute(predictions=generated_str, references=gold_st... | CLOSED | 2020-09-03T04:56:57 | 2020-10-05T16:33:53 | 2020-10-05T16:33:53 | https://github.com/huggingface/datasets/issues/568 | ibeltagy | 3 | [] |
565 | No module named 'nlp.logging' | Hi, I am using nlp version 0.4.0. Trying to use bleurt as an eval metric, however, the bleurt script imports nlp.logging which creates the following error. What am I missing?
```
>>> import nlp
2020-09-02 13:47:09.210310: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic l... | CLOSED | 2020-09-02T13:49:50 | 2020-09-03T07:29:50 | 2020-09-03T07:29:50 | https://github.com/huggingface/datasets/issues/565 | melody-ju | 2 | [] |
560 | Using custom DownloadConfig results in an error | ## Version / Environment
Ubuntu 18.04
Python 3.6.8
nlp 0.4.0
## Description
Loading `imdb` dataset works fine when when I don't specify any `download_config` argument. When I create a custom `DownloadConfig` object and pass it to the `nlp.load_dataset` function, this results in an error.
## How to reprodu... | CLOSED | 2020-09-01T22:23:02 | 2022-10-04T17:23:45 | 2022-10-04T17:23:45 | https://github.com/huggingface/datasets/issues/560 | ynouri | 6 | [] |
554 | nlp downloads to its module path | I am trying to package `nlp` for Nix, because it is now an optional dependency for `transformers`. The problem that I encounter is that the `nlp` library downloads to the module path, which is typically not writable in most package management systems:
```>>> import nlp
>>> squad_dataset = nlp.load_dataset('squad')
... | CLOSED | 2020-09-01T14:06:14 | 2020-09-11T06:19:24 | 2020-09-11T06:19:24 | https://github.com/huggingface/datasets/issues/554 | danieldk | 8 | [] |
546 | Very slow data loading on large dataset | I made a simple python script to check the NLP library speed, which loads 1.1 TB of textual data.
It has been 8 hours and still, it is on the loading steps.
It does work when the text dataset size is small about 1 GB, but it doesn't scale.
It also uses a single thread during the data loading step.
```
train_fil... | CLOSED | 2020-08-31T12:57:23 | 2024-01-02T20:26:24 | 2020-09-08T10:19:57 | https://github.com/huggingface/datasets/issues/546 | agemagician | 28 | [] |
545 | New release coming up for this library | Hi all,
A few words on the roadmap for this library.
The next release will be a big one and is planed at the end of this week.
In addition to the support for indexed datasets (useful for non-parametric models like REALM, RAG, DPR, knn-LM and many other fast dataset retrieval technics), it will:
- have support f... | CLOSED | 2020-08-31T11:37:38 | 2021-01-13T10:59:04 | 2021-01-13T10:59:04 | https://github.com/huggingface/datasets/issues/545 | thomwolf | 1 | [] |
543 | nlp.load_dataset is not safe for multi processes when loading from local files | Loading from local files, e.g., `dataset = nlp.load_dataset('csv', data_files=['file_1.csv', 'file_2.csv'])`
concurrently from multiple processes, will raise `FileExistsError` from builder's line 430, https://github.com/huggingface/nlp/blob/6655008c738cb613c522deb3bd18e35a67b2a7e5/src/nlp/builder.py#L423-L438
Likel... | CLOSED | 2020-08-30T03:20:34 | 2020-08-31T11:15:10 | 2020-08-31T11:15:10 | https://github.com/huggingface/datasets/issues/543 | luyug | 1 | [] |
541 | Best practices for training tokenizers with nlp | Hi, thank you for developing this library.
What do you think are the best practices for training tokenizers using `nlp`? In the document and examples, I could only find pre-trained tokenizers used. | CLOSED | 2020-08-29T12:06:49 | 2022-10-04T17:28:04 | 2022-10-04T17:28:04 | https://github.com/huggingface/datasets/issues/541 | moskomule | 1 | [] |
539 | [Dataset] `NonMatchingChecksumError` due to an update in the LinCE benchmark data | Hi,
There is a `NonMatchingChecksumError` error for the `lid_msaea` (language identification for Modern Standard Arabic - Egyptian Arabic) dataset from the LinCE benchmark due to a minor update on that dataset.
How can I update the checksum of the library to solve this issue? The error is below and it also appea... | CLOSED | 2020-08-28T19:55:51 | 2020-09-03T16:34:02 | 2020-09-03T16:34:01 | https://github.com/huggingface/datasets/issues/539 | gaguilar | 3 | [] |
537 | [Dataset] RACE dataset Checksums error | Hi there, I just would like to use this awesome lib to perform a dataset fine-tuning on RACE dataset. I have performed the following steps:
```
dataset = nlp.load_dataset("race")
len(dataset["train"]), len(dataset["validation"])
```
But then I got the following error:
```
----------------------------------... | CLOSED | 2020-08-27T23:58:16 | 2020-09-18T12:07:04 | 2020-09-18T12:07:04 | https://github.com/huggingface/datasets/issues/537 | abarbosa94 | 9 | [
"dataset bug"
] |
534 | `list_datasets()` is broken. | version = '0.4.0'
`list_datasets()` is broken. It results in the following error :
```
In [3]: nlp.list_datasets()
Out[3]: ---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
~/.virtualenvs/san-lgUCsFg_/lib/py... | CLOSED | 2020-08-26T08:19:01 | 2020-08-27T06:31:11 | 2020-08-27T06:31:11 | https://github.com/huggingface/datasets/issues/534 | ashutosh-dwivedi-e3502 | 3 | [] |
532 | File exists error when used with TPU | Hi,
I'm getting a "File exists" error when I use [text dataset](https://github.com/huggingface/nlp/tree/master/datasets/text) for pre-training a RoBERTa model using `transformers` (3.0.2) and `nlp`(0.4.0) on a VM with TPU (v3-8).
I modified [line 131 in the original `run_language_modeling.py`](https://github.com/... | OPEN | 2020-08-25T14:36:38 | 2020-09-01T12:14:56 | null | https://github.com/huggingface/datasets/issues/532 | go-inoue | 21 | [] |
525 | wmt download speed example | Continuing from the slack 1.0 roadmap thread w @lhoestq , I realized the slow downloads is only a thing sometimes. Here are a few examples, I suspect there are multiple issues. All commands were run from the same gcp us-central-1f machine.
```
import nlp
nlp.load_dataset('wmt16', 'de-en')
```
Downloads at 49.1 K... | CLOSED | 2020-08-21T23:29:06 | 2022-10-04T17:45:39 | 2022-10-04T17:45:39 | https://github.com/huggingface/datasets/issues/525 | sshleifer | 8 | [] |
524 | Some docs are missing parameter names | See https://huggingface.co/nlp/master/package_reference/main_classes.html#nlp.Dataset.map. I believe this is because the parameter names are enclosed in backticks in the docstrings, maybe it's an old docstring format that doesn't work with the current Sphinx version. | CLOSED | 2020-08-21T16:47:34 | 2020-08-25T09:04:03 | 2020-08-25T09:04:03 | https://github.com/huggingface/datasets/issues/524 | jarednielsen | 1 | [] |
522 | dictionnary typo in docs | Many places dictionary is spelled dictionnary, not sure if its on purpose or not.
Fixed in this pr:
https://github.com/huggingface/nlp/pull/521 | CLOSED | 2020-08-20T07:11:05 | 2020-08-20T07:52:14 | 2020-08-20T07:52:13 | https://github.com/huggingface/datasets/issues/522 | yonigottesman | 1 | [] |
519 | [BUG] Metrics throwing new error on master since 0.4.0 | The following error occurs when passing in references of type `List[List[str]]` to metrics like bleu.
Wasn't happening on 0.4.0 but happening now on master.
```
File "/usr/local/lib/python3.7/site-packages/nlp/metric.py", line 226, in compute
self.add_batch(predictions=predictions, references=references)
... | CLOSED | 2020-08-19T21:29:15 | 2022-06-02T16:41:01 | 2020-08-19T22:04:40 | https://github.com/huggingface/datasets/issues/519 | jbragg | 2 | [] |
517 | add MLDoc dataset | Hi,
I am recommending that someone add MLDoc, a multilingual news topic classification dataset.
- Here's a link to the Github: https://github.com/facebookresearch/MLDoc
- and the paper: http://www.lrec-conf.org/proceedings/lrec2018/pdf/658.pdf
Looks like the dataset contains news stories in multiple languages... | OPEN | 2020-08-19T14:41:59 | 2021-08-03T05:59:33 | null | https://github.com/huggingface/datasets/issues/517 | jxmorris12 | 2 | [
"dataset request"
] |
514 | dataset.shuffle(keep_in_memory=True) is never allowed | As of commit ef4aac2, the usage of the parameter `keep_in_memory=True` is never possible: `dataset.select(keep_in_memory=True)`
The commit added the lines
```python
# lines 994-996 in src/nlp/arrow_dataset.py
assert (
not keep_in_memory or cache_file_name is None
), "Please use either... | CLOSED | 2020-08-18T18:47:40 | 2022-10-10T12:21:58 | 2022-10-10T12:21:58 | https://github.com/huggingface/datasets/issues/514 | vegarab | 10 | [
"good first issue",
"hacktoberfest"
] |
511 | dataset.shuffle() and select() resets format. Intended? | Calling `dataset.shuffle()` or `dataset.select()` on a dataset resets its format set by `dataset.set_format()`. Is this intended or an oversight?
When working on quite large datasets that require a lot of preprocessing I find it convenient to save the processed dataset to file using `torch.save("dataset.pt")`. Later... | CLOSED | 2020-08-18T13:46:01 | 2020-09-14T08:45:38 | 2020-09-14T08:45:38 | https://github.com/huggingface/datasets/issues/511 | vegarab | 5 | [] |
510 | Version of numpy to use the library | Thank you so much for your excellent work! I would like to use nlp library in my project. While importing nlp, I am receiving the following error `AttributeError: module 'numpy.random' has no attribute 'Generator'` Numpy version in my project is 1.16.0. May I learn which numpy version is used for the nlp library.
Th... | CLOSED | 2020-08-18T08:59:13 | 2020-08-19T18:35:56 | 2020-08-19T18:35:56 | https://github.com/huggingface/datasets/issues/510 | isspek | 2 | [] |
509 | Converting TensorFlow dataset example | Hi,
I want to use TensorFlow datasets with this repo, I noticed you made some conversion script,
can you give a simple example of using it?
Thanks
| CLOSED | 2020-08-16T08:05:20 | 2021-08-03T06:01:18 | 2021-08-03T06:01:17 | https://github.com/huggingface/datasets/issues/509 | saareliad | 2 | [] |
508 | TypeError: Receiver() takes no arguments | I am trying to load a wikipedia data set
```
import nlp
from nlp import load_dataset
dataset = load_dataset("wikipedia", "20200501.en", split="train", cache_dir=data_path, beam_runner='DirectRunner')
#dataset = load_dataset('wikipedia', '20200501.sv', cache_dir=data_path, beam_runner='DirectRunner')
```
Th... | CLOSED | 2020-08-16T07:18:16 | 2020-09-01T14:53:33 | 2020-09-01T14:49:03 | https://github.com/huggingface/datasets/issues/508 | sebastiantomac | 5 | [] |
507 | Errors when I use | I tried the following example code from https://huggingface.co/deepset/roberta-base-squad2 and got errors
I am using **transformers 3.0.2** code .
from transformers.pipelines import pipeline
from transformers.modeling_auto import AutoModelForQuestionAnswering
from transformers.tokenization_auto import AutoToke... | CLOSED | 2020-08-14T21:03:57 | 2020-08-14T21:39:10 | 2020-08-14T21:39:10 | https://github.com/huggingface/datasets/issues/507 | mchari | 1 | [] |
501 | Caching doesn't work for map (non-deterministic) | The caching functionality doesn't work reliably when tokenizing a dataset. Here's a small example to reproduce it.
```python
import nlp
import transformers
def main():
ds = nlp.load_dataset("reddit", split="train[:500]")
tokenizer = transformers.AutoTokenizer.from_pretrained("gpt2")
def conv... | CLOSED | 2020-08-12T20:20:07 | 2022-08-08T11:02:23 | 2020-08-24T16:34:35 | https://github.com/huggingface/datasets/issues/501 | wulu473 | 4 | [] |
492 | nlp.Features does not distinguish between nullable and non-nullable types in PyArrow schema | Here's the code I'm trying to run:
```python
dset_wikipedia = nlp.load_dataset("wikipedia", "20200501.en", split="train", cache_dir=args.cache_dir)
dset_wikipedia.drop(columns=["title"])
dset_wikipedia.features.pop("title")
dset_books = nlp.load_dataset("bookcorpus", split="train", cache_dir=args.cache_dir)
dse... | CLOSED | 2020-08-11T00:27:46 | 2020-08-26T16:17:19 | 2020-08-26T16:17:19 | https://github.com/huggingface/datasets/issues/492 | jarednielsen | 7 | [] |
491 | No 0.4.0 release on GitHub | 0.4.0 was released on PyPi, but not on GitHub. This means [the documentation](https://huggingface.co/nlp/) is still displaying from 0.3.0, and that there's no tag to easily clone the 0.4.0 version of the repo. | CLOSED | 2020-08-10T23:59:57 | 2020-08-11T16:50:07 | 2020-08-11T16:50:07 | https://github.com/huggingface/datasets/issues/491 | jarednielsen | 2 | [] |
490 | Loading preprocessed Wikipedia dataset requires apache_beam | Running
`nlp.load_dataset("wikipedia", "20200501.en", split="train", dir="/tmp/wikipedia")`
gives an error if apache_beam is not installed, stemming from
https://github.com/huggingface/nlp/blob/38eb2413de54ee804b0be81781bd65ac4a748ced/src/nlp/builder.py#L981-L988
This succeeded without the dependency in ve... | CLOSED | 2020-08-10T23:46:50 | 2020-08-14T13:17:20 | 2020-08-14T13:17:20 | https://github.com/huggingface/datasets/issues/490 | jarednielsen | 0 | [] |
489 | ug | CLOSED | 2020-08-10T22:33:03 | 2020-08-10T22:55:14 | 2020-08-10T22:33:40 | https://github.com/huggingface/datasets/issues/489 | timothyjlaurent | 2 | [] | |
488 | issues with downloading datasets for wmt16 and wmt19 | I have encountered multiple issues while trying to:
```
import nlp
dataset = nlp.load_dataset('wmt16', 'ru-en')
metric = nlp.load_metric('wmt16')
```
1. I had to do `pip install -e ".[dev]" ` on master, currently released nlp didn't work (sorry, didn't save the error) - I went back to the released version and no... | CLOSED | 2020-08-10T17:32:51 | 2022-10-04T17:46:59 | 2022-10-04T17:46:58 | https://github.com/huggingface/datasets/issues/488 | stas00 | 3 | [] |
486 | Bookcorpus data contains pretokenized text | It seem that the bookcoprus data downloaded through the library was pretokenized with NLTK's Treebank tokenizer, which changes the text in incompatible ways to how, for instance, BERT's wordpiece tokenizer works. For example, "didn't" becomes "did" + "n't", and double quotes are changed to `` and '' for start and end q... | CLOSED | 2020-08-09T06:53:24 | 2022-10-04T17:44:33 | 2022-10-04T17:44:33 | https://github.com/huggingface/datasets/issues/486 | orsharir | 8 | [] |
485 | PAWS dataset first item is header | ```
import nlp
dataset = nlp.load_dataset('xtreme', 'PAWS-X.en')
dataset['test'][0]
```
prints the following
```
{'label': 'label', 'sentence1': 'sentence1', 'sentence2': 'sentence2'}
```
dataset['test'][0] should probably be the first item in the dataset, not just a dictionary mapping the column names t... | CLOSED | 2020-08-08T22:05:25 | 2020-08-19T09:50:01 | 2020-08-19T09:50:01 | https://github.com/huggingface/datasets/issues/485 | jxmorris12 | 0 | [] |
483 | rotten tomatoes movie review dataset taken down | In an interesting twist of events, the individual who created the movie review seems to have left Cornell, and their webpage has been removed, along with the movie review dataset (http://www.cs.cornell.edu/people/pabo/movie-review-data/rt-polaritydata.tar.gz). It's not downloadable anymore. | CLOSED | 2020-08-07T15:12:01 | 2020-09-08T09:36:34 | 2020-09-08T09:36:33 | https://github.com/huggingface/datasets/issues/483 | jxmorris12 | 3 | [] |
482 | Bugs : dataset.map() is frozen on ELI5 | Hi Huggingface Team!
Thank you guys once again for this amazing repo.
I have tried to prepare ELI5 to train with T5, based on [this wonderful notebook of Suraj Patil](https://github.com/patil-suraj/exploring-T5/blob/master/T5_on_TPU.ipynb)
However, when I run `dataset.map()` on ELI5 to prepare `input_text, ta... | CLOSED | 2020-08-07T08:23:35 | 2023-04-06T09:39:59 | 2020-08-11T23:55:15 | https://github.com/huggingface/datasets/issues/482 | ratthachat | 8 | [] |
478 | Export TFRecord to GCP bucket | Previously, I was writing TFRecords manually to GCP bucket with : `with tf.io.TFRecordWriter('gs://my_bucket/x.tfrecord')`
Since `0.4.0` is out with the `export()` function, I tried it. But it seems TFRecords cannot be directly written to GCP bucket.
`dataset.export('local.tfrecord')` works fine,
but `dataset.... | CLOSED | 2020-08-05T01:08:32 | 2020-08-05T01:21:37 | 2020-08-05T01:21:36 | https://github.com/huggingface/datasets/issues/478 | astariul | 1 | [] |
477 | Overview.ipynb throws exceptions with nlp 0.4.0 | with nlp 0.4.0, the TensorFlow example in Overview.ipynb throws the following exceptions:
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-5-48907f2ad433> in <module>
----> 1 features = {x: trai... | CLOSED | 2020-08-04T23:18:15 | 2021-08-03T06:02:15 | 2021-08-03T06:02:15 | https://github.com/huggingface/datasets/issues/477 | mandy-li | 3 | [] |
474 | test_load_real_dataset when config has BUILDER_CONFIGS that matter | It a dataset has custom `BUILDER_CONFIGS` with non-keyword arguments (or keyword arguments with non default values), the config is not loaded during the test and causes an error.
I think the problem is that `test_load_real_dataset` calls `load_dataset` with `data_dir=temp_data_dir` ([here](https://github.com/huggingfa... | CLOSED | 2020-08-03T23:46:36 | 2020-09-07T14:53:13 | 2020-09-07T14:53:13 | https://github.com/huggingface/datasets/issues/474 | marcotcr | 2 | [] |
469 | invalid data type 'str' at _convert_outputs in arrow_dataset.py | I trying to build multi label text classifier model using Transformers lib.
I'm using Transformers NLP to load the data set, while calling trainer.train() method. It throws the following error
File "C:\***\arrow_dataset.py", line 343, in _convert_outputs
v = command(v)
TypeError: new(): invalid data type ... | CLOSED | 2020-08-03T07:48:29 | 2023-07-20T15:54:17 | 2023-07-20T15:54:17 | https://github.com/huggingface/datasets/issues/469 | Murgates | 9 | [] |
468 | UnicodeDecodeError while loading PAN-X task of XTREME dataset | Hi 🤗 team!
## Description of the problem
I'm running into a `UnicodeDecodeError` while trying to load the PAN-X subset the XTREME dataset:
```
---------------------------------------------------------------------------
UnicodeDecodeError Traceback (most recent call last)
<ipython-inp... | CLOSED | 2020-08-02T14:05:10 | 2020-08-20T08:16:08 | 2020-08-20T08:16:08 | https://github.com/huggingface/datasets/issues/468 | lewtun | 5 | [] |
445 | DEFAULT_TOKENIZER import error in sacrebleu | Latest Version 0.3.0
When loading the metric "sacrebleu" there is an import error due to the wrong path

| CLOSED | 2020-07-28T07:31:30 | 2020-07-28T12:58:56 | 2020-07-28T12:58:56 | https://github.com/huggingface/datasets/issues/445 | idoh | 1 | [] |
444 | Keep loading old file even I specify a new file in load_dataset | I used load a file called 'a.csv' by
```
dataset = load_dataset('csv', data_file='./a.csv')
```
And after a while, I tried to load another csv called 'b.csv'
```
dataset = load_dataset('csv', data_file='./b.csv')
```
However, the new dataset seems to remain the old 'a.csv' and not loading new csv file.
Even... | CLOSED | 2020-07-27T13:08:06 | 2020-07-29T13:57:22 | 2020-07-29T13:57:22 | https://github.com/huggingface/datasets/issues/444 | joshhu | 2 | [
"dataset bug"
] |
443 | Cannot unpickle saved .pt dataset with torch.save()/load() | Saving a formatted torch dataset to file using `torch.save()`. Loading the same file fails during unpickling:
```python
>>> import torch
>>> import nlp
>>> squad = nlp.load_dataset("squad.py", split="train")
>>> squad
Dataset(features: {'source_text': Value(dtype='string', id=None), 'target_text': Value(dtype... | CLOSED | 2020-07-27T12:13:37 | 2020-07-27T13:05:11 | 2020-07-27T13:05:11 | https://github.com/huggingface/datasets/issues/443 | vegarab | 1 | [] |
442 | [Suggestion] Glue Diagnostic Data with Labels | Hello! First of all, thanks for setting up this useful project!
I've just realised you provide the the [Glue Diagnostics Data](https://huggingface.co/nlp/viewer/?dataset=glue&config=ax) without labels, indicating in the `GlueConfig` that you've only a test set.
Yet, the data with labels is available, too (see als... | OPEN | 2020-07-27T10:59:58 | 2020-08-24T15:13:20 | null | https://github.com/huggingface/datasets/issues/442 | ggbetz | 0 | [
"Dataset discussion"
] |
439 | Issues: Adding a FAISS or Elastic Search index to a Dataset | It seems the DPRContextEncoder, DPRContextEncoderTokenizer cited[ in this documentation](https://huggingface.co/nlp/faiss_and_ea.html) is not implemented ? It didnot work with the standard nlp installation . Also, I couldn't find or use it with the latest nlp install from github in Colab. Is there any dependency on t... | CLOSED | 2020-07-27T04:25:17 | 2020-10-28T01:46:24 | 2020-10-28T01:46:24 | https://github.com/huggingface/datasets/issues/439 | nsankar | 5 | [] |
438 | New Datasets: IWSLT15+, ITTB | **Links:**
[iwslt](https://pytorchnlp.readthedocs.io/en/latest/_modules/torchnlp/datasets/iwslt.html)
Don't know if that link is up to date.
[ittb](http://www.cfilt.iitb.ac.in/iitb_parallel/)
**Motivation**: replicate mbart finetuning results (table below)
 dataset? | I have written a generic dataset for corpora created with the Brat annotation tool ([specification](https://brat.nlplab.org/standoff.html), [dataset code](https://github.com/ArneBinder/nlp/blob/brat/datasets/brat/brat.py)). Now I wonder how to use that to create specific dataset instances. What's the recommended way to... | CLOSED | 2020-07-24T17:27:37 | 2022-10-04T17:59:34 | 2022-10-04T17:59:33 | https://github.com/huggingface/datasets/issues/433 | ArneBinder | 4 | [] |
426 | [FEATURE REQUEST] Multiprocessing with for dataset.map, dataset.filter | It would be nice to be able to speed up `dataset.map` or `dataset.filter`. Perhaps this is as easy as sharding the dataset sending each shard to a process/thread/dask pool and using the new `nlp.concatenate_dataset()` function to join them all together? | CLOSED | 2020-07-23T05:00:41 | 2021-03-12T09:34:12 | 2020-09-07T14:48:04 | https://github.com/huggingface/datasets/issues/426 | timothyjlaurent | 6 | [
"enhancement"
] |
425 | Correct data structure for PAN-X task in XTREME dataset? | Hi 🤗 team!
## Description of the problem
Thanks to the fix from #416 I am now able to load the NER task in the XTREME dataset as follows:
```python
from nlp import load_dataset
# AmazonPhotos.zip is located in data/
dataset = load_dataset("xtreme", "PAN-X.en", data_dir='./data')
dataset_train = dataset['tr... | CLOSED | 2020-07-22T20:29:20 | 2020-08-02T13:30:34 | 2020-08-02T13:30:34 | https://github.com/huggingface/datasets/issues/425 | lewtun | 7 | [] |
418 | Addition of google drive links to dl_manager | Hello there, I followed the template to create a download script of my own, which works fine for me, although I had to shun the dl_manager because it was downloading nothing from the drive links and instead use gdown.
This is the script for me:
```python
class EmoConfig(nlp.BuilderConfig):
"""BuilderConfig ... | CLOSED | 2020-07-20T14:52:02 | 2020-07-20T15:39:32 | 2020-07-20T15:39:32 | https://github.com/huggingface/datasets/issues/418 | lordtt13 | 3 | [] |
415 | Something is wrong with WMT 19 kk-en dataset | The translation in the `train` set does not look right:
```
>>>import nlp
>>>from nlp import load_dataset
>>>dataset = load_dataset('wmt19', 'kk-en')
>>>dataset["train"]["translation"][0]
{'kk': 'Trumpian Uncertainty', 'en': 'Трамптық белгісіздік'}
>>>dataset["validation"]["translation"][0]
{'kk': 'Ақша-несие... | OPEN | 2020-07-19T08:18:51 | 2020-07-20T09:54:26 | null | https://github.com/huggingface/datasets/issues/415 | ChenghaoMou | 0 | [
"dataset bug"
] |
414 | from_dict delete? | AttributeError: type object 'Dataset' has no attribute 'from_dict' | CLOSED | 2020-07-19T07:08:36 | 2020-07-21T02:21:17 | 2020-07-21T02:21:17 | https://github.com/huggingface/datasets/issues/414 | hackerxiaobai | 2 | [] |
413 | Is there a way to download only NQ dev? | Maybe I missed that in the docs, but is there a way to only download the dev set of natural questions (~1 GB)?
As we want to benchmark QA models on different datasets, I would like to avoid downloading the 41GB of training data.
I tried
```
dataset = nlp.load_dataset('natural_questions', split="validation", bea... | CLOSED | 2020-07-18T10:28:23 | 2022-02-11T09:50:21 | 2022-02-11T09:50:21 | https://github.com/huggingface/datasets/issues/413 | tholor | 3 | [] |
412 | Unable to load XTREME dataset from disk | Hi 🤗 team!
## Description of the problem
Following the [docs](https://huggingface.co/nlp/loading_datasets.html?highlight=xtreme#manually-downloading-files) I'm trying to load the `PAN-X.fr` dataset from the [XTREME](https://github.com/google-research/xtreme) benchmark.
I have manually downloaded the `AmazonPho... | CLOSED | 2020-07-18T09:55:00 | 2020-07-21T08:15:44 | 2020-07-21T08:15:44 | https://github.com/huggingface/datasets/issues/412 | lewtun | 3 | [] |
409 | train_test_split error: 'dict' object has no attribute 'deepcopy' | `train_test_split` is giving me an error when I try and call it:
`'dict' object has no attribute 'deepcopy'`
## To reproduce
```
dataset = load_dataset('glue', 'mrpc', split='train')
dataset = dataset.train_test_split(test_size=0.2)
```
## Full Stacktrace
```
-------------------------------------------... | CLOSED | 2020-07-17T10:36:28 | 2020-07-21T14:34:52 | 2020-07-21T14:34:52 | https://github.com/huggingface/datasets/issues/409 | morganmcg1 | 2 | [] |
407 | MissingBeamOptions for Wikipedia 20200501.en | There may or may not be a regression for the pre-processed Wikipedia dataset. This was working fine 10 commits ago (without having Apache Beam available):
```
nlp.load_dataset('wikipedia', "20200501.en", split='train')
```
And now, having pulled master, I get:
```
Downloading and preparing dataset wikipedia... | CLOSED | 2020-07-16T23:48:03 | 2021-01-12T11:41:16 | 2020-07-17T14:24:28 | https://github.com/huggingface/datasets/issues/407 | mitchellgordon95 | 4 | [] |
406 | Faster Shuffling? | Consider shuffling bookcorpus:
```
dataset = nlp.load_dataset('bookcorpus', split='train')
dataset.shuffle()
```
According to tqdm, this will take around 2.5 hours on my machine to complete (even with the faster version of select from #405). I've also tried with `keep_in_memory=True` and `writer_batch_size=1000`... | CLOSED | 2020-07-16T21:21:53 | 2023-08-16T09:52:39 | 2020-09-07T14:45:25 | https://github.com/huggingface/datasets/issues/406 | mitchellgordon95 | 7 | [] |
395 | Memory issue when doing select | As noticed in #389, the following code loads the entire wikipedia in memory.
```python
import nlp
w = nlp.load_dataset("wikipedia", "20200501.en", split="train")
w.select([0])
```
This is caused by [this line](https://github.com/huggingface/nlp/blob/master/src/nlp/arrow_dataset.py#L626) for some reason, that ... | CLOSED | 2020-07-15T15:43:38 | 2020-07-16T08:07:31 | 2020-07-16T08:07:31 | https://github.com/huggingface/datasets/issues/395 | lhoestq | 0 | [] |
388 | 🐛 [Dataset] Cannot download wmt14, wmt15 and wmt17 | 1. I try downloading `wmt14`, `wmt15`, `wmt17`, `wmt19` with the following code:
```
nlp.load_dataset('wmt14','de-en')
nlp.load_dataset('wmt15','de-en')
nlp.load_dataset('wmt17','de-en')
nlp.load_dataset('wmt19','de-en')
```
The code runs but the download speed is **extremely slow**, the same behaviour is not ob... | CLOSED | 2020-07-14T15:36:41 | 2022-10-04T18:01:28 | 2022-10-04T18:01:28 | https://github.com/huggingface/datasets/issues/388 | SamuelCahyawijaya | 5 | [
"dataset bug"
] |
387 | Conversion through to_pandas output numpy arrays for lists instead of python objects | In a related question, the conversion through to_pandas output numpy arrays for the lists instead of python objects.
Here is an example:
```python
>>> dataset._data.slice(key, 1).to_pandas().to_dict("list")
{'sentence1': ['Amrozi accused his brother , whom he called " the witness " , of deliberately distorting hi... | CLOSED | 2020-07-14T06:24:01 | 2020-07-17T11:37:00 | 2020-07-17T11:37:00 | https://github.com/huggingface/datasets/issues/387 | thomwolf | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.