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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
MDU6SXNzdWU4MjIxNzYyOTA= | 1,986 | wmt datasets fail to load | ~\.cache\huggingface\modules\datasets_modules\datasets\wmt14\43e717d978d2261502b0194999583acb874ba73b0f4aed0ada2889d1bb00f36e\wmt_utils.py in _split_generators(self, dl_manager)
758 # Extract manually downloaded files.
759 manual_files = dl_manager.extract(manual_paths_dict)
--> 760 e... | CLOSED | 2021-03-04T14:18:55 | 2021-03-04T14:31:07 | 2021-03-04T14:31:07 | https://github.com/huggingface/datasets/issues/1986 | {
"login": "sabania"
} | {
"nodes": []
} | [
"caching issue, seems to work again.."
] |
MDU6SXNzdWU4MjE4MTY1ODg= | 1,984 | Add tests for WMT datasets | As requested in #1981, we need tests for WMT datasets, using dummy data. | CLOSED | 2021-03-04T06:46:42 | 2022-11-04T14:19:16 | 2022-11-04T14:19:16 | https://github.com/huggingface/datasets/issues/1984 | {
"login": "albertvillanova"
} | {
"nodes": []
} | [
"Dummy data generation is deprecated now. Closing."
] |
MDU6SXNzdWU4MjE3NDYwMDg= | 1,983 | The size of CoNLL-2003 is not consistant with the official release. | Thanks for the dataset sharing! But when I use conll-2003, I meet some questions.
The statistics of conll-2003 in this repo is :
\#train 14041 \#dev 3250 \#test 3453
While the official statistics is:
\#train 14987 \#dev 3466 \#test 3684
Wish for your reply~ | CLOSED | 2021-03-04T04:41:34 | 2022-10-05T13:13:26 | 2022-10-05T13:13:26 | https://github.com/huggingface/datasets/issues/1983 | {
"login": "h-peng17"
} | {
"nodes": []
} | [
"Hi,\r\n\r\nif you inspect the raw data, you can find there are 946 occurrences of `-DOCSTART- -X- -X- O` in the train split and `14041 + 946 = 14987`, which is exactly the number of sentences the authors report. `-DOCSTART-` is a special line that acts as a boundary between two different documents and is filtered ... |
MDU6SXNzdWU4MjE0MTExMDk= | 1,981 | wmt datasets fail to load | on master:
```
python -c 'from datasets import load_dataset; load_dataset("wmt14", "de-en")'
Downloading and preparing dataset wmt14/de-en (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to /home/stas/.cache/huggingface/datasets/wmt14/de-en/1.0.0/43e717d978d226150... | CLOSED | 2021-03-03T19:21:39 | 2021-03-04T14:16:47 | 2021-03-03T22:48:36 | https://github.com/huggingface/datasets/issues/1981 | {
"login": "stas00"
} | {
"nodes": []
} | [
"@stas00 Mea culpa... May I fix this tomorrow morning?",
"yes, of course, I reverted to the version before that and it works ;)\r\n\r\nbut since a new release was just made you will probably need to make a hotfix.\r\n\r\nand add the wmt to the tests?",
"Sure, I will implement a regression test!",
"@stas00 it ... |
MDU6SXNzdWU4MjAzMTIwMjI= | 1,977 | ModuleNotFoundError: No module named 'apache_beam' for wikipedia datasets | Hi
I am trying to run run_mlm.py code [1] of huggingface with following "wikipedia"/ "20200501.aa" dataset:
`python run_mlm.py --model_name_or_path bert-base-multilingual-cased --dataset_name wikipedia --dataset_config_name 20200501.aa --do_train --do_eval --output_dir /tmp/test-mlm --max_seq_l... | OPEN | 2021-03-02T19:21:28 | 2026-05-22T07:09:47 | null | https://github.com/huggingface/datasets/issues/1977 | {
"login": "dorost1234"
} | {
"nodes": []
} | [
"I sometimes also get this error with other languages of the same dataset:\r\n\r\n File \"/dara/libs/anaconda3/envs/code/lib/python3.7/site-packages/datasets-1.3.0-py3.7.egg/datasets/arrow_reader.py\", line 322, in read_table\r\n stream = stream_from(filename)\r\n File \"pyarrow/io.pxi\", line 782, in pyarrow.... |
MDU6SXNzdWU4MjAwNzczMTI= | 1,973 | Question: what gets stored in the datasets cache and why is it so huge? | I'm running several training jobs (around 10) with a relatively large dataset (3M samples). The datasets cache reached 178G and it seems really large. What is it stored in there and why is it so large? I don't think I noticed this problem before and seems to be related to the new version of the datasets library. Any in... | CLOSED | 2021-03-02T14:35:53 | 2021-03-30T14:03:59 | 2021-03-16T09:44:00 | https://github.com/huggingface/datasets/issues/1973 | {
"login": "ioana-blue"
} | {
"nodes": []
} | [
"Echo'ing this observation: I have a few datasets in the neighborhood of 2GB CSVs uncompressed, and when I use something like `Dataset.save_to_disk()` it's ~18GB on disk.\r\n\r\nIf this is unexpected behavior, would be happy to help run debugging as needed.",
"Thanks @ioana-blue for pointing out this problem (and... |
MDU6SXNzdWU4MTk3NTI3NjE= | 1,972 | 'Dataset' object has no attribute 'rename_column' | 'Dataset' object has no attribute 'rename_column' | CLOSED | 2021-03-02T08:01:49 | 2022-06-01T16:08:47 | 2022-06-01T16:08:47 | https://github.com/huggingface/datasets/issues/1972 | {
"login": "farooqzaman1"
} | {
"nodes": []
} | [
"Hi ! `rename_column` has been added recently and will be available in the next release"
] |
MDU6SXNzdWU4MTg4MzM0NjA= | 1,965 | Can we parallelized the add_faiss_index process over dataset shards ? | I am thinking of making the **add_faiss_index** process faster. What if we run the add_faiss_index process on separate dataset shards and then combine them before (dataset.concatenate) saving the faiss.index file ?
I feel theoretically this will reduce the accuracy of retrieval since it affects the indexing process... | CLOSED | 2021-03-01T12:47:34 | 2021-03-04T19:40:56 | 2021-03-04T19:40:42 | https://github.com/huggingface/datasets/issues/1965 | {
"login": "shamanez"
} | {
"nodes": []
} | [
"Hi !\r\nAs far as I know not all faiss indexes can be computed in parallel and then merged. \r\nFor example [here](https://github.com/facebookresearch/faiss/wiki/Special-operations-on-indexes#splitting-and-merging-indexes) is is mentioned that only IndexIVF indexes can be merged.\r\nMoreover faiss already works us... |
MDU6SXNzdWU4MTg2MjQ4NjQ= | 1,964 | Datasets.py function load_dataset does not match squad dataset | ### 1 When I try to train lxmert,and follow the code in README that --dataset name:
```shell
python examples/question-answering/run_qa.py --model_name_or_path unc-nlp/lxmert-base-uncased --dataset_name squad --do_train --do_eval --per_device_train_batch_size 12 --learning_rate 3e-5 --num_train_epochs 2 --max_seq_len... | CLOSED | 2021-03-01T08:41:31 | 2022-10-05T13:09:47 | 2022-10-05T13:09:47 | https://github.com/huggingface/datasets/issues/1964 | {
"login": "LeopoldACC"
} | {
"nodes": []
} | [
"Hi !\r\n\r\nTo fix 1, an you try to run this code ?\r\n```python\r\nfrom datasets import load_dataset\r\n\r\nload_dataset(\"squad\", download_mode=\"force_redownload\")\r\n```\r\nMaybe the file your downloaded was corrupted, in this case redownloading this way should fix your issue 1.\r\n\r\nRegarding your 2nd poi... |
MDU6SXNzdWU4MTgyODk5Njc= | 1,963 | bug in SNLI dataset | Hi
There is label of -1 in train set of SNLI dataset, please find the code below:
```
import numpy as np
import datasets
data = datasets.load_dataset("snli")["train"]
labels = []
for d in data:
labels.append(d["label"])
print(np.unique(labels))
```
and results:
`[-1 0 1 2]`
version of datas... | CLOSED | 2021-02-28T19:36:20 | 2022-10-05T13:13:46 | 2022-10-05T13:13:46 | https://github.com/huggingface/datasets/issues/1963 | {
"login": "dorost1234"
} | {
"nodes": []
} | [
"Hi ! The labels -1 correspond to the examples without gold labels in the original snli dataset.\r\nFeel free to remove these examples if you don't need them by using\r\n```python\r\ndata = data.filter(lambda x: x[\"label\"] != -1)\r\n```"
] |
MDU6SXNzdWU4MTgwNTU2NDQ= | 1,959 | Bug in skip_rows argument of load_dataset function ? | Hello everyone,
I'm quite new to Git so sorry in advance if I'm breaking some ground rules of issues posting... :/
I tried to use the load_dataset function, from Huggingface datasets library, on a csv file using the skip_rows argument described on Huggingface page to skip the first row containing column names
`t... | CLOSED | 2021-02-27T23:32:54 | 2021-03-09T10:21:32 | 2021-03-09T10:21:32 | https://github.com/huggingface/datasets/issues/1959 | {
"login": "LedaguenelArthur"
} | {
"nodes": []
} | [
"Hi,\r\n\r\ntry `skiprows` instead. This part is not properly documented in the docs it seems.\r\n\r\n@lhoestq I'll fix this as part of a bigger PR that fixes typos in the docs."
] |
MDU6SXNzdWU4MTgwMzc1NDg= | 1,958 | XSum dataset download link broken | I did
```
from datasets import load_dataset
dataset = load_dataset("xsum")
```
This returns
`ConnectionError: Couldn't reach http://bollin.inf.ed.ac.uk/public/direct/XSUM-EMNLP18-Summary-Data-Original.tar.gz` | CLOSED | 2021-02-27T21:47:56 | 2021-02-27T21:50:16 | 2021-02-27T21:50:16 | https://github.com/huggingface/datasets/issues/1958 | {
"login": "himat"
} | {
"nodes": []
} | [
"Never mind, I ran it again and it worked this time. Strange."
] |
MDU6SXNzdWU4MTgwMTM3NDE= | 1,956 | [distributed env] potentially unsafe parallel execution | ```
metric = load_metric('glue', 'mrpc', num_process=num_process, process_id=rank)
```
presumes that there is only one set of parallel processes running - and will intermittently fail if you have multiple sets running as they will surely overwrite each other. Similar to https://github.com/huggingface/datasets/issu... | CLOSED | 2021-02-27T20:38:45 | 2021-03-01T17:24:42 | 2021-03-01T17:24:42 | https://github.com/huggingface/datasets/issues/1956 | {
"login": "stas00"
} | {
"nodes": []
} | [
"You can pass the same `experiment_id` for all the metrics of the same group, and use another `experiment_id` for the other groups.\r\nMaybe we can add an environment variable that sets the default value for `experiment_id` ? What do you think ?",
"Ah, you're absolutely correct, @lhoestq - it's exactly the equiva... |
MDU6SXNzdWU4MTc1NjU1NjM= | 1,954 | add a new column | Hi
I'd need to add a new column to the dataset, I was wondering how this can be done? thanks
@lhoestq | CLOSED | 2021-02-26T18:17:27 | 2021-04-29T14:50:43 | 2021-04-29T14:50:43 | https://github.com/huggingface/datasets/issues/1954 | {
"login": "dorost1234"
} | {
"nodes": []
} | [
"Hi\r\nnot sure how change the lable after creation, but this is an issue not dataset request. thanks ",
"Hi ! Currently you have to use `map` . You can see an example of how to do it in this comment: https://github.com/huggingface/datasets/issues/853#issuecomment-727872188\r\n\r\nIn the future we'll add support ... |
MDU6SXNzdWU4MTY5ODY5MzY= | 1,949 | Enable Fast Filtering using Arrow Dataset | Hi @lhoestq,
As mentioned in Issue #1796, I would love to work on enabling fast filtering/mapping. Can you please share the expectations? It would be great if you could point me to the relevant methods/files involved. Or the docs or maybe an overview of `arrow_dataset.py`. I only ask this because I am having trouble... | OPEN | 2021-02-26T02:53:37 | 2021-02-26T19:18:29 | null | https://github.com/huggingface/datasets/issues/1949 | {
"login": "gchhablani"
} | {
"nodes": []
} | [
"Hi @gchhablani :)\r\nThanks for proposing your help !\r\n\r\nI'll be doing a refactor of some parts related to filtering in the scope of https://github.com/huggingface/datasets/issues/1877\r\nSo I would first wait for this refactor to be done before working on the filtering. In particular because I plan to make th... |
MDU6SXNzdWU4MTY2ODkzMjk= | 1,948 | dataset loading logger level | on master I get this with `--dataset_name wmt16 --dataset_config ro-en`:
```
WARNING:datasets.arrow_dataset:Loading cached processed dataset at /home/stas/.cache/huggingface/datasets/wmt16/ro-en/1.0.0/9dc00622c30446e99c4c63d12a484ea4fb653f2f37c867d6edcec839d7eae50f/cache-2e01bead8cf42e26.arrow
WARNING:datasets.arr... | CLOSED | 2021-02-25T18:33:37 | 2023-07-12T17:19:30 | 2023-07-12T17:19:30 | https://github.com/huggingface/datasets/issues/1948 | {
"login": "stas00"
} | {
"nodes": []
} | [
"These warnings are showed when there's a call to `.map` to say to the user that a dataset is reloaded from the cache instead of being recomputed.\r\nThey are warnings since we want to make sure the users know that it's not recomputed.",
"Thank you for explaining the intention, @lhoestq \r\n\r\n1. Could it be the... |
MDU6SXNzdWU4MTY0MjE5NjY= | 1,945 | AttributeError: 'DatasetDict' object has no attribute 'concatenate_datasets' | Hi
I am trying to concatenate a list of huggingface datastes as:
` train_dataset = datasets.concatenate_datasets(train_datasets)
`
Here is the `train_datasets` when I print:
```
[Dataset({
features: ['attention_mask', 'idx', 'input_ids', 'label', 'question1', 'question2', 'token_type_ids'],
num_rows... | CLOSED | 2021-02-25T13:09:45 | 2021-02-25T13:20:35 | 2021-02-25T13:20:26 | https://github.com/huggingface/datasets/issues/1945 | {
"login": "dorost1234"
} | {
"nodes": []
} | [
"sorry my mistake, datasets were overwritten closing now, thanks a lot"
] |
MDU6SXNzdWU4MTYwMzc1MjA= | 1,942 | [experiment] missing default_experiment-1-0.arrow | the original report was pretty bad and incomplete - my apologies!
Please see the complete version here: https://github.com/huggingface/datasets/issues/1942#issuecomment-786336481
------------
As mentioned here https://github.com/huggingface/datasets/issues/1939 metrics don't get cached, looking at my local `~/... | CLOSED | 2021-02-25T03:02:15 | 2022-10-05T13:08:45 | 2022-10-05T13:08:45 | https://github.com/huggingface/datasets/issues/1942 | {
"login": "stas00"
} | {
"nodes": []
} | [
"Hi !\r\n\r\nThe cache at `~/.cache/huggingface/metrics` stores the users data for metrics computations (hence the arrow files).\r\n\r\nHowever python modules (i.e. dataset scripts, metric scripts) are stored in `~/.cache/huggingface/modules/datasets_modules`.\r\n\r\nIn particular the metrics are cached in `~/.cach... |
MDU6SXNzdWU4MTU5ODUxNjc= | 1,941 | Loading of FAISS index fails for index_name = 'exact' | Hi,
It looks like loading of FAISS index now fails when using index_name = 'exact'.
For example, from the RAG [model card](https://huggingface.co/facebook/rag-token-nq?fbclid=IwAR3bTfhls5U_t9DqsX2Vzb7NhtRHxJxfQ-uwFT7VuCPMZUM2AdAlKF_qkI8#usage).
Running `transformers==4.3.2` and datasets installed from source o... | CLOSED | 2021-02-25T01:30:54 | 2021-02-25T14:28:46 | 2021-02-25T14:28:46 | https://github.com/huggingface/datasets/issues/1941 | {
"login": "mkserge"
} | {
"nodes": []
} | [
"Thanks for reporting ! I'm taking a look",
"Index training was missing, I fixed it here: https://github.com/huggingface/datasets/commit/f5986c46323583989f6ed1dabaf267854424a521\r\n\r\nCan you try again please ?",
"Works great 👍 I just put a minor comment on the commit, I think you meant to pass the `train_siz... |
MDU6SXNzdWU4MTU3NzAwMTI= | 1,940 | Side effect when filtering data due to `does_function_return_dict` call in `Dataset.map()` | Hi there!
In my codebase I have a function to filter rows in a dataset, selecting only a certain number of examples per class. The function passes a extra argument to maintain a counter of the number of dataset rows/examples already selected per each class, which are the ones I want to keep in the end:
```python
... | CLOSED | 2021-02-24T19:18:56 | 2021-03-23T15:26:49 | 2021-03-23T15:26:49 | https://github.com/huggingface/datasets/issues/1940 | {
"login": "francisco-perez-sorrosal"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Thanks for the report !\r\n\r\nCurrently we don't have a way to let the user easily disable this behavior.\r\nHowever I agree that we should support stateful processing functions, ideally by removing `does_function_return_dict`.\r\n\r\nWe needed this function in order to know whether the `map` functions needs to w... |
MDU6SXNzdWU4MTU2ODA1MTA= | 1,939 | [firewalled env] OFFLINE mode | This issue comes from a need to be able to run `datasets` in a firewalled env, which currently makes the software hang until it times out, as it's unable to complete the network calls.
I propose the following approach to solving this problem, using the example of `run_seq2seq.py` as a sample program. There are 2 pos... | CLOSED | 2021-02-24T17:13:42 | 2021-03-05T05:09:54 | 2021-03-05T05:09:54 | https://github.com/huggingface/datasets/issues/1939 | {
"login": "stas00"
} | {
"nodes": []
} | [
"Thanks for reporting and for all the details and suggestions.\r\n\r\nI'm totally in favor of having a HF_DATASETS_OFFLINE env variable to disable manually all the connection checks, remove retries etc.\r\n\r\nMoreover you may know that the use case that you are mentioning is already supported from `datasets` 1.3.0... |
MDU6SXNzdWU4MTUxNjM5NDM= | 1,937 | CommonGen dataset page shows an error OSError: [Errno 28] No space left on device | The page of the CommonGen data https://huggingface.co/datasets/viewer/?dataset=common_gen shows

| CLOSED | 2021-02-24T06:47:33 | 2021-02-26T11:10:06 | 2021-02-26T11:10:06 | https://github.com/huggingface/datasets/issues/1937 | {
"login": "yuchenlin"
} | {
"nodes": [
{
"name": "nlp-viewer"
}
]
} | [
"Facing the same issue for [Squad](https://huggingface.co/datasets/viewer/?dataset=squad) and [TriviaQA](https://huggingface.co/datasets/viewer/?dataset=trivia_qa) datasets as well.",
"We just fixed the issue, thanks for reporting !"
] |
MDU6SXNzdWU4MTQ0MzcxOTA= | 1,934 | Add Stanford Sentiment Treebank (SST) | I am going to add SST:
- **Name:** The Stanford Sentiment Treebank
- **Description:** The first corpus with fully labeled parse trees that allows for a complete analysis of the compositional effects of sentiment in language
- **Paper:** [Recursive Deep Models for Semantic Compositionality Over a Sentiment Treebank... | CLOSED | 2021-02-23T12:53:16 | 2021-03-18T17:51:44 | 2021-03-18T17:51:44 | https://github.com/huggingface/datasets/issues/1934 | {
"login": "patpizio"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"Dataset added in release [1.5.0](https://github.com/huggingface/datasets/releases/tag/1.5.0), I think I can close this."
] |
MDU6SXNzdWU4MTM1OTk3MzM= | 1,924 | Anonymous Dataset Addition (i.e Anonymous PR?) | Hello,
Thanks a lot for your librairy.
We plan to submit a paper on OpenReview using the Anonymous setting. Is it possible to add a new dataset without breaking the anonimity, with a link to the paper ?
Cheers
@eusip | CLOSED | 2021-02-22T15:22:30 | 2022-10-05T13:07:11 | 2022-10-05T13:07:11 | https://github.com/huggingface/datasets/issues/1924 | {
"login": "PierreColombo"
} | {
"nodes": []
} | [
"Hi !\r\nI guess you can add a dataset without the fields that must be kept anonymous, and then update those when the anonymity period is over.\r\nYou can also make the PR from an anonymous org.\r\nPinging @yjernite just to make sure it's ok",
"Hello,\r\nI would prefer to do the reverse: adding a link to an anony... |
MDU6SXNzdWU4MTMxNDA4MDY= | 1,922 | How to update the "wino_bias" dataset | Hi all,
Thanks for the efforts to collect all the datasets! But I think there is a problem with the wino_bias dataset. The current link is not correct. How can I update that?
Thanks! | OPEN | 2021-02-22T05:39:39 | 2026-05-22T06:49:14 | null | https://github.com/huggingface/datasets/issues/1922 | {
"login": "JieyuZhao"
} | {
"nodes": []
} | [
"Hi @JieyuZhao !\r\n\r\nYou can edit the dataset card of wino_bias to update the URL via a Pull Request. This would be really appreciated :)\r\n\r\nThe dataset card is the README.md file you can find at https://github.com/huggingface/datasets/tree/master/datasets/wino_bias\r\nAlso the homepage url is also mentioned... |
MDU6SXNzdWU4MTI2MjY4NzI= | 1,919 | Failure to save with save_to_disk | When I try to save a dataset locally using the `save_to_disk` method I get the error:
```bash
FileNotFoundError: [Errno 2] No such file or directory: '/content/squad/train/squad-train.arrow'
```
To replicate:
1. Install `datasets` from master
2. Run this code:
```python
from datasets import load... | CLOSED | 2021-02-20T14:18:10 | 2021-03-03T17:40:27 | 2021-03-03T17:40:27 | https://github.com/huggingface/datasets/issues/1919 | {
"login": "M-Salti"
} | {
"nodes": []
} | [
"Hi thanks for reporting and for proposing a fix :)\r\n\r\nI just merged a fix, feel free to try it from the master branch !",
"Closing since this has been fixed by #1923"
] |
MDU6SXNzdWU4MTIzOTAxNzg= | 1,917 | UnicodeDecodeError: windows 10 machine | Windows 10
Php 3.6.8
when running
```
import datasets
oscar_am = datasets.load_dataset("oscar", "unshuffled_deduplicated_am")
print(oscar_am["train"][0])
```
I get the following error
```
file "C:\PYTHON\3.6.8\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.er... | CLOSED | 2021-02-19T22:13:05 | 2021-02-19T22:41:11 | 2021-02-19T22:40:28 | https://github.com/huggingface/datasets/issues/1917 | {
"login": "yosiasz"
} | {
"nodes": []
} | [
"upgraded to php 3.9.2 and it works!"
] |
MDU6SXNzdWU4MTIyMjk2NTQ= | 1,915 | Unable to download `wiki_dpr` | I am trying to download the `wiki_dpr` dataset. Specifically, I want to download `psgs_w100.multiset.no_index` with no embeddings/no index. In order to do so, I ran:
`curr_dataset = load_dataset("wiki_dpr", embeddings_name="multiset", index_name="no_index")`
However, I got the following error:
`datasets.utils.i... | CLOSED | 2021-02-19T18:11:32 | 2021-03-03T17:40:48 | 2021-03-03T17:40:48 | https://github.com/huggingface/datasets/issues/1915 | {
"login": "nitarakad"
} | {
"nodes": []
} | [
"Thanks for reporting ! This is a bug. For now feel free to set `ignore_verifications=False` in `load_dataset`.\r\nI'm working on a fix",
"I just merged a fix :)\r\n\r\nWe'll do a patch release soon. In the meantime feel free to try it from the master branch\r\nThanks again for reporting !",
"Closing since this... |
MDU6SXNzdWU4MTIwMDk5NTY= | 1,911 | Saving processed dataset running infinitely | I have a text dataset of size 220M.
For pre-processing, I need to tokenize this and filter rows with the large sequence.
My tokenization took roughly 3hrs. I used map() with batch size 1024 and multi-process with 96 processes.
filter() function was way to slow, so I used a hack to use pyarrow filter table func... | OPEN | 2021-02-19T13:09:19 | 2026-05-22T07:09:40 | null | https://github.com/huggingface/datasets/issues/1911 | {
"login": "ayubSubhaniya"
} | {
"nodes": []
} | [
"@thomwolf @lhoestq can you guys please take a look and recommend some solution.",
"am suspicious of this thing? what's the purpose of this? pickling and unplickling\r\n`self = pickle.loads(pickle.dumps(self))`\r\n\r\n```\r\n def save_to_disk(self, dataset_path: str, fs=None):\r\n \"\"\"\r\n Save... |
MDU6SXNzdWU4MTE1MjA1Njk= | 1,907 | DBPedia14 Dataset Checksum bug? | Hi there!!!
I've been using successfully the DBPedia dataset (https://huggingface.co/datasets/dbpedia_14) with my codebase in the last couple of weeks, but in the last couple of days now I get this error:
```
Traceback (most recent call last):
File "./conditional_classification/basic_pipeline.py", line 178, i... | CLOSED | 2021-02-18T22:25:48 | 2021-02-22T23:22:05 | 2021-02-22T23:22:04 | https://github.com/huggingface/datasets/issues/1907 | {
"login": "francisco-perez-sorrosal"
} | {
"nodes": []
} | [
"Hi ! :)\r\n\r\nThis looks like the same issue as https://github.com/huggingface/datasets/issues/1856 \r\nBasically google drive has quota issues that makes it inconvenient for downloading files.\r\n\r\nIf the quota of a file is exceeded, you have to wait 24h for the quota to reset (which is painful).\r\n\r\nThe er... |
MDU6SXNzdWU4MTE0MDUyNzQ= | 1,906 | Feature Request: Support for Pandas `Categorical` | ```
from datasets import Dataset
import pandas as pd
import pyarrow
df = pd.DataFrame(pd.Series(["a", "b", "c", "a"], dtype="category"))
pyarrow.Table.from_pandas(df)
Dataset.from_pandas(df)
# Throws NotImplementedError
# TODO(thom) this will need access to the dictionary as well (for labels). I.e. to the py_... | OPEN | 2021-02-18T19:46:05 | 2021-02-23T14:38:50 | null | https://github.com/huggingface/datasets/issues/1906 | {
"login": "justin-yan"
} | {
"nodes": [
{
"name": "enhancement"
},
{
"name": "generic discussion"
}
]
} | [
"We already have a ClassLabel type that does this kind of mapping between the label ids (integers) and actual label values (strings).\r\n\r\nI wonder if actually we should use the DictionaryType from Arrow and the Categorical type from pandas for the `datasets` ClassLabel feature type.\r\nCurrently ClassLabel corre... |
MDU6SXNzdWU4MTAxNTcyNTE= | 1,898 | ALT dataset has repeating instances in all splits | The [ALT](https://huggingface.co/datasets/alt) dataset has all the same instances within each split :/
Seemed like a great dataset for some experiments I wanted to carry out, especially since its medium-sized, and has all splits.
Would be great if this could be fixed :)
Added a snapshot of the contents from `exp... | CLOSED | 2021-02-17T12:51:42 | 2021-02-19T06:18:46 | 2021-02-19T06:18:46 | https://github.com/huggingface/datasets/issues/1898 | {
"login": "10-zin"
} | {
"nodes": [
{
"name": "dataset bug"
}
]
} | [
"Thanks for reporting. This looks like a very bad issue. I'm looking into it",
"I just merged a fix, we'll do a patch release soon. Thanks again for reporting, and sorry for the inconvenience.\r\nIn the meantime you can load `ALT` using `datasets` from the master branch",
"Thanks!!! works perfectly in the blead... |
MDU6SXNzdWU4MDk2MzAyNzE= | 1,895 | Bug Report: timestamp[ns] not recognized | Repro:
```
from datasets import Dataset
import pandas as pd
import pyarrow
df = pd.DataFrame(pd.date_range("2018-01-01", periods=3, freq="H"))
pyarrow.Table.from_pandas(df)
Dataset.from_pandas(df)
# Throws ValueError: Neither timestamp[ns] nor timestamp[ns]_ seems to be a pyarrow data type.
```
The fact... | CLOSED | 2021-02-16T20:38:04 | 2021-02-19T18:27:11 | 2021-02-19T18:27:11 | https://github.com/huggingface/datasets/issues/1895 | {
"login": "justin-yan"
} | {
"nodes": []
} | [
"Thanks for reporting !\r\n\r\nYou're right, `string_to_arrow` should be able to take `\"timestamp[ns]\"` as input and return the right pyarrow timestamp type.\r\nFeel free to suggest a fix for `string_to_arrow` and open a PR if you want to contribute ! This would be very appreciated :)\r\n\r\nTo give you more cont... |
MDU6SXNzdWU4MDk2MDk2NTQ= | 1,894 | benchmarking against MMapIndexedDataset | I am trying to benchmark my datasets based implementation against fairseq's [`MMapIndexedDataset`](https://github.com/pytorch/fairseq/blob/master/fairseq/data/indexed_dataset.py#L365) and finding that, according to psrecord, my `datasets` implem uses about 3% more CPU memory and runs 1% slower for `wikitext103` (~1GB o... | OPEN | 2021-02-16T20:04:58 | 2021-02-17T18:52:28 | null | https://github.com/huggingface/datasets/issues/1894 | {
"login": "sshleifer"
} | {
"nodes": []
} | [
"Hi sam !\r\nIndeed we can expect the performances to be very close since both MMapIndexedDataset and the `datasets` implem use memory mapping. With memory mapping what determines the I/O performance is the speed of your hard drive/SSD.\r\n\r\nIn terms of performance we're pretty close to the optimal speed for read... |
MDU6SXNzdWU4MDk1NTY1MDM= | 1,893 | wmt19 is broken | 1. Check which lang pairs we have: `--dataset_name wmt19`:
Please pick one among the available configs: ['cs-en', 'de-en', 'fi-en', 'gu-en', 'kk-en', 'lt-en', 'ru-en', 'zh-en', 'fr-de']
2. OK, let's pick `ru-en`:
`--dataset_name wmt19 --dataset_config "ru-en"`
no cookies:
```
Traceback (most recent c... | CLOSED | 2021-02-16T18:39:58 | 2021-03-03T17:42:02 | 2021-03-03T17:42:02 | https://github.com/huggingface/datasets/issues/1893 | {
"login": "stas00"
} | {
"nodes": [
{
"name": "dataset bug"
}
]
} | [
"This was also mentioned in https://github.com/huggingface/datasets/issues/488 \r\n\r\nThe bucket where is data was stored seems to be unavailable now. Maybe we can change the URL to the ones in https://conferences.unite.un.org/uncorpus/en/downloadoverview ?",
"Closing since this has been fixed by #1912"
] |
MDU6SXNzdWU4MDk1NTQxNzQ= | 1,892 | request to mirror wmt datasets, as they are really slow to download | Would it be possible to mirror the wmt data files under hf? Some of them take hours to download and not because of the local speed. They are all quite small datasets, just extremely slow to download.
Thank you! | CLOSED | 2021-02-16T18:36:11 | 2021-10-26T06:55:42 | 2021-03-25T11:53:23 | https://github.com/huggingface/datasets/issues/1892 | {
"login": "stas00"
} | {
"nodes": []
} | [
"Yes that would be awesome. Not only the download speeds are awful, but also some files are missing.\r\nWe list all the URLs in the datasets/wmt19/wmt_utils.py so we can make a script to download them all and host on S3.\r\nAlso I think most of the materials are under the CC BY-NC-SA 3.0 license (must double check)... |
MDU6SXNzdWU4MDk1NTAwMDE= | 1,891 | suggestion to improve a missing dataset error | I was using `--dataset_name wmt19` all was good. Then thought perhaps wmt20 is out, so I tried to use `--dataset_name wmt20`, got 3 different errors (1 repeated twice), none telling me the real issue - that `wmt20` isn't in the `datasets`:
```
True, predict_with_generate=True)
Traceback (most recent call last):
... | CLOSED | 2021-02-16T18:29:13 | 2022-10-05T12:48:38 | 2022-10-05T12:48:38 | https://github.com/huggingface/datasets/issues/1891 | {
"login": "stas00"
} | {
"nodes": []
} | [
"This is the current error thrown for missing datasets:\r\n```\r\nFileNotFoundError: Couldn't find a dataset script at C:\\Users\\Mario\\Desktop\\projects\\datasets\\missing_dataset\\missing_dataset.py or any data file in the same directory. Couldn't find 'missing_dataset' on the Hugging Face Hub either: FileNotFou... |
MDU6SXNzdWU4MDg0NjIyNzI= | 1,877 | Allow concatenation of both in-memory and on-disk datasets | This is a prerequisite for the addition of the `add_item` feature (see #1870).
Currently there is one assumption that we would need to change: a dataset is either fully in memory (dataset._data_files is empty), or the dataset can be reloaded from disk (using the dataset._data_files).
This assumption is used for pickl... | CLOSED | 2021-02-15T11:39:46 | 2021-03-26T16:51:58 | 2021-03-26T16:51:58 | https://github.com/huggingface/datasets/issues/1877 | {
"login": "lhoestq"
} | {
"nodes": []
} | [
"I started working on this. My idea is to first add the pyarrow Table wrappers InMemoryTable and MemoryMappedTable that both implement what's necessary regarding copy/pickle. Then have another wrapper that takes the concatenation of InMemoryTable/MemoryMappedTable objects.\r\n\r\nWhat's important here is that conca... |
MDU6SXNzdWU4MDgwMjU4NTk= | 1,876 | load_dataset("multi_woz_v22") NonMatchingChecksumError | Hi, it seems that loading the multi_woz_v22 dataset gives a NonMatchingChecksumError.
To reproduce:
`dataset = load_dataset('multi_woz_v22','v2.2_active_only',split='train')`
This will give the following error:
```
raise NonMatchingChecksumError(error_msg + str(bad_urls))
datasets.utils.info_utils.N... | CLOSED | 2021-02-14T19:14:48 | 2021-08-04T18:08:00 | 2021-08-04T18:08:00 | https://github.com/huggingface/datasets/issues/1876 | {
"login": "Vincent950129"
} | {
"nodes": []
} | [
"Thanks for reporting !\r\nThis is due to the changes made in the data files in the multiwoz repo: https://github.com/budzianowski/multiwoz/pull/59\r\nI'm opening a PR to update the checksums of the data files.",
"I just merged the fix. It will be available in the new release of `datasets` later today.\r\nYou'll ... |
MDU6SXNzdWU4MDc3MTE5MzU= | 1,872 | Adding a new column to the dataset after set_format was called | Hi,
thanks for the nice library. I'm in the process of creating a custom dataset, which has a mix of tensors and lists of strings. I stumbled upon an error and want to know if its a problem on my side.
I load some lists of strings and integers, then call `data.set_format("torch", columns=["some_integer_column1"... | CLOSED | 2021-02-13T09:14:35 | 2021-03-30T14:01:45 | 2021-03-30T14:01:45 | https://github.com/huggingface/datasets/issues/1872 | {
"login": "villmow"
} | {
"nodes": []
} | [
"Hi ! Indeed if you add a column to a formatted dataset, then the new dataset gets a new formatting in which:\r\n```\r\nnew formatted columns = (all columns - previously unformatted columns)\r\n```\r\nTherefore the new column is going to be formatted using the `torch` formatting.\r\n\r\nIf you want your new column ... |
MDU6SXNzdWU4MDcxMjcxODE= | 1,867 | ERROR WHEN USING SET_TRANSFORM() | Hi, I'm trying to use dataset.set_transform(encode) as @lhoestq told me in this issue: https://github.com/huggingface/datasets/issues/1825#issuecomment-774202797
However, when I try to use Trainer from transformers with such dataset, it throws an error:
```
TypeError: __init__() missing 1 required positional arg... | CLOSED | 2021-02-12T10:38:31 | 2021-03-01T14:04:24 | 2021-02-24T12:00:43 | https://github.com/huggingface/datasets/issues/1867 | {
"login": "avacaondata"
} | {
"nodes": []
} | [
"Hi @alejandrocros it looks like an incompatibility with the current Trainer @sgugger \r\nIndeed currently the Trainer of `transformers` doesn't support a dataset with a transform\r\n\r\nIt looks like it comes from this line: https://github.com/huggingface/transformers/blob/f51188cbe74195c14c5b3e2e8f10c2f435f9751a/... |
MDU6SXNzdWU4MDYxNzI4NDM= | 1,864 | Add Winogender Schemas | ## Adding a Dataset
- **Name:** Winogender Schemas
- **Description:** Winogender Schemas (inspired by Winograd Schemas) are minimal pairs of sentences that differ only by the gender of one pronoun in the sentence, designed to test for the presence of gender bias in automated coreference resolution systems.
- **Paper... | CLOSED | 2021-02-11T08:18:38 | 2021-02-11T08:19:51 | 2021-02-11T08:19:51 | https://github.com/huggingface/datasets/issues/1864 | {
"login": "NielsRogge"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"Nevermind, this one is already available on the hub under the name `'wino_bias'`: https://huggingface.co/datasets/wino_bias"
] |
MDU6SXNzdWU4MDYxNzEzMTE= | 1,863 | Add WikiCREM | ## Adding a Dataset
- **Name:** WikiCREM
- **Description:** A large unsupervised corpus for coreference resolution.
- **Paper:** https://arxiv.org/abs/1905.06290
- **Github repo:**: https://github.com/vid-koci/bert-commonsense
- **Data:** https://ora.ox.ac.uk/objects/uuid:c83e94bb-7584-41a1-aef9-85b0e764d9e3
- **... | OPEN | 2021-02-11T08:16:00 | 2021-03-07T07:27:13 | null | https://github.com/huggingface/datasets/issues/1863 | {
"login": "NielsRogge"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"Hi @NielsRogge I would like to work on this dataset.\r\n\r\nThanks!",
"Hi @udapy, are you working on this?"
] |
MDU6SXNzdWU4MDU0NzkwMjU= | 1,859 | Error "in void don't know how to serialize this type of index" when saving index to disk when device=0 (GPU) | Error serializing faiss index. Error as follows:
`Error in void faiss::write_index(const faiss::Index*, faiss::IOWriter*) at /home/conda/feedstock_root/build_artifacts/faiss-split_1612472484670/work/faiss/impl/index_write.cpp:453: don't know how to serialize this type of index`
Note:
`torch.cuda.is_availabl... | CLOSED | 2021-02-10T12:41:00 | 2021-02-10T18:32:12 | 2021-02-10T18:17:47 | https://github.com/huggingface/datasets/issues/1859 | {
"login": "corticalstack"
} | {
"nodes": []
} | [
"Hi @corticalstack ! Thanks for reporting. Indeed in the recent versions of Faiss we must use `getDevice` to check if the index in on GPU.\r\n\r\nI'm opening a PR",
"I fixed this issue. It should work fine now.\r\nFeel free to try it out by installing `datasets` from source.\r\nOtherwise you can wait for the next... |
MDU6SXNzdWU4MDUzOTExMDc= | 1,857 | Unable to upload "community provided" dataset - 400 Client Error | Hi,
i'm trying to a upload a dataset as described [here](https://huggingface.co/docs/datasets/v1.2.0/share_dataset.html#sharing-a-community-provided-dataset). This is what happens:
```
$ datasets-cli login
$ datasets-cli upload_dataset my_dataset
About to upload file /path/to/my_dataset/dataset_infos.json to S3... | CLOSED | 2021-02-10T10:39:01 | 2021-08-03T05:06:13 | 2021-08-03T05:06:13 | https://github.com/huggingface/datasets/issues/1857 | {
"login": "mwrzalik"
} | {
"nodes": []
} | [
"Hi ! We're in the process of switching the community datasets to git repos, exactly like what we're doing for models.\r\nYou can find an example here:\r\nhttps://huggingface.co/datasets/lhoestq/custom_squad/tree/main\r\n\r\nWe'll update the CLI in the coming days and do a new release :)\r\n\r\nAlso cc @julien-c ma... |
MDU6SXNzdWU4MDUzNjAyMDA= | 1,856 | load_dataset("amazon_polarity") NonMatchingChecksumError | Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError.
To reproduce:
```
load_dataset("amazon_polarity")
```
This will give the following error:
```
---------------------------------------------------------------------------
NonMatchingChecksumError Traceback ... | CLOSED | 2021-02-10T10:00:56 | 2022-03-15T13:55:24 | 2022-03-15T13:55:23 | https://github.com/huggingface/datasets/issues/1856 | {
"login": "yanxi0830"
} | {
"nodes": []
} | [
"Hi ! This issue may be related to #996 \r\nThis comes probably from the Quota Exceeded error from Google Drive.\r\nCan you try again tomorrow and see if you still have the error ?\r\n\r\nOn my side I didn't get any error today with `load_dataset(\"amazon_polarity\")`",
"+1 encountering this issue as well",
"@l... |
MDU6SXNzdWU4MDUyMDQzOTc= | 1,854 | Feature Request: Dataset.add_item | I'm trying to integrate `huggingface/datasets` functionality into `fairseq`, which requires (afaict) being able to build a dataset through an `add_item` method, such as https://github.com/pytorch/fairseq/blob/master/fairseq/data/indexed_dataset.py#L318, as opposed to loading all the text into arrow, and then `dataset.m... | CLOSED | 2021-02-10T06:06:00 | 2021-04-23T10:01:30 | 2021-04-23T10:01:30 | https://github.com/huggingface/datasets/issues/1854 | {
"login": "sshleifer"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Hi @sshleifer.\r\n\r\nI am not sure of understanding the need of the `add_item` approach...\r\n\r\nBy just reading your \"Desired API\" section, I would say you could (nearly) get it with a 1-column Dataset:\r\n```python\r\ndata = {\"input_ids\": [np.array([4,4,2]), np.array([8,6,5,5,2]), np.array([3,3,31,5])]}\r\... |
MDU6SXNzdWU4MDQyOTI5NzE= | 1,849 | Add TIMIT | ## Adding a Dataset
- **Name:** *TIMIT*
- **Description:** *The TIMIT corpus of read speech has been designed to provide speech data for the acquisition of acoustic-phonetic knowledge and for the development and evaluation of automatic speech recognition systems*
- **Paper:** *Homepage*: http://groups.inf.ed.ac.uk... | CLOSED | 2021-02-09T07:29:41 | 2021-03-15T05:59:37 | 2021-03-15T05:59:37 | https://github.com/huggingface/datasets/issues/1849 | {
"login": "patrickvonplaten"
} | {
"nodes": [
{
"name": "dataset request"
},
{
"name": "speech"
}
]
} | [
"@patrickvonplaten Could you please help me with how the output text has to be represented in the data? TIMIT has Words, Phonemes and texts. Also has lot on info on the speaker and the dialect. Could you please help me? An example of how to arrange it would be super helpful!\r\n\r\n",
"Hey @vrindaprabhu - sure I'... |
MDU6SXNzdWU4MDM1ODgxMjU= | 1,844 | Update Open Subtitles corpus with original sentence IDs | Hi! It would be great if you could add the original sentence ids to [Open Subtitles](https://huggingface.co/datasets/open_subtitles).
I can think of two reasons: first, it's possible to gather sentences for an entire document (the original ids contain media id, subtitle file id and sentence id), therefore somewhat a... | CLOSED | 2021-02-08T13:55:13 | 2021-02-12T17:38:58 | 2021-02-12T17:38:58 | https://github.com/huggingface/datasets/issues/1844 | {
"login": "Valahaar"
} | {
"nodes": [
{
"name": "good first issue"
}
]
} | [
"Hi ! You're right this can can useful.\r\nThis should be easy to add, so feel free to give it a try if you want to contribute :)\r\nI think we just need to add it to the _generate_examples method of the OpenSubtitles dataset builder [here](https://github.com/huggingface/datasets/blob/master/datasets/open_subtitles... |
MDU6SXNzdWU4MDM1NjUzOTM= | 1,843 | MustC Speech Translation | ## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2... | OPEN | 2021-02-08T13:27:45 | 2026-03-03T08:38:35 | null | https://github.com/huggingface/datasets/issues/1843 | {
"login": "patrickvonplaten"
} | {
"nodes": [
{
"name": "dataset request"
},
{
"name": "speech"
}
]
} | [
"Hi @patrickvonplaten I would like to work on this dataset. \r\n\r\nThanks! ",
"That's awesome! Actually, I just noticed that this dataset might become a bit too big!\r\n\r\nMuST-C is the main dataset used for IWSLT19 and should probably be added as a standalone dataset. Would you be interested also in adding `d... |
MDU6SXNzdWU4MDM1NjMxNDk= | 1,842 | Add AMI Corpus | ## Adding a Dataset
- **Name:** *AMI*
- **Description:** *The AMI Meeting Corpus is a multi-modal data set consisting of 100 hours of meeting recordings. For a gentle introduction to the corpus, see the corpus overview. To access the data, follow the directions given there. Around two-thirds of the data has been elic... | CLOSED | 2021-02-08T13:25:00 | 2023-02-28T16:29:22 | 2023-02-28T16:29:22 | https://github.com/huggingface/datasets/issues/1842 | {
"login": "patrickvonplaten"
} | {
"nodes": [
{
"name": "dataset request"
},
{
"name": "speech"
}
]
} | [
"Available here: ~https://huggingface.co/datasets/ami~ https://huggingface.co/datasets/edinburghcstr/ami",
"@mariosasko actually the \"official\" AMI dataset can be found here: https://huggingface.co/datasets/edinburghcstr/ami -> the old one under `datasets/ami` doesn't work and should be deleted. \r\n\r\nThe new... |
MDU6SXNzdWU4MDM1NjExMjM= | 1,841 | Add ljspeech | ## Adding a Dataset
- **Name:** *ljspeech*
- **Description:** *This is a public domain speech dataset consisting of 13,100 short audio clips of a single speaker reading passages from 7 non-fiction books. A transcription is provided for each clip. Clips vary in length from 1 to 10 seconds and have a total length of ap... | CLOSED | 2021-02-08T13:22:26 | 2021-03-15T05:59:02 | 2021-03-15T05:59:02 | https://github.com/huggingface/datasets/issues/1841 | {
"login": "patrickvonplaten"
} | {
"nodes": [
{
"name": "dataset request"
},
{
"name": "speech"
}
]
} | [] |
MDU6SXNzdWU4MDM1NjAwMzk= | 1,840 | Add common voice | ## Adding a Dataset
- **Name:** *common voice*
- **Description:** *Mozilla Common Voice Dataset*
- **Paper:** Homepage: https://voice.mozilla.org/en/datasets
- **Data:** https://voice.mozilla.org/en/datasets
- **Motivation:** Important speech dataset
- **TFDatasets Implementation**: https://www.tensorflow.org/dat... | CLOSED | 2021-02-08T13:21:05 | 2022-03-20T15:23:40 | 2021-03-15T05:56:21 | https://github.com/huggingface/datasets/issues/1840 | {
"login": "patrickvonplaten"
} | {
"nodes": [
{
"name": "dataset request"
},
{
"name": "speech"
}
]
} | [
"I have started working on adding this dataset.",
"Hey @BirgerMoell - awesome that you started working on Common Voice. Common Voice is a bit special since, there is no direct download link to download the data. In these cases we usually consider two options:\r\n\r\n1) Find a hacky solution to extract the downloa... |
MDU6SXNzdWU4MDM1NTkxNjQ= | 1,839 | Add Voxforge | ## Adding a Dataset
- **Name:** *voxforge*
- **Description:** *VoxForge is a language classification dataset. It consists of user submitted audio clips submitted to the website. In this release, data from 6 languages is collected - English, Spanish, French, German, Russian, and Italian. Since the website is constant... | OPEN | 2021-02-08T13:19:56 | 2021-02-08T13:28:31 | null | https://github.com/huggingface/datasets/issues/1839 | {
"login": "patrickvonplaten"
} | {
"nodes": [
{
"name": "dataset request"
},
{
"name": "speech"
}
]
} | [] |
MDU6SXNzdWU4MDM1NTc1MjE= | 1,838 | Add tedlium | ## Adding a Dataset
- **Name:** *tedlium*
- **Description:** *The TED-LIUM 1-3 corpus is English-language TED talks, with transcriptions, sampled at 16kHz. It contains about 118 hours of speech.*
- **Paper:** Homepage: http://www.openslr.org/7/, https://lium.univ-lemans.fr/en/ted-lium2/ &, https://www.openslr.org/51... | CLOSED | 2021-02-08T13:17:52 | 2022-10-04T14:34:12 | 2022-10-04T14:34:12 | https://github.com/huggingface/datasets/issues/1838 | {
"login": "patrickvonplaten"
} | {
"nodes": [
{
"name": "dataset request"
},
{
"name": "speech"
}
]
} | [
"Hi @patrickvonplaten \r\nI can have a look to this dataset later since I am trying to add the OpenSLR dataset https://github.com/huggingface/datasets/pull/2173\r\nHopefully I have enough space since the compressed file is 21GB. The release 3 is even bigger: 54GB :-0",
"Resolved via https://github.com/huggingface... |
MDU6SXNzdWU4MDM1NTU2NTA= | 1,837 | Add VCTK | ## Adding a Dataset
- **Name:** *VCTK*
- **Description:** *This CSTR VCTK Corpus includes speech data uttered by 110 English speakers with various accents. Each speaker reads out about 400 sentences, which were selected from a newspaper, the rainbow passage and an elicitation paragraph used for the speech accent arch... | CLOSED | 2021-02-08T13:15:28 | 2021-12-28T15:05:08 | 2021-12-28T15:05:08 | https://github.com/huggingface/datasets/issues/1837 | {
"login": "patrickvonplaten"
} | {
"nodes": [
{
"name": "dataset request"
},
{
"name": "speech"
}
]
} | [
"@patrickvonplaten I'd like to take this, if nobody has already done it. I have added datasets before through the datasets sprint, but I feel rusty on the details, so I'll look at the guide as well as similar audio PRs (#1878 in particular comes to mind). If there is any detail I should be aware of please, let me k... |
MDU6SXNzdWU4MDM1MzE4Mzc= | 1,836 | test.json has been removed from the limit dataset repo (breaks dataset) | https://github.com/huggingface/datasets/blob/16042b233dbff2a7585110134e969204c69322c3/datasets/limit/limit.py#L51
The URL is not valid anymore since test.json has been removed in master for some reason. Directly referencing the last commit works:
`https://raw.githubusercontent.com/ilmgut/limit_dataset/0707d3989cd... | CLOSED | 2021-02-08T12:45:53 | 2021-02-10T16:14:58 | 2021-02-10T16:14:58 | https://github.com/huggingface/datasets/issues/1836 | {
"login": "Paethon"
} | {
"nodes": [
{
"name": "dataset bug"
}
]
} | [
"Thanks for the heads up ! I'm opening a PR to fix that"
] |
MDU6SXNzdWU4MDM1MjQ3OTA= | 1,835 | Add CHiME4 dataset | ## Adding a Dataset
- **Name:** Chime4
- **Description:** Chime4 is a dataset for automatic speech recognition. It is especially useful for evaluating models in a noisy environment and for multi-channel ASR
- **Paper:** Dataset comes from a channel: http://spandh.dcs.shef.ac.uk/chime_challenge/CHiME4/ . Results pape... | OPEN | 2021-02-08T12:36:38 | 2025-01-26T16:18:59 | null | https://github.com/huggingface/datasets/issues/1835 | {
"login": "patrickvonplaten"
} | {
"nodes": [
{
"name": "dataset request"
},
{
"name": "speech"
}
]
} | [
"@patrickvonplaten not sure whether it is still needed, but willing to tackle this issue",
"Hey @patrickvonplaten, I have managed to download the zip on [here]( http://spandh.dcs.shef.ac.uk/chime_challenge/CHiME4/download.html) and successfully uploaded all the files on a hugging face dataset: \r\n\r\nhttps://hug... |
MDU6SXNzdWU4MDI4ODA4OTc= | 1,832 | Looks like nokogumbo is up-to-date now, so this is no longer needed. | Looks like nokogumbo is up-to-date now, so this is no longer needed.
__Originally posted by @dependabot in https://github.com/discourse/discourse/pull/11373#issuecomment-738993432__ | CLOSED | 2021-02-07T06:52:07 | 2021-02-08T17:27:29 | 2021-02-08T17:27:29 | https://github.com/huggingface/datasets/issues/1832 | {
"login": "JimmyJim1"
} | {
"nodes": []
} | [] |
MDU6SXNzdWU4MDI4Njg4NTQ= | 1,831 | Some question about raw dataset download info in the project . | Hi , i review the code in
https://github.com/huggingface/datasets/blob/master/datasets/conll2003/conll2003.py
in the _split_generators function is the truly logic of download raw datasets with dl_manager
and use Conll2003 cls by use import_main_class in load_dataset function
My question is that , with this logic i... | CLOSED | 2021-02-07T05:33:36 | 2021-02-25T14:10:18 | 2021-02-25T14:10:18 | https://github.com/huggingface/datasets/issues/1831 | {
"login": "svjack"
} | {
"nodes": []
} | [
"Hi ! The `dl_manager` is a `DownloadManager` object and is responsible for downloading the raw data files.\r\nIt is used by dataset builders in their `_split_generators` method to download the raw data files that are necessary to build the datasets splits.\r\n\r\nThe `Conll2003` class is a dataset builder, and so ... |
MDU6SXNzdWU4MDI3OTAwNzU= | 1,830 | using map on loaded Tokenizer 10x - 100x slower than default Tokenizer? | This could total relate to me misunderstanding particular call functions, but I added words to a GPT2Tokenizer, and saved it to disk (note I'm only showing snippets but I can share more) and the map function ran much slower:
````
def save_tokenizer(original_tokenizer,text,path="simpledata/tokenizer"):
words_u... | OPEN | 2021-02-06T21:00:26 | 2021-02-24T21:56:14 | null | https://github.com/huggingface/datasets/issues/1830 | {
"login": "wumpusman"
} | {
"nodes": []
} | [
"Hi @wumpusman \r\n`datasets` has a caching mechanism that allows to cache the results of `.map` so that when you want to re-run it later it doesn't recompute it again.\r\nSo when you do `.map`, what actually happens is:\r\n1. compute the hash used to identify your `map` for the cache\r\n2. apply your function on e... |
MDU6SXNzdWU4MDIzNTM5NzQ= | 1,827 | Regarding On-the-fly Data Loading | Hi,
I was wondering if it is possible to load images/texts as a batch during the training process, without loading the entire dataset on the RAM at any given point.
Thanks,
Gunjan | CLOSED | 2021-02-05T17:43:48 | 2021-02-18T13:55:16 | 2021-02-18T13:55:16 | https://github.com/huggingface/datasets/issues/1827 | {
"login": "gchhablani"
} | {
"nodes": []
} | [
"Possible duplicate\r\n\r\n#1776 https://github.com/huggingface/datasets/issues/\r\n\r\nreally looking PR for this feature",
"Hi @acul3 \r\n\r\nIssue #1776 talks about doing on-the-fly data pre-processing, which I think is solved in the next release as mentioned in the issue #1825. I also look forward to using t... |
MDU6SXNzdWU4MDIwNzM5MjU= | 1,825 | Datasets library not suitable for huge text datasets. | Hi,
I'm trying to use datasets library to load a 187GB dataset of pure text, with the intention of building a Language Model. The problem is that from the 187GB it goes to some TB when processed by Datasets. First of all, I think the pre-tokenizing step (with tokenizer.map()) is not really thought for datasets this ... | CLOSED | 2021-02-05T11:06:50 | 2021-03-30T14:04:01 | 2021-03-16T09:44:00 | https://github.com/huggingface/datasets/issues/1825 | {
"login": "avacaondata"
} | {
"nodes": []
} | [
"Hi ! Looks related to #861 \r\n\r\nYou are right: tokenizing a dataset using map takes a lot of space since it can store `input_ids` but also `token_type_ids`, `attention_mask` and `special_tokens_mask`. Moreover if your tokenization function returns python integers then by default they'll be stored as int64 which... |
MDU6SXNzdWU4MDE3NDc2NDc= | 1,821 | Provide better exception message when one of many files results in an exception | I find when I process many files, i.e.
```
train_files = glob.glob('rain*.csv')
validation_files = glob.glob(validation*.csv')
datasets = load_dataset("csv", data_files=dict(train=train_files, validation=validation_files))
```
I sometimes encounter an error due to one of the files being misformed (i.e. no dat... | CLOSED | 2021-02-05T00:49:03 | 2021-02-09T17:39:27 | 2021-02-09T17:39:27 | https://github.com/huggingface/datasets/issues/1821 | {
"login": "david-waterworth"
} | {
"nodes": []
} | [
"Hi!\r\n\r\nThank you for reporting this issue. I agree that the information about the exception should be more clear and explicit.\r\n\r\nI could take on this issue.\r\n\r\nOn the meantime, as you can see from the exception stack trace, HF Datasets uses pandas to read the CSV files. You can pass arguments to `pand... |
MDU6SXNzdWU4MDA5NTg3NzY= | 1,818 | Loading local dataset raise requests.exceptions.ConnectTimeout | Load local dataset:
```
dataset = load_dataset('json', data_files=["../../data/json.json"])
train = dataset["train"]
print(train.features)
train1 = train.map(lambda x: {"labels": 1})
print(train1[:2])
```
but it raised requests.exceptions.ConnectTimeout:
```
/Users/littlely/myvirtual/tf2/bin/python3.7 /Us... | CLOSED | 2021-02-04T05:55:23 | 2022-06-01T15:38:42 | 2022-06-01T15:38:42 | https://github.com/huggingface/datasets/issues/1818 | {
"login": "Alxe1"
} | {
"nodes": []
} | [
"Hi ! Thanks for reporting. This was indeed a bug introduced when we moved the `json` dataset loader inside the `datasets` package (before that, the `json` loader was fetched online, as all the other dataset scripts).\r\n\r\nThis should be fixed on master now. Feel free to install `datasets` from source to try it o... |
MDU6SXNzdWU4MDA4NzA2NTI= | 1,817 | pyarrow.lib.ArrowInvalid: Column 1 named input_ids expected length 599 but got length 1500 | I am trying to preprocess any dataset in this package with GPT-2 tokenizer, so I need to structure the datasets as long sequences of text without padding. I've been following a couple of your tutorials and here you can find the script that is failing right at the end
https://github.com/LuCeHe/GenericTools/blob/maste... | CLOSED | 2021-02-04T02:30:23 | 2022-10-05T12:42:57 | 2022-10-05T12:42:57 | https://github.com/huggingface/datasets/issues/1817 | {
"login": "LuCeHe"
} | {
"nodes": []
} | [
"Hi !\r\nThe error you have is due to the `input_ids` column not having the same number of examples as the other columns.\r\nIndeed you're concatenating the `input_ids` at this line:\r\n\r\nhttps://github.com/LuCeHe/GenericTools/blob/431835d8e13ec24dceb5ee4dc4ae58f0e873b091/KerasTools/lm_preprocessing.py#L134\r\n\r... |
MDU6SXNzdWU3OTkyMTEwNjA= | 1,811 | Unable to add Multi-label Datasets | I am trying to add [CIFAR-100](https://www.cs.toronto.edu/~kriz/cifar.html) dataset. The dataset contains two labels per image - `fine label` and `coarse label`. Using just one label in supervised keys as
`supervised_keys=("img", "fine_label")` raises no issue. But trying `supervised_keys=("img", "fine_label","coarse... | CLOSED | 2021-02-02T11:50:56 | 2021-02-18T14:16:31 | 2021-02-18T14:16:31 | https://github.com/huggingface/datasets/issues/1811 | {
"login": "gchhablani"
} | {
"nodes": []
} | [
"Thanks for adding this dataset! As far as I know `supervised_keys` is mostly a holdover from TFDS, but isn't really used, so feel free to drop it (@lhoestq or @thomwolf correct me if I'm wrong). It definitely shouldn't be blocking :) ",
"I can confirm that it comes from TFDS and is not used at the moment.",
"... |
MDU6SXNzdWU3OTkxNjg2NTA= | 1,810 | Add Hateful Memes Dataset | ## Add Hateful Memes Dataset
- **Name:** Hateful Memes
- **Description:** [https://ai.facebook.com/blog/hateful-memes-challenge-and-data-set]( https://ai.facebook.com/blog/hateful-memes-challenge-and-data-set)
- **Paper:** [https://arxiv.org/pdf/2005.04790.pdf](https://arxiv.org/pdf/2005.04790.pdf)
- **Data:** [Thi... | OPEN | 2021-02-02T10:53:59 | 2021-12-08T12:03:59 | null | https://github.com/huggingface/datasets/issues/1810 | {
"login": "gchhablani"
} | {
"nodes": [
{
"name": "dataset request"
},
{
"name": "vision"
}
]
} | [
"I am not sure, but would `datasets.Sequence(datasets.Sequence(datasets.Sequence(datasets.Value(\"int\")))` work?",
"Also, I found the information for loading only subsets of the data [here](https://github.com/huggingface/datasets/blob/master/docs/source/splits.rst).",
"Hi @lhoestq,\r\n\r\nRequest you to check ... |
MDU6SXNzdWU3OTg4NzkxODA= | 1,808 | writing Datasets in a human readable format | Hi
I see there is a save_to_disk function to save data, but this is not human readable format, is there a way I could save a Dataset object in a human readable format to a file like json? thanks @lhoestq | CLOSED | 2021-02-02T02:55:40 | 2022-06-01T15:38:13 | 2022-06-01T15:38:13 | https://github.com/huggingface/datasets/issues/1808 | null | {
"nodes": [
{
"name": "enhancement"
},
{
"name": "question"
}
]
} | [
"AFAIK, there is currently no built-in method on the `Dataset` object to do this.\r\nHowever, a workaround is to directly use the Arrow table backing the dataset, **but it implies loading the whole dataset in memory** (correct me if I'm mistaken @lhoestq).\r\n\r\nYou can convert the Arrow table to a pandas datafram... |
MDU6SXNzdWU3OTg0OTgwNTM= | 1,805 | can't pickle SwigPyObject objects when calling dataset.get_nearest_examples from FAISS index | So, I have the following instances in my dataset
```
{'question': 'An astronomer observes that a planet rotates faster after a meteorite impact. Which is the most likely effect of
this increase in rotation?',
'answer': 'C',
'example_id': 'ARCCH_Mercury_7175875',
'options':[{'option_context': 'One effect of ... | CLOSED | 2021-02-01T16:14:17 | 2021-03-06T14:32:46 | 2021-03-06T14:32:46 | https://github.com/huggingface/datasets/issues/1805 | {
"login": "abarbosa94"
} | {
"nodes": []
} | [
"Hi ! Indeed we used to require mapping functions to be picklable with `pickle` or `dill` in order to cache the resulting datasets. And FAISS indexes are not picklable unfortunately.\r\n\r\nBut since #1703 this is no longer required (the caching will simply be disabled). This change will be available in the next re... |
MDU6SXNzdWU3OTgyNDM5MDQ= | 1,803 | Querying examples from big datasets is slower than small datasets | After some experiments with bookcorpus I noticed that querying examples from big datasets is slower than small datasets.
For example
```python
from datasets import load_dataset
b1 = load_dataset("bookcorpus", split="train[:1%]")
b50 = load_dataset("bookcorpus", split="train[:50%]")
b100 = load_dataset("bookcorp... | CLOSED | 2021-02-01T11:08:23 | 2021-08-04T18:11:01 | 2021-08-04T18:10:42 | https://github.com/huggingface/datasets/issues/1803 | {
"login": "lhoestq"
} | {
"nodes": []
} | [
"Hello, @lhoestq / @gaceladri : We have been seeing similar behavior with bigger datasets, where querying time increases. Are you folks aware of any solution that fixes this problem yet? ",
"Hi ! I'm pretty sure that it can be fixed by using the Arrow IPC file format instead of the raw streaming format but I ha... |
MDU6SXNzdWU3OTczNTc5MDE= | 1,797 | Connection error | Hi
I am hitting to the error, help me and thanks.
`train_data = datasets.load_dataset("xsum", split="train")`
`ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/xsum/xsum.py` | CLOSED | 2021-01-30T07:32:45 | 2021-08-04T18:09:37 | 2021-08-04T18:09:37 | https://github.com/huggingface/datasets/issues/1797 | {
"login": "smile0925"
} | {
"nodes": []
} | [
"Hi ! For future references let me add a link to our discussion here : https://github.com/huggingface/datasets/issues/759#issuecomment-770684693\r\n\r\nLet me know if you manage to fix your proxy issue or if we can do something on our end to help you :)"
] |
MDU6SXNzdWU3OTczMjk5MDU= | 1,796 | Filter on dataset too much slowww | I have a dataset with 50M rows.
For pre-processing, I need to tokenize this and filter rows with the large sequence.
My tokenization took roughly 12mins. I used `map()` with batch size 1024 and multi-process with 96 processes.
When I applied the `filter()` function it is taking too much time. I need to filter se... | OPEN | 2021-01-30T04:09:19 | 2026-05-21T23:28:03 | null | https://github.com/huggingface/datasets/issues/1796 | {
"login": "ayubSubhaniya"
} | {
"nodes": []
} | [
"When I use the filter on the arrow table directly, it works like butter. But I can't find a way to update the table in `Dataset` object.\r\n\r\n```\r\nds_table = dataset.data.filter(mask=dataset['flag'])\r\n```",
"@thomwolf @lhoestq can you guys please take a look and recommend some solution.",
"Hi ! Currently... |
MDU6SXNzdWU3OTY2NzgxNTc= | 1,790 | ModuleNotFoundError: No module named 'apache_beam', when specific languages. | ```py
import datasets
wiki = datasets.load_dataset('wikipedia', '20200501.ja', cache_dir='./datasets')
```
then `ModuleNotFoundError: No module named 'apache_beam'` happend.
The error doesn't appear when it's '20200501.en'.
I don't know Apache Beam, but according to #498 it isn't necessary when it's saved to lo... | OPEN | 2021-01-29T08:17:24 | 2026-05-21T23:27:57 | null | https://github.com/huggingface/datasets/issues/1790 | {
"login": "miyamonz"
} | {
"nodes": []
} | [
"Hi !\r\n\r\nApache Beam is a framework used to define data transformation pipelines. These pipeline can then be run in many runtimes: DataFlow, Spark, Flink, etc. There also exist a local runner called the DirectRunner.\r\nWikipedia is a dataset that requires some parsing, so to allow the processing to be run on t... |
MDU6SXNzdWU3OTU0NjI4MTY= | 1,786 | How to use split dataset | 
Hey,
I want to split the lambada dataset into corpus, test, train and valid txt files (like penn treebank) but I am not able to achieve this. What I am doing is, executing the lambada.py file in my pro... | CLOSED | 2021-01-27T21:37:47 | 2021-04-23T15:17:39 | 2021-04-23T15:17:39 | https://github.com/huggingface/datasets/issues/1786 | {
"login": "kkhan188"
} | {
"nodes": [
{
"name": "question"
}
]
} | [
"By default, all 3 splits will be loaded if you run the following:\r\n\r\n```python\r\nfrom datasets import load_dataset\r\ndataset = load_dataset(\"lambada\")\r\nprint(dataset[\"train\"])\r\nprint(dataset[\"valid\"])\r\n\r\n```\r\n\r\nIf you wanted to do load this manually, you could do this:\r\n\r\n```python\r\nf... |
MDU6SXNzdWU3OTU0NTg4NTY= | 1,785 | Not enough disk space (Needed: Unknown size) when caching on a cluster | I'm running some experiments where I'm caching datasets on a cluster and accessing it through multiple compute nodes. However, I get an error when loading the cached dataset from the shared disk.
The exact error thrown:
```bash
>>> load_dataset(dataset, cache_dir="/path/to/cluster/shared/path")
OSError: Not eno... | CLOSED | 2021-01-27T21:30:59 | 2024-12-04T02:57:00 | 2021-01-30T01:07:56 | https://github.com/huggingface/datasets/issues/1785 | {
"login": "olinguyen"
} | {
"nodes": []
} | [
"Hi ! \r\n\r\nWhat do you mean by \"disk_usage(\".\").free` can't compute on the cluster's shared disk\" exactly ?\r\nDoes it return 0 ?",
"Yes, that's right. It shows 0 free space even though there is. I suspect it might have to do with permissions on the shared disk.\r\n\r\n```python\r\n>>> disk_usage(\".\")\r\... |
MDU6SXNzdWU3OTQ2NTkxNzQ= | 1,784 | JSONDecodeError on JSON with multiple lines | Hello :),
I have been trying to load data using a JSON file. Based on the [docs](https://huggingface.co/docs/datasets/loading_datasets.html#json-files), the following format is supported:
```json
{"key1":11, "key2":12, "key3":13}
{"key1":21, "key2":22, "key3":23}
```
But, when I try loading a dataset with th... | CLOSED | 2021-01-27T00:19:22 | 2021-01-31T08:47:18 | 2021-01-31T08:47:18 | https://github.com/huggingface/datasets/issues/1784 | {
"login": "gchhablani"
} | {
"nodes": []
} | [
"Hi !\r\n\r\nThe `json` dataset script does support this format. For example loading a dataset with this format works on my side:\r\n```json\r\n{\"key1\":11, \"key2\":12, \"key3\":13}\r\n{\"key1\":21, \"key2\":22, \"key3\":23}\r\n```\r\n\r\nCan you show the full stacktrace please ? Also which version of datasets an... |
MDU6SXNzdWU3OTQ1NDQ0OTU= | 1,783 | Dataset Examples Explorer | In the Older version of the Dataset, there are a useful Dataset Explorer that allow user to visualize the examples (training, test and validation) of a particular dataset, it is no longer there in current version.
Hope HuggingFace can re-enable the feature that at least allow viewing of the first 20 examples of a ... | CLOSED | 2021-01-26T20:39:02 | 2021-02-01T13:58:44 | 2021-02-01T13:58:44 | https://github.com/huggingface/datasets/issues/1783 | {
"login": "ChewKokWah"
} | {
"nodes": []
} | [
"Hi @ChewKokWah,\r\n\r\nWe're working on it! In the meantime, you can still find the dataset explorer at the following URL: https://huggingface.co/datasets/viewer/",
"Glad to see that it still exist, this existing one is more than good enough for me, it is feature rich, simple to use and concise. \r\nHope similar... |
MDU6SXNzdWU3OTM5MTQ1NTY= | 1,781 | AttributeError: module 'pyarrow' has no attribute 'PyExtensionType' during import | I'm using Colab. And suddenly this morning, there is this error. Have a look below!

| CLOSED | 2021-01-26T04:18:35 | 2024-07-07T17:55:12 | 2022-10-05T12:37:06 | https://github.com/huggingface/datasets/issues/1781 | {
"login": "PalaashAgrawal"
} | {
"nodes": []
} | [
"Hi ! I'm not able to reproduce the issue. Can you try restarting your runtime ?\r\n\r\nThe PyExtensionType is available in pyarrow starting 0.17.1 iirc. If restarting your runtime doesn't fix this, can you try updating pyarrow ?\r\n```\r\npip install pyarrow --upgrade\r\n```",
"We should bump up the version test... |
MDU6SXNzdWU3OTMyNzM3NzA= | 1,777 | GPT2 MNLI training using run_glue.py | Edit: I'm closing this because I actually meant to post this in `transformers `not `datasets`
Running this on Google Colab,
```
!python run_glue.py \
--model_name_or_path gpt2 \
--task_name mnli \
--do_train \
--do_eval \
--max_seq_length 128 \
--per_gpu_train_batch_size 10 \
--gradient_accu... | CLOSED | 2021-01-25T10:53:52 | 2021-01-25T11:12:53 | 2021-01-25T11:12:53 | https://github.com/huggingface/datasets/issues/1777 | {
"login": "nlp-student"
} | {
"nodes": []
} | [] |
MDU6SXNzdWU3OTI3NTUyNDk= | 1,776 | [Question & Bug Report] Can we preprocess a dataset on the fly? | I know we can use `Datasets.map` to preprocess a dataset, but I'm using it with very large corpus which generates huge cache file (several TB cache from a 400 GB text file). I have no disk large enough to save it. Can we preprocess a dataset on the fly without generating cache?
BTW, I tried raising `writer_batch_si... | CLOSED | 2021-01-24T09:28:24 | 2021-05-20T04:15:58 | 2021-05-20T04:15:58 | https://github.com/huggingface/datasets/issues/1776 | {
"login": "shuaihuaiyi"
} | {
"nodes": []
} | [
"We are very actively working on this. How does your dataset look like in practice (number/size/type of files)?",
"It's a text file with many lines (about 1B) of Chinese sentences. I use it to train language model using https://github.com/huggingface/transformers/blob/master/examples/language-modeling/run_mlm_wwm... |
MDU6SXNzdWU3OTI3NDIxMjA= | 1,775 | Efficient ways to iterate the dataset | For a large dataset that does not fits the memory, how can I select only a subset of features from each example?
If I iterate over the dataset and then select the subset of features one by one, the resulted memory usage will be huge. Any ways to solve this?
Thanks | CLOSED | 2021-01-24T07:54:31 | 2021-01-24T09:50:39 | 2021-01-24T09:50:39 | https://github.com/huggingface/datasets/issues/1775 | {
"login": "zhongpeixiang"
} | {
"nodes": []
} | [
"It seems that selecting a subset of colums directly from the dataset, i.e., dataset[\"column\"], is slow.",
"I was wrong, ```dataset[\"column\"]``` is fast."
] |
MDU6SXNzdWU3OTI3MzA1NTk= | 1,774 | is it possible to make slice to be more compatible like python list and numpy? | Hi,
see below error:
```
AssertionError: Requested slice [:10000000000000000] incompatible with 20 examples.
``` | CLOSED | 2021-01-24T06:15:52 | 2024-01-31T15:54:18 | 2024-01-31T15:54:18 | https://github.com/huggingface/datasets/issues/1774 | {
"login": "world2vec"
} | {
"nodes": []
} | [
"Hi ! Thanks for reporting.\r\nI am working on changes in the way data are sliced from arrow. I can probably fix your issue with the changes I'm doing.\r\nIf you have some code to reproduce the issue it would be nice so I can make sure that this case will be supported :)\r\nI'll make a PR in a few days ",
"Good i... |
MDU6SXNzdWU3OTI3MDgxNjA= | 1,773 | bug in loading datasets | Hi,
I need to load a dataset, I use these commands:
```
from datasets import load_dataset
dataset = load_dataset('csv', data_files={'train': 'sick/train.csv',
'test': 'sick/test.csv',
'validation': 'sick/validation.csv'})
prin... | CLOSED | 2021-01-24T02:53:45 | 2021-09-06T08:54:46 | 2021-08-04T18:13:01 | https://github.com/huggingface/datasets/issues/1773 | null | {
"nodes": []
} | [
"Looks like an issue with your csv file. Did you use the right delimiter ?\r\nApparently at line 37 the CSV reader from pandas reads 2 fields instead of 1.",
"Note that you can pass any argument you would pass to `pandas.read_csv` as kwargs to `load_dataset`. For example you can do\r\n```python\r\nfrom datasets i... |
MDU6SXNzdWU3OTI3MDM3OTc= | 1,772 | Adding SICK dataset | Hi
It would be great to include SICK dataset.
## Adding a Dataset
- **Name:** SICK
- **Description:** a well known entailment dataset
- **Paper:** http://marcobaroni.org/composes/sick.html
- **Data:** http://marcobaroni.org/composes/sick.html
- **Motivation:** this is an important NLI benchmark
Instruction... | CLOSED | 2021-01-24T02:15:31 | 2021-02-05T15:49:25 | 2021-02-05T15:49:25 | https://github.com/huggingface/datasets/issues/1772 | null | {
"nodes": [
{
"name": "dataset request"
}
]
} | [] |
MDU6SXNzdWU3OTI3MDEyNzY= | 1,771 | Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.2.1/datasets/csv/csv.py | Hi,
When I load_dataset from local csv files, below error happened, looks raw.githubusercontent.com was blocked by the chinese government. But why it need to download csv.py? should it include when pip install the dataset?
```
Traceback (most recent call last):
File "/home/tom/pyenv/pystory/lib/python3.6/site-p... | CLOSED | 2021-01-24T01:53:52 | 2021-01-24T23:06:29 | 2021-01-24T23:06:29 | https://github.com/huggingface/datasets/issues/1771 | {
"login": "world2vec"
} | {
"nodes": []
} | [
"I temporary manually download csv.py as custom dataset loading script",
"Indeed in 1.2.1 the script to process csv file is downloaded. Starting from the next release though we include the csv processing directly in the library.\r\nSee PR #1726 \r\nWe'll do a new release soon :)",
"Thanks."
] |
MDU6SXNzdWU3OTI2OTgxNDg= | 1,770 | how can I combine 2 dataset with different/same features? | to combine 2 dataset by one-one map like ds = zip(ds1, ds2):
ds1: {'text'}, ds2: {'text'}, combine ds:{'src', 'tgt'}
or different feature:
ds1: {'src'}, ds2: {'tgt'}, combine ds:{'src', 'tgt'} | CLOSED | 2021-01-24T01:26:06 | 2022-06-01T15:43:15 | 2022-06-01T15:43:15 | https://github.com/huggingface/datasets/issues/1770 | {
"login": "world2vec"
} | {
"nodes": []
} | [
"Hi ! Currently we don't have a way to `zip` datasets but we plan to add this soon :)\r\nFor now you'll need to use `map` to add the fields from one dataset to the other. See the comment here for more info : https://github.com/huggingface/datasets/issues/853#issuecomment-727872188",
"Good to hear.\r\nCurrently I ... |
MDU6SXNzdWU3OTI1MjMyODQ= | 1,769 | _pickle.PicklingError: Can't pickle typing.Union[str, NoneType]: it's not the same object as typing.Union when calling datasets.map with num_proc=2 | It may be a bug of multiprocessing with Datasets, when I disable the multiprocessing by set num_proc to None, everything works fine.
The script I use is https://github.com/huggingface/transformers/blob/master/examples/language-modeling/run_mlm_wwm.py
Script args:
```
--model_name_or_path
../../../model/chine... | CLOSED | 2021-01-23T10:13:00 | 2022-10-05T12:38:51 | 2022-10-05T12:38:51 | https://github.com/huggingface/datasets/issues/1769 | {
"login": "shuaihuaiyi"
} | {
"nodes": []
} | [
"More information: `run_mlm.py` will raise same error when `data_args.line_by_line==True`\r\n\r\nhttps://github.com/huggingface/transformers/blob/9152f16023b59d262b51573714b40325c8e49370/examples/language-modeling/run_mlm.py#L300\r\n",
"Hi ! What version of python and datasets do you have ? And also what version ... |
MDU6SXNzdWU3OTIwNDQxMDU= | 1,766 | Issues when run two programs compute the same metrics | I got the following error when running two different programs that both compute sacreblue metrics. It seems that both read/and/write to the same location (.cache/huggingface/metrics/sacrebleu/default/default_experiment-1-0.arrow) where it caches the batches:
```
File "train_matching_min.py", line 160, in <module>ch... | CLOSED | 2021-01-22T14:22:55 | 2021-02-02T10:38:06 | 2021-02-02T10:38:06 | https://github.com/huggingface/datasets/issues/1766 | {
"login": "lamthuy"
} | {
"nodes": []
} | [
"Hi ! To avoid collisions you can specify a `experiment_id` when instantiating your metric using `load_metric`. It will replace \"default_experiment\" with the experiment id that you provide in the arrow filename. \r\n\r\nAlso when two `experiment_id` collide we're supposed to detect it using our locking mechanism.... |
MDU6SXNzdWU3OTE1NTMwNjU= | 1,765 | Error iterating over Dataset with DataLoader | I have a Dataset that I've mapped a tokenizer over:
```
encoded_dataset.set_format(type='torch',columns=['attention_mask','input_ids','token_type_ids'])
encoded_dataset[:1]
```
```
{'attention_mask': tensor([[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]),
'input_ids': tensor([[ 101, 178, 1198, 1400, 1714, 22233, 2... | CLOSED | 2021-01-21T22:56:45 | 2022-10-28T02:16:38 | 2021-01-23T03:44:14 | https://github.com/huggingface/datasets/issues/1765 | {
"login": "EvanZ"
} | {
"nodes": []
} | [
"Instead of:\r\n```python\r\ndataloader = torch.utils.data.DataLoader(encoded_dataset, batch_sampler=32)\r\n```\r\nIt should be:\r\n```python\r\ndataloader = torch.utils.data.DataLoader(encoded_dataset, batch_size=32)\r\n```\r\n\r\n`batch_sampler` accepts a Sampler object or an Iterable, so you get an error.",
"@... |
MDU6SXNzdWU3OTE0ODY4NjA= | 1,764 | Connection Issues | Today, I am getting connection issues while loading a dataset and the metric.
```
Traceback (most recent call last):
File "src/train.py", line 180, in <module>
train_dataset, dev_dataset, test_dataset = create_race_dataset()
File "src/train.py", line 130, in create_race_dataset
train_dataset = load_da... | CLOSED | 2021-01-21T20:56:09 | 2021-01-21T21:00:19 | 2021-01-21T21:00:02 | https://github.com/huggingface/datasets/issues/1764 | {
"login": "SaeedNajafi"
} | {
"nodes": []
} | [
"Academic WIFI was blocking."
] |
MDU6SXNzdWU3OTEyMjYwMDc= | 1,762 | Unable to format dataset to CUDA Tensors | Hi,
I came across this [link](https://huggingface.co/docs/datasets/torch_tensorflow.html) where the docs show show to convert a dataset to a particular format. I see that there is an option to convert it to tensors, but I don't see any option to convert it to CUDA tensors.
I tried this, but Dataset doesn't suppor... | CLOSED | 2021-01-21T15:31:23 | 2026-01-23T11:59:28 | 2021-02-02T07:13:22 | https://github.com/huggingface/datasets/issues/1762 | {
"login": "gchhablani"
} | {
"nodes": []
} | [
"Hi ! You can get CUDA tensors with\r\n\r\n```python\r\ndataset.set_format(\"torch\", columns=columns, device=\"cuda\")\r\n```\r\n\r\nIndeed `set_format` passes the `**kwargs` to `torch.tensor`",
"Hi @lhoestq,\r\n\r\nThanks a lot. Is this true for all format types?\r\n\r\nAs in, for 'torch', I can have `**kwargs`... |
MDU6SXNzdWU3OTA5OTIyMjY= | 1,759 | wikipedia dataset incomplete | Hey guys,
I am using the https://github.com/huggingface/datasets/tree/master/datasets/wikipedia dataset.
Unfortunately, I found out that there is an incompleteness for the German dataset.
For reasons unknown to me, the number of inhabitants has been removed from many pages:
Thorey-sur-Ouche has 128 inhabitants a... | CLOSED | 2021-01-21T11:47:15 | 2021-01-21T17:22:11 | 2021-01-21T17:21:06 | https://github.com/huggingface/datasets/issues/1759 | {
"login": "ChrisDelClea"
} | {
"nodes": []
} | [
"Hi !\r\nFrom what pickle file fo you get this ?\r\nI guess you mean the dataset loaded using `load_dataset` ?",
"yes sorry, I used the `load_dataset`function and saved the data to a pickle file so I don't always have to reload it and are able to work offline. ",
"The wikipedia articles are processed using the ... |
MDU6SXNzdWU3OTA2MjYxMTY= | 1,758 | dataset.search() (elastic) cannot reliably retrieve search results | I am trying to use elastic search to retrieve the indices of items in the dataset in their precise order, given shuffled training indices.
The problem I have is that I cannot retrieve reliable results with my data on my first search. I have to run the search **twice** to get the right answer.
I am indexing data t... | CLOSED | 2021-01-21T02:26:37 | 2021-01-22T00:25:50 | 2021-01-22T00:25:50 | https://github.com/huggingface/datasets/issues/1758 | {
"login": "afogarty85"
} | {
"nodes": []
} | [
"Hi !\r\nI tried your code on my side and I was able to workaround this issue by waiting a few seconds before querying the index.\r\nMaybe this is because the index is not updated yet on the ElasticSearch side ?",
"Thanks for the feedback! I added a 30 second \"sleep\" and that seemed to work well!"
] |
MDU6SXNzdWU3OTA0NjY1MDk= | 1,757 | FewRel | ## Adding a Dataset
- **Name:** FewRel
- **Description:** Large-Scale Supervised Few-Shot Relation Classification Dataset
- **Paper:** @inproceedings{han2018fewrel,
title={FewRel:A Large-Scale Supervised Few-Shot Relation Classification Dataset with State-of-the-Art Evaluation},
auth... | CLOSED | 2021-01-20T23:56:03 | 2021-03-09T02:52:05 | 2021-03-08T14:34:52 | https://github.com/huggingface/datasets/issues/1757 | {
"login": "dspoka"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"+1",
"@dspoka Please check the following link : https://github.com/thunlp/FewRel\r\nThis link mentions two versions of the datasets. Also, this one seems to be the official link.\r\n\r\nI am assuming this is the correct link and implementing based on the same.",
"Hi @lhoestq,\r\n\r\nThis issue can be closed, I... |
MDU6SXNzdWU3OTAzODAwMjg= | 1,756 | Ccaligned multilingual translation dataset | ## Adding a Dataset
- **Name:** *name of the dataset*
- **Description:** *short description of the dataset (or link to social media or blog post)*
- CCAligned consists of parallel or comparable web-document pairs in 137 languages aligned with English. These web-document pairs were constructed by performing language ... | CLOSED | 2021-01-20T22:18:44 | 2021-03-01T10:36:21 | 2021-03-01T10:36:21 | https://github.com/huggingface/datasets/issues/1756 | {
"login": "flozi00"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [] |
MDU6SXNzdWU3OTAzMjQ3MzQ= | 1,755 | Using select/reordering datasets slows operations down immensely | I am using portions of HF's helpful work in preparing / scoring the SQuAD 2.0 data. The problem I have is that after using `select` to re-ordering the dataset, computations slow down immensely where the total scoring process on 131k training examples would take maybe 3 minutes, now take over an hour.
The below examp... | CLOSED | 2021-01-20T21:12:12 | 2021-01-20T22:03:39 | 2021-01-20T22:03:39 | https://github.com/huggingface/datasets/issues/1755 | {
"login": "afogarty85"
} | {
"nodes": []
} | [
"You can use `Dataset.flatten_indices()` to make it fast after a select or shuffle.",
"Thanks for the input! I gave that a try by adding this after my selection / reordering operations, but before the big computation task of `score_squad`\r\n\r\n```\r\nexamples = examples.flatten_indices()\r\nfeatures = features.... |
MDU6SXNzdWU3ODgyOTk3NzU= | 1,747 | datasets slicing with seed | Hi
I need to slice a dataset with random seed, I looked into documentation here https://huggingface.co/docs/datasets/splits.html
I could not find a seed option, could you assist me please how I can get a slice for different seeds?
thank you.
@lhoestq | CLOSED | 2021-01-18T14:08:55 | 2022-10-05T12:37:27 | 2022-10-05T12:37:27 | https://github.com/huggingface/datasets/issues/1747 | null | {
"nodes": []
} | [
"Hi :) \r\nThe slicing API from https://huggingface.co/docs/datasets/splits.html doesn't shuffle the data.\r\nYou can shuffle and then take a subset of your dataset with\r\n```python\r\n# shuffle and take the first 100 examples\r\ndataset = dataset.shuffle(seed=42).select(range(100))\r\n```\r\n\r\nYou can find more... |
MDU6SXNzdWU3ODc4MzgyNTY= | 1,745 | difference between wsc and wsc.fixed for superglue | Hi
I see two versions of wsc in superglue, and I am not sure what is the differences and which one is the original one. could you help to discuss the differences? thanks @lhoestq | CLOSED | 2021-01-18T00:50:19 | 2021-01-18T11:02:43 | 2021-01-18T00:59:34 | https://github.com/huggingface/datasets/issues/1745 | null | {
"nodes": []
} | [
"From the description given in the dataset script for `wsc.fixed`:\r\n```\r\nThis version fixes issues where the spans are not actually substrings of the text.\r\n```"
] |
MDU6SXNzdWU3ODc2MzE0MTI= | 1,743 | Issue while Creating Custom Metric | Hi Team,
I am trying to create a custom metric for my training as follows, where f1 is my own metric:
```python
def _info(self):
# TODO: Specifies the datasets.MetricInfo object
return datasets.MetricInfo(
# This is the description that will appear on the metrics page.
... | CLOSED | 2021-01-17T07:01:14 | 2022-06-01T15:49:34 | 2022-06-01T15:49:34 | https://github.com/huggingface/datasets/issues/1743 | {
"login": "gchhablani"
} | {
"nodes": []
} | [
"Currently it's only possible to define the features for the two columns `references` and `predictions`.\r\nThe data for these columns can then be passed to `metric.add_batch` and `metric.compute`.\r\nInstead of defining more columns `text`, `offset_mapping` and `ground` you must include them in either references a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.