html_url
stringlengths
48
51
title
stringlengths
5
280
comments
stringlengths
63
51.8k
body
stringlengths
0
36.2k
comment_length
int64
16
1.52k
text
stringlengths
159
54.1k
embeddings
listlengths
768
768
https://github.com/huggingface/datasets/issues/4152
ArrayND error in pyarrow 5
We need to bump it in `setup.py` as well as update some CI job to use pyarrow 6 instead of 5 in `.circleci/config.yaml` and `.github/workflows/benchmarks.yaml`
As found in https://github.com/huggingface/datasets/pull/3903, The ArrayND features fail on pyarrow 5: ```python import pyarrow as pa from datasets import Array2D from datasets.table import cast_array_to_feature arr = pa.array([[[0]]]) feature_type = Array2D(shape=(1, 1), dtype="int64") cast_array_to_feature(a...
25
ArrayND error in pyarrow 5 As found in https://github.com/huggingface/datasets/pull/3903, The ArrayND features fail on pyarrow 5: ```python import pyarrow as pa from datasets import Array2D from datasets.table import cast_array_to_feature arr = pa.array([[[0]]]) feature_type = Array2D(shape=(1, 1), dtype="int...
[ -0.27178874611854553, 0.0057998597621917725, -0.09467674791812897, 0.07623609900474548, 0.17722000181674957, -0.13541190326213837, 0.5197150111198425, 0.28534582257270813, -0.150676429271698, -0.15376414358615875, -0.38038378953933716, 0.10658343136310577, 0.00128842331469059, 0.1034753248...
https://github.com/huggingface/datasets/issues/4149
load_dataset for winoground returning decoding error
I thought I had fixed it with this after some helpful hints from @severo ```python import datasets token = 'hf_XXXXX' dataset = datasets.load_dataset( 'facebook/winoground', name='facebook--winoground', split='train', streaming=True, use_auth_token=token, ) ``` but I found out that w...
## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winoground', use_auth_token=token) ``` ## Expected res...
50
load_dataset for winoground returning decoding error ## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/win...
[ -0.18663476407527924, 0.38164353370666504, -0.00021499767899513245, 0.43978142738342285, 0.21209025382995605, 0.11757395416498184, 0.025205418467521667, 0.18467357754707336, 0.08002226054668427, -0.1368638128042221, -0.17777898907661438, 0.08330950886011124, 0.01093471422791481, 0.04495082...
https://github.com/huggingface/datasets/issues/4149
load_dataset for winoground returning decoding error
Hi ! This dataset structure (image + labels in a JSON file) is not supported yet, though we're adding support for this in in #4069 The following structure will be supported soon: ``` metadata.json images/ image0.png image1.png ... ``` Where `metadata.json` is a JSON Lines file with labels or ...
## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winoground', use_auth_token=token) ``` ## Expected res...
141
load_dataset for winoground returning decoding error ## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/win...
[ -0.18663476407527924, 0.38164353370666504, -0.00021499767899513245, 0.43978142738342285, 0.21209025382995605, 0.11757395416498184, 0.025205418467521667, 0.18467357754707336, 0.08002226054668427, -0.1368638128042221, -0.17777898907661438, 0.08330950886011124, 0.01093471422791481, 0.04495082...
https://github.com/huggingface/datasets/issues/4149
load_dataset for winoground returning decoding error
We'll also investigate the issue with the streaming download manager in https://github.com/huggingface/datasets/issues/4139 ;) thanks for reporting
## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winoground', use_auth_token=token) ``` ## Expected res...
16
load_dataset for winoground returning decoding error ## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/win...
[ -0.18663476407527924, 0.38164353370666504, -0.00021499767899513245, 0.43978142738342285, 0.21209025382995605, 0.11757395416498184, 0.025205418467521667, 0.18467357754707336, 0.08002226054668427, -0.1368638128042221, -0.17777898907661438, 0.08330950886011124, 0.01093471422791481, 0.04495082...
https://github.com/huggingface/datasets/issues/4149
load_dataset for winoground returning decoding error
In the meantime, anyone can always download the images.zip and examples.jsonl files directly from huggingface.co - let me know if anyone has issues with that.
## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winoground', use_auth_token=token) ``` ## Expected res...
25
load_dataset for winoground returning decoding error ## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/win...
[ -0.18663476407527924, 0.38164353370666504, -0.00021499767899513245, 0.43978142738342285, 0.21209025382995605, 0.11757395416498184, 0.025205418467521667, 0.18467357754707336, 0.08002226054668427, -0.1368638128042221, -0.17777898907661438, 0.08330950886011124, 0.01093471422791481, 0.04495082...
https://github.com/huggingface/datasets/issues/4149
load_dataset for winoground returning decoding error
I mirrored the files at https://huggingface.co/datasets/facebook/winoground in a folder on my local machine `winground` and when I tried ```python import datasets ds = datasets.load_from_disk('./winoground') ``` I get the following error ```python ----------------------------------------------------------------...
## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winoground', use_auth_token=token) ``` ## Expected res...
107
load_dataset for winoground returning decoding error ## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/win...
[ -0.18663476407527924, 0.38164353370666504, -0.00021499767899513245, 0.43978142738342285, 0.21209025382995605, 0.11757395416498184, 0.025205418467521667, 0.18467357754707336, 0.08002226054668427, -0.1368638128042221, -0.17777898907661438, 0.08330950886011124, 0.01093471422791481, 0.04495082...
https://github.com/huggingface/datasets/issues/4149
load_dataset for winoground returning decoding error
Note that `load_from_disk` is the function that reloads an Arrow dataset saved with `my_dataset.save_to_disk`. Once we do support images with metadata you'll be able to use `load_dataset("facebook/winoground")` directly (or `load_dataset("./winoground")` of you've cloned the winoground repository locally).
## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winoground', use_auth_token=token) ``` ## Expected res...
37
load_dataset for winoground returning decoding error ## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/win...
[ -0.18663476407527924, 0.38164353370666504, -0.00021499767899513245, 0.43978142738342285, 0.21209025382995605, 0.11757395416498184, 0.025205418467521667, 0.18467357754707336, 0.08002226054668427, -0.1368638128042221, -0.17777898907661438, 0.08330950886011124, 0.01093471422791481, 0.04495082...
https://github.com/huggingface/datasets/issues/4149
load_dataset for winoground returning decoding error
Apologies for the delay. I added a custom dataset loading script for winoground. It should work now, with an auth token: `examples = load_dataset('facebook/winoground', use_auth_token=<your auth token>)` Let me know if there are any issues
## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winoground', use_auth_token=token) ``` ## Expected res...
35
load_dataset for winoground returning decoding error ## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/win...
[ -0.18663476407527924, 0.38164353370666504, -0.00021499767899513245, 0.43978142738342285, 0.21209025382995605, 0.11757395416498184, 0.025205418467521667, 0.18467357754707336, 0.08002226054668427, -0.1368638128042221, -0.17777898907661438, 0.08330950886011124, 0.01093471422791481, 0.04495082...
https://github.com/huggingface/datasets/issues/4149
load_dataset for winoground returning decoding error
Adding the dataset loading script definitely didn't take as long as I thought it would 😅
## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winoground', use_auth_token=token) ``` ## Expected res...
16
load_dataset for winoground returning decoding error ## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/win...
[ -0.18663476407527924, 0.38164353370666504, -0.00021499767899513245, 0.43978142738342285, 0.21209025382995605, 0.11757395416498184, 0.025205418467521667, 0.18467357754707336, 0.08002226054668427, -0.1368638128042221, -0.17777898907661438, 0.08330950886011124, 0.01093471422791481, 0.04495082...
https://github.com/huggingface/datasets/issues/4146
SAMSum dataset viewer not working
Currently, only the datasets that can be streamed support the dataset viewer. Maybe @lhoestq @albertvillanova or @mariosasko could give more details about why the dataset cannot be streamed.
## 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
28
SAMSum dataset viewer not working ## Dataset viewer issue for '*name of the dataset*' **Link:** *link to the dataset viewer page* *short description of the issue* Am I the one who added this dataset ? Yes-No Currently, only the datasets that can be streamed support the dataset viewer. Maybe @lhoestq @alb...
[ -0.4890424311161041, -0.19477182626724243, 0.019912149757146835, 0.16621243953704834, 0.3226158618927002, 0.17721089720726013, 0.15332303941249847, 0.14061138033866882, 0.013646036386489868, 0.17777001857757568, -0.16807031631469727, 0.3436412215232849, 0.014858630485832691, 0.169583499431...
https://github.com/huggingface/datasets/issues/4146
SAMSum dataset viewer not working
It looks like the host (https://arxiv.org) doesn't allow HTTP Range requests, which is what we use to stream data. This can be fix if we host the data ourselves, which is ok since the dataset is under CC BY-NC-ND 4.0
## 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
40
SAMSum dataset viewer not working ## Dataset viewer issue for '*name of the dataset*' **Link:** *link to the dataset viewer page* *short description of the issue* Am I the one who added this dataset ? Yes-No It looks like the host (https://arxiv.org) doesn't allow HTTP Range requests, which is what we us...
[ -0.4041631817817688, -0.21618762612342834, 0.00996987521648407, 0.09502190351486206, 0.38160622119903564, 0.04995190352201462, 0.0980619490146637, 0.26195454597473145, -0.02179412543773651, 0.11901052296161652, -0.20755857229232788, 0.38867291808128357, 0.1510302722454071, 0.03383829444646...
https://github.com/huggingface/datasets/issues/4143
Unable to download `Wikepedia` 20220301.en version
Hi! We've recently updated the Wikipedia script, so these changes are only available on master and can be fetched as follows: ```python dataset_wikipedia = load_dataset("wikipedia", "20220301.en", revision="master") ```
## Describe the bug Unable to download `Wikepedia` dataset, 20220301.en version ## Steps to reproduce the bug ```python !pip install apache_beam mwparserfromhell dataset_wikipedia = load_dataset("wikipedia", "20220301.en") ``` ## Actual results ``` ValueError: BuilderConfig 20220301.en not found. Avail...
28
Unable to download `Wikepedia` 20220301.en version ## Describe the bug Unable to download `Wikepedia` dataset, 20220301.en version ## Steps to reproduce the bug ```python !pip install apache_beam mwparserfromhell dataset_wikipedia = load_dataset("wikipedia", "20220301.en") ``` ## Actual results ``` Val...
[ -0.3187178075313568, 0.13365113735198975, -0.13223892450332642, 0.26052629947662354, -0.09839707612991333, 0.0693124458193779, 0.33291786909103394, 0.4483039975166321, 0.25013890862464905, 0.3041917085647583, 0.2490297555923462, 0.12957482039928436, 0.07585416734218597, 0.32713496685028076...
https://github.com/huggingface/datasets/issues/4143
Unable to download `Wikepedia` 20220301.en version
Hi, how can I load the previous "20200501.en" version of wikipedia which had been downloaded to the default path? Thanks!
## Describe the bug Unable to download `Wikepedia` dataset, 20220301.en version ## Steps to reproduce the bug ```python !pip install apache_beam mwparserfromhell dataset_wikipedia = load_dataset("wikipedia", "20220301.en") ``` ## Actual results ``` ValueError: BuilderConfig 20220301.en not found. Avail...
20
Unable to download `Wikepedia` 20220301.en version ## Describe the bug Unable to download `Wikepedia` dataset, 20220301.en version ## Steps to reproduce the bug ```python !pip install apache_beam mwparserfromhell dataset_wikipedia = load_dataset("wikipedia", "20220301.en") ``` ## Actual results ``` Val...
[ -0.3187178075313568, 0.13365113735198975, -0.13223892450332642, 0.26052629947662354, -0.09839707612991333, 0.0693124458193779, 0.33291786909103394, 0.4483039975166321, 0.25013890862464905, 0.3041917085647583, 0.2490297555923462, 0.12957482039928436, 0.07585416734218597, 0.32713496685028076...
https://github.com/huggingface/datasets/issues/4140
Error loading arxiv data set
Hi! I think this error may be related to using an older version of the library. I was able to load the dataset without any issues using the latest version of `datasets`. Can you upgrade to the latest version of `datasets` and try again? :)
## Describe the bug A clear and concise description of what the bug is. I met the error below when loading arxiv dataset via `nlp.load_dataset('scientific_papers', 'arxiv',)`. ``` Traceback (most recent call last): File "scripts/summarization.py", line 354, in <module> main(args) File "scripts/summari...
45
Error loading arxiv data set ## Describe the bug A clear and concise description of what the bug is. I met the error below when loading arxiv dataset via `nlp.load_dataset('scientific_papers', 'arxiv',)`. ``` Traceback (most recent call last): File "scripts/summarization.py", line 354, in <module> main...
[ -0.13808457553386688, 0.16167321801185608, 0.007934439927339554, 0.28195732831954956, 0.29166626930236816, -0.04781791940331459, 0.06854572147130966, 0.5627234578132629, 0.05411190167069435, -0.06703157722949982, -0.06376897543668747, 0.2794143855571747, 0.07535652816295624, 0.002810880541...
https://github.com/huggingface/datasets/issues/4140
Error loading arxiv data set
Hi! As @stevhliu suggested, to fix the issue, update the lib to the newest version with: ``` pip install -U datasets ``` and download the dataset as follows: ```python from datasets import load_dataset dset = load_dataset('scientific_papers', 'arxiv', download_mode="force_redownload") ```
## Describe the bug A clear and concise description of what the bug is. I met the error below when loading arxiv dataset via `nlp.load_dataset('scientific_papers', 'arxiv',)`. ``` Traceback (most recent call last): File "scripts/summarization.py", line 354, in <module> main(args) File "scripts/summari...
39
Error loading arxiv data set ## Describe the bug A clear and concise description of what the bug is. I met the error below when loading arxiv dataset via `nlp.load_dataset('scientific_papers', 'arxiv',)`. ``` Traceback (most recent call last): File "scripts/summarization.py", line 354, in <module> main...
[ -0.13808457553386688, 0.16167321801185608, 0.007934439927339554, 0.28195732831954956, 0.29166626930236816, -0.04781791940331459, 0.06854572147130966, 0.5627234578132629, 0.05411190167069435, -0.06703157722949982, -0.06376897543668747, 0.2794143855571747, 0.07535652816295624, 0.002810880541...
https://github.com/huggingface/datasets/issues/4140
Error loading arxiv data set
Thanks for the quick response! It works now. The problem is that I used nlp. load_dataset instead of datasets. load_dataset.
## Describe the bug A clear and concise description of what the bug is. I met the error below when loading arxiv dataset via `nlp.load_dataset('scientific_papers', 'arxiv',)`. ``` Traceback (most recent call last): File "scripts/summarization.py", line 354, in <module> main(args) File "scripts/summari...
20
Error loading arxiv data set ## Describe the bug A clear and concise description of what the bug is. I met the error below when loading arxiv dataset via `nlp.load_dataset('scientific_papers', 'arxiv',)`. ``` Traceback (most recent call last): File "scripts/summarization.py", line 354, in <module> main...
[ -0.13808457553386688, 0.16167321801185608, 0.007934439927339554, 0.28195732831954956, 0.29166626930236816, -0.04781791940331459, 0.06854572147130966, 0.5627234578132629, 0.05411190167069435, -0.06703157722949982, -0.06376897543668747, 0.2794143855571747, 0.07535652816295624, 0.002810880541...
https://github.com/huggingface/datasets/issues/4139
Dataset viewer issue for Winoground
I thought this issue was related to the error I was seeing, but upon consideration I'd think the dataset viewer would return a 500 (unable to create the split like me) or a 404 (unable to load split b/c it was never created) error if it was having the issue I was seeing in #4149. 401 message makes it look like dataset ...
## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to authorization, but I can access the files f...
84
Dataset viewer issue for Winoground ## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to autho...
[ -0.21582245826721191, 0.39182502031326294, 0.019526664167642593, 0.24883732199668884, -0.1773582547903061, 0.01176290214061737, 0.20998933911323547, -0.09897293150424957, -0.3108904957771301, -0.12872911989688873, -0.21361605823040009, -0.013775854371488094, -0.09426591545343399, 0.0527163...
https://github.com/huggingface/datasets/issues/4139
Dataset viewer issue for Winoground
To replicate: ```python >>> import datasets >>> dataset= datasets.load_dataset('facebook/winoground', name='facebook--winoground', split='train', use_auth_token="hf_app_...", streaming=True) >>> next(iter(dataset)) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/slesage/h...
## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to authorization, but I can access the files f...
200
Dataset viewer issue for Winoground ## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to autho...
[ -0.20851412415504456, 0.3726023733615875, 0.010257720947265625, 0.18125629425048828, 0.03531632944941521, 0.09515132755041122, 0.2718733847141266, -0.0505482517182827, -0.2809489369392395, -0.08999234437942505, -0.3027312457561493, -0.10536891222000122, -0.1971442997455597, -0.016118373721...
https://github.com/huggingface/datasets/issues/4139
Dataset viewer issue for Winoground
~~Using your command to replicate and changing `use_token` to `use_auth_token` fixes the problem I was seeing in #4149.~~ Nevermind it gave me an iterator to a method returning the same 401s. Changing `use_token` to `use_auth_token` does not fix the issue.
## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to authorization, but I can access the files f...
40
Dataset viewer issue for Winoground ## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to autho...
[ -0.3063987195491791, 0.35606569051742554, 0.05785556510090828, 0.09772299230098724, 0.02354145236313343, -0.017656054347753525, 0.25223657488822937, 0.04315415769815445, -0.25480467081069946, -0.0015680566430091858, -0.2723410427570343, 0.044924020767211914, -0.12449865788221359, 0.1341282...
https://github.com/huggingface/datasets/issues/4139
Dataset viewer issue for Winoground
After investigation with @severo , we found a potential culprit: https://github.com/huggingface/datasets/blob/3cd0a009a43f9f174056d70bfa2ca32216181926/src/datasets/utils/streaming_download_manager.py#L610-L624 The streaming manager does not seem to pass `use_auth_token` to `fsspec` when streaming and not iterating c...
## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to authorization, but I can access the files f...
35
Dataset viewer issue for Winoground ## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to autho...
[ -0.3267650604248047, 0.3238725960254669, 0.045644361525774, 0.21882717311382294, 0.11867768317461014, 0.06968731433153152, 0.04610183462500572, -0.23300474882125854, -0.2824743390083313, -0.06233775615692139, -0.2895495891571045, -0.09481821209192276, -0.17218726873397827, 0.15333610773086...
https://github.com/huggingface/datasets/issues/4139
Dataset viewer issue for Winoground
I was able to reproduce it on a private dataset, let me work on a fix
## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to authorization, but I can access the files f...
16
Dataset viewer issue for Winoground ## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to autho...
[ -0.23858672380447388, 0.38034164905548096, 0.019863121211528778, 0.25705164670944214, 0.04560728371143341, 0.10840899497270584, 0.09055386483669281, -0.12863880395889282, -0.3383241593837738, -0.018300488591194153, -0.3247799575328827, -0.022291725501418114, -0.19565264880657196, 0.0001296...
https://github.com/huggingface/datasets/issues/4139
Dataset viewer issue for Winoground
Thanks for the heads up, I still need to fix some tests that are failing in the CI before merging ;)
## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to authorization, but I can access the files f...
21
Dataset viewer issue for Winoground ## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to autho...
[ -0.27741724252700806, 0.3570381700992584, 0.018905695527791977, 0.2028401643037796, -0.0644623190164566, 0.1670634150505066, 0.13201503455638885, -0.14363239705562592, -0.3657695949077606, -0.01156318187713623, -0.3856450319290161, -0.12379435449838638, -0.12703180313110352, 0.136071756482...
https://github.com/huggingface/datasets/issues/4139
Dataset viewer issue for Winoground
The fix has been merged, we'll do a new release soon, and update the dataset viewer
## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to authorization, but I can access the files f...
16
Dataset viewer issue for Winoground ## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to autho...
[ -0.2664143443107605, 0.3596874177455902, 0.0041652582585811615, 0.22174197435379028, 0.02264317497611046, 0.10166441649198532, 0.10906066000461578, -0.10837335884571075, -0.3371364176273346, -0.017149031162261963, -0.33075249195098877, -0.051537640392780304, -0.20275212824344635, 0.0162699...
https://github.com/huggingface/datasets/issues/4138
Incorrect Russian filenames encoding after extraction by datasets.DownloadManager.download_and_extract()
To reproduce: ```python >>> import datasets >>> datasets.get_dataset_split_names('MalakhovIlya/RuREBus', config_name='raw_txt') Traceback (most recent call last): File "/home/slesage/hf/datasets-preview-backend/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 280, in get_dataset_config_info fo...
## Dataset viewer issue for 'MalakhovIlya/RuREBus' **Link:** https://huggingface.co/datasets/MalakhovIlya/RuREBus **Description** Using os.walk(topdown=False) in DatasetBuilder causes following error: Status code: 400 Exception: TypeError Message: xwalk() got an unexpected keyword argument 'topdow...
143
Incorrect Russian filenames encoding after extraction by datasets.DownloadManager.download_and_extract() ## Dataset viewer issue for 'MalakhovIlya/RuREBus' **Link:** https://huggingface.co/datasets/MalakhovIlya/RuREBus **Description** Using os.walk(topdown=False) in DatasetBuilder causes following error: Stat...
[ -0.0074532367289066315, -0.06315413117408752, -0.018023133277893066, 0.38833343982696533, 0.4040849208831787, -0.04123056307435036, -0.09856608510017395, 0.13557551801204681, -0.17968857288360596, 0.25417912006378174, -0.1795738935470581, 0.42432284355163574, -0.01966104656457901, 0.163803...
https://github.com/huggingface/datasets/issues/4138
Incorrect Russian filenames encoding after extraction by datasets.DownloadManager.download_and_extract()
Hi! This issue stems from the fact that `xwalk`, which is a streamable version of `os.walk`, doesn't support the `topdown` param due to `fsspec`'s `walk` also not supporting it, so fixing this issue could be tricky. @MalakhovIlyaPavlovich You can avoid the error by tweaking your data processing and not using this ...
## Dataset viewer issue for 'MalakhovIlya/RuREBus' **Link:** https://huggingface.co/datasets/MalakhovIlya/RuREBus **Description** Using os.walk(topdown=False) in DatasetBuilder causes following error: Status code: 400 Exception: TypeError Message: xwalk() got an unexpected keyword argument 'topdow...
59
Incorrect Russian filenames encoding after extraction by datasets.DownloadManager.download_and_extract() ## Dataset viewer issue for 'MalakhovIlya/RuREBus' **Link:** https://huggingface.co/datasets/MalakhovIlya/RuREBus **Description** Using os.walk(topdown=False) in DatasetBuilder causes following error: Stat...
[ -0.05993950366973877, 0.00046478956937789917, 0.0007158592343330383, 0.29290664196014404, 0.472581684589386, -0.0914139673113823, -0.21737615764141083, 0.0923401489853859, -0.08905526995658875, 0.3572287857532501, -0.09731820225715637, 0.30234530568122864, 0.031104695051908493, 0.233728274...
https://github.com/huggingface/datasets/issues/4138
Incorrect Russian filenames encoding after extraction by datasets.DownloadManager.download_and_extract()
@mariosasko thank you for your reply. I couldn't reproduce error showed by @severo either on Ubuntu 20.04.3 LTS, Windows 10 and Google Colab environments. But trying to avoid using os.walk(topdown=False) and Path.rename(), In _split_generators I replaced ``` def decode_file_names(folder): for root, dirs, files i...
## Dataset viewer issue for 'MalakhovIlya/RuREBus' **Link:** https://huggingface.co/datasets/MalakhovIlya/RuREBus **Description** Using os.walk(topdown=False) in DatasetBuilder causes following error: Status code: 400 Exception: TypeError Message: xwalk() got an unexpected keyword argument 'topdow...
213
Incorrect Russian filenames encoding after extraction by datasets.DownloadManager.download_and_extract() ## Dataset viewer issue for 'MalakhovIlya/RuREBus' **Link:** https://huggingface.co/datasets/MalakhovIlya/RuREBus **Description** Using os.walk(topdown=False) in DatasetBuilder causes following error: Stat...
[ -0.0071324072778224945, 0.07379628717899323, 0.03285996615886688, 0.38998472690582275, 0.4107303023338318, -0.19134485721588135, -0.0048409514129161835, 0.20068782567977905, -0.2905465364456177, 0.3830554485321045, -0.20886541903018951, 0.4631149172782898, 0.0013724379241466522, 0.15793451...
https://github.com/huggingface/datasets/issues/4138
Incorrect Russian filenames encoding after extraction by datasets.DownloadManager.download_and_extract()
This is what I get when I try to stream the `raw_txt` subset: ```python >>> dset = load_dataset("MalakhovIlya/RuREBus", "raw_txt", split="raw_txt", streaming=True) >>> next(iter(dset)) Traceback (most recent call last): File "<stdin>", line 1, in <module> StopIteration ``` So there is a bug in your script.
## Dataset viewer issue for 'MalakhovIlya/RuREBus' **Link:** https://huggingface.co/datasets/MalakhovIlya/RuREBus **Description** Using os.walk(topdown=False) in DatasetBuilder causes following error: Status code: 400 Exception: TypeError Message: xwalk() got an unexpected keyword argument 'topdow...
44
Incorrect Russian filenames encoding after extraction by datasets.DownloadManager.download_and_extract() ## Dataset viewer issue for 'MalakhovIlya/RuREBus' **Link:** https://huggingface.co/datasets/MalakhovIlya/RuREBus **Description** Using os.walk(topdown=False) in DatasetBuilder causes following error: Stat...
[ -0.15747085213661194, -0.11518169939517975, 0.010846074670553207, 0.31411802768707275, 0.31858009099960327, 0.04886949062347412, -0.07088033854961395, 0.18524374067783356, -0.03543072193861008, 0.23666661977767944, -0.027217688038945198, 0.2307993769645691, 0.0007412843406200409, 0.2097198...
https://github.com/huggingface/datasets/issues/4138
Incorrect Russian filenames encoding after extraction by datasets.DownloadManager.download_and_extract()
streaming=True helped me to find solution. I fixed ``` def extract(zip_file_path): p = Path(zip_file_path) dest_dir = str(p.parent / 'extracted' / p.stem) os.makedirs(dest_dir, exist_ok=True) with zipfile.ZipFile(zip_file_path) as archive: for file_info in tqdm(archive.infolist(), desc='E...
## Dataset viewer issue for 'MalakhovIlya/RuREBus' **Link:** https://huggingface.co/datasets/MalakhovIlya/RuREBus **Description** Using os.walk(topdown=False) in DatasetBuilder causes following error: Status code: 400 Exception: TypeError Message: xwalk() got an unexpected keyword argument 'topdow...
89
Incorrect Russian filenames encoding after extraction by datasets.DownloadManager.download_and_extract() ## Dataset viewer issue for 'MalakhovIlya/RuREBus' **Link:** https://huggingface.co/datasets/MalakhovIlya/RuREBus **Description** Using os.walk(topdown=False) in DatasetBuilder causes following error: Stat...
[ -0.011979173868894577, -0.13273920118808746, 0.018450748175382614, 0.40761327743530273, 0.4494684934616089, -0.18755319714546204, -0.19433774054050446, 0.18403327465057373, -0.3235189914703369, 0.2890113592147827, -0.23194992542266846, 0.4692307114601135, 0.014537203125655651, 0.0691847801...
https://github.com/huggingface/datasets/issues/4134
ELI5 supporting documents
Hi ! Please post your question on the [forum](https://discuss.huggingface.co/), more people will be able to help you there ;)
if i am using dense search to create supporting documents for eli5 how much time it will take bcz i read somewhere that it takes about 18 hrs??
19
ELI5 supporting documents if i am using dense search to create supporting documents for eli5 how much time it will take bcz i read somewhere that it takes about 18 hrs?? Hi ! Please post your question on the [forum](https://discuss.huggingface.co/), more people will be able to help you there ;)
[ 0.29010576009750366, -0.5284779071807861, -0.23270778357982635, 0.26958024501800537, 0.0564924031496048, -0.2928774058818817, 0.26679787039756775, -0.13747656345367432, -0.09749725461006165, 0.32486969232559204, 0.3197634816169739, -0.49612361192703247, -0.15500156581401825, 0.386240482330...
https://github.com/huggingface/datasets/issues/4133
HANS dataset preview broken
The dataset cannot be loaded, be it in normal or streaming mode. ```python >>> import datasets >>> dataset=datasets.load_dataset("hans", split="train", streaming=True) >>> next(iter(dataset)) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/slesage/hf/datasets-preview-back...
## Dataset viewer issue for '*hans*' **Link:** [https://huggingface.co/datasets/hans](https://huggingface.co/datasets/hans) HANS dataset preview is broken with error 400 Am I the one who added this dataset ? No
224
HANS dataset preview broken ## Dataset viewer issue for '*hans*' **Link:** [https://huggingface.co/datasets/hans](https://huggingface.co/datasets/hans) HANS dataset preview is broken with error 400 Am I the one who added this dataset ? No The dataset cannot be loaded, be it in normal or streaming mode. ...
[ -0.34625959396362305, -0.3120441436767578, 0.0280240997672081, 0.33085036277770996, 0.17796115577220917, -0.007231689989566803, 0.20148813724517822, 0.27680960297584534, 0.037616077810525894, -0.036823466420173645, -0.30769550800323486, 0.16206829249858856, -0.049824558198451996, 0.0480441...
https://github.com/huggingface/datasets/issues/4133
HANS dataset preview broken
Hi! I've opened a PR that should make this dataset stremable. You can test it as follows: ```python from datasets import load_dataset dset = load_dataset("hans", split="train", streaming=True, revision="49decd29839c792ecc24ac88f861cbdec30c1c40") ``` @severo The current script doesn't throw an error in normal mod...
## Dataset viewer issue for '*hans*' **Link:** [https://huggingface.co/datasets/hans](https://huggingface.co/datasets/hans) HANS dataset preview is broken with error 400 Am I the one who added this dataset ? No
65
HANS dataset preview broken ## Dataset viewer issue for '*hans*' **Link:** [https://huggingface.co/datasets/hans](https://huggingface.co/datasets/hans) HANS dataset preview is broken with error 400 Am I the one who added this dataset ? No Hi! I've opened a PR that should make this dataset stremable. You ...
[ -0.49862414598464966, -0.18405549228191376, 0.03228161856532097, 0.21668612957000732, 0.2157125622034073, 0.07473232597112656, 0.10147041082382202, 0.20177969336509705, -0.004671014845371246, 0.13597264885902405, -0.20167705416679382, 0.19201643764972687, -0.08966168016195297, 0.2093842476...
https://github.com/huggingface/datasets/issues/4133
HANS dataset preview broken
Thanks for this. It works well, thanks! The dataset viewer is using https://github.com/huggingface/datasets/releases/tag/2.0.0, I'm eager to upgrade to 2.0.1 😉
## Dataset viewer issue for '*hans*' **Link:** [https://huggingface.co/datasets/hans](https://huggingface.co/datasets/hans) HANS dataset preview is broken with error 400 Am I the one who added this dataset ? No
20
HANS dataset preview broken ## Dataset viewer issue for '*hans*' **Link:** [https://huggingface.co/datasets/hans](https://huggingface.co/datasets/hans) HANS dataset preview is broken with error 400 Am I the one who added this dataset ? No Thanks for this. It works well, thanks! The dataset viewer is usin...
[ -0.23055516183376312, -0.2901008725166321, 0.009215287864208221, 0.2625429034233093, 0.06725800037384033, 0.062246061861515045, 0.05773600563406944, 0.20004583895206451, 0.04018033668398857, 0.02675095945596695, -0.310226172208786, 0.08820284903049469, -0.03851425647735596, 0.0455966070294...
https://github.com/huggingface/datasets/issues/4129
dataset metadata for reproducibility
+1 on this idea. This could be powerful for helping better track datasets used for model training and help with automatic model card creation. One possible way of doing this would be to store some/most/all the arguments passed to `load_dataset` if a hub id is passed. i.e. store the Hub ID, configuration, etc. c...
When pulling a dataset from the hub, it would be useful to have some metadata about the specific dataset and version that is used. The metadata could then be passed to the `Trainer` which could then be saved to a model card. This is useful for people who run many experiments on different versions (commits/branches) of ...
55
dataset metadata for reproducibility When pulling a dataset from the hub, it would be useful to have some metadata about the specific dataset and version that is used. The metadata could then be passed to the `Trainer` which could then be saved to a model card. This is useful for people who run many experiments on di...
[ -0.3613413870334625, -0.00813063234090805, 0.004297018051147461, -0.05673585087060928, 0.0365433469414711, 0.03436640650033951, 0.30104953050613403, 0.45543766021728516, -0.03429088369011879, 0.22805581986904144, -0.007196463644504547, 0.43954798579216003, -0.3767392933368683, 0.4402889013...
https://github.com/huggingface/datasets/issues/4124
Image decoding often fails when transforming Image datasets
A quick hack I have found is that we can call the image first before running the transforms and it makes sure the image is decoded before being passed on. For this I just needed to add `example['img'] = example['img']` to the top of my `generate_flipped_data` function, defined above, so that image decode in invoked....
## Describe the bug When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors. Using a debugger it is easy to see what the problem is, the Image decode invocation does not take place and the resulting image pa...
163
Image decoding often fails when transforming Image datasets ## Describe the bug When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors. Using a debugger it is easy to see what the problem is, the Image d...
[ -0.07820019870996475, -0.01851590722799301, -0.17894123494625092, 0.1256355494260788, 0.14424103498458862, -0.10112117975950241, 0.061808109283447266, 0.2104717344045639, -0.1569964438676834, 0.13136889040470123, 0.1810036599636078, 0.5930033326148987, 0.1992652267217636, -0.14406491816043...
https://github.com/huggingface/datasets/issues/4124
Image decoding often fails when transforming Image datasets
Hi @RafayAK, thanks for reporting. Current implementation of the Image feature performs the decoding only if the "img" field is accessed by the mapped function. In your original `generate_flipped_data` function: - it only accesses the "img" field (and thus performs decoding) if `rng.random() > p`; - on the othe...
## Describe the bug When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors. Using a debugger it is easy to see what the problem is, the Image decode invocation does not take place and the resulting image pa...
237
Image decoding often fails when transforming Image datasets ## Describe the bug When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors. Using a debugger it is easy to see what the problem is, the Image d...
[ -0.07820019870996475, -0.01851590722799301, -0.17894123494625092, 0.1256355494260788, 0.14424103498458862, -0.10112117975950241, 0.061808109283447266, 0.2104717344045639, -0.1569964438676834, 0.13136889040470123, 0.1810036599636078, 0.5930033326148987, 0.1992652267217636, -0.14406491816043...
https://github.com/huggingface/datasets/issues/4124
Image decoding often fails when transforming Image datasets
@albertvillanova Thanks for letting me know this is intended behavior. The docs are severely lacking on this, if I hadn't posted this here I would have never found out how I'm actually supposed to modify images in a Dataset object.
## Describe the bug When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors. Using a debugger it is easy to see what the problem is, the Image decode invocation does not take place and the resulting image pa...
40
Image decoding often fails when transforming Image datasets ## Describe the bug When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors. Using a debugger it is easy to see what the problem is, the Image d...
[ -0.07820019870996475, -0.01851590722799301, -0.17894123494625092, 0.1256355494260788, 0.14424103498458862, -0.10112117975950241, 0.061808109283447266, 0.2104717344045639, -0.1569964438676834, 0.13136889040470123, 0.1810036599636078, 0.5930033326148987, 0.1992652267217636, -0.14406491816043...
https://github.com/huggingface/datasets/issues/4124
Image decoding often fails when transforming Image datasets
@albertvillanova Secondly if you check the error message it shows that around 1999 images were successfully created, I'm pretty sure some of them were also flipped during the process. Back to my main contention, sometimes the decoding takes place other times it fails. I suppose to run `map` on any dataset all the e...
## Describe the bug When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors. Using a debugger it is easy to see what the problem is, the Image decode invocation does not take place and the resulting image pa...
71
Image decoding often fails when transforming Image datasets ## Describe the bug When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors. Using a debugger it is easy to see what the problem is, the Image d...
[ -0.07820019870996475, -0.01851590722799301, -0.17894123494625092, 0.1256355494260788, 0.14424103498458862, -0.10112117975950241, 0.061808109283447266, 0.2104717344045639, -0.1569964438676834, 0.13136889040470123, 0.1810036599636078, 0.5930033326148987, 0.1992652267217636, -0.14406491816043...
https://github.com/huggingface/datasets/issues/4124
Image decoding often fails when transforming Image datasets
Hi @RafayAK! I've opened a PR with the fix, which adds a fallback to reattempt casting to PyArrow format with a more robust (but more expensive) procedure if the first attempt fails. Feel free to test it by installing `datasets` from the PR branch with the following command: ``` pip install git+https://github.com/hug...
## Describe the bug When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors. Using a debugger it is easy to see what the problem is, the Image decode invocation does not take place and the resulting image pa...
53
Image decoding often fails when transforming Image datasets ## Describe the bug When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors. Using a debugger it is easy to see what the problem is, the Image d...
[ -0.07820019870996475, -0.01851590722799301, -0.17894123494625092, 0.1256355494260788, 0.14424103498458862, -0.10112117975950241, 0.061808109283447266, 0.2104717344045639, -0.1569964438676834, 0.13136889040470123, 0.1810036599636078, 0.5930033326148987, 0.1992652267217636, -0.14406491816043...
https://github.com/huggingface/datasets/issues/4124
Image decoding often fails when transforming Image datasets
@mariosasko Thanks a lot for looking into this, now the `map` function at least behaves as one would expect a function to behave. Looking forward to exploring Hugging Face more and even contributing 😃. ```bash $ conda list | grep datasets datasets 2.0.1.dev0 pypi_0 pypi `...
## Describe the bug When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors. Using a debugger it is easy to see what the problem is, the Image decode invocation does not take place and the resulting image pa...
245
Image decoding often fails when transforming Image datasets ## Describe the bug When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors. Using a debugger it is easy to see what the problem is, the Image d...
[ -0.07820019870996475, -0.01851590722799301, -0.17894123494625092, 0.1256355494260788, 0.14424103498458862, -0.10112117975950241, 0.061808109283447266, 0.2104717344045639, -0.1569964438676834, 0.13136889040470123, 0.1810036599636078, 0.5930033326148987, 0.1992652267217636, -0.14406491816043...
https://github.com/huggingface/datasets/issues/4123
Building C4 takes forever
Hi @StellaAthena, thanks for reporting. Please note, that our `datasets` library performs several operations in order to load a dataset, among them: - it downloads all the required files: for C4 "en", 378.69 GB of JSON GZIPped files - it parses their content to generate the dataset - it caches the dataset in an A...
## Describe the bug C4-en is a 300 GB dataset. However, when I try to download it through the hub it takes over _six hours_ to generate the train/test split from the downloaded files. This is an absurd amount of time and an unnecessary waste of resources. ## Steps to reproduce the bug ```python c4 = datasets.load...
274
Building C4 takes forever ## Describe the bug C4-en is a 300 GB dataset. However, when I try to download it through the hub it takes over _six hours_ to generate the train/test split from the downloaded files. This is an absurd amount of time and an unnecessary waste of resources. ## Steps to reproduce the bug `...
[ -0.4080926477909088, 0.08479021489620209, -0.08239777386188507, 0.5022707581520081, 0.21780376136302948, 0.17812508344650269, 0.2599090039730072, 0.3984816372394562, -0.0510367676615715, 0.1110166609287262, -0.08437579870223999, 0.13972534239292145, -0.06366287171840668, 0.3419266939163208...
https://github.com/huggingface/datasets/issues/4122
medical_dialog zh has very slow _generate_examples
Hi @nbroad1881, thanks for reporting. Let me have a look to try to improve its performance.
## Describe the bug After downloading the files from Google Drive, `load_dataset("medical_dialog", "zh", data_dir="./")` takes an unreasonable amount of time. Generating the train/test split for 33% of the dataset takes over 4.5 hours. ## Steps to reproduce the bug The easiest way I've found to download files from...
16
medical_dialog zh has very slow _generate_examples ## Describe the bug After downloading the files from Google Drive, `load_dataset("medical_dialog", "zh", data_dir="./")` takes an unreasonable amount of time. Generating the train/test split for 33% of the dataset takes over 4.5 hours. ## Steps to reproduce the b...
[ -0.348908007144928, 0.15916025638580322, -0.012125393375754356, 0.14690646529197693, -0.014464449137449265, 0.18549436330795288, 0.751462996006012, 0.4728642702102661, 0.09013456106185913, 0.18660590052604675, -0.034846678376197815, 0.04020940139889717, -0.15930069983005524, 0.275860309600...
https://github.com/huggingface/datasets/issues/4122
medical_dialog zh has very slow _generate_examples
Thanks @nbroad1881 for reporting! I don't recall it taking so long. I will also have a look at this. @albertvillanova please let me know if I am doing something unnecessary or time consuming.
## Describe the bug After downloading the files from Google Drive, `load_dataset("medical_dialog", "zh", data_dir="./")` takes an unreasonable amount of time. Generating the train/test split for 33% of the dataset takes over 4.5 hours. ## Steps to reproduce the bug The easiest way I've found to download files from...
33
medical_dialog zh has very slow _generate_examples ## Describe the bug After downloading the files from Google Drive, `load_dataset("medical_dialog", "zh", data_dir="./")` takes an unreasonable amount of time. Generating the train/test split for 33% of the dataset takes over 4.5 hours. ## Steps to reproduce the b...
[ -0.348908007144928, 0.15916025638580322, -0.012125393375754356, 0.14690646529197693, -0.014464449137449265, 0.18549436330795288, 0.751462996006012, 0.4728642702102661, 0.09013456106185913, 0.18660590052604675, -0.034846678376197815, 0.04020940139889717, -0.15930069983005524, 0.275860309600...
https://github.com/huggingface/datasets/issues/4122
medical_dialog zh has very slow _generate_examples
Hi @nbroad1881 and @vrindaprabhu, As a workaround for the performance of the parsing of the raw data files (this could be addressed in a subsequent PR), I have found that there are also processed data files, that do not require parsing. I have added these as new configurations `processed.en` and `processed.zh`: ```...
## Describe the bug After downloading the files from Google Drive, `load_dataset("medical_dialog", "zh", data_dir="./")` takes an unreasonable amount of time. Generating the train/test split for 33% of the dataset takes over 4.5 hours. ## Steps to reproduce the bug The easiest way I've found to download files from...
57
medical_dialog zh has very slow _generate_examples ## Describe the bug After downloading the files from Google Drive, `load_dataset("medical_dialog", "zh", data_dir="./")` takes an unreasonable amount of time. Generating the train/test split for 33% of the dataset takes over 4.5 hours. ## Steps to reproduce the b...
[ -0.348908007144928, 0.15916025638580322, -0.012125393375754356, 0.14690646529197693, -0.014464449137449265, 0.18549436330795288, 0.751462996006012, 0.4728642702102661, 0.09013456106185913, 0.18660590052604675, -0.034846678376197815, 0.04020940139889717, -0.15930069983005524, 0.275860309600...
https://github.com/huggingface/datasets/issues/4121
datasets.load_metric can not load a local metirc
Hello, could you tell me how this issue can be fixed? I'm coming across the same issue.
## Describe the bug No matter how I hard try to tell load_metric that I want to load a local metric file, it still continues to fetch things on the Internet. And unfortunately it says 'ConnectionError: Couldn't reach'. However I can download this file without connectionerror and tell load_metric its local directory. A...
17
datasets.load_metric can not load a local metirc ## Describe the bug No matter how I hard try to tell load_metric that I want to load a local metric file, it still continues to fetch things on the Internet. And unfortunately it says 'ConnectionError: Couldn't reach'. However I can download this file without connecti...
[ -0.43607208132743835, -0.25002849102020264, 0.045437175780534744, 0.31342869997024536, 0.335332453250885, -0.10281243175268173, 0.11066104471683502, 0.06994546949863434, 0.4024757742881775, 0.3041216731071472, -0.22247745096683502, 0.04708149656653404, 0.13640356063842773, 0.02875404991209...
https://github.com/huggingface/datasets/issues/4117
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
Hi @arymbe, thanks for reporting. Unfortunately, I'm not able to reproduce your problem. Could you please write the complete stack trace? That way we will be able to see which package originates the exception.
## Describe the bug Could you help me please. I got this following error. AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Steps to reproduce the bug when I imported the datasets # Sample code to reproduce the bug from datasets import list_datasets, load_dataset, list_metrics, load_metr...
34
AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Describe the bug Could you help me please. I got this following error. AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Steps to reproduce the bug when I imported the datasets # Sample code to reproduce the bug from...
[ -0.16818007826805115, -0.44436177611351013, -0.03456878289580345, 0.3718605041503906, 0.2857325077056885, 0.13902923464775085, 0.1513350009918213, 0.3024875819683075, 0.512354850769043, 0.1311882734298706, -0.1421201527118683, 0.30141815543174744, -0.0827261358499527, 0.1413988322019577, ...
https://github.com/huggingface/datasets/issues/4117
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
Hello, thank you for your fast replied. this is the complete error that I got --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) --------------------------------------------------------------------------- At...
## Describe the bug Could you help me please. I got this following error. AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Steps to reproduce the bug when I imported the datasets # Sample code to reproduce the bug from datasets import list_datasets, load_dataset, list_metrics, load_metr...
169
AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Describe the bug Could you help me please. I got this following error. AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Steps to reproduce the bug when I imported the datasets # Sample code to reproduce the bug from...
[ -0.2521853744983673, -0.4301818907260895, -0.03049236536026001, 0.45927631855010986, 0.2463351935148239, 0.18307238817214966, 0.1426948606967926, 0.2809118926525116, 0.4128461182117462, 0.1086038276553154, -0.22137705981731415, 0.3965071141719818, -0.0413648746907711, -0.001482352614402771...
https://github.com/huggingface/datasets/issues/4117
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
This is weird... It is long ago that the package `huggingface_hub` has a submodule called `hf_api`. Maybe you have a problem with your installed `huggingface_hub`... Could you please try to update it? ```shell pip install -U huggingface_hub ```
## Describe the bug Could you help me please. I got this following error. AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Steps to reproduce the bug when I imported the datasets # Sample code to reproduce the bug from datasets import list_datasets, load_dataset, list_metrics, load_metr...
38
AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Describe the bug Could you help me please. I got this following error. AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Steps to reproduce the bug when I imported the datasets # Sample code to reproduce the bug from...
[ -0.22300666570663452, -0.5056044459342957, -0.06506351381540298, 0.3610426187515259, 0.2549869418144226, 0.11497148126363754, 0.11822420358657837, 0.32686179876327515, 0.4500235319137573, 0.20663988590240479, -0.2411007583141327, 0.31538811326026917, -0.07330285757780075, 0.116920731961727...
https://github.com/huggingface/datasets/issues/4117
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
Yap, I've updated several times. Then, I've tried numeral combination of datasets and huggingface_hub versions. However, I think your point is right that there is a problem with my huggingface_hub installation. I'll try another way to find the solution. I'll update it later when I get the solution. Thank you :)
## Describe the bug Could you help me please. I got this following error. AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Steps to reproduce the bug when I imported the datasets # Sample code to reproduce the bug from datasets import list_datasets, load_dataset, list_metrics, load_metr...
51
AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Describe the bug Could you help me please. I got this following error. AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Steps to reproduce the bug when I imported the datasets # Sample code to reproduce the bug from...
[ -0.21762122213840485, -0.47809308767318726, -0.03668218106031418, 0.4264870285987854, 0.24145939946174622, 0.07101545482873917, 0.13313604891300201, 0.3361753225326538, 0.3942016661167145, 0.17600524425506592, -0.25716322660446167, 0.3224824368953705, -0.07440641522407532, 0.17548923194408...
https://github.com/huggingface/datasets/issues/4117
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
I'm sorry I can't reproduce your problem. Maybe you could try to create a new Python virtual environment and install all dependencies there from scratch. You can use either: - Python venv: https://docs.python.org/3/library/venv.html - or conda venv (if you are using conda): https://docs.conda.io/projects/conda/en/...
## Describe the bug Could you help me please. I got this following error. AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Steps to reproduce the bug when I imported the datasets # Sample code to reproduce the bug from datasets import list_datasets, load_dataset, list_metrics, load_metr...
43
AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Describe the bug Could you help me please. I got this following error. AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Steps to reproduce the bug when I imported the datasets # Sample code to reproduce the bug from...
[ -0.21466287970542908, -0.36547693610191345, -0.07615196704864502, 0.28642892837524414, 0.3152768015861511, 0.06447785347700119, 0.12038028985261917, 0.37589016556739807, 0.395961195230484, 0.099708691239357, -0.31675437092781067, 0.35482633113861084, -0.03158384934067726, 0.176364809274673...
https://github.com/huggingface/datasets/issues/4117
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
Facing the same issue. Response from `pip show datasets` ``` Name: datasets Version: 1.15.1 Summary: HuggingFace community-driven open-source library of datasets Home-page: https://github.com/huggingface/datasets Author: HuggingFace Inc. Author-email: thomas@huggingface.co License: Apache 2.0 Location: /usr...
## Describe the bug Could you help me please. I got this following error. AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Steps to reproduce the bug when I imported the datasets # Sample code to reproduce the bug from datasets import list_datasets, load_dataset, list_metrics, load_metr...
167
AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Describe the bug Could you help me please. I got this following error. AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Steps to reproduce the bug when I imported the datasets # Sample code to reproduce the bug from...
[ -0.22887471318244934, -0.500328004360199, -0.03256034106016159, 0.41718119382858276, 0.3196237087249756, 0.18917575478553772, 0.12362359464168549, 0.2566920220851898, 0.4274251461029053, 0.11910858005285263, -0.2684928774833679, 0.26832541823387146, -0.10667639970779419, 0.1432971209287643...
https://github.com/huggingface/datasets/issues/4117
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
A workaround: I changed lines around Line 125 in `__init__.py` of `huggingface_hub` to something like ``` __getattr__, __dir__, __all__ = _attach( __name__, submodules=['hf_api'], ``` and it works ( which gives `datasets` direct access to `huggingface_hub.hf_api` ).
## Describe the bug Could you help me please. I got this following error. AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Steps to reproduce the bug when I imported the datasets # Sample code to reproduce the bug from datasets import list_datasets, load_dataset, list_metrics, load_metr...
36
AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Describe the bug Could you help me please. I got this following error. AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Steps to reproduce the bug when I imported the datasets # Sample code to reproduce the bug from...
[ -0.13318201899528503, -0.388434499502182, -0.011428901925683022, 0.3894416093826294, 0.30636292695999146, 0.154563307762146, 0.19128389656543732, 0.25085869431495667, 0.39550232887268066, 0.18141238391399384, -0.3044852018356323, 0.3323442041873932, -0.06325767934322357, 0.0763571634888649...
https://github.com/huggingface/datasets/issues/4117
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
I was getting the same issue. After trying a few versions, following combination worked for me. dataset==2.3.2 huggingface_hub==0.7.0 In another environment, I just installed latest repos from pip through `pip install -U transformers datasets tokenizers evaluate`, resulting in following versions. This also worked....
## Describe the bug Could you help me please. I got this following error. AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Steps to reproduce the bug when I imported the datasets # Sample code to reproduce the bug from datasets import list_datasets, load_dataset, list_metrics, load_metr...
53
AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Describe the bug Could you help me please. I got this following error. AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Steps to reproduce the bug when I imported the datasets # Sample code to reproduce the bug from...
[ -0.2420213669538498, -0.37025296688079834, -0.016820106655359268, 0.2895158529281616, 0.24978454411029816, -0.0038777589797973633, 0.15833106637001038, 0.2593176066875458, 0.3471047580242157, 0.10791266709566116, -0.18922102451324463, 0.3490670919418335, -0.1157945916056633, 0.032266959547...
https://github.com/huggingface/datasets/issues/4117
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
(For layoutlmv3 fine-tuning) In my case, modifying `requirements.txt` as below worked. - python = 3.7 ``` datasets==2.3.2 evaluate==0.1.2 huggingface-hub==0.8.1 response==0.5.0 tokenizers==0.10.1 transformers==4.12.5 seqeval==1.2.2 deepspeed==0.5.7 tensorboard==2.7.0 seqeval==1.2.2 sentencepiece timm=...
## Describe the bug Could you help me please. I got this following error. AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Steps to reproduce the bug when I imported the datasets # Sample code to reproduce the bug from datasets import list_datasets, load_dataset, list_metrics, load_metr...
33
AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Describe the bug Could you help me please. I got this following error. AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Steps to reproduce the bug when I imported the datasets # Sample code to reproduce the bug from...
[ -0.05186692252755165, -0.6372939348220825, 0.011713817715644836, 0.5167974829673767, 0.19316540658473969, 0.15867742896080017, 0.1706334799528122, 0.30373647809028625, 0.2635854482650757, 0.0951227992773056, -0.09369046986103058, 0.24559256434440613, 0.020451508462429047, 0.045235112309455...
https://github.com/huggingface/datasets/issues/4117
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
I encountered the same issue where the problem is the absence of the 'scipy' library. To solve this open your terminal or command prompt and run the following command to install 'scipy': pip install scipy . Restart the kernel and rerun the cell and it will work.
## Describe the bug Could you help me please. I got this following error. AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Steps to reproduce the bug when I imported the datasets # Sample code to reproduce the bug from datasets import list_datasets, load_dataset, list_metrics, load_metr...
47
AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Describe the bug Could you help me please. I got this following error. AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Steps to reproduce the bug when I imported the datasets # Sample code to reproduce the bug from...
[ -0.067244753241539, -0.33974510431289673, -0.040101803839206696, 0.15907937288284302, 0.24787265062332153, 0.07637142390012741, 0.12387710809707642, 0.35300150513648987, 0.35980674624443054, 0.27485716342926025, -0.27522405982017517, 0.3748866617679596, 0.06208927929401398, 0.1950684338808...
https://github.com/huggingface/datasets/issues/4117
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
> I was getting the same issue. After trying a few versions, following combination worked for me. dataset==2.3.2 huggingface_hub==0.7.0 > > In another environment, I just installed latest repos from pip through `pip install -U transformers datasets tokenizers evaluate`, resulting in following versions. This also wor...
## Describe the bug Could you help me please. I got this following error. AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Steps to reproduce the bug when I imported the datasets # Sample code to reproduce the bug from datasets import list_datasets, load_dataset, list_metrics, load_metr...
137
AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Describe the bug Could you help me please. I got this following error. AttributeError: module 'huggingface_hub' has no attribute 'hf_api' ## Steps to reproduce the bug when I imported the datasets # Sample code to reproduce the bug from...
[ -0.24198836088180542, -0.3745211362838745, -0.0064547304064035416, 0.3095182180404663, 0.3097172975540161, -0.007136344909667969, 0.20268182456493378, 0.28553536534309387, 0.3302513360977173, 0.11270581185817719, -0.24083927273750305, 0.39244064688682556, -0.08115997165441513, 0.0507590100...
https://github.com/huggingface/datasets/issues/4115
ImageFolder add option to ignore some folders like '.ipynb_checkpoints'
Maybe it would be nice to ignore private dirs like this one (ones starting with `.`) by default. CC @mariosasko
**Is your feature request related to a problem? Please describe.** I sometimes like to peek at the dataset images from jupyterlab. thus '.ipynb_checkpoints' folder appears where my dataset is and (just realized) leads to accidental duplicate image additions. I think this is an easy enough thing to miss especially if t...
20
ImageFolder add option to ignore some folders like '.ipynb_checkpoints' **Is your feature request related to a problem? Please describe.** I sometimes like to peek at the dataset images from jupyterlab. thus '.ipynb_checkpoints' folder appears where my dataset is and (just realized) leads to accidental duplicate ima...
[ 0.015030387789011002, 0.3754785656929016, -0.04063788428902626, 0.20242151618003845, 0.0077962446957826614, -0.006433203816413879, 0.3350972533226013, 0.2868119776248932, 0.12312950193881989, 0.32026010751724243, -0.0017320998013019562, 0.29503539204597473, -0.24005816876888275, 0.28370243...
https://github.com/huggingface/datasets/issues/4115
ImageFolder add option to ignore some folders like '.ipynb_checkpoints'
Maybe we can add a `ignore_hidden_files` flag to the builder configs of our packaged loaders (to be consistent across all of them), wdyt @lhoestq @albertvillanova?
**Is your feature request related to a problem? Please describe.** I sometimes like to peek at the dataset images from jupyterlab. thus '.ipynb_checkpoints' folder appears where my dataset is and (just realized) leads to accidental duplicate image additions. I think this is an easy enough thing to miss especially if t...
25
ImageFolder add option to ignore some folders like '.ipynb_checkpoints' **Is your feature request related to a problem? Please describe.** I sometimes like to peek at the dataset images from jupyterlab. thus '.ipynb_checkpoints' folder appears where my dataset is and (just realized) leads to accidental duplicate ima...
[ -0.042549051344394684, 0.39985567331314087, -0.03861129656434059, 0.2750568389892578, -0.008396800607442856, -0.036480311304330826, 0.3597341775894165, 0.2762027680873871, 0.2106354683637619, 0.34387344121932983, 0.021027125418186188, 0.322628378868103, -0.27700644731521606, 0.303917974233...
https://github.com/huggingface/datasets/issues/4115
ImageFolder add option to ignore some folders like '.ipynb_checkpoints'
I think they should always ignore them actually ! Not sure if adding a flag would be helpful
**Is your feature request related to a problem? Please describe.** I sometimes like to peek at the dataset images from jupyterlab. thus '.ipynb_checkpoints' folder appears where my dataset is and (just realized) leads to accidental duplicate image additions. I think this is an easy enough thing to miss especially if t...
18
ImageFolder add option to ignore some folders like '.ipynb_checkpoints' **Is your feature request related to a problem? Please describe.** I sometimes like to peek at the dataset images from jupyterlab. thus '.ipynb_checkpoints' folder appears where my dataset is and (just realized) leads to accidental duplicate ima...
[ 0.03365234658122063, 0.33731865882873535, -0.04123298451304436, 0.19490064680576324, 0.01740284636616707, -0.008147329092025757, 0.30613085627555847, 0.29955849051475525, 0.125152125954628, 0.287978857755661, 0.04595538228750229, 0.3039178252220154, -0.2466282695531845, 0.2990991175174713,...
https://github.com/huggingface/datasets/issues/4115
ImageFolder add option to ignore some folders like '.ipynb_checkpoints'
@lhoestq But what if the user explicitly requests those files via regex? `glob.glob` ignores hidden files (files starting with ".") by default unless they are explicitly requested, but fsspec's `glob` doesn't follow this behavior, which is probably a bug, so maybe we can raise an issue or open a PR in their repo?
**Is your feature request related to a problem? Please describe.** I sometimes like to peek at the dataset images from jupyterlab. thus '.ipynb_checkpoints' folder appears where my dataset is and (just realized) leads to accidental duplicate image additions. I think this is an easy enough thing to miss especially if t...
53
ImageFolder add option to ignore some folders like '.ipynb_checkpoints' **Is your feature request related to a problem? Please describe.** I sometimes like to peek at the dataset images from jupyterlab. thus '.ipynb_checkpoints' folder appears where my dataset is and (just realized) leads to accidental duplicate ima...
[ -0.001810465008020401, 0.2933647632598877, -0.023342572152614594, 0.20666250586509705, -0.051359474658966064, -0.15691064298152924, 0.23935283720493317, 0.19135262072086334, 0.1357235163450241, 0.3719964623451233, 0.03611233830451965, 0.15244518220424652, -0.36347198486328125, 0.4241339862...
https://github.com/huggingface/datasets/issues/4115
ImageFolder add option to ignore some folders like '.ipynb_checkpoints'
> @lhoestq But what if the user explicitly requests those files via regex? Usually hidden files are meant to be ignored. If they are data files, they must be placed outside a hidden directory in the first place right ? I think it's more sensible to explain this than adding a flag. > glob.glob ignores hidden files...
**Is your feature request related to a problem? Please describe.** I sometimes like to peek at the dataset images from jupyterlab. thus '.ipynb_checkpoints' folder appears where my dataset is and (just realized) leads to accidental duplicate image additions. I think this is an easy enough thing to miss especially if t...
145
ImageFolder add option to ignore some folders like '.ipynb_checkpoints' **Is your feature request related to a problem? Please describe.** I sometimes like to peek at the dataset images from jupyterlab. thus '.ipynb_checkpoints' folder appears where my dataset is and (just realized) leads to accidental duplicate ima...
[ -0.014153070747852325, 0.34987738728523254, -0.032618001103401184, 0.17829635739326477, -0.022303055971860886, -0.16947785019874573, 0.2864607572555542, 0.17284716665744781, 0.12156426906585693, 0.3209643065929413, 0.10332851111888885, 0.16652674973011017, -0.39052578806877136, 0.431372135...
https://github.com/huggingface/datasets/issues/4114
Allow downloading just some columns of a dataset
In the general case you can’t always reduce the quantity of data to download, since you can’t parse CSV or JSON data without downloading the whole files right ? ^^ However we could explore this case-by-case I guess
**Is your feature request related to a problem? Please describe.** Some people are interested in doing label analysis of a CV dataset without downloading all the images. Downloading the whole dataset does not always makes sense for this kind of use case **Describe the solution you'd like** Be able to just download...
38
Allow downloading just some columns of a dataset **Is your feature request related to a problem? Please describe.** Some people are interested in doing label analysis of a CV dataset without downloading all the images. Downloading the whole dataset does not always makes sense for this kind of use case **Describe ...
[ -0.19966447353363037, -0.058673374354839325, -0.14872361719608307, 0.04141662269830704, 0.21505366265773773, 0.34039875864982605, -0.003291431814432144, 0.47488564252853394, 0.3685281574726105, 0.411948561668396, -0.11384052783250809, 0.03416605293750763, -0.11214350908994675, 0.5283212065...
https://github.com/huggingface/datasets/issues/4114
Allow downloading just some columns of a dataset
Actually for csv pandas has `usecols` which allows loading a subset of columns in a more efficient way afaik, but yes, you're right this might be more complex than I thought.
**Is your feature request related to a problem? Please describe.** Some people are interested in doing label analysis of a CV dataset without downloading all the images. Downloading the whole dataset does not always makes sense for this kind of use case **Describe the solution you'd like** Be able to just download...
31
Allow downloading just some columns of a dataset **Is your feature request related to a problem? Please describe.** Some people are interested in doing label analysis of a CV dataset without downloading all the images. Downloading the whole dataset does not always makes sense for this kind of use case **Describe ...
[ -0.1404869556427002, -0.09626609832048416, -0.12970878183841705, 0.06822144240140915, 0.17431029677391052, 0.37977004051208496, 0.1323048621416092, 0.4191707670688629, 0.38333025574684143, 0.3452168107032776, -0.1784936785697937, 0.07007282227277756, -0.1091383621096611, 0.4753877520561218...
https://github.com/huggingface/datasets/issues/4114
Allow downloading just some columns of a dataset
Passing `columns=[...]` to `load_dataset()` in streaming mode does work if the dataset is in Parquet format, but for other formats it's either not possible or not implemented
**Is your feature request related to a problem? Please describe.** Some people are interested in doing label analysis of a CV dataset without downloading all the images. Downloading the whole dataset does not always makes sense for this kind of use case **Describe the solution you'd like** Be able to just download...
27
Allow downloading just some columns of a dataset **Is your feature request related to a problem? Please describe.** Some people are interested in doing label analysis of a CV dataset without downloading all the images. Downloading the whole dataset does not always makes sense for this kind of use case **Describe ...
[ -0.273458331823349, -0.09920145571231842, -0.09642118215560913, 0.006191100925207138, 0.26405397057533264, 0.3760797083377838, 0.029598526656627655, 0.3737335801124573, 0.3623078167438507, 0.29276543855667114, -0.15798048675060272, 0.13655763864517212, -0.19868899881839752, 0.5473166704177...
https://github.com/huggingface/datasets/issues/4114
Allow downloading just some columns of a dataset
I tried using the `columns=['bambara']` on this dataset `oza75/bambara-tts` which is in parquet, but it does not work. This feature is really useful because sometimes you don't want to download the whole dataset but just a few columns.
**Is your feature request related to a problem? Please describe.** Some people are interested in doing label analysis of a CV dataset without downloading all the images. Downloading the whole dataset does not always makes sense for this kind of use case **Describe the solution you'd like** Be able to just download...
38
Allow downloading just some columns of a dataset **Is your feature request related to a problem? Please describe.** Some people are interested in doing label analysis of a CV dataset without downloading all the images. Downloading the whole dataset does not always makes sense for this kind of use case **Describe ...
[ -0.17976683378219604, -0.078118234872818, -0.049561645835638046, 0.04316640645265579, 0.26091131567955017, 0.322448194026947, 0.07728441059589386, 0.3695638179779053, 0.4142913222312927, 0.3871728181838989, -0.10462195426225662, 0.212635338306427, -0.16071240603923798, 0.49858129024505615,...
https://github.com/huggingface/datasets/issues/4114
Allow downloading just some columns of a dataset
It only works for `streaming=True`. When not streaming it does download the full files locally before reading the data
**Is your feature request related to a problem? Please describe.** Some people are interested in doing label analysis of a CV dataset without downloading all the images. Downloading the whole dataset does not always makes sense for this kind of use case **Describe the solution you'd like** Be able to just download...
19
Allow downloading just some columns of a dataset **Is your feature request related to a problem? Please describe.** Some people are interested in doing label analysis of a CV dataset without downloading all the images. Downloading the whole dataset does not always makes sense for this kind of use case **Describe ...
[ -0.2586664855480194, -0.07512606680393219, -0.09569995105266571, 0.05210991948843002, 0.2039014995098114, 0.38652539253234863, 0.02975642867386341, 0.420735627412796, 0.4311735928058624, 0.3467848598957062, -0.17007601261138916, 0.06192515045404434, -0.14676012098789215, 0.522003710269928,...
https://github.com/huggingface/datasets/issues/4114
Allow downloading just some columns of a dataset
Hi @lhoestq, I have an audio dataset of 250GB on the huggingface hub in parquet format. I only wanted to load the text column. It is taking a lot of time. It seems like it is downloading audio as well even in streaming mode.
**Is your feature request related to a problem? Please describe.** Some people are interested in doing label analysis of a CV dataset without downloading all the images. Downloading the whole dataset does not always makes sense for this kind of use case **Describe the solution you'd like** Be able to just download...
44
Allow downloading just some columns of a dataset **Is your feature request related to a problem? Please describe.** Some people are interested in doing label analysis of a CV dataset without downloading all the images. Downloading the whole dataset does not always makes sense for this kind of use case **Describe ...
[ -0.3079316318035126, -0.3856292963027954, 0.003407033160328865, 0.2329666018486023, 0.2612265944480896, 0.22897040843963623, -0.02557140216231346, 0.21448256075382233, 0.3264232575893402, 0.3478757441043854, -0.3935335874557495, 0.1244063675403595, -0.12411012500524521, 0.4950302839279175,...
https://github.com/huggingface/datasets/issues/4113
Multiprocessing with FileLock fails in python 3.9
Closing this one because it must be used this way actually: ```python def main(): with FileLock("tmp.lock"): with Pool(2) as pool: pool.map(run, range(2)) if __name__ == "__main__": main() ```
On python 3.9, this code hangs: ```python from multiprocessing import Pool from filelock import FileLock def run(i): print(f"got the lock in multi process [{i}]") with FileLock("tmp.lock"): with Pool(2) as pool: pool.map(run, range(2)) ``` This is because the subprocesses try to ac...
28
Multiprocessing with FileLock fails in python 3.9 On python 3.9, this code hangs: ```python from multiprocessing import Pool from filelock import FileLock def run(i): print(f"got the lock in multi process [{i}]") with FileLock("tmp.lock"): with Pool(2) as pool: pool.map(run, range(2)) ...
[ -0.28328970074653625, -0.18521010875701904, -0.12096038460731506, 0.02627742290496826, -0.11182673275470734, 0.03941364586353302, 0.41287147998809814, -0.05972251668572426, 0.11630024015903473, 0.19165092706680298, 0.0430319607257843, 0.20703785121440887, -0.09803760051727295, 0.0819781124...
https://github.com/huggingface/datasets/issues/4112
ImageFolder with Grayscale images dataset
Hi! Replacing: ```python transformed_dataset = dataset.with_transform(transforms) transformed_dataset.set_format(type="torch", device="cuda") ``` with: ```python def transform_func(examples): examples["image"] = [transforms(img).to("cuda") for img in examples["image"]] return examples transformed_...
Hi, I'm facing a problem with a grayscale images dataset I have uploaded [here](https://huggingface.co/datasets/ChainYo/rvl-cdip) (RVL-CDIP) I'm getting an error while I want to use images for training a model with PyTorch DataLoader. Here is the full traceback: ```bash AttributeError: Caught AttributeError in D...
89
ImageFolder with Grayscale images dataset Hi, I'm facing a problem with a grayscale images dataset I have uploaded [here](https://huggingface.co/datasets/ChainYo/rvl-cdip) (RVL-CDIP) I'm getting an error while I want to use images for training a model with PyTorch DataLoader. Here is the full traceback: ```bash...
[ -0.3947274684906006, 0.27717679738998413, 0.004924949258565903, 0.3311272859573364, 0.3124428987503052, -0.07205560058355331, 0.6099215149879456, 0.17172586917877197, 0.09527567028999329, 0.11197198182344437, 0.02965138852596283, 0.37893301248550415, -0.41227611899375916, -0.04050472751259...
https://github.com/huggingface/datasets/issues/4112
ImageFolder with Grayscale images dataset
Ok thanks a lot for the code snippet! I love the way `datasets` is easy to use but it made it really long to pre-process all the images (400.000 in my case) before training anything. `ImageFolder` from pytorch is faster in my case but force me to have the images on my local machine. I don't know how to speed up t...
Hi, I'm facing a problem with a grayscale images dataset I have uploaded [here](https://huggingface.co/datasets/ChainYo/rvl-cdip) (RVL-CDIP) I'm getting an error while I want to use images for training a model with PyTorch DataLoader. Here is the full traceback: ```bash AttributeError: Caught AttributeError in D...
68
ImageFolder with Grayscale images dataset Hi, I'm facing a problem with a grayscale images dataset I have uploaded [here](https://huggingface.co/datasets/ChainYo/rvl-cdip) (RVL-CDIP) I'm getting an error while I want to use images for training a model with PyTorch DataLoader. Here is the full traceback: ```bash...
[ -0.3947274684906006, 0.27717679738998413, 0.004924949258565903, 0.3311272859573364, 0.3124428987503052, -0.07205560058355331, 0.6099215149879456, 0.17172586917877197, 0.09527567028999329, 0.11197198182344437, 0.02965138852596283, 0.37893301248550415, -0.41227611899375916, -0.04050472751259...
https://github.com/huggingface/datasets/issues/4112
ImageFolder with Grayscale images dataset
You can pass `ignore_verifications=True` in `load_dataset` to skip checksum verification, which takes a lot of time if the number of files is large. We will consider making this the default behavior.
Hi, I'm facing a problem with a grayscale images dataset I have uploaded [here](https://huggingface.co/datasets/ChainYo/rvl-cdip) (RVL-CDIP) I'm getting an error while I want to use images for training a model with PyTorch DataLoader. Here is the full traceback: ```bash AttributeError: Caught AttributeError in D...
31
ImageFolder with Grayscale images dataset Hi, I'm facing a problem with a grayscale images dataset I have uploaded [here](https://huggingface.co/datasets/ChainYo/rvl-cdip) (RVL-CDIP) I'm getting an error while I want to use images for training a model with PyTorch DataLoader. Here is the full traceback: ```bash...
[ -0.3947274684906006, 0.27717679738998413, 0.004924949258565903, 0.3311272859573364, 0.3124428987503052, -0.07205560058355331, 0.6099215149879456, 0.17172586917877197, 0.09527567028999329, 0.11197198182344437, 0.02965138852596283, 0.37893301248550415, -0.41227611899375916, -0.04050472751259...
https://github.com/huggingface/datasets/issues/4107
Unable to view the dataset and loading the same dataset throws the error - ArrowInvalid: Exceeded maximum rows
It's not related to the dataset viewer in itself. I can replicate the error with: ``` >>> import datasets as ds >>> d = ds.load_dataset('Pavithree/explainLikeImFive') Using custom data configuration Pavithree--explainLikeImFive-b68b6d8112cd8a51 Downloading and preparing dataset json/Pavithree--explainLikeImFiv...
## Dataset viewer issue - -ArrowInvalid: Exceeded maximum rows **Link:** *https://huggingface.co/datasets/Pavithree/explainLikeImFive* *This is the subset of original eli5 dataset https://huggingface.co/datasets/vblagoje/lfqa. I just filtered the data samples which belongs to one particular subreddit thread. How...
238
Unable to view the dataset and loading the same dataset throws the error - ArrowInvalid: Exceeded maximum rows ## Dataset viewer issue - -ArrowInvalid: Exceeded maximum rows **Link:** *https://huggingface.co/datasets/Pavithree/explainLikeImFive* *This is the subset of original eli5 dataset https://huggingface....
[ -0.34890487790107727, -0.2126838117837906, -0.08538690209388733, 0.6558033227920532, 0.03639528155326843, 0.19708555936813354, -0.0027791671454906464, 0.15819652378559113, -0.08486709743738174, 0.045796096324920654, -0.28319868445396423, 0.24045084416866302, -0.07694409042596817, 0.2767485...
https://github.com/huggingface/datasets/issues/4107
Unable to view the dataset and loading the same dataset throws the error - ArrowInvalid: Exceeded maximum rows
It seems that train.json is not a valid JSON Lines file: it has several JSON objects in the first line (the 915th character in the first line starts a new object, and there's no "\n") You need to have one JSON object per line
## Dataset viewer issue - -ArrowInvalid: Exceeded maximum rows **Link:** *https://huggingface.co/datasets/Pavithree/explainLikeImFive* *This is the subset of original eli5 dataset https://huggingface.co/datasets/vblagoje/lfqa. I just filtered the data samples which belongs to one particular subreddit thread. How...
44
Unable to view the dataset and loading the same dataset throws the error - ArrowInvalid: Exceeded maximum rows ## Dataset viewer issue - -ArrowInvalid: Exceeded maximum rows **Link:** *https://huggingface.co/datasets/Pavithree/explainLikeImFive* *This is the subset of original eli5 dataset https://huggingface....
[ -0.302093505859375, -0.11188995838165283, -0.08697442710399628, 0.6097393035888672, 0.010300876572728157, 0.1638595163822174, 0.06848174333572388, 0.3277800381183624, -0.10921570658683777, -0.05663786828517914, -0.1367327719926834, 0.23917695879936218, -0.12791326642036438, 0.2545633316040...
https://github.com/huggingface/datasets/issues/4107
Unable to view the dataset and loading the same dataset throws the error - ArrowInvalid: Exceeded maximum rows
I'm closing this issue. @Pavithree, please, feel free to re-open it if fixing the JSON file does not solve it.
## Dataset viewer issue - -ArrowInvalid: Exceeded maximum rows **Link:** *https://huggingface.co/datasets/Pavithree/explainLikeImFive* *This is the subset of original eli5 dataset https://huggingface.co/datasets/vblagoje/lfqa. I just filtered the data samples which belongs to one particular subreddit thread. How...
20
Unable to view the dataset and loading the same dataset throws the error - ArrowInvalid: Exceeded maximum rows ## Dataset viewer issue - -ArrowInvalid: Exceeded maximum rows **Link:** *https://huggingface.co/datasets/Pavithree/explainLikeImFive* *This is the subset of original eli5 dataset https://huggingface....
[ -0.3932259976863861, -0.17191271483898163, -0.09222610294818878, 0.6554149985313416, -0.05300936847925186, 0.16771551966667175, 0.03700984641909599, 0.31992754340171814, -0.0745026096701622, -0.005808882415294647, -0.2643893361091614, 0.3230982720851898, -0.09235909581184387, 0.28450992703...
https://github.com/huggingface/datasets/issues/4105
push to hub fails with huggingface-hub 0.5.0
Hi ! Indeed there was a breaking change in `huggingface_hub` 0.5.0 in `HfApi.create_repo`, which is called here in `datasets` by passing the org name in both the `repo_id` and the `organization` arguments: https://github.com/huggingface/datasets/blob/2230f7f7d7fbaf102cff356f5a8f3bd1561bea43/src/datasets/arrow_datase...
## Describe the bug `ds.push_to_hub` is failing when updating a dataset in the form "org_id/repo_id" ## Steps to reproduce the bug ```python from datasets import load_dataset ds = load_dataset("rubrix/news_test") ds.push_to_hub("<your-user>/news_test", token="<your-token>") ``` ## Expected results The data...
52
push to hub fails with huggingface-hub 0.5.0 ## Describe the bug `ds.push_to_hub` is failing when updating a dataset in the form "org_id/repo_id" ## Steps to reproduce the bug ```python from datasets import load_dataset ds = load_dataset("rubrix/news_test") ds.push_to_hub("<your-user>/news_test", token="<your...
[ -0.18618573248386383, -0.43112415075302124, 0.05626027658581734, 0.0067310333251953125, 0.1298481822013855, -0.18018727004528046, 0.23904255032539368, 0.37987807393074036, 0.09368537366390228, 0.1841653436422348, -0.24823278188705444, 0.11042679101228714, 0.1387445479631424, 0.174683392047...
https://github.com/huggingface/datasets/issues/4105
push to hub fails with huggingface-hub 0.5.0
I'll be sending a fix for this later today on the `huggingface_hub` side. The error would be converted to a `FutureWarning` if `datasets` uses kwargs instead of positional, for example here: https://github.com/huggingface/datasets/blob/2230f7f7d7fbaf102cff356f5a8f3bd1561bea43/src/datasets/arrow_dataset.py#L3363-...
## Describe the bug `ds.push_to_hub` is failing when updating a dataset in the form "org_id/repo_id" ## Steps to reproduce the bug ```python from datasets import load_dataset ds = load_dataset("rubrix/news_test") ds.push_to_hub("<your-user>/news_test", token="<your-token>") ``` ## Expected results The data...
179
push to hub fails with huggingface-hub 0.5.0 ## Describe the bug `ds.push_to_hub` is failing when updating a dataset in the form "org_id/repo_id" ## Steps to reproduce the bug ```python from datasets import load_dataset ds = load_dataset("rubrix/news_test") ds.push_to_hub("<your-user>/news_test", token="<your...
[ -0.17796801030635834, -0.3613968789577484, 0.03966119512915611, -0.04187328368425369, 0.1493162214756012, -0.1146920770406723, 0.2596385180950165, 0.3919743001461029, 0.0567190907895565, 0.2154313027858734, -0.16143356263637543, 0.1872851699590683, 0.02898694947361946, 0.09895596653223038,...
https://github.com/huggingface/datasets/issues/4105
push to hub fails with huggingface-hub 0.5.0
We can definitely change `push_to_hub` to use `repo_id` in `datasets` and require `huggingface_hub>=0.5.0`. Let me open a PR :)
## Describe the bug `ds.push_to_hub` is failing when updating a dataset in the form "org_id/repo_id" ## Steps to reproduce the bug ```python from datasets import load_dataset ds = load_dataset("rubrix/news_test") ds.push_to_hub("<your-user>/news_test", token="<your-token>") ``` ## Expected results The data...
19
push to hub fails with huggingface-hub 0.5.0 ## Describe the bug `ds.push_to_hub` is failing when updating a dataset in the form "org_id/repo_id" ## Steps to reproduce the bug ```python from datasets import load_dataset ds = load_dataset("rubrix/news_test") ds.push_to_hub("<your-user>/news_test", token="<your...
[ -0.21252645552158356, -0.43157485127449036, 0.05220417305827141, 0.048228368163108826, 0.11559921503067017, -0.15239620208740234, 0.2406623512506485, 0.39148497581481934, 0.09442321956157684, 0.18098723888397217, -0.14784903824329376, 0.20395970344543457, 0.04224810749292374, 0.18272234499...
https://github.com/huggingface/datasets/issues/4104
Add time series data - stock market
@INF800 happy to add this dataset! I will try to set a PR by the end of the day... if you can kindly point me to the dataset? Also, note we have a bunch of time series datasets checked in e.g. `electricity_load_diagrams` or `monash_tsf`, and ideally this dataset could also be in a similar format.
## Adding a Time Series Dataset - **Name:** 2min ticker data for stock market - **Description:** 8 stocks' data collected for 1month post ukraine-russia war. 4 NSE stocks and 4 NASDAQ stocks. Along with technical indicators (additional features) as shown in below image - **Data:** Collected by myself from investing...
55
Add time series data - stock market ## Adding a Time Series Dataset - **Name:** 2min ticker data for stock market - **Description:** 8 stocks' data collected for 1month post ukraine-russia war. 4 NSE stocks and 4 NASDAQ stocks. Along with technical indicators (additional features) as shown in below image - **Data...
[ -0.4105682075023651, -0.15613389015197754, -0.20273622870445251, -0.02041252702474594, 0.29667603969573975, -0.04654606059193611, 0.27518078684806824, 0.2120448350906372, 0.23726066946983337, -0.035647615790367126, 0.16770309209823608, 0.315420925617218, -0.5273311734199524, 0.195855975151...
https://github.com/huggingface/datasets/issues/4104
Add time series data - stock market
Thankyou. This is how raw data looks like before cleaning for an individual stocks: 1. https://github.com/INF800/marktech/tree/raw-data/f/data/raw 2. https://github.com/INF800/marktech/tree/raw-data/t/data/raw 3. https://github.com/INF800/marktech/tree/raw-data/rdfn/data/raw 4. https://github.com/INF800/marktech/...
## Adding a Time Series Dataset - **Name:** 2min ticker data for stock market - **Description:** 8 stocks' data collected for 1month post ukraine-russia war. 4 NSE stocks and 4 NASDAQ stocks. Along with technical indicators (additional features) as shown in below image - **Data:** Collected by myself from investing...
170
Add time series data - stock market ## Adding a Time Series Dataset - **Name:** 2min ticker data for stock market - **Description:** 8 stocks' data collected for 1month post ukraine-russia war. 4 NSE stocks and 4 NASDAQ stocks. Along with technical indicators (additional features) as shown in below image - **Data...
[ -0.36875858902931213, 0.04915213584899902, -0.1846979707479477, -0.15053865313529968, 0.16514107584953308, -0.09947682917118073, 0.0917971134185791, 0.45980218052864075, 0.3224415183067322, -0.08603222668170929, -0.13898524641990662, 0.06327664107084274, -0.14862580597400665, 0.16102534532...
https://github.com/huggingface/datasets/issues/4104
Add time series data - stock market
thanks @INF800 I'll have a look. I believe it should be possible to incorporate this into the time-series format.
## Adding a Time Series Dataset - **Name:** 2min ticker data for stock market - **Description:** 8 stocks' data collected for 1month post ukraine-russia war. 4 NSE stocks and 4 NASDAQ stocks. Along with technical indicators (additional features) as shown in below image - **Data:** Collected by myself from investing...
19
Add time series data - stock market ## Adding a Time Series Dataset - **Name:** 2min ticker data for stock market - **Description:** 8 stocks' data collected for 1month post ukraine-russia war. 4 NSE stocks and 4 NASDAQ stocks. Along with technical indicators (additional features) as shown in below image - **Data...
[ -0.35378822684288025, -0.1289306879043579, -0.1909162402153015, -0.05314543843269348, 0.27298063039779663, -0.059987157583236694, 0.2987922430038452, 0.20147842168807983, 0.16080839931964874, -0.11831048130989075, 0.03583080321550369, 0.3749178349971771, -0.5095005631446838, 0.275615692138...
https://github.com/huggingface/datasets/issues/4104
Add time series data - stock market
@INF800 yes I am aware of the review repository and paper which is more or less a collection of abstracts etc. I am working on a unified library of implementations of these papers together with datasets to be then able to compare/contrast and build upon the research etc. but I am not ready to share them publicly just y...
## Adding a Time Series Dataset - **Name:** 2min ticker data for stock market - **Description:** 8 stocks' data collected for 1month post ukraine-russia war. 4 NSE stocks and 4 NASDAQ stocks. Along with technical indicators (additional features) as shown in below image - **Data:** Collected by myself from investing...
138
Add time series data - stock market ## Adding a Time Series Dataset - **Name:** 2min ticker data for stock market - **Description:** 8 stocks' data collected for 1month post ukraine-russia war. 4 NSE stocks and 4 NASDAQ stocks. Along with technical indicators (additional features) as shown in below image - **Data...
[ -0.26833009719848633, -0.11275579035282135, -0.1953907012939453, 0.022913262248039246, 0.1751267910003662, -0.12447376549243927, 0.20423844456672668, 0.2058556228876114, 0.15866002440452576, -0.132166787981987, 0.09277062118053436, 0.15531007945537567, -0.3484843969345093, 0.13204877078533...
https://github.com/huggingface/datasets/issues/4104
Add time series data - stock market
> @INF800 yes I am aware of the review repository and paper which is more or less a collection of abstracts etc. I am working on a unified library of implementations of these papers together with datasets to be then able to compare/contrast and build upon the research etc. but I am not ready to share them publicly just...
## Adding a Time Series Dataset - **Name:** 2min ticker data for stock market - **Description:** 8 stocks' data collected for 1month post ukraine-russia war. 4 NSE stocks and 4 NASDAQ stocks. Along with technical indicators (additional features) as shown in below image - **Data:** Collected by myself from investing...
169
Add time series data - stock market ## Adding a Time Series Dataset - **Name:** 2min ticker data for stock market - **Description:** 8 stocks' data collected for 1month post ukraine-russia war. 4 NSE stocks and 4 NASDAQ stocks. Along with technical indicators (additional features) as shown in below image - **Data...
[ -0.27834808826446533, -0.1050129383802414, -0.2014274001121521, 0.0014404729008674622, 0.23150166869163513, -0.1322031021118164, 0.19488976895809174, 0.24059860408306122, 0.1763898730278015, -0.1240391731262207, 0.07416131347417831, 0.20537778735160828, -0.32985034584999084, 0.163826853036...
https://github.com/huggingface/datasets/issues/4101
How can I download only the train and test split for full numbers using load_dataset()?
Hi! Can you please specify the full name of the dataset? IIRC `full_numbers` is one of the configs of the `svhn` dataset, and its generation is slow due to data being stored in binary Matlab files. Even if you specify a specific split, `datasets` downloads all of them, but we plan to fix that soon and only download the...
How can I download only the train and test split for full numbers using load_dataset()? I do not need the extra split and it will take 40 mins just to download in Colab. I have very short time in hand. Please help.
121
How can I download only the train and test split for full numbers using load_dataset()? How can I download only the train and test split for full numbers using load_dataset()? I do not need the extra split and it will take 40 mins just to download in Colab. I have very short time in hand. Please help. Hi! Can ...
[ -0.42226123809814453, -0.2911457419395447, -0.03731757774949074, 0.23905789852142334, 0.0026369988918304443, 0.1689540147781372, 0.3794756233692169, 0.5034560561180115, -0.062251605093479156, 0.311470091342926, -0.4362158477306366, -0.060495514422655106, -0.002634734846651554, 0.5183427333...
https://github.com/huggingface/datasets/issues/4099
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128)
Hi @andreybond, thanks for reporting. Unfortunately, I'm not able to able to reproduce your issue: ```python In [4]: from datasets import load_dataset ...: datasets = load_dataset("nielsr/XFUN", "xfun.ja") In [5]: datasets Out[5]: DatasetDict({ train: Dataset({ features: ['id', 'input_ids',...
## Describe the bug Error "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128)" is thrown when downloading dataset. ## Steps to reproduce the bug ```python from datasets import load_dataset datasets = load_dataset("nielsr/XFUN", "xfun.ja") ``` ## Expected resu...
123
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128) ## Describe the bug Error "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128)" is thrown when downloading dataset. ## Steps to reproduce the bug ```python from dat...
[ -0.2249612659215927, -0.011080123484134674, -0.11821454763412476, 0.3766307830810547, 0.4748916029930115, 0.07017090171575546, 0.19218997657299042, 0.42498084902763367, -0.24204838275909424, 0.23078402876853943, -0.08927082270383835, 0.11802073568105698, -0.056294508278369904, -0.116126053...
https://github.com/huggingface/datasets/issues/4099
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128)
I opened a PR in the original dataset loading script: - microsoft/unilm#677 and fixed the corresponding dataset script on the Hub: - https://huggingface.co/datasets/nielsr/XFUN/commit/73ba5e026621e05fb756ae0f267eb49971f70ebd
## Describe the bug Error "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128)" is thrown when downloading dataset. ## Steps to reproduce the bug ```python from datasets import load_dataset datasets = load_dataset("nielsr/XFUN", "xfun.ja") ``` ## Expected resu...
23
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128) ## Describe the bug Error "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128)" is thrown when downloading dataset. ## Steps to reproduce the bug ```python from dat...
[ -0.2249612659215927, -0.011080123484134674, -0.11821454763412476, 0.3766307830810547, 0.4748916029930115, 0.07017090171575546, 0.19218997657299042, 0.42498084902763367, -0.24204838275909424, 0.23078402876853943, -0.08927082270383835, 0.11802073568105698, -0.056294508278369904, -0.116126053...
https://github.com/huggingface/datasets/issues/4099
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128)
import sys sys.getdefaultencoding() returned: 'utf-8' --------------------- I've just cloned master branch - your fix works! Thank you!
## Describe the bug Error "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128)" is thrown when downloading dataset. ## Steps to reproduce the bug ```python from datasets import load_dataset datasets = load_dataset("nielsr/XFUN", "xfun.ja") ``` ## Expected resu...
17
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128) ## Describe the bug Error "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128)" is thrown when downloading dataset. ## Steps to reproduce the bug ```python from dat...
[ -0.2249612659215927, -0.011080123484134674, -0.11821454763412476, 0.3766307830810547, 0.4748916029930115, 0.07017090171575546, 0.19218997657299042, 0.42498084902763367, -0.24204838275909424, 0.23078402876853943, -0.08927082270383835, 0.11802073568105698, -0.056294508278369904, -0.116126053...
https://github.com/huggingface/datasets/issues/4096
Add support for streaming Zarr stores for hosted datasets
Hi @jacobbieker, thanks for your request and study of possible alternatives. We are very interested in finding a way to make `datasets` useful to you. Looking at the Zarr docs, I saw that among its storage alternatives, there is the ZIP file format: https://zarr.readthedocs.io/en/stable/api/storage.html#zarr.stor...
**Is your feature request related to a problem? Please describe.** Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support streaming in data in Zarr format as far as I can tell. Zarr s...
145
Add support for streaming Zarr stores for hosted datasets **Is your feature request related to a problem? Please describe.** Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support s...
[ -0.3244534134864807, -0.12639868259429932, -0.02510545216500759, -0.19540421664714813, 0.031852565705776215, 0.10994995385408401, 0.04600340873003006, 0.23520907759666443, 0.30418914556503296, 0.3589913249015808, -0.3856135904788971, 0.2067563831806183, -0.1894843727350235, 0.6700432300567...
https://github.com/huggingface/datasets/issues/4096
Add support for streaming Zarr stores for hosted datasets
Ah okay, I missed the option of zip files for zarr, I'll try that with our repos and see if it works! Thanks a lot!
**Is your feature request related to a problem? Please describe.** Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support streaming in data in Zarr format as far as I can tell. Zarr s...
25
Add support for streaming Zarr stores for hosted datasets **Is your feature request related to a problem? Please describe.** Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support s...
[ -0.30690452456474304, -0.1402798891067505, -0.02689996175467968, -0.20030204951763153, 0.016946952790021896, 0.08815271407365799, 0.04732124134898186, 0.25285661220550537, 0.2585313022136688, 0.3653847575187683, -0.38941726088523865, 0.2703041434288025, -0.16435891389846802, 0.682734191417...
https://github.com/huggingface/datasets/issues/4096
Add support for streaming Zarr stores for hosted datasets
On behalf of the Zarr developers, let me say THANK YOU for working to support Zarr on HF! 🙏 Zarr is a 100% open-source and community driven project (fiscally sponsored by NumFocus). We see it as an ideal format for ML training datasets, particularly in scientific domains. I think the solution of zipping the Zarr s...
**Is your feature request related to a problem? Please describe.** Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support streaming in data in Zarr format as far as I can tell. Zarr s...
105
Add support for streaming Zarr stores for hosted datasets **Is your feature request related to a problem? Please describe.** Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support s...
[ -0.2788940966129303, -0.14777211844921112, -0.02981726825237274, -0.1854163408279419, 0.041601717472076416, 0.10000624507665634, 0.06658702343702316, 0.20968155562877655, 0.2738592326641083, 0.33962202072143555, -0.38272997736930847, 0.2304084151983261, -0.19778791069984436, 0.652124345302...
https://github.com/huggingface/datasets/issues/4096
Add support for streaming Zarr stores for hosted datasets
Also just noting here that I was able to lazily open @jacobbieker's dataset over the internet from HF hub 🚀 ! ```python import xarray as xr url = "https://huggingface.co/datasets/openclimatefix/mrms/resolve/main/data/2016_001.zarr.zip" zip_url = 'zip:///::' + url ds = xr.open_dataset(zip_url, engine='zarr', chu...
**Is your feature request related to a problem? Please describe.** Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support streaming in data in Zarr format as far as I can tell. Zarr s...
44
Add support for streaming Zarr stores for hosted datasets **Is your feature request related to a problem? Please describe.** Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support s...
[ -0.3418927490711212, -0.10325557738542557, -0.003513047471642494, -0.18105009198188782, 0.035091351717710495, 0.09697968512773514, 0.09834803640842438, 0.2509673833847046, 0.28040024638175964, 0.38076233863830566, -0.3892696499824524, 0.20213428139686584, -0.206726536154747, 0.675553917884...
https://github.com/huggingface/datasets/issues/4096
Add support for streaming Zarr stores for hosted datasets
However, I wasn't able to get streaming working using the Datasets api: ```python from datasets import load_dataset ds = load_dataset("openclimatefix/mrms", streaming=True, split='train') item = next(iter(ds)) ``` <details> <summary>FileNotFoundError traceback</summary> ``` No config specified, defaultin...
**Is your feature request related to a problem? Please describe.** Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support streaming in data in Zarr format as far as I can tell. Zarr s...
511
Add support for streaming Zarr stores for hosted datasets **Is your feature request related to a problem? Please describe.** Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support s...
[ -0.33763793110847473, -0.14472168684005737, -0.01663341373205185, -0.19096176326274872, 0.031032191589474678, 0.088331438601017, 0.07099559903144836, 0.21563266217708588, 0.30044275522232056, 0.3126605153083801, -0.3831915557384491, 0.2008129358291626, -0.1836354285478592, 0.68077236413955...
https://github.com/huggingface/datasets/issues/4096
Add support for streaming Zarr stores for hosted datasets
I'm still messing around with that dataset, so the data might have moved. I currently have each year of MRMS precipitation rate data as it's own zarr, but as they are quite large (on order of 100GB each) I'm working to split them into single days, and as such they are still being moved around, I was just trying to get ...
**Is your feature request related to a problem? Please describe.** Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support streaming in data in Zarr format as far as I can tell. Zarr s...
67
Add support for streaming Zarr stores for hosted datasets **Is your feature request related to a problem? Please describe.** Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support s...
[ -0.31905877590179443, -0.1435210257768631, -0.02451399154961109, -0.18626467883586884, 0.01632748171687126, 0.08207256346940994, 0.054684560745954514, 0.24200204014778137, 0.29531529545783997, 0.3457220792770386, -0.38183870911598206, 0.20182162523269653, -0.1873716413974762, 0.67179071903...
https://github.com/huggingface/datasets/issues/4096
Add support for streaming Zarr stores for hosted datasets
I've mostly finished rearranging the data now and uploading some more, so this works now: ```python import datasets ds = datasets.load_dataset("openclimatefix/mrms", streaming=True, split="train") item = next(iter(ds)) print(item.keys()) print(item["timestamp"]) ``` The MRMS data now goes most of 2016-2022, w...
**Is your feature request related to a problem? Please describe.** Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support streaming in data in Zarr format as far as I can tell. Zarr s...
47
Add support for streaming Zarr stores for hosted datasets **Is your feature request related to a problem? Please describe.** Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support s...
[ -0.31460854411125183, -0.15288738906383514, -0.017942383885383606, -0.1865331083536148, 0.01835629716515541, 0.08358537405729294, 0.06929712742567062, 0.23560616374015808, 0.3060990869998932, 0.34475117921829224, -0.38248956203460693, 0.20602382719516754, -0.18392837047576904, 0.6715686321...
https://github.com/huggingface/datasets/issues/4096
Add support for streaming Zarr stores for hosted datasets
Hi @albertvillanova, I noticed there is now the [HFFileSystem](https://huggingface.co/docs/huggingface_hub/main/en/guides/hf_file_system), where the docs show an example of writing a Zarr store directly to the Hub, and no mention of having too many files. Is there still the restriction on lots of files in `datasets`? I...
**Is your feature request related to a problem? Please describe.** Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support streaming in data in Zarr format as far as I can tell. Zarr s...
79
Add support for streaming Zarr stores for hosted datasets **Is your feature request related to a problem? Please describe.** Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support s...
[ -0.28596290946006775, -0.13934540748596191, -0.022838512435555458, -0.2160182148218155, 0.030697833746671677, 0.08610258251428604, 0.0636271983385086, 0.2633105516433716, 0.33098578453063965, 0.337083637714386, -0.39648422598838806, 0.1706221103668213, -0.15322145819664001, 0.6502998471260...
https://github.com/huggingface/datasets/issues/4096
Add support for streaming Zarr stores for hosted datasets
Hi @jacobbieker. Thanks for coming back to this pending issue. In fact, we are now using the `fsspec` API in our `HFFileSystem`, which was not the case when you created this issue. On the other hand, I am not sure of the current limitations, both in terms of the number of files or performance when loading. - I...
**Is your feature request related to a problem? Please describe.** Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support streaming in data in Zarr format as far as I can tell. Zarr s...
145
Add support for streaming Zarr stores for hosted datasets **Is your feature request related to a problem? Please describe.** Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support s...
[ -0.29052746295928955, -0.13669079542160034, -0.019656319171190262, -0.17703136801719666, 0.039060574024915695, 0.08451040834188461, 0.07272307574748993, 0.21038860082626343, 0.2954651713371277, 0.33930355310440063, -0.35658907890319824, 0.19535602629184723, -0.17305125296115875, 0.68445819...
https://github.com/huggingface/datasets/issues/4093
elena-soare/crawled-ecommerce: missing dataset
By the way, the error on our part is due to the huge size of every row (~90MB). The dataset viewer does not support such big dataset rows for the moment. Anyway, we're working to give a hint about this in the dataset viewer.
elena-soare/crawled-ecommerce **Link:** *link to the dataset viewer page* *short description of the issue* Am I the one who added this dataset ? Yes-No
44
elena-soare/crawled-ecommerce: missing dataset elena-soare/crawled-ecommerce **Link:** *link to the dataset viewer page* *short description of the issue* Am I the one who added this dataset ? Yes-No By the way, the error on our part is due to the huge size of every row (~90MB). The dataset viewer does no...
[ -0.12076814472675323, -0.0028605982661247253, -0.131867915391922, 0.06351882219314575, 0.1874111145734787, 0.0794982984662056, 0.12546874582767487, 0.1737336367368698, 0.2639741897583008, 0.11739049106836319, 0.0001629756297916174, 0.35129907727241516, -0.21190959215164185, 0.3936077356338...
https://github.com/huggingface/datasets/issues/4093
elena-soare/crawled-ecommerce: missing dataset
Fixed. See https://huggingface.co/datasets/elena-soare/crawled-ecommerce/viewer/elena-soare--crawled-ecommerce/train. <img width="1552" alt="Capture d’écran 2022-04-12 à 11 23 51" src="https://user-images.githubusercontent.com/1676121/162929722-2e2b80e2-154a-4b61-87bd-e341bd6c46e6.png"> Thanks for reporting!
elena-soare/crawled-ecommerce **Link:** *link to the dataset viewer page* *short description of the issue* Am I the one who added this dataset ? Yes-No
16
elena-soare/crawled-ecommerce: missing dataset elena-soare/crawled-ecommerce **Link:** *link to the dataset viewer page* *short description of the issue* Am I the one who added this dataset ? Yes-No Fixed. See https://huggingface.co/datasets/elena-soare/crawled-ecommerce/viewer/elena-soare--crawled-ecomm...
[ -0.160965695977211, -0.02993939071893692, -0.10246431827545166, 0.01082918792963028, 0.2179088145494461, 0.07106920331716537, 0.34098049998283386, 0.13420870900154114, 0.2152991145849228, 0.044046565890312195, 0.021953271701931953, 0.24195754528045654, -0.1733660250902176, 0.50859898328781...
https://github.com/huggingface/datasets/issues/4091
Build a Dataset One Example at a Time Without Loading All Data Into Memory
Hi! Yes, the problem with `add_item` is that it keeps examples in memory, so you are left with these options: * writing a dataset loading script in which you iterate over `custom_example_dict_streamer` and yield the examples (in `_generate examples`) * storing the data in a JSON/CSV/Parquet/TXT file and using `Datase...
**Is your feature request related to a problem? Please describe.** I have a very large dataset stored on disk in a custom format. I have some custom code that reads one data example at a time and yields it in the form of a dictionary. I want to construct a `Dataset` with all examples, and then save it to disk. I la...
161
Build a Dataset One Example at a Time Without Loading All Data Into Memory **Is your feature request related to a problem? Please describe.** I have a very large dataset stored on disk in a custom format. I have some custom code that reads one data example at a time and yields it in the form of a dictionary. I wan...
[ -0.4209350347518921, -0.11638520658016205, 0.03712019696831703, 0.2598600387573242, 0.1629028022289276, 0.13571840524673462, 0.11643485724925995, 0.1412477046251297, -0.01454082876443863, 0.3117845356464386, 0.3016648292541504, 0.185853511095047, -0.4372403621673584, 0.3365069031715393, ...
https://github.com/huggingface/datasets/issues/4086
Dataset viewer issue for McGill-NLP/feedbackQA
Hi @cslizc, thanks for reporting. I have just forced the refresh of the corresponding cache and the preview is working now.
## Dataset viewer issue for '*McGill-NLP/feedbackQA*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/McGill-NLP/feedbackQA)* *short description of the issue* The dataset can be loaded correctly with `load_dataset` but the preview doesn't work. Error message: ``` Status code: 4...
21
Dataset viewer issue for McGill-NLP/feedbackQA ## Dataset viewer issue for '*McGill-NLP/feedbackQA*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/McGill-NLP/feedbackQA)* *short description of the issue* The dataset can be loaded correctly with `load_dataset` but the preview does...
[ -0.3954628109931946, 0.10764700174331665, 0.05978500470519066, 0.26841992139816284, 0.05776575207710266, 0.07902570813894272, 0.19902373850345612, 0.29658257961273193, 0.32268834114074707, 0.023535847663879395, -0.1500445157289505, 0.3179178535938263, -0.07651112973690033, 0.01836520992219...
https://github.com/huggingface/datasets/issues/4085
datasets.set_progress_bar_enabled(False) not working in datasets v2
Now, I can't find any reference to set_progress_bar_enabled in the code. I think it have been deleted
## Describe the bug datasets.set_progress_bar_enabled(False) not working in datasets v2 ## Steps to reproduce the bug ```python datasets.set_progress_bar_enabled(False) ``` ## Expected results datasets not using any progress bar ## Actual results AttributeError: module 'datasets' has no attribute 'se...
17
datasets.set_progress_bar_enabled(False) not working in datasets v2 ## Describe the bug datasets.set_progress_bar_enabled(False) not working in datasets v2 ## Steps to reproduce the bug ```python datasets.set_progress_bar_enabled(False) ``` ## Expected results datasets not using any progress bar ## Ac...
[ -0.0829407125711441, 0.20135128498077393, -0.23333482444286346, -0.18151068687438965, 0.21289780735969543, 0.04634319245815277, 0.3892688751220703, 0.24631083011627197, -0.2829354405403137, 0.18804007768630981, 0.19536717236042023, 0.44425711035728455, -0.1529557853937149, 0.13563756644725...
https://github.com/huggingface/datasets/issues/4085
datasets.set_progress_bar_enabled(False) not working in datasets v2
Hi @virilo, Please note that since `datasets` version 2.0.0, we have aligned with `transformers` the management of the progress bar (among other things): - #3897 Now, you should update your code to use `datasets.logging.disable_progress_bar`. You have more info in our docs: [Logging methods](https://huggingfa...
## Describe the bug datasets.set_progress_bar_enabled(False) not working in datasets v2 ## Steps to reproduce the bug ```python datasets.set_progress_bar_enabled(False) ``` ## Expected results datasets not using any progress bar ## Actual results AttributeError: module 'datasets' has no attribute 'se...
43
datasets.set_progress_bar_enabled(False) not working in datasets v2 ## Describe the bug datasets.set_progress_bar_enabled(False) not working in datasets v2 ## Steps to reproduce the bug ```python datasets.set_progress_bar_enabled(False) ``` ## Expected results datasets not using any progress bar ## Ac...
[ -0.23593193292617798, -0.07234673202037811, -0.09013853967189789, -0.15511107444763184, 0.18768924474716187, 0.007314801216125488, 0.39803749322891235, 0.24451754987239838, -0.2226463407278061, 0.1619221419095993, 0.14099454879760742, 0.39943814277648926, -0.09014040976762772, 0.3656436800...