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_kwDODunzps48EDqK
2,971
masakhaner dataset load problem
## Describe the bug Masakhaner dataset is not loading ## Steps to reproduce the bug ``` from datasets import load_dataset dataset = load_dataset("masakhaner",'amh') ``` ## Expected results Expected the return of a dataset ## Actual results ``` NonMatchingSplitsSizesError Traceback (mo...
CLOSED
2021-09-27T04:59:07
2021-09-27T12:59:59
2021-09-27T12:59:59
https://github.com/huggingface/datasets/issues/2971
{ "login": "huu4ontocord" }
{ "nodes": [ { "name": "bug" } ] }
[ "Thanks for reporting, @ontocord. We are fixing the wrong metadata." ]
I_kwDODunzps48Cso5
2,970
Magnet’s
## Adding a Dataset - **Name:** *name of the dataset* - **Description:** *short description of the dataset (or link to social media or blog post)* - **Paper:** *link to the dataset paper if available* - **Data:** *link to the Github repository or current dataset location* - **Motivation:** *what are some good reasons t...
CLOSED
2021-09-26T09:50:29
2021-09-26T10:38:59
2021-09-26T10:38:59
https://github.com/huggingface/datasets/issues/2970
{ "login": "rcacho172" }
{ "nodes": [ { "name": "dataset request" } ] }
[]
I_kwDODunzps48COzL
2,969
medical-dialog error
## Describe the bug A clear and concise description of what the bug is. When I attempt to download the huggingface datatset medical_dialog it errors out midway through ## Steps to reproduce the bug ```python raw_datasets = load_dataset("medical_dialog", "en", split="train", download_mode="force_redownload", data_d...
CLOSED
2021-09-25T23:08:44
2024-01-08T09:55:12
2021-10-11T07:46:42
https://github.com/huggingface/datasets/issues/2969
{ "login": "smeyerhot" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @smeyerhot, thanks for reporting.\r\n\r\nYou are right: there is an issue with the dataset metadata. I'm fixing it.\r\n\r\nIn the meantime, you can circumvent the issue by passing `ignore_verifications=True`:\r\n```python\r\nraw_datasets = load_dataset(\"medical_dialog\", \"en\", split=\"train\", download_mode=...
I_kwDODunzps48CMwQ
2,968
`DatasetDict` cannot be exported to parquet if the splits have different features
## Describe the bug I'm trying to use parquet as a means of serialization for both `Dataset` and `DatasetDict` objects. Using `to_parquet` alongside `from_parquet` or `load_dataset` for a `Dataset` works perfectly. For `DatasetDict`, I use `to_parquet` on each split to save the parquet files in individual folder...
CLOSED
2021-09-25T22:18:39
2021-10-07T22:47:42
2021-10-07T22:47:26
https://github.com/huggingface/datasets/issues/2968
{ "login": "LysandreJik" }
{ "nodes": [ { "name": "bug" } ] }
[ "This is because you have to specify which split corresponds to what file:\r\n```python\r\ndata_files = {\"train\": \"train/split.parquet\", \"validation\": \"validation/split.parquet\"}\r\nbrand_new_dataset_2 = load_dataset(\"ds\", data_files=data_files)\r\n```\r\n\r\nOtherwise it tries to concatenate the two spli...
I_kwDODunzps48CJLV
2,967
Adding vision-and-language datasets (e.g., VQA, VCR) to Datasets
**Is your feature request related to a problem? Please describe.** Would you like to add any vision-and-language datasets (e.g., VQA, VCR) to Huggingface Datasets? **Describe the solution you'd like** N/A **Describe alternatives you've considered** N/A **Additional context** This is Da Yin at UCLA. Recentl...
CLOSED
2021-09-25T20:58:15
2021-10-03T20:34:22
2021-10-03T20:34:22
https://github.com/huggingface/datasets/issues/2967
{ "login": "WadeYin9712" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps48BuJ5
2,965
Invalid download URL of WMT17 `zh-en` data
## Describe the bug Partial data (wmt17 zh-en) cannot be downloaded due to an invalid URL. ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wmt17','zh-en') ``` ## Expected results ConnectionError: Couldn't reach ftp://cwmt-wmt:cwmt-wmt@datasets.nju.edu.cn/pa...
CLOSED
2021-09-25T13:17:32
2022-08-31T06:47:11
2022-08-31T06:47:10
https://github.com/huggingface/datasets/issues/2965
{ "login": "Ririkoo" }
{ "nodes": [ { "name": "bug" }, { "name": "dataset bug" } ] }
[ "Fixed in the current release. Close this issue." ]
I_kwDODunzps47_5ZQ
2,964
Error when calculating Matthews Correlation Coefficient loaded with `load_metric`
## Describe the bug After loading the metric named "[Matthews Correlation Coefficient](https://huggingface.co/metrics/matthews_correlation)" from `🤗datasets`, the `.compute` method fails with the following exception `AttributeError: 'float' object has no attribute 'item'` (complete stack trace can be provided if re...
CLOSED
2021-09-24T15:55:21
2024-02-16T10:14:35
2021-09-25T08:06:07
https://github.com/huggingface/datasets/issues/2964
{ "login": "alvarobartt" }
{ "nodes": [ { "name": "bug" } ] }
[ "After some more tests I've realized that this \"issue\" is due to the `numpy.float64` to `float` conversion, but when defining a function named `compute_metrics` as it follows:\r\n\r\n```python\r\ndef compute_metrics(eval_preds):\r\n metric = load_metric(\"matthews_correlation\")\r\n logits, labels = eval_pr...
I_kwDODunzps47_1K9
2,963
raise TypeError( TypeError: Provided `function` which is applied to all elements of table returns a variable of type <class 'list'>. Make sure provided `function` returns a variable of type `dict` to update the dataset or `None` if you are only interested in side effects.
## Describe the bug A clear and concise description of what the bug is. I am trying to use Dataset to load my file in order to use Bert embeddings model baut when I finished loading using dataset and I want to pass to the tokenizer using the function map; I get the following error : raise TypeError( TypeError: Provi...
CLOSED
2021-09-24T15:35:11
2021-09-24T15:38:24
2021-09-24T15:38:24
https://github.com/huggingface/datasets/issues/2963
{ "login": "keloemma" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps47_tni
2,962
Enable splits during streaming the dataset
## Describe the Problem I'd like to stream only a specific percentage or part of the dataset. I want to do splitting when I'm streaming dataset as well. ## Solution Enabling splits when `streaming = True` as well. `e.g. dataset = load_dataset('dataset', split='train[:100]', streaming = True)` ## Alternativ...
OPEN
2021-09-24T15:01:29
2025-07-17T04:53:20
null
https://github.com/huggingface/datasets/issues/2962
{ "login": "merveenoyan" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "For the range splits by percentage over streaming datasets, I used a simple approach [here](https://github.com/huggingface/transformers/pull/39286/files#diff-fb91934a0658db99f30d8c52d92f41d6ab83210134e7f21af8baac6ee65f548fR228) which can be reused to provide things like `[:25%]`, built-in and internally within `da...
I_kwDODunzps475RLx
2,957
MultiWOZ Dataset NonMatchingChecksumError
## Describe the bug The checksums for the downloaded MultiWOZ dataset and source MultiWOZ dataset aren't matching. ## Steps to reproduce the bug Both of the below dataset versions yield the checksum error: ```python from datasets import load_dataset dataset = load_dataset('multi_woz_v22', 'v2.2') dataset = loa...
CLOSED
2021-09-22T23:45:00
2022-03-15T16:07:02
2022-03-15T16:07:02
https://github.com/huggingface/datasets/issues/2957
{ "login": "bradyneal" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi Brady! I met the similar issue, it stuck in the downloading stage instead of download anything, maybe it is broken. After I change the downloading from URLs to one url of the [Multiwoz project](https://github.com/budzianowski/multiwoz/archive/44f0f8479f11721831c5591b839ad78827da197b.zip) and use dirs to get sep...
I_kwDODunzps473H-_
2,956
Cache problem in the `load_dataset` method for local compressed file(s)
## Describe the bug Cache problem in the `load_dataset` method: when modifying a compressed file in a local folder `load_dataset` doesn't detect the change and load the previous version. ## Steps to reproduce the bug To test it directly, I have prepared a [Google Colaboratory notebook](https://colab.research.g...
OPEN
2021-09-22T13:34:32
2023-08-31T16:49:01
null
https://github.com/huggingface/datasets/issues/2956
{ "login": "SaulLu" }
{ "nodes": [ { "name": "bug" } ] }
[ "The problem is still present. \r\nOne solution would be to add the `download_mode=\"force_redownload\"` argument to load_dataset. \r\nHowever, doing so may lead to a `DatasetGenerationError: An error occurred while generating the dataset`. To mitigate, just do:\r\n`rm -r ~/.cache/huggingface/datasets/*`" ]
I_kwDODunzps47xQC1
2,953
Trying to get in touch regarding a security issue
Hey there! I'd like to report a security issue but cannot find contact instructions on your repository. If not a hassle, might you kindly add a `SECURITY.md` file with an email, or another contact method? GitHub [recommends](https://docs.github.com/en/code-security/getting-started/adding-a-security-policy-to-your-rep...
CLOSED
2021-09-21T15:58:13
2021-10-21T15:16:43
2021-10-21T15:16:43
https://github.com/huggingface/datasets/issues/2953
{ "login": "JamieSlome" }
{ "nodes": [] }
[ "Hi @JamieSlome,\r\n\r\nThanks for reaching out. Yes, you are right: I'm opening a PR to add the `SECURITY.md` file and a contact method.\r\n\r\nIn the meantime, please feel free to report the security issue to: feedback@huggingface.co" ]
I_kwDODunzps47pFLz
2,945
Protect master branch
After accidental merge commit (91c55355b634d0dc73350a7ddee1a6776dbbdd69) into `datasets` master branch, all commits present in the feature branch were permanently added to `datasets` master branch history, as e.g.: - 00cc036fea7c7745cfe722360036ed306796a3f2 - 13ae8c98602bbad8197de3b9b425f4c78f582af1 - ... I propo...
CLOSED
2021-09-20T06:47:01
2021-09-20T12:01:27
2021-09-20T12:00:16
https://github.com/huggingface/datasets/issues/2945
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Cool, I think we can do both :)", "@lhoestq now the 2 are implemented.\r\n\r\nPlease note that for the the second protection, finally I have chosen to protect the master branch only from **merge commits** (see update comment above), so no need to disable/re-enable the protection on each release (direct commits, ...
I_kwDODunzps47oxhy
2,944
Add `remove_columns` to `IterableDataset `
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. ```python from datasets import load_dataset dataset = load_dataset("c4", 'realnewslike', streaming =True, split='train') dataset = dataset.remove_columns('url') ``` ``` AttributeError: 'I...
CLOSED
2021-09-20T04:01:00
2021-10-08T15:31:53
2021-10-08T15:31:53
https://github.com/huggingface/datasets/issues/2944
{ "login": "changjonathanc" }
{ "nodes": [ { "name": "enhancement" }, { "name": "good first issue" } ] }
[ "Hi ! Good idea :)\r\nIf you are interested in contributing, feel free to give it a try and open a Pull Request. Also let me know if I can help you with this or if you have questions" ]
I_kwDODunzps47oDUr
2,943
Backwards compatibility broken for cached datasets that use `.filter()`
## Describe the bug After upgrading to datasets `1.12.0`, some cached `.filter()` steps from `1.11.0` started failing with `ValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='in...
CLOSED
2021-09-19T16:16:37
2021-09-20T16:25:43
2021-09-20T16:25:42
https://github.com/huggingface/datasets/issues/2943
{ "login": "anton-l" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi ! I guess the caching mechanism should have considered the new `filter` to be different from the old one, and don't use cached results from the old `filter`.\r\nTo avoid other users from having this issue we could make the caching differentiate the two, what do you think ?", "If it's easy enough to implement,...
I_kwDODunzps47mszH
2,941
OSCAR unshuffled_original_ko: NonMatchingSplitsSizesError
## Describe the bug Cannot download OSCAR `unshuffled_original_ko` due to `NonMatchingSplitsSizesError`. ## Steps to reproduce the bug ```python >>> dataset = datasets.load_dataset('oscar', 'unshuffled_original_ko') NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=25292102197, num...
OPEN
2021-09-18T10:39:13
2022-01-19T14:10:07
null
https://github.com/huggingface/datasets/issues/2941
{ "login": "ayaka14732" }
{ "nodes": [ { "name": "bug" }, { "name": "dataset bug" } ] }
[ "I tried `unshuffled_original_da` and it is also not working" ]
I_kwDODunzps47k-V1
2,937
load_dataset using default cache on Windows causes PermissionError: [WinError 5] Access is denied
## Describe the bug Standard process to download and load the wiki_bio dataset causes PermissionError in Windows 10 and 11. ## Steps to reproduce the bug ```python from datasets import load_dataset ds = load_dataset('wiki_bio') ``` ## Expected results It is expected that the dataset downloads without any er...
CLOSED
2021-09-17T16:52:10
2022-08-24T13:09:08
2022-08-24T13:09:08
https://github.com/huggingface/datasets/issues/2937
{ "login": "daqieq" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @daqieq, thanks for reporting.\r\n\r\nUnfortunately, I was not able to reproduce this bug:\r\n```ipython\r\nIn [1]: from datasets import load_dataset\r\n ...: ds = load_dataset('wiki_bio')\r\nDownloading: 7.58kB [00:00, 26.3kB/s]\r\nDownloading: 2.71kB [00:00, ?B/s]\r\nUsing custom data configuration default\...
I_kwDODunzps47ktCl
2,934
to_tf_dataset keeps a reference to the open data somewhere, causing issues on windows
To reproduce: ```python import datasets as ds import weakref import gc d = ds.load_dataset("mnist", split="train") ref = weakref.ref(d._data.table) tfd = d.to_tf_dataset("image", batch_size=1, shuffle=False, label_cols="label") del tfd, d gc.collect() assert ref() is None, "Error: there is at least one refe...
CLOSED
2021-09-17T15:26:53
2021-10-13T09:03:23
2021-10-13T09:03:23
https://github.com/huggingface/datasets/issues/2934
{ "login": "lhoestq" }
{ "nodes": [ { "name": "bug" } ] }
[ "I did some investigation and, as it seems, the bug stems from [this line](https://github.com/huggingface/datasets/blob/8004d7c3e1d74b29c3e5b0d1660331cd26758363/src/datasets/arrow_dataset.py#L325). The lifecycle of the dataset from the linked line is bound to one of the returned `tf.data.Dataset`. So my (hacky) sol...
I_kwDODunzps47kGD2
2,932
Conda build fails
## Describe the bug Current `datasets` version in conda is 1.9 instead of 1.12. The build of the conda package fails.
CLOSED
2021-09-17T12:49:22
2021-09-21T15:31:10
2021-09-21T15:31:10
https://github.com/huggingface/datasets/issues/2932
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[ "Why 1.9 ?\r\n\r\nhttps://anaconda.org/HuggingFace/datasets currently says 1.11", "Alright I added 1.12.0 and 1.12.1 and fixed the conda build #2952 " ]
I_kwDODunzps47fqBH
2,930
Mutable columns argument breaks set_format
## Describe the bug If you pass a mutable list to the `columns` argument of `set_format` and then change the list afterwards, the returned columns also change. ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("glue", "cola") column_list = ["idx", "label"] datas...
CLOSED
2021-09-16T12:27:22
2021-09-16T13:50:53
2021-09-16T13:50:53
https://github.com/huggingface/datasets/issues/2930
{ "login": "Rocketknight1" }
{ "nodes": [ { "name": "bug" } ] }
[ "Pushed a fix to my branch #2731 " ]
I_kwDODunzps47dwCY
2,927
Datasets 1.12 dataset.filter TypeError: get_indices_from_mask_function() got an unexpected keyword argument
## Describe the bug Upgrading to 1.12 caused `dataset.filter` call to fail with > get_indices_from_mask_function() got an unexpected keyword argument valid_rel_labels ## Steps to reproduce the bug ```pythondef filter_good_rows( ex: Dict, valid_rel_labels: Set[str], valid_ner_labels: Set[st...
CLOSED
2021-09-16T01:14:02
2021-09-20T16:23:22
2021-09-20T16:23:21
https://github.com/huggingface/datasets/issues/2927
{ "login": "timothyjlaurent" }
{ "nodes": [ { "name": "bug" } ] }
[ "Thanks for reporting, I'm looking into it :)", "Fixed by #2950." ]
I_kwDODunzps47dBTt
2,926
Error when downloading datasets to non-traditional cache directories
## Describe the bug When the cache directory is linked (soft link) to a directory on a NetApp device, the download fails. ## Steps to reproduce the bug ```bash ln -s /path/to/netapp/.cache ~/.cache ``` ```python load_dataset("imdb") ``` ## Expected results Successfully loading IMDB dataset ## Actual...
OPEN
2021-09-15T19:59:46
2021-11-24T21:42:31
null
https://github.com/huggingface/datasets/issues/2926
{ "login": "dar-tau" }
{ "nodes": [ { "name": "bug" } ] }
[ "Same here !" ]
I_kwDODunzps47cshB
2,924
"File name too long" error for file locks
## Describe the bug Getting the following error when calling `load_dataset("gar1t/test")`: ``` OSError: [Errno 36] File name too long: '<user>/.cache/huggingface/datasets/_home_garrett_.cache_huggingface_datasets_csv_test-7c856aea083a7043_0.0.0_9144e0a4e8435090117cea53e6c7537173ef2304525df4a077c435d8ee7828ff.inc...
CLOSED
2021-09-15T18:16:50
2023-12-08T13:39:51
2021-10-29T09:42:24
https://github.com/huggingface/datasets/issues/2924
{ "login": "gar1t" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi, the filename here is less than 255\r\n```python\r\n>>> len(\"_home_garrett_.cache_huggingface_datasets_csv_test-7c856aea083a7043_0.0.0_9144e0a4e8435090117cea53e6c7537173ef2304525df4a077c435d8ee7828ff.incomplete.lock\")\r\n154\r\n```\r\nso not sure why it's considered too long for your filesystem.\r\n(also note...
I_kwDODunzps47cmCm
2,923
Loading an autonlp dataset raises in normal mode but not in streaming mode
## Describe the bug The same dataset (from autonlp) raises an error in normal mode, but does not raise in streaming mode ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("severo/autonlp-data-sentiment_detection-3c8bcd36", split="train", streaming=False) ## raises an err...
CLOSED
2021-09-15T17:44:38
2022-04-12T10:09:40
2022-04-12T10:09:39
https://github.com/huggingface/datasets/issues/2923
{ "login": "severo" }
{ "nodes": [ { "name": "bug" }, { "name": "dataset-viewer" } ] }
[ "Closing since autonlp dataset are now supported" ]
I_kwDODunzps47cfpw
2,921
Using a list of multi-dim numpy arrays raises an error "can only convert 1-dimensional array values"
This error has been introduced in https://github.com/huggingface/datasets/pull/2361 To reproduce: ```python import numpy as np from datasets import Dataset d = Dataset.from_dict({"a": [np.zeros((2, 2))]}) ``` raises ```python Traceback (most recent call last): File "playground/ttest.py", line 5, in <mod...
CLOSED
2021-09-15T17:12:11
2021-09-15T17:21:45
2021-09-15T17:21:45
https://github.com/huggingface/datasets/issues/2921
{ "login": "lhoestq" }
{ "nodes": [] }
[]
I_kwDODunzps47bvU_
2,919
Unwanted progress bars when accessing examples
When accessing examples from a dataset formatted for pytorch, some progress bars appear when accessing examples: ```python In [1]: import datasets as ds In [2]: d = ds.Dataset.from_dict({"a": [0, 1, 2]}).with_format("torch") ...
CLOSED
2021-09-15T14:05:10
2021-09-15T17:21:49
2021-09-15T17:18:23
https://github.com/huggingface/datasets/issues/2919
{ "login": "lhoestq" }
{ "nodes": [] }
[ "doing a patch release now :)" ]
I_kwDODunzps47bfqz
2,918
`Can not decode content-encoding: gzip` when loading `scitldr` dataset with streaming
## Describe the bug Trying to load the `"FullText"` config of the `"scitldr"` dataset with `streaming=True` raises an error from `aiohttp`: ```python ClientPayloadError: 400, message='Can not decode content-encoding: gzip' ``` cc @lhoestq ## Steps to reproduce the bug ```python from datasets import load_...
CLOSED
2021-09-15T13:06:07
2021-12-01T08:15:00
2021-12-01T08:15:00
https://github.com/huggingface/datasets/issues/2918
{ "login": "SBrandeis" }
{ "nodes": [ { "name": "bug" }, { "name": "streaming" } ] }
[ "Hi @SBrandeis, thanks for reporting! ^^\r\n\r\nI think this is an issue with `fsspec`: https://github.com/intake/filesystem_spec/issues/389\r\n\r\nI will ask them if they are planning to fix it...", "Code to reproduce the bug: `ClientPayloadError: 400, message='Can not decode content-encoding: gzip'`\r\n```pytho...
I_kwDODunzps47baX6
2,917
windows download abnormal
## Describe the bug The script clearly exists (accessible from the browser), but the script download fails on windows. Then I tried it again and it can be downloaded normally on linux. why?? ## Steps to reproduce the bug ```python3.7 + windows ![image](https://user-images.githubusercontent.com/52347799/133436174-43...
CLOSED
2021-09-15T12:45:35
2021-09-16T17:17:48
2021-09-16T17:17:48
https://github.com/huggingface/datasets/issues/2917
{ "login": "wei1826676931" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi ! Is there some kind of proxy that is configured in your browser that gives you access to internet ? If it's the case it could explain why it doesn't work in the code, since the proxy wouldn't be used", "It is indeed an agency problem, thank you very, very much", "Let me know if you have other questions :)\...
I_kwDODunzps47aYF4
2,914
Having a dependency defining fsspec entrypoint raises an AttributeError when importing datasets
## Describe the bug In one of my project, I defined a custom fsspec filesystem with an entrypoint. My guess is that by doing so, a variable named `spec` is created in the module `fsspec` (created by entering a for loop as there are entrypoints defined, see the loop in question [here](https://github.com/intake/filesys...
CLOSED
2021-09-15T07:54:06
2021-09-15T16:49:17
2021-09-15T16:49:16
https://github.com/huggingface/datasets/issues/2914
{ "login": "pierre-godard" }
{ "nodes": [ { "name": "bug" } ] }
[ "Closed by #2915." ]
I_kwDODunzps47ZGmQ
2,913
timit_asr dataset only includes one text phrase
## Describe the bug The dataset 'timit_asr' only includes one text phrase. It only includes the transcription "Would such an act of refusal be useful?" multiple times rather than different phrases. ## Steps to reproduce the bug Note: I am following the tutorial https://huggingface.co/blog/fine-tune-wav2vec2-englis...
CLOSED
2021-09-14T21:06:07
2021-09-15T08:05:19
2021-09-15T08:05:18
https://github.com/huggingface/datasets/issues/2913
{ "login": "margotwagner" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @margotwagner, \r\nThis bug was fixed in #1995. Upgrading the datasets should work (min v1.8.0 ideally)", "Hi @margotwagner,\r\n\r\nYes, as @bhavitvyamalik has commented, this bug was fixed in `datasets` version 1.5.0. You need to update it, as your current version is 1.4.1:\r\n> Environment info\r\n> - `data...
I_kwDODunzps47WutO
2,904
FORCE_REDOWNLOAD does not work
## Describe the bug With GenerateMode.FORCE_REDOWNLOAD, the documentation says +------------------------------------+-----------+---------+ | | Downloads | Dataset | +====================================+===========+=========+ | `REUSE_DATASET_IF_EXISTS` (default...
OPEN
2021-09-14T09:45:26
2021-10-06T09:37:19
null
https://github.com/huggingface/datasets/issues/2904
{ "login": "anoopkatti" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi ! Thanks for reporting. The error seems to happen only if you use compressed files.\r\n\r\nThe second dataset is prepared in another dataset cache directory than the first - which is normal, since the source file is different. However, it doesn't uncompress the new data file because it finds the old uncompresse...
MDU6SXNzdWU5OTUyNTQyMTY=
2,902
Add WIT Dataset
## Adding a Dataset - **Name:** *WIT* - **Description:** *Wikipedia-based Image Text Dataset* - **Paper:** *[WIT: Wikipedia-based Image Text Dataset for Multimodal Multilingual Machine Learning ](https://arxiv.org/abs/2103.01913)* - **Data:** *https://github.com/google-research-datasets/wit* - **Motivation:** (e...
CLOSED
2021-09-13T19:38:49
2024-10-02T15:37:48
2022-06-01T17:28:40
https://github.com/huggingface/datasets/issues/2902
{ "login": "nateraw" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "@hassiahk is working on it #2810 ", "WikiMedia is now hosting the pixel values directly which should make it a lot easier!\r\nThe files can be found here:\r\nhttps://techblog.wikimedia.org/2021/09/09/the-wikipedia-image-caption-matching-challenge-and-a-huge-release-of-image-data-for-research/\r\nhttps://analyti...
MDU6SXNzdWU5OTUyMzI4NDQ=
2,901
Incompatibility with pytest
## Describe the bug pytest complains about xpathopen / path.open("w") ## Steps to reproduce the bug Create a test file, `test.py`: ```python import datasets as ds def load_dataset(): ds.load_dataset("counter", split="train", streaming=True) ``` And launch it with pytest: ```bash python -m pyt...
CLOSED
2021-09-13T19:12:17
2021-09-14T08:40:47
2021-09-14T08:40:47
https://github.com/huggingface/datasets/issues/2901
{ "login": "severo" }
{ "nodes": [ { "name": "bug" } ] }
[ "Sorry, my bad... When implementing `xpathopen`, I just considered the use case in the COUNTER dataset... I'm fixing it!" ]
MDU6SXNzdWU5OTQwODI0MzI=
2,899
Dataset
## Adding a Dataset - **Name:** *name of the dataset* - **Description:** *short description of the dataset (or link to social media or blog post)* - **Paper:** *link to the dataset paper if available* - **Data:** *link to the Github repository or current dataset location* - **Motivation:** *what are some good reasons t...
CLOSED
2021-09-12T07:38:53
2021-09-12T16:12:15
2021-09-12T16:12:15
https://github.com/huggingface/datasets/issues/2899
{ "login": "rcacho172" }
{ "nodes": [ { "name": "dataset request" } ] }
[]
MDU6SXNzdWU5OTQwMzI4MTQ=
2,898
Hug emoji
## Adding a Dataset - **Name:** *name of the dataset* - **Description:** *short description of the dataset (or link to social media or blog post)* - **Paper:** *link to the dataset paper if available* - **Data:** *link to the Github repository or current dataset location* - **Motivation:** *what are some good reasons t...
CLOSED
2021-09-12T03:27:51
2021-09-12T16:13:13
2021-09-12T16:13:13
https://github.com/huggingface/datasets/issues/2898
{ "login": "Jackg-08" }
{ "nodes": [ { "name": "dataset request" } ] }
[]
MDU6SXNzdWU5OTMyNzQ1NzI=
2,892
Error when encoding a dataset with None objects with a Sequence feature
There is an error when encoding a dataset with None objects with a Sequence feature To reproduce: ```python from datasets import Dataset, Features, Value, Sequence data = {"a": [[0], None]} features = Features({"a": Sequence(Value("int32"))}) dataset = Dataset.from_dict(data, features=features) ``` raises ...
CLOSED
2021-09-10T14:11:43
2021-09-13T14:18:13
2021-09-13T14:17:42
https://github.com/huggingface/datasets/issues/2892
{ "login": "lhoestq" }
{ "nodes": [ { "name": "bug" } ] }
[ "This has been fixed by https://github.com/huggingface/datasets/pull/2900\r\nWe're doing a new release 1.12 today to make the fix available :)" ]
MDU6SXNzdWU5OTMwNzQxMDI=
2,890
0x290B112ED1280537B24Ee6C268a004994a16e6CE
## Adding a Dataset - **Name:** *name of the dataset* - **Description:** *short description of the dataset (or link to social media or blog post)* - **Paper:** *link to the dataset paper if available* - **Data:** *link to the Github repository or current dataset location* - **Motivation:** *what are some good reasons t...
CLOSED
2021-09-10T09:51:17
2021-09-10T11:45:29
2021-09-10T11:45:29
https://github.com/huggingface/datasets/issues/2890
{ "login": "rcacho172" }
{ "nodes": [ { "name": "dataset request" } ] }
[]
MDU6SXNzdWU5OTI5NjgzODI=
2,889
Coc
## Adding a Dataset - **Name:** *name of the dataset* - **Description:** *short description of the dataset (or link to social media or blog post)* - **Paper:** *link to the dataset paper if available* - **Data:** *link to the Github repository or current dataset location* - **Motivation:** *what are some good reasons t...
CLOSED
2021-09-10T07:32:07
2021-09-10T11:45:54
2021-09-10T11:45:54
https://github.com/huggingface/datasets/issues/2889
{ "login": "Bwiggity" }
{ "nodes": [ { "name": "dataset request" } ] }
[]
MDU6SXNzdWU5OTI2NzY1MzU=
2,888
v1.11.1 release date
Hello, i need to use latest features in one of my packages but there have been no new datasets release since 2 months ago. When do you plan to publush v1.11.1 release?
CLOSED
2021-09-09T21:53:15
2021-09-12T20:18:35
2021-09-12T16:15:39
https://github.com/huggingface/datasets/issues/2888
{ "login": "fcakyon" }
{ "nodes": [ { "name": "question" } ] }
[ "Hi ! Probably 1.12 on monday :)\r\n", "@albertvillanova i think this issue is still valid and should not be closed till `>1.11.0` is published :)" ]
MDU6SXNzdWU5OTI1MzQ2MzI=
2,886
Hj
CLOSED
2021-09-09T18:58:52
2021-09-10T11:46:29
2021-09-10T11:46:29
https://github.com/huggingface/datasets/issues/2886
{ "login": "Noorasri" }
{ "nodes": [] }
[]
MDU6SXNzdWU5OTIxNjA1NDQ=
2,885
Adding an Elastic Search index to a Dataset
## Describe the bug When trying to index documents from the squad dataset, the connection to ElasticSearch seems to break: Reusing dataset squad (/Users/andreasmotz/.cache/huggingface/datasets/squad/plain_text/1.0.0/d6ec3ceb99ca480ce37cdd35555d6cb2511d223b9150cce08a837ef62ffea453) 90%|████████████████████████████...
OPEN
2021-09-09T12:21:39
2021-10-20T18:57:11
null
https://github.com/huggingface/datasets/issues/2885
{ "login": "MotzWanted" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi, is this bug deterministic in your poetry env ? I mean, does it always stop at 90% or is it random ?\r\n\r\nAlso, can you try using another version of Elasticsearch ? Maybe there's an issue with the one of you poetry env", "I face similar issue with oscar dataset on remote ealsticsearch instance. It was mainl...
MDU6SXNzdWU5OTE4MDAxNDE=
2,882
`load_dataset('docred')` results in a `NonMatchingChecksumError`
## Describe the bug I get consistent `NonMatchingChecksumError: Checksums didn't match for dataset source files` errors when trying to execute `datasets.load_dataset('docred')`. ## Steps to reproduce the bug It is quasi only this code: ```python import datasets data = datasets.load_dataset('docred') ``` ## ...
CLOSED
2021-09-09T05:55:02
2021-09-13T11:24:30
2021-09-13T11:24:30
https://github.com/huggingface/datasets/issues/2882
{ "login": "tmpr" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @tmpr, thanks for reporting.\r\n\r\nTwo weeks ago (23th Aug), the host of the source `docred` dataset updated one of the files (`dev.json`): you can see it [here](https://drive.google.com/drive/folders/1c5-0YwnoJx8NS6CV2f-NoTHR__BdkNqw).\r\n\r\nTherefore, the checksum needs to be updated.\r\n\r\nNormally, in th...
MDU6SXNzdWU5OTAyNTc0MDQ=
2,879
In v1.4.1, all TIMIT train transcripts are "Would such an act of refusal be useful?"
## Describe the bug Using version 1.4.1 of `datasets`, TIMIT transcripts are all the same. ## Steps to reproduce the bug I was following this tutorial - https://huggingface.co/blog/fine-tune-wav2vec2-english But here's a distilled repro: ```python !pip install datasets==1.4.1 from datasets import load_datas...
CLOSED
2021-09-07T18:53:45
2021-09-08T16:55:19
2021-09-08T09:12:28
https://github.com/huggingface/datasets/issues/2879
{ "login": "rcgale" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @rcgale, thanks for reporting.\r\n\r\nPlease note that this bug was fixed on `datasets` version 1.5.0: https://github.com/huggingface/datasets/commit/a23c73e526e1c30263834164f16f1fdf76722c8c#diff-f12a7a42d4673bb6c2ca5a40c92c29eb4fe3475908c84fd4ce4fad5dc2514878\r\n\r\nIf you update `datasets` version, that shoul...
MDU6SXNzdWU5OTAwOTMzMTY=
2,878
NotADirectoryError: [WinError 267] During load_from_disk
## Describe the bug Trying to load saved dataset or dataset directory from Amazon S3 on a Windows machine fails. Performing the same operation succeeds on non-windows environment (AWS Sagemaker). ## Steps to reproduce the bug ```python # Followed https://huggingface.co/docs/datasets/filesystems.html#loading-a-pr...
OPEN
2021-09-07T15:15:05
2021-09-07T15:15:05
null
https://github.com/huggingface/datasets/issues/2878
{ "login": "Grassycup" }
{ "nodes": [ { "name": "bug" } ] }
[]
MDU6SXNzdWU5OTAwMjcyNDk=
2,877
Don't keep the dummy data folder or dataset_infos.json when resolving data files
When there's no dataset script, all the data files of a folder or a repository on the Hub are loaded as data files. There are already a few exceptions: - files starting with "." are ignored - the dataset card "README.md" is ignored - any file named "config.json" is ignored (currently it isn't used anywhere, but i...
CLOSED
2021-09-07T14:09:04
2021-09-29T09:05:38
2021-09-29T09:05:38
https://github.com/huggingface/datasets/issues/2877
{ "login": "lhoestq" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Hi @lhoestq I am new to huggingface datasets, I would like to work on this issue!\r\n", "Thanks for the help :) \r\n\r\nAs mentioned in the PR, excluding files named \"dummy_data.zip\" is actually more general than excluding the files inside a \"dummy\" folder. I just did the change in the PR, I think we can mer...
MDU6SXNzdWU5ODk5MTkzOTg=
2,875
Add Congolese Swahili speech datasets
## Adding a Dataset - **Name:** Congolese Swahili speech corpora - **Data:** https://gamayun.translatorswb.org/data/ Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md). Also related: https://mobile.twitter.com/OktemAlp/status/14351963936...
OPEN
2021-09-07T12:13:50
2021-09-07T12:13:50
null
https://github.com/huggingface/datasets/issues/2875
{ "login": "osanseviero" }
{ "nodes": [ { "name": "dataset request" }, { "name": "speech" } ] }
[]
MDU6SXNzdWU5ODk0MzYwODg=
2,871
datasets.config.PYARROW_VERSION has no attribute 'major'
In the test_dataset_common.py script, line 288-289 ``` if datasets.config.PYARROW_VERSION.major < 3: packaged_datasets = [pd for pd in packaged_datasets if pd["dataset_name"] != "parquet"] ``` which throws the error below. `datasets.config.PYARROW_VERSION` itself return the string '4.0.1'. I have tested thi...
CLOSED
2021-09-06T21:06:57
2021-09-08T08:51:52
2021-09-08T08:51:52
https://github.com/huggingface/datasets/issues/2871
{ "login": "bwang482" }
{ "nodes": [ { "name": "bug" } ] }
[ "I have changed line 288 to `if int(datasets.config.PYARROW_VERSION.split(\".\")[0]) < 3:` just to get around it.", "Hi @bwang482,\r\n\r\nI'm sorry but I'm not able to reproduce your bug.\r\n\r\nPlease note that in our current master branch, we made a commit (d03223d4d64b89e76b48b00602aba5aa2f817f1e) that simulta...
MDU6SXNzdWU5ODc2NzY0MjA=
2,869
TypeError: 'NoneType' object is not callable
## Describe the bug TypeError: 'NoneType' object is not callable ## Steps to reproduce the bug ```python from datasets import load_dataset, load_metric dataset = datasets.load_dataset("glue", 'cola') ``` ## Expected results A clear and concise description of the expected results. ## Actual results Speci...
CLOSED
2021-09-03T11:27:39
2025-02-19T09:57:34
2021-09-08T09:24:55
https://github.com/huggingface/datasets/issues/2869
{ "login": "Chenfei-Kang" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi, @Chenfei-Kang.\r\n\r\nI'm sorry, but I'm not able to reproduce your bug:\r\n```python\r\nfrom datasets import load_dataset\r\n\r\nds = load_dataset(\"glue\", 'cola')\r\nds\r\n```\r\n```\r\nDatasetDict({\r\n train: Dataset({\r\n features: ['sentence', 'label', 'idx'],\r\n num_rows: 8551\r\n ...
MDU6SXNzdWU5ODcxMzkxNDY=
2,868
Add Common Objects in 3D (CO3D)
## Adding a Dataset - **Name:** *Common Objects in 3D (CO3D)* - **Description:** *See blog post [here](https://ai.facebook.com/blog/common-objects-in-3d-dataset-for-3d-reconstruction)* - **Paper:** *[link to paper](https://arxiv.org/abs/2109.00512)* - **Data:** *[link to data](https://ai.facebook.com/datasets/co3d-...
OPEN
2021-09-02T20:36:12
2024-01-17T12:03:59
null
https://github.com/huggingface/datasets/issues/2868
{ "login": "nateraw" }
{ "nodes": [ { "name": "dataset request" }, { "name": "vision" } ] }
[]
MDU6SXNzdWU5ODY3MDY2NzY=
2,866
"counter" dataset raises an error in normal mode, but not in streaming mode
## Describe the bug `counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode. ## Steps to reproduce the bug ```python >>> import datasets as ds >>> a = ds.load_dataset('counter', split="train", streaming=False) Using custom data configuration default Dow...
CLOSED
2021-09-02T13:10:53
2021-10-14T09:24:09
2021-10-14T09:24:09
https://github.com/huggingface/datasets/issues/2866
{ "login": "severo" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @severo, thanks for reporting.\r\n\r\nJust note that currently not all canonical datasets support streaming mode: this is one case!\r\n\r\nAll datasets that use `pathlib` joins (using `/`) instead of `os.path.join` (as in this dataset) do not support streaming mode yet.", "OK. Do you think it's possible to de...
MDU6SXNzdWU5ODUwMTMzMzk=
2,860
Cannot download TOTTO dataset
Error: Couldn't find file at https://storage.googleapis.com/totto/totto_data.zip `datasets version: 1.11.0` # How to reproduce: ```py from datasets import load_dataset dataset = load_dataset('totto') ```
CLOSED
2021-09-01T11:04:10
2021-09-02T06:47:40
2021-09-02T06:47:40
https://github.com/huggingface/datasets/issues/2860
{ "login": "mrm8488" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hola @mrm8488, thanks for reporting.\r\n\r\nApparently, the data source host changed their URL one week ago: https://github.com/google-research-datasets/ToTTo/commit/cebeb430ec2a97747e704d16a9354f7d9073ff8f\r\n\r\nI'm fixing it." ]
MDU6SXNzdWU5ODQzMjQ1MDA=
2,859
Loading allenai/c4 in streaming mode does too many HEAD requests
This does 60,000+ HEAD requests to get all the ETags of all the data files: ```python from datasets import load_dataset load_dataset("allenai/c4", streaming=True) ``` It makes loading the dataset completely impractical. The ETags are used to compute the config id (it must depend on the data files being used). ...
CLOSED
2021-08-31T21:11:04
2021-10-12T07:35:52
2021-10-11T11:05:51
https://github.com/huggingface/datasets/issues/2859
{ "login": "lhoestq" }
{ "nodes": [ { "name": "enhancement" }, { "name": "streaming" } ] }
[ "https://github.com/huggingface/datasets/blob/6c766f9115d686182d76b1b937cb27e099c45d68/src/datasets/builder.py#L179-L186", "Thanks a lot!!!" ]
MDU6SXNzdWU5ODI2NTQ2NDQ=
2,850
Wound segmentation datasets
## Adding a Dataset - **Name:** Wound segmentation datasets - **Description:** annotated wound image dataset - **Paper:** https://www.nature.com/articles/s41598-020-78799-w - **Data:** https://github.com/uwm-bigdata/wound-segmentation - **Motivation:** Interesting simple image dataset, useful for segmentation, wi...
OPEN
2021-08-30T10:44:32
2021-12-08T12:02:00
null
https://github.com/huggingface/datasets/issues/2850
{ "login": "osanseviero" }
{ "nodes": [ { "name": "dataset request" }, { "name": "vision" } ] }
[]
MDU6SXNzdWU5ODI2MzE0MjA=
2,849
Add Open Catalyst Project Dataset
## Adding a Dataset - **Name:** Open Catalyst 2020 (OC20) Dataset - **Website:** https://opencatalystproject.org/ - **Data:** https://github.com/Open-Catalyst-Project/ocp/blob/master/DATASET.md Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATAS...
OPEN
2021-08-30T10:14:39
2021-08-30T10:14:39
null
https://github.com/huggingface/datasets/issues/2849
{ "login": "osanseviero" }
{ "nodes": [ { "name": "dataset request" } ] }
[]
MDU6SXNzdWU5ODE1ODc1OTA=
2,846
Negative timezone
## Describe the bug The load_dataset method do not accept a parquet file with a negative timezone, as it has the following regex: ``` "^(s|ms|us|ns),\s*tz=([a-zA-Z0-9/_+:]*)$" ``` So a valid timestap ```timestamp[us, tz=-03:00]``` returns an error when loading parquet files. ## Steps to reproduce the bug ```py...
CLOSED
2021-08-27T20:50:33
2021-09-10T11:51:07
2021-09-10T11:51:07
https://github.com/huggingface/datasets/issues/2846
{ "login": "jadermcs" }
{ "nodes": [ { "name": "bug" } ] }
[ "Fixed by #2847." ]
MDU6SXNzdWU5ODE0ODc4NjE=
2,845
[feature request] adding easy to remember `datasets.cache_dataset()` + `datasets.is_dataset_cached()`
Often, there is a need to prepare a dataset but not use it immediately, e.g. think tests suite setup, so it'd be really useful to be able to do: ``` if not datasets.is_dataset_cached(ds): datasets.cache_dataset(ds) ``` This can already be done with: ``` builder = load_dataset_builder(ds) if not os.path.idsi...
OPEN
2021-08-27T18:21:51
2021-08-27T18:24:05
null
https://github.com/huggingface/datasets/issues/2845
{ "login": "stas00" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
MDU6SXNzdWU5ODA3MjU4OTk=
2,842
always requiring the username in the dataset name when there is one
Me and now another person have been bitten by the `datasets`'s non-strictness on requiring a dataset creator's username when it's due. So both of us started with `stas/openwebtext-10k`, somewhere along the lines lost `stas/` and continued using `openwebtext-10k` and it all was good until we published the software an...
CLOSED
2021-08-26T23:31:53
2021-10-22T09:43:35
2021-10-22T09:43:35
https://github.com/huggingface/datasets/issues/2842
{ "login": "stas00" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "From what I can understand, you want the saved arrow file directory to have username as well instead of just dataset name if it was downloaded with the user prefix?", "I don't think the user cares of how this is done, but the 2nd command should fail, IMHO, as its dataset name is invalid:\r\n```\r\n# first run\r\...
MDU6SXNzdWU5ODA0OTczMjE=
2,841
Adding GLUECoS Hinglish and Spanglish code-switching bemchmark
## Adding a Dataset - **Name:** GLUECoS - **Description:** a Microsoft Benchmark to evaluate code-switching for only two language pairs but a variety of tasks - **Paper:** https://aclanthology.org/2020.acl-main.329/ - **Data:** https://github.com/microsoft/GLUECoS - **Motivation:** We currently only have [one othe...
OPEN
2021-08-26T17:47:39
2021-10-20T18:41:20
null
https://github.com/huggingface/datasets/issues/2841
{ "login": "yjernite" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "Hi @yjernite I am interested in adding this dataset. \r\nIn the repo they have also added a code mixed MT task from English to Hinglish [here](https://github.com/microsoft/GLUECoS#code-mixed-machine-translation-task). I think this could be a good dataset addition in itself and then I can add the rest of the GLUECo...
MDU6SXNzdWU5ODA0ODkwNzQ=
2,840
How can I compute BLEU-4 score use `load_metric` ?
I have found the sacrebleu metric. But, I do not know the difference between it and BLEU-4. If I want to compute BLEU-4 score, what can i do?
CLOSED
2021-08-26T17:36:37
2021-08-27T08:13:24
2021-08-27T08:13:24
https://github.com/huggingface/datasets/issues/2840
{ "login": "Doragd" }
{ "nodes": [] }
[]
MDU6SXNzdWU5ODAyNzE3MTU=
2,839
OpenWebText: NonMatchingSplitsSizesError
## Describe the bug When downloading `openwebtext`, I'm getting: ``` datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=39769494896, num_examples=8013769, dataset_name='openwebtext'), 'recorded': SplitInfo(name='train', num_bytes=39611023912, num_examples=7982430...
CLOSED
2021-08-26T13:50:26
2021-09-21T14:12:40
2021-09-21T14:09:43
https://github.com/huggingface/datasets/issues/2839
{ "login": "thomasw21" }
{ "nodes": [ { "name": "bug" } ] }
[ "Thanks for reporting, I'm updating the verifications metadata", "I just regenerated the verifications metadata and noticed that nothing changed: the data file is fine (the checksum didn't change), and the number of examples is still 8013769. Not sure how you managed to get 7982430 examples.\r\n\r\nCan you try to...
MDU6SXNzdWU5NzkyOTgyOTc=
2,837
prepare_module issue when loading from read-only fs
## Describe the bug When we use prepare_module from a readonly file system, we create a FileLock using the `local_path`. This path is not necessarily writable. `lock_path = local_path + ".lock"` ## Steps to reproduce the bug Run `load_dataset` on a readonly python loader file. ```python ds = load_datas...
CLOSED
2021-08-25T15:21:26
2021-10-05T17:58:22
2021-10-05T17:58:22
https://github.com/huggingface/datasets/issues/2837
{ "login": "Dref360" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hello, I opened #2887 to fix this." ]
MDU6SXNzdWU5NzgyOTYxNDA=
2,833
IndexError when accessing first element of a Dataset if first RecordBatch is empty
The computation of the offsets of the underlying Table of a Dataset has some issues if the first RecordBatch is empty. ```python from datasets import Dataset import pyarrow as pa pa_table = pa.Table.from_pydict({"a": [1]}) pa_table2 = pa.Table.from_pydict({"a": []}, schema=pa_table.schema) ds_table = pa.conca...
CLOSED
2021-08-24T16:49:20
2021-08-24T17:21:17
2021-08-24T17:21:17
https://github.com/huggingface/datasets/issues/2833
{ "login": "lhoestq" }
{ "nodes": [] }
[]
MDU6SXNzdWU5NzgwMTI4MDA=
2,832
Logging levels not taken into account
## Describe the bug The `logging` module isn't working as intended relative to the levels to set. ## Steps to reproduce the bug ```python from datasets import logging logging.set_verbosity_debug() logger = logging.get_logger() logger.error("ERROR") logger.warning("WARNING") logger.info("INFO") logge...
CLOSED
2021-08-24T11:50:41
2023-07-12T17:19:30
2023-07-12T17:19:29
https://github.com/huggingface/datasets/issues/2832
{ "login": "LysandreJik" }
{ "nodes": [ { "name": "bug" } ] }
[ "I just take a look at all the outputs produced by `datasets` using the different log-levels.\r\nAs far as i can tell using `datasets==1.17.0` they overall issue seems to be fixed.\r\n\r\nHowever, I noticed that there is one tqdm based progress indicator appearing on STDERR that I can simply not suppress.\r\n```\r\...
MDU6SXNzdWU5Nzc4NjQ2MDA=
2,831
ArrowInvalid when mapping dataset with missing values
## Describe the bug I encountered an `ArrowInvalid` when mapping dataset with missing values. Here are the files for a minimal example. The exception is only thrown when the first line in the csv has a missing value (if you move the last line to the top it isn't thrown). [data_small.csv](https://github.com/huggingf...
OPEN
2021-08-24T08:50:42
2021-08-31T14:15:34
null
https://github.com/huggingface/datasets/issues/2831
{ "login": "uniquefine" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi ! It fails because of the feature type inference.\r\n\r\nBecause the first 1000 examples all have null values in the \"match\" field, then it infers that the type for this field is `null` type before writing the data on disk. But as soon as it tries to map an example with a non-null \"match\" field, then it fai...
MDU6SXNzdWU5NzcyMzMzNjA=
2,829
Optimize streaming from TAR archives
Hi ! As you know TAR has some constraints for data streaming. While it is optimized for buffering, the files in the TAR archive **need to be streamed in order**. It means that we can't choose which file to stream from, and this notation is to be avoided for TAR archives: ``` tar://books_large_p1.txt::https://storage....
CLOSED
2021-08-23T16:56:40
2022-09-21T14:29:46
2022-09-21T14:08:39
https://github.com/huggingface/datasets/issues/2829
{ "login": "lhoestq" }
{ "nodes": [ { "name": "enhancement" }, { "name": "streaming" } ] }
[ "Closed by: \r\n- #3066" ]
MDU6SXNzdWU5NzY5NzQyNTQ=
2,826
Add a Text Classification dataset: KanHope
## Adding a Dataset - **Name:** *KanHope* - **Description:** *A code-mixed English-Kannada dataset for Hope speech detection* - **Paper:** *https://arxiv.org/abs/2108.04616* (I am the author of the paper} - **Author:** *[AdeepH](https://github.com/adeepH)* - **Data:** *https://github.com/adeepH/KanHope/tree/main/d...
CLOSED
2021-08-23T12:21:58
2021-10-01T18:06:59
2021-10-01T18:06:59
https://github.com/huggingface/datasets/issues/2826
{ "login": "adeepH" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "Hi ! In your script it looks like you're trying to load the dataset `bn_hate_speech,`, not KanHope.\r\n\r\nMoreover the error `KeyError: ' '` means that you have a feature of type ClassLabel, but for a certain example of the dataset, it looks like the label is empty (it's just a string with a space). Can you make ...
MDU6SXNzdWU5NzY1ODQ5MjY=
2,825
The datasets.map function does not load cached dataset after moving python script
## Describe the bug The datasets.map function caches the processed data to a certain directory. When the map function is called another time with totally the same parameters, the cached data are supposed to be reloaded instead of re-processing. However, it doesn't reuse cached data sometimes. I use the common data pro...
CLOSED
2021-08-23T03:23:37
2024-07-29T11:25:50
2021-08-31T13:13:36
https://github.com/huggingface/datasets/issues/2825
{ "login": "hobbitlzy" }
{ "nodes": [ { "name": "bug" } ] }
[ "This also happened to me on COLAB.\r\nDetails:\r\nI ran the `run_mlm.py` in two different notebooks. \r\nIn the first notebook, I do tokenization since I can get 4 CPU cores without any GPUs, and save the cache into a folder which I copy to drive.\r\nIn the second notebook, I copy the cache folder from drive and r...
MDU6SXNzdWU5NzYxMzUzNTU=
2,823
HF_DATASETS_CACHE variable in Windows
I can't seem to use a custom Cache directory in Windows. I have tried: set HF_DATASETS_CACHE = "C:\Datasets" set HF_DATASETS_CACHE = "C:/Datasets" set HF_DATASETS_CACHE = "C:\\Datasets" set HF_DATASETS_CACHE = "r'C:\Datasets'" set HF_DATASETS_CACHE = "\Datasets" set HF_DATASETS_CACHE = "/Datasets" In each in...
CLOSED
2021-08-21T13:17:44
2021-08-21T13:20:11
2021-08-21T13:20:11
https://github.com/huggingface/datasets/issues/2823
{ "login": "rp2839" }
{ "nodes": [] }
[ "Agh - I'm a muppet. No quote marks are needed.\r\nset HF_DATASETS_CACHE = C:\\Datasets\r\nworks as intended." ]
MDU6SXNzdWU5NzU1NTYwMzI=
2,821
Cannot load linnaeus dataset
## Describe the bug The [linnaeus](https://huggingface.co/datasets/linnaeus) dataset cannot be loaded. To reproduce: ``` from datasets import load_dataset datasets = load_dataset("linnaeus") ``` This results in: ``` Downloading and preparing dataset linnaeus/linnaeus (download: 17.36 MiB, generated: 8.74 MiB,...
CLOSED
2021-08-20T12:15:15
2021-08-31T13:13:02
2021-08-31T13:12:09
https://github.com/huggingface/datasets/issues/2821
{ "login": "NielsRogge" }
{ "nodes": [ { "name": "bug" } ] }
[ "Thanks for reporting ! #2852 fixed this error\r\n\r\nWe'll do a new release of `datasets` soon :)" ]
MDU6SXNzdWU5NzUyMTA3MTI=
2,820
Downloading “reddit” dataset keeps timing out.
## Describe the bug A clear and concise description of what the bug is. Everytime I try and download the reddit dataset it times out before finishing and I have to try again. There is some timeout error that I will post once it happens again. ## Steps to reproduce the bug ```python from datasets import load_d...
CLOSED
2021-08-20T02:52:36
2021-09-08T14:52:02
2021-09-08T14:52:02
https://github.com/huggingface/datasets/issues/2820
{ "login": "smeyerhot" }
{ "nodes": [ { "name": "bug" } ] }
[ "```\r\nUsing custom data configuration default\r\nDownloading and preparing dataset reddit/default (download: 2.93 GiB, generated: 17.64 GiB, post-processed: Unknown size, total: 20.57 GiB) to /Volumes/My Passport for Mac/og-chat-data/reddit/default/1.0.0/98ba5abea674d3178f7588aa6518a5510dc0c6fa8176d9653a3546d5afc...
MDU6SXNzdWU5NzQ1NTIwMDk=
2,818
cannot load data from my loacal path
## Describe the bug I just want to directly load data from my local path,but find a bug.And I compare it with pandas to provide my local path is real. here is my code ```python3 # print my local path print(config.train_path) # read data and print data length tarin=pd.read_csv(config.train_path) print(len(tari...
CLOSED
2021-08-19T11:13:30
2023-07-25T17:42:15
2023-07-25T17:42:15
https://github.com/huggingface/datasets/issues/2818
{ "login": "yang-collect" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi ! The `data_files` parameter must be a string, a list/tuple or a python dict.\r\n\r\nCan you check the type of your `config.train_path` please ? Or use `data_files=str(config.train_path)` ?" ]
MDU6SXNzdWU5NzQwMzE0MDQ=
2,816
Add Mostly Basic Python Problems Dataset
## Adding a Dataset - **Name:** Mostly Basic Python Problems Dataset - **Description:** The benchmark consists of around 1,000 crowd-sourced Python programming problems, designed to be solvable by entry level programmers, covering programming fundamentals, standard library functionality, and so on. Each problem consi...
OPEN
2021-08-18T20:28:39
2021-09-10T08:04:20
null
https://github.com/huggingface/datasets/issues/2816
{ "login": "osanseviero" }
{ "nodes": [ { "name": "dataset request" } ] }
[ "I started working on that." ]
MDU6SXNzdWU5NzM0NzA1ODA=
2,813
Remove compression from xopen
We implemented support for streaming with 2 requirements: - transparent use for the end user: just needs to pass the parameter `streaming=True` - no additional work for the contributors: previous loading scripts should also work in streaming mode with no (or minor) changes; and new loading scripts should not involve ...
CLOSED
2021-08-18T09:35:59
2021-08-23T15:59:14
2021-08-23T15:59:14
https://github.com/huggingface/datasets/issues/2813
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "generic discussion" } ] }
[ "After discussing with @lhoestq, a reasonable alternative:\r\n- `download_manager.extract(urlpath)` adds prefixes to `urlpath` in the same way as `fsspec` does for protocols, but we implement custom prefixes for all compression formats: \r\n `bz2::http://domain.org/filename.bz2`\r\n- `xopen` parses the `urlpath` a...
MDU6SXNzdWU5NzI5MzY4ODk=
2,812
arXiv Dataset verification problem
## Describe the bug `dataset_infos.json` for `arxiv_dataset` contains a fixed number of training examples, however the data (downloaded from an external source) is updated every week with additional examples. Therefore, loading the dataset without `ignore_verifications=True` results in a verification error.
OPEN
2021-08-17T18:01:48
2022-01-19T14:15:35
null
https://github.com/huggingface/datasets/issues/2812
{ "login": "eladsegal" }
{ "nodes": [ { "name": "bug" }, { "name": "dataset bug" } ] }
[]
MDU6SXNzdWU5NzE4ODIzMjA=
2,808
Enable streaming for Wikipedia corpora
**Is your feature request related to a problem? Please describe.** Several of the [Wikipedia corpora](https://huggingface.co/datasets?search=wiki) on the Hub involve quite large files that would be a good candidate for streaming. Currently it is not possible to stream these corpora: ```python from datasets import ...
CLOSED
2021-08-16T15:59:12
2023-07-20T13:45:30
2023-07-20T13:45:30
https://github.com/huggingface/datasets/issues/2808
{ "login": "lewtun" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Closing as this has been addressed in https://github.com/huggingface/datasets/pull/5689." ]
MDU6SXNzdWU5NzA1MDczNTE=
2,799
Loading JSON throws ArrowNotImplementedError
## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no problem loading the dataset with `pandas` which...
CLOSED
2021-08-13T15:31:48
2022-01-10T18:59:32
2022-01-10T18:59:32
https://github.com/huggingface/datasets/issues/2799
{ "login": "lewtun" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @lewtun, thanks for reporting.\r\n\r\nApparently, `pyarrow.json` tries to cast timestamp-like fields in your JSON file to pyarrow timestamp type, and it fails with `ArrowNotImplementedError`.\r\n\r\nI will investigate if there is a way to tell pyarrow not to try that timestamp casting.", "I think the issue is...
MDU6SXNzdWU5NzAzMzE2MzQ=
2,797
Make creating/editing dataset cards easier, by editing on site and dumping info from test command.
**Is your feature request related to a problem? Please describe.** Creating and editing dataset cards should be but not that easy - If other else know Some information I don't know (bias of dataset, dataset curation, supported dataset, ...), he/she should know the description on hf.co comes from README.md under git...
OPEN
2021-08-13T11:54:49
2021-08-14T08:42:09
null
https://github.com/huggingface/datasets/issues/2797
{ "login": "richarddwang" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
MDU6SXNzdWU5Njk3Mjg1NDU=
2,794
Warnings and documentation about pickling incorrect
## Describe the bug I have a docs bug and a closely related docs enhancement suggestion! ### Bug The warning and documentation say "either `dill` or `pickle`" for fingerprinting. But it seems that `dill`, which is installed by `datasets` by default, _must_ work, or else the fingerprinting fails. Warning: ...
OPEN
2021-08-12T23:09:13
2021-08-12T23:09:31
null
https://github.com/huggingface/datasets/issues/2794
{ "login": "mbforbes" }
{ "nodes": [ { "name": "bug" } ] }
[]
MDU6SXNzdWU5NjcxNDkzODk=
2,788
How to sample every file in a list of files making up a split in a dataset when loading?
I am loading a dataset with multiple train, test, and validation files like this: ``` data_files_dict = { "train": [train_file1, train_file2], "test": [test_file1, test_file2], "val": [val_file1, val_file2] } dataset = datasets.load_dataset( "csv", data_files=data_files_dict, split=[...
CLOSED
2021-08-11T17:43:21
2023-07-25T17:40:50
2023-07-25T17:40:50
https://github.com/huggingface/datasets/issues/2788
{ "login": "brijow" }
{ "nodes": [] }
[ "Hi ! This is not possible just with `load_dataset`.\r\n\r\nYou can do something like this instead:\r\n```python\r\nseed=42\r\ndata_files_dict = {\r\n \"train\": [train_file1, train_file2],\r\n \"test\": [test_file1, test_file2],\r\n \"val\": [val_file1, val_file2]\r\n}\r\ndataset = datasets.load_dataset(\...
MDU6SXNzdWU5NjcwMTg0MDY=
2,787
ConnectionError: Couldn't reach https://raw.githubusercontent.com
Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/...
CLOSED
2021-08-11T16:19:01
2023-10-03T12:39:25
2021-08-18T15:09:18
https://github.com/huggingface/datasets/issues/2787
{ "login": "jinec" }
{ "nodes": [ { "name": "bug" } ] }
[ "the bug code locate in :\r\n if data_args.task_name is not None:\r\n # Downloading and loading a dataset from the hub.\r\n datasets = load_dataset(\"glue\", data_args.task_name, cache_dir=model_args.cache_dir)", "Hi @jinec,\r\n\r\nFrom time to time we get this kind of `ConnectionError` coming fr...
MDU6SXNzdWU5NjQ4MDUzNTE=
2,781
Latest v2.0.0 release of sacrebleu has broken some metrics
## Describe the bug After `sacrebleu` v2.0.0 release (see changes here: https://github.com/mjpost/sacrebleu/pull/152/files#diff-2553a315bb1f7e68c9c1b00d56eaeb74f5205aeb3a189bc3e527b122c6078795L17-R15), some of `datasets` metrics are broken: - Default tokenizer `sacrebleu.DEFAULT_TOKENIZER` no longer exists: - #273...
CLOSED
2021-08-10T09:59:41
2021-08-10T11:16:07
2021-08-10T11:16:07
https://github.com/huggingface/datasets/issues/2781
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[]
MDU6SXNzdWU5NjQ0MDA1OTY=
2,776
document `config.HF_DATASETS_OFFLINE` and precedence
https://github.com/huggingface/datasets/pull/1976 implemented `HF_DATASETS_OFFLINE`, but: 1. `config.HF_DATASETS_OFFLINE` is not documented 2. the precedence is not documented (env, config) I'm thinking it probably should be similar to what it says https://huggingface.co/docs/datasets/loading_datasets.html#from-th...
OPEN
2021-08-09T21:23:17
2021-08-09T21:23:17
null
https://github.com/huggingface/datasets/issues/2776
{ "login": "stas00" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
MDU6SXNzdWU5NjQzMDM2MjY=
2,775
`generate_random_fingerprint()` deterministic with 🤗Transformers' `set_seed()`
## Describe the bug **Update:** I dug into this to try to reproduce the underlying issue, and I believe it's that `set_seed()` from the `transformers` library makes the "random" fingerprint identical each time. I believe this is still a bug, because `datasets` is used exactly this way in `transformers` after `set_se...
CLOSED
2021-08-09T19:28:51
2024-01-26T15:05:36
2024-01-26T15:05:35
https://github.com/huggingface/datasets/issues/2775
{ "login": "mbforbes" }
{ "nodes": [ { "name": "bug" } ] }
[ "I dug into what I believe is the root of this issue and added a repro in my comment. If this is better addressed as a cross-team issue, let me know and I can open an issue in the Transformers repo", "Hi !\r\n\r\nIMO we shouldn't try to modify `set_seed` from transformers but maybe make `datasets` have its own RN...
MDU6SXNzdWU5NjM3MzA0OTc=
2,773
Remove dataset_infos.json
**Is your feature request related to a problem? Please describe.** As discussed, there are infos in the `dataset_infos.json` which are redundant and we could have them only in the README file. Others could be migrated to the README, like: "dataset_size", "size_in_bytes", "download_size", "splits.split_name.[num_byt...
CLOSED
2021-08-09T07:43:19
2024-05-04T14:52:10
2024-05-04T14:52:10
https://github.com/huggingface/datasets/issues/2773
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "enhancement" }, { "name": "generic discussion" } ] }
[ "This was closed by:\r\n- #4926" ]
MDU6SXNzdWU5NjMzNDg4MzQ=
2,772
Remove returned feature constrain
In the current version, the returned value of the map function has to be list or ndarray. However, this makes it unsuitable for many tasks. In NLP, many features are sparse like verb words, noun chunks, if we want to assign different values to different words, which will result in a large sparse matrix if we only score...
OPEN
2021-08-08T04:01:30
2021-08-08T08:48:01
null
https://github.com/huggingface/datasets/issues/2772
{ "login": "PosoSAgapo" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
MDU6SXNzdWU5NjMyMjkxNzM=
2,768
`ArrowInvalid: Added column's length must match table's length.` after using `select`
## Describe the bug I would like to add a column to a downsampled dataset. However I get an error message saying the length don't match with the length of the unsampled dataset indicated. I suspect that the dataset size is not updated when calling `select`. ## Steps to reproduce the bug ```python from datasets im...
CLOSED
2021-08-07T13:17:29
2026-03-24T08:19:25
2021-08-09T11:26:43
https://github.com/huggingface/datasets/issues/2768
{ "login": "lvwerra" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi,\r\n\r\nthe `select` method creates an indices mapping and doesn't modify the underlying PyArrow table by default for better performance. To modify the underlying table after the `select` call, call `flatten_indices` on the dataset object as follows:\r\n```python\r\nfrom datasets import load_dataset\r\n\r\nds =...
MDU6SXNzdWU5NjMwMDIxMjA=
2,767
equal operation to perform unbatch for huggingface datasets
Hi I need to use "unbatch" operation in tensorflow on a huggingface dataset, I could not find this operation, could you kindly direct me how I can do it, here is the problem I am trying to solve: I am considering "record" dataset in SuperGlue and I need to replicate each entery of the dataset for each answer, to ma...
CLOSED
2021-08-06T19:45:52
2022-03-07T13:58:00
2022-03-07T13:58:00
https://github.com/huggingface/datasets/issues/2767
{ "login": "dorooddorood606" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @lhoestq \r\nMaybe this is clearer to explain like this, currently map function, map one example to \"one\" modified one, lets assume we want to map one example to \"multiple\" examples, in which we do not know in advance how many examples they would be per each entry. I greatly appreciate telling me how I can ...
MDU6SXNzdWU5NjI4NjEzOTU=
2,765
BERTScore Error
## Describe the bug A clear and concise description of what the bug is. ## Steps to reproduce the bug ```python predictions = ["hello there", "general kenobi"] references = ["hello there", "general kenobi"] bert = load_metric('bertscore') bert.compute(predictions=predictions, references=references,lang='en') ...
CLOSED
2021-08-06T15:58:57
2021-08-09T11:16:25
2021-08-09T11:16:25
https://github.com/huggingface/datasets/issues/2765
{ "login": "gagan3012" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi,\r\n\r\nThe `use_fast_tokenizer` argument has been recently added to the bert-score lib. I've opened a PR with the fix. In the meantime, you can try to downgrade the version of bert-score with the following command to make the code work:\r\n```\r\npip uninstall bert-score\r\npip install \"bert-score<0.3.10\"\r\...
MDU6SXNzdWU5NjE4OTU1MjM=
2,763
English wikipedia datasets is not clean
## Describe the bug Wikipedia english dumps contain many wikipedia paragraphs like "References", "Category:" and "See Also" that should not be used for training. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from datasets import load_dataset w = load_dataset('wikipedia', '20200501.e...
CLOSED
2021-08-05T14:37:24
2023-07-25T17:43:04
2023-07-25T17:43:04
https://github.com/huggingface/datasets/issues/2763
{ "login": "lucadiliello" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi ! Certain users might need these data (for training or simply to explore/index the dataset).\r\n\r\nFeel free to implement a map function that gets rid of these paragraphs and process the wikipedia dataset with it before training" ]
MDU6SXNzdWU5NjE2NTIwNDY=
2,762
Add RVL-CDIP dataset
## Adding a Dataset - **Name:** RVL-CDIP - **Description:** The RVL-CDIP (Ryerson Vision Lab Complex Document Information Processing) dataset consists of 400,000 grayscale images in 16 classes, with 25,000 images per class. There are 320,000 training images, 40,000 validation images, and 40,000 test images. The image...
CLOSED
2021-08-05T09:57:05
2022-04-21T17:15:41
2022-04-21T17:15:41
https://github.com/huggingface/datasets/issues/2762
{ "login": "NielsRogge" }
{ "nodes": [ { "name": "dataset request" }, { "name": "vision" } ] }
[ "cc @nateraw ", "#self-assign", "[labels_only.tar.gz](https://docs.google.com/uc?authuser=0&id=0B0NKIRwUL9KYcXo3bV9LU0t3SGs&export=download) on the RVL-CDIP website does not work for me.\r\n\r\n> 404. That’s an error. The requested URL was not found on this server.\r\n\r\nI contacted the author ( Adam Harley) r...
MDU6SXNzdWU5NjE1NjgyODc=
2,761
Error loading C4 realnewslike dataset
## Describe the bug Error loading C4 realnewslike dataset. Validation part mismatch ## Steps to reproduce the bug ```python raw_datasets = load_dataset('c4', 'realnewslike', cache_dir=model_args.cache_dir) ## Expected results success on data loading ## Actual results Downloading: 100%|███████████████████████...
CLOSED
2021-08-05T08:16:58
2021-08-08T19:44:34
2021-08-08T19:44:34
https://github.com/huggingface/datasets/issues/2761
{ "login": "danshirron" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @danshirron, \r\n`c4` was updated few days back by @lhoestq. The new configs are `['en', 'en.noclean', 'en.realnewslike', 'en.webtextlike'].` You'll need to remove any older version of this dataset you previously downloaded and then run `load_dataset` again with new configuration.", "@bhavitvyamalik @lhoestq ...
MDU6SXNzdWU5NjEzNzI2Njc=
2,760
Add Nuswide dataset
## Adding a Dataset - **Name:** *NUSWIDE* - **Description:** *[A Real-World Web Image Dataset from National University of Singapore](https://lms.comp.nus.edu.sg/wp-content/uploads/2019/research/nuswide/NUS-WIDE.html)* - **Paper:** *[here](https://lms.comp.nus.edu.sg/wp-content/uploads/2019/research/nuswide/nuswide-c...
OPEN
2021-08-05T03:00:41
2021-12-08T12:06:23
null
https://github.com/huggingface/datasets/issues/2760
{ "login": "shivangibithel" }
{ "nodes": [ { "name": "dataset request" }, { "name": "vision" } ] }
[]
MDU6SXNzdWU5NTk5ODQwODE=
2,757
Unexpected type after `concatenate_datasets`
## Describe the bug I am trying to concatenate two `Dataset` using `concatenate_datasets` but it turns out that after concatenation the features are casted from `torch.Tensor` to `list`. It then leads to a weird tensors when trying to convert it to a `DataLoader`. However, if I use each `Dataset` separately everythi...
CLOSED
2021-08-04T07:10:39
2021-08-04T16:01:24
2021-08-04T16:01:23
https://github.com/huggingface/datasets/issues/2757
{ "login": "JulesBelveze" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @JulesBelveze, thanks for your question.\r\n\r\nNote that 🤗 `datasets` internally store their data in Apache Arrow format.\r\n\r\nHowever, when accessing dataset columns, by default they are returned as native Python objects (lists in this case).\r\n\r\nIf you would like their columns to be returned in a more...
MDU6SXNzdWU5NTg5ODQ3MzA=
2,750
Second concatenation of datasets produces errors
Hi, I am need to concatenate my dataset with others several times, and after I concatenate it for the second time, the features of features (e.g. tags names) are collapsed. This hinders, for instance, the usage of tokenize function with `data.map`. ``` from datasets import load_dataset, concatenate_datasets d...
CLOSED
2021-08-03T10:47:04
2022-01-19T14:23:43
2022-01-19T14:19:05
https://github.com/huggingface/datasets/issues/2750
{ "login": "Aktsvigun" }
{ "nodes": [ { "name": "bug" } ] }
[ "@albertvillanova ", "Hi @Aktsvigun, thanks for reporting.\r\n\r\nI'm investigating this.", "Hi @albertvillanova ,\r\nany update on this? Can I probably help in some way?", "Hi @Aktsvigun! We are planning to address this issue before our next release, in a couple of weeks at most. 😅 \r\n\r\nIn the meantime, ...
MDU6SXNzdWU5NTg5Njg3NDg=
2,749
Raise a proper exception when trying to stream a dataset that requires to manually download files
## Describe the bug At least for 'reclor', 'telugu_books', 'turkish_movie_sentiment', 'ubuntu_dialogs_corpus', 'wikihow', trying to `load_dataset` in streaming mode raises a `TypeError` without any detail about why it fails. ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = ...
CLOSED
2021-08-03T10:26:27
2021-08-09T08:53:35
2021-08-04T11:36:30
https://github.com/huggingface/datasets/issues/2749
{ "login": "severo" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @severo, thanks for reporting.\r\n\r\nAs discussed, datasets requiring manual download should be:\r\n- programmatically identifiable\r\n- properly handled with more clear error message when trying to load them with streaming\r\n\r\nIn relation with programmatically identifiability, note that for datasets requir...
MDU6SXNzdWU5NTg1NTE2MTk=
2,746
Cannot load `few-nerd` dataset
## Describe the bug Cannot load `few-nerd` dataset. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset('few-nerd', 'supervised') ``` ## Actual results Executing above code will give the following error: ``` Using the latest cached version of the module from /Users...
CLOSED
2021-08-02T22:18:57
2021-11-16T08:51:34
2021-08-03T19:45:43
https://github.com/huggingface/datasets/issues/2746
{ "login": "Mehrad0711" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @Mehrad0711,\r\n\r\nI'm afraid there is no \"canonical\" Hugging Face dataset named \"few-nerd\".\r\n\r\nThere are 2 kinds of datasets hosted at the Hugging Face Hub:\r\n- canonical datasets (their identifier contains no slash \"/\"): we, the Hugging Face team, supervise their implementation and we make sure th...
MDU6SXNzdWU5NTgxMTkyNTE=
2,743
Dataset JSON is incorrect
## Describe the bug The JSON file generated for https://github.com/huggingface/datasets/blob/573f3d35081cee239d1b962878206e9abe6cde91/datasets/journalists_questions/journalists_questions.py is https://github.com/huggingface/datasets/blob/573f3d35081cee239d1b962878206e9abe6cde91/datasets/journalists_questions/dataset...
CLOSED
2021-08-02T13:01:26
2021-08-03T10:06:57
2021-08-03T09:25:33
https://github.com/huggingface/datasets/issues/2743
{ "login": "severo" }
{ "nodes": [ { "name": "bug" } ] }
[ "As discussed, the metadata JSON files must be regenerated because the keys were nor properly generated and they will not be read by the builder:\r\n> Indeed there is some problem/bug while reading the datasets_info.json file: there is a mismatch with the config.name keys in the file...\r\nIn the meanwhile, in orde...
MDU6SXNzdWU5NTgxMTQwNjQ=
2,742
Improve detection of streamable file types
**Is your feature request related to a problem? Please describe.** ```python from datasets import load_dataset_builder from datasets.utils.streaming_download_manager import StreamingDownloadManager builder = load_dataset_builder("journalists_questions", name="plain_text") builder._split_generators(StreamingDownl...
CLOSED
2021-08-02T12:55:09
2021-11-12T17:18:10
2021-11-12T17:18:10
https://github.com/huggingface/datasets/issues/2742
{ "login": "severo" }
{ "nodes": [ { "name": "enhancement" }, { "name": "dataset-viewer" } ] }
[ "maybe we should rather attempt to download a `Range` from the server and see if it works?" ]
MDU6SXNzdWU5NTc5Nzk1NTk=
2,741
Add Hypersim dataset
## Adding a Dataset - **Name:** Hypersim - **Description:** photorealistic synthetic dataset for holistic indoor scene understanding - **Paper:** *link to the dataset paper if available* - **Data:** https://github.com/apple/ml-hypersim Instructions to add a new dataset can be found [here](https://github.com/hugg...
OPEN
2021-08-02T10:06:50
2021-12-08T12:06:51
null
https://github.com/huggingface/datasets/issues/2741
{ "login": "osanseviero" }
{ "nodes": [ { "name": "dataset request" }, { "name": "vision" } ] }
[]
MDU6SXNzdWU5NTcxMjQ4ODE=
2,737
SacreBLEU update
With the latest release of [sacrebleu](https://github.com/mjpost/sacrebleu), `datasets.metrics.sacrebleu` is broken, and getting error. AttributeError: module 'sacrebleu' has no attribute 'DEFAULT_TOKENIZER' this happens since in new version of sacrebleu there is no `DEFAULT_TOKENIZER`, but sacrebleu.py tries...
CLOSED
2021-07-30T23:53:08
2021-09-22T10:47:41
2021-08-03T04:23:37
https://github.com/huggingface/datasets/issues/2737
{ "login": "devrimcavusoglu" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hi @devrimcavusoglu, \r\nI tried your code with latest version of `datasets`and `sacrebleu==1.5.1` and it's running fine after changing one small thing:\r\n```\r\nsacrebleu = datasets.load_metric('sacrebleu')\r\npredictions = [\"It is a guide to action which ensures that the military always obeys the commands of t...