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_kwDODunzps5N7E6d
4,697
Trouble with streaming frgfm/imagenette vision dataset with TAR archive
### Link https://huggingface.co/datasets/frgfm/imagenette ### Description Hello there :wave: Thanks for the amazing work you've done with HF Datasets! I've just started playing with it, and managed to upload my first dataset. But for the second one, I'm having trouble with the preview since there is some archive...
CLOSED
2022-07-18T02:51:09
2022-08-01T15:10:57
2022-08-01T15:10:57
https://github.com/huggingface/datasets/issues/4697
{ "login": "frgfm" }
{ "nodes": [ { "name": "streaming" } ] }
[ "Hi @frgfm, thanks for reporting.\r\n\r\nAs the error message says, streaming mode is not supported out of the box when the dataset contains TAR archive files.\r\n\r\nTo make the dataset streamable, you have to use `dl_manager.iter_archive`.\r\n\r\nThere are several examples in other datasets, e.g. food101: https:/...
I_kwDODunzps5N6gf7
4,696
Cannot load LinCE dataset
## Describe the bug Cannot load LinCE dataset due to a connection error ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("lince", "ner_spaeng") ``` A notebook with this code and corresponding error can be found at https://colab.research.google.com/drive/1...
CLOSED
2022-07-17T19:01:54
2022-07-18T09:20:40
2022-07-18T07:24:22
https://github.com/huggingface/datasets/issues/4696
{ "login": "finiteautomata" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @finiteautomata, thanks for reporting.\r\n\r\nUnfortunately, I'm not able to reproduce your issue:\r\n```python\r\nIn [1]: from datasets import load_dataset\r\n ...: dataset = load_dataset(\"lince\", \"ner_spaeng\")\r\nDownloading builder script: 20.8kB [00:00, 9.09MB/s] ...
I_kwDODunzps5N5pos
4,694
Distributed data parallel training for streaming datasets
### Feature request Any documentations for the the `load_dataset(streaming=True)` for (multi-node multi-GPU) DDP training? ### Motivation Given a bunch of data files, it is expected to split them onto different GPUs. Is there a guide or documentation? ### Your contribution Does it requires manually spli...
OPEN
2022-07-17T01:29:43
2023-04-26T18:21:09
null
https://github.com/huggingface/datasets/issues/4694
{ "login": "cyk1337" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Hi ! According to https://huggingface.co/docs/datasets/use_with_pytorch#stream-data you can use the pytorch DataLoader with `num_workers>0` to distribute the shards across your workers (it uses `torch.utils.data.get_worker_info()` to get the worker ID and select the right subsets of shards to use)\r\n\r\n<s> EDIT:...
I_kwDODunzps5N4UgQ
4,692
Unable to cast a column with `Image()` by using the `cast_column()` feature
## Describe the bug A clear and concise description of what the bug is. When I create a dataset, then add a column to the created dataset through the `dataset.add_column` feature and then try to cast a column of the dataset (this column contains image paths) with `Image()` by using the `cast_column()` feature, I ge...
CLOSED
2022-07-15T22:56:03
2022-07-19T13:36:24
2022-07-19T13:36:24
https://github.com/huggingface/datasets/issues/4692
{ "login": "skrishnan99" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi, thanks for reporting! A PR (https://github.com/huggingface/datasets/pull/4614) has already been opened to address this issue." ]
I_kwDODunzps5N3eyY
4,691
Dataset Viewer issue for rajistics/indian_food_images
### Link https://huggingface.co/datasets/rajistics/indian_food_images/viewer/rajistics--indian_food_images/train ### Description I have a train/test split in my dataset <img width="410" alt="Screen Shot 2022-07-15 at 11 44 42 AM" src="https://user-images.githubusercontent.com/6808012/179293215-7b419ec3-3527-46f2-8...
CLOSED
2022-07-15T19:03:15
2022-07-18T15:02:03
2022-07-18T15:02:03
https://github.com/huggingface/datasets/issues/4691
{ "login": "rajshah4" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "Hi, thanks for reporting. I triggered a refresh of the preview for this dataset, and it works now. I'm not sure what occurred.\r\n<img width=\"1019\" alt=\"Capture d’écran 2022-07-18 à 11 01 52\" src=\"https://user-images.githubusercontent.com/1676121/179541327-f62ecd5e-a18a-4d91-b316-9e2ebde77a28.png\">\r\n\r\n...
I_kwDODunzps5N0S7e
4,684
How to assign new values to Dataset?
![image](https://user-images.githubusercontent.com/37113676/179149159-bbbda0c8-a661-403c-87ed-dc2b4219cd68.png) Hi, if I want to change some values of the dataset, or add new columns to it, how can I do it? For example, I want to change all the labels of the SST2 dataset to `0`: ```python from datasets import l...
CLOSED
2022-07-15T04:17:57
2023-03-20T15:50:41
2022-10-10T11:53:38
https://github.com/huggingface/datasets/issues/4684
{ "login": "beyondguo" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Hi! One option is use `map` with a function that overwrites the labels (`dset = dset.map(lamba _: {\"label\": 0}, features=dset.features`)). Or you can use the `remove_column` + `add_column` combination (`dset = dset.remove_columns(\"label\").add_column(\"label\", [0]*len(data)).cast(dset.features)`, but note that...
I_kwDODunzps5NxXz3
4,682
weird issue/bug with columns (dataset iterable/stream mode)
I have a dataset online (CloverSearch/cc-news-mutlilingual) that has a bunch of columns, two of which are "score_title_maintext" and "score_title_description". the original files are jsonl formatted. I was trying to iterate through via streaming mode and grab all "score_title_description" values, but I kept getting key...
OPEN
2022-07-14T13:26:47
2022-07-14T13:26:47
null
https://github.com/huggingface/datasets/issues/4682
{ "login": "eunseojo" }
{ "nodes": [] }
[]
I_kwDODunzps5NwuIM
4,681
IndexError when loading ImageFolder
## Describe the bug Loading an image dataset with `imagefolder` throws `IndexError: list index out of range` when the given folder contains a non-image file (like a csv). ## Steps to reproduce the bug Put a csv file in a folder with images and load it: ```python import datasets datasets.load_dataset("imagefold...
CLOSED
2022-07-14T10:57:55
2022-07-25T12:37:54
2022-07-25T12:37:54
https://github.com/huggingface/datasets/issues/4681
{ "login": "johko" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi, thanks for reporting! If there are no examples in ImageFolder, the `label` column is of type `ClassLabel(names=[])`, which leads to an error in [this line](https://github.com/huggingface/datasets/blob/c15b391942764152f6060b59921b09cacc5f22a6/src/datasets/arrow_writer.py#L387) as `asdict(info)` calls `Features(...
I_kwDODunzps5NwZ7y
4,680
Dataset Viewer issue for codeparrot/xlcost-text-to-code
### Link https://huggingface.co/datasets/codeparrot/xlcost-text-to-code ### Description Error ``` Server Error Status code: 400 Exception: TypeError Message: 'NoneType' object is not iterable ``` Before I did a minor change in the dataset script (removing some comments), the viewer was working but...
CLOSED
2022-07-14T09:45:50
2022-07-18T16:37:00
2022-07-18T16:04:36
https://github.com/huggingface/datasets/issues/4680
{ "login": "loubnabnl" }
{ "nodes": [] }
[ "There seems to be an issue with the `C++-snippet-level` config:\r\n\r\n```python\r\n>>> from datasets import get_dataset_split_names\r\n>>> get_dataset_split_names(\"codeparrot/xlcost-text-to-code\", \"C++-snippet-level\")\r\nTraceback (most recent call last):\r\n File \"/home/slesage/hf/datasets-server/services/...
I_kwDODunzps5NtYP4
4,678
Cant pass streaming dataset to dataloader after take()
## Describe the bug I am trying to pass a streaming version of c4 to a dataloader, but it can't be passed after I call `dataset.take(n)`. Some functions such as `shuffle()` can be applied without breaking the dataloader but not take. ## Steps to reproduce the bug ```python import datasets import torch dset = ...
OPEN
2022-07-13T17:34:18
2022-07-14T13:07:21
null
https://github.com/huggingface/datasets/issues/4678
{ "login": "zankner" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi! Calling `take` on an iterable/streamable dataset makes it not possible to shard the dataset, which in turn disables multi-process loading (attempts to split the workload over the shards), so to go past this limitation, you can either use single-process loading in `DataLoader` (`num_workers=None`) or fetch the ...
I_kwDODunzps5NnuMI
4,677
Random 400 Client Error when pushing dataset
## Describe the bug When pushing a dataset, the client errors randomly with `Bad Request for url:...`. At the next call, a new parquet file is created for each shard. The client may fail at any random shard. ## Steps to reproduce the bug ```python dataset.push_to_hub("ORG/DATASET", private=True, branch="main") ...
CLOSED
2022-07-12T15:56:44
2023-02-07T13:54:10
2023-02-07T13:54:10
https://github.com/huggingface/datasets/issues/4677
{ "login": "msis" }
{ "nodes": [ { "name": "bug" } ] }
[ "did you ever fix this? I'm experiencing the same", "I am having the same issue. Even the simple example from the documentation gives me the 400 Error\r\n\r\n\r\n> from datasets import load_dataset\r\n> \r\n> dataset = load_dataset(\"stevhliu/demo\")\r\n> dataset.push_to_hub(\"processed_demo\")\r\n\r\n\r\n`reques...
I_kwDODunzps5Nngas
4,676
Dataset.map gets stuck on _cast_to_python_objects
## Describe the bug `Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows. Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/huggingface/notebooks/blob/main/examples/question_an...
CLOSED
2022-07-12T15:09:58
2022-10-03T13:01:04
2022-10-03T13:01:03
https://github.com/huggingface/datasets/issues/4676
{ "login": "srobertjames" }
{ "nodes": [ { "name": "bug" }, { "name": "good first issue" } ] }
[ "Are you able to reproduce this? My example is small enough that it should be easy to try.", "Hi! Thanks for reporting and providing a reproducible example. Indeed, by default, `datasets` performs an expensive cast on the values returned by `map` to convert them to one of the types supported by PyArrow (the under...
I_kwDODunzps5NneXx
4,675
Unable to use dataset with PyTorch dataloader
## Describe the bug When using `.with_format("torch")`, an arrow table is returned and I am unable to use it by passing it to a PyTorch DataLoader: please see the code below. ## Steps to reproduce the bug ```python from datasets import load_dataset from torch.utils.data import DataLoader ds = load_dataset( ...
OPEN
2022-07-12T15:04:04
2022-07-14T14:17:46
null
https://github.com/huggingface/datasets/issues/4675
{ "login": "BlueskyFR" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi! `para_crawl` has a single column of type `Translation`, which stores translation dictionaries. These dictionaries can be stored in a NumPy array but not in a PyTorch tensor since PyTorch only supports numeric types. In `datasets`, the conversion to `torch` works as follows: \r\n1. convert PyArrow table to NumP...
I_kwDODunzps5NkC78
4,674
Issue loading datasets -- pyarrow.lib has no attribute
## Describe the bug I am trying to load sentiment analysis datasets from huggingface, but any dataset I try to use via load_dataset, I get the same error: `AttributeError: module 'pyarrow.lib' has no attribute 'IpcReadOptions'` ## Steps to reproduce the bug ```python dataset = load_dataset("glue", "cola") ``` ...
CLOSED
2022-07-11T22:10:44
2023-02-28T18:06:55
2023-02-28T18:06:55
https://github.com/huggingface/datasets/issues/4674
{ "login": "margotwagner" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @margotwagner, thanks for reporting.\r\n\r\nUnfortunately, I'm not able to reproduce your bug: in an environment with datasets-2.3.2 and pyarrow-8.0.0, I can load the datasets without any problem:\r\n```python\r\n>>> ds = load_dataset(\"glue\", \"cola\")\r\n>>> ds\r\nDatasetDict({\r\n train: Dataset({\r\n ...
I_kwDODunzps5Ni9eb
4,673
load_datasets on csv returns everything as a string
## Describe the bug If you use: `conll_dataset.to_csv("ner_conll.csv")` It will create a csv file with all of your data as expected, however when you load it with: `conll_dataset = load_dataset("csv", data_files="ner_conll.csv")` everything is read in as a string. For example if I look at everything in 'n...
CLOSED
2022-07-11T17:30:24
2024-11-05T03:55:10
2022-07-12T13:33:08
https://github.com/huggingface/datasets/issues/4673
{ "login": "courtneysprouse" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @courtneysprouse, thanks for reporting.\r\n\r\nYes, you are right: by default the \"csv\" loader loads all columns as strings. \r\n\r\nYou could tweak this behavior by passing the `feature` argument to `load_dataset`, but it is also true that currently it is not possible to perform some kind of casts, due to la...
I_kwDODunzps5NglB1
4,671
Dataset Viewer issue for wmt16
### Link https://huggingface.co/datasets/wmt16 ### Description [Reported](https://huggingface.co/spaces/autoevaluate/model-evaluator/discussions/12#62cb83f14c7f35284e796f9c) by a user of AutoTrain Evaluate. AFAIK this dataset was working 1-2 weeks ago, and I'm not sure how to interpret this error. ``` Status cod...
CLOSED
2022-07-11T08:34:11
2022-09-13T13:27:02
2022-09-08T08:16:06
https://github.com/huggingface/datasets/issues/4671
{ "login": "lewtun" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "Thanks for reporting, @lewtun.\r\n\r\n~We can't load the dataset locally, so I think this is an issue with the loading script (not the viewer).~\r\n\r\n We are investigating...", "Recently, there was a merged PR related to this dataset:\r\n- #4554\r\n\r\nWe are looking at this...", "Indeed, the above mentioned...
I_kwDODunzps5NfC92
4,670
Can't extract files from `.7z` zipfile using `download_and_extract`
## Describe the bug I'm adding a new dataset which is a `.7z` zip file in Google drive and contains 3 json files inside. I'm able to download the data files using `download_and_extract` but after downloading it throws this error: ``` >>> dataset = load_dataset("./datasets/mantis/") Using custom data configuration d...
CLOSED
2022-07-10T18:16:49
2022-07-15T13:02:07
2022-07-15T13:02:07
https://github.com/huggingface/datasets/issues/4670
{ "login": "bhavitvyamalik" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @bhavitvyamalik, thanks for reporting.\r\n\r\nYes, currently we do not support 7zip archive compression: I think we should.\r\n\r\nAs a workaround, you could uncompress it explicitly, like done in e.g. `samsum` dataset: \r\n\r\nhttps://github.com/huggingface/datasets/blob/fedf891a08bfc77041d575fad6c26091bc0fce5...
I_kwDODunzps5NehtD
4,669
loading oscar-corpus/OSCAR-2201 raises an error
## Describe the bug load_dataset('oscar-2201', 'af') raises an error: Traceback (most recent call last): File "/usr/lib/python3.8/code.py", line 90, in runcode exec(code, self.locals) File "<input>", line 1, in <module> File "..python3.8/site-packages/datasets/load.py", line 1656, in load_dataset ...
CLOSED
2022-07-10T07:09:30
2022-07-11T09:27:49
2022-07-11T09:27:49
https://github.com/huggingface/datasets/issues/4669
{ "login": "vitalyshalumov" }
{ "nodes": [ { "name": "bug" } ] }
[ "I had to use the appropriate token for use_auth_token. Thank you." ]
I_kwDODunzps5NeGVV
4,668
Dataset Viewer issue for hungnm/multilingual-amazon-review-sentiment-processed
### Link https://huggingface.co/hungnm/multilingual-amazon-review-sentiment ### Description _No response_ ### Owner Yes
CLOSED
2022-07-09T18:04:13
2022-07-11T07:47:47
2022-07-11T07:47:47
https://github.com/huggingface/datasets/issues/4668
null
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "It seems like a private dataset. The viewer is currently not supported on the private datasets." ]
I_kwDODunzps5NeGSX
4,667
Dataset Viewer issue for hungnm/multilingual-amazon-review-sentiment-processed
### Link _No response_ ### Description _No response_ ### Owner _No response_
CLOSED
2022-07-09T18:03:15
2022-07-11T07:47:15
2022-07-11T07:47:15
https://github.com/huggingface/datasets/issues/4667
null
{ "nodes": [ { "name": "duplicate" } ] }
[]
I_kwDODunzps5NeFcO
4,666
Issues with concatenating datasets
## Describe the bug It is impossible to concatenate datasets if a feature is sequence of dict in one dataset and a dict of sequence in another. But based on the document, it should be automatically converted. > A [datasets.Sequence](https://huggingface.co/docs/datasets/v2.3.2/en/package_reference/main_classes#datas...
CLOSED
2022-07-09T17:45:14
2022-07-12T17:16:15
2022-07-12T17:16:14
https://github.com/huggingface/datasets/issues/4666
{ "login": "ChenghaoMou" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi! I agree we should improve the features equality checks to account for this particular case. However, your code fails due to `answer_start` having the dtype `int64` instead of `int32` after loading from JSON (it's not possible to embed type precision info into a JSON file; `save_to_disk` does that for arrow fil...
I_kwDODunzps5NdyAe
4,665
Unable to create dataset having Python dataset script only
## Describe the bug Hi there, I'm trying to add the following dataset to Huggingface datasets: https://huggingface.co/datasets/Heriot-WattUniversity/dialog-babi/blob/ I'm trying to do so using the CLI commands but seems that this command generates the wrong `dataset_info.json` file (you can find it in the repo a...
CLOSED
2022-07-09T11:45:46
2022-07-11T07:10:09
2022-07-11T07:10:01
https://github.com/huggingface/datasets/issues/4665
{ "login": "aleSuglia" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @aleSuglia, thanks for reporting.\r\n\r\nWe are having a look at it. \r\n\r\nWe transfer this issue to the Community tab of the corresponding Hub dataset: https://huggingface.co/datasets/Heriot-WattUniversity/dialog-babi/discussions" ]
I_kwDODunzps5NY6Eg
4,661
Concurrency bug when using same cache among several jobs
## Describe the bug I used to see this bug with an older version of the datasets. It seems to persist. This is my concrete scenario: I launch several evaluation jobs on a cluster in which I share the file system and I share the cache directory used by huggingface libraries. The evaluation jobs read the same *.csv ...
OPEN
2022-07-08T01:58:11
2025-04-10T13:21:23
null
https://github.com/huggingface/datasets/issues/4661
{ "login": "ioana-blue" }
{ "nodes": [ { "name": "bug" } ] }
[ "I can confirm that if I run one job first that processes the dataset, then I can run any jobs in parallel with no problem (no write-concurrency anymore...). ", "Hi! That's weird. It seems like the error points to the `mkstemp` function, but the official docs state the following:\r\n```\r\nThere are no race condi...
I_kwDODunzps5NTquu
4,658
Transfer CI tests to GitHub Actions
Let's try CI tests using GitHub Actions to see if they are more stable than on CircleCI.
CLOSED
2022-07-07T08:10:50
2022-07-12T11:18:25
2022-07-12T11:18:25
https://github.com/huggingface/datasets/issues/4658
{ "login": "albertvillanova" }
{ "nodes": [] }
[]
I_kwDODunzps5NSrrd
4,657
Add SQuAD2.0 Dataset
## Adding a Dataset - **Name:** *SQuAD2.0* - **Description:** *Stanford Question Answering Dataset (SQuAD) is a reading comprehension dataset, consisting of questions posed by crowdworkers on a set of Wikipedia articles, where the answer to every question is a segment of text, or span, from the corresponding reading ...
CLOSED
2022-07-07T03:19:36
2022-07-12T16:14:52
2022-07-12T16:14:52
https://github.com/huggingface/datasets/issues/4657
{ "login": "omarespejel" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "Hey, It's already present [here](https://huggingface.co/datasets/squad_v2) ", "Hi! This dataset is indeed already available on the Hub. Closing." ]
I_kwDODunzps5NSq-q
4,656
Add Amazon-QA Dataset
## Adding a Dataset - **Name:** *Amazon-QA* - **Description:** *The dataset is .jsonl format, where each line in the file is a json string that corresponds to a question, existing answers to the question and the extracted review snippets (relevant to the question).* - **Paper:** *https://github.com/amazonqa/amazonqa...
CLOSED
2022-07-07T03:15:11
2022-07-14T02:20:12
2022-07-14T02:20:12
https://github.com/huggingface/datasets/issues/4656
{ "login": "omarespejel" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "uploaded dataset [here](https://huggingface.co/datasets/embedding-data/Amazon-QA)." ]
I_kwDODunzps5NSmQA
4,655
Simple Wikipedia
## Adding a Dataset - **Name:** *Simple Wikipedia* - **Description:** *Two different versions of the data set now exist. Both were generated by aligning Simple English Wikipedia and English Wikipedia. A complete description of the extraction process can be found in "Simple English Wikipedia: A New Simplification Task...
CLOSED
2022-07-07T02:51:26
2022-07-14T02:16:33
2022-07-14T02:16:33
https://github.com/huggingface/datasets/issues/4655
{ "login": "omarespejel" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "uploaded dataset [here](https://huggingface.co/datasets/embedding-data/simple-wiki)." ]
I_kwDODunzps5NSlFX
4,654
Add Quora Question Triplets Dataset
## Adding a Dataset - **Name:** *Quora Question Triplets* - **Description:** *This dataset consists of over 400,000 lines of potential question duplicate pairs. Each line contains IDs for each question in the pair, the full text for each question, and a binary value that indicates whether the line truly contains a du...
CLOSED
2022-07-07T02:43:42
2022-07-14T02:13:50
2022-07-14T02:13:50
https://github.com/huggingface/datasets/issues/4654
{ "login": "omarespejel" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "uploaded dataset [here](https://huggingface.co/datasets/embedding-data/QQP_triplets)." ]
I_kwDODunzps5NSh1y
4,653
Add Altlex dataset
## Adding a Dataset - **Name:** *Altlex* - **Description:** *Git repository for software associated with the 2016 ACL paper "Identifying Causal Relations Using Parallel Wikipedia Articles.”* - **Paper:** *https://aclanthology.org/P16-1135.pdf* - **Data:** *https://huggingface.co/datasets/sentence-transformers/embed...
CLOSED
2022-07-07T02:23:02
2022-07-14T02:12:39
2022-07-14T02:12:39
https://github.com/huggingface/datasets/issues/4653
{ "login": "omarespejel" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "uploaded dataset [here](https://huggingface.co/datasets/embedding-data/altlex)." ]
I_kwDODunzps5NSgia
4,652
Add Sentence Compression Dataset
## Adding a Dataset - **Name:** *Sentence Compression* - **Description:** *Large corpus of uncompressed and compressed sentences from news articles.* - **Paper:** *https://www.aclweb.org/anthology/D13-1155/* - **Data:** *https://github.com/google-research-datasets/sentence-compression/tree/master/data* - **Motivat...
CLOSED
2022-07-07T02:13:46
2022-07-14T02:11:48
2022-07-14T02:11:48
https://github.com/huggingface/datasets/issues/4652
{ "login": "omarespejel" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "uploaded dataset [here](https://huggingface.co/datasets/embedding-data/sentence-compression)." ]
I_kwDODunzps5NSekG
4,651
Add Flickr 30k Dataset
## Adding a Dataset - **Name:** *Flickr 30k* - **Description:** *To produce the denotation graph, we have created an image caption corpus consisting of 158,915 crowd-sourced captions describing 31,783 images. This is an extension of our previous Flickr 8k Dataset. The new images and captions focus on people involved ...
CLOSED
2022-07-07T01:59:08
2022-07-14T02:09:45
2022-07-14T02:09:45
https://github.com/huggingface/datasets/issues/4651
{ "login": "omarespejel" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "uploaded dataset [here](https://huggingface.co/datasets/embedding-data/flickr30k-captions)." ]
I_kwDODunzps5NScRl
4,650
Add SPECTER dataset
## Adding a Dataset - **Name:** *SPECTER* - **Description:** *SPECTER: Document-level Representation Learning using Citation-informed Transformers* - **Paper:** *https://doi.org/10.18653/v1/2020.acl-main.207* - **Data:** *https://huggingface.co/datasets/sentence-transformers/embedding-training-data/resolve/main/spe...
OPEN
2022-07-07T01:41:32
2022-07-14T02:07:49
null
https://github.com/huggingface/datasets/issues/4650
{ "login": "omarespejel" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "uploaded dataset [here](https://huggingface.co/datasets/embedding-data/SPECTER)" ]
I_kwDODunzps5NSauw
4,649
Add PAQ dataset
## Adding a Dataset - **Name:** *PAQ* - **Description:** *This repository contains code and models to support the research paper PAQ: 65 Million Probably-Asked Questions and What You Can Do With Them* - **Paper:** *https://arxiv.org/abs/2102.07033* - **Data:** *https://huggingface.co/datasets/sentence-transformers/...
CLOSED
2022-07-07T01:29:42
2022-07-14T02:06:27
2022-07-14T02:06:27
https://github.com/huggingface/datasets/issues/4649
{ "login": "omarespejel" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "uploaded dataset [here](https://huggingface.co/datasets/embedding-data/PAQ_pairs)" ]
I_kwDODunzps5NSXOH
4,648
Add WikiAnswers dataset
## Adding a Dataset - **Name:** *WikiAnswers* - **Description:** *The WikiAnswers corpus contains clusters of questions tagged by WikiAnswers users as paraphrases. Each cluster optionally contains an answer provided by WikiAnswers users.* - **Paper:** *https://dl.acm.org/doi/10.1145/2623330.2623677* - **Data:** *ht...
CLOSED
2022-07-07T01:06:37
2022-07-14T02:03:40
2022-07-14T02:03:40
https://github.com/huggingface/datasets/issues/4648
{ "login": "omarespejel" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "uploaded dataset [here](https://huggingface.co/datasets/embedding-data/WikiAnswers)" ]
I_kwDODunzps5NRCPm
4,647
Add Reddit dataset
## Adding a Dataset - **Name:** *Reddit comments (2015-2018)* - **Description:** *Reddit is an American social news aggregation website, where users can post links, and take part in discussions on these posts. These threaded discussions provide a large corpus, which is converted into a conversational dataset using th...
OPEN
2022-07-06T19:49:18
2022-07-06T19:49:18
null
https://github.com/huggingface/datasets/issues/4647
{ "login": "omarespejel" }
{ "nodes": [ { "name": "dataset request" } ] }
[]
I_kwDODunzps5NO4vz
4,642
Streaming issue for ccdv/pubmed-summarization
### Link https://huggingface.co/datasets/ccdv/pubmed-summarization ### Description This was reported by a [user of AutoTrain Evaluate](https://huggingface.co/spaces/autoevaluate/model-evaluator/discussions/7). It seems like streaming doesn't work due to the way the dataset loading script is defined? ``` Status c...
CLOSED
2022-07-06T12:13:07
2022-07-06T14:17:34
2022-07-06T14:17:34
https://github.com/huggingface/datasets/issues/4642
{ "login": "lewtun" }
{ "nodes": [] }
[ "Thanks for reporting @lewtun.\r\n\r\nI confirm there is an issue with streaming: it does not stream locally. ", "Oh, after investigation, the source of the issue is in the Hub dataset loading script.\r\n\r\nI'm opening a PR on the Hub dataset.", "I've opened a PR on their Hub dataset to support streaming: http...
I_kwDODunzps5NOcti
4,641
Dataset Viewer issue for kmfoda/booksum
### Link https://huggingface.co/datasets/kmfoda/booksum ### Description A [user of AutoTrain Evaluate](https://huggingface.co/spaces/autoevaluate/model-evaluator/discussions/9) discovered this dataset cannot be streamed due to: ``` Status code: 400 Exception: ClientResponseError Message: 401, messa...
CLOSED
2022-07-06T10:38:16
2022-07-06T13:25:28
2022-07-06T11:58:06
https://github.com/huggingface/datasets/issues/4641
{ "login": "lewtun" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "Thanks for reporting, @lewtun.\r\n\r\nIt works locally in streaming mode:\r\n```\r\n{'bid': 27681,\r\n 'is_aggregate': True,\r\n 'source': 'cliffnotes',\r\n 'chapter_path': 'all_chapterized_books/27681-chapters/chapters_1_to_2.txt',\r\n 'summary_path': 'finished_summaries/cliffnotes/The Last of the Mohicans/sectio...
I_kwDODunzps5NNbya
4,639
Add HaGRID -- HAnd Gesture Recognition Image Dataset
## Adding a Dataset - **Name:** HaGRID -- HAnd Gesture Recognition Image Dataset - **Description:** We introduce a large image dataset HaGRID (HAnd Gesture Recognition Image Dataset) for hand gesture recognition (HGR) systems. You can use it for image classification or image detection tasks. Proposed dataset allows t...
OPEN
2022-07-06T07:41:32
2022-07-06T07:41:32
null
https://github.com/huggingface/datasets/issues/4639
{ "login": "osanseviero" }
{ "nodes": [ { "name": "dataset request" } ] }
[]
I_kwDODunzps5NLVu8
4,637
The "all" split breaks streaming
## Describe the bug Not sure if this is a bug or just the way streaming works, but setting `streaming=True` did not work when setting `split="all"` ## Steps to reproduce the bug The following works: ```python ds = load_dataset('super_glue', 'wsc.fixed', split='all') ``` The following throws `ValueError: Bad ...
CLOSED
2022-07-05T21:56:49
2026-04-27T18:46:47
2026-04-27T18:46:47
https://github.com/huggingface/datasets/issues/4637
{ "login": "cakiki" }
{ "nodes": [ { "name": "bug" } ] }
[ "Thanks for reporting @cakiki.\r\n\r\nYes, this is a bug. We are investigating it.", "@albertvillanova Nice! Let me know if it's something I can fix my self; would love to contribtue!", "@cakiki I was working on this but if you would like to contribute, go ahead. I will close my PR. ;)\r\n\r\nFor the moment I j...
I_kwDODunzps5NKTt8
4,636
Add info in docs about behavior of download_config.num_proc
**Is your feature request related to a problem? Please describe.** I went to override `download_config.num_proc` and was confused about what was happening under the hood. It would be nice to have the behavior documented a bit better so folks know what's happening when they use it. **Describe the solution you'd li...
CLOSED
2022-07-05T17:01:00
2022-07-28T10:40:32
2022-07-28T10:40:32
https://github.com/huggingface/datasets/issues/4636
{ "login": "nateraw" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps5NKCKb
4,635
Dataset Viewer issue for vadis/sv-ident
### Link https://huggingface.co/datasets/vadis/sv-ident/viewer/default/validation ### Description Error message when loading validation split in the viewer: ``` Status code: 400 Exception: Status400Error Message: The split cache is empty. ``` ### Owner _No response_
CLOSED
2022-07-05T15:48:13
2022-07-06T07:13:33
2022-07-06T07:12:14
https://github.com/huggingface/datasets/issues/4635
{ "login": "e-tornike" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "Thanks for reporting, @e-tornike \r\n\r\nSome context:\r\n- #4527 \r\n\r\nThe dataset loads locally in streaming mode:\r\n```python\r\nIn [2]: from datasets import load_dataset; ds = load_dataset(\"vadis/sv-ident\", split=\"validation\", streaming=True); item = next(iter(ds)); item\r\nUsing custom data configurati...
I_kwDODunzps5NJw6D
4,634
Can't load the Hausa audio dataset
common_voice_train = load_dataset("common_voice", "ha", split="train+validation")
CLOSED
2022-07-05T14:47:36
2022-09-13T14:07:32
2022-09-13T14:07:32
https://github.com/huggingface/datasets/issues/4634
{ "login": "moro23" }
{ "nodes": [] }
[ "Could you provide the error details. It is difficult to debug otherwise. Also try other config. `ha` is not a valid." ]
I_kwDODunzps5NI2tg
4,632
'sort' method sorts one column only
The 'sort' method changes the order of one column only (the one defined by the argument 'column'), thus creating a mismatch between a sample fields. I would expect it to change the order of the samples as a whole, based on the 'column' order.
CLOSED
2022-07-05T11:25:26
2023-07-25T15:04:27
2023-07-25T15:04:27
https://github.com/huggingface/datasets/issues/4632
{ "login": "shachardon" }
{ "nodes": [] }
[ "Hi ! `ds.sort()` does sort the full dataset, not just one column:\r\n```python\r\nfrom datasets import *\r\n\r\nds = Dataset.from_dict({\"foo\": [3, 2, 1], \"bar\": [\"c\", \"b\", \"a\"]})\r\nprint(d.sort(\"foo\").to_pandas()\r\n# foo bar\r\n# 0 1 a\r\n# 1 2 b\r\n# 2 3 c\r\n```\r\n\r\nWhat made y...
I_kwDODunzps5NGAEw
4,629
Rename repo default branch to main
Rename repository default branch to `main` (instead of current `master`). Once renamed, users will have to manually update their local repos: - [ ] Upstream: ``` git branch -m master main git fetch upstream main git branch -u upstream/main main git remote set-head upstream -a ``` - [ ] Origin...
CLOSED
2022-07-04T17:16:10
2022-07-06T15:49:57
2022-07-06T15:49:57
https://github.com/huggingface/datasets/issues/4629
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "maintenance" } ] }
[]
I_kwDODunzps5NFYZN
4,626
Add non-commercial licensing info for datasets for which we removed tags
We removed several YAML tags saying that certain datasets can't be used for commercial purposes: https://github.com/huggingface/datasets/pull/4613#discussion_r911919753 Reason for this is that we only allow tags that are part of our [supported list of licenses](https://github.com/huggingface/datasets/blob/84fc3ad73c...
OPEN
2022-07-04T14:32:43
2022-07-08T14:27:29
null
https://github.com/huggingface/datasets/issues/4626
{ "login": "lhoestq" }
{ "nodes": [] }
[ "yep plus `license_details` also makes sense for this IMO" ]
I_kwDODunzps5NEkTO
4,623
Loading MNIST as Pytorch Dataset
## Describe the bug Conversion of MNIST dataset to pytorch fails with bug ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("mnist", split="train") dataset.set_format('torch') dataset[0] print() ``` ## Expected results Expect to see torch tensors image and l...
OPEN
2022-07-04T11:33:10
2022-07-04T14:40:50
null
https://github.com/huggingface/datasets/issues/4623
{ "login": "jameschapman19" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi ! We haven't implemented the conversion from images data to PyTorch tensors yet I think\r\n\r\ncc @mariosasko ", "So I understand:\r\n\r\nset_format() does not properly do the conversion to pytorch tensors from PIL images.\r\n\r\nSo that someone who stumbles on this can use the package:\r\n\r\n```python\r\nda...
I_kwDODunzps5NEhLw
4,621
ImageFolder raises an error with parameters drop_metadata=True and drop_labels=False when metadata.jsonl is present
## Describe the bug If you pass `drop_metadata=True` and `drop_labels=False` when a `data_dir` contains at least one `matadata.jsonl` file, you will get a KeyError. This is probably not a very useful case but we shouldn't get an error anyway. Asking users to move metadata files manually outside `data_dir` or pass fe...
CLOSED
2022-07-04T11:21:44
2022-07-15T14:24:24
2022-07-15T14:24:24
https://github.com/huggingface/datasets/issues/4621
{ "login": "polinaeterna" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps5NDoe2
4,620
Data type is not recognized when using datetime.time
## Describe the bug Creating a dataset from a pandas dataframe with `datetime.time` format generates an error. ## Steps to reproduce the bug ```python import pandas as pd from datetime import time from datasets import Dataset df = pd.DataFrame({"feature_name": [time(1, 1, 1)]}) dataset = Dataset.from_pandas...
CLOSED
2022-07-04T08:13:38
2022-07-07T13:57:11
2022-07-07T13:57:11
https://github.com/huggingface/datasets/issues/4620
{ "login": "severo" }
{ "nodes": [ { "name": "bug" } ] }
[ "cc @mariosasko ", "Hi, thanks for reporting! I'm investigating the issue." ]
I_kwDODunzps5NA_4L
4,619
np arrays get turned into native lists
## Describe the bug When attaching an `np.array` field, it seems that it automatically gets turned into a list (see below). Why is this happening? Could it lose precision? Is there a way to make sure this doesn't happen? ## Steps to reproduce the bug ```python >>> import datasets, numpy as np >>> dataset = datas...
OPEN
2022-07-02T17:54:57
2022-07-03T20:27:07
null
https://github.com/huggingface/datasets/issues/4619
{ "login": "ZhaofengWu" }
{ "nodes": [ { "name": "bug" } ] }
[ "If you add the line `dataset2.set_format('np')` before calling `dataset2[0]['tmp']` it should return `np.ndarray`.\r\nI believe internally it will not store it as a list, it is only returning a list when you index it.\r\n\r\n```\r\nIn [1]: import datasets, numpy as np\r\nIn [2]: dataset = datasets.load_dataset(\"g...
I_kwDODunzps5NA4yR
4,618
contribute data loading for object detection datasets with yolo data format
**Is your feature request related to a problem? Please describe.** At the moment, HF datasets loads [image classification datasets](https://huggingface.co/docs/datasets/image_process) out-of-the-box. There could be a data loader for loading standard object detection datasets ([original discussion here](https://hugging...
OPEN
2022-07-02T15:21:59
2022-07-21T14:10:44
null
https://github.com/huggingface/datasets/issues/4618
{ "login": "faizankshaikh" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Hi! The `imagefolder` script is already quite complex, so a standalone script sounds better. Also, I suggest we create an org on the Hub (e.g. `hf-loaders`) and store such scripts there for easier maintenance rather than having them as packaged modules (IMO only very generic loaders should be packaged). WDYT @lhoe...
I_kwDODunzps5M8tzU
4,612
Release 2.3.0 broke custom iterable datasets
## Describe the bug Trying to iterate examples from custom iterable dataset fails to bug introduced in `torch_iterable_dataset.py` since the release of 2.3.0. ## Steps to reproduce the bug ```python next(iter(custom_iterable_dataset)) ``` ## Expected results `next(iter(custom_iterable_dataset))` should retu...
CLOSED
2022-07-01T06:46:07
2022-07-05T15:08:21
2022-07-05T15:08:21
https://github.com/huggingface/datasets/issues/4612
{ "login": "aapot" }
{ "nodes": [ { "name": "bug" } ] }
[ "Apparently, `fsspec` does not allow access to attribute-based modules anymore, such as `fsspec.async`.\r\n\r\nHowever, this is a fairly simple fix:\r\n- Change the import to: `from fsspec import asyn`;\r\n- Change line 18 to: `asyn.iothread[0] = None`;\r\n- Change line 19 to `asyn.loop[0] = None`.", "Hi! I think...
I_kwDODunzps5M7Q0z
4,610
codeparrot/github-code failing to load
## Describe the bug codeparrot/github-code fails to load with a `TypeError: get_patterns_in_dataset_repository() missing 1 required positional argument: 'base_path'` ## Steps to reproduce the bug ```python from datasets import load_dataset ``` ## Expected results loaded dataset object ## Actual results `...
CLOSED
2022-06-30T20:24:48
2022-07-05T14:24:13
2022-07-05T09:19:56
https://github.com/huggingface/datasets/issues/4610
{ "login": "PyDataBlog" }
{ "nodes": [ { "name": "bug" } ] }
[ "I believe the issue is in `codeparrot/github-code`. `base_path` param is missing - https://huggingface.co/datasets/codeparrot/github-code/blob/main/github-code.py#L169\r\n\r\nFunction definition has changed.\r\nhttps://github.com/huggingface/datasets/blob/0e1c629cfb9f9ba124537ba294a0ec451584da5f/src/datasets/data_...
I_kwDODunzps5M6dIT
4,609
librispeech dataset has to download whole subset when specifing the split to use
## Describe the bug librispeech dataset has to download whole subset when specifing the split to use ## Steps to reproduce the bug see below # Sample code to reproduce the bug ``` !pip install datasets from datasets import load_dataset raw_dataset = load_dataset("librispeech_asr", "clean", split="train.100") ...
CLOSED
2022-06-30T16:38:24
2022-07-12T21:44:32
2022-07-12T21:44:32
https://github.com/huggingface/datasets/issues/4609
{ "login": "sunhaozhepy" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi! You can use streaming to fetch only a subset of the data:\r\n```python\r\nraw_dataset = load_dataset(\"librispeech_asr\", \"clean\", split=\"train.100\", streaming=True)\r\n```\r\nAlso, we plan to make it possible to download a particular split in the non-streaming mode, but this task is not easy due to how ou...
I_kwDODunzps5M5RzO
4,606
evaluation result changes after `datasets` version change
## Describe the bug evaluation result changes after `datasets` version change ## Steps to reproduce the bug 1. Train a model on WikiAnn 2. reload the ckpt -> test accuracy becomes same as eval accuracy 3. such behavior is gone after downgrading `datasets` https://colab.research.google.com/drive/1kYz7-aZRGdaya...
CLOSED
2022-06-30T12:43:26
2023-07-25T15:05:26
2023-07-25T15:05:26
https://github.com/huggingface/datasets/issues/4606
{ "login": "thnkinbtfly" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi! The GH/no-namespace datasets versioning is synced with the version of the `datasets` lib, which means that the `wikiann` script was modified between the two compared versions. In this scenario, you can ensure reproducibility by pinning the script version, which is done by passing `revision=\"x.y.z\"` (e.g. `re...
I_kwDODunzps5M5Lza
4,605
Dataset Viewer issue for boris/gis_filtered
### Link https://huggingface.co/datasets/boris/gis_filtered/viewer/boris--gis_filtered/train ### Description When I try to access this from the website I get this error: Status code: 400 Exception: ClientResponseError Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datase...
CLOSED
2022-06-30T12:23:34
2022-07-06T12:34:19
2022-07-06T12:34:19
https://github.com/huggingface/datasets/issues/4605
{ "login": "WaterKnight1998" }
{ "nodes": [ { "name": "streaming" } ] }
[ "Yes, this dataset is \"gated\": you first have to go to https://huggingface.co/datasets/boris/gis_filtered and click \"Access repository\" (if you accept to share your contact information with the repository authors).", "I already did that, it returns error when using streaming", "Oh, sorry, I misread. Looking...
I_kwDODunzps5M40dD
4,603
CI fails recurrently and randomly on Windows
As reported by @lhoestq, The windows CI is currently flaky: some dependencies like `aiobotocore`, `multiprocess` and `seqeval` sometimes fail to install. In particular it seems that building the wheels fail. Here is an example of logs: ``` Building wheel for seqeval (setup.py): started Running command 'C:\to...
CLOSED
2022-06-30T10:59:58
2022-06-30T13:22:25
2022-06-30T13:22:25
https://github.com/huggingface/datasets/issues/4603
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps5Mz5MH
4,597
Streaming issue for financial_phrasebank
### Link https://huggingface.co/datasets/financial_phrasebank/viewer/sentences_allagree/train ### Description As reported by a community member using [AutoTrain Evaluate](https://huggingface.co/spaces/autoevaluate/model-evaluator/discussions/5#62bc217436d0e5d316a768f0), there seems to be a problem streaming this dat...
CLOSED
2022-06-29T12:45:43
2022-07-01T09:29:36
2022-07-01T09:29:36
https://github.com/huggingface/datasets/issues/4597
{ "login": "lewtun" }
{ "nodes": [ { "name": "hosted-on-google-drive" } ] }
[ "cc @huggingface/datasets: it seems like https://www.researchgate.net/ is flaky for datasets hosting (I put the \"hosted-on-google-drive\" tag since it's the same kind of issue I think)", "Let's see if their license allows hosting their data on the Hub.", "License is Creative Commons Attribution-NonCommercial-S...
I_kwDODunzps5MyyUn
4,596
Dataset Viewer issue for universal_dependencies
### Link https://huggingface.co/datasets/universal_dependencies ### Description invalid json response body at https://datasets-server.huggingface.co/splits?dataset=universal_dependencies reason: Unexpected token I in JSON at position 0 ### Owner _No response_
CLOSED
2022-06-29T08:50:29
2022-09-07T11:29:28
2022-09-07T11:29:27
https://github.com/huggingface/datasets/issues/4596
{ "login": "Jordy-VL" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "Thanks, looking at it!", "Finally fixed! We updated the dataset viewer and it fixed the issue.\r\n\r\nhttps://huggingface.co/datasets/universal_dependencies/viewer/aqz_tudet/train\r\n\r\n<img width=\"1561\" alt=\"Capture d’écran 2022-09-07 à 13 29 18\" src=\"https://user-images.githubusercontent.com/1676121/18...
I_kwDODunzps5MyYgI
4,595
Dataset Viewer issue with False positive PII redaction
### Link https://huggingface.co/datasets/cakiki/rosetta-code ### Description Hello, I just noticed an entry being redacted that shouldn't have been: `RootMeanSquare@Range[10]` is being displayed as `[email protected][10]` ### Owner _No response_
CLOSED
2022-06-29T07:15:57
2022-06-29T08:29:41
2022-06-29T08:27:49
https://github.com/huggingface/datasets/issues/4595
{ "login": "cakiki" }
{ "nodes": [] }
[ "The value is in the data, it's not an issue with the \"dataset-viewer\".\r\n\r\n<img width=\"1161\" alt=\"Capture d’écran 2022-06-29 à 10 25 51\" src=\"https://user-images.githubusercontent.com/1676121/176389325-4d2a9a7f-1583-45b8-aa7a-960ffaa6a36a.png\">\r\n\r\n Maybe open a PR: https://huggingface.co/datasets/...
I_kwDODunzps5MxmOH
4,594
load_from_disk suggests incorrect fix when used to load DatasetDict
Edit: Please feel free to remove this issue. The problem was not the error message but the fact that the DatasetDict.load_from_disk does not support loading nested splits, i.e. if one of the splits is itself a DatasetDict. If nesting splits is an antipattern, perhaps the load_from_disk function can throw a warning indi...
CLOSED
2022-06-29T01:40:01
2022-06-29T04:03:44
2022-06-29T04:03:44
https://github.com/huggingface/datasets/issues/4594
{ "login": "dvsth" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps5MxcTB
4,592
Issue with jalFaizy/detect_chess_pieces when running datasets-cli test
### Link https://huggingface.co/datasets/jalFaizy/detect_chess_pieces ### Description I am trying to write a appropriate data loader for [a custom dataset](https://huggingface.co/datasets/jalFaizy/detect_chess_pieces) using [this script](https://huggingface.co/datasets/jalFaizy/detect_chess_pieces/blob/main/detect_c...
CLOSED
2022-06-29T00:15:54
2022-06-29T10:30:03
2022-06-29T07:49:27
https://github.com/huggingface/datasets/issues/4592
{ "login": "faizankshaikh" }
{ "nodes": [] }
[ "Hi @faizankshaikh\r\n\r\nPlease note that we have recently launched the Community feature, specifically targeted to create Discussions (about issues/questions/asking-for-help) on each Dataset on the Hub:\r\n- Blog post: https://huggingface.co/blog/community-update\r\n- Docs: https://huggingface.co/docs/hub/reposit...
I_kwDODunzps5MxaVU
4,591
Can't push Images to hub with manual Dataset
## Describe the bug If I create a dataset including an 'Image' feature manually, when pushing to hub decoded images are not pushed, instead it looks for image where image local path is/used to be. This doesn't (at least didn't used to) happen with imagefolder. I want to build dataset manually because it is compli...
CLOSED
2022-06-29T00:01:23
2022-07-08T12:01:36
2022-07-08T12:01:35
https://github.com/huggingface/datasets/issues/4591
{ "login": "cceyda" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi, thanks for reporting! This issue stems from the changes introduced in https://github.com/huggingface/datasets/pull/4282 (cc @lhoestq), in which list casts are ignored if they don't change the list type (required to preserve `null` values). And `push_to_hub` does a special cast to embed external image files but...
I_kwDODunzps5Mvzed
4,589
Permission denied: '/home/.cache' when load_dataset with local script
CLOSED
2022-06-28T16:26:03
2022-06-29T06:26:28
2022-06-29T06:25:08
https://github.com/huggingface/datasets/issues/4589
{ "login": "H-Jett" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps5MrFcb
4,581
Dataset Viewer issue for pn_summary
### Link https://huggingface.co/datasets/pn_summary/viewer/1.0.0/validation ### Description Getting an index error on the `validation` and `test` splits: ``` Server error Status code: 400 Exception: IndexError Message: list index out of range ``` ### Owner No
CLOSED
2022-06-27T20:56:12
2022-06-28T14:42:03
2022-06-28T14:42:03
https://github.com/huggingface/datasets/issues/4581
{ "login": "lewtun" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "linked to https://github.com/huggingface/datasets/issues/4580#issuecomment-1168373066?", "Note that I refreshed twice this dataset, and I still have (another) error on one of the splits\r\n\r\n```\r\nStatus code: 400\r\nException: ClientResponseError\r\nMessage: 403, message='Forbidden', url=URL('htt...
I_kwDODunzps5Mq5PQ
4,580
Dataset Viewer issue for multi_news
### Link https://huggingface.co/datasets/multi_news ### Description Not sure what the index error is referring to here: ``` Status code: 400 Exception: IndexError Message: list index out of range ``` ### Owner No
CLOSED
2022-06-27T20:25:25
2022-06-28T14:08:48
2022-06-28T14:08:48
https://github.com/huggingface/datasets/issues/4580
{ "login": "lewtun" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "Thanks for reporting, @lewtun.\r\n\r\nI forced the refreshing of the preview and it worked OK for train and validation splits.\r\n\r\nI guess the error has to do with the data files being hosted at Google Drive: this gives errors when requested automatically using scripts.\r\nWe should host them to fix the error. ...
I_kwDODunzps5MqB8A
4,578
[Multi Configs] Use directories to differentiate between subsets/configurations
Currently to define several subsets/configurations of your dataset, you need to use a dataset script. However it would be nice to have a no-code way to to this. For example we could specify different configurations of a dataset (for example, if a dataset contains different languages) with one directory per confi...
OPEN
2022-06-27T16:55:11
2023-06-14T15:43:05
null
https://github.com/huggingface/datasets/issues/4578
{ "login": "lhoestq" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "I want to be able to create folders in a model.", "How to set new split names, instead of train/test/validation? For example, I have a local dataset, consists of several subsets, named \"A\", \"B\", and \"C\". How can I create a huggingface dataset, with splits A/B/C ?\r\n\r\nThe document in https://huggingface....
I_kwDODunzps5Mnlws
4,575
Problem about wmt17 zh-en dataset
It seems that in subset casia2015, some samples are like `{'c[hn]':'xxx', 'en': 'aa'}`. So when using `data = load_dataset('wmt17', "zh-en")` to load the wmt17 zh-en dataset, which will raise the exception: ``` Traceback (most recent call last): File "train.py", line 78, in <module> data = load_dataset(args....
CLOSED
2022-06-27T08:35:42
2022-08-23T10:01:02
2022-08-23T10:00:21
https://github.com/huggingface/datasets/issues/4575
{ "login": "winterfell2021" }
{ "nodes": [ { "name": "bug" } ] }
[ "Running into the same error with `wmt17/zh-en`, `wmt18/zh-en` and `wmt19/zh-en`.", "@albertvillanova @lhoestq Could you take a look at this issue?", "@winterfell2021 Hi, I wonder where the code you provided should be added. I tried to add them in the `datasets/table.py` in `array_cast` function, however, the '...
I_kwDODunzps5Ml-Mj
4,572
Dataset Viewer issue for mlsum
### Link https://huggingface.co/datasets/mlsum/viewer/de/train ### Description There's seems to be a problem with the download / streaming of this dataset: ``` Server error Status code: 400 Exception: BadZipFile Message: File is not a zip file ``` ### Owner No
CLOSED
2022-06-26T20:24:17
2022-07-21T12:40:01
2022-07-21T12:40:01
https://github.com/huggingface/datasets/issues/4572
{ "login": "lewtun" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "Thanks for reporting, @lewtun.\r\n\r\nAfter investigation, it seems that the server https://gitlab.lip6.fr does not allow HTTP Range requests.\r\n\r\nWe are trying to find a workaround..." ]
I_kwDODunzps5MlcNZ
4,571
move under the facebook org?
### Link https://huggingface.co/datasets/gsarti/flores_101 ### Description It seems like streaming isn't supported for this dataset: ``` Server Error Status code: 400 Exception: NotImplementedError Message: Extraction protocol for TAR archives like 'https://dl.fbaipublicfiles.com/flores101/dataset...
OPEN
2022-06-26T11:19:09
2023-09-25T12:05:18
null
https://github.com/huggingface/datasets/issues/4571
{ "login": "lewtun" }
{ "nodes": [] }
[ "Related to https://github.com/huggingface/datasets/issues/4562#issuecomment-1166911751\r\n\r\nI'll assign @albertvillanova ", "I'm just wondering why we don't have this dataset under:\r\n- the `facebook` namespace\r\n- or the canonical dataset `flores`: why does this only have 2 languages?", "fwiw: the dataset...
I_kwDODunzps5MlTJY
4,570
Dataset sharding non-contiguous?
## Describe the bug I'm not sure if this is a bug; more likely normal behavior but i wanted to double check. Is it normal that `datasets.shard` does not produce chunks that, when concatenated produce the original ordering of the sharded dataset? This might be related to this pull request (https://github.com/huggi...
CLOSED
2022-06-26T08:34:05
2022-06-30T11:00:47
2022-06-26T14:36:20
https://github.com/huggingface/datasets/issues/4570
{ "login": "cakiki" }
{ "nodes": [ { "name": "bug" } ] }
[ "This was silly; I was sure I'd looked for a `contiguous` argument, and was certain there wasn't one the first time I looked :smile:\r\n\r\nSorry about that.", "Hi! You can pass `contiguous=True` to `.shard()` get contiguous shards. More info on this and the default behavior can be found in the [docs](https://hug...
I_kwDODunzps5MlQGe
4,569
Dataset Viewer issue for sst2
### Link https://huggingface.co/datasets/sst2 ### Description Not sure what is causing this, however it seems that `load_dataset("sst2")` also hangs (even though it downloads the files without problem): ``` Status code: 400 Exception: Exception Message: Give up after 5 attempts with Connectio...
CLOSED
2022-06-26T07:32:54
2022-06-27T06:37:48
2022-06-27T06:37:48
https://github.com/huggingface/datasets/issues/4569
{ "login": "lewtun" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "Hi @lewtun, thanks for reporting.\r\n\r\nI have checked locally and refreshed the preview and it seems working smooth now:\r\n```python\r\nIn [8]: ds\r\nOut[8]: \r\nDatasetDict({\r\n train: Dataset({\r\n features: ['idx', 'sentence', 'label'],\r\n num_rows: 67349\r\n })\r\n validation: Datas...
I_kwDODunzps5MkkoI
4,568
XNLI cache reload is very slow
### Reproduce Using `2.3.3.dev0` `from datasets import load_dataset` `load_dataset("xnli", "en")` Turn off Internet `load_dataset("xnli", "en")` I cancelled the second `load_dataset` eventually cuz it took super long. It would be great to have something to specify e.g. `only_load_from_cache` and avoid the ...
CLOSED
2022-06-25T16:43:56
2022-07-04T14:29:40
2022-07-04T14:29:40
https://github.com/huggingface/datasets/issues/4568
{ "login": "Muennighoff" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi,\r\nCould you tell us how you are running this code?\r\nI tested on my machine (M1 Mac). And it is running fine both on and off internet.\r\n\r\n<img width=\"1033\" alt=\"Screen Shot 2022-07-03 at 1 32 25 AM\" src=\"https://user-images.githubusercontent.com/8711912/177026364-4ad7cedb-e524-4513-97f7-7961bbb34c90...
I_kwDODunzps5Mjloa
4,566
Document link #load_dataset_enhancing_performance points to nowhere
## Describe the bug A clear and concise description of what the bug is. ![image](https://user-images.githubusercontent.com/11674033/175752806-5b066b92-9d28-4771-9112-5c8606f07741.png) The [load_dataset_enhancing_performance](https://huggingface.co/docs/datasets/v2.3.2/en/package_reference/main_classes#load_dat...
CLOSED
2022-06-25T01:18:19
2023-01-24T16:33:40
2023-01-24T16:33:40
https://github.com/huggingface/datasets/issues/4566
{ "login": "subercui" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi! This is indeed the link the docstring should point to. Are you interested in submitting a PR to fix this?", "https://github.com/huggingface/datasets/blame/master/docs/source/cache.mdx#L93\r\n\r\nThere seems already an anchor here. Somehow it doesn't work. I am not very familiar with how this online documenta...
I_kwDODunzps5MinJi
4,565
Add UFSC OCPap dataset
## Adding a Dataset - **Name:** UFSC OCPap: Papanicolaou Stained Oral Cytology Dataset (v4) - **Description:** The UFSC OCPap dataset comprises 9,797 labeled images of 1200x1600 pixels acquired from 5 slides of cancer diagnosed and 3 healthy of oral brush samples, from distinct patients. - **Paper:** https://dx.doi....
CLOSED
2022-06-24T20:07:54
2022-07-06T19:03:02
2022-07-06T19:03:02
https://github.com/huggingface/datasets/issues/4565
{ "login": "johnnv1" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "I will add this directly on the hub (same as #4486)—in https://huggingface.co/lapix" ]
I_kwDODunzps5MhOvl
4,562
Dataset Viewer issue for allocine
### Link https://huggingface.co/datasets/allocine ### Description Not sure if this is a problem with `bz2` compression, but I thought these datasets could be streamed: ``` Status code: 400 Exception: AttributeError Message: 'TarContainedFile' object has no attribute 'readable' ``` ### Owner No
CLOSED
2022-06-24T13:50:38
2022-06-27T06:39:32
2022-06-24T16:44:41
https://github.com/huggingface/datasets/issues/4562
{ "login": "lewtun" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "I removed my assignment as @huggingface/datasets should be able to answer better than me\r\n", "Let me have a look...", "Thanks for the quick fix @albertvillanova ", "Note that the underlying issue is that datasets containing TAR files are not streamable out of the box: they need being iterated with `dl_mana...
I_kwDODunzps5MgBbh
4,556
Dataset Viewer issue for conll2003
### Link https://huggingface.co/datasets/conll2003/viewer/conll2003/test ### Description Seems like a cache problem with this config / split: ``` Server error Status code: 400 Exception: FileNotFoundError Message: [Errno 2] No such file or directory: '/cache/modules/datasets_modules/datasets/conll...
CLOSED
2022-06-24T08:55:18
2022-06-24T09:50:39
2022-06-24T09:50:39
https://github.com/huggingface/datasets/issues/4556
{ "login": "lewtun" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "Fixed, thanks." ]
I_kwDODunzps5Mf-sD
4,555
Dataset Viewer issue for xtreme
### Link https://huggingface.co/datasets/xtreme/viewer/PAN-X.de/test ### Description There seems to be a problem with the cache of this config / split: ``` Server error Status code: 400 Exception: FileNotFoundError Message: [Errno 2] No such file or directory: '/cache/modules/datasets_modules/data...
CLOSED
2022-06-24T08:46:08
2022-06-24T09:50:45
2022-06-24T09:50:45
https://github.com/huggingface/datasets/issues/4555
{ "login": "lewtun" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "Fixed, thanks." ]
I_kwDODunzps5Mb3sp
4,550
imdb source error
## Describe the bug imdb dataset not loading ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("imdb") ``` ## Expected results ## Actual results ```bash 06/23/2022 14:45:18 - INFO - datasets.builder - Dataset not on Hf google storage. Downloading and pr...
CLOSED
2022-06-23T13:02:52
2022-06-23T13:47:05
2022-06-23T13:47:04
https://github.com/huggingface/datasets/issues/4550
{ "login": "Muhtasham" }
{ "nodes": [ { "name": "bug" } ] }
[ "Thanks for reporting, @Muhtasham.\r\n\r\nIndeed IMDB dataset is not accessible from yesterday, because the data is hosted on the data owners servers at Stanford (http://ai.stanford.edu/) and these are down due to a power outage originated by a fire: https://twitter.com/StanfordAILab/status/1539472302399623170?s=20...
I_kwDODunzps5MbosP
4,549
FileNotFoundError when passing a data_file inside a directory starting with double underscores
Bug experienced in the `accelerate` CI: https://github.com/huggingface/accelerate/runs/7016055148?check_suite_focus=true This is related to https://github.com/huggingface/datasets/pull/4505 and the changes from https://github.com/huggingface/datasets/pull/4412
CLOSED
2022-06-23T12:19:24
2022-06-30T14:38:18
2022-06-30T14:38:18
https://github.com/huggingface/datasets/issues/4549
{ "login": "lhoestq" }
{ "nodes": [ { "name": "bug" } ] }
[ "I have consistently experienced this bug on GitHub actions when bumping to `2.3.2`", "We're working on a fix ;)" ]
I_kwDODunzps5MbRhw
4,548
Metadata.jsonl for Imagefolder is ignored if it's in a parent directory to the splits directories/do not have "{split}_" prefix
If data contains a single `metadata.jsonl` file for several splits, it won't be included in a dataset's `data_files` and therefore ignored. This happens when a directory is structured like as follows: ``` train/ file_1.jpg file_2.jpg test/ file_3.jpg file_4.jpg metadata.jsonl ``` or like as follows:...
CLOSED
2022-06-23T10:58:57
2022-06-30T10:15:32
2022-06-30T10:15:32
https://github.com/huggingface/datasets/issues/4548
{ "login": "polinaeterna" }
{ "nodes": [] }
[ "I agree it would be nice to support this. It doesn't fit really well in the current data_files.py, where files of each splits are separated in different folder though, maybe we have to modify a bit the logic here. \r\n\r\nOne idea would be to extend `get_patterns_in_dataset_repository` and `get_patterns_locally` t...
I_kwDODunzps5MUuJ0
4,544
[CI] seqeval installation fails sometimes on python 3.6
The CI sometimes fails to install seqeval, which cause the `seqeval` metric tests to fail. The installation fails because of this error: ``` Collecting seqeval Downloading seqeval-1.2.2.tar.gz (43 kB) |███████▌ | 10 kB 42.1 MB/s eta 0:00:01 |███████████████ ...
CLOSED
2022-06-22T16:35:23
2022-06-23T10:13:44
2022-06-23T10:13:44
https://github.com/huggingface/datasets/issues/4544
{ "login": "lhoestq" }
{ "nodes": [] }
[]
I_kwDODunzps5MT1yF
4,542
[to_tf_dataset] Use Feather for better compatibility with TensorFlow ?
To have better performance in TensorFlow, it is important to provide lists of data files in supported formats. For example sharded TFRecords datasets are extremely performant. This is because tf.data can better leverage parallelism in this case, and load one file at a time in memory. It seems that using `tensorflow_...
OPEN
2022-06-22T14:42:00
2022-10-11T08:45:45
null
https://github.com/huggingface/datasets/issues/4542
{ "login": "lhoestq" }
{ "nodes": [ { "name": "generic discussion" } ] }
[ "This has so much potential to be great! Also I think you tagged some poor random dude on the internet whose name is also Joao, lol, edited that for you! ", "cc @sayakpaul here too, since he was interested in our new approaches to converting datasets!", "Noted and I will look into the thread in detail tomorrow ...
I_kwDODunzps5MTW5e
4,540
Avoid splitting by` .py` for the file.
https://github.com/huggingface/datasets/blob/90b3a98065556fc66380cafd780af9b1814b9426/src/datasets/load.py#L272 Hello, Thanks you for this library . I was using it and I had one edge case. my home folder name ends with `.py` it is `/home/espoir.py` so anytime I am running the code to load a local module thi...
CLOSED
2022-06-22T13:26:55
2022-07-07T13:17:44
2022-07-07T13:17:44
https://github.com/huggingface/datasets/issues/4540
{ "login": "espoirMur" }
{ "nodes": [ { "name": "good first issue" } ] }
[ "Hi @espoirMur, thanks for reporting.\r\n\r\nYou are right: that code line could be improved and made more generically valid.\r\n\r\nOn the other hand, I would suggest using `os.path.splitext` instead.\r\n\r\nAre you willing to open a PR? :)", "I will have a look.. \r\n\r\nThis weekend .. ", "@albertvillanova ...
I_kwDODunzps5MQj56
4,538
Dataset Viewer issue for Pile of Law
### Link https://huggingface.co/datasets/pile-of-law/pile-of-law ### Description Hi, I would like to turn off the dataset viewer for our dataset without enabling access requests. To comply with upstream dataset creator requests/licenses, we would like to make sure that the data is not indexed by search engines...
CLOSED
2022-06-22T02:48:40
2022-06-27T07:30:23
2022-06-26T22:26:22
https://github.com/huggingface/datasets/issues/4538
{ "login": "Breakend" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "Hi @Breakend, yes – we'll propose a solution today", "Thanks so much, I appreciate it!", "Thanks so much for adding the docs. I was able to successfully hide the viewer using the \r\n```\r\nviewer: false\r\n```\r\nflag in the README.md of the dataset. I'm closing the issue because this is resolved. Thanks agai...
I_kwDODunzps5MILNi
4,533
Timestamp not returned as datetime objects in streaming mode
As reported in (internal) https://github.com/huggingface/datasets-server/issues/397 ```python >>> from datasets import load_dataset >>> dataset = load_dataset("ett", name="h2", split="test", streaming=True) >>> d = next(iter(dataset)) >>> d['start'] Timestamp('2016-07-01 00:00:00') ``` while loading in non-...
CLOSED
2022-06-20T17:28:47
2022-06-22T16:29:09
2022-06-22T16:29:09
https://github.com/huggingface/datasets/issues/4533
{ "login": "lhoestq" }
{ "nodes": [ { "name": "streaming" } ] }
[]
I_kwDODunzps5MHkzc
4,531
Dataset Viewer issue for CSV datasets
### Link https://huggingface.co/datasets/scikit-learn/breast-cancer-wisconsin ### Description I'm populating CSV datasets [here](https://huggingface.co/scikit-learn) but the viewer is not enabled and it looks for a dataset loading script, the datasets aren't on queue as well. You can replicate the problem by sim...
CLOSED
2022-06-20T14:56:24
2022-06-21T08:28:46
2022-06-21T08:28:27
https://github.com/huggingface/datasets/issues/4531
{ "login": "merveenoyan" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "this should now be fixed", "Confirmed, it's fixed now. Thanks for reporting, and thanks @coyotte508 for fixing it\r\n\r\n<img width=\"1123\" alt=\"Capture d’écran 2022-06-21 à 10 28 05\" src=\"https://user-images.githubusercontent.com/1676121/174753833-1b453a5a-6a90-4717-bca1-1b5fc6b75e4a.png\">\r\n" ]
I_kwDODunzps5MGVfX
4,529
Ecoset
## Adding a Dataset - **Name:** *Ecoset* - **Description:** *https://www.kietzmannlab.org/ecoset/* - **Paper:** *https://doi.org/10.1073/pnas.2011417118* - **Data:** *https://codeocean.com/capsule/9570390/tree/v1* - **Motivation:** **Ecoset** was created as a clean and ecologically valid alternative to **Imagen...
CLOSED
2022-06-20T10:39:34
2023-10-26T09:12:32
2023-10-04T18:19:52
https://github.com/huggingface/datasets/issues/4529
{ "login": "DiGyt" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "Hi! Very cool dataset! I answered your questions on the forum. Also, feel free to comment `#self-assign` on this issue to self-assign it.", "The dataset lives on the Hub [here](https://huggingface.co/datasets/kietzmannlab/ecoset), so I'm closing this issue.", "Hey There, thanks for closing 🤗 \r\n\r\nForgot th...
I_kwDODunzps5MGJPz
4,528
Memory leak when iterating a Dataset
e## Describe the bug It seems that memory never gets freed after iterating a `Dataset` (using `.map()` or a simple `for` loop) ## Steps to reproduce the bug ```python import gc import logging import time import pyarrow from datasets import load_dataset from tqdm import trange import os, psutil logging.ba...
CLOSED
2022-06-20T10:03:14
2022-09-12T08:51:39
2022-09-12T08:51:39
https://github.com/huggingface/datasets/issues/4528
{ "login": "nmntz" }
{ "nodes": [ { "name": "bug" } ] }
[ "Is someone assigned to this issue?", "The same issue is being debugged here: https://github.com/huggingface/datasets/issues/4883\r\n", "Here is a modified repro example that makes it easier to see the leak:\r\n\r\n```\r\n$ cat ds2.py\r\nimport gc, sys\r\nimport time\r\nfrom datasets import load_dataset\r\nimpo...
I_kwDODunzps5MFx5w
4,527
Dataset Viewer issue for vadis/sv-ident
### Link https://huggingface.co/datasets/vadis/sv-ident ### Description The dataset preview does not work: ``` Server Error Status code: 400 Exception: Status400Error Message: The dataset does not exist. ``` However, the dataset is streamable and works locally: ```python In [1]: from dataset...
CLOSED
2022-06-20T08:47:42
2022-06-21T16:42:46
2022-06-21T16:42:45
https://github.com/huggingface/datasets/issues/4527
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "Fixed, thanks!\r\n![Uploading Capture d’écran 2022-06-21 à 18.42.40.png…]()\r\n\r\n" ]
I_kwDODunzps5MFxFZ
4,526
split cache used when processing different split
## Describe the bug` ``` ds1 = load_dataset('squad', split='validation') ds2 = load_dataset('squad', split='train') ds1 = ds1.map(some_function) ds2 = ds2.map(some_function) assert ds1 == ds2 ``` This happens when ds1 and ds2 are created in `pytorch_lightning.DataModule` through ``` class myDataModule: ...
OPEN
2022-06-20T08:44:58
2022-06-28T14:04:58
null
https://github.com/huggingface/datasets/issues/4526
{ "login": "gpucce" }
{ "nodes": [ { "name": "bug" } ] }
[ "I was not able to reproduce this behavior (I tried without using pytorch lightning though, since I don't know what code you ran in pytorch lightning to get this).\r\n\r\nIf you can provide a MWE that would be perfect ! :)", "Hi, I think the issue happened because I was loading datasets under an `if` ... `else` s...
I_kwDODunzps5MFbZ6
4,525
Out of memory error on workers while running Beam+Dataflow
## Describe the bug While running the preprocessing of the natural_question dataset (see PR #4368), there is an issue for the "default" config (train+dev files). Previously we ran the preprocessing for the "dev" config (only dev files) with success. Train data files are larger than dev ones and apparently worker...
CLOSED
2022-06-20T07:28:12
2024-10-09T16:09:50
2024-10-09T16:09:50
https://github.com/huggingface/datasets/issues/4525
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[ "Some naive ideas to cope with this:\r\n- enable more RAM on each worker\r\n- force the spanning of more workers\r\n- others?", "@albertvillanova We were finally able to process the full NQ dataset on our machines using 600 gb with 5 workers. Maybe these numbers will work for you as well.", "Thanks a lot for th...
I_kwDODunzps5MDNRC
4,524
Downloading via Apache Pipeline, client cancelled (org.apache.beam.vendor.grpc.v1p43p2.io.grpc.StatusRuntimeException)
## Describe the bug When downloading some `wikipedia` languages (in particular, I'm having a hard time with Spanish, Cebuano, and Russian) via FlinkRunner, I encounter the exception in the title. I have been playing with package versions a lot, because unfortunately, the different dependencies required by these packag...
OPEN
2022-06-18T23:36:45
2022-06-21T00:38:20
null
https://github.com/huggingface/datasets/issues/4524
{ "login": "ddegenaro" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @dan-the-meme-man, thanks for reporting.\r\n\r\nWe are investigating a similar issue but with Beam+Dataflow (instead of Beam+Flink): \r\n- #4525\r\n\r\nIn order to go deeper into the root cause, we need as much information as possible: logs from the main process + logs from the workers are very informative.\r\n...
I_kwDODunzps5L_eCw
4,522
Try to reduce the number of datasets that require manual download
> Currently, 41 canonical datasets require manual download. I checked their scripts and I'm pretty sure this number can be reduced to ≈ 30 by not relying on bash scripts to download data, hosting data directly on the Hub when the license permits, etc. Then, we will mostly be left with datasets with restricted access, w...
OPEN
2022-06-17T11:42:03
2022-06-17T11:52:48
null
https://github.com/huggingface/datasets/issues/4522
{ "login": "severo" }
{ "nodes": [] }
[]
I_kwDODunzps5L_boN
4,521
Datasets method `.map` not hashing
## Describe the bug Datasets method `.map` not hashing, even with an empty no-op function ## Steps to reproduce the bug ```python from datasets import load_dataset # download 9MB dummy dataset ds = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean") def prepare_dataset(batch): return(b...
CLOSED
2022-06-17T11:31:10
2022-08-04T12:08:16
2022-06-28T13:23:05
https://github.com/huggingface/datasets/issues/4521
{ "login": "sanchit-gandhi" }
{ "nodes": [ { "name": "bug" } ] }
[ "Fix posted: https://github.com/huggingface/datasets/issues/4506#issuecomment-1157417219", "Didn't realize it's a bug when I asked the question yesterday! Free free to post an answer if you are sure the cause has been addressed.\r\n\r\nhttps://stackoverflow.com/questions/72664827/can-pickle-dill-foo-but-not-lambd...
I_kwDODunzps5L_RzM
4,520
Failure to hash `dataclasses` - results in functions that cannot be hashed or cached in `.map`
Dataclasses cannot be hashed. As a result, they cannot be hashed or cached if used in the `.map` method. Dataclasses are used extensively in Transformers examples scripts: (c.f. [CTC example](https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py)). Since...
CLOSED
2022-06-17T10:47:17
2022-06-28T14:47:17
2022-06-28T14:04:29
https://github.com/huggingface/datasets/issues/4520
{ "login": "sanchit-gandhi" }
{ "nodes": [ { "name": "bug" } ] }
[ "I think this has been fixed by #4516, let me know if you encounter this again :)\r\n\r\nI re-ran your code in 3.7 and 3.9 and it works fine", "Thank you!" ]
I_kwDODunzps5L6CXO
4,514
Allow .JPEG as a file extension
## Describe the bug When loading image data, HF datasets seems to recognize `.jpg` and `.jpeg` file extensions, but not e.g. .JPEG. As the naming convention .JPEG is used in important datasets such as imagenet, I would welcome if according extensions like .JPEG or .JPG would be allowed. ## Steps to reproduce the bu...
CLOSED
2022-06-16T12:36:20
2022-06-20T08:18:46
2022-06-16T17:11:40
https://github.com/huggingface/datasets/issues/4514
{ "login": "DiGyt" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi, thanks for reporting! I've opened a PR with the fix.", "Wow, that was quick! Thank you very much 🙏 " ]
I_kwDODunzps5L3CZJ
4,508
cast_storage method from datasets.features
## Describe the bug A bug occurs when mapping a function to a dataset object. I ran the same code with the same data yesterday and it worked just fine. It works when i run locally on an old version of datasets. ## Steps to reproduce the bug Steps are: - load whatever datset - write a preprocessing function such ...
CLOSED
2022-06-15T20:47:22
2022-06-16T13:54:07
2022-06-16T13:54:07
https://github.com/huggingface/datasets/issues/4508
{ "login": "romainremyb" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi! We've recently added a check to the `ClassLabel` type to ensure the values are in the valid label range `-1, 0, ..., num_classes-1` (-1 is used for missing values). The error in your case happens only if the `labels` column is of type `Sequence(ClassLabel(...))` before the `map` call and can be avoided by call...
I_kwDODunzps5L2pP8
4,507
How to let `load_dataset` return a `Dataset` instead of `DatasetDict` in customized loading script
If the dataset does not need splits, i.e., no training and validation split, more like a table. How can I let the `load_dataset` function return a `Dataset` object directly rather than return a `DatasetDict` object with only one key-value pair. Or I can paraphrase the question in the following way: how to skip `_spl...
CLOSED
2022-06-15T18:56:34
2022-06-16T10:40:08
2022-06-16T10:40:08
https://github.com/huggingface/datasets/issues/4507
{ "login": "liyucheng09" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Hi @liyucheng09.\r\n\r\nUsers can pass the `split` parameter to `load_dataset`. For example, if your split name is \"train\",\r\n```python\r\nds = load_dataset(\"dataset_name\", split=\"train\")\r\n```\r\nwill return a `Dataset` instance.", "@albertvillanova Thanks! I can't believe I didn't know this feature til...
I_kwDODunzps5L2REf
4,506
Failure to hash (and cache) a `.map(...)` (almost always) - using this method can produce incorrect results
## Describe the bug Sometimes I get messages about not being able to hash a method: `Parameter 'function'=<function StupidDataModule._separate_speaker_id_from_dialogue at 0x7f1b27180d30> of the transform datasets.arrow_dataset.Dataset. _map_single couldn't be hashed properly, a random hash was used instead. Make sur...
CLOSED
2022-06-15T17:11:31
2023-02-16T03:14:32
2022-06-28T13:23:05
https://github.com/huggingface/datasets/issues/4506
{ "login": "DrMatters" }
{ "nodes": [ { "name": "bug" } ] }
[ "Important info:\r\n\r\nAs hashes are generated randomly for functions, it leads to **false identifying some results as already hashed** (mapping function is not executed after a method update) when there's a `pytorch_lightning.seed_everything(123)`", "@lhoestq\r\nseems like quite critical stuff for me, if I'm no...
I_kwDODunzps5L15Cw
4,504
Can you please add the Stanford dog dataset?
## Adding a Dataset - **Name:** *Stanford dog dataset* - **Description:** *The dataset is about 120 classes for a total of 20.580 images. You can find the dataset here http://vision.stanford.edu/aditya86/ImageNetDogs/* - **Paper:** *http://vision.stanford.edu/aditya86/ImageNetDogs/* - **Data:** *[link to the Github...
CLOSED
2022-06-15T15:39:35
2024-12-09T15:44:11
2023-10-18T18:55:30
https://github.com/huggingface/datasets/issues/4504
{ "login": "dgrnd4" }
{ "nodes": [ { "name": "good first issue" }, { "name": "dataset request" } ] }
[ "would you like to give it a try, @dgrnd4? (maybe with the help of the dataset author?)", "@julien-c i am sorry but I have no idea about how it works: can I add the dataset by myself, following \"instructions to add a new dataset\"?\r\nCan I add a dataset even if it's not mine? (it's public in the link that I wro...