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
MDU6SXNzdWU5NTY4OTUxOTk=
2,736
Add Microsoft Building Footprints dataset
## Adding a Dataset - **Name:** Microsoft Building Footprints - **Description:** With the goal to increase the coverage of building footprint data available as open data for OpenStreetMap and humanitarian efforts, we have released millions of building footprints as open data available to download free of charge. - *...
OPEN
2021-07-30T16:17:08
2021-12-08T12:09:03
null
https://github.com/huggingface/datasets/issues/2736
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "dataset request" }, { "name": "vision" } ] }
[ "Motivation: this can be a useful dataset for researchers working on climate change adaptation, urban studies, geography, etc. I'll see if I can figure out how to add it!" ]
MDU6SXNzdWU5NTY4ODkzNjU=
2,735
Add Open Buildings dataset
## Adding a Dataset - **Name:** Open Buildings - **Description:** A dataset of building footprints to support social good applications. Building footprints are useful for a range of important applications, from population estimation, urban planning and humanitarian response, to environmental and climate science....
OPEN
2021-07-30T16:08:39
2021-07-31T05:01:25
null
https://github.com/huggingface/datasets/issues/2735
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "dataset request" } ] }
[]
MDU6SXNzdWU5NTU5ODc4MzQ=
2,730
Update CommonVoice with new release
## Adding a Dataset - **Name:** CommonVoice mid-2021 release - **Description:** more data in CommonVoice: Languages that have increased the most by percentage are Thai (almost 20x growth, from 12 hours to 250 hours), Luganda (almost 9x growth, from 8 to 80), Esperanto (7x growth, from 100 to 840), and Tamil (almost 8...
OPEN
2021-07-29T15:59:59
2021-08-07T16:19:19
null
https://github.com/huggingface/datasets/issues/2730
{ "login": "yjernite" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "cc @patrickvonplaten?", "Does anybody know if there is a bundled link, which would allow direct data download instead of manual? \r\nSomething similar to: `https://voice-prod-bundler-ee1969a6ce8178826482b88e843c335139bd3fb4.s3.amazonaws.com/cv-corpus-6.1-2020-12-11/ab.tar.gz` ? cc @patil-suraj \r\n", "Also see...
MDU6SXNzdWU5NTU4OTI5NzA=
2,728
Concurrent use of same dataset (already downloaded)
## Describe the bug When launching several jobs at the same time loading the same dataset trigger some errors see (last comments). ## Steps to reproduce the bug export HF_DATASETS_CACHE=/gpfswork/rech/toto/datasets for MODEL in "bert-base-uncased" "roberta-base" "distilbert-base-cased"; do # "bert-base-uncased" ...
OPEN
2021-07-29T14:18:38
2021-08-02T07:25:57
null
https://github.com/huggingface/datasets/issues/2728
{ "login": "PierreColombo" }
{ "nodes": [ { "name": "bug" } ] }
[ "Launching simultaneous job relying on the same datasets try some writing issue. I guess it is unexpected since I only need to load some already downloaded file.", "If i have two jobs that use the same dataset. I got :\r\n\r\n\r\n File \"compute_measures.py\", line 181, in <module>\r\n train_loader, val_loade...
MDU6SXNzdWU5NTU4MTIxNDk=
2,727
Error in loading the Arabic Billion Words Corpus
## Describe the bug I get `IndexError: list index out of range` when trying to load the `Techreen` and `Almustaqbal` configs of the dataset. ## Steps to reproduce the bug ```python load_dataset("arabic_billion_words", "Techreen") load_dataset("arabic_billion_words", "Almustaqbal") ``` ## Expected results Th...
CLOSED
2021-07-29T12:53:09
2021-07-30T13:03:55
2021-07-30T13:03:55
https://github.com/huggingface/datasets/issues/2727
{ "login": "M-Salti" }
{ "nodes": [ { "name": "bug" } ] }
[ "I modified the dataset loading script to catch the `IndexError` and inspect the records at which the error is happening, and I found this:\r\nFor the `Techreen` config, the error happens in 36 records when trying to find the `Text` or `Dateline` tags. All these 36 records look something like:\r\n```\r\n<Techreen>\...
MDU6SXNzdWU5NTQ5MTk2MDc=
2,724
404 Error when loading remote data files from private repo
## Describe the bug When loading remote data files from a private repo, a 404 error is raised. ## Steps to reproduce the bug ```python url = hf_hub_url("lewtun/asr-preds-test", "preds.jsonl", repo_type="dataset") dset = load_dataset("json", data_files=url, use_auth_token=True) # HTTPError: 404 Client Error: Not...
CLOSED
2021-07-28T14:24:23
2021-07-29T04:58:49
2021-07-28T16:38:01
https://github.com/huggingface/datasets/issues/2724
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[ "I guess the issue is when computing the ETags of the remote files. Indeed `use_auth_token` must be passed to `request_etags` here:\r\n\r\nhttps://github.com/huggingface/datasets/blob/35b5e4bc0cb2ed896e40f3eb2a4aa3de1cb1a6c5/src/datasets/builder.py#L160-L160", "Yes, I remember having properly implemented that: \r...
MDU6SXNzdWU5NTQ0NDYwNTM=
2,722
Missing cache file
Strangely missing cache file after I restart my program again. `glue_dataset = datasets.load_dataset('glue', 'sst2')` `FileNotFoundError: [Errno 2] No such file or directory: /Users/chris/.cache/huggingface/datasets/glue/sst2/1.0.0/dacbe3125aa31d7f70367a07a8a9e72a5a0bfeb5fc42e75c9db75b96d6053ad/dataset_info.json...
CLOSED
2021-07-28T03:52:07
2022-03-21T08:27:51
2022-03-21T08:27:51
https://github.com/huggingface/datasets/issues/2722
{ "login": "PosoSAgapo" }
{ "nodes": [ { "name": "bug" } ] }
[ "This could be solved by going to the glue/ directory and delete sst2 directory, then load the dataset again will help you redownload the dataset.", "Hi ! Not sure why this file was missing, but yes the way to fix this is to delete the sst2 directory and to reload the dataset" ]
MDU6SXNzdWU5NTM5MzI0MTY=
2,719
Use ETag in streaming mode to detect resource updates
**Is your feature request related to a problem? Please describe.** I want to cache data I generate from processing a dataset I've loaded in streaming mode, but I've currently no way to know if the remote data has been updated or not, thus I don't know when to invalidate my cache. **Describe the solution you'd lik...
OPEN
2021-07-27T14:17:09
2021-10-22T09:36:08
null
https://github.com/huggingface/datasets/issues/2719
{ "login": "severo" }
{ "nodes": [ { "name": "enhancement" }, { "name": "dataset-viewer" } ] }
[]
MDU6SXNzdWU5NTI5MDI3Nzg=
2,716
Calling shuffle on IterableDataset will disable batching in case any functions were mapped
When using dataset in streaming mode, if one applies `shuffle` method on the dataset and `map` method for which `batched=True` than the batching operation will not happen, instead `batched` will be set to `False` I did RCA on the dataset codebase, the problem is emerging from [this line of code](https://github.com/h...
CLOSED
2021-07-26T13:24:59
2021-07-26T18:04:43
2021-07-26T18:04:43
https://github.com/huggingface/datasets/issues/2716
{ "login": "amankhandelia" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi :) Good catch ! Feel free to open a PR if you want to contribute, this would be very welcome ;)", "Have raised the PR [here](https://github.com/huggingface/datasets/pull/2717)", "Fixed by #2717." ]
MDU6SXNzdWU5NTI1ODA4MjA=
2,714
add more precise information for size
For the import into ELG, we would like a more precise description of the size of the dataset, instead of the current size categories. The size can be expressed in bytes, or any other preferred size unit. As suggested in the slack channel, perhaps this could be computed with a regex for existing datasets.
OPEN
2021-07-26T07:11:03
2021-07-26T09:16:25
null
https://github.com/huggingface/datasets/issues/2714
{ "login": "pennyl67" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "We already have this information in the dataset_infos.json files of each dataset.\r\nMaybe we can parse these files in the backend to return their content with the endpoint at huggingface.co/api/datasets\r\n\r\nFor now if you want to access this info you have to load the json for each dataset. For example:\r\n- fo...
MDU6SXNzdWU5NTE1MzQ3NTc=
2,709
Missing documentation for wnut_17 (ner_tags)
On the info page of the wnut_17 data set (https://huggingface.co/datasets/wnut_17), the model output of ner-tags is only documented for these 5 cases: `ner_tags: a list of classification labels, with possible values including O (0), B-corporation (1), I-corporation (2), B-creative-work (3), I-creative-work (4).` ...
CLOSED
2021-07-23T12:25:32
2021-07-26T09:30:55
2021-07-26T09:30:55
https://github.com/huggingface/datasets/issues/2709
{ "login": "maxpel" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @maxpel, thanks for reporting this issue.\r\n\r\nIndeed, the documentation in the dataset card is not complete. I’m opening a Pull Request to fix it.\r\n\r\nAs the paper explains, there are 6 entity types and we have ordered them alphabetically: `corporation`, `creative-work`, `group`, `location`, `person` and ...
MDU6SXNzdWU5NTEwOTI2NjA=
2,708
QASC: incomplete training set
## Describe the bug The training instances are not loaded properly. ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("qasc", script_version='1.10.2') def load_instances(split): instances = dataset[split] print(f"split: {split} - size: {len(instanc...
CLOSED
2021-07-22T21:59:44
2021-07-23T13:30:07
2021-07-23T13:30:07
https://github.com/huggingface/datasets/issues/2708
{ "login": "danyaljj" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @danyaljj, thanks for reporting.\r\n\r\nUnfortunately, I have not been able to reproduce your problem. My train split has 8134 examples:\r\n```ipython\r\nIn [10]: ds[\"train\"]\r\nOut[10]:\r\nDataset({\r\n features: ['id', 'question', 'choices', 'answerKey', 'fact1', 'fact2', 'combinedfact', 'formatted_quest...
MDU6SXNzdWU5NTA4MTI5NDU=
2,707
404 Not Found Error when loading LAMA dataset
The [LAMA](https://huggingface.co/datasets/viewer/?dataset=lama) probing dataset is not available for download: Steps to Reproduce: 1. `from datasets import load_dataset` 2. `dataset = load_dataset('lama', 'trex')`. Results: `FileNotFoundError: Couldn't find file locally at lama/lama.py, or remotely ...
CLOSED
2021-07-22T15:52:33
2021-07-26T14:29:07
2021-07-26T14:29:07
https://github.com/huggingface/datasets/issues/2707
{ "login": "dwil2444" }
{ "nodes": [] }
[ "Hi @dwil2444! I was able to reproduce your error when I downgraded to v1.1.2. Updating to the latest version of Datasets fixed the error for me :)", "Hi @dwil2444, thanks for reporting.\r\n\r\nCould you please confirm which `datasets` version you were using and if the problem persists after you update it to the ...
MDU6SXNzdWU5NTA0ODg1ODM=
2,705
404 not found error on loading WIKIANN dataset
## Describe the bug Unable to retreive wikiann English dataset ## Steps to reproduce the bug ```python from datasets import list_datasets, load_dataset, list_metrics, load_metric WIKIANN = load_dataset("wikiann","en") ``` ## Expected results Colab notebook should display successful download status ## Act...
CLOSED
2021-07-22T09:55:50
2021-07-23T08:07:32
2021-07-23T08:07:32
https://github.com/huggingface/datasets/issues/2705
{ "login": "ronbutan" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @ronbutan, thanks for reporting.\r\n\r\nYou are right: we have recently found that the link to the original PAN-X dataset (also called WikiANN), hosted at Dropbox, is no longer working.\r\n\r\nWe have opened an issue in the GitHub repository of the original dataset (afshinrahimi/mmner#4) and we have also contac...
MDU6SXNzdWU5NTA0ODIyODQ=
2,703
Bad message when config name is missing
When loading a dataset that have several configurations, we expect to see an error message if the user doesn't specify a config name. However in `datasets` 1.10.0 and 1.10.1 it doesn't show the right message: ```python import datasets datasets.load_dataset("glue") ``` raises ```python AttributeError: 'Bui...
CLOSED
2021-07-22T09:47:23
2021-07-22T10:02:40
2021-07-22T10:02:40
https://github.com/huggingface/datasets/issues/2703
{ "login": "lhoestq" }
{ "nodes": [] }
[]
MDU6SXNzdWU5NTAyNzYzMjU=
2,700
from datasets import Dataset is failing
## Describe the bug A clear and concise description of what the bug is. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from datasets import Dataset ``` ## Expected results A clear and concise description of the expected results. ## Actual results Specify the actual results or...
CLOSED
2021-07-22T03:51:23
2021-07-22T07:23:45
2021-07-22T07:09:07
https://github.com/huggingface/datasets/issues/2700
{ "login": "kswamy15" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @kswamy15, thanks for reporting.\r\n\r\nWe are fixing this critical issue and making an urgent patch release of the `datasets` library today.\r\n\r\nIn the meantime, you can circumvent this issue by updating the `tqdm` library: `!pip install -U tqdm`" ]
MDU6SXNzdWU5NTAyMjEyMjY=
2,699
cannot combine splits merging and streaming?
this does not work: `dataset = datasets.load_dataset('mc4','iw',split='train+validation',streaming=True)` with error: `ValueError: Bad split: train+validation. Available splits: ['train', 'validation']` these work: `dataset = datasets.load_dataset('mc4','iw',split='train+validation')` `dataset = datasets.load_d...
CLOSED
2021-07-22T01:13:25
2026-06-05T12:46:56
2026-06-05T12:46:56
https://github.com/huggingface/datasets/issues/2699
{ "login": "eyaler" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi ! That's missing indeed. We'll try to implement this for the next version :)\r\n\r\nI guess we just need to implement #2564 first, and then we should be able to add support for splits combinations", "is there an update on this? ran into the same issue on 2.17.1.\r\n\r\nOn a similar note, the keyword `split=\"...
MDU6SXNzdWU5NDk4NjQ4MjM=
2,695
Cannot import load_dataset on Colab
## Describe the bug Got tqdm concurrent module not found error during importing load_dataset from datasets. ## Steps to reproduce the bug Here [colab notebook](https://colab.research.google.com/drive/1pErWWnVP4P4mVHjSFUtkePd8Na_Qirg4?usp=sharing) to reproduce the error On colab: ```python !pip install dataset...
CLOSED
2021-07-21T15:52:51
2021-07-22T07:26:25
2021-07-22T07:09:07
https://github.com/huggingface/datasets/issues/2695
{ "login": "bayartsogt-ya" }
{ "nodes": [ { "name": "bug" } ] }
[ "I'm facing the same issue on Colab today too.\r\n\r\n```\r\nModuleNotFoundError Traceback (most recent call last)\r\n<ipython-input-4-5833ac0f5437> in <module>()\r\n 3 \r\n 4 from ray import tune\r\n----> 5 from datasets import DatasetDict, Dataset\r\n 6 from datasets import lo...
MDU6SXNzdWU5NDk3NTgzNzk=
2,691
xtreme / pan-x cannot be downloaded
## Describe the bug Dataset xtreme / pan-x cannot be loaded Seems related to https://github.com/huggingface/datasets/pull/2326 ## Steps to reproduce the bug ```python dataset = load_dataset("xtreme", "PAN-X.fr") ``` ## Expected results Load the dataset ## Actual results ``` FileNotFoundError:...
CLOSED
2021-07-21T14:18:05
2021-07-26T09:34:22
2021-07-26T09:34:22
https://github.com/huggingface/datasets/issues/2691
{ "login": "severo" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @severo, thanks for reporting.\r\n\r\nHowever I have not been able to reproduce this issue. Could you please confirm if the problem persists for you?\r\n\r\nMaybe Dropbox (where the data source is hosted) was temporarily unavailable when you tried.", "Hmmm, the file (https://www.dropbox.com/s/dl/12h3qqog6q4bj...
MDU6SXNzdWU5NDk0NDcxMDQ=
2,689
cannot save the dataset to disk after rename_column
## Describe the bug If you use `rename_column` and do no other modification, you will be unable to save the dataset using `save_to_disk` ## Steps to reproduce the bug ```python # Sample code to reproduce the bug In [1]: from datasets import Dataset, load_from_disk In [5]: dataset=Dataset.from_dict({'foo': [0]})...
CLOSED
2021-07-21T08:13:40
2025-02-11T23:23:17
2021-07-21T13:11:04
https://github.com/huggingface/datasets/issues/2689
{ "login": "PaulLerner" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi ! That's because you are trying to overwrite a file that is already open and being used.\r\nIndeed `foo/dataset.arrow` is open and used by your `dataset` object.\r\n\r\nWhen you do `rename_column`, the resulting dataset reads the data from the same arrow file.\r\nIn other cases like when using `map` on the othe...
MDU6SXNzdWU5NDkxODIwNzQ=
2,688
hebrew language codes he and iw should be treated as aliases
https://huggingface.co/datasets/mc4 not listed when searching for hebrew datasets (he) as it uses the older language code iw, preventing discoverability.
CLOSED
2021-07-20T23:13:52
2021-07-21T16:34:53
2021-07-21T16:34:53
https://github.com/huggingface/datasets/issues/2688
{ "login": "eyaler" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @eyaler, thanks for reporting.\r\n\r\nWhile you are true with respect the Hebrew language tag (\"iw\" is deprecated and \"he\" is the preferred value), in the \"mc4\" dataset (which is a derived dataset) we have kept the language tags present in the original dataset: [Google C4](https://www.tensorflow.org/datas...
MDU6SXNzdWU5NDg3MjEzNzk=
2,683
Cache directories changed due to recent changes in how config kwargs are handled
Since #2659 I can see weird cache directory names with hashes in the config id, even though no additional config kwargs are passed. For example: ```python from datasets import load_dataset_builder c4_builder = load_dataset_builder("c4", "en") print(c4_builder.cache_dir) # /Users/quentinlhoest/.cache/huggingfac...
CLOSED
2021-07-20T14:37:57
2021-07-20T16:27:15
2021-07-20T16:27:15
https://github.com/huggingface/datasets/issues/2683
{ "login": "lhoestq" }
{ "nodes": [] }
[]
MDU6SXNzdWU5NDg3MDg2NDU=
2,681
5 duplicate datasets
## Describe the bug In 5 cases, I could find a dataset on Paperswithcode which references two Hugging Face datasets as dataset loaders. They are: - https://paperswithcode.com/dataset/multinli -> https://huggingface.co/datasets/multi_nli and https://huggingface.co/datasets/multi_nli_mismatch <img width="838...
CLOSED
2021-07-20T14:25:00
2021-07-20T15:44:17
2021-07-20T15:44:17
https://github.com/huggingface/datasets/issues/2681
{ "login": "severo" }
{ "nodes": [ { "name": "bug" } ] }
[ "Yes this was documented in the PR that added this hf->paperswithcode mapping (https://github.com/huggingface/datasets/pull/2404) and AFAICT those are slightly distinct datasets so I think it's a wontfix\r\n\r\nFor context on the paperswithcode mapping you can also refer to https://github.com/huggingface/huggingfac...
MDU6SXNzdWU5NDg1MDY2Mzg=
2,679
Cannot load the blog_authorship_corpus due to codec errors
## Describe the bug A codec error is raised while loading the blog_authorship_corpus. ## Steps to reproduce the bug ``` from datasets import load_dataset raw_datasets = load_dataset("blog_authorship_corpus") ``` ## Expected results Loading the dataset without errors. ## Actual results An error simila...
CLOSED
2021-07-20T10:13:20
2021-07-21T17:02:21
2021-07-21T13:11:58
https://github.com/huggingface/datasets/issues/2679
{ "login": "izaskr" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @izaskr, thanks for reporting.\r\n\r\nHowever the traceback you joined does not correspond to the codec error message: it is about other error `NonMatchingSplitsSizesError`. Maybe you missed some important part of your traceback...\r\n\r\nI'm going to have a look at the dataset anyway...", "Hi @izaskr, thanks...
MDU6SXNzdWU5NDg0NzEyMjI=
2,678
Import Error in Kaggle notebook
## Describe the bug Not able to import datasets library in kaggle notebooks ## Steps to reproduce the bug ```python !pip install datasets import datasets ``` ## Expected results No such error ## Actual results ``` ImportError Traceback (most recent call last) <ipython-inp...
CLOSED
2021-07-20T09:28:38
2021-07-21T13:59:26
2021-07-21T13:03:02
https://github.com/huggingface/datasets/issues/2678
{ "login": "prikmm" }
{ "nodes": [ { "name": "bug" } ] }
[ "This looks like an issue with PyArrow. Did you try reinstalling it ?", "@lhoestq I did, and then let pip handle the installation in `pip import datasets`. I also tried using conda but it gives the same error.\r\n\r\nEdit: pyarrow version on kaggle is 4.0.0, it gets replaced with 4.0.1. So, I don't think uninstal...
MDU6SXNzdWU5NDg0Mjk3ODg=
2,677
Error when downloading C4
Hi, I am trying to download `en` corpus from C4 dataset. However, I get an error caused by validation files download (see image). My code is very primitive: `datasets.load_dataset('c4', 'en')` Is this a bug or do I have some configurations missing on my server? Thanks! <img width="1014" alt="Снимок экрана 2...
CLOSED
2021-07-20T08:37:30
2021-07-20T14:41:31
2021-07-20T14:38:10
https://github.com/huggingface/datasets/issues/2677
{ "login": "Aktsvigun" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi Thanks for reporting !\r\nIt looks like these files are not correctly reported in the list of expected files to download, let me fix that ;)", "Alright this is fixed now. We'll do a new release soon to make the fix available.\r\n\r\nIn the meantime feel free to simply pass `ignore_verifications=True` to `load...
MDU6SXNzdWU5NDcxMjA3MDk=
2,670
Using sharding to parallelize indexing
**Is your feature request related to a problem? Please describe.** Creating an elasticsearch index on large dataset could be quite long and cannot be parallelized on shard (the index creation is colliding) **Describe the solution you'd like** When working on dataset shards, if an index already exists, its mapping ...
OPEN
2021-07-18T21:26:26
2021-10-07T13:33:25
null
https://github.com/huggingface/datasets/issues/2670
{ "login": "ggdupont" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
MDU6SXNzdWU5NDY5ODI5OTg=
2,669
Metric kwargs are not passed to underlying external metric f1_score
## Describe the bug When I want to use F1 score with average="min", this keyword argument does not seem to be passed through to the underlying sklearn metric. This is evident because [sklearn](https://scikit-learn.org/stable/modules/generated/sklearn.metrics.f1_score.html) throws an error telling me so. ## Steps to...
CLOSED
2021-07-18T08:32:31
2021-07-18T18:36:05
2021-07-18T11:19:04
https://github.com/huggingface/datasets/issues/2669
{ "login": "BramVanroy" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @BramVanroy, thanks for reporting.\r\n\r\nFirst, note that `\"min\"` is not an allowed value for `average`. According to scikit-learn [documentation](https://scikit-learn.org/stable/modules/generated/sklearn.metrics.f1_score.html), `average` can only take the values: `{\"micro\", \"macro\", \"samples\", \"weigh...
MDU6SXNzdWU5NDY1NTIyNzM=
2,663
[`to_json`] add multi-proc sharding support
As discussed on slack it appears that `to_json` is quite slow on huge datasets like OSCAR. I implemented sharded saving, which is much much faster - but the tqdm bars all overwrite each other, so it's hard to make sense of the progress, so if possible ideally this multi-proc support could be implemented internally i...
CLOSED
2021-07-16T19:41:50
2021-09-13T13:56:37
2021-09-13T13:56:37
https://github.com/huggingface/datasets/issues/2663
{ "login": "stas00" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Hi @stas00, \r\nI want to work on this issue and I was thinking why don't we use `imap` [in this loop](https://github.com/huggingface/datasets/blob/440b14d0dd428ae1b25881aa72ba7bbb8ad9ff84/src/datasets/io/json.py#L99)? This way, using offset (which is being used to slice the pyarrow table) we can convert pyarrow ...
MDU6SXNzdWU5NDYxMzk1MzI=
2,658
Can't pass `sep=None` to load_dataset("csv", ...) to infer the separator via pandas.read_csv
When doing `load_dataset("csv", sep=None)`, the `sep` passed to `pd.read_csv` is still the default `sep=","` instead, which makes it impossible to make the csv loader infer the separator. Related to https://github.com/huggingface/datasets/pull/2656 cc @SBrandeis
CLOSED
2021-07-16T10:05:44
2021-07-16T12:46:06
2021-07-16T12:46:06
https://github.com/huggingface/datasets/issues/2658
{ "login": "lhoestq" }
{ "nodes": [] }
[]
MDU6SXNzdWU5NDU4MjI4Mjk=
2,657
`to_json` reporting enhancements
While using `to_json` 2 things came to mind that would have made the experience easier on the user: 1. Could we have a `desc` arg for the tqdm use and a fallback to just `to_json` so that it'd be clear to the user what's happening? Surely, one can just print the description before calling json, but I thought perhaps...
OPEN
2021-07-15T23:32:18
2021-07-15T23:33:53
null
https://github.com/huggingface/datasets/issues/2657
{ "login": "stas00" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
MDU6SXNzdWU5NDUzODI3MjM=
2,655
Allow the selection of multiple columns at once
**Is your feature request related to a problem? Please describe.** Similar to pandas, it would be great if we could select multiple columns at once. **Describe the solution you'd like** ```python my_dataset = ... # Has columns ['idx', 'sentence', 'label'] idx, label = my_dataset[['idx', 'label']] ``` **...
CLOSED
2021-07-15T13:30:45
2024-01-09T15:11:27
2024-01-09T07:46:28
https://github.com/huggingface/datasets/issues/2655
{ "login": "Dref360" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Hi! I was looking into this and hope you can clarify a point. Your my_dataset variable would be of type DatasetDict which means the alternative you've described (dict comprehension) is what makes sense. \r\nIs there a reason why you wouldn't want to convert my_dataset to a pandas df if you'd like to use it like on...
MDU6SXNzdWU5NDUxNjcyMzE=
2,654
Give a user feedback if the dataset he loads is streamable or not
**Is your feature request related to a problem? Please describe.** I would love to know if a `dataset` is with the current implementation streamable or not. **Describe the solution you'd like** We could show a warning when a dataset is loaded with `load_dataset('...',streaming=True)` when its lot streamable, e.g....
OPEN
2021-07-15T09:07:27
2021-08-02T11:03:21
null
https://github.com/huggingface/datasets/issues/2654
{ "login": "philschmid" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "#self-assign", "I understand it already raises a `NotImplementedError` exception, eg:\r\n\r\n```\r\n>>> dataset = load_dataset(\"journalists_questions\", name=\"plain_text\", split=\"train\", streaming=True)\r\n\r\n[...]\r\nNotImplementedError: Extraction protocol for file at https://drive.google.com/uc?export=d...
MDU6SXNzdWU5NDUxMDIzMjE=
2,653
Add SD task for SUPERB
Include the SD (Speaker Diarization) task as described in the [SUPERB paper](https://arxiv.org/abs/2105.01051) and `s3prl` [instructions](https://github.com/s3prl/s3prl/tree/master/s3prl/downstream#sd-speaker-diarization). Steps: - [x] Generate the LibriMix corpus - [x] Prepare the corpus for diarization - [x] Up...
CLOSED
2021-07-15T07:51:40
2021-08-04T17:03:52
2021-08-04T17:03:52
https://github.com/huggingface/datasets/issues/2653
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "Note that this subset requires us to:\r\n\r\n* generate the LibriMix corpus from LibriSpeech\r\n* prepare the corpus for diarization\r\n\r\nAs suggested by @lhoestq we should perform these steps locally and add the prepared data to this public repo on the Hub: https://huggingface.co/datasets/superb/superb-data\r\n...
MDU6SXNzdWU5NDQ3OTY5NjE=
2,651
Setting log level higher than warning does not suppress progress bar
## Describe the bug I would like to disable progress bars for `.map` method (and other methods like `.filter` and `load_dataset` as well). According to #1627 one can suppress it by setting log level higher than `warning`, however doing so doesn't suppress it with version 1.9.0. I also tried to set `DATASETS_VERBOS...
CLOSED
2021-07-14T21:06:51
2022-07-08T14:51:57
2021-07-15T03:41:35
https://github.com/huggingface/datasets/issues/2651
{ "login": "Isa-rentacs" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi,\r\n\r\nyou can suppress progress bars by patching logging as follows:\r\n```python\r\nimport datasets\r\nimport logging\r\ndatasets.logging.get_verbosity = lambda: logging.NOTSET\r\n# map call ...\r\n```\r\nEDIT: now you have to use `disable_progress_bar `", "Thank you, it worked :)", "See https://github.c...
MDU6SXNzdWU5NDQ2NzI1NjU=
2,650
[load_dataset] shard and parallelize the process
- Some huge datasets take forever to build the first time. (e.g. oscar/en) as it's done in a single cpu core. - If the build crashes, everything done up to that point gets lost Request: Shard the build over multiple arrow files, which would enable: - much faster build by parallelizing the build process - if the p...
CLOSED
2021-07-14T18:04:58
2023-11-28T19:11:41
2023-11-28T19:11:40
https://github.com/huggingface/datasets/issues/2650
{ "login": "stas00" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "I need the same feature for distributed training", "I think @TevenLeScao is exploring adding multiprocessing in `GeneratorBasedBuilder._prepare_split` - feel free to post updates here :)", "Posted a PR to address the building side, still needs something to load sharded arrow files + tests", "Closing as this ...
MDU6SXNzdWU5NDQ2NTEyMjk=
2,649
adding progress bar / ETA for `load_dataset`
Please consider: ``` Downloading and preparing dataset oscar/unshuffled_deduplicated_en (download: 462.40 GiB, generated: 1.18 TiB, post-processed: Unknown size, total: 1.63 TiB) to cache/oscar/unshuffled_deduplicated_en/1.0.0/84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2... HF google storage unre...
OPEN
2021-07-14T17:34:39
2023-03-27T10:32:49
null
https://github.com/huggingface/datasets/issues/2649
{ "login": "stas00" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Is this done now? I see progress bars when using `load_dataset`.", "There are progress bars when downloading data and when preparing them as Arrow files.\r\n\r\nThe \"total silence\" part mentioned in OP refer to checksums verifications which have had some changes in the latest release 2.10:\r\n- they're disable...
MDU6SXNzdWU5NDQ0ODQ1MjI=
2,648
Add web_split dataset for Paraphase and Rephrase benchmark
## Describe: For getting simple sentences from complex sentence there are dataset and task like wiki_split that is available in hugging face datasets. This web_split is a very similar dataset. There some research paper which states that by combining these two datasets we if we train the model it will yield better resu...
OPEN
2021-07-14T14:24:36
2021-07-14T14:26:12
null
https://github.com/huggingface/datasets/issues/2648
{ "login": "bhadreshpsavani" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "#take" ]
MDU6SXNzdWU5NDQzNzk5NTQ=
2,646
downloading of yahoo_answers_topics dataset failed
## Describe the bug I get an error datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files when I try to download the yahoo_answers_topics dataset ## Steps to reproduce the bug self.dataset = load_dataset( 'yahoo_answers_topics', cache_dir=self.config...
CLOSED
2021-07-14T12:31:05
2022-08-04T08:28:24
2022-08-04T08:28:24
https://github.com/huggingface/datasets/issues/2646
{ "login": "vikrant7k" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi ! I just tested and it worked fine today for me.\r\n\r\nI think this is because the dataset is stored on Google Drive which has a quota limit for the number of downloads per day, see this similar issue https://github.com/huggingface/datasets/issues/996 \r\n\r\nFeel free to try again today, now that the quota wa...
MDU6SXNzdWU5NDQzNzQyODQ=
2,645
load_dataset processing failed with OS error after downloading a dataset
## Describe the bug After downloading a dataset like opus100, there is a bug that OSError: Cannot find data file. Original error: dlopen: cannot load any more object with static TLS ## Steps to reproduce the bug ```python from datasets import load_dataset this_dataset = load_dataset('opus100', 'af-en') ``` ...
CLOSED
2021-07-14T12:23:53
2021-07-15T09:34:02
2021-07-15T09:34:02
https://github.com/huggingface/datasets/issues/2645
{ "login": "fake-warrior8" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi ! It looks like an issue with pytorch.\r\n\r\nCould you try to run `import torch` and see if it raises an error ?", "> Hi ! It looks like an issue with pytorch.\r\n> \r\n> Could you try to run `import torch` and see if it raises an error ?\r\n\r\nIt works. Thank you!" ]
MDU6SXNzdWU5NDQyNTQ3NDg=
2,644
Batched `map` not allowed to return 0 items
## 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...
CLOSED
2021-07-14T09:58:19
2021-07-26T14:55:15
2021-07-26T14:55:15
https://github.com/huggingface/datasets/issues/2644
{ "login": "pcuenca" }
{ "nodes": [ { "name": "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...
MDU6SXNzdWU5NDQyMjAyNzM=
2,643
Enum used in map functions will raise a RecursionError with dill.
## 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` ...
OPEN
2021-07-14T09:16:08
2021-11-02T09:51:11
null
https://github.com/huggingface/datasets/issues/2643
{ "login": "jorgeecardona" }
{ "nodes": [ { "name": "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...
MDU6SXNzdWU5NDQxNzU2OTc=
2,642
Support multi-worker with streaming dataset (IterableDataset).
**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...
OPEN
2021-07-14T08:22:58
2024-05-03T10:11:04
null
https://github.com/huggingface/datasets/issues/2642
{ "login": "changjonathanc" }
{ "nodes": [ { "name": "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...
MDU6SXNzdWU5NDM4MzgwODU=
2,641
load_dataset("financial_phrasebank") NonMatchingChecksumError
## 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...
CLOSED
2021-07-13T21:21:49
2022-08-04T08:30:08
2022-08-04T08:30:08
https://github.com/huggingface/datasets/issues/2641
{ "login": "courtmckay" }
{ "nodes": [ { "name": "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 ...
MDU6SXNzdWU5NDIxMDI5NTY=
2,630
Progress bars are not properly rendered in Jupyter notebook
## 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...
CLOSED
2021-07-12T14:07:13
2022-02-03T15:55:33
2022-02-03T15:55:33
https://github.com/huggingface/datasets/issues/2630
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "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...
MDU6SXNzdWU5NDE4MTkyMDU=
2,629
Load datasets from the Hub without requiring a dataset script
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...
CLOSED
2021-07-12T08:45:17
2021-08-25T14:18:08
2021-08-25T14:18:08
https://github.com/huggingface/datasets/issues/2629
{ "login": "lhoestq" }
{ "nodes": [] }
[ "This is so cool, let us know if we can help with anything on the hub side (@Pierrci @elishowk) 🎉 " ]
MDU6SXNzdWU5NDE0Mzk5MjI=
2,625
⚛️😇⚙️🔑
CLOSED
2021-07-11T12:14:34
2021-07-12T05:55:59
2021-07-12T05:55:59
https://github.com/huggingface/datasets/issues/2625
{ "login": "hustlen0mics" }
{ "nodes": [] }
[]
MDU6SXNzdWU5NDEzMTgyNDc=
2,624
can't set verbosity for `metric.py`
## 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...
CLOSED
2021-07-10T20:23:45
2021-07-12T05:54:29
2021-07-12T05:54:29
https://github.com/huggingface/datasets/issues/2624
{ "login": "thomas-happify" }
{ "nodes": [ { "name": "bug" } ] }
[ "Thanks @thomas-happify for reporting and thanks @mariosasko for the fix." ]
MDU6SXNzdWU5NDExMjc3ODU=
2,622
Integration with AugLy
**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...
CLOSED
2021-07-10T00:03:09
2023-07-20T13:18:48
2023-07-20T13:18:47
https://github.com/huggingface/datasets/issues/2622
{ "login": "Darktex" }
{ "nodes": [ { "name": "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\": ...
MDU6SXNzdWU5NDA4NTI2NDA=
2,618
`filelock.py` Error
## 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) ...
CLOSED
2021-07-09T15:12:49
2024-06-21T06:14:07
2023-11-23T19:06:19
https://github.com/huggingface/datasets/issues/2618
{ "login": "liyucheng09" }
{ "nodes": [ { "name": "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...
MDU6SXNzdWU5NDA3OTQzMzk=
2,615
Jsonlines export error
## 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...
CLOSED
2021-07-09T14:02:05
2021-07-09T15:29:07
2021-07-09T15:28:33
https://github.com/huggingface/datasets/issues/2615
{ "login": "TevenLeScao" }
{ "nodes": [ { "name": "bug" } ] }
[ "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...
MDU6SXNzdWU5Mzg3OTY5MDI=
2,607
Streaming local gzip compressed JSON line files is not working
## 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))...
CLOSED
2021-07-07T11:36:33
2021-07-20T09:50:19
2021-07-08T16:08:41
https://github.com/huggingface/datasets/issues/2607
{ "login": "thomwolf" }
{ "nodes": [ { "name": "bug" } ] }
[ "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...
MDU6SXNzdWU5Mzg3NjM2ODQ=
2,606
[Metrics] addition of wiki_split metrics
**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...
CLOSED
2021-07-07T10:56:04
2021-07-12T22:34:31
2021-07-12T22:34:31
https://github.com/huggingface/datasets/issues/2606
{ "login": "bhadreshpsavani" }
{ "nodes": [ { "name": "enhancement" }, { "name": "metric request" } ] }
[ "#take" ]
MDU6SXNzdWU5Mzg2MDIyMzc=
2,604
Add option to delete temporary files (e.g. extracted files) when loading dataset
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...
CLOSED
2021-07-07T07:56:16
2021-07-19T09:08:18
2021-07-19T09:08:18
https://github.com/huggingface/datasets/issues/2604
{ "login": "thomwolf" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "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 ...
MDU6SXNzdWU5MzgwODY3NDU=
2,600
Crash when using multiprocessing (`num_proc` > 1) on `filter` and all samples are discarded
## 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...
CLOSED
2021-07-06T16:53:25
2021-07-07T12:50:31
2021-07-07T12:50:31
https://github.com/huggingface/datasets/issues/2600
{ "login": "mxschmdt" }
{ "nodes": [ { "name": "bug" } ] }
[]
MDU6SXNzdWU5Mzc5MzA2MzI=
2,598
Unable to download omp dataset
## 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...
CLOSED
2021-07-06T14:00:52
2021-07-07T12:56:35
2021-07-07T12:56:35
https://github.com/huggingface/datasets/issues/2598
{ "login": "erikadistefano" }
{ "nodes": [ { "name": "bug" } ] }
[ "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...
MDU6SXNzdWU5Mzc1OTg5MTQ=
2,596
Transformer Class on dataset
Just wondering if you have intenttion to create TransformerClass : dataset --> dataset and make determnistic transformation (ie not fit).
CLOSED
2021-07-06T07:27:15
2022-11-02T14:26:09
2022-11-02T14:26:09
https://github.com/huggingface/datasets/issues/2596
{ "login": "arita37" }
{ "nodes": [ { "name": "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...
MDU6SXNzdWU5Mzc0ODMxMjA=
2,595
ModuleNotFoundError: No module named 'datasets.tasks' while importing common voice datasets
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...
CLOSED
2021-07-06T03:20:55
2021-07-06T05:59:49
2021-07-06T05:59:49
https://github.com/huggingface/datasets/issues/2595
{ "login": "profsatwinder" }
{ "nodes": [ { "name": "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. " ]
MDU6SXNzdWU5MzY5NTc5NzU=
2,591
Cached dataset overflowing disk space
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...
CLOSED
2021-07-05T10:43:19
2021-07-19T09:08:19
2021-07-19T09:08:19
https://github.com/huggingface/datasets/issues/2591
{ "login": "BirgerMoell" }
{ "nodes": [] }
[ "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...
MDU6SXNzdWU5MzY0ODQ0MTk=
2,585
sqaud_v2 dataset contains misalignment between the answer text and the context value at the answer index
## 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...
CLOSED
2021-07-04T15:39:49
2021-07-07T13:18:51
2021-07-07T13:18:51
https://github.com/huggingface/datasets/issues/2585
{ "login": "mmajurski" }
{ "nodes": [ { "name": "bug" } ] }
[ "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 ...
MDU6SXNzdWU5MzYwMzQ5NzY=
2,583
Error iteration over IterableDataset using Torch DataLoader
## 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...
CLOSED
2021-07-02T19:55:58
2021-07-20T09:04:45
2021-07-05T23:48:23
https://github.com/huggingface/datasets/issues/2583
{ "login": "LeenaShekhar" }
{ "nodes": [ { "name": "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...
MDU6SXNzdWU5MzQ1ODQ3NDU=
2,573
Finding right block-size with JSON loading difficult for user
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)
OPEN
2021-07-01T08:48:35
2021-07-01T19:10:53
null
https://github.com/huggingface/datasets/issues/2573
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "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" ]
MDU6SXNzdWU5MzQ1NzM3Njc=
2,572
Support Zstandard compressed files
Add support for Zstandard compressed files: https://facebook.github.io/zstd/
CLOSED
2021-07-01T08:37:04
2023-01-03T15:34:01
2021-07-05T10:50:27
https://github.com/huggingface/datasets/issues/2572
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "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...
MDU6SXNzdWU5MzMwMTU3OTc=
2,569
Weights of model checkpoint not initialized for RobertaModel for Bertscore
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 ...
CLOSED
2021-06-29T18:55:23
2021-07-01T07:08:59
2021-06-30T07:35:49
https://github.com/huggingface/datasets/issues/2569
{ "login": "suzyahyah" }
{ "nodes": [ { "name": "bug" } ] }
[ "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...
MDU6SXNzdWU5MzIzODk2Mzk=
2,564
concatenate_datasets for iterable datasets
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.
CLOSED
2021-06-29T08:59:41
2022-06-28T21:15:04
2022-06-28T21:15:04
https://github.com/huggingface/datasets/issues/2564
{ "login": "lhoestq" }
{ "nodes": [] }
[ "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...
MDU6SXNzdWU5MzIzODc2Mzk=
2,563
interleave_datasets for map-style datasets
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.
CLOSED
2021-06-29T08:57:24
2021-07-01T09:33:33
2021-07-01T09:33:33
https://github.com/huggingface/datasets/issues/2563
{ "login": "lhoestq" }
{ "nodes": [] }
[]
MDU6SXNzdWU5MzIzMjE3MjU=
2,561
Existing cache for local dataset builder file updates is ignored with `ignore_verifications=True`
## 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...
CLOSED
2021-06-29T07:43:03
2022-08-04T11:58:36
2022-08-04T11:58:36
https://github.com/huggingface/datasets/issues/2561
{ "login": "apsdehal" }
{ "nodes": [ { "name": "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...
MDU6SXNzdWU5MzE4NDk3MjQ=
2,559
Memory usage consistently increases when processing a dataset with `.map`
## 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...
CLOSED
2021-06-28T18:31:58
2023-07-20T13:34:10
2023-07-20T13:34:10
https://github.com/huggingface/datasets/issues/2559
{ "login": "apsdehal" }
{ "nodes": [ { "name": "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. " ]
MDU6SXNzdWU5MzE1OTU4NzI=
2,556
Better DuplicateKeysError error to help the user debug the issue
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...
CLOSED
2021-06-28T13:50:57
2022-06-28T09:26:04
2022-06-28T09:26:04
https://github.com/huggingface/datasets/issues/2556
{ "login": "lhoestq" }
{ "nodes": [ { "name": "enhancement" }, { "name": "good first issue" } ] }
[ "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...
MDU6SXNzdWU5MzE0NTM4NTU=
2,554
Multilabel metrics not supported
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...
CLOSED
2021-06-28T11:09:46
2021-10-13T12:29:13
2021-07-08T08:40:15
https://github.com/huggingface/datasets/issues/2554
{ "login": "GuillemGSubies" }
{ "nodes": [ { "name": "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...
MDU6SXNzdWU5MzEzNjU5MjY=
2,553
load_dataset("web_nlg") NonMatchingChecksumError
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...
CLOSED
2021-06-28T09:26:46
2021-06-28T17:23:39
2021-06-28T17:23:16
https://github.com/huggingface/datasets/issues/2553
{ "login": "alxthm" }
{ "nodes": [ { "name": "bug" } ] }
[ "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 !" ]
MDU6SXNzdWU5MzEzNTQ2ODc=
2,552
Keys should be unique error on code_search_net
## 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] ...
CLOSED
2021-06-28T09:15:20
2021-09-06T14:08:30
2021-09-02T08:25:29
https://github.com/huggingface/datasets/issues/2552
{ "login": "thomwolf" }
{ "nodes": [ { "name": "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...
MDU6SXNzdWU5MzA5NTEyODc=
2,550
Allow for incremental cumulative metric updates in a distributed setup
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. ...
CLOSED
2021-06-27T15:00:58
2021-09-26T13:42:39
2021-09-26T13:42:39
https://github.com/huggingface/datasets/issues/2550
{ "login": "eladsegal" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
MDU6SXNzdWU5Mjk4MTkwOTM=
2,549
Handling unlabeled datasets
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 `"...
CLOSED
2021-06-25T04:32:23
2021-06-25T21:07:57
2021-06-25T21:07:56
https://github.com/huggingface/datasets/issues/2549
{ "login": "nelson-liu" }
{ "nodes": [ { "name": "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...
MDU6SXNzdWU5MjkyMzI4MzE=
2,548
Field order issue in loading json
## 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...
CLOSED
2021-06-24T13:29:53
2021-06-24T14:36:43
2021-06-24T14:34:05
https://github.com/huggingface/datasets/issues/2548
{ "login": "luyug" }
{ "nodes": [ { "name": "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." ]
MDU6SXNzdWU5MjkxOTIzMjk=
2,547
Dataset load_from_disk is too slow
@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...
OPEN
2021-06-24T12:45:44
2026-01-13T03:50:11
null
https://github.com/huggingface/datasets/issues/2547
{ "login": "avacaondata" }
{ "nodes": [ { "name": "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...
MDU6SXNzdWU5Mjg1NzE5MTU=
2,543
switching some low-level log.info's to log.debug?
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...
CLOSED
2021-06-23T19:26:55
2021-06-25T13:40:19
2021-06-25T13:40:19
https://github.com/huggingface/datasets/issues/2543
{ "login": "stas00" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "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." ]
MDU6SXNzdWU5Mjg1NDAzODI=
2,542
`datasets.keyhash.DuplicatedKeysError` for `drop` and `adversarial_qa/adversarialQA`
## 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...
CLOSED
2021-06-23T18:41:16
2021-06-25T21:50:05
2021-06-24T14:57:08
https://github.com/huggingface/datasets/issues/2542
{ "login": "VictorSanh" }
{ "nodes": [ { "name": "bug" } ] }
[ "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...
MDU6SXNzdWU5Mjc5NDA2OTE=
2,538
Loading partial dataset when debugging
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...
OPEN
2021-06-23T07:19:52
2023-04-19T11:05:38
null
https://github.com/huggingface/datasets/issues/2538
{ "login": "reachtarunhere" }
{ "nodes": [] }
[ "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[...
MDU6SXNzdWU5MjczMzg2Mzk=
2,536
Use `Audio` features for `AutomaticSpeechRecognition` task template
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 ...
CLOSED
2021-06-22T15:07:21
2022-06-01T17:18:16
2022-06-01T17:18:16
https://github.com/huggingface/datasets/issues/2536
{ "login": "lewtun" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "I'm just retaking and working on #2324. 😉 ", "Resolved via https://github.com/huggingface/datasets/pull/4006." ]
MDU6SXNzdWU5MjcwNjMxOTY=
2,532
Tokenizer's normalization preprocessor cause misalignment in return_offsets_mapping for tokenizer classification task
[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...
CLOSED
2021-06-22T10:08:18
2021-06-23T05:17:25
2021-06-23T05:17:25
https://github.com/huggingface/datasets/issues/2532
{ "login": "cosmeowpawlitan" }
{ "nodes": [ { "name": "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" ]
MDU6SXNzdWU5MjYzMTQ2NTY=
2,528
Logging cannot be set to NOTSET similar to transformers
## 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...
CLOSED
2021-06-21T15:04:54
2021-06-24T14:42:47
2021-06-24T14:42:47
https://github.com/huggingface/datasets/issues/2528
{ "login": "joshzwiebel" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @joshzwiebel, thanks for reporting. We are going to align with `transformers`." ]
MDU6SXNzdWU5MjU5MjkyMjg=
2,526
Add COCO datasets
## 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...
OPEN
2021-06-21T07:48:32
2023-06-22T14:12:18
null
https://github.com/huggingface/datasets/issues/2526
{ "login": "NielsRogge" }
{ "nodes": [ { "name": "dataset request" }, { "name": "vision" } ] }
[ "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....
MDU6SXNzdWU5MjU0MjEwMDg=
2,523
Fr
__Originally posted by @lewtun in https://github.com/huggingface/datasets/pull/2469__
CLOSED
2021-06-19T15:56:32
2021-06-19T18:48:23
2021-06-19T18:48:23
https://github.com/huggingface/datasets/issues/2523
{ "login": "aDrIaNo34500" }
{ "nodes": [] }
[]
MDU6SXNzdWU5MjUzMzQzNzk=
2,522
Documentation Mistakes in Dataset: emotion
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...
CLOSED
2021-06-19T07:08:57
2023-01-02T12:04:58
2023-01-02T12:04:58
https://github.com/huggingface/datasets/issues/2522
{ "login": "GDGauravDutta" }
{ "nodes": [ { "name": "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 ...
MDU6SXNzdWU5MjUwMTUwMDQ=
2,520
Datasets with tricky task templates
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)` ...
CLOSED
2021-06-18T15:33:57
2023-07-20T13:20:32
2023-07-20T13:20:32
https://github.com/huggingface/datasets/issues/2520
{ "login": "lewtun" }
{ "nodes": [ { "name": "Dataset discussion" } ] }
[ "The `task_templates` API is deprecated in favor of the `train-eval-index` YAML field, so I'm closing this issue." ]
MDU6SXNzdWU5MjQ1OTc0NzA=
2,516
datasets.map pickle issue resulting in invalid mapping function
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...
OPEN
2021-06-18T06:47:26
2021-06-23T13:47:49
null
https://github.com/huggingface/datasets/issues/2516
{ "login": "david-waterworth" }
{ "nodes": [ { "name": "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 ...
MDU6SXNzdWU5MjQ0MTcxNzI=
2,514
Can datasets remove duplicated rows?
**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*...
OPEN
2021-06-17T23:35:38
2025-11-05T06:27:43
null
https://github.com/huggingface/datasets/issues/2514
{ "login": "liuxinglan" }
{ "nodes": [ { "name": "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...
MDU6SXNzdWU5MjQxNzQ0MTM=
2,513
Corelation should be Correlation
https://github.com/huggingface/datasets/blob/0e87e1d053220e8ecddfa679bcd89a4c7bc5af62/metrics/matthews_correlation/matthews_correlation.py#L66
CLOSED
2021-06-17T17:28:48
2021-06-18T08:43:55
2021-06-18T08:43:55
https://github.com/huggingface/datasets/issues/2513
{ "login": "colbym-MM" }
{ "nodes": [] }
[ "Hi @colbym-MM, thanks for reporting. We are fixing it." ]
MDU6SXNzdWU5MjQwNjkzNTM=
2,512
seqeval metric does not work with a recent version of sklearn: classification_report() got an unexpected keyword argument 'output_dict'
## 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 ...
CLOSED
2021-06-17T15:36:02
2021-06-17T15:46:07
2021-06-17T15:46:07
https://github.com/huggingface/datasets/issues/2512
{ "login": "avidale" }
{ "nodes": [ { "name": "bug" } ] }
[ "Sorry, I was using an old version of sequeval" ]
MDU6SXNzdWU5MjM3NjIxMzM=
2,511
Add C4
## 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...
CLOSED
2021-06-17T10:31:04
2021-07-05T12:36:58
2021-07-05T12:36:57
https://github.com/huggingface/datasets/issues/2511
{ "login": "lhoestq" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "Update on this: I'm computing the checksums of the data files. It will be available soon", "Added in #2575 :)" ]
MDU6SXNzdWU5MjE4NjMxNzM=
2,508
Load Image Classification Dataset from Local
**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...
CLOSED
2021-06-15T22:43:33
2022-03-01T16:29:44
2022-03-01T16:29:44
https://github.com/huggingface/datasets/issues/2508
{ "login": "Jacobsolawetz" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "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...
MDU6SXNzdWU5MjA2MzYxODY=
2,503
SubjQA wrong boolean values in entries
## 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...
OPEN
2021-06-14T17:42:46
2021-08-25T03:52:06
null
https://github.com/huggingface/datasets/issues/2503
{ "login": "arnaudstiegler" }
{ "nodes": [ { "name": "bug" } ] }
[ "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...
MDU6SXNzdWU5MjA0MTMwMjE=
2,499
Python Programming Puzzles
## 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...
OPEN
2021-06-14T13:27:18
2021-06-15T18:14:14
null
https://github.com/huggingface/datasets/issues/2499
{ "login": "VictorSanh" }
{ "nodes": [ { "name": "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" ]
MDU6SXNzdWU5MjA0MTEyODU=
2,498
Improve torch formatting performance
**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...
OPEN
2021-06-14T13:25:24
2022-07-15T17:12:04
null
https://github.com/huggingface/datasets/issues/2498
{ "login": "vblagoje" }
{ "nodes": [ { "name": "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...
MDU6SXNzdWU5MjAyMTYzMTQ=
2,496
Dataset fingerprint changes after moving the cache directory, which prevent cache reload when using `map`
`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...
CLOSED
2021-06-14T09:20:26
2021-06-21T15:05:03
2021-06-21T15:05:03
https://github.com/huggingface/datasets/issues/2496
{ "login": "lhoestq" }
{ "nodes": [] }
[]
MDU6SXNzdWU5MjAxNzAwMzA=
2,495
JAX formatting
We already support pytorch, tensorflow, numpy, pandas and arrow dataset formatting. Let's add jax as well
CLOSED
2021-06-14T08:32:07
2021-06-21T16:15:49
2021-06-21T16:15:49
https://github.com/huggingface/datasets/issues/2495
{ "login": "lhoestq" }
{ "nodes": [] }
[]
MDU6SXNzdWU5MjAxNDkxODM=
2,494
Improve docs on Enhancing performance
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
OPEN
2021-06-14T08:11:48
2025-06-28T18:55:38
null
https://github.com/huggingface/datasets/issues/2494
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "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" ]
MDU6SXNzdWU5MTk1Njk3NDk=
2,489
Allow latest pyarrow version once segfault bug is fixed
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
CLOSED
2021-06-12T14:09:52
2021-06-14T07:53:23
2021-06-14T07:53:23
https://github.com/huggingface/datasets/issues/2489
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
MDU6SXNzdWU5MTkwOTkyMTg=
2,485
Implement layered building
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...
OPEN
2021-06-11T18:54:25
2021-06-11T18:54:25
null
https://github.com/huggingface/datasets/issues/2485
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "enhancement" } ] }
[]