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_kwDODunzps5L1pOk | 4,502 | Logic bug in arrow_writer? | https://github.com/huggingface/datasets/blob/88a902d6474fae8d793542d57a4f3b0d187f3c5b/src/datasets/arrow_writer.py#L475-L488
I got some error, and I found it's caused by `batch_examples` being `{}`. I wonder if the code should be as follows:
```
- if batch_examples and len(next(iter(batch_examples.values())... | CLOSED | 2022-06-15T14:50:00 | 2022-06-18T15:15:51 | 2022-06-18T15:15:51 | https://github.com/huggingface/datasets/issues/4502 | {
"login": "changjonathanc"
} | {
"nodes": []
} | [
"Hi @cccntu you're right, as when `batch_examples={}` the current if-statement won't be triggered as the condition won't be satisfied, I'll prepare a PR to address it as well as add the regression tests so that this issue is handled properly.",
"Hi @alvarobartt ,\r\nThanks for answering. Do you know when and why ... |
I_kwDODunzps5L0rbF | 4,498 | WER and CER > 1 | ## Describe the bug
It seems that in some cases in which the `prediction` is longer than the `reference` we may have word/character error rate higher than 1 which is a bit odd.
If it's a real bug I think I can solve it with a PR changing [this](https://github.com/huggingface/datasets/blob/master/metrics/wer/wer.py#... | CLOSED | 2022-06-15T11:35:12 | 2022-06-15T16:38:05 | 2022-06-15T16:38:05 | https://github.com/huggingface/datasets/issues/4498 | {
"login": "sadrasabouri"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"WER can have values bigger than 1.0, this is expected when there are too many insertions\r\n\r\nFrom [wikipedia](https://en.wikipedia.org/wiki/Word_error_rate):\r\n> Note that since N is the number of words in the reference, the word error rate can be larger than 1.0"
] |
I_kwDODunzps5LzuZn | 4,494 | Patching fails for modules that are not installed or don't exist | Reported in https://github.com/huggingface/huggingface_hub/runs/6894703718?check_suite_focus=true
When trying to patch `scipy.io.loadmat`:
```python
ModuleNotFoundError: No module named 'scipy'
```
Instead it shouldn't raise an error and do nothing
We use patching to extend such functions to support remot... | CLOSED | 2022-06-15T08:17:29 | 2022-06-15T08:54:09 | 2022-06-15T08:54:09 | https://github.com/huggingface/datasets/issues/4494 | {
"login": "lhoestq"
} | {
"nodes": []
} | [] |
I_kwDODunzps5Lvu1u | 4,491 | Dataset Viewer issue for Pavithree/test | ### Link
https://huggingface.co/datasets/Pavithree/test
### Description
I have extracted the subset of original eli5 dataset found at hugging face. However, while loading the dataset It throws ArrowNotImplementedError: Unsupported cast from string to null using function cast_null error. Is there anything missi... | CLOSED | 2022-06-14T13:23:10 | 2022-06-14T14:37:21 | 2022-06-14T14:34:33 | https://github.com/huggingface/datasets/issues/4491 | {
"login": "Pavithree"
} | {
"nodes": [
{
"name": "dataset-viewer"
}
]
} | [
"This issue can be resolved according to this post https://stackoverflow.com/questions/70566660/parquet-with-null-columns-on-pyarrow. It looks like first data entry in the json file must not have any null values as pyarrow uses this first file to infer schema for entire dataset."
] |
I_kwDODunzps5LvaJi | 4,490 | Use `torch.nested_tensor` for arrays of varying length in torch formatter | Use `torch.nested_tensor` for arrays of varying length in `TorchFormatter`.
The PyTorch API of nested tensors is in the prototype stage, so wait for it to become more mature. | OPEN | 2022-06-14T12:19:40 | 2023-07-07T13:02:58 | null | https://github.com/huggingface/datasets/issues/4490 | {
"login": "mariosasko"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"What's the current behavior?",
"Currently, we return a list of Torch tensors if their shapes don't match. If they do, we consolidate them into a single Torch tensor."
] |
I_kwDODunzps5Lp0bQ | 4,483 | Dataset.map throws pyarrow.lib.ArrowNotImplementedError when converting from list of empty lists | ## Describe the bug
Dataset.map throws pyarrow.lib.ArrowNotImplementedError: Unsupported cast from int64 to null using function cast_null when converting from a type of 'empty lists' to 'lists with some type'.
This appears to be due to the interaction of arrow internals and some assumptions made by datasets.
T... | CLOSED | 2022-06-13T10:47:52 | 2022-06-14T13:34:14 | 2022-06-14T13:34:14 | https://github.com/huggingface/datasets/issues/4483 | {
"login": "sanderland"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi @sanderland ! Thanks for reporting :) This is a bug, I opened a PR to fix it. We'll do a new release soon\r\n\r\nIn the meantime you can fix it by specifying in advance that the \"label\" are integers:\r\n```python\r\nimport numpy as np\r\n\r\nds = Dataset.from_dict(\r\n {\r\n \"text\": [\"the lazy do... |
I_kwDODunzps5LojTf | 4,480 | Bigbench tensorflow GPU dependency | ## Describe the bug
Loading bigbech
```py
from datasets import load_dataset
dataset = load_dataset("bigbench","swedish_to_german_proverbs")
```
tries to use gpu and fails with OOM with the following error
```
Downloading and preparing dataset bigbench/swedish_to_german_proverbs (download: Unknown size, genera... | CLOSED | 2022-06-13T05:24:06 | 2022-06-14T19:45:24 | 2022-06-14T19:45:23 | https://github.com/huggingface/datasets/issues/4480 | {
"login": "cceyda"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Thanks for reporting ! :) cc @andersjohanandreassen can you take a look at this ?\r\n\r\nAlso @cceyda feel free to open an issue at [BIG-Bench](https://github.com/google/BIG-bench) as well regarding the `AttributeError`",
"I'm on vacation for the next week, so won't be able to do much debugging at the moment. So... |
I_kwDODunzps5LmZxF | 4,478 | Dataset slow during model training | ## Describe the bug
While migrating towards 🤗 Datasets, I encountered an odd performance degradation: training suddenly slows down dramatically. I train with an image dataset using Keras and execute a `to_tf_dataset` just before training.
First, I have optimized my dataset following https://discuss.huggingface.co/... | OPEN | 2022-06-11T19:40:19 | 2022-06-14T12:04:31 | null | https://github.com/huggingface/datasets/issues/4478 | {
"login": "lehrig"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi ! cc @Rocketknight1 maybe you know better ?\r\n\r\nI'm not too familiar with `tf.data.experimental.save`. Note that `datasets` uses memory mapping, so depending on your hardware and the disk you are using you can expect performance differences with a dataset loaded in RAM",
"Hi @lehrig, I suspect what's happe... |
I_kwDODunzps5LmNv6 | 4,477 | Dataset Viewer issue for fgrezes/WIESP2022-NER | ### Link
_No response_
### Description
_No response_
### Owner
_No response_ | CLOSED | 2022-06-11T15:49:17 | 2022-07-18T13:07:33 | 2022-07-18T13:07:33 | https://github.com/huggingface/datasets/issues/4477 | {
"login": "AshTayade"
} | {
"nodes": []
} | [
"https://huggingface.co/datasets/fgrezes/WIESP2022-NER\r\n\r\nThe error:\r\n\r\n```\r\nMessage: Couldn't find a dataset script at /src/services/worker/fgrezes/WIESP2022-NER/WIESP2022-NER.py or any data file in the same directory. Couldn't find 'fgrezes/WIESP2022-NER' on the Hugging Face Hub either: FileNotFou... |
I_kwDODunzps5Lk_Qr | 4,476 | `to_pandas` doesn't take into account format. | **Is your feature request related to a problem? Please describe.**
I have a large dataset that I need to convert part of to pandas to do some further analysis. Calling `to_pandas` directly on it is expensive. So I thought I could simply select the columns that I want and then call `to_pandas`.
**Describe the solu... | CLOSED | 2022-06-10T20:25:31 | 2022-06-15T17:41:41 | 2022-06-15T17:41:41 | https://github.com/huggingface/datasets/issues/4476 | {
"login": "Dref360"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Thanks for opening a discussion :)\r\n\r\nNote that you can use `.remove_columns(...)` to keep only the ones you're interested in before calling `.to_pandas()`",
"Yes I can do that thank you!\r\n\r\nDo you think that conceptually my example should work? If not, I'm happy to close this issue. \r\n\r\nIf yes, I ca... |
I_kwDODunzps5LjCNE | 4,471 | CI error with repo lhoestq/_dummy | ## Describe the bug
CI is failing because of repo "lhoestq/_dummy". See: https://app.circleci.com/pipelines/github/huggingface/datasets/12461/workflows/1b040b45-9578-4ab9-8c44-c643c4eb8691/jobs/74269
```
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/api/datasets/lhoest... | CLOSED | 2022-06-10T12:26:06 | 2022-06-10T13:24:53 | 2022-06-10T13:24:53 | https://github.com/huggingface/datasets/issues/4471 | {
"login": "albertvillanova"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"fixed by https://github.com/huggingface/datasets/pull/4472"
] |
I_kwDODunzps5LePV2 | 4,467 | Transcript string 'null' converted to [None] by load_dataset() | ## Issue
I am training a luxembourgish speech-recognition model in Colab with a custom dataset, including a dictionary of luxembourgish words, for example the speaken numbers 0 to 9. When preparing the dataset with the script
`ds_train1 = mydataset.map(prepare_dataset)`
the following error was issued:
``` ... | CLOSED | 2022-06-09T14:26:00 | 2023-07-04T02:18:39 | 2022-06-09T16:29:02 | https://github.com/huggingface/datasets/issues/4467 | {
"login": "mbarnig"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi @mbarnig, thanks for reporting.\r\n\r\nPlease note that is an expected behavior by `pandas` (we use the `pandas` library to parse CSV files): https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html\r\n```\r\nBy default the following values are interpreted as NaN: \r\n‘’, ‘#N/A’, ‘#N/A N/A’, ‘#NA’, ‘-1... |
I_kwDODunzps5LZ5Qz | 4,462 | BigBench: NonMatchingSplitsSizesError when passing a dataset configuration parameter | As noticed in https://github.com/huggingface/datasets/pull/4125 when a dataset config class has a parameter that reduces the number of examples (e.g. named `max_examples`), then loading the dataset and passing `max_examples` raises `NonMatchingSplitsSizesError`.
This is because it will check for expected the number ... | OPEN | 2022-06-08T17:31:24 | 2022-07-05T07:39:55 | null | https://github.com/huggingface/datasets/issues/4462 | {
"login": "lhoestq"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Why not adding `max_examples` as part of the config name?",
"Yup it can also work, and maybe it's simpler this way. Opening a PR to fix bigbench instead of https://github.com/huggingface/datasets/pull/4463",
"Hi @lhoestq,\r\n\r\nThank you for taking a look at this issue, and proposing a solution. \r\nUnfortuna... |
I_kwDODunzps5LY1LD | 4,461 | AttributeError: module 'datasets' has no attribute 'load_dataset' | ## Describe the bug
I have piped install datasets, but this package doesn't have these attributes: load_dataset, load_metric.
## Environment info
- `datasets` version: 1.9.0
- Platform: Linux-5.13.0-44-generic-x86_64-with-debian-bullseye-sid
- Python version: 3.6.13
- PyArrow version: 6.0.1
| CLOSED | 2022-06-08T13:59:20 | 2024-03-25T12:58:29 | 2022-06-08T14:41:00 | https://github.com/huggingface/datasets/issues/4461 | {
"login": "AlexNLP"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"I'm having the same issue,Can you tell me how to solve it?",
"I have the same issue, can you tell me how to solve it? Thanks",
"I had a folder named 'datasets' so this is why it can't find the import, it's looking in the wrong place",
"@briandw your comment saved my day 👍 "
] |
I_kwDODunzps5LS4jp | 4,456 | Workflow for Tabular data | Tabular data are treated very differently than data for NLP, audio, vision, etc. and therefore the worflow for tabular data in `datasets` is not ideal.
For example for tabular data, it is common to use pandas/spark/dask to process the data, and then load the data into X and y (X is an array of features and y an arra... | OPEN | 2022-06-07T12:48:22 | 2023-03-06T08:53:55 | null | https://github.com/huggingface/datasets/issues/4456 | {
"login": "lhoestq"
} | {
"nodes": [
{
"name": "enhancement"
},
{
"name": "generic discussion"
}
]
} | [
"I use below to load a dataset:\r\n```\r\ndataset = datasets.load_dataset(\"scikit-learn/auto-mpg\")\r\ndf = pd.DataFrame(dataset[\"train\"])\r\n```\r\nTBH as said, tabular folk split their own dataset, they sometimes have two splits, sometimes three. Maybe somehow avoiding it for tabular datasets might be good for... |
I_kwDODunzps5LQuQd | 4,454 | Dataset Viewer issue for Yaxin/SemEval2015 | ### Link
_No response_
### Description
the link could not visit
### Owner
_No response_ | CLOSED | 2022-06-07T03:31:46 | 2022-06-07T11:53:11 | 2022-06-07T11:53:11 | https://github.com/huggingface/datasets/issues/4454 | {
"login": "WithYouTo"
} | {
"nodes": [
{
"name": "duplicate"
},
{
"name": "dataset-viewer"
}
]
} | [
"Closing since it's a duplicate of https://github.com/huggingface/datasets/issues/4453"
] |
I_kwDODunzps5LQuC5 | 4,453 | Dataset Viewer issue for Yaxin/SemEval2015 | ### Link
_No response_
### Description
_No response_
### Owner
_No response_ | CLOSED | 2022-06-07T03:30:08 | 2022-06-09T08:34:16 | 2022-06-09T08:34:16 | https://github.com/huggingface/datasets/issues/4453 | {
"login": "WithYouTo"
} | {
"nodes": []
} | [
"I understand that the issue is that a remote file (URL) is being loaded as a local file. Right @albertvillanova @lhoestq?\r\n\r\n```\r\nMessage: [Errno 2] No such file or directory: 'https://raw.githubusercontent.com/YaxinCui/ABSADataset/main/SemEval2015Task12Corrected/train/restaurants_train.xml'\r\n```",
... |
I_kwDODunzps5LQKx2 | 4,452 | Trying to load FEVER dataset results in NonMatchingChecksumError | ## Describe the bug
Trying to load the `fever` dataset fails with `datasets.utils.info_utils.NonMatchingChecksumError`.
I tried with `download_mode="force_redownload"` but that did not fix the error. I also tried with `ignore_verification=True` but then that raised a `json.decoder.JSONDecodeError`.
## Steps to r... | CLOSED | 2022-06-06T23:13:15 | 2022-12-15T13:36:40 | 2022-06-08T07:16:16 | https://github.com/huggingface/datasets/issues/4452 | {
"login": "santhnm2"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Thanks for reporting @santhnm2. We are fixing it.\r\n\r\nData owners updated their URLs recently. We have to align with them, otherwise you do not download anything (that is why ignore_verifications does not work).",
"Hello! Is there any update on this? I am having the same issue 6 months later."
] |
I_kwDODunzps5LLVX2 | 4,449 | Rj | import android.content.DialogInterface;
import android.database.Cursor;
import android.os.Bundle;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat... | CLOSED | 2022-06-06T02:24:32 | 2022-06-06T15:44:50 | 2022-06-06T15:44:50 | https://github.com/huggingface/datasets/issues/4449 | {
"login": "Aeckard45"
} | {
"nodes": []
} | [] |
I_kwDODunzps5LKNDx | 4,448 | New Preprocessing Feature - Deduplication [Request] | **Is your feature request related to a problem? Please describe.**
Many large datasets are full of duplications and it has been shown that deduplicating datasets can lead to better performance while training, and more truthful evaluation at test-time.
A feature that allows one to easily deduplicate a dataset can be... | OPEN | 2022-06-05T05:32:56 | 2023-12-12T07:52:40 | null | https://github.com/huggingface/datasets/issues/4448 | {
"login": "yuvalkirstain"
} | {
"nodes": [
{
"name": "duplicate"
},
{
"name": "enhancement"
}
]
} | [
"Hi! The [datasets_sql](https://github.com/mariosasko/datasets_sql) package lets you easily find distinct rows in a dataset (an example with `SELECT DISTINCT` is in the readme). Deduplication is (still) not part of the official API because it's hard to implement for datasets bigger than RAM while only using the nat... |
I_kwDODunzps5LFBE- | 4,443 | Dataset Viewer issue for openclimatefix/nimrod-uk-1km | ### Link
_No response_
### Description
_No response_
### Owner
_No response_ | OPEN | 2022-06-03T08:17:16 | 2023-09-25T12:15:08 | null | https://github.com/huggingface/datasets/issues/4443 | {
"login": "ZYMXIXI"
} | {
"nodes": []
} | [
"If I understand correctly, this is due to the key `split` missing in the line https://huggingface.co/datasets/openclimatefix/nimrod-uk-1km/blob/main/nimrod-uk-1km.py#L41 of the script.\r\nMaybe @albertvillanova could confirm.",
"I'm having a look.",
"Indeed there are several issues in this dataset loading scri... |
I_kwDODunzps5LBIxc | 4,442 | Dataset Viewer issue for amazon_polarity | ### Link
https://huggingface.co/datasets/amazon_polarity/viewer/amazon_polarity/test
### Description
For some reason the train split is OK but the test split is not for this dataset:
```
Server error
Status code: 400
Exception: FileNotFoundError
Message: [Errno 2] No such file or directory: '/cach... | CLOSED | 2022-06-02T19:18:38 | 2022-06-07T18:50:37 | 2022-06-07T18:50:37 | https://github.com/huggingface/datasets/issues/4442 | {
"login": "lewtun"
} | {
"nodes": [
{
"name": "dataset-viewer"
}
]
} | [
"Thanks, looking at it",
"Not sure what happened 😬, but it's fixed"
] |
I_kwDODunzps5LBDvQ | 4,441 | Dataset Viewer issue for aeslc | ### Link
https://huggingface.co/datasets/aeslc
### Description
The dataset viewer can't find `dataset_infos.json` in it's cache:
```
Server error
Status code: 400
Exception: FileNotFoundError
Message: [Errno 2] No such file or directory: '/cache/modules/datasets_modules/datasets/aeslc/eb8e30234cf9... | CLOSED | 2022-06-02T18:57:12 | 2022-06-07T18:50:55 | 2022-06-07T18:50:55 | https://github.com/huggingface/datasets/issues/4441 | {
"login": "lewtun"
} | {
"nodes": [
{
"name": "dataset-viewer"
}
]
} | [
"Not sure what happened 😬, but it's fixed"
] |
I_kwDODunzps5LAi4_ | 4,439 | TIMIT won't load after manual download: Errors about files that don't exist | ## Describe the bug
I get the message from HuggingFace that it must be downloaded manually. From the URL provided in the message, I got to UPenn page for manual download. (UPenn apparently want $250? for the dataset??) ...So, ok, I obtained a copy from a friend and also a smaller version from Kaggle. But in both c... | CLOSED | 2022-06-02T16:35:56 | 2022-06-03T08:44:17 | 2022-06-03T08:44:16 | https://github.com/huggingface/datasets/issues/4439 | {
"login": "drscotthawley"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"To have some context, please see:\r\n- #4145\r\n\r\nPlease, also note that we have recently made some fixes to the script, which are in our GitHub master branch but not yet released:\r\n- #4422\r\n- #4425 \r\n- #4436",
"Thanks Albert! I'll try pulling `datasets` from the git repo instead of PyPI, and/or just wai... |
I_kwDODunzps5K89_o | 4,435 | Load a local cached dataset that has been modified | ## Describe the bug
I have loaded a dataset as follows:
```
d = load_dataset("emotion", split="validation")
```
Afterwards I make some modifications to the dataset via a `map` call:
```
d.map(some_update_func, cache_file_name=modified_dataset)
```
This generates a cached version of the dataset on my local syst... | CLOSED | 2022-06-02T01:51:49 | 2022-06-02T23:59:26 | 2022-06-02T23:59:18 | https://github.com/huggingface/datasets/issues/4435 | {
"login": "mihail911"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi! `datasets` caches every modification/loading, so you can either rerun the pipeline up to the `map` call or use `Dataset.from_file(modified_dataset)` to load the dataset directly from the cache file.",
"Awesome, hvala Mario! This works. "
] |
I_kwDODunzps5KxNEv | 4,430 | Add ability to load newer, cleaner version of Multi-News | **Is your feature request related to a problem? Please describe.**
The [Multi-News dataloader points to the original version of the Multi-News dataset](https://github.com/huggingface/datasets/blob/12540dd75015678ec6019f258d811ee107439a73/datasets/multi_news/multi_news.py#L47), but this has [known errors in it](https... | CLOSED | 2022-05-31T21:00:44 | 2022-06-07T17:14:44 | 2022-06-07T17:14:44 | https://github.com/huggingface/datasets/issues/4430 | {
"login": "JohnGiorgi"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Hi! Our versioning is based on Git revisions (the `revision` param in `load_dataset`), so you can just replace the old URL with the new one and open a PR :). I can also give you some pointers if needed.",
"@mariosasko Awesome thanks! I will do that. Looks like this new version of the data is not available as a z... |
I_kwDODunzps5Kv_AS | 4,428 | Errors when building dummy data if you use nested _URLS | ## Describe the bug
When making dummy data with the `datasets-cli dummy_data` tool,
an error will be raised if you use a nested _URLS in your dataset script.
Traceback (most recent call last):
File "/home/name/LCCC/datasets/src/datasets/commands/datasets_cli.py", line 43, in <module>
main()
File "/hom... | CLOSED | 2022-05-31T16:10:57 | 2022-06-07T09:24:09 | 2022-06-07T09:24:09 | https://github.com/huggingface/datasets/issues/4428 | {
"login": "silverriver"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [] |
I_kwDODunzps5KvM1P | 4,426 | Add loading variable number of columns for different splits | **Is your feature request related to a problem? Please describe.**
The original dataset `blended_skill_talk` consists of different sets of columns for the different splits: (test/valid) splits have additional data column `label_candidates` that the (train) doesn't have.
When loading such data, an exception occurs at ... | CLOSED | 2022-05-31T13:40:16 | 2022-06-03T16:25:25 | 2022-06-03T16:25:25 | https://github.com/huggingface/datasets/issues/4426 | {
"login": "DrMatters"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Hi! Indeed the column is missing, but you shouldn't get an error? Have you made some modifications (locally) to the loading script? I've opened a PR to add the missing columns to the script. "
] |
I_kwDODunzps5KsX-P | 4,422 | Cannot load timit_asr data set | ## Describe the bug
I am trying to load the timit_asr data set. I have tried with a copy from the LDC, and a copy from deepai. In both cases they fail with a "duplicate key" error. With the LDC version I have to convert the file extensions all to upper-case before I can load it at all.
## Steps to reproduce the bug... | CLOSED | 2022-05-30T22:00:22 | 2022-06-02T06:34:05 | 2022-05-31T13:42:31 | https://github.com/huggingface/datasets/issues/4422 | {
"login": "bhaddow"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Thanks for reporting, @bhaddow.\r\n\r\nI'm fixing it.",
"Thanks for the quick fix!",
"@bhaddow we have also made a fix so that you don't have to convert to uppercase the file extensions of the LDC data.\r\n\r\nWould you mind checking if it works OK now for you and reporting if there are any issues? Thanks. ",
... |
I_kwDODunzps5Kq0in | 4,420 | Metric evaluation problems in multi-node, shared file system | ## Describe the bug
Metric evaluation fails in multi-node within a shared file system, because the master process cannot find the lock files from other nodes. (This issue was originally mentioned in the transformers repo https://github.com/huggingface/transformers/issues/17412)
## Steps to reproduce the bug
1. c... | CLOSED | 2022-05-30T13:24:05 | 2023-07-11T09:33:18 | 2023-07-11T09:33:17 | https://github.com/huggingface/datasets/issues/4420 | {
"login": "gullabi"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"If you call `metric.compute` in a distributed setup like yours, then `metric.compute` is called in each process. `metric.compute` first calls `metric.add_batch`, and it looks like your error appears at that stage.\r\n\r\nTo make sure that all the processes have started writing their predictions/references at the s... |
I_kwDODunzps5Kqfdg | 4,419 | Update `unittest` assertions over tuples from `assertEqual` to `assertTupleEqual` | **Is your feature request related to a problem? Please describe.**
So this is more a readability improvement rather than a proposal, wouldn't it be better to use `assertTupleEqual` over the tuples rather than `assertEqual`? As `unittest` added that function in `v3.1`, as detailed at https://docs.python.org/3/library... | CLOSED | 2022-05-30T12:13:18 | 2022-09-30T16:01:37 | 2022-09-30T16:01:37 | https://github.com/huggingface/datasets/issues/4419 | {
"login": "alvarobartt"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Hi! If the only goal is to improve readability, it's better to use `assertTupleEqual` than `assertSequenceEqual` for Python tuples. Also, note that this function is called internally by `assertEqual`, but I guess we can accept a PR to be more verbose.",
"Hi @mariosasko, right! I'll update the issue title/desc wi... |
I_kwDODunzps5Knvuj | 4,417 | how to convert a dict generator into a huggingface dataset. | ### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface dataset.
The generator contains all the samples needed for ... | CLOSED | 2022-05-29T16:28:27 | 2022-09-16T14:44:19 | 2022-09-16T14:44:19 | https://github.com/huggingface/datasets/issues/4417 | {
"login": "StephennFernandes"
} | {
"nodes": [
{
"name": "question"
}
]
} | [
"@albertvillanova @lhoestq , could you please help me on this issue. ",
"Hi ! As mentioned on the [forum](https://discuss.huggingface.co/t/how-to-wrap-a-generator-with-hf-dataset/18464), the simplest for now would be to define a [dataset script](https://huggingface.co/docs/datasets/dataset_script) which can conta... |
I_kwDODunzps5KhXNu | 4,413 | Dataset Viewer issue for ett | ### Link
https://huggingface.co/datasets/ett
### Description
Timestamp is not JSON serializable.
```
Status code: 500
Exception: Status500Error
Message: Type is not JSON serializable: Timestamp
```
### Owner
No | CLOSED | 2022-05-27T02:12:35 | 2022-06-15T07:30:46 | 2022-06-15T07:30:46 | https://github.com/huggingface/datasets/issues/4413 | {
"login": "dgcnz"
} | {
"nodes": [
{
"name": "dataset-viewer"
}
]
} | [
"Thanks for reporting @dgcnz.\r\n\r\nI have checked that the dataset works fine in streaming mode.\r\n\r\nAdditionally, other datasets containing timestamps are properly rendered by the viewer: https://huggingface.co/datasets/blbooks\r\n\r\nI have tried to force the refresh of the preview, but the endpoint is not r... |
I_kwDODunzps5KbTgi | 4,407 | Dataset Viewer issue for conll2012_ontonotesv5 | ### Link
https://huggingface.co/datasets/conll2012_ontonotesv5
### Description
Dataset viewer outage.
### Owner
No | CLOSED | 2022-05-25T20:18:33 | 2022-06-07T18:39:16 | 2022-06-07T18:39:16 | https://github.com/huggingface/datasets/issues/4407 | {
"login": "jiangwangyi"
} | {
"nodes": [
{
"name": "dataset-viewer"
}
]
} | [
"Thanks for reporting, @jiangwy99.\r\n\r\nI guess this could be addressed only once we fix our issue with irresponsive backend endpoint.\r\n\r\nCC: @severo ",
"I've just sent the forcing of the refresh of the preview to the new endpoint.",
"Fixed, thanks for the patience. The issue was the amount of RAM allowed... |
I_kwDODunzps5Ka7qH | 4,405 | [TypeError: Couldn't cast array of type] Cannot process dataset in v2.2.2 | ## Describe the bug
I am trying to process the [conll2012_ontonotesv5](https://huggingface.co/datasets/conll2012_ontonotesv5) dataset in `datasets` v2.2.2 and am running into a type error when casting the features.
## Steps to reproduce the bug
```python
import os
from typing import (
List,
Dict,
)
f... | CLOSED | 2022-05-25T18:56:43 | 2022-06-07T14:27:20 | 2022-06-07T14:27:20 | https://github.com/huggingface/datasets/issues/4405 | {
"login": "jiangwangyi"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"And if the problem is that the way I am to construct the {Entity Type: list of spans} makes entity types without any spans hard to handle, is there a better way to meet the demand? Although I have verified that to make entity types without any spans to behave like `entity_chunk[label] = [[\"\"]]` can perform norma... |
I_kwDODunzps5Ka7Xj | 4,404 | Dataset should have a `.name` field | **Is your feature request related to a problem? Please describe.**
If building pipelines that can evaluate on more than one dataset, it would be nice to be able to log results of things like `Evaluating on {dataset.name}` or `results for {dataset.name} are: {results}`
Without some way of concisely identifying a dat... | CLOSED | 2022-05-25T18:56:08 | 2022-09-13T15:09:30 | 2022-06-16T10:47:53 | https://github.com/huggingface/datasets/issues/4404 | {
"login": "f4hy"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Hi! You can already use `dset.builder_name` and `dset.config_name` for that purpose. And when it comes to versioning, it's better to use `dset._fingerprint` than the `version` attribute as the former represents a deterministic hash that encodes all the mutable ops executed on a dataset, and the latter stays the sa... |
I_kwDODunzps5KXlQx | 4,401 | "NonMatchingChecksumError" when importing 'spider' dataset | ## Describe the bug
When importing 'spider' dataset [https://huggingface.co/datasets/spider] an error occurs
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset('spider')
```
## Expected results
Dataset object
## Actual results
NonMatchingChecksumError: Check... | CLOSED | 2022-05-25T07:45:07 | 2022-05-26T06:40:12 | 2022-05-26T06:40:12 | https://github.com/huggingface/datasets/issues/4401 | {
"login": "OmarAlaaeldein"
} | {
"nodes": [
{
"name": "hosted-on-google-drive"
}
]
} | [
"Thanks for reporting, @OmarAlaaeldein.\r\n\r\nDatasets hosted at Google Drive give problems quite often due to a change in their service:\r\n- #3786 \r\n\r\nRelated to:\r\n- #3906\r\n\r\nI'm having a look.",
"We have made a Pull Request to replace the Google Drive URL. This fix will be accessible in our next `da... |
I_kwDODunzps5KWeDN | 4,400 | load dataset wikitext-2-raw-v1 failed. Could not reach wikitext-2-raw-v1.py. | ## Describe the bug
Could not reach wikitext-2-raw-v1.py
## Steps to reproduce the bug
```python
from datasets import load_dataset
load_dataset("wikitext-2-raw-v1")
```
## Expected results
Download `wikitext-2-raw-v1` dataset successfully.
## Actual results
```
File "load_datasets.py", line 13, in <m... | CLOSED | 2022-05-25T03:10:44 | 2022-10-24T06:10:27 | 2022-05-25T03:26:36 | https://github.com/huggingface/datasets/issues/4400 | {
"login": "cailun01"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"I tried in this way.\r\n\r\n```python\r\nfrom datasets import load_dataset\r\ndataset = load_dataset(path=\"wikitext\", name=\"wikitext-103-v1\", split=\"train\")\r\n```"
] |
I_kwDODunzps5KUuvL | 4,399 | LocalDatasetModuleFactoryWithoutScript extracts invalid builder name | ## Describe the bug
Trying to load a local dataset raises an error indicating that the config builder has to have a name.
No error should be reported, since the call is completly valid.
## Steps to reproduce the bug
```python
load_dataset("./data/some-dataset/", name="some-name")
```
## Expected results
The... | CLOSED | 2022-05-24T18:03:01 | 2022-09-12T15:30:43 | 2022-09-12T15:30:43 | https://github.com/huggingface/datasets/issues/4399 | {
"login": "apohllo"
} | {
"nodes": [
{
"name": "bug"
},
{
"name": "good first issue"
}
]
} | [
"Ok, so\r\n```\r\nos.path.basename(\"/home/user/\")\r\n```\r\ngives `''` while \r\n```\r\nos.path.basename(\"/home/user\")\r\n```\r\ngives `user`. \r\nThe code should check if the last char is a slash.\r\n",
"The fix is:\r\n```\r\n\"name\": os.path.basename(self.path[:-1] if self.path[-1] == \"/\" else self.path)... |
I_kwDODunzps5KTp_9 | 4,398 | Calling `cast_column`/`remove_columns` and a sequence of `map` operations ends up making `faiss` fail with `ValueError` | First of all, sorry in advance for the unclear title, but this bug is weird to explain (at least for me), so I tried my best to summarize all the information in this issue.
## Describe the bug
Calling a certain combination of operations over a 🤗 `Dataset` and then trying to calculate the `faiss` index with `.add... | CLOSED | 2022-05-24T14:41:34 | 2022-06-14T16:01:56 | 2022-06-14T16:01:56 | https://github.com/huggingface/datasets/issues/4398 | {
"login": "alvarobartt"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"It works if we either remove the `ds = ds.cast_column(\"id\", Value(\"int32\"))` line from the code above, or if instead calling `ds.remove_columns()` we remove the columns inside each mapping as `ds.map(..., remove_columns=[...])` instead of right after the mapping.\r\n\r\nBoth of those solutions seem to fix the ... |
I_kwDODunzps5KOJMZ | 4,394 | trainer became extremely slow after reload dataset by `load_from_disk` | ## Describe the bug
Due to memory problem, I need to save my tokenized datasets locally by CPU and reload it by multi GPU for running training script. However, after I reload it by `load_from_disk` and start training, the speed is extremely slow. It says I need about 1500 hours with 8 A100 cards. Before this, I can ru... | OPEN | 2022-05-23T14:04:37 | 2023-11-23T07:40:30 | null | https://github.com/huggingface/datasets/issues/4394 | {
"login": "conan1024hao"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"I tried to make the dataset much more smaller (100000 rows) , then the speed became `33.88it/s` from`8.62s/it`. It's nearly 200 times... Do you have any idea? Thank you!",
"Similar issue: https://github.com/huggingface/transformers/issues/8818\r\n\r\nI changed `RandomSampler` to `SequentialSampler` in the `tra... |
I_kwDODunzps5KKDBp | 4,387 | device/google/accessory/adk2012 - Git at Google | "git clone https://android.googlesource.com/device/google/accessory/adk2012"
https://android.googlesource.com/device/google/accessory/adk2012/#:~:text=git%20clone%20https%3A//android.googlesource.com/device/google/accessory/adk2012 | CLOSED | 2022-05-22T04:57:19 | 2022-05-23T06:36:27 | 2022-05-23T06:36:27 | https://github.com/huggingface/datasets/issues/4387 | {
"login": "Aeckard45"
} | {
"nodes": []
} | [] |
I_kwDODunzps5KJWhc | 4,386 | Bug for wiki_auto_asset_turk from GEM | ## Describe the bug
The script of wiki_auto_asset_turk for GEM may be out of date.
## Steps to reproduce the bug
```python
import datasets
datasets.load_dataset('gem', 'wiki_auto_asset_turk')
```
## Actual results
```
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/... | CLOSED | 2022-05-21T12:31:30 | 2022-05-24T05:55:52 | 2022-05-23T10:29:55 | https://github.com/huggingface/datasets/issues/4386 | {
"login": "StevenTang1998"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Thanks for reporting, @StevenTang1998.\r\n\r\nI'm looking into it. ",
"Hi @StevenTang1998,\r\n\r\nWe have fixed the issue:\r\n- #4389\r\n\r\nThe fix will be available in our next `datasets` library release. In the meantime, you can incorporate that fix by installing `datasets` from our GitHub repo:\r\n```\r\npip... |
I_kwDODunzps5KI8BV | 4,383 | L | ## Describe the L
L
## Expected L
A clear and concise lmll
Specify the actual results or traceback.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version:
- Platform:
- Python version:
- PyArrow version: | CLOSED | 2022-05-21T03:47:58 | 2022-05-21T19:20:13 | 2022-05-21T19:20:13 | https://github.com/huggingface/datasets/issues/4383 | {
"login": "AronCodes21"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [] |
I_kwDODunzps5KI30n | 4,382 | First time trying | ## 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 reasons t... | CLOSED | 2022-05-21T02:15:18 | 2022-05-21T19:20:44 | 2022-05-21T19:20:44 | https://github.com/huggingface/datasets/issues/4382 | {
"login": "Aeckard45"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [] |
I_kwDODunzps5KHftP | 4,381 | Bug in caching 2 datasets both with the same builder class name | ## Describe the bug
The two datasets `mteb/mtop_intent` and `mteb/mtop_domain `use both the same cache folder `.cache/huggingface/datasets/mteb___mtop`. So if you first load `mteb/mtop_intent` then datasets will not load `mteb/mtop_domain`.
If you delete this cache folder and flip the order how you load the two datas... | CLOSED | 2022-05-20T18:18:03 | 2022-06-02T08:18:37 | 2022-05-25T05:16:15 | https://github.com/huggingface/datasets/issues/4381 | {
"login": "nmntz"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi @NouamaneTazi, thanks for reporting.\r\n\r\nPlease note that both datasets are cached in the same directory because their loading builder classes have the same name: `class MTOP(datasets.GeneratorBasedBuilder)`.\r\n\r\nYou should name their builder classes differently, e.g.:\r\n- `MtopDomain`\r\n- `MtopIntent`"... |
I_kwDODunzps5KGVuu | 4,379 | Latest dill release raises exception | ## Describe the bug
As reported by @sgugger, latest dill release is breaking things with Datasets.
```
______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________
self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None
def get(self, timeout=None):
s... | CLOSED | 2022-05-20T13:48:36 | 2022-05-21T15:53:26 | 2022-05-20T17:06:27 | https://github.com/huggingface/datasets/issues/4379 | {
"login": "albertvillanova"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Fixed by:\r\n- #4380 ",
"Just an additional insight, the latest dill (either 0.3.5 or 0.3.5.1) also broke the hashing/fingerprinting of any mapping function.\r\n\r\nFor example:\r\n```\r\nfrom datasets import load_dataset\r\n\r\nd = load_dataset(\"rotten_tomatoes\")\r\nd.map(lambda x: x)\r\n```\r\n\r\nReturns th... |
I_kwDODunzps5KCr6g | 4,376 | irc_disentagle viewer error | the dataviewer shows this message for "ubuntu" - "train", "test", and "validation" splits:
```
Server error
Status code: 400
Exception: ValueError
Message: Cannot seek streaming HTTP file
```
it appears to give the same message for the "channel_two" data as well.
I get a Checksums error when usi... | CLOSED | 2022-05-19T19:15:16 | 2023-01-12T16:56:13 | 2022-06-02T08:20:00 | https://github.com/huggingface/datasets/issues/4376 | {
"login": "labouz"
} | {
"nodes": []
} | [
"DUPLICATED comment from https://github.com/huggingface/datasets/issues/3807:\r\n\r\nmy code:\r\n```\r\nfrom datasets import load_dataset\r\n\r\ndataset = load_dataset(\"irc_disentangle\", download_mode=\"force_redownload\")\r\n```\r\nhowever, it produces the same error\r\n```\r\n[38](file:///Library/Frameworks/Pyt... |
I_kwDODunzps5KBUm3 | 4,374 | extremely slow processing when using a custom dataset | ## processing a custom dataset loaded as .txt file is extremely slow, compared to a dataset of similar volume from the hub
I have a large .txt file of 22 GB which i load into HF dataset
`lang_dataset = datasets.load_dataset("text", data_files="hi.txt")`
further i use a pre-processing function to clean the d... | CLOSED | 2022-05-19T14:18:05 | 2023-07-25T15:07:17 | 2023-07-25T15:07:16 | https://github.com/huggingface/datasets/issues/4374 | {
"login": "StephennFernandes"
} | {
"nodes": [
{
"name": "bug"
},
{
"name": "question"
}
]
} | [
"Hi !\r\n\r\nMy guess is that some examples in your dataset are bigger than your RAM, and therefore loading them in RAM to pass them to `remove_non_indic_sentences` takes forever because it might use SWAP memory.\r\n\r\nMaybe several examples in your dataset are grouped together, can you check `len(lang_dataset[\"t... |
I_kwDODunzps5J4cpV | 4,366 | TypeError: __init__() missing 1 required positional argument: 'scheme' | "name" : "node-1",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "",
"version" : {
"number" : "7.5.0",
"build_flavor" : "default",
"build_type" : "tar",
"build_hash" : "",
"build_date" : "2019-11-26T01:06:52.518245Z",
"build_snapshot" : false,
"lucene_version" : "8.3.0... | CLOSED | 2022-05-18T07:17:29 | 2022-05-18T16:36:22 | 2022-05-18T16:36:21 | https://github.com/huggingface/datasets/issues/4366 | {
"login": "jffgitt"
} | {
"nodes": [
{
"name": "duplicate"
}
]
} | [
"Duplicate of:\r\n- #3956\r\n\r\nI think you should report that issue to `elasticsearch` library: https://github.com/elastic/elasticsearch-py"
] |
I_kwDODunzps5J2BP0 | 4,363 | The dataset preview is not available for this split. | I have uploaded the corpus developed by our lab in the speech domain to huggingface [datasets](https://huggingface.co/datasets/Roh/ryanspeech). You can read about the companion paper accepted in interspeech 2021 [here](https://arxiv.org/abs/2106.08468). The dataset works fine but I can't make the dataset preview work. ... | CLOSED | 2022-05-17T16:34:43 | 2022-06-08T12:32:10 | 2022-06-08T09:26:56 | https://github.com/huggingface/datasets/issues/4363 | {
"login": "roholazandie"
} | {
"nodes": [
{
"name": "dataset-viewer"
}
]
} | [
"Hi! A dataset has to be streamable to work with the viewer. I did a quick test, and yours is, so this might be a bug in the viewer. cc @severo \r\n",
"Looking at it. The message is now:\r\n\r\n```\r\nMessage: cannot cache function '__shear_dense': no locator available for file '/src/services/worker/.venv/... |
I_kwDODunzps5J1KI7 | 4,361 | `udhr` doesn't load, dataset checksum mismatch | ## Describe the bug
Loading `udhr` fails due to a checksum mismatch for some source files. Looks like both of the source files on unicode.org have changed:
size + checksum in datasets repo:
```
(hfdev) leon@blade:~/datasets/datasets/udhr$ jq .default.download_checksums < dataset_infos.json
{
"https://unicode... | CLOSED | 2022-05-17T13:47:09 | 2022-06-08T19:11:21 | 2022-06-08T19:11:21 | https://github.com/huggingface/datasets/issues/4361 | {
"login": "leondz"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [] |
I_kwDODunzps5JvWAs | 4,358 | Missing dataset tags and sections in some dataset cards | Summary of CircleCI errors for different dataset metadata:
- **BoolQ**: missing 8 required positional arguments: 'annotations_creators', 'language_creators', 'licenses', 'multilinguality', 'size_categories', 'source_datasets', 'task_categories', and 'task_ids'
- **Conllpp**: expected some content in section `Citati... | OPEN | 2022-05-16T13:18:16 | 2022-05-30T15:36:52 | null | https://github.com/huggingface/datasets/issues/4358 | {
"login": "sashavor"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"@lhoestq I can take this issue. Please can you point out to me where I can find the other positional arguments?",
"Hi @RohitRathore1 :)\r\n\r\nYou can find all the YAML tags in the tagging app here: https://hf.co/spaces/huggingface/datasets-tagging). They're all passed as arguments to a DatasetMetadata object us... |
I_kwDODunzps5Jsgif | 4,354 | Problems with WMT dataset | ## Describe the bug
I am trying to load WMT15 dataset and to define which data-sources to use for train/validation/test splits, but unfortunately it seems that the official documentation at [https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3Dconfig)](https://huggingfac... | CLOSED | 2022-05-15T20:58:26 | 2022-07-11T14:54:02 | 2022-07-11T14:54:01 | https://github.com/huggingface/datasets/issues/4354 | {
"login": "eldarkurtic"
} | {
"nodes": [
{
"name": "bug"
},
{
"name": "dataset bug"
}
]
} | [
"Hi! Yes, the docs are outdated. Expect this to be fixed soon. \r\n\r\nIn the meantime, you can try to fix the issue yourself.\r\n\r\nThese are the configs/language pairs supported by `wmt15` from which you can choose:\r\n* `cs-en` (Czech - English)\r\n* `de-en` (German - English)\r\n* `fi-en` (Finnish- English)\r\... |
I_kwDODunzps5JrS2a | 4,352 | When using `dataset.map()` if passed `Features` types do not match what is returned from the mapped function, execution does not except in an obvious way | ## Describe the bug
Recently I was trying to using `.map()` to preprocess a dataset. I defined the expected Features and passed them into `.map()` like `dataset.map(preprocess_data, features=features)`. My expected `Features` keys matched what came out of `preprocess_data`, but the types i had defined for them did not... | OPEN | 2022-05-14T17:55:15 | 2022-05-16T15:09:17 | null | https://github.com/huggingface/datasets/issues/4352 | {
"login": "plamb-viso"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi ! Thanks for reporting :) `datasets` usually returns a `pa.lib.ArrowInvalid` error if the feature types don't match.\r\n\r\nIt would be awesome if we had a way to reproduce the `OverflowError` in this case, to better understand what happened and be able to provide the best error message"
] |
I_kwDODunzps5JqxqB | 4,351 | Add optional progress bar for .save_to_disk(..) and .load_from_disk(..) when working with remote filesystems | **Is your feature request related to a problem? Please describe.**
When working with large datasets stored on remote filesystems(such as s3), the process of uploading a dataset could take really long time. For instance: I was uploading a re-processed version of wmt17 en-ru to my s3 bucket and it took like 35 minutes(a... | CLOSED | 2022-05-14T11:30:42 | 2022-12-14T18:22:59 | 2022-12-14T18:22:59 | https://github.com/huggingface/datasets/issues/4351 | {
"login": "Rexhaif"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Hi! I like this idea. For consistency with `load_dataset`, we can use `fsspec`'s `TqdmCallback` in `.load_from_disk` to monitor the number of bytes downloaded, and in `.save_to_disk`, we can track the number of saved shards for consistency with `push_to_hub` (after we implement https://github.com/huggingface/data... |
I_kwDODunzps5Jo9lN | 4,349 | Dataset.map()'s fails at any value of parameter writer_batch_size | ## Describe the bug
If the the value of `writer_batch_size` is less than the total number of instances in the dataset it will fail at that same number of instances. If it is greater than the total number of instances, it fails on the last instance.
Context:
I am attempting to fine-tune a pre-trained HuggingFace tr... | CLOSED | 2022-05-13T16:55:12 | 2022-06-02T12:51:11 | 2022-05-14T15:08:08 | https://github.com/huggingface/datasets/issues/4349 | {
"login": "plamb-viso"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Note that this same issue occurs even if i preprocess with the more default way of tokenizing that uses LayoutLMv2Processor's internal OCR:\r\n\r\n```python\r\n feature_extractor = LayoutLMv2FeatureExtractor()\r\n tokenizer = LayoutLMv2Tokenizer.from_pretrained(\"microsoft/layoutlmv2-base-uncased\")\... |
I_kwDODunzps5JozYQ | 4,348 | `inspect` functions can't fetch dataset script from the Hub | The `inspect_dataset` and `inspect_metric` functions are unable to retrieve a dataset or metric script from the Hub and store it locally at the specified `local_path`:
```py
>>> from datasets import inspect_dataset
>>> inspect_dataset('rotten_tomatoes', local_path='path/to/my/local/folder')
FileNotFoundError: C... | CLOSED | 2022-05-13T16:08:26 | 2022-06-09T10:26:06 | 2022-06-09T10:26:06 | https://github.com/huggingface/datasets/issues/4348 | {
"login": "stevhliu"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi, thanks for reporting! `git bisect` points to #2986 as the PR that introduced the bug. Since then, there have been some additional changes to the loading logic, and in the current state, `force_local_path` (set via `local_path`) forbids pulling a script from the internet instead of downloading it: https://githu... |
I_kwDODunzps5JnaC2 | 4,346 | GH Action to build documentation never ends | ## Describe the bug
See: https://github.com/huggingface/datasets/runs/6418035586?check_suite_focus=true
I finally forced the cancel of the workflow. | CLOSED | 2022-05-13T10:44:44 | 2022-05-13T11:22:00 | 2022-05-13T11:22:00 | https://github.com/huggingface/datasets/issues/4346 | {
"login": "albertvillanova"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [] |
I_kwDODunzps5Jmogo | 4,343 | Metrics documentation is not accessible in the datasets doc UI | **Is your feature request related to a problem? Please describe.**
Search for a metric name like "seqeval" yields no results on https://huggingface.co/docs/datasets/master/en/index . One needs to go look in `datasets/metrics/README.md` to find the doc. Even in the `README.md`, it can be hard to understand what the met... | CLOSED | 2022-05-13T07:46:30 | 2022-06-03T08:50:25 | 2022-06-03T08:50:25 | https://github.com/huggingface/datasets/issues/4343 | {
"login": "fxmarty"
} | {
"nodes": [
{
"name": "enhancement"
},
{
"name": "Metric discussion"
}
]
} | [
"Hey @fxmarty :) Yes we are working on showing the docs of all the metrics on the Hugging face website. If you want to follow the advancements you can check the [evaluate](https://github.com/huggingface/evaluate) repository cc @lvwerra @sashavor "
] |
I_kwDODunzps5JmKH3 | 4,341 | Failing CI on Windows for sari and wiki_split metrics | ## Describe the bug
Our CI is failing from yesterday on Windows for metrics: sari and wiki_split
```
FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_sari - ...
FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_wiki_split
```
See: https://app.circleci.com/pipelines/githu... | CLOSED | 2022-05-13T04:55:17 | 2022-05-13T05:47:41 | 2022-05-13T05:47:41 | https://github.com/huggingface/datasets/issues/4341 | {
"login": "albertvillanova"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [] |
I_kwDODunzps5JiueU | 4,327 | `wikipedia` pre-processed datasets | ## Describe the bug
[Wikipedia](https://huggingface.co/datasets/wikipedia) dataset readme says that certain subsets are preprocessed. However it seems like they are not available. When I try to load them it takes a really long time, and it seems like it's processing them.
## Steps to reproduce the bug
```python
f... | CLOSED | 2022-05-12T11:25:42 | 2022-08-31T08:26:57 | 2022-08-31T08:26:57 | https://github.com/huggingface/datasets/issues/4327 | {
"login": "vpj"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi @vpj, thanks for reporting.\r\n\r\nI'm sorry, but I can't reproduce your bug: I load \"20220301.simple\"in 9 seconds:\r\n```shell\r\ntime python -c \"from datasets import load_dataset; load_dataset('wikipedia', '20220301.simple')\"\r\n\r\nDownloading and preparing dataset wikipedia/20220301.simple (download: 22... |
I_kwDODunzps5Jinrf | 4,325 | Dataset Viewer issue for strombergnlp/offenseval_2020, strombergnlp/polstance | ### Link
https://huggingface.co/datasets/strombergnlp/offenseval_2020/viewer/ar/train
### Description
The viewer isn't running for these two datasets. I left it overnight because a wait sometimes helps things get loaded, and the error messages have all gone, but the datasets are still turning up blank in viewer. May... | CLOSED | 2022-05-12T10:59:08 | 2022-05-13T10:57:15 | 2022-05-13T10:57:02 | https://github.com/huggingface/datasets/issues/4325 | {
"login": "leondz"
} | {
"nodes": [
{
"name": "dataset-viewer"
}
]
} | [
"Not sure if it's related... I was going to raise an issue for https://huggingface.co/datasets/domenicrosati/TruthfulQA which also has the same issue... https://huggingface.co/datasets/domenicrosati/TruthfulQA/viewer/domenicrosati--TruthfulQA/train \r\n\r\n",
"Yes, it's related. The backend behind the dataset vie... |
I_kwDODunzps5JigCG | 4,324 | Support >1 PWC dataset per dataset card | **Is your feature request related to a problem? Please describe.**
Some datasets cover more than one dataset on PapersWithCode. For example, the OffensEval 2020 challenge involved five languages, and there's one dataset to cover all five datasets, [`strombergnlp/offenseval_2020`](https://huggingface.co/datasets/stromb... | OPEN | 2022-05-12T10:29:07 | 2022-05-13T11:25:29 | null | https://github.com/huggingface/datasets/issues/4324 | {
"login": "leondz"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Hi @leondz, I agree it would be nice. We'll see what we can do ;)"
] |
I_kwDODunzps5Jh8Zw | 4,323 | Audio can not find value["bytes"] | ## Describe the bug
I wrote down _generate_examples like:

but where is the bytes?

## ... | CLOSED | 2022-05-12T08:31:58 | 2022-07-07T13:16:08 | 2022-07-07T13:16:08 | https://github.com/huggingface/datasets/issues/4323 | {
"login": "YooSungHyun"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"\r\n\r\nthat is reason my bytes`s empty\r\nbut i have some confused why path prior is higher than bytes?\r\n\r\nif you can make bytes in _generate_examples , you don`t have to make bytes to path?\r\nbecau... |
I_kwDODunzps5JgUYg | 4,320 | Multi-news dataset loader attempts to strip wrong character from beginning of summaries | ## Describe the bug
The `multi_news.py` data loader has [a line which attempts to strip `"- "` from the beginning of summaries](https://github.com/huggingface/datasets/blob/aa743886221d76afb409d263e1b136e7a71fe2b4/datasets/multi_news/multi_news.py#L97). The actual character in the multi-news dataset, however, is `"–... | CLOSED | 2022-05-11T21:36:41 | 2022-05-16T13:52:10 | 2022-05-16T13:52:10 | https://github.com/huggingface/datasets/issues/4320 | {
"login": "JohnGiorgi"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi ! Thanks for reporting :)\r\n\r\nThis dataset was simply converted from [tensorflow datasets](https://github.com/tensorflow/datasets/blob/master/tensorflow_datasets/summarization/multi_news.py)\r\n\r\nI think we can just remove the `.strip(\"- \")` and keep this character",
"Cool! I made a PR."
] |
I_kwDODunzps5JZHMH | 4,310 | Loading dataset with streaming: '_io.BufferedReader' object has no attribute 'loc' | ## Describe the bug
Loading a datasets with `load_dataset` and `streaming=True` returns `AttributeError: '_io.BufferedReader' object has no attribute 'loc'`. Notice that loading with `streaming=False` works fine.
In the following steps we load parquet files but the same happens with pickle files. The problem seems ... | CLOSED | 2022-05-10T15:12:53 | 2022-05-11T16:46:31 | 2022-05-11T16:46:31 | https://github.com/huggingface/datasets/issues/4310 | {
"login": "milmin"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [] |
I_kwDODunzps5JYam0 | 4,306 | `load_dataset` does not work with certain filename. | ## Describe the bug
This is a weird bug that took me some time to find out.
I have a JSON dataset that I want to load with `load_dataset` like this:
```
data_files = dict(train="train.json.zip", val="val.json.zip")
dataset = load_dataset("json", data_files=data_files, field="data")
```
## Expected results
... | CLOSED | 2022-05-10T13:14:04 | 2022-05-10T18:58:36 | 2022-05-10T18:58:09 | https://github.com/huggingface/datasets/issues/4306 | {
"login": "whatever60"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Never mind. It is because of the caching of datasets..."
] |
I_kwDODunzps5JYEmL | 4,304 | Language code search does direct matches | ## Describe the bug
Hi. Searching for bcp47 tags that are just the language prefix (e.g. `sq` or `da`) excludes datasets that have added extra information in their language metadata (e.g. `sq-AL` or `da-bornholm`). The example codes given in the [tagging app](https://huggingface.co/spaces/huggingface/datasets-taggin... | OPEN | 2022-05-10T11:59:16 | 2022-05-10T12:38:42 | null | https://github.com/huggingface/datasets/issues/4304 | {
"login": "leondz"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Thanks for reporting ! I forwarded the issue to the front-end team :)\r\n\r\nWill keep you posted !\r\n\r\nI also changed the tagging app to suggest two letters code for now."
] |
I_kwDODunzps5JTHcm | 4,298 | Normalise license names | **Is your feature request related to a problem? Please describe.**
When browsing datasets, the Licenses tag cloud (bottom left of e.g. https://huggingface.co/datasets) has multiple variants of the same license. This means the options exclude datasets arbitrarily, giving users artificially low recall. The cause of the ... | CLOSED | 2022-05-09T13:51:32 | 2022-05-20T09:51:50 | 2022-05-20T09:51:50 | https://github.com/huggingface/datasets/issues/4298 | {
"login": "leondz"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"we'll add the same server-side metadata validation system as for hf.co/models soon-ish\r\n\r\n(you can check on hf.co/models that licenses are \"clean\")",
"Fixed by #4367."
] |
I_kwDODunzps5JTEZK | 4,297 | Datasets YAML tagging space is down | ## Describe the bug
The neat hf spaces app for generating YAML tags for dataset `README.md`s is down
## Steps to reproduce the bug
1. Visit https://huggingface.co/spaces/huggingface/datasets-tagging
## Expected results
There'll be a HF spaces web app for generating dataset metadata YAML
## Actual results
T... | CLOSED | 2022-05-09T13:45:05 | 2022-05-09T14:44:25 | 2022-05-09T14:44:25 | https://github.com/huggingface/datasets/issues/4297 | {
"login": "leondz"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"@lhoestq @albertvillanova `update-task-list` branch does not exist anymore, should point to `main` now i guess",
"Thanks for reporting, fixing it now",
"It's up again :)"
] |
I_kwDODunzps5JLmXc | 4,291 | Dataset Viewer issue for strombergnlp/ipm_nel : preview is empty, no error message | ### Link
https://huggingface.co/datasets/strombergnlp/ipm_nel/viewer/ipm_nel/train
### Description
The viewer is blank. I tried my best to emulate a dataset with a working viewer, but this one just doesn't seem to want to come up. What did I miss?
### Owner
Yes | CLOSED | 2022-05-06T12:03:27 | 2022-05-09T08:25:58 | 2022-05-09T08:25:58 | https://github.com/huggingface/datasets/issues/4291 | {
"login": "leondz"
} | {
"nodes": [
{
"name": "dataset-viewer"
}
]
} | [
"Hi @leondz, thanks for reporting.\r\n\r\nIndeed, the dataset viewer relies on the dataset being streamable (passing `streaming=True` to `load_dataset`). Whereas most of the datastes are streamable out of the box (thanks to our implementation of streaming), there are still some exceptions.\r\n\r\nIn particular, in ... |
I_kwDODunzps5JH5V8 | 4,287 | "NameError: name 'faiss' is not defined" on `.add_faiss_index` when `device` is not None | ## Describe the bug
When using `datasets` to calculate the FAISS indices of a dataset, the exception `NameError: name 'faiss' is not defined` is triggered when trying to calculate those on a device (GPU), so `.add_faiss_index(..., device=0)` fails with that exception.
All that assuming that `datasets` is properly... | CLOSED | 2022-05-05T15:09:45 | 2022-05-10T13:53:19 | 2022-05-10T13:53:19 | https://github.com/huggingface/datasets/issues/4287 | {
"login": "alvarobartt"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"So I managed to solve this by adding a missing `import faiss` in the `@staticmethod` defined in https://github.com/huggingface/datasets/blob/f51b6994db27ea69261ef919fb7775928f9ec10b/src/datasets/search.py#L305, triggered from https://github.com/huggingface/datasets/blob/f51b6994db27ea69261ef919fb7775928f9ec10b/src... |
I_kwDODunzps5JFlaX | 4,284 | Issues in processing very large datasets | ## Describe the bug
I'm trying to add a feature called "subgraph" to CNN/DM dataset (modifications on run_summarization.py of Huggingface Transformers script) --- I'm not quite sure if I'm doing it the right way, though--- but the main problem appears when the training starts where the error ` [OSError: [Errno 12] Can... | CLOSED | 2022-05-05T05:01:09 | 2023-07-25T15:12:38 | 2023-07-25T15:12:38 | https://github.com/huggingface/datasets/issues/4284 | {
"login": "sajastu"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi ! `datasets` doesn't load the dataset in memory. Instead it uses memory mapping to load your dataset from your disk (it is stored as arrow files). Do you know at what point you have RAM issues exactly ?\r\n\r\nHow big are your graph_data_train dictionaries btw ?",
"Closing this issue due to inactivity."
] |
I_kwDODunzps5JAz4E | 4,276 | OpenBookQA has missing and inconsistent field names | ## Describe the bug
OpenBookQA implementation is inconsistent with the original dataset.
We need to:
1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format.
2. Add missing additional fields:
- 'fact1': row['fact1'],
- 'humanScore': row['humanSc... | CLOSED | 2022-05-04T05:51:52 | 2022-10-11T17:11:53 | 2022-10-05T13:50:03 | https://github.com/huggingface/datasets/issues/4276 | {
"login": "vblagoje"
} | {
"nodes": [
{
"name": "dataset bug"
}
]
} | [
"Thanks for reporting, @vblagoje.\r\n\r\nIndeed, I noticed some of these issues while reviewing this PR:\r\n- #4259 \r\n\r\nThis is in my TODO list. ",
"Ok, awesome @albertvillanova How about #4275 ?",
"On the other hand, I am not sure if we should always preserve the original nested structure. I think we shoul... |
I_kwDODunzps5JAyc2 | 4,275 | CommonSenseQA has missing and inconsistent field names | ## Describe the bug
In short, CommonSenseQA implementation is inconsistent with the original dataset.
More precisely, we need to:
1. Add the dataset matching "id" field. The current dataset, instead, regenerates monotonically increasing id.
2. The [“question”][“stem”] field is flattened into "question". We sh... | OPEN | 2022-05-04T05:38:59 | 2022-05-04T11:41:18 | null | https://github.com/huggingface/datasets/issues/4275 | {
"login": "vblagoje"
} | {
"nodes": [
{
"name": "dataset bug"
}
]
} | [
"Thanks for reporting, @vblagoje.\r\n\r\nI'm opening a PR to address this. "
] |
I_kwDODunzps5I-u2z | 4,271 | A typo in docs of datasets.disable_progress_bar | ## Describe the bug
in the docs of V2.1.0 datasets.disable_progress_bar, we should replace "enable" with "disable". | CLOSED | 2022-05-03T17:44:56 | 2022-05-04T06:58:35 | 2022-05-04T06:58:35 | https://github.com/huggingface/datasets/issues/4271 | {
"login": "jiangwangyi"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi! Thanks for catching and reporting the typo, a PR has been opened to fix it :)"
] |
I_kwDODunzps5I6pB8 | 4,268 | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered | ## Describe the bug
Error generated when attempting to download dataset
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered")
```
## Expected results
A clear and concise description of the expected results... | CLOSED | 2022-05-02T20:34:25 | 2022-05-06T15:53:30 | 2022-05-03T11:23:48 | https://github.com/huggingface/datasets/issues/4268 | {
"login": "i-am-neo"
} | {
"nodes": [
{
"name": "dataset bug"
}
]
} | [
"It would help a lot to be able to preview the dataset - I'd like to see if the pronunciations are in the dataset, eg. for [\"word\"](https://en.wiktionary.org/wiki/word),\r\n\r\nPronunciation\r\n([Received Pronunciation](https://en.wikipedia.org/wiki/Received_Pronunciation)) [IPA](https://en.wiktionary.org/wiki/Wi... |
I_kwDODunzps5I1HeD | 4,261 | data leakage in `webis/conclugen` dataset | ## Describe the bug
Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results.
Furthermore, all splits contain duplicate samples.
## Steps to reproduce the bug
```pyth... | CLOSED | 2022-04-30T17:43:37 | 2022-05-03T06:04:26 | 2022-05-03T06:04:26 | https://github.com/huggingface/datasets/issues/4261 | {
"login": "xflashxx"
} | {
"nodes": [
{
"name": "dataset bug"
}
]
} | [
"Hi @xflashxx, thanks for reporting.\r\n\r\nPlease note that this dataset was generated and shared by Webis Group: https://huggingface.co/webis\r\n\r\nWe are contacting the dataset owners to inform them about the issue you found. We'll keep you updated of their reply.",
"i'd suggest just pinging the authors here ... |
I_kwDODunzps5IoDsc | 4,248 | conll2003 dataset loads original data. | ## Describe the bug
I load `conll2003` dataset to use refined data like [this](https://huggingface.co/datasets/conll2003/viewer/conll2003/train) preview, but it is original data that contains `'-DOCSTART- -X- -X- O'` text.
Is this a bug or should I use another dataset_name like `lhoestq/conll2003` ?
## Steps to... | CLOSED | 2022-04-28T09:33:31 | 2022-07-18T07:15:48 | 2022-07-18T07:15:48 | https://github.com/huggingface/datasets/issues/4248 | {
"login": "sue991"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Thanks for reporting @sue99.\r\n\r\nUnfortunately. I'm not able to reproduce your problem:\r\n```python\r\nIn [1]: import datasets\r\n ...: from datasets import load_dataset\r\n ...: dataset = load_dataset(\"conll2003\")\r\n\r\nIn [2]: dataset\r\nOut[2]: \r\nDatasetDict({\r\n train: Dataset({\r\n fea... |
I_kwDODunzps5Inhny | 4,247 | The data preview of XGLUE | It seems that something wrong with the data previvew of XGLUE | CLOSED | 2022-04-28T07:30:50 | 2022-04-29T08:23:28 | 2022-04-28T16:08:03 | https://github.com/huggingface/datasets/issues/4247 | {
"login": "czq1999"
} | {
"nodes": []
} | [
"\r\n",
"Thanks for reporting @czq1999.\r\n\r\nNote that the dataset viewer uses the dataset in streaming mode and that not all datasets support streaming yet.\r\n\r\nThat is the case for XGLUE dataset (... |
I_kwDODunzps5IkGlG | 4,241 | NonMatchingChecksumError when attempting to download GLUE | ## Describe the bug
I am trying to download the GLUE dataset from the NLP module but get an error (see below).
## Steps to reproduce the bug
```python
import nlp
nlp.__version__ # '0.2.0'
nlp.load_dataset('glue', name="rte", download_mode="force_redownload")
```
## Expected results
I expect the dataset to ... | CLOSED | 2022-04-27T14:14:21 | 2022-04-28T07:45:27 | 2022-04-28T07:45:27 | https://github.com/huggingface/datasets/issues/4241 | {
"login": "drussellmrichie"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi :)\r\n\r\nI think your issue may be related to the older `nlp` library. I was able to download `glue` with the latest version of `datasets`. Can you try updating with:\r\n\r\n```py\r\npip install -U datasets\r\n```\r\n\r\nThen you can download:\r\n\r\n```py\r\nfrom datasets import load_dataset\r\nds = load_data... |
I_kwDODunzps5IjIL7 | 4,238 | Dataset caching policy | ## Describe the bug
I cannot clean cache of my datasets files, despite I have updated the `csv` files on the repository [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences). The original file had a line with bad characters, causing the following error
```
[/usr/local/lib/python3.7/dist-packages/d... | CLOSED | 2022-04-27T10:42:11 | 2022-04-27T16:29:25 | 2022-04-27T16:28:50 | https://github.com/huggingface/datasets/issues/4238 | {
"login": "loretoparisi"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi @loretoparisi, thanks for reporting.\r\n\r\nThere is an option to force the redownload of the data files (and thus not using previously download and cached data files): `load_dataset(..., download_mode=\"force_redownload\")`.\r\n\r\nPlease, let me know if this fixes your problem.\r\n\r\nI can confirm you that y... |
I_kwDODunzps5Ii8sU | 4,237 | Common Voice 8 doesn't show datasets viewer | https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 | CLOSED | 2022-04-27T10:05:20 | 2022-05-10T12:17:05 | 2022-05-10T12:17:04 | https://github.com/huggingface/datasets/issues/4237 | {
"login": "patrickvonplaten"
} | {
"nodes": [
{
"name": "dataset-viewer"
}
]
} | [
"Thanks for reporting. I understand it's an error in the dataset script. To reproduce:\r\n\r\n```python\r\n>>> import datasets as ds\r\n>>> split_names = ds.get_dataset_split_names(\"mozilla-foundation/common_voice_8_0\", use_auth_token=\"**********\")\r\nDownloading builder script: 100%|███████████████████████████... |
I_kwDODunzps5IiTlA | 4,235 | How to load VERY LARGE dataset? | ### System Info
```shell
I am using transformer trainer while meeting the issue.
The trainer requests torch.utils.data.Dataset as input, which loads the whole dataset into the memory at once. Therefore, when the dataset is too large to load, there's nothing I can do except using IterDataset, which loads samples of da... | CLOSED | 2022-04-27T07:50:13 | 2023-07-25T15:07:57 | 2023-07-25T15:07:57 | https://github.com/huggingface/datasets/issues/4235 | {
"login": "CaoYiqingT"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"The `Trainer` support `IterableDataset`, not just datasets."
] |
I_kwDODunzps5IhIJN | 4,230 | Why the `conll2003` dataset on huggingface only contains the `en` subset? Where is the German data? | 
But on huggingface datasets:

Where is the German data? | CLOSED | 2022-04-27T00:53:52 | 2023-07-25T15:10:15 | 2023-07-25T15:10:15 | https://github.com/huggingface/datasets/issues/4230 | {
"login": "beyondguo"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Thanks for reporting @beyondguo.\r\n\r\nIndeed, we generate this dataset from this raw data file URL: https://data.deepai.org/conll2003.zip\r\nAnd that URL only contains the English version.",
"The German data requires payment\r\n\r\nThe [original task page](https://www.clips.uantwerpen.be/conll2003/ner/) states... |
I_kwDODunzps5IeVUO | 4,221 | Dictionary Feature | Hi, I'm trying to create the loading script for a dataset in which one feature is a list of dictionaries, which afaik doesn't fit very well the values and structures supported by Value and Sequence. Is there any suggested workaround, am I missing something?
Thank you in advance. | CLOSED | 2022-04-26T12:50:18 | 2022-04-29T14:52:19 | 2022-04-28T17:04:58 | https://github.com/huggingface/datasets/issues/4221 | {
"login": "jordiae"
} | {
"nodes": [
{
"name": "question"
}
]
} | [
"Hi @jordiae,\r\n\r\nInstead of the `Sequence` feature, you can use just a regular list: put the dict between `[` and `]`:\r\n```python\r\n\"list_of_dict_feature\": [\r\n {\r\n \"key1_in_dict\": datasets.Value(\"string\"),\r\n \"key2_in_dict\": datasets.Value(\"int32\"),\r\n ...\r\n }\r\n... |
I_kwDODunzps5IZquN | 4,217 | Big_Patent dataset broken | ## Dataset viewer issue for '*big_patent*'
**Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/big_patent/viewer/all/train)*
*Unable to view because it says FileNotFound, also cannot download it through the python API*
Am I the one who added this dataset ? No
| CLOSED | 2022-04-25T15:31:45 | 2022-05-26T06:29:43 | 2022-05-02T18:21:15 | https://github.com/huggingface/datasets/issues/4217 | {
"login": "Matthew-Larsen"
} | {
"nodes": [
{
"name": "hosted-on-google-drive"
}
]
} | [
"Thanks for reporting. The issue seems not to be directly related to the dataset viewer or the `datasets` library, but instead to it being hosted on Google Drive.\r\n\r\nSee related issues: https://github.com/huggingface/datasets/issues?q=is%3Aissue+is%3Aopen+drive.google.com\r\n\r\nTo quote [@lhoestq](https://gith... |
I_kwDODunzps5IYbDt | 4,211 | DatasetDict containing Datasets with different features when pushed to hub gets remapped features | Hi there,
I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same.
Dataset and code... | CLOSED | 2022-04-25T11:22:54 | 2023-04-06T19:25:50 | 2022-05-20T15:15:30 | https://github.com/huggingface/datasets/issues/4211 | {
"login": "pietrolesci"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi @pietrolesci, thanks for reporting.\r\n\r\nPlease note that this is a design purpose: a `DatasetDict` has the same features for all its datasets. Normally, a `DatasetDict` is composed of several sub-datasets each corresponding to a different **split**.\r\n\r\nTo handle sub-datasets with different features, we u... |
I_kwDODunzps5IXYeq | 4,210 | TypeError: Cannot cast array data from dtype('O') to dtype('int64') according to the rule 'safe' | ### System Info
```shell
- `transformers` version: 4.18.0
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.5.1
- PyTorch version (GPU?): 1.10.0+cu111 (True)
- Tensorflow version (GPU?): 2.8.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed ... | CLOSED | 2022-04-25T07:28:42 | 2022-05-31T12:16:31 | 2022-05-31T12:16:31 | https://github.com/huggingface/datasets/issues/4210 | {
"login": "loretoparisi"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi! Casting class labels from strings is currently not supported in the CSV loader, but you can get the same result with an additional map as follows:\r\n```python\r\nfrom datasets import load_dataset,Features,Value,ClassLabel\r\nclass_names = [\"cmn\",\"deu\",\"rus\",\"fra\",\"eng\",\"jpn\",\"spa\",\"ita\",\"kor\... |
I_kwDODunzps5IPPCc | 4,199 | Cache miss during reload for datasets using image fetch utilities through map | ## Describe the bug
It looks like that result of `.map` operation dataset are missing the cache when you reload the script and always run from scratch. In same interpretor session, they are able to find the cache and reload it. But, when you exit the interpretor and reload it, the downloading starts from scratch.
... | CLOSED | 2022-04-22T07:47:08 | 2022-04-26T17:00:32 | 2022-04-26T13:38:26 | https://github.com/huggingface/datasets/issues/4199 | {
"login": "apsdehal"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi ! Maybe one of the objects in the function is not deterministic across sessions ? You can read more about it and how to investigate here: https://huggingface.co/docs/datasets/about_cache",
"Hi @apsdehal! Can you verify that replacing\r\n```python\r\ndef fetch_single_image(image_url, timeout=None, retries=0):\... |
I_kwDODunzps5INVwv | 4,198 | There is no dataset | ## 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-21T19:19:26 | 2022-05-03T11:29:05 | 2022-04-22T06:12:25 | https://github.com/huggingface/datasets/issues/4198 | {
"login": "wilfoderek"
} | {
"nodes": []
} | [] |
I_kwDODunzps5IMohd | 4,196 | Embed image and audio files in `save_to_disk` | Following https://github.com/huggingface/datasets/pull/4184, currently a dataset saved using `save_to_disk` doesn't actually contain the bytes of the image or audio files. Instead it stores the path to your local files.
Adding `embed_external_files` and set it to True by default to save_to_disk would be kind of a b... | CLOSED | 2022-04-21T16:25:18 | 2022-12-14T18:22:59 | 2022-12-14T18:22:59 | https://github.com/huggingface/datasets/issues/4196 | {
"login": "lhoestq"
} | {
"nodes": []
} | [] |
I_kwDODunzps5IKbPK | 4,192 | load_dataset can't load local dataset,Unable to find ... |
Traceback (most recent call last):
File "/home/gs603/ahf/pretrained/model.py", line 48, in <module>
dataset = load_dataset("json",data_files="dataset/dataset_infos.json")
File "/home/gs603/miniconda3/envs/coderepair/lib/python3.7/site-packages/datasets/load.py", line 1675, in load_dataset
**config_kwa... | CLOSED | 2022-04-21T08:28:58 | 2022-04-25T16:51:57 | 2022-04-22T07:39:53 | https://github.com/huggingface/datasets/issues/4192 | {
"login": "ahf876828330"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi! :)\r\n\r\nI believe that should work unless `dataset_infos.json` isn't actually a dataset. For Hugging Face datasets, there is usually a file named `dataset_infos.json` which contains metadata about the dataset (eg. the dataset citation, license, description, etc). Can you double-check that `dataset_infos.json... |
I_kwDODunzps5IH5A6 | 4,191 | feat: create an `Array3D` column from a list of arrays of dimension 2 | **Is your feature request related to a problem? Please describe.**
It is possible to create an `Array2D` column from a list of arrays of dimension 1. Similarly, I think it might be nice to be able to create a `Array3D` column from a list of lists of arrays of dimension 1.
To illustrate my proposal, let's take the... | CLOSED | 2022-04-20T18:04:32 | 2022-05-12T15:08:40 | 2022-05-12T15:08:40 | https://github.com/huggingface/datasets/issues/4191 | {
"login": "SaulLu"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Hi @SaulLu, thanks for your proposal.\r\n\r\nJust I got a bit confused about the dimensions...\r\n- For the 2D case, you mention it is possible to create an `Array2D` from a list of arrays of dimension 1\r\n- However, you give an example of creating an `Array2D` from arrays of dimension 2:\r\n - the values of `da... |
I_kwDODunzps5IFm7v | 4,185 | Librispeech documentation, clarification on format | https://github.com/huggingface/datasets/blob/cd3ce34ab1604118351e1978d26402de57188901/datasets/librispeech_asr/librispeech_asr.py#L53
> Note that in order to limit the required storage for preparing this dataset, the audio
> is stored in the .flac format and is not converted to a float32 array. To convert, the audi... | OPEN | 2022-04-20T09:35:55 | 2022-04-21T11:00:53 | null | https://github.com/huggingface/datasets/issues/4185 | {
"login": "albertz"
} | {
"nodes": []
} | [
"(@patrickvonplaten )",
"Also cc @lhoestq here",
"The documentation in the code is definitely outdated - thanks for letting me know, I'll remove it in https://github.com/huggingface/datasets/pull/4184 .\r\n\r\nYou're exactly right `audio` `array` already decodes the audio file to the correct waveform. This is d... |
I_kwDODunzps5IBPgz | 4,182 | Zenodo.org download is not responding | ## Describe the bug
Source download_url from zenodo.org does not respond.
`_DOWNLOAD_URL = "https://zenodo.org/record/2787612/files/SICK.zip?download=1"`
Other datasets also use zenodo.org to store data and they cannot be downloaded as well.
It would be better to actually use more reliable way to store original ... | CLOSED | 2022-04-19T12:26:57 | 2022-04-20T07:11:05 | 2022-04-20T07:11:05 | https://github.com/huggingface/datasets/issues/4182 | {
"login": "dkajtoch"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"[Off topic but related: Is the uptime of S3 provably better than Zenodo's?]",
"Hi @dkajtoch, please note that at HuggingFace we are not hosting this dataset: we are just using a script to download their data file and create a dataset from it.\r\n\r\nIt was the dataset owners decision to host their data at Zenodo... |
I_kwDODunzps5IA5b1 | 4,181 | Support streaming FLEURS dataset | ## Dataset viewer issue for '*name of the dataset*'
https://huggingface.co/datasets/google/fleurs
```
Status code: 400
Exception: NotImplementedError
Message: Extraction protocol for TAR archives like 'https://storage.googleapis.com/xtreme_translations/FLEURS/af_za.tar.gz' is not implemented in str... | CLOSED | 2022-04-19T11:09:56 | 2022-07-25T11:44:02 | 2022-07-25T11:44:02 | https://github.com/huggingface/datasets/issues/4181 | {
"login": "patrickvonplaten"
} | {
"nodes": [
{
"name": "dataset bug"
}
]
} | [
"Yes, you just have to use `dl_manager.iter_archive` instead of `dl_manager.download_and_extract`.\r\n\r\nThat's because `download_and_extract` doesn't support TAR archives in streaming mode.",
"Tried to make it streamable, but I don't think it's really possible. @lhoestq @polinaeterna maybe you guys can check: \... |
I_kwDODunzps5IAUNQ | 4,180 | Add some iteration method on a dataset column (specific for inference) | **Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is.
Currently, `dataset["audio"]` will load EVERY element in the dataset in RAM, which can be quite big for an audio dataset.
Having an iterator (or sequence) type of object, would make inference ... | CLOSED | 2022-04-19T09:15:45 | 2025-06-17T13:08:50 | 2025-06-17T13:08:50 | https://github.com/huggingface/datasets/issues/4180 | {
"login": "Narsil"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Thanks for the suggestion ! I agree it would be nice to have something directly in `datasets` to do something as simple as that\r\n\r\ncc @albertvillanova @mariosasko @polinaeterna What do you think if we have something similar to pandas `Series` that wouldn't bring everything in memory when doing `dataset[\"audio... |
I_kwDODunzps5IAKJe | 4,179 | Dataset librispeech_asr fails to load | ## Describe the bug
The dataset librispeech_asr (standard Librispeech) fails to load.
## Steps to reproduce the bug
```python
datasets.load_dataset("librispeech_asr")
```
## Expected results
It should download and prepare the whole dataset (all subsets).
In [the doc](https://huggingface.co/datasets/libris... | CLOSED | 2022-04-19T08:45:48 | 2022-07-27T16:10:00 | 2022-07-27T16:10:00 | https://github.com/huggingface/datasets/issues/4179 | {
"login": "albertz"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"@patrickvonplaten Hi! I saw that you prepared this? :)",
"Another thing, but maybe this should be a separate issue: As I see from the code, it would try to use up to 16 simultaneous downloads? This is problematic for Librispeech or anything on OpenSLR. On [the homepage](https://www.openslr.org/), it says:\r\n\r\... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.