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_kwDODunzps5FyXqG
3,937
Missing languages in lvwerra/github-code dataset
Hi, I'm working with the github-code dataset. First of all, thank you for creating this amazing dataset! I've noticed that two languages are missing from the dataset: TypeScript and Scala. Looks like they're also omitted from the query you used to get the original code. Are there any plans to add them in the fut...
CLOSED
2022-03-16T10:32:03
2022-03-22T07:09:23
2022-03-21T14:50:47
https://github.com/huggingface/datasets/issues/3937
{ "login": "Eytan-S" }
{ "nodes": [ { "name": "Dataset discussion" } ] }
[ "Thanks for contacting @Eytan-S.\r\n\r\nI think @lvwerra could better answer this. ", "That seems to be an oversight - I originally planned to include them in the dataset and for some reason they were in the list of languages but not in the query. Since there is an issue with the deduplication step I'll rerun the...
I_kwDODunzps5Fvcs7
3,929
Load a local dataset twice
## Describe the bug Load a local "dataset" composed of two csv files twice. ## Steps to reproduce the bug Put the two joined files in a repository named "Data". Then in python: import datasets as ds ds.load_dataset('Data', data_files = {'file1.csv', 'file2.csv'}) ## Expected results Should give something ...
CLOSED
2022-03-15T18:59:26
2022-03-16T09:55:09
2022-03-16T09:54:06
https://github.com/huggingface/datasets/issues/3929
{ "login": "caush" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @caush, thanks for reporting:\r\n\r\nIn order to load local CSV files, you can use our \"csv\" loading script: https://huggingface.co/docs/datasets/loading#csv\r\n```python\r\ndataset = load_dataset(\"csv\", data_files=[\"data/file1.csv\", \"data/file2.csv\"])\r\n```\r\nOR:\r\n```python\r\ndataset = load_datase...
I_kwDODunzps5FvQts
3,928
Frugal score deprecations
## Describe the bug The frugal score returns a really verbose output with warnings that can be easily changed. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from datasets.load import load_metric frugal = load_metric("frugalscore") frugal.compute(predictions=["Do you like spinach...
CLOSED
2022-03-15T18:10:42
2022-03-17T08:37:24
2022-03-17T08:37:24
https://github.com/huggingface/datasets/issues/3928
{ "login": "ierezell" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @Ierezell, thanks for reporting.\r\n\r\nI'm making a PR to suppress those logs from the terminal. " ]
I_kwDODunzps5FtaeH
3,920
'datasets.features' is not a package
@albertvillanova python 3.9 os: ubuntu 20.04 In conda environment torch installed by ```/env/bin/pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html``` datasets package is installed by ``` /env/bin/pip install datasets==1.8....
CLOSED
2022-03-15T11:14:23
2022-03-16T09:17:12
2022-03-16T09:17:12
https://github.com/huggingface/datasets/issues/3920
{ "login": "Arij-Aladel" }
{ "nodes": [] }
[ "Hi @Arij-Aladel,\r\n\r\nYou are using a very old version of our library `datasets`: 1.8.0\r\nCurrent version is 2.0.0 (and the previous one was 1.18.4)\r\n\r\nPlease, try to update `datasets` library and check if the problem persists:\r\n```shell\r\n/env/bin/pip install -U datasets", "The problem I can no I have...
I_kwDODunzps5FtRx6
3,919
AttributeError: 'DatasetDict' object has no attribute 'features'
## Describe the bug Receiving the error when trying to check for Dataset features ## Steps to reproduce the bug from datasets import Dataset dataset = Dataset.from_pandas(df[['id', 'words', 'bboxes', 'ner_tags', 'image_path']]) dataset.features ## Expected results A clear and concise description of the exp...
CLOSED
2022-03-15T10:46:59
2022-03-17T04:16:14
2022-03-17T04:16:14
https://github.com/huggingface/datasets/issues/3919
{ "login": "jswapnil10" }
{ "nodes": [ { "name": "bug" } ] }
[ "You are likely trying to get the `features` from a `DatasetDict`, a dictionary containing `Datasets`. You probably first want to index into a particular split from your `DatasetDict` i.e. `dataset['train'].features`. \r\n\r\nFor example \r\n\r\n```python \r\nds = load_dataset('mnist')\r\nds.features\r\n```\r\nRetu...
I_kwDODunzps5Fsxxl
3,918
datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files
## Describe the bug Can't load the dataset ## Steps to reproduce the bug ```python # Sample code to reproduce the bug ``` from datasets import load_dataset dataset = load_dataset('multi_news') dataset_2=load_dataset("reddit_tifu", "long") ## Actual results raise NonMatchingChecksumError(error_msg + s...
CLOSED
2022-03-15T08:53:45
2022-03-16T15:36:58
2022-03-15T14:01:25
https://github.com/huggingface/datasets/issues/3918
{ "login": "willowdong" }
{ "nodes": [ { "name": "bug" }, { "name": "duplicate" } ] }
[ "Hi @willowdong! These issues were fixed on master. We will have a new release of `datasets` later today. In the meantime, you can avoid these issues by installing `datasets` from master as follows:\r\n```bash\r\npip install git+https://github.com/huggingface/datasets.git\r\n```", "You should force redownload:\r\...
I_kwDODunzps5FpxYK
3,909
Error loading file audio when downloading the Common Voice dataset directly from the Hub
## Describe the bug When loading the Common_Voice dataset, by downloading it directly from the Hugging Face hub, some files can not be opened. ## Steps to reproduce the bug ```python import torch import torchaudio from datasets import load_dataset, load_metric from transformers import Wav2Vec2ForCTC, Wav2Vec2...
CLOSED
2022-03-14T15:53:50
2023-03-02T15:31:27
2023-03-02T15:31:26
https://github.com/huggingface/datasets/issues/3909
{ "login": "aliceinland" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi ! It could an issue with torchaudio, which version of torchaudio are you using ? Can you also try updating `datasets` to 2.0.0 and see if it works ?", "I _might_ have a similar issue. I'm trying to use the librispeech_asr dataset and read it with soundfile.\r\n\r\n```python\r\nfrom datasets import load_datase...
I_kwDODunzps5FpdbI
3,906
NonMatchingChecksumError on Spider dataset
## Describe the bug Failure to generate dataset ```spider``` because of checksums error for dataset source files. ## Steps to reproduce the bug ``` from datasets import load_dataset spider = load_dataset("spider") ``` ## Expected results Checksums should match for files from url ['https://drive.google.com...
CLOSED
2022-03-14T14:54:53
2022-03-15T07:09:51
2022-03-15T07:09:51
https://github.com/huggingface/datasets/issues/3906
{ "login": "kolk" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @kolk, thanks for reporting.\r\n\r\nIndeed, Google Drive service recently changed their service and we had to add a fix to our library to cope with that change:\r\n- #3787 \r\n\r\nWe just made patch release last week: 1.18.4 https://github.com/huggingface/datasets/releases/tag/1.18.4\r\n\r\nPlease, feel free to...
I_kwDODunzps5FmiWv
3,904
CONLL2003 Dataset not available
## Describe the bug [CONLL2003](https://huggingface.co/datasets/conll2003) Dataset can no longer reach 'https://data.deepai.org/conll2003.zip' ![image](https://user-images.githubusercontent.com/4755430/158084483-ff83631c-5154-4823-892d-577bf1166db0.png) ## Steps to reproduce the bug ```python from datasets impo...
CLOSED
2022-03-13T23:46:15
2023-06-28T18:08:16
2022-03-17T08:21:32
https://github.com/huggingface/datasets/issues/3904
{ "login": "omarespejel" }
{ "nodes": [ { "name": "dataset bug" } ] }
[ "Thanks for reporting, @omarespejel.\r\n\r\nI'm sorry but I can't reproduce the issue: the loading of the dataset works perfecto for me and I can reach the data URL: https://data.deepai.org/conll2003.zip\r\n\r\nMight it be due to a temporary problem in the data owner site (https://data.deepai.org/) that is fixed no...
I_kwDODunzps5FlSlx
3,902
Can't import datasets: partially initialized module 'fsspec' has no attribute 'utils'
## Describe the bug Unable to import datasets ## Steps to reproduce the bug ```python from datasets import Dataset, DatasetDict ``` ## Expected results The import works without errors ## Actual results ``` AttributeError Traceback (most recent call last) <ipython-input-37-c8c...
CLOSED
2022-03-12T21:22:03
2023-02-09T14:53:49
2022-03-22T07:10:41
https://github.com/huggingface/datasets/issues/3902
{ "login": "arunasank" }
{ "nodes": [ { "name": "bug" } ] }
[ "Update: `\"python3 -c \"from from datasets import Dataset, DatasetDict\"` works, but not if I import without the `python3 -c`", "Hi @arunasank, thanks for reporting.\r\n\r\nIt seems that this can be caused because you are using an old version of `fsspec`: the reason why it works if you run `python3` seems to be ...
I_kwDODunzps5FlDD9
3,901
Dataset viewer issue for IndicParaphrase- the preview doesn't show
## Dataset viewer issue for '*IndicParaphrase*' **Link:** *[IndicParaphrase](https://huggingface.co/datasets/ai4bharat/IndicParaphrase/viewer/hi/validation)* *The preview of the dataset doesn't come up. The error on the console is: Status code: 400 Exception: FileNotFoundError Message: [Errno 2] ...
CLOSED
2022-03-12T16:56:05
2022-04-12T12:10:50
2022-04-12T12:10:49
https://github.com/huggingface/datasets/issues/3901
{ "login": "ratishsp" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "It seems to have been fixed:\r\n\r\n<img width=\"1534\" alt=\"Capture d’écran 2022-04-12 à 14 10 07\" src=\"https://user-images.githubusercontent.com/1676121/162959599-6b7fef7c-8411-4e03-8f00-90040a658079.png\">\r\n" ]
I_kwDODunzps5FiVWu
3,896
Missing google file for `multi_news` dataset
## Dataset viewer issue for '*multi_news*' **Link:** https://huggingface.co/datasets/multi_news ``` Server error Status code: 400 Exception: FileNotFoundError Message: https://drive.google.com/uc?export=download&id=1vRY2wM6rlOZrf9exGTm5pXj5ExlVwJ0C/multi-news-original/train.src ``` Am I the ...
CLOSED
2022-03-11T16:38:10
2022-03-15T12:30:23
2022-03-15T12:30:23
https://github.com/huggingface/datasets/issues/3896
{ "login": "severo" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "reported by @abidlabs ", "related to https://github.com/huggingface/datasets/pull/3843?", "`datasets` 1.18.4 fixes the issue when you load the dataset with `load_dataset`.\r\n\r\nWhen loading in streaming mode, the fix is indeed on https://github.com/huggingface/datasets/pull/3843 which will be merged soon :)"...
I_kwDODunzps5Fd3LT
3,889
Cannot load beans dataset (Couldn't reach the dataset)
## Describe the bug The beans dataset is unavailable to download. ## Steps to reproduce the bug ```python from datasets import load_dataset ds = load_dataset('beans') ``` ## Expected results The dataset would be downloaded with no issue. ## Actual results ``` ConnectionError: Couldn't reach https://s...
CLOSED
2022-03-10T16:34:08
2022-03-15T15:26:47
2022-03-15T15:26:47
https://github.com/huggingface/datasets/issues/3889
{ "login": "ivsanro1" }
{ "nodes": [ { "name": "dataset bug" } ] }
[ "Hi ! A pull request is open to fix the dataset, we'll release a patch soon with a new release of `datasets` :)" ]
I_kwDODunzps5FdyKJ
3,888
IterableDataset columns and feature types
Right now, an IterableDataset (e.g. when streaming a dataset) doesn't require to know the list of columns it contains, nor their types: `my_iterable_dataset.features` may be `None` However it's often interesting to know the column types and types. This helps knowing what's inside your dataset without having to manua...
OPEN
2022-03-10T16:19:12
2022-11-29T11:39:24
null
https://github.com/huggingface/datasets/issues/3888
{ "login": "lhoestq" }
{ "nodes": [ { "name": "generic discussion" }, { "name": "streaming" } ] }
[ "#self-assign", "@alvarobartt I've assigned you the issue since I'm not actively working on it.", "Cool thanks @mariosasko I'll try to fix it in the upcoming days, thanks!", "@lhoestq so in order to address what’s not completed in this issue, do you think it makes sense to add a param `features` to `IterableD...
I_kwDODunzps5Fa1m9
3,883
The metric Meteor doesn't work for nltk ==3.6.4
## Describe the bug Using the metric Meteor with nltk == 3.6.4 gives a TypeError: TypeError: descriptor 'lower' for 'str' objects doesn't apply to a 'list' object ## Steps to reproduce the bug ```python import datasets metric = datasets.load_metric("meteor") predictions = ["hello world"] references = ["hello ...
CLOSED
2022-03-10T02:28:27
2022-03-10T09:03:39
2022-03-10T09:03:39
https://github.com/huggingface/datasets/issues/3883
{ "login": "zhaowei-wang-nlp" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @zhaowei-wang98, thanks for reporting.\r\n\r\nWe are fixing it... " ]
I_kwDODunzps5FaCCl
3,881
How to use Image folder
Ran this code ``` load_dataset("imagefolder", data_dir="./my-dataset") ``` `https://raw.githubusercontent.com/huggingface/datasets/master/datasets/imagefolder/imagefolder.py` missing ``` --------------------------------------------------------------------------- FileNotFoundError Trace...
CLOSED
2022-03-09T21:18:52
2022-03-11T08:45:52
2022-03-11T08:45:52
https://github.com/huggingface/datasets/issues/3881
{ "login": "rozeappletree" }
{ "nodes": [ { "name": "question" } ] }
[ "Even this from docs throw same error\r\n```\r\ndataset = load_dataset(\"imagefolder\", data_files=\"https://download.microsoft.com/download/3/E/1/3E1C3F21-ECDB-4869-8368-6DEBA77B919F/kagglecatsanddogs_3367a.zip\", split=\"train\")\r\n\r\n```", "Hi @INF800,\r\n\r\nPlease note that the `imagefolder` feature enhanc...
I_kwDODunzps5FY3aH
3,877
Align metadata to DCAT/DCAT-AP
**Is your feature request related to a problem? Please describe.** Align to DCAT metadata to describe datasets **Describe the solution you'd like** Reuse terms and structure from DCAT in the metadata file, ideally generate a json-ld file dcat compliant **Describe alternatives you've considered** **Addition...
OPEN
2022-03-09T16:12:25
2022-03-09T16:33:42
null
https://github.com/huggingface/datasets/issues/3877
{ "login": "EmidioStani" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps5FXvzi
3,872
HTTP error 504 Server Error: Gateway Time-out
I am trying to push a large dataset(450000+) records with the help of `push_to_hub()` While pushing, it gives some error like this. ``` Traceback (most recent call last): File "data_split_speech.py", line 159, in <module> data_new_2.push_to_hub("user-name/dataset-name",private=True) File "/opt/conda/lib...
CLOSED
2022-03-09T12:03:37
2022-03-15T16:19:50
2022-03-15T16:19:50
https://github.com/huggingface/datasets/issues/3872
{ "login": "illiyas-sha" }
{ "nodes": [] }
[ "is pushing directly with git (and git-lfs) an option for you?", "I have installed git-lfs and doing this push with that\r\n", "yes but is there any way you could try pushing with `git` command line directly instead of `push_to_hub`?", "Okay. I didnt saved the dataset to my local machine. So, I processed the ...
I_kwDODunzps5FWJsw
3,869
Making the Hub the place for datasets in Portuguese
Let's make Hugging Face Datasets the central hub for datasets in Portuguese :) **Motivation**. Datasets are currently quite scattered and an open-source central point such as the Hugging Face Hub would be ideal to support the growth of the Portuguese speaking community. What are some datasets in Portuguese worth ...
OPEN
2022-03-09T03:06:18
2022-03-09T09:04:09
null
https://github.com/huggingface/datasets/issues/3869
{ "login": "omarespejel" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "Hi @omarespejel! I think the philosophy for `datasets` issues is to create concrete issues with proposals to add a specific, individual dataset rather than umbrella issues for things such as datasets for a language, since we could end up with hundreds of issues (one per language). I see NILC - USP has many dataset...
I_kwDODunzps5FTWzc
3,861
big_patent cased version
Hi! I am interested in working with the big_patent dataset. In Tensorflow, there are a number of versions of the dataset: - 1.0.0 : lower cased tokenized words - 2.0.0 : Update to use cased raw strings - 2.1.2 (default): Fix update to cased raw strings. The version in the huggingface `datasets` library is th...
CLOSED
2022-03-08T14:08:55
2023-04-21T14:32:03
2023-04-21T14:32:03
https://github.com/huggingface/datasets/issues/3861
{ "login": "slvcsl" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "To follow up on this: the cased and uncased versions actually contain different content, and the cased one is easier since it contains a Summary of the Invention in the input.\r\n\r\nSee the paper describing the issue here:\r\nhttps://aclanthology.org/2022.gem-1.34/", "Thanks for proposing the addition of the ca...
I_kwDODunzps5FSz9l
3,859
Unable to dowload big_patent (FileNotFoundError)
## Describe the bug I am trying to download some splits of the big_patent dataset, using the following code: `ds = load_dataset("big_patent", "g", split="validation", download_mode="force_redownload") ` However, this leads to a FileNotFoundError. FileNotFoundError Traceback (most recent...
CLOSED
2022-03-08T11:47:12
2022-03-08T13:04:09
2022-03-08T13:04:04
https://github.com/huggingface/datasets/issues/3859
{ "login": "slvcsl" }
{ "nodes": [ { "name": "bug" }, { "name": "duplicate" } ] }
[ "Hi @slvcsl, thanks for reporting.\r\n\r\nYesterday we just made a patch release of our `datasets` library that fixes this issue: version 1.18.4.\r\nhttps://pypi.org/project/datasets/#history\r\n\r\nPlease, feel free to update `datasets` library to the latest version: \r\n```shell\r\npip install -U datasets\r\n```\...
I_kwDODunzps5FSrqp
3,857
Order of dataset changes due to glob.glob.
## Describe the bug After discussion with @lhoestq, just want to mention here that `glob.glob(...)` should always be used in combination with `sorted(...)` to make sure the list of files returned by `glob.glob(...)` doesn't change depending on the OS system. There are currently multiple datasets that use `glob.g...
OPEN
2022-03-08T11:10:30
2022-03-14T11:08:22
null
https://github.com/huggingface/datasets/issues/3857
{ "login": "patrickvonplaten" }
{ "nodes": [ { "name": "generic discussion" } ] }
[ "I agree using `glob.glob` alone is bad practice because it's not deterministic. Using `sorted` is a nice solution.\r\n\r\nNote that the `xglob` function you are referring to in the `streaming_download_manager.py` code just extends `glob.glob` for URLs - we don't change its behavior. That's why it has no `sorted()`...
I_kwDODunzps5FSY7N
3,855
Bad error message when loading private dataset
## Describe the bug A pretty common behavior of an interaction between the Hub and datasets is the following. An organization adds a dataset in private mode and wants to load it afterward. ```python from transformers import load_dataset ds = load_dataset("NewT5/dummy_data", "dummy") ``` This command th...
CLOSED
2022-03-08T09:55:17
2022-07-11T15:06:40
2022-07-11T15:06:40
https://github.com/huggingface/datasets/issues/3855
{ "login": "patrickvonplaten" }
{ "nodes": [ { "name": "bug" } ] }
[ "We raise the error “ FileNotFoundError: can’t find the dataset” mainly to follow best practice in security (otherwise users could be able to guess what private repositories users/orgs may have)\r\n\r\nWe can indeed reformulate this and add the \"If this is a private repository,...\" part !", "Resolved via https:...
I_kwDODunzps5FSVaX
3,854
load only England English dataset from common voice english dataset
training_data = load_dataset("common_voice", "en",split='train[:250]+validation[:250]') testing_data = load_dataset("common_voice", "en", split="test[:200]") I'm trying to load only 8% of the English common voice data with accent == "England English." Can somebody assist me with this? **Typical Voice Accent Prop...
CLOSED
2022-03-08T09:40:52
2024-03-23T12:40:58
2022-03-09T08:13:33
https://github.com/huggingface/datasets/issues/3854
{ "login": "amanjaiswal777" }
{ "nodes": [ { "name": "question" } ] }
[ "Hi @amanjaiswal777,\r\n\r\nFirst note that the dataset you are trying to load is deprecated: it was the Common Voice dataset release as of Dec 2020.\r\n\r\nCurrently, Common Voice dataset releases are directly hosted on the Hub, under the Mozilla Foundation organization: https://huggingface.co/mozilla-foundation\r...
I_kwDODunzps5FRNGO
3,851
Load audio dataset error
## Load audio dataset error Hi, when I load audio dataset following https://huggingface.co/docs/datasets/audio_process and https://github.com/huggingface/datasets/tree/master/datasets/superb, ``` from datasets import load_dataset, load_metric, Audio raw_datasets = load_dataset("superb", "ks", split="train") prin...
CLOSED
2022-03-08T02:16:04
2022-09-27T12:13:55
2022-03-08T11:20:06
https://github.com/huggingface/datasets/issues/3851
{ "login": "lemoner20" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @lemoner20, thanks for reporting.\r\n\r\nI'm sorry but I cannot reproduce your problem:\r\n```python\r\nIn [1]: from datasets import load_dataset, load_metric, Audio\r\n ...: raw_datasets = load_dataset(\"superb\", \"ks\", split=\"train\")\r\n ...: print(raw_datasets[0][\"audio\"])\r\nDownloading builder sc...
I_kwDODunzps5FQ-Lm
3,848
NonMatchingChecksumError when checksum is None
I ran into the following error when adding a new dataset: ```bash expected_checksums = {'https://adversarialglue.github.io/dataset/dev.zip': {'checksum': None, 'num_bytes': 40662}} recorded_checksums = {'https://adversarialglue.github.io/dataset/dev.zip': {'checksum': 'efb4cbd3aa4a87bfaffc310ae951981cc0a36c6c71c64...
CLOSED
2022-03-08T00:24:12
2022-03-15T14:37:26
2022-03-15T12:28:23
https://github.com/huggingface/datasets/issues/3848
{ "login": "jxmorris12" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @jxmorris12, thanks for reporting.\r\n\r\nThe objective of `verify_checksums` is to check that both checksums are equal. Therefore if one is None and the other is non-None, they are not equal, and the function accordingly raises a NonMatchingChecksumError. That behavior is expected.\r\n\r\nThe question is: how ...
I_kwDODunzps5FQIWh
3,847
Datasets' cache not re-used
## Describe the bug For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory. ## Steps to reproduce the bug Here is a reproducer. The GPT2 tokenizer works perfectly with ca...
CLOSED
2022-03-07T19:55:15
2026-03-09T18:30:43
2026-03-09T18:30:43
https://github.com/huggingface/datasets/issues/3847
{ "login": "gejinchen" }
{ "nodes": [ { "name": "bug" } ] }
[ "<s>I think this is because the tokenizer is stateful and because the order in which the splits are processed is not deterministic. Because of that, the hash of the tokenizer may change for certain splits, which causes issues with caching.\r\n\r\nTo fix this we can try making the order of the splits deterministic f...
I_kwDODunzps5FNpCC
3,841
Pyright reportPrivateImportUsage when `from datasets import load_dataset`
## Describe the bug Pyright complains about module not exported. ## Steps to reproduce the bug Use an editor/IDE with Pyright Language server with default configuration: ```python from datasets import load_dataset ``` ## Expected results No complain from Pyright ## Actual results Pyright complain below...
CLOSED
2022-03-07T10:24:04
2023-02-18T19:14:03
2023-02-13T13:48:41
https://github.com/huggingface/datasets/issues/3841
{ "login": "lkhphuc" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi! \r\n\r\nThis issue stems from `datasets` having `py.typed` defined (see https://github.com/microsoft/pyright/discussions/3764#discussioncomment-3282142) - to avoid it, we would either have to remove `py.typed` (added to be compliant with PEP-561) or export the names with `__all__`/`from .submodule import name ...
I_kwDODunzps5FNkD6
3,839
CI is broken for Windows
## Describe the bug See: https://app.circleci.com/pipelines/github/huggingface/datasets/10292/workflows/83de4a55-bff7-43ec-96f7-0c335af5c050/jobs/63355 ``` ___________________ test_datasetdict_from_text_split[test] ____________________ [gw0] win32 -- Python 3.7.11 C:\tools\miniconda3\envs\py37\python.exe split...
CLOSED
2022-03-07T10:06:42
2022-05-20T14:13:43
2022-03-07T10:07:24
https://github.com/huggingface/datasets/issues/3839
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps5FNYz-
3,838
Add a data type for labeled images (image segmentation)
It might be a mix of Image and ClassLabel, and the color palette might be generated automatically. --- ### Example every pixel in the images of the annotation column (in https://huggingface.co/datasets/scene_parse_150) has a value that gives its class, and the dataset itself is associated with a color palette ...
OPEN
2022-03-07T09:38:15
2025-11-28T10:58:23
null
https://github.com/huggingface/datasets/issues/3838
{ "login": "severo" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "💯 would be cool to have, but imo after #10769" ]
I_kwDODunzps5FM-ZV
3,835
The link given on the gigaword does not work
## 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-03-07T07:56:42
2022-03-15T12:30:23
2022-03-15T12:30:23
https://github.com/huggingface/datasets/issues/3835
{ "login": "martin6336" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps5FK-CW
3,832
Making Hugging Face the place to go for Graph NNs datasets
Let's make Hugging Face Datasets the central hub for GNN datasets :) **Motivation**. Datasets are currently quite scattered and an open-source central point such as the Hugging Face Hub would be ideal to support the growth of the GNN field. What are some datasets worth integrating into the Hugging Face hub? In...
OPEN
2022-03-06T03:02:58
2022-03-14T07:45:38
null
https://github.com/huggingface/datasets/issues/3832
{ "login": "omarespejel" }
{ "nodes": [ { "name": "dataset request" }, { "name": "graph" } ] }
[ "It will be indeed really great to add support to GNN datasets. Big :+1: for this initiative.", "@napoles-uach identifies the [TUDatasets](https://chrsmrrs.github.io/datasets/) (A collection of benchmark datasets for graph classification and regression). \r\n\r\nAdded to the Tasks in the initial issue.", "Thank...
I_kwDODunzps5FK9cI
3,831
when using to_tf_dataset with shuffle is true, not all completed batches are made
## Describe the bug when converting a dataset to tf_dataset by using to_tf_dataset with shuffle true, the remainder is not converted to one batch ## Steps to reproduce the bug this is the sample code below https://colab.research.google.com/drive/1_oRXWsR38ElO1EYF9ayFoCU7Ou1AAej4?usp=sharing ## Expected resul...
CLOSED
2022-03-06T02:43:50
2022-03-08T15:18:56
2022-03-08T15:18:56
https://github.com/huggingface/datasets/issues/3831
{ "login": "greenned" }
{ "nodes": [ { "name": "bug" } ] }
[ "Maybe @Rocketknight1 can help here", "Hi @greenned, this is expected behaviour for `to_tf_dataset`. By default, we drop the smaller 'remainder' batch during training (i.e. when `shuffle=True`). If you really want to keep that batch, you can set `drop_remainder=False` when calling `to_tf_dataset()`.", "@Rocketk...
I_kwDODunzps5FJvac
3,830
Got error when load cnn_dailymail dataset
When using datasets.load_dataset method to load cnn_dailymail dataset, got error as below: - windows os: FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'D:\\SourceCode\\DataScience\\HuggingFace\\Data\\downloads\\1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b\\cnn\\stories' - google colab: NotADirec...
CLOSED
2022-03-05T01:43:12
2022-03-07T06:53:41
2022-03-07T06:53:41
https://github.com/huggingface/datasets/issues/3830
{ "login": "wgong0510" }
{ "nodes": [ { "name": "duplicate" } ] }
[ "Was able to reproduce the issue on Colab; full logs below. \r\n\r\n```\r\n---------------------------------------------------------------------------\r\nNotADirectoryError Traceback (most recent call last)\r\n[<ipython-input-2-39967739ba7f>](https://localhost:8080/#) in <module>()\r\n 1...
I_kwDODunzps5FJozw
3,829
[📄 Docs] Create a `datasets` performance guide.
## Brief Overview Downloading, saving, and preprocessing large datasets from the `datasets` library can often result in [performance bottlenecks](https://github.com/huggingface/datasets/issues/3735). These performance snags can be challenging to identify and to debug, especially for users who are less experienced with...
OPEN
2022-03-05T00:28:06
2022-03-10T16:24:27
null
https://github.com/huggingface/datasets/issues/3829
{ "login": "dynamicwebpaige" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Hi ! Yes this is definitely something we'll explore, since optimizing processing pipelines can be challenging and because performance is key here: we want anyone to be able to play with large-scale datasets more easily.\r\n\r\nI think we'll start by documenting the performance of the dataset transforms we provide,...
I_kwDODunzps5FJSwd
3,828
The Pile's _FEATURE spec seems to be incorrect
## Describe the bug If you look at https://huggingface.co/datasets/the_pile/blob/main/the_pile.py: For "all" * the pile_set_name is never set for data * there's actually an id field inside of "meta" For subcorpora pubmed_central and hacker_news: * the meta is specified to be a string, but it's actually a di...
CLOSED
2022-03-04T21:25:32
2022-03-08T09:30:49
2022-03-08T09:30:48
https://github.com/huggingface/datasets/issues/3828
{ "login": "dlwh" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @dlwh, thanks for reporting.\r\n\r\nPlease note, that the source data files for \"all\" config are different from the other configurations.\r\n\r\nThe \"all\" config contains the official Pile data files, from https://mystic.the-eye.eu/public/AI/pile/\r\nAll data examples contain a \"meta\" dict with a single \...
I_kwDODunzps5FHIh0
3,823
500 internal server error when trying to open a dataset composed of Zarr stores
## Describe the bug The dataset [openclimatefix/mrms](https://huggingface.co/datasets/openclimatefix/mrms) gives a 500 server error when trying to open it on the website, or through code. The dataset doesn't have a loading script yet, and I did push two [xarray](https://docs.xarray.dev/en/stable/) Zarr stores of da...
CLOSED
2022-03-04T10:37:14
2022-03-08T09:47:39
2022-03-08T09:47:39
https://github.com/huggingface/datasets/issues/3823
{ "login": "jacobbieker" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @jacobbieker, thanks for reporting!\r\n\r\nI have transferred this issue to our Hub team and they are investigating it. I keep you informed. ", "Hi @jacobbieker, we are investigating this issue on our side and we'll see if we can fix it, but please note that your repo is considered problematic for git. Here a...
I_kwDODunzps5FGvmQ
3,822
Add Biwi Kinect Head Pose Database
## Adding a Dataset - **Name:** Biwi Kinect Head Pose Database - **Description:** Over 15K images of 20 people recorded with a Kinect while turning their heads around freely. For each frame, depth and rgb images are provided, together with ground in the form of the 3D location of the head and its rotation angles. - ...
CLOSED
2022-03-04T08:48:39
2025-04-07T13:04:25
2022-06-01T13:00:47
https://github.com/huggingface/datasets/issues/3822
{ "login": "osanseviero" }
{ "nodes": [ { "name": "dataset request" }, { "name": "vision" } ] }
[ "Official dataset location : https://icu.ee.ethz.ch/research/datsets.html\r\nIn the \"Biwi Kinect Head Pose Database\" section, I do not find any information regarding \"Downloading the dataset.\" . Do we mail the authors regarding this ?\r\n\r\nI found the dataset on Kaggle : [Link](https://www.kaggle.com/kmader/b...
I_kwDODunzps5FFpAr
3,820
`pubmed_qa` checksum mismatch
## Describe the bug Loading [`pubmed_qa`](https://huggingface.co/datasets/pubmed_qa) results in a mismatched checksum error. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug import datasets try: datasets.load_dataset("pubmed_qa", "pqa_labeled") except Exception as e: print(e...
CLOSED
2022-03-04T00:28:08
2022-03-04T09:42:32
2022-03-04T09:42:32
https://github.com/huggingface/datasets/issues/3820
{ "login": "jon-tow" }
{ "nodes": [ { "name": "bug" }, { "name": "duplicate" } ] }
[ "Hi @jon-tow, thanks for reporting.\r\n\r\nThis issue was already reported and its root cause is a change in the Google Drive service. See:\r\n- #3786 \r\n\r\nWe have already fixed it. See:\r\n- #3787 \r\n\r\nWe are planning to make a patch release today.\r\n\r\nIn the meantime, you can get this fix by installing o...
I_kwDODunzps5FEbXB
3,818
Support for "sources" parameter in the add() and add_batch() methods in datasets.metric - SARI
**Is your feature request related to a problem? Please describe.** The methods `add_batch` and `add` from the `Metric` [class](https://github.com/huggingface/datasets/blob/1675ad6a958435b675a849eafa8a7f10fe0f43bc/src/datasets/metric.py) does not work with [SARI](https://github.com/huggingface/datasets/blob/master/metr...
CLOSED
2022-03-03T18:57:54
2022-03-04T18:04:21
2022-03-04T18:04:21
https://github.com/huggingface/datasets/issues/3818
{ "login": "lmvasque" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Hi, thanks for reporting! We can add a `sources: datasets.Value(\"string\")` feature to the `Features` dict in the `SARI` script to fix this. Would you be interested in submitting a PR?", "Hi Mario,\r\n\r\nThanks for your message. I did try to add `sources` into the `Features` dict using a script for the metric:...
I_kwDODunzps5FDOxr
3,813
Add MetaShift dataset
## Adding a Dataset - **Name:** MetaShift - **Description:** collection of 12,868 sets of natural images across 410 classes- - **Paper:** https://arxiv.org/abs/2202.06523v1 - **Data:** https://github.com/weixin-liang/metashift Instructions to add a new dataset can be found [here](https://github.com/huggingface/...
CLOSED
2022-03-03T14:26:45
2022-04-10T13:39:59
2022-04-10T13:39:59
https://github.com/huggingface/datasets/issues/3813
{ "login": "osanseviero" }
{ "nodes": [ { "name": "dataset request" }, { "name": "vision" } ] }
[ "I would like to take this up and give it a shot. Any image specific - dataset guidelines to keep in mind ? Thank you.", "#self-assign", "I've started working on adding this dataset. I require some inputs on the following : \r\n\r\nRef for the initial draft [here](https://github.com/dnaveenr/datasets/blob/add_m...
I_kwDODunzps5FB934
3,809
Checksums didn't match for datasets on Google Drive
## Describe the bug Datasets hosted on Google Drive do not seem to work right now. Loading them fails with a checksum error. ## Steps to reproduce the bug ```python from datasets import load_dataset for dataset in ["head_qa", "yelp_review_full"]: try: load_dataset(dataset) except Exception as excep...
CLOSED
2022-03-03T09:01:10
2022-03-03T09:24:58
2022-03-03T09:24:05
https://github.com/huggingface/datasets/issues/3809
{ "login": "muelletm" }
{ "nodes": [ { "name": "bug" }, { "name": "duplicate" } ] }
[ "Hi @muelletm, thanks for reporting.\r\n\r\nThis issue was already reported and its root cause is a change in the Google Drive service. See:\r\n- #3786 \r\n\r\nWe have already fixed it. See:\r\n- #3787 \r\n\r\nUntil our next `datasets` library release, you can get this fix by installing our library from the GitHub ...
I_kwDODunzps5FAFZ7
3,808
Pre-Processing Cache Fails when using a Factory pattern
## Describe the bug If you utilize a pre-processing function which is created using a factory pattern, the function hash changes on each run (even if the function is identical) and therefore the data will be reproduced each time. ## Steps to reproduce the bug ```python def preprocess_function_factory(augmenta...
CLOSED
2022-03-02T20:18:43
2022-03-10T23:01:47
2022-03-10T23:01:47
https://github.com/huggingface/datasets/issues/3808
{ "login": "Helw150" }
{ "nodes": [ { "name": "bug" } ] }
[ "Ok - this is still an issue but I believe the root cause is different than I originally thought. I'm now able to get caching to work consistently with the above example as long as I fix the python hash seed `export PYTHONHASHSEED=1234`", "Hi! \r\n\r\nYes, our hasher should work with decorators. For instance, thi...
I_kwDODunzps5E_oik
3,807
NonMatchingChecksumError in xcopa dataset
## Describe the bug Loading the xcopa dataset doesn't work, it fails due to a mismatch in the checksum. ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("xcopa", "it") ``` ## Expected results The dataset should be loaded correctly. ## Actual results Fails ...
CLOSED
2022-03-02T18:10:19
2022-05-20T06:00:42
2022-03-03T17:40:31
https://github.com/huggingface/datasets/issues/3807
{ "login": "afcruzs-ms" }
{ "nodes": [ { "name": "bug" } ] }
[ "@albertvillanova here's a separate issue for a bug similar to #3792", "Hi @afcruzs-ms, thanks for opening this separate issue for your problem.\r\n\r\nThe root problem in the other issue (#3792) was a change in the service of Google Drive.\r\n\r\nBut in your case, the `xcopa` dataset is not hosted on Google Driv...
I_kwDODunzps5E-vR-
3,804
Text builder with custom separator line boundaries
**Is your feature request related to a problem? Please describe.** The current [Text](https://github.com/huggingface/datasets/blob/207be676bffe9d164740a41a883af6125edef135/src/datasets/packaged_modules/text/text.py#L23) builder implementation splits texts with `splitlines()` which splits the text on several line bound...
OPEN
2022-03-02T14:50:16
2022-03-16T15:53:59
null
https://github.com/huggingface/datasets/issues/3804
{ "login": "cronoik" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Gently pinging @lhoestq", "Hi ! Interresting :)\r\n\r\nCould you give more details on what kind of separators you would like to use instead ?", "In my case, I just want to use `\\n` but not `U+2028`.", "Ok I see, maybe there can be a `sep` parameter to allow users to specify what line/paragraph separator the...
I_kwDODunzps5EvV7h
3,795
can not flatten natural_questions dataset
## Describe the bug after downloading the natural_questions dataset, can not flatten the dataset considering there are `long answer` and `short answer` in `annotations`. ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('natural_questions',cache_dir = 'data/datase...
CLOSED
2022-02-27T13:57:40
2022-03-21T14:36:12
2022-03-21T14:36:12
https://github.com/huggingface/datasets/issues/3795
{ "login": "Hannibal046" }
{ "nodes": [ { "name": "bug" } ] }
[ "same issue. downgrade it to a lower version.", "Thanks for reporting, I'll take a look tomorrow :)" ]
I_kwDODunzps5EmAD0
3,792
Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*' **Link:** *link to the dataset viewer page* `data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]") ` *short description of the issue* ``` [NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.co...
CLOSED
2022-02-25T19:55:09
2024-03-13T12:25:08
2022-02-28T08:44:18
https://github.com/huggingface/datasets/issues/3792
{ "login": "rafikg" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "Same issue with `dataset = load_dataset(\"dbpedia_14\")`\r\n```\r\nNonMatchingChecksumError: Checksums didn't match for dataset source files:\r\n['https://drive.google.com/uc?export=download&id=0Bz8a_Dbh9QhbQ2Vic1kxMmZZQ1k']", "I think this is a side-effect of #3787. The checksums won't match because the URLs ha...
I_kwDODunzps5EkVco
3,788
Only-data dataset loaded unexpectedly as validation split
## Describe the bug As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`.
OPEN
2022-02-25T12:11:39
2022-02-28T11:22:22
null
https://github.com/huggingface/datasets/issues/3788
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[ "I see two options:\r\n1. drop the \"dev\" keyword since it can be considered too generic\r\n2. improve the pattern to something more reasonable, e.g. asking for a separator before and after \"dev\"\r\n```python\r\n[\"*[ ._-]dev[ ._-]*\", \"dev[ ._-]*\"]\r\n```\r\n\r\nI think 2. is nice. If we agree on this one we ...
I_kwDODunzps5Ejynr
3,786
Bug downloading Virus scan warning page from Google Drive URLs
## Describe the bug Recently, some issues were reported with URLs from Google Drive, where we were downloading the Virus scan warning page instead of the data file itself. See: - #3758 - #3773 - #3784
CLOSED
2022-02-25T09:32:23
2022-03-03T09:25:59
2022-02-25T11:56:35
https://github.com/huggingface/datasets/issues/3786
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[ "Once the PR merged into master and until our next `datasets` library release, you can get this fix by installing our library from the GitHub master branch:\r\n```shell\r\npip install git+https://github.com/huggingface/datasets#egg=datasets\r\n```\r\nThen, if you had previously tried to load the data and got the ch...
I_kwDODunzps5EjH3j
3,784
Unable to Download CNN-Dailymail Dataset
## Describe the bug I am unable to download the CNN-Dailymail dataset. Upon closer investigation, I realised why this was happening: - The dataset sits in Google Drive, and both the CNN and DM datasets are large. - Google is unable to scan the folder for viruses, **so the link which would originally download the dat...
CLOSED
2022-02-25T05:24:47
2022-03-03T14:05:17
2022-03-03T14:05:17
https://github.com/huggingface/datasets/issues/3784
{ "login": "AngadSethi" }
{ "nodes": [ { "name": "bug" } ] }
[ "#self-assign", "@AngadSethi thanks for reporting and thanks for your PR!", "Glad to help @albertvillanova! Just fine-tuning the PR, will comment once I am able to get it up and running 😀", "Fixed by:\r\n- #3787" ]
I_kwDODunzps5Ea4xC
3,778
Not be able to download dataset - "Newsroom"
Hello, I tried to download the **newsroom** dataset but it didn't work out for me. it said me to **download it manually**! For manually, Link is also didn't work! It is sawing some ad or something! If anybody has solved this issue please help me out or if somebody has this dataset please share your google driv...
CLOSED
2022-02-23T10:15:50
2022-02-23T17:05:04
2022-02-23T13:26:40
https://github.com/huggingface/datasets/issues/3778
{ "login": "Darshan2104" }
{ "nodes": [ { "name": "dataset bug" } ] }
[ "Hi @Darshan2104, thanks for reporting.\r\n\r\nPlease note that at Hugging Face we do not host the data of this dataset, but just a loading script pointing to the host of the data owners.\r\n\r\nApparently the data owners changed their data host server. After googling it, I found their new website at: https://lil.n...
I_kwDODunzps5EXM6H
3,776
Allow download only some files from the Wikipedia dataset
**Is your feature request related to a problem? Please describe.** The Wikipedia dataset can be really big. This is a problem if you want to use it locally in a laptop with the Apache Beam `DirectRunner`. Even if your laptop have a considerable amount of memory (e.g. 32gb). **Describe the solution you'd like** I...
OPEN
2022-02-22T13:46:41
2022-02-22T14:50:02
null
https://github.com/huggingface/datasets/issues/3776
{ "login": "jvanz" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Hi @jvanz, thank you for your proposal.\r\n\r\nIn fact, we are aware that it is very common the problem you mention. Because of that, we are currently working in implementing a new version of wikipedia on the Hub, with all data preprocessed (no need to use Apache Beam), from where you will be able to use `data_fil...
I_kwDODunzps5EWiS_
3,773
Checksum mismatch for the reddit_tifu dataset
## Describe the bug A checksum occurs when downloading the reddit_tifu data (both long & short). ## Steps to reproduce the bug reddit_tifu_dataset = load_dataset('reddit_tifu', 'long') ## Expected results The expected result is for the dataset to be downloaded and cached locally. ## Actual results File "...
CLOSED
2022-02-22T10:57:07
2022-02-25T19:27:49
2022-02-22T12:38:44
https://github.com/huggingface/datasets/issues/3773
{ "login": "anna-kay" }
{ "nodes": [ { "name": "bug" } ] }
[ "Thanks for reporting, @anna-kay. We are fixing it.", "@albertvillanova Thank you for the fast response! However I am still getting the same error:\r\n\r\nDownloading: 2.23kB [00:00, ?B/s]\r\nTraceback (most recent call last):\r\n File \"C:\\Users\\Anna\\PycharmProjects\\summarization\\main.py\", line 17, in <mo...
I_kwDODunzps5EU7Wb
3,770
DuplicatedKeysError on msr_sqa dataset
### Describe the bug Failure to generate dataset msr_sqa because of duplicate keys. ### Steps to reproduce the bug ``` from datasets import load_dataset load_dataset("msr_sqa") ``` ### Expected results The examples keys should be unique. **Actual results** ``` >>> load_dataset("msr_sqa") Downloading: 6...
CLOSED
2022-02-22T00:43:33
2022-02-22T08:12:39
2022-02-22T08:12:39
https://github.com/huggingface/datasets/issues/3770
{ "login": "kolk" }
{ "nodes": [] }
[ "Thanks for reporting, @kolk.\r\n\r\nWe are fixing it. " ]
I_kwDODunzps5EUoJn
3,769
`dataset = dataset.map()` causes faiss index lost
## Describe the bug assigning the resulted dataset to original dataset causes lost of the faiss index ## Steps to reproduce the bug `my_dataset` is a regular loaded dataset. It's a part of a customed dataset structure ```python self.dataset.add_faiss_index('embeddings') self.dataset.list_indexes() # ['embeddin...
OPEN
2022-02-21T21:59:23
2022-06-27T14:56:29
null
https://github.com/huggingface/datasets/issues/3769
{ "login": "Oaklight" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi ! Indeed `map` is dropping the index right now, because one can create a dataset with more or fewer rows using `map` (and therefore the index might not be relevant anymore)\r\n\r\nI guess we could check the resulting dataset length, and if the user hasn't changed the dataset size we could keep the index, what d...
I_kwDODunzps5EQPJq
3,764
!
## 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-02-20T19:05:43
2022-02-21T08:55:58
2022-02-21T08:55:58
https://github.com/huggingface/datasets/issues/3764
{ "login": "LesiaFedorenko" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[]
I_kwDODunzps5EQNZm
3,763
It's not possible download `20200501.pt` dataset
## Describe the bug The dataset `20200501.pt` is broken. The available datasets: https://dumps.wikimedia.org/ptwiki/ ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("wikipedia", "20200501.pt", beam_runner='DirectRunner') ``` ## Expected results I expect t...
CLOSED
2022-02-20T18:34:58
2022-02-21T12:06:12
2022-02-21T09:25:06
https://github.com/huggingface/datasets/issues/3763
{ "login": "jvanz" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @jvanz, thanks for reporting.\r\n\r\nPlease note that Wikimedia website does not longer host Wikipedia dumps for so old dates.\r\n\r\nFor a list of accessible dump dates of `pt` Wikipedia, please see: https://dumps.wikimedia.org/ptwiki/\r\n\r\nYou can load for example `20220220` `pt` Wikipedia:\r\n```python\r\n...
I_kwDODunzps5EPQSV
3,762
`Dataset.class_encode` should support custom class names
I can make a PR, just wanted approval before starting. **Is your feature request related to a problem? Please describe.** It is often the case that classes are not ordered in alphabetical order. Current `class_encode_column` sort the classes before indexing. https://github.com/huggingface/datasets/blob/master/sr...
CLOSED
2022-02-19T21:21:45
2022-02-21T12:16:35
2022-02-21T12:16:35
https://github.com/huggingface/datasets/issues/3762
{ "login": "Dref360" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Hi @Dref360, thanks a lot for your proposal.\r\n\r\nIt totally makes sense to have more flexibility when class encoding, I agree.\r\n\r\nYou could even further customize the class encoding by passing an instance of `ClassLabel` itself (instead of replicating `ClassLabel` instantiation arguments as `Dataset.class_e...
I_kwDODunzps5EPLru
3,761
Know your data for HF hub
**Is your feature request related to a problem? Please describe.** Would be great to see be able to understand datasets with the goal of improving data quality, and helping mitigate fairness and bias issues. **Describe the solution you'd like** Something like https://knowyourdata.withgoogle.com/ for HF hub
CLOSED
2022-02-19T19:48:47
2022-02-21T14:15:23
2022-02-21T14:15:23
https://github.com/huggingface/datasets/issues/3761
{ "login": "Muhtasham" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Hi @Muhtasham you should take a look at https://huggingface.co/blog/data-measurements-tool and accompanying demo app at https://huggingface.co/spaces/huggingface/data-measurements-tool\r\n\r\nWe would be interested in your feedback. cc @meg-huggingface @sashavor @yjernite " ]
I_kwDODunzps5EPFTO
3,760
Unable to view the Gradio flagged call back dataset
## Dataset viewer issue for '*savtadepth-flags*' **Link:** *[savtadepth-flags](https://huggingface.co/datasets/kingabzpro/savtadepth-flags)* *with the Gradio 2.8.1 the dataset viers stopped working. I tried to add values manually but its not working. The dataset is also not showing the link with the app https://h...
CLOSED
2022-02-19T17:45:08
2022-03-22T07:12:11
2022-03-22T07:12:11
https://github.com/huggingface/datasets/issues/3760
{ "login": "kingabzpro" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "Hi @kingabzpro.\r\n\r\nI think you need to create a loading script that creates the dataset from the CSV file and the image paths.\r\n\r\nAs example, you could have a look at the Food-101 dataset: https://huggingface.co/datasets/food101\r\n- Loading script: https://huggingface.co/datasets/food101/blob/main/food101...
I_kwDODunzps5EJmL5
3,758
head_qa file missing
## Describe the bug A file for the `head_qa` dataset is missing (https://drive.google.com/u/0/uc?export=download&id=1a_95N5zQQoUCq8IBNVZgziHbeM-QxG2t/HEAD_EN/train_HEAD_EN.json) ## Steps to reproduce the bug ```python >>> from datasets import load_dataset >>> load_dataset("head_qa", name="en") ``` ## Expec...
CLOSED
2022-02-18T16:32:43
2022-02-28T14:29:18
2022-02-21T14:39:19
https://github.com/huggingface/datasets/issues/3758
{ "login": "severo" }
{ "nodes": [ { "name": "bug" } ] }
[ "We usually find issues with files hosted at Google Drive...\r\n\r\nIn this case we download the Google Drive Virus scan warning instead of the data file.", "Fixed: https://huggingface.co/datasets/head_qa/viewer/en/train. Thanks\r\n\r\n<img width=\"1551\" alt=\"Capture d’écran 2022-02-28 à 15 29 04\" src=\"http...
I_kwDODunzps5EJPlh
3,756
Images get decoded when using `map()` with `input_columns` argument on a dataset
## Describe the bug The `datasets.features.Image` feature class decodes image data by default. Expectedly, when indexing a dataset or using the `map()` method, images are returned as PIL Image instances. However, when calling `map()` and setting a specific data column with the `input_columns` argument, the image ...
CLOSED
2022-02-18T15:35:38
2022-12-13T16:59:06
2022-12-13T16:59:06
https://github.com/huggingface/datasets/issues/3756
{ "login": "kklemon" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi! If I'm not mistaken, this behavior is intentional, but I agree it could be more intuitive.\r\n\r\n@albertvillanova Do you remember why you decided not to decode columns in the `Audio` feature PR when `input_columns` is not `None`? IMO we should decode those columns, and we don't even have to use lazy structure...
I_kwDODunzps5EIUyB
3,755
Cannot preview dataset
## Dataset viewer issue for '*rubrix/news*' **Link:https://huggingface.co/datasets/rubrix/news** *link to the dataset viewer page* Cannot see the dataset preview: ``` Status code: 400 Exception: Status400Error Message: Not found. Cache is waiting to be refreshed. ``` Am I the one who added thi...
CLOSED
2022-02-18T13:06:45
2022-02-19T14:30:28
2022-02-18T15:41:33
https://github.com/huggingface/datasets/issues/3755
{ "login": "frascuchon" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "Thanks for reporting. The dataset viewer depends on some backend treatments, and for now, they might take some hours to get processed. We're working on improving it.", "It has finally been processed. Thanks for the patience.", "Thanks for the info @severo !" ]
I_kwDODunzps5EHxCI
3,754
Overflowing indices in `select`
## Describe the bug The `Dataset.select` function seems to accept indices that are larger than the dataset size and seems to effectively use `index %len(ds)`. ## Steps to reproduce the bug ```python from datasets import Dataset ds = Dataset.from_dict({"test": [1,2,3]}) ds = ds.select(range(5)) print(ds) p...
CLOSED
2022-02-18T11:30:52
2022-02-18T11:38:23
2022-02-18T11:38:23
https://github.com/huggingface/datasets/issues/3754
{ "login": "lvwerra" }
{ "nodes": [ { "name": "bug" } ] }
[ "Fixed on master (see https://github.com/huggingface/datasets/pull/3719).", "Awesome, I did not find that one! Thanks." ]
I_kwDODunzps5EHhEY
3,753
Expanding streaming capabilities
Some ideas for a few features that could be useful when working with large datasets in streaming mode. ## `filter` for `IterableDataset` Adding filtering to streaming datasets would be useful in several scenarios: - filter a dataset with many languages for a subset of languages - filter a dataset for specific li...
OPEN
2022-02-18T10:45:41
2025-03-19T14:50:14
null
https://github.com/huggingface/datasets/issues/3753
{ "login": "lvwerra" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Related to: https://github.com/huggingface/datasets/issues/3444", "Cool ! `filter` will be very useful. There can be a filter that you can apply on a streaming dataset:\r\n```python\r\nload_dataset(..., streaming=True).filter(lambda x: x[\"lang\"] == \"sw\")\r\n```\r\n\r\nOtherwise if you want to apply a filter ...
I_kwDODunzps5EF8SL
3,750
`NonMatchingSplitsSizesError` for cats_vs_dogs dataset
## Describe the bug Cannot download cats_vs_dogs dataset due to `NonMatchingSplitsSizesError`. ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("cats_vs_dogs") ``` ## Expected results Loading is successful. ## Actual results ``` NonMatchingSplitsSiz...
CLOSED
2022-02-18T05:46:39
2022-02-18T14:56:11
2022-02-18T14:56:11
https://github.com/huggingface/datasets/issues/3750
{ "login": "jaketae" }
{ "nodes": [ { "name": "bug" } ] }
[ "Thnaks for reporting @jaketae. We are fixing it. " ]
I_kwDODunzps5EDMoW
3,747
Passing invalid subset should throw an error
## Describe the bug Only some datasets have a subset (as in `load_dataset(name, subset)`). If you pass an invalid subset, an error should be thrown. ## Steps to reproduce the bug ```python import datasets datasets.load_dataset('rotten_tomatoes', 'asdfasdfa') ``` ## Expected results This should break, since ...
OPEN
2022-02-17T18:16:11
2022-02-17T18:16:11
null
https://github.com/huggingface/datasets/issues/3747
{ "login": "jxmorris12" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps5ECVCt
3,744
Better shards shuffling in streaming mode
Sometimes a dataset script has a `_split_generators` that returns several files as well as the corresponding metadata of each file. It often happens that they end up in two separate lists in the `gen_kwargs`: ```python gen_kwargs = { "files": [os.path.join(data_dir, filename) for filename in all_files], "me...
CLOSED
2022-02-17T15:07:21
2022-02-23T15:00:58
2022-02-23T15:00:58
https://github.com/huggingface/datasets/issues/3744
{ "login": "lhoestq" }
{ "nodes": [ { "name": "enhancement" }, { "name": "streaming" } ] }
[]
I_kwDODunzps5D-Arl
3,739
Pubmed dataset does not work in streaming mode
## Describe the bug Trying to use the `pubmed` dataset with `streaming=True` fails. ## Steps to reproduce the bug ```python import datasets pubmed_train = datasets.load_dataset('pubmed', split='train', streaming=True) print (next(iter(pubmed_train))) ``` ## Expected results I would expect to see the first ...
CLOSED
2022-02-16T17:13:37
2022-02-18T14:42:13
2022-02-18T14:42:13
https://github.com/huggingface/datasets/issues/3739
{ "login": "abhi-mosaic" }
{ "nodes": [ { "name": "bug" } ] }
[ "Thanks for reporting, @abhi-mosaic (related to #3655).\r\n\r\nPlease note that `xml.etree.ElementTree.parse` already supports streaming:\r\n- #3476\r\n\r\nNo need to refactor to use `open`/`xopen`. Is is enough with importing the package `as ET` (instead of `as etree`)." ]
I_kwDODunzps5D9Yad
3,738
For data-only datasets, streaming and non-streaming don't behave the same
See https://huggingface.co/datasets/huggingface/transformers-metadata: it only contains two JSON files. In streaming mode, the files are concatenated, and thus the rows might be dictionaries with different keys: ```python import datasets as ds iterable_dataset = ds.load_dataset("huggingface/transformers-metadat...
OPEN
2022-02-16T15:20:57
2022-02-21T14:24:55
null
https://github.com/huggingface/datasets/issues/3738
{ "login": "severo" }
{ "nodes": [ { "name": "bug" } ] }
[ "Note that we might change the heuristic and create a different config per file, at least in that case.", "Hi @severo, thanks for reporting.\r\n\r\nYes, this happens because when non-streaming, a cast of all data is done in order to \"concatenate\" it all into a single dataset (thus the error), while this casting...
I_kwDODunzps5D9FxT
3,735
Performance of `datasets` at scale
# Performance of `datasets` at 1TB scale ## What is this? During the processing of a large dataset I monitored the performance of the `datasets` library to see if there are any bottlenecks. The insights of this analysis could guide the decision making to improve the performance of the library. ## Dataset The da...
OPEN
2022-02-16T14:23:32
2024-06-27T01:17:48
null
https://github.com/huggingface/datasets/issues/3735
{ "login": "lvwerra" }
{ "nodes": [] }
[ "> using command line git-lfs - [...] 300MB/s!\r\n\r\nwhich server location did you upload from?", "From GCP region `us-central1-a`.", "The most surprising part to me is the saving time. Wondering if it could be due to compression (`ParquetWriter` uses SNAPPY compression by default; it can be turned off with `...
I_kwDODunzps5D8zFy
3,733
Bugs in NewsQA dataset
## Describe the bug NewsQA dataset has the following bugs: - the field `validated_answers` is an exact copy of the field `answers` but with the addition of `'count': [0]` to each dict - the field `badQuestion` does not appear in `answers` nor `validated_answers` ## Steps to reproduce the bug By inspecting the da...
CLOSED
2022-02-16T13:17:37
2022-02-17T07:54:25
2022-02-17T07:54:25
https://github.com/huggingface/datasets/issues/3733
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps5D7BYN
3,730
Checksum Error when loading multi-news dataset
## Describe the bug When using the load_dataset function from datasets module to load the Multi-News dataset, does not load the dataset but throws Checksum Error instead. ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("multi_news") ``` ## Expected results ...
CLOSED
2022-02-16T05:11:08
2022-02-16T20:05:06
2022-02-16T08:48:46
https://github.com/huggingface/datasets/issues/3730
{ "login": "byw2" }
{ "nodes": [ { "name": "bug" } ] }
[ "Thanks for reporting @byw2.\r\nWe are fixing it.\r\nIn the meantime, you can load the dataset by passing `ignore_verifications=True`:\r\n ```python\r\ndataset = load_dataset(\"multi_news\", ignore_verifications=True)" ]
I_kwDODunzps5D6dcq
3,729
Wrong number of examples when loading a text dataset
## Describe the bug when I use load_dataset to read a txt file I find that the number of the samples is incorrect ## Steps to reproduce the bug ``` fr = open('train.txt','r',encoding='utf-8').readlines() print(len(fr)) # 1199637 datasets = load_dataset('text', data_files={'train': ['train.txt']}, streaming...
CLOSED
2022-02-16T01:13:31
2022-03-15T16:16:09
2022-03-15T16:16:09
https://github.com/huggingface/datasets/issues/3729
{ "login": "kg-nlp" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @kg-nlp, thanks for reporting.\r\n\r\nThat is weird... I guess we would need some sample data file where this behavior appears to reproduce the bug for further investigation... ", "ok, I found the reason why that two results are not same.\r\nthere is /u2029 in the text, the datasets will split sentence accord...
I_kwDODunzps5D6GS-
3,728
VoxPopuli
## Adding a Dataset - **Name:** VoxPopuli - **Description:** A Large-Scale Multilingual Speech Corpus - **Paper:** https://arxiv.org/pdf/2101.00390.pdf - **Data:** https://github.com/facebookresearch/voxpopuli - **Motivation:** one of the largest (if not the largest) multilingual speech corpus: 400K hours of multi...
CLOSED
2022-02-15T23:04:55
2022-02-16T18:49:12
2022-02-16T18:49:12
https://github.com/huggingface/datasets/issues/3728
{ "login": "VictorSanh" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "duplicate of https://github.com/huggingface/datasets/issues/2300" ]
I_kwDODunzps5D4SGh
3,724
Bug while streaming CSV dataset with pandas 1.4
## Describe the bug If we upgrade to pandas `1.4`, the patching of the pandas module is no longer working ``` AttributeError: '_PatchedModuleObj' object has no attribute '__version__' ``` ## Steps to reproduce the bug ``` pip install pandas==1.4 ``` ```python from datasets import load_dataset ds = load_dat...
CLOSED
2022-02-15T15:16:19
2022-02-15T16:55:44
2022-02-15T16:55:44
https://github.com/huggingface/datasets/issues/3724
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps5DzXA4
3,720
Builder Configuration Update Required on Common Voice Dataset
Missing language in Common Voice dataset **Link:** https://huggingface.co/datasets/common_voice I tried to call the Urdu dataset using `load_dataset("common_voice", "ur", split="train+validation")` but couldn't due to builder configuration not found. I checked the source file here for the languages support: ht...
CLOSED
2022-02-14T16:21:41
2024-04-28T18:03:08
2024-04-28T18:03:08
https://github.com/huggingface/datasets/issues/3720
{ "login": "aasem" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @aasem, thanks for reporting.\r\n\r\nPlease note that currently Commom Voice is hosted on our Hub as a community dataset by the Mozilla Foundation. See all Common Voice versions here: https://huggingface.co/mozilla-foundation\r\n\r\nMaybe we should add an explaining note in our \"legacy\" Common Voice canonical...
I_kwDODunzps5DyAkn
3,717
wrong condition in `Features ClassLabel encode_example`
## Describe the bug The `encode_example` function in *features.py* seems to have a wrong condition. ```python if not -1 <= example_data < self.num_classes: raise ValueError(f"Class label {example_data:d} greater than configured num_classes {self.num_classes}") ``` ## Expected results The `not - 1` co...
CLOSED
2022-02-14T11:44:35
2022-02-14T15:09:36
2022-02-14T15:07:43
https://github.com/huggingface/datasets/issues/3717
{ "login": "Tudyx" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @Tudyx, \r\n\r\nPlease note that in Python, the boolean NOT operator (`not`) has lower precedence than comparison operators (`<=`, `<`), thus the expression you mention is equivalent to:\r\n```python\r\n not (-1 <= example_data < self.num_classes)\r\n```\r\n\r\nAlso note that as expected, the exception is raise...
I_kwDODunzps5Dwqp0
3,716
`FaissIndex` to support multiple GPU and `custom_index`
**Is your feature request related to a problem? Please describe.** Currently, because `device` is of the type `int | None`, to leverage `faiss-gpu`'s multi-gpu support, you need to create a `custom_index`. However, if using a `custom_index` created by e.g. `faiss.index_cpu_to_all_gpus`, then `FaissIndex.save` does not ...
CLOSED
2022-02-14T06:21:43
2022-03-07T16:28:56
2022-03-07T16:28:56
https://github.com/huggingface/datasets/issues/3716
{ "login": "rentruewang" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Hi @rentruewang, thansk for reporting and for your PR!!! We should definitely support this. ", "@albertvillanova Great! :)" ]
I_kwDODunzps5Dt5g6
3,714
tatoeba_mt: File not found error and key error
## Dataset viewer issue for 'tatoeba_mt' **Link:** https://huggingface.co/datasets/Helsinki-NLP/tatoeba_mt My data loader script does not seem to work. The files are part of the local repository but cannot be found. An example where it should work is the subset for "afr-eng". Another problem is that I do not ...
CLOSED
2022-02-13T16:35:45
2022-02-13T20:44:04
2022-02-13T20:44:04
https://github.com/huggingface/datasets/issues/3714
{ "login": "jorgtied" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "Looks like I solved my problems ..." ]
I_kwDODunzps5Dh7nS
3,708
Loading JSON gets stuck with many workers/threads
## Describe the bug Loading a JSON dataset with `load_dataset` can get stuck when running on a machine with many CPUs. This is especially an issue when loading a large dataset on a large machine. ## Steps to reproduce the bug I originally created the following script to reproduce the issue: ```python from dat...
OPEN
2022-02-11T18:50:48
2023-06-16T11:24:12
null
https://github.com/huggingface/datasets/issues/3708
{ "login": "lvwerra" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi ! Note that it does `block_size *= 2` until `block_size > len(batch)`, so it doesn't loop indefinitely. What do you mean by \"get stuck indefinitely\" then ? Is this the actual call to `paj.read_json` that hangs ?\r\n\r\n> increasing the `chunksize` argument decreases the chance of getting stuck\r\n\r\nCould yo...
I_kwDODunzps5DhEUP
3,707
`.select`: unexpected behavior with `indices`
## Describe the bug The `.select` method will not throw when sending `indices` bigger than the dataset length; `indices` will be wrapped instead. This behavior is not documented anywhere, and is not intuitive. ## Steps to reproduce the bug ```python from datasets import Dataset ds = Dataset.from_dict({"text": [...
CLOSED
2022-02-11T15:20:01
2022-02-14T19:19:21
2022-02-14T19:19:21
https://github.com/huggingface/datasets/issues/3707
{ "login": "gabegma" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi! Currently, we compute the final index as `index % len(dset)`. I agree this behavior is somewhat unexpected and that it would be more appropriate to raise an error instead (this is what `df.iloc` in Pandas does, for instance).\r\n\r\n@albertvillanova @lhoestq wdyt?", "I agree. I think `index % len(dset)` was ...
I_kwDODunzps5DfEn6
3,706
Unable to load dataset 'big_patent'
## Describe the bug Unable to load the "big_patent" dataset ## Steps to reproduce the bug ```python load_dataset('big_patent', 'd', 'validation') ``` ## Expected results Download big_patents' validation split from the 'd' subset ## Getting an error saying: {FileNotFoundError}Local file ..\huggingface\dat...
CLOSED
2022-02-11T09:48:34
2022-02-14T15:26:03
2022-02-14T15:26:03
https://github.com/huggingface/datasets/issues/3706
{ "login": "ankitk2109" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @ankitk2109,\r\n\r\nHave you tried passing the split name with the keyword `split=`? See e.g. an example in our Quick Start docs: https://huggingface.co/docs/datasets/quickstart.html#load-the-dataset-and-model\r\n```python\r\n ds = load_dataset(\"big_patent\", \"d\", split=\"validation\")", "Hi @albertvillano...
I_kwDODunzps5DeZmH
3,704
OSCAR-2109 datasets are misaligned and truncated
## Describe the bug The `oscar-corpus/OSCAR-2109` data appears to be misaligned and truncated by the dataset builder for subsets that contain more than one part and for cases where the texts contain non-unix newlines. ## Steps to reproduce the bug A few examples, although I'm not sure how deterministic the par...
CLOSED
2022-02-11T08:14:59
2022-03-17T18:01:04
2022-03-16T16:21:28
https://github.com/huggingface/datasets/issues/3704
{ "login": "adrianeboyd" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @adrianeboyd, thanks for reporting.\r\n\r\nThere is indeed a bug in that community dataset:\r\nLine:\r\n```python\r\nmetadata_and_text_files = list(zip(metadata_files, text_files))\r\n``` \r\nshould be replaced with\r\n```python\r\nmetadata_and_text_files = list(zip(sorted(metadata_files), sorted(text_files)))\...
I_kwDODunzps5DdykU
3,703
ImportError: To be able to use this metric, you need to install the following dependencies['seqeval'] using 'pip install seqeval' for instance'
hi : I want to use the seqeval indicator because of direct load_ When metric ('seqeval '), it will prompt that the network connection fails. So I downloaded the seqeval Py to load locally. Loading code: metric = load_ metric(path='mymetric/seqeval/seqeval.py') But tips: Traceback (most recent call last): File...
CLOSED
2022-02-11T06:38:42
2023-07-11T09:31:59
2023-07-11T09:31:59
https://github.com/huggingface/datasets/issues/3703
{ "login": "zhangyifei1" }
{ "nodes": [] }
[ "![图片](https://user-images.githubusercontent.com/28425091/153547502-6bb0938d-788b-4857-b946-c3cf08fefce4.png)\r\nMy datasets version", "![图片](https://user-images.githubusercontent.com/28425091/153547587-f4677166-af9b-44a0-95ad-b6dba873978a.png)\r\n", "Hi! Some of our metrics require additional dependencies to w...
I_kwDODunzps5DXkjQ
3,700
Unable to load a dataset
## Describe the bug Unable to load a dataset from Huggingface that I have just saved. ## Steps to reproduce the bug On Google colab `! pip install datasets ` `from datasets import load_dataset` `my_path = "wiki_dataset"` `dataset = load_dataset('wikipedia', "20200501.fr")` `dataset.save_to_disk(my_path)` `...
CLOSED
2022-02-10T15:05:53
2024-07-04T08:39:23
2022-02-11T22:56:39
https://github.com/huggingface/datasets/issues/3700
{ "login": "PaulchauvinAI" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi! `load_dataset` is intended to be used to load a canonical dataset (`wikipedia`), a packaged dataset (`csv`, `json`, ...) or a dataset hosted on the Hub. For local datasets saved with `save_to_disk(\"path/to/dataset\")`, use `load_from_disk(\"path/to/dataset\")`.", "Maybe we should raise an informative error ...
I_kwDODunzps5DL_yR
3,688
Pyarrow version error
## Describe the bug I installed datasets(version 1.17.0, 1.18.0, 1.18.3) but i'm right now nor able to import it because of pyarrow. when i try to import it, i get the following error: `To use datasets, the module pyarrow>=3.0.0 is required, and the current version of pyarrow doesn't match this condition`. i tryed w...
CLOSED
2022-02-08T12:53:59
2022-02-09T06:35:33
2022-02-09T06:35:32
https://github.com/huggingface/datasets/issues/3688
{ "login": "Zaker237" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @Zaker237, thanks for reporting.\r\n\r\nThis is weird: the error you get is only thrown if the installed pyarrow version is less than 3.0.0.\r\n\r\nCould you please check that you install pyarrow in the same Python virtual environment where you installed datasets?\r\n\r\nFrom the Python command line (or termina...
I_kwDODunzps5DLwRO
3,687
Can't get the text data when calling to_tf_dataset
I am working with the SST2 dataset, and am using TensorFlow 2.5 I'd like to convert it to a `tf.data.Dataset` by calling the `to_tf_dataset` method. The following snippet is what I am using to achieve this: ``` from datasets import load_dataset from transformers import DefaultDataCollator data_collator = Defa...
CLOSED
2022-02-08T11:52:10
2023-01-19T14:55:18
2023-01-19T14:55:18
https://github.com/huggingface/datasets/issues/3687
{ "login": "phrasenmaeher" }
{ "nodes": [] }
[ "cc @Rocketknight1 ", "You are correct that `to_tf_dataset` only handles numerical columns right now, yes, though this is a limitation we might remove in future! The main reason we do this is that our models mostly do not include the tokenizer as a model layer, because it's very difficult to compile some of them ...
I_kwDODunzps5DLsAK
3,686
`Translation` features cannot be `flatten`ed
## Describe the bug (`Dataset.flatten`)[https://github.com/huggingface/datasets/blob/master/src/datasets/arrow_dataset.py#L1265] fails for columns with feature (`Translation`)[https://github.com/huggingface/datasets/blob/3edbeb0ec6519b79f1119adc251a1a6b379a2c12/src/datasets/features/translation.py#L8] ## Steps to...
CLOSED
2022-02-08T11:33:48
2022-03-18T17:28:13
2022-03-18T17:28:13
https://github.com/huggingface/datasets/issues/3686
{ "login": "SBrandeis" }
{ "nodes": [ { "name": "bug" } ] }
[ "Thanks for reporting, @SBrandeis! Some additional feature types that don't behave as expected when flattened: `Audio`, `Image` and `TranslationVariableLanguages`" ]
I_kwDODunzps5C_9O1
3,679
Download datasets from a private hub
In the context of a private hub deployment, customers would like to use load_dataset() to load datasets from their hub, not from the public hub. This doesn't seem to be configurable at the moment and it would be nice to add this feature. The obvious workaround is to clone the repo first and then load it from local s...
CLOSED
2022-02-04T10:49:06
2022-02-22T11:08:07
2022-02-22T11:08:07
https://github.com/huggingface/datasets/issues/3679
{ "login": "juliensimon" }
{ "nodes": [ { "name": "enhancement" }, { "name": "private-hub" } ] }
[ "For reference:\r\nhttps://github.com/huggingface/transformers/issues/15514\r\nhttps://github.com/huggingface/huggingface_hub/issues/650", "Hi ! For information one can set the environment variable `HF_ENDPOINT` (default is `https://huggingface.co`) if they want to use a private hub.\r\n\r\nWe may need to coordin...
I_kwDODunzps5C8pAi
3,677
Discovery cannot be streamed anymore
## Describe the bug A clear and concise description of what the bug is. ## Steps to reproduce the bug ```python from datasets import load_dataset iterable_dataset = load_dataset("discovery", name="discovery", split="train", streaming=True) list(iterable_dataset.take(1)) ``` ## Expected results The first ...
CLOSED
2022-02-03T15:02:03
2022-02-10T16:51:24
2022-02-10T16:51:24
https://github.com/huggingface/datasets/issues/3677
{ "login": "severo" }
{ "nodes": [ { "name": "bug" } ] }
[ "Seems like a regression from https://github.com/huggingface/datasets/pull/2843\r\n\r\nOr maybe it's an issue with the hosting. I don't think so, though, because https://www.dropbox.com/s/aox84z90nyyuikz/discovery.zip seems to work as expected\r\n\r\n", "Hi @severo, thanks for reporting.\r\n\r\nSome servers do no...
I_kwDODunzps5C8Rcq
3,676
`None` replaced by `[]` after first batch in map
Sometimes `None` can be replaced by `[]` when running map: ```python from datasets import Dataset ds = Dataset.from_dict({"a": range(4)}) ds = ds.map(lambda x: {"b": [[None, [0]]]}, batched=True, batch_size=1, remove_columns=["a"]) print(ds.to_pandas()) # b # 0 [None, [0]] # 1 [[], [0]] # ...
CLOSED
2022-02-03T13:36:48
2022-10-28T13:13:20
2022-10-28T13:13:20
https://github.com/huggingface/datasets/issues/3676
{ "login": "lhoestq" }
{ "nodes": [] }
[ "It looks like this is because of this behavior in pyarrow:\r\n```python\r\nimport pyarrow as pa\r\n\r\narr = pa.array([None, [0]])\r\nreconstructed_arr = pa.ListArray.from_arrays(arr.offsets, arr.values)\r\nprint(reconstructed_arr.to_pylist())\r\n# [[], [0]]\r\n```\r\n\r\nIt seems that `arr.offsets` can reconstruc...
I_kwDODunzps5C8NEI
3,675
Add CodeContests dataset
## Adding a Dataset - **Name:** CodeContests - **Description:** CodeContests is a competitive programming dataset for machine-learning. - **Paper:** - **Data:** https://github.com/deepmind/code_contests - **Motivation:** This dataset was used when training [AlphaCode](https://deepmind.com/blog/article/Competitive-...
CLOSED
2022-02-03T13:20:00
2022-07-20T11:07:05
2022-07-20T11:07:05
https://github.com/huggingface/datasets/issues/3675
{ "login": "mariosasko" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "@mariosasko Can I take this up?", "This dataset is now available here: https://huggingface.co/datasets/deepmind/code_contests." ]
I_kwDODunzps5C78fY
3,673
`load_dataset("snli")` is different from dataset viewer
## Describe the bug The dataset that is downloaded from the Hub via `load_dataset("snli")` is different from what is available in the dataset viewer. In the viewer the labels are not encoded (i.e., "neutral", "entailment", "contradiction"), while the downloaded dataset shows the encoded labels (i.e., 0, 1, 2). Is t...
CLOSED
2022-02-03T12:10:43
2022-02-16T11:22:31
2022-02-11T17:01:21
https://github.com/huggingface/datasets/issues/3673
{ "login": "pietrolesci" }
{ "nodes": [ { "name": "bug" }, { "name": "dataset-viewer" } ] }
[ "Yes, we decided to replace the encoded label with the corresponding label when possible in the dataset viewer. But\r\n1. maybe it's the wrong default\r\n2. we could find a way to show both (with a switch, or showing both ie. `0 (neutral)`).\r\n", "Hi @severo,\r\n\r\nThanks for clarifying. \r\n\r\nI think this de...
I_kwDODunzps5C7Yx9
3,671
Give an estimate of the dataset size in DatasetInfo
**Is your feature request related to a problem? Please describe.** Currently, only part of the datasets provide `dataset_size`, `download_size`, `size_in_bytes` (and `num_bytes` and `num_examples` inside `splits`). I would want to get this information, or an estimation, for all the datasets. **Describe the soluti...
OPEN
2022-02-03T09:47:10
2022-02-03T09:47:10
null
https://github.com/huggingface/datasets/issues/3671
{ "login": "severo" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps5C5Fro
3,668
Couldn't cast array of type string error with cast_column
## Describe the bug In OVH cloud during Huggingface Robust-speech-recognition event on a AI training notebook instance using jupyter lab and running jupyter notebook When using the dataset.cast_column("audio",Audio(sampling_rate=16_000)) method I get error ![image](https://user-images.githubusercontent.com/25264...
CLOSED
2022-02-02T18:33:29
2022-07-19T13:36:24
2022-07-19T13:36:24
https://github.com/huggingface/datasets/issues/3668
{ "login": "R4ZZ3" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi ! I wasn't able to reproduce the error, are you still experiencing this ? I tried calling `cast_column` on a string column containing paths.\r\n\r\nIf you manage to share a reproducible code example that would be perfect", "Hi,\r\n\r\nI think my team mate got this solved. Clolsing it for now and will reopen i...
I_kwDODunzps5C0iJ_
3,663
[Audio] Path of Common Voice cannot be used for audio loading anymore
## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[0]["audio"]["path"]) load(ds[0]["path"]) ``` ## Expected results ...
CLOSED
2022-02-01T18:40:10
2022-09-21T15:03:09
2022-09-21T14:56:22
https://github.com/huggingface/datasets/issues/3663
{ "login": "patrickvonplaten" }
{ "nodes": [ { "name": "bug" } ] }
[ "Having talked to @lhoestq, I see that this feature is no longer supported. \r\n\r\nI really don't think this was a good idea. It is a major breaking change and one for which we don't even have a working solution at the moment, which is bad for PyTorch as we don't want to force people to have `datasets` decode audi...
I_kwDODunzps5C0XmT
3,662
[Audio] MP3 resampling is incorrect when dataset's audio files have different sampling rates
The Audio feature resampler for MP3 gets stuck with the first original frequencies it meets, which leads to subsequent decoding to be incorrect. Here is a code to reproduce the issue: Let's first consider two audio files with different sampling rates 32000 and 16000: ```python # first download a mp3 file with s...
CLOSED
2022-02-01T17:55:04
2022-02-02T10:52:25
2022-02-02T10:52:25
https://github.com/huggingface/datasets/issues/3662
{ "login": "lhoestq" }
{ "nodes": [] }
[ "Thanks @lhoestq for finding the reason of incorrect resampling. This issue affects all languages which have sound files with different sampling rates such as Turkish and Luganda.", "@cahya-wirawan - do you know how many languages have different sampling rates in Common Voice? I'm quite surprised to see this for ...
I_kwDODunzps5Cz8kI
3,659
push_to_hub but preview not working
## Dataset viewer issue for '*happifyhealth/twitter_pnn*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/happifyhealth/twitter_pnn)* I used ``` dataset.push_to_hub("happifyhealth/twitter_pnn") ``` but the preview is not working. Am I the one who added this dataset ? Yes
CLOSED
2022-02-01T16:23:57
2022-02-09T08:00:37
2022-02-09T08:00:37
https://github.com/huggingface/datasets/issues/3659
{ "login": "thomas-happify" }
{ "nodes": [ { "name": "dataset-viewer" } ] }
[ "Hi @thomas-happify, please note that the preview may take some time before rendering the data.\r\n\r\nI've seen it is already working.\r\n\r\nI close this issue. Please feel free to reopen it if the problem arises again." ]
I_kwDODunzps5Cz0cL
3,658
Dataset viewer issue for *P3*
## Dataset viewer issue for '*P3*' **Link: https://huggingface.co/datasets/bigscience/P3** ``` Status code: 400 Exception: SplitsNotFoundError Message: The split names could not be parsed from the dataset config. ``` Am I the one who added this dataset ? No
CLOSED
2022-02-01T15:57:56
2023-09-25T12:16:21
2023-09-25T12:16:21
https://github.com/huggingface/datasets/issues/3658
{ "login": "jeffistyping" }
{ "nodes": [] }
[ "The error is now:\r\n\r\n```\r\nStatus code: 400\r\nException: Status400Error\r\nMessage: this dataset is not supported for now.\r\n```\r\n\r\nWe've disabled the dataset viewer for several big datasets like this one. We hope being able to reenable it soon.", "The list of splits cannot be obtained. cc...