id
int64
600M
4.6B
node_id
stringlengths
18
24
number
int64
2
8.24k
title
stringlengths
1
290
state
stringclasses
2 values
state_reason
stringclasses
5 values
created_at
timestamp[s]date
2020-04-14 18:18:51
2026-06-05 18:08:17
updated_at
timestamp[s]date
2020-04-29 09:23:05
2026-06-05 21:18:34
closed_at
stringlengths
0
20
html_url
stringlengths
48
51
user
stringlengths
3
26
labels
listlengths
0
4
assignees
listlengths
0
4
milestone
stringclasses
7 values
comments
listlengths
0
70
author_association
stringclasses
4 values
body
stringlengths
0
228k
944,254,748
MDU6SXNzdWU5NDQyNTQ3NDg=
2,644
Batched `map` not allowed to return 0 items
closed
completed
2021-07-14T09:58:19
2021-07-26T14:55:15
2021-07-26T14:55:15Z
https://github.com/huggingface/datasets/issues/2644
pcuenca
[ "bug" ]
[]
[ "Hi ! Thanks for reporting. Indeed it looks like type inference makes it fail. We should probably just ignore this step until a non-empty batch is passed.", "Sounds good! Do you want me to propose a PR? I'm quite busy right now, but if it's not too urgent I could take a look next week.", "Sure if you're interes...
MEMBER
## Describe the bug I'm trying to use `map` to filter a large dataset by selecting rows that match an expensive condition (files referenced by one of the columns need to exist in the filesystem, so we have to `stat` them). According to [the documentation](https://huggingface.co/docs/datasets/processing.html#augmenting...
944,220,273
MDU6SXNzdWU5NDQyMjAyNzM=
2,643
Enum used in map functions will raise a RecursionError with dill.
open
2021-07-14T09:16:08
2021-11-02T09:51:11
https://github.com/huggingface/datasets/issues/2643
jorgeecardona
[ "bug" ]
[]
[ "I'm running into this as well. (Thank you so much for reporting @jorgeecardona β€” was staring at this massive stack trace and unsure what exactly was wrong!)", "Hi ! Thanks for reporting :)\r\n\r\nUntil this is fixed on `dill`'s side, we could implement a custom saving in our Pickler indefined in utils.py_utils.p...
NONE
## Describe the bug Enums used in functions pass to `map` will fail at pickling with a maximum recursion exception as described here: https://github.com/uqfoundation/dill/issues/250#issuecomment-852566284 In my particular case, I use an enum to define an argument with fixed options using the `TraininigArguments` ...
944,175,697
MDU6SXNzdWU5NDQxNzU2OTc=
2,642
Support multi-worker with streaming dataset (IterableDataset).
open
2021-07-14T08:22:58
2024-05-03T10:11:04
https://github.com/huggingface/datasets/issues/2642
changjonathanc
[ "enhancement" ]
[]
[ "Hi ! This is a great idea :)\r\nI think we could have something similar to what we have in `datasets.Dataset.map`, i.e. a `num_proc` parameter that tells how many processes to spawn to parallelize the data processing. \r\n\r\nRegarding AUTOTUNE, this could be a nice feature as well, we could see how to add it in a...
CONTRIBUTOR
**Is your feature request related to a problem? Please describe.** The current `.map` does not support multi-process, CPU can become bottleneck if the pre-processing is complex (e.g. t5 span masking). **Describe the solution you'd like** Ideally `.map` should support multi-worker like tfds, with `AUTOTUNE`. **D...
943,838,085
MDU6SXNzdWU5NDM4MzgwODU=
2,641
load_dataset("financial_phrasebank") NonMatchingChecksumError
closed
completed
2021-07-13T21:21:49
2022-08-04T08:30:08
2022-08-04T08:30:08Z
https://github.com/huggingface/datasets/issues/2641
courtmckay
[ "bug" ]
[]
[ "Hi! It's probably because this dataset is stored on google drive and it has a per day quota limit. It should work if you retry, I was able to initiate the download.\r\n\r\nSimilar issue [here](https://github.com/huggingface/datasets/issues/2646)", "Hi ! Loading the dataset works on my side as well.\r\nFeel free ...
NONE
## Describe the bug Attempting to download the financial_phrasebank dataset results in a NonMatchingChecksumError ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("financial_phrasebank", 'sentences_allagree') ``` ## Expected results I expect to see the financi...
942,102,956
MDU6SXNzdWU5NDIxMDI5NTY=
2,630
Progress bars are not properly rendered in Jupyter notebook
closed
completed
2021-07-12T14:07:13
2022-02-03T15:55:33
2022-02-03T15:55:33Z
https://github.com/huggingface/datasets/issues/2630
albertvillanova
[ "bug" ]
[]
[ "To add my experience when trying to debug this issue:\r\n\r\nSeems like previously the workaround given [here](https://github.com/tqdm/tqdm/issues/485#issuecomment-473338308) worked around this issue. But with the latest version of jupyter/tqdm I still get terminal warnings that IPython tried to send a message fro...
MEMBER
## Describe the bug The progress bars are not Jupyter widgets; regular progress bars appear (like in a terminal). ## Steps to reproduce the bug ```python ds.map(tokenize, num_proc=10) ``` ## Expected results Jupyter widgets displaying the progress bars. ## Actual results Simple plane progress bars. cc...
941,819,205
MDU6SXNzdWU5NDE4MTkyMDU=
2,629
Load datasets from the Hub without requiring a dataset script
closed
completed
2021-07-12T08:45:17
2021-08-25T14:18:08
2021-08-25T14:18:08Z
https://github.com/huggingface/datasets/issues/2629
lhoestq
[]
[ "lhoestq" ]
[ "This is so cool, let us know if we can help with anything on the hub side (@Pierrci @elishowk) πŸŽ‰ " ]
MEMBER
As a user I would like to be able to upload my csv/json/text/parquet/etc. files in a dataset repository on the Hugging Face Hub and be able to load this dataset with `load_dataset` without having to implement a dataset script. Moreover I would like to be able to specify which file goes into which split using the `da...
941,439,922
MDU6SXNzdWU5NDE0Mzk5MjI=
2,625
βš›οΈπŸ˜‡βš™οΈπŸ”‘
closed
completed
2021-07-11T12:14:34
2021-07-12T05:55:59
2021-07-12T05:55:59Z
https://github.com/huggingface/datasets/issues/2625
hustlen0mics
[]
[]
[]
NONE
941,318,247
MDU6SXNzdWU5NDEzMTgyNDc=
2,624
can't set verbosity for `metric.py`
closed
completed
2021-07-10T20:23:45
2021-07-12T05:54:29
2021-07-12T05:54:29Z
https://github.com/huggingface/datasets/issues/2624
thomas-happify
[ "bug" ]
[]
[ "Thanks @thomas-happify for reporting and thanks @mariosasko for the fix." ]
NONE
## Describe the bug ``` [2021-07-10 20:13:11,528][datasets.utils.filelock][INFO] - Lock 139705371374976 acquired on /root/.cache/huggingface/metrics/seqeval/default/default_experiment-1-0.arrow.lock [2021-07-10 20:13:11,529][datasets.arrow_writer][INFO] - Done writing 32 examples in 6100 bytes /root/.cache/huggingfa...
941,127,785
MDU6SXNzdWU5NDExMjc3ODU=
2,622
Integration with AugLy
closed
not_planned
2021-07-10T00:03:09
2023-07-20T13:18:48
2023-07-20T13:18:47Z
https://github.com/huggingface/datasets/issues/2622
Darktex
[ "enhancement" ]
[]
[ "Hi,\r\n\r\nyou can define your own custom formatting with `Dataset.set_transform()` and then run the tokenizer with the batches of augmented data as follows:\r\n```python\r\ndset = load_dataset(\"imdb\", split=\"train\") # Let's say we are working with the IMDB dataset\r\ndset.set_transform(lambda ex: {\"text\": ...
NONE
**Is your feature request related to a problem? Please describe.** Facebook recently launched a library, [AugLy](https://github.com/facebookresearch/AugLy) , that has a unified API for augmentations for image, video and text. It would be pretty exciting to have it hooked up to HF libraries so that we can make NLP m...
940,852,640
MDU6SXNzdWU5NDA4NTI2NDA=
2,618
`filelock.py` Error
closed
not_planned
2021-07-09T15:12:49
2024-06-21T06:14:07
2023-11-23T19:06:19Z
https://github.com/huggingface/datasets/issues/2618
liyucheng09
[ "bug" ]
[]
[ "Hi @liyucheng09, thanks for reporting.\r\n\r\nApparently this issue has to do with your environment setup. One question: is your data in an NFS share? Some people have reported this error when using `fcntl` to write to an NFS share... If this is the case, then it might be that your NFS just may not be set up to pr...
NONE
## Describe the bug It seems that the `filelock.py` went error. ``` >>> ds=load_dataset('xsum') ^CTraceback (most recent call last): File "/user/HS502/yl02706/.conda/envs/lyc/lib/python3.6/site-packages/datasets/utils/filelock.py", line 402, in _acquire fcntl.flock(fd, fcntl.LOCK_EX | fcntl.LOCK_NB) ...
940,794,339
MDU6SXNzdWU5NDA3OTQzMzk=
2,615
Jsonlines export error
closed
completed
2021-07-09T14:02:05
2021-07-09T15:29:07
2021-07-09T15:28:33Z
https://github.com/huggingface/datasets/issues/2615
TevenLeScao
[ "bug" ]
[ "albertvillanova", "lhoestq" ]
[ "Thanks for reporting @TevenLeScao! I'm having a look...", "(not sure what just happened on the assignations sorry)", "For some reason this happens (both `datasets` version are on master) only on Python 3.6 and not Python 3.8.", "@TevenLeScao we are using `pandas` to serialize the dataset to JSON Lines. So it...
CONTRIBUTOR
## Describe the bug When exporting large datasets in jsonlines (c4 in my case) the created file has an error every 9999 lines: the 9999th and 10000th are concatenated, thus breaking the jsonlines format. This sounds like it is related to batching, which is by 10000 by default ## Steps to reproduce the bug This wha...
938,796,902
MDU6SXNzdWU5Mzg3OTY5MDI=
2,607
Streaming local gzip compressed JSON line files is not working
closed
completed
2021-07-07T11:36:33
2021-07-20T09:50:19
2021-07-08T16:08:41Z
https://github.com/huggingface/datasets/issues/2607
thomwolf
[ "bug" ]
[ "albertvillanova" ]
[ "Updating to pyarrow-4.0.1 didn't fix the issue", "Here is an exemple dataset with 2 of these compressed JSON files: https://huggingface.co/datasets/thomwolf/github-python", "Hi @thomwolf, thanks for reporting.\r\n\r\nIt seems this might be due to the fact that the JSON Dataset builder uses `pyarrow.json` (`paj...
MEMBER
## Describe the bug Using streaming to iterate on local gzip compressed JSON files raise a file not exist error ## Steps to reproduce the bug ```python from datasets import load_dataset streamed_dataset = load_dataset('json', split='train', data_files=data_files, streaming=True) next(iter(streamed_dataset))...
938,763,684
MDU6SXNzdWU5Mzg3NjM2ODQ=
2,606
[Metrics] addition of wiki_split metrics
closed
completed
2021-07-07T10:56:04
2021-07-12T22:34:31
2021-07-12T22:34:31Z
https://github.com/huggingface/datasets/issues/2606
bhadreshpsavani
[ "enhancement", "metric request" ]
[ "bhadreshpsavani" ]
[ "#take" ]
CONTRIBUTOR
**Is your feature request related to a problem? Please describe.** While training the model on sentence split the task in English we require to evaluate the trained model on `Exact Match`, `SARI` and `BLEU` score like this ![image](https://user-images.githubusercontent.com/26653468/124746876-ff5a3380-df3e-11eb-9a01...
938,602,237
MDU6SXNzdWU5Mzg2MDIyMzc=
2,604
Add option to delete temporary files (e.g. extracted files) when loading dataset
closed
completed
2021-07-07T07:56:16
2021-07-19T09:08:18
2021-07-19T09:08:18Z
https://github.com/huggingface/datasets/issues/2604
thomwolf
[ "enhancement" ]
[ "albertvillanova" ]
1.10
[ "Hi !\r\nIf we want something more general, we could either\r\n1. delete the extracted files after the arrow data generation automatically, or \r\n2. delete each extracted file during the arrow generation right after it has been closed.\r\n\r\nSolution 2 is better to save disk space during the arrow generation. Is ...
MEMBER
I'm loading a dataset constituted of 44 GB of compressed JSON files. When loading the dataset with the JSON script, extracting the files create about 200 GB of uncompressed files before creating the 180GB of arrow cache tables Having a simple way to delete the extracted files after usage (or even better, to strea...
938,086,745
MDU6SXNzdWU5MzgwODY3NDU=
2,600
Crash when using multiprocessing (`num_proc` > 1) on `filter` and all samples are discarded
closed
completed
2021-07-06T16:53:25
2021-07-07T12:50:31
2021-07-07T12:50:31Z
https://github.com/huggingface/datasets/issues/2600
mxschmdt
[ "bug" ]
[]
[]
CONTRIBUTOR
## Describe the bug If `filter` is applied to a dataset using multiprocessing (`num_proc` > 1) and all sharded datasets are empty afterwards (due to all samples being discarded), the program crashes. ## Steps to reproduce the bug ```python from datasets import Dataset data = Dataset.from_dict({'id': [0,1]}) dat...
937,930,632
MDU6SXNzdWU5Mzc5MzA2MzI=
2,598
Unable to download omp dataset
closed
completed
2021-07-06T14:00:52
2021-07-07T12:56:35
2021-07-07T12:56:35Z
https://github.com/huggingface/datasets/issues/2598
erikadistefano
[ "bug" ]
[ "albertvillanova" ]
[ "Hi @erikadistefano , thanks for reporting the issue.\r\n\r\nI have created a Pull Request that should fix it. \r\n\r\nOnce merged into master, feel free to update your installed `datasets` library (either by installing it from our GitHub master branch or waiting until our next release) to be able to load omp datas...
NONE
## Describe the bug The omp dataset cannot be downloaded because of a DuplicatedKeysError ## Steps to reproduce the bug from datasets import load_dataset omp = load_dataset('omp', 'posts_labeled') print(omp) ## Expected results This code should download the omp dataset and print the dictionary ## Actual r...
937,598,914
MDU6SXNzdWU5Mzc1OTg5MTQ=
2,596
Transformer Class on dataset
closed
completed
2021-07-06T07:27:15
2022-11-02T14:26:09
2022-11-02T14:26:09Z
https://github.com/huggingface/datasets/issues/2596
arita37
[ "enhancement" ]
[]
[ "Hi ! Do you have an example in mind that shows how this could be useful ?", "Example:\n\nMerge 2 datasets into one datasets\n\nLabel extraction from dataset\n\ndataset(text, label)\n β€”> dataset(text, newlabel)\n\nTextCleaning.\n\n\nFor image dataset, \nTransformation are easier (ie linear algebra).\n\n\n\n\n\n...
NONE
Just wondering if you have intenttion to create TransformerClass : dataset --> dataset and make determnistic transformation (ie not fit).
937,483,120
MDU6SXNzdWU5Mzc0ODMxMjA=
2,595
ModuleNotFoundError: No module named 'datasets.tasks' while importing common voice datasets
closed
completed
2021-07-06T03:20:55
2021-07-06T05:59:49
2021-07-06T05:59:49Z
https://github.com/huggingface/datasets/issues/2595
profsatwinder
[ "bug" ]
[]
[ "Hi @profsatwinder.\r\n\r\nIt looks like you are using an old version of `datasets`. Please update it with `pip install -U datasets` and indicate if the problem persists.", "@albertvillanova Thanks for the information. I updated it to 1.9.0 and the issue is resolved. Thanks again. " ]
NONE
Error traceback: --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-8-a7b592d3bca0> in <module>() 1 from datasets import load_dataset, load_metric 2 ----> 3 common_voice_train = load_da...
936,957,975
MDU6SXNzdWU5MzY5NTc5NzU=
2,591
Cached dataset overflowing disk space
closed
completed
2021-07-05T10:43:19
2021-07-19T09:08:19
2021-07-19T09:08:19Z
https://github.com/huggingface/datasets/issues/2591
BirgerMoell
[]
[]
[ "Hi! I'm transferring this issue over to `datasets`", "I'm using the datasets concatenate dataset to combine the datasets and then train.\r\ntrain_dataset = concatenate_datasets([dataset1, dataset2, common_voice_train])\r\n\r\n", "Hi @BirgerMoell.\r\n\r\nYou have several options:\r\n- to set caching to be store...
CONTRIBUTOR
I'm training a Swedish Wav2vec2 model on a Linux GPU and having issues that the huggingface cached dataset folder is completely filling up my disk space (I'm training on a dataset of around 500 gb). The cache folder is 500gb (and now my disk space is full). Is there a way to toggle caching or set the caching to b...
936,484,419
MDU6SXNzdWU5MzY0ODQ0MTk=
2,585
sqaud_v2 dataset contains misalignment between the answer text and the context value at the answer index
closed
completed
2021-07-04T15:39:49
2021-07-07T13:18:51
2021-07-07T13:18:51Z
https://github.com/huggingface/datasets/issues/2585
mmajurski
[ "bug" ]
[ "albertvillanova" ]
[ "Hi @mmajurski, thanks for reporting this issue.\r\n\r\nIndeed this misalignment arises because the source dataset context field contains leading blank spaces (and these are counted within the answer_start), while our datasets loading script removes these leading blank spaces.\r\n\r\nI'm going to fix our script so ...
NONE
## Describe the bug The built in huggingface squad_v2 dataset that you can access via datasets.load_dataset contains mis-alignment between the answers['text'] and the characters in the context at the location specified by answers['answer_start']. For example: id = '56d1f453e7d4791d009025bd' answers = {'text': ['P...
936,034,976
MDU6SXNzdWU5MzYwMzQ5NzY=
2,583
Error iteration over IterableDataset using Torch DataLoader
closed
completed
2021-07-02T19:55:58
2021-07-20T09:04:45
2021-07-05T23:48:23Z
https://github.com/huggingface/datasets/issues/2583
LeenaShekhar
[ "bug" ]
[]
[ "Hi ! This is because you first need to format the dataset for pytorch:\r\n\r\n```python\r\n>>> import torch\r\n>>> from datasets import load_dataset\r\n>>> dataset = load_dataset('oscar', \"unshuffled_deduplicated_en\", split='train', streaming=True)\r\n>>> torch_iterable_dataset = dataset.with_format(\"torch\")\r...
NONE
## Describe the bug I have an IterableDataset (created using streaming=True) and I am trying to create batches using Torch DataLoader class by passing this IterableDataset to it. This throws error which is pasted below. I can do the same by using Torch IterableDataset. One thing I noticed is that in the former case wh...
934,584,745
MDU6SXNzdWU5MzQ1ODQ3NDU=
2,573
Finding right block-size with JSON loading difficult for user
open
2021-07-01T08:48:35
2021-07-01T19:10:53
https://github.com/huggingface/datasets/issues/2573
albertvillanova
[ "bug" ]
[]
[ "This was actually a second error arising from a too small block-size in the json reader.\r\n\r\nFinding the right block size is difficult for the layman user" ]
MEMBER
As reported by @thomwolf, while loading a JSON Lines file with "json" loading script, he gets > json.decoder.JSONDecodeError: Extra data: line 2 column 1 (char 383)
934,573,767
MDU6SXNzdWU5MzQ1NzM3Njc=
2,572
Support Zstandard compressed files
closed
completed
2021-07-01T08:37:04
2023-01-03T15:34:01
2021-07-05T10:50:27Z
https://github.com/huggingface/datasets/issues/2572
albertvillanova
[ "enhancement" ]
[ "albertvillanova" ]
[ "I am trying to load a dataset using Hugging Face Datasets load_dataset method. I am getting the value error as show below. Can someone help with this? I am using Windows laptop and Google Colab notebook.\r\n\r\n```\r\n!pip install zstandard\r\nfrom datasets import load_dataset\r\n\r\nlds = load_dataset(\r\n \"j...
MEMBER
Add support for Zstandard compressed files: https://facebook.github.io/zstd/
933,015,797
MDU6SXNzdWU5MzMwMTU3OTc=
2,569
Weights of model checkpoint not initialized for RobertaModel for Bertscore
closed
completed
2021-06-29T18:55:23
2021-07-01T07:08:59
2021-06-30T07:35:49Z
https://github.com/huggingface/datasets/issues/2569
suzyahyah
[ "bug" ]
[ "albertvillanova" ]
[ "Hi @suzyahyah, thanks for reporting.\r\n\r\nThe message you get is indeed not an error message, but a warning coming from Hugging Face `transformers`. The complete warning message is:\r\n```\r\nSome weights of the model checkpoint at roberta-large were not used when initializing RobertaModel: ['lm_head.decoder.wei...
NONE
When applying bertscore out of the box, ```Some weights of the model checkpoint at roberta-large were not used when initializing RobertaModel: ['lm_head.decoder.weight', 'lm_head.bias', 'lm_head.dense.bias', 'lm_head.layer_norm.bias', 'lm_head.dense.weight', 'lm_head.layer_norm.weight']``` Following the typical ...
932,389,639
MDU6SXNzdWU5MzIzODk2Mzk=
2,564
concatenate_datasets for iterable datasets
closed
completed
2021-06-29T08:59:41
2022-06-28T21:15:04
2022-06-28T21:15:04Z
https://github.com/huggingface/datasets/issues/2564
lhoestq
[]
[ "lhoestq" ]
[ "It is probably worth noting here that the [documentation](https://huggingface.co/docs/datasets/process#concatenate) is misleading (indicating that it does work for IterableDatasets):\r\n\r\n> You can also mix several datasets together by taking alternating examples from each one to create a new dataset. This is kn...
MEMBER
Currently `concatenate_datasets` only works for map-style `Dataset`. It would be nice to have it work for `IterableDataset` objects as well. It would simply chain the iterables of the iterable datasets.
932,387,639
MDU6SXNzdWU5MzIzODc2Mzk=
2,563
interleave_datasets for map-style datasets
closed
completed
2021-06-29T08:57:24
2021-07-01T09:33:33
2021-07-01T09:33:33Z
https://github.com/huggingface/datasets/issues/2563
lhoestq
[]
[ "lhoestq" ]
[]
MEMBER
Currently the `interleave_datasets` functions only works for `IterableDataset`. Let's make it work for map-style `Dataset` objects as well. It would work the same way: either alternate between the datasets in order or randomly given probabilities specified by the user.
932,321,725
MDU6SXNzdWU5MzIzMjE3MjU=
2,561
Existing cache for local dataset builder file updates is ignored with `ignore_verifications=True`
closed
completed
2021-06-29T07:43:03
2022-08-04T11:58:36
2022-08-04T11:58:36Z
https://github.com/huggingface/datasets/issues/2561
apsdehal
[ "bug" ]
[]
[ "Hi ! I just tried to reproduce what you said:\r\n- create a local builder class\r\n- use `load_dataset`\r\n- update the builder class code\r\n- use `load_dataset` again (with or without `ignore_verifications=True`)\r\nAnd it creates a new cache, as expected.\r\n\r\nWhat modifications did you do to your builder's c...
CONTRIBUTOR
## Describe the bug If i have local file defining a dataset builder class and I load it using `load_dataset` functionality, the existing cache is ignored whenever the file is update even with `ignore_verifications=True`. This slows down debugging and cache generator for very large datasets. ## Steps to reproduce th...
931,849,724
MDU6SXNzdWU5MzE4NDk3MjQ=
2,559
Memory usage consistently increases when processing a dataset with `.map`
closed
completed
2021-06-28T18:31:58
2023-07-20T13:34:10
2023-07-20T13:34:10Z
https://github.com/huggingface/datasets/issues/2559
apsdehal
[ "bug" ]
[]
[ "Hi ! Can you share the function you pass to `map` ?\r\nI know you mentioned it would be hard to share some code but this would really help to understand what happened", "This is the same behavior as in #4883, so I'm closing this issue as a duplicate. " ]
CONTRIBUTOR
## Describe the bug I have a HF dataset with image paths stored in it and I am trying to load those image paths using `.map` with `num_proc=80`. I am noticing that the memory usage consistently keeps on increasing with time. I tried using `DEFAULT_WRITER_BATCH_SIZE=10` in the builder to decrease arrow writer's batch...
931,595,872
MDU6SXNzdWU5MzE1OTU4NzI=
2,556
Better DuplicateKeysError error to help the user debug the issue
closed
completed
2021-06-28T13:50:57
2022-06-28T09:26:04
2022-06-28T09:26:04Z
https://github.com/huggingface/datasets/issues/2556
lhoestq
[ "enhancement", "good first issue" ]
[ "VijayKalmath" ]
[ "excuse me, my `datasets` version is `2.2.2`, but I also just see the error info like \r\n```\r\nDuplicatedKeysError: FAILURE TO GENERATE DATASET !\r\nFound duplicate Key: 0\r\nKeys should be unique and deterministic in nature\r\n```", "Hi ! for which dataset do you have this error ?\r\n\r\nAlso note that this is...
MEMBER
As mentioned in https://github.com/huggingface/datasets/issues/2552 it would be nice to improve the error message when a dataset fails to build because there are duplicate example keys. The current one is ```python datasets.keyhash.DuplicatedKeysError: FAILURE TO GENERATE DATASET ! Found duplicate Key: 48 Keys s...
931,453,855
MDU6SXNzdWU5MzE0NTM4NTU=
2,554
Multilabel metrics not supported
closed
completed
2021-06-28T11:09:46
2021-10-13T12:29:13
2021-07-08T08:40:15Z
https://github.com/huggingface/datasets/issues/2554
GuillemGSubies
[ "bug" ]
[]
[ "Hi @GuillemGSubies, thanks for reporting.\r\n\r\nI have made a PR to fix this issue and allow metrics to be computed also for multilabel classification problems.", "Looks nice, thank you very much! πŸš€ ", "Sorry for reopening but I just noticed that the `_compute` method for the F1 metric is still not good enou...
NONE
When I try to use a metric like F1 macro I get the following error: ``` TypeError: int() argument must be a string, a bytes-like object or a number, not 'list' ``` There is an explicit casting here: https://github.com/huggingface/datasets/blob/fc79f61cbbcfa0e8c68b28c0a8257f17e768a075/src/datasets/features.py#L...
931,365,926
MDU6SXNzdWU5MzEzNjU5MjY=
2,553
load_dataset("web_nlg") NonMatchingChecksumError
closed
completed
2021-06-28T09:26:46
2021-06-28T17:23:39
2021-06-28T17:23:16Z
https://github.com/huggingface/datasets/issues/2553
alxthm
[ "bug" ]
[ "lhoestq" ]
[ "Hi ! Thanks for reporting. This is due to the WebNLG repository that got updated today.\r\nI just pushed a fix at #2558 - this shouldn't happen anymore in the future.", "This is fixed on `master` now :)\r\nWe'll do a new release soon !" ]
NONE
Hi! It seems the WebNLG dataset gives a NonMatchingChecksumError. ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('web_nlg', name="release_v3.0_en", split="dev") ``` Gives ``` NonMatchingChecksumError: Checksums didn't match for dataset source files: ['h...
931,354,687
MDU6SXNzdWU5MzEzNTQ2ODc=
2,552
Keys should be unique error on code_search_net
closed
completed
2021-06-28T09:15:20
2021-09-06T14:08:30
2021-09-02T08:25:29Z
https://github.com/huggingface/datasets/issues/2552
thomwolf
[ "bug" ]
[]
[ "Two questions:\r\n- with `datasets-cli env` we don't have any information on the dataset script version used. Should we give access to this somehow? Either as a note in the Error message or as an argument with the name of the dataset to `datasets-cli env`?\r\n- I don't really understand why the id is duplicated in...
MEMBER
## Describe the bug Loading `code_search_net` seems not possible at the moment. ## Steps to reproduce the bug ```python >>> load_dataset('code_search_net') Downloading: 8.50kB [00:00, 3.09MB/s] ...
930,951,287
MDU6SXNzdWU5MzA5NTEyODc=
2,550
Allow for incremental cumulative metric updates in a distributed setup
closed
completed
2021-06-27T15:00:58
2021-09-26T13:42:39
2021-09-26T13:42:39Z
https://github.com/huggingface/datasets/issues/2550
eladsegal
[ "enhancement" ]
[]
[]
CONTRIBUTOR
Currently, using a metric allows for one of the following: - Per example/batch metrics - Cumulative metrics over the whole data What I'd like is to have an efficient way to get cumulative metrics over the examples/batches added so far, in order to display it as part of the progress bar during training/evaluation. ...
929,819,093
MDU6SXNzdWU5Mjk4MTkwOTM=
2,549
Handling unlabeled datasets
closed
completed
2021-06-25T04:32:23
2021-06-25T21:07:57
2021-06-25T21:07:56Z
https://github.com/huggingface/datasets/issues/2549
nelson-liu
[ "enhancement" ]
[]
[ "Hi @nelson-liu,\r\n\r\nYou can pass the parameter `features` to `load_dataset`: https://huggingface.co/docs/datasets/_modules/datasets/load.html#load_dataset\r\n\r\nIf you look at the code of the MNLI script you referred in your question (https://github.com/huggingface/datasets/blob/master/datasets/multi_nli/multi...
NONE
Hi! Is there a way for datasets to produce unlabeled instances (e.g., the `ClassLabel` can be nullable). For example, I want to use the MNLI dataset reader ( https://github.com/huggingface/datasets/blob/master/datasets/multi_nli/multi_nli.py ) on a file that doesn't have the `gold_label` field. I tried setting `"...
929,232,831
MDU6SXNzdWU5MjkyMzI4MzE=
2,548
Field order issue in loading json
closed
completed
2021-06-24T13:29:53
2021-06-24T14:36:43
2021-06-24T14:34:05Z
https://github.com/huggingface/datasets/issues/2548
luyug
[ "bug" ]
[]
[ "Hi @luyug, thanks for reporting.\r\n\r\nThe good news is that we fixed this issue only 9 days ago: #2507.\r\n\r\nThe patch is already in the master branch of our repository and it will be included in our next `datasets` release version 1.9.0.\r\n\r\nFeel free to reopen the issue if the problem persists." ]
NONE
## Describe the bug The `load_dataset` function expects columns in alphabetical order when loading json files. Similar bug was previously reported for csv in #623 and fixed in #684. ## Steps to reproduce the bug For a json file `j.json`, ``` {"c":321, "a": 1, "b": 2} ``` Running the following, ``` f= data...
929,192,329
MDU6SXNzdWU5MjkxOTIzMjk=
2,547
Dataset load_from_disk is too slow
open
2021-06-24T12:45:44
2026-01-13T03:50:11
https://github.com/huggingface/datasets/issues/2547
avacaondata
[ "bug" ]
[]
[ "Hi ! It looks like an issue with the virtual disk you are using.\r\n\r\nWe load datasets using memory mapping. In general it makes it possible to load very big files instantaneously since it doesn't have to read the file (it just assigns virtual memory to the file on disk).\r\nHowever there happens to be issues wi...
NONE
@lhoestq ## Describe the bug It's not normal that I have to wait 7-8 hours for a dataset to be loaded from disk, as there are no preprocessing steps, it's only loading it with load_from_disk. I have 96 cpus, however only 1 is used for this, which is inefficient. Moreover, its usage is at 1%... This is happening in t...
928,571,915
MDU6SXNzdWU5Mjg1NzE5MTU=
2,543
switching some low-level log.info's to log.debug?
closed
completed
2021-06-23T19:26:55
2021-06-25T13:40:19
2021-06-25T13:40:19Z
https://github.com/huggingface/datasets/issues/2543
stas00
[ "enhancement" ]
[ "albertvillanova" ]
[ "Hi @stas00, thanks for pointing out this issue with logging.\r\n\r\nI agree that `datasets` can sometimes be too verbose... I can create a PR and we could discuss there the choice of the log levels for different parts of the code." ]
CONTRIBUTOR
In https://github.com/huggingface/transformers/pull/12276 we are now changing the examples to have `datasets` on the same log level as `transformers`, so that one setting can do a consistent logging across all involved components. The trouble is that now we get a ton of these: ``` 06/23/2021 12:15:31 - INFO - da...
928,540,382
MDU6SXNzdWU5Mjg1NDAzODI=
2,542
`datasets.keyhash.DuplicatedKeysError` for `drop` and `adversarial_qa/adversarialQA`
closed
completed
2021-06-23T18:41:16
2021-06-25T21:50:05
2021-06-24T14:57:08Z
https://github.com/huggingface/datasets/issues/2542
VictorSanh
[ "bug" ]
[ "albertvillanova" ]
[ "very much related: https://github.com/huggingface/datasets/pull/2333", "Hi @VictorSanh, thank you for reporting this issue with duplicated keys.\r\n\r\n- The issue with \"adversarial_qa\" was fixed 23 days ago: #2433. Current version of `datasets` (1.8.0) includes the patch.\r\n- I am investigating the issue wit...
CONTRIBUTOR
## Describe the bug Failure to generate the datasets (`drop` and subset `adversarialQA` from `adversarial_qa`) because of duplicate keys. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("drop") load_dataset("adversarial_qa", "adversarialQA") ``` ## Expected results Th...
927,940,691
MDU6SXNzdWU5Mjc5NDA2OTE=
2,538
Loading partial dataset when debugging
open
2021-06-23T07:19:52
2023-04-19T11:05:38
https://github.com/huggingface/datasets/issues/2538
reachtarunhere
[]
[]
[ "Hi ! `load_dataset` downloads the full dataset once and caches it, so that subsequent calls to `load_dataset` just reloads the dataset from your disk.\r\nThen when you specify a `split` in `load_dataset`, it will just load the requested split from the disk. If your specified split is a sliced split (e.g. `\"train[...
NONE
I am using PyTorch Lightning along with datasets (thanks for so many datasets already prepared and the great splits). Every time I execute load_dataset for the imdb dataset it takes some time even if I specify a split involving very few samples. I guess this due to hashing as per the other issues. Is there a wa...
927,338,639
MDU6SXNzdWU5MjczMzg2Mzk=
2,536
Use `Audio` features for `AutomaticSpeechRecognition` task template
closed
completed
2021-06-22T15:07:21
2022-06-01T17:18:16
2022-06-01T17:18:16Z
https://github.com/huggingface/datasets/issues/2536
lewtun
[ "enhancement" ]
[ "lewtun" ]
[ "I'm just retaking and working on #2324. πŸ˜‰ ", "Resolved via https://github.com/huggingface/datasets/pull/4006." ]
MEMBER
In #2533 we added a task template for speech recognition that relies on the file paths to the audio files. As pointed out by @SBrandeis this is brittle as it doesn't port easily across different OS'. The solution is to use dedicated `Audio` features when casting the dataset. These features are not yet available in ...
927,063,196
MDU6SXNzdWU5MjcwNjMxOTY=
2,532
Tokenizer's normalization preprocessor cause misalignment in return_offsets_mapping for tokenizer classification task
closed
completed
2021-06-22T10:08:18
2021-06-23T05:17:25
2021-06-23T05:17:25Z
https://github.com/huggingface/datasets/issues/2532
cosmeowpawlitan
[ "bug" ]
[]
[ "Hi @jerryIsHere, thanks for reporting the issue. But are you sure this is a bug in HuggingFace **Datasets**?", "> Hi @jerryIsHere, thanks for reporting the issue. But are you sure this is a bug in HuggingFace **Datasets**?\r\n\r\nOh, I am sorry\r\nI would reopen the post on huggingface/transformers" ]
CONTRIBUTOR
[This colab notebook](https://colab.research.google.com/drive/151gKyo0YIwnlznrOHst23oYH_a3mAe3Z?usp=sharing) implements a token classification input pipeline extending the logic from [this hugging example](https://huggingface.co/transformers/custom_datasets.html#tok-ner). The pipeline works fine with most instance i...
926,314,656
MDU6SXNzdWU5MjYzMTQ2NTY=
2,528
Logging cannot be set to NOTSET similar to transformers
closed
completed
2021-06-21T15:04:54
2021-06-24T14:42:47
2021-06-24T14:42:47Z
https://github.com/huggingface/datasets/issues/2528
joshzwiebel
[ "bug" ]
[ "albertvillanova" ]
[ "Hi @joshzwiebel, thanks for reporting. We are going to align with `transformers`." ]
NONE
## Describe the bug In the transformers library you can set the verbosity level to logging.NOTSET to work around the usage of tqdm and IPywidgets, however in Datasets this is no longer possible. This is because transformers set the verbosity level of tqdm with [this](https://github.com/huggingface/transformers/blob/b5...
925,929,228
MDU6SXNzdWU5MjU5MjkyMjg=
2,526
Add COCO datasets
open
2021-06-21T07:48:32
2023-06-22T14:12:18
https://github.com/huggingface/datasets/issues/2526
NielsRogge
[ "dataset request", "vision" ]
[ "merveenoyan" ]
[ "I'm currently adding it, the entire dataset is quite big around 30 GB so I add splits separately. You can take a look here https://huggingface.co/datasets/merve/coco", "I talked to @lhoestq and it's best if I download this dataset through TensorFlow datasets instead, so I'll be implementing that one really soon....
CONTRIBUTOR
## Adding a Dataset - **Name:** COCO - **Description:** COCO is a large-scale object detection, segmentation, and captioning dataset. - **Paper + website:** https://cocodataset.org/#home - **Data:** https://cocodataset.org/#download - **Motivation:** It would be great to have COCO available in HuggingFace datasets...
925,421,008
MDU6SXNzdWU5MjU0MjEwMDg=
2,523
Fr
closed
completed
2021-06-19T15:56:32
2021-06-19T18:48:23
2021-06-19T18:48:23Z
https://github.com/huggingface/datasets/issues/2523
aDrIaNo34500
[]
[]
[]
NONE
__Originally posted by @lewtun in https://github.com/huggingface/datasets/pull/2469__
925,334,379
MDU6SXNzdWU5MjUzMzQzNzk=
2,522
Documentation Mistakes in Dataset: emotion
closed
completed
2021-06-19T07:08:57
2023-01-02T12:04:58
2023-01-02T12:04:58Z
https://github.com/huggingface/datasets/issues/2522
GDGauravDutta
[ "bug" ]
[]
[ "Hi,\r\n\r\nthis issue has been already reported in the dataset repo (https://github.com/dair-ai/emotion_dataset/issues/2), so this is a bug on their side.", "The documentation has another bug in the dataset card [here](https://huggingface.co/datasets/emotion). \r\n\r\nIn the dataset summary **six** emotions are ...
NONE
As per documentation, Dataset: emotion Homepage: https://github.com/dair-ai/emotion_dataset Dataset: https://github.com/huggingface/datasets/blob/master/datasets/emotion/emotion.py Permalink: https://huggingface.co/datasets/viewer/?dataset=emotion Emotion is a dataset of English Twitter messages with eight b...
925,015,004
MDU6SXNzdWU5MjUwMTUwMDQ=
2,520
Datasets with tricky task templates
closed
completed
2021-06-18T15:33:57
2023-07-20T13:20:32
2023-07-20T13:20:32Z
https://github.com/huggingface/datasets/issues/2520
lewtun
[ "Dataset discussion" ]
[]
[ "The `task_templates` API is deprecated in favor of the `train-eval-index` YAML field, so I'm closing this issue." ]
MEMBER
I'm collecting a list of datasets here that don't follow the "standard" taxonomy and require further investigation to implement task templates for. ## Text classification * [hatexplain](https://huggingface.co/datasets/hatexplain): ostensibly a form of text classification, but not in the standard `(text, target)` ...
924,597,470
MDU6SXNzdWU5MjQ1OTc0NzA=
2,516
datasets.map pickle issue resulting in invalid mapping function
open
2021-06-18T06:47:26
2021-06-23T13:47:49
https://github.com/huggingface/datasets/issues/2516
david-waterworth
[ "bug" ]
[]
[ "Hi ! `map` calls `__getstate__` using `dill` to hash your map function. This is used by the caching mechanism to recover previously computed results. That's why you don't see any `__setstate__` call.\r\n\r\nWhy do you change an attribute of your tokenizer when `__getstate__` is called ?", "@lhoestq because if I ...
NONE
I trained my own tokenizer, and I needed to use a python custom class. Because of this I have to detach the custom step before saving and reattach after restore. I did this using the standard pickle `__get_state__` / `__set_state__` mechanism. I think it's correct but it fails when I use it inside a function which is m...
924,417,172
MDU6SXNzdWU5MjQ0MTcxNzI=
2,514
Can datasets remove duplicated rows?
open
2021-06-17T23:35:38
2025-11-05T06:27:43
https://github.com/huggingface/datasets/issues/2514
liuxinglan
[ "enhancement" ]
[]
[ "Hi ! For now this is probably the best option.\r\nWe might add a feature like this in the feature as well.\r\n\r\nDo you know any deduplication method that works on arbitrary big datasets without filling up RAM ?\r\nOtherwise we can have do the deduplication in memory like pandas but I feel like this is going to b...
NONE
**Is your feature request related to a problem? Please describe.** i find myself more and more relying on datasets just to do all the preprocessing. One thing however, for removing duplicated rows, I couldn't find out how and am always converting datasets to pandas to do that.. **Describe the solution you'd like*...
924,174,413
MDU6SXNzdWU5MjQxNzQ0MTM=
2,513
Corelation should be Correlation
closed
completed
2021-06-17T17:28:48
2021-06-18T08:43:55
2021-06-18T08:43:55Z
https://github.com/huggingface/datasets/issues/2513
colbym-MM
[]
[ "albertvillanova" ]
[ "Hi @colbym-MM, thanks for reporting. We are fixing it." ]
NONE
https://github.com/huggingface/datasets/blob/0e87e1d053220e8ecddfa679bcd89a4c7bc5af62/metrics/matthews_correlation/matthews_correlation.py#L66
924,069,353
MDU6SXNzdWU5MjQwNjkzNTM=
2,512
seqeval metric does not work with a recent version of sklearn: classification_report() got an unexpected keyword argument 'output_dict'
closed
completed
2021-06-17T15:36:02
2021-06-17T15:46:07
2021-06-17T15:46:07Z
https://github.com/huggingface/datasets/issues/2512
avidale
[ "bug" ]
[]
[ "Sorry, I was using an old version of sequeval" ]
NONE
## Describe the bug A clear and concise description of what the bug is. ## Steps to reproduce the bug ```python from datasets import load_dataset, load_metric seqeval = load_metric("seqeval") seqeval.compute(predictions=[['A']], references=[['A']]) ``` ## Expected results The function computes a dict with ...
923,762,133
MDU6SXNzdWU5MjM3NjIxMzM=
2,511
Add C4
closed
completed
2021-06-17T10:31:04
2021-07-05T12:36:58
2021-07-05T12:36:57Z
https://github.com/huggingface/datasets/issues/2511
lhoestq
[ "dataset request" ]
[ "lhoestq" ]
[ "Update on this: I'm computing the checksums of the data files. It will be available soon", "Added in #2575 :)" ]
MEMBER
## Adding a Dataset - **Name:** *C4* - **Description:** *https://github.com/allenai/allennlp/discussions/5056* - **Paper:** *https://arxiv.org/abs/1910.10683* - **Data:** *https://huggingface.co/datasets/allenai/c4* - **Motivation:** *Used a lot for pretraining* Instructions to add a new dataset can be found [h...
921,863,173
MDU6SXNzdWU5MjE4NjMxNzM=
2,508
Load Image Classification Dataset from Local
closed
completed
2021-06-15T22:43:33
2022-03-01T16:29:44
2022-03-01T16:29:44Z
https://github.com/huggingface/datasets/issues/2508
Jacobsolawetz
[ "enhancement" ]
[ "nateraw", "mariosasko" ]
[ "Hi ! Is this folder structure a standard, a bit like imagenet ?\r\nIn this case maybe we can consider having a dataset loader for cifar-like, imagenet-like, squad-like, conll-like etc. datasets ?\r\n```python\r\nfrom datasets import load_dataset\r\n\r\nmy_custom_cifar = load_dataset(\"cifar_like\", data_dir=\"path...
NONE
**Is your feature request related to a problem? Please describe.** Yes - we would like to load an image classification dataset with datasets without having to write a custom data loader. **Describe the solution you'd like** Given a folder structure with images of each class in each folder, the ability to load th...
920,636,186
MDU6SXNzdWU5MjA2MzYxODY=
2,503
SubjQA wrong boolean values in entries
open
2021-06-14T17:42:46
2021-08-25T03:52:06
https://github.com/huggingface/datasets/issues/2503
arnaudstiegler
[ "bug" ]
[ "albertvillanova" ]
[ "Hi @arnaudstiegler, thanks for reporting. I'm investigating it.", "@arnaudstiegler I have just checked that these mismatches are already present in the original dataset: https://github.com/megagonlabs/SubjQA\r\n\r\nWe are going to contact the dataset owners to report this.", "I have:\r\n- opened an issue in th...
NONE
## Describe the bug SubjQA seems to have a boolean that's consistently wrong. It defines: - question_subj_level: The subjectiviy level of the question (on a 1 to 5 scale with 1 being the most subjective). - is_ques_subjective: A boolean subjectivity label derived from question_subj_level (i.e., scores below 4 are...
920,413,021
MDU6SXNzdWU5MjA0MTMwMjE=
2,499
Python Programming Puzzles
open
2021-06-14T13:27:18
2021-06-15T18:14:14
https://github.com/huggingface/datasets/issues/2499
VictorSanh
[ "dataset request" ]
[]
[ "πŸ‘€ @TalSchuster", "Thanks @VictorSanh!\r\nThere's also a [notebook](https://aka.ms/python_puzzles) and [demo](https://aka.ms/python_puzzles_study) available now to try out some of the puzzles" ]
CONTRIBUTOR
## Adding a Dataset - **Name:** Python Programming Puzzles - **Description:** Programming challenge called programming puzzles, as an objective and comprehensive evaluation of program synthesis - **Paper:** https://arxiv.org/pdf/2106.05784.pdf - **Data:** https://github.com/microsoft/PythonProgrammingPuzzles ([Scro...
920,411,285
MDU6SXNzdWU5MjA0MTEyODU=
2,498
Improve torch formatting performance
open
2021-06-14T13:25:24
2022-07-15T17:12:04
https://github.com/huggingface/datasets/issues/2498
vblagoje
[ "enhancement" ]
[]
[ "That’s interesting thanks, let’s see what we can do. Can you detail your last sentence? I’m not sure I understand it well.", "Hi ! I just re-ran a quick benchmark and using `to_numpy()` seems to be faster now:\r\n\r\n```python\r\nimport pyarrow as pa # I used pyarrow 3.0.0\r\nimport numpy as np\r\n\r\nn, max_le...
CONTRIBUTOR
**Is your feature request related to a problem? Please describe.** It would be great, if possible, to further improve read performance of raw encoded datasets and their subsequent conversion to torch tensors. A bit more background. I am working on LM pre-training using HF ecosystem. We use encoded HF Wikipedia an...
920,216,314
MDU6SXNzdWU5MjAyMTYzMTQ=
2,496
Dataset fingerprint changes after moving the cache directory, which prevent cache reload when using `map`
closed
completed
2021-06-14T09:20:26
2021-06-21T15:05:03
2021-06-21T15:05:03Z
https://github.com/huggingface/datasets/issues/2496
lhoestq
[]
[ "lhoestq" ]
[]
MEMBER
`Dataset.map` uses the dataset fingerprint (a hash) for caching. However the fingerprint seems to change when someone moves the cache directory of the dataset. This is because it uses the default fingerprint generation: 1. the dataset path is used to get the fingerprint 2. the modification times of the arrow file...
920,170,030
MDU6SXNzdWU5MjAxNzAwMzA=
2,495
JAX formatting
closed
completed
2021-06-14T08:32:07
2021-06-21T16:15:49
2021-06-21T16:15:49Z
https://github.com/huggingface/datasets/issues/2495
lhoestq
[]
[ "lhoestq" ]
[]
MEMBER
We already support pytorch, tensorflow, numpy, pandas and arrow dataset formatting. Let's add jax as well
920,149,183
MDU6SXNzdWU5MjAxNDkxODM=
2,494
Improve docs on Enhancing performance
open
2021-06-14T08:11:48
2025-06-28T18:55:38
https://github.com/huggingface/datasets/issues/2494
albertvillanova
[ "documentation" ]
[]
[ "Hi @albertvillanova, I hope you are doing well.\r\n\r\nI am interested in this issue, is this still unresolved and open ?\r\n\r\nThe link you have provided in the above message directs to a webpage that does not exist.\r\n\r\nThanks and Regards", "#self-assign" ]
MEMBER
In the ["Enhancing performance"](https://huggingface.co/docs/datasets/loading_datasets.html#enhancing-performance) section of docs, add specific use cases: - How to make datasets the fastest - How to make datasets take the less RAM - How to make datasets take the less hard drive mem cc: @thomwolf
919,569,749
MDU6SXNzdWU5MTk1Njk3NDk=
2,489
Allow latest pyarrow version once segfault bug is fixed
closed
completed
2021-06-12T14:09:52
2021-06-14T07:53:23
2021-06-14T07:53:23Z
https://github.com/huggingface/datasets/issues/2489
albertvillanova
[ "enhancement" ]
[ "albertvillanova" ]
[]
MEMBER
As pointed out by @symeneses (see https://github.com/huggingface/datasets/pull/2268#issuecomment-860048613), pyarrow has fixed the segfault bug present in version 4.0.0 (see https://issues.apache.org/jira/browse/ARROW-12568): - it was fixed on 3 May 2021 - version 4.0.1 was released on 19 May 2021 with the bug fix
919,099,218
MDU6SXNzdWU5MTkwOTkyMTg=
2,485
Implement layered building
open
2021-06-11T18:54:25
2021-06-11T18:54:25
https://github.com/huggingface/datasets/issues/2485
albertvillanova
[ "enhancement" ]
[]
[]
MEMBER
As discussed with @stas00 and @lhoestq (see also here https://github.com/huggingface/datasets/issues/2481#issuecomment-859712190): > My suggestion for this would be to have this enabled by default. > > Plus I don't know if there should be a dedicated issue to that is another functionality. But I propose layered b...
919,092,635
MDU6SXNzdWU5MTkwOTI2MzU=
2,484
Implement loading a dataset builder
closed
completed
2021-06-11T18:47:22
2021-07-05T10:45:57
2021-07-05T10:45:57Z
https://github.com/huggingface/datasets/issues/2484
albertvillanova
[ "enhancement" ]
[ "mariosasko" ]
[ "#self-assign" ]
MEMBER
As discussed with @stas00 and @lhoestq, this would allow things like: ```python from datasets import load_dataset_builder dataset_name = "openwebtext" builder = load_dataset_builder(dataset_name) print(builder.cache_dir) ```
918,680,168
MDU6SXNzdWU5MTg2ODAxNjg=
2,481
Delete extracted files to save disk space
closed
completed
2021-06-11T12:21:52
2021-07-19T09:08:18
2021-07-19T09:08:18Z
https://github.com/huggingface/datasets/issues/2481
albertvillanova
[ "enhancement" ]
[ "albertvillanova" ]
1.10
[ "My suggestion for this would be to have this enabled by default.\r\n\r\nPlus I don't know if there should be a dedicated issue to that is another functionality. But I propose layered building rather than all at once. That is:\r\n\r\n1. uncompress a handful of files via a generator enough to generate one arrow file...
MEMBER
As discussed with @stas00 and @lhoestq, allowing the deletion of extracted files would save a great amount of disk space to typical user.
918,678,578
MDU6SXNzdWU5MTg2Nzg1Nzg=
2,480
Set download/extracted paths configurable
open
2021-06-11T12:20:24
2021-06-15T14:23:49
https://github.com/huggingface/datasets/issues/2480
albertvillanova
[ "enhancement" ]
[ "albertvillanova" ]
[ "For example to be able to send uncompressed and temp build files to another volume/partition, so that the user gets the minimal disk usage on their primary setup - and ends up with just the downloaded compressed data + arrow files, but outsourcing the huge files and building to another partition. e.g. on JZ there...
MEMBER
As discussed with @stas00 and @lhoestq, setting these paths configurable may allow to overcome disk space limitation on different partitions/drives. TODO: - [x] Set configurable extracted datasets path: #2487 - [x] Set configurable downloaded datasets path: #2488 - [ ] Set configurable "incomplete" datasets path?
918,507,510
MDU6SXNzdWU5MTg1MDc1MTA=
2,478
Create release script
open
2021-06-11T09:38:02
2023-07-20T13:22:23
https://github.com/huggingface/datasets/issues/2478
albertvillanova
[ "enhancement" ]
[ "albertvillanova" ]
[ "I've aligned the release script with Transformers in #6004, so I think this issue can be closed." ]
MEMBER
Create a script so that releases can be done automatically (as done in `transformers`).
917,650,882
MDU6SXNzdWU5MTc2NTA4ODI=
2,475
Issue in timit_asr database
closed
completed
2021-06-10T18:05:29
2021-06-13T08:13:50
2021-06-13T08:13:13Z
https://github.com/huggingface/datasets/issues/2475
hrahamim
[ "bug" ]
[]
[ "This bug was fixed in #1995. Upgrading datasets to version 1.6 fixes the issue!", "Indeed was a fixed bug.\r\nWorks on version 1.8\r\nThanks " ]
NONE
## Describe the bug I am trying to load the timit_asr dataset however only the first record is shown (duplicated over all the rows). I am using the next code line dataset = load_dataset(β€œtimit_asr”, split=β€œtest”).shuffle().select(range(10)) The above code result with the same sentence duplicated ten times. It al...
917,622,055
MDU6SXNzdWU5MTc2MjIwNTU=
2,474
cache_dir parameter for load_from_disk ?
closed
completed
2021-06-10T17:39:36
2022-02-16T14:55:01
2022-02-16T14:55:00Z
https://github.com/huggingface/datasets/issues/2474
chbensch
[ "enhancement" ]
[ "albertvillanova" ]
[ "Hi ! `load_from_disk` doesn't move the data. If you specify a local path to your mounted drive, then the dataset is going to be loaded directly from the arrow file in this directory. The cache files that result from `map` operations are also stored in the same directory by default.\r\n\r\nHowever note than writing...
NONE
**Is your feature request related to a problem? Please describe.** When using Google Colab big datasets can be an issue, as they won't fit on the VM's disk. Therefore mounting google drive could be a possible solution. Unfortunatly when loading my own dataset by using the _load_from_disk_ function, the data gets cache...
917,463,821
MDU6SXNzdWU5MTc0NjM4MjE=
2,472
Fix automatic generation of Zenodo DOI
closed
completed
2021-06-10T15:15:46
2021-06-14T16:49:42
2021-06-14T16:49:42Z
https://github.com/huggingface/datasets/issues/2472
albertvillanova
[ "bug" ]
[ "albertvillanova" ]
1.9
[ "I have received a reply from Zenodo support:\r\n> We are currently investigating and fixing this issue related to GitHub releases. As soon as we have solved it we will reach back to you.", "Other repo maintainers had the same problem with Zenodo. \r\n\r\nThere is an open issue on their GitHub repo: zenodo/zenodo...
MEMBER
After the last release of Datasets (1.8.0), the automatic generation of the Zenodo DOI failed: it appears in yellow as "Received", instead of in green as "Published". I have contacted Zenodo support to fix this issue. TODO: - [x] Check with Zenodo to fix the issue - [x] Check BibTeX entry is right
917,067,165
MDU6SXNzdWU5MTcwNjcxNjU=
2,471
Fix PermissionError on Windows when using tqdm >=4.50.0
closed
completed
2021-06-10T08:31:49
2021-06-11T15:11:50
2021-06-11T15:11:50Z
https://github.com/huggingface/datasets/issues/2471
albertvillanova
[ "bug" ]
[]
1.9
[]
MEMBER
See: https://app.circleci.com/pipelines/github/huggingface/datasets/235/workflows/cfb6a39f-68eb-4802-8b17-2cd5e8ea7369/jobs/1111 ``` PermissionError: [WinError 32] The process cannot access the file because it is being used by another process ```
916,724,260
MDU6SXNzdWU5MTY3MjQyNjA=
2,470
Crash when `num_proc` > dataset length for `map()` on a `datasets.Dataset`.
closed
completed
2021-06-09T22:40:22
2021-07-01T09:34:54
2021-07-01T09:11:13Z
https://github.com/huggingface/datasets/issues/2470
mbforbes
[ "bug" ]
[]
[ "Hi ! It looks like the issue comes from pyarrow. What version of pyarrow are you using ? How did you install it ?", "Thank you for the quick reply! I have `pyarrow==4.0.0`, and I am installing with `pip`. It's not one of my explicit dependencies, so I assume it came along with something else.", "Could you tryi...
NONE
## Describe the bug Crash if when using `num_proc` > 1 (I used 16) for `map()` on a `datasets.Dataset`. I believe I've had cases where `num_proc` > 1 works before, but now it seems either inconsistent, or depends on my data. I'm not sure whether the issue is on my end, because it's difficult for me to debug! Any ti...
915,384,613
MDU6SXNzdWU5MTUzODQ2MTM=
2,462
Merge DatasetDict and Dataset
open
2021-06-08T19:22:04
2023-08-16T09:34:34
https://github.com/huggingface/datasets/issues/2462
albertvillanova
[ "enhancement", "generic discussion" ]
[]
1.12
[ "Any update on this? @lhoestq ", "Unless there is high demande I don't think we will end up implementing this. This is a lot of work with very few advantages" ]
MEMBER
As discussed in #2424 and #2437 (please see there for detailed conversation): - It would be desirable to improve UX with respect the confusion between DatasetDict and Dataset. - The difference between Dataset and DatasetDict is an additional abstraction complexity that confuses "typical" end users. - A user expects...
915,222,015
MDU6SXNzdWU5MTUyMjIwMTU=
2,459
`Proto_qa` hosting seems to be broken
closed
completed
2021-06-08T16:16:32
2021-06-10T08:31:09
2021-06-10T08:31:09Z
https://github.com/huggingface/datasets/issues/2459
VictorSanh
[ "bug" ]
[]
[ "@VictorSanh , I think @mariosasko is already working on it. " ]
CONTRIBUTOR
## Describe the bug The hosting (on Github) of the `proto_qa` dataset seems broken. I haven't investigated more yet, just flagging it for now. @zaidalyafeai if you want to dive into it, I think it's just a matter of changing the links in `proto_qa.py` ## Steps to reproduce the bug ```python from datasets impo...
915,199,693
MDU6SXNzdWU5MTUxOTk2OTM=
2,458
Revert default in-memory for small datasets
closed
completed
2021-06-08T15:51:41
2021-06-08T18:57:11
2021-06-08T17:55:43Z
https://github.com/huggingface/datasets/issues/2458
albertvillanova
[ "enhancement" ]
[ "albertvillanova" ]
1.8
[ "cc: @krandiash (pinged in reverted PR)." ]
MEMBER
Users are reporting issues and confusion about setting default in-memory to True for small datasets. We see 2 clear use cases of Datasets: - the "canonical" way, where you can work with very large datasets, as they are memory-mapped and cached (after every transformation) - some edge cases (speed benchmarks, inter...
913,603,877
MDU6SXNzdWU5MTM2MDM4Nzc=
2,452
MRPC test set differences between torch and tensorflow datasets
closed
completed
2021-06-07T14:20:26
2021-06-07T14:34:32
2021-06-07T14:34:32Z
https://github.com/huggingface/datasets/issues/2452
FredericOdermatt
[ "bug" ]
[]
[ "Realized that `tensorflow_datasets` is not provided by Huggingface and should therefore raise the issue there." ]
NONE
## Describe the bug When using `load_dataset("glue", "mrpc")` to load the MRPC dataset, the test set includes the labels. When using `tensorflow_datasets.load('glue/{}'.format('mrpc'))` to load the dataset the test set does not contain the labels. There should be consistency between torch and tensorflow ways of import...
912,890,291
MDU6SXNzdWU5MTI4OTAyOTE=
2,450
BLUE file not found
closed
completed
2021-06-06T17:01:54
2021-06-07T10:46:15
2021-06-07T10:46:15Z
https://github.com/huggingface/datasets/issues/2450
mirfan899
[]
[]
[ "Hi ! The `blue` metric doesn't exist, but the `bleu` metric does.\r\nYou can get the full list of metrics [here](https://github.com/huggingface/datasets/tree/master/metrics) or by running\r\n```python\r\nfrom datasets import list_metrics\r\n\r\nprint(list_metrics())\r\n```", "Ah, my mistake. Thanks for correctin...
NONE
Hi, I'm having the following issue when I try to load the `blue` metric. ```shell import datasets metric = datasets.load_metric('blue') Traceback (most recent call last): File "/home/irfan/environments/Perplexity_Transformers/lib/python3.6/site-packages/datasets/load.py", line 320, in prepare_module local...
912,299,527
MDU6SXNzdWU5MTIyOTk1Mjc=
2,447
dataset adversarial_qa has no answers in the "test" set
closed
completed
2021-06-05T14:57:38
2021-06-07T11:13:07
2021-06-07T11:13:07Z
https://github.com/huggingface/datasets/issues/2447
bjascob
[ "bug" ]
[]
[ "Hi ! I'm pretty sure that the answers are not made available for the test set on purpose because it is part of the DynaBench benchmark, for which you can submit your predictions on the website.\r\nIn any case we should mention this in the dataset card of this dataset.", "Makes sense, but not intuitive for someon...
NONE
## Describe the bug When loading the adversarial_qa dataset the 'test' portion has no answers. Only the 'train' and 'validation' portions do. This occurs with all four of the configs ('adversarialQA', 'dbidaf', 'dbert', 'droberta') ## Steps to reproduce the bug ``` from datasets import load_dataset examples ...
911,635,399
MDU6SXNzdWU5MTE2MzUzOTk=
2,446
`yelp_polarity` is broken
closed
completed
2021-06-04T15:44:29
2021-06-04T18:56:47
2021-06-04T18:56:47Z
https://github.com/huggingface/datasets/issues/2446
JetRunner
[]
[]
[ "```\r\nFile \"/home/sasha/.local/share/virtualenvs/lib-ogGKnCK_/lib/python3.7/site-packages/streamlit/script_runner.py\", line 332, in _run_script\r\n exec(code, module.__dict__)\r\nFile \"/home/sasha/nlp-viewer/run.py\", line 233, in <module>\r\n configs = get_confs(option)\r\nFile \"/home/sasha/.local/shar...
CONTRIBUTOR
![image](https://user-images.githubusercontent.com/22514219/120828150-c4a35b00-c58e-11eb-8083-a537cee4dbb3.png)
911,297,139
MDU6SXNzdWU5MTEyOTcxMzk=
2,444
Sentence Boundaries missing in Dataset: xtreme / udpos
closed
completed
2021-06-04T09:10:26
2021-06-18T11:53:43
2021-06-18T11:53:43Z
https://github.com/huggingface/datasets/issues/2444
cosmeowpawlitan
[ "bug" ]
[]
[ "Hi,\r\n\r\nThis is a known issue. More info on this issue can be found in #2061. If you are looking for an open-source contribution, there are step-by-step instructions in the linked issue that you can follow to fix it.", "Closed by #2466." ]
CONTRIBUTOR
I was browsing through annotation guidelines, as suggested by the datasets introduction. The guidlines saids "There must be exactly one blank line after every sentence, including the last sentence in the file. Empty sentences are not allowed." in the [Sentence Boundaries and Comments section](https://universaldepend...
909,983,574
MDU6SXNzdWU5MDk5ODM1NzQ=
2,443
Some tests hang on Windows
closed
completed
2021-06-03T00:27:30
2021-06-28T08:47:39
2021-06-28T08:47:39Z
https://github.com/huggingface/datasets/issues/2443
mariosasko
[ "bug" ]
[]
[ "Hi ! That would be nice indeed to at least have a warning, since we don't handle the max path length limit.\r\nAlso if we could have an error instead of an infinite loop I'm sure windows users will appreciate that", "Unfortunately, I know this problem very well... πŸ˜… \r\n\r\nI remember having proposed to throw a...
COLLABORATOR
Currently, several tests hang on Windows if the max path limit of 260 characters is not disabled. This happens due to the changes introduced by #2223 that cause an infinite loop in `WindowsFileLock` described in #2220. This can be very tricky to debug, so I think now is a good time to address these issues/PRs. IMO thr...
908,554,713
MDU6SXNzdWU5MDg1NTQ3MTM=
2,441
DuplicatedKeysError on personal dataset
closed
completed
2021-06-01T17:59:41
2021-06-04T23:50:03
2021-06-04T23:50:03Z
https://github.com/huggingface/datasets/issues/2441
lucaguarro
[ "bug" ]
[]
[ "Hi ! In your dataset script you must be yielding examples like\r\n```python\r\nfor line in file:\r\n ...\r\n yield key, {...}\r\n```\r\n\r\nSince `datasets` 1.7.0 we enforce the keys to be unique.\r\nHowever it looks like your examples generator creates duplicate keys: at least two examples have key 0.\r\n\r...
NONE
## Describe the bug Ever since today, I have been getting a DuplicatedKeysError while trying to load my dataset from my own script. Error returned when running this line: `dataset = load_dataset('/content/drive/MyDrive/Thesis/Datasets/book_preprocessing/goodreads_maharjan_trimmed_and_nered/goodreadsnered.py')` Note ...
908,521,954
MDU6SXNzdWU5MDg1MjE5NTQ=
2,440
Remove `extended` field from dataset tagger
closed
completed
2021-06-01T17:18:42
2021-06-09T09:06:31
2021-06-09T09:06:30Z
https://github.com/huggingface/datasets/issues/2440
lewtun
[ "bug" ]
[]
[ "The tagger also doesn't insert the value for the `size_categories` field automatically, so this should be fixed too", "Thanks for reporting. Indeed the `extended` tag doesn't exist. Not sure why we had that in the tagger.\r\nThe repo of the tagger is here if someone wants to give this a try: https://github.com/h...
MEMBER
## Describe the bug While working on #2435 I used the [dataset tagger](https://huggingface.co/datasets/tagging/) to generate the missing tags for the YAML metadata of each README.md file. However, it seems that our CI raises an error when the `extended` field is included: ``` dataset_name = 'arcd' @pytest.m...
907,503,557
MDU6SXNzdWU5MDc1MDM1NTc=
2,434
Extend QuestionAnsweringExtractive template to handle nested columns
closed
completed
2021-05-31T14:06:51
2022-10-05T17:06:28
2022-10-05T17:06:28Z
https://github.com/huggingface/datasets/issues/2434
lewtun
[ "enhancement" ]
[]
[ "this is also the case for the following datasets and configurations:\r\n\r\n* `mlqa` with config `mlqa-translate-train.ar`\r\n\r\n", "The current task API is somewhat deprecated (we plan to align it with `train eval index` at some point), so I think we can close this issue." ]
MEMBER
Currently the `QuestionAnsweringExtractive` task template and `preprare_for_task` only support "flat" features. We should extend the functionality to cover QA datasets like: * `iapp_wiki_qa_squad` * `parsinlu_reading_comprehension` where the nested features differ with those from `squad` and trigger an `ArrowNot...
907,413,691
MDU6SXNzdWU5MDc0MTM2OTE=
2,431
DuplicatedKeysError when trying to load adversarial_qa
closed
completed
2021-05-31T12:11:19
2021-06-01T08:54:03
2021-06-01T08:52:11Z
https://github.com/huggingface/datasets/issues/2431
hanss0n
[ "bug" ]
[]
[ "Thanks for reporting !\r\n#2433 fixed the issue, thanks @mariosasko :)\r\n\r\nWe'll do a patch release soon of the library.\r\nIn the meantime, you can use the fixed version of adversarial_qa by adding `script_version=\"master\"` in `load_dataset`" ]
NONE
## Describe the bug A clear and concise description of what the bug is. ## Steps to reproduce the bug ```python dataset = load_dataset('adversarial_qa', 'adversarialQA') ``` ## Expected results The dataset should be loaded into memory ## Actual results >DuplicatedKeysError: FAILURE TO GENERATE DATASET ...
906,473,546
MDU6SXNzdWU5MDY0NzM1NDY=
2,426
Saving Graph/Structured Data in Datasets
closed
completed
2021-05-29T13:35:21
2021-06-02T01:21:03
2021-06-02T01:21:03Z
https://github.com/huggingface/datasets/issues/2426
gsh199449
[ "enhancement" ]
[]
[ "It should probably work out of the box to save structured data. If you want to show an example we can help you.", "An example of a toy dataset is like:\r\n```json\r\n[\r\n {\r\n \"name\": \"mike\",\r\n \"friends\": [\r\n \"tom\",\r\n \"lily\"\r\n ],\r\n \"arti...
NONE
Thanks for this amazing library! And my question is I have structured data that is organized with a graph. For example, a dataset with users' friendship relations and user's articles. When I try to save a python dict in the dataset, an error occurred ``did not recognize Python value type when inferring an Arrow data ty...
906,193,679
MDU6SXNzdWU5MDYxOTM2Nzk=
2,424
load_from_disk and save_to_disk are not compatible with each other
closed
completed
2021-05-28T23:07:10
2021-06-08T19:22:32
2021-06-08T19:22:32Z
https://github.com/huggingface/datasets/issues/2424
roholazandie
[]
[]
[ "Hi,\r\n\r\n`load_dataset` returns an instance of `DatasetDict` if `split` is not specified, so instead of `Dataset.load_from_disk`, use `DatasetDict.load_from_disk` to load the dataset from disk.", "Thanks it worked!", "Though I see a stream of issues open by people lost between datasets and datasets dicts so ...
NONE
## Describe the bug load_from_disk and save_to_disk are not compatible. When I use save_to_disk to save a dataset to disk it works perfectly but given the same directory load_from_disk throws an error that it can't find state.json. looks like the load_from_disk only works on one split ## Steps to reproduce the bug ...
903,923,097
MDU6SXNzdWU5MDM5MjMwOTc=
2,415
Cached dataset not loaded
closed
completed
2021-05-27T15:40:06
2021-06-02T13:15:47
2021-06-02T13:15:47Z
https://github.com/huggingface/datasets/issues/2415
borisdayma
[ "bug" ]
[]
[ "It actually seems to happen all the time in above configuration:\r\n* the function `filter_by_duration` correctly loads cached processed dataset\r\n* the function `prepare_dataset` is always reexecuted\r\n\r\nI end up solving the issue by saving to disk my dataset at the end but I'm still wondering if it's a bug o...
CONTRIBUTOR
## Describe the bug I have a large dataset (common_voice, english) where I use several map and filter functions. Sometimes my cached datasets after specific functions are not loaded. I always use the same arguments, same functions, no seed… ## Steps to reproduce the bug ```python def filter_by_duration(batch): ...
903,777,557
MDU6SXNzdWU5MDM3Nzc1NTc=
2,413
AttributeError: 'DatasetInfo' object has no attribute 'task_templates'
closed
completed
2021-05-27T13:44:28
2021-06-01T01:05:47
2021-06-01T01:05:47Z
https://github.com/huggingface/datasets/issues/2413
jungwhank
[ "bug" ]
[]
[ "Hi ! Can you try using a more up-to-date version ? We added the task_templates in `datasets` 1.7.0.\r\n\r\nIdeally when you're working on new datasets, you should install and use the local version of your fork of `datasets`. Here I think you tried to run the 1.7.0 tests with the 1.6.2 code" ]
CONTRIBUTOR
## Describe the bug Hello, I'm trying to add dataset and contribute, but test keep fail with below cli. ` RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_dataset_all_configs_<my_dataset>` ## Steps to reproduce the bug It seems like a bug when I see an error with the existing dataset,...
903,769,151
MDU6SXNzdWU5MDM3NjkxNTE=
2,412
Docstring mistake: dataset vs. metric
closed
completed
2021-05-27T13:39:11
2021-06-01T08:18:04
2021-06-01T08:18:04Z
https://github.com/huggingface/datasets/issues/2412
PhilipMay
[]
[]
[ "> I can provide a PR l8er...\r\n\r\nSee #2425 " ]
CONTRIBUTOR
This: https://github.com/huggingface/datasets/blob/d95b95f8cf3cb0cff5f77a675139b584dcfcf719/src/datasets/load.py#L582 Should better be something like: `a metric identifier on HuggingFace AWS bucket (list all available metrics and ids with ``datasets.list_metrics()``)` I can provide a PR l8er...
903,111,755
MDU6SXNzdWU5MDMxMTE3NTU=
2,407
.map() function got an unexpected keyword argument 'cache_file_name'
closed
completed
2021-05-27T01:54:26
2021-05-27T13:46:40
2021-05-27T13:46:40Z
https://github.com/huggingface/datasets/issues/2407
cindyxinyiwang
[ "bug" ]
[]
[ "Hi @cindyxinyiwang,\r\nDid you try adding `.arrow` after `cache_file_name` argument? Here I think they're expecting something like that only for a cache file:\r\nhttps://github.com/huggingface/datasets/blob/e08362256fb157c0b3038437fc0d7a0bbb50de5c/src/datasets/arrow_dataset.py#L1556-L1558", "Hi ! `cache_file_nam...
NONE
## Describe the bug I'm trying to save the result of datasets.map() to a specific file, so that I can easily share it among multiple computers without reprocessing the dataset. However, when I try to pass an argument 'cache_file_name' to the .map() function, it throws an error that ".map() function got an unexpected...
902,643,844
MDU6SXNzdWU5MDI2NDM4NDQ=
2,406
Add guide on using task templates to documentation
closed
completed
2021-05-26T16:28:26
2022-10-05T17:07:00
2022-10-05T17:07:00Z
https://github.com/huggingface/datasets/issues/2406
lewtun
[ "enhancement" ]
[ "lewtun" ]
[]
MEMBER
Once we have a stable API on the text classification and question answering task templates, add a guide on how to use them in the documentation.
900,025,329
MDU6SXNzdWU5MDAwMjUzMjk=
2,402
PermissionError on Windows when using temp dir for caching
closed
completed
2021-05-24T21:22:59
2021-05-26T16:39:29
2021-05-26T16:39:29Z
https://github.com/huggingface/datasets/issues/2402
mariosasko
[ "bug" ]
[]
[]
COLLABORATOR
Currently, the following code raises a PermissionError on master if working on Windows: ```python # run as a script or call exit() in REPL to initiate the temp dir cleanup from datasets import * d = load_dataset("sst", split="train", keep_in_memory=False) set_caching_enabled(False) d.map(lambda ex: ex) ``` ...
899,910,521
MDU6SXNzdWU4OTk5MTA1MjE=
2,401
load_dataset('natural_questions') fails with "ValueError: External features info don't match the dataset"
closed
completed
2021-05-24T18:38:53
2021-06-09T09:07:25
2021-06-09T09:07:25Z
https://github.com/huggingface/datasets/issues/2401
jonrbates
[ "bug" ]
[ "lhoestq" ]
[ "I faced the similar problem. Downgrading datasets to 1.5.0 fixed it.", "Thanks for reporting, I'm looking into it", "I just opened #2438 to fix this :)", "Hi ! This has been fixed in the 1.8.0 release of `datasets`" ]
NONE
## Describe the bug load_dataset('natural_questions') throws ValueError ## Steps to reproduce the bug ```python from datasets import load_dataset datasets = load_dataset('natural_questions', split='validation[:10]') ``` ## Expected results Call to load_dataset returns data. ## Actual results ``` Using ...
899,867,212
MDU6SXNzdWU4OTk4NjcyMTI=
2,400
Concatenate several datasets with removed columns is not working.
closed
completed
2021-05-24T17:40:15
2021-05-25T05:52:01
2021-05-25T05:51:59Z
https://github.com/huggingface/datasets/issues/2400
philschmid
[ "bug" ]
[]
[ "Hi,\r\n\r\ndid you fill out the env info section manually or by copy-pasting the output of the `datasets-cli env` command?\r\n\r\nThis code should work without issues on 1.6.2 version (I'm working on master (1.6.2.dev0 version) and can't reproduce this error).", "@mariosasko you are right I was still on `1.5.0`....
CONTRIBUTOR
## Describe the bug You can't concatenate datasets when you removed columns before. ## Steps to reproduce the bug ```python from datasets import load_dataset, concatenate_datasets wikiann= load_dataset("wikiann","en") wikiann["train"] = wikiann["train"].remove_columns(["langs","spans"]) wikiann["test"] =...
899,511,837
MDU6SXNzdWU4OTk1MTE4Mzc=
2,398
News_commentary Dataset Translation Pairs are of Incorrect Language Specified Pairs
closed
completed
2021-05-24T10:03:34
2022-10-05T17:13:49
2022-10-05T17:13:49Z
https://github.com/huggingface/datasets/issues/2398
anassalamah
[ "bug" ]
[]
[ "These ranges seem to be valid English. Closing." ]
NONE
I used load_dataset to load the news_commentary dataset for "ar-en" translation pairs but found translations from Arabic to Hindi. ``` train_ds = load_dataset("news_commentary", "ar-en", split='train[:98%]') val_ds = load_dataset("news_commentary", "ar-en", split='train[98%:]') # filtering out examples that a...
899,016,308
MDU6SXNzdWU4OTkwMTYzMDg=
2,396
strange datasets from OSCAR corpus
open
2021-05-23T13:06:02
2021-06-17T13:54:37
https://github.com/huggingface/datasets/issues/2396
cosmeowpawlitan
[ "bug" ]
[]
[ "Hi ! Thanks for reporting\r\ncc @pjox is this an issue from the data ?\r\n\r\nAnyway we should at least mention that OSCAR could contain such contents in the dataset card, you're totally right @jerryIsHere ", "Hi @jerryIsHere , sorry for the late response! Sadly this is normal, the problem comes form fasttext's ...
CONTRIBUTOR
![image](https://user-images.githubusercontent.com/50871412/119260850-4f876b80-bc07-11eb-8894-124302600643.png) ![image](https://user-images.githubusercontent.com/50871412/119260875-675eef80-bc07-11eb-9da4-ee27567054ac.png) From the [official site ](https://oscar-corpus.com/), the Yue Chinese dataset should have 2.2K...
898,128,099
MDU6SXNzdWU4OTgxMjgwOTk=
2,391
Missing original answers in kilt-TriviaQA
closed
completed
2021-05-21T14:57:07
2021-06-14T17:29:11
2021-06-14T17:29:11Z
https://github.com/huggingface/datasets/issues/2391
PaulLerner
[ "bug" ]
[]
[ "That could be useful indeed! Feel free to open a PR on the dataset card if you already have some code that runs, otherwise we'll take care of it soon :) ", "I can open a PR but there is 2 details to fix:\r\n- the name for the corresponding key (e.g. `original_answer`)\r\n- how to implement it: I’m not sure what ...
CONTRIBUTOR
I previously opened an issue at https://github.com/facebookresearch/KILT/issues/42 but from the answer of @fabiopetroni it seems that the problem comes from HF-datasets ## Describe the bug The `answer` field in kilt-TriviaQA, e.g. `kilt_tasks['train_triviaqa'][0]['output']['answer']` contains a list of alternative ...
897,767,470
MDU6SXNzdWU4OTc3Njc0NzA=
2,388
Incorrect URLs for some datasets
closed
completed
2021-05-21T07:22:35
2021-06-04T17:39:45
2021-06-04T17:39:45Z
https://github.com/huggingface/datasets/issues/2388
lewtun
[ "bug" ]
[ "lewtun" ]
[]
MEMBER
## Describe the bug It seems that the URLs for the following datasets are invalid: - [ ] `bn_hate_speech` has been renamed: https://github.com/rezacsedu/Bengali-Hate-Speech-Dataset/commit/c67ecfc4184911e12814f6b36901f9828df8a63a - [ ] `covid_tweets_japanese` has been renamed: http://www.db.info.gifu-u.ac.jp/covi...
897,566,666
MDU6SXNzdWU4OTc1NjY2NjY=
2,387
datasets 1.6 ignores cache
closed
completed
2021-05-21T00:12:58
2021-05-26T16:07:54
2021-05-26T16:07:54Z
https://github.com/huggingface/datasets/issues/2387
stas00
[ "bug" ]
[ "albertvillanova" ]
[ "Looks like there are multiple issues regarding this (#2386, #2322) and it's a WIP #2329. Currently these datasets are being loaded in-memory which is causing this issue. Quoting @mariosasko here for a quick fix:\r\n\r\n> set `keep_in_memory` to `False` when loading a dataset (`sst = load_dataset(\"sst\", keep_in_m...
CONTRIBUTOR
Moving from https://github.com/huggingface/transformers/issues/11801#issuecomment-845546612 Quoting @VictorSanh: > > I downgraded datasets to `1.5.0` and printed `tokenized_datasets.cache_files` (L335): > > > `{'train': [{'filename': '/home/victor/.cache/huggingface/datasets/openwebtext10k/plain_text/1.0.0/...
897,560,049
MDU6SXNzdWU4OTc1NjAwNDk=
2,386
Accessing Arrow dataset cache_files
closed
completed
2021-05-20T23:57:43
2021-05-21T19:18:03
2021-05-21T19:18:03Z
https://github.com/huggingface/datasets/issues/2386
Mehrad0711
[ "bug" ]
[]
[ "Thanks @bhavitvyamalik for referencing the workaround. Setting `keep_in_memory=False` is working." ]
NONE
## Describe the bug In datasets 1.5.0 the following code snippet would have printed the cache_files: ``` train_data = load_dataset('conll2003', split='train', cache_dir='data') print(train_data.cache_files[0]['filename']) ``` However, in the newest release (1.6.1), it prints an empty list. I also tried l...
895,610,216
MDU6SXNzdWU4OTU2MTAyMTY=
2,382
DuplicatedKeysError: FAILURE TO GENERATE DATASET ! load_dataset('head_qa', 'en')
closed
completed
2021-05-19T15:49:48
2021-05-30T13:26:16
2021-05-30T13:26:16Z
https://github.com/huggingface/datasets/issues/2382
helloworld123-lab
[]
[]
[]
NONE
Hello everyone, I try to use head_qa dataset in [https://huggingface.co/datasets/viewer/?dataset=head_qa&config=en](url) ``` !pip install datasets from datasets import load_dataset dataset = load_dataset( 'head_qa', 'en') ``` When I write above load_dataset(.), it throws the following: ``` Duplicated...
895,131,774
MDU6SXNzdWU4OTUxMzE3NzQ=
2,378
Add missing dataset_infos.json files
open
2021-05-19T08:11:12
2021-05-19T08:11:12
https://github.com/huggingface/datasets/issues/2378
lewtun
[ "enhancement" ]
[ "lewtun" ]
[]
MEMBER
Some of the datasets in `datasets` are missing a `dataset_infos.json` file, e.g. ``` [PosixPath('datasets/chr_en/chr_en.py'), PosixPath('datasets/chr_en/README.md')] [PosixPath('datasets/telugu_books/README.md'), PosixPath('datasets/telugu_books/telugu_books.py')] [PosixPath('datasets/reclor/README.md'), PosixPat...