id stringlengths 18 24 | number int64 2 8.48k | title stringlengths 1 290 | body stringlengths 0 228k | state stringclasses 2
values | createdAt timestamp[s]date 2020-04-14 18:18:51 2026-08-13 03:02:44 | updatedAt timestamp[s]date 2020-04-29 09:23:05 2026-08-15 04:47:12 | closedAt timestamp[s]date 2020-04-29 09:23:05 2026-07-28 10:29:56 ⌀ | url stringlengths 48 51 | author dict | labels dict | comments listlengths 0 30 |
|---|---|---|---|---|---|---|---|---|---|---|---|
MDU6SXNzdWU3NDgyMzQ0Mzg= | 877 | DataLoader(datasets) become more and more slowly within iterations | Hello, when I for loop my dataloader, the loading speed is becoming more and more slowly!
```
dataset = load_from_disk(dataset_path) # around 21,000,000 lines
lineloader = tqdm(DataLoader(dataset, batch_size=1))
for idx, line in enumerate(lineloader):
# do some thing for each line
```
In the begining, th... | CLOSED | 2020-11-22T12:41:10 | 2024-11-22T03:02:53 | 2020-11-29T15:45:12 | https://github.com/huggingface/datasets/issues/877 | {
"login": "shexuan"
} | {
"nodes": []
} | [
"Hi ! Thanks for reporting.\r\nDo you have the same slowdown when you iterate through the raw dataset object as well ? (no dataloader)\r\nIt would be nice to know whether it comes from the dataloader or not",
"> Hi ! Thanks for reporting.\r\n> Do you have the same slowdown when you iterate through the raw dataset... |
MDU6SXNzdWU3NDgxOTUxMDQ= | 876 | imdb dataset cannot be loaded | Hi
I am trying to load the imdb train dataset
`dataset = datasets.load_dataset("imdb", split="train")`
getting following errors, thanks for your help
```
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/... | CLOSED | 2020-11-22T08:24:43 | 2024-05-10T03:03:29 | 2020-12-24T17:38:47 | https://github.com/huggingface/datasets/issues/876 | {
"login": "rabeehk"
} | {
"nodes": []
} | [
"It looks like there was an issue while building the imdb dataset.\r\nCould you provide more information about your OS and the version of python and `datasets` ?\r\n\r\nAlso could you try again with \r\n```python\r\ndataset = datasets.load_dataset(\"imdb\", split=\"train\", download_mode=\"force_redownload\")\r\n``... |
MDU6SXNzdWU3NDgxOTQzMTE= | 875 | bug in boolq dataset loading | Hi
I am trying to load boolq dataset:
```
import datasets
datasets.load_dataset("boolq")
```
I am getting the following errors, thanks for your help
```
>>> import datasets
2020-11-22 09:16:30.070332: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcuda... | CLOSED | 2020-11-22T08:18:34 | 2020-11-24T10:12:33 | 2020-11-24T10:12:33 | https://github.com/huggingface/datasets/issues/875 | {
"login": "rabeehk"
} | {
"nodes": []
} | [
"I just opened a PR to fix this.\r\nThanks for reporting !"
] |
MDU6SXNzdWU3NDgxOTMxNDA= | 874 | trec dataset unavailable | Hi
when I try to load the trec dataset I am getting these errors, thanks for your help
`datasets.load_dataset("trec", split="train")
`
```
File "<stdin>", line 1, in <module>
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
... | CLOSED | 2020-11-22T08:09:36 | 2020-11-27T13:56:42 | 2020-11-27T13:56:42 | https://github.com/huggingface/datasets/issues/874 | {
"login": "rabeehk"
} | {
"nodes": []
} | [
"This was fixed in #740 \r\nCould you try to update `datasets` and try again ?",
"This has been fixed in datasets 1.1.3"
] |
MDU6SXNzdWU3NDc5NTk1MjM= | 873 | load_dataset('cnn_dalymail', '3.0.0') gives a 'Not a directory' error | ```
from datasets import load_dataset
dataset = load_dataset('cnn_dailymail', '3.0.0')
```
Stack trace:
```
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-6-2e06a8332652> in <module>()
... | CLOSED | 2020-11-21T06:30:45 | 2023-08-03T12:07:03 | 2020-11-22T12:18:05 | https://github.com/huggingface/datasets/issues/873 | {
"login": "vishal-burman"
} | {
"nodes": []
} | [
"I get the same error. It was fixed some days ago, but again it appears",
"Hi @mrm8488 it's working again today without any fix so I am closing this issue.",
"I see the issue happening again today - \r\n\r\n[nltk_data] Downloading package stopwords to /root/nltk_data...\r\n[nltk_data] Package stopwords is alr... |
MDU6SXNzdWU3NDc0NzAxMzY= | 871 | terminate called after throwing an instance of 'google::protobuf::FatalException' | Hi
I am using the dataset "iwslt2017-en-nl", and after downloading it I am getting this error when trying to evaluate it on T5-base with seq2seq_trainer.py in the huggingface repo could you assist me please? thanks
100%|█████████████████████████████████████████████████████████████████████████████████████████████... | CLOSED | 2020-11-20T12:56:24 | 2020-12-12T21:16:32 | 2020-12-12T21:16:32 | https://github.com/huggingface/datasets/issues/871 | {
"login": "rabeehk"
} | {
"nodes": []
} | [
"Loading the iwslt2017-en-nl config of iwslt2017 works fine on my side. \r\nMaybe you can open an issue on transformers as well ? And also add more details about your environment (OS, python version, version of transformers and datasets etc.)",
"closing now, figured out this is because the max length of decoder w... |
MDU6SXNzdWU3NDcwMjE5OTY= | 870 | [Feature Request] Add optional parameter in text loading script to preserve linebreaks | I'm working on a project about rhyming verse using phonetic poetry and song lyrics, and line breaks are a vital part of the data.
I recently switched over to use the datasets library when my various corpora grew larger than my computer's memory. And so far, it is SO great.
But the first time I processed all of ... | CLOSED | 2020-11-19T23:51:31 | 2022-06-01T15:25:53 | 2022-06-01T15:25:52 | https://github.com/huggingface/datasets/issues/870 | {
"login": "jncasey"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Hi ! Thanks for your message.\r\nIndeed it's a free feature we can add and that can be useful.\r\nIf you want to contribute, feel free to open a PR to add it to the text dataset script :)",
"Resolved via #1913."
] |
MDU6SXNzdWU3NDU3MTkyMjI= | 866 | OSCAR from Inria group | ## Adding a Dataset
- **Name:** *OSCAR* (Open Super-large Crawled ALMAnaCH coRpus), multilingual parsing of Common Crawl (separate crawls for many different languages), [here](https://oscar-corpus.com/).
- **Description:** *OSCAR or Open Super-large Crawled ALMAnaCH coRpus is a huge multilingual corpus obtained by la... | CLOSED | 2020-11-18T14:40:54 | 2020-11-18T15:01:30 | 2020-11-18T15:01:30 | https://github.com/huggingface/datasets/issues/866 | {
"login": "jchwenger"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"PR is already open here : #348 \r\nThe only thing remaining is to compute the metadata of each subdataset (one per language + shuffled/unshuffled).\r\nAs soon as #863 is merged we can start computing them. This will take a bit of time though",
"Grand, thanks for this!"
] |
MDU6SXNzdWU3NDU0MzA0OTc= | 865 | Have Trouble importing `datasets` | I'm failing to import transformers (v4.0.0-dev), and tracing the cause seems to be failing to import datasets.
I cloned the newest version of datasets (master branch), and do `pip install -e .`.
Then, `import datasets` causes the error below.
```
~/workspace/Clone/datasets/src/datasets/utils/file_utils.py in ... | CLOSED | 2020-11-18T08:04:41 | 2020-11-18T08:16:35 | 2020-11-18T08:16:35 | https://github.com/huggingface/datasets/issues/865 | {
"login": "forest1988"
} | {
"nodes": []
} | [
"I'm sorry, this was a problem with my environment.\r\nNow that I have identified the cause of environmental dependency, I would like to fix it and try it.\r\nExcuse me for making a noise."
] |
MDU6SXNzdWU3NDUzMjIzNTc= | 864 | Unable to download cnn_dailymail dataset | ### Script to reproduce the error
```
from datasets import load_dataset
train_dataset = load_dataset("cnn_dailymail", "3.0.0", split= 'train[:10%')
valid_dataset = load_dataset("cnn_dailymail","3.0.0", split="validation[:5%]")
```
### Error
```
-------------------------------------------------------------... | CLOSED | 2020-11-18T04:38:02 | 2020-11-20T05:22:11 | 2020-11-20T05:22:10 | https://github.com/huggingface/datasets/issues/864 | {
"login": "rohitashwa1907"
} | {
"nodes": [
{
"name": "dataset bug"
}
]
} | [
"Same error here!\r\n",
"Same here! My kaggle notebook stopped working like yesterday. It's strange because I have fixed version of datasets==1.1.2",
"I'm looking at it right now",
"I couldn't reproduce unfortunately. I tried\r\n```python\r\nfrom datasets import load_dataset\r\n\r\nload_dataset(\"cnn_dailymai... |
MDU6SXNzdWU3NDQ3NTM0NTg= | 861 | Possible Bug: Small training/dataset file creates gigantic output | Hey guys,
I was trying to create a new bert model from scratch via _huggingface transformers + tokenizers + dataets_ (actually using this example script by your team: https://github.com/huggingface/transformers/blob/master/examples/language-modeling/run_mlm.py). It was supposed to be a first test with a small 5 GB r... | CLOSED | 2020-11-17T13:48:59 | 2021-03-30T14:04:04 | 2021-03-22T12:04:55 | https://github.com/huggingface/datasets/issues/861 | {
"login": "NebelAI"
} | {
"nodes": [
{
"name": "enhancement"
},
{
"name": "question"
}
]
} | [
"The preprocessing tokenizes the input text. Tokenization outputs `input_ids`, `attention_mask`, `token_type_ids` and `special_tokens_mask`. All those are of length`max_seq_length` because of padding. Therefore for each sample it generate 4 *`max_seq_length` integers. Currently they're all saved as int64. This is w... |
MDU6SXNzdWU3NDQ3NTA2OTE= | 860 | wmt16 cs-en does not donwload | Hi
I am trying with wmt16, cs-en pair, thanks for the help, perhaps similar to the ro-en issue. thanks
split="train", n_obs=data_args.n_train) for task in data_args.task}
File "finetune_t5_trainer.py", line 109, in <dictcomp>
split="train", n_obs=data_args.n_train) for task in data_args.task}
File "/hom... | CLOSED | 2020-11-17T13:45:35 | 2022-10-05T12:27:00 | 2022-10-05T12:26:59 | https://github.com/huggingface/datasets/issues/860 | {
"login": "rabeehk"
} | {
"nodes": [
{
"name": "dataset bug"
}
]
} | [
"We know host this file, so downloading should be more robust."
] |
MDU6SXNzdWU3NDM2NzUzNzY= | 854 | wmt16 does not download | Hi, I appreciate your help with the following error, thanks
>>> from datasets import load_dataset
>>> dataset = load_dataset("wmt16", "ro-en", split="train")
Downloading and preparing dataset wmt16/ro-en (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to /root/... | CLOSED | 2020-11-16T09:31:51 | 2022-10-05T12:27:42 | 2022-10-05T12:27:42 | https://github.com/huggingface/datasets/issues/854 | {
"login": "rabeehk"
} | {
"nodes": [
{
"name": "dataset bug"
}
]
} | [
"Hi,I also posted it to the forum, but this is a bug, perhaps it needs to be reported here? thanks ",
"It looks like the official OPUS server for WMT16 doesn't provide the data files anymore (503 error).\r\nI searched a bit and couldn't find a mirror except maybe http://nlp.ffzg.hr/resources/corpora/setimes/ (the... |
MDU6SXNzdWU3NDM0MjY1ODM= | 853 | concatenate_datasets support axis=0 or 1 ? | I want to achieve the following result

| CLOSED | 2020-11-16T02:46:23 | 2021-04-19T16:07:18 | 2021-04-19T16:07:18 | https://github.com/huggingface/datasets/issues/853 | {
"login": "renqingcolin"
} | {
"nodes": [
{
"name": "enhancement"
},
{
"name": "help wanted"
},
{
"name": "question"
}
]
} | [
"Unfortunately `concatenate_datasets` only supports concatenating the rows, while what you want to achieve is concatenate the columns.\r\nCurrently to add more columns to a dataset, one must use `map`.\r\nWhat you can do is somehting like this:\r\n```python\r\n# suppose you have datasets d1, d2, d3\r\ndef add_colum... |
MDU6SXNzdWU3NDMzOTYyNDA= | 852 | wmt cannot be downloaded | Hi, I appreciate your help with the following error, thanks
>>> from datasets import load_dataset
>>> dataset = load_dataset("wmt16", "ro-en", split="train")
Downloading and preparing dataset wmt16/ro-en (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to /root/... | CLOSED | 2020-11-16T01:04:41 | 2020-11-16T09:31:58 | 2020-11-16T09:31:58 | https://github.com/huggingface/datasets/issues/852 | {
"login": "rabeehk"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [] |
MDU6SXNzdWU3NDIyNjMzMzM= | 849 | Load amazon dataset | Hi,
I was going through amazon_us_reviews dataset and found that example API usage given on website is different from the API usage while loading dataset.
Eg. what API usage is on the [website](https://huggingface.co/datasets/amazon_us_reviews)
```
from datasets import load_dataset
dataset = load_dataset("amaz... | CLOSED | 2020-11-13T08:34:24 | 2020-11-17T07:22:59 | 2020-11-17T07:22:59 | https://github.com/huggingface/datasets/issues/849 | {
"login": "bhavitvyamalik"
} | {
"nodes": []
} | [
"Thanks for reporting !\r\nWe plan to show information about the different configs of the datasets on the website, with the corresponding `load_dataset` calls.\r\n\r\nAlso I think the bullet points formatting has been fixed"
] |
MDU6SXNzdWU3NDIyNDA5NDI= | 848 | Error when concatenate_datasets | Hello, when I concatenate two dataset loading from disk, I encountered a problem:
```
test_dataset = load_from_disk('data/test_dataset')
trn_dataset = load_from_disk('data/train_dataset')
train_dataset = concatenate_datasets([trn_dataset, test_dataset])
```
And it reported ValueError blow:
```
--------------... | CLOSED | 2020-11-13T07:56:02 | 2020-11-13T17:40:59 | 2020-11-13T15:55:10 | https://github.com/huggingface/datasets/issues/848 | {
"login": "shexuan"
} | {
"nodes": []
} | [
"As you can see in the error the test checks if `indices_mappings_in_memory` is True or not, which is different from the test you do in your script. In a dataset, both the data and the indices mapping can be either on disk or in memory.\r\n\r\nThe indices mapping correspond to a mapping on top of the data table tha... |
MDU6SXNzdWU3NDIxNzk0OTU= | 847 | multiprocessing in dataset map "can only test a child process" | Using a dataset with a single 'text' field and a fast tokenizer in a jupyter notebook.
```
def tokenizer_fn(example):
return tokenizer.batch_encode_plus(example['text'])
ds_tokenized = text_dataset.map(tokenizer_fn, batched=True, num_proc=6, remove_columns=['text'])
```
```
-------------------------... | CLOSED | 2020-11-13T06:01:04 | 2022-10-05T12:22:51 | 2022-10-05T12:22:51 | https://github.com/huggingface/datasets/issues/847 | {
"login": "timothyjlaurent"
} | {
"nodes": []
} | [
"It looks like an issue with wandb/tqdm here.\r\nWe're using the `multiprocess` library instead of the `multiprocessing` builtin python package to support various types of mapping functions. Maybe there's some sort of incompatibility.\r\n\r\nCould you make a minimal script to reproduce or a google colab ?",
"It l... |
MDU6SXNzdWU3NDE4ODUxNzQ= | 846 | Add HoVer multi-hop fact verification dataset | ## Adding a Dataset
- **Name:** HoVer
- **Description:** https://twitter.com/YichenJiang9/status/1326954363806429186 contains 20K claim verification examples
- **Paper:** https://arxiv.org/abs/2011.03088
- **Data:** https://hover-nlp.github.io/
- **Motivation:** There are still few multi-hop information extraction... | CLOSED | 2020-11-12T19:55:46 | 2020-12-10T21:47:33 | 2020-12-10T21:47:33 | https://github.com/huggingface/datasets/issues/846 | {
"login": "yjernite"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"Hi @yjernite I'm new but wanted to contribute. Has anyone already taken this problem and do you think it is suitable for newbies?",
"Hi @tenjjin! This dataset is still up for grabs! Here's the link with the guide to add it. You should play around with the library first (download and look at a few datasets), the... |
MDU6SXNzdWU3NDE1MzExMjE= | 843 | use_custom_baseline still produces errors for bertscore | `metric = load_metric('bertscore')`
`a1 = "random sentences"`
`b1 = "random sentences"`
`metric.compute(predictions = [a1], references = [b1], lang = 'en')`
`Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/stephen_chan/.local/lib/python3.6/site-packages/datasets/metric.py"... | CLOSED | 2020-11-12T11:44:32 | 2024-05-28T16:30:17 | 2021-02-09T14:21:48 | https://github.com/huggingface/datasets/issues/843 | {
"login": "penatbater"
} | {
"nodes": [
{
"name": "metric bug"
}
]
} | [
"Thanks for reporting ! That's a bug indeed\r\nIf you want to contribute, feel free to fix this issue and open a PR :)",
"This error is because of a mismatch between `datasets` and `bert_score`. With `datasets=1.1.2` and `bert_score>=0.3.6` it works ok. So `pip install -U bert_score` should fix the problem. ",
... |
MDU6SXNzdWU3NDEyMDg0Mjg= | 842 | How to enable `.map()` pre-processing pipelines to support multi-node parallelism? | Hi,
Currently, multiprocessing can be enabled for the `.map()` stages on a single node. However, in the case of multi-node training, (since more than one node would be available) I'm wondering if it's possible to extend the parallel processing among nodes, instead of only 1 node running the `.map()` while the other ... | OPEN | 2020-11-12T02:04:38 | 2025-03-26T09:10:22 | null | https://github.com/huggingface/datasets/issues/842 | {
"login": "shangw-nvidia"
} | {
"nodes": []
} | [
"Right now multiprocessing only runs on single node.\r\n\r\nHowever it's probably possible to extend it to support multi nodes. Indeed we're using the `multiprocess` library from the `pathos` project to do multiprocessing in `datasets`, and `pathos` is made to support parallelism on several nodes. More info about p... |
MDU6SXNzdWU3NDA3Mzc0NDg= | 841 | Can not reuse datasets already downloaded | Hello,
I need to connect to a frontal node (with http proxy, no gpu) before connecting to a gpu node (but no http proxy, so can not use wget so on).
I successfully downloaded and reuse the wikipedia datasets in a frontal node.
When I connect to the gpu node, I supposed to use the downloaded datasets from cache, but... | CLOSED | 2020-11-11T12:42:15 | 2020-11-11T18:17:16 | 2020-11-11T18:17:16 | https://github.com/huggingface/datasets/issues/841 | {
"login": "jc-hou"
} | {
"nodes": []
} | [
"It seems the process needs '/datasets.huggingface.co/datasets/datasets/wikipedia/wikipedia.py'\r\nWhere and how to assign this ```wikipedia.py``` after I manually download it ?",
"\r\ndownload the ```wikipedia.py``` at the working directory and go with ```dataset = load_dataset('wikipedia.py', '20200501.en')``` ... |
MDU6SXNzdWU3NDAzNTUyNzA= | 839 | XSum dataset missing spaces between sentences | I noticed that the XSum dataset has no space between sentences. This could lead to worse results for anyone training or testing on it. Here's an example (0th entry in the test set):
`The London trio are up for best UK act and best album, as well as getting two nominations in the best song category."We got told like ... | CLOSED | 2020-11-11T00:34:43 | 2026-05-22T10:16:12 | 2026-05-22T10:16:12 | https://github.com/huggingface/datasets/issues/839 | {
"login": "loganlebanoff"
} | {
"nodes": []
} | [
"Hi! Triaging older issues — I think this one can be closed as out-of-scope for the current `datasets` repo.\n\n- The script-based `xsum` loader is no longer hosted in this repo (script-based loaders were migrated out, see [`ADD_NEW_DATASET.md`](https://github.com/huggingface/datasets/blob/main/ADD_NEW_DATASET.md) ... |
MDU6SXNzdWU3NDAxODc2MTM= | 836 | load_dataset with 'csv' is not working. while the same file is loading with 'text' mode or with pandas | Hi All
I am trying to load a custom dataset and I am trying to load a single file to make sure the file is loading correctly:
dataset = load_dataset('csv', data_files=files)
When I run it I get:
Downloading and preparing dataset csv/default-35575a1051604c88 (download: Unknown size, generated: Unknown size, post-... | CLOSED | 2020-11-10T19:35:40 | 2021-11-24T16:59:19 | 2020-11-19T17:35:38 | https://github.com/huggingface/datasets/issues/836 | {
"login": "randubin"
} | {
"nodes": [
{
"name": "dataset bug"
}
]
} | [
"Which version of pyarrow do you have ? Could you try to update pyarrow and try again ?",
"Thanks for the fast response. I have the latest version '2.0.0' (I tried to update)\r\nI am working with Python 3.8.5",
"I think that the issue is similar to this one:https://issues.apache.org/jira/browse/ARROW-9612\r\nTh... |
MDU6SXNzdWU3NDAxMDIyMTA= | 835 | Wikipedia postprocessing | Hi, thanks for this library!
Running this code:
```py
import datasets
wikipedia = datasets.load_dataset("wikipedia", "20200501.de")
print(wikipedia['train']['text'][0])
```
I get:
```
mini|Ricardo Flores Magón
mini|Mexikanische Revolutionäre, Magón in der Mitte anführend, gegen die Diktatur von Porfir... | CLOSED | 2020-11-10T17:26:38 | 2020-11-10T18:23:20 | 2020-11-10T17:49:21 | https://github.com/huggingface/datasets/issues/835 | {
"login": "bminixhofer"
} | {
"nodes": []
} | [
"Hi @bminixhofer ! Parsing WikiMedia is notoriously difficult: this processing used [mwparserfromhell](https://github.com/earwig/mwparserfromhell) which is pretty good but not perfect.\r\n\r\nAs an alternative, you can also use the Wiki40b dataset which was pre-processed using an un-released Google internal tool",
... |
MDU6SXNzdWU3NDAwODI4OTA= | 834 | [GEM] add WikiLingua cross-lingual abstractive summarization dataset | ## Adding a Dataset
- **Name:** WikiLingua
- **Description:** The dataset includes ~770k article and summary pairs in 18 languages from WikiHow. The gold-standard article-summary alignments across languages were extracted by aligning the images that are used to describe each how-to step in an article.
- **Paper:** h... | CLOSED | 2020-11-10T17:00:43 | 2021-04-15T12:04:09 | 2021-04-15T12:01:38 | https://github.com/huggingface/datasets/issues/834 | {
"login": "yjernite"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"Hey @yjernite. This is a very interesting dataset. Would love to work on adding it but I see that the link to the data is to a gdrive folder. Can I just confirm wether dlmanager can handle gdrive urls or would this have to be a manual dl?",
"Hi @KMFODA ! A version of WikiLingua is actually already accessible in ... |
MDU6SXNzdWU3NDAwNzk2OTI= | 833 | [GEM] add ASSET text simplification dataset | ## Adding a Dataset
- **Name:** ASSET
- **Description:** ASSET is a crowdsourced
multi-reference corpus for assessing sentence simplification in English where each simplification was produced by executing several rewriting transformations.
- **Paper:** https://www.aclweb.org/anthology/2020.acl-main.424.pdf
- **Dat... | CLOSED | 2020-11-10T16:56:30 | 2020-12-03T13:38:15 | 2020-12-03T13:38:15 | https://github.com/huggingface/datasets/issues/833 | {
"login": "yjernite"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [] |
MDU6SXNzdWU3NDAwNzcyMjg= | 832 | [GEM] add WikiAuto text simplification dataset | ## Adding a Dataset
- **Name:** WikiAuto
- **Description:** Sentences in English Wikipedia and their corresponding sentences in Simple English Wikipedia that are written with simpler grammar and word choices. A lot of lexical and syntactic paraphrasing.
- **Paper:** https://www.aclweb.org/anthology/2020.acl-main.70... | CLOSED | 2020-11-10T16:53:23 | 2020-12-03T13:38:08 | 2020-12-03T13:38:08 | https://github.com/huggingface/datasets/issues/832 | {
"login": "yjernite"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [] |
MDU6SXNzdWU3NDAwNzE2OTc= | 831 | [GEM] Add WebNLG dataset | ## Adding a Dataset
- **Name:** WebNLG
- **Description:** WebNLG consists of Data/Text pairs where the data is a set of triples extracted from DBpedia and the text is a verbalisation of these triples (16,095 data inputs and 42,873 data-text pairs). The data is available in English and Russian
- **Paper:** https://ww... | CLOSED | 2020-11-10T16:46:48 | 2020-12-03T13:38:01 | 2020-12-03T13:38:01 | https://github.com/huggingface/datasets/issues/831 | {
"login": "yjernite"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [] |
MDU6SXNzdWU3NDAwNjUzNzY= | 830 | [GEM] add ToTTo Table-to-text dataset | ## Adding a Dataset
- **Name:** ToTTo
- **Description:** ToTTo is an open-domain English table-to-text dataset with over 120,000 training examples that proposes a controlled generation task: given a Wikipedia table and a set of highlighted table cells, produce a one-sentence description.
- **Paper:** https://arxiv.o... | CLOSED | 2020-11-10T16:38:34 | 2020-12-10T13:06:02 | 2020-12-10T13:06:01 | https://github.com/huggingface/datasets/issues/830 | {
"login": "yjernite"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"closed via #1098 "
] |
MDU6SXNzdWU3NDAwNjE2OTk= | 829 | [GEM] add Schema-Guided Dialogue | ## Adding a Dataset
- **Name:** The Schema-Guided Dialogue Dataset
- **Description:** The Schema-Guided Dialogue (SGD) dataset consists of over 20k annotated multi-domain, task-oriented conversations between a human and a virtual assistant. These conversations involve interactions with services and APIs spanning 20 d... | CLOSED | 2020-11-10T16:33:44 | 2020-12-03T13:37:50 | 2020-12-03T13:37:50 | https://github.com/huggingface/datasets/issues/829 | {
"login": "yjernite"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [] |
MDU6SXNzdWU3Mzk5ODMwMjQ= | 827 | [GEM] MultiWOZ dialogue dataset | ## Adding a Dataset
- **Name:** MultiWOZ (Multi-Domain Wizard-of-Oz)
- **Description:** 10k annotated human-human dialogues. Each dialogue consists of a goal, multiple user and system utterances as well as a belief state. Only system utterances are annotated with dialogue acts – there are no annotations from the user... | CLOSED | 2020-11-10T14:57:50 | 2022-10-05T12:31:13 | 2022-10-05T12:31:13 | https://github.com/huggingface/datasets/issues/827 | {
"login": "yjernite"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"Hi @yjernite can I help in adding this dataset? \r\n\r\nI am excited about this because this will be my first contribution to the datasets library as well as to hugginface.",
"Resolved via https://github.com/huggingface/datasets/pull/979"
] |
MDU6SXNzdWU3Mzk5NzY3MTY= | 826 | [GEM] Add E2E dataset | ## Adding a Dataset
- **Name:** E2E NLG dataset (for End-to-end natural language generation)
- **Description:**a dataset for training end-to-end, datadriven natural language generation systems in the restaurant domain, the datasets consists of 5,751 dialogue-act Meaning Representations (structured data) and 8.1 refer... | CLOSED | 2020-11-10T14:50:40 | 2020-12-03T13:37:57 | 2020-12-03T13:37:57 | https://github.com/huggingface/datasets/issues/826 | {
"login": "yjernite"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [] |
MDU6SXNzdWU3Mzk4OTY1MjY= | 824 | Discussion using datasets in offline mode | `datasets.load_dataset("csv", ...)` breaks if you have no connection (There is already this issue https://github.com/huggingface/datasets/issues/761 about it). It seems to be the same for metrics too.
I create this ticket to discuss a bit and gather what you have in mind or other propositions.
Here are some point... | CLOSED | 2020-11-10T13:10:51 | 2023-10-26T09:26:26 | 2022-02-15T10:32:36 | https://github.com/huggingface/datasets/issues/824 | {
"login": "mandubian"
} | {
"nodes": [
{
"name": "enhancement"
},
{
"name": "generic discussion"
}
]
} | [
"No comments ?",
"I think it would be very cool. I'm currently working on a cluster from Compute Canada, and I have internet access only when I'm not in the nodes where I run the scripts. So I was expecting to be able to use the wmt14 dataset until I realized I needed internet connection even if I downloaded the ... |
MDU6SXNzdWU3Mzk4MTU3NjM= | 823 | how processing in batch works in datasets | Hi,
I need to process my datasets before it is passed to dataloader in batch,
here is my codes
```
class AbstractTask(ABC):
task_name: str = NotImplemented
preprocessor: Callable = NotImplemented
split_to_data_split: Mapping[str, str] = NotImplemented
tokenizer: Callable = NotImplemented
... | CLOSED | 2020-11-10T11:11:17 | 2020-11-10T13:11:10 | 2020-11-10T13:11:09 | https://github.com/huggingface/datasets/issues/823 | {
"login": "rabeehkarimimahabadi"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"Hi I don’t think this is a request for a dataset like you labeled it.\r\n\r\nI also think this would be better suited for the forum at https://discuss.huggingface.co. we try to keep the issue for the repo for bug reports and new features/dataset requests and have usage questions discussed on the forum. Thanks.",
... |
MDU6SXNzdWU3Mzk1NzkzMTQ= | 822 | datasets freezes | Hi, I want to load these two datasets and convert them to Dataset format in torch and the code freezes for me, could you have a look please? thanks
dataset1 = load_dataset("squad", split="train[:10]")
dataset1 = dataset1.set_format(type='torch', columns=['context', 'answers', 'question'])
dataset2 = load_datase... | CLOSED | 2020-11-10T05:10:19 | 2023-07-20T16:08:14 | 2023-07-20T16:08:13 | https://github.com/huggingface/datasets/issues/822 | {
"login": "rabeehkarimimahabadi"
} | {
"nodes": [
{
"name": "dataset bug"
}
]
} | [
"Pytorch is unable to convert strings to tensors unfortunately.\r\nYou can use `set_format(type=\"torch\")` on columns that can be converted to tensors, such as token ids.\r\n\r\nThis makes me think that we should probably raise an error or at least a warning when one tries to create pytorch tensors out of text col... |
MDU6SXNzdWU3Mzk1MDY4NTk= | 821 | `kor_nli` dataset doesn't being loaded properly | There are two issues from `kor_nli` dataset
1. csv.DictReader failed to split features by tab
- Should not exist `None` value in label feature, but there it is.
```python
kor_nli_train['train'].unique('gold_label')
# ['neutral', 'entailment', 'contradiction', None]
```
-... | CLOSED | 2020-11-10T02:04:12 | 2020-11-16T13:59:12 | 2020-11-16T13:59:12 | https://github.com/huggingface/datasets/issues/821 | {
"login": "sackoh"
} | {
"nodes": []
} | [] |
MDU6SXNzdWU3MzkxNDUzNjk= | 817 | Add MRQA dataset | ## Adding a Dataset
- **Name:** MRQA
- **Description:** Collection of different (subsets of) QA datasets all converted to the same format to evaluate out-of-domain generalization (the datasets come from different domains, distributions, etc.). Some datasets are used for training and others are used for evaluation. Th... | CLOSED | 2020-11-09T15:52:19 | 2020-12-04T15:44:42 | 2020-12-04T15:44:41 | https://github.com/huggingface/datasets/issues/817 | {
"login": "VictorSanh"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"Done! cf #1117 and #1022"
] |
MDU6SXNzdWU3MzkxMDI2ODY= | 816 | [Caching] Dill globalvars() output order is not deterministic and can cause cache issues. | Dill uses `dill.detect.globalvars` to get the globals used by a function in a recursive dump. `globalvars` returns a dictionary of all the globals that a dumped function needs. However the order of the keys in this dict is not deterministic and can cause caching issues.
To fix that one could register an implementati... | CLOSED | 2020-11-09T15:01:20 | 2020-11-11T15:20:50 | 2020-11-11T15:20:50 | https://github.com/huggingface/datasets/issues/816 | {
"login": "lhoestq"
} | {
"nodes": []
} | [
"To show the issue:\r\n```\r\npython -c \"from datasets.fingerprint import Hasher; a=[]; func = lambda : len(a); print(Hasher.hash(func))\"\r\n```\r\ndoesn't always return the same ouput since `globs` is a dictionary with \"a\" and \"len\" as keys but sometimes not in the same order"
] |
MDU6SXNzdWU3Mzg4NDIwOTI= | 815 | Is dataset iterative or not? | Hi
I want to use your library for large-scale training, I am not sure if this is implemented as iterative datasets or not?
could you provide me with example how I can use datasets as iterative datasets?
thanks | CLOSED | 2020-11-09T09:11:48 | 2020-11-10T10:50:03 | 2020-11-10T10:50:03 | https://github.com/huggingface/datasets/issues/815 | {
"login": "rabeehkarimimahabadi"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"Hello !\r\nCould you give more details ?\r\n\r\nIf you mean iter through one dataset then yes, `Dataset` object does implement the `__iter__` method so you can use \r\n```python\r\nfor example in dataset:\r\n # do something\r\n```\r\n\r\nIf you want to iter through several datasets you can first concatenate the... |
MDU6SXNzdWU3Mzg1MDA0NDM= | 814 | Joining multiple datasets | Hi
I have multiple iterative datasets from your library with different size and I want to join them in a way that each datasets is sampled equally, so smaller datasets more, larger one less, could you tell me how to implement this in pytorch? thanks | CLOSED | 2020-11-08T16:19:30 | 2020-11-08T19:38:48 | 2020-11-08T19:38:48 | https://github.com/huggingface/datasets/issues/814 | {
"login": "rabeehkarimimahabadi"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"found a solution here https://discuss.pytorch.org/t/train-simultaneously-on-two-datasets/649/35, closed for now, thanks "
] |
MDU6SXNzdWU3Mzg0ODk4NTI= | 813 | How to implement DistributedSampler with datasets | Hi,
I am using your datasets to define my dataloaders, and I am training finetune_trainer.py in huggingface repo on them.
I need a distributedSampler to be able to train the models on TPUs being able to distribute the load across the TPU cores. Could you tell me how I can implement the distribued sampler when using d... | CLOSED | 2020-11-08T15:27:11 | 2022-10-05T12:54:23 | 2022-10-05T12:54:23 | https://github.com/huggingface/datasets/issues/813 | {
"login": "rabeehkarimimahabadi"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"Hi Apparently I need to shard the data and give one host a chunk, could you provide me please with examples on how to do it? I want to use it jointly with finetune_trainer.py in huggingface repo seq2seq examples. thanks. ",
"Hey @rabeehkarimimahabadi I'm actually looking for the same feature. Did you manage to g... |
MDU6SXNzdWU3MzgzNDAyMTc= | 812 | Too much logging | I'm doing this in the beginning of my script:
from datasets.utils import logging as datasets_logging
datasets_logging.set_verbosity_warning()
but I'm still getting these logs:
[2020-11-07 15:45:41,908][filelock][INFO] - Lock 139958278886176 acquired on /home/username/.cache/huggingface/datasets/cfe20ffaa80ef1... | CLOSED | 2020-11-07T23:56:30 | 2021-01-26T14:31:34 | 2020-11-16T17:06:42 | https://github.com/huggingface/datasets/issues/812 | {
"login": "dspoka"
} | {
"nodes": []
} | [
"Hi ! Thanks for reporting :) \r\nI agree these one should be hidden when the logging level is warning, we'll fix that",
"+1, the amount of logging is excessive.\r\n\r\nMost of it indeed comes from `filelock.py`, though there are occasionally messages from other sources too. Below is an example (all of these mess... |
MDU6SXNzdWU3MzgyODAxMzI= | 811 | nlp viewer error | Hello,
when I select amazon_us_reviews in nlp viewer, it shows error.
https://huggingface.co/nlp/viewer/?dataset=amazon_us_reviews

| CLOSED | 2020-11-07T17:08:58 | 2022-02-15T10:51:44 | 2022-02-14T15:24:20 | https://github.com/huggingface/datasets/issues/811 | {
"login": "jc-hou"
} | {
"nodes": [
{
"name": "nlp-viewer"
}
]
} | [
"and also for 'blog_authorship_corpus'\r\nhttps://huggingface.co/nlp/viewer/?dataset=blog_authorship_corpus\r\n\r\n",
"Is this the problem of my local computer or ??",
"Related to:\r\n- #673"
] |
MDU6SXNzdWU3Mzc4MzI3MDE= | 809 | Add Google Taskmaster dataset | ## Adding a Dataset
- **Name:** Taskmaster
- **Description:** A large dataset of task-oriented dialogue with annotated goals (55K dialogues covering entertainment and travel reservations)
- **Paper:** https://arxiv.org/abs/1909.05358
- **Data:** https://github.com/google-research-datasets/Taskmaster
- **Motivation... | CLOSED | 2020-11-06T15:10:41 | 2021-04-20T13:09:26 | 2021-04-20T13:09:26 | https://github.com/huggingface/datasets/issues/809 | {
"login": "yjernite"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"Hey @yjernite. Was going to start working on this but found taskmaster 1,2 & 3 in the datasets library already so think this can be closed now?",
"You are absolutely right :) \r\n\r\nClosed by https://github.com/huggingface/datasets/pull/1193 https://github.com/huggingface/datasets/pull/1197 https://github.com/h... |
MDU6SXNzdWU3Mzc1MDk5NTQ= | 807 | load_dataset for LOCAL CSV files report CONNECTION ERROR | ## load_dataset for LOCAL CSV files report CONNECTION ERROR
- **Description:**
A local demo csv file:
```
import pandas as pd
import numpy as np
from datasets import load_dataset
import torch
import transformers
df = pd.DataFrame(np.arange(1200).reshape(300,4))
df.to_csv('test.csv', header=False, index=Fal... | CLOSED | 2020-11-06T06:33:04 | 2021-01-11T01:30:27 | 2020-11-14T05:30:34 | https://github.com/huggingface/datasets/issues/807 | {
"login": "shexuan"
} | {
"nodes": []
} | [
"Hi !\r\nThe url works on my side.\r\n\r\nIs the url working in your navigator ?\r\nAre you connected to internet ? Does your network block access to `raw.githubusercontent.com` ?",
"> Hi !\r\n> The url works on my side.\r\n> \r\n> Is the url working in your navigator ?\r\n> Are you connected to internet ? Does y... |
MDU6SXNzdWU3MzcyMTU0MzA= | 806 | Quail dataset urls are out of date | <h3>Code</h3>
```
from datasets import load_dataset
quail = load_dataset('quail')
```
<h3>Error</h3>
```
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/text-machine-lab/quail/master/quail_v1.2/xml/ordered/quail_1.2_train.xml
```
As per [quail v1.3 commit](https://github.co... | CLOSED | 2020-11-05T19:40:19 | 2020-11-10T14:02:51 | 2020-11-10T14:02:51 | https://github.com/huggingface/datasets/issues/806 | {
"login": "ngdodd"
} | {
"nodes": []
} | [
"Hi ! Thanks for reporting.\r\nWe should fix the urls and use quail 1.3.\r\nIf you want to contribute feel free to fix the urls and open a PR :) ",
"Done! PR [https://github.com/huggingface/datasets/pull/820](https://github.com/huggingface/datasets/pull/820)\r\n\r\nUpdated links and also regenerated the metadata ... |
MDU6SXNzdWU3MzcwMTkzNjA= | 805 | On loading a metric from datasets, I get the following error | `from datasets import load_metric`
`metric = load_metric('bleurt')`
Traceback:
210 class _ArrayXDExtensionType(pa.PyExtensionType):
211
212 ndims: int = None
AttributeError: module 'pyarrow' has no attribute 'PyExtensionType'
Any help will be appreciated. Thank you. | CLOSED | 2020-11-05T15:14:38 | 2022-02-14T15:32:59 | 2022-02-14T15:32:59 | https://github.com/huggingface/datasets/issues/805 | {
"login": "laibamehnaz"
} | {
"nodes": []
} | [
"Hi ! We support only pyarrow > 0.17.1 so that we have access to the `PyExtensionType` object.\r\nCould you update pyarrow and try again ?\r\n```\r\npip install --upgrade pyarrow\r\n```"
] |
MDU6SXNzdWU3MzY4NTg1MDc= | 804 | Empty output/answer in TriviaQA test set (both in 'kilt_tasks' and 'trivia_qa') | # The issue
It's all in the title, it appears to be fine on the train and validation sets.
Is there some kind of mapping to do like for the questions (see https://github.com/huggingface/datasets/blob/master/datasets/kilt_tasks/README.md) ?
# How to reproduce
```py
from datasets import load_dataset
kilt_tas... | CLOSED | 2020-11-05T11:38:01 | 2020-11-09T14:14:59 | 2020-11-09T14:14:58 | https://github.com/huggingface/datasets/issues/804 | {
"login": "PaulLerner"
} | {
"nodes": []
} | [
"cc @yjernite is this expected ?",
"Yes: TriviaQA has a private test set for the leaderboard [here](https://competitions.codalab.org/competitions/17208)\r\n\r\nFor the KILT training and validation portions, you need to link the examples from the TriviaQA dataset as detailed here:\r\nhttps://github.com/huggingface... |
MDU6SXNzdWU3MzU3OTA4NzY= | 801 | How to join two datasets? | Hi,
I'm wondering if it's possible to join two (preprocessed) datasets with the same number of rows but different labels?
I'm currently trying to create paired sentences for BERT from `wikipedia/'20200501.en`, and I couldn't figure out a way to create a paired sentence using `.map()` where the second sentence is... | CLOSED | 2020-11-04T03:53:11 | 2020-12-23T14:02:58 | 2020-12-23T14:02:58 | https://github.com/huggingface/datasets/issues/801 | {
"login": "shangw-nvidia"
} | {
"nodes": []
} | [
"Hi this is also my question. thanks ",
"Hi ! Currently the only way to add new fields to a dataset is by using `.map` and picking items from the other dataset\r\n",
"Closing this one. Feel free to re-open if you have other questions about this issue.\r\n\r\nAlso linking another discussion about joining dataset... |
MDU6SXNzdWU3MzU1MTg4MDU= | 798 | Cannot load TREC dataset: ConnectionError | ## Problem
I cannot load "trec" dataset, it results with ConnectionError as shown below. I've tried on both Google Colab and locally.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label')` returns <Response [302]>.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label', allow_redirects=True... | CLOSED | 2020-11-03T17:45:22 | 2022-02-14T15:34:22 | 2022-02-14T15:34:22 | https://github.com/huggingface/datasets/issues/798 | {
"login": "kaletap"
} | {
"nodes": [
{
"name": "dataset bug"
}
]
} | [
"Hi ! Indeed there's an issue with those links.\r\nWe should probably use the target urls of the redirections instead",
"Hi, the same issue here, could you tell me how to download it through datasets? thanks ",
"Same issue. ",
"Actually it's already fixed on the master branch since #740 \r\nI'll do the 1.1.3 ... |
MDU6SXNzdWU3MzU0MjAzMzI= | 797 | Token classification labels are strings and we don't have the list of labels | Not sure if this is an issue we want to fix or not, putting it here so it's not forgotten. Right now, in token classification datasets, the labels for NER, POS and the likes are typed as `Sequence` of `strings`, which is wrong in my opinion. These should be `Sequence` of `ClassLabel` or some types that gives easy acces... | CLOSED | 2020-11-03T15:33:30 | 2022-02-14T15:41:54 | 2022-02-14T15:41:53 | https://github.com/huggingface/datasets/issues/797 | {
"login": "sgugger"
} | {
"nodes": [
{
"name": "enhancement"
},
{
"name": "Dataset discussion"
}
]
} | [
"Indeed. Pinging @stefan-it here if he want to give an expert opinion :)",
"Related is https://github.com/huggingface/datasets/pull/636",
"Should definitely be a ClassLabel 👍 ",
"Already done."
] |
MDU6SXNzdWU3MzUxOTgyNjU= | 795 | Descriptions of raw and processed versions of wikitext are inverted | Nothing of importance, but it looks like the descriptions of wikitext-n-v1 and wikitext-n-raw-v1 are inverted for both n=2 and n=103. I just verified by loading them and the `<unk>` tokens are present in the non-raw versions, which confirms that it's a mere inversion of the descriptions and not of the datasets themselv... | CLOSED | 2020-11-03T10:24:51 | 2022-02-14T15:46:21 | 2022-02-14T15:46:21 | https://github.com/huggingface/datasets/issues/795 | {
"login": "fraboniface"
} | {
"nodes": [
{
"name": "dataset bug"
}
]
} | [
"Yes indeed ! Thanks for reporting",
"Fixed by:\r\n- #3241"
] |
MDU6SXNzdWU3MzUxNTg3MjU= | 794 | self.options cannot be converted to a Python object for pickling | Hi,
Currently I am trying to load csv file with customized read_options. And the latest master seems broken if we pass the ReadOptions object.
Here is a code snippet
```python
from datasets import load_dataset
from pyarrow.csv import ReadOptions
load_dataset("csv", data_files=["out.csv"], read_options=ReadOpt... | CLOSED | 2020-11-03T09:27:34 | 2020-11-19T17:35:38 | 2020-11-19T17:35:38 | https://github.com/huggingface/datasets/issues/794 | {
"login": "hzqjyyx"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi ! Thanks for reporting that's a bug on master indeed.\r\nWe'll fix that soon"
] |
MDU6SXNzdWU3MzQ2OTM2NTI= | 792 | KILT dataset: empty string in triviaqa input field | # What happened
Both train and test splits of the triviaqa dataset (part of the KILT benchmark) seem to have empty string in their input field (unlike the natural questions dataset, part of the same benchmark)
# Versions
KILT version is `1.0.0`
`datasets` version is `1.1.2`
[more here](https://gist.github.com/Pa... | CLOSED | 2020-11-02T17:33:54 | 2020-11-05T10:34:59 | 2020-11-05T10:34:59 | https://github.com/huggingface/datasets/issues/792 | {
"login": "PaulLerner"
} | {
"nodes": []
} | [
"Just found out about https://github.com/huggingface/datasets/blob/master/datasets/kilt_tasks/README.md\r\n(Not very clear in https://huggingface.co/datasets/kilt_tasks links to http://github.com/huggingface/datasets/datasets/kilt_tasks/README.md which is dead, closing the issue though :))"
] |
MDU6SXNzdWU3MzQ0NzAxOTc= | 790 | Error running pip install -e ".[dev]" on MacOS 10.13.6: faiss/python does not exist | I was following along with https://huggingface.co/docs/datasets/share_dataset.html#adding-tests-and-metadata-to-the-dataset when I ran into this error.
```sh
git clone https://github.com/huggingface/datasets
cd datasets
virtualenv venv -p python3 --system-site-packages
source venv/bin/activate
pip install -e ".... | CLOSED | 2020-11-02T12:36:35 | 2020-11-10T14:05:02 | 2020-11-10T14:05:02 | https://github.com/huggingface/datasets/issues/790 | {
"login": "shawwn"
} | {
"nodes": []
} | [
"I saw that `faiss-cpu` 1.6.4.post2 was released recently to fix the installation on macos. It should work now",
"Closing this one.\r\nFeel free to re-open if you still have issues"
] |
MDU6SXNzdWU3MzQxMzYxMjQ= | 788 | failed to reuse cache | I packed the `load_dataset ` in a function of class, and cached data in a directory. But when I import the class and use the function, the data still have to be downloaded again. The information (Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown si... | CLOSED | 2020-11-02T02:42:36 | 2020-11-02T12:26:15 | 2020-11-02T12:26:15 | https://github.com/huggingface/datasets/issues/788 | {
"login": "WangHexie"
} | {
"nodes": []
} | [] |
MDU6SXNzdWU3MzM3NjE3MTc= | 786 | feat(dataset): multiprocessing _generate_examples | forking this out of #741, this issue is only regarding multiprocessing
I'd love if there was a dataset configuration parameter `workers`, where when it is `1` it behaves as it does right now, and when its `>1` maybe `_generate_examples` can also get the `pool` and return an iterable using the pool.
In my use case... | CLOSED | 2020-10-31T16:52:16 | 2023-01-16T10:59:13 | 2023-01-16T10:59:13 | https://github.com/huggingface/datasets/issues/786 | {
"login": "AmitMY"
} | {
"nodes": []
} | [
"I agree that would be cool :)\r\nRight now the only distributed dataset builder is based on Apache Beam so you can use distributed processing frameworks like Dataflow, Spark, Flink etc. to build your dataset but it's not really well suited for single-worker parallel processing afaik",
"`_generate_examples` can n... |
MDU6SXNzdWU3MzM3MDA0NjM= | 784 | Issue with downloading Wikipedia data for low resource language | Hi, I tried to download Sundanese and Javanese wikipedia data with the following snippet
```
jv_wiki = datasets.load_dataset('wikipedia', '20200501.jv', beam_runner='DirectRunner')
su_wiki = datasets.load_dataset('wikipedia', '20200501.su', beam_runner='DirectRunner')
```
And I get the following error for these tw... | CLOSED | 2020-10-31T11:40:00 | 2022-02-09T17:50:16 | 2020-11-25T15:42:13 | https://github.com/huggingface/datasets/issues/784 | {
"login": "SamuelCahyawijaya"
} | {
"nodes": []
} | [
"Hello, maybe you could ty to use another date for the wikipedia dump (see the available [dates](https://dumps.wikimedia.org/jvwiki) here for `jv`) ?",
"@lhoestq\r\n\r\nI've tried `load_dataset('wikipedia', '20200501.zh', beam_runner='DirectRunner')` and got the same `FileNotFoundError` as @SamuelCahyawijaya.\r\n... |
MDU6SXNzdWU3MzI0NDk2NTI= | 778 | Unexpected behavior when loading cached csv file? | I read a csv file from disk and forgot so specify the right delimiter. When i read the csv file again specifying the right delimiter it had no effect since it was using the cached dataset. I am not sure if this is unwanted behavior since i can always specify `download_mode="force_redownload"`. But i think it would be n... | CLOSED | 2020-10-29T16:06:10 | 2020-10-29T21:21:27 | 2020-10-29T21:21:27 | https://github.com/huggingface/datasets/issues/778 | {
"login": "dcfidalgo"
} | {
"nodes": []
} | [
"Hi ! Thanks for reporting.\r\nThe same issue was reported in #730 (but with the encodings instead of the delimiter). It was fixed by #770 .\r\nThe fix will be available in the next release :)",
"Thanks for the prompt reply and terribly sorry for the spam! \r\nLooking forward to the new release! "
] |
MDU6SXNzdWU3MzE2ODQxNTM= | 773 | Adding CC-100: Monolingual Datasets from Web Crawl Data | ## Adding a Dataset
- **Name:** CC-100: Monolingual Datasets from Web Crawl Data
- **Description:** https://twitter.com/alex_conneau/status/1321507120848625665
- **Paper:** https://arxiv.org/abs/1911.02116
- **Data:** http://data.statmt.org/cc-100/
- **Motivation:** A large scale multi-lingual language modeling da... | CLOSED | 2020-10-28T18:20:41 | 2022-01-26T13:22:54 | 2020-12-14T10:20:07 | https://github.com/huggingface/datasets/issues/773 | {
"login": "yjernite"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"cc @aconneau ;) ",
"These dataset files are no longer available. https://data.statmt.org/cc-100/ files provided in this link are no longer available. Can anybody fix that issue?\r\n@abhishekkrthakur @yjernite ",
"Hi ! Can you open an issue to report this problem ? This will help keep track of the fix :)",
"... |
MDU6SXNzdWU3MzE0ODIyMTM= | 771 | Using `Dataset.map` with `n_proc>1` print multiple progress bars | When using `Dataset.map` with `n_proc > 1`, only one of the processes should print a progress bar (to make the output readable). Right now, `n_proc` progress bars are printed. | CLOSED | 2020-10-28T14:13:27 | 2023-02-13T20:16:39 | 2023-02-13T20:16:39 | https://github.com/huggingface/datasets/issues/771 | {
"login": "sgugger"
} | {
"nodes": []
} | [
"Yes it allows to monitor the speed of each process. Currently each process takes care of one shard of the dataset.\r\n\r\nAt one point we can consider using streaming batches to a pool of processes instead of sharding the dataset in `num_proc` parts. At that point it will be easy to use only one progress bar",
"... |
MDU6SXNzdWU3MzEyNTcxMDQ= | 769 | How to choose proper download_mode in function load_dataset? | Hi, I am a beginner to datasets and I try to use datasets to load my csv file.
my csv file looks like this
```
text,label
"Effective but too-tepid biopic",3
"If you sometimes like to go to the movies to have fun , Wasabi is a good place to start .",4
"Emerges as something rare , an issue movie that 's so hones... | CLOSED | 2020-10-28T09:16:19 | 2022-02-22T12:22:52 | 2022-02-22T12:22:52 | https://github.com/huggingface/datasets/issues/769 | {
"login": "jzq2000"
} | {
"nodes": []
} | [
"`download_mode=datasets.GenerateMode.FORCE_REDOWNLOAD` should work.\r\nThis makes me think we we should rename this to DownloadMode.FORCE_REDOWNLOAD. Currently that's confusing",
"Can we just use `features=...` in `load_dataset` for this @lhoestq?",
"Indeed you should use `features` in this case. \r\n```python... |
MDU6SXNzdWU3MzA5MDgwNjA= | 768 | Add a `lazy_map` method to `Dataset` and `DatasetDict` | The library is great, but it would be even more awesome with a `lazy_map` method implemented on `Dataset` and `DatasetDict`. This would apply a function on a give item but when the item is requested. Two use cases:
1. load image on the fly
2. apply a random function and get different outputs at each epoch (like dat... | OPEN | 2020-10-27T22:33:03 | 2020-10-28T08:58:13 | null | https://github.com/huggingface/datasets/issues/768 | {
"login": "sgugger"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"This is cool! I think some aspects to think about and decide in terms of API are:\r\n- do we allow several methods (chained i guess)\r\n- how do we inspect the currently set method(s)\r\n- how do we control/reset them"
] |
MDU6SXNzdWU3MzA3NzE2MTA= | 767 | Add option for named splits when using ds.train_test_split | ### Feature Request 🚀
Can we add a way to name your splits when using the `.train_test_split` function?
In almost every use case I've come across, I have a `train` and a `test` split in my `DatasetDict`, and I want to create a `validation` split. Therefore, its kinda useless to get a `test` split back from `tra... | OPEN | 2020-10-27T19:59:44 | 2020-11-10T14:05:21 | null | https://github.com/huggingface/datasets/issues/767 | {
"login": "nateraw"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Yes definitely we should give more flexibility to control the name of the splits outputted by `train_test_split`.\r\n\r\nRelated is the very interesting feedback from @bramvanroy on how we should improve this method: https://discuss.huggingface.co/t/how-to-split-main-dataset-into-train-dev-test-as-datasetdict/1090... |
MDU6SXNzdWU3MzA2Njk1OTY= | 766 | [GEM] add DART data-to-text generation dataset | ## Adding a Dataset
- **Name:** DART
- **Description:** DART consists of 82,191 examples across different domains with each input being a semantic RDF triple set derived from data records in tables and the tree ontology of the schema, annotated with sentence descriptions that cover all facts in the triple set.
- **P... | CLOSED | 2020-10-27T17:34:04 | 2020-12-03T13:37:18 | 2020-12-03T13:37:18 | https://github.com/huggingface/datasets/issues/766 | {
"login": "yjernite"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"Is this a duplicate of #924 ?",
"Yup, closing! Haven't been keeping track of the solved issues during the sprint."
] |
MDU6SXNzdWU3MzA2NjgzMzI= | 765 | [GEM] Add DART data-to-text generation dataset | ## Adding a Dataset
- **Name:** DART
- **Description:** DART consists of 82,191 examples across different domains with each input being a semantic RDF triple set derived from data records in tables and the tree ontology of the schema, annotated with sentence descriptions that cover all facts in the triple set.
- **P... | CLOSED | 2020-10-27T17:32:23 | 2020-10-27T17:34:21 | 2020-10-27T17:34:21 | https://github.com/huggingface/datasets/issues/765 | {
"login": "yjernite"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [] |
MDU6SXNzdWU3MzA1ODY5NzI= | 762 | [GEM] Add Czech Restaurant data-to-text generation dataset | - Paper: https://www.aclweb.org/anthology/W19-8670.pdf
- Data: https://github.com/UFAL-DSG/cs_restaurant_dataset
- The dataset will likely be part of the GEM benchmark | CLOSED | 2020-10-27T16:00:47 | 2020-12-03T13:37:44 | 2020-12-03T13:37:44 | https://github.com/huggingface/datasets/issues/762 | {
"login": "yjernite"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [] |
MDU6SXNzdWU3Mjk4OTg4Njc= | 761 | Downloaded datasets are not usable offline | I've been trying to use the IMDB dataset offline, but after downloading it and turning off the internet it still raises an error from the ```requests``` library trying to reach for the online dataset.
Is this the intended behavior ?
(Sorry, I wrote the the first version of this issue while still on nlp 0.3.0). | CLOSED | 2020-10-26T20:54:46 | 2022-02-15T10:32:28 | 2022-02-15T10:32:28 | https://github.com/huggingface/datasets/issues/761 | {
"login": "ghazi-f"
} | {
"nodes": []
} | [
"Yes currently you need an internet connection because the lib tries to check for the etag of the dataset script online to see if you don't have it locally already.\r\n\r\nIf we add a way to store the etag/hash locally after the first download, it would allow users to first download the dataset with an internet con... |
MDU6SXNzdWU3Mjk2Mzc5MTc= | 760 | Add meta-data to the HANS dataset | The current version of the [HANS dataset](https://github.com/huggingface/datasets/blob/master/datasets/hans/hans.py) is missing the additional information provided for each example, including the sentence parses, heuristic and subcase. | CLOSED | 2020-10-26T14:56:53 | 2020-12-03T13:38:34 | 2020-12-03T13:38:34 | https://github.com/huggingface/datasets/issues/760 | {
"login": "yjernite"
} | {
"nodes": [
{
"name": "good first issue"
},
{
"name": "dataset bug"
}
]
} | [] |
MDU6SXNzdWU3MjkwNDY5MTY= | 759 | (Load dataset failure) ConnectionError: Couldn’t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py | Hey, I want to load the cnn-dailymail dataset for fine-tune.
I write the code like this
from datasets import load_dataset
test_dataset = load_dataset(“cnn_dailymail”, “3.0.0”, split=“train”)
And I got the following errors.
Traceback (most recent call last):
File “test.py”, line 7, in
test_dataset = load_da... | CLOSED | 2020-10-25T15:34:57 | 2023-09-13T23:56:51 | 2021-08-04T18:10:09 | https://github.com/huggingface/datasets/issues/759 | {
"login": "AI678"
} | {
"nodes": []
} | [
"Are you running the script on a machine with an internet connection ?",
"Yes , I can browse the url through Google Chrome.",
"Does this HEAD request return 200 on your machine ?\r\n```python\r\nimport requests ... |
MDU6SXNzdWU3Mjg2Mzg1NTk= | 758 | Process 0 very slow when using num_procs with map to tokenizer | <img width="721" alt="image" src="https://user-images.githubusercontent.com/17930170/97066109-776d0d00-15ed-11eb-8bba-bb4d2e0fcc33.png">
The code I am using is
```
dataset = load_dataset("text", data_files=[file_path], split='train')
dataset = dataset.map(lambda ex: tokenizer(ex["text"], add_speci... | CLOSED | 2020-10-24T02:40:20 | 2020-10-28T03:59:46 | 2020-10-28T03:59:45 | https://github.com/huggingface/datasets/issues/758 | {
"login": "ksjae"
} | {
"nodes": []
} | [
"Hi ! Thanks for reporting.\r\nIs the distribution of text length of your data evenly distributed across your dataset ? I mean, could it be because the examples in the first part of your dataset are slower to process ?\r\nAlso could how many CPUs can you use for multiprocessing ?\r\n```python\r\nimport multiprocess... |
MDU6SXNzdWU3MjgyNDE0OTQ= | 757 | CUDA out of memory | In your dataset ,cuda run out of memory as long as the trainer begins:
however, without changing any other element/parameter,just switch dataset to `LineByLineTextDataset`,everything becames OK.
| CLOSED | 2020-10-23T13:57:00 | 2020-12-23T14:06:29 | 2020-12-23T14:06:29 | https://github.com/huggingface/datasets/issues/757 | {
"login": "li1117heex"
} | {
"nodes": []
} | [
"Could you provide more details ? What's the code you ran ?",
"```python\r\ntokenizer = FunnelTokenizer.from_pretrained('funnel-transformer/small')\r\n\r\ndef tokenize(batch):\r\n return tokenizer(batch['text'], padding='max_length', truncation=True,max_length=512)\r\n\r\ndataset = load_dataset(\"bookcorpus\",... |
MDU6SXNzdWU3MjY5MTc4MDE= | 752 | Clicking on a metric in the search page points to datasets page giving "Missing dataset" warning | Hi! Sorry if this isn't the right place to talk about the website, I just didn't exactly where to write this.
Searching a metric in https://huggingface.co/metrics gives the right results but clicking on a metric (E.g ROUGE) points to https://huggingface.co/datasets/rouge. Clicking on a metric without searching point... | CLOSED | 2020-10-21T22:56:23 | 2020-10-22T16:19:42 | 2020-10-22T16:19:42 | https://github.com/huggingface/datasets/issues/752 | {
"login": "ogabrielluiz"
} | {
"nodes": []
} | [
"Thanks for the report, can reproduce. Will fix",
"Fixed now @ogabrielluiz "
] |
MDU6SXNzdWU3MjY4MjAxOTE= | 751 | Error loading ms_marco v2.1 using load_dataset() | Code:
`dataset = load_dataset('ms_marco', 'v2.1')`
Error:
```
`---------------------------------------------------------------------------
JSONDecodeError Traceback (most recent call last)
<ipython-input-16-34378c057212> in <module>()
9
10 # Downloading and loading a data... | CLOSED | 2020-10-21T19:54:43 | 2020-11-05T01:31:57 | 2020-11-05T01:31:57 | https://github.com/huggingface/datasets/issues/751 | {
"login": "JainSahit"
} | {
"nodes": []
} | [
"There was a similar issue in #294 \r\nClearing the cache and download again the dataset did the job. Could you try to clear your cache and download the dataset again ?",
"I was able to load the dataset successfully, I'm pretty sure it's just a cache issue that you have.\r\nLet me know if clearing your cache fixe... |
MDU6SXNzdWU3MjY1ODk0NDY= | 750 | load_dataset doesn't include `features` in its hash | It looks like the function `load_dataset` does not include what's passed in the `features` argument when creating a hash for a given dataset. As a result, if a user includes new features from an already downloaded dataset, those are ignored.
Example: some models on the hub have a different ordering for the labels t... | CLOSED | 2020-10-21T15:16:41 | 2020-10-29T09:36:01 | 2020-10-29T09:36:01 | https://github.com/huggingface/datasets/issues/750 | {
"login": "sgugger"
} | {
"nodes": []
} | [] |
MDU6SXNzdWU3MjYzNjYwNjI= | 749 | [XGLUE] Adding new dataset | XGLUE is a multilingual GLUE like dataset propesed in this [paper](https://arxiv.org/pdf/2004.01401.pdf).
I'm planning on adding the dataset to the library myself in a couple of weeks.
Also tagging @JetRunner @qiweizhen in case I need some guidance | CLOSED | 2020-10-21T10:51:36 | 2022-09-30T11:35:30 | 2021-01-06T10:02:55 | https://github.com/huggingface/datasets/issues/749 | {
"login": "patrickvonplaten"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"Amazing! ",
"Small poll @thomwolf @yjernite @lhoestq @JetRunner @qiweizhen .\r\n\r\nAs stated in the XGLUE paper: https://arxiv.org/pdf/2004.01401.pdf , for each of the 11 down-stream tasks training data is only available in English, whereas development and test data is available in multiple different language ... |
MDU6SXNzdWU3MjQ5MTg0NDg= | 744 | Dataset Explorer Doesn't Work for squad_es and squad_it | https://huggingface.co/nlp/viewer/?dataset=squad_es
https://huggingface.co/nlp/viewer/?dataset=squad_it
Both pages show "OSError: [Errno 28] No space left on device". | CLOSED | 2020-10-19T19:34:12 | 2020-10-26T16:36:17 | 2020-10-26T16:36:17 | https://github.com/huggingface/datasets/issues/744 | {
"login": "gaotongxiao"
} | {
"nodes": [
{
"name": "nlp-viewer"
}
]
} | [
"Oups wrong click.\r\nThis one is for you @srush"
] |
MDU6SXNzdWU3MjQ3MDM5ODA= | 743 | load_dataset for CSV files not working | Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
`
Displayed error:
`
...
ArrowInva... | OPEN | 2020-10-19T14:53:51 | 2026-05-21T23:27:28 | null | https://github.com/huggingface/datasets/issues/743 | {
"login": "iliemihai"
} | {
"nodes": []
} | [
"Thank you !\r\nCould you provide a csv file that reproduces the error ?\r\nIt doesn't have to be one of your dataset. As long as it reproduces the error\r\nThat would help a lot !",
"I think another good example is the following:\r\n`\r\nfrom datasets import load_dataset\r\n`\r\n`\r\ndataset = load_dataset(\"csv... |
MDU6SXNzdWU3MjM5MjQyNzU= | 741 | Creating dataset consumes too much memory | Moving this issue from https://github.com/huggingface/datasets/pull/722 here, because it seems like a general issue.
Given the following dataset example, where each example saves a sequence of 260x210x3 images (max length 400):
```python
def _generate_examples(self, base_path, split):
""" Yields examp... | CLOSED | 2020-10-18T06:07:06 | 2022-02-15T17:03:10 | 2022-02-15T17:03:10 | https://github.com/huggingface/datasets/issues/741 | {
"login": "AmitMY"
} | {
"nodes": []
} | [
"Thanks for reporting.\r\nIn theory since the dataset script is just made to yield examples to write them into an arrow file, it's not supposed to create memory issues.\r\n\r\nCould you please try to run this exact same loop in a separate script to see if it's not an issue with `PIL` ?\r\nYou can just copy paste wh... |
MDU6SXNzdWU3MjI0NjM5MjM= | 737 | Trec Dataset Connection Error | **Datasets Version:**
1.1.2
**Python Version:**
3.6/3.7
**Code:**
```python
from datasets import load_dataset
load_dataset("trec")
```
**Expected behavior:**
Download Trec dataset and load Dataset object
**Current Behavior:**
Get a connection error saying it couldn't reach http://cogcomp.org/Data/... | CLOSED | 2020-10-15T15:57:53 | 2020-10-19T08:54:36 | 2020-10-19T08:54:36 | https://github.com/huggingface/datasets/issues/737 | {
"login": "aychang95"
} | {
"nodes": []
} | [
"Thanks for reporting.\r\nThat's because the download url has changed. The old url now redirects to the new one but we don't support redirection for downloads.\r\n\r\nI'm opening a PR to update the url"
] |
MDU6SXNzdWU3MjIyMjUyNzA= | 735 | Throw error when an unexpected key is used in data_files | I have found that only "train", "validation" and "test" are valid keys in the `data_files` argument. When you use any other ones, those attached files are silently ignored - leading to unexpected behaviour for the users.
So the following, unintuitively, returns only one key (namely `train`).
```python
datasets =... | CLOSED | 2020-10-15T10:55:27 | 2020-10-30T13:23:52 | 2020-10-30T13:23:52 | https://github.com/huggingface/datasets/issues/735 | {
"login": "BramVanroy"
} | {
"nodes": []
} | [
"Thanks for reporting !\r\nWe'll add support for other keys"
] |
MDU6SXNzdWU3MjEwNzM4MTI= | 730 | Possible caching bug | The following code with `test1.txt` containing just "🤗🤗🤗":
```
dataset = datasets.load_dataset('text', data_files=['test1.txt'], split="train", encoding="latin_1")
print(dataset[0])
dataset = datasets.load_dataset('text', data_files=['test1.txt'], split="train", encoding="utf-8")
print(dataset[0])
```
produc... | CLOSED | 2020-10-14T02:02:34 | 2022-11-22T01:45:54 | 2020-10-29T09:36:01 | https://github.com/huggingface/datasets/issues/730 | {
"login": "ArneBinder"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Thanks for reporting. That's a bug indeed.\r\nApparently only the `data_files` parameter is taken into account right now in `DatasetBuilder._create_builder_config` but it should also be the case for `config_kwargs` (or at least the instantiated `builder_config`)",
"Hi, does this bug be fixed? when I load JSON fi... |
MDU6SXNzdWU3MTk1NTg4NzY= | 729 | Better error message when one forgets to call `add_batch` before `compute` | When using metrics, if for some reason a user forgets to call `add_batch` to a metric before `compute` (with no arguments), the error message is a bit cryptic and could probably be made clearer.
## Reproducer
```python
import datasets
import torch
from datasets import Metric
class GatherMetric(Metric):
... | CLOSED | 2020-10-12T17:59:22 | 2020-10-29T15:18:24 | 2020-10-29T15:18:24 | https://github.com/huggingface/datasets/issues/729 | {
"login": "sgugger"
} | {
"nodes": []
} | [] |
MDU6SXNzdWU3MTk1NTU3ODA= | 728 | Passing `cache_dir` to a metric does not work | When passing `cache_dir` to a custom metric, the folder is concatenated to itself at some point and this results in a FileNotFoundError:
## Reproducer
```python
import datasets
import torch
from datasets import Metric
class GatherMetric(Metric):
def _info(self):
return datasets.MetricInfo(
... | CLOSED | 2020-10-12T17:55:14 | 2020-10-29T09:34:42 | 2020-10-29T09:34:42 | https://github.com/huggingface/datasets/issues/728 | {
"login": "sgugger"
} | {
"nodes": []
} | [] |
MDU6SXNzdWU3MTkzODYzNjY= | 727 | Parallel downloads progress bar flickers | When there are parallel downloads using the download manager, the tqdm progress bar flickers since all the progress bars are on the same line.
To fix that we could simply specify `position=i` for i=0 to n the number of files to download when instantiating the tqdm progress bar.
Another way would be to have one "... | OPEN | 2020-10-12T13:36:05 | 2026-05-22T06:48:53 | null | https://github.com/huggingface/datasets/issues/727 | {
"login": "lhoestq"
} | {
"nodes": []
} | [
"Hi! Triaging older issues this week — I think this one has shipped and can be closed.\n\nThe exact fix suggested in the original report (assign `position=i` to each parallel tqdm bar so they don't share a line) is in place on current `main` (4.8.6.dev0):\n\n- `src/datasets/utils/py_utils.py:401` — the per-worker t... |
MDU6SXNzdWU3MTkzMTM3NTQ= | 726 | "Checksums didn't match for dataset source files" error while loading openwebtext dataset | Hi,
I have encountered this problem during loading the openwebtext dataset:
```
>>> dataset = load_dataset('openwebtext')
Downloading and preparing dataset openwebtext/plain_text (download: 12.00 GiB, generated: 37.04 GiB, post-processed: Unknown size, total: 49.03 GiB) to /home/admin/.cache/huggingface/datasets/op... | CLOSED | 2020-10-12T11:45:10 | 2022-02-17T17:53:54 | 2022-02-15T10:38:57 | https://github.com/huggingface/datasets/issues/726 | {
"login": "SparkJiao"
} | {
"nodes": []
} | [
"Hi try, to provide more information please.\r\n\r\nExample code in a colab to reproduce the error, details on what you are trying to do and what you were expected and details on your environment (OS, PyPi packages version).",
"> Hi try, to provide more information please.\r\n> \r\n> Example code in a colab to re... |
MDU6SXNzdWU3MTg5NDc3MDA= | 724 | need to redirect /nlp to /datasets and remove outdated info | It looks like the website still has all the `nlp` data, e.g.: https://huggingface.co/nlp/viewer/?dataset=wikihow&config=all
should probably redirect to: https://huggingface.co/datasets/wikihow
also for some reason the new information is slightly borked. If you look at the old one it was nicely formatted and had t... | CLOSED | 2020-10-11T23:12:12 | 2020-10-14T17:00:12 | 2020-10-14T17:00:12 | https://github.com/huggingface/datasets/issues/724 | {
"login": "stas00"
} | {
"nodes": []
} | [
"Should be fixed now: \r\n\r\n\r\n\r\nNot sure I understand what you mean by the second part?\r\n",
"Thank you!\r\n\r\n> Not sure I understand what you mean by the second part?\r\n\r\nCompare the 2:\r\n* htt... |
MDU6SXNzdWU3MTg5MjY3MjM= | 723 | Adding pseudo-labels to datasets | I recently [uploaded pseudo-labels](https://github.com/huggingface/transformers/blob/master/examples/seq2seq/precomputed_pseudo_labels.md) for CNN/DM, XSUM and WMT16-en-ro to s3, and thom mentioned I should add them to this repo.
Since pseudo-labels are just a large model's generations on an existing dataset, what is ... | CLOSED | 2020-10-11T21:05:45 | 2021-08-03T05:11:51 | 2021-08-03T05:11:51 | https://github.com/huggingface/datasets/issues/723 | {
"login": "sshleifer"
} | {
"nodes": []
} | [
"Nice ! :)\r\nIt's indeed the first time we have such contributions so we'll have to figure out the appropriate way to integrate them.\r\nCould you add details on what they could be used for ?\r\n",
"They can be used as training data for a smaller model.",
"Sounds just like a regular dataset to me then, no?",
... |
MDU6SXNzdWU3MTg2NDcxNDc= | 721 | feat(dl_manager): add support for ftp downloads | I am working on a new dataset (#302) and encounter a problem downloading it.
```python
# This is the official download link from https://www-i6.informatik.rwth-aachen.de/~koller/RWTH-PHOENIX-2014-T/
_URL = "ftp://wasserstoff.informatik.rwth-aachen.de/pub/rwth-phoenix/2016/phoenix-2014-T.v3.tar.gz"
dl_manager.do... | CLOSED | 2020-10-10T15:50:20 | 2022-02-15T10:44:44 | 2022-02-15T10:44:43 | https://github.com/huggingface/datasets/issues/721 | {
"login": "AmitMY"
} | {
"nodes": []
} | [
"We only support http by default for downloading.\r\nIf you really need to use ftp, then feel free to use a library that allows to download through ftp in your dataset script (I see that you've started working on #722 , that's awesome !). The users will get a message to install the extra library when they load the ... |
MDU6SXNzdWU3MTY1ODEyNjY= | 720 | OSError: Cannot find data file when not using the dummy dataset in RAG | ## Environment info
transformers version: 3.3.1
Platform: Linux-4.19
Python version: 3.7.7
PyTorch version (GPU?): 1.6.0
Tensorflow version (GPU?): No
Using GPU in script?: Yes
Using distributed or parallel set-up in script?: No
## To reproduce
Steps to reproduce the behaviour... | CLOSED | 2020-10-07T14:27:13 | 2020-12-23T14:04:31 | 2020-12-23T14:04:31 | https://github.com/huggingface/datasets/issues/720 | {
"login": "josemlopez"
} | {
"nodes": []
} | [
"Same issue here. I will be digging further, but it looks like the [script](https://github.com/huggingface/datasets/blob/master/datasets/wiki_dpr/wiki_dpr.py#L132) is attempting to open a file that is not downloaded yet. \r\n\r\n```\r\n99dcbca09109e58502e6b9271d4d3f3791b43f61f3161a76b25d2775ab1a4498.lock\r\n```\r\n... |
MDU6SXNzdWU3MTQyNDIzMTY= | 712 | Error in the notebooks/Overview.ipynb notebook | Hi,
I got the following error in **cell number 3** while exploring the **Overview.ipynb** notebook in google colab. I used the [link ](https://colab.research.google.com/github/huggingface/datasets/blob/master/notebooks/Overview.ipynb) provided in the main README file to open it in colab.
```python
# You can acc... | CLOSED | 2020-10-04T05:58:31 | 2020-10-05T16:25:40 | 2020-10-05T16:25:40 | https://github.com/huggingface/datasets/issues/712 | {
"login": "subhrm"
} | {
"nodes": []
} | [
"Do this:\r\n``` python\r\nsquad_dataset = list_datasets(with_details=True)[datasets.index('squad')]\r\npprint(squad_dataset.__dict__) # It's a simple python dataclass\r\n```",
"Thanks! This worked. I have created a PR to fix this in the notebook. "
] |
MDU6SXNzdWU3MTQwNjc5MDI= | 709 | How to use similarity settings other then "BM25" in Elasticsearch index ? | **QUESTION : How should we use other similarity algorithms supported by Elasticsearch other than "BM25" ?**
**ES Reference**
https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules-similarity.html
**HF doc reference:**
https://huggingface.co/docs/datasets/faiss_and_ea.html
**context :**
=... | CLOSED | 2020-10-03T11:18:49 | 2022-10-04T17:19:37 | 2022-10-04T17:19:37 | https://github.com/huggingface/datasets/issues/709 | {
"login": "nsankar"
} | {
"nodes": []
} | [
"Datasets does not use elasticsearch API to define custom similarity. If you want to use a custom similarity, the best would be to run a curl request directly to your elasticsearch instance (see sample hereafter, directly from ES documentation), then you should be able to use `my_similarity` in your configuration p... |
MDU6SXNzdWU3MTQwMjA5NTM= | 708 | Datasets performance slow? - 6.4x slower than in memory dataset | I've been very excited about this amazing datasets project. However, I've noticed that the performance can be substantially slower than using an in-memory dataset.
Now, this is expected I guess, due to memory mapping data using arrow files, and you don't get anything for free. But I was surprised at how much slower.... | CLOSED | 2020-10-03T06:44:07 | 2021-02-12T14:13:28 | 2021-02-12T14:13:28 | https://github.com/huggingface/datasets/issues/708 | {
"login": "eugeneware"
} | {
"nodes": []
} | [
"Facing a similar issue here. My model using SQuAD dataset takes about 1h to process with in memory data and more than 2h with datasets directly.",
"And if you use in-memory-data with datasets with `load_dataset(..., keep_in_memory=True)`?",
"Thanks for the tip @thomwolf ! I did not see that flag in the docs. I... |
MDU6SXNzdWU3MTM5NTQ2NjY= | 707 | Requirements should specify pyarrow<1 | I was looking at the docs on [Perplexity](https://huggingface.co/transformers/perplexity.html) via GPT2. When you load datasets and try to load Wikitext, you get the error,
```
module 'pyarrow' has no attribute 'PyExtensionType'
```
I traced it back to datasets having installed PyArrow 1.0.1 but there's not pinni... | CLOSED | 2020-10-02T23:39:39 | 2020-12-04T08:22:39 | 2020-10-04T20:50:28 | https://github.com/huggingface/datasets/issues/707 | {
"login": "mathcass"
} | {
"nodes": []
} | [
"Hello @mathcass I would want to work on this issue. May I do the same? ",
"@punitaojha, certainly. Feel free to work on this. Let me know if you need any help or clarity.",
"Hello @mathcass \r\n1. I did fork the repository and clone the same on my local system. \r\n\r\n2. Then learnt about how we can publish o... |
MDU6SXNzdWU3MTM3MDkxMDA= | 705 | TypeError: '<' not supported between instances of 'NamedSplit' and 'NamedSplit' | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.3.1 (installed from master)
- `datasets` version: 1.0.2 (installed as a dependency from transformers)
... | CLOSED | 2020-10-02T15:27:55 | 2020-10-05T08:14:59 | 2020-10-05T08:14:59 | https://github.com/huggingface/datasets/issues/705 | {
"login": "pvcastro"
} | {
"nodes": []
} | [
"Hi !\r\nThanks for reporting :) \r\nIndeed this is an issue on the `datasets` side.\r\nI'm creating a PR",
"Thanks @lhoestq !"
] |
MDU6SXNzdWU3MTMzOTU2NDI= | 699 | XNLI dataset is not loading | `dataset = datasets.load_dataset(path='xnli')`
showing below error
```
/opt/conda/lib/python3.7/site-packages/nlp/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name)
36 if len(bad_urls) > 0:
37 error_msg = "Checksums didn't match" + for_verifi... | CLOSED | 2020-10-02T06:53:16 | 2020-10-03T17:45:52 | 2020-10-03T17:43:37 | https://github.com/huggingface/datasets/issues/699 | {
"login": "imadarsh1001"
} | {
"nodes": []
} | [
"also i tried below code to solve checksum error \r\n`datasets-cli test ./datasets/xnli --save_infos --all_configs`\r\n\r\nand it shows \r\n\r\n```\r\n2020-10-02 07:06:16.588760: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1\r\nTraceback (most ... |
MDU6SXNzdWU3MTIzODk0OTk= | 691 | Add UI filter to filter datasets based on task | This is great work, so huge shoutout to contributors and huggingface.
The [/nlp/viewer](https://huggingface.co/nlp/viewer/) is great and the [/datasets](https://huggingface.co/datasets) page is great. I was wondering if in both or either places we can have a filter that selects if a dataset is good for the following... | CLOSED | 2020-10-01T00:56:18 | 2022-02-15T10:46:50 | 2022-02-15T10:46:50 | https://github.com/huggingface/datasets/issues/691 | {
"login": "praateekmahajan"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Already supported."
] |
MDU6SXNzdWU3MTIxNTAzMjE= | 690 | XNLI dataset: NonMatchingChecksumError | Hi,
I tried to download "xnli" dataset in colab using
`xnli = load_dataset(path='xnli')`
but got 'NonMatchingChecksumError' error
`NonMatchingChecksumError Traceback (most recent call last)
<ipython-input-27-a87bedc82eeb> in <module>()
----> 1 xnli = load_dataset(path='xnli')
3 frames
/usr... | CLOSED | 2020-09-30T17:50:03 | 2020-10-01T17:15:08 | 2020-10-01T14:01:14 | https://github.com/huggingface/datasets/issues/690 | {
"login": "xiey1"
} | {
"nodes": []
} | [
"Thanks for reporting.\r\nThe data file must have been updated by the host.\r\nI'll update the checksum with the new one.",
"Well actually it looks like the link isn't working anymore :(",
"The new link is https://cims.nyu.edu/~sbowman/xnli/XNLI-1.0.zip\r\nI'll update the dataset script",
"I'll do a release i... |
MDU6SXNzdWU3MTE2NjQ4MTA= | 687 | `ArrowInvalid` occurs while running `Dataset.map()` function | It seems to fail to process the final batch. This [colab](https://colab.research.google.com/drive/1_byLZRHwGP13PHMkJWo62Wp50S_Z2HMD?usp=sharing) can reproduce the error.
Code:
```python
# train_ds = Dataset(features: {
# 'title': Value(dtype='string', id=None),
# 'score': Value(dtype='float64', id=Non... | CLOSED | 2020-09-30T06:16:50 | 2020-09-30T09:53:03 | 2020-09-30T09:53:03 | https://github.com/huggingface/datasets/issues/687 | {
"login": "peinan"
} | {
"nodes": []
} | [
"Hi !\r\n\r\nThis is because `encode` expects one single text as input (str), or one tokenized text (List[str]).\r\nI believe that you actually wanted to use `encode_batch` which expects a batch of texts.\r\nHowever this method is only available for our \"fast\" tokenizers (ex: BertTokenizerFast).\r\nBertJapanese i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.