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/5651 | expanduser in save_to_disk | @ashikshafi08 I think you misunderstood the warning. The method `save_to_disk` is not deprecated only the optional parameter `fs`.
Also @benjaminbrown038 as I cannot find your PR I would like to work on this if you don't mind. | ### Describe the bug
save_to_disk() does not expand `~`
1. `dataset = load_datasets("any dataset")`
2. `dataset.save_to_disk("~/data")`
3. a folder named "~" created in current folder
4. FileNotFoundError is raised, because the expanded path does not exist (`/home/<user>/data`)
related issue https://github.... | 37 | expanduser in save_to_disk
### Describe the bug
save_to_disk() does not expand `~`
1. `dataset = load_datasets("any dataset")`
2. `dataset.save_to_disk("~/data")`
3. a folder named "~" created in current folder
4. FileNotFoundError is raised, because the expanded path does not exist (`/home/<user>/data`)
... | [
-0.25514593720436096,
-0.28579583764076233,
0.08033248782157898,
0.14574536681175232,
0.5986461639404297,
-0.061253905296325684,
0.39846426248550415,
0.04652588814496994,
-0.062462784349918365,
0.277421772480011,
-0.22879266738891602,
-0.000046850997023284435,
-0.23966167867183685,
-0.1658... |
https://github.com/huggingface/datasets/issues/5651 | expanduser in save_to_disk | @mariosasko It's been several months and the PR is not reviewed. Could you please take a look? I assume this is not complicated and could be merged fairly soon. | ### Describe the bug
save_to_disk() does not expand `~`
1. `dataset = load_datasets("any dataset")`
2. `dataset.save_to_disk("~/data")`
3. a folder named "~" created in current folder
4. FileNotFoundError is raised, because the expanded path does not exist (`/home/<user>/data`)
related issue https://github.... | 29 | expanduser in save_to_disk
### Describe the bug
save_to_disk() does not expand `~`
1. `dataset = load_datasets("any dataset")`
2. `dataset.save_to_disk("~/data")`
3. a folder named "~" created in current folder
4. FileNotFoundError is raised, because the expanded path does not exist (`/home/<user>/data`)
... | [
-0.13998612761497498,
-0.30963999032974243,
0.10560660064220428,
0.3240329623222351,
0.5776893496513367,
-0.02336050197482109,
0.3777061104774475,
-0.032205697149038315,
-0.06492885947227478,
0.20577004551887512,
-0.12886027991771698,
-0.05877355486154556,
-0.19510653614997864,
-0.11477276... |
https://github.com/huggingface/datasets/issues/5650 | load_dataset can't work correct with my image data | > Can you post a reproducible code snippet of what you tried to do?
>
>
```python
from datasets import load_dataset
dataset = load_dataset("my_folder_name", split="train")
``` | I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the problem and did not understand. Tried converting imag... | 26 | load_dataset can't work correct with my image data
I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the... | [
-0.11089567095041275,
-0.048615992069244385,
-0.09447874128818512,
0.8408998250961304,
0.4103127121925354,
0.09188038855791092,
0.3193565905094147,
0.09225235879421234,
0.16247886419296265,
0.0635145977139473,
-0.05847548693418503,
0.02220269665122032,
-0.17592693865299225,
0.0732910856604... |
https://github.com/huggingface/datasets/issues/5650 | load_dataset can't work correct with my image data | hi @WiNE-iNEFF ! can you please also tell a bit more about how your data is structured (directory structure and filenames patterns)? | I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the problem and did not understand. Tried converting imag... | 22 | load_dataset can't work correct with my image data
I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the... | [
-0.27253028750419617,
0.1309049129486084,
-0.049904678016901016,
0.8561933636665344,
0.3397254943847656,
-0.018242374062538147,
0.32193776965141296,
0.07428539544343948,
0.3250977098941803,
0.04825311154127121,
-0.07097949832677841,
-0.043963201344013214,
-0.1462162435054779,
0.12756071984... |
https://github.com/huggingface/datasets/issues/5650 | load_dataset can't work correct with my image data | > hi @WiNE-iNEFF ! can you please also tell a bit more about how your data is structured (directory structure and filenames patterns)?
All file have format .png converted in RGBA.
In main folder "MyData" contain 4 folder with images. In function load_dataset i use folder "MyData" | I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the problem and did not understand. Tried converting imag... | 47 | load_dataset can't work correct with my image data
I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the... | [
-0.2566131353378296,
0.14332887530326843,
-0.043901581317186356,
0.8268574476242065,
0.33865731954574585,
-0.021963804960250854,
0.29722005128860474,
0.07901468873023987,
0.2955472469329834,
0.07517324388027191,
-0.06626223027706146,
-0.010150634683668613,
-0.09799909591674805,
0.145736932... |
https://github.com/huggingface/datasets/issues/5650 | load_dataset can't work correct with my image data | @WiNE-iNEFF I'm sorry there is still not enough information to answer your question :( For now I can only assume that your [filenames contain split names](https://huggingface.co/docs/datasets/repository_structure#splits-and-file-names) which are somehow incorrectly parsed.
What would be the output if you omit `split`... | I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the problem and did not understand. Tried converting imag... | 50 | load_dataset can't work correct with my image data
I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the... | [
-0.17586000263690948,
-0.2095869779586792,
0.019803207367658615,
0.8191556334495544,
0.29886382818222046,
0.09997568279504776,
0.1657700538635254,
0.0931885689496994,
0.28999412059783936,
0.08995839953422546,
-0.2096036970615387,
-0.0025027089286595583,
-0.10109268128871918,
0.316569268703... |
https://github.com/huggingface/datasets/issues/5650 | load_dataset can't work correct with my image data | > @WiNE-iNEFF I'm sorry there is still not enough information to answer your question :( For now I can only assume that your [filenames contain split names](https://huggingface.co/docs/datasets/repository_structure#splits-and-file-names) which are somehow incorrectly parsed.
> What would be the output if you omit `spl... | I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the problem and did not understand. Tried converting imag... | 67 | load_dataset can't work correct with my image data
I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the... | [
-0.14027875661849976,
-0.21775639057159424,
0.01905141770839691,
0.8180439472198486,
0.3116007447242737,
0.09880109876394272,
0.1840139776468277,
0.10137112438678741,
0.291461318731308,
0.06977210938930511,
-0.18780328333377838,
-0.01947031356394291,
-0.10439880192279816,
0.318627268075943... |
https://github.com/huggingface/datasets/issues/5650 | load_dataset can't work correct with my image data | @WiNE-iNEFF My only guess is that 4 images in your data have `"train"` string in their names (something like `"train_image_0.png"`) and others do not and the loader ignores all the files that do not contain split name in filename. If it's true, please try to remove "train" from filenames. Or maybe they are inside a di... | I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the problem and did not understand. Tried converting imag... | 102 | load_dataset can't work correct with my image data
I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the... | [
-0.31841424107551575,
0.11623646318912506,
0.004813462495803833,
0.7473565936088562,
0.2342141568660736,
0.04168616980314255,
0.3359447419643402,
0.21330662071704865,
0.4263294041156769,
0.1717168092727661,
-0.10355009883642197,
0.1965058445930481,
-0.145783469080925,
0.10011128336191177,
... |
https://github.com/huggingface/datasets/issues/5650 | load_dataset can't work correct with my image data | > @WiNE-iNEFF My only guess is that 4 images in your data have `"train"` string in their names (something like `"train_image_0.png"`) and others do not and the loader ignores all the files that do not contain split name in filename. If it's true, please try to remove "train" from filenames. Or maybe they are inside a ... | I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the problem and did not understand. Tried converting imag... | 136 | load_dataset can't work correct with my image data
I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the... | [
-0.26072943210601807,
0.10786642134189606,
0.006297912448644638,
0.7898243069648743,
0.23361186683177948,
0.042052872478961945,
0.3416374623775482,
0.20830097794532776,
0.41577231884002686,
0.17368704080581665,
-0.10880168527364731,
0.15200307965278625,
-0.10838012397289276,
0.094674319028... |
https://github.com/huggingface/datasets/issues/5650 | load_dataset can't work correct with my image data | @WiNE-iNEFF Probably they are named inconsistently so that the correct pattern for which files should correspond to which split cannot be inferred. You can make it clearer to the loader by removing split names from filenames and putting files in separate folder for each split (you can take a look at the [documentation ... | I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the problem and did not understand. Tried converting imag... | 145 | load_dataset can't work correct with my image data
I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the... | [
-0.15141379833221436,
-0.10156204551458359,
0.011981815099716187,
0.89296954870224,
0.24488744139671326,
0.015088625252246857,
0.3804279565811157,
0.0658925473690033,
0.4348656237125397,
0.12483054399490356,
-0.14608074724674225,
0.009876487776637077,
-0.07528579235076904,
0.26386681199073... |
https://github.com/huggingface/datasets/issues/5650 | load_dataset can't work correct with my image data | > @WiNE-iNEFF Probably they are named inconsistently so that the correct pattern for which files should correspond to which split cannot be inferred. You can make it clearer to the loader by removing split names from filenames and putting files in separate folder for each split (you can take a look at the [documentatio... | I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the problem and did not understand. Tried converting imag... | 192 | load_dataset can't work correct with my image data
I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the... | [
-0.12241062521934509,
-0.1189236044883728,
0.0058676376938819885,
0.8745818138122559,
0.27257049083709717,
0.00588640570640564,
0.4140678346157074,
0.028989871963858604,
0.4175446033477783,
0.12678393721580505,
-0.13153615593910217,
-0.027952425181865692,
-0.07020428776741028,
0.2635800540... |
https://github.com/huggingface/datasets/issues/5650 | load_dataset can't work correct with my image data | Hi,
You need to use:
```
from datasets import load_dataset
dataset = load_dataset("imagefolder", split="train", data_dir="path_to_your_folder")
```
instead of
```
from datasets import load_dataset
dataset = load_dataset("my_folder_name", split="train")
```
To create an image dataset from your local fo... | I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the problem and did not understand. Tried converting imag... | 37 | load_dataset can't work correct with my image data
I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the... | [
-0.20772548019886017,
0.02510128915309906,
-0.09739556908607483,
0.7922846674919128,
0.40227246284484863,
0.06442435830831528,
0.3478944003582001,
0.16082967817783356,
0.2512674033641815,
0.20416349172592163,
-0.029139084741473198,
0.001776688965037465,
-0.11698498576879501,
0.064626038074... |
https://github.com/huggingface/datasets/issues/5650 | load_dataset can't work correct with my image data | > Hi,
>
> You need to use:
>
> ```
> from datasets import load_dataset
>
> dataset = load_dataset("imagefolder", split="train", data_dir="path_to_your_folder")
> ```
>
> instead of
>
> ```
> from datasets import load_dataset
>
> dataset = load_dataset("my_folder_name", split="train")
> ```
>
> ... | I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the problem and did not understand. Tried converting imag... | 81 | load_dataset can't work correct with my image data
I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the... | [
-0.17353488504886627,
0.06935147941112518,
-0.09294964373111725,
0.7997748255729675,
0.43359994888305664,
0.09266207367181778,
0.3778233826160431,
0.13520222902297974,
0.2501027286052704,
0.17694836854934692,
-0.05331619828939438,
0.011937654577195644,
-0.12329932302236557,
0.0210334416478... |
https://github.com/huggingface/datasets/issues/5650 | load_dataset can't work correct with my image data | @WiNE-iNEFF have you tried the suggestion I posted above? with removing split names from filenames and structuring files in folders?
> even using the method that you wrote above absolutely nothing changes
fyi - nothing changed because these two approaches are basically the same. it's just that when you pass yo... | I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the problem and did not understand. Tried converting imag... | 77 | load_dataset can't work correct with my image data
I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the... | [
-0.31571608781814575,
0.2228071391582489,
-0.004531968384981155,
0.8090618252754211,
0.3384738564491272,
0.018982775509357452,
0.35111019015312195,
0.19034546613693237,
0.31551215052604675,
0.14922629296779633,
-0.06313051283359528,
0.1456155776977539,
-0.1601950228214264,
0.08324609696865... |
https://github.com/huggingface/datasets/issues/5650 | load_dataset can't work correct with my image data | Oh I didn't know that! OK but in any case, not sure why the image builder isn't working for @WiNE-iNEFF. But it's hard for us to help if we can't reproduce. I'd just check the structure of the folders, see if the splits are correctly set up, etc. | I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the problem and did not understand. Tried converting imag... | 48 | load_dataset can't work correct with my image data
I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the... | [
-0.329467236995697,
0.16304519772529602,
-0.016497455537319183,
0.9056413769721985,
0.21108682453632355,
-0.040097396820783615,
0.271140992641449,
0.09988121688365936,
0.27092066407203674,
0.3098604679107666,
0.04738704115152359,
-0.05513245612382889,
-0.15267138183116913,
0.13853181898593... |
https://github.com/huggingface/datasets/issues/5650 | load_dataset can't work correct with my image data | > @WiNE-iNEFF have you tried the suggestion I posted above? with removing split names from filenames and structuring files in folders?
>
>
> > even using the method that you wrote above absolutely nothing changes
>
> fyi - nothing changed because these two approaches are basically the same. it's just that when you ... | I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the problem and did not understand. Tried converting imag... | 100 | load_dataset can't work correct with my image data
I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the... | [
-0.3282020688056946,
0.2066570222377777,
-0.017439741641283035,
0.7821970582008362,
0.3660457730293274,
0.006648391485214233,
0.300134539604187,
0.2166881561279297,
0.30327320098876953,
0.17278069257736206,
-0.06820537894964218,
0.16757285594940186,
-0.1694243848323822,
0.10150595754384995... |
https://github.com/huggingface/datasets/issues/5650 | load_dataset can't work correct with my image data | > @WiNE-iNEFF have you tried the suggestion I posted above? with removing split names from filenames and structuring files in folders?
>
>
> > even using the method that you wrote above absolutely nothing changes
>
> fyi - nothing changed because these two approaches are basically the same. it's just that when you ... | I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the problem and did not understand. Tried converting imag... | 104 | load_dataset can't work correct with my image data
I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the... | [
-0.28947871923446655,
0.2215719223022461,
-0.008632596582174301,
0.8425335884094238,
0.3211132884025574,
0.010366171598434448,
0.33258286118507385,
0.2002287060022354,
0.35899290442466736,
0.10601986199617386,
-0.0858791396021843,
0.12331037223339081,
-0.15057821571826935,
0.06838676333427... |
https://github.com/huggingface/datasets/issues/5650 | load_dataset can't work correct with my image data | @WiNE-iNEFF great! So to explain what happened according to my assumptions:
When you use a standard packaged loader (like `imagefolder`, `csv`, `jsonl`, and so on) and load your data like `load_dataset("my_folder_name")` or `load_dataset("imagefolder", data_dir="my_folder_name"`, the library searches for patterns to... | I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the problem and did not understand. Tried converting imag... | 287 | load_dataset can't work correct with my image data
I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the... | [
-0.11331184208393097,
-0.192560076713562,
0.037378642708063126,
0.8684762120246887,
0.26751869916915894,
-0.1043303981423378,
0.3212054967880249,
-0.011463925242424011,
0.24265682697296143,
0.060042671859264374,
-0.21418166160583496,
0.032848894596099854,
-0.07489601522684097,
0.2579494118... |
https://github.com/huggingface/datasets/issues/5650 | load_dataset can't work correct with my image data | @NielsRogge @polinaeterna I have a similar problem when reading my dataset. I want to use DETR for object detection, but my data is in YOLO format. With a dataset of 10k images, yolo format involves having 10k labels. As far as I read regarding [COCO format](https://auto.gluon.ai/stable/tutorials/multimodal/object_dete... | I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the problem and did not understand. Tried converting imag... | 247 | load_dataset can't work correct with my image data
I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the... | [
-0.06337577104568481,
-0.26936063170433044,
0.007742773741483688,
0.6920599937438965,
0.370150625705719,
0.025836773216724396,
0.5060690641403198,
0.0521579384803772,
0.10815025866031647,
0.08833636343479156,
-0.35033324360847473,
0.21225804090499878,
-0.019483983516693115,
0.2488907724618... |
https://github.com/huggingface/datasets/issues/5650 | load_dataset can't work correct with my image data | Hi @Alberto1404, to load an object detection dataset it's recommended to make use of the metadata feature as explained [here](https://huggingface.co/docs/datasets/image_dataset#object-detection). | I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the problem and did not understand. Tried converting imag... | 20 | load_dataset can't work correct with my image data
I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the... | [
-0.09196726977825165,
-0.34738221764564514,
-0.03819061070680618,
0.9169856905937195,
0.2861291170120239,
-0.009505309164524078,
0.22585177421569824,
-0.09851951897144318,
0.2608111500740051,
0.05585894733667374,
-0.14896611869335175,
0.032364439219236374,
-0.1542152762413025,
0.2510679066... |
https://github.com/huggingface/datasets/issues/5650 | load_dataset can't work correct with my image data | You can now refer to https://huggingface.co/docs/datasets/repository_structure to learn about the `datasets`' data files inference, so I'm closing this issue. | I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the problem and did not understand. Tried converting imag... | 19 | load_dataset can't work correct with my image data
I have about 20000 images in my folder which divided into 4 folders with class names.
When i use load_dataset("my_folder_name", split="train") this function create dataset in which there are only 4 images, the remaining 19000 images were not added there. What is the... | [
-0.1361052393913269,
-0.2857425808906555,
-0.02753238007426262,
0.9229636788368225,
0.39007681608200073,
-0.01735338568687439,
0.12674270570278168,
-0.028047949075698853,
0.16894251108169556,
0.12396190315485,
-0.23829449713230133,
-0.11941931396722794,
0.0005266265943646431,
0.25675573945... |
https://github.com/huggingface/datasets/issues/5649 | The index column created with .to_sql() is dependent on the batch_size when writing | Thanks for reporting, @lsb.
We are investigating it.
On the other hand, please note that in the next `datasets` release, the index will not be created by default (see #5583). If you would like to have it, you will need to explicitly pass `index=True`. | ### Describe the bug
It seems like the "index" column is designed to be unique? The values are only unique per batch. The SQL index is not a unique index.
This can be a problem, for instance, when building a faiss index on a dataset and then trying to match up ids with a sql export.
### Steps to reproduce the ... | 44 | The index column created with .to_sql() is dependent on the batch_size when writing
### Describe the bug
It seems like the "index" column is designed to be unique? The values are only unique per batch. The SQL index is not a unique index.
This can be a problem, for instance, when building a faiss index on a dat... | [
-0.28622162342071533,
-0.08455128967761993,
-0.026609791442751884,
0.3410406708717346,
0.39152973890304565,
0.0590628907084465,
0.3072326183319092,
0.441967248916626,
-0.015411377884447575,
0.15386532247066498,
0.011585677042603493,
0.32452529668807983,
0.08520668745040894,
-0.029156923294... |
https://github.com/huggingface/datasets/issues/5649 | The index column created with .to_sql() is dependent on the batch_size when writing | I think this is low enough priority for me to close this as Won't Fix. If I need any primary keys I can generate them beforehand. Feel free to reopen. | ### Describe the bug
It seems like the "index" column is designed to be unique? The values are only unique per batch. The SQL index is not a unique index.
This can be a problem, for instance, when building a faiss index on a dataset and then trying to match up ids with a sql export.
### Steps to reproduce the ... | 30 | The index column created with .to_sql() is dependent on the batch_size when writing
### Describe the bug
It seems like the "index" column is designed to be unique? The values are only unique per batch. The SQL index is not a unique index.
This can be a problem, for instance, when building a faiss index on a dat... | [
-0.2679174840450287,
-0.11521309614181519,
-0.03238215297460556,
0.3754950761795044,
0.40459781885147095,
0.08464688807725906,
0.22972089052200317,
0.40342140197753906,
-0.04618832468986511,
0.09117104858160019,
0.042444877326488495,
0.2967213988304138,
0.07418172806501389,
0.0303460340946... |
https://github.com/huggingface/datasets/issues/5648 | flatten_indices doesn't work with pandas format | Thanks for reporting! This can be fixed by setting the format to `arrow` in `flatten_indices` and restoring the original format after the flattening. I'm working on a PR that reduces the number of the `flatten_indices` calls in our codebase and makes `flatten_indices` a no-op when a dataset does not have an indices map... | ### Describe the bug
Hi,
I noticed that `flatten_indices` throws an error when the batch format is `pandas`. This is probably due to the fact that flatten_indices uses map internally which doesn't accept dataframes as the transformation function output
### Steps to reproduce the bug
tabular_data = pd.DataFrame(np.r... | 61 | flatten_indices doesn't work with pandas format
### Describe the bug
Hi,
I noticed that `flatten_indices` throws an error when the batch format is `pandas`. This is probably due to the fact that flatten_indices uses map internally which doesn't accept dataframes as the transformation function output
### Steps to r... | [
-0.23585176467895508,
-0.08239849656820297,
0.021932698786258698,
0.14778560400009155,
0.2838250994682312,
0.06456571072340012,
0.601458728313446,
0.525417685508728,
-0.0785367414355278,
0.04094301164150238,
-0.10011708736419678,
0.7488418221473694,
0.13353212177753448,
0.18299835920333862... |
https://github.com/huggingface/datasets/issues/5647 | Make all print statements optional | We now log these messages instead of printing them (addressed in #6019), so I'm closing this issue. | ### Feature request
Make all print statements optional to speed up the development
### Motivation
Im loading multiple tiny datasets and all the print statements make the loading slower
### Your contribution
I can help contribute | 17 | Make all print statements optional
### Feature request
Make all print statements optional to speed up the development
### Motivation
Im loading multiple tiny datasets and all the print statements make the loading slower
### Your contribution
I can help contribute
We now log these messages instead of printing t... | [
0.0009948089718818665,
-0.3206985592842102,
-0.14963719248771667,
-0.021816611289978027,
0.12628257274627686,
0.01337730884552002,
0.2322203814983368,
0.32061922550201416,
0.0914488136768341,
0.5905942320823669,
0.2860531806945801,
0.4374437928199768,
-0.0034385239705443382,
0.150141596794... |
https://github.com/huggingface/datasets/issues/5645 | Datasets map and select(range()) is giving dill error | It looks like an error that we observed once in https://github.com/huggingface/datasets/pull/5166
Can you try to update `datasets` ?
```
pip install -U datasets
```
if it doesn't work, can you make sure you don't have packages installed that may modify `dill`'s behavior, such as `apache-beam` ? | ### Describe the bug
I'm using Huggingface Datasets library to load the dataset in google colab
When I do,
> data = train_dataset.select(range(10))
or
> train_datasets = train_dataset.map(
> process_data_to_model_inputs,
> batched=True,
> batch_size=batch_size,
> remove_columns... | 46 | Datasets map and select(range()) is giving dill error
### Describe the bug
I'm using Huggingface Datasets library to load the dataset in google colab
When I do,
> data = train_dataset.select(range(10))
or
> train_datasets = train_dataset.map(
> process_data_to_model_inputs,
> batched=Tru... | [
-0.46951207518577576,
-0.24985302984714508,
0.07980266213417053,
0.16242310404777527,
0.23612667620182037,
-0.040061160922050476,
0.5223493576049805,
0.300678014755249,
0.09555914998054504,
0.04978029429912567,
-0.41693174839019775,
0.4466841518878937,
-0.474542498588562,
-0.18290577828884... |
https://github.com/huggingface/datasets/issues/5638 | xPath to implement all operations for Path | I think https://github.com/fsspec/universal_pathlib is the project you are looking for.
`xPath` has the methods often used in dataset scripts, and `mkdir` is not one of them (`dl_manager`'s role is to "interact" with the file system, so using `mkdir` is discouraged). | ### Feature request
Current xPath implementation is a great extension of Path in order to work with remote objects. However some methods such as `mkdir` are not implemented correctly. It should instead rely on `fsspec` methods, instead of defaulting do `Path` methods which only work locally.
### Motivation
I'm using... | 40 | xPath to implement all operations for Path
### Feature request
Current xPath implementation is a great extension of Path in order to work with remote objects. However some methods such as `mkdir` are not implemented correctly. It should instead rely on `fsspec` methods, instead of defaulting do `Path` methods which ... | [
-0.26071637868881226,
0.1414581537246704,
-0.06356736272573471,
0.08999878913164139,
0.20660972595214844,
-0.3061125874519348,
0.1404217928647995,
0.06778787821531296,
0.1616876721382141,
0.43443959951400757,
0.28756189346313477,
0.6709932684898376,
-0.5445631742477417,
0.3812984228134155,... |
https://github.com/huggingface/datasets/issues/5638 | xPath to implement all operations for Path | Right is there a difference between UPath and xPath? Typically is xPath less well implemented compared to Upath, ie missing some implementations of some methods? Or are there methods in xPath that are not implemented with UPath? | ### Feature request
Current xPath implementation is a great extension of Path in order to work with remote objects. However some methods such as `mkdir` are not implemented correctly. It should instead rely on `fsspec` methods, instead of defaulting do `Path` methods which only work locally.
### Motivation
I'm using... | 37 | xPath to implement all operations for Path
### Feature request
Current xPath implementation is a great extension of Path in order to work with remote objects. However some methods such as `mkdir` are not implemented correctly. It should instead rely on `fsspec` methods, instead of defaulting do `Path` methods which ... | [
0.10588794946670532,
-0.29691314697265625,
-0.018857495859265327,
0.046008411794900894,
0.06821438670158386,
-0.3468492031097412,
-0.11411237716674805,
-0.10379359126091003,
0.15454387664794922,
0.2673550844192505,
0.44016727805137634,
0.4483546018600464,
-0.2546830177307129,
0.31509077548... |
https://github.com/huggingface/datasets/issues/5638 | xPath to implement all operations for Path | `xPath` is an internal component (it doesn't have a leading underscore in the name, but it should) not meant to be used outside of `datasets`, and it's only tested on HTTP URLs, not S3.
| ### Feature request
Current xPath implementation is a great extension of Path in order to work with remote objects. However some methods such as `mkdir` are not implemented correctly. It should instead rely on `fsspec` methods, instead of defaulting do `Path` methods which only work locally.
### Motivation
I'm using... | 34 | xPath to implement all operations for Path
### Feature request
Current xPath implementation is a great extension of Path in order to work with remote objects. However some methods such as `mkdir` are not implemented correctly. It should instead rely on `fsspec` methods, instead of defaulting do `Path` methods which ... | [
0.05578428879380226,
-0.1536552757024765,
-0.0967821329832077,
0.11886183172464371,
0.1655079573392868,
-0.4093305766582489,
0.08905607461929321,
-0.09222491085529327,
0.05006721243262291,
0.26450738310813904,
0.12565764784812927,
0.6189989447593689,
-0.3620951771736145,
0.4884304404258728... |
https://github.com/huggingface/datasets/issues/5638 | xPath to implement all operations for Path | Okay I understand that xPath won't support my usecase. What I was perhaps getting to is why not use UPath in `datasets` instead of `xPath` if UPath seems to have strictly more robust implementations. | ### Feature request
Current xPath implementation is a great extension of Path in order to work with remote objects. However some methods such as `mkdir` are not implemented correctly. It should instead rely on `fsspec` methods, instead of defaulting do `Path` methods which only work locally.
### Motivation
I'm using... | 34 | xPath to implement all operations for Path
### Feature request
Current xPath implementation is a great extension of Path in order to work with remote objects. However some methods such as `mkdir` are not implemented correctly. It should instead rely on `fsspec` methods, instead of defaulting do `Path` methods which ... | [
-0.1287551075220108,
-0.06510812789201736,
-0.021375641226768494,
0.023061882704496384,
0.18530498445034027,
-0.3098456561565399,
0.13218802213668823,
-0.030221614986658096,
0.09268337488174438,
0.3344961106777191,
0.3544566333293915,
0.5077070593833923,
-0.3155973553657532,
0.440650850534... |
https://github.com/huggingface/datasets/issues/5638 | xPath to implement all operations for Path | It seems like `universal_pathlib` does not support `fsspec` URL chaining (`::` is the chaining symbol) and "compression" filesystems (e.g., `zip`), but this is what we need to access and stream files from within an archive (e.g., we want to stream URLs such as this one: `zip://data.parquet::https://www.dummyurl.com/arc... | ### Feature request
Current xPath implementation is a great extension of Path in order to work with remote objects. However some methods such as `mkdir` are not implemented correctly. It should instead rely on `fsspec` methods, instead of defaulting do `Path` methods which only work locally.
### Motivation
I'm using... | 46 | xPath to implement all operations for Path
### Feature request
Current xPath implementation is a great extension of Path in order to work with remote objects. However some methods such as `mkdir` are not implemented correctly. It should instead rely on `fsspec` methods, instead of defaulting do `Path` methods which ... | [
-0.1286071389913559,
-0.0315140038728714,
-0.0025739893317222595,
0.06532162427902222,
0.09610694646835327,
-0.28217050433158875,
-0.23306362330913544,
-0.004487931728363037,
0.08044515550136566,
0.24995122849941254,
0.2878105938434601,
0.471987247467041,
-0.4721560478210449,
0.29212728142... |
https://github.com/huggingface/datasets/issues/5637 | IterableDataset with_format does not support 'device' keyword for jax | Hi! Yes, only `torch` is currently supported. Unlike `Dataset`, `IterableDataset` is not PyArrow-backed, so we cannot simply call `to_numpy` on the underlying subtables to format them numerically. Instead, we must manually convert examples to (numeric) arrays while preserving consistency with `Dataset`, which is not tr... | ### Describe the bug
As seen here: https://huggingface.co/docs/datasets/use_with_jax dataset.with_format() supports the keyword 'device', to put data on a specific device when loaded as jax. However, when called on an IterableDataset, I got the error `TypeError: with_format() got an unexpected keyword argument 'devi... | 51 | IterableDataset with_format does not support 'device' keyword for jax
### Describe the bug
As seen here: https://huggingface.co/docs/datasets/use_with_jax dataset.with_format() supports the keyword 'device', to put data on a specific device when loaded as jax. However, when called on an IterableDataset, I got the ... | [
0.1854279488325119,
-0.5949118137359619,
0.11138446629047394,
0.0791618674993515,
0.4312480688095093,
0.05424828082323074,
0.636894166469574,
0.1985744833946228,
-0.42962175607681274,
-0.147736057639122,
-0.21356414258480072,
0.35564735531806946,
-0.2165970653295517,
0.17206327617168427,
... |
https://github.com/huggingface/datasets/issues/5637 | IterableDataset with_format does not support 'device' keyword for jax | Any plans to support it in the future? Or would streaming dataset be left without support for jax and tensorflow? | ### Describe the bug
As seen here: https://huggingface.co/docs/datasets/use_with_jax dataset.with_format() supports the keyword 'device', to put data on a specific device when loaded as jax. However, when called on an IterableDataset, I got the error `TypeError: with_format() got an unexpected keyword argument 'devi... | 20 | IterableDataset with_format does not support 'device' keyword for jax
### Describe the bug
As seen here: https://huggingface.co/docs/datasets/use_with_jax dataset.with_format() supports the keyword 'device', to put data on a specific device when loaded as jax. However, when called on an IterableDataset, I got the ... | [
0.06743548810482025,
-0.5496014356613159,
0.06652061641216278,
0.07995869219303131,
0.4429311156272888,
-0.0057757943868637085,
0.6070608496665955,
0.1334860473871231,
-0.38182708621025085,
-0.15816514194011688,
-0.07893875241279602,
0.19278772175312042,
-0.25545546412467957,
0.36124035716... |
https://github.com/huggingface/datasets/issues/5634 | Not all progress bars are showing up when they should for downloading dataset | Hi!
By default, tqdm has `leave=True` to "keep all traces of the progress bar upon the termination of iteration". However, we use `leave=False` in some places (as of recently), which removes the bar once the iteration is over.
I feel like our TQDM bars are noisy, so I think we should always set `leave=False` and... | ### Describe the bug
During downloading the rotten tomatoes dataset, not all progress bars are displayed properly. This might be related to [this ticket](https://github.com/huggingface/datasets/issues/5117) as it raised the same concern but its not clear if the fix solves this issue too.
ipywidgets
<img width=... | 92 | Not all progress bars are showing up when they should for downloading dataset
### Describe the bug
During downloading the rotten tomatoes dataset, not all progress bars are displayed properly. This might be related to [this ticket](https://github.com/huggingface/datasets/issues/5117) as it raised the same concern bu... | [
-0.43630048632621765,
0.34490853548049927,
-0.13294567167758942,
0.34058958292007446,
0.3699561357498169,
-0.013252295553684235,
0.42272934317588806,
0.3985331356525421,
0.015535805374383926,
0.11542735993862152,
-0.22593112289905548,
0.11328903585672379,
0.22292178869247437,
0.35624662041... |
https://github.com/huggingface/datasets/issues/5634 | Not all progress bars are showing up when they should for downloading dataset | Hi sorry for the late update. I think the problem still exists despite the `leave` flag
<img width="1105" alt="image" src="https://user-images.githubusercontent.com/110427462/226501615-5b02fb02-fd5f-4eda-b1f7-a7ed6570892d.png">
```
Package Version
------------------------ ---------
aiofiles ... | ### Describe the bug
During downloading the rotten tomatoes dataset, not all progress bars are displayed properly. This might be related to [this ticket](https://github.com/huggingface/datasets/issues/5117) as it raised the same concern but its not clear if the fix solves this issue too.
ipywidgets
<img width=... | 373 | Not all progress bars are showing up when they should for downloading dataset
### Describe the bug
During downloading the rotten tomatoes dataset, not all progress bars are displayed properly. This might be related to [this ticket](https://github.com/huggingface/datasets/issues/5117) as it raised the same concern bu... | [
-0.43630048632621765,
0.34490853548049927,
-0.13294567167758942,
0.34058958292007446,
0.3699561357498169,
-0.013252295553684235,
0.42272934317588806,
0.3985331356525421,
0.015535805374383926,
0.11542735993862152,
-0.22593112289905548,
0.11328903585672379,
0.22292178869247437,
0.35624662041... |
https://github.com/huggingface/datasets/issues/5633 | Cannot import datasets | Okay, the issue was likely caused by mixing `conda` and `pip` usage - I forgot that I have already used `pip` in this environment previously and that it was 'spoiled' because of it. Creating another environment and installing `datasets` by pip with other packages from the `requirements.txt` file solved the problem. | ### Describe the bug
Hi,
I cannot even import the library :( I installed it by running:
```
$ conda install datasets
```
Then I realized I should maybe use the huggingface channel, because I encountered the error below, so I ran:
```
$ conda remove datasets
$ conda install -c huggingface datasets
```
Pl... | 51 | Cannot import datasets
### Describe the bug
Hi,
I cannot even import the library :( I installed it by running:
```
$ conda install datasets
```
Then I realized I should maybe use the huggingface channel, because I encountered the error below, so I ran:
```
$ conda remove datasets
$ conda install -c hugg... | [
-0.2135898321866989,
0.001722194254398346,
-0.061049409210681915,
0.3418363332748413,
0.20503053069114685,
0.03259129077196121,
-0.01913261041045189,
0.09212864935398102,
-0.280264675617218,
-0.1098598837852478,
-0.23995262384414673,
0.325670450925827,
-0.11993315070867538,
0.0739890784025... |
https://github.com/huggingface/datasets/issues/5632 | Dataset cannot convert too large dictionnary | Answered on the forum:
> To fix the overflow error, we need to merge [support LargeListArray in pyarrow by xwwwwww · Pull Request #4800 · huggingface/datasets · GitHub](https://github.com/huggingface/datasets/pull/4800), which adds support for the large lists. However, before merging it, we need to come up with a cl... | ### Describe the bug
Hello everyone!
I tried to build a new dataset with the command "dict_valid = datasets.Dataset.from_dict({'input_values': values_array})".
However, I have a very large dataset (~400Go) and it seems that dataset cannot handle this.
Indeed, I can create the dataset until a certain size of m... | 63 | Dataset cannot convert too large dictionnary
### Describe the bug
Hello everyone!
I tried to build a new dataset with the command "dict_valid = datasets.Dataset.from_dict({'input_values': values_array})".
However, I have a very large dataset (~400Go) and it seems that dataset cannot handle this.
Indeed, I c... | [
-0.27811336517333984,
-0.31340545415878296,
-0.024351784959435463,
0.29886993765830994,
0.3075418472290039,
-0.029401756823062897,
-0.09150303900241852,
0.25689342617988586,
-0.034428246319293976,
0.03531423211097717,
-0.056395016610622406,
-0.02437829039990902,
-0.10717065632343292,
0.394... |
https://github.com/huggingface/datasets/issues/5631 | Custom split names | Hi!
You can also use names other than "train", "validation" and "test". As an example, check the [script](https://huggingface.co/datasets/mozilla-foundation/common_voice_11_0/blob/e095840f23f3dffc1056c078c2f9320dad9ca74d/common_voice_11_0.py#L139) of the Common Voice 11 dataset. | ### Feature request
Hi,
I participated in multiple NLP tasks where there are more than just train, test, validation splits, there could be multiple validation sets or test sets. But it seems currently only those mentioned three splits supported. It would be nice to have the support for more splits on the hub. (curren... | 24 | Custom split names
### Feature request
Hi,
I participated in multiple NLP tasks where there are more than just train, test, validation splits, there could be multiple validation sets or test sets. But it seems currently only those mentioned three splits supported. It would be nice to have the support for more split... | [
0.06793402135372162,
-0.3732764422893524,
-0.13028761744499207,
-0.004513859748840332,
-0.12695695459842682,
0.02197832614183426,
0.6972881555557251,
0.40757784247398376,
0.1126677542924881,
0.2690989375114441,
-0.3183879852294922,
0.23278644680976868,
-0.1575727015733719,
0.34760275483131... |
https://github.com/huggingface/datasets/issues/5629 | load_dataset gives "403" error when using Financial phrasebank | Hi! You seem to be using an outdated version of `datasets` that downloads the older script version. To avoid the error, you can either pass `revision="main"` to `load_dataset` (this can fail if a script uses newer features of the lib) or update your installation with `pip install -U datasets` (better solution). | When I try to load this dataset, I receive the following error:
ConnectionError: Couldn't reach https://www.researchgate.net/profile/Pekka_Malo/publication/251231364_FinancialPhraseBank-v10/data/0c96051eee4fb1d56e000000/FinancialPhraseBank-v10.zip (error 403)
Has this been seen before? Thanks. The website loads ... | 51 | load_dataset gives "403" error when using Financial phrasebank
When I try to load this dataset, I receive the following error:
ConnectionError: Couldn't reach https://www.researchgate.net/profile/Pekka_Malo/publication/251231364_FinancialPhraseBank-v10/data/0c96051eee4fb1d56e000000/FinancialPhraseBank-v10.zip (er... | [
-0.5351284742355347,
0.5127536654472351,
-0.03247543051838875,
0.3404865860939026,
-0.011751912534236908,
-0.1359037607908249,
0.3864745497703552,
0.25343453884124756,
-0.053491342812776566,
0.10912728309631348,
-0.19254635274410248,
-0.050356894731521606,
0.4186595678329468,
0.25087609887... |
https://github.com/huggingface/datasets/issues/5627 | Unable to load AutoTrain-generated dataset from the hub | The AutoTrain format is not supported right now. I think it would require a dedicated dataset builder | ### Describe the bug
DatasetGenerationError: An error occurred while generating the dataset -> ValueError: Couldn't cast ... because column names don't match
```
ValueError: Couldn't cast
_data_files: list<item: struct<filename: string>>
child 0, item: struct<filename: string>
child 0, filename: string
... | 17 | Unable to load AutoTrain-generated dataset from the hub
### Describe the bug
DatasetGenerationError: An error occurred while generating the dataset -> ValueError: Couldn't cast ... because column names don't match
```
ValueError: Couldn't cast
_data_files: list<item: struct<filename: string>>
child 0, item: ... | [
-0.5055109858512878,
-0.31723999977111816,
-0.019252801313996315,
0.6263447403907776,
0.5027539134025574,
0.19591999053955078,
0.47843223810195923,
0.278669536113739,
0.2528655529022217,
0.1125141978263855,
-0.21494437754154205,
0.5865491628646851,
-0.054208606481552124,
0.2229908555746078... |
https://github.com/huggingface/datasets/issues/5627 | Unable to load AutoTrain-generated dataset from the hub | Okay, good to know. Thanks for the reply. For now I will just have to
manage the split manually before training, because I can’t find any way of
pulling out file indices or file names from the autogenerated split. The
file names field of the image dataset (loaded directly from arrow file) is
missing, just fyi (for anyo... | ### Describe the bug
DatasetGenerationError: An error occurred while generating the dataset -> ValueError: Couldn't cast ... because column names don't match
```
ValueError: Couldn't cast
_data_files: list<item: struct<filename: string>>
child 0, item: struct<filename: string>
child 0, filename: string
... | 131 | Unable to load AutoTrain-generated dataset from the hub
### Describe the bug
DatasetGenerationError: An error occurred while generating the dataset -> ValueError: Couldn't cast ... because column names don't match
```
ValueError: Couldn't cast
_data_files: list<item: struct<filename: string>>
child 0, item: ... | [
-0.5055109858512878,
-0.31723999977111816,
-0.019252801313996315,
0.6263447403907776,
0.5027539134025574,
0.19591999053955078,
0.47843223810195923,
0.278669536113739,
0.2528655529022217,
0.1125141978263855,
-0.21494437754154205,
0.5865491628646851,
-0.054208606481552124,
0.2229908555746078... |
https://github.com/huggingface/datasets/issues/5625 | Allow "jsonl" data type signifier | You can use "json" instead. It doesn't work by extension names, but rather by dataset builder names, e.g. "text", "imagefolder", etc. I don't think the example in `transformers` is correct because of that | ### Feature request
`load_dataset` currently does not accept `jsonl` as type but only `json`.
### Motivation
I was working with one of the `run_translation` scripts and used my own datasets (`.jsonl`) as train_dataset. But the default code did not work because
```
FileNotFoundError: Couldn't find a dataset scri... | 33 | Allow "jsonl" data type signifier
### Feature request
`load_dataset` currently does not accept `jsonl` as type but only `json`.
### Motivation
I was working with one of the `run_translation` scripts and used my own datasets (`.jsonl`) as train_dataset. But the default code did not work because
```
FileNotFoun... | [
-0.21680696308612823,
-0.08018489181995392,
0.048373032361269,
0.12135019898414612,
0.31890517473220825,
0.05482778698205948,
0.26706793904304504,
0.3135353922843933,
0.3499504327774048,
0.03927190601825714,
-0.07581233233213425,
0.3852737247943878,
-0.3608348071575165,
0.2928565442562103,... |
https://github.com/huggingface/datasets/issues/5625 | Allow "jsonl" data type signifier | Yes, I understand the reasoning but this issue is to propose that the example in transformers (while incorrect) "makes sense" in terms of user expectation. So the question is whether it would be possible to add "aliases" for common types (like "json" and "text") based on common extensions (like jsonl and txt)? | ### Feature request
`load_dataset` currently does not accept `jsonl` as type but only `json`.
### Motivation
I was working with one of the `run_translation` scripts and used my own datasets (`.jsonl`) as train_dataset. But the default code did not work because
```
FileNotFoundError: Couldn't find a dataset scri... | 52 | Allow "jsonl" data type signifier
### Feature request
`load_dataset` currently does not accept `jsonl` as type but only `json`.
### Motivation
I was working with one of the `run_translation` scripts and used my own datasets (`.jsonl`) as train_dataset. But the default code did not work because
```
FileNotFoun... | [
-0.13366982340812683,
-0.12859171628952026,
0.05386509373784065,
0.1925056427717209,
0.29268866777420044,
-0.033620722591876984,
0.403344064950943,
0.33439990878105164,
0.3033923804759979,
-0.020041897892951965,
-0.026272814720869064,
0.20519274473190308,
-0.28625404834747314,
0.3191855847... |
https://github.com/huggingface/datasets/issues/5624 | glue datasets returning -1 for test split | Hi @lithafnium, thanks for reporting.
Please note that you can use the "Community" tab in the corresponding dataset page to start any discussion: https://huggingface.co/datasets/glue/discussions
Indeed this issue was already raised there (https://huggingface.co/datasets/glue/discussions/5) and answered: https://h... | ### Describe the bug
Downloading any dataset from GLUE has -1 as class labels for test split. Train and validation have regular 0/1 class labels. This is also present in the dataset card online.
### Steps to reproduce the bug
```
dataset = load_dataset("glue", "sst2")
for d in dataset:
# prints out -1
... | 71 | glue datasets returning -1 for test split
### Describe the bug
Downloading any dataset from GLUE has -1 as class labels for test split. Train and validation have regular 0/1 class labels. This is also present in the dataset card online.
### Steps to reproduce the bug
```
dataset = load_dataset("glue", "sst2")
... | [
-0.008659645915031433,
-0.2725120186805725,
0.006364747881889343,
0.340894877910614,
0.18558968603610992,
0.02595338225364685,
0.309885174036026,
0.35695990920066833,
0.3271538019180298,
0.09259366244077682,
-0.25603869557380676,
0.2038782835006714,
-0.047635987401008606,
0.261667847633361... |
https://github.com/huggingface/datasets/issues/5613 | Version mismatch with multiprocess and dill on Python 3.10 | Reopening, since I think the docs should inform the user of this problem. For example, [this page](https://huggingface.co/docs/datasets/installation) says
> Datasets is tested on Python 3.7+.
but it should probably say that Beam Datasets do not work with Python 3.10 (or link to a known issues page). | ### Describe the bug
Grabbing the latest version of `datasets` and `apache-beam` with `poetry` using Python 3.10 gives a crash at runtime. The crash is
```
File "/Users/adpauls/sc/git/DSI-transformers/data/NQ/create_NQ_train_vali.py", line 1, in <module>
import datasets
File "/Users/adpauls/Library/Caches/... | 46 | Version mismatch with multiprocess and dill on Python 3.10
### Describe the bug
Grabbing the latest version of `datasets` and `apache-beam` with `poetry` using Python 3.10 gives a crash at runtime. The crash is
```
File "/Users/adpauls/sc/git/DSI-transformers/data/NQ/create_NQ_train_vali.py", line 1, in <module>... | [
-0.3771491050720215,
0.05075015127658844,
-0.06774912774562836,
0.3744872808456421,
0.14260728657245636,
-0.14788565039634705,
0.19889873266220093,
0.33402085304260254,
-0.2787083387374878,
0.07854902744293213,
-0.10015995800495148,
0.5905040502548218,
-0.3055957555770874,
-0.2443761378526... |
https://github.com/huggingface/datasets/issues/5613 | Version mismatch with multiprocess and dill on Python 3.10 | Same problem on Colab using a vanilla setup running :
Python 3.10.11
apache-beam 2.47.0
datasets 2.12.0 | ### Describe the bug
Grabbing the latest version of `datasets` and `apache-beam` with `poetry` using Python 3.10 gives a crash at runtime. The crash is
```
File "/Users/adpauls/sc/git/DSI-transformers/data/NQ/create_NQ_train_vali.py", line 1, in <module>
import datasets
File "/Users/adpauls/Library/Caches/... | 16 | Version mismatch with multiprocess and dill on Python 3.10
### Describe the bug
Grabbing the latest version of `datasets` and `apache-beam` with `poetry` using Python 3.10 gives a crash at runtime. The crash is
```
File "/Users/adpauls/sc/git/DSI-transformers/data/NQ/create_NQ_train_vali.py", line 1, in <module>... | [
-0.3771491050720215,
0.05075015127658844,
-0.06774912774562836,
0.3744872808456421,
0.14260728657245636,
-0.14788565039634705,
0.19889873266220093,
0.33402085304260254,
-0.2787083387374878,
0.07854902744293213,
-0.10015995800495148,
0.5905040502548218,
-0.3055957555770874,
-0.2443761378526... |
https://github.com/huggingface/datasets/issues/5613 | Version mismatch with multiprocess and dill on Python 3.10 | I have made a workaround by forcing an install of the version of `multiprocess` version `0.70.15` (after installing `datasets` and `apache-beam`). I can confirm that (on Python 3.10 in [this colab notebook](https://colab.research.google.com/drive/1PTeGlshamFcJZix_GiS3vMXX_YzAhGv0?usp=sharing)) `datasets` can download p... | ### Describe the bug
Grabbing the latest version of `datasets` and `apache-beam` with `poetry` using Python 3.10 gives a crash at runtime. The crash is
```
File "/Users/adpauls/sc/git/DSI-transformers/data/NQ/create_NQ_train_vali.py", line 1, in <module>
import datasets
File "/Users/adpauls/Library/Caches/... | 55 | Version mismatch with multiprocess and dill on Python 3.10
### Describe the bug
Grabbing the latest version of `datasets` and `apache-beam` with `poetry` using Python 3.10 gives a crash at runtime. The crash is
```
File "/Users/adpauls/sc/git/DSI-transformers/data/NQ/create_NQ_train_vali.py", line 1, in <module>... | [
-0.3771491050720215,
0.05075015127658844,
-0.06774912774562836,
0.3744872808456421,
0.14260728657245636,
-0.14788565039634705,
0.19889873266220093,
0.33402085304260254,
-0.2787083387374878,
0.07854902744293213,
-0.10015995800495148,
0.5905040502548218,
-0.3055957555770874,
-0.2443761378526... |
https://github.com/huggingface/datasets/issues/5613 | Version mismatch with multiprocess and dill on Python 3.10 | Same problem.
```
python = "^3.10"
apache-beam = { extras = ["gcp"], version = "2.54.0" }
datasets = "^2.18.0"
``` | ### Describe the bug
Grabbing the latest version of `datasets` and `apache-beam` with `poetry` using Python 3.10 gives a crash at runtime. The crash is
```
File "/Users/adpauls/sc/git/DSI-transformers/data/NQ/create_NQ_train_vali.py", line 1, in <module>
import datasets
File "/Users/adpauls/Library/Caches/... | 20 | Version mismatch with multiprocess and dill on Python 3.10
### Describe the bug
Grabbing the latest version of `datasets` and `apache-beam` with `poetry` using Python 3.10 gives a crash at runtime. The crash is
```
File "/Users/adpauls/sc/git/DSI-transformers/data/NQ/create_NQ_train_vali.py", line 1, in <module>... | [
-0.3771491050720215,
0.05075015127658844,
-0.06774912774562836,
0.3744872808456421,
0.14260728657245636,
-0.14788565039634705,
0.19889873266220093,
0.33402085304260254,
-0.2787083387374878,
0.07854902744293213,
-0.10015995800495148,
0.5905040502548218,
-0.3055957555770874,
-0.2443761378526... |
https://github.com/huggingface/datasets/issues/5612 | Arrow map type in parquet files unsupported | I'm attaching a minimal reproducible example:
```python
from datasets import load_dataset
import pyarrow as pa
import pyarrow.parquet as pq
table_with_map = pa.Table.from_pydict(
{"a": [1, 2], "b": [[("a", 2)], [("b", 4)]]},
schema=pa.schema({"a": pa.int32(), "b": pa.map_(pa.string(), pa.int32())})
)
... | ### Describe the bug
When I try to load parquet files that were processed with Spark, I get the following issue:
`ValueError: Arrow type map<string, string ('warc_headers')> does not have a datasets dtype equivalent.`
Strangely, loading the dataset with `streaming=True` solves the issue.
### Steps to reproduce ... | 94 | Arrow map type in parquet files unsupported
### Describe the bug
When I try to load parquet files that were processed with Spark, I get the following issue:
`ValueError: Arrow type map<string, string ('warc_headers')> does not have a datasets dtype equivalent.`
Strangely, loading the dataset with `streaming=Tr... | [
-0.3164125382900238,
-0.4082997441291809,
0.09283551573753357,
0.32059502601623535,
0.04275718703866005,
0.0063393861055374146,
0.08654182404279709,
0.15762880444526672,
0.1813407987356186,
-0.03863978385925293,
0.34447017312049866,
0.9050390720367432,
-0.2431177943944931,
0.19016607105731... |
https://github.com/huggingface/datasets/issues/5612 | Arrow map type in parquet files unsupported | I've also been wondering about datasets support for Arrow Map datatypes. I had a situation where I had a pandas series of dict[str, float] with hundreds of different possible key values (ie. not bounded), and this got converted to a sequence of structs where every single struct had the entire set of keys.
I worked a... | ### Describe the bug
When I try to load parquet files that were processed with Spark, I get the following issue:
`ValueError: Arrow type map<string, string ('warc_headers')> does not have a datasets dtype equivalent.`
Strangely, loading the dataset with `streaming=True` solves the issue.
### Steps to reproduce ... | 88 | Arrow map type in parquet files unsupported
### Describe the bug
When I try to load parquet files that were processed with Spark, I get the following issue:
`ValueError: Arrow type map<string, string ('warc_headers')> does not have a datasets dtype equivalent.`
Strangely, loading the dataset with `streaming=Tr... | [
-0.2870076894760132,
-0.2409084439277649,
0.06536197662353516,
0.2714453935623169,
0.08346860110759735,
0.03306847810745239,
0.13867026567459106,
0.16712018847465515,
0.18623733520507812,
-0.14349858462810516,
0.24972866475582123,
0.8314008712768555,
-0.2498667985200882,
0.284231960773468,... |
https://github.com/huggingface/datasets/issues/5612 | Arrow map type in parquet files unsupported | (feel free to ignore) polars will not support this type: https://github.com/pola-rs/polars/issues/3942#issuecomment-1202331210
> Polars will not add the map dtype. It's benefit do not outweigh the extra complexity. Maybe we can investigate conversion of maps to struct. But I will have to explore that. | ### Describe the bug
When I try to load parquet files that were processed with Spark, I get the following issue:
`ValueError: Arrow type map<string, string ('warc_headers')> does not have a datasets dtype equivalent.`
Strangely, loading the dataset with `streaming=True` solves the issue.
### Steps to reproduce ... | 43 | Arrow map type in parquet files unsupported
### Describe the bug
When I try to load parquet files that were processed with Spark, I get the following issue:
`ValueError: Arrow type map<string, string ('warc_headers')> does not have a datasets dtype equivalent.`
Strangely, loading the dataset with `streaming=Tr... | [
-0.27476465702056885,
-0.5207474231719971,
0.09479939937591553,
0.3630151152610779,
0.14485514163970947,
0.0006967037916183472,
0.052691806107759476,
0.1600385159254074,
0.3129282593727112,
-0.0513869971036911,
0.3028813302516937,
0.8714975118637085,
-0.18468384444713593,
0.279831588268280... |
https://github.com/huggingface/datasets/issues/5610 | use datasets streaming mode in trainer ddp mode cause memory leak | Same problem,
transformers 4.28.1
datasets 2.12.0
leak around 100Mb per 10 seconds when use dataloader_num_werker > 0 in training argumennts for transformer train, possile bug in transformers repo, but still not found solution :(
| ### Describe the bug
use datasets streaming mode in trainer ddp mode cause memory leak
### Steps to reproduce the bug
import os
import time
import datetime
import sys
import numpy as np
import random
import torch
from torch.utils.data import Dataset, DataLoader, random_split, RandomSampler, Sequenti... | 34 | use datasets streaming mode in trainer ddp mode cause memory leak
### Describe the bug
use datasets streaming mode in trainer ddp mode cause memory leak
### Steps to reproduce the bug
import os
import time
import datetime
import sys
import numpy as np
import random
import torch
from torch.utils.da... | [
-0.52382493019104,
-0.24217313528060913,
-0.036273106932640076,
0.36496251821517944,
0.3379473090171814,
-0.021101482212543488,
0.05534345656633377,
0.19888441264629364,
-0.1257375180721283,
0.268814355134964,
-0.03869161754846573,
0.43656209111213684,
-0.19929476082324982,
-0.076506085693... |
https://github.com/huggingface/datasets/issues/5610 | use datasets streaming mode in trainer ddp mode cause memory leak | found an article described a problem, may be helpful for somebody:
https://ppwwyyxx.com/blog/2022/Demystify-RAM-Usage-in-Multiprocess-DataLoader/
I confirm, it`s not memory leak, after some time memory growing has stopped | ### Describe the bug
use datasets streaming mode in trainer ddp mode cause memory leak
### Steps to reproduce the bug
import os
import time
import datetime
import sys
import numpy as np
import random
import torch
from torch.utils.data import Dataset, DataLoader, random_split, RandomSampler, Sequenti... | 25 | use datasets streaming mode in trainer ddp mode cause memory leak
### Describe the bug
use datasets streaming mode in trainer ddp mode cause memory leak
### Steps to reproduce the bug
import os
import time
import datetime
import sys
import numpy as np
import random
import torch
from torch.utils.da... | [
-0.52382493019104,
-0.24217313528060913,
-0.036273106932640076,
0.36496251821517944,
0.3379473090171814,
-0.021101482212543488,
0.05534345656633377,
0.19888441264629364,
-0.1257375180721283,
0.268814355134964,
-0.03869161754846573,
0.43656209111213684,
-0.19929476082324982,
-0.076506085693... |
https://github.com/huggingface/datasets/issues/5610 | use datasets streaming mode in trainer ddp mode cause memory leak | "After some time" - from your description, it sounds like memory growth can happen for 12 hours+, even days, before it stops? That seems very scary. | ### Describe the bug
use datasets streaming mode in trainer ddp mode cause memory leak
### Steps to reproduce the bug
import os
import time
import datetime
import sys
import numpy as np
import random
import torch
from torch.utils.data import Dataset, DataLoader, random_split, RandomSampler, Sequenti... | 26 | use datasets streaming mode in trainer ddp mode cause memory leak
### Describe the bug
use datasets streaming mode in trainer ddp mode cause memory leak
### Steps to reproduce the bug
import os
import time
import datetime
import sys
import numpy as np
import random
import torch
from torch.utils.da... | [
-0.52382493019104,
-0.24217313528060913,
-0.036273106932640076,
0.36496251821517944,
0.3379473090171814,
-0.021101482212543488,
0.05534345656633377,
0.19888441264629364,
-0.1257375180721283,
0.268814355134964,
-0.03869161754846573,
0.43656209111213684,
-0.19929476082324982,
-0.076506085693... |
https://github.com/huggingface/datasets/issues/5609 | `load_from_disk` vs `load_dataset` performance. | Hi! We've recently made some improvements to `save_to_disk`/`list_to_disk` (100x faster in some scenarios), so it would help if you could install `datasets` directly from `main` (`pip install git+https://github.com/huggingface/datasets.git`) and re-run the "benchmark". | ### Describe the bug
I have downloaded `openwebtext` (~12GB) and filtered out a small amount of junk (it's still huge). Now, I would like to use this filtered version for future work. It seems I have two choices:
1. Use `load_dataset` each time, relying on the cache mechanism, and re-run my filtering.
2. `save_to_di... | 32 | `load_from_disk` vs `load_dataset` performance.
### Describe the bug
I have downloaded `openwebtext` (~12GB) and filtered out a small amount of junk (it's still huge). Now, I would like to use this filtered version for future work. It seems I have two choices:
1. Use `load_dataset` each time, relying on the cache m... | [
-0.33111855387687683,
-0.14985604584217072,
-0.0251423679292202,
0.25953394174575806,
-0.1268291026353836,
-0.034672416746616364,
0.37794944643974304,
0.11492915451526642,
0.4315919876098633,
-0.023102596402168274,
-0.2027462124824524,
0.21347106993198395,
0.0734780803322792,
-0.0355530455... |
https://github.com/huggingface/datasets/issues/5609 | `load_from_disk` vs `load_dataset` performance. | @mariosasko is that fix released to pip in the meantime? Asking cause im facing still the same issue (regarding loading images from local paths):
```
dataset = load_dataset("csv", cache_dir="cache", data_files=["/STORAGE/DATA/mijam/vit/code/list_filtered.csv"], num_proc=16, split="train").cast_column("image", Image()... | ### Describe the bug
I have downloaded `openwebtext` (~12GB) and filtered out a small amount of junk (it's still huge). Now, I would like to use this filtered version for future work. It seems I have two choices:
1. Use `load_dataset` each time, relying on the cache mechanism, and re-run my filtering.
2. `save_to_di... | 71 | `load_from_disk` vs `load_dataset` performance.
### Describe the bug
I have downloaded `openwebtext` (~12GB) and filtered out a small amount of junk (it's still huge). Now, I would like to use this filtered version for future work. It seems I have two choices:
1. Use `load_dataset` each time, relying on the cache m... | [
-0.394979864358902,
-0.1679813414812088,
-0.029321735724806786,
0.3195362091064453,
-0.08276049792766571,
-0.11662032455205917,
0.34465837478637695,
0.12127208709716797,
0.43445971608161926,
0.030346646904945374,
-0.1523960530757904,
0.27959075570106506,
0.022904720157384872,
-0.0802905634... |
https://github.com/huggingface/datasets/issues/5609 | `load_from_disk` vs `load_dataset` performance. | @mjamroz I assume your CSV file stores image file paths. This means `save_to_disk` needs to embed the image bytes resulting in a much bigger Arrow file (than the initial one). Maybe specifying `num_shards` to make the Arrow files smaller can help (large Arrow files on some systems take a long time to load). | ### Describe the bug
I have downloaded `openwebtext` (~12GB) and filtered out a small amount of junk (it's still huge). Now, I would like to use this filtered version for future work. It seems I have two choices:
1. Use `load_dataset` each time, relying on the cache mechanism, and re-run my filtering.
2. `save_to_di... | 53 | `load_from_disk` vs `load_dataset` performance.
### Describe the bug
I have downloaded `openwebtext` (~12GB) and filtered out a small amount of junk (it's still huge). Now, I would like to use this filtered version for future work. It seems I have two choices:
1. Use `load_dataset` each time, relying on the cache m... | [
-0.2890036106109619,
-0.2315305471420288,
-0.033875320106744766,
0.26924803853034973,
-0.11195032298564911,
-0.01359756663441658,
0.432413250207901,
0.08034675568342209,
0.4906606674194336,
0.027058742940425873,
-0.11855138093233109,
0.11561431735754013,
0.09376586228609085,
-0.01171771436... |
https://github.com/huggingface/datasets/issues/5608 | audiofolder only creates dataset of 13 rows (files) when the data folder it's reading from has 20,000 mp3 files. | Hi!
> naming convention of mp3 files
Yes, this could be the problem. MP3 files should end with `.mp3`/`.MP3` to be recognized as audio files.
If the file names are not the culprit, can you paste the audio folder's directory structure to help us reproduce the error (e.g., by running the `tree "x"` command)? | ### Describe the bug
x = load_dataset("audiofolder", data_dir="x")
When running this, x is a dataset of 13 rows (files) when it should be 20,000 rows (files) as the data_dir "x" has 20,000 mp3 files. Does anyone know what could possibly cause this (naming convention of mp3 files, etc.)
### Steps to reproduce the b... | 54 | audiofolder only creates dataset of 13 rows (files) when the data folder it's reading from has 20,000 mp3 files.
### Describe the bug
x = load_dataset("audiofolder", data_dir="x")
When running this, x is a dataset of 13 rows (files) when it should be 20,000 rows (files) as the data_dir "x" has 20,000 mp3 files. Do... | [
-0.2228221744298935,
0.27036362886428833,
-0.01823893003165722,
0.6708593964576721,
0.3198866844177246,
-0.08301010727882385,
0.4203847348690033,
0.09908396005630493,
-0.06525054574012756,
0.37506920099258423,
0.04306957125663757,
0.20323847234249115,
-0.21926343441009521,
-0.1251745074987... |
https://github.com/huggingface/datasets/issues/5608 | audiofolder only creates dataset of 13 rows (files) when the data folder it's reading from has 20,000 mp3 files. | Hi! I'm sorry, I don't want to reveal my entire dataset, but here's a snippet (all of the mp3 files below are some of the ones not being recognized by audiofolder. Also, for another dataset, audiofolder loaded zero mp3 files because "train" was in the name of one of the mp3 files.
my_dataset
├── data
│ ├── VHA_In... | ### Describe the bug
x = load_dataset("audiofolder", data_dir="x")
When running this, x is a dataset of 13 rows (files) when it should be 20,000 rows (files) as the data_dir "x" has 20,000 mp3 files. Does anyone know what could possibly cause this (naming convention of mp3 files, etc.)
### Steps to reproduce the b... | 94 | audiofolder only creates dataset of 13 rows (files) when the data folder it's reading from has 20,000 mp3 files.
### Describe the bug
x = load_dataset("audiofolder", data_dir="x")
When running this, x is a dataset of 13 rows (files) when it should be 20,000 rows (files) as the data_dir "x" has 20,000 mp3 files. Do... | [
-0.17356477677822113,
0.2785468101501465,
-0.029778841882944107,
0.7486944794654846,
0.27932071685791016,
-0.07498688250780106,
0.4905415177345276,
0.1061396598815918,
-0.03469198942184448,
0.366542249917984,
0.07218077778816223,
0.21181799471378326,
-0.23881129920482635,
-0.11272323876619... |
https://github.com/huggingface/datasets/issues/5606 | Add `Dataset.to_list` to the API | Hello, I have an interest in this issue.
Is the `Dataset.to_dict` you are describing correct in the code here?
https://github.com/huggingface/datasets/blob/35b789e8f6826b6b5a6b48fcc2416c890a1f326a/src/datasets/arrow_dataset.py#L4633-L4667 | Since there is `Dataset.from_list` in the API, we should also add `Dataset.to_list` to be consistent.
Regarding the implementation, we can re-use `Dataset.to_dict`'s code and replace the `to_pydict` calls with `to_pylist`. | 20 | Add `Dataset.to_list` to the API
Since there is `Dataset.from_list` in the API, we should also add `Dataset.to_list` to be consistent.
Regarding the implementation, we can re-use `Dataset.to_dict`'s code and replace the `to_pydict` calls with `to_pylist`.
Hello, I have an interest in this issue.
Is the `Datase... | [
-0.2022285908460617,
-0.03350914269685745,
-0.12614166736602783,
0.055247627198696136,
0.2114388644695282,
-0.1160002052783966,
0.17522984743118286,
0.2208539843559265,
0.06881484389305115,
0.06443382054567337,
-0.13487571477890015,
0.6672619581222534,
-0.016136128455400467,
0.374596893787... |
https://github.com/huggingface/datasets/issues/5604 | Problems with downloading The Pile | Hi!
You can specify `download_config=DownloadConfig(resume_download=True))` in `load_dataset` to resume the download when re-running the code after the timeout error:
```python
from datasets import load_dataset, DownloadConfig
dataset = load_dataset('the_pile', split='train', cache_dir='F:\datasets', download_... | ### Describe the bug
The downloads in the screenshot seem to be interrupted after some time and the last download throws a "Read timed out" error.

Here are the downloaded files:

Here are the down... | [
-0.21374163031578064,
0.05478878319263458,
-0.07777395844459534,
0.4795967936515808,
0.35356950759887695,
0.16597053408622742,
0.410066694021225,
0.10658246278762817,
-0.04991460591554642,
0.12421835958957672,
-0.26922887563705444,
0.05224493145942688,
0.23040205240249634,
0.05173779278993... |
https://github.com/huggingface/datasets/issues/5604 | Problems with downloading The Pile | @mariosasko , I used your suggestion but its not saving anything , just stops and runs from the same point .
below is the script to download and save on disk .
```
from datasets import load_dataset, DownloadConfig
#load the Pile dataset from Hugging Face Datasets
#dataset = load_dataset('the_pile')
dataset ... | ### Describe the bug
The downloads in the screenshot seem to be interrupted after some time and the last download throws a "Read timed out" error.

Here are the downloaded files:

Here are the down... | [
-0.17654719948768616,
0.013364255428314209,
-0.0730191320180893,
0.5572141408920288,
0.3641853928565979,
0.2103741466999054,
0.3685580790042877,
0.1330169439315796,
0.030222542583942413,
0.12114612758159637,
-0.2662599980831146,
0.022001519799232483,
0.17310240864753723,
0.0717435479164123... |
https://github.com/huggingface/datasets/issues/5604 | Problems with downloading The Pile | @mariosasko , it shows nothing in dataset folder
```
du -sh /mnt/nlp/hugging_face/*
20K /mnt/nlp/hugging_face/datasets
4.0K /mnt/nlp/hugging_face/download_pile.py
```
| ### Describe the bug
The downloads in the screenshot seem to be interrupted after some time and the last download throws a "Read timed out" error.

Here are the downloaded files:

Here are the down... | [
-0.15464216470718384,
-0.05474759638309479,
-0.08510050922632217,
0.5633899569511414,
0.3148409128189087,
0.2048168182373047,
0.3925069570541382,
0.1216035932302475,
-0.009891314432024956,
0.09371966123580933,
-0.23172785341739655,
-0.0008946370799094439,
0.17912700772285461,
0.04699467122... |
https://github.com/huggingface/datasets/issues/5604 | Problems with downloading The Pile | @mariosasko
```
root@d20f0ab8f4f8:/mnt/hugging_face# python3 download_pile.py
No config specified, defaulting to: the_pile/all
Downloading and preparing dataset the_pile/all to /mnt/hugging_face/datasets/the_pile/all/0.0.0/6fadc480ecb32470826cbf5900a9558b791ce55d5e9a0fdc8ad653e7b64bb349...
Downloading data file... | ### Describe the bug
The downloads in the screenshot seem to be interrupted after some time and the last download throws a "Read timed out" error.

Here are the downloaded files:

Here are the down... | [
-0.1335558444261551,
-0.10500898957252502,
-0.07932735979557037,
0.5455508828163147,
0.34956663846969604,
0.18688508868217468,
0.39161747694015503,
0.1342574656009674,
-0.07935827970504761,
0.11265616863965988,
-0.24107623100280762,
0.014042094349861145,
0.2023782879114151,
0.0358772054314... |
https://github.com/huggingface/datasets/issues/5604 | Problems with downloading The Pile | Users with slow internet speed are doomed (4MB/s). The dataset downloads fine at minimum speed 10MB/s.
Also, when the train splits were generated and then I removed the downloads folder to save up disk space, it started redownloading the whole dataset. Is there any way to use the already generated splits instead? | ### Describe the bug
The downloads in the screenshot seem to be interrupted after some time and the last download throws a "Read timed out" error.

Here are the downloaded files:

Here are the down... | [
-0.22123070061206818,
0.023591727018356323,
-0.040609896183013916,
0.5593506693840027,
0.2633417844772339,
0.16378822922706604,
0.5128107070922852,
0.16554474830627441,
-0.03511783853173256,
0.1043974757194519,
-0.26651617884635925,
0.041127949953079224,
0.12867142260074615,
0.086557462811... |
https://github.com/huggingface/datasets/issues/5604 | Problems with downloading The Pile | @sentialx @mariosasko , anytime on my above script , am I downloading and saving dataset correctly . Please suggest :) | ### Describe the bug
The downloads in the screenshot seem to be interrupted after some time and the last download throws a "Read timed out" error.

Here are the downloaded files:

Here are the down... | [
-0.22538641095161438,
0.00564846396446228,
-0.06983540952205658,
0.6201367974281311,
0.27914854884147644,
0.17031389474868774,
0.38560405373573303,
0.12183085083961487,
-0.04905744642019272,
0.042198777198791504,
-0.27235764265060425,
-0.01581338793039322,
0.20061619579792023,
0.0202050451... |
https://github.com/huggingface/datasets/issues/5604 | Problems with downloading The Pile | @sentialx probably worth noting that `resume_download=True` doesn't directly save the dataset to disk, but instead just helps in resuming the dataset resume on interruption as @mariosasko mentions. resolving resumptions after a crash is [an open issue](https://github.com/huggingface/datasets/issues/5380) at the moment. | ### Describe the bug
The downloads in the screenshot seem to be interrupted after some time and the last download throws a "Read timed out" error.

Here are the downloaded files:

Here are the down... | [
-0.2694602906703949,
0.03480924665927887,
-0.046287380158901215,
0.5411438941955566,
0.33860963582992554,
0.1648978888988495,
0.3312762677669525,
0.024364151060581207,
0.015573710203170776,
0.04616039991378784,
-0.2597787380218506,
-0.0023099242243915796,
0.11378109455108643,
0.10530570894... |
https://github.com/huggingface/datasets/issues/5601 | Authorization error | Hi!
It's better to report this kind of issue in the `huggingface_hub` repo, so if you still haven't resolved it, I suggest you open an issue there. | ### Describe the bug
Get `Authorization error` when try to push data into hugginface datasets hub.
### Steps to reproduce the bug
I did all steps in the [tutorial](https://huggingface.co/docs/datasets/share),
1. `huggingface-cli login` with WRITE token
2. `git lfs install`
3. `git clone https://huggingfa... | 27 | Authorization error
### Describe the bug
Get `Authorization error` when try to push data into hugginface datasets hub.
### Steps to reproduce the bug
I did all steps in the [tutorial](https://huggingface.co/docs/datasets/share),
1. `huggingface-cli login` with WRITE token
2. `git lfs install`
3. `git c... | [
-0.08546485751867294,
-0.3339294195175171,
0.02009500190615654,
0.39740854501724243,
0.05339319258928299,
-0.06770216673612595,
0.040697209537029266,
0.1427755206823349,
0.010176926851272583,
0.009207144379615784,
-0.20714451372623444,
-0.07270248234272003,
-0.13457800447940826,
0.31712302... |
https://github.com/huggingface/datasets/issues/5601 | Authorization error | Yeah, I solved it. Problem was in osxkeychain. When I do `hugginface-cli login` it's add token with default account (username)`hg_user` but my repo contain other username. When I changed username in keychain - it works now. | ### Describe the bug
Get `Authorization error` when try to push data into hugginface datasets hub.
### Steps to reproduce the bug
I did all steps in the [tutorial](https://huggingface.co/docs/datasets/share),
1. `huggingface-cli login` with WRITE token
2. `git lfs install`
3. `git clone https://huggingfa... | 36 | Authorization error
### Describe the bug
Get `Authorization error` when try to push data into hugginface datasets hub.
### Steps to reproduce the bug
I did all steps in the [tutorial](https://huggingface.co/docs/datasets/share),
1. `huggingface-cli login` with WRITE token
2. `git lfs install`
3. `git c... | [
0.019521456211805344,
-0.15236134827136993,
0.030946169048547745,
0.3584160804748535,
0.007946645841002464,
-0.061536919325590134,
0.019243396818637848,
0.09502163529396057,
-0.04392223432660103,
0.010656237602233887,
-0.22417594492435455,
-0.022301502525806427,
-0.01156082283705473,
0.359... |
https://github.com/huggingface/datasets/issues/5600 | Dataloader getitem not working for DreamboothDatasets | Hi!
> (see example of DreamboothDatasets)
Could you please provide a link to it? If you are referring to the example in the `diffusers` repo, your issue is unrelated to `datasets` as that example uses `Dataset` from PyTorch to load data. | ### Describe the bug
Dataloader getitem is not working as before (see example of [DreamboothDatasets](https://github.com/huggingface/peft/blob/main/examples/lora_dreambooth/train_dreambooth.py#L451C14-L529))
moving Datasets to 2.8.0 solved the issue.
### Steps to reproduce the bug
1- using DreamBoothDataset ... | 41 | Dataloader getitem not working for DreamboothDatasets
### Describe the bug
Dataloader getitem is not working as before (see example of [DreamboothDatasets](https://github.com/huggingface/peft/blob/main/examples/lora_dreambooth/train_dreambooth.py#L451C14-L529))
moving Datasets to 2.8.0 solved the issue.
### S... | [
-0.43487390875816345,
0.05399131774902344,
0.030207786709070206,
0.562545657157898,
0.30811482667922974,
-0.06847461313009262,
0.5493572950363159,
0.2516695559024811,
0.11080913245677948,
0.18487262725830078,
-0.23793631792068481,
0.1140589490532875,
-0.05533261597156525,
-0.27421140670776... |
https://github.com/huggingface/datasets/issues/5597 | in-place dataset update | We won't support in-place modifications since `datasets` is based on the Apache Arrow format which doesn't support in-place modifications.
In your case the old dataset is garbage collected pretty quickly so you won't have memory issues.
Note that datasets loaded from disk (memory mapped) are not loaded in memory,... | ### Motivation
For the circumstance that I creat an empty `Dataset` and keep appending new rows into it, I found that it leads to creating a new dataset at each call. It looks quite memory-consuming. I just wonder if there is any more efficient way to do this.
```python
from datasets import Dataset
ds = Datas... | 63 | in-place dataset update
### Motivation
For the circumstance that I creat an empty `Dataset` and keep appending new rows into it, I found that it leads to creating a new dataset at each call. It looks quite memory-consuming. I just wonder if there is any more efficient way to do this.
```python
from datasets im... | [
-0.21349568665027618,
-0.02372344583272934,
-0.06979452073574066,
-0.19454295933246613,
0.08698499202728271,
-0.06579576432704926,
0.02204698696732521,
0.2518308758735657,
0.08775563538074493,
0.05710397660732269,
-0.018981387838721275,
0.37827879190444946,
-0.15507906675338745,
0.25646606... |
https://github.com/huggingface/datasets/issues/5597 | in-place dataset update | Thank you for your detailed reply.
> In your case the old dataset is garbage collected pretty quickly so you won't have memory issues.
I understand this, but it still copies the old dataset to create the new one, is this correct? So maybe it is not memory-consuming, but time-consuming? | ### Motivation
For the circumstance that I creat an empty `Dataset` and keep appending new rows into it, I found that it leads to creating a new dataset at each call. It looks quite memory-consuming. I just wonder if there is any more efficient way to do this.
```python
from datasets import Dataset
ds = Datas... | 50 | in-place dataset update
### Motivation
For the circumstance that I creat an empty `Dataset` and keep appending new rows into it, I found that it leads to creating a new dataset at each call. It looks quite memory-consuming. I just wonder if there is any more efficient way to do this.
```python
from datasets im... | [
-0.23113469779491425,
-0.0331917479634285,
-0.07787799090147018,
-0.16779129207134247,
0.056263960897922516,
-0.0401407852768898,
0.002092398703098297,
0.28402209281921387,
0.11320599913597107,
0.011603809893131256,
-0.04795991629362106,
0.38445040583610535,
-0.1661476194858551,
0.27561935... |
https://github.com/huggingface/datasets/issues/5597 | in-place dataset update | Indeed, and because of that it is more efficient to add multiple rows at once instead of one by one, using `concatenate_datasets` for example. | ### Motivation
For the circumstance that I creat an empty `Dataset` and keep appending new rows into it, I found that it leads to creating a new dataset at each call. It looks quite memory-consuming. I just wonder if there is any more efficient way to do this.
```python
from datasets import Dataset
ds = Datas... | 24 | in-place dataset update
### Motivation
For the circumstance that I creat an empty `Dataset` and keep appending new rows into it, I found that it leads to creating a new dataset at each call. It looks quite memory-consuming. I just wonder if there is any more efficient way to do this.
```python
from datasets im... | [
-0.21308307349681854,
-0.0234309583902359,
-0.072315514087677,
-0.15710553526878357,
0.07469723373651505,
-0.07516589760780334,
0.02515196055173874,
0.24270640313625336,
0.08568094670772552,
0.047265611588954926,
-0.0036465111188590527,
0.3562846779823303,
-0.16501115262508392,
0.264403402... |
https://github.com/huggingface/datasets/issues/5596 | [TypeError: Couldn't cast array of type] Can only load a subset of the dataset | Apparently some JSON objects have a `"labels"` field. Since this field is not present in every object, you must specify all the fields types in the README.md
EDIT: actually specifying the feature types doesn’t solve the issue, it raises an error because “labels” is missing in the data | ### Describe the bug
I'm trying to load this [dataset](https://huggingface.co/datasets/bigcode-data/the-stack-gh-issues) which consists of jsonl files and I get the following error:
```
casted_values = _c(array.values, feature[0])
File "/opt/conda/lib/python3.7/site-packages/datasets/table.py", line 1839, in wr... | 48 | [TypeError: Couldn't cast array of type] Can only load a subset of the dataset
### Describe the bug
I'm trying to load this [dataset](https://huggingface.co/datasets/bigcode-data/the-stack-gh-issues) which consists of jsonl files and I get the following error:
```
casted_values = _c(array.values, feature[0])
... | [
-0.1781834214925766,
-0.10365794599056244,
-0.07276801764965057,
0.4276466369628906,
0.41022562980651855,
0.15316396951675415,
0.2850624620914459,
0.5654895305633545,
0.17911666631698608,
-0.04942861199378967,
-0.07908771932125092,
0.3755906820297241,
-0.1593858152627945,
0.340528070926666... |
https://github.com/huggingface/datasets/issues/5596 | [TypeError: Couldn't cast array of type] Can only load a subset of the dataset | We've updated the dataset to remove the extra `labels` field from some files, closing this issue. Thanks! | ### Describe the bug
I'm trying to load this [dataset](https://huggingface.co/datasets/bigcode-data/the-stack-gh-issues) which consists of jsonl files and I get the following error:
```
casted_values = _c(array.values, feature[0])
File "/opt/conda/lib/python3.7/site-packages/datasets/table.py", line 1839, in wr... | 17 | [TypeError: Couldn't cast array of type] Can only load a subset of the dataset
### Describe the bug
I'm trying to load this [dataset](https://huggingface.co/datasets/bigcode-data/the-stack-gh-issues) which consists of jsonl files and I get the following error:
```
casted_values = _c(array.values, feature[0])
... | [
-0.1781834214925766,
-0.10365794599056244,
-0.07276801764965057,
0.4276466369628906,
0.41022562980651855,
0.15316396951675415,
0.2850624620914459,
0.5654895305633545,
0.17911666631698608,
-0.04942861199378967,
-0.07908771932125092,
0.3755906820297241,
-0.1593858152627945,
0.340528070926666... |
https://github.com/huggingface/datasets/issues/5596 | [TypeError: Couldn't cast array of type] Can only load a subset of the dataset | A similar error occurs in the Pile dataset (EleutherAI/the_pile)
Loading the dataset produces the following error.
```
TypeError: Couldn't cast array of type
struct<file: string, id: string>
to
{'id': Value(dtype='string', id=None)}
```
| ### Describe the bug
I'm trying to load this [dataset](https://huggingface.co/datasets/bigcode-data/the-stack-gh-issues) which consists of jsonl files and I get the following error:
```
casted_values = _c(array.values, feature[0])
File "/opt/conda/lib/python3.7/site-packages/datasets/table.py", line 1839, in wr... | 32 | [TypeError: Couldn't cast array of type] Can only load a subset of the dataset
### Describe the bug
I'm trying to load this [dataset](https://huggingface.co/datasets/bigcode-data/the-stack-gh-issues) which consists of jsonl files and I get the following error:
```
casted_values = _c(array.values, feature[0])
... | [
-0.1781834214925766,
-0.10365794599056244,
-0.07276801764965057,
0.4276466369628906,
0.41022562980651855,
0.15316396951675415,
0.2850624620914459,
0.5654895305633545,
0.17911666631698608,
-0.04942861199378967,
-0.07908771932125092,
0.3755906820297241,
-0.1593858152627945,
0.340528070926666... |
https://github.com/huggingface/datasets/issues/5596 | [TypeError: Couldn't cast array of type] Can only load a subset of the dataset | i have the same problem ,how to solve :
raise TypeError(f"Couldn't cast array of type\n{array.type}\nto\n{feature}")
TypeError: Couldn't cast array of type
list<item: string>
to
{'content': Value(dtype='string', id=None), 'role': Value(dtype='string', id=None)} | ### Describe the bug
I'm trying to load this [dataset](https://huggingface.co/datasets/bigcode-data/the-stack-gh-issues) which consists of jsonl files and I get the following error:
```
casted_values = _c(array.values, feature[0])
File "/opt/conda/lib/python3.7/site-packages/datasets/table.py", line 1839, in wr... | 30 | [TypeError: Couldn't cast array of type] Can only load a subset of the dataset
### Describe the bug
I'm trying to load this [dataset](https://huggingface.co/datasets/bigcode-data/the-stack-gh-issues) which consists of jsonl files and I get the following error:
```
casted_values = _c(array.values, feature[0])
... | [
-0.1781834214925766,
-0.10365794599056244,
-0.07276801764965057,
0.4276466369628906,
0.41022562980651855,
0.15316396951675415,
0.2850624620914459,
0.5654895305633545,
0.17911666631698608,
-0.04942861199378967,
-0.07908771932125092,
0.3755906820297241,
-0.1593858152627945,
0.340528070926666... |
https://github.com/huggingface/datasets/issues/5594 | Error while downloading the xtreme udpos dataset | Hi! I cannot reproduce this error on my machine.
The raised error could mean that one of the downloaded files is corrupted. To verify this is not the case, you can run `load_dataset` as follows:
```python
train_dataset = load_dataset('xtreme', 'udpos.English', split="train", cache_dir=args.cache_dir, download_mode... | ### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtreme/udpos.Arabic/1.0.0/29f5d57a48779f37ccb75cb8708d1... | 45 | Error while downloading the xtreme udpos dataset
### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtre... | [
-0.3754367232322693,
-0.09867476671934128,
0.012532409280538559,
0.317901074886322,
0.5317248702049255,
0.03992220759391785,
0.2206343412399292,
0.3721123933792114,
0.03421887010335922,
0.24892258644104004,
-0.12505067884922028,
0.1253964751958847,
0.07052762061357498,
0.17246057093143463,... |
https://github.com/huggingface/datasets/issues/5594 | Error while downloading the xtreme udpos dataset | Hi! Apologies for the delayed response! I tried the above and it doesn't solve the issue. Actually, the dataset gets downloaded most times, but sometimes this error occurs (at random afaik). Is it possible that there is a server issue for this particular dataset? I am able to download other datasets using the same code... | ### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtreme/udpos.Arabic/1.0.0/29f5d57a48779f37ccb75cb8708d1... | 158 | Error while downloading the xtreme udpos dataset
### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtre... | [
-0.3754367232322693,
-0.09867476671934128,
0.012532409280538559,
0.317901074886322,
0.5317248702049255,
0.03992220759391785,
0.2206343412399292,
0.3721123933792114,
0.03421887010335922,
0.24892258644104004,
-0.12505067884922028,
0.1253964751958847,
0.07052762061357498,
0.17246057093143463,... |
https://github.com/huggingface/datasets/issues/5594 | Error while downloading the xtreme udpos dataset | If this happens randomly, then this means the data file from the error message is not always downloaded correctly.
The only solution in this scenario is to download the dataset again by passing `download_mode="force_redownload"` to the `load_dataset` call. | ### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtreme/udpos.Arabic/1.0.0/29f5d57a48779f37ccb75cb8708d1... | 38 | Error while downloading the xtreme udpos dataset
### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtre... | [
-0.3754367232322693,
-0.09867476671934128,
0.012532409280538559,
0.317901074886322,
0.5317248702049255,
0.03992220759391785,
0.2206343412399292,
0.3721123933792114,
0.03421887010335922,
0.24892258644104004,
-0.12505067884922028,
0.1253964751958847,
0.07052762061357498,
0.17246057093143463,... |
https://github.com/huggingface/datasets/issues/5594 | Error while downloading the xtreme udpos dataset | Wow. I effectively have to redownload a dataset of 1TB because of this now?
Because 3% of its parts are broken?
Why is this downloader library so sh*t and badly documented also? I found almost nothing on the net, at least finally this issue about the problem here.
No words to express how disappointed I am by that ... | ### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtreme/udpos.Arabic/1.0.0/29f5d57a48779f37ccb75cb8708d1... | 161 | Error while downloading the xtreme udpos dataset
### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtre... | [
-0.3754367232322693,
-0.09867476671934128,
0.012532409280538559,
0.317901074886322,
0.5317248702049255,
0.03992220759391785,
0.2206343412399292,
0.3721123933792114,
0.03421887010335922,
0.24892258644104004,
-0.12505067884922028,
0.1253964751958847,
0.07052762061357498,
0.17246057093143463,... |
https://github.com/huggingface/datasets/issues/5594 | Error while downloading the xtreme udpos dataset | I'm getting it too, although just retrying fixed it. Nevertheless, the dataset is too large to have re-downloaded the whole thing, for it's probably just one file with an issue. It would be good to know if there's a way people could manually examine the files (first for sizes, then possibly checksums)... going to the ... | ### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtreme/udpos.Arabic/1.0.0/29f5d57a48779f37ccb75cb8708d1... | 68 | Error while downloading the xtreme udpos dataset
### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtre... | [
-0.3754367232322693,
-0.09867476671934128,
0.012532409280538559,
0.317901074886322,
0.5317248702049255,
0.03992220759391785,
0.2206343412399292,
0.3721123933792114,
0.03421887010335922,
0.24892258644104004,
-0.12505067884922028,
0.1253964751958847,
0.07052762061357498,
0.17246057093143463,... |
https://github.com/huggingface/datasets/issues/5594 | Error while downloading the xtreme udpos dataset | Okay, no, it got further but it is repeatedly giving me:
```/home/jaggz/.cache/huggingface/modules/datasets_modules/datasets/mozilla-foundation--common_voice_11_0/3f27acf10f303eac5b6fbbbe02495aeddb46ecffdb0a2fe3507fcfbf89094631/common_voice_11_0.py", line 195, in _generate_examples
result["audio"] = {"path": path, "b... | ### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtreme/udpos.Arabic/1.0.0/29f5d57a48779f37ccb75cb8708d1... | 137 | Error while downloading the xtreme udpos dataset
### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtre... | [
-0.3754367232322693,
-0.09867476671934128,
0.012532409280538559,
0.317901074886322,
0.5317248702049255,
0.03992220759391785,
0.2206343412399292,
0.3721123933792114,
0.03421887010335922,
0.24892258644104004,
-0.12505067884922028,
0.1253964751958847,
0.07052762061357498,
0.17246057093143463,... |
https://github.com/huggingface/datasets/issues/5594 | Error while downloading the xtreme udpos dataset | @RuntimeRacer
> EDIT: Apparently it is able to fix it by getting a little help: Just delete the broken parts and associated files from `~/.cache/huggingface/datasets/downloads`
How do you know the broken parts?
Mine's consistently erroring and.. yeah, really this thing should be able to check the files (but where... | ### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtreme/udpos.Arabic/1.0.0/29f5d57a48779f37ccb75cb8708d1... | 539 | Error while downloading the xtreme udpos dataset
### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtre... | [
-0.3754367232322693,
-0.09867476671934128,
0.012532409280538559,
0.317901074886322,
0.5317248702049255,
0.03992220759391785,
0.2206343412399292,
0.3721123933792114,
0.03421887010335922,
0.24892258644104004,
-0.12505067884922028,
0.1253964751958847,
0.07052762061357498,
0.17246057093143463,... |
https://github.com/huggingface/datasets/issues/5594 | Error while downloading the xtreme udpos dataset | @jaggzh Hi, I actually came around with a fix for this, wasn't that easy to solve since there were a lot of hidden pitfalls in the code, and it's quite hacky, but I was able to download the full dataset.
I just didn't create a PR for it yet since I was too lazy to create a fork and change my local repo's origin. 😅 ... | ### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtreme/udpos.Arabic/1.0.0/29f5d57a48779f37ccb75cb8708d1... | 106 | Error while downloading the xtreme udpos dataset
### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtre... | [
-0.3754367232322693,
-0.09867476671934128,
0.012532409280538559,
0.317901074886322,
0.5317248702049255,
0.03992220759391785,
0.2206343412399292,
0.3721123933792114,
0.03421887010335922,
0.24892258644104004,
-0.12505067884922028,
0.1253964751958847,
0.07052762061357498,
0.17246057093143463,... |
https://github.com/huggingface/datasets/issues/5594 | Error while downloading the xtreme udpos dataset | @mariosasko Can you re-open this? We really need some better diagnostics output, at the least, to locate which files are contributing, some checksum output, etc. I can't even tell if this is a mozilla...py issue or huggingface datasets or .... | ### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtreme/udpos.Arabic/1.0.0/29f5d57a48779f37ccb75cb8708d1... | 40 | Error while downloading the xtreme udpos dataset
### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtre... | [
-0.3754367232322693,
-0.09867476671934128,
0.012532409280538559,
0.317901074886322,
0.5317248702049255,
0.03992220759391785,
0.2206343412399292,
0.3721123933792114,
0.03421887010335922,
0.24892258644104004,
-0.12505067884922028,
0.1253964751958847,
0.07052762061357498,
0.17246057093143463,... |
https://github.com/huggingface/datasets/issues/5594 | Error while downloading the xtreme udpos dataset | @RuntimeRacer
Beautiful, thank you so much. I patched with your PR and am re-running now.
(I'm running this script: https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_seq2seq.py)
Okay, actually it failed; so now I'm running with verification_mode='all_c... | ### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtreme/udpos.Arabic/1.0.0/29f5d57a48779f37ccb75cb8708d1... | 93 | Error while downloading the xtreme udpos dataset
### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtre... | [
-0.3754367232322693,
-0.09867476671934128,
0.012532409280538559,
0.317901074886322,
0.5317248702049255,
0.03992220759391785,
0.2206343412399292,
0.3721123933792114,
0.03421887010335922,
0.24892258644104004,
-0.12505067884922028,
0.1253964751958847,
0.07052762061357498,
0.17246057093143463,... |
https://github.com/huggingface/datasets/issues/5594 | Error while downloading the xtreme udpos dataset | @RuntimeRacer
No luck. Sigh.
[Edit: My tmux copy didn't get some data. That was weird. I'm adding in the initial part of the output:]
```
Downloading data files: 100%|██████████| 5/5 [00:00<00:00, 2190.69it/s]
Computing checksums: 100%|██████████| 41/41 [11:39<00:00, 17.05s/it] E... | ### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtreme/udpos.Arabic/1.0.0/29f5d57a48779f37ccb75cb8708d1... | 205 | Error while downloading the xtreme udpos dataset
### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtre... | [
-0.3754367232322693,
-0.09867476671934128,
0.012532409280538559,
0.317901074886322,
0.5317248702049255,
0.03992220759391785,
0.2206343412399292,
0.3721123933792114,
0.03421887010335922,
0.24892258644104004,
-0.12505067884922028,
0.1253964751958847,
0.07052762061357498,
0.17246057093143463,... |
https://github.com/huggingface/datasets/issues/5594 | Error while downloading the xtreme udpos dataset | I'm unable to reproduce this error. Based on https://github.com/psf/requests/issues/4956, newer releases of `urllib3` check the returned content length by default, so perhaps updating `requests` and `urllib3` to the latest versions (`pip install -U requests urllib3`) and loading the dataset with `datasets.load_dataset(... | ### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtreme/udpos.Arabic/1.0.0/29f5d57a48779f37ccb75cb8708d1... | 55 | Error while downloading the xtreme udpos dataset
### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtre... | [
-0.3754367232322693,
-0.09867476671934128,
0.012532409280538559,
0.317901074886322,
0.5317248702049255,
0.03992220759391785,
0.2206343412399292,
0.3721123933792114,
0.03421887010335922,
0.24892258644104004,
-0.12505067884922028,
0.1253964751958847,
0.07052762061357498,
0.17246057093143463,... |
https://github.com/huggingface/datasets/issues/5594 | Error while downloading the xtreme udpos dataset | @jaggzh I think you will need to re-download the whole dataset with my patched code. Files which have already been downloaded and marked as complete by the broken downloader won't be detected even on re-run (I described that in the PR).
I also had to download reazonspeech, which is over 1TB, twice. 🙈
For re-downloa... | ### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtreme/udpos.Arabic/1.0.0/29f5d57a48779f37ccb75cb8708d1... | 387 | Error while downloading the xtreme udpos dataset
### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtre... | [
-0.3754367232322693,
-0.09867476671934128,
0.012532409280538559,
0.317901074886322,
0.5317248702049255,
0.03992220759391785,
0.2206343412399292,
0.3721123933792114,
0.03421887010335922,
0.24892258644104004,
-0.12505067884922028,
0.1253964751958847,
0.07052762061357498,
0.17246057093143463,... |
https://github.com/huggingface/datasets/issues/5594 | Error while downloading the xtreme udpos dataset | @RuntimeRacer
Ugh. It took a day. I'm seeing if I can get some debug code in here to examine the files myself. (I'm not sure why checksum tests would fail, so, yeah, I think you're right -- this stuff needs some work. Going through ipdb right now to try to get some idea of what's going on in the code). | ### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtreme/udpos.Arabic/1.0.0/29f5d57a48779f37ccb75cb8708d1... | 60 | Error while downloading the xtreme udpos dataset
### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtre... | [
-0.3754367232322693,
-0.09867476671934128,
0.012532409280538559,
0.317901074886322,
0.5317248702049255,
0.03992220759391785,
0.2206343412399292,
0.3721123933792114,
0.03421887010335922,
0.24892258644104004,
-0.12505067884922028,
0.1253964751958847,
0.07052762061357498,
0.17246057093143463,... |
https://github.com/huggingface/datasets/issues/5594 | Error while downloading the xtreme udpos dataset | @RuntimeRacer Data can only be appended to the `.incomplete` files if `load_dataset` is called with `download_config=DownloadConfig(resume_download=True)`.
Where exactly does this exception happen (in the code)? The error stack trace would help a lot. | ### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtreme/udpos.Arabic/1.0.0/29f5d57a48779f37ccb75cb8708d1... | 33 | Error while downloading the xtreme udpos dataset
### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtre... | [
-0.3754367232322693,
-0.09867476671934128,
0.012532409280538559,
0.317901074886322,
0.5317248702049255,
0.03992220759391785,
0.2206343412399292,
0.3721123933792114,
0.03421887010335922,
0.24892258644104004,
-0.12505067884922028,
0.1253964751958847,
0.07052762061357498,
0.17246057093143463,... |
https://github.com/huggingface/datasets/issues/5594 | Error while downloading the xtreme udpos dataset | @mariosasko I do not have a trace of this exception nor do I know which type it is. I am honestly not even sure if an exception is thrown, or the process just aborts without error.
> @RuntimeRacer Data can only be appended to the .incomplete files if load_dataset is called with download_config=DownloadConfig(resume_... | ### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtreme/udpos.Arabic/1.0.0/29f5d57a48779f37ccb75cb8708d1... | 209 | Error while downloading the xtreme udpos dataset
### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtre... | [
-0.3754367232322693,
-0.09867476671934128,
0.012532409280538559,
0.317901074886322,
0.5317248702049255,
0.03992220759391785,
0.2206343412399292,
0.3721123933792114,
0.03421887010335922,
0.24892258644104004,
-0.12505067884922028,
0.1253964751958847,
0.07052762061357498,
0.17246057093143463,... |
https://github.com/huggingface/datasets/issues/5594 | Error while downloading the xtreme udpos dataset | @RuntimeRacer Updating `urllib3` and `requests` to the latest versions fixes the issue explained in this [blog](https://blog.petrzemek.net/2018/04/22/on-incomplete-http-reads-and-the-requests-library-in-python/) post.
However, the issue explained above seems more similar to [this](https://stackoverflow.com/question... | ### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtreme/udpos.Arabic/1.0.0/29f5d57a48779f37ccb75cb8708d1... | 140 | Error while downloading the xtreme udpos dataset
### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtre... | [
-0.3754367232322693,
-0.09867476671934128,
0.012532409280538559,
0.317901074886322,
0.5317248702049255,
0.03992220759391785,
0.2206343412399292,
0.3721123933792114,
0.03421887010335922,
0.24892258644104004,
-0.12505067884922028,
0.1253964751958847,
0.07052762061357498,
0.17246057093143463,... |
https://github.com/huggingface/datasets/issues/5594 | Error while downloading the xtreme udpos dataset | (I don't have any .incomplete files, just the extraction errors.)
I was going through the code to try to relate filenames to the hex/hash files, but realized I might not need to.
So instead I coded up a script in bash to examine the tar files for validity (had an issue with bash subshells not adding to my array so I ... | ### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtreme/udpos.Arabic/1.0.0/29f5d57a48779f37ccb75cb8708d1... | 335 | Error while downloading the xtreme udpos dataset
### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtre... | [
-0.3754367232322693,
-0.09867476671934128,
0.012532409280538559,
0.317901074886322,
0.5317248702049255,
0.03992220759391785,
0.2206343412399292,
0.3721123933792114,
0.03421887010335922,
0.24892258644104004,
-0.12505067884922028,
0.1253964751958847,
0.07052762061357498,
0.17246057093143463,... |
https://github.com/huggingface/datasets/issues/5594 | Error while downloading the xtreme udpos dataset | > @RuntimeRacer Updating `urllib3` and `requests` to the latest versions fixes the issue explained in this [blog](https://blog.petrzemek.net/2018/04/22/on-incomplete-http-reads-and-the-requests-library-in-python/) post.
>
> However, the issue explained above seems more similar to [this](https://stackoverflow.com/que... | ### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtreme/udpos.Arabic/1.0.0/29f5d57a48779f37ccb75cb8708d1... | 272 | Error while downloading the xtreme udpos dataset
### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtre... | [
-0.3754367232322693,
-0.09867476671934128,
0.012532409280538559,
0.317901074886322,
0.5317248702049255,
0.03992220759391785,
0.2206343412399292,
0.3721123933792114,
0.03421887010335922,
0.24892258644104004,
-0.12505067884922028,
0.1253964751958847,
0.07052762061357498,
0.17246057093143463,... |
https://github.com/huggingface/datasets/issues/5594 | Error while downloading the xtreme udpos dataset | Also, the hf urls to files -- while I can't see a way of getting a listing from the hf site side -- do include the file size in the http header response. So we do have a quick way of just verifying lengths for resume. (This message may not be interesting to you all).
First, a json clip (mozilla-foundation___commo... | ### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtreme/udpos.Arabic/1.0.0/29f5d57a48779f37ccb75cb8708d1... | 299 | Error while downloading the xtreme udpos dataset
### Describe the bug
Hi,
I am facing an error while downloading the xtreme udpos dataset using load_dataset. I have datasets 2.10.1 installed
```Downloading and preparing dataset xtreme/udpos.Arabic to /compute/tir-1-18/skhanuja/multilingual_ft/cache/data/xtre... | [
-0.3754367232322693,
-0.09867476671934128,
0.012532409280538559,
0.317901074886322,
0.5317248702049255,
0.03992220759391785,
0.2206343412399292,
0.3721123933792114,
0.03421887010335922,
0.24892258644104004,
-0.12505067884922028,
0.1253964751958847,
0.07052762061357498,
0.17246057093143463,... |
https://github.com/huggingface/datasets/issues/5586 | .sort() is broken when used after .filter(), only in 2.10.0 | Thanks for reporting and thanks @mariosasko for fixing ! We just did a patch release `2.10.1` with the fix | ### Describe the bug
Hi, thank you for your support!
It seems like the addition of multiple key sort (#5502) in 2.10.0 broke the `.sort()` method.
After filtering a dataset with `.filter()`, the `.sort()` seems to refer to the query_table index of the previous unfiltered dataset, resulting in an IndexError.
... | 19 | .sort() is broken when used after .filter(), only in 2.10.0
### Describe the bug
Hi, thank you for your support!
It seems like the addition of multiple key sort (#5502) in 2.10.0 broke the `.sort()` method.
After filtering a dataset with `.filter()`, the `.sort()` seems to refer to the query_table index of t... | [
-0.06971167027950287,
0.06452147662639618,
-0.06005912274122238,
0.07854974269866943,
0.0706150010228157,
-0.12157445400953293,
0.13628508150577545,
0.12003523111343384,
-0.09659793972969055,
-0.057784244418144226,
-0.19042456150054932,
0.5890078544616699,
-0.10441272705793381,
0.129977405... |
https://github.com/huggingface/datasets/issues/5585 | Cache is not transportable | Hi ! No the cache is not transportable in general. It will work on a shared filesystem if you use the same python environment, but not across machines/os/environments.
In particular, reloading cached datasets does work, but reloading cached processed datasets (e.g. from `map`) may not work. This is because some hash... | ### Describe the bug
I would like to share cache between two machines (a Windows host machine and a WSL instance).
I run most my code in WSL. I have just run out of space in the virtual drive. Rather than expand the drive size, I plan to move to cache to the host Windows machine, thereby sharing the downloads.
I... | 85 | Cache is not transportable
### Describe the bug
I would like to share cache between two machines (a Windows host machine and a WSL instance).
I run most my code in WSL. I have just run out of space in the virtual drive. Rather than expand the drive size, I plan to move to cache to the host Windows machine, thereb... | [
0.028947602957487106,
-0.25665998458862305,
0.06475144624710083,
0.24238483607769012,
0.22143937647342682,
0.2345259189605713,
0.12862397730350494,
-0.003426428884267807,
0.35824257135391235,
0.057731810957193375,
0.19717292487621307,
-0.08908219635486603,
0.010916559025645256,
-0.30165663... |
https://github.com/huggingface/datasets/issues/5584 | Unable to load coyo700M dataset | Hi @manuaero
Thank you for your interest in the COYO dataset.
Our dataset provides the img-url and alt-text in the form of a parquet, so to utilize the coyo dataset you will need to download it directly.
We provide a [guide](https://github.com/kakaobrain/coyo-dataset/blob/main/download/README.md) to download,... | ### Describe the bug
Seeing this error when downloading https://huggingface.co/datasets/kakaobrain/coyo-700m:
```ArrowInvalid: Parquet magic bytes not found in footer. Either the file is corrupted or this is not a parquet file.```
Full stack trace
```Downloading and preparing dataset parquet/kakaobrain--coy... | 49 | Unable to load coyo700M dataset
### Describe the bug
Seeing this error when downloading https://huggingface.co/datasets/kakaobrain/coyo-700m:
```ArrowInvalid: Parquet magic bytes not found in footer. Either the file is corrupted or this is not a parquet file.```
Full stack trace
```Downloading and prepari... | [
-0.21805724501609802,
-0.5286853313446045,
0.06026070937514305,
0.5615582466125488,
0.11471890658140182,
0.18072673678398132,
-0.2395111471414566,
0.46626076102256775,
0.04442290589213371,
-0.05450981855392456,
0.1742171049118042,
0.29019615054130554,
0.05578948184847832,
0.135113090276718... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.