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_kwDODunzps5H6fdr | 4,176 | Very slow between two operations | Hello, in the processing stage, I use two operations. The first one : map + filter, is very fast and it uses the full cores, while the socond step is very slow and did not use full cores.
Also, there is a significant lag between them. Am I missing something ?
```
raw_datasets = raw_datasets.map(split_func... | CLOSED | 2022-04-17T23:52:29 | 2022-04-18T00:03:00 | 2022-04-18T00:03:00 | https://github.com/huggingface/datasets/issues/4176 | {
"login": "yanan1116"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [] |
I_kwDODunzps5Hw4Td | 4,169 | Timit_asr dataset cannot be previewed recently | ## Dataset viewer issue for '*timit_asr*'
**Link:** *https://huggingface.co/datasets/timit_asr*
Issue: The timit-asr dataset cannot be previewed recently.
Am I the one who added this dataset ? Yes-No
No | CLOSED | 2022-04-14T03:28:31 | 2023-02-03T04:54:57 | 2022-05-06T16:06:51 | https://github.com/huggingface/datasets/issues/4169 | {
"login": "YingLi001"
} | {
"nodes": []
} | [
"Thanks for reporting. The bug has already been detected, and we hope to fix it soon.",
"TIMIT is now a dataset that requires manual download, see #4145 \r\n\r\nTherefore it might take a bit more time to fix it",
"> TIMIT is now a dataset that requires manual download, see #4145\r\n> \r\n> Therefore it might ta... |
I_kwDODunzps5HvI1E | 4,163 | Optional Content Warning for Datasets | **Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is.
We now have hate speech datasets on the hub, like this one: https://huggingface.co/datasets/HannahRoseKirk/HatemojiBuild
I'm wondering if there is an option to select a content warning messa... | OPEN | 2022-04-13T16:38:01 | 2022-06-09T20:39:02 | null | https://github.com/huggingface/datasets/issues/4163 | {
"login": "TristanThrush"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Hi! You can use the `extra_gated_prompt` YAML field in a dataset card for displaying custom messages/warnings that the user must accept before gaining access to the actual dataset. This option also keeps the viewer hidden until the user agrees to terms. ",
"Hi @mariosasko, thanks for explaining how to add this f... |
I_kwDODunzps5Hsfiy | 4,160 | RGBA images not showing | ## Dataset viewer issue for ceyda/smithsonian_butterflies_transparent
[**Link:** *link to the dataset viewer page*](https://huggingface.co/datasets/ceyda/smithsonian_butterflies_transparent)

Am I the... | CLOSED | 2022-04-13T06:59:23 | 2022-06-21T16:43:11 | 2022-06-21T16:43:11 | https://github.com/huggingface/datasets/issues/4160 | {
"login": "cceyda"
} | {
"nodes": [
{
"name": "dataset-viewer"
},
{
"name": "dataset-viewer-rgba-images"
}
]
} | [
"Thanks for reporting. It's a known issue, and we hope to fix it soon.",
"Fixed, thanks!"
] |
I_kwDODunzps5HpZXD | 4,152 | ArrayND error in pyarrow 5 | As found in https://github.com/huggingface/datasets/pull/3903, The ArrayND features fail on pyarrow 5:
```python
import pyarrow as pa
from datasets import Array2D
from datasets.table import cast_array_to_feature
arr = pa.array([[[0]]])
feature_type = Array2D(shape=(1, 1), dtype="int64")
cast_array_to_feature(a... | CLOSED | 2022-04-12T15:41:40 | 2022-05-04T09:29:46 | 2022-05-04T09:29:46 | https://github.com/huggingface/datasets/issues/4152 | {
"login": "lhoestq"
} | {
"nodes": []
} | [
"Where do we bump the required pyarrow version? Any inputs on how I fix this issue? ",
"We need to bump it in `setup.py` as well as update some CI job to use pyarrow 6 instead of 5 in `.circleci/config.yaml` and `.github/workflows/benchmarks.yaml`"
] |
I_kwDODunzps5HoFSC | 4,150 | Inconsistent splits generation for datasets without loading script (packaged dataset puts everything into a single split) | ## Describe the bug
Splits for dataset loaders without scripts are prepared inconsistently. I think it might be confusing for users.
## Steps to reproduce the bug
* If you load a packaged datasets from Hub, it infers splits from directory structure / filenames (check out the data [here](https://huggingface.co/data... | CLOSED | 2022-04-12T11:15:55 | 2022-04-28T21:02:44 | 2022-04-28T21:02:44 | https://github.com/huggingface/datasets/issues/4150 | {
"login": "polinaeterna"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [] |
I_kwDODunzps5Hm76l | 4,149 | load_dataset for winoground returning decoding error | ## Describe the bug
I am trying to use datasets to load winoground and I'm getting a JSON decoding error.
## Steps to reproduce the bug
```python
from datasets import load_dataset
token = 'hf_XXXXX' # my HF access token
datasets = load_dataset('facebook/winoground', use_auth_token=token)
```
## Expected res... | CLOSED | 2022-04-12T08:16:16 | 2022-05-04T23:40:38 | 2022-05-04T23:40:38 | https://github.com/huggingface/datasets/issues/4149 | {
"login": "odellus"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"I thought I had fixed it with this after some helpful hints from @severo\r\n```python\r\nimport datasets \r\ntoken = 'hf_XXXXX'\r\ndataset = datasets.load_dataset(\r\n 'facebook/winoground', \r\n name='facebook--winoground', \r\n split='train', \r\n streaming=True,\r\n use_auth_token=token,\r\n)\r\n... |
I_kwDODunzps5HmGNa | 4,148 | fix confusing bleu metric example | **Is your feature request related to a problem? Please describe.**
I would like to see the example in "Metric Card for BLEU" changed.
The 0th element in the predictions list is not closed in square brackets, and the 1st list is missing a comma.
The BLEU score are calculated correctly, but it is difficult to understa... | CLOSED | 2022-04-12T06:18:26 | 2022-04-13T14:16:34 | 2022-04-13T14:16:34 | https://github.com/huggingface/datasets/issues/4148 | {
"login": "aizawa-naoki"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [] |
I_kwDODunzps5Hidbt | 4,146 | SAMSum dataset viewer not working | ## Dataset viewer issue for '*name of the dataset*'
**Link:** *link to the dataset viewer page*
*short description of the issue*
Am I the one who added this dataset ? Yes-No
| CLOSED | 2022-04-11T16:22:57 | 2022-04-29T16:26:09 | 2022-04-29T16:26:09 | https://github.com/huggingface/datasets/issues/4146 | {
"login": "aakashnegi10"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"https://huggingface.co/datasets/samsum\r\n\r\n```\r\nStatus code: 400\r\nException: ValueError\r\nMessage: Cannot seek streaming HTTP file\r\n```",
"Currently, only the datasets that can be streamed support the dataset viewer. Maybe @lhoestq @albertvillanova or @mariosasko could give more details abo... |
I_kwDODunzps5HhZmp | 4,143 | Unable to download `Wikepedia` 20220301.en version | ## Describe the bug
Unable to download `Wikepedia` dataset, 20220301.en version
## Steps to reproduce the bug
```python
!pip install apache_beam mwparserfromhell
dataset_wikipedia = load_dataset("wikipedia", "20220301.en")
```
## Actual results
```
ValueError: BuilderConfig 20220301.en not found.
Avail... | CLOSED | 2022-04-11T13:00:14 | 2022-08-17T00:37:55 | 2022-04-21T17:04:14 | https://github.com/huggingface/datasets/issues/4143 | {
"login": "beyondguo"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi! We've recently updated the Wikipedia script, so these changes are only available on master and can be fetched as follows:\r\n```python\r\ndataset_wikipedia = load_dataset(\"wikipedia\", \"20220301.en\", revision=\"master\")\r\n```",
"Hi, how can I load the previous \"20200501.en\" version of wikipedia which ... |
I_kwDODunzps5Hg2o- | 4,142 | Add ObjectFolder 2.0 dataset | ## Adding a Dataset
- **Name:** ObjectFolder 2.0
- **Description:** ObjectFolder 2.0 is a dataset of 1,000 objects in the form of implicit representations. It contains 1,000 Object Files each containing the complete multisensory profile for an object instance.
- **Paper:** [*link to the dataset paper if available*](... | OPEN | 2022-04-11T10:57:51 | 2022-10-05T10:30:49 | null | https://github.com/huggingface/datasets/issues/4142 | {
"login": "osanseviero"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"Datasets are not tracked in this repository anymore."
] |
I_kwDODunzps5HgJwF | 4,141 | Why is the dataset not visible under the dataset preview section? | ## Dataset viewer issue for '*name of the dataset*'
**Link:** *link to the dataset viewer page*
*short description of the issue*
Am I the one who added this dataset ? Yes-No
| CLOSED | 2022-04-11T08:36:42 | 2022-04-11T18:55:32 | 2022-04-11T17:09:49 | https://github.com/huggingface/datasets/issues/4141 | {
"login": "Nid989"
} | {
"nodes": [
{
"name": "dataset-viewer"
}
]
} | [] |
I_kwDODunzps5Hfs0E | 4,140 | Error loading arxiv data set | ## Describe the bug
A clear and concise description of what the bug is.
I met the error below when loading arxiv dataset via `nlp.load_dataset('scientific_papers', 'arxiv',)`.
```
Traceback (most recent call last):
File "scripts/summarization.py", line 354, in <module>
main(args)
File "scripts/summari... | CLOSED | 2022-04-11T07:06:34 | 2022-04-12T16:24:08 | 2022-04-12T16:24:08 | https://github.com/huggingface/datasets/issues/4140 | {
"login": "yjqiu"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi! I think this error may be related to using an older version of the library. I was able to load the dataset without any issues using the latest version of `datasets`. Can you upgrade to the latest version of `datasets` and try again? :)",
"Hi! As @stevhliu suggested, to fix the issue, update the lib to the n... |
I_kwDODunzps5Hfg9u | 4,139 | Dataset viewer issue for Winoground | ## Dataset viewer issue for 'Winoground'
**Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train)
*short description of the issue*
Getting 401, message='Unauthorized'
The dataset is subject to authorization, but I can access the files f... | CLOSED | 2022-04-11T06:11:41 | 2022-06-21T16:43:58 | 2022-06-21T16:43:58 | https://github.com/huggingface/datasets/issues/4139 | {
"login": "alcinos"
} | {
"nodes": [
{
"name": "dataset-viewer"
},
{
"name": "dataset-viewer-gated"
}
]
} | [
"related (same dataset): https://github.com/huggingface/datasets/issues/4149. But the issue is different. Looking at it",
"I thought this issue was related to the error I was seeing, but upon consideration I'd think the dataset viewer would return a 500 (unable to create the split like me) or a 404 (unable to loa... |
I_kwDODunzps5He71S | 4,138 | Incorrect Russian filenames encoding after extraction by datasets.DownloadManager.download_and_extract() | ## Dataset viewer issue for 'MalakhovIlya/RuREBus'
**Link:** https://huggingface.co/datasets/MalakhovIlya/RuREBus
**Description**
Using os.walk(topdown=False) in DatasetBuilder causes following error:
Status code: 400
Exception: TypeError
Message: xwalk() got an unexpected keyword argument 'topdow... | CLOSED | 2022-04-11T02:07:13 | 2022-04-19T03:15:46 | 2022-04-16T15:46:29 | https://github.com/huggingface/datasets/issues/4138 | {
"login": "iluvvatar"
} | {
"nodes": []
} | [
"To reproduce:\r\n\r\n```python\r\n>>> import datasets\r\n>>> datasets.get_dataset_split_names('MalakhovIlya/RuREBus', config_name='raw_txt')\r\nTraceback (most recent call last):\r\n File \"/home/slesage/hf/datasets-preview-backend/.venv/lib/python3.9/site-packages/datasets/inspect.py\", line 280, in get_dataset_... |
I_kwDODunzps5HZxH6 | 4,134 | ELI5 supporting documents | if i am using dense search to create supporting documents for eli5 how much time it will take bcz i read somewhere that it takes about 18 hrs?? | OPEN | 2022-04-08T23:36:27 | 2022-04-13T13:52:46 | null | https://github.com/huggingface/datasets/issues/4134 | {
"login": "saurabh-0077"
} | {
"nodes": [
{
"name": "question"
}
]
} | [
"Hi ! Please post your question on the [forum](https://discuss.huggingface.co/), more people will be able to help you there ;)"
] |
I_kwDODunzps5HZXHf | 4,133 | HANS dataset preview broken | ## Dataset viewer issue for '*hans*'
**Link:** [https://huggingface.co/datasets/hans](https://huggingface.co/datasets/hans)
HANS dataset preview is broken with error 400
Am I the one who added this dataset ? No
| CLOSED | 2022-04-08T21:06:15 | 2022-04-13T11:57:34 | 2022-04-13T11:57:34 | https://github.com/huggingface/datasets/issues/4133 | {
"login": "pietrolesci"
} | {
"nodes": [
{
"name": "streaming"
}
]
} | [
"The dataset cannot be loaded, be it in normal or streaming mode.\r\n\r\n```python\r\n>>> import datasets\r\n>>> dataset=datasets.load_dataset(\"hans\", split=\"train\", streaming=True)\r\n>>> next(iter(dataset))\r\nTraceback (most recent call last):\r\n File \"<stdin>\", line 1, in <module>\r\n File \"/home/sles... |
I_kwDODunzps5HXoUc | 4,129 | dataset metadata for reproducibility | When pulling a dataset from the hub, it would be useful to have some metadata about the specific dataset and version that is used. The metadata could then be passed to the `Trainer` which could then be saved to a model card. This is useful for people who run many experiments on different versions (commits/branches) of ... | OPEN | 2022-04-08T14:17:28 | 2023-09-29T09:23:56 | null | https://github.com/huggingface/datasets/issues/4129 | {
"login": "nbroad1881"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"+1 on this idea. This could be powerful for helping better track datasets used for model training and help with automatic model card creation. \r\n\r\nOne possible way of doing this would be to store some/most/all the arguments passed to `load_dataset` if a hub id is passed. i.e. store the Hub ID, configuration, e... |
I_kwDODunzps5HU6lq | 4,126 | dataset viewer issue for common_voice | ## Dataset viewer issue for 'common_voice'
**Link:** https://huggingface.co/datasets/common_voice
Server Error
Status code: 400
Exception: TypeError
Message: __init__() got an unexpected keyword argument 'audio_column'
Am I the one who added this dataset ? No
| CLOSED | 2022-04-07T23:34:28 | 2022-04-25T13:42:17 | 2022-04-25T13:42:16 | https://github.com/huggingface/datasets/issues/4126 | {
"login": "laphang"
} | {
"nodes": [
{
"name": "dataset-viewer"
},
{
"name": "audio_column"
}
]
} | [
"Yes, it's a known issue, and we expect to fix it soon.",
"Fixed.\r\n\r\n<img width=\"1393\" alt=\"Capture d’écran 2022-04-25 à 15 42 05\" src=\"https://user-images.githubusercontent.com/1676121/165101176-d729d85b-efff-45a8-bad1-b69223edba5f.png\">\r\n"
] |
I_kwDODunzps5HUK5S | 4,124 | Image decoding often fails when transforming Image datasets | ## Describe the bug
When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors.
Using a debugger it is easy to see what the problem is, the Image decode invocation does not take place and the resulting image pa... | CLOSED | 2022-04-07T19:17:25 | 2022-04-13T14:01:16 | 2022-04-13T14:01:16 | https://github.com/huggingface/datasets/issues/4124 | {
"login": "RafayAK"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"A quick hack I have found is that we can call the image first before running the transforms and it makes sure the image is decoded before being passed on.\r\n\r\nFor this I just needed to add `example['img'] = example['img']` to the top of my `generate_flipped_data` function, defined above, so that image decode in... |
I_kwDODunzps5HTx6Y | 4,123 | Building C4 takes forever | ## Describe the bug
C4-en is a 300 GB dataset. However, when I try to download it through the hub it takes over _six hours_ to generate the train/test split from the downloaded files. This is an absurd amount of time and an unnecessary waste of resources.
## Steps to reproduce the bug
```python
c4 = datasets.load... | CLOSED | 2022-04-07T17:41:30 | 2023-06-26T22:01:29 | 2023-06-26T22:01:29 | https://github.com/huggingface/datasets/issues/4123 | {
"login": "StellaAthena"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi @StellaAthena, thanks for reporting.\r\n\r\nPlease note, that our `datasets` library performs several operations in order to load a dataset, among them:\r\n- it downloads all the required files: for C4 \"en\", 378.69 GB of JSON GZIPped files\r\n- it parses their content to generate the dataset\r\n- it caches th... |
I_kwDODunzps5HSvZg | 4,122 | medical_dialog zh has very slow _generate_examples | ## Describe the bug
After downloading the files from Google Drive, `load_dataset("medical_dialog", "zh", data_dir="./")` takes an unreasonable amount of time. Generating the train/test split for 33% of the dataset takes over 4.5 hours.
## Steps to reproduce the bug
The easiest way I've found to download files from... | CLOSED | 2022-04-07T14:00:51 | 2022-04-08T16:20:51 | 2022-04-08T16:20:51 | https://github.com/huggingface/datasets/issues/4122 | {
"login": "nbroad1881"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi @nbroad1881, thanks for reporting.\r\n\r\nLet me have a look to try to improve its performance. ",
"Thanks @nbroad1881 for reporting! I don't recall it taking so long. I will also have a look at this. \r\n@albertvillanova please let me know if I am doing something unnecessary or time consuming.",
"Hi @nbro... |
I_kwDODunzps5HSYMS | 4,121 | datasets.load_metric can not load a local metirc | ## Describe the bug
No matter how I hard try to tell load_metric that I want to load a local metric file, it still continues to fetch things on the Internet. And unfortunately it says 'ConnectionError: Couldn't reach'. However I can download this file without connectionerror and tell load_metric its local directory. A... | CLOSED | 2022-04-07T12:48:56 | 2023-01-18T14:30:46 | 2022-04-07T13:53:27 | https://github.com/huggingface/datasets/issues/4121 | {
"login": "SadGare"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hello, could you tell me how this issue can be fixed? I'm coming across the same issue."
] |
I_kwDODunzps5HR8tG | 4,120 | Representing dictionaries (json) objects as features | In the process of adding a new dataset to the hub, I stumbled upon the inability to represent dictionaries that contain different key names, unknown in advance (and may differ between samples), original asked in the [forum](https://discuss.huggingface.co/t/representing-nested-dictionary-with-different-keys/16442).
F... | CLOSED | 2022-04-07T11:07:41 | 2026-03-09T15:57:59 | 2026-03-09T15:57:59 | https://github.com/huggingface/datasets/issues/4120 | {
"login": "yanaiela"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"This is indeed a problem for VLMs in 2025 too! Where we expect the inputs to be of the format:\n```\ncontent = [{\n\"type\": \"text\",\n\"text\": <text>\n}, {\n\"type\": \"image\",\n\"image\": <image>\n}]\n```\nCC: @lhoestq ",
"The community has also been using this format instead, with the images on the side: h... |
I_kwDODunzps5HRACg | 4,118 | Failing CI tests on Windows | ## Describe the bug
Our CI Windows tests are failing from yesterday: https://app.circleci.com/pipelines/github/huggingface/datasets/11092/workflows/9cfdb1dd-0fec-4fe0-8122-5f533192ebdc/jobs/67414
| CLOSED | 2022-04-07T07:36:25 | 2022-04-07T07:57:13 | 2022-04-07T07:57:13 | https://github.com/huggingface/datasets/issues/4118 | {
"login": "albertvillanova"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [] |
I_kwDODunzps5HQq6W | 4,117 | AttributeError: module 'huggingface_hub' has no attribute 'hf_api' | ## Describe the bug
Could you help me please. I got this following error.
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Steps to reproduce the bug
when I imported the datasets
# Sample code to reproduce the bug
from datasets import list_datasets, load_dataset, list_metrics, load_metr... | CLOSED | 2022-04-07T05:52:36 | 2024-05-07T09:24:35 | 2022-04-19T15:36:35 | https://github.com/huggingface/datasets/issues/4117 | {
"login": "arymbe"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi @arymbe, thanks for reporting.\r\n\r\nUnfortunately, I'm not able to reproduce your problem.\r\n\r\nCould you please write the complete stack trace? That way we will be able to see which package originates the exception.",
"Hello, thank you for your fast replied. this is the complete error that I got\r\n\r\n-... |
I_kwDODunzps5HONej | 4,115 | ImageFolder add option to ignore some folders like '.ipynb_checkpoints' | **Is your feature request related to a problem? Please describe.**
I sometimes like to peek at the dataset images from jupyterlab. thus '.ipynb_checkpoints' folder appears where my dataset is and (just realized) leads to accidental duplicate image additions. I think this is an easy enough thing to miss especially if t... | CLOSED | 2022-04-06T17:29:43 | 2022-06-01T13:04:16 | 2022-06-01T13:04:16 | https://github.com/huggingface/datasets/issues/4115 | {
"login": "cceyda"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Maybe it would be nice to ignore private dirs like this one (ones starting with `.`) by default. \r\n\r\nCC @mariosasko ",
"Maybe we can add a `ignore_hidden_files` flag to the builder configs of our packaged loaders (to be consistent across all of them), wdyt @lhoestq @albertvillanova? ",
"I think they should... |
I_kwDODunzps5HOAux | 4,114 | Allow downloading just some columns of a dataset | **Is your feature request related to a problem? Please describe.**
Some people are interested in doing label analysis of a CV dataset without downloading all the images. Downloading the whole dataset does not always makes sense for this kind of use case
**Describe the solution you'd like**
Be able to just download... | OPEN | 2022-04-06T16:38:46 | 2025-02-17T15:10:56 | null | https://github.com/huggingface/datasets/issues/4114 | {
"login": "osanseviero"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"In the general case you can’t always reduce the quantity of data to download, since you can’t parse CSV or JSON data without downloading the whole files right ? ^^ However we could explore this case-by-case I guess",
"Actually for csv pandas has `usecols` which allows loading a subset of columns in a more effici... |
I_kwDODunzps5HN92M | 4,113 | Multiprocessing with FileLock fails in python 3.9 | On python 3.9, this code hangs:
```python
from multiprocessing import Pool
from filelock import FileLock
def run(i):
print(f"got the lock in multi process [{i}]")
with FileLock("tmp.lock"):
with Pool(2) as pool:
pool.map(run, range(2))
```
This is because the subprocesses try to ac... | CLOSED | 2022-04-06T16:27:09 | 2022-11-28T11:49:14 | 2022-11-28T11:49:14 | https://github.com/huggingface/datasets/issues/4113 | {
"login": "lhoestq"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Closing this one because it must be used this way actually:\r\n```python\r\ndef main():\r\n with FileLock(\"tmp.lock\"):\r\n with Pool(2) as pool:\r\n pool.map(run, range(2))\r\n\r\nif __name__ == \"__main__\":\r\n main()\r\n```"
] |
I_kwDODunzps5HNnr9 | 4,112 | ImageFolder with Grayscale images dataset | Hi, I'm facing a problem with a grayscale images dataset I have uploaded [here](https://huggingface.co/datasets/ChainYo/rvl-cdip) (RVL-CDIP)
I'm getting an error while I want to use images for training a model with PyTorch DataLoader. Here is the full traceback:
```bash
AttributeError: Caught AttributeError in D... | CLOSED | 2022-04-06T15:10:00 | 2022-04-22T10:21:53 | 2022-04-22T10:21:52 | https://github.com/huggingface/datasets/issues/4112 | {
"login": "chainyo"
} | {
"nodes": []
} | [
"Hi! Replacing:\r\n```python\r\ntransformed_dataset = dataset.with_transform(transforms)\r\ntransformed_dataset.set_format(type=\"torch\", device=\"cuda\")\r\n```\r\n\r\nwith:\r\n```python\r\ndef transform_func(examples):\r\n examples[\"image\"] = [transforms(img).to(\"cuda\") for img in examples[\"image\"]]\r\n... |
I_kwDODunzps5HMmSV | 4,107 | Unable to view the dataset and loading the same dataset throws the error - ArrowInvalid: Exceeded maximum rows | ## Dataset viewer issue - -ArrowInvalid: Exceeded maximum rows
**Link:** *https://huggingface.co/datasets/Pavithree/explainLikeImFive*
*This is the subset of original eli5 dataset https://huggingface.co/datasets/vblagoje/lfqa. I just filtered the data samples which belongs to one particular subreddit thread. How... | CLOSED | 2022-04-06T11:37:15 | 2022-04-08T07:13:07 | 2022-04-06T14:39:55 | https://github.com/huggingface/datasets/issues/4107 | {
"login": "Pavithree"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Thanks for reporting. I'm looking at it",
" It's not related to the dataset viewer in itself. I can replicate the error with:\r\n\r\n```\r\n>>> import datasets as ds\r\n>>> d = ds.load_dataset('Pavithree/explainLikeImFive')\r\nUsing custom data configuration Pavithree--explainLikeImFive-b68b6d8112cd8a51\r\nDown... |
I_kwDODunzps5HL4cf | 4,105 | push to hub fails with huggingface-hub 0.5.0 | ## Describe the bug
`ds.push_to_hub` is failing when updating a dataset in the form "org_id/repo_id"
## Steps to reproduce the bug
```python
from datasets import load_dataset
ds = load_dataset("rubrix/news_test")
ds.push_to_hub("<your-user>/news_test", token="<your-token>")
```
## Expected results
The data... | CLOSED | 2022-04-06T08:59:57 | 2022-04-13T14:30:47 | 2022-04-13T14:30:47 | https://github.com/huggingface/datasets/issues/4105 | {
"login": "frascuchon"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi ! Indeed there was a breaking change in `huggingface_hub` 0.5.0 in `HfApi.create_repo`, which is called here in `datasets` by passing the org name in both the `repo_id` and the `organization` arguments:\r\n\r\nhttps://github.com/huggingface/datasets/blob/2230f7f7d7fbaf102cff356f5a8f3bd1561bea43/src/datasets/arr... |
I_kwDODunzps5HLBuG | 4,104 | Add time series data - stock market | ## Adding a Time Series Dataset
- **Name:** 2min ticker data for stock market
- **Description:** 8 stocks' data collected for 1month post ukraine-russia war. 4 NSE stocks and 4 NASDAQ stocks. Along with technical indicators (additional features) as shown in below image
- **Data:** Collected by myself from investing... | OPEN | 2022-04-06T05:46:58 | 2024-07-21T16:54:30 | null | https://github.com/huggingface/datasets/issues/4104 | {
"login": "rozeappletree"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"Can I use instructions present in below link for time series dataset as well? \r\nhttps://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md ",
"cc'ing @kashif and @NielsRogge for visibility!",
"@INF800 happy to add this dataset! I will try to set a PR by the end of the day... if you can kindly poi... |
I_kwDODunzps5HIdOk | 4,101 | How can I download only the train and test split for full numbers using load_dataset()? | How can I download only the train and test split for full numbers using load_dataset()?
I do not need the extra split and it will take 40 mins just to download in Colab. I have very short time in hand. Please help. | OPEN | 2022-04-05T16:00:15 | 2022-04-06T13:09:01 | null | https://github.com/huggingface/datasets/issues/4101 | {
"login": "Nakkhatra"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Hi! Can you please specify the full name of the dataset? IIRC `full_numbers` is one of the configs of the `svhn` dataset, and its generation is slow due to data being stored in binary Matlab files. Even if you specify a specific split, `datasets` downloads all of them, but we plan to fix that soon and only downloa... |
I_kwDODunzps5HH5uI | 4,099 | UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128) | ## Describe the bug
Error "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128)" is thrown when downloading dataset.
## Steps to reproduce the bug
```python
from datasets import load_dataset
datasets = load_dataset("nielsr/XFUN", "xfun.ja")
```
## Expected resu... | CLOSED | 2022-04-05T14:42:38 | 2022-04-06T06:37:44 | 2022-04-06T06:35:54 | https://github.com/huggingface/datasets/issues/4099 | {
"login": "andreybond"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi @andreybond, thanks for reporting.\r\n\r\nUnfortunately, I'm not able to able to reproduce your issue:\r\n```python\r\nIn [4]: from datasets import load_dataset\r\n ...: datasets = load_dataset(\"nielsr/XFUN\", \"xfun.ja\")\r\n\r\nIn [5]: datasets\r\nOut[5]: \r\nDatasetDict({\r\n train: Dataset({\r\n ... |
I_kwDODunzps5HHkGt | 4,096 | Add support for streaming Zarr stores for hosted datasets | **Is your feature request related to a problem? Please describe.**
Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support streaming in data in Zarr format as far as I can tell. Zarr s... | CLOSED | 2022-04-05T13:38:32 | 2026-08-07T17:36:53 | 2022-04-21T08:12:58 | https://github.com/huggingface/datasets/issues/4096 | {
"login": "jacobbieker"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Hi @jacobbieker, thanks for your request and study of possible alternatives.\r\n\r\nWe are very interested in finding a way to make `datasets` useful to you.\r\n\r\nLooking at the Zarr docs, I saw that among its storage alternatives, there is the ZIP file format: https://zarr.readthedocs.io/en/stable/api/storage.h... |
I_kwDODunzps5HFKGO | 4,094 | Helo Mayfrends | ## Adding a Dataset
- **Name:** *name of the dataset*
- **Description:** *short description of the dataset (or link to social media or blog post)*
- **Paper:** *link to the dataset paper if available*
- **Data:** *link to the Github repository or current dataset location*
- **Motivation:** *what are some good reas... | CLOSED | 2022-04-05T02:42:57 | 2022-04-05T07:16:42 | 2022-04-05T07:16:42 | https://github.com/huggingface/datasets/issues/4094 | {
"login": "Budigming"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [] |
I_kwDODunzps5HFHWZ | 4,093 | elena-soare/crawled-ecommerce: missing dataset | elena-soare/crawled-ecommerce
**Link:** *link to the dataset viewer page*
*short description of the issue*
Am I the one who added this dataset ? Yes-No
| CLOSED | 2022-04-05T02:25:19 | 2022-04-12T09:34:53 | 2022-04-12T09:34:53 | https://github.com/huggingface/datasets/issues/4093 | {
"login": "seevaratnam"
} | {
"nodes": [
{
"name": "dataset-viewer"
}
]
} | [
"It's a bug! Thanks for reporting, I'm looking at it.",
"By the way, the error on our part is due to the huge size of every row (~90MB). The dataset viewer does not support such big dataset rows for the moment.\r\nAnyway, we're working to give a hint about this in the dataset viewer.",
"Fixed. See https://huggi... |
I_kwDODunzps5HDNcv | 4,091 | Build a Dataset One Example at a Time Without Loading All Data Into Memory | **Is your feature request related to a problem? Please describe.**
I have a very large dataset stored on disk in a custom format. I have some custom code that reads one data example at a time and yields it in the form of a dictionary. I want to construct a `Dataset` with all examples, and then save it to disk. I la... | CLOSED | 2022-04-04T16:19:24 | 2022-04-20T14:31:00 | 2022-04-20T14:31:00 | https://github.com/huggingface/datasets/issues/4091 | {
"login": "aravind-tonita"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Hi! Yes, the problem with `add_item` is that it keeps examples in memory, so you are left with these options:\r\n* writing a dataset loading script in which you iterate over `custom_example_dict_streamer` and yield the examples (in `_generate examples`)\r\n* storing the data in a JSON/CSV/Parquet/TXT file and usin... |
I_kwDODunzps5HAuo- | 4,086 | Dataset viewer issue for McGill-NLP/feedbackQA | ## Dataset viewer issue for '*McGill-NLP/feedbackQA*'
**Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/McGill-NLP/feedbackQA)*
*short description of the issue*
The dataset can be loaded correctly with `load_dataset` but the preview doesn't work. Error message:
```
Status code: 4... | CLOSED | 2022-04-04T07:27:20 | 2022-04-04T22:29:53 | 2022-04-04T08:01:45 | https://github.com/huggingface/datasets/issues/4086 | {
"login": "cslizc"
} | {
"nodes": [
{
"name": "dataset-viewer"
}
]
} | [
"Hi @cslizc, thanks for reporting.\r\n\r\nI have just forced the refresh of the corresponding cache and the preview is working now.",
"thank you so much"
] |
I_kwDODunzps5G93Ch | 4,085 | datasets.set_progress_bar_enabled(False) not working in datasets v2 | ## Describe the bug
datasets.set_progress_bar_enabled(False) not working in datasets v2
## Steps to reproduce the bug
```python
datasets.set_progress_bar_enabled(False)
```
## Expected results
datasets not using any progress bar
## Actual results
AttributeError: module 'datasets' has no attribute 'se... | CLOSED | 2022-04-02T12:40:10 | 2022-09-17T02:18:03 | 2022-04-04T06:44:34 | https://github.com/huggingface/datasets/issues/4085 | {
"login": "virilo"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Now, I can't find any reference to set_progress_bar_enabled in the code.\r\n\r\nI think it have been deleted",
"Hi @virilo,\r\n\r\nPlease note that since `datasets` version 2.0.0, we have aligned with `transformers` the management of the progress bar (among other things):\r\n- #3897\r\n\r\nNow, you should update... |
I_kwDODunzps5G7uF_ | 4,084 | Errors in `Train with Datasets` Tensorflow code section on Huggingface.co | ## Describe the bug
Hi
### Error 1
Running the Tensforlow code on [Huggingface](https://huggingface.co/docs/datasets/use_dataset) gives a TypeError: __init__() got an unexpected keyword argument 'return_tensors'
### Error 2
`DataCollatorWithPadding` isn't imported
## Steps to reproduce the bug
```python
impo... | CLOSED | 2022-04-01T17:02:47 | 2022-04-04T07:24:37 | 2022-04-04T07:21:31 | https://github.com/huggingface/datasets/issues/4084 | {
"login": "blackhat-coder"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi @blackhat-coder, thanks for reporting.\r\n\r\nPlease note that the `transformers` library updated their data collators API last year (version 4.10.0):\r\n- huggingface/transformers#13105\r\n\r\nnow requiring to pass `return_tensors` argument at Data Collator instantiation.\r\n\r\nAnd therefore, we also updated ... |
I_kwDODunzps5G6OHg | 4,080 | NonMatchingChecksumError for downloading conll2012_ontonotesv5 dataset | ## Steps to reproduce the bug
```python
datasets.load_dataset("conll2012_ontonotesv5", "english_v12")
```
## Actual results
```
Downloading builder script: 32.2kB [00:00, 9.72MB/s]
Downloading metadata: 20.0kB [00:00, 10... | CLOSED | 2022-04-01T11:34:28 | 2022-04-01T13:59:10 | 2022-04-01T13:59:10 | https://github.com/huggingface/datasets/issues/4080 | {
"login": "richarddwang"
} | {
"nodes": [
{
"name": "duplicate"
},
{
"name": "dataset bug"
}
]
} | [
"Hi @richarddwang,\r\n\r\n\r\nIndeed, we have recently updated the loading script of that dataset (and fixed that bug as well):\r\n- #4002\r\n\r\nThat fix will be available in our next `datasets` library release. In the meantime, you can incorporate that fix by:\r\n- installing `datasets` from our GitHub repo:\r\n`... |
I_kwDODunzps5G5dXB | 4,077 | ArrowInvalid: Parquet magic bytes not found in footer. Either the file is corrupted or this is not a parquet file. | ## Describe the bug
When uploading a relatively large image dataset of > 1GB, reloading doesn't work for me, even though pushing to the hub went just fine.
Basically, I do:
```
from datasets import load_dataset
dataset = load_dataset("imagefolder", data_files="path_to_my_files")
dataset.push_to_hub("dat... | CLOSED | 2022-04-01T08:49:13 | 2022-04-01T16:16:19 | 2022-04-01T16:16:19 | https://github.com/huggingface/datasets/issues/4077 | {
"login": "NielsRogge"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [] |
I_kwDODunzps5G1n5S | 4,075 | Add CCAgT dataset | ## Adding a Dataset
- **Name:** CCAgT dataset: Images of Cervical Cells with AgNOR Stain Technique
- **Description:** The dataset contains 2540 images (1600x1200 where each pixel is 0.111μm×0.111μm) from three different slides, having at least one nucleus per image. These images are from fields belonging to a sample ... | CLOSED | 2022-03-31T18:20:28 | 2022-07-06T19:03:42 | 2022-07-06T19:03:42 | https://github.com/huggingface/datasets/issues/4075 | {
"login": "johnnv1"
} | {
"nodes": [
{
"name": "dataset request"
},
{
"name": "vision"
}
]
} | [
"Awesome ! Let us know if you have questions or if we can help ;) I'm assigning you\r\n\r\nPS: if possible, please try to not use Google Drive links in your dataset script, since Google Drive has download quotas and is not always reliable.",
"HI, I was waiting to come out in the second version to do the implement... |
I_kwDODunzps5G1kt2 | 4,074 | Error in google/xtreme_s dataset card | **Link:** https://huggingface.co/datasets/google/xtreme_s
Not a big deal but Hungarian is considered an Eastern European language, together with Serbian, Slovak, Slovenian (all correctly categorized; Slovenia is mostly to the West of Hungary, by the way).
| CLOSED | 2022-03-31T18:07:45 | 2022-04-01T08:12:56 | 2022-04-01T08:12:56 | https://github.com/huggingface/datasets/issues/4074 | {
"login": "wranai"
} | {
"nodes": [
{
"name": "documentation"
},
{
"name": "dataset bug"
}
]
} | [
"Hi @wranai, thanks for reporting.\r\n\r\nPlease note that the information about language families and groups is taken form the original paper: [XTREME-S: Evaluating Cross-lingual Speech Representations](https://arxiv.org/abs/2203.10752).\r\n\r\nIf that information is wrong, feel free to contact the paper's authors... |
I_kwDODunzps5GySZj | 4,071 | Loading issue for xuyeliu/notebookCDG dataset | ## Dataset viewer issue for '*xuyeliu/notebookCDG*'
**Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/xuyeliu/notebookCDG)*
*Couldn't load the xuyeliu/notebookCDG with provided scripts: *
```
from datasets import load_dataset
dataset = load_dataset("xuyeliu/notebookCDG/dataset_note... | CLOSED | 2022-03-31T06:36:29 | 2022-03-31T08:17:01 | 2022-03-31T08:16:16 | https://github.com/huggingface/datasets/issues/4071 | {
"login": "Jun-jie-Huang"
} | {
"nodes": [
{
"name": "dataset bug"
}
]
} | [
"Hi @Jun-jie-Huang,\r\n\r\nAs the error message says, \".pkl\" data files are not supported.\r\n\r\nIf you would like to share your dataset on the Hub, you would need:\r\n- either to create a Python loading script, that loads the data in any format\r\n- or to transform your data files to one of the supported format... |
I_kwDODunzps5Gtfhs | 4,062 | Loading mozilla-foundation/common_voice_7_0 dataset failed | ## Describe the bug
I wanted to load `mozilla-foundation/common_voice_7_0` dataset with `fi` language and `test` split from datasets on Colab/Kaggle notebook, but I am getting an error `JSONDecodeError: [Errno Expecting value] Not Found: 0` while loading it. The bug seems to affect other languages and splits too than ... | CLOSED | 2022-03-30T11:39:41 | 2024-06-09T12:12:46 | 2022-03-31T08:18:04 | https://github.com/huggingface/datasets/issues/4062 | {
"login": "aapot"
} | {
"nodes": [
{
"name": "dataset bug"
}
]
} | [
"Hi @aapot, thanks for reporting.\r\n\r\nWe are investigating the cause of this issue. We will keep you informed. ",
"When making HTTP request from code line:\r\n```\r\nresponse = requests.get(f\"{_API_URL}/bucket/dataset/{path}/{use_cdn}\", timeout=10.0).json()\r\n```\r\nit cannot be decoded to JSON because it r... |
I_kwDODunzps5GtcMP | 4,061 | Loading cnn_dailymail dataset failed | ## Describe the bug
I wanted to load cnn_dailymail dataset from huggingface datasets on jupyter lab, but I am getting an error ` NotADirectoryError:[Errno20] Not a directory ` while loading it.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset('cnn_dailymail', '3.0.... | CLOSED | 2022-03-30T11:29:02 | 2022-03-30T13:36:14 | 2022-03-30T13:36:14 | https://github.com/huggingface/datasets/issues/4061 | {
"login": "Arij-Aladel"
} | {
"nodes": [
{
"name": "bug"
},
{
"name": "duplicate"
}
]
} | [
"Hi @Arij-Aladel, thanks for reporting.\r\n\r\nThis issue was already reported \r\n- #3784\r\n\r\nand its root cause is a change in the Google Drive service. See:\r\n- #3786 \r\n\r\nWe have already fixed it in our 2.0.0 release. See:\r\n- #3787 \r\n\r\nPlease, update your `datasets` version:\r\n```\r\npip install -... |
I_kwDODunzps5GqGjR | 4,057 | `load_dataset` consumes too much memory for audio + tar archives |
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists.
... | CLOSED | 2022-03-29T21:38:55 | 2022-08-16T10:22:55 | 2022-08-16T10:22:55 | https://github.com/huggingface/datasets/issues/4057 | {
"login": "JFCeron"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi ! Could it be because you need to free the memory used by `tarfile` by emptying the tar `members` by any chance ?\r\n```python\r\n yield key, {\"audio\": {\"path\": audio_name, \"bytes\": audio_file_obj.read()}}\r\n audio_tarfile.members = [] # free memory\r\n key += 1\r\n```\r\n\r\nand th... |
I_kwDODunzps5GpAq_ | 4,056 | Unexpected behavior of _TempDirWithCustomCleanup | ## Describe the bug
This is not 100% a bug in `datasets`, but behavior that surprised me and I think this could be made more robust on the `datasets`side.
When using `datasets.disable_caching()`, cache files are written to a temporary directory. This directory should be based on the environment variable TMPDIR. I ... | OPEN | 2022-03-29T16:58:22 | 2022-03-30T15:08:04 | null | https://github.com/huggingface/datasets/issues/4056 | {
"login": "JonasGeiping"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi ! Would setting TMPDIR at the beginning of your python script/session work ? I mean, even before importing transformers, datasets, etc. and using them ? I think this would be the most robust solution given any library that uses `tempfile`. I don't think we aim to support environment variables to be changed at r... |
I_kwDODunzps5Gmgqa | 4,053 | Modify datatype from `int32` to `float` for pearsonr, spearmanr. | **Is your feature request related to a problem? Please describe.**
- Now [Pearsonr](https://github.com/huggingface/datasets/blob/master/metrics/pearsonr/pearsonr.py) and [Spearmanr](https://github.com/huggingface/datasets/blob/master/metrics/spearmanr/spearmanr.py) both get input data as 'int32'.
**Describe the ... | CLOSED | 2022-03-29T08:27:41 | 2022-03-29T14:02:20 | 2022-03-29T14:02:20 | https://github.com/huggingface/datasets/issues/4053 | {
"login": "woodywarhol9"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"@Woodywarhol9 good catch, thanks for reporting.\r\n\r\nWe are fixing this."
] |
I_kwDODunzps5GmT3p | 4,052 | metric = metric_cls( TypeError: 'NoneType' object is not callable | Hi, friend. I meet a problem.
When I run the code:
`metric = load_metric('glue', 'rte')`
There is a problem raising:
`metric = metric_cls(
TypeError: 'NoneType' object is not callable `
I don't know why. Thanks for your help!
| CLOSED | 2022-03-29T07:43:08 | 2022-03-29T14:06:01 | 2022-03-29T14:06:01 | https://github.com/huggingface/datasets/issues/4052 | {
"login": "klyuhang9"
} | {
"nodes": []
} | [
"Hi @klyuhang9,\r\n\r\nI'm sorry but I can't reproduce your problem:\r\n```python\r\nIn [2]: metric = load_metric('glue', 'rte')\r\nDownloading builder script: 5.76kB [00:00, 2.40MB/s]\r\n```\r\n\r\nCould you please, retry to load the metric? Sometimes there are temporary connectivity issues.\r\n\r\nFeel free to re... |
I_kwDODunzps5GmIMz | 4,051 | ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/glue/glue.py | Hi, I meet a problem.
When I run the code:
`dataset = load_dataset('glue','sst2')`
There is a issue raising:
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/glue/glue.py
I don't know why; it is ok when I use Google Chrome to view this url.
Thanks for your... | CLOSED | 2022-03-29T07:00:31 | 2022-05-08T07:27:32 | 2022-03-29T08:29:25 | https://github.com/huggingface/datasets/issues/4051 | {
"login": "klyuhang9"
} | {
"nodes": []
} | [
"Hi @klyuhang9,\r\n\r\nI'm sorry but I can't reproduce your problem:\r\n```python\r\nIn [4]: ds = load_dataset(\"glue\", \"sst2\", download_mode=\"force_redownload\")\r\nDownloading builder script: 28.8kB [00:00, 9.15MB/s] ... |
I_kwDODunzps5Gj2yg | 4,048 | Split size error on `amazon_us_reviews` / `PC_v1_00` dataset | ## Describe the bug
When downloading this subset as of 3-28-2022 you will encounter a split size error after the dataset is extracted. The extracted dataset has roughly ~6m rows while the split expects <1m.
Upon digging a little deeper, I downloaded the raw files from `https://s3.amazonaws.com/amazon-reviews-pds/t... | CLOSED | 2022-03-28T18:12:04 | 2022-04-08T12:29:30 | 2022-04-08T12:29:30 | https://github.com/huggingface/datasets/issues/4048 | {
"login": "trentonstrong"
} | {
"nodes": [
{
"name": "bug"
},
{
"name": "good first issue"
}
]
} | [
"Follow-up: I have confirmed there are no duplicate lines via `sort amazon_reviews_us_PC_v1_00.tsv | uniq -cd` after extracting the raw file.",
"Hi @trentonstrong, thanks for reporting!\r\n\r\nI confirm that loading this dataset configuration throws a `NonMatchingSplitsSizesError`:\r\n```\r\nNonMatchingSplitsSize... |
I_kwDODunzps5GjzC1 | 4,047 | Dataset.unique(column: str) -> ArrowNotImplementedError | ## Describe the bug
I'm trying to use `unique()` function, but it fails
## Steps to reproduce the bug
1. Get dataset
2. Call `unique`
3. Error
# Sample code to reproduce the bug
```python
!pip show datasets
from datasets import load_dataset
dataset = load_dataset('wikiann', 'en')
dataset['train'].col... | CLOSED | 2022-03-28T17:59:32 | 2022-04-01T18:24:57 | 2022-04-01T18:24:57 | https://github.com/huggingface/datasets/issues/4047 | {
"login": "orkenstein"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi @orkenstein, thanks for reporting.\r\n\r\nPlease note that for this case, our `datasets` library uses under the hood the Apache Arrow `unique` function: https://arrow.apache.org/docs/python/generated/pyarrow.compute.unique.html#pyarrow.compute.unique\r\n\r\nAnd currently the Apache Arrow `unique` function is on... |
I_kwDODunzps5GjTO- | 4,044 | CLI dummy data generation is broken | ## Describe the bug
We get a TypeError when running CLI dummy data generation:
```shell
datasets-cli dummy_data datasets/<your-dataset-folder> --auto_generate
```
gives:
```
File ".../huggingface/datasets/src/datasets/commands/dummy_data.py", line 361, in _autogenerate_dummy_data
dataset_builder._prepare_... | CLOSED | 2022-03-28T16:07:37 | 2022-03-31T14:59:06 | 2022-03-31T14:59:06 | https://github.com/huggingface/datasets/issues/4044 | {
"login": "albertvillanova"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [] |
I_kwDODunzps5GjEtl | 4,041 | Add support for IIIF in datasets | This is a feature request for support for IIIF in `datasets`. Apologies for the long issue. I have also used a different format to the usual feature request since I think that makes more sense but happy to use the standard template if preferred.
## What is [IIIF](https://iiif.io/)?
IIIF (International Image Inte... | OPEN | 2022-03-28T15:19:25 | 2022-04-05T18:20:53 | null | https://github.com/huggingface/datasets/issues/4041 | {
"login": "davanstrien"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Hi! Thanks for the detailed analysis of adding IIIF support. I like the idea of \"using IIIF through datasets scripts\" due to its ease of use. Another approach that I like is yielding image ids and using the `piffle` library (which offers a bit more flexibility) + `map` to download + cache images. We can handle b... |
I_kwDODunzps5GhVom | 4,037 | Error while building documentation | ## Describe the bug
Documentation building is failing:
- https://github.com/huggingface/datasets/runs/5716300989?check_suite_focus=true
```
ValueError: There was an error when converting ../datasets/docs/source/package_reference/main_classes.mdx to the MDX format.
Unable to find datasets.filesystems.S3FileSystem... | CLOSED | 2022-03-28T09:22:44 | 2022-03-28T10:01:52 | 2022-03-28T10:00:48 | https://github.com/huggingface/datasets/issues/4037 | {
"login": "albertvillanova"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"After some investigation, maybe the bug is in `doc-builder`.\r\n\r\nI've opened an issue there:\r\n- huggingface/doc-builder#160",
"Fixed by @lewtun (thank you):\r\n- huggingface/doc-builder@31fe6c8bc7225810e281c2f6c6cd32f38828c504"
] |
I_kwDODunzps5GfPpx | 4,032 | can't download cats_vs_dogs dataset | ## Describe the bug
can't download cats_vs_dogs dataset. error: Checksums didn't match for dataset source files
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("cats_vs_dogs")
```
## Expected results
loaded successfully.
## Actual results
NonMatchingCheck... | CLOSED | 2022-03-27T17:05:39 | 2022-03-28T07:44:24 | 2022-03-28T07:44:24 | https://github.com/huggingface/datasets/issues/4032 | {
"login": "RRaphaell"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Thnaks for reporting @RRaphaell.\r\n\r\nWe are fixing it. "
] |
I_kwDODunzps5GejkU | 4,031 | Cannot load the dataset conll2012_ontonotesv5 | ## Describe the bug
Cannot load the dataset conll2012_ontonotesv5
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
from datasets import load_dataset
dataset = load_dataset('conll2012_ontonotesv5', 'english_v4', split="test")
print(dataset)
```
## Expected results
The datasets s... | CLOSED | 2022-03-27T07:38:23 | 2022-03-28T06:58:31 | 2022-03-28T06:31:18 | https://github.com/huggingface/datasets/issues/4031 | {
"login": "cathyxl"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi @cathyxl, thanks for reporting.\r\n\r\nIndeed, we have recently updated the loading script of that dataset (and fixed that bug as well):\r\n- #4002\r\n\r\nThat fix will be available in our next `datasets` library release. In the meantime, you can incorporate that fix by:\r\n- installing `datasets` from our GitH... |
I_kwDODunzps5GZX_z | 4,029 | Add FAISS .range_search() method for retrieving all texts from dataset above similarity threshold | **Is your feature request related to a problem? Please describe.**
I would like to retrieve all texts from a dataset, which are semantically similar to a specific input text (query), above a certain (cosine) similarity threshold. My dataset is very large (Wikipedia), so I need to use Datasets and FAISS for this. I wou... | CLOSED | 2022-03-25T17:31:33 | 2022-05-06T08:35:52 | 2022-05-06T08:35:52 | https://github.com/huggingface/datasets/issues/4029 | {
"login": "MoritzLaurer"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Hi ! You can access the faiss index with\r\n```python\r\nfaiss_index = my_dataset.get_index(\"my_index_name\").faiss_index\r\n```\r\nand then do whatever you want with it, e.g. query it using range_search:\r\n```python\r\nthreshold = 0.95\r\nlimits, distances, indices = faiss_index.range_search(x=xq, thresh=thresh... |
I_kwDODunzps5GZH9w | 4,027 | ElasticSearch Indexing example: TypeError: __init__() missing 1 required positional argument: 'scheme' | ## Describe the bug
I am following the example in the documentation for elastic search step by step (on google colab): https://huggingface.co/docs/datasets/faiss_es#elasticsearch
```
from datasets import load_dataset
squad = load_dataset('crime_and_punish', split='train[:1000]')
```
When I run the line:
`sq... | CLOSED | 2022-03-25T16:22:28 | 2022-04-07T10:29:52 | 2022-03-28T07:58:56 | https://github.com/huggingface/datasets/issues/4027 | {
"login": "MoritzLaurer"
} | {
"nodes": [
{
"name": "bug"
},
{
"name": "duplicate"
}
]
} | [
"Hi, @MoritzLaurer, thanks for reporting.\r\n\r\nNormally this is due to a mismatch between the versions of your Elasticsearch client and server:\r\n- your ES client is passing only keyword arguments to your ES server\r\n- whereas your ES server expects a positional argument called 'scheme'\r\n\r\nIn order to fix t... |
I_kwDODunzps5GZBEh | 4,025 | Missing argument in precision/recall | **Is your feature request related to a problem? Please describe.**
[`sklearn.metrics.precision_score`](https://scikit-learn.org/stable/modules/generated/sklearn.metrics.precision_score.html) accepts an argument `zero_division`, but it is not available in [precision Metric](https://github.com/huggingface/datasets/blob/... | CLOSED | 2022-03-25T15:55:52 | 2022-03-28T09:53:06 | 2022-03-28T09:53:06 | https://github.com/huggingface/datasets/issues/4025 | {
"login": "Dref360"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Thanks for the suggestion, @Dref360.\r\n\r\nWe are adding that argument. "
] |
I_kwDODunzps5GXSqI | 4,015 | Can not correctly parse the classes with imagefolder | ## Describe the bug
I try to load my own image dataset with imagefolder, but the parsing of classes is incorrect.
## Steps to reproduce the bug
I organized my dataset (ImageNet) in the following structure:
```
- imagenet/
- train/
- n01440764/
- ILSVRC2012_val_00000293.jpg
... | CLOSED | 2022-03-25T08:51:17 | 2022-03-28T01:02:03 | 2022-03-25T09:27:56 | https://github.com/huggingface/datasets/issues/4015 | {
"login": "YiSyuanChen"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"I found that the problem arises because the image files in my folder are actually symbolic links (for my own reasons). After modifications, the classes can now be correctly parsed. Therefore, I close this issue.",
"HI, I have a question. How much time did you load the ImageNet data files? "
] |
I_kwDODunzps5GW-Om | 4,013 | Cannot preview "hazal/Turkish-Biomedical-corpus-trM" | ## Dataset viewer issue for '*hazal/Turkish-Biomedical-corpus-trM'
**Link:** *https://huggingface.co/datasets/hazal/Turkish-Biomedical-corpus-trM*
*I cannot see the dataset preview.*
```
Server Error
Status code: 400
Exception: HTTPError
Message: 403 Client Error: Forbidden for url: https://h... | CLOSED | 2022-03-25T07:12:02 | 2022-04-04T08:05:01 | 2022-03-25T14:16:11 | https://github.com/huggingface/datasets/issues/4013 | {
"login": "hazalturkmen"
} | {
"nodes": []
} | [
"Hi @hazalturkmen, thanks for reporting.\r\n\r\nNote that your dataset repository does not contain any loading script; it only contains a data file named `tr_article_2`.\r\n\r\nWhen there is no loading script but only data files, the `datasets` library tries to infer how to load the data by looking at the data file... |
I_kwDODunzps5GUClz | 4,009 | AMI load_dataset error: sndfile library not found | ## Describe the bug
Getting error message when loading AMI dataset.
## Steps to reproduce the bug
`python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])"
`
## Expected results
A clear and concise description of the expected results.
## Actual r... | CLOSED | 2022-03-24T15:13:38 | 2022-03-24T15:46:38 | 2022-03-24T15:17:29 | https://github.com/huggingface/datasets/issues/4009 | {
"login": "i-am-neo"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Issue unresolved, see [4000](https://github.com/huggingface/datasets/issues/4009#issue-1179658611)"
] |
I_kwDODunzps5GS-0d | 4,007 | set_format does not work with multi dimension tensor | ## Describe the bug
set_format only transforms the last dimension of a multi-dimension list to tensor
## Steps to reproduce the bug
```python
import torch
from datasets import Dataset
ds = Dataset.from_dict({"A": [torch.rand((2, 2))]})
# ds = Dataset.from_dict({"A": [np.random.rand(2, 2)]}) # => same result... | CLOSED | 2022-03-24T11:27:43 | 2022-03-30T07:28:57 | 2022-03-24T14:39:29 | https://github.com/huggingface/datasets/issues/4007 | {
"login": "phihung"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi! Use the `ArrayXD` feature type (where X is the number of dimensions) to get correctly formated tensors. So in your case, define the dataset as follows :\r\n```python\r\nds = Dataset.from_dict({\"A\": [torch.rand((2, 2))]}, features=Features({\"A\": Array2D(shape=(2, 2), dtype=\"float32\")}))\r\n```\r\n",
"Hi... |
I_kwDODunzps5GS7Ef | 4,005 | Yelp not working | ## Dataset viewer issue for '*name of the dataset*'
**Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train
Doesn't work:
```
Server error
Status code: 400
Exception: Error
Message: line contains NULL
```
Am I the one who added this dataset ? No
A seamingly... | CLOSED | 2022-03-24T11:14:00 | 2022-03-25T14:59:57 | 2022-03-25T14:56:10 | https://github.com/huggingface/datasets/issues/4005 | {
"login": "patrickvonplaten"
} | {
"nodes": []
} | [
"I don't think it's an issue with the dataset-viewer. Maybe @lhoestq or @albertvillanova could confirm.\r\n\r\n```python\r\n>>> from datasets import load_dataset, DownloadMode\r\n>>> import itertools\r\n>>> # without streaming\r\n>>> dataset = load_dataset(\"yelp_review_full\", name=\"yelp_review_full\", split=\"tr... |
I_kwDODunzps5GSn1d | 4,003 | ASSIN2 dataset checksum bug | ## Describe the bug
Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2).
`NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`.
Similar to #3952 , #3942 , #3941 , etc.
```
----------------------------------------------------------------------... | CLOSED | 2022-03-24T10:08:50 | 2022-04-27T14:14:45 | 2022-03-28T13:56:39 | https://github.com/huggingface/datasets/issues/4003 | {
"login": "ruanchaves"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Using latest code, I am still facing the issue.\r\n\r\n```python\r\n(base) vimos@vimosmu ➜ ~ ipython\r\nPython 3.6.7 | packaged by conda-forge | (default, Nov 6 2019, 16:19:42) \r\nType 'copyright', 'credits' or 'license' for more information\r\nIPython 7.11.1 -- An enhanced Interactive Python. Type '?' for help... |
I_kwDODunzps5GSaS6 | 4,001 | How to use generate this multitask dataset for SQUAD? I am getting a value error. | ## Dataset viewer issue for 'squad_multitask*'
**Link:** https://huggingface.co/datasets/vershasaxena91/squad_multitask
*short description of the issue*
I am trying to generate the multitask dataset for squad dataset. However, gives the error in dataset explorer as well as my local machine.
I tried the comma... | CLOSED | 2022-03-24T09:21:51 | 2022-03-26T09:48:21 | 2022-03-26T03:35:43 | https://github.com/huggingface/datasets/issues/4001 | {
"login": "gsk1692"
} | {
"nodes": []
} | [
"Hi! Replacing `nlp.<obj>` with `datasets.<obj>` in the script should fix the problem. `nlp` has been renamed to `datasets` more than a year ago, so please use `datasets` instead to avoid weird issues.",
"Thank You! Was able to solve with the help of this.",
"But I request you to please fix the same in the data... |
I_kwDODunzps5GQ73I | 4,000 | load_dataset error: sndfile library not found | ## Describe the bug
Can't load ami dataset
## Steps to reproduce the bug
```
python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])"
```
## Expected results
## Actual results
Downloading and preparing dataset ami/headset-single (download: 10.71... | CLOSED | 2022-03-24T01:52:32 | 2022-03-25T17:53:33 | 2022-03-25T17:53:33 | https://github.com/huggingface/datasets/issues/4000 | {
"login": "i-am-neo"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi @i-am-neo,\r\n\r\nThe audio support is an extra feature of `datasets` and therefore it must be installed as an additional optional dependency:\r\n```shell\r\npip install datasets[audio]\r\n```\r\nAdditionally, for specific MP3 support (which is not the case for AMI dataset, that contains WAV audio files), there... |
I_kwDODunzps5GPTMh | 3,996 | Audio.encode_example() throws an error when writing example from array | ## Describe the bug
When trying to do `Audio().encode_example()` with preexisting array (see [this line](https://github.com/huggingface/datasets/blob/master/src/datasets/features/audio.py#L73)), `sf.write()` throws you an error:
`TypeError: No format specified and unable to get format from file extension: <_io.BytesI... | CLOSED | 2022-03-23T17:11:47 | 2022-03-29T14:16:13 | 2022-03-29T14:16:13 | https://github.com/huggingface/datasets/issues/3996 | {
"login": "polinaeterna"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Good catch ! Yes I think passing `format=\"wav\"` is the right thing to do",
"Thanks @polinaeterna for reporting this issue.\r\n\r\nIn relation to the decoding of MP3 audio files without torchaudio, I remember Patrick made some tests and these had quite bad performance. That is why he proposed to support MP3 fil... |
I_kwDODunzps5GOe2X | 3,993 | Streaming dataset + interleave + DataLoader hangs with multiple workers | ## Describe the bug
Interleaving multiple iterable datasets that use `load_dataset` on streaming mode hangs when passed to `torch.utils.data.DataLoader` with multiple workers.
## Steps to reproduce the bug
```python
from datasets import interleave_datasets, load_dataset
from torch.utils.data import DataLoader
... | OPEN | 2022-03-23T14:27:29 | 2023-02-28T14:14:24 | null | https://github.com/huggingface/datasets/issues/3993 | {
"login": "jpilaul"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Same thing occurs when streaming files loaded from disk.",
"Hi ! Thanks for reporting, could this be related to https://github.com/huggingface/datasets/issues/3950 ?\r\n\r\nCurrently streaming datasets only works in single process, but we're working on having in work in distributed setups as well :) (EDIT: done)... |
I_kwDODunzps5GNggp | 3,992 | Image column is not decoded in map when using with with_transform | ## Describe the bug
Image column is not _decoded_ in **map** when using with `with_transform`
## Steps to reproduce the bug
```python
from datasets import Image, Dataset
def add_C(batch):
batch["C"] = batch["A"]
return batch
ds = Dataset.from_dict({"A": ["image.png"]}).cast_column("A", Image())
... | CLOSED | 2022-03-23T10:51:13 | 2022-12-13T16:59:06 | 2022-12-13T16:59:06 | https://github.com/huggingface/datasets/issues/3992 | {
"login": "phihung"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi! This behavior stems from this line: https://github.com/huggingface/datasets/blob/799b817d97590ddc97cbd38d07469403e030de8c/src/datasets/arrow_dataset.py#L1919\r\nBasically, the `Image`/`Audio` columns are decoded only if the `format_type` attribute is `None` (`set_format`/`with_format` and `set_transform`/`with... |
I_kwDODunzps5GLSHV | 3,991 | Add Lung Image Database Consortium image collection (LIDC-IDRI) dataset | ## Adding a Dataset
- **Name:** *Lung Image Database Consortium image collection (LIDC-IDRI)*
- **Description:** *Consists of diagnostic and lung cancer screening thoracic computed tomography (CT) scans with marked-up annotated lesions. It is a web-accessible international resource for development, training, and ev... | OPEN | 2022-03-22T22:16:05 | 2022-03-23T12:57:16 | null | https://github.com/huggingface/datasets/issues/3991 | {
"login": "omarespejel"
} | {
"nodes": [
{
"name": "dataset request"
},
{
"name": "vision"
}
]
} | [] |
I_kwDODunzps5GJzt3 | 3,990 | Improve AutomaticSpeechRecognition task template | **Is your feature request related to a problem? Please describe.**
[AutomaticSpeechRecognition task template](https://github.com/huggingface/datasets/blob/master/src/datasets/tasks/automatic_speech_recognition.py) is outdated as it uses path to audiofile as an audio column instead of a Audio feature itself (I guess it... | CLOSED | 2022-03-22T15:41:08 | 2022-03-23T17:12:40 | 2022-03-23T17:12:40 | https://github.com/huggingface/datasets/issues/3990 | {
"login": "polinaeterna"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"There is an open PR to do that: #3364. I just haven't had time to finish it... ",
"> There is an open PR to do that: #3364. I just haven't had time to finish it...\r\n\r\n😬 thanks..."
] |
I_kwDODunzps5GHuP9 | 3,986 | Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface) | ## Describe the bug
Dataset loads indefinitely after modifying cache path (~/.cache/huggingface)
If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script)
** Update: Transformer modules faces the same issue as well during loading
## A clear ... | OPEN | 2022-03-22T08:23:21 | 2023-03-06T16:55:04 | null | https://github.com/huggingface/datasets/issues/3986 | {
"login": "kelvinAI"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi ! I didn't managed to reproduce the issue. When you kill the process, is there any stacktrace that shows at what point in the code python is hanging ?",
"Hi @lhoestq , I've traced the issue back to file locking. It's similar to this thread, using Lustre filesystem as well. https://github.com/huggingface/datas... |
I_kwDODunzps5GGBNZ | 3,985 | [image feature] Too many files open error when image feature is returned as a path | ## Describe the bug
PR in context: #3967. If I load the dataset in this PR (TextVQA), and do a simple list comprehension on the dataset, I get `Too many open files error`. This is happening due to the way we are loading the image feature when a str path is returned from the `_generate_examples`. Specifically at http... | CLOSED | 2022-03-21T21:54:05 | 2022-03-23T18:19:27 | 2022-03-23T18:19:27 | https://github.com/huggingface/datasets/issues/3985 | {
"login": "apsdehal"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [] |
I_kwDODunzps5GFZ8l | 3,984 | Local and automatic tests fail | ## Describe the bug
Running the tests from CircleCI on a PR or locally fails, even with no changes. Tests seem to fail on `test_metric_common.py`
## Steps to reproduce the bug
```shell
git clone https://huggingface/datasets.git
cd datasets
```
```python
python -m pip install -e .
pytest
```
## Expected... | CLOSED | 2022-03-21T19:07:37 | 2023-07-25T15:18:40 | 2023-07-25T15:18:40 | https://github.com/huggingface/datasets/issues/3984 | {
"login": "MarkusSagen"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi ! To be able to run the tests, you need to install all the test dependencies and additional ones with\r\n```\r\npip install -e .[tests]\r\npip install -r additional-tests-requirements.txt --no-deps\r\n```\r\n\r\nIn particular, you probably need to `sacrebleu`. It looks like it wasn't able to instantiate `sacreb... |
I_kwDODunzps5GFKo0 | 3,983 | Infinitely attempting lock | I am trying to run one of the examples of the `transformers` repo, which makes use of `datasets`.
Important to note is that I am trying to run this via a Databricks notebook, and all the files reside in the Databricks Filesystem (DBFS).
```
%sh
python /dbfs/transformers/examples/pytorch/summarization/run_summariz... | CLOSED | 2022-03-21T18:11:57 | 2024-05-09T08:24:34 | 2022-05-06T16:12:18 | https://github.com/huggingface/datasets/issues/3983 | {
"login": "jyrr"
} | {
"nodes": []
} | [
"Hi ! Thanks for reporting. We're using filelock` as our locking mechanism.\r\n\r\nCan you try deleting the .lock file mentioned in the logs and try again ? Make sure that no other process is generating the `cnn_dailymail` dataset.\r\n\r\nIf it doesn't work, could you try to set up a lock using the latest version ... |
I_kwDODunzps5GDIhY | 3,978 | I can't view HFcallback dataset for ASR Space | ## Dataset viewer issue for '*Urdu-ASR-flags*'
**Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/kingabzpro/Urdu-ASR-flags)*
*I think dataset should show some thing and if you want me to add script, please show me the documentation. I thought this was suppose to be automatic task.*
A... | OPEN | 2022-03-21T11:07:49 | 2023-09-25T12:19:53 | null | https://github.com/huggingface/datasets/issues/3978 | {
"login": "kingabzpro"
} | {
"nodes": []
} | [
"the dataset viewer is working on this dataset. I imagine the issue is that we would expect to be able to listen to the audio files in the `Please Record Your Voice file` column, right?\r\n\r\nmaybe @lhoestq or @albertvillanova could help\r\n\r\n<img width=\"1019\" alt=\"Capture d’écran 2022-03-24 à 17 36 20\" sr... |
I_kwDODunzps5GCdbH | 3,977 | Adapt `docs/README.md` for datasets | ## Describe the bug
Currently `docs/README.md` is a direct copy from `transformers`, we should probably adapt this file for `datasets`. | CLOSED | 2022-03-21T08:26:49 | 2023-02-27T10:32:37 | 2023-02-27T10:32:37 | https://github.com/huggingface/datasets/issues/3977 | {
"login": "qqaatw"
} | {
"nodes": [
{
"name": "documentation"
}
]
} | [
"Thanks for reporting @qqaatw.\r\n\r\nYes, we should definitely adapt that file for `datasets`. "
] |
I_kwDODunzps5GAMSH | 3,973 | ConnectionError and SSLError | code
```
from datasets import load_dataset
dataset = load_dataset('oscar', 'unshuffled_deduplicated_it')
```
bug report
```
---------------------------------------------------------------------------
ConnectionError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_2978... | CLOSED | 2022-03-20T06:45:37 | 2022-03-30T08:13:32 | 2022-03-30T08:13:32 | https://github.com/huggingface/datasets/issues/3973 | {
"login": "yanyu2015"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi ! You can download the `oscar.py` file from this repository at `/datasets/oscar/oscar.py`.\r\n\r\nThen you can load the dataset by passing the local path to `oscar.py` to `load_dataset`:\r\n```python\r\nload_dataset(\"path/to/oscar.py\", \"unshuffled_deduplicated_it\")\r\n```",
"it works,but another error occ... |
I_kwDODunzps5F_f8g | 3,969 | Cannot preview cnn_dailymail dataset | ## Dataset viewer issue for '*cnn_dailymail*'
**Link:** https://huggingface.co/datasets/cnn_dailymail
*short description of the issue*
Am I the one who added this dataset ? Yes-No
| CLOSED | 2022-03-19T14:08:57 | 2022-04-20T15:52:49 | 2022-04-20T15:52:49 | https://github.com/huggingface/datasets/issues/3969 | {
"login": "hasan-besh"
} | {
"nodes": []
} | [
"I guess the cache got corrupted due to a previous issue with Google Drive service.\r\n\r\nThe cache should be regenerated, e.g. by passing `download_mode=\"force_redownload\"`.\r\n\r\nCC: @severo ",
"Note that the dataset preview uses its own cache, not `datasets`' cache. So `download_mode=\"force_redownload\"` ... |
I_kwDODunzps5F_Mcq | 3,968 | Cannot preview 'indonesian-nlp/eli5_id' dataset | ## Dataset viewer issue for '*indonesian-nlp/eli5_id*'
**Link:** https://huggingface.co/datasets/indonesian-nlp/eli5_id
I can not see the dataset preview.
```
Server Error
Status code: 400
Exception: Status400Error
Message: Not found. Maybe the cache is missing, or maybe the dataset does not exis... | CLOSED | 2022-03-19T06:54:09 | 2022-03-24T16:34:24 | 2022-03-24T16:34:24 | https://github.com/huggingface/datasets/issues/3968 | {
"login": "cahya-wirawan"
} | {
"nodes": [
{
"name": "dataset-viewer"
}
]
} | [
"Hi @cahya-wirawan, thanks for reporting.\r\n\r\nYour dataset is working OK in streaming mode:\r\n```python\r\nIn [1]: from datasets import load_dataset\r\n ...: ds = load_dataset(\"indonesian-nlp/eli5_id\", split=\"train\", streaming=True)\r\n ...: item = next(iter(ds))\r\n ...: item\r\nUsing custom data con... |
I_kwDODunzps5F9V_D | 3,965 | TypeError: Couldn't cast array of type for JSONLines dataset | ## Describe the bug
One of the [course participants](https://discuss.huggingface.co/t/chapter-5-questions/11744/20?u=lewtun) is having trouble loading a JSONLines dataset that's composed of the GitHub issues from `spacy` (see stack trace below).
This reminds me a bit of #2799 where one can load the dataset in `pan... | CLOSED | 2022-03-18T15:17:53 | 2022-05-06T16:13:51 | 2022-05-06T16:13:51 | https://github.com/huggingface/datasets/issues/3965 | {
"login": "lewtun"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi @lewtun, thanks for reporting.\r\n\r\nIt seems that our library fails at inferring the dtype of the columns:\r\n- `milestone`\r\n- `performed_via_github_app` \r\n\r\n(and assigns them `null` dtype)."
] |
I_kwDODunzps5F8y5B | 3,964 | Add default Audio Loader | **Is your feature request related to a problem? Please describe.**
Writing a custom loading dataset script might be a bit challenging for users.
**Describe the solution you'd like**
Add default Audio loader (analogous to ImageFolder) for small datasets with standard directory structure.
**Describe alternatives ... | CLOSED | 2022-03-18T12:58:55 | 2022-08-22T14:20:46 | 2022-08-22T14:20:46 | https://github.com/huggingface/datasets/issues/3964 | {
"login": "polinaeterna"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [] |
I_kwDODunzps5F7fau | 3,961 | Scores from Index at extra positions are not filtered out | If a FAISS index has fewer records than the requested number of top results (k), then it returns -1 in indices for the additional positions. The get_nearest_examples method only filters out the extra results from the dataset samples. It would be better to filter out extra scores too.
Reference: https://github.com/hu... | CLOSED | 2022-03-18T06:13:23 | 2022-04-12T14:41:58 | 2022-04-12T14:41:58 | https://github.com/huggingface/datasets/issues/3961 | {
"login": "vishalsrao"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi! Yes, that makes sense! Would you like to submit a PR to fix this?",
"Created PR https://github.com/huggingface/datasets/pull/3971"
] |
I_kwDODunzps5F7NTU | 3,960 | Load local dataset error | When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_dataset('nateraw/image-folder... | OPEN | 2022-03-18T03:32:49 | 2023-08-02T17:12:20 | null | https://github.com/huggingface/datasets/issues/3960 | {
"login": "TXacs"
} | {
"nodes": [
{
"name": "bug"
},
{
"name": "dataset bug"
}
]
} | [
"Hi! Instead of @nateraw's `image-folder`, I suggest using the newly released `imagefolder` dataset:\r\n```python\r\n>>> from datasets import load_dataset\r\n>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train/**'], 'validation': ['/ssd/datasets/imagenet/pytorch/val/**']}\r\n>>> ds = load_dataset('image... |
I_kwDODunzps5F6J33 | 3,959 | Medium-sized dataset conversion from pandas causes a crash | Hi, I am suffering from the following issue:
## Describe the bug
Conversion to arrow dataset from pandas dataframe of a certain size deterministically causes the following crash:
```
File "/home/datasets_crash.py", line 7, in <module>
arrow=datasets.Dataset.from_pandas(d)
File "/home/.conda/envs/tools... | CLOSED | 2022-03-17T20:20:35 | 2022-12-12T17:14:06 | 2022-04-20T12:35:37 | https://github.com/huggingface/datasets/issues/3959 | {
"login": "Antymon"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi ! It looks like an issue with pyarrow, could you try updating pyarrow and try again ?",
"@albertvillanova did you find a solution to this?",
"I´m getting the same problem with some files, @albertvillanova did you find a solution to this?"
] |
I_kwDODunzps5F33TH | 3,956 | TypeError: __init__() missing 1 required positional argument: 'scheme' | ## Describe the bug
Based on [this tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) the provided code should add Elasticsearch index but raised the following error, probably the new Elasticsearch version is not compatible though the tutorial doesn't provide any information about the supporting El... | CLOSED | 2022-03-17T11:43:13 | 2023-11-21T04:26:20 | 2022-03-28T08:00:01 | https://github.com/huggingface/datasets/issues/3956 | {
"login": "amirj"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi @amirj, thanks for reporting.\r\n\r\nAt first sight, your issue seems a version incompatibility between your Elasticsearch client and your Elasticsearch server.\r\n\r\nFeel free to have a look at Elasticsearch client docs: https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/overview.html#_co... |
I_kwDODunzps5F3XZg | 3,954 | The dataset preview is not available for tdklab/Hebrew_Squad_v1.1 dataset | ## Dataset viewer issue for 'tdklab/Hebrew_Squad_v1.1'
**Link:** https://huggingface.co/api/datasets/tdklab/Hebrew_Squad_v1.1?full=true
The dataset preview is not available for this dataset.
Am I the one who added this dataset ? Yes | CLOSED | 2022-03-17T09:38:11 | 2022-04-20T12:39:07 | 2022-04-20T12:39:07 | https://github.com/huggingface/datasets/issues/3954 | {
"login": "MatanBenChorin"
} | {
"nodes": []
} | [
"Hi @MatanBenChorin, thanks for reporting.\r\n\r\nPlease, take into account that the preview may take some time until it properly renders (we are working to reduce this time).\r\n\r\nMaybe @severo can give more details on this.",
"Hi, \r\nThank you",
"Thanks for reporting. We are looking at it and will give upd... |
I_kwDODunzps5F3TBY | 3,953 | Add ImageNet Sketch | ## Adding a Dataset
- **Name:** ImageNet Sketch
- **Description:** ImageNet-Sketch is a dataset consisting of sketch-like images, that matches the ImageNet classification validation set in categories and scale.
- **Paper:** [Learning Robust Global Representations by Penalizing Local Predictive Power](https://arxiv.o... | CLOSED | 2022-03-17T09:20:31 | 2022-05-23T18:05:29 | 2022-05-23T18:05:29 | https://github.com/huggingface/datasets/issues/3953 | {
"login": "NielsRogge"
} | {
"nodes": [
{
"name": "dataset request"
},
{
"name": "vision"
}
]
} | [
"Can you assign this task to me? @nreimers @mariosasko ",
"Hi! Sure! Let us know if you need any pointers."
] |
I_kwDODunzps5F2bTr | 3,952 | Checksum error for glue sst2, stsb, rte etc datasets | ## Describe the bug
Checksum error for glue sst2, stsb, rte etc datasets
## Steps to reproduce the bug
```python
>>> nlp.load_dataset('glue', 'sst2')
Downloading and preparing dataset glue/sst2 (download: 7.09 MiB, generated: 4.81 MiB, post-processed: Unknown sizetotal: 11.90 MiB) to
Downloading: 100%|████████... | CLOSED | 2022-03-17T03:45:47 | 2022-03-17T07:10:15 | 2022-03-17T07:10:14 | https://github.com/huggingface/datasets/issues/3952 | {
"login": "ravindra-ut"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi, @ravindra-ut.\r\n\r\nI'm sorry but I can't reproduce your problem:\r\n```python\r\nIn [1]: from datasets import load_dataset\r\n\r\nIn [2]: ds = load_dataset(\"glue\", \"sst2\")\r\nDownloading builder script: 28.8kB [00:00, 11.6MB/s] ... |
I_kwDODunzps5F1Liu | 3,951 | Forked streaming datasets try to `open` data urls rather than use network | ## Describe the bug
Building on #3950, if you bypass the pickling problem you still can't use the dataset. Somehow something gets confused and the forked processes try to `open` urls rather than anything else.
## Steps to reproduce the bug
```python
from multiprocessing import freeze_support
import transformer... | CLOSED | 2022-03-16T21:21:02 | 2022-06-10T20:47:26 | 2022-06-10T20:47:26 | https://github.com/huggingface/datasets/issues/3951 | {
"login": "dlwh"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Thanks for reporting this second issue as well. We definitely want to make streaming datasets fully working in a distributed setup and with the best performance. Right now it only supports single process.\r\n\r\nIn this issue it seems that the streaming capabilities that we offer to dataset builders are not transf... |
I_kwDODunzps5F1JiJ | 3,950 | Streaming Datasets don't work with Transformers Trainer when dataloader_num_workers>1 | ## Describe the bug
Streaming Datasets can't be pickled, so any interaction between them and multiprocessing results in a crash.
## Steps to reproduce the bug
```python
import transformers
from transformers import Trainer, AutoModelForCausalLM, TrainingArguments
import datasets
ds = datasets.load_dataset('os... | CLOSED | 2022-03-16T21:14:11 | 2022-06-10T20:47:26 | 2022-06-10T20:47:26 | https://github.com/huggingface/datasets/issues/3950 | {
"login": "dlwh"
} | {
"nodes": [
{
"name": "bug"
},
{
"name": "good first issue"
}
]
} | [
"Hi, thanks for reporting. This could be related to https://github.com/huggingface/datasets/issues/3148 too\r\n\r\nWe should definitely make `TorchIterableDataset` picklable by moving it in the main code instead of inside a function. If you'd like to contribute, feel free to open a Pull Request :)\r\n\r\nI'm also t... |
I_kwDODunzps5Fzr6i | 3,942 | reddit_tifu dataset: Checksums didn't match for dataset source files | ## Describe the bug
When loading the reddit_tifu dataset, it throws the exception "Checksums didn't match for dataset source files"
## Steps to reproduce the bug
```python
import datasets
from datasets import load_dataset
print(datasets.__version__)
# load_dataset('billsum')
load_dataset('reddit_tifu'... | CLOSED | 2022-03-16T15:23:30 | 2022-03-16T15:57:43 | 2022-03-16T15:39:25 | https://github.com/huggingface/datasets/issues/3942 | {
"login": "XingxingZhang"
} | {
"nodes": [
{
"name": "bug"
},
{
"name": "duplicate"
}
]
} | [
"Hi @XingxingZhang, \r\n\r\nWe have already fixed this. You should update `datasets` version to at least 1.18.4:\r\n```shell\r\npip install -U datasets\r\n```\r\nAnd then force the redownload:\r\n```python\r\nload_dataset(\"...\", download_mode=\"force_redownload\")\r\n```\r\n\r\nDuplicate of:\r\n- #3773",
"thank... |
I_kwDODunzps5FzhEl | 3,941 | billsum dataset: Checksums didn't match for dataset source files: | ## Describe the bug
When loading the `billsum` dataset, it throws the exception "Checksums didn't match for dataset source files"
```
File "virtualenv_projects/codex/lib/python3.7/site-packages/datasets/utils/info_utils.py", line 40, in verify_checksums
raise NonMatchingChecksumError(error_msg + str(bad_u... | CLOSED | 2022-03-16T14:52:08 | 2024-03-13T12:11:35 | 2022-03-16T15:46:44 | https://github.com/huggingface/datasets/issues/3941 | {
"login": "XingxingZhang"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi @XingxingZhang, thanks for reporting.\r\n\r\nThis was due to a change in Google Drive service:\r\n- #3786 \r\n\r\nWe have already fixed it:\r\n- #3787\r\n\r\nYou should update `datasets` version to at least 1.18.4:\r\n```shell\r\npip install -U datasets\r\n```\r\nAnd then force the redownload:\r\n```python\r\nl... |
I_kwDODunzps5Fyj8b | 3,939 | Source links broken | ## Describe the bug
The source links of v2.0.0 docs are broken:
For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0/src/datasets/features... | CLOSED | 2022-03-16T11:17:47 | 2022-03-19T04:41:32 | 2022-03-19T04:41:32 | https://github.com/huggingface/datasets/issues/3939 | {
"login": "qqaatw"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Thanks for reporting @qqaatw.\r\n\r\n@mishig25 @sgugger do you think this can be tweaked in the new doc framework?\r\n- From: https://github.com/huggingface/datasets/blob/v2.0.0/\r\n- To: https://github.com/huggingface/datasets/blob/2.0.0/",
"@qqaatw thanks a lot for notifying about this issue!\r\n\r\nin compari... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.