html_url
stringlengths
51
51
comments
stringlengths
67
24.7k
title
stringlengths
6
280
body
stringlengths
51
36.2k
comment_length
int64
16
1.45k
text
stringlengths
190
38.3k
embeddings
list
https://github.com/huggingface/datasets/issues/5650
> @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...
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 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.12241026014089584, -0.11892423778772354, 0.005867376923561096, 0.8745822906494141, 0.27257031202316284, 0.005886740982532501, 0.41406768560409546, 0.02898995578289032, 0.41754472255706787, 0.1267840564250946, -0.13153648376464844, -0.027952808886766434, -0.07020364701747894, 0.263579308...
https://github.com/huggingface/datasets/issues/5650
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...
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 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.20772546529769897, 0.025100961327552795, -0.09739562124013901, 0.7922841906547546, 0.4022718667984009, 0.06442459672689438, 0.34789472818374634, 0.1608298271894455, 0.25126713514328003, 0.2041633129119873, -0.029138965532183647, 0.0017764493823051453, -0.11698471009731293, 0.06462621688...
https://github.com/huggingface/datasets/issues/5650
> 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") > ``` > > ...
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 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.17353495955467224, 0.0693511962890625, -0.09294995665550232, 0.7997750043869019, 0.43360039591789246, 0.09266191720962524, 0.3778237998485565, 0.1352020800113678, 0.2501027286052704, 0.17694854736328125, -0.05331685394048691, 0.011938273906707764, -0.123299241065979, 0.02103352546691894...
https://github.com/huggingface/datasets/issues/5650
@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...
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 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.3157161474227905, 0.2228069305419922, -0.0045320987701416016, 0.8090620040893555, 0.3384737968444824, 0.01898246258497238, 0.3511103391647339, 0.19034512341022491, 0.3155118227005005, 0.14922648668289185, -0.06313061714172363, 0.14561602473258972, -0.16019468009471893, 0.083246134221553...
https://github.com/huggingface/datasets/issues/5650
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.
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 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.3294670581817627, 0.1630450040102005, -0.016497567296028137, 0.9056414365768433, 0.21108701825141907, -0.04009736329317093, 0.2711406946182251, 0.09988193213939667, 0.27092093229293823, 0.30986061692237854, 0.047387056052684784, -0.05513235554099083, -0.15267162024974823, 0.138531416654...
https://github.com/huggingface/datasets/issues/5650
> @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 ...
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 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.32820194959640503, 0.20665641129016876, -0.01743963360786438, 0.7821972370147705, 0.36604538559913635, 0.0066481828689575195, 0.30013507604599, 0.2166881412267685, 0.3032730519771576, 0.17278072237968445, -0.06820546835660934, 0.16757285594940186, -0.169424369931221, 0.10150568932294846...
https://github.com/huggingface/datasets/issues/5650
> @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 ...
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 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.28947922587394714, 0.221571683883667, -0.00863245502114296, 0.8425335884094238, 0.3211135268211365, 0.010366231203079224, 0.3325824737548828, 0.20022836327552795, 0.35899287462234497, 0.10602006316184998, -0.08587972819805145, 0.12331107258796692, -0.15057820081710815, 0.068386733531951...
https://github.com/huggingface/datasets/issues/5650
@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...
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 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.11331208050251007, -0.19256055355072021, 0.03737853467464447, 0.8684765100479126, 0.2675184905529022, -0.10433082282543182, 0.32120534777641296, -0.011463984847068787, 0.24265721440315247, 0.06004345044493675, -0.21418194472789764, 0.03284946456551552, -0.07489617168903351, 0.2579492628...
https://github.com/huggingface/datasets/issues/5650
@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...
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 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.06337567418813705, -0.26936066150665283, 0.00774277001619339, 0.6920603513717651, 0.37015050649642944, 0.025836631655693054, 0.5060684680938721, 0.05215759947896004, 0.10814967751502991, 0.08833637833595276, -0.3503330647945404, 0.2122577577829361, -0.01948394626379013, 0.24889034032821...
https://github.com/huggingface/datasets/issues/5650
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).
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 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.09196694940328598, -0.34738266468048096, -0.03819077089428902, 0.9169861674308777, 0.28612852096557617, -0.009504459798336029, 0.225851908326149, -0.09851942956447601, 0.26081109046936035, 0.055859051644802094, -0.1489664763212204, 0.032364845275878906, -0.15421564877033234, 0.251067459...
https://github.com/huggingface/datasets/issues/5650
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.
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 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.1361059695482254, -0.285741925239563, -0.027532605454325676, 0.9229639172554016, 0.3900768756866455, -0.01735365390777588, 0.12674278020858765, -0.028047975152730942, 0.16894353926181793, 0.1239619106054306, -0.2382950335741043, -0.1194194108247757, 0.000526677817106247, 0.2567552924156...
https://github.com/huggingface/datasets/issues/5649
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`.
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 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.2862216830253601, -0.08455151319503784, -0.02660968154668808, 0.3410409092903137, 0.3915289044380188, 0.059063076972961426, 0.30723264813423157, 0.4419671297073364, -0.015411235392093658, 0.15386532247066498, 0.011585500091314316, 0.3245256543159485, 0.08520737290382385, -0.029157131910...
https://github.com/huggingface/datasets/issues/5649
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.
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 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.2679179310798645, -0.1152128130197525, -0.032382138073444366, 0.3754948675632477, 0.40459734201431274, 0.08464750647544861, 0.2297217845916748, 0.4034213721752167, -0.04618823155760765, 0.09117115288972855, 0.042444564402103424, 0.2967216670513153, 0.07418182492256165, 0.030346289277076...
https://github.com/huggingface/datasets/issues/5648
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...
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 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.2358522117137909, -0.08239821344614029, 0.02193259447813034, 0.14778552949428558, 0.2838246822357178, 0.06456570327281952, 0.6014590859413147, 0.5254179835319519, -0.07853744179010391, 0.04094357043504715, -0.10011675208806992, 0.7488417625427246, 0.13353252410888672, 0.1829980313777923...
https://github.com/huggingface/datasets/issues/5647
We now log these messages instead of printing them (addressed in #6019), so I'm closing this issue.
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
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.0009947270154953003, -0.32069891691207886, -0.1496371179819107, -0.021816719323396683, 0.12628236413002014, 0.013377554714679718, 0.2322206348180771, 0.32061901688575745, 0.09144891798496246, 0.590594470500946, 0.28605347871780396, 0.43744367361068726, -0.003438647836446762, 0.1501413136...
https://github.com/huggingface/datasets/issues/5645
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` ?
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=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.4695124626159668, -0.24985341727733612, 0.07980244606733322, 0.16242313385009766, 0.23612664639949799, -0.04006137698888779, 0.5223497152328491, 0.3006775677204132, 0.09555958211421967, 0.049780018627643585, -0.41693180799484253, 0.446684330701828, -0.47454163432121277, -0.1829057186841...
https://github.com/huggingface/datasets/issues/5638
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).
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 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.26071634888648987, 0.14145810902118683, -0.06356751918792725, 0.08999864757061005, 0.2066093385219574, -0.3061131238937378, 0.1404217928647995, 0.06778848171234131, 0.1616879403591156, 0.43443983793258667, 0.28756192326545715, 0.6709933876991272, -0.5445631742477417, 0.3812987208366394,...
https://github.com/huggingface/datasets/issues/5638
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?
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 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.10588814318180084, -0.2969135642051697, -0.01885756477713585, 0.046008799225091934, 0.06821458041667938, -0.346849262714386, -0.1141124740242958, -0.10379348695278168, 0.15454407036304474, 0.2673552632331848, 0.440167099237442, 0.4483548104763031, -0.25468242168426514, 0.3150895237922668...
https://github.com/huggingface/datasets/issues/5638
`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.
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 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.05578465759754181, -0.15365546941757202, -0.09678196161985397, 0.11886224150657654, 0.1655081808567047, -0.4093300700187683, 0.0890563577413559, -0.09222526848316193, 0.050067104399204254, 0.264506995677948, 0.125657320022583, 0.6189979910850525, -0.3620953857898712, 0.4884300231933594, ...
https://github.com/huggingface/datasets/issues/5638
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.
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 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.1287553906440735, -0.06510835886001587, -0.02137572690844536, 0.02306228131055832, 0.18530508875846863, -0.3098457455635071, 0.1321871429681778, -0.030221281573176384, 0.09268324077129364, 0.33449670672416687, 0.35445636510849, 0.5077074766159058, -0.31559765338897705, 0.440651535987854...
https://github.com/huggingface/datasets/issues/5638
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...
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 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.12860679626464844, -0.031514376401901245, -0.0025739483535289764, 0.06532163918018341, 0.09610670804977417, -0.2821705937385559, -0.2330639362335205, -0.004487598314881325, 0.08044566214084625, 0.2499510794878006, 0.2878105044364929, 0.4719870686531067, -0.4721558392047882, 0.2921271324...
https://github.com/huggingface/datasets/issues/5637
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...
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 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.18542805314064026, -0.5949118137359619, 0.11138474196195602, 0.07916231453418732, 0.43124842643737793, 0.05424875020980835, 0.6368939876556396, 0.19857464730739594, -0.4296218156814575, -0.1477355659008026, -0.21356415748596191, 0.3556468188762665, -0.2165967971086502, 0.172062948346138,...
https://github.com/huggingface/datasets/issues/5637
Any plans to support it in the future? Or would streaming dataset be left without support for jax and tensorflow?
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 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.06743547320365906, -0.5496015548706055, 0.06652072072029114, 0.07995843887329102, 0.44293132424354553, -0.005775295197963715, 0.6070612072944641, 0.1334858536720276, -0.38182637095451355, -0.15816524624824524, -0.07893930375576019, 0.19278785586357117, -0.2554551661014557, 0.361240565776...
https://github.com/huggingface/datasets/issues/5634
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...
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 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.43630003929138184, 0.34490859508514404, -0.13294562697410583, 0.34058937430381775, 0.36995577812194824, -0.013252399861812592, 0.4227297008037567, 0.3985331356525421, 0.015536338090896606, 0.11542749404907227, -0.2259310930967331, 0.11328896880149841, 0.22292231023311615, 0.356246650218...
https://github.com/huggingface/datasets/issues/5634
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 ...
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 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.43630003929138184, 0.34490859508514404, -0.13294562697410583, 0.34058937430381775, 0.36995577812194824, -0.013252399861812592, 0.4227297008037567, 0.3985331356525421, 0.015536338090896606, 0.11542749404907227, -0.2259310930967331, 0.11328896880149841, 0.22292231023311615, 0.356246650218...
https://github.com/huggingface/datasets/issues/5633
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.
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 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.2135901153087616, 0.0017219334840774536, -0.06104959547519684, 0.3418366611003876, 0.20503056049346924, 0.0325910747051239, -0.019132163375616074, 0.0921286940574646, -0.2802642285823822, -0.10985991358757019, -0.23995226621627808, 0.3256708085536957, -0.1199331283569336, 0.073989167809...
https://github.com/huggingface/datasets/issues/5632
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...
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 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.2781134247779846, -0.3134053945541382, -0.02435190975666046, 0.2988698482513428, 0.30754172801971436, -0.029401592910289764, -0.09150264412164688, 0.2568930983543396, -0.034427981823682785, 0.0353141687810421, -0.05639523267745972, -0.024378158152103424, -0.10717090219259262, 0.39456444...
https://github.com/huggingface/datasets/issues/5631
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.
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 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.06793341040611267, -0.37327665090560913, -0.13028736412525177, -0.004513846710324287, -0.12695728242397308, 0.021978527307510376, 0.6972882747650146, 0.40757760405540466, 0.11266757547855377, 0.2690993845462799, -0.3183884620666504, 0.23278623819351196, -0.15757286548614502, 0.3476024866...
https://github.com/huggingface/datasets/issues/5629
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).
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 (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.5351288914680481, 0.5127535462379456, -0.03247550129890442, 0.34048691391944885, -0.011752007529139519, -0.13590365648269653, 0.386474609375, 0.25343450903892517, -0.05349142849445343, 0.1091269701719284, -0.19254691898822784, -0.05035670846700668, 0.4186597466468811, 0.2508759796619415...
https://github.com/huggingface/datasets/issues/5627
The AutoTrain format is not supported right now. I think it would require a dedicated dataset builder
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: 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.5055118799209595, -0.3172404170036316, -0.019252877682447433, 0.6263453364372253, 0.5027536153793335, 0.19592103362083435, 0.47843173146247864, 0.2786698639392853, 0.25286537408828735, 0.11251406371593475, -0.2149442732334137, 0.5865493416786194, -0.054208315908908844, 0.222990483045578...
https://github.com/huggingface/datasets/issues/5627
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...
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: 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.5055118799209595, -0.3172404170036316, -0.019252877682447433, 0.6263453364372253, 0.5027536153793335, 0.19592103362083435, 0.47843173146247864, 0.2786698639392853, 0.25286537408828735, 0.11251406371593475, -0.2149442732334137, 0.5865493416786194, -0.054208315908908844, 0.222990483045578...
https://github.com/huggingface/datasets/issues/5625
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
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 ``` 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.21680667996406555, -0.08018503338098526, 0.0483732596039772, 0.12135081738233566, 0.3189047574996948, 0.05482731759548187, 0.26706773042678833, 0.3135353922843933, 0.3499499559402466, 0.03927185386419296, -0.07581250369548798, 0.385273814201355, -0.3608344495296478, 0.29285624623298645,...
https://github.com/huggingface/datasets/issues/5625
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)?
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 ``` 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.13367000222206116, -0.1285916566848755, 0.053865037858486176, 0.19250550866127014, 0.2926883101463318, -0.033620767295360565, 0.4033440053462982, 0.3344000577926636, 0.30339252948760986, -0.02004171907901764, -0.026273004710674286, 0.20519261062145233, -0.28625431656837463, 0.3191851079...
https://github.com/huggingface/datasets/issues/5624
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...
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") 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.008659586310386658, -0.27251213788986206, 0.006364636123180389, 0.34089457988739014, 0.1855892539024353, 0.02595372498035431, 0.3098851442337036, 0.35696011781692505, 0.32715338468551636, 0.09259375184774399, -0.2560388743877411, 0.20387837290763855, -0.04763593524694443, 0.261667937040...
https://github.com/huggingface/datasets/issues/5613
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).
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> 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.05075012147426605, -0.0677495002746582, 0.3744870722293854, 0.14260713756084442, -0.14788541197776794, 0.1988992542028427, 0.3340210020542145, -0.2787078619003296, 0.07854893803596497, -0.10015977919101715, 0.5905037522315979, -0.30559566617012024, -0.244376480579376...
https://github.com/huggingface/datasets/issues/5613
Same problem on Colab using a vanilla setup running : Python 3.10.11 apache-beam 2.47.0 datasets 2.12.0
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> 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.05075012147426605, -0.0677495002746582, 0.3744870722293854, 0.14260713756084442, -0.14788541197776794, 0.1988992542028427, 0.3340210020542145, -0.2787078619003296, 0.07854893803596497, -0.10015977919101715, 0.5905037522315979, -0.30559566617012024, -0.244376480579376...
https://github.com/huggingface/datasets/issues/5613
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...
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> 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.05075012147426605, -0.0677495002746582, 0.3744870722293854, 0.14260713756084442, -0.14788541197776794, 0.1988992542028427, 0.3340210020542145, -0.2787078619003296, 0.07854893803596497, -0.10015977919101715, 0.5905037522315979, -0.30559566617012024, -0.244376480579376...
https://github.com/huggingface/datasets/issues/5612
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())}) ) ...
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=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.31641244888305664, -0.40829914808273315, 0.0928356721997261, 0.32059523463249207, 0.042756788432598114, 0.006339341402053833, 0.08654135465621948, 0.15762928128242493, 0.18134143948554993, -0.03863963484764099, 0.34447041153907776, 0.9050392508506775, -0.24311761558055878, 0.19016627967...
https://github.com/huggingface/datasets/issues/5612
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...
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=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.28700849413871765, -0.24090798199176788, 0.06536225229501724, 0.27144545316696167, 0.08346843719482422, 0.033068373799324036, 0.138669952750206, 0.16712042689323425, 0.1862376481294632, -0.14349836111068726, 0.24972888827323914, 0.8314013481140137, -0.24986690282821655, 0.28423213958740...
https://github.com/huggingface/datasets/issues/5610
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 :(
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.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.5238248109817505, -0.242172971367836, -0.03627307713031769, 0.36496245861053467, 0.33794736862182617, -0.02110110968351364, 0.05534369871020317, 0.1988844871520996, -0.12573756277561188, 0.2688145041465759, -0.03869180381298065, 0.4365618824958801, -0.19929450750350952, -0.0765062421560...
https://github.com/huggingface/datasets/issues/5610
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
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.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.5238248109817505, -0.242172971367836, -0.03627307713031769, 0.36496245861053467, 0.33794736862182617, -0.02110110968351364, 0.05534369871020317, 0.1988844871520996, -0.12573756277561188, 0.2688145041465759, -0.03869180381298065, 0.4365618824958801, -0.19929450750350952, -0.0765062421560...
https://github.com/huggingface/datasets/issues/5609
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".
`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 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.33111828565597534, -0.14985620975494385, -0.025142420083284378, 0.25953447818756104, -0.1268291473388672, -0.03467244654893875, 0.3779498338699341, 0.11492869257926941, 0.4315916895866394, -0.02310255914926529, -0.20274633169174194, 0.21347078680992126, 0.07347792387008667, -0.035553265...
https://github.com/huggingface/datasets/issues/5609
@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()...
`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 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.39497995376586914, -0.1679820865392685, -0.029321450740098953, 0.31953656673431396, -0.08276087045669556, -0.11662056297063828, 0.34465861320495605, 0.12127183377742767, 0.434459924697876, 0.03034638985991478, -0.15239641070365906, 0.2795904874801636, 0.02290482446551323, -0.08029060065...
https://github.com/huggingface/datasets/issues/5609
@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).
`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 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.2890034317970276, -0.23153084516525269, -0.033875320106744766, 0.269248366355896, -0.11195113509893417, -0.013597823679447174, 0.43241366744041443, 0.08034706115722656, 0.4906601905822754, 0.027058865875005722, -0.1185513362288475, 0.11561432480812073, 0.09376581013202667, -0.0117186531...
https://github.com/huggingface/datasets/issues/5608
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)?
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. 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.22282227873802185, 0.2703629732131958, -0.01823895424604416, 0.6708595156669617, 0.31988656520843506, -0.08301010727882385, 0.42038437724113464, 0.09908431768417358, -0.06525024771690369, 0.375069260597229, 0.04306960105895996, 0.20323845744132996, -0.2192631959915161, -0.12517456710338...
https://github.com/huggingface/datasets/issues/5608
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...
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. 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.17356494069099426, 0.27854666113853455, -0.029778916388750076, 0.7486941814422607, 0.27932068705558777, -0.07498656213283539, 0.49054157733917236, 0.10613969713449478, -0.034692179411649704, 0.3665420711040497, 0.07218052446842194, 0.211817666888237, -0.23881110548973083, -0.11272311210...
https://github.com/huggingface/datasets/issues/5606
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
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`.
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.20222854614257812, -0.03350897133350372, -0.12614166736602783, 0.05524768307805061, 0.21143868565559387, -0.11599999666213989, 0.17522993683815002, 0.22085413336753845, 0.06881460547447205, 0.06443381309509277, -0.1348755955696106, 0.6672619581222534, -0.01613602414727211, 0.37459641695...
https://github.com/huggingface/datasets/issues/5604
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_...
Problems with downloading The Pile
### 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. ![image](https://user-images.githubusercontent.com/11065386/222687870-ec5fcb65-84e8-467d-9593-4ad7bdac4d50.png) Here are the downloaded files: ![image](https://user-...
32
Problems with downloading The Pile ### 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. ![image](https://user-images.githubusercontent.com/11065386/222687870-ec5fcb65-84e8-467d-9593-4ad7bdac4d50.png) Here are the down...
[ -0.21374137699604034, 0.05478852987289429, -0.07777376472949982, 0.4795968234539032, 0.3535689115524292, 0.16597089171409607, 0.4100671410560608, 0.10658246278762817, -0.049914970993995667, 0.12421846389770508, -0.26922863721847534, 0.05224458500742912, 0.2304019331932068, 0.05173747986555...
https://github.com/huggingface/datasets/issues/5604
@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 ...
Problems with downloading The Pile
### 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. ![image](https://user-images.githubusercontent.com/11065386/222687870-ec5fcb65-84e8-467d-9593-4ad7bdac4d50.png) Here are the downloaded files: ![image](https://user-...
86
Problems with downloading The Pile ### 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. ![image](https://user-images.githubusercontent.com/11065386/222687870-ec5fcb65-84e8-467d-9593-4ad7bdac4d50.png) Here are the down...
[ -0.176547110080719, 0.01336456835269928, -0.07301916927099228, 0.5572146773338318, 0.364185094833374, 0.21037419140338898, 0.36855781078338623, 0.13301701843738556, 0.030223362147808075, 0.12114676088094711, -0.2662605047225952, 0.022001158446073532, 0.17310266196727753, 0.0717430040240287...
https://github.com/huggingface/datasets/issues/5604
@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 ```
Problems with downloading The Pile
### 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. ![image](https://user-images.githubusercontent.com/11065386/222687870-ec5fcb65-84e8-467d-9593-4ad7bdac4d50.png) Here are the downloaded files: ![image](https://user-...
17
Problems with downloading The Pile ### 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. ![image](https://user-images.githubusercontent.com/11065386/222687870-ec5fcb65-84e8-467d-9593-4ad7bdac4d50.png) Here are the down...
[ -0.1546422690153122, -0.05474703013896942, -0.08510048687458038, 0.5633900761604309, 0.31484082341194153, 0.204816997051239, 0.3925068974494934, 0.12160326540470123, -0.009891565889120102, 0.09371975064277649, -0.23172801733016968, -0.0008945204317569733, 0.17912688851356506, 0.04699454456...
https://github.com/huggingface/datasets/issues/5604
@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...
Problems with downloading The Pile
### 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. ![image](https://user-images.githubusercontent.com/11065386/222687870-ec5fcb65-84e8-467d-9593-4ad7bdac4d50.png) Here are the downloaded files: ![image](https://user-...
417
Problems with downloading The Pile ### 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. ![image](https://user-images.githubusercontent.com/11065386/222687870-ec5fcb65-84e8-467d-9593-4ad7bdac4d50.png) Here are the down...
[ -0.1335558444261551, -0.10500872135162354, -0.07932735234498978, 0.5455506443977356, 0.3495665192604065, 0.1868852823972702, 0.3916177451610565, 0.13425707817077637, -0.07935824245214462, 0.11265601217746735, -0.24107596278190613, 0.014042399823665619, 0.20237833261489868, 0.03587688505649...
https://github.com/huggingface/datasets/issues/5604
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?
Problems with downloading The Pile
### 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. ![image](https://user-images.githubusercontent.com/11065386/222687870-ec5fcb65-84e8-467d-9593-4ad7bdac4d50.png) Here are the downloaded files: ![image](https://user-...
52
Problems with downloading The Pile ### 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. ![image](https://user-images.githubusercontent.com/11065386/222687870-ec5fcb65-84e8-467d-9593-4ad7bdac4d50.png) Here are the down...
[ -0.2212303876876831, 0.023591652512550354, -0.040609944611787796, 0.5593510866165161, 0.2633415758609772, 0.16378870606422424, 0.5128105878829956, 0.16554446518421173, -0.035118091851472855, 0.1043972373008728, -0.2665165066719055, 0.04112808033823967, 0.12867112457752228, 0.08655699342489...
https://github.com/huggingface/datasets/issues/5604
@sentialx @mariosasko , anytime on my above script , am I downloading and saving dataset correctly . Please suggest :)
Problems with downloading The Pile
### 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. ![image](https://user-images.githubusercontent.com/11065386/222687870-ec5fcb65-84e8-467d-9593-4ad7bdac4d50.png) Here are the downloaded files: ![image](https://user-...
20
Problems with downloading The Pile ### 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. ![image](https://user-images.githubusercontent.com/11065386/222687870-ec5fcb65-84e8-467d-9593-4ad7bdac4d50.png) Here are the down...
[ -0.2253861427307129, 0.005648359656333923, -0.06983593851327896, 0.6201370358467102, 0.279148668050766, 0.1703139990568161, 0.38560402393341064, 0.12183091044425964, -0.0490570068359375, 0.042198941111564636, -0.2723578214645386, -0.015813905745744705, 0.20061561465263367, 0.02020542323589...
https://github.com/huggingface/datasets/issues/5604
@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.
Problems with downloading The Pile
### 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. ![image](https://user-images.githubusercontent.com/11065386/222687870-ec5fcb65-84e8-467d-9593-4ad7bdac4d50.png) Here are the downloaded files: ![image](https://user-...
39
Problems with downloading The Pile ### 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. ![image](https://user-images.githubusercontent.com/11065386/222687870-ec5fcb65-84e8-467d-9593-4ad7bdac4d50.png) Here are the down...
[ -0.26946067810058594, 0.034809038043022156, -0.046287719160318375, 0.5411441922187805, 0.3386096954345703, 0.16489829123020172, 0.33127671480178833, 0.024363912642002106, 0.015573419630527496, 0.04616045206785202, -0.25977852940559387, -0.002310134470462799, 0.11378060281276703, 0.10530570...
https://github.com/huggingface/datasets/issues/5601
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.
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 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.08546455204486847, -0.33392900228500366, 0.02009483426809311, 0.39740851521492004, 0.05339289829134941, -0.0677020400762558, 0.0406976081430912, 0.14277559518814087, 0.01017710566520691, 0.00920780748128891, -0.2071445733308792, -0.07270222902297974, -0.13457798957824707, 0.317123264074...
https://github.com/huggingface/datasets/issues/5601
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.
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 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.019521184265613556, -0.15236109495162964, 0.0309460312128067, 0.35841622948646545, 0.00794660672545433, -0.06153707951307297, 0.019243348389863968, 0.0950223058462143, -0.04392187297344208, 0.010656394064426422, -0.2241760790348053, -0.022301562130451202, -0.011560436338186264, 0.3594532...
https://github.com/huggingface/datasets/issues/5600
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.
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. ### 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.43487417697906494, 0.05399085581302643, 0.030207842588424683, 0.5625460147857666, 0.30811482667922974, -0.06847412884235382, 0.5493575930595398, 0.2516697645187378, 0.11080919206142426, 0.18487286567687988, -0.23793655633926392, 0.11405991017818451, -0.055332690477371216, -0.27421081066...
https://github.com/huggingface/datasets/issues/5597
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,...
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 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.21349549293518066, -0.023723885416984558, -0.06979475915431976, -0.19454312324523926, 0.08698493987321854, -0.06579621136188507, 0.02204785868525505, 0.2518307566642761, 0.08775540441274643, 0.057103849947452545, -0.018981505185365677, 0.3782788813114166, -0.15507878363132477, 0.2564660...
https://github.com/huggingface/datasets/issues/5597
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?
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 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.2311348170042038, -0.033191755414009094, -0.07787804305553436, -0.1677912473678589, 0.056264039129018784, -0.040140725672245026, 0.0020927260629832745, 0.28402233123779297, 0.11320625245571136, 0.011603932827711105, -0.04796017333865166, 0.3844509422779083, -0.1661480963230133, 0.275619...
https://github.com/huggingface/datasets/issues/5597
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.
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 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.21308299899101257, -0.023431017994880676, -0.07231559604406357, -0.1571052223443985, 0.07469698786735535, -0.07516613602638245, 0.02515171654522419, 0.24270622432231903, 0.08568120002746582, 0.04726593941450119, -0.003647174686193466, 0.3562851548194885, -0.16501127183437347, 0.26440310...
https://github.com/huggingface/datasets/issues/5596
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
[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]) 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.17818355560302734, -0.10365805774927139, -0.07276815176010132, 0.42764705419540405, 0.4102259576320648, 0.15316441655158997, 0.2850619852542877, 0.5654890537261963, 0.17911650240421295, -0.04942840337753296, -0.07908794283866882, 0.37559065222740173, -0.15938591957092285, 0.340527951717...
https://github.com/huggingface/datasets/issues/5596
We've updated the dataset to remove the extra `labels` field from some files, closing this issue. Thanks!
[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]) 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.17818355560302734, -0.10365805774927139, -0.07276815176010132, 0.42764705419540405, 0.4102259576320648, 0.15316441655158997, 0.2850619852542877, 0.5654890537261963, 0.17911650240421295, -0.04942840337753296, -0.07908794283866882, 0.37559065222740173, -0.15938591957092285, 0.340527951717...
https://github.com/huggingface/datasets/issues/5596
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)} ```
[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]) 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.17818355560302734, -0.10365805774927139, -0.07276815176010132, 0.42764705419540405, 0.4102259576320648, 0.15316441655158997, 0.2850619852542877, 0.5654890537261963, 0.17911650240421295, -0.04942840337753296, -0.07908794283866882, 0.37559065222740173, -0.15938591957092285, 0.340527951717...
https://github.com/huggingface/datasets/issues/5596
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)}
[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]) 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.17818355560302734, -0.10365805774927139, -0.07276815176010132, 0.42764705419540405, 0.4102259576320648, 0.15316441655158997, 0.2850619852542877, 0.5654890537261963, 0.17911650240421295, -0.04942840337753296, -0.07908794283866882, 0.37559065222740173, -0.15938591957092285, 0.340527951717...
https://github.com/huggingface/datasets/issues/5594
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...
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/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.37543702125549316, -0.09867465496063232, 0.012532472610473633, 0.3179014325141907, 0.5317246317863464, 0.03992219269275665, 0.22063346207141876, 0.37211236357688904, 0.0342191606760025, 0.2489229142665863, -0.12505026161670685, 0.12539634108543396, 0.07052761316299438, 0.172460734844207...
https://github.com/huggingface/datasets/issues/5594
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...
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/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.37543702125549316, -0.09867465496063232, 0.012532472610473633, 0.3179014325141907, 0.5317246317863464, 0.03992219269275665, 0.22063346207141876, 0.37211236357688904, 0.0342191606760025, 0.2489229142665863, -0.12505026161670685, 0.12539634108543396, 0.07052761316299438, 0.172460734844207...
https://github.com/huggingface/datasets/issues/5594
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.
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/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.37543702125549316, -0.09867465496063232, 0.012532472610473633, 0.3179014325141907, 0.5317246317863464, 0.03992219269275665, 0.22063346207141876, 0.37211236357688904, 0.0342191606760025, 0.2489229142665863, -0.12505026161670685, 0.12539634108543396, 0.07052761316299438, 0.172460734844207...
https://github.com/huggingface/datasets/issues/5594
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 ...
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/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.37543702125549316, -0.09867465496063232, 0.012532472610473633, 0.3179014325141907, 0.5317246317863464, 0.03992219269275665, 0.22063346207141876, 0.37211236357688904, 0.0342191606760025, 0.2489229142665863, -0.12505026161670685, 0.12539634108543396, 0.07052761316299438, 0.172460734844207...
https://github.com/huggingface/datasets/issues/5594
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 ...
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/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.37543702125549316, -0.09867465496063232, 0.012532472610473633, 0.3179014325141907, 0.5317246317863464, 0.03992219269275665, 0.22063346207141876, 0.37211236357688904, 0.0342191606760025, 0.2489229142665863, -0.12505026161670685, 0.12539634108543396, 0.07052761316299438, 0.172460734844207...
https://github.com/huggingface/datasets/issues/5594
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...
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/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.37543702125549316, -0.09867465496063232, 0.012532472610473633, 0.3179014325141907, 0.5317246317863464, 0.03992219269275665, 0.22063346207141876, 0.37211236357688904, 0.0342191606760025, 0.2489229142665863, -0.12505026161670685, 0.12539634108543396, 0.07052761316299438, 0.172460734844207...
https://github.com/huggingface/datasets/issues/5594
@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...
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/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.37543702125549316, -0.09867465496063232, 0.012532472610473633, 0.3179014325141907, 0.5317246317863464, 0.03992219269275665, 0.22063346207141876, 0.37211236357688904, 0.0342191606760025, 0.2489229142665863, -0.12505026161670685, 0.12539634108543396, 0.07052761316299438, 0.172460734844207...
https://github.com/huggingface/datasets/issues/5594
@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. 😅 ...
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/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.37543702125549316, -0.09867465496063232, 0.012532472610473633, 0.3179014325141907, 0.5317246317863464, 0.03992219269275665, 0.22063346207141876, 0.37211236357688904, 0.0342191606760025, 0.2489229142665863, -0.12505026161670685, 0.12539634108543396, 0.07052761316299438, 0.172460734844207...
https://github.com/huggingface/datasets/issues/5594
@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 ....
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/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.37543702125549316, -0.09867465496063232, 0.012532472610473633, 0.3179014325141907, 0.5317246317863464, 0.03992219269275665, 0.22063346207141876, 0.37211236357688904, 0.0342191606760025, 0.2489229142665863, -0.12505026161670685, 0.12539634108543396, 0.07052761316299438, 0.172460734844207...
https://github.com/huggingface/datasets/issues/5594
@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...
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/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.37543702125549316, -0.09867465496063232, 0.012532472610473633, 0.3179014325141907, 0.5317246317863464, 0.03992219269275665, 0.22063346207141876, 0.37211236357688904, 0.0342191606760025, 0.2489229142665863, -0.12505026161670685, 0.12539634108543396, 0.07052761316299438, 0.172460734844207...
https://github.com/huggingface/datasets/issues/5594
@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...
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/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.37543702125549316, -0.09867465496063232, 0.012532472610473633, 0.3179014325141907, 0.5317246317863464, 0.03992219269275665, 0.22063346207141876, 0.37211236357688904, 0.0342191606760025, 0.2489229142665863, -0.12505026161670685, 0.12539634108543396, 0.07052761316299438, 0.172460734844207...
https://github.com/huggingface/datasets/issues/5594
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(...
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/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.37543702125549316, -0.09867465496063232, 0.012532472610473633, 0.3179014325141907, 0.5317246317863464, 0.03992219269275665, 0.22063346207141876, 0.37211236357688904, 0.0342191606760025, 0.2489229142665863, -0.12505026161670685, 0.12539634108543396, 0.07052761316299438, 0.172460734844207...
https://github.com/huggingface/datasets/issues/5594
@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...
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/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.37543702125549316, -0.09867465496063232, 0.012532472610473633, 0.3179014325141907, 0.5317246317863464, 0.03992219269275665, 0.22063346207141876, 0.37211236357688904, 0.0342191606760025, 0.2489229142665863, -0.12505026161670685, 0.12539634108543396, 0.07052761316299438, 0.172460734844207...
https://github.com/huggingface/datasets/issues/5594
@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).
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/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.37543702125549316, -0.09867465496063232, 0.012532472610473633, 0.3179014325141907, 0.5317246317863464, 0.03992219269275665, 0.22063346207141876, 0.37211236357688904, 0.0342191606760025, 0.2489229142665863, -0.12505026161670685, 0.12539634108543396, 0.07052761316299438, 0.172460734844207...
https://github.com/huggingface/datasets/issues/5594
@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.
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/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.37543702125549316, -0.09867465496063232, 0.012532472610473633, 0.3179014325141907, 0.5317246317863464, 0.03992219269275665, 0.22063346207141876, 0.37211236357688904, 0.0342191606760025, 0.2489229142665863, -0.12505026161670685, 0.12539634108543396, 0.07052761316299438, 0.172460734844207...
https://github.com/huggingface/datasets/issues/5594
@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_...
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/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.37543702125549316, -0.09867465496063232, 0.012532472610473633, 0.3179014325141907, 0.5317246317863464, 0.03992219269275665, 0.22063346207141876, 0.37211236357688904, 0.0342191606760025, 0.2489229142665863, -0.12505026161670685, 0.12539634108543396, 0.07052761316299438, 0.172460734844207...
https://github.com/huggingface/datasets/issues/5594
@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...
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/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.37543702125549316, -0.09867465496063232, 0.012532472610473633, 0.3179014325141907, 0.5317246317863464, 0.03992219269275665, 0.22063346207141876, 0.37211236357688904, 0.0342191606760025, 0.2489229142665863, -0.12505026161670685, 0.12539634108543396, 0.07052761316299438, 0.172460734844207...
https://github.com/huggingface/datasets/issues/5594
(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 ...
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/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.37543702125549316, -0.09867465496063232, 0.012532472610473633, 0.3179014325141907, 0.5317246317863464, 0.03992219269275665, 0.22063346207141876, 0.37211236357688904, 0.0342191606760025, 0.2489229142665863, -0.12505026161670685, 0.12539634108543396, 0.07052761316299438, 0.172460734844207...
https://github.com/huggingface/datasets/issues/5594
> @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...
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/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.37543702125549316, -0.09867465496063232, 0.012532472610473633, 0.3179014325141907, 0.5317246317863464, 0.03992219269275665, 0.22063346207141876, 0.37211236357688904, 0.0342191606760025, 0.2489229142665863, -0.12505026161670685, 0.12539634108543396, 0.07052761316299438, 0.172460734844207...
https://github.com/huggingface/datasets/issues/5594
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...
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/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.37543702125549316, -0.09867465496063232, 0.012532472610473633, 0.3179014325141907, 0.5317246317863464, 0.03992219269275665, 0.22063346207141876, 0.37211236357688904, 0.0342191606760025, 0.2489229142665863, -0.12505026161670685, 0.12539634108543396, 0.07052761316299438, 0.172460734844207...
https://github.com/huggingface/datasets/issues/5586
Thanks for reporting and thanks @mariosasko for fixing ! We just did a patch release `2.10.1` with the fix
.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 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.06971172988414764, 0.064520925283432, -0.06005880609154701, 0.07854977995157242, 0.07061471045017242, -0.12157415598630905, 0.13628517091274261, 0.12003520876169205, -0.09659769386053085, -0.05778472125530243, -0.19042475521564484, 0.589008092880249, -0.10441306233406067, 0.129977405071...
https://github.com/huggingface/datasets/issues/5585
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...
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, 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.02894795686006546, -0.2566605806350708, 0.06475161015987396, 0.24238498508930206, 0.22143937647342682, 0.23452602326869965, 0.12862366437911987, -0.003426472656428814, 0.3582428991794586, 0.05773172900080681, 0.19717276096343994, -0.08908256888389587, 0.010916858911514282, -0.30165702104...
https://github.com/huggingface/datasets/issues/5584
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,...
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 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.21805712580680847, -0.5286858081817627, 0.060260649770498276, 0.561558723449707, 0.11471913754940033, 0.1807262897491455, -0.2395106554031372, 0.4662606120109558, 0.04442295432090759, -0.05450949817895889, 0.1742170751094818, 0.2901957333087921, 0.05578949674963951, 0.13511259853839874,...
https://github.com/huggingface/datasets/issues/5577
Hi! I've merged a PR to use `int32` instead of `int8` for `reddit_scores`, so it should work now.
Cannot load `the_pile_openwebtext2`
### Describe the bug I met the same bug mentioned in #3053 which is never fixed. Because several `reddit_scores` are larger than `int8` even `int16`. https://huggingface.co/datasets/the_pile_openwebtext2/blob/main/the_pile_openwebtext2.py#L62 ### Steps to reproduce the bug ```python3 from datasets import load...
18
Cannot load `the_pile_openwebtext2` ### Describe the bug I met the same bug mentioned in #3053 which is never fixed. Because several `reddit_scores` are larger than `int8` even `int16`. https://huggingface.co/datasets/the_pile_openwebtext2/blob/main/the_pile_openwebtext2.py#L62 ### Steps to reproduce the bug ...
[ -0.09743805229663849, -0.25990110635757446, -0.01666083186864853, 0.7843768000602722, 0.14893147349357605, 0.11092899739742279, 0.2464836984872818, 0.3751559257507324, 0.3685991168022156, -0.06786507368087769, -0.32115405797958374, 0.10087975114583969, 0.1531551480293274, 0.209266752004623...
https://github.com/huggingface/datasets/issues/5575
Hi! Indeed it would be useful to support this. PyArrow natively supports schema-level and column-level metadata, so implementing this should be straightforward. The API I have in mind would work as follows: ```python col_feature = Value("string", metadata="Some column-level metadata") features = Features({"col": c...
Metadata for each column
### Feature request Being able to put some metadata for each column as a string or any other type. ### Motivation I will bring the motivation by an example, lets say we are experimenting with embedding produced by some image encoder network, and we want to iterate through a couple of preprocessing and see which on...
48
Metadata for each column ### Feature request Being able to put some metadata for each column as a string or any other type. ### Motivation I will bring the motivation by an example, lets say we are experimenting with embedding produced by some image encoder network, and we want to iterate through a couple of pre...
[ 0.31374505162239075, 0.2043984830379486, -0.048340342938899994, -0.16208288073539734, 0.5069149136543274, 0.16051575541496277, 0.2171948254108429, 0.3599666655063629, -0.4245319068431854, 0.15107259154319763, 0.16561932861804962, 0.3521379828453064, -0.23885691165924072, 0.4132704734802246...
https://github.com/huggingface/datasets/issues/5575
Sorry for the late reply, Yes, I think this is the most straight-forward approach with the things that we already have.
Metadata for each column
### Feature request Being able to put some metadata for each column as a string or any other type. ### Motivation I will bring the motivation by an example, lets say we are experimenting with embedding produced by some image encoder network, and we want to iterate through a couple of preprocessing and see which on...
21
Metadata for each column ### Feature request Being able to put some metadata for each column as a string or any other type. ### Motivation I will bring the motivation by an example, lets say we are experimenting with embedding produced by some image encoder network, and we want to iterate through a couple of pre...
[ 0.24853646755218506, 0.05798083543777466, -0.11101071536540985, -0.08875061571598053, 0.36890140175819397, 0.15508343279361725, 0.2225860208272934, 0.3699958920478821, -0.23646439611911774, 0.3051261901855469, 0.299186646938324, 0.33115407824516296, -0.2217434048652649, 0.43635693192481995...
https://github.com/huggingface/datasets/issues/5575
Hi, is this feature to be implemented in the near future? It would be really nice if that would be the case!
Metadata for each column
### Feature request Being able to put some metadata for each column as a string or any other type. ### Motivation I will bring the motivation by an example, lets say we are experimenting with embedding produced by some image encoder network, and we want to iterate through a couple of preprocessing and see which on...
22
Metadata for each column ### Feature request Being able to put some metadata for each column as a string or any other type. ### Motivation I will bring the motivation by an example, lets say we are experimenting with embedding produced by some image encoder network, and we want to iterate through a couple of pre...
[ 0.2490365356206894, 0.025175973773002625, -0.076130211353302, -0.033065203577280045, 0.40545156598091125, 0.1947934329509735, 0.21851715445518494, 0.3180506229400635, -0.2768431305885315, 0.30030229687690735, 0.33207106590270996, 0.2996111214160919, -0.2119441032409668, 0.368570476770401, ...
https://github.com/huggingface/datasets/issues/5575
Hi, I also need this feature for tell my customer if any of the feature is encrypted with a certain key.
Metadata for each column
### Feature request Being able to put some metadata for each column as a string or any other type. ### Motivation I will bring the motivation by an example, lets say we are experimenting with embedding produced by some image encoder network, and we want to iterate through a couple of preprocessing and see which on...
21
Metadata for each column ### Feature request Being able to put some metadata for each column as a string or any other type. ### Motivation I will bring the motivation by an example, lets say we are experimenting with embedding produced by some image encoder network, and we want to iterate through a couple of pre...
[ 0.22968310117721558, 0.017547860741615295, -0.0709906592965126, -0.042882371693849564, 0.3917068839073181, 0.21746885776519775, 0.2968088984489441, 0.2860753834247589, -0.298023521900177, 0.25014781951904297, 0.3787517249584198, 0.31236323714256287, -0.2613549530506134, 0.4659387469291687,...
https://github.com/huggingface/datasets/issues/5574
Also encountering this issue for every dataset I try to stream! Installed datasets from main: ``` - `datasets` version: 2.10.1.dev0 - Platform: macOS-13.1-arm64-arm-64bit - Python version: 3.9.13 - PyArrow version: 10.0.1 - Pandas version: 1.5.2 ``` Repro: ```python from datasets import load_dataset spig...
c4 dataset streaming fails with `FileNotFoundError`
### Describe the bug Loading the `c4` dataset in streaming mode with `load_dataset("c4", "en", split="validation", streaming=True)` and then using it fails with a `FileNotFoundException`. ### Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("c4", "en", split="train", ...
655
c4 dataset streaming fails with `FileNotFoundError` ### Describe the bug Loading the `c4` dataset in streaming mode with `load_dataset("c4", "en", split="validation", streaming=True)` and then using it fails with a `FileNotFoundException`. ### Steps to reproduce the bug ```python from datasets import load_dataset...
[ -0.24674591422080994, 0.13279850780963898, 0.040042098611593246, 0.32442140579223633, 0.1723439246416092, 0.11456883698701859, 0.14179402589797974, 0.27800270915031433, -0.08522552996873856, 0.06967851519584656, -0.07468800991773605, -0.08705082535743713, -0.08886299282312393, 0.1000960990...
https://github.com/huggingface/datasets/issues/5574
This problem now appears again, this time with an underlying HTTP 502 status code: ``` aiohttp.client_exceptions.ClientResponseError: 502, message='Bad Gateway', url=URL('https://huggingface.co/datasets/allenai/c4/resolve/1ddc917116b730e1859edef32896ec5c16be51d0/en/c4-validation.00002-of-00008.json.gz') ```
c4 dataset streaming fails with `FileNotFoundError`
### Describe the bug Loading the `c4` dataset in streaming mode with `load_dataset("c4", "en", split="validation", streaming=True)` and then using it fails with a `FileNotFoundException`. ### Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("c4", "en", split="train", ...
21
c4 dataset streaming fails with `FileNotFoundError` ### Describe the bug Loading the `c4` dataset in streaming mode with `load_dataset("c4", "en", split="validation", streaming=True)` and then using it fails with a `FileNotFoundException`. ### Steps to reproduce the bug ```python from datasets import load_dataset...
[ -0.24674591422080994, 0.13279850780963898, 0.040042098611593246, 0.32442140579223633, 0.1723439246416092, 0.11456883698701859, 0.14179402589797974, 0.27800270915031433, -0.08522552996873856, 0.06967851519584656, -0.07468800991773605, -0.08705082535743713, -0.08886299282312393, 0.1000960990...
https://github.com/huggingface/datasets/issues/5574
Re-executing a minute later, the underlying cause is an HTTP 403 status code, as reported yesterday: ``` aiohttp.client_exceptions.ClientResponseError: 403, message='Forbidden', url=URL('https://cdn-lfs.huggingface.co/datasets/allenai/c4/4bf6b248b0f910dcde2cdf2118d6369d8208c8f9515ec29ab73e531f380b18e2?response-cont...
c4 dataset streaming fails with `FileNotFoundError`
### Describe the bug Loading the `c4` dataset in streaming mode with `load_dataset("c4", "en", split="validation", streaming=True)` and then using it fails with a `FileNotFoundException`. ### Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("c4", "en", split="train", ...
22
c4 dataset streaming fails with `FileNotFoundError` ### Describe the bug Loading the `c4` dataset in streaming mode with `load_dataset("c4", "en", split="validation", streaming=True)` and then using it fails with a `FileNotFoundException`. ### Steps to reproduce the bug ```python from datasets import load_dataset...
[ -0.24674591422080994, 0.13279850780963898, 0.040042098611593246, 0.32442140579223633, 0.1723439246416092, 0.11456883698701859, 0.14179402589797974, 0.27800270915031433, -0.08522552996873856, 0.06967851519584656, -0.07468800991773605, -0.08705082535743713, -0.08886299282312393, 0.1000960990...
https://github.com/huggingface/datasets/issues/5574
> It's been resolved again ;) I'm experiencing the same issue when trying to load this dataset, `FileNotFoundError: https://huggingface.co/datasets/allenai/c4/resolve/1ddc917116b730e1859edef32896ec5c16be51d0/realnewslike/c4-train.00000-of-00512.json.gz`
c4 dataset streaming fails with `FileNotFoundError`
### Describe the bug Loading the `c4` dataset in streaming mode with `load_dataset("c4", "en", split="validation", streaming=True)` and then using it fails with a `FileNotFoundException`. ### Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("c4", "en", split="train", ...
19
c4 dataset streaming fails with `FileNotFoundError` ### Describe the bug Loading the `c4` dataset in streaming mode with `load_dataset("c4", "en", split="validation", streaming=True)` and then using it fails with a `FileNotFoundException`. ### Steps to reproduce the bug ```python from datasets import load_dataset...
[ -0.24674591422080994, 0.13279850780963898, 0.040042098611593246, 0.32442140579223633, 0.1723439246416092, 0.11456883698701859, 0.14179402589797974, 0.27800270915031433, -0.08522552996873856, 0.06967851519584656, -0.07468800991773605, -0.08705082535743713, -0.08886299282312393, 0.1000960990...
https://github.com/huggingface/datasets/issues/5574
Experiencing the same issues as above : `FileNotFoundError: https://huggingface.co/datasets/allenai/c4/resolve/1ddc917116b730e1859edef32896ec5c16be51d0/en/c4-train.00000-of-01024.json.gz If the repo is private or gated, make sure to log in with `huggingface-cli login`.` Have made sure to login as well, issue persis...
c4 dataset streaming fails with `FileNotFoundError`
### Describe the bug Loading the `c4` dataset in streaming mode with `load_dataset("c4", "en", split="validation", streaming=True)` and then using it fails with a `FileNotFoundException`. ### Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("c4", "en", split="train", ...
33
c4 dataset streaming fails with `FileNotFoundError` ### Describe the bug Loading the `c4` dataset in streaming mode with `load_dataset("c4", "en", split="validation", streaming=True)` and then using it fails with a `FileNotFoundException`. ### Steps to reproduce the bug ```python from datasets import load_dataset...
[ -0.24674591422080994, 0.13279850780963898, 0.040042098611593246, 0.32442140579223633, 0.1723439246416092, 0.11456883698701859, 0.14179402589797974, 0.27800270915031433, -0.08522552996873856, 0.06967851519584656, -0.07468800991773605, -0.08705082535743713, -0.08886299282312393, 0.1000960990...
https://github.com/huggingface/datasets/issues/5574
> Experiencing the same issues as above : `FileNotFoundError: https://huggingface.co/datasets/allenai/c4/resolve/1ddc917116b730e1859edef32896ec5c16be51d0/en/c4-train.00000-of-01024.json.gz If the repo is private or gated, make sure to log in with `huggingface-cli login`.` > > Have made sure to login as well, issue p...
c4 dataset streaming fails with `FileNotFoundError`
### Describe the bug Loading the `c4` dataset in streaming mode with `load_dataset("c4", "en", split="validation", streaming=True)` and then using it fails with a `FileNotFoundException`. ### Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("c4", "en", split="train", ...
41
c4 dataset streaming fails with `FileNotFoundError` ### Describe the bug Loading the `c4` dataset in streaming mode with `load_dataset("c4", "en", split="validation", streaming=True)` and then using it fails with a `FileNotFoundException`. ### Steps to reproduce the bug ```python from datasets import load_dataset...
[ -0.24674591422080994, 0.13279850780963898, 0.040042098611593246, 0.32442140579223633, 0.1723439246416092, 0.11456883698701859, 0.14179402589797974, 0.27800270915031433, -0.08522552996873856, 0.06967851519584656, -0.07468800991773605, -0.08705082535743713, -0.08886299282312393, 0.1000960990...
https://github.com/huggingface/datasets/issues/5571
Hi! You need to pass an input json file explicitly as `data_files` to `load_dataset` to avoid this error: ```python ds = load_dataset("json", data_files=args.input_json) ```
load_dataset fails for JSON in windows
### Describe the bug Steps: 1. Created a dataset in a Linux VM and created a small sample using dataset.to_json() method. 2. Downloaded the JSON file to my local Windows machine for working and saved in say - r"C:\Users\name\file.json" 3. I am reading the file in my local PyCharm - the location of python file is di...
24
load_dataset fails for JSON in windows ### Describe the bug Steps: 1. Created a dataset in a Linux VM and created a small sample using dataset.to_json() method. 2. Downloaded the JSON file to my local Windows machine for working and saved in say - r"C:\Users\name\file.json" 3. I am reading the file in my local Py...
[ -0.211417555809021, 0.492599755525589, -0.03301860764622688, 0.3481309115886688, 0.32010185718536377, 0.13950234651565552, 0.37376224994659424, 0.19964200258255005, 0.5069834589958191, 0.07556141912937164, 0.21943449974060059, 0.2802489101886749, 0.029630690813064575, -0.10699475556612015,...
https://github.com/huggingface/datasets/issues/5570
Hi, thanks for the feedback! Would it help to add a tip or note saying the dataset is gated and you need to accept the license before downloading it?
load_dataset gives FileNotFoundError on imagenet-1k if license is not accepted on the hub
### Describe the bug When calling ```load_dataset('imagenet-1k')``` FileNotFoundError is raised, if not logged in and if logged in with huggingface-cli but not having accepted the licence on the hub. There is no error once accepting. ### Steps to reproduce the bug ``` from datasets import load_dataset imagenet =...
29
load_dataset gives FileNotFoundError on imagenet-1k if license is not accepted on the hub ### Describe the bug When calling ```load_dataset('imagenet-1k')``` FileNotFoundError is raised, if not logged in and if logged in with huggingface-cli but not having accepted the licence on the hub. There is no error once acce...
[ -0.35526418685913086, -0.3213687241077423, 0.09918774664402008, 0.2748076915740967, 0.020837444812059402, 0.08795338869094849, 0.525896430015564, 0.011118490248918533, 0.4931473731994629, 0.2004893571138382, -0.11338063329458237, 0.16971547901630402, -0.22929264605045319, 0.197272151708602...