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
I_kwDODunzps5RPkCN
4,934
Dataset Viewer issue for indonesian-nlp/librivox-indonesia
### Link https://huggingface.co/datasets/indonesian-nlp/librivox-indonesia ### Description I created a new speech dataset https://huggingface.co/datasets/indonesian-nlp/librivox-indonesia, but the dataset preview doesn't work with following error message: ``` Server error Status code: 400 Exception: TypeEr...
CLOSED
2022-09-06T10:03:23
2022-09-06T12:46:40
2022-09-06T12:46:40
https://github.com/huggingface/datasets/issues/4934
{ "login": "cahya-wirawan" }
{ "nodes": [] }
[ "The error is not related to the dataset viewer. I'm having a look...", "Thanks @albertvillanova for checking the issue. Actually, I can use the dataset like following:\r\n```\r\n>>> from datasets import load_dataset\r\n>>> ds=load_dataset(\"indonesian-nlp/librivox-indonesia\")\r\nNo config specified, defaulting ...
I_kwDODunzps5RPe2f
4,933
Dataset/DatasetDict.filter() cannot have `batched=True` due to `mask` (numpy array?) being non-iterable.
## Describe the bug `Dataset/DatasetDict.filter()` cannot have `batched=True` due to `mask` (numpy array?) being non-iterable. ## Steps to reproduce the bug (In a python 3.7.12 env, I've tried 2.4.0 and 2.3.2 with both `pyarraw==9.0.0` and `pyarrow==8.0.0`.) ```python from datasets import load_dataset ds_...
CLOSED
2022-09-06T09:47:48
2022-09-06T11:44:27
2022-09-06T11:44:27
https://github.com/huggingface/datasets/issues/4933
{ "login": "tianjianjiang" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi ! When `batched=True`, you filter function must take a batch as input, and return a list of booleans.\r\n\r\nIn your case, something like\r\n```python\r\nfrom datasets import load_dataset\r\n\r\n\r\nds_mc4_ja = load_dataset(\"mc4\", \"ja\") # This will take 6+ hours... perhaps test it with a toy dataset instea...
I_kwDODunzps5RNnE3
4,932
Dataset Viewer issue for bigscience-biomedical/biosses
### Link https://huggingface.co/datasets/bigscience-biomedical/biosses ### Description I've just been working on adding the dataset loader script to this dataset and working with the relative imports. I'm not sure how to interpret the error below (show where the dataset preview used to be) . ``` Status code: 40...
CLOSED
2022-09-05T22:40:32
2022-09-06T14:24:56
2022-09-06T14:24:56
https://github.com/huggingface/datasets/issues/4932
{ "login": "galtay" }
{ "nodes": [] }
[ "Possibly not related to the dataset viewer in itself. cc @huggingface/datasets.\r\n\r\nIn particular, I think that the import of bigbiohub is not working here: https://huggingface.co/datasets/bigscience-biomedical/biosses/blob/main/biosses.py#L29 (requires a relative path?)\r\n\r\n```python\r\n>>> from datasets im...
I_kwDODunzps5Q-sQ5
4,924
Concatenate_datasets loads everything into RAM
## Describe the bug When loading the datasets seperately and saving them on disk, I want to concatenate them. But `concatenate_datasets` is filling up my RAM and the process gets killed. Is there a way to prevent this from happening or is this intended behaviour? Thanks in advance ## Steps to reproduce the bug ```...
CLOSED
2022-09-01T10:25:17
2022-09-01T11:50:54
2022-09-01T11:50:54
https://github.com/huggingface/datasets/issues/4924
{ "login": "louisdeneve" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps5Q7J0y
4,922
I/O error on Google Colab in streaming mode
## Describe the bug When trying to load a streaming dataset in Google Colab the loading fails with an I/O error ## Steps to reproduce the bug ```python import datasets from datasets import load_dataset hf_ds = load_dataset(path='wmt19', name='cs-en', streaming=True, split=datasets.Split.VALIDATION) list(hf_ds....
CLOSED
2022-08-31T18:08:26
2022-08-31T18:15:48
2022-08-31T18:15:48
https://github.com/huggingface/datasets/issues/4922
{ "login": "jotterbach" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps5Q6sqt
4,920
Unable to load local tsv files through load_dataset method
## Describe the bug Unable to load local tsv files through load_dataset method. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug data_files = { 'train': 'train.tsv', 'test': 'test.tsv' } raw_datasets = load_dataset('tsv', data_files=data_files) ## Expected results I am p...
CLOSED
2022-08-31T16:13:39
2022-09-01T05:31:30
2022-09-01T05:31:30
https://github.com/huggingface/datasets/issues/4920
{ "login": "DataNoob0723" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @DataNoob0723,\r\n\r\nUnder the hood, we use `pandas` to load CSV/TSV files. Therefore, you should use \"csv\" and pass `sep=\"\\t\"`, as explained in our docs: https://huggingface.co/docs/datasets/v2.4.0/en/package_reference/loading_methods#from-files\r\n```python\r\nds = load_dataset('csv', sep=\"\\t\", data_...
I_kwDODunzps5Q5eGF
4,918
Dataset Viewer issue for pysentimiento/spanish-targeted-sentiment-headlines
### Link https://huggingface.co/datasets/pysentimiento/spanish-targeted-sentiment-headlines ### Description After moving the dataset from my user (`finiteautomata`) to the `pysentimiento` organization, the dataset viewer says that it doesn't exist. ### Owner _No response_
CLOSED
2022-08-31T12:09:07
2022-09-05T21:36:34
2022-09-05T16:32:44
https://github.com/huggingface/datasets/issues/4918
{ "login": "finiteautomata" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "Thanks for reporting, it's fixed now (I refreshed it manually). It's a known issue; we hope it will be fixed permanently in a few days.\r\n\r\n<img width=\"1508\" alt=\"Capture d’écran 2022-09-05 à 18 31 22\" src=\"https://user-images.githubusercontent.com/1676121/188489762-0ed86a7e-dfb3-46e8-a125-43b815a2c6f4.p...
I_kwDODunzps5Q5SJx
4,917
Keys mismatch: make error message more informative
**Is your feature request related to a problem? Please describe.** When loading a dataset from disk with a defect in its `dataset_info.json` describing its features (I don’t know when/why/how this happens but it deserves its own issue), you will get an error message like: `ValueError: Keys mismatch: between {'bar': V...
CLOSED
2022-08-31T11:24:34
2022-09-05T08:43:38
2022-09-05T08:43:38
https://github.com/huggingface/datasets/issues/4917
{ "login": "PaulLerner" }
{ "nodes": [ { "name": "enhancement" }, { "name": "good first issue" } ] }
[ "Good idea ! I think this can be improved in `Features.reorder_fields_as()` indeed at\r\n\r\nhttps://github.com/huggingface/datasets/blob/7feeb5648a63b6135a8259dedc3b1e19185ee4c7/src/datasets/features/features.py#L1739-L1740\r\n\r\nIs it something you would be interested in contributing ?", "Is this open to work ...
I_kwDODunzps5Q41nM
4,916
Apache Beam unable to write the downloaded wikipedia dataset
## Describe the bug Hi, I am currently trying to download wikipedia dataset using load_dataset("wikipedia", language="aa", date="20220401", split="train",beam_runner='DirectRunner'). However, I end up in getting filenotfound error. I get this error for any language I try to download. It downloads the file but while s...
CLOSED
2022-08-31T09:39:25
2022-08-31T10:53:19
2022-08-31T10:53:19
https://github.com/huggingface/datasets/issues/4916
{ "login": "Shilpac20" }
{ "nodes": [ { "name": "bug" } ] }
[ "See:\r\n- #4915" ]
I_kwDODunzps5Q0w5S
4,915
FileNotFoundError while downloading wikipedia dataset for any language
## Describe the bug Hi, I am currently trying to download wikipedia dataset using load_dataset("wikipedia", language="aa", date="20220401", split="train",beam_runner='DirectRunner'). However, I end up in getting filenotfound error. I get this error for any language I try to download. Environment: ## Step...
OPEN
2022-08-30T16:15:46
2022-12-04T22:20:33
null
https://github.com/huggingface/datasets/issues/4915
{ "login": "Shilpac20" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @Shilpac20,\r\n\r\nAs explained in the Wikipedia dataset card: https://huggingface.co/datasets/wikipedia\r\n> You can find the full list of languages and dates [here](https://dumps.wikimedia.org/backup-index.html).\r\n\r\nThis means that, before passing a specific date, you should first make sure it is availabl...
I_kwDODunzps5QxNzQ
4,912
datasets map() handles all data at a stroke and takes long time
**1. Background** Huggingface datasets package advises using `map()` to process data in batches. In the example code on pretraining masked language model, they use `map()` to tokenize all data at a stroke before the train loop. The corresponding code: ``` with accelerator.main_process_first(): tokenized_...
CLOSED
2022-08-30T02:25:56
2023-04-06T09:43:58
2022-09-06T09:23:35
https://github.com/huggingface/datasets/issues/4912
{ "login": "BruceStayHungry" }
{ "nodes": [] }
[ "Hi ! Interesting question ;)\r\n\r\n> Which is better? Process in map() or in data-collator\r\n\r\nAs you said, both can be used in practice: map() if you want to preprocess before training, or a data-collator (or the equivalent `dataset.set_transform`) if you want to preprocess on-the-fly during training. Both op...
I_kwDODunzps5Quupi
4,911
[Tests] Ensure `datasets` supports renamed repositories
On https://hf.co/datasets you can rename a dataset (or sometimes move it to another user/org). The website handles redirections correctly and AFAIK `datasets` does as well. However it would be nice to have an integration test to make sure we don't break support for renamed datasets. To implement this we can use t...
OPEN
2022-08-29T14:46:14
2025-06-19T06:10:52
null
https://github.com/huggingface/datasets/issues/4911
{ "login": "lhoestq" }
{ "nodes": [ { "name": "good second issue" } ] }
[ "You could also switch to using `huggingface_hub` more directly, where such a guarantee is already tested =)\r\n\r\ncc @Wauplin ", "Hi! @lhoestq, I'd love to work on this issue as part of my ongoing contributions to `datasets`.\n\nI'm planning to implement an integration test that ensures `load_dataset()` works e...
I_kwDODunzps5Quhy4
4,910
Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder()
## Describe the bug In `load_dataset_builder()`, `build_kwargs` and `config_kwargs` can contain the same keywords leading to a TypeError("type object got multiple values for keyword argument "xyz"). I ran into this problem with the keyword: `base_path`. It might happen with other kwargs as well. I think a quickfix...
CLOSED
2022-08-29T14:11:48
2026-05-18T10:17:59
2026-05-18T10:17:59
https://github.com/huggingface/datasets/issues/4910
{ "login": "bablf" }
{ "nodes": [ { "name": "bug" }, { "name": "good first issue" } ] }
[ "I am getting similar error - `TypeError: type object got multiple values for keyword argument 'name'` while following this [tutorial](https://huggingface.co/docs/datasets/dataset_script#create-a-dataset-loading-script). I am getting this error with the `dataset-cli test` command.\r\n\r\n`datasets` version: 2.4.0",...
I_kwDODunzps5QsXnc
4,907
None Type error for swda datasets
## Describe the bug I got `'NoneType' object is not callable` error while calling the swda datasets. ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("swda") ``` ## Expected results Run without error ## Environment info <!-- You can run the command `datase...
CLOSED
2022-08-29T07:05:20
2022-08-30T14:43:41
2022-08-30T14:43:41
https://github.com/huggingface/datasets/issues/4907
{ "login": "hannan72" }
{ "nodes": [ { "name": "bug" } ] }
[ "Thanks for reporting @hannan72 ! I couldn't reproduce the error on my side, can you share the full stack trace please ?", "Thanks a lot for your response @lhoestq \r\nThe problem is solved accidentally today and I don't know exactly why it was happened yesterday.\r\nThe issue can be closed.", "Ok, let us know ...
I_kwDODunzps5QqI71
4,906
Can't import datasets AttributeError: partially initialized module 'datasets' has no attribute 'utils' (most likely due to a circular import)
## Describe the bug A clear and concise description of what the bug is. Not able to import datasets ## Steps to reproduce the bug ```python # Sample code to reproduce the bug import os os.environ["WANDB_API_KEY"] = "0" ## to silence warning import numpy as np import random import sklearn import matplotlib.p...
CLOSED
2022-08-28T02:23:24
2024-11-16T08:59:17
2022-10-03T12:22:50
https://github.com/huggingface/datasets/issues/4906
{ "login": "OPterminator" }
{ "nodes": [ { "name": "bug" } ] }
[ "Thanks for reporting, @OPterminator.\r\n\r\nHowever, we are not able to reproduce this issue.\r\n\r\nThere might be 2 reasons why you get this exception:\r\n- Either the name of your local Python file: if it is called `datasets.py` this could generate a circular import when trying to import the Hugging Face `data...
I_kwDODunzps5QnQrM
4,902
Name the default config `default`
Currently, if a dataset has no configuration, a default configuration is created from the dataset name. For example, for a dataset loaded from the hub repository, such as https://huggingface.co/datasets/user/dataset (repo id is `user/dataset`), the default configuration will be `user--dataset`. It might be easier...
CLOSED
2022-08-26T16:16:22
2023-07-24T21:15:31
2023-07-24T21:15:31
https://github.com/huggingface/datasets/issues/4902
{ "login": "severo" }
{ "nodes": [ { "name": "enhancement" }, { "name": "question" } ] }
[ "Addressed in #5331." ]
I_kwDODunzps5QnBNf
4,900
Dataset Viewer issue for asaxena1990/Dummy_dataset
### Link _No response_ ### Description _No response_ ### Owner _No response_
CLOSED
2022-08-26T15:15:44
2023-07-24T15:42:09
2023-07-24T15:42:09
https://github.com/huggingface/datasets/issues/4900
{ "login": "ankurcl" }
{ "nodes": [] }
[ "Seems to be linked to the use of the undocumented `_resolve_features` method in the dataset viewer backend:\r\n\r\n```\r\n>>> from datasets import load_dataset\r\n>>> dataset = load_dataset(\"asaxena1990/Dummy_dataset\", name=\"asaxena1990--Dummy_dataset\", split=\"train\", streaming=True)\r\nUsing custom data con...
I_kwDODunzps5Qk5z2
4,898
Dataset Viewer issue for timit_asr
### Link _No response_ ### Description _No response_ ### Owner _No response_
CLOSED
2022-08-26T07:12:05
2022-10-03T12:40:28
2022-10-03T12:40:27
https://github.com/huggingface/datasets/issues/4898
{ "login": "InayatUllah932" }
{ "nodes": [] }
[ "Yes, the dataset viewer is based on `datasets`, and the following does not work:\r\n\r\n```\r\n>>> from datasets import get_dataset_split_names\r\n>>> get_dataset_split_names('timit_asr')\r\nDownloading builder script: 7.48kB [00:00, 6.69MB/s]\r\nTraceback (most recent call last):\r\n File \"/home/slesage/hf/data...
I_kwDODunzps5QkpkX
4,897
datasets generate large arrow file
Checking the large file in disk, and found the large cache file in the cifar10 data directory: ![image](https://user-images.githubusercontent.com/18533904/186830449-ba96cdeb-0fe8-4543-994d-2abe7145933f.png) As we know, the size of cifar10 dataset is ~130MB, but the cache file has almost 30GB size, there may be so...
CLOSED
2022-08-26T05:51:16
2022-09-18T05:07:52
2022-09-18T05:07:52
https://github.com/huggingface/datasets/issues/4897
{ "login": "jax11235" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi ! The cache files are the results of all the transforms you applied to the dataset using `map` for example.\r\nDid you run a transform that could potentially blow up the size of the dataset ?", "@lhoestq,\r\nI don't remember, but I can't imagine what kind of transform may generate data that grow over 200 time...
I_kwDODunzps5Qg4y_
4,895
load_dataset method returns Unknown split "validation" even if this dir exists
## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-directory exists in the local data path. The data directories are as follows and a...
CLOSED
2022-08-25T12:11:00
2024-03-26T16:47:48
2022-09-29T08:07:50
https://github.com/huggingface/datasets/issues/4895
{ "login": "SamSamhuns" }
{ "nodes": [ { "name": "bug" } ] }
[ "I don't know the main problem but it looks like, it is ignoring the last directory in your case. So, create a directory called 'zzz' in the same folder as train, validation and test. if it doesn't work, create a directory called \"aaa\". It worked for me.\r\n", "@SamSamhuns could you please try to load it with t...
I_kwDODunzps5QgV66
4,893
Oversampling strategy for iterable datasets in `interleave_datasets`
In https://github.com/huggingface/datasets/pull/4831 @ylacombe added an oversampling strategy for `interleave_datasets`. However right now it doesn't work for datasets loaded using `load_dataset(..., streaming=True)`, which are `IterableDataset` objects. It would be nice to expand `interleave_datasets` for iterable ...
CLOSED
2022-08-25T10:06:55
2022-10-03T12:37:46
2022-10-03T12:37:46
https://github.com/huggingface/datasets/issues/4893
{ "login": "lhoestq" }
{ "nodes": [ { "name": "good second issue" } ] }
[ "Hi @lhoestq,\r\nI plunged into the code and it should be manageable for me to work on it!\r\n#take\r\n\r\nAlso, setting `d1`, `d2` and `d3` as you did raised a `SyntaxError: 'yield' inside list comprehension` for me, on Python 3.8.10.\r\nThe following snippet works for me though:\r\n```\r\nd1 = IterableDataset(Exa...
I_kwDODunzps5Qc649
4,889
torchaudio 11.0 yields different results than torchaudio 12.1 when loading MP3
## Describe the bug When loading Common Voice with torchaudio 0.11.0 the results are different to 0.12.1 which leads to problems in transformers see: https://github.com/huggingface/transformers/pull/18749 ## Steps to reproduce the bug If you run the following code once with `torchaudio==0.11.0+cu102` and `torc...
CLOSED
2022-08-24T16:54:43
2023-03-02T15:33:05
2023-03-02T15:33:04
https://github.com/huggingface/datasets/issues/4889
{ "login": "patrickvonplaten" }
{ "nodes": [ { "name": "bug" } ] }
[ "Maybe we can just pass this along to torchaudio @lhoestq @albertvillanova ? It be great if you could investigate if the errors lies in datasets or in torchaudio.", "torchaudio did a change in [0.12](https://github.com/pytorch/audio/releases/tag/v0.12.0) on MP3 decoding (which affects common voice):\r\n> MP3 deco...
I_kwDODunzps5Qbu9h
4,888
Dataset Viewer issue for subjqa
### Link https://huggingface.co/datasets/subjqa ### Description Getting the following error for this dataset: ``` Status code: 500 Exception: Status500Error Message: 2 or more items returned, instead of 1 ``` Not sure what's causing it though 🤔 ### Owner Yes
CLOSED
2022-08-24T13:26:20
2022-09-08T08:23:42
2022-09-08T08:23:42
https://github.com/huggingface/datasets/issues/4888
{ "login": "lewtun" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "It's a bug in the viewer, thanks for reporting it. We're hoping to update to a new version in the next few days which should fix it.", "Fixed \r\n\r\nhttps://huggingface.co/datasets/subjqa\r\n\r\n<img width=\"1040\" alt=\"Capture d’écran 2022-09-08 à 10 23 26\" src=\"https://user-images.githubusercontent.com/1...
I_kwDODunzps5QbHbB
4,886
Loading huggan/CelebA-HQ throws pyarrow.lib.ArrowInvalid
## Describe the bug Loading huggan/CelebA-HQ throws pyarrow.lib.ArrowInvalid ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('huggan/CelebA-HQ') ``` ## Expected results See https://colab.research.google.com/drive/141LJCcM2XyqprPY83nIQ-Zk3BbxWeahq?usp=sharing#...
OPEN
2022-08-24T11:24:21
2023-02-02T02:40:53
null
https://github.com/huggingface/datasets/issues/4886
{ "login": "JeanKaddour" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi! IIRC one of the files in this dataset is corrupted due to https://github.com/huggingface/datasets/pull/4081 (fixed now).\r\n\r\n@NielsRogge Could you please re-generate and re-push this dataset (or I can do it if you share the generation script)?", "Could you put something in place to catch these problems? ...
I_kwDODunzps5QauAI
4,885
Create dataset from list of dicts
I often find myself with data from a variety of sources, and a list of dicts is very common among these. However, converting this to a Dataset is a little awkward, requiring either ```Dataset.from_pandas(pd.DataFrame(formatted_training_data))``` Which can error out on some more exotic values as 2-d arrays for reas...
CLOSED
2022-08-24T10:01:24
2022-09-08T16:02:52
2022-09-08T16:02:52
https://github.com/huggingface/datasets/issues/4885
{ "login": "sanderland" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Hi @sanderland, thanks for your enhancement proposal.\r\n\r\nI agree with you that this would be useful.\r\n\r\nPlease note that under the hood, we use PyArrow tables as backend:\r\n- The implementation of `Dataset.from_dict` uses the PyArrow `Table.from_pydict`\r\n\r\nTherefore, I would suggest:\r\n- Implementin...
I_kwDODunzps5QaWBj
4,883
With dataloader RSS memory consumed by HF datasets monotonically increases
## Describe the bug When the HF datasets is used in conjunction with PyTorch Dataloader, the RSS memory of the process keeps on increasing when it should stay constant. ## Steps to reproduce the bug Run and observe the output of this snippet which logs RSS memory. ```python import psutil import os from transf...
OPEN
2022-08-24T08:42:54
2024-01-23T12:42:40
null
https://github.com/huggingface/datasets/issues/4883
{ "login": "apsdehal" }
{ "nodes": [ { "name": "bug" } ] }
[ "Are you sure there is a leak? How can I see it? You shared the script but not the output which you believe should indicate a leak.\r\n\r\nI modified your reproduction script to print only once per try as your original was printing too much info and you absolutely must add `gc.collect()` when doing any memory measu...
I_kwDODunzps5QYGmh
4,881
Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:** Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial. Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase...
OPEN
2022-08-23T20:14:24
2026-07-10T02:49:09
null
https://github.com/huggingface/datasets/issues/4881
{ "login": "alexis-michaud" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Thanks for opening this discussion, @alexis-michaud.\r\n\r\nAs the language validation procedure is shared with other Hugging Face projects, I'm tagging them as well.\r\n\r\nCC: @huggingface/moon-landing ", "on the Hub side, there is not fine grained validation we just check that `language:` contains an array of...
I_kwDODunzps5QXPg9
4,878
[not really a bug] `identical_ok` is deprecated in huggingface-hub's `upload_file`
In the huggingface-hub dependency, the `identical_ok` argument has no effect in `upload_file` (and it will be removed soon) See https://github.com/huggingface/huggingface_hub/blob/43499582b19df1ed081a5b2bd7a364e9cacdc91d/src/huggingface_hub/hf_api.py#L2164-L2169 It's used here: https://github.com/huggingfac...
CLOSED
2022-08-23T17:09:55
2022-09-13T14:00:06
2022-09-13T14:00:05
https://github.com/huggingface/datasets/issues/4878
{ "login": "severo" }
{ "nodes": [ { "name": "help wanted" }, { "name": "question" } ] }
[ "Resolved via https://github.com/huggingface/datasets/pull/4937." ]
I_kwDODunzps5QW_C2
4,876
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types - and more - YAML tags, which contain - license - language - trai...
CLOSED
2022-08-23T16:16:41
2022-10-03T09:11:13
2022-10-03T09:11:13
https://github.com/huggingface/datasets/issues/4876
{ "login": "lhoestq" }
{ "nodes": [] }
[ "also @osanseviero @Pierrci @SBrandeis potentially", "Love this in principle 🚀 \r\n\r\nLet's keep in mind users might rely on `dataset_infos.json` already.\r\n\r\nI'm not convinced by the two-syntax solution, wouldn't it be simpler to have only one syntax with a `default` config for datasets with only one config...
I_kwDODunzps5QWk7G
4,875
`_resolve_features` ignores the token
## Describe the bug When calling [`_resolve_features()`](https://github.com/huggingface/datasets/blob/54b532a8a2f5353fdb0207578162153f7b2da2ec/src/datasets/iterable_dataset.py#L1255) on a gated dataset, ie. a dataset which requires a token to be loaded, the token seems to be ignored even if it has been provided to `...
OPEN
2022-08-23T14:57:36
2022-10-17T13:45:47
null
https://github.com/huggingface/datasets/issues/4875
{ "login": "severo" }
{ "nodes": [] }
[ "Hi ! Your HF_ENDPOINT seems wrong because of the extra \"/\"\r\n```diff\r\n- os.environ[\"HF_ENDPOINT\"] = \"https://hub-ci.huggingface.co/\"\r\n+ os.environ[\"HF_ENDPOINT\"] = \"https://hub-ci.huggingface.co\"\r\n```\r\n\r\ncan you try again without the extra \"/\" ?", "Oh, yes, sorry, but it's not the issue.\r...
I_kwDODunzps5QUp9W
4,873
Multiple dataloader memory error
For the use of multiple datasets and tasks, we use around more than 200+ dataloaders, then pass it into `dataloader1, dataloader2, ..., dataloader200=accelerate.prepare(dataloader1, dataloader2, ..., dataloader200)` It causes the memory error when generating batches. Any solutions to it? ```bash File "/home/xxx/...
OPEN
2022-08-23T08:59:50
2023-01-26T02:01:11
null
https://github.com/huggingface/datasets/issues/4873
{ "login": "cyk1337" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi!\r\n\r\n200+ data loaders is a lot. Have you tried to reduce the number of datasets by concatenating/interleaving the ones with the same structure/task (the API is `{concatenate_datasets/interleave_datasets}([dset1, ..., dset_N])`)?", "Hi @mariosasko, thank you for your reply. I tried pre-concatenating differ...
I_kwDODunzps5QJD6y
4,865
Dataset Viewer issue for MoritzLaurer/multilingual_nli
### Link _No response_ ### Description I've just uploaded a new dataset to the hub and the viewer does not work for some reason, see here: https://huggingface.co/datasets/MoritzLaurer/multilingual_nli It displays the error: ``` Status code: 400 Exception: Status400Error Message: The dataset...
CLOSED
2022-08-19T14:55:20
2022-08-22T14:47:14
2022-08-22T06:13:20
https://github.com/huggingface/datasets/issues/4865
{ "login": "MoritzLaurer" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "Thanks for reporting @MoritzLaurer.\r\n\r\nCurrently, the dataset preview is working properly: https://huggingface.co/datasets/MoritzLaurer/multilingual_nli\r\n\r\nPlease note that when a dataset is modified, it might take some time until the preview is completely updated.\r\n\r\n@severo might it be worth adding ...
I_kwDODunzps5QIhG7
4,864
Allow pathlib PoxisPath in Dataset.read_json
**Is your feature request related to a problem? Please describe.** ``` from pathlib import Path from datasets import Dataset ds = Dataset.read_json(Path('data.json')) ``` causes an error ``` AttributeError: 'PosixPath' object has no attribute 'decode' ``` **Describe the solution you'd like** It should be...
OPEN
2022-08-19T12:59:17
2025-04-11T17:22:48
null
https://github.com/huggingface/datasets/issues/4864
{ "login": "changjonathanc" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "This same error will occur using `ds = datasets.load_dataset('json', data_files=['test.jsonl'])`", "@cccntu I want to make a quick fix for this, but I am struggling to find where the json dataset builder is. Do you know?", "@vvvm23 I think you mean think:\r\n```python\r\nds = datasets.load_dataset('json', data...
I_kwDODunzps5QF89E
4,863
TFDS wiki_dialog dataset to Huggingface dataset
## Adding a Dataset - **Name:** *Wiki_dialog* - **Description: https://github.com/google-research/dialog-inpainting#:~:text=JSON%20object%2C%20for-,example,-%3A - **Paper: https://arxiv.org/abs/2205.09073 - **Data: https://github.com/google-research/dialog-inpainting - **Motivation:** *Research and Development on ...
CLOSED
2022-08-18T23:06:30
2022-08-22T09:41:45
2022-08-22T05:18:53
https://github.com/huggingface/datasets/issues/4863
{ "login": "djaym7" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "@albertvillanova any help ? The linked dataset is in beam format which is similar to wikipedia dataset in huggingface that you scripted..", "Nvm, I was able to port it to huggingface datasets, will upload to the hub soon", "https://huggingface.co/datasets/djaym7/wiki_dialog", "Thanks for the addition, @djay...
I_kwDODunzps5QE6T7
4,862
Got "AttributeError: 'xPath' object has no attribute 'read'" when loading an excel dataset with my own code
## 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 # The dataset function is as follows: from pathlib import Path from typing import Dict, List, Tuple import datasets import pandas as pd _CITATION = """\ """...
CLOSED
2022-08-18T18:36:14
2022-08-31T09:25:08
2022-08-31T09:25:08
https://github.com/huggingface/datasets/issues/4862
{ "login": "yana-xuyan" }
{ "nodes": [ { "name": "bug" } ] }
[ "What's more, the downloaded data is actually a folder instead of an excel file.", "Hi hi, instead of using `download_and_extract` function, I only use `download` function: `base_dir = Path(dl_manager.download(urls))`. It turns out that the code works for `datasets==2.2.2`, however, it doesn't work with `datasets...
I_kwDODunzps5QEIY8
4,861
Using disk for memory with the method `from_dict`
**Is your feature request related to a problem? Please describe.** I start with an empty dataset. In a loop, at each iteration, I create a new dataset with the method `from_dict` (based on some data I load) and I concatenate this new dataset with the one at the previous iteration. After some iterations, I have an OOM ...
OPEN
2022-08-18T15:18:18
2023-01-26T18:36:28
null
https://github.com/huggingface/datasets/issues/4861
{ "login": "HugoLaurencon" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "This issue was also causing an OOM in @nateraw 's workflow and shows again that behavior is confusing - we should definitely switch to using the disk IMO" ]
I_kwDODunzps5QANHo
4,859
can't install using conda on Windows 10
## Describe the bug I wanted to install using conda or Anaconda navigator. That didn't work, so I had to install using pip. ## Steps to reproduce the bug conda install -c huggingface -c conda-forge datasets ## Expected results Should have indicated successful installation. ## Actual results Solving environ...
OPEN
2022-08-17T19:57:37
2022-08-17T19:57:37
null
https://github.com/huggingface/datasets/issues/4859
{ "login": "xoffey" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps5P6-XN
4,858
map() function removes columns when input_columns is not None
## Describe the bug The map function, removes features from the dataset that are not present in the _input_columns_ list of columns, despite the columns being removed not mentioned in the _remove_columns_ argument. ## Steps to reproduce the bug ```python from datasets import Dataset ds = Dataset.from_dict({"a" : [...
CLOSED
2022-08-16T20:42:30
2022-09-22T13:55:24
2022-09-22T13:55:24
https://github.com/huggingface/datasets/issues/4858
{ "login": "pramodith" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi! Thanks for reporting! This looks like a bug. I've just opened a PR with the fix.", "Awesome! Thank you. I'll close the issue once the PR gets merged. :-)", "I guess we should reopen after the revert by:\r\n- #5006" ]
I_kwDODunzps5P5NZh
4,857
No preprocessed wikipedia is working on huggingface/datasets
## Describe the bug 20220301 wikipedia dump has been deprecated, so now there is no working wikipedia dump on huggingface https://huggingface.co/datasets/wikipedia https://dumps.wikimedia.org/enwiki/
CLOSED
2022-08-16T13:55:33
2022-08-17T13:35:08
2022-08-17T13:35:08
https://github.com/huggingface/datasets/issues/4857
{ "login": "aninrusimha" }
{ "nodes": [ { "name": "bug" } ] }
[ "Thanks for reporting @aninrusimha.\r\n\r\nPlease, note that the preprocessed datasets are still available, as described in the dataset card, e.g.: https://huggingface.co/datasets/wikipedia\r\n```python\r\nds = load_dataset(\"wikipedia\", \"20220301.en\")\r\n``` ", "This is working now, but I was getting an error...
I_kwDODunzps5P22t1
4,856
file missing when load_dataset with openwebtext on windows
## Describe the bug 0015896-b1054262f7da52a0518521e29c8e352c.txt is missing when I run run_mlm.py with openwebtext. I check the cache_path and can not find 0015896-b1054262f7da52a0518521e29c8e352c.txt. but I can find this file in the 17ecf461bfccd469a1fbc264ccb03731f8606eea7b3e2e8b86e13d18040bf5b3/urlsf_subset00-16_da...
CLOSED
2022-08-16T04:04:22
2023-01-04T03:39:12
2023-01-04T03:39:12
https://github.com/huggingface/datasets/issues/4856
{ "login": "xi-loong" }
{ "nodes": [ { "name": "bug" } ] }
[ "I have tried to extract ```0015896-b1054262f7da52a0518521e29c8e352c.txt``` from ```17ecf461bfccd469a1fbc264ccb03731f8606eea7b3e2e8b86e13d18040bf5b3/urlsf_subset00-16_data.xz``` with 7-zip\r\nand put the file into cache_path ```F://huggingface/datasets/downloads/extracted/0901d27f43b7e9ac0577da0d0061c8c632ba0b70ecd...
I_kwDODunzps5P2jMH
4,855
Dataset Viewer issue for super_glue
### Link https://huggingface.co/datasets/super_glue ### Description can't view super_glue dataset on the web page ### Owner _No response_
CLOSED
2022-08-16T01:34:56
2022-08-22T10:08:01
2022-08-22T10:07:45
https://github.com/huggingface/datasets/issues/4855
{ "login": "wzsxxa" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "Thanks for reporting @wzsxxa.\r\n\r\nHowever the \"super_glue\" dataset is rendered properly by the Dataset preview: https://huggingface.co/datasets/super_glue" ]
I_kwDODunzps5P1mZv
4,852
Bug in multilingual_with_para config of exams dataset and checksums error
## Describe the bug There is a bug for "multilingual_with_para" config in exams dataset: ```python ds = load_dataset("./datasets/exams", split="train") ``` raises: ``` KeyError: 'choices' ``` Moreover, there is a NonMatchingChecksumError: ``` NonMatchingChecksumError: Checksums didn't match for dataset so...
CLOSED
2022-08-15T20:14:52
2022-09-16T09:50:55
2022-08-16T06:29:07
https://github.com/huggingface/datasets/issues/4852
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @albertvillanova. Unfortunately I still get this error. Is this because the merge has yet to be released? Is there a way to track the release?", "Hi @thesofakillers, yes you are right: the fix will be available after next release (it was planned for today; Monday at the latest).\r\n\r\nIn the meantime, you ca...
I_kwDODunzps5PtjrQ
4,840
Dataset Viewer issue for darragh/demo_data_raw3
### Link https://huggingface.co/datasets/darragh/demo_data_raw3 ### Description ``` Exception: ValueError Message: Arrow type extension<arrow.py_extension_type<pyarrow.lib.UnknownExtensionType>> does not have a datasets dtype equivalent. ``` reported by @NielsRogge ### Owner No
OPEN
2022-08-12T15:22:58
2022-09-08T07:55:44
null
https://github.com/huggingface/datasets/issues/4840
{ "login": "severo" }
{ "nodes": [] }
[ "do you have an idea of why it can occur @huggingface/datasets? The dataset consists of a single parquet file.", "Thanks for reporting @severo.\r\n\r\nI'm not able to reproduce that error. I get instead:\r\n```\r\nFileNotFoundError: [Errno 2] No such file or directory: 'orix/data/ChiSig/唐合乐-9-3.jpg'\r\n```\r\n\r\...
I_kwDODunzps5PtCZp
4,839
ImageFolder dataset builder does not read the validation data set if it is named as "val"
**Is your feature request related to a problem? Please describe.** Currently, the `'imagefolder'` data set builder in [`load_dataset()`](https://github.com/huggingface/datasets/blob/2.4.0/src/datasets/load.py#L1541] ) only [supports](https://github.com/huggingface/datasets/blob/6c609a322da994de149b2c938f19439bca9940...
CLOSED
2022-08-12T13:26:00
2022-08-30T10:14:55
2022-08-30T10:14:55
https://github.com/huggingface/datasets/issues/4839
{ "login": "akt42" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "#take" ]
I_kwDODunzps5Psghw
4,836
Is it possible to pass multiple links to a split in load script?
**Is your feature request related to a problem? Please describe.** I wanted to use a python loading script in hugging face datasets that use different sources of text (it's somehow a compilation of multiple datasets + my own dataset) based on how `load_dataset` [works](https://huggingface.co/docs/datasets/loading) I a...
OPEN
2022-08-12T11:06:11
2022-08-12T11:06:11
null
https://github.com/huggingface/datasets/issues/4836
{ "login": "sadrasabouri" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps5Posfk
4,829
Misalignment between card tag validation and docs
## Describe the bug As pointed out in other issue: https://github.com/huggingface/datasets/pull/4827#discussion_r943536284 the validation of the dataset card tags is not aligned with its documentation: e.g. - implementation: `license: List[str]` - docs: `license: Union[str, List[str]]` They should be aligned. ...
OPEN
2022-08-11T14:44:45
2023-07-21T15:38:02
null
https://github.com/huggingface/datasets/issues/4829
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[ "(Note that the doc is aligned with the hub validation rules, and the \"ground truth\" is the hub validation rules given that they apply to all datasets, not just the canonical ones)", "Instead of our own implementation, we now use `huggingface_hub`'s `DatasetCardData`, which has the correct type hint, so I think...
I_kwDODunzps5PlEVM
4,820
Terminating: fork() called from a process already using GNU OpenMP, this is unsafe.
Hi, when i try to run prepare_dataset function in [fine tuning ASR tutorial 4](https://colab.research.google.com/github/patrickvonplaten/notebooks/blob/master/Fine_tuning_Wav2Vec2_for_English_ASR.ipynb) , i got this error. I got this error Terminating: fork() called from a process already using GNU OpenMP, this is un...
CLOSED
2022-08-10T19:42:33
2022-08-10T19:53:10
2022-08-10T19:53:10
https://github.com/huggingface/datasets/issues/4820
{ "login": "talhaanwarch" }
{ "nodes": [ { "name": "bug" } ] }
[ "Fixed by installing either resampy<3 or resampy>=4" ]
I_kwDODunzps5Pi_SD
4,817
Outdated Link for mkqa Dataset
## Describe the bug The URL used to download the mkqa dataset is outdated. It seems the URL to download the dataset is currently https://github.com/apple/ml-mkqa/blob/main/dataset/mkqa.jsonl.gz instead of https://github.com/apple/ml-mkqa/raw/master/dataset/mkqa.jsonl.gz (master branch has been renamed to main). ## ...
CLOSED
2022-08-10T12:45:45
2022-08-11T09:37:52
2022-08-11T09:37:52
https://github.com/huggingface/datasets/issues/4817
{ "login": "liaeh" }
{ "nodes": [ { "name": "bug" } ] }
[ "Thanks for reporting @liaeh, we are investigating this. " ]
I_kwDODunzps5PhGtf
4,815
Outdated loading script for OPUS ParaCrawl dataset
## Describe the bug Our loading script for OPUS ParaCrawl loads its 7.1 version. Current existing version is 9.
CLOSED
2022-08-10T05:12:34
2022-08-12T14:17:57
2022-08-12T14:17:57
https://github.com/huggingface/datasets/issues/4815
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "dataset bug" } ] }
[]
I_kwDODunzps5PeWbG
4,814
Support CSV as metadata file format in AudioFolder/ImageFolder
Requested here: https://discuss.huggingface.co/t/how-to-structure-an-image-dataset-repo-using-the-image-folder-approach/21004. CSV is also used in AutoTrain for specifying metadata in image datasets.
CLOSED
2022-08-09T14:36:49
2022-08-31T11:59:08
2022-08-31T11:59:08
https://github.com/huggingface/datasets/issues/4814
{ "login": "mariosasko" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps5PdKDd
4,811
Bug in function validate_type for Python >= 3.9
## Describe the bug The function `validate_type` assumes that the type `typing.Optional[str]` is automatically transformed to `typing.Union[str, NoneType]`. ```python In [4]: typing.Optional[str] Out[4]: typing.Union[str, NoneType] ``` However, this is not the case for Python 3.9: ```python In [3]: typing.Opt...
CLOSED
2022-08-09T10:25:21
2022-08-12T13:27:05
2022-08-12T13:27:05
https://github.com/huggingface/datasets/issues/4811
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps5PcYcZ
4,808
Add more information to the dataset card of mlqa dataset
CLOSED
2022-08-09T07:35:42
2022-08-09T13:33:23
2022-08-09T13:33:23
https://github.com/huggingface/datasets/issues/4808
{ "login": "el2e10" }
{ "nodes": [] }
[ "#self-assign", "Fixed by:\r\n- #4809" ]
I_kwDODunzps5Pbq3b
4,805
Wrong example in opus_gnome dataset card
## Describe the bug I found that [the example on opus_gone dataset ](https://github.com/huggingface/datasets/tree/main/datasets/opus_gnome#dataset-summary) doesn't work. ## Steps to reproduce the bug ```python load_dataset("gnome", lang1="it", lang2="pl") ``` `"gnome"` should be `"opus_gnome"` ## Expected r...
CLOSED
2022-08-09T03:21:27
2022-08-09T11:52:05
2022-08-09T11:52:05
https://github.com/huggingface/datasets/issues/4805
{ "login": "gojiteji" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps5PblNW
4,804
streaming dataset with concatenating splits raises an error
## Describe the bug streaming dataset with concatenating splits raises an error ## Steps to reproduce the bug ```python from datasets import load_dataset # no error repo = "nateraw/ade20k-tiny" dataset = load_dataset(repo, split="train+validation") ``` ```python from datasets import load_dataset # er...
CLOSED
2022-08-09T02:41:56
2026-06-05T12:46:57
2026-06-05T12:46:57
https://github.com/huggingface/datasets/issues/4804
{ "login": "Bing-su" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi! Only the name of a particular split (\"train\", \"test\", ...) is supported as a split pattern if `streaming=True`. We plan to address this limitation soon.", "Hi, have you addressed this yet?", "yes, same error occurs.\r\n```python\r\nfrom datasets import load_dataset\r\n\r\n# error\r\nrepo = \"nateraw/ad...
I_kwDODunzps5PZevK
4,803
Support `pipeline` argument in inspect.py functions
**Is your feature request related to a problem? Please describe.** The `wikipedia` dataset requires a `pipeline` argument to build the list of splits: https://huggingface.co/datasets/wikipedia/blob/main/wikipedia.py#L937 But this is currently not supported in `get_dataset_config_info`: https://github.com/hu...
OPEN
2022-08-08T16:01:24
2023-09-25T12:21:35
null
https://github.com/huggingface/datasets/issues/4803
{ "login": "severo" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Now: the preview (first-rows) works, but not the conversion to parquet. See https://huggingface.co/datasets/wikipedia/viewer/20220301.de/train\r\n\r\n```\r\n_split_generators() missing 1 required positional argument: 'pipeline'\r\n\r\nError code: UnexpectedError\r\n```" ]
I_kwDODunzps5PX8YT
4,802
`with_format` behavior is inconsistent on different datasets
## Describe the bug I found a case where `with_format` does not transform the dataset to the requested format. ## Steps to reproduce the bug Run: ```python from transformers import AutoTokenizer, AutoFeatureExtractor from datasets import load_dataset raw = load_dataset("glue", "sst2", split="train") raw =...
OPEN
2022-08-08T10:41:34
2022-08-09T16:49:09
null
https://github.com/huggingface/datasets/issues/4802
{ "login": "fxmarty" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi! You can get a `torch.Tensor` if you do the following:\r\n```python\r\nraw = load_dataset(\"beans\", split=\"train\")\r\nraw = raw.select(range(100))\r\n\r\npreprocessor = AutoFeatureExtractor.from_pretrained(\"nateraw/vit-base-beans\")\r\n\r\nfrom datasets import Array3D\r\nfeatures = raw.features.copy()\r\nfe...
I_kwDODunzps5PU8R-
4,799
video dataset loader/parser
you know how you can [use `load_dataset` with any arbitrary csv file](https://huggingface.co/docs/datasets/loading#csv)? and you can also [use it to load a local image dataset](https://huggingface.co/docs/datasets/image_load#local-files)? could you please add functionality to load a video dataset? it would be really...
CLOSED
2022-08-07T01:54:12
2023-10-01T00:08:31
2022-08-09T16:42:51
https://github.com/huggingface/datasets/issues/4799
{ "login": "verbiiz" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Hi! We've just started discussing the video support in `datasets` (decoding backends, video feature type, etc.), so I believe we should have something tangible by the end of this year.\r\n\r\nAlso, if you have additional video features in mind that you would like to see, feel free to let us know", "Coool thanks ...
I_kwDODunzps5PRHpC
4,796
ArrowInvalid: Could not convert <PIL.Image.Image image mode=RGB when adding image to Dataset
## Describe the bug When adding a Pillow image to an existing Dataset on the hub, `add_item` fails due to the Pillow image not being automatically converted into the Image feature. ## Steps to reproduce the bug ```python from datasets import load_dataset from PIL import Image dataset = load_dataset("hf-inte...
OPEN
2022-08-05T12:41:19
2024-11-29T16:35:17
null
https://github.com/huggingface/datasets/issues/4796
{ "login": "NielsRogge" }
{ "nodes": [ { "name": "bug" } ] }
[ "@mariosasko I'm getting a similar issue when creating a Dataset from a Pandas dataframe, like so:\r\n\r\n```\r\nfrom datasets import Dataset, Features, Image, Value\r\nimport pandas as pd\r\nimport requests\r\nimport PIL\r\n\r\n# we need to define the features ourselves\r\nfeatures = Features({\r\n 'a': Value(d...
I_kwDODunzps5PPvPk
4,795
Missing MBPP splits
(@albertvillanova) The [MBPP dataset on the Hub](https://huggingface.co/datasets/mbpp) has only a test split for both its "full" and its "sanitized" subset, while the [paper](https://arxiv.org/abs/2108.07732) states in subsection 2.1 regarding the full split: > In the experiments described later in the paper, we hold...
CLOSED
2022-08-05T06:51:01
2022-09-13T12:27:24
2022-09-13T12:27:24
https://github.com/huggingface/datasets/issues/4795
{ "login": "stadlerb" }
{ "nodes": [ { "name": "bug" } ] }
[ "Thanks for reporting this as well, @stadlerb.\r\n\r\nI suggest waiting for the answer of the data owners... ", "@albertvillanova The first author of the paper responded to the upstream issue:\r\n> Task IDs 11-510 are the 500 test problems. We use 90 problems (511-600) for validation and then remaining 374 for fi...
I_kwDODunzps5PMLwJ
4,792
Add DocVQA
## Adding a Dataset - **Name:** DocVQA - **Description:** Document Visual Question Answering (DocVQA) seeks to inspire a “purpose-driven” point of view in Document Analysis and Recognition research, where the document content is extracted and used to respond to high-level tasks defined by the human consumers of this ...
OPEN
2022-08-04T13:07:26
2022-08-08T05:31:20
null
https://github.com/huggingface/datasets/issues/4792
{ "login": "NielsRogge" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "Thanks for proposing, @NielsRogge.\r\n\r\nPlease, note this dataset requires registering in their website and their Terms and Conditions state we cannot distribute their URL:\r\n```\r\n1. You will NOT distribute the download URLs\r\n...\r\n```" ]
I_kwDODunzps5PMGK4
4,791
Dataset Viewer issue for Team-PIXEL/rendered-wikipedia-english
### Link https://huggingface.co/datasets/Team-PIXEL/rendered-wikipedia-english/viewer/rendered-wikipedia-en/train ### Description The dataset can be loaded fine but the viewer shows this error: ``` Server Error Status code: 400 Exception: Status400Error Message: The dataset does not exist. ``` ...
CLOSED
2022-08-04T12:49:16
2022-08-04T13:43:16
2022-08-04T13:43:16
https://github.com/huggingface/datasets/issues/4791
{ "login": "xplip" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "Thanks for reporting. It's a known issue that should be fixed soon. Meanwhile, I had to manually trigger the dataset viewer. It's OK now.\r\nNote that the extreme aspect ratio of the images generates another issue, that we're inspecting." ]
I_kwDODunzps5PMARY
4,790
Issue with fine classes in trec dataset
## Describe the bug According to their paper, the TREC dataset contains 2 kinds of classes: - 6 coarse classes: TREC-6 - 50 fine classes: TREC-50 However, our implementation only has 47 (instead of 50) fine classes. The reason for this is that we only considered the last segment of the label, which is repeated fo...
CLOSED
2022-08-04T12:28:51
2022-08-22T16:14:16
2022-08-22T16:14:16
https://github.com/huggingface/datasets/issues/4790
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps5PK2TH
4,787
NonMatchingChecksumError in mbpp dataset
## Describe the bug As reported on the Hub [Fix Checksum Mismatch](https://huggingface.co/datasets/mbpp/discussions/1), there is a `NonMatchingChecksumError` when loading mbpp dataset ## Steps to reproduce the bug ```python ds = load_dataset("mbpp", "full") ``` ## Expected results Loading of the dataset with...
CLOSED
2022-08-04T08:15:51
2022-08-04T17:21:01
2022-08-04T17:21:01
https://github.com/huggingface/datasets/issues/4787
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps5PHZ0c
4,786
.save_to_disk('path', fs=s3) TypeError
The following code: ```python import datasets train_dataset, test_dataset = load_dataset("imdb", split=["train", "test"]) s3 = datasets.filesystems.S3FileSystem(key=aws_access_key_id, secret=aws_secret_access_key) train_dataset.save_to_disk("s3://datasets/", fs=s3) ``` produces following traceback: ```she...
CLOSED
2022-08-03T14:49:29
2022-08-03T15:23:00
2022-08-03T15:23:00
https://github.com/huggingface/datasets/issues/4786
{ "login": "h-k-dev" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps5PDy-Q
4,784
Add Multiface dataset
## Adding a Dataset - **Name:** Multiface dataset - **Description:** f high quality recordings of the faces of 13 identities, each captured in a multi-view capture stage performing various facial expressions. An average of 12,200 (v1 scripts) to 23,000 (v2 scripts) frames per subject with capture rate at 30 fps - **...
OPEN
2022-08-02T21:00:22
2022-08-08T14:42:36
null
https://github.com/huggingface/datasets/issues/4784
{ "login": "osanseviero" }
{ "nodes": [ { "name": "dataset request" }, { "name": "vision" } ] }
[ "Hi @osanseviero I would like to add this dataset.", "Hey @nandwalritik! Thanks for offering to help!\r\n\r\nThis dataset might be somewhat complex and I'm concerned about it being 65 TB, which would be quite expensive to host. @lhoestq @mariosasko I would love your input if you think it's worth adding this datas...
I_kwDODunzps5PDOz2
4,782
pyarrow.lib.ArrowCapacityError: array cannot contain more than 2147483646 bytes, have 2147483648
## Describe the bug Following the example in CodeParrot, I receive an array size limitation error when deduplicating larger datasets. ## Steps to reproduce the bug ```python dataset_name = "the_pile" ds = load_dataset(dataset_name, split="train") ds = ds.map(preprocess, num_proc=num_workers) uniques = set(ds.u...
CLOSED
2022-08-02T18:36:05
2022-08-22T09:46:28
2022-08-20T02:11:53
https://github.com/huggingface/datasets/issues/4782
{ "login": "conceptofmind" }
{ "nodes": [ { "name": "bug" } ] }
[ "Thanks for reporting @conceptofmind.\r\n\r\nCould you please give details about your environment? \r\n```\r\n## Environment info\r\n<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->\r\n- `datasets` version:\r\n- Platform:\r\n- Python version:\r\n- PyArrow version:\r\n```", ...
I_kwDODunzps5PCRyp
4,779
Loading natural_questions requires apache_beam even with existing preprocessed data
## Describe the bug When loading "natural_questions", the package "apache_beam" is required: ``` ImportError: To be able to use natural_questions, you need to install the following dependency: apache_beam. Please install it using 'pip install apache_beam' for instance' ``` This requirement is unnecessary, once ...
CLOSED
2022-08-02T15:06:57
2022-08-02T16:03:18
2022-08-02T16:03:18
https://github.com/huggingface/datasets/issues/4779
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps5O8iwk
4,776
RuntimeError when using torchaudio 0.12.0 to load MP3 audio file
Current version of `torchaudio` (0.12.0) raises a RuntimeError when trying to use `sox_io` backend but non-Python dependency `sox` is not installed: https://github.com/pytorch/audio/blob/2e1388401c434011e9f044b40bc8374f2ddfc414/torchaudio/backend/sox_io_backend.py#L21-L29 ```python def _fail_load( filepath: str...
CLOSED
2022-08-01T14:11:23
2023-03-02T15:58:16
2023-03-02T15:58:15
https://github.com/huggingface/datasets/issues/4776
{ "login": "albertvillanova" }
{ "nodes": [] }
[ "Requiring torchaudio<0.12.0 isn't really a viable solution because that implies torch<0.12.0 which means no sm_86 CUDA support which means no RTX 3090 support in PyTorch.\r\n\r\nBut in my case, the error only occurs if `_fallback_load` resolves to `_fail_load` inside torchaudio 0.12.0 which is only the case if FFM...
I_kwDODunzps5O7Lgm
4,775
Streaming not supported in Theivaprakasham/wildreceipt
### Link _No response_ ### Description _No response_ ### Owner _No response_
CLOSED
2022-08-01T09:46:17
2022-08-01T10:30:29
2022-08-01T10:30:29
https://github.com/huggingface/datasets/issues/4775
{ "login": "NitishkKarra" }
{ "nodes": [ { "name": "streaming" } ] }
[ "Thanks for reporting @NitishkKarra.\r\n\r\nThe root source of the issue is that streaming mode is not supported out-of-the-box for that dataset, because it contains a TAR file.\r\n\r\nWe have opened a discussion in the corresponding Hub dataset page, pointing out this issue: https://huggingface.co/datasets/Theivap...
I_kwDODunzps5O4Rzk
4,774
Training hangs at the end of epoch, with set_transform/with_transform+multiple workers
## Describe the bug I use load_dataset() (I tried with [wiki](https://huggingface.co/datasets/wikipedia) and my own json data) and use set_transform/with_transform for preprocessing. But it hangs at the end of the 1st epoch if dataloader_num_workers>=1. No problem with single worker. ## Steps to reproduce the bu...
OPEN
2022-07-31T06:32:28
2022-07-31T06:36:43
null
https://github.com/huggingface/datasets/issues/4774
{ "login": "memray" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps5O1rID
4,772
AssertionError when using label_cols in to_tf_dataset
## Describe the bug An incorrect `AssertionError` is raised when using `label_cols` in `to_tf_dataset` and the label's key name is `label`. The assertion is in this line: https://github.com/huggingface/datasets/blob/2.4.0/src/datasets/arrow_dataset.py#L475 ## Steps to reproduce the bug ```python from datasets...
CLOSED
2022-07-29T21:32:12
2022-09-12T11:24:46
2022-09-12T11:24:46
https://github.com/huggingface/datasets/issues/4772
{ "login": "lehrig" }
{ "nodes": [ { "name": "bug" } ] }
[ "cc @Rocketknight1 ", "Hi @lehrig, this is caused by the data collator renaming \"label\" to \"labels\". If you set `label_cols=[\"labels\"]` in the call it will work correctly. However, I agree that the cause of the bug is not obvious, so I'll see if I can make a PR to clarify things when the collator renames co...
I_kwDODunzps5OzflS
4,769
Fail to process SQuADv1.1 datasets with max_seq_length=128, doc_stride=96.
## Describe the bug datasets fail to process SQuADv1.1 with max_seq_length=128, doc_stride=96 when calling datasets["train"].train_dataset.map(). ## Steps to reproduce the bug I used huggingface[ TF2 question-answering examples](https://github.com/huggingface/transformers/tree/main/examples/tensorflow/question-a...
OPEN
2022-07-29T11:18:24
2022-07-29T11:18:24
null
https://github.com/huggingface/datasets/issues/4769
{ "login": "zhuango" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps5Oved7
4,761
parallel searching in multi-gpu setting using faiss
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
OPEN
2022-07-28T14:57:03
2023-07-21T02:07:10
null
https://github.com/huggingface/datasets/issues/4761
{ "login": "Jiaxin-Wen" }
{ "nodes": [] }
[ "And I don't see any speed up when increasing the number of GPUs while calling `get_nearest_examples_batch`.", "Hi ! Yes search_batch uses FAISS search which happens in parallel across the GPUs\r\n\r\n> And I don't see any speed up when increasing the number of GPUs while calling get_nearest_examples_batch.\r\n\r...
I_kwDODunzps5OuwCP
4,760
Issue with offline mode
## Describe the bug I can't retrieve a cached dataset with offline mode enabled ## Steps to reproduce the bug To reproduce my issue, first, you'll need to run a script that will cache the dataset ```python import os os.environ["HF_DATASETS_OFFLINE"] = "0" import datasets datasets.logging.set_verbosity_i...
CLOSED
2022-07-28T12:45:14
2025-05-04T16:44:59
2024-01-23T10:58:22
https://github.com/huggingface/datasets/issues/4760
{ "login": "SaulLu" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @SaulLu, thanks for reporting.\r\n\r\nI think offline mode is not supported for datasets containing only data files (without any loading script). I'm having a look into this...", "Thanks for your feedback! \r\n\r\nTo give you a little more info, if you don't set the offline mode flag, the script will load the...
I_kwDODunzps5OuY3E
4,759
Dataset Viewer issue for Toygar/turkish-offensive-language-detection
### Link https://huggingface.co/datasets/Toygar/turkish-offensive-language-detection ### Description Status code: 400 Exception: Status400Error Message: The dataset does not exist. Hi, I provided train.csv, test.csv and valid.csv files. However, viewer says dataset does not exist. Should I n...
CLOSED
2022-07-28T11:21:43
2022-07-28T13:17:56
2022-07-28T13:17:48
https://github.com/huggingface/datasets/issues/4759
{ "login": "tanyelai" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "I refreshed the dataset viewer manually, it's fixed now. Sorry for the inconvenience.\r\n<img width=\"1557\" alt=\"Capture d’écran 2022-07-28 à 09 17 39\" src=\"https://user-images.githubusercontent.com/1676121/181514666-92d7f8e1-ddc1-4769-84f3-f1edfdb902e8.png\">\r\n\r\n" ]
I_kwDODunzps5Otsuk
4,757
Document better when relative paths are transformed to URLs
As discussed with @ydshieh, when passing a relative path as `data_dir` to `load_dataset` of a dataset hosted on the Hub, the relative path is transformed to the corresponding URL of the Hub dataset. Currently, we mention this in our docs here: [Create a dataset loading script > Download data files and organize split...
CLOSED
2022-07-28T08:46:27
2022-08-25T18:34:24
2022-08-25T18:34:24
https://github.com/huggingface/datasets/issues/4757
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "documentation" } ] }
[]
I_kwDODunzps5OqNOE
4,755
Datasets.map causes incorrect overflow_to_sample_mapping when used with tokenizers and small batch size
## Describe the bug When using `tokenizer`, we can retrieve the field `overflow_to_sample_mapping`, since long samples will be overflown into multiple token sequences. However, when tokenizing is done via `Dataset.map`, with `n_proc > 1`, the `overflow_to_sample_mapping` field is wrong. This seems to be because ea...
OPEN
2022-07-27T14:54:11
2023-12-13T19:34:43
null
https://github.com/huggingface/datasets/issues/4755
{ "login": "srobertjames" }
{ "nodes": [ { "name": "bug" } ] }
[ "I've built a minimal example that shows this bug without `n_proc`. It seems like it's a problem any way of using **tokenizers, `overflow_to_sample_mapping`, and Dataset.map, with a small batch size**:\r\n\r\n```\r\nimport datasets\r\nimport transformers\r\npretrained = 'deepset/tinyroberta-squad2'\r\ntokenizer = t...
I_kwDODunzps5OpW3Z
4,752
DatasetInfo issue when testing multiple configs: mixed task_templates
## Describe the bug When running the `datasets-cli test` it would seem that some config properties in a DatasetInfo get mangled, leading to issues, e.g., about the ClassLabel. ## Steps to reproduce the bug In summary, what I want to do is create three configs: - unfiltered: no classlabel, no tasks. Gets data fr...
OPEN
2022-07-27T12:04:54
2022-08-08T18:20:50
null
https://github.com/huggingface/datasets/issues/4752
{ "login": "BramVanroy" }
{ "nodes": [ { "name": "bug" } ] }
[ "I've narrowed down the issue to the `dataset_module_factory` which already creates a `dataset_infos.json` file down in the `.cache/modules/dataset_modules/..` folder. That JSON file already contains the wrong task_templates for `unfiltered`.", "Ugh. Found the issue: apparently `datasets` was reusing the already ...
I_kwDODunzps5Oo28N
4,750
Easily create loading script for benchmark comprising multiple huggingface datasets
Hi, I would like to create a loading script for a benchmark comprising multiple huggingface datasets. The function _split_generators needs to return the files for the respective dataset. However, the files are not always in the same location for each dataset. I want to just make a wrapper dataset that provides a si...
CLOSED
2022-07-27T10:13:38
2022-07-27T13:58:07
2022-07-27T13:58:07
https://github.com/huggingface/datasets/issues/4750
{ "login": "JoelNiklaus" }
{ "nodes": [] }
[ "Hi ! I think the simplest is to copy paste the `_split_generators` code from the other datasets and do a bunch of if-else, as in the glue dataset: https://huggingface.co/datasets/glue/blob/main/glue.py#L467", "Ok, I see. Thank you" ]
I_kwDODunzps5OloJH
4,746
Dataset Viewer issue for yanekyuk/wikikey
### Link _No response_ ### Description _No response_ ### Owner _No response_
CLOSED
2022-07-26T16:25:16
2022-09-08T08:15:22
2022-09-08T08:15:22
https://github.com/huggingface/datasets/issues/4746
{ "login": "ai-ashok" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "The dataset is empty, as far as I can tell: there are no files in the repository at https://huggingface.co/datasets/yanekyuk/wikikey/tree/main\r\n\r\nMaybe the viewer can display a better message for empty datasets", "OK. Closing as it's not an error. We will work on making the error message a lot clearer." ]
I_kwDODunzps5Oj1aP
4,745
Allow `list_datasets` to include private datasets
I am working with a large collection of private datasets, it would be convenient for me to be able to list them. I would envision extending the convention of using `use_auth_token` keyword argument to `list_datasets` function, then calling: ``` list_datasets(use_auth_token="my_token") ``` would return the li...
CLOSED
2022-07-26T10:16:08
2023-07-25T15:01:49
2023-07-25T15:01:49
https://github.com/huggingface/datasets/issues/4745
{ "login": "ola13" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Thanks for opening this issue :)\r\n\r\nIf it can help, I think you can already use `huggingface_hub` to achieve this:\r\n```python\r\n>>> from huggingface_hub import HfApi\r\n>>> [ds_info.id for ds_info in HfApi().list_datasets(use_auth_token=token) if ds_info.private]\r\n['bigscience/xxxx', 'bigscience-catalogue...
I_kwDODunzps5OjF-J
4,744
Remove instructions to generate dummy data from our docs
In our docs, we indicate to generate the dummy data: https://huggingface.co/docs/datasets/dataset_script#testing-data-and-checksum-metadata However: - dummy data makes sense only for datasets in our GitHub repo: so that we can test their loading with our CI - for datasets on the Hub: - they do not pass any CI t...
CLOSED
2022-07-26T07:32:58
2022-08-02T23:50:30
2022-08-02T23:50:30
https://github.com/huggingface/datasets/issues/4744
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "documentation" } ] }
[ "Note that for me personally, conceptually all the dummy data (even for \"canonical\" datasets) should be superseded by `datasets-server`, which performs some kind of CI/CD of datasets (including the canonical ones)", "I totally agree: next step should be rethinking if dummy data makes sense for canonical dataset...
I_kwDODunzps5Og813
4,742
Dummy data nowhere to be found
## Describe the bug To finalize my dataset, I wanted to create dummy data as per the guide and I ran ```shell datasets-cli dummy_data datasets/hebban-reviews --auto_generate ``` where hebban-reviews is [this repo](https://huggingface.co/datasets/BramVanroy/hebban-reviews). And even though the scripts runs an...
CLOSED
2022-07-25T19:18:42
2022-11-04T14:04:24
2022-11-04T14:04:10
https://github.com/huggingface/datasets/issues/4742
{ "login": "BramVanroy" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @BramVanroy, thanks for reporting.\r\n\r\nFirst of all, please note that you do not need the dummy data: this was the case when we were adding datasets to the `datasets` library (on this GitHub repo), so that we could test the correct loading of all datasets with our CI. However, this is no longer the case for ...
I_kwDODunzps5OYXm8
4,737
Download error on scene_parse_150
``` from datasets import load_dataset dataset = load_dataset("scene_parse_150", "scene_parsing") FileNotFoundError: Couldn't find file at http://data.csail.mit.edu/places/ADEchallenge/ADEChallengeData2016.zip ```
CLOSED
2022-07-22T13:28:28
2022-09-01T15:37:11
2022-09-01T15:37:11
https://github.com/huggingface/datasets/issues/4737
{ "login": "juliensimon" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi! The server with the data seems to be down. I've reported this issue (https://github.com/CSAILVision/sceneparsing/issues/34) in the dataset repo. ", "The URL seems to work now, and therefore the script as well." ]
I_kwDODunzps5OYEUc
4,736
Dataset Viewer issue for deepklarity/huggingface-spaces-dataset
### Link https://huggingface.co/datasets/deepklarity/huggingface-spaces-dataset/viewer/deepklarity--huggingface-spaces-dataset/train ### Description Hi Team, I'm getting the following error on a uploaded dataset. I'm getting the same status for a couple of hours now. The dataset size is `<1MB` and the format is cs...
CLOSED
2022-07-22T12:14:18
2022-07-22T13:46:38
2022-07-22T13:46:38
https://github.com/huggingface/datasets/issues/4736
{ "login": "dk-crazydiv" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "Thanks for reporting. You're right, workers were under-provisioned due to a manual error, and the job queue was full. It's fixed now." ]
I_kwDODunzps5OWZuW
4,734
Package rouge-score cannot be imported
## Describe the bug After the today release of `rouge_score-0.0.7` it seems no longer importable. Our CI fails: https://github.com/huggingface/datasets/runs/7463218591?check_suite_focus=true ``` FAILED tests/test_dataset_common.py::LocalDatasetTest::test_builder_class_bigbench FAILED tests/test_dataset_common.py::L...
CLOSED
2022-07-22T07:15:05
2022-07-22T07:45:19
2022-07-22T07:45:18
https://github.com/huggingface/datasets/issues/4734
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[ "We have added a comment on an existing issue opened in their repo: https://github.com/google-research/google-research/issues/1212#issuecomment-1192267130\r\n- https://github.com/google-research/google-research/issues/1212" ]
I_kwDODunzps5OWV4A
4,733
rouge metric
## Describe the bug A clear and concise description of what the bug is. Loading Rouge metric gives error after latest rouge-score==0.0.7 release. Downgrading rougemetric==0.0.4 works fine. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug ``` ## Expected results A clear and concis...
CLOSED
2022-07-22T07:06:51
2022-07-22T09:08:02
2022-07-22T09:05:35
https://github.com/huggingface/datasets/issues/4733
{ "login": "asking28" }
{ "nodes": [ { "name": "bug" } ] }
[ "Fixed by:\r\n- #4735" ]
I_kwDODunzps5OV7fu
4,732
Document better that loading a dataset passing its name does not use the local script
As reported by @TrentBrick here https://github.com/huggingface/datasets/issues/4725#issuecomment-1191858596, it could be more clear that loading a dataset by passing its name does not use the (modified) local script of it. What he did: - he installed `datasets` from source - he modified locally `datasets/the_pile/...
CLOSED
2022-07-22T06:07:31
2022-08-23T16:32:23
2022-08-23T16:32:23
https://github.com/huggingface/datasets/issues/4732
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "documentation" } ] }
[ "Thanks for the feedback!\r\n\r\nI think since this issue is closely related to loading, I can add a clearer explanation under [Load > local loading script](https://huggingface.co/docs/datasets/main/en/loading#local-loading-script).", "That makes sense but I think having a line about it under https://huggingface....
I_kwDODunzps5OSTfP
4,730
Loading imagenet-1k validation split takes much more RAM than expected
## Describe the bug Loading into memory the validation split of imagenet-1k takes much more RAM than expected. Assuming ImageNet-1k is 150 GB, split is 50000 validation images and 1,281,167 train images, I would expect only about 6 GB loaded in RAM. ## Steps to reproduce the bug ```python from datasets import...
CLOSED
2022-07-21T15:14:06
2022-07-21T16:41:04
2022-07-21T16:41:04
https://github.com/huggingface/datasets/issues/4730
{ "login": "fxmarty" }
{ "nodes": [ { "name": "bug" } ] }
[ "My bad, `482 * 418 * 50000 * 3 / 1000000 = 30221 MB` ( https://stackoverflow.com/a/42979315 ).\r\n\r\nMeanwhile `256 * 256 * 50000 * 3 / 1000000 = 9830 MB`. We are loading the non-cropped images and that is why we take so much RAM." ]
I_kwDODunzps5OQTmu
4,728
load_dataset gives "403" error when using Financial Phrasebank
I tried both codes below to download the financial phrasebank dataset (https://huggingface.co/datasets/financial_phrasebank) with the sentences_allagree subset. However, the code gives a 403 error when executed from multiple machines locally or on the cloud. ``` from datasets import load_dataset, DownloadMode load...
CLOSED
2022-07-21T08:43:32
2022-08-04T08:32:35
2022-08-04T08:32:35
https://github.com/huggingface/datasets/issues/4728
{ "login": "rohitvincent" }
{ "nodes": [] }
[ "Hi @rohitvincent, thanks for reporting.\r\n\r\nUnfortunately I'm not able to reproduce your issue:\r\n```python\r\nIn [2]: from datasets import load_dataset, DownloadMode\r\n ...: load_dataset(path='financial_phrasebank',name='sentences_allagree', download_mode=\"force_redownload\")\r\nDownloading builder script...
I_kwDODunzps5OPWEP
4,727
Dataset Viewer issue for TheNoob3131/mosquito-data
### Link https://huggingface.co/datasets/TheNoob3131/mosquito-data/viewer/TheNoob3131--mosquito-data/test ### Description Dataset preview not showing with large files. Says 'split cache is empty' even though there are train and test splits. ### Owner _No response_
CLOSED
2022-07-21T05:24:48
2022-07-21T07:51:56
2022-07-21T07:45:01
https://github.com/huggingface/datasets/issues/4727
{ "login": "thenerd31" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "The preview is working OK:\r\n\r\n![Screenshot from 2022-07-21 09-46-09](https://user-images.githubusercontent.com/8515462/180158929-bd8faad4-6392-4fc1-8d9c-df38aa9f8438.png)\r\n\r\n" ]
I_kwDODunzps5OMh0Y
4,725
the_pile datasets URL broken.
https://github.com/huggingface/datasets/pull/3627 changed the Eleuther AI Pile dataset URL from https://the-eye.eu/ to https://mystic.the-eye.eu/ but the latter is now broken and the former works again. Note that when I git clone the repo and use `pip install -e .` and then edit the URL back the codebase doesn't se...
CLOSED
2022-07-20T20:57:30
2022-07-22T06:09:46
2022-07-21T07:38:19
https://github.com/huggingface/datasets/issues/4725
{ "login": "TrentBrick" }
{ "nodes": [ { "name": "bug" } ] }
[ "Thanks for reporting, @TrentBrick. We are addressing the change with their data host server.\r\n\r\nOn the meantime, if you would like to work with your fixed local copy of the_pile script, you should use:\r\n```python\r\nload_dataset(\"path/to/your/local/the_pile/the_pile.py\",...\r\n```\r\ninstead of just `load_...
I_kwDODunzps5OGOHw
4,721
PyArrow Dataset error when calling `load_dataset`
## Describe the bug I am fine tuning a wav2vec2 model following the script here using my own dataset: https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py Loading my Audio dataset from the hub which was originally generated from disk results in th...
OPEN
2022-07-20T01:16:03
2022-07-22T14:11:47
null
https://github.com/huggingface/datasets/issues/4721
{ "login": "piraka9011" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi ! It looks like a bug in `pyarrow`. If you manage to end up with only one chunk per parquet file it should workaround this issue.\r\n\r\nTo achieve that you can try to lower the value of `max_shard_size` and also don't use `map` before `push_to_hub`.\r\n\r\nDo you have a minimum reproducible example that we can...
I_kwDODunzps5OFLYj
4,720
Dataset Viewer issue for shamikbose89/lancaster_newsbooks
### Link https://huggingface.co/datasets/shamikbose89/lancaster_newsbooks ### Description Status code: 400 Exception: ValueError Message: Cannot seek streaming HTTP file I am able to use the dataset loading script locally and it also runs when I'm using the one from the hub, but the viewer sti...
CLOSED
2022-07-19T20:00:07
2022-09-08T16:47:21
2022-09-08T16:47:21
https://github.com/huggingface/datasets/issues/4720
{ "login": "shamikbose" }
{ "nodes": [] }
[ "It seems like the list of splits could not be obtained:\r\n\r\n```python\r\n>>> from datasets import get_dataset_split_names\r\n>>> get_dataset_split_names(\"shamikbose89/lancaster_newsbooks\", \"default\")\r\nUsing custom data configuration default\r\nTraceback (most recent call last):\r\n File \"/home/slesage/h...
I_kwDODunzps5OEssc
4,719
Issue loading TheNoob3131/mosquito-data dataset
![image](https://user-images.githubusercontent.com/53668030/179815591-d75fa7d3-3122-485f-a852-b06a68909066.png) So my dataset is public in the Huggingface Hub, but when I try to load it using the load_dataset command, it shows that it is downloading the files, but throws a ValueError. When I went to my directory to ...
CLOSED
2022-07-19T17:47:37
2022-07-20T06:46:57
2022-07-20T06:46:02
https://github.com/huggingface/datasets/issues/4719
{ "login": "thenerd31" }
{ "nodes": [] }
[ "I am also getting a ValueError: 'Couldn't cast' at the bottom. Is this because of some delimiter issue? My dataset is on the Huggingface Hub. If you could look at it, that would be greatly appreciated.", "Hi @thenerd31, thanks for reporting.\r\n\r\nPlease note that your issue is not caused by the Hugging Face Da...
I_kwDODunzps5ODZMj
4,717
Dataset Viewer issue for LawalAfeez/englishreview-ds-mini
### Link _No response_ ### Description Unable to view the split data ### Owner _No response_
CLOSED
2022-07-19T13:19:39
2022-07-20T08:32:57
2022-07-20T08:32:57
https://github.com/huggingface/datasets/issues/4717
{ "login": "lawalAfeez820" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "It's currently working, as far as I understand\r\n\r\nhttps://huggingface.co/datasets/LawalAfeez/englishreview-ds-mini/viewer/LawalAfeez--englishreview-ds-mini/train\r\n\r\n<img width=\"1556\" alt=\"Capture d’écran 2022-07-19 à 09 24 01\" src=\"https://user-images.githubusercontent.com/1676121/179761130-2d7980b9...
I_kwDODunzps5OB96K
4,711
Document how to create a dataset loading script for audio/vision
Currently, in our docs for Audio/Vision/Text, we explain how to: - Load data - Process data However we only explain how to *Create a dataset loading script* for text data. I think it would be useful that we add the same for Audio/Vision as these have some specificities different from Text. See, for example: ...
CLOSED
2022-07-19T08:03:40
2023-07-25T16:07:52
2023-07-25T16:07:52
https://github.com/huggingface/datasets/issues/4711
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "documentation" } ] }
[ "I'm closing this issue as both the Audio and Image sections now have a \"Create dataset\" page that contains the info about writing the loading script version of a dataset." ]
I_kwDODunzps5OACgF
4,709
WMT21 & WMT22
## Adding a Dataset - **Name:** WMT21 & WMT22 - **Description:** We are going to have three tracks: two small tasks and a large task. The small tracks evaluate translation between fairly related languages and English (all pairs). The large track uses 101 languages. - **Paper:** / - **Data:** https://statmt.org/wmt...
OPEN
2022-07-18T21:05:33
2026-02-26T15:35:38
null
https://github.com/huggingface/datasets/issues/4709
{ "login": "Muennighoff" }
{ "nodes": [ { "name": "good first issue" }, { "name": "dataset request" } ] }
[ "Hi ! That would be awesome to have them indeed, thanks for opening this issue\r\n\r\nI just added you to the WMT org on the HF Hub if you're interested in adding those datasets.\r\n\r\nFeel free to create a dataset repository for each dataset and upload the data files there :) preferably in ZIP archives instead of...
I_kwDODunzps5N-lUN
4,707
Dataset Viewer issue for TheNoob3131/mosquito-data
### Link _No response_ ### Description Getting this error when trying to view dataset preview: Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Africa_train.csv') ### Owner _No response_
CLOSED
2022-07-18T17:07:19
2022-07-18T19:44:46
2022-07-18T17:15:50
https://github.com/huggingface/datasets/issues/4707
{ "login": "thenerd31" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "Thanks for reporting. I refreshed the dataset viewer and it now works as expected.\r\n\r\nhttps://huggingface.co/datasets/TheNoob3131/mosquito-data\r\n\r\n<img width=\"1135\" alt=\"Capture d’écran 2022-07-18 à 13 15 22\" src=\"https://user-images.githubusercontent.com/1676121/179566497-e47f1a27-fd84-4a8d-9d7f-2e...
I_kwDODunzps5N81mT
4,702
Domain specific dataset discovery on the Hugging Face hub
**Is your feature request related to a problem? Please describe.** ## The problem The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data). There are various ways of identifying datasets that may be releva...
OPEN
2022-07-18T11:14:03
2024-02-12T09:53:43
null
https://github.com/huggingface/datasets/issues/4702
{ "login": "davanstrien" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Hi! I added a link to this issue in our internal request for adding keywords/topics to the Hub, which is identical to the `topic tags` solution. The `collections` solution seems too complex (as you point out). Regarding the `domain tags` solution, we primarily focus on machine learning, so I'm not sure if it's a g...