id
int64
600M
4.6B
node_id
stringlengths
18
24
number
int64
2
8.24k
title
stringlengths
1
290
state
stringclasses
2 values
state_reason
stringclasses
5 values
created_at
timestamp[s]date
2020-04-14 18:18:51
2026-06-05 18:08:17
updated_at
timestamp[s]date
2020-04-29 09:23:05
2026-06-05 21:18:34
closed_at
stringlengths
0
20
html_url
stringlengths
48
51
user
stringlengths
3
26
labels
listlengths
0
4
assignees
listlengths
0
4
milestone
stringclasses
7 values
comments
listlengths
0
70
author_association
stringclasses
4 values
body
stringlengths
0
228k
1,294,818,236
I_kwDODunzps5NLVu8
4,637
The "all" split breaks streaming
closed
completed
2022-07-05T21:56:49
2026-04-27T18:46:47
2026-04-27T18:46:47Z
https://github.com/huggingface/datasets/issues/4637
cakiki
[ "bug" ]
[ "albertvillanova" ]
[ "Thanks for reporting @cakiki.\r\n\r\nYes, this is a bug. We are investigating it.", "@albertvillanova Nice! Let me know if it's something I can fix my self; would love to contribtue!", "@cakiki I was working on this but if you would like to contribute, go ahead. I will close my PR. ;)\r\n\r\nFor the moment I j...
CONTRIBUTOR
## Describe the bug Not sure if this is a bug or just the way streaming works, but setting `streaming=True` did not work when setting `split="all"` ## Steps to reproduce the bug The following works: ```python ds = load_dataset('super_glue', 'wsc.fixed', split='all') ``` The following throws `ValueError: Bad ...
1,294,547,836
I_kwDODunzps5NKTt8
4,636
Add info in docs about behavior of download_config.num_proc
closed
completed
2022-07-05T17:01:00
2022-07-28T10:40:32
2022-07-28T10:40:32Z
https://github.com/huggingface/datasets/issues/4636
nateraw
[ "enhancement" ]
[ "albertvillanova" ]
[]
CONTRIBUTOR
**Is your feature request related to a problem? Please describe.** I went to override `download_config.num_proc` and was confused about what was happening under the hood. It would be nice to have the behavior documented a bit better so folks know what's happening when they use it. **Describe the solution you'd li...
1,294,475,931
I_kwDODunzps5NKCKb
4,635
Dataset Viewer issue for vadis/sv-ident
closed
completed
2022-07-05T15:48:13
2022-07-06T07:13:33
2022-07-06T07:12:14Z
https://github.com/huggingface/datasets/issues/4635
e-tornike
[ "dataset-viewer" ]
[ "albertvillanova" ]
[ "Thanks for reporting, @e-tornike \r\n\r\nSome context:\r\n- #4527 \r\n\r\nThe dataset loads locally in streaming mode:\r\n```python\r\nIn [2]: from datasets import load_dataset; ds = load_dataset(\"vadis/sv-ident\", split=\"validation\", streaming=True); item = next(iter(ds)); item\r\nUsing custom data configurati...
NONE
### Link https://huggingface.co/datasets/vadis/sv-ident/viewer/default/validation ### Description Error message when loading validation split in the viewer: ``` Status code: 400 Exception: Status400Error Message: The split cache is empty. ``` ### Owner _No response_
1,294,405,251
I_kwDODunzps5NJw6D
4,634
Can't load the Hausa audio dataset
closed
completed
2022-07-05T14:47:36
2022-09-13T14:07:32
2022-09-13T14:07:32Z
https://github.com/huggingface/datasets/issues/4634
moro23
[]
[]
[ "Could you provide the error details. It is difficult to debug otherwise. Also try other config. `ha` is not a valid." ]
NONE
common_voice_train = load_dataset("common_voice", "ha", split="train+validation")
1,294,166,880
I_kwDODunzps5NI2tg
4,632
'sort' method sorts one column only
closed
completed
2022-07-05T11:25:26
2023-07-25T15:04:27
2023-07-25T15:04:27Z
https://github.com/huggingface/datasets/issues/4632
shachardon
[]
[]
[ "Hi ! `ds.sort()` does sort the full dataset, not just one column:\r\n```python\r\nfrom datasets import *\r\n\r\nds = Dataset.from_dict({\"foo\": [3, 2, 1], \"bar\": [\"c\", \"b\", \"a\"]})\r\nprint(d.sort(\"foo\").to_pandas()\r\n# foo bar\r\n# 0 1 a\r\n# 1 2 b\r\n# 2 3 c\r\n```\r\n\r\nWhat made y...
NONE
The 'sort' method changes the order of one column only (the one defined by the argument 'column'), thus creating a mismatch between a sample fields. I would expect it to change the order of the samples as a whole, based on the 'column' order.
1,293,418,800
I_kwDODunzps5NGAEw
4,629
Rename repo default branch to main
closed
completed
2022-07-04T17:16:10
2022-07-06T15:49:57
2022-07-06T15:49:57Z
https://github.com/huggingface/datasets/issues/4629
albertvillanova
[ "maintenance" ]
[ "lhoestq" ]
[]
MEMBER
Rename repository default branch to `main` (instead of current `master`). Once renamed, users will have to manually update their local repos: - [ ] Upstream: ``` git branch -m master main git fetch upstream main git branch -u upstream/main main git remote set-head upstream -a ``` - [ ] Origin...
1,293,256,269
I_kwDODunzps5NFYZN
4,626
Add non-commercial licensing info for datasets for which we removed tags
open
2022-07-04T14:32:43
2022-07-08T14:27:29
https://github.com/huggingface/datasets/issues/4626
lhoestq
[]
[]
[ "yep plus `license_details` also makes sense for this IMO" ]
MEMBER
We removed several YAML tags saying that certain datasets can't be used for commercial purposes: https://github.com/huggingface/datasets/pull/4613#discussion_r911919753 Reason for this is that we only allow tags that are part of our [supported list of licenses](https://github.com/huggingface/datasets/blob/84fc3ad73c...
1,293,042,894
I_kwDODunzps5NEkTO
4,623
Loading MNIST as Pytorch Dataset
open
2022-07-04T11:33:10
2022-07-04T14:40:50
https://github.com/huggingface/datasets/issues/4623
jameschapman19
[ "bug" ]
[]
[ "Hi ! We haven't implemented the conversion from images data to PyTorch tensors yet I think\r\n\r\ncc @mariosasko ", "So I understand:\r\n\r\nset_format() does not properly do the conversion to pytorch tensors from PIL images.\r\n\r\nSo that someone who stumbles on this can use the package:\r\n\r\n```python\r\nda...
NONE
## Describe the bug Conversion of MNIST dataset to pytorch fails with bug ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("mnist", split="train") dataset.set_format('torch') dataset[0] print() ``` ## Expected results Expect to see torch tensors image and l...
1,293,030,128
I_kwDODunzps5NEhLw
4,621
ImageFolder raises an error with parameters drop_metadata=True and drop_labels=False when metadata.jsonl is present
closed
completed
2022-07-04T11:21:44
2022-07-15T14:24:24
2022-07-15T14:24:24Z
https://github.com/huggingface/datasets/issues/4621
polinaeterna
[ "bug" ]
[ "polinaeterna" ]
[]
CONTRIBUTOR
## Describe the bug If you pass `drop_metadata=True` and `drop_labels=False` when a `data_dir` contains at least one `matadata.jsonl` file, you will get a KeyError. This is probably not a very useful case but we shouldn't get an error anyway. Asking users to move metadata files manually outside `data_dir` or pass fe...
1,292,797,878
I_kwDODunzps5NDoe2
4,620
Data type is not recognized when using datetime.time
closed
completed
2022-07-04T08:13:38
2022-07-07T13:57:11
2022-07-07T13:57:11Z
https://github.com/huggingface/datasets/issues/4620
severo
[ "bug" ]
[ "mariosasko" ]
[ "cc @mariosasko ", "Hi, thanks for reporting! I'm investigating the issue." ]
COLLABORATOR
## Describe the bug Creating a dataset from a pandas dataframe with `datetime.time` format generates an error. ## Steps to reproduce the bug ```python import pandas as pd from datetime import time from datasets import Dataset df = pd.DataFrame({"feature_name": [time(1, 1, 1)]}) dataset = Dataset.from_pandas...
1,292,107,275
I_kwDODunzps5NA_4L
4,619
np arrays get turned into native lists
open
2022-07-02T17:54:57
2022-07-03T20:27:07
https://github.com/huggingface/datasets/issues/4619
ZhaofengWu
[ "bug" ]
[]
[ "If you add the line `dataset2.set_format('np')` before calling `dataset2[0]['tmp']` it should return `np.ndarray`.\r\nI believe internally it will not store it as a list, it is only returning a list when you index it.\r\n\r\n```\r\nIn [1]: import datasets, numpy as np\r\nIn [2]: dataset = datasets.load_dataset(\"g...
NONE
## Describe the bug When attaching an `np.array` field, it seems that it automatically gets turned into a list (see below). Why is this happening? Could it lose precision? Is there a way to make sure this doesn't happen? ## Steps to reproduce the bug ```python >>> import datasets, numpy as np >>> dataset = datas...
1,292,078,225
I_kwDODunzps5NA4yR
4,618
contribute data loading for object detection datasets with yolo data format
open
2022-07-02T15:21:59
2022-07-21T14:10:44
https://github.com/huggingface/datasets/issues/4618
faizankshaikh
[ "enhancement" ]
[]
[ "Hi! The `imagefolder` script is already quite complex, so a standalone script sounds better. Also, I suggest we create an org on the Hub (e.g. `hf-loaders`) and store such scripts there for easier maintenance rather than having them as packaged modules (IMO only very generic loaders should be packaged). WDYT @lhoe...
NONE
**Is your feature request related to a problem? Please describe.** At the moment, HF datasets loads [image classification datasets](https://huggingface.co/docs/datasets/image_process) out-of-the-box. There could be a data loader for loading standard object detection datasets ([original discussion here](https://hugging...
1,290,984,660
I_kwDODunzps5M8tzU
4,612
Release 2.3.0 broke custom iterable datasets
closed
completed
2022-07-01T06:46:07
2022-07-05T15:08:21
2022-07-05T15:08:21Z
https://github.com/huggingface/datasets/issues/4612
aapot
[ "bug" ]
[]
[ "Apparently, `fsspec` does not allow access to attribute-based modules anymore, such as `fsspec.async`.\r\n\r\nHowever, this is a fairly simple fix:\r\n- Change the import to: `from fsspec import asyn`;\r\n- Change line 18 to: `asyn.iothread[0] = None`;\r\n- Change line 19 to `asyn.loop[0] = None`.", "Hi! I think...
NONE
## Describe the bug Trying to iterate examples from custom iterable dataset fails to bug introduced in `torch_iterable_dataset.py` since the release of 2.3.0. ## Steps to reproduce the bug ```python next(iter(custom_iterable_dataset)) ``` ## Expected results `next(iter(custom_iterable_dataset))` should retu...
1,290,603,827
I_kwDODunzps5M7Q0z
4,610
codeparrot/github-code failing to load
closed
completed
2022-06-30T20:24:48
2022-07-05T14:24:13
2022-07-05T09:19:56Z
https://github.com/huggingface/datasets/issues/4610
PyDataBlog
[ "bug" ]
[ "lhoestq" ]
[ "I believe the issue is in `codeparrot/github-code`. `base_path` param is missing - https://huggingface.co/datasets/codeparrot/github-code/blob/main/github-code.py#L169\r\n\r\nFunction definition has changed.\r\nhttps://github.com/huggingface/datasets/blob/0e1c629cfb9f9ba124537ba294a0ec451584da5f/src/datasets/data_...
NONE
## Describe the bug codeparrot/github-code fails to load with a `TypeError: get_patterns_in_dataset_repository() missing 1 required positional argument: 'base_path'` ## Steps to reproduce the bug ```python from datasets import load_dataset ``` ## Expected results loaded dataset object ## Actual results `...
1,290,392,083
I_kwDODunzps5M6dIT
4,609
librispeech dataset has to download whole subset when specifing the split to use
closed
completed
2022-06-30T16:38:24
2022-07-12T21:44:32
2022-07-12T21:44:32Z
https://github.com/huggingface/datasets/issues/4609
sunhaozhepy
[ "bug" ]
[]
[ "Hi! You can use streaming to fetch only a subset of the data:\r\n```python\r\nraw_dataset = load_dataset(\"librispeech_asr\", \"clean\", split=\"train.100\", streaming=True)\r\n```\r\nAlso, we plan to make it possible to download a particular split in the non-streaming mode, but this task is not easy due to how ou...
NONE
## Describe the bug librispeech dataset has to download whole subset when specifing the split to use ## Steps to reproduce the bug see below # Sample code to reproduce the bug ``` !pip install datasets from datasets import load_dataset raw_dataset = load_dataset("librispeech_asr", "clean", split="train.100") ...
1,290,083,534
I_kwDODunzps5M5RzO
4,606
evaluation result changes after `datasets` version change
closed
completed
2022-06-30T12:43:26
2023-07-25T15:05:26
2023-07-25T15:05:26Z
https://github.com/huggingface/datasets/issues/4606
thnkinbtfly
[ "bug" ]
[]
[ "Hi! The GH/no-namespace datasets versioning is synced with the version of the `datasets` lib, which means that the `wikiann` script was modified between the two compared versions. In this scenario, you can ensure reproducibility by pinning the script version, which is done by passing `revision=\"x.y.z\"` (e.g. `re...
NONE
## Describe the bug evaluation result changes after `datasets` version change ## Steps to reproduce the bug 1. Train a model on WikiAnn 2. reload the ckpt -> test accuracy becomes same as eval accuracy 3. such behavior is gone after downgrading `datasets` https://colab.research.google.com/drive/1kYz7-aZRGdaya...
1,290,058,970
I_kwDODunzps5M5Lza
4,605
Dataset Viewer issue for boris/gis_filtered
closed
completed
2022-06-30T12:23:34
2022-07-06T12:34:19
2022-07-06T12:34:19Z
https://github.com/huggingface/datasets/issues/4605
WaterKnight1998
[ "streaming" ]
[ "lhoestq" ]
[ "Yes, this dataset is \"gated\": you first have to go to https://huggingface.co/datasets/boris/gis_filtered and click \"Access repository\" (if you accept to share your contact information with the repository authors).", "I already did that, it returns error when using streaming", "Oh, sorry, I misread. Looking...
NONE
### Link https://huggingface.co/datasets/boris/gis_filtered/viewer/boris--gis_filtered/train ### Description When I try to access this from the website I get this error: Status code: 400 Exception: ClientResponseError Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datase...
1,289,963,331
I_kwDODunzps5M40dD
4,603
CI fails recurrently and randomly on Windows
closed
completed
2022-06-30T10:59:58
2022-06-30T13:22:25
2022-06-30T13:22:25Z
https://github.com/huggingface/datasets/issues/4603
albertvillanova
[ "bug" ]
[]
[]
MEMBER
As reported by @lhoestq, The windows CI is currently flaky: some dependencies like `aiobotocore`, `multiprocess` and `seqeval` sometimes fail to install. In particular it seems that building the wheels fail. Here is an example of logs: ``` Building wheel for seqeval (setup.py): started Running command 'C:\to...
1,288,672,007
I_kwDODunzps5Mz5MH
4,597
Streaming issue for financial_phrasebank
closed
completed
2022-06-29T12:45:43
2022-07-01T09:29:36
2022-07-01T09:29:36Z
https://github.com/huggingface/datasets/issues/4597
lewtun
[ "hosted-on-google-drive" ]
[ "albertvillanova" ]
[ "cc @huggingface/datasets: it seems like https://www.researchgate.net/ is flaky for datasets hosting (I put the \"hosted-on-google-drive\" tag since it's the same kind of issue I think)", "Let's see if their license allows hosting their data on the Hub.", "License is Creative Commons Attribution-NonCommercial-S...
MEMBER
### Link https://huggingface.co/datasets/financial_phrasebank/viewer/sentences_allagree/train ### Description As reported by a community member using [AutoTrain Evaluate](https://huggingface.co/spaces/autoevaluate/model-evaluator/discussions/5#62bc217436d0e5d316a768f0), there seems to be a problem streaming this dat...
1,288,381,735
I_kwDODunzps5MyyUn
4,596
Dataset Viewer issue for universal_dependencies
closed
completed
2022-06-29T08:50:29
2022-09-07T11:29:28
2022-09-07T11:29:27Z
https://github.com/huggingface/datasets/issues/4596
Jordy-VL
[ "dataset-viewer" ]
[ "severo" ]
[ "Thanks, looking at it!", "Finally fixed! We updated the dataset viewer and it fixed the issue.\r\n\r\nhttps://huggingface.co/datasets/universal_dependencies/viewer/aqz_tudet/train\r\n\r\n<img width=\"1561\" alt=\"Capture d’écran 2022-09-07 à 13 29 18\" src=\"https://user-images.githubusercontent.com/1676121/18...
NONE
### Link https://huggingface.co/datasets/universal_dependencies ### Description invalid json response body at https://datasets-server.huggingface.co/splits?dataset=universal_dependencies reason: Unexpected token I in JSON at position 0 ### Owner _No response_
1,288,275,976
I_kwDODunzps5MyYgI
4,595
Dataset Viewer issue with False positive PII redaction
closed
completed
2022-06-29T07:15:57
2022-06-29T08:29:41
2022-06-29T08:27:49Z
https://github.com/huggingface/datasets/issues/4595
cakiki
[]
[]
[ "The value is in the data, it's not an issue with the \"dataset-viewer\".\r\n\r\n<img width=\"1161\" alt=\"Capture d’écran 2022-06-29 à 10 25 51\" src=\"https://user-images.githubusercontent.com/1676121/176389325-4d2a9a7f-1583-45b8-aa7a-960ffaa6a36a.png\">\r\n\r\n Maybe open a PR: https://huggingface.co/datasets/...
CONTRIBUTOR
### Link https://huggingface.co/datasets/cakiki/rosetta-code ### Description Hello, I just noticed an entry being redacted that shouldn't have been: `RootMeanSquare@Range[10]` is being displayed as `[email protected][10]` ### Owner _No response_
1,288,070,023
I_kwDODunzps5MxmOH
4,594
load_from_disk suggests incorrect fix when used to load DatasetDict
closed
not_planned
2022-06-29T01:40:01
2022-06-29T04:03:44
2022-06-29T04:03:44Z
https://github.com/huggingface/datasets/issues/4594
dvsth
[ "bug" ]
[]
[]
NONE
Edit: Please feel free to remove this issue. The problem was not the error message but the fact that the DatasetDict.load_from_disk does not support loading nested splits, i.e. if one of the splits is itself a DatasetDict. If nesting splits is an antipattern, perhaps the load_from_disk function can throw a warning indi...
1,288,029,377
I_kwDODunzps5MxcTB
4,592
Issue with jalFaizy/detect_chess_pieces when running datasets-cli test
closed
completed
2022-06-29T00:15:54
2022-06-29T10:30:03
2022-06-29T07:49:27Z
https://github.com/huggingface/datasets/issues/4592
faizankshaikh
[]
[]
[ "Hi @faizankshaikh\r\n\r\nPlease note that we have recently launched the Community feature, specifically targeted to create Discussions (about issues/questions/asking-for-help) on each Dataset on the Hub:\r\n- Blog post: https://huggingface.co/blog/community-update\r\n- Docs: https://huggingface.co/docs/hub/reposit...
NONE
### Link https://huggingface.co/datasets/jalFaizy/detect_chess_pieces ### Description I am trying to write a appropriate data loader for [a custom dataset](https://huggingface.co/datasets/jalFaizy/detect_chess_pieces) using [this script](https://huggingface.co/datasets/jalFaizy/detect_chess_pieces/blob/main/detect_c...
1,288,021,332
I_kwDODunzps5MxaVU
4,591
Can't push Images to hub with manual Dataset
closed
completed
2022-06-29T00:01:23
2022-07-08T12:01:36
2022-07-08T12:01:35Z
https://github.com/huggingface/datasets/issues/4591
cceyda
[ "bug" ]
[ "mariosasko" ]
[ "Hi, thanks for reporting! This issue stems from the changes introduced in https://github.com/huggingface/datasets/pull/4282 (cc @lhoestq), in which list casts are ignored if they don't change the list type (required to preserve `null` values). And `push_to_hub` does a special cast to embed external image files but...
CONTRIBUTOR
## Describe the bug If I create a dataset including an 'Image' feature manually, when pushing to hub decoded images are not pushed, instead it looks for image where image local path is/used to be. This doesn't (at least didn't used to) happen with imagefolder. I want to build dataset manually because it is compli...
1,287,600,029
I_kwDODunzps5Mvzed
4,589
Permission denied: '/home/.cache' when load_dataset with local script
closed
completed
2022-06-28T16:26:03
2022-06-29T06:26:28
2022-06-29T06:25:08Z
https://github.com/huggingface/datasets/issues/4589
jiangh0
[ "bug" ]
[]
[]
NONE
1,286,362,907
I_kwDODunzps5MrFcb
4,581
Dataset Viewer issue for pn_summary
closed
completed
2022-06-27T20:56:12
2022-06-28T14:42:03
2022-06-28T14:42:03Z
https://github.com/huggingface/datasets/issues/4581
lewtun
[ "dataset-viewer" ]
[ "albertvillanova" ]
[ "linked to https://github.com/huggingface/datasets/issues/4580#issuecomment-1168373066?", "Note that I refreshed twice this dataset, and I still have (another) error on one of the splits\r\n\r\n```\r\nStatus code: 400\r\nException: ClientResponseError\r\nMessage: 403, message='Forbidden', url=URL('htt...
MEMBER
### Link https://huggingface.co/datasets/pn_summary/viewer/1.0.0/validation ### Description Getting an index error on the `validation` and `test` splits: ``` Server error Status code: 400 Exception: IndexError Message: list index out of range ``` ### Owner No
1,286,312,912
I_kwDODunzps5Mq5PQ
4,580
Dataset Viewer issue for multi_news
closed
completed
2022-06-27T20:25:25
2022-06-28T14:08:48
2022-06-28T14:08:48Z
https://github.com/huggingface/datasets/issues/4580
lewtun
[ "dataset-viewer" ]
[ "albertvillanova" ]
[ "Thanks for reporting, @lewtun.\r\n\r\nI forced the refreshing of the preview and it worked OK for train and validation splits.\r\n\r\nI guess the error has to do with the data files being hosted at Google Drive: this gives errors when requested automatically using scripts.\r\nWe should host them to fix the error. ...
MEMBER
### Link https://huggingface.co/datasets/multi_news ### Description Not sure what the index error is referring to here: ``` Status code: 400 Exception: IndexError Message: list index out of range ``` ### Owner No
1,286,086,400
I_kwDODunzps5MqB8A
4,578
[Multi Configs] Use directories to differentiate between subsets/configurations
open
2022-06-27T16:55:11
2023-06-14T15:43:05
https://github.com/huggingface/datasets/issues/4578
lhoestq
[ "enhancement" ]
[]
[ "I want to be able to create folders in a model.", "How to set new split names, instead of train/test/validation? For example, I have a local dataset, consists of several subsets, named \"A\", \"B\", and \"C\". How can I create a huggingface dataset, with splits A/B/C ?\r\n\r\nThe document in https://huggingface....
MEMBER
Currently to define several subsets/configurations of your dataset, you need to use a dataset script. However it would be nice to have a no-code way to to this. For example we could specify different configurations of a dataset (for example, if a dataset contains different languages) with one directory per confi...
1,285,446,700
I_kwDODunzps5Mnlws
4,575
Problem about wmt17 zh-en dataset
closed
completed
2022-06-27T08:35:42
2022-08-23T10:01:02
2022-08-23T10:00:21Z
https://github.com/huggingface/datasets/issues/4575
winterfell2021
[ "bug" ]
[ "lhoestq" ]
[ "Running into the same error with `wmt17/zh-en`, `wmt18/zh-en` and `wmt19/zh-en`.", "@albertvillanova @lhoestq Could you take a look at this issue?", "@winterfell2021 Hi, I wonder where the code you provided should be added. I tried to add them in the `datasets/table.py` in `array_cast` function, however, the '...
NONE
It seems that in subset casia2015, some samples are like `{'c[hn]':'xxx', 'en': 'aa'}`. So when using `data = load_dataset('wmt17', "zh-en")` to load the wmt17 zh-en dataset, which will raise the exception: ``` Traceback (most recent call last): File "train.py", line 78, in <module> data = load_dataset(args....
1,285,022,499
I_kwDODunzps5Ml-Mj
4,572
Dataset Viewer issue for mlsum
closed
completed
2022-06-26T20:24:17
2022-07-21T12:40:01
2022-07-21T12:40:01Z
https://github.com/huggingface/datasets/issues/4572
lewtun
[ "dataset-viewer" ]
[ "albertvillanova" ]
[ "Thanks for reporting, @lewtun.\r\n\r\nAfter investigation, it seems that the server https://gitlab.lip6.fr does not allow HTTP Range requests.\r\n\r\nWe are trying to find a workaround..." ]
MEMBER
### Link https://huggingface.co/datasets/mlsum/viewer/de/train ### Description There's seems to be a problem with the download / streaming of this dataset: ``` Server error Status code: 400 Exception: BadZipFile Message: File is not a zip file ``` ### Owner No
1,284,883,289
I_kwDODunzps5MlcNZ
4,571
move under the facebook org?
open
2022-06-26T11:19:09
2023-09-25T12:05:18
https://github.com/huggingface/datasets/issues/4571
lewtun
[]
[ "albertvillanova" ]
[ "Related to https://github.com/huggingface/datasets/issues/4562#issuecomment-1166911751\r\n\r\nI'll assign @albertvillanova ", "I'm just wondering why we don't have this dataset under:\r\n- the `facebook` namespace\r\n- or the canonical dataset `flores`: why does this only have 2 languages?", "fwiw: the dataset...
MEMBER
### Link https://huggingface.co/datasets/gsarti/flores_101 ### Description It seems like streaming isn't supported for this dataset: ``` Server Error Status code: 400 Exception: NotImplementedError Message: Extraction protocol for TAR archives like 'https://dl.fbaipublicfiles.com/flores101/dataset...
1,284,846,168
I_kwDODunzps5MlTJY
4,570
Dataset sharding non-contiguous?
closed
completed
2022-06-26T08:34:05
2022-06-30T11:00:47
2022-06-26T14:36:20Z
https://github.com/huggingface/datasets/issues/4570
cakiki
[ "bug" ]
[]
[ "This was silly; I was sure I'd looked for a `contiguous` argument, and was certain there wasn't one the first time I looked :smile:\r\n\r\nSorry about that.", "Hi! You can pass `contiguous=True` to `.shard()` get contiguous shards. More info on this and the default behavior can be found in the [docs](https://hug...
CONTRIBUTOR
## Describe the bug I'm not sure if this is a bug; more likely normal behavior but i wanted to double check. Is it normal that `datasets.shard` does not produce chunks that, when concatenated produce the original ordering of the sharded dataset? This might be related to this pull request (https://github.com/huggi...
1,284,833,694
I_kwDODunzps5MlQGe
4,569
Dataset Viewer issue for sst2
closed
completed
2022-06-26T07:32:54
2022-06-27T06:37:48
2022-06-27T06:37:48Z
https://github.com/huggingface/datasets/issues/4569
lewtun
[ "dataset-viewer" ]
[ "albertvillanova" ]
[ "Hi @lewtun, thanks for reporting.\r\n\r\nI have checked locally and refreshed the preview and it seems working smooth now:\r\n```python\r\nIn [8]: ds\r\nOut[8]: \r\nDatasetDict({\r\n train: Dataset({\r\n features: ['idx', 'sentence', 'label'],\r\n num_rows: 67349\r\n })\r\n validation: Datas...
MEMBER
### Link https://huggingface.co/datasets/sst2 ### Description Not sure what is causing this, however it seems that `load_dataset("sst2")` also hangs (even though it downloads the files without problem): ``` Status code: 400 Exception: Exception Message: Give up after 5 attempts with Connectio...
1,284,655,624
I_kwDODunzps5MkkoI
4,568
XNLI cache reload is very slow
closed
completed
2022-06-25T16:43:56
2022-07-04T14:29:40
2022-07-04T14:29:40Z
https://github.com/huggingface/datasets/issues/4568
Muennighoff
[ "bug" ]
[]
[ "Hi,\r\nCould you tell us how you are running this code?\r\nI tested on my machine (M1 Mac). And it is running fine both on and off internet.\r\n\r\n<img width=\"1033\" alt=\"Screen Shot 2022-07-03 at 1 32 25 AM\" src=\"https://user-images.githubusercontent.com/8711912/177026364-4ad7cedb-e524-4513-97f7-7961bbb34c90...
CONTRIBUTOR
### Reproduce Using `2.3.3.dev0` `from datasets import load_dataset` `load_dataset("xnli", "en")` Turn off Internet `load_dataset("xnli", "en")` I cancelled the second `load_dataset` eventually cuz it took super long. It would be great to have something to specify e.g. `only_load_from_cache` and avoid the ...
1,284,397,594
I_kwDODunzps5Mjloa
4,566
Document link #load_dataset_enhancing_performance points to nowhere
closed
completed
2022-06-25T01:18:19
2023-01-24T16:33:40
2023-01-24T16:33:40Z
https://github.com/huggingface/datasets/issues/4566
subercui
[ "bug" ]
[]
[ "Hi! This is indeed the link the docstring should point to. Are you interested in submitting a PR to fix this?", "https://github.com/huggingface/datasets/blame/master/docs/source/cache.mdx#L93\r\n\r\nThere seems already an anchor here. Somehow it doesn't work. I am not very familiar with how this online documenta...
NONE
## Describe the bug A clear and concise description of what the bug is. ![image](https://user-images.githubusercontent.com/11674033/175752806-5b066b92-9d28-4771-9112-5c8606f07741.png) The [load_dataset_enhancing_performance](https://huggingface.co/docs/datasets/v2.3.2/en/package_reference/main_classes#load_dat...
1,284,141,666
I_kwDODunzps5MinJi
4,565
Add UFSC OCPap dataset
closed
completed
2022-06-24T20:07:54
2022-07-06T19:03:02
2022-07-06T19:03:02Z
https://github.com/huggingface/datasets/issues/4565
johnnv1
[ "dataset request" ]
[]
[ "I will add this directly on the hub (same as #4486)—in https://huggingface.co/lapix" ]
NONE
## Adding a Dataset - **Name:** UFSC OCPap: Papanicolaou Stained Oral Cytology Dataset (v4) - **Description:** The UFSC OCPap dataset comprises 9,797 labeled images of 1200x1600 pixels acquired from 5 slides of cancer diagnosed and 3 healthy of oral brush samples, from distinct patients. - **Paper:** https://dx.doi....
1,283,779,557
I_kwDODunzps5MhOvl
4,562
Dataset Viewer issue for allocine
closed
completed
2022-06-24T13:50:38
2022-06-27T06:39:32
2022-06-24T16:44:41Z
https://github.com/huggingface/datasets/issues/4562
lewtun
[ "dataset-viewer" ]
[ "albertvillanova" ]
[ "I removed my assignment as @huggingface/datasets should be able to answer better than me\r\n", "Let me have a look...", "Thanks for the quick fix @albertvillanova ", "Note that the underlying issue is that datasets containing TAR files are not streamable out of the box: they need being iterated with `dl_mana...
MEMBER
### Link https://huggingface.co/datasets/allocine ### Description Not sure if this is a problem with `bz2` compression, but I thought these datasets could be streamed: ``` Status code: 400 Exception: AttributeError Message: 'TarContainedFile' object has no attribute 'readable' ``` ### Owner No
1,283,462,881
I_kwDODunzps5MgBbh
4,556
Dataset Viewer issue for conll2003
closed
completed
2022-06-24T08:55:18
2022-06-24T09:50:39
2022-06-24T09:50:39Z
https://github.com/huggingface/datasets/issues/4556
lewtun
[ "dataset-viewer" ]
[ "severo" ]
[ "Fixed, thanks." ]
MEMBER
### Link https://huggingface.co/datasets/conll2003/viewer/conll2003/test ### Description Seems like a cache problem with this config / split: ``` Server error Status code: 400 Exception: FileNotFoundError Message: [Errno 2] No such file or directory: '/cache/modules/datasets_modules/datasets/conll...
1,283,451,651
I_kwDODunzps5Mf-sD
4,555
Dataset Viewer issue for xtreme
closed
completed
2022-06-24T08:46:08
2022-06-24T09:50:45
2022-06-24T09:50:45Z
https://github.com/huggingface/datasets/issues/4555
lewtun
[ "dataset-viewer" ]
[ "severo" ]
[ "Fixed, thanks." ]
MEMBER
### Link https://huggingface.co/datasets/xtreme/viewer/PAN-X.de/test ### Description There seems to be a problem with the cache of this config / split: ``` Server error Status code: 400 Exception: FileNotFoundError Message: [Errno 2] No such file or directory: '/cache/modules/datasets_modules/data...
1,282,374,441
I_kwDODunzps5Mb3sp
4,550
imdb source error
closed
completed
2022-06-23T13:02:52
2022-06-23T13:47:05
2022-06-23T13:47:04Z
https://github.com/huggingface/datasets/issues/4550
Muhtasham
[ "bug" ]
[]
[ "Thanks for reporting, @Muhtasham.\r\n\r\nIndeed IMDB dataset is not accessible from yesterday, because the data is hosted on the data owners servers at Stanford (http://ai.stanford.edu/) and these are down due to a power outage originated by a fire: https://twitter.com/StanfordAILab/status/1539472302399623170?s=20...
NONE
## Describe the bug imdb dataset not loading ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("imdb") ``` ## Expected results ## Actual results ```bash 06/23/2022 14:45:18 - INFO - datasets.builder - Dataset not on Hf google storage. Downloading and pr...
1,282,312,975
I_kwDODunzps5MbosP
4,549
FileNotFoundError when passing a data_file inside a directory starting with double underscores
closed
completed
2022-06-23T12:19:24
2022-06-30T14:38:18
2022-06-30T14:38:18Z
https://github.com/huggingface/datasets/issues/4549
lhoestq
[ "bug" ]
[ "mariosasko" ]
[ "I have consistently experienced this bug on GitHub actions when bumping to `2.3.2`", "We're working on a fix ;)" ]
MEMBER
Bug experienced in the `accelerate` CI: https://github.com/huggingface/accelerate/runs/7016055148?check_suite_focus=true This is related to https://github.com/huggingface/datasets/pull/4505 and the changes from https://github.com/huggingface/datasets/pull/4412
1,282,218,096
I_kwDODunzps5MbRhw
4,548
Metadata.jsonl for Imagefolder is ignored if it's in a parent directory to the splits directories/do not have "{split}_" prefix
closed
completed
2022-06-23T10:58:57
2022-06-30T10:15:32
2022-06-30T10:15:32Z
https://github.com/huggingface/datasets/issues/4548
polinaeterna
[]
[ "mariosasko" ]
[ "I agree it would be nice to support this. It doesn't fit really well in the current data_files.py, where files of each splits are separated in different folder though, maybe we have to modify a bit the logic here. \r\n\r\nOne idea would be to extend `get_patterns_in_dataset_repository` and `get_patterns_locally` t...
CONTRIBUTOR
If data contains a single `metadata.jsonl` file for several splits, it won't be included in a dataset's `data_files` and therefore ignored. This happens when a directory is structured like as follows: ``` train/ file_1.jpg file_2.jpg test/ file_3.jpg file_4.jpg metadata.jsonl ``` or like as follows:...
1,280,500,340
I_kwDODunzps5MUuJ0
4,544
[CI] seqeval installation fails sometimes on python 3.6
closed
completed
2022-06-22T16:35:23
2022-06-23T10:13:44
2022-06-23T10:13:44Z
https://github.com/huggingface/datasets/issues/4544
lhoestq
[]
[ "lhoestq" ]
[]
MEMBER
The CI sometimes fails to install seqeval, which cause the `seqeval` metric tests to fail. The installation fails because of this error: ``` Collecting seqeval Downloading seqeval-1.2.2.tar.gz (43 kB) |███████▌ | 10 kB 42.1 MB/s eta 0:00:01 |███████████████ ...
1,280,269,445
I_kwDODunzps5MT1yF
4,542
[to_tf_dataset] Use Feather for better compatibility with TensorFlow ?
open
2022-06-22T14:42:00
2022-10-11T08:45:45
https://github.com/huggingface/datasets/issues/4542
lhoestq
[ "generic discussion" ]
[]
[ "This has so much potential to be great! Also I think you tagged some poor random dude on the internet whose name is also Joao, lol, edited that for you! ", "cc @sayakpaul here too, since he was interested in our new approaches to converting datasets!", "Noted and I will look into the thread in detail tomorrow ...
MEMBER
To have better performance in TensorFlow, it is important to provide lists of data files in supported formats. For example sharded TFRecords datasets are extremely performant. This is because tf.data can better leverage parallelism in this case, and load one file at a time in memory. It seems that using `tensorflow_...
1,280,142,942
I_kwDODunzps5MTW5e
4,540
Avoid splitting by` .py` for the file.
closed
completed
2022-06-22T13:26:55
2022-07-07T13:17:44
2022-07-07T13:17:44Z
https://github.com/huggingface/datasets/issues/4540
espoirMur
[ "good first issue" ]
[ "VijayKalmath" ]
[ "Hi @espoirMur, thanks for reporting.\r\n\r\nYou are right: that code line could be improved and made more generically valid.\r\n\r\nOn the other hand, I would suggest using `os.path.splitext` instead.\r\n\r\nAre you willing to open a PR? :)", "I will have a look.. \r\n\r\nThis weekend .. ", "@albertvillanova ...
NONE
https://github.com/huggingface/datasets/blob/90b3a98065556fc66380cafd780af9b1814b9426/src/datasets/load.py#L272 Hello, Thanks you for this library . I was using it and I had one edge case. my home folder name ends with `.py` it is `/home/espoir.py` so anytime I am running the code to load a local module thi...
1,279,409,786
I_kwDODunzps5MQj56
4,538
Dataset Viewer issue for Pile of Law
closed
completed
2022-06-22T02:48:40
2022-06-27T07:30:23
2022-06-26T22:26:22Z
https://github.com/huggingface/datasets/issues/4538
Breakend
[ "dataset-viewer" ]
[ "severo" ]
[ "Hi @Breakend, yes – we'll propose a solution today", "Thanks so much, I appreciate it!", "Thanks so much for adding the docs. I was able to successfully hide the viewer using the \r\n```\r\nviewer: false\r\n```\r\nflag in the README.md of the dataset. I'm closing the issue because this is resolved. Thanks agai...
NONE
### Link https://huggingface.co/datasets/pile-of-law/pile-of-law ### Description Hi, I would like to turn off the dataset viewer for our dataset without enabling access requests. To comply with upstream dataset creator requests/licenses, we would like to make sure that the data is not indexed by search engines...
1,277,211,490
I_kwDODunzps5MILNi
4,533
Timestamp not returned as datetime objects in streaming mode
closed
completed
2022-06-20T17:28:47
2022-06-22T16:29:09
2022-06-22T16:29:09Z
https://github.com/huggingface/datasets/issues/4533
lhoestq
[ "streaming" ]
[ "lhoestq" ]
[]
MEMBER
As reported in (internal) https://github.com/huggingface/datasets-server/issues/397 ```python >>> from datasets import load_dataset >>> dataset = load_dataset("ett", name="h2", split="test", streaming=True) >>> d = next(iter(dataset)) >>> d['start'] Timestamp('2016-07-01 00:00:00') ``` while loading in non-...
1,277,054,172
I_kwDODunzps5MHkzc
4,531
Dataset Viewer issue for CSV datasets
closed
completed
2022-06-20T14:56:24
2022-06-21T08:28:46
2022-06-21T08:28:27Z
https://github.com/huggingface/datasets/issues/4531
merveenoyan
[ "dataset-viewer" ]
[ "severo" ]
[ "this should now be fixed", "Confirmed, it's fixed now. Thanks for reporting, and thanks @coyotte508 for fixing it\r\n\r\n<img width=\"1123\" alt=\"Capture d’écran 2022-06-21 à 10 28 05\" src=\"https://user-images.githubusercontent.com/1676121/174753833-1b453a5a-6a90-4717-bca1-1b5fc6b75e4a.png\">\r\n" ]
CONTRIBUTOR
### Link https://huggingface.co/datasets/scikit-learn/breast-cancer-wisconsin ### Description I'm populating CSV datasets [here](https://huggingface.co/scikit-learn) but the viewer is not enabled and it looks for a dataset loading script, the datasets aren't on queue as well. You can replicate the problem by sim...
1,276,729,303
I_kwDODunzps5MGVfX
4,529
Ecoset
closed
completed
2022-06-20T10:39:34
2023-10-26T09:12:32
2023-10-04T18:19:52Z
https://github.com/huggingface/datasets/issues/4529
DiGyt
[ "dataset request" ]
[]
[ "Hi! Very cool dataset! I answered your questions on the forum. Also, feel free to comment `#self-assign` on this issue to self-assign it.", "The dataset lives on the Hub [here](https://huggingface.co/datasets/kietzmannlab/ecoset), so I'm closing this issue.", "Hey There, thanks for closing 🤗 \r\n\r\nForgot th...
NONE
## Adding a Dataset - **Name:** *Ecoset* - **Description:** *https://www.kietzmannlab.org/ecoset/* - **Paper:** *https://doi.org/10.1073/pnas.2011417118* - **Data:** *https://codeocean.com/capsule/9570390/tree/v1* - **Motivation:** **Ecoset** was created as a clean and ecologically valid alternative to **Imagen...
1,276,679,155
I_kwDODunzps5MGJPz
4,528
Memory leak when iterating a Dataset
closed
completed
2022-06-20T10:03:14
2022-09-12T08:51:39
2022-09-12T08:51:39Z
https://github.com/huggingface/datasets/issues/4528
NouamaneTazi
[ "bug" ]
[]
[ "Is someone assigned to this issue?", "The same issue is being debugged here: https://github.com/huggingface/datasets/issues/4883\r\n", "Here is a modified repro example that makes it easier to see the leak:\r\n\r\n```\r\n$ cat ds2.py\r\nimport gc, sys\r\nimport time\r\nfrom datasets import load_dataset\r\nimpo...
MEMBER
e## Describe the bug It seems that memory never gets freed after iterating a `Dataset` (using `.map()` or a simple `for` loop) ## Steps to reproduce the bug ```python import gc import logging import time import pyarrow from datasets import load_dataset from tqdm import trange import os, psutil logging.ba...
1,276,583,536
I_kwDODunzps5MFx5w
4,527
Dataset Viewer issue for vadis/sv-ident
closed
completed
2022-06-20T08:47:42
2022-06-21T16:42:46
2022-06-21T16:42:45Z
https://github.com/huggingface/datasets/issues/4527
albertvillanova
[ "dataset-viewer" ]
[ "severo" ]
[ "Fixed, thanks!\r\n![Uploading Capture d’écran 2022-06-21 à 18.42.40.png…]()\r\n\r\n" ]
MEMBER
### Link https://huggingface.co/datasets/vadis/sv-ident ### Description The dataset preview does not work: ``` Server Error Status code: 400 Exception: Status400Error Message: The dataset does not exist. ``` However, the dataset is streamable and works locally: ```python In [1]: from dataset...
1,276,580,185
I_kwDODunzps5MFxFZ
4,526
split cache used when processing different split
open
2022-06-20T08:44:58
2022-06-28T14:04:58
https://github.com/huggingface/datasets/issues/4526
gpucce
[ "bug" ]
[]
[ "I was not able to reproduce this behavior (I tried without using pytorch lightning though, since I don't know what code you ran in pytorch lightning to get this).\r\n\r\nIf you can provide a MWE that would be perfect ! :)", "Hi, I think the issue happened because I was loading datasets under an `if` ... `else` s...
CONTRIBUTOR
## Describe the bug` ``` ds1 = load_dataset('squad', split='validation') ds2 = load_dataset('squad', split='train') ds1 = ds1.map(some_function) ds2 = ds2.map(some_function) assert ds1 == ds2 ``` This happens when ds1 and ds2 are created in `pytorch_lightning.DataModule` through ``` class myDataModule: ...
1,276,491,386
I_kwDODunzps5MFbZ6
4,525
Out of memory error on workers while running Beam+Dataflow
closed
not_planned
2022-06-20T07:28:12
2024-10-09T16:09:50
2024-10-09T16:09:50Z
https://github.com/huggingface/datasets/issues/4525
albertvillanova
[ "bug" ]
[]
[ "Some naive ideas to cope with this:\r\n- enable more RAM on each worker\r\n- force the spanning of more workers\r\n- others?", "@albertvillanova We were finally able to process the full NQ dataset on our machines using 600 gb with 5 workers. Maybe these numbers will work for you as well.", "Thanks a lot for th...
MEMBER
## Describe the bug While running the preprocessing of the natural_question dataset (see PR #4368), there is an issue for the "default" config (train+dev files). Previously we ran the preprocessing for the "dev" config (only dev files) with success. Train data files are larger than dev ones and apparently worker...
1,275,909,186
I_kwDODunzps5MDNRC
4,524
Downloading via Apache Pipeline, client cancelled (org.apache.beam.vendor.grpc.v1p43p2.io.grpc.StatusRuntimeException)
open
2022-06-18T23:36:45
2022-06-21T00:38:20
https://github.com/huggingface/datasets/issues/4524
ddegenaro
[ "bug" ]
[]
[ "Hi @dan-the-meme-man, thanks for reporting.\r\n\r\nWe are investigating a similar issue but with Beam+Dataflow (instead of Beam+Flink): \r\n- #4525\r\n\r\nIn order to go deeper into the root cause, we need as much information as possible: logs from the main process + logs from the workers are very informative.\r\n...
NONE
## Describe the bug When downloading some `wikipedia` languages (in particular, I'm having a hard time with Spanish, Cebuano, and Russian) via FlinkRunner, I encounter the exception in the title. I have been playing with package versions a lot, because unfortunately, the different dependencies required by these packag...
1,274,929,328
I_kwDODunzps5L_eCw
4,522
Try to reduce the number of datasets that require manual download
open
2022-06-17T11:42:03
2022-06-17T11:52:48
https://github.com/huggingface/datasets/issues/4522
severo
[]
[ "mariosasko" ]
[]
COLLABORATOR
> Currently, 41 canonical datasets require manual download. I checked their scripts and I'm pretty sure this number can be reduced to ≈ 30 by not relying on bash scripts to download data, hosting data directly on the Hub when the license permits, etc. Then, we will mostly be left with datasets with restricted access, w...
1,274,919,437
I_kwDODunzps5L_boN
4,521
Datasets method `.map` not hashing
closed
completed
2022-06-17T11:31:10
2022-08-04T12:08:16
2022-06-28T13:23:05Z
https://github.com/huggingface/datasets/issues/4521
sanchit-gandhi
[ "bug" ]
[]
[ "Fix posted: https://github.com/huggingface/datasets/issues/4506#issuecomment-1157417219", "Didn't realize it's a bug when I asked the question yesterday! Free free to post an answer if you are sure the cause has been addressed.\r\n\r\nhttps://stackoverflow.com/questions/72664827/can-pickle-dill-foo-but-not-lambd...
CONTRIBUTOR
## Describe the bug Datasets method `.map` not hashing, even with an empty no-op function ## Steps to reproduce the bug ```python from datasets import load_dataset # download 9MB dummy dataset ds = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean") def prepare_dataset(batch): return(b...
1,274,879,180
I_kwDODunzps5L_RzM
4,520
Failure to hash `dataclasses` - results in functions that cannot be hashed or cached in `.map`
closed
completed
2022-06-17T10:47:17
2022-06-28T14:47:17
2022-06-28T14:04:29Z
https://github.com/huggingface/datasets/issues/4520
sanchit-gandhi
[ "bug" ]
[]
[ "I think this has been fixed by #4516, let me know if you encounter this again :)\r\n\r\nI re-ran your code in 3.7 and 3.9 and it works fine", "Thank you!" ]
CONTRIBUTOR
Dataclasses cannot be hashed. As a result, they cannot be hashed or cached if used in the `.map` method. Dataclasses are used extensively in Transformers examples scripts: (c.f. [CTC example](https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py)). Since...
1,273,505,230
I_kwDODunzps5L6CXO
4,514
Allow .JPEG as a file extension
closed
completed
2022-06-16T12:36:20
2022-06-20T08:18:46
2022-06-16T17:11:40Z
https://github.com/huggingface/datasets/issues/4514
DiGyt
[ "bug" ]
[]
[ "Hi, thanks for reporting! I've opened a PR with the fix.", "Wow, that was quick! Thank you very much 🙏 " ]
NONE
## Describe the bug When loading image data, HF datasets seems to recognize `.jpg` and `.jpeg` file extensions, but not e.g. .JPEG. As the naming convention .JPEG is used in important datasets such as imagenet, I would welcome if according extensions like .JPEG or .JPG would be allowed. ## Steps to reproduce the bu...
1,272,718,921
I_kwDODunzps5L3CZJ
4,508
cast_storage method from datasets.features
closed
completed
2022-06-15T20:47:22
2022-06-16T13:54:07
2022-06-16T13:54:07Z
https://github.com/huggingface/datasets/issues/4508
romainremyb
[ "bug" ]
[ "lhoestq" ]
[ "Hi! We've recently added a check to the `ClassLabel` type to ensure the values are in the valid label range `-1, 0, ..., num_classes-1` (-1 is used for missing values). The error in your case happens only if the `labels` column is of type `Sequence(ClassLabel(...))` before the `map` call and can be avoided by call...
NONE
## Describe the bug A bug occurs when mapping a function to a dataset object. I ran the same code with the same data yesterday and it worked just fine. It works when i run locally on an old version of datasets. ## Steps to reproduce the bug Steps are: - load whatever datset - write a preprocessing function such ...
1,272,615,932
I_kwDODunzps5L2pP8
4,507
How to let `load_dataset` return a `Dataset` instead of `DatasetDict` in customized loading script
closed
completed
2022-06-15T18:56:34
2022-06-16T10:40:08
2022-06-16T10:40:08Z
https://github.com/huggingface/datasets/issues/4507
liyucheng09
[ "enhancement" ]
[]
[ "Hi @liyucheng09.\r\n\r\nUsers can pass the `split` parameter to `load_dataset`. For example, if your split name is \"train\",\r\n```python\r\nds = load_dataset(\"dataset_name\", split=\"train\")\r\n```\r\nwill return a `Dataset` instance.", "@albertvillanova Thanks! I can't believe I didn't know this feature til...
NONE
If the dataset does not need splits, i.e., no training and validation split, more like a table. How can I let the `load_dataset` function return a `Dataset` object directly rather than return a `DatasetDict` object with only one key-value pair. Or I can paraphrase the question in the following way: how to skip `_spl...
1,272,516,895
I_kwDODunzps5L2REf
4,506
Failure to hash (and cache) a `.map(...)` (almost always) - using this method can produce incorrect results
closed
completed
2022-06-15T17:11:31
2023-02-16T03:14:32
2022-06-28T13:23:05Z
https://github.com/huggingface/datasets/issues/4506
DrMatters
[ "bug" ]
[ "lhoestq" ]
[ "Important info:\r\n\r\nAs hashes are generated randomly for functions, it leads to **false identifying some results as already hashed** (mapping function is not executed after a method update) when there's a `pytorch_lightning.seed_everything(123)`", "@lhoestq\r\nseems like quite critical stuff for me, if I'm no...
NONE
## Describe the bug Sometimes I get messages about not being able to hash a method: `Parameter 'function'=<function StupidDataModule._separate_speaker_id_from_dialogue at 0x7f1b27180d30> of the transform datasets.arrow_dataset.Dataset. _map_single couldn't be hashed properly, a random hash was used instead. Make sur...
1,272,418,480
I_kwDODunzps5L15Cw
4,504
Can you please add the Stanford dog dataset?
closed
completed
2022-06-15T15:39:35
2024-12-09T15:44:11
2023-10-18T18:55:30Z
https://github.com/huggingface/datasets/issues/4504
dgrnd4
[ "good first issue", "dataset request" ]
[ "khushmeeet" ]
[ "would you like to give it a try, @dgrnd4? (maybe with the help of the dataset author?)", "@julien-c i am sorry but I have no idea about how it works: can I add the dataset by myself, following \"instructions to add a new dataset\"?\r\nCan I add a dataset even if it's not mine? (it's public in the link that I wro...
NONE
## Adding a Dataset - **Name:** *Stanford dog dataset* - **Description:** *The dataset is about 120 classes for a total of 20.580 images. You can find the dataset here http://vision.stanford.edu/aditya86/ImageNetDogs/* - **Paper:** *http://vision.stanford.edu/aditya86/ImageNetDogs/* - **Data:** *[link to the Github...
1,272,353,700
I_kwDODunzps5L1pOk
4,502
Logic bug in arrow_writer?
closed
completed
2022-06-15T14:50:00
2022-06-18T15:15:51
2022-06-18T15:15:51Z
https://github.com/huggingface/datasets/issues/4502
changjonathanc
[]
[]
[ "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 ...
CONTRIBUTOR
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())...
1,272,100,549
I_kwDODunzps5L0rbF
4,498
WER and CER > 1
closed
completed
2022-06-15T11:35:12
2022-06-15T16:38:05
2022-06-15T16:38:05Z
https://github.com/huggingface/datasets/issues/4498
sadrasabouri
[ "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" ]
NONE
## 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#...
1,271,850,599
I_kwDODunzps5LzuZn
4,494
Patching fails for modules that are not installed or don't exist
closed
completed
2022-06-15T08:17:29
2022-06-15T08:54:09
2022-06-15T08:54:09Z
https://github.com/huggingface/datasets/issues/4494
lhoestq
[]
[]
[]
MEMBER
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...
1,270,803,822
I_kwDODunzps5Lvu1u
4,491
Dataset Viewer issue for Pavithree/test
closed
completed
2022-06-14T13:23:10
2022-06-14T14:37:21
2022-06-14T14:34:33Z
https://github.com/huggingface/datasets/issues/4491
Pavithree
[ "dataset-viewer" ]
[ "severo" ]
[ "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." ]
NONE
### 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...
1,270,719,074
I_kwDODunzps5LvaJi
4,490
Use `torch.nested_tensor` for arrays of varying length in torch formatter
open
2022-06-14T12:19:40
2023-07-07T13:02:58
https://github.com/huggingface/datasets/issues/4490
mariosasko
[ "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." ]
COLLABORATOR
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.
1,269,253,840
I_kwDODunzps5Lp0bQ
4,483
Dataset.map throws pyarrow.lib.ArrowNotImplementedError when converting from list of empty lists
closed
completed
2022-06-13T10:47:52
2022-06-14T13:34:14
2022-06-14T13:34:14Z
https://github.com/huggingface/datasets/issues/4483
sanderland
[ "bug" ]
[ "lhoestq" ]
[ "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...
CONTRIBUTOR
## 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...
1,268,921,567
I_kwDODunzps5LojTf
4,480
Bigbench tensorflow GPU dependency
closed
completed
2022-06-13T05:24:06
2022-06-14T19:45:24
2022-06-14T19:45:23Z
https://github.com/huggingface/datasets/issues/4480
cceyda
[ "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...
CONTRIBUTOR
## 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...
1,268,358,213
I_kwDODunzps5LmZxF
4,478
Dataset slow during model training
open
2022-06-11T19:40:19
2022-06-14T12:04:31
https://github.com/huggingface/datasets/issues/4478
lehrig
[ "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...
NONE
## 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/...
1,268,308,986
I_kwDODunzps5LmNv6
4,477
Dataset Viewer issue for fgrezes/WIESP2022-NER
closed
completed
2022-06-11T15:49:17
2022-07-18T13:07:33
2022-07-18T13:07:33Z
https://github.com/huggingface/datasets/issues/4477
AshTayade
[]
[ "lhoestq" ]
[ "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...
NONE
### Link _No response_ ### Description _No response_ ### Owner _No response_
1,267,987,499
I_kwDODunzps5Lk_Qr
4,476
`to_pandas` doesn't take into account format.
closed
completed
2022-06-10T20:25:31
2022-06-15T17:41:41
2022-06-15T17:41:41Z
https://github.com/huggingface/datasets/issues/4476
Dref360
[ "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...
CONTRIBUTOR
**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...
1,267,475,268
I_kwDODunzps5LjCNE
4,471
CI error with repo lhoestq/_dummy
closed
completed
2022-06-10T12:26:06
2022-06-10T13:24:53
2022-06-10T13:24:53Z
https://github.com/huggingface/datasets/issues/4471
albertvillanova
[ "bug" ]
[]
[ "fixed by https://github.com/huggingface/datasets/pull/4472" ]
MEMBER
## 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...
1,266,218,358
I_kwDODunzps5LePV2
4,467
Transcript string 'null' converted to [None] by load_dataset()
closed
completed
2022-06-09T14:26:00
2023-07-04T02:18:39
2022-06-09T16:29:02Z
https://github.com/huggingface/datasets/issues/4467
mbarnig
[ "bug" ]
[ "albertvillanova" ]
[ "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...
NONE
## 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: ``` ...
1,265,079,347
I_kwDODunzps5LZ5Qz
4,462
BigBench: NonMatchingSplitsSizesError when passing a dataset configuration parameter
open
reopened
2022-06-08T17:31:24
2022-07-05T07:39:55
https://github.com/huggingface/datasets/issues/4462
lhoestq
[ "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...
MEMBER
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 ...
1,264,800,451
I_kwDODunzps5LY1LD
4,461
AttributeError: module 'datasets' has no attribute 'load_dataset'
closed
completed
2022-06-08T13:59:20
2024-03-25T12:58:29
2022-06-08T14:41:00Z
https://github.com/huggingface/datasets/issues/4461
AlexNLP
[ "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 👍 " ]
NONE
## 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
1,263,241,449
I_kwDODunzps5LS4jp
4,456
Workflow for Tabular data
open
2022-06-07T12:48:22
2023-03-06T08:53:55
https://github.com/huggingface/datasets/issues/4456
lhoestq
[ "enhancement", "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...
MEMBER
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...
1,262,674,973
I_kwDODunzps5LQuQd
4,454
Dataset Viewer issue for Yaxin/SemEval2015
closed
completed
2022-06-07T03:31:46
2022-06-07T11:53:11
2022-06-07T11:53:11Z
https://github.com/huggingface/datasets/issues/4454
WithYouTo
[ "duplicate", "dataset-viewer" ]
[ "severo" ]
[ "Closing since it's a duplicate of https://github.com/huggingface/datasets/issues/4453" ]
NONE
### Link _No response_ ### Description the link could not visit ### Owner _No response_
1,262,674,105
I_kwDODunzps5LQuC5
4,453
Dataset Viewer issue for Yaxin/SemEval2015
closed
completed
2022-06-07T03:30:08
2022-06-09T08:34:16
2022-06-09T08:34:16Z
https://github.com/huggingface/datasets/issues/4453
WithYouTo
[]
[ "albertvillanova", "lhoestq" ]
[ "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```", ...
NONE
### Link _No response_ ### Description _No response_ ### Owner _No response_
1,262,529,654
I_kwDODunzps5LQKx2
4,452
Trying to load FEVER dataset results in NonMatchingChecksumError
closed
completed
2022-06-06T23:13:15
2022-12-15T13:36:40
2022-06-08T07:16:16Z
https://github.com/huggingface/datasets/issues/4452
santhnm2
[ "bug" ]
[ "albertvillanova" ]
[ "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." ]
NONE
## 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...
1,261,262,326
I_kwDODunzps5LLVX2
4,449
Rj
closed
completed
2022-06-06T02:24:32
2022-06-06T15:44:50
2022-06-06T15:44:50Z
https://github.com/huggingface/datasets/issues/4449
Aeckard45
[]
[]
[]
NONE
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...
1,260,966,129
I_kwDODunzps5LKNDx
4,448
New Preprocessing Feature - Deduplication [Request]
open
2022-06-05T05:32:56
2023-12-12T07:52:40
https://github.com/huggingface/datasets/issues/4448
yuvalkirstain
[ "duplicate", "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...
NONE
**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...
1,259,606,334
I_kwDODunzps5LFBE-
4,443
Dataset Viewer issue for openclimatefix/nimrod-uk-1km
open
2022-06-03T08:17:16
2023-09-25T12:15:08
https://github.com/huggingface/datasets/issues/4443
ZYMXIXI
[]
[]
[ "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...
NONE
### Link _No response_ ### Description _No response_ ### Owner _No response_
1,258,589,276
I_kwDODunzps5LBIxc
4,442
Dataset Viewer issue for amazon_polarity
closed
completed
2022-06-02T19:18:38
2022-06-07T18:50:37
2022-06-07T18:50:37Z
https://github.com/huggingface/datasets/issues/4442
lewtun
[ "dataset-viewer" ]
[ "severo" ]
[ "Thanks, looking at it", "Not sure what happened 😬, but it's fixed" ]
MEMBER
### 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...
1,258,568,656
I_kwDODunzps5LBDvQ
4,441
Dataset Viewer issue for aeslc
closed
completed
2022-06-02T18:57:12
2022-06-07T18:50:55
2022-06-07T18:50:55Z
https://github.com/huggingface/datasets/issues/4441
lewtun
[ "dataset-viewer" ]
[ "severo" ]
[ "Not sure what happened 😬, but it's fixed" ]
MEMBER
### 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...
1,258,434,111
I_kwDODunzps5LAi4_
4,439
TIMIT won't load after manual download: Errors about files that don't exist
closed
completed
2022-06-02T16:35:56
2022-06-03T08:44:17
2022-06-03T08:44:16Z
https://github.com/huggingface/datasets/issues/4439
drscotthawley
[ "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...
NONE
## 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...
1,257,496,552
I_kwDODunzps5K89_o
4,435
Load a local cached dataset that has been modified
closed
completed
2022-06-02T01:51:49
2022-06-02T23:59:26
2022-06-02T23:59:18Z
https://github.com/huggingface/datasets/issues/4435
mihail911
[ "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. " ]
NONE
## 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...
1,254,412,591
I_kwDODunzps5KxNEv
4,430
Add ability to load newer, cleaner version of Multi-News
closed
completed
2022-05-31T21:00:44
2022-06-07T17:14:44
2022-06-07T17:14:44Z
https://github.com/huggingface/datasets/issues/4430
JohnGiorgi
[ "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...
CONTRIBUTOR
**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...
1,254,092,818
I_kwDODunzps5Kv_AS
4,428
Errors when building dummy data if you use nested _URLS
closed
completed
2022-05-31T16:10:57
2022-06-07T09:24:09
2022-06-07T09:24:09Z
https://github.com/huggingface/datasets/issues/4428
silverriver
[ "bug" ]
[]
[]
CONTRIBUTOR
## 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...
1,253,887,311
I_kwDODunzps5KvM1P
4,426
Add loading variable number of columns for different splits
closed
completed
2022-05-31T13:40:16
2022-06-03T16:25:25
2022-06-03T16:25:25Z
https://github.com/huggingface/datasets/issues/4426
DrMatters
[ "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. " ]
NONE
**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 ...
1,253,146,511
I_kwDODunzps5KsX-P
4,422
Cannot load timit_asr data set
closed
completed
2022-05-30T22:00:22
2022-06-02T06:34:05
2022-05-31T13:42:31Z
https://github.com/huggingface/datasets/issues/4422
bhaddow
[ "bug" ]
[ "albertvillanova" ]
[ "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. ", ...
NONE
## 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...
1,252,739,239
I_kwDODunzps5Kq0in
4,420
Metric evaluation problems in multi-node, shared file system
closed
completed
2022-05-30T13:24:05
2023-07-11T09:33:18
2023-07-11T09:33:17Z
https://github.com/huggingface/datasets/issues/4420
gullabi
[ "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...
NONE
## 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...
1,252,652,896
I_kwDODunzps5Kqfdg
4,419
Update `unittest` assertions over tuples from `assertEqual` to `assertTupleEqual`
closed
completed
2022-05-30T12:13:18
2022-09-30T16:01:37
2022-09-30T16:01:37Z
https://github.com/huggingface/datasets/issues/4419
alvarobartt
[ "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...
MEMBER
**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...
1,251,933,091
I_kwDODunzps5Knvuj
4,417
how to convert a dict generator into a huggingface dataset.
closed
completed
2022-05-29T16:28:27
2022-09-16T14:44:19
2022-09-16T14:44:19Z
https://github.com/huggingface/datasets/issues/4417
StephennFernandes
[ "question" ]
[ "mariosasko" ]
[ "@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...
NONE
### 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 ...
1,250,259,822
I_kwDODunzps5KhXNu
4,413
Dataset Viewer issue for ett
closed
completed
2022-05-27T02:12:35
2022-06-15T07:30:46
2022-06-15T07:30:46Z
https://github.com/huggingface/datasets/issues/4413
dgcnz
[ "dataset-viewer" ]
[ "severo" ]
[ "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...
NONE
### 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
1,248,671,778
I_kwDODunzps5KbTgi
4,407
Dataset Viewer issue for conll2012_ontonotesv5
closed
completed
2022-05-25T20:18:33
2022-06-07T18:39:16
2022-06-07T18:39:16Z
https://github.com/huggingface/datasets/issues/4407
jiangwangyi
[ "dataset-viewer" ]
[ "severo" ]
[ "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...
NONE
### Link https://huggingface.co/datasets/conll2012_ontonotesv5 ### Description Dataset viewer outage. ### Owner No
1,248,574,087
I_kwDODunzps5Ka7qH
4,405
[TypeError: Couldn't cast array of type] Cannot process dataset in v2.2.2
closed
completed
2022-05-25T18:56:43
2022-06-07T14:27:20
2022-06-07T14:27:20Z
https://github.com/huggingface/datasets/issues/4405
jiangwangyi
[ "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...
NONE
## 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...
1,248,572,899
I_kwDODunzps5Ka7Xj
4,404
Dataset should have a `.name` field
closed
completed
2022-05-25T18:56:08
2022-09-13T15:09:30
2022-06-16T10:47:53Z
https://github.com/huggingface/datasets/issues/4404
f4hy
[ "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...
NONE
**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...
1,247,695,921
I_kwDODunzps5KXlQx
4,401
"NonMatchingChecksumError" when importing 'spider' dataset
closed
completed
2022-05-25T07:45:07
2022-05-26T06:40:12
2022-05-26T06:40:12Z
https://github.com/huggingface/datasets/issues/4401
OmarAlaaeldein
[ "hosted-on-google-drive" ]
[ "albertvillanova" ]
[ "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...
NONE
## 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...
1,247,404,237
I_kwDODunzps5KWeDN
4,400
load dataset wikitext-2-raw-v1 failed. Could not reach wikitext-2-raw-v1.py.
closed
completed
2022-05-25T03:10:44
2022-10-24T06:10:27
2022-05-25T03:26:36Z
https://github.com/huggingface/datasets/issues/4400
cailun01
[ "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```" ]
NONE
## 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...