html_url
stringlengths
51
51
title
stringlengths
6
280
comments
stringlengths
67
24.7k
body
stringlengths
51
36.2k
__index_level_0__
int64
1
1.17k
comment_length
int64
16
1.45k
text
stringlengths
190
38.3k
embeddings
sequence
https://github.com/huggingface/datasets/issues/4015
Can not correctly parse the classes with imagefolder
I found that the problem arises because the image files in my folder are actually symbolic links (for my own reasons). After modifications, the classes can now be correctly parsed. Therefore, I close this issue.
## Describe the bug I try to load my own image dataset with imagefolder, but the parsing of classes is incorrect. ## Steps to reproduce the bug I organized my dataset (ImageNet) in the following structure: ``` - imagenet/ - train/ - n01440764/ - ILSVRC2012_val_00000293.jpg - ...... - n01695060/ - ...... - val/ - n01440764/ - n01695060/ - ...... ``` At first, I followed the instructions from the Huggingface [example](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-classification#using-your-own-data) to load my data as: ``` from datasets import load_dataset data_files = {'train': 'imagenet/train', 'val': 'imagenet/val'} ds = load_dataset("nateraw/image-folder", data_files=data_files, task="image-classification") ``` but it resulted following error (I mask my personal path as <PERSONAL_PATH>): ``` FileNotFoundError: Unable to find 'https://huggingface.co/datasets/nateraw/image-folder/resolve/main/imagenet/train' at <PERSONAL_PATH>/ImageNet/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` Next, I followed a recent issue #3960 to load data as: ``` from datasets import load_dataset data_files = {'train': ['imagenet/train/**'], 'val': ['imagenet/val/**']} ds = load_dataset("imagefolder", data_files=data_files, task="image-classification") ``` and the data can be loaded without error as: (I copy val folder to train folder for illustration) ``` >>> ds DatasetDict({ train: Dataset({ features: ['image', 'labels'], num_rows: 50000 }) val: Dataset({ features: ['image', 'labels'], num_rows: 50000 }) }) ``` However, the parsed classes is wrong (should be 1000 classes): ``` >>> ds["train"].features {'image': Image(decode=True, id=None), 'labels': ClassLabel(num_classes=1, names=['val'], id=None)} ``` ## Expected results I expect that the "labels" in ds["train"].features should contain 1000 classes. ## Actual results The "labels" in ds["train"].features contains only 1 wrong class. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: Ubuntu 18.04 - Python version: Python 3.7.12 - PyArrow version: 7.0.0
853
35
Can not correctly parse the classes with imagefolder ## Describe the bug I try to load my own image dataset with imagefolder, but the parsing of classes is incorrect. ## Steps to reproduce the bug I organized my dataset (ImageNet) in the following structure: ``` - imagenet/ - train/ - n01440764/ - ILSVRC2012_val_00000293.jpg - ...... - n01695060/ - ...... - val/ - n01440764/ - n01695060/ - ...... ``` At first, I followed the instructions from the Huggingface [example](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-classification#using-your-own-data) to load my data as: ``` from datasets import load_dataset data_files = {'train': 'imagenet/train', 'val': 'imagenet/val'} ds = load_dataset("nateraw/image-folder", data_files=data_files, task="image-classification") ``` but it resulted following error (I mask my personal path as <PERSONAL_PATH>): ``` FileNotFoundError: Unable to find 'https://huggingface.co/datasets/nateraw/image-folder/resolve/main/imagenet/train' at <PERSONAL_PATH>/ImageNet/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` Next, I followed a recent issue #3960 to load data as: ``` from datasets import load_dataset data_files = {'train': ['imagenet/train/**'], 'val': ['imagenet/val/**']} ds = load_dataset("imagefolder", data_files=data_files, task="image-classification") ``` and the data can be loaded without error as: (I copy val folder to train folder for illustration) ``` >>> ds DatasetDict({ train: Dataset({ features: ['image', 'labels'], num_rows: 50000 }) val: Dataset({ features: ['image', 'labels'], num_rows: 50000 }) }) ``` However, the parsed classes is wrong (should be 1000 classes): ``` >>> ds["train"].features {'image': Image(decode=True, id=None), 'labels': ClassLabel(num_classes=1, names=['val'], id=None)} ``` ## Expected results I expect that the "labels" in ds["train"].features should contain 1000 classes. ## Actual results The "labels" in ds["train"].features contains only 1 wrong class. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: Ubuntu 18.04 - Python version: Python 3.7.12 - PyArrow version: 7.0.0 I found that the problem arises because the image files in my folder are actually symbolic links (for my own reasons). After modifications, the classes can now be correctly parsed. Therefore, I close this issue.
[ -1.1332379579544067, -1.0000134706497192, -0.7230988144874573, 1.4678418636322021, -0.1492469608783722, -1.2701507806777954, 0.12622246146202087, -0.9610370993614197, 1.602043628692627, -0.7166725397109985, 0.2932796776294708, -1.7690595388412476, -0.14138008654117584, -0.6477470397949219, -0.7405606508255005, -0.8027198910713196, -0.31874337792396545, -0.7649221420288086, 1.028236746788025, 2.45949649810791, 1.2791143655776978, -1.3690831661224365, 2.707062244415283, 0.6588208079338074, -0.22760127484798431, -1.0255087614059448, 0.48018234968185425, -0.008622796274721622, -1.312949776649475, -0.4046645760536194, -0.9141432046890259, -0.0037445416674017906, -0.6068108677864075, -0.4991001486778259, 0.059752773493528366, 0.49769270420074463, -0.19498205184936523, -0.476165771484375, -0.5879596471786499, -0.7090660333633423, 0.45842406153678894, -0.38105207681655884, 0.9613648653030396, -0.2645922899246216, 1.7385212182998657, -0.6342114806175232, 0.38285207748413086, 0.666547954082489, 1.3432649374008179, 0.1673196256160736, 0.01222098059952259, 0.4027322828769684, 0.3548467457294464, -0.029398256912827492, 0.5137565732002258, 1.2325875759124756, 0.6122980713844299, 0.47367438673973083, 0.7255238890647888, -2.341082811355591, 1.2579045295715332, -0.9172264337539673, 0.30547407269477844, 1.3150166273117065, -0.9076664447784424, 0.37795355916023254, -1.8248484134674072, -0.024952486157417297, 0.5961758494377136, -2.120637893676758, 0.3013015389442444, -1.3313333988189697, -0.5136137008666992, 0.9634793996810913, 0.32257065176963806, -1.1703170537948608, 0.15840484201908112, -0.3961695432662964, 0.9890164136886597, 0.44503119587898254, 1.135746717453003, -1.732169508934021, 0.0005410229787230492, -0.25370118021965027, 0.193472221493721, -1.2258182764053345, -1.638669490814209, 0.5451462268829346, 0.6601741909980774, 0.7427778244018555, -0.2566235661506653, 0.9952062368392944, -0.9915789365768433, 0.708877444267273, -0.9770179390907288, -1.7798631191253662, -1.4073665142059326, -2.2258543968200684, -2.3002402782440186, 0.7267872095108032, -0.5058822631835938, -0.4211466908454895, 2.0115647315979004, -0.9506122469902039, -1.8705729246139526, 1.0490235090255737, 0.2955702245235443, -0.06980831921100616, 2.3411219120025635, 0.29403185844421387, -0.7072717547416687, 0.5020938515663147, -0.8253902196884155, 0.7386093139648438, -0.2928769290447235, 1.3799192905426025, 0.41097912192344666, -0.9814022779464722, 1.693127989768982, -0.4347344636917114, 0.5364052057266235, -0.7224998474121094, -0.41719913482666016, -0.7125034332275391, 0.26150432229042053, 1.9252721071243286, -0.332839697599411, 1.4872171878814697, -0.38108524680137634, -1.6007013320922852, -1.5420899391174316, 0.8071432113647461, 0.46227043867111206, -0.7500109076499939, 0.10388021171092987, -0.45506685972213745, 0.20075823366641998, -0.003316639456897974, 1.118902325630188, 1.190622091293335, 0.7462904453277588, -0.3147624433040619, -0.8457155227661133, 0.2489234209060669, -0.026265066117048264, -0.7052649259567261, -1.8355388641357422, -0.2867402732372284, 0.24089130759239197, 0.6512467861175537, -1.2409504652023315, 1.775864601135254, 0.8625841736793518, 2.033639907836914, 0.9475435018539429, -0.436463326215744, 1.4819382429122925, 0.07606051862239838, 1.9230186939239502, -0.5112597346305847, 0.5715389251708984, -0.3939342796802521, -1.1315747499465942, 0.8276017904281616, -0.2921479344367981, -1.9805227518081665, -0.6835609078407288, -0.8720325231552124, -0.1790522336959839, -0.7797536253929138, 0.9117698073387146, -0.2862955629825592, -1.4406781196594238, 0.11797097325325012, -0.7194129228591919, 0.22033599019050598, -1.285416841506958, 0.1724323332309723, 0.7428998947143555, -0.7094082236289978, 0.04874376580119133, -0.32390525937080383, -1.3297672271728516, -0.5660510063171387, 0.4141034185886383, 1.9044299125671387, -0.6818405389785767, 0.9356182813644409, 1.0182240009307861, -0.6832361221313477, 0.08921359479427338, 0.3237729072570801, -0.22643312811851501, 0.7549960017204285, -1.1002358198165894, -0.4932001233100891, 1.147168755531311, -0.2525005042552948, -0.6194126009941101, 1.4811524152755737, 0.8655659556388855, -1.10527503490448, -0.21796642243862152, -0.2397925704717636, -0.7023015022277832, -0.030499078333377838, -1.572317361831665, -0.04136732965707779, 0.3862234055995941, -1.4765353202819824, -0.5119472742080688, -0.25639426708221436, 1.3492356538772583, -0.15253731608390808, 1.3867865800857544, -0.24753014743328094, -0.21213002502918243, -0.29926803708076477, -0.41046038269996643, 0.1440562903881073, -0.21213282644748688, -0.6975270509719849, 0.2034105360507965, -0.845380425453186, 0.3141027092933655, 1.5045579671859741, 0.3451199531555176, 0.042606234550476074, 0.5140543580055237, 1.1676629781723022, 0.403636634349823, 0.008784139528870583, -0.9728061556816101, -1.539892315864563, 1.9824639558792114, -1.4417803287506104, 1.8747071027755737, 0.7169995903968811, -0.05920814350247383, -1.8505325317382812, -1.8527756929397583, 1.4228636026382446, 1.1545416116714478, 2.4804062843322754, 0.5710000991821289, 0.44304463267326355, -0.8630672693252563, -0.6925039291381836, 0.33733415603637695, -0.8224728107452393, -0.7443082928657532, 0.23999053239822388, 2.330620765686035, 1.82598078250885, -0.551554799079895, -0.2701457738876343, -1.0059518814086914, 1.3460761308670044, -0.2534330189228058, 0.24517428874969482, 2.053537130355835, -0.33233925700187683, -1.0067028999328613, 1.3837475776672363, -2.2879629135131836, 0.22541147470474243, 2.024538278579712, 0.17155201733112335, 0.08764819800853729, -1.4390575885772705, -0.6778514981269836, -0.21595917642116547, -0.4447420835494995, -1.2337377071380615, 0.47175902128219604, -0.22565914690494537, -0.7804983854293823, -1.5028395652770996, 0.11700773239135742, -1.0822031497955322, -1.7212992906570435, 0.30797910690307617, 1.875465989112854, 2.0275158882141113, -0.8779639601707458, 1.4831050634384155, -0.26578763127326965, 0.16599437594413757, 1.293071985244751, 1.2648181915283203, 3.0780062675476074, 1.8466500043869019, -1.269527792930603, 0.7724677920341492, -0.1677369326353073, -0.5167478919029236, 1.2131096124649048, -1.1147760152816772, 1.0741370916366577, -0.28994572162628174, -1.238017201423645, -1.169424057006836, 1.003449559211731, 0.45705488324165344, 0.061157215386629105, -0.5354893803596497, 1.1412057876586914, 0.13068032264709473, 1.3058160543441772, 0.6725804805755615, -0.45248058438301086, 0.6444267630577087, -0.3112059533596039, -0.49267086386680603, 1.550784945487976, 0.13278728723526, -1.484070062637329, -2.3127493858337402, -0.23146434128284454, -0.9781626462936401, -0.06302796304225922, -0.6606379747390747, -1.0498106479644775, 1.5707733631134033, 0.4039119482040405, -1.1929677724838257, -0.23533426225185394, -0.3648366630077362, -0.5103155374526978, 2.6934731006622314, -1.3292652368545532, -0.22061629593372345, -0.9839452505111694, -0.5842125415802002, 1.6767388582229614, -1.0743638277053833, -0.18660889565944672, -1.1373670101165771, -0.5524413585662842, -1.3895947933197021, -0.5851589441299438, 0.07501284778118134, -0.8255658745765686, 0.8013739585876465, 0.08817370235919952, -1.1744457483291626, -0.3417535424232483, -0.9577624201774597, 0.9928543567657471, -0.23057864606380463, 0.19025658071041107, 1.888264775276184, 0.44047820568084717, -0.407452791929245, 0.7860667705535889, 1.1664341688156128, 0.6087883710861206, -0.5984523892402649, 0.2292833775281906, -0.7119934558868408, 0.25888770818710327, -1.3586866855621338, 0.20030604302883148, -2.8530473709106445, 0.6645243167877197, -0.01923450268805027, -0.04237337037920952, -0.057828888297080994, -1.3586876392364502, 1.0421864986419678, 2.544100046157837, -1.228975772857666, 0.46851927042007446, 0.3769213557243347, 1.266432285308838, -1.5447587966918945, 0.09817352890968323, -0.49642670154571533, 2.0801544189453125, 0.05861124023795128, 1.209418535232544, -0.5012853145599365, -2.1818768978118896, 0.5795305371284485, -1.231907606124878, -1.0250059366226196, 0.7646580934524536, -0.8626739382743835, 0.20559562742710114, -1.457309603691101, -0.18131497502326965, -0.95509934425354, -1.20072603225708, 0.7577801942825317, 0.0748688131570816, 0.446482390165329, -0.6427066922187805, 0.3881259858608246, -2.13733172416687, -1.4536032676696777, -0.24798113107681274, -0.9602979421615601, 0.5286195874214172, -0.3225873112678528, 0.715490460395813, -0.16356009244918823, 0.015044411644339561, 0.3382031321525574, 1.4612962007522583, 3.3948543071746826, 0.17244695127010345, 0.2551358938217163, -0.08573845028877258, -0.9230586886405945, 1.4820998907089233, 0.978149950504303, -0.13062137365341187, -0.500544548034668, -1.094247579574585, 1.2630490064620972, 1.972870945930481, 1.1086490154266357, 0.04878620430827141, -0.8269070386886597, -0.8096998929977417, 0.019668295979499817, 0.1419668048620224, 0.46017521619796753, 0.9087013006210327, 0.11645671725273132, 0.1859976202249527, 1.3613965511322021, 1.2391643524169922, -0.4063050150871277, 0.46695274114608765, -0.8892422914505005, -0.44492387771606445, 0.46785056591033936, 0.2695937752723694, 0.05534249171614647, 0.3530694842338562, -1.1230565309524536, -0.2346666008234024, -0.37171196937561035, -0.8676384091377258, -0.6824503540992737, -0.49463680386543274, -0.34942400455474854, 1.511078119277954, 0.08830654621124268, -0.5430679321289062, -0.05973760411143303, -0.6993900537490845, -0.11319534480571747, -1.0240659713745117, 0.2661422789096832, -0.22254730761051178, 0.010941745713353157, -0.18066464364528656, 1.6785162687301636, -0.944427490234375, -2.046679735183716, 0.2541312277317047, 0.3358785808086395, -0.43319156765937805, 0.2328473925590515, 1.7650718688964844, 0.6224056482315063, 1.3863967657089233, 1.3941340446472168, 1.0292834043502808, -0.58272385597229, -1.146791934967041, 0.6123567223548889, 0.9095581769943237, -1.347881555557251, 0.8481367230415344, -0.0767589807510376, -0.46941766142845154, 0.6366584897041321, 1.351025104522705, 0.3744150400161743, -2.033689260482788, 0.7910246849060059, -0.8946145176887512, 0.7783298492431641, 0.7446834444999695, 0.843989908695221, 0.24439984560012817, 0.8228697180747986, -1.1689472198486328, -1.070180892944336, -0.7125043272972107, -0.6543805599212646, 1.8786903619766235, -0.1911124438047409, 0.5363305807113647, -0.27824288606643677, -1.2980650663375854, -0.10343465209007263, 0.7898774743080139, 0.3881237208843231, -0.5401174426078796, 0.7737194895744324, -0.534694254398346, -1.0613573789596558, -1.224013090133667, -0.4730360507965088, -1.0350552797317505, -0.9403961896896362, 0.9462425708770752, 0.7933758497238159, 0.4327821135520935, 1.9251258373260498, 0.6442092657089233, 0.1528717428445816, -2.6419119834899902, 0.9368573427200317, 0.23830918967723846, 0.0002935584634542465, 0.9063812494277954, 0.33737996220588684, 1.1231074333190918, -0.08143948018550873, 0.6119639873504639, -2.3325276374816895, 2.202718734741211, -0.21565723419189453, 0.6481763124465942, -0.0248849019408226, -0.15554113686084747, 1.1287943124771118, 0.4742755591869354, 0.5463680624961853, -1.0631417036056519, 0.7447080016136169, -0.6489690542221069, 1.1418170928955078, 0.8184602856636047, -0.9142643213272095, 0.035201773047447205, 1.3496575355529785, 0.44240856170654297, -0.4598042070865631, -1.0167367458343506, -0.9437559843063354, 1.072417140007019, 1.6587026119232178, -0.05214112624526024, 0.03579056262969971, 0.9478499889373779, 0.6651508808135986, -1.3055684566497803, 0.0319819413125515, -0.6908228993415833, -0.5973847508430481, 1.8091202974319458, 1.992911696434021, -0.19670990109443665, -0.1906048208475113, -0.7874263525009155, -1.2119048833847046, 0.7609273195266724, 0.03633667528629303, 0.06046093627810478, 0.7897388339042664, -0.7045854330062866, 1.1782305240631104, 0.6733283400535583, 0.8770001530647278, 0.05984025076031685, 0.33046790957450867, 0.4047033488750458, -0.4345278739929199, -1.2036362886428833, -0.2630425691604614, -1.146691083908081, -2.3518855571746826, 0.43813803791999817, -0.22725875675678253, -1.4085403680801392, 0.010885149240493774, -1.0598344802856445, 0.9556037783622742, -0.6035425662994385, -1.1232603788375854, -1.365762710571289, 0.25852686166763306, -0.13987219333648682, 0.9059432148933411, -1.5804517269134521, -0.06357873976230621, 1.1767611503601074, 0.9422434568405151, -0.6968693137168884, 0.9214752316474915, 0.2317860722541809, 1.0261412858963013, 0.9021539092063904, -0.32445910573005676, 0.49756139516830444, 0.03344223275780678, -1.285342812538147, 0.3842332363128662, 1.1475987434387207, 0.18977311253547668, 1.3567144870758057, -0.5568327903747559, 0.07526937127113342, 0.42956119775772095, -0.47326499223709106, -0.5854929685592651, -0.5162547826766968, 0.6004722118377686, -0.04185432940721512, -0.9668533802032471, -0.03530704975128174, 0.07065974175930023, -0.18189819157123566, 0.23227058351039886, -1.4618479013442993, -0.09383879601955414, -0.2730121612548828, -0.5496496558189392, -1.2183693647384644, 0.0011237384751439095, 1.3606840372085571, -0.8140694499015808, -0.23053805530071259, 0.6065137982368469, 0.19231612980365753, 0.5953062772750854, 0.5530169606208801, -0.6743587851524353, -0.2691478133201599, -0.22593674063682556, -0.3742178678512573, 0.3379383981227875, 1.327782392501831, -0.13522803783416748, -1.0029975175857544, 0.6884109973907471, -0.4144677221775055, 0.13581767678260803, 1.9887818098068237, 0.03208203986287117, -0.7883350849151611, 0.28235891461372375, -0.6838291883468628, 1.8097290992736816, 1.8140045404434204, 1.3465101718902588, -0.11386612057685852, -0.9378913640975952, 0.5287356972694397, -0.30989205837249756, -0.41633903980255127, 0.912638247013092, 0.32468000054359436, -0.2233923375606537, -1.368793249130249, 0.645968496799469, 1.3871759176254272, -0.8701878190040588, -0.7753597497940063, 0.19318147003650665, -0.8500111699104309, 1.1087682247161865, 0.757934033870697, 0.3716655373573303, 0.23333406448364258, 1.5627014636993408, 0.7167186141014099, -0.37495020031929016, 0.5645937919616699, 0.5527299642562866, -0.23941081762313843, -2.1130013465881348, -1.2287589311599731, 0.2237744778394699, -0.47671279311180115, -1.7094422578811646, 1.2989354133605957, -1.2689950466156006, -1.006618857383728, 0.6143670678138733, 0.18161781132221222, 1.4263542890548706, 0.3254739046096802, 1.5987021923065186, 2.1004066467285156, 0.9037222862243652, 0.38861531019210815, 1.222141146659851, -0.07943485677242279, -0.4853315055370331, 1.8596045970916748, -0.5239593982696533, 0.5765928626060486, 1.0587522983551025, -0.31728804111480713, -1.1300055980682373, -0.842076301574707, -1.2243552207946777, -0.7312443256378174, 1.2407113313674927, 0.1341337263584137, -1.1864564418792725, 0.21955911815166473, 1.5731991529464722, 0.07508444786071777, -0.282579630613327, 0.7812703847885132, 0.3343607783317566, -0.8164531588554382, -0.006598839070647955, -0.9068253040313721, 0.5608035922050476, -0.1990334540605545, -0.2742109000682831, 0.2617153525352478, 0.5003411769866943, 1.3338090181350708, -0.0009898291900753975, 0.144679456949234, 1.2204324007034302, -1.2381490468978882, 1.5388611555099487, -0.7063446640968323, 0.3588816523551941, -2.4510915279388428, 1.3534321784973145, -0.8458032608032227, 1.90674889087677, -2.6817209720611572, 0.43383270502090454, -0.5428295731544495, -0.46952131390571594, 0.1567419022321701, -0.3516157269477844, 0.04303241893649101, -0.07612162828445435, -1.0555133819580078, -0.017121020704507828, -0.7455766797065735, 0.5209304690361023, 1.1774133443832397, 1.4841885566711426, -1.0758339166641235, -0.313585102558136, -1.8489112854003906, -0.1294713020324707, -0.7653138637542725, 0.48407530784606934, -1.9253865480422974, -0.16576126217842102, -1.9121497869491577, -2.3585636615753174, -1.3690097332000732, -0.8839877247810364, 1.0392000675201416, 0.10078303515911102, -0.9185478091239929, 1.146221399307251, -0.3756447434425354, -1.8335247039794922, 1.0814536809921265, -2.2517683506011963 ]
https://github.com/huggingface/datasets/issues/4013
Cannot preview "hazal/Turkish-Biomedical-corpus-trM"
Hi @hazalturkmen, thanks for reporting. Note that your dataset repository does not contain any loading script; it only contains a data file named `tr_article_2`. When there is no loading script but only data files, the `datasets` library tries to infer how to load the data by looking at the data file extensions. However, your data file does not have any extension. Note that current supported data file extensions are: 'csv', 'tsv', 'json', 'jsonl', 'parquet', 'txt', 'blp', 'bmp', 'dib', 'bufr', 'cur', 'pcx', 'dcx', 'dds', 'ps', 'eps', 'fit', 'fits', 'fli', 'flc', 'ftc', 'ftu', 'gbr', 'gif', 'grib', 'h5', 'hdf', 'png', 'apng', 'jp2', 'j2k', 'jpc', 'jpf', 'jpx', 'j2c', 'icns', 'ico', 'im', 'iim', 'tif', 'tiff', 'jfif', 'jpe', 'jpg', 'jpeg', 'mpg', 'mpeg', 'msp', 'pcd', 'pxr', 'pbm', 'pgm', 'ppm', 'pnm', 'psd', 'bw', 'rgb', 'rgba', 'sgi', 'ras', 'tga', 'icb', 'vda', 'vst', 'webp', 'wmf', 'emf', 'xbm', 'xpm', 'zip'. You have more info on our docs: [How to share a dataset](https://huggingface.co/docs/datasets/share).
## Dataset viewer issue for '*hazal/Turkish-Biomedical-corpus-trM' **Link:** *https://huggingface.co/datasets/hazal/Turkish-Biomedical-corpus-trM* *I cannot see the dataset preview.* ``` Server Error Status code: 400 Exception: HTTPError Message: 403 Client Error: Forbidden for url: https://huggingface.co/api/datasets/hazal/Turkish-Biomedical-corpus-trM?full=true ``` Am I the one who added this dataset ? Yes
854
151
Cannot preview "hazal/Turkish-Biomedical-corpus-trM" ## Dataset viewer issue for '*hazal/Turkish-Biomedical-corpus-trM' **Link:** *https://huggingface.co/datasets/hazal/Turkish-Biomedical-corpus-trM* *I cannot see the dataset preview.* ``` Server Error Status code: 400 Exception: HTTPError Message: 403 Client Error: Forbidden for url: https://huggingface.co/api/datasets/hazal/Turkish-Biomedical-corpus-trM?full=true ``` Am I the one who added this dataset ? Yes Hi @hazalturkmen, thanks for reporting. Note that your dataset repository does not contain any loading script; it only contains a data file named `tr_article_2`. When there is no loading script but only data files, the `datasets` library tries to infer how to load the data by looking at the data file extensions. However, your data file does not have any extension. Note that current supported data file extensions are: 'csv', 'tsv', 'json', 'jsonl', 'parquet', 'txt', 'blp', 'bmp', 'dib', 'bufr', 'cur', 'pcx', 'dcx', 'dds', 'ps', 'eps', 'fit', 'fits', 'fli', 'flc', 'ftc', 'ftu', 'gbr', 'gif', 'grib', 'h5', 'hdf', 'png', 'apng', 'jp2', 'j2k', 'jpc', 'jpf', 'jpx', 'j2c', 'icns', 'ico', 'im', 'iim', 'tif', 'tiff', 'jfif', 'jpe', 'jpg', 'jpeg', 'mpg', 'mpeg', 'msp', 'pcd', 'pxr', 'pbm', 'pgm', 'ppm', 'pnm', 'psd', 'bw', 'rgb', 'rgba', 'sgi', 'ras', 'tga', 'icb', 'vda', 'vst', 'webp', 'wmf', 'emf', 'xbm', 'xpm', 'zip'. You have more info on our docs: [How to share a dataset](https://huggingface.co/docs/datasets/share).
[ -1.1820944547653198, -1.1526929140090942, -0.8311853408813477, 1.6594825983047485, -0.28518930077552795, -1.0316667556762695, -0.002888069488108158, -0.8600059151649475, 1.5648219585418701, -0.6525127291679382, 0.04565691575407982, -1.795434832572937, -0.18146032094955444, -0.8143614530563354, -0.5902370810508728, -0.7718015313148499, -0.1656862199306488, -0.9204661846160889, 1.1518431901931763, 2.3596770763397217, 0.8755971193313599, -1.5893051624298096, 2.783987045288086, 0.687976598739624, -0.0404936708509922, -1.2027437686920166, 0.52854984998703, -0.17211337387561798, -0.9425981640815735, -0.4922802150249481, -1.0499218702316284, 0.09040297567844391, -0.7510980367660522, -0.28132113814353943, 0.04881485551595688, 0.5201007127761841, -0.1544133424758911, -0.48316800594329834, -0.4619308412075043, -0.5986524820327759, 0.42833539843559265, -0.5094794631004333, 0.8708958625793457, -0.24686512351036072, 1.7267154455184937, -0.27152684330940247, 0.210127592086792, 0.6421995759010315, 1.3673747777938843, 0.25144797563552856, 0.13244983553886414, 0.3372804522514343, 0.3519331216812134, -0.002634890377521515, 0.6131494641304016, 1.1215057373046875, 0.5636739134788513, 0.3438836634159088, 0.830474853515625, -2.4958367347717285, 1.208063006401062, -1.092142939567566, 0.34080442786216736, 1.380807638168335, -0.7723808288574219, 0.6919225454330444, -1.8424822092056274, 0.23564700782299042, 0.6129524111747742, -2.018812894821167, 0.4496346712112427, -1.143332839012146, -0.3801170885562897, 0.7707454562187195, 0.40685996413230896, -1.3906474113464355, 0.2551044225692749, -0.3112250566482544, 1.0823578834533691, 0.30067554116249084, 0.9166106581687927, -1.8226321935653687, 0.08282763510942459, -0.22548255324363708, 0.19588570296764374, -1.2611992359161377, -1.571165919303894, 0.5038439631462097, 0.5755017995834351, 0.7502788305282593, -0.18478178977966309, 0.92293781042099, -1.3184452056884766, 0.5877446532249451, -1.0674889087677002, -1.6191692352294922, -1.1799795627593994, -2.3347091674804688, -2.328547716140747, 0.7210395932197571, -0.4288606345653534, -0.37340885400772095, 1.9954432249069214, -0.7591232061386108, -1.7891696691513062, 1.3600730895996094, 0.5465376973152161, 0.13194185495376587, 2.4696550369262695, 0.1639612317085266, -0.7897198796272278, 0.4697461426258087, -0.9922279119491577, 0.8551087379455566, -0.45687055587768555, 1.5749595165252686, 0.41246670484542847, -0.6460245847702026, 1.8136130571365356, -0.4796401262283325, 0.5761744379997253, -0.6222830414772034, -0.5012378096580505, -0.8159239888191223, 0.29697319865226746, 1.9320359230041504, -0.1335180550813675, 1.3508338928222656, -0.5497101545333862, -1.5108885765075684, -1.4938533306121826, 1.0451184511184692, 0.20957529544830322, -1.0282117128372192, 0.111399345099926, -0.36352917551994324, 0.3615109622478485, -0.27338311076164246, 1.1498081684112549, 1.285498857498169, 0.549861490726471, -0.3404170572757721, -0.9901033639907837, 0.12423290312290192, -0.3738178312778473, -0.6065981984138489, -1.8572314977645874, -0.254762202501297, 0.14925996959209442, 0.7534430027008057, -1.2702714204788208, 1.5631169080734253, 0.823802649974823, 1.9893392324447632, 0.9243066906929016, -0.5640297532081604, 1.4998581409454346, 0.13321588933467865, 1.771125316619873, -0.745547890663147, 0.5521315932273865, -0.45732244849205017, -1.0876845121383667, 0.9550725817680359, -0.27169516682624817, -1.8495112657546997, -0.756272554397583, -1.0014013051986694, -0.44863665103912354, -0.7376515865325928, 0.748749315738678, -0.5684667825698853, -1.5527275800704956, 0.2514234185218811, -0.6477829217910767, 0.4160156846046448, -1.1182844638824463, 0.19522957503795624, 0.7367544174194336, -0.5350448489189148, 0.08042474836111069, -0.386163592338562, -1.4467591047286987, -0.5714284181594849, 0.6366763114929199, 1.8975355625152588, -0.6226004958152771, 0.754094123840332, 1.0130507946014404, -0.6824836730957031, -0.05075143650174141, 0.21952180564403534, -0.15365247428417206, 0.7088302373886108, -0.9879447817802429, -0.923636257648468, 1.1503738164901733, -0.2971682548522949, -0.6489062905311584, 1.3253649473190308, 0.9637523293495178, -1.1837043762207031, -0.33054545521736145, -0.24614378809928894, -0.7660251259803772, 0.01959916576743126, -1.5919972658157349, -0.2697535455226898, 0.46932604908943176, -1.5675110816955566, -0.5003346800804138, -0.3922523558139801, 1.1439765691757202, -0.034277744591236115, 1.2376645803451538, -0.3556617498397827, -0.18560032546520233, -0.07219819724559784, -0.6926466822624207, 0.4426133930683136, -0.34849682450294495, -0.5273271203041077, 0.026767238974571228, -0.9113976359367371, 0.3721366822719574, 1.4788753986358643, 0.26385998725891113, -0.09247762709856033, 0.5306463241577148, 1.133712887763977, 0.5633609294891357, 0.36142849922180176, -0.9583706855773926, -1.4020953178405762, 1.879928469657898, -1.719651699066162, 1.9358561038970947, 0.5020872950553894, 0.012831508181989193, -1.7526830434799194, -1.8173362016677856, 1.4442801475524902, 1.1601203680038452, 2.1159002780914307, 0.7197606563568115, 0.3613548278808594, -1.0493429899215698, -0.7109261155128479, 0.0985071212053299, -0.7835291028022766, -0.7295579314231873, 0.17322376370429993, 2.421896457672119, 1.8373746871948242, -0.5414755344390869, -0.21692457795143127, -0.8178601861000061, 1.5617152452468872, -0.35848677158355713, 0.5398775935173035, 2.059943914413452, -0.3388389050960541, -1.017374873161316, 1.255144476890564, -2.648461103439331, 0.29173144698143005, 2.057960033416748, 0.2444377839565277, 0.3398738205432892, -1.3630728721618652, -0.8284811973571777, -0.12645970284938812, -0.36891698837280273, -1.280927062034607, 0.5584228038787842, -0.3461206257343292, -0.7025643587112427, -1.5979208946228027, 0.24121561646461487, -1.1471920013427734, -1.4507067203521729, 0.2512103319168091, 2.0425808429718018, 2.309929847717285, -0.8935689926147461, 1.7048510313034058, -0.08748987317085266, 0.4246189296245575, 1.3426893949508667, 1.1555113792419434, 2.809206485748291, 1.7187590599060059, -1.045908808708191, 0.5622828006744385, -0.1831819713115692, -0.5075504779815674, 1.144055724143982, -0.9366751313209534, 0.9830452799797058, -0.23226715624332428, -0.990851104259491, -1.1520731449127197, 0.8483492732048035, 0.4525650143623352, -0.08991111814975739, -0.36498701572418213, 1.1503905057907104, -0.07505670189857483, 1.180044174194336, 0.7398050427436829, -0.4556643068790436, 0.2976230978965759, -0.4149581789970398, -0.6218495965003967, 1.5919307470321655, 0.035670798271894455, -1.4942090511322021, -2.1044158935546875, -0.3369455933570862, -0.7921172380447388, -0.031031426042318344, -0.4808565080165863, -1.0566821098327637, 1.3590675592422485, 0.2982807457447052, -0.9890913367271423, -0.1233399286866188, -0.2812880277633667, -0.3375893831253052, 2.612757444381714, -1.2737329006195068, -0.5316593647003174, -0.8581904768943787, -0.5570365190505981, 1.6850614547729492, -1.0493323802947998, -0.10001490265130997, -1.031585693359375, -0.5534328818321228, -1.4566460847854614, -0.40171968936920166, 0.034223295748233795, -0.8405088782310486, 1.0371241569519043, 0.4584676921367645, -1.0603845119476318, -0.24564316868782043, -0.9859983921051025, 0.95819091796875, -0.21034039556980133, 0.3350295424461365, 1.9233289957046509, 0.2654394507408142, -0.32123106718063354, 0.9463512897491455, 1.0281651020050049, 0.6430559158325195, -0.5670814514160156, 0.15490417182445526, -0.4212055802345276, 0.5151209831237793, -1.3676326274871826, 0.14586365222930908, -3.007758855819702, 0.6134940385818481, 0.04248573258519173, -0.1353524625301361, 0.022231318056583405, -1.4102554321289062, 1.1505112648010254, 2.3482701778411865, -1.3021063804626465, 0.5733898878097534, 0.3814355134963989, 1.6042225360870361, -1.639996886253357, 0.22122350335121155, -0.3621273636817932, 2.2379744052886963, -0.05771974101662636, 1.0947753190994263, -0.5586996674537659, -2.546250343322754, 0.49481403827667236, -1.306773066520691, -0.9327715039253235, 0.3719109892845154, -0.9157217741012573, 0.26233693957328796, -1.7591997385025024, -0.2402593046426773, -1.0754202604293823, -1.259871006011963, 0.6993954181671143, 0.2056373953819275, 0.16047705709934235, -0.641366183757782, 0.4406556487083435, -2.0100371837615967, -1.5833903551101685, -0.13080988824367523, -0.8499396443367004, 0.6977171301841736, -0.41923725605010986, 0.7394521832466125, -0.15305334329605103, 0.06954880803823471, 0.07580564171075821, 1.551369071006775, 3.470773696899414, 0.06401762366294861, 0.3722895085811615, -0.15766297280788422, -0.9475850462913513, 1.4604412317276, 1.0582613945007324, -0.04279012978076935, -0.47250646352767944, -1.248500943183899, 1.5193926095962524, 2.1168346405029297, 0.9038442373275757, 0.08136885613203049, -0.5647791624069214, -0.5108473896980286, 0.010345636866986752, 0.31842362880706787, 0.5991986393928528, 0.7776408791542053, -0.024205569177865982, -0.004783091135323048, 1.2787635326385498, 1.1536635160446167, -0.3947165012359619, 0.27274489402770996, -0.9843867421150208, -0.3552147150039673, 0.5878195762634277, -0.0064448025077581406, -0.15490220487117767, 0.3295307457447052, -1.0020016431808472, -0.270673930644989, -0.22039896249771118, -0.8998167514801025, -0.6491308808326721, -0.36848577857017517, -0.3445969223976135, 1.4246138334274292, 0.5454640984535217, -0.7074133157730103, -0.09103210270404816, -0.5392389893531799, 0.010380740277469158, -1.0887689590454102, -0.09631333500146866, -0.3289879858493805, -0.14288601279258728, -0.3166182041168213, 1.7566596269607544, -0.8202230930328369, -2.048518657684326, -0.11344118416309357, 0.6383413672447205, -0.04580117017030716, 0.2346685826778412, 1.7213314771652222, 0.4039139151573181, 1.4941011667251587, 1.3539849519729614, 1.03340744972229, -0.575573205947876, -1.3094737529754639, 0.5604086518287659, 1.019429326057434, -1.2443305253982544, 0.9554769396781921, -0.03429446369409561, -0.6251858472824097, 0.6681697368621826, 1.5540945529937744, 0.3740520477294922, -2.0279593467712402, 0.8310846090316772, -1.2368552684783936, 0.9840618968009949, 0.761829674243927, 0.938692569732666, 0.36308717727661133, 0.7843355536460876, -1.193959355354309, -1.071616291999817, -0.936575710773468, -0.7436785697937012, 1.9613462686538696, -0.2424698919057846, 0.47853174805641174, -0.003816612996160984, -1.1709715127944946, -0.07556316256523132, 0.657800018787384, 0.4962197542190552, -0.34642937779426575, 0.7779884934425354, -0.8074623942375183, -1.1997355222702026, -1.3506826162338257, -0.45647484064102173, -0.921694815158844, -1.060827374458313, 0.942725658416748, 0.8610058426856995, 0.39146995544433594, 1.8569002151489258, 0.6284361481666565, 0.09486667066812515, -2.3806161880493164, 0.9940734505653381, 0.34180015325546265, -0.20050618052482605, 0.6882880330085754, 0.339101105928421, 1.2891689538955688, -0.011540385894477367, 0.5782210230827332, -2.149686098098755, 2.122562885284424, -0.18828655779361725, 0.8960185647010803, -0.16643579304218292, 0.03984489291906357, 1.0886240005493164, 0.4043998718261719, 0.5693185329437256, -0.9823763370513916, 0.6363771557807922, -0.528009295463562, 1.2669970989227295, 1.1778184175491333, -0.7591665983200073, 0.10964135080575943, 1.309144377708435, 0.3130466938018799, -0.778901994228363, -1.000107765197754, -0.7711769938468933, 0.8872310519218445, 1.6877541542053223, -0.29491499066352844, -0.0991649478673935, 0.8022366166114807, 0.5728166103363037, -1.265399694442749, -0.03492758795619011, -0.5154321789741516, -0.48732197284698486, 1.8419675827026367, 1.949922800064087, -0.431148499250412, -0.006099240854382515, -0.7516928315162659, -1.4130616188049316, 0.5037228465080261, 0.058855414390563965, -0.02452569454908371, 0.828091561794281, -0.6344006061553955, 0.9524558186531067, 0.5469682216644287, 0.7971580624580383, 0.030247028917074203, 0.4036940634250641, 0.5409858226776123, -0.5384847521781921, -1.0563716888427734, -0.3566909432411194, -1.2628997564315796, -2.563161611557007, 0.3332246243953705, -0.0733586773276329, -1.3631354570388794, 0.014245745725929737, -0.8310990929603577, 1.2790063619613647, -0.4733262360095978, -1.2790429592132568, -1.2509949207305908, 0.35180145502090454, 0.015193969942629337, 0.8213858604431152, -1.813714861869812, -0.015657909214496613, 1.3302704095840454, 0.997410237789154, -0.7177996039390564, 1.1011804342269897, 0.39600738883018494, 1.0508878231048584, 0.5755365490913391, -0.3178967535495758, 0.6093693971633911, -0.2129320353269577, -1.2383744716644287, 0.5110681056976318, 1.2370848655700684, 0.09634007513523102, 1.152432918548584, -0.3612753450870514, -0.1779218316078186, 0.4082956910133362, -0.6729444265365601, -0.4719119071960449, -0.24958187341690063, 0.4778248965740204, -0.039050083607435226, -0.7081828713417053, 0.029963716864585876, 0.19738136231899261, -0.29983335733413696, 0.17481741309165955, -1.5490351915359497, -0.4106535315513611, -0.46562623977661133, -0.29780277609825134, -1.3555488586425781, -0.09048062562942505, 1.335760235786438, -0.4628560543060303, -0.4228963851928711, 0.6525279879570007, 0.32848548889160156, 0.4407147169113159, 0.4868685007095337, -0.714181661605835, -0.34848564863204956, -0.1564399152994156, -0.3363384008407593, 0.17016665637493134, 1.3506712913513184, -0.19225090742111206, -1.0942139625549316, 0.6357775926589966, -0.36980322003364563, -0.022719096392393112, 1.6484277248382568, -0.1037810817360878, -0.9329843521118164, 0.1790616810321808, -0.7961417436599731, 1.9775043725967407, 1.6337788105010986, 1.1789286136627197, -0.35241079330444336, -0.7009570598602295, 0.6957951784133911, -0.3259630501270294, -0.3923284113407135, 0.7332622408866882, 0.42915239930152893, -0.224575012922287, -1.3824266195297241, 0.7093104720115662, 1.1867185831069946, -0.7797250151634216, -0.8439600467681885, 0.26737284660339355, -0.6943417191505432, 1.2399239540100098, 0.6592659950256348, 0.4531075954437256, 0.13094617426395416, 1.7548598051071167, 0.7941632866859436, -0.5950822234153748, 0.6520259380340576, 0.5931746363639832, -0.28991925716400146, -2.0860366821289062, -1.3114356994628906, -0.002550669014453888, -0.4889620542526245, -1.7073007822036743, 1.3365888595581055, -0.9925873875617981, -0.8286249041557312, 0.6189475059509277, 0.14408406615257263, 1.2108662128448486, 0.5647031664848328, 1.2791601419448853, 1.9419465065002441, 0.5948565602302551, 0.6164227724075317, 1.2442716360092163, -0.23725749552249908, -0.5848944783210754, 1.972078561782837, -0.3606222867965698, 0.660681962966919, 1.1976426839828491, -0.29372599720954895, -1.1006871461868286, -0.6337092518806458, -1.2313441038131714, -0.5353881120681763, 1.1440192461013794, 0.05255630612373352, -1.1811187267303467, 0.2995511591434479, 1.571570873260498, 0.06683764606714249, -0.5180875658988953, 0.798693060874939, 0.4582843482494354, -0.8851976990699768, -0.030381541699171066, -0.9190329909324646, 0.4334263503551483, -0.3267189860343933, -0.06322193890810013, 0.4476262629032135, 0.43171340227127075, 1.4338191747665405, 0.012583122588694096, 0.23391757905483246, 1.0440349578857422, -1.3743629455566406, 1.5176312923431396, -0.7805106043815613, 0.35972943902015686, -2.4279305934906006, 1.1602180004119873, -0.6439932584762573, 2.1486775875091553, -2.6715171337127686, 0.3761288821697235, -0.6422303318977356, -0.501527726650238, 0.2375909984111786, -0.296693354845047, -0.05052710324525833, 0.0436658151447773, -1.0599322319030762, 0.17891287803649902, -0.624413251876831, 0.3750452697277069, 1.2529834508895874, 1.385894536972046, -1.0226709842681885, -0.1098131313920021, -1.725078821182251, -0.17201292514801025, -0.8347159028053284, 0.37547171115875244, -2.1625378131866455, -0.32519280910491943, -1.8043479919433594, -2.145068883895874, -1.2318477630615234, -0.8942782878875732, 1.2794997692108154, -0.02968806028366089, -0.953691303730011, 1.4976506233215332, -0.1615084558725357, -1.7523695230484009, 1.01543390750885, -1.8994475603103638 ]
https://github.com/huggingface/datasets/issues/4007
set_format does not work with multi dimension tensor
Hi! Use the `ArrayXD` feature type (where X is the number of dimensions) to get correctly formated tensors. So in your case, define the dataset as follows : ```python ds = Dataset.from_dict({"A": [torch.rand((2, 2))]}, features=Features({"A": Array2D(shape=(2, 2), dtype="float32")})) ```
## Describe the bug set_format only transforms the last dimension of a multi-dimension list to tensor ## Steps to reproduce the bug ```python import torch from datasets import Dataset ds = Dataset.from_dict({"A": [torch.rand((2, 2))]}) # ds = Dataset.from_dict({"A": [np.random.rand(2, 2)]}) # => same result ds = ds.with_format("torch") print(ds[0]) ``` ## Expected results ``` {'A': [tensor([[0.6689, 0.1516], [0.1403, 0.5567]])]} ``` ## Actual results ``` {'A': [tensor([0.6689, 0.1516]), tensor([0.1403, 0.5567])]} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - datasets version: 2.0.0 - Platform: Mac OSX - Python version: 3.8.12 - PyArrow version: 7.0.0
856
39
set_format does not work with multi dimension tensor ## Describe the bug set_format only transforms the last dimension of a multi-dimension list to tensor ## Steps to reproduce the bug ```python import torch from datasets import Dataset ds = Dataset.from_dict({"A": [torch.rand((2, 2))]}) # ds = Dataset.from_dict({"A": [np.random.rand(2, 2)]}) # => same result ds = ds.with_format("torch") print(ds[0]) ``` ## Expected results ``` {'A': [tensor([[0.6689, 0.1516], [0.1403, 0.5567]])]} ``` ## Actual results ``` {'A': [tensor([0.6689, 0.1516]), tensor([0.1403, 0.5567])]} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - datasets version: 2.0.0 - Platform: Mac OSX - Python version: 3.8.12 - PyArrow version: 7.0.0 Hi! Use the `ArrayXD` feature type (where X is the number of dimensions) to get correctly formated tensors. So in your case, define the dataset as follows : ```python ds = Dataset.from_dict({"A": [torch.rand((2, 2))]}, features=Features({"A": Array2D(shape=(2, 2), dtype="float32")})) ```
[ -1.2101091146469116, -0.8243511915206909, -0.7329825758934021, 1.5566942691802979, -0.20357920229434967, -1.2263994216918945, 0.1462882161140442, -1.0444034337997437, 1.722981572151184, -0.8087265491485596, 0.4022553563117981, -1.711504578590393, 0.12709467113018036, -0.662743330001831, -0.7958141565322876, -0.8643991947174072, -0.4463871717453003, -0.639557421207428, 1.0864917039871216, 2.504486560821533, 1.2260671854019165, -1.3851968050003052, 2.586470127105713, 0.7946814894676208, -0.20311574637889862, -0.9023140668869019, 0.48276206851005554, -0.01344581414014101, -1.4169143438339233, -0.3803720474243164, -0.991694450378418, -0.12184857577085495, -0.4780029356479645, -0.6379290223121643, -0.07935125380754471, 0.4171072244644165, -0.3302241563796997, -0.5259290337562561, -0.4178619980812073, -0.9056421518325806, 0.3958381116390228, -0.3741476833820343, 0.8896860480308533, -0.28060847520828247, 1.7872631549835205, -0.621715784072876, 0.47165852785110474, 0.61604243516922, 1.3550182580947876, 0.19781775772571564, -0.020136866718530655, 0.4915459156036377, 0.363694429397583, -0.02743900939822197, 0.5699077248573303, 1.2097694873809814, 0.7007469534873962, 0.4691920876502991, 0.8476904034614563, -2.2498538494110107, 1.243167757987976, -1.0691871643066406, 0.3200191259384155, 1.2865362167358398, -1.0375632047653198, 0.2606182396411896, -1.6585849523544312, -0.12218204140663147, 0.5692188739776611, -2.282701253890991, 0.2984989285469055, -1.4230269193649292, -0.5236492156982422, 1.018207311630249, 0.4512718617916107, -1.2255138158798218, 0.03442227840423584, -0.3483423590660095, 0.9241943955421448, 0.3393115699291229, 1.0641608238220215, -1.7011579275131226, -0.014006009325385094, -0.40578189492225647, 0.1956985592842102, -1.253429651260376, -1.494444489479065, 0.5585648417472839, 0.6466432809829712, 0.6084153056144714, -0.16827069222927094, 1.072691559791565, -1.0433543920516968, 0.7334381341934204, -1.0194501876831055, -1.842118501663208, -1.4291802644729614, -2.2799015045166016, -2.197613000869751, 0.7492136359214783, -0.4092002809047699, -0.5790134072303772, 2.125767230987549, -1.0078272819519043, -1.7327392101287842, 1.0781725645065308, 0.3341895341873169, -0.1549048125743866, 2.380809783935547, 0.08730163425207138, -0.7632321119308472, 0.5528351664543152, -0.8726494908332825, 0.7241796255111694, -0.37108418345451355, 1.3110127449035645, 0.43377044796943665, -1.1106398105621338, 1.6284247636795044, -0.2622970938682556, 0.5190401673316956, -0.7113736867904663, -0.4601951241493225, -0.6534688472747803, 0.2522674798965454, 1.904602289199829, -0.2622254490852356, 1.5333832502365112, -0.2506328225135803, -1.5145752429962158, -1.5884978771209717, 0.8874443769454956, 0.4598432183265686, -0.7301657795906067, 0.18931499123573303, -0.38529613614082336, 0.19446419179439545, -0.009706331416964531, 1.2174428701400757, 1.3112815618515015, 0.6918583512306213, -0.2272217571735382, -0.8723843693733215, 0.1619882881641388, 0.0010601775720715523, -0.7796878218650818, -1.657450556755066, -0.37605124711990356, 0.08824183791875839, 0.610403835773468, -1.1779690980911255, 1.8120150566101074, 0.7768288254737854, 1.852197527885437, 1.0825611352920532, -0.3341063857078552, 1.566792368888855, 0.11795536428689957, 1.7856590747833252, -0.46533843874931335, 0.7114073634147644, -0.4714639484882355, -1.2122951745986938, 0.8978965878486633, -0.31056588888168335, -2.0189549922943115, -0.6784688234329224, -0.769760251045227, -0.14701120555400848, -0.8554386496543884, 1.0313843488693237, -0.32980623841285706, -1.3913663625717163, 0.3148026168346405, -0.8288670182228088, 0.10283651202917099, -1.2592720985412598, 0.33984875679016113, 0.7761284112930298, -0.5478602051734924, 0.1299159973859787, -0.24749216437339783, -1.2776222229003906, -0.4260498583316803, 0.29492804408073425, 1.8822505474090576, -0.8037359118461609, 0.9674236178398132, 1.0414419174194336, -0.656951367855072, -0.10101146996021271, 0.30606815218925476, -0.29328832030296326, 0.9543747901916504, -0.9876759648323059, -0.4300425052642822, 1.1849915981292725, -0.12023670226335526, -0.6270661354064941, 1.453165054321289, 0.6851133108139038, -0.9292284846305847, -0.23574277758598328, -0.02720518782734871, -0.8128541111946106, 0.06740326434373856, -1.6257452964782715, -0.1380244940519333, 0.551579475402832, -1.6258833408355713, -0.4909312129020691, -0.09042526036500931, 1.3001580238342285, -0.1898355782032013, 1.3743895292282104, -0.2987934648990631, -0.17465545237064362, -0.4173624813556671, -0.3219544291496277, 0.08771155774593353, -0.14290304481983185, -0.6340903043746948, 0.22274884581565857, -0.657753050327301, 0.4302879869937897, 1.3186520338058472, 0.2696174085140228, 0.13813814520835876, 0.5700905323028564, 1.1414717435836792, 0.33625343441963196, -0.11324568092823029, -0.8583554625511169, -1.6615036725997925, 2.0134499073028564, -1.4327266216278076, 2.0125834941864014, 0.7510727643966675, -0.05656522884964943, -1.761947512626648, -1.9774036407470703, 1.4674568176269531, 1.142508625984192, 2.2659823894500732, 0.6195093989372253, 0.4840116500854492, -0.7995355129241943, -0.5814815163612366, 0.28416430950164795, -1.023315668106079, -0.8060492873191833, 0.17329904437065125, 2.434842824935913, 1.7322756052017212, -0.3153405487537384, -0.2017745077610016, -1.0817949771881104, 1.4508498907089233, -0.22850945591926575, 0.16755853593349457, 1.849050760269165, -0.23303057253360748, -1.0666218996047974, 1.2276537418365479, -2.3010618686676025, 0.03323395550251007, 2.0254924297332764, 0.22668024897575378, 0.007528743706643581, -1.2757797241210938, -0.6964846849441528, -0.2549644708633423, -0.5754157900810242, -1.251065969467163, 0.48880356550216675, -0.21525007486343384, -0.7501075863838196, -1.4105854034423828, 0.1693796068429947, -1.033671498298645, -1.6339433193206787, 0.15167492628097534, 1.8567476272583008, 1.9459515810012817, -0.7479860782623291, 1.6115978956222534, -0.28491026163101196, 0.24297592043876648, 1.225297212600708, 1.2476519346237183, 3.1247313022613525, 1.9696108102798462, -1.2415971755981445, 0.6316090226173401, -0.08432597666978836, -0.4826388359069824, 1.3162883520126343, -1.3815754652023315, 1.348924994468689, -0.11626069992780685, -1.315562129020691, -1.2327823638916016, 0.8856363296508789, 0.4285840094089508, 0.07758056372404099, -0.4852999746799469, 1.1591887474060059, 0.0836651474237442, 1.22381591796875, 0.549869954586029, -0.1727900356054306, 0.6115468144416809, -0.4609580338001251, -0.448227196931839, 1.5858581066131592, 0.19097967445850372, -1.361763596534729, -2.3512444496154785, -0.1191505566239357, -0.8982763290405273, 0.10597684234380722, -0.6673818826675415, -1.018611192703247, 1.735687494277954, 0.33141109347343445, -1.208188533782959, -0.17087969183921814, -0.3843395411968231, -0.6160184741020203, 2.821448564529419, -1.4033613204956055, -0.29538199305534363, -1.0859187841415405, -0.7372297048568726, 1.6798232793807983, -1.1423150300979614, -0.16111722588539124, -0.9950227737426758, -0.45933225750923157, -1.2709965705871582, -0.5776868462562561, -0.07120601832866669, -0.9642528295516968, 0.7809572219848633, 0.12120024114847183, -1.2376245260238647, -0.3732697665691376, -0.9220090508460999, 0.8626163005828857, -0.1589304357767105, 0.17259712517261505, 1.9293005466461182, 0.3932938575744629, -0.35005953907966614, 0.7471021413803101, 1.1803807020187378, 0.6947126388549805, -0.5673402547836304, 0.3810633718967438, -0.5563105940818787, 0.3786570429801941, -1.2782152891159058, 0.25584158301353455, -2.71833872795105, 0.5678844451904297, -0.0050729201175272465, -0.027197834104299545, -0.0021234219893813133, -1.3018490076065063, 1.1019127368927002, 2.55513334274292, -1.2115041017532349, 0.4246135652065277, 0.21472607553005219, 1.1513320207595825, -1.606526255607605, 0.20531406998634338, -0.5098714828491211, 2.19869065284729, 0.19142429530620575, 1.1658823490142822, -0.3101026117801666, -2.37007737159729, 0.6498312950134277, -1.2987879514694214, -1.1745549440383911, 0.7643824219703674, -0.9033654928207397, 0.11957866698503494, -1.289458990097046, -0.24968671798706055, -0.7771140336990356, -1.042412281036377, 0.6438111066818237, 0.04891373589634895, 0.5097373127937317, -0.6153806447982788, 0.2933283746242523, -2.2340619564056396, -1.3591129779815674, -0.1706240028142929, -0.9724081158638, 0.5053683519363403, -0.3030123710632324, 0.6869531273841858, -0.22173453867435455, -0.02257908508181572, 0.32763439416885376, 1.4951955080032349, 3.3497438430786133, 0.18410739302635193, 0.39366820454597473, -0.19660237431526184, -0.9274427890777588, 1.3933415412902832, 0.916541576385498, -0.1631702482700348, -0.6186684370040894, -1.0183836221694946, 1.2520641088485718, 1.8721654415130615, 0.9945777058601379, -0.009074792265892029, -0.7512537240982056, -0.7600704431533813, -0.023736918345093727, 0.2124781459569931, 0.4082670509815216, 0.8490676283836365, 0.20173749327659607, 0.09179124236106873, 1.4127534627914429, 1.1098637580871582, -0.39750906825065613, 0.33996474742889404, -0.8230041861534119, -0.4478791356086731, 0.5314189195632935, 0.2929287552833557, -0.04780706390738487, 0.36093154549598694, -1.0216172933578491, -0.27716147899627686, -0.3866319954395294, -0.8887571692466736, -0.7390066385269165, -0.3257080018520355, -0.32260608673095703, 1.7106289863586426, 0.0009425748139619827, -0.561177670955658, -0.10133454948663712, -0.8239532113075256, -0.046875517815351486, -1.0063575506210327, 0.27768394351005554, -0.16514703631401062, -0.08011837303638458, -0.1649760603904724, 1.7283172607421875, -0.9695084691047668, -2.0227508544921875, 0.20852750539779663, 0.15989339351654053, -0.30512571334838867, 0.23961524665355682, 1.6083049774169922, 0.598676860332489, 1.4610822200775146, 1.3723416328430176, 0.9341257214546204, -0.6258463859558105, -1.356335997581482, 0.6686713695526123, 1.0162254571914673, -1.3047137260437012, 0.7924367189407349, 0.07359170913696289, -0.5285083651542664, 0.4784420430660248, 1.2102456092834473, 0.5556542873382568, -2.013127326965332, 0.6954812407493591, -1.003493070602417, 0.822027325630188, 0.689238965511322, 0.6640124320983887, 0.21576590836048126, 0.7338827848434448, -1.2665809392929077, -1.1267340183258057, -0.6236366033554077, -0.7245538830757141, 1.9396169185638428, -0.3568817377090454, 0.694530189037323, -0.22551333904266357, -1.3885314464569092, -0.05387480929493904, 0.6237955689430237, 0.32511094212532043, -0.5627284049987793, 0.8546931743621826, -0.5714558362960815, -1.1140978336334229, -1.3805928230285645, -0.5175896883010864, -0.9926775693893433, -0.9007888436317444, 1.0843205451965332, 0.7910210490226746, 0.24678057432174683, 1.9502331018447876, 0.6705911159515381, 0.13225947320461273, -2.612804889678955, 0.8287888169288635, 0.2589612305164337, -0.08110718429088593, 0.8122854828834534, 0.3185000717639923, 0.9605212807655334, -0.11334405839443207, 0.5286813974380493, -2.376835823059082, 2.2863574028015137, -0.19780167937278748, 0.7164932489395142, 0.012817244045436382, -0.03876057639718056, 1.0079797506332397, 0.5257121920585632, 0.5372878313064575, -1.010124683380127, 0.5726715326309204, -0.6147299408912659, 1.3463919162750244, 0.8223376274108887, -0.7815020084381104, -0.08927774429321289, 1.3608752489089966, 0.46540945768356323, -0.499550998210907, -0.9738883972167969, -1.025986671447754, 0.9233570098876953, 1.7329515218734741, 0.035499025136232376, 0.018133562058210373, 0.8705312013626099, 0.6674165725708008, -1.3329497575759888, 0.05386829003691673, -0.7371456027030945, -0.7328367233276367, 1.7001628875732422, 2.1422669887542725, -0.17142954468727112, -0.2372790277004242, -0.7507451176643372, -1.2116684913635254, 0.8774303793907166, -0.029814016073942184, 0.009416443295776844, 0.7069294452667236, -0.5837773680686951, 1.0673000812530518, 0.9792868494987488, 0.9032648205757141, 0.3669535517692566, 0.21940185129642487, 0.2914063334465027, -0.28843769431114197, -1.1812776327133179, -0.19471488893032074, -0.9325829148292542, -2.5765843391418457, 0.3778565526008606, -0.23418472707271576, -1.3622814416885376, 0.04470290243625641, -1.1321101188659668, 0.880088210105896, -0.5506179928779602, -1.0283609628677368, -1.4727400541305542, 0.1633584201335907, 0.043591201305389404, 0.9364556074142456, -1.5024588108062744, -0.06175217777490616, 1.2456581592559814, 0.9837512969970703, -0.7549854516983032, 0.9162731766700745, 0.22877606749534607, 1.0687507390975952, 0.9570266604423523, -0.3747726380825043, 0.5323302745819092, 0.034844689071178436, -1.3695074319839478, 0.540719211101532, 1.2380805015563965, 0.09742289781570435, 1.568319320678711, -0.5682353973388672, -0.1529182344675064, 0.394072026014328, -0.4612830877304077, -0.39930260181427, -0.6844392418861389, 0.5824574828147888, 0.1308060735464096, -0.8612736463546753, -0.041043080389499664, 0.12212534993886948, -0.23199914395809174, 0.2222011834383011, -1.5007952451705933, -0.009021101519465446, -0.31285130977630615, -0.7681776285171509, -1.2263281345367432, -0.13351646065711975, 1.3520292043685913, -0.8417524099349976, -0.06566976010799408, 0.48176276683807373, 0.20732593536376953, 0.46386146545410156, 0.650095522403717, -0.6141663789749146, -0.4195367097854614, -0.1625494509935379, -0.4222317337989807, 0.3771757483482361, 1.3624340295791626, -0.1081719920039177, -0.9659857153892517, 0.7086328864097595, -0.26740357279777527, 0.1132768765091896, 1.9139710664749146, 0.02597878873348236, -0.8142440915107727, 0.2987680733203888, -0.6598654985427856, 1.9488133192062378, 1.6833722591400146, 1.3189611434936523, -0.14130899310112, -1.0081901550292969, 0.6673281192779541, -0.35850048065185547, -0.4650854468345642, 0.7802643775939941, 0.25684693455696106, -0.22860367596149445, -1.3213125467300415, 0.7526241540908813, 1.2766212224960327, -0.9372162818908691, -0.886785089969635, 0.1667063683271408, -0.8209565877914429, 1.0496944189071655, 0.6966110467910767, 0.3523238003253937, 0.3600256145000458, 1.6161575317382812, 0.845622181892395, -0.4237681031227112, 0.5035975575447083, 0.5452696681022644, -0.04102247580885887, -2.100165843963623, -1.0899590253829956, 0.30763089656829834, -0.5783569812774658, -1.6682324409484863, 1.3394757509231567, -1.1932687759399414, -0.9028090238571167, 0.5801591277122498, 0.08331842720508575, 1.4696557521820068, 0.3164424002170563, 1.5539031028747559, 2.064149856567383, 0.8485497832298279, 0.3710644245147705, 1.212838053703308, -0.20149552822113037, -0.4228702783584595, 1.6477322578430176, -0.5099846720695496, 0.554009199142456, 1.0791096687316895, -0.2245405614376068, -1.058432698249817, -0.7700799107551575, -1.3977729082107544, -0.7874718308448792, 1.135376214981079, 0.09112303704023361, -1.148910403251648, 0.29436472058296204, 1.508760929107666, 0.0021696677431464195, -0.24001222848892212, 0.5935490131378174, 0.40155404806137085, -0.9498131275177002, -0.1283586025238037, -0.8829565644264221, 0.5812427401542664, -0.17761367559432983, -0.382400244474411, 0.37149959802627563, 0.43407881259918213, 1.3565012216567993, 0.051683347672224045, 0.13288824260234833, 1.20522141456604, -1.463043451309204, 1.5598396062850952, -0.7933196425437927, 0.1954089254140854, -2.2833662033081055, 1.421067237854004, -0.791167140007019, 1.9205049276351929, -2.784475564956665, 0.5070630311965942, -0.48623183369636536, -0.42200687527656555, 0.304351806640625, -0.31301018595695496, 0.18668770790100098, -0.17828121781349182, -1.142029047012329, -0.13423863053321838, -0.6682578921318054, 0.45775729417800903, 1.0612139701843262, 1.3793400526046753, -1.1059097051620483, -0.3226798474788666, -1.737960696220398, -0.11476077139377594, -0.5975915193557739, 0.2649097442626953, -1.9394108057022095, -0.16148000955581665, -1.90375554561615, -2.5180537700653076, -1.2054295539855957, -0.7724092602729797, 1.1301229000091553, 0.01977991685271263, -0.8295936584472656, 1.1732972860336304, -0.41657182574272156, -1.7959150075912476, 1.1544016599655151, -2.1464829444885254 ]
https://github.com/huggingface/datasets/issues/4007
set_format does not work with multi dimension tensor
Hi @mariosasko I'm facing the same issue and the only work around I've found so far is to convert my `DatasetDict` to a dictionary and then create new objects with `Dataset.from_dict`. ``` dataset = load_dataset("my_dataset.py") dataset = dataset.map(lambda example: blabla(example)) dict_dataset_test = dataset["test"].to_dict() ... dataset_test = Dataset.from_dict(dict_dataset_test, features=Features(features)) ``` However, converting a `Dataset` object to a dict takes quite a lot of time and memory... Is there a way to directly create an `Array2D` without having to transform the original `Dataset` to a dict?
## Describe the bug set_format only transforms the last dimension of a multi-dimension list to tensor ## Steps to reproduce the bug ```python import torch from datasets import Dataset ds = Dataset.from_dict({"A": [torch.rand((2, 2))]}) # ds = Dataset.from_dict({"A": [np.random.rand(2, 2)]}) # => same result ds = ds.with_format("torch") print(ds[0]) ``` ## Expected results ``` {'A': [tensor([[0.6689, 0.1516], [0.1403, 0.5567]])]} ``` ## Actual results ``` {'A': [tensor([0.6689, 0.1516]), tensor([0.1403, 0.5567])]} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - datasets version: 2.0.0 - Platform: Mac OSX - Python version: 3.8.12 - PyArrow version: 7.0.0
856
84
set_format does not work with multi dimension tensor ## Describe the bug set_format only transforms the last dimension of a multi-dimension list to tensor ## Steps to reproduce the bug ```python import torch from datasets import Dataset ds = Dataset.from_dict({"A": [torch.rand((2, 2))]}) # ds = Dataset.from_dict({"A": [np.random.rand(2, 2)]}) # => same result ds = ds.with_format("torch") print(ds[0]) ``` ## Expected results ``` {'A': [tensor([[0.6689, 0.1516], [0.1403, 0.5567]])]} ``` ## Actual results ``` {'A': [tensor([0.6689, 0.1516]), tensor([0.1403, 0.5567])]} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - datasets version: 2.0.0 - Platform: Mac OSX - Python version: 3.8.12 - PyArrow version: 7.0.0 Hi @mariosasko I'm facing the same issue and the only work around I've found so far is to convert my `DatasetDict` to a dictionary and then create new objects with `Dataset.from_dict`. ``` dataset = load_dataset("my_dataset.py") dataset = dataset.map(lambda example: blabla(example)) dict_dataset_test = dataset["test"].to_dict() ... dataset_test = Dataset.from_dict(dict_dataset_test, features=Features(features)) ``` However, converting a `Dataset` object to a dict takes quite a lot of time and memory... Is there a way to directly create an `Array2D` without having to transform the original `Dataset` to a dict?
[ -1.1924675703048706, -0.8684142231941223, -0.6767588257789612, 1.4821269512176514, -0.16804175078868866, -1.2439532279968262, 0.16904319822788239, -1.085084080696106, 1.7902848720550537, -0.8557103872299194, 0.30839845538139343, -1.6847455501556396, 0.08521512150764465, -0.6187440752983093, -0.7506296038627625, -0.887657105922699, -0.4435777962207794, -0.6520763039588928, 1.0679118633270264, 2.4573705196380615, 1.1828043460845947, -1.3536638021469116, 2.615612745285034, 0.8268247246742249, -0.20913292467594147, -0.9439249634742737, 0.4706936478614807, -0.011853484436869621, -1.435130000114441, -0.339949369430542, -0.953572154045105, -0.08667543530464172, -0.5273618102073669, -0.6401965022087097, -0.06815263628959656, 0.43145492672920227, -0.3260672688484192, -0.5778698325157166, -0.450827956199646, -0.838352382183075, 0.4135097861289978, -0.3972243666648865, 0.8843148946762085, -0.27667561173439026, 1.793883204460144, -0.6395313143730164, 0.4997096061706543, 0.6802439093589783, 1.3420531749725342, 0.16605639457702637, -0.02260945551097393, 0.41083547472953796, 0.40005120635032654, 0.005805986002087593, 0.5048481225967407, 1.2035943269729614, 0.6521050333976746, 0.5057917833328247, 0.8306657671928406, -2.2987875938415527, 1.2890530824661255, -0.9944980144500732, 0.3743639588356018, 1.2399179935455322, -0.9599930047988892, 0.293856143951416, -1.683811902999878, -0.06998993456363678, 0.5639520883560181, -2.23325777053833, 0.27063098549842834, -1.4510655403137207, -0.5610523223876953, 0.9620230197906494, 0.46377140283584595, -1.1214814186096191, 0.10279938578605652, -0.36749422550201416, 0.9470731019973755, 0.41197362542152405, 1.0587817430496216, -1.7077831029891968, -0.07283216714859009, -0.3931300938129425, 0.20752765238285065, -1.2551573514938354, -1.5582622289657593, 0.573015570640564, 0.7195888161659241, 0.6624638438224792, -0.19419722259044647, 1.0386039018630981, -1.0190279483795166, 0.703165590763092, -1.0523918867111206, -1.8341623544692993, -1.3928885459899902, -2.1968655586242676, -2.2600412368774414, 0.7249223589897156, -0.4169605076313019, -0.5467177629470825, 2.103337526321411, -1.015901803970337, -1.7770463228225708, 1.1040946245193481, 0.27350273728370667, -0.12747631967067719, 2.356797933578491, 0.079557403922081, -0.7106844186782837, 0.5201565027236938, -0.833838701248169, 0.711030125617981, -0.3317447304725647, 1.2920082807540894, 0.40711116790771484, -1.0696433782577515, 1.5941113233566284, -0.26840347051620483, 0.6010104417800903, -0.7203478217124939, -0.4558504521846771, -0.6860473155975342, 0.24241536855697632, 1.831032156944275, -0.2906821370124817, 1.562132716178894, -0.31337860226631165, -1.5394169092178345, -1.6260590553283691, 0.8933838605880737, 0.46549496054649353, -0.6917321681976318, 0.13703006505966187, -0.47329777479171753, 0.15005579590797424, -0.027171771973371506, 1.1943397521972656, 1.2858688831329346, 0.775724470615387, -0.26534566283226013, -0.8085978031158447, 0.15083900094032288, 0.0037771733477711678, -0.7926909327507019, -1.7101597785949707, -0.36979469656944275, 0.14859230816364288, 0.5791231393814087, -1.1167364120483398, 1.772236704826355, 0.8055673837661743, 1.908116102218628, 1.0679258108139038, -0.3551064729690552, 1.4854497909545898, 0.10048575699329376, 1.7928409576416016, -0.45955342054367065, 0.7118087410926819, -0.4083224833011627, -1.1323049068450928, 0.8631823062896729, -0.2719995975494385, -2.077144145965576, -0.7240094542503357, -0.7525725960731506, -0.14628475904464722, -0.7960855960845947, 0.9687870740890503, -0.32763445377349854, -1.4463492631912231, 0.20734217762947083, -0.7622423768043518, 0.12558194994926453, -1.2049906253814697, 0.2980916202068329, 0.7759420275688171, -0.5847184062004089, 0.12604814767837524, -0.235820010304451, -1.3169267177581787, -0.40706974267959595, 0.3481960594654083, 1.8396458625793457, -0.7953199744224548, 0.8944767117500305, 1.0821582078933716, -0.6741557717323303, -0.04665825888514519, 0.2876220643520355, -0.25890079140663147, 0.8613216280937195, -0.980207085609436, -0.3633827567100525, 1.2304930686950684, -0.11971952021121979, -0.6569609642028809, 1.5264599323272705, 0.7055858969688416, -0.914764940738678, -0.1659841686487198, -0.07432660460472107, -0.8297384977340698, 0.037829991430044174, -1.6343772411346436, -0.11508819460868835, 0.5070307850837708, -1.5887473821640015, -0.4521341323852539, -0.20703089237213135, 1.2531331777572632, -0.1730341911315918, 1.335445761680603, -0.3197053074836731, -0.2071237862110138, -0.40515655279159546, -0.2956964075565338, 0.11821006238460541, -0.1827671080827713, -0.6388135552406311, 0.18573783338069916, -0.704116702079773, 0.4238370954990387, 1.3958330154418945, 0.31094133853912354, 0.1501179337501526, 0.5277777910232544, 1.140467643737793, 0.3172589838504791, -0.13604053854942322, -0.8245353698730469, -1.6569379568099976, 1.9862298965454102, -1.4229106903076172, 1.977579116821289, 0.6954919099807739, -0.07084357738494873, -1.8406543731689453, -1.9505881071090698, 1.3819602727890015, 1.1269361972808838, 2.3374435901641846, 0.5601992607116699, 0.42080268263816833, -0.8184636831283569, -0.6338126063346863, 0.26460346579551697, -0.9821264147758484, -0.7704716324806213, 0.1744285225868225, 2.379446506500244, 1.75495183467865, -0.364166796207428, -0.2144964635372162, -1.1140005588531494, 1.4529258012771606, -0.23062734305858612, 0.24804046750068665, 1.8925052881240845, -0.28264668583869934, -1.032606840133667, 1.3149998188018799, -2.2606966495513916, 0.08559326827526093, 1.9613722562789917, 0.1385631114244461, 0.005267741158604622, -1.255606770515442, -0.6532456874847412, -0.303050696849823, -0.5191380381584167, -1.2820078134536743, 0.4780052900314331, -0.2252935916185379, -0.7327799201011658, -1.4343624114990234, 0.17781227827072144, -1.045395851135254, -1.638414740562439, 0.17198362946510315, 1.8967704772949219, 1.8826545476913452, -0.7148441672325134, 1.5605082511901855, -0.294391006231308, 0.23024506866931915, 1.2122608423233032, 1.2112945318222046, 3.1068100929260254, 1.964097499847412, -1.2697365283966064, 0.6713120341300964, -0.11609725654125214, -0.5213326215744019, 1.261510968208313, -1.3693662881851196, 1.313597559928894, -0.1939316838979721, -1.2344971895217896, -1.23558509349823, 0.9521339535713196, 0.43687698245048523, 0.14525607228279114, -0.479582279920578, 1.1604413986206055, 0.022821418941020966, 1.2778335809707642, 0.593824565410614, -0.2692134380340576, 0.642889142036438, -0.4367360770702362, -0.527332067489624, 1.5323518514633179, 0.2389286905527115, -1.3239461183547974, -2.3182554244995117, -0.20613667368888855, -0.8848628401756287, 0.09751591086387634, -0.60442054271698, -1.0043776035308838, 1.713065505027771, 0.3605496287345886, -1.2726287841796875, -0.15347833931446075, -0.2831382751464844, -0.5692660808563232, 2.82499361038208, -1.3538681268692017, -0.2597449719905853, -1.0498844385147095, -0.6856650114059448, 1.7208842039108276, -1.1154135465621948, -0.1666310578584671, -1.026631236076355, -0.466490238904953, -1.3153775930404663, -0.5429558753967285, -0.04685867577791214, -0.9698628783226013, 0.8770328164100647, 0.13132736086845398, -1.2044700384140015, -0.37470585107803345, -0.8934856653213501, 0.9479732513427734, -0.18932193517684937, 0.165897399187088, 1.930543065071106, 0.4345099627971649, -0.3570578694343567, 0.7315437197685242, 1.1466951370239258, 0.6859928965568542, -0.6261441707611084, 0.32861602306365967, -0.6527948379516602, 0.3253662884235382, -1.316360354423523, 0.27011531591415405, -2.737657070159912, 0.6111893653869629, -0.0315612256526947, -0.06463618576526642, -0.02032853290438652, -1.3869496583938599, 1.0336636304855347, 2.618652105331421, -1.2389785051345825, 0.43861886858940125, 0.2530498504638672, 1.1997270584106445, -1.5409929752349854, 0.2562217116355896, -0.5130955576896667, 2.1528403759002686, 0.2349403202533722, 1.2003223896026611, -0.33343517780303955, -2.3483314514160156, 0.6421297192573547, -1.2832379341125488, -1.200638771057129, 0.7859629392623901, -0.9324128031730652, 0.11477415263652802, -1.332196593284607, -0.2743713855743408, -0.8138051629066467, -1.0513157844543457, 0.6192061901092529, 0.08403515815734863, 0.5273397564888, -0.6826207637786865, 0.3200719654560089, -2.2214157581329346, -1.3786931037902832, -0.24824608862400055, -0.9344900846481323, 0.5332273244857788, -0.2897475063800812, 0.6527198553085327, -0.180327370762825, -0.0016544274985790253, 0.3423677086830139, 1.5066804885864258, 3.3279547691345215, 0.2406649887561798, 0.3199131488800049, -0.17542582750320435, -0.9256711006164551, 1.3515533208847046, 0.9026777744293213, -0.10371854901313782, -0.5891947150230408, -1.03122878074646, 1.202123761177063, 1.9179116487503052, 1.0238702297210693, -0.05957421287894249, -0.7125925421714783, -0.7589371204376221, 0.0248672217130661, 0.22173205018043518, 0.38520151376724243, 0.8599984645843506, 0.23034994304180145, 0.14277319610118866, 1.4448826313018799, 1.1787129640579224, -0.41042640805244446, 0.3758990168571472, -0.8355351090431213, -0.484311580657959, 0.5299687385559082, 0.2821178436279297, -0.05633508786559105, 0.3613763451576233, -1.1021686792373657, -0.21983745694160461, -0.4551028609275818, -0.8597255945205688, -0.762001097202301, -0.37155699729919434, -0.38105422258377075, 1.6720354557037354, 0.04120756685733795, -0.5715805292129517, -0.10429102182388306, -0.7437700033187866, -0.09376396238803864, -0.9954196214675903, 0.35060590505599976, -0.21217972040176392, -0.05953110754489899, -0.14004994928836823, 1.6876777410507202, -0.9637490510940552, -1.9506498575210571, 0.21339759230613708, 0.13834768533706665, -0.3290952444076538, 0.23813533782958984, 1.6379449367523193, 0.5539371967315674, 1.4794411659240723, 1.3960999250411987, 0.9330074787139893, -0.6135680675506592, -1.3226356506347656, 0.653824508190155, 0.9398999214172363, -1.2340993881225586, 0.7804111242294312, 0.09037269651889801, -0.6002712249755859, 0.5546942949295044, 1.2450305223464966, 0.5026817321777344, -2.0788795948028564, 0.7155131697654724, -1.042585015296936, 0.7630129456520081, 0.7355583310127258, 0.71232670545578, 0.18370042741298676, 0.7963070869445801, -1.2472484111785889, -1.1418583393096924, -0.6652464270591736, -0.7298585772514343, 1.9599004983901978, -0.33369264006614685, 0.6820856928825378, -0.16853636503219604, -1.3568323850631714, -0.04593663290143013, 0.6912907361984253, 0.368777334690094, -0.6279601454734802, 0.8548094630241394, -0.5178267359733582, -1.116858720779419, -1.307497262954712, -0.5231859087944031, -1.080790638923645, -0.8935162425041199, 1.0397857427597046, 0.8096711039543152, 0.2861694395542145, 1.888247013092041, 0.6715958118438721, 0.21665512025356293, -2.6515984535217285, 0.813410222530365, 0.2413145899772644, -0.08775834739208221, 0.7628622055053711, 0.32028380036354065, 0.9111860990524292, -0.08799032866954803, 0.5507709980010986, -2.362945556640625, 2.2839016914367676, -0.22005943953990936, 0.6864973306655884, -0.0543648898601532, -0.07286444306373596, 1.0344582796096802, 0.5033102631568909, 0.5788410902023315, -1.0475196838378906, 0.6241647601127625, -0.580011785030365, 1.2828813791275024, 0.7962303161621094, -0.7607076168060303, -0.07895711064338684, 1.4094916582107544, 0.4507170617580414, -0.517837643623352, -0.9346084594726562, -1.0802992582321167, 0.9252711534500122, 1.750894546508789, -0.06266608089208603, -0.0056228297762572765, 0.9039073586463928, 0.7030192017555237, -1.3007068634033203, 0.03726163133978844, -0.7346171736717224, -0.6607967019081116, 1.6467856168746948, 2.146212577819824, -0.17241482436656952, -0.16240285336971283, -0.7517901062965393, -1.1516467332839966, 0.8552048802375793, 0.017187362536787987, 0.006750749424099922, 0.6924521923065186, -0.5793040990829468, 1.0931211709976196, 0.9255143404006958, 0.9412864446640015, 0.3173326253890991, 0.29213079810142517, 0.3731057941913605, -0.3058820366859436, -1.2167084217071533, -0.2012460082769394, -0.9709348678588867, -2.4914474487304688, 0.4182971715927124, -0.22915895283222198, -1.4540685415267944, 0.029365859925746918, -1.124372959136963, 0.9037315249443054, -0.5865745544433594, -1.0518819093704224, -1.5223785638809204, 0.2136097103357315, 0.021680664271116257, 0.9298434853553772, -1.533831238746643, -0.03419152647256851, 1.1860363483428955, 0.9370802640914917, -0.731435239315033, 0.9245330095291138, 0.2777276635169983, 1.0379602909088135, 0.9604833126068115, -0.37731751799583435, 0.49807536602020264, 0.0419481061398983, -1.3305630683898926, 0.49363386631011963, 1.234925627708435, 0.17178545892238617, 1.481847882270813, -0.5853964686393738, -0.1383787840604782, 0.38962894678115845, -0.4833434224128723, -0.37353596091270447, -0.6262193918228149, 0.5917452573776245, 0.09727182984352112, -0.8611699342727661, -0.006529292091727257, 0.11161422729492188, -0.25725165009498596, 0.284059077501297, -1.4926154613494873, -0.05129672586917877, -0.3609548807144165, -0.7226266860961914, -1.2116338014602661, -0.07243494689464569, 1.4264214038848877, -0.823884904384613, -0.1373894214630127, 0.4809790253639221, 0.24664169549942017, 0.5203858613967896, 0.6691420078277588, -0.6337889432907104, -0.3470183312892914, -0.16864387691020966, -0.41480380296707153, 0.3519149720668793, 1.4214916229248047, -0.1098928153514862, -0.9314893484115601, 0.7568386793136597, -0.3494890630245209, 0.1182195395231247, 1.9426087141036987, 0.07472206652164459, -0.7846506237983704, 0.26147639751434326, -0.7508635520935059, 1.8863598108291626, 1.8006230592727661, 1.3558624982833862, -0.09876039624214172, -1.0367318391799927, 0.5568729043006897, -0.36265677213668823, -0.4532706141471863, 0.8529320359230042, 0.3027394115924835, -0.21715602278709412, -1.2698781490325928, 0.8100825548171997, 1.2661083936691284, -0.9350917935371399, -0.8825079202651978, 0.14483509957790375, -0.7883425354957581, 1.162532091140747, 0.6739951968193054, 0.3383622467517853, 0.2835933268070221, 1.6041438579559326, 0.7909323573112488, -0.37960073351860046, 0.5453529357910156, 0.551061749458313, -0.08875221014022827, -2.1307272911071777, -1.1318024396896362, 0.3021473288536072, -0.5376036763191223, -1.680794596672058, 1.3336325883865356, -1.205690860748291, -0.9132059812545776, 0.5699609518051147, 0.10345378518104553, 1.5069023370742798, 0.3664116859436035, 1.5392740964889526, 2.1225779056549072, 0.877993643283844, 0.42899954319000244, 1.3052042722702026, -0.21743176877498627, -0.4827309846878052, 1.6941484212875366, -0.5241857767105103, 0.5371256470680237, 1.0759072303771973, -0.24087777733802795, -1.0612550973892212, -0.7574692368507385, -1.3357656002044678, -0.7244957089424133, 1.191576361656189, 0.06676559150218964, -1.163604736328125, 0.3187156915664673, 1.544409155845642, 0.005317375063896179, -0.2561880052089691, 0.6603209972381592, 0.3633802533149719, -0.8691334128379822, -0.12850522994995117, -0.9139610528945923, 0.5508213043212891, -0.22363203763961792, -0.3465383052825928, 0.3440802991390228, 0.43709251284599304, 1.3241443634033203, 0.012322431430220604, 0.10242122411727905, 1.2313250303268433, -1.4152789115905762, 1.5215702056884766, -0.7590678334236145, 0.21762247383594513, -2.3734052181243896, 1.4541743993759155, -0.7517279982566833, 1.8863946199417114, -2.7681684494018555, 0.5014577507972717, -0.4789195954799652, -0.48631250858306885, 0.26977354288101196, -0.3007102906703949, 0.09016306698322296, -0.1494048684835434, -1.188884973526001, -0.08396846055984497, -0.6958129405975342, 0.46493276953697205, 1.0483721494674683, 1.3855732679367065, -1.166539192199707, -0.3371044397354126, -1.7153992652893066, -0.178437739610672, -0.6718755960464478, 0.3574451804161072, -1.9403523206710815, -0.1563820093870163, -1.9080634117126465, -2.5496370792388916, -1.213193655014038, -0.7975032329559326, 1.084354043006897, 0.0323595255613327, -0.8236794471740723, 1.1516120433807373, -0.4205395579338074, -1.8916492462158203, 1.2162065505981445, -2.1791391372680664 ]
https://github.com/huggingface/datasets/issues/4007
set_format does not work with multi dimension tensor
Hi! Yes, you can directly pass the `Features` dictionary as `features` in `map` to cast the column to `Array2D`: ```python dataset = dataset.map(lambda example: blabla(example), features=Features(features)) ``` Or you can use `cast` after `map` to do that: ```python dataset = dataset.map(lambda example: blabla(example)) dataset = dataset.cast(Features(features)) ```
## Describe the bug set_format only transforms the last dimension of a multi-dimension list to tensor ## Steps to reproduce the bug ```python import torch from datasets import Dataset ds = Dataset.from_dict({"A": [torch.rand((2, 2))]}) # ds = Dataset.from_dict({"A": [np.random.rand(2, 2)]}) # => same result ds = ds.with_format("torch") print(ds[0]) ``` ## Expected results ``` {'A': [tensor([[0.6689, 0.1516], [0.1403, 0.5567]])]} ``` ## Actual results ``` {'A': [tensor([0.6689, 0.1516]), tensor([0.1403, 0.5567])]} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - datasets version: 2.0.0 - Platform: Mac OSX - Python version: 3.8.12 - PyArrow version: 7.0.0
856
47
set_format does not work with multi dimension tensor ## Describe the bug set_format only transforms the last dimension of a multi-dimension list to tensor ## Steps to reproduce the bug ```python import torch from datasets import Dataset ds = Dataset.from_dict({"A": [torch.rand((2, 2))]}) # ds = Dataset.from_dict({"A": [np.random.rand(2, 2)]}) # => same result ds = ds.with_format("torch") print(ds[0]) ``` ## Expected results ``` {'A': [tensor([[0.6689, 0.1516], [0.1403, 0.5567]])]} ``` ## Actual results ``` {'A': [tensor([0.6689, 0.1516]), tensor([0.1403, 0.5567])]} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - datasets version: 2.0.0 - Platform: Mac OSX - Python version: 3.8.12 - PyArrow version: 7.0.0 Hi! Yes, you can directly pass the `Features` dictionary as `features` in `map` to cast the column to `Array2D`: ```python dataset = dataset.map(lambda example: blabla(example), features=Features(features)) ``` Or you can use `cast` after `map` to do that: ```python dataset = dataset.map(lambda example: blabla(example)) dataset = dataset.cast(Features(features)) ```
[ -1.1220872402191162, -0.8289074301719666, -0.6842803955078125, 1.559065580368042, -0.2043195217847824, -1.245725393295288, 0.20196788012981415, -1.0583891868591309, 1.7965188026428223, -0.8140047788619995, 0.38516536355018616, -1.7144172191619873, 0.10068295896053314, -0.6631909608840942, -0.8180418014526367, -0.8371250033378601, -0.4697315990924835, -0.6362220048904419, 1.0674529075622559, 2.463388442993164, 1.223693609237671, -1.3581063747406006, 2.5847630500793457, 0.7615238428115845, -0.20906072854995728, -0.9357306361198425, 0.4838804006576538, -0.06623982638120651, -1.4058843851089478, -0.33187076449394226, -0.9648259282112122, -0.14037121832370758, -0.5270392298698425, -0.7067890167236328, -0.05985548719763756, 0.4308127462863922, -0.3591083884239197, -0.5813896656036377, -0.3913636803627014, -0.8924300074577332, 0.4346952736377716, -0.3669910728931427, 0.8961505889892578, -0.2756339907646179, 1.795079231262207, -0.6396400928497314, 0.4802519381046295, 0.6241370439529419, 1.3505680561065674, 0.15422512590885162, -0.049864284694194794, 0.4798486828804016, 0.37643957138061523, -0.022708037868142128, 0.5537620782852173, 1.2335013151168823, 0.6866937875747681, 0.47211402654647827, 0.8552289009094238, -2.3057098388671875, 1.2308992147445679, -1.0079156160354614, 0.31234630942344666, 1.2231659889221191, -1.0296462774276733, 0.2485974133014679, -1.6657757759094238, -0.08274970948696136, 0.5400123596191406, -2.209627628326416, 0.27077874541282654, -1.4184532165527344, -0.5044717192649841, 1.0272319316864014, 0.4191368818283081, -1.2480524778366089, 0.059704896062612534, -0.2710372507572174, 0.9719418287277222, 0.3483259379863739, 1.0733590126037598, -1.7251591682434082, -0.00034762918949127197, -0.4240473806858063, 0.18786945939064026, -1.1974138021469116, -1.4792792797088623, 0.5585244297981262, 0.7041912078857422, 0.6280779838562012, -0.21194450557231903, 1.083897590637207, -0.9898601174354553, 0.6895454525947571, -1.0273491144180298, -1.902234435081482, -1.3821420669555664, -2.17203688621521, -2.2072274684906006, 0.7319987416267395, -0.3985421061515808, -0.5197392702102661, 2.125600576400757, -1.0139955282211304, -1.7998639345169067, 1.0928475856781006, 0.33158695697784424, -0.19330891966819763, 2.294151544570923, 0.13517668843269348, -0.7440524101257324, 0.5133930444717407, -0.8388121724128723, 0.7202996015548706, -0.31502896547317505, 1.3196156024932861, 0.40312954783439636, -1.1572903394699097, 1.6365362405776978, -0.26145103573799133, 0.5845770239830017, -0.7375426888465881, -0.41356804966926575, -0.6556453108787537, 0.2568235397338867, 1.9110804796218872, -0.34098508954048157, 1.5083991289138794, -0.24520519375801086, -1.5039206743240356, -1.5528560876846313, 0.8722054362297058, 0.46872520446777344, -0.6676210165023804, 0.19170069694519043, -0.36440321803092957, 0.14157241582870483, -0.00743192108348012, 1.2071987390518188, 1.2780739068984985, 0.7335387468338013, -0.24457807838916779, -0.8518025875091553, 0.20046484470367432, 0.05619392916560173, -0.7481892704963684, -1.6806983947753906, -0.41679951548576355, 0.07574373483657837, 0.5996220707893372, -1.1098202466964722, 1.7736517190933228, 0.7545581459999084, 1.866113543510437, 1.1032772064208984, -0.3360116481781006, 1.5275442600250244, 0.09902730584144592, 1.8663899898529053, -0.3987939953804016, 0.7119247913360596, -0.4722767174243927, -1.2198907136917114, 0.8984134197235107, -0.29343268275260925, -2.0485877990722656, -0.6747029423713684, -0.7706543207168579, -0.12779781222343445, -0.8623592257499695, 0.984089195728302, -0.3384779691696167, -1.4308940172195435, 0.2650497257709503, -0.8282967805862427, 0.11909665167331696, -1.2461498975753784, 0.3209863305091858, 0.7666332721710205, -0.5933167338371277, 0.14701999723911285, -0.2745784819126129, -1.2720119953155518, -0.44080281257629395, 0.3014483153820038, 1.8667974472045898, -0.8067861199378967, 0.9585825204849243, 1.0811058282852173, -0.6708419919013977, -0.13924503326416016, 0.3036215007305145, -0.2776277959346771, 0.9152683019638062, -1.0386499166488647, -0.4335993230342865, 1.2010005712509155, -0.03341623395681381, -0.6782388091087341, 1.4670618772506714, 0.7102696895599365, -0.9249924421310425, -0.18727841973304749, -0.05938129127025604, -0.77814781665802, 0.03330174461007118, -1.6472340822219849, -0.09462717920541763, 0.5717162489891052, -1.6103203296661377, -0.5068955421447754, -0.11420561373233795, 1.266458511352539, -0.18260037899017334, 1.3772482872009277, -0.29426848888397217, -0.220543771982193, -0.43107566237449646, -0.32234224677085876, 0.08911878615617752, -0.15005585551261902, -0.6974813938140869, 0.2091488242149353, -0.654937744140625, 0.447824090719223, 1.3242532014846802, 0.2534376084804535, 0.10675514489412308, 0.5611467957496643, 1.1659398078918457, 0.3553527891635895, -0.1114337220788002, -0.8661448955535889, -1.669684886932373, 2.018002986907959, -1.4071236848831177, 1.991819977760315, 0.6822912693023682, -0.034341417253017426, -1.7932463884353638, -1.9800928831100464, 1.4886889457702637, 1.1528596878051758, 2.277916431427002, 0.6230695247650146, 0.49521148204803467, -0.7987654209136963, -0.5763249397277832, 0.2762974202632904, -1.0140107870101929, -0.7957611083984375, 0.17538826167583466, 2.455277919769287, 1.7136592864990234, -0.31979119777679443, -0.22925053536891937, -1.1175674200057983, 1.4387965202331543, -0.19828569889068604, 0.17333915829658508, 1.8547065258026123, -0.25227656960487366, -1.095978021621704, 1.2627193927764893, -2.2743265628814697, 0.06175369396805763, 1.9802895784378052, 0.16323304176330566, 0.038021884858608246, -1.2747478485107422, -0.627579391002655, -0.20270146429538727, -0.5265280604362488, -1.2814078330993652, 0.49132728576660156, -0.1785879284143448, -0.7187321782112122, -1.3938708305358887, 0.18594573438167572, -1.02130126953125, -1.6684236526489258, 0.14303584396839142, 1.8897860050201416, 1.8954851627349854, -0.7280402779579163, 1.6572291851043701, -0.3231145739555359, 0.3095282018184662, 1.2450960874557495, 1.2523250579833984, 3.136491060256958, 1.988525152206421, -1.2917567491531372, 0.6661968231201172, -0.08439435809850693, -0.5308507680892944, 1.3778482675552368, -1.3367081880569458, 1.3100141286849976, -0.23683451116085052, -1.3171091079711914, -1.224286675453186, 0.8607504367828369, 0.44832560420036316, 0.11151519417762756, -0.4779907464981079, 1.1369949579238892, 0.05676760897040367, 1.229107141494751, 0.5854554176330566, -0.21103931963443756, 0.6903929710388184, -0.427460253238678, -0.40451580286026, 1.551962971687317, 0.19492734968662262, -1.2428323030471802, -2.3327183723449707, -0.12220877408981323, -0.8908435106277466, 0.12261393666267395, -0.6454765796661377, -0.9952360987663269, 1.7089461088180542, 0.3738032281398773, -1.2686057090759277, -0.17851153016090393, -0.3154131770133972, -0.5620909929275513, 2.818701982498169, -1.4100104570388794, -0.3071787357330322, -1.0972212553024292, -0.7303881049156189, 1.7067002058029175, -1.0999280214309692, -0.1486026793718338, -0.9878615736961365, -0.44268375635147095, -1.3085945844650269, -0.6046079993247986, -0.059383146464824677, -0.9394291043281555, 0.8525385856628418, 0.11344125121831894, -1.2818384170532227, -0.35920798778533936, -0.9256134033203125, 0.8674296140670776, -0.2519543766975403, 0.16264091432094574, 1.937358021736145, 0.46290406584739685, -0.3484601080417633, 0.7204414010047913, 1.1476463079452515, 0.7001668214797974, -0.5776594877243042, 0.4522418677806854, -0.6303609013557434, 0.3440599739551544, -1.333957552909851, 0.20940910279750824, -2.7022063732147217, 0.5819553732872009, 0.010000650770962238, -0.01480683870613575, -0.003622066229581833, -1.3269180059432983, 1.0265252590179443, 2.5793700218200684, -1.2431995868682861, 0.4273434579372406, 0.20320908725261688, 1.1746234893798828, -1.5462968349456787, 0.17623630166053772, -0.49883586168289185, 2.1807196140289307, 0.1818767786026001, 1.212358832359314, -0.3030685782432556, -2.3343942165374756, 0.6264613270759583, -1.3014625310897827, -1.2149808406829834, 0.7918650507926941, -0.8517510294914246, 0.08499844372272491, -1.2537943124771118, -0.2192862331867218, -0.7966970801353455, -1.0450292825698853, 0.6934710144996643, 0.0514197051525116, 0.5075757503509521, -0.6549541354179382, 0.3361074924468994, -2.171826124191284, -1.338903784751892, -0.23375512659549713, -0.975597083568573, 0.49338728189468384, -0.2754025459289551, 0.6586784720420837, -0.2348426878452301, -0.04908858612179756, 0.3291011452674866, 1.4755899906158447, 3.3627398014068604, 0.2478618025779724, 0.35783132910728455, -0.18328864872455597, -0.936779797077179, 1.4008313417434692, 0.9171726107597351, -0.16258418560028076, -0.5836421847343445, -1.0224241018295288, 1.2292158603668213, 1.8540263175964355, 0.9864456057548523, 0.012234491296112537, -0.76200270652771, -0.800320029258728, -0.001258200965821743, 0.17138898372650146, 0.4038199782371521, 0.8219318389892578, 0.2692864239215851, 0.11425577104091644, 1.3345270156860352, 1.0834964513778687, -0.42484772205352783, 0.39475736021995544, -0.8163976073265076, -0.4794614017009735, 0.5635221600532532, 0.3157912492752075, -0.019253183156251907, 0.28719037771224976, -1.0587571859359741, -0.26595059037208557, -0.42141732573509216, -0.8914619088172913, -0.777285635471344, -0.32867318391799927, -0.33742445707321167, 1.6688470840454102, -0.03514225780963898, -0.5721350312232971, -0.11798799782991409, -0.7846198081970215, 0.008958115242421627, -0.9740646481513977, 0.3066278398036957, -0.21791903674602509, -0.0822005420923233, -0.11142013221979141, 1.6694400310516357, -0.9940608143806458, -1.9758024215698242, 0.25079041719436646, 0.16843964159488678, -0.35103484988212585, 0.24242985248565674, 1.634872555732727, 0.6276922225952148, 1.4559444189071655, 1.4309452772140503, 0.9839040040969849, -0.6627218723297119, -1.3259804248809814, 0.6504237055778503, 1.0008330345153809, -1.325919508934021, 0.7723199725151062, 0.1358107030391693, -0.5277693867683411, 0.506317138671875, 1.2218871116638184, 0.5557027459144592, -2.0668327808380127, 0.6441253423690796, -0.9854322075843811, 0.7980453372001648, 0.7342852354049683, 0.70932936668396, 0.19762472808361053, 0.7197872996330261, -1.2572014331817627, -1.0971547365188599, -0.6449329257011414, -0.6998770236968994, 1.9236546754837036, -0.2983925938606262, 0.6520654559135437, -0.18215787410736084, -1.4201847314834595, -0.08203772455453873, 0.676616907119751, 0.3321722447872162, -0.6567463278770447, 0.7980490326881409, -0.5198158621788025, -1.0617709159851074, -1.339237093925476, -0.578288733959198, -1.038310170173645, -0.9031055569648743, 1.0166689157485962, 0.8154861330986023, 0.3019855320453644, 1.8906768560409546, 0.6855913400650024, 0.09799026697874069, -2.6050117015838623, 0.8251330852508545, 0.26010861992836, -0.1012004017829895, 0.7844809889793396, 0.35768797993659973, 0.9350937604904175, -0.16970589756965637, 0.6017749309539795, -2.3939759731292725, 2.3102223873138428, -0.19027090072631836, 0.653929591178894, 0.023581527173519135, -0.08911694586277008, 0.9951609969139099, 0.4345236122608185, 0.5212633609771729, -1.01687753200531, 0.5851223468780518, -0.6648420691490173, 1.3421012163162231, 0.8020766973495483, -0.8314449787139893, -0.0935341939330101, 1.3887946605682373, 0.4174252450466156, -0.5459573864936829, -0.9319700002670288, -1.08003830909729, 0.9562505483627319, 1.704849123954773, -0.037067051976919174, -0.007032030262053013, 0.8998534083366394, 0.7262158989906311, -1.3540116548538208, 0.05472974851727486, -0.7237297296524048, -0.7013513445854187, 1.6623319387435913, 2.1061651706695557, -0.21779264509677887, -0.21509304642677307, -0.8073700070381165, -1.1684131622314453, 0.936606228351593, 0.06005258485674858, -0.017242178320884705, 0.7180701494216919, -0.604248046875, 1.1144787073135376, 0.9743521213531494, 0.8851686120033264, 0.3623669743537903, 0.28943562507629395, 0.3070944845676422, -0.28750139474868774, -1.1719402074813843, -0.12991677224636078, -0.958591878414154, -2.5695242881774902, 0.39785006642341614, -0.21415451169013977, -1.3315964937210083, 0.011393018998205662, -1.1496061086654663, 0.8750866651535034, -0.5827459096908569, -1.0536037683486938, -1.4956070184707642, 0.1733587086200714, 0.03512434661388397, 0.9481210112571716, -1.5245245695114136, -0.020984727889299393, 1.217042088508606, 1.0006822347640991, -0.7888649702072144, 0.9200960993766785, 0.21932658553123474, 1.0296887159347534, 1.045651912689209, -0.3545123338699341, 0.5260736346244812, 0.018860362470149994, -1.3399935960769653, 0.49822139739990234, 1.2543232440948486, 0.117743119597435, 1.5294549465179443, -0.5830065608024597, -0.1512317955493927, 0.3960058093070984, -0.42493322491645813, -0.40994638204574585, -0.7178574204444885, 0.5499774813652039, 0.11599709093570709, -0.8451802730560303, 0.03442995995283127, 0.17412015795707703, -0.18270893394947052, 0.2578965127468109, -1.5266237258911133, 0.012141109444200993, -0.2292514592409134, -0.7843781113624573, -1.1693848371505737, -0.16288647055625916, 1.361168384552002, -0.782024085521698, -0.11598693579435349, 0.506236732006073, 0.14420688152313232, 0.48003119230270386, 0.6028158664703369, -0.6084731221199036, -0.4324184060096741, -0.19167999923229218, -0.39514243602752686, 0.3979737162590027, 1.426387906074524, -0.08043233305215836, -0.942399263381958, 0.722466766834259, -0.346706360578537, 0.10235577076673508, 1.9246466159820557, 0.048317085951566696, -0.8521760702133179, 0.2336033582687378, -0.680243730545044, 1.9366252422332764, 1.741742730140686, 1.3307167291641235, -0.09988381713628769, -1.0639612674713135, 0.6345251202583313, -0.3909095227718353, -0.4863414764404297, 0.8714566230773926, 0.23290856182575226, -0.21259821951389313, -1.305015206336975, 0.7919949889183044, 1.3337026834487915, -0.897226095199585, -0.9455538392066956, 0.1503371000289917, -0.7826895713806152, 1.0827664136886597, 0.6650222539901733, 0.3234287202358246, 0.3239412307739258, 1.5427473783493042, 0.8248278498649597, -0.35414743423461914, 0.572248101234436, 0.5193122625350952, -0.04053276404738426, -2.1132147312164307, -1.1519951820373535, 0.33745983242988586, -0.5089397430419922, -1.719419240951538, 1.3487775325775146, -1.2364227771759033, -0.8927140235900879, 0.586857795715332, 0.09660129249095917, 1.553900957107544, 0.3169421851634979, 1.5339182615280151, 2.0367534160614014, 0.8349530100822449, 0.3704850971698761, 1.240922451019287, -0.2259874939918518, -0.43951520323753357, 1.6012951135635376, -0.5979482531547546, 0.5252264142036438, 1.0310636758804321, -0.21399128437042236, -1.091610074043274, -0.7874141335487366, -1.4364839792251587, -0.813461422920227, 1.136637568473816, 0.08434285968542099, -1.1873258352279663, 0.31555381417274475, 1.5303860902786255, -0.01683150976896286, -0.25911960005760193, 0.6830456852912903, 0.34334856271743774, -0.9351075291633606, -0.08478938788175583, -0.8723583221435547, 0.5420916080474854, -0.12975898385047913, -0.336989164352417, 0.39082908630371094, 0.4473603367805481, 1.2885924577713013, 0.075525663793087, 0.07855720818042755, 1.2056595087051392, -1.4391130208969116, 1.5473904609680176, -0.7925748825073242, 0.2349134087562561, -2.353928327560425, 1.4518693685531616, -0.812308669090271, 1.8689401149749756, -2.772214651107788, 0.48105043172836304, -0.44429516792297363, -0.4404565095901489, 0.27608710527420044, -0.2862033247947693, 0.1625605821609497, -0.18079082667827606, -1.1614575386047363, -0.16851823031902313, -0.7253081798553467, 0.4799862205982208, 1.0680938959121704, 1.3902366161346436, -1.1616798639297485, -0.3146086037158966, -1.7639579772949219, -0.06499079614877701, -0.5290753841400146, 0.3201042115688324, -1.9289605617523193, -0.15374302864074707, -1.891435980796814, -2.5275673866271973, -1.1692286729812622, -0.7482778429985046, 1.0906918048858643, -0.006873891688883305, -0.7854949831962585, 1.1448402404785156, -0.40413349866867065, -1.8547356128692627, 1.1641274690628052, -2.194234848022461 ]
https://github.com/huggingface/datasets/issues/4005
Yelp not working
I don't think it's an issue with the dataset-viewer. Maybe @lhoestq or @albertvillanova could confirm. ```python >>> from datasets import load_dataset, DownloadMode >>> import itertools >>> # without streaming >>> dataset = load_dataset("yelp_review_full", name="yelp_review_full", split="train", download_mode=DownloadMode.FORCE_REDOWNLOAD) Downloading builder script: 4.39kB [00:00, 5.97MB/s] Downloading metadata: 2.13kB [00:00, 3.14MB/s] Downloading and preparing dataset yelp_review_full/yelp_review_full (download: 187.06 MiB, generated: 496.94 MiB, post-processed: Unknown size, total: 684.00 MiB) to /home/slesage/.cache/huggingface/datasets/yelp_review_full/yelp_review_full/1.0.0/13c31a618ba62568ec8572a222a283dfc29a6517776a3ac5945fb508877dde43... Downloading data: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1.10k/1.10k [00:00<00:00, 1.39MB/s] Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/slesage/hf/datasets/src/datasets/load.py", line 1687, in load_dataset builder_instance.download_and_prepare( File "/home/slesage/hf/datasets/src/datasets/builder.py", line 605, in download_and_prepare self._download_and_prepare( File "/home/slesage/hf/datasets/src/datasets/builder.py", line 1104, in _download_and_prepare super()._download_and_prepare(dl_manager, verify_infos, check_duplicate_keys=verify_infos) File "/home/slesage/hf/datasets/src/datasets/builder.py", line 676, in _download_and_prepare verify_checksums( File "/home/slesage/hf/datasets/src/datasets/utils/info_utils.py", line 40, in verify_checksums raise NonMatchingChecksumError(error_msg + str(bad_urls)) datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.com/uc?export=download&id=0Bz8a_Dbh9QhbZlU4dXhHTFhZQU0'] >>> # with streaming >>> dataset = load_dataset("yelp_review_full", name="yelp_review_full", split="train", download_mode=DownloadMode.FORCE_REDOWNLOAD, streaming=True) Downloading builder script: 4.39kB [00:00, 5.53MB/s] Downloading metadata: 2.13kB [00:00, 3.14MB/s] Traceback (most recent call last): File "/home/slesage/.pyenv/versions/datasets/lib/python3.8/site-packages/fsspec/implementations/http.py", line 375, in _info await _file_info( File "/home/slesage/.pyenv/versions/datasets/lib/python3.8/site-packages/fsspec/implementations/http.py", line 736, in _file_info r.raise_for_status() File "/home/slesage/.pyenv/versions/datasets/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 1000, in raise_for_status raise ClientResponseError( aiohttp.client_exceptions.ClientResponseError: 403, message='Forbidden', url=URL('https://doc-0g-bs-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/gklhpdq1arj8v15qrg7ces34a8c3413d/1648144575000/07511006523564980941/*/0Bz8a_Dbh9QhbZlU4dXhHTFhZQU0?e=download') The above exception was the direct cause of the following exception: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/slesage/hf/datasets/src/datasets/load.py", line 1677, in load_dataset return builder_instance.as_streaming_dataset( File "/home/slesage/hf/datasets/src/datasets/builder.py", line 906, in as_streaming_dataset splits_generators = {sg.name: sg for sg in self._split_generators(dl_manager)} File "/home/slesage/.cache/huggingface/modules/datasets_modules/datasets/yelp_review_full/13c31a618ba62568ec8572a222a283dfc29a6517776a3ac5945fb508877dde43/yelp_review_full.py", line 102, in _split_generators data_dir = dl_manager.download_and_extract(my_urls) File "/home/slesage/hf/datasets/src/datasets/utils/streaming_download_manager.py", line 800, in download_and_extract return self.extract(self.download(url_or_urls)) File "/home/slesage/hf/datasets/src/datasets/utils/streaming_download_manager.py", line 778, in extract urlpaths = map_nested(self._extract, path_or_paths, map_tuple=True) File "/home/slesage/hf/datasets/src/datasets/utils/py_utils.py", line 306, in map_nested return function(data_struct) File "/home/slesage/hf/datasets/src/datasets/utils/streaming_download_manager.py", line 783, in _extract protocol = _get_extraction_protocol(urlpath, use_auth_token=self.download_config.use_auth_token) File "/home/slesage/hf/datasets/src/datasets/utils/streaming_download_manager.py", line 372, in _get_extraction_protocol with fsspec.open(urlpath, **kwargs) as f: File "/home/slesage/.pyenv/versions/datasets/lib/python3.8/site-packages/fsspec/core.py", line 102, in __enter__ f = self.fs.open(self.path, mode=mode) File "/home/slesage/.pyenv/versions/datasets/lib/python3.8/site-packages/fsspec/spec.py", line 978, in open f = self._open( File "/home/slesage/.pyenv/versions/datasets/lib/python3.8/site-packages/fsspec/implementations/http.py", line 335, in _open size = size or self.info(path, **kwargs)["size"] File "/home/slesage/.pyenv/versions/datasets/lib/python3.8/site-packages/fsspec/asyn.py", line 88, in wrapper return sync(self.loop, func, *args, **kwargs) File "/home/slesage/.pyenv/versions/datasets/lib/python3.8/site-packages/fsspec/asyn.py", line 69, in sync raise result[0] File "/home/slesage/.pyenv/versions/datasets/lib/python3.8/site-packages/fsspec/asyn.py", line 25, in _runner result[0] = await coro File "/home/slesage/.pyenv/versions/datasets/lib/python3.8/site-packages/fsspec/implementations/http.py", line 388, in _info raise FileNotFoundError(url) from exc FileNotFoundError: https://drive.google.com/uc?export=download&id=0Bz8a_Dbh9QhbZlU4dXhHTFhZQU0&confirm=t ``` And this is before even trying to access the rows with ```python >>> rows = list(itertools.islice(dataset, 100)) >>> rows = list(dataset.take(100)) ```
## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train Doesn't work: ``` Server error Status code: 400 Exception: Error Message: line contains NULL ``` Am I the one who added this dataset ? No A seamingly copy of the dataset: https://huggingface.co/datasets/SetFit/yelp_review_full works . The original one: https://huggingface.co/datasets/yelp_review_full has > 20K downloads.
857
383
Yelp not working ## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train Doesn't work: ``` Server error Status code: 400 Exception: Error Message: line contains NULL ``` Am I the one who added this dataset ? No A seamingly copy of the dataset: https://huggingface.co/datasets/SetFit/yelp_review_full works . The original one: https://huggingface.co/datasets/yelp_review_full has > 20K downloads. I don't think it's an issue with the dataset-viewer. Maybe @lhoestq or @albertvillanova could confirm. ```python >>> from datasets import load_dataset, DownloadMode >>> import itertools >>> # without streaming >>> dataset = load_dataset("yelp_review_full", name="yelp_review_full", split="train", download_mode=DownloadMode.FORCE_REDOWNLOAD) Downloading builder script: 4.39kB [00:00, 5.97MB/s] Downloading metadata: 2.13kB [00:00, 3.14MB/s] Downloading and preparing dataset yelp_review_full/yelp_review_full (download: 187.06 MiB, generated: 496.94 MiB, post-processed: Unknown size, total: 684.00 MiB) to /home/slesage/.cache/huggingface/datasets/yelp_review_full/yelp_review_full/1.0.0/13c31a618ba62568ec8572a222a283dfc29a6517776a3ac5945fb508877dde43... Downloading data: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1.10k/1.10k [00:00<00:00, 1.39MB/s] Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/slesage/hf/datasets/src/datasets/load.py", line 1687, in load_dataset builder_instance.download_and_prepare( File "/home/slesage/hf/datasets/src/datasets/builder.py", line 605, in download_and_prepare self._download_and_prepare( File "/home/slesage/hf/datasets/src/datasets/builder.py", line 1104, in _download_and_prepare super()._download_and_prepare(dl_manager, verify_infos, check_duplicate_keys=verify_infos) File "/home/slesage/hf/datasets/src/datasets/builder.py", line 676, in _download_and_prepare verify_checksums( File "/home/slesage/hf/datasets/src/datasets/utils/info_utils.py", line 40, in verify_checksums raise NonMatchingChecksumError(error_msg + str(bad_urls)) datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.com/uc?export=download&id=0Bz8a_Dbh9QhbZlU4dXhHTFhZQU0'] >>> # with streaming >>> dataset = load_dataset("yelp_review_full", name="yelp_review_full", split="train", download_mode=DownloadMode.FORCE_REDOWNLOAD, streaming=True) Downloading builder script: 4.39kB [00:00, 5.53MB/s] Downloading metadata: 2.13kB [00:00, 3.14MB/s] Traceback (most recent call last): File "/home/slesage/.pyenv/versions/datasets/lib/python3.8/site-packages/fsspec/implementations/http.py", line 375, in _info await _file_info( File "/home/slesage/.pyenv/versions/datasets/lib/python3.8/site-packages/fsspec/implementations/http.py", line 736, in _file_info r.raise_for_status() File "/home/slesage/.pyenv/versions/datasets/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 1000, in raise_for_status raise ClientResponseError( aiohttp.client_exceptions.ClientResponseError: 403, message='Forbidden', url=URL('https://doc-0g-bs-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/gklhpdq1arj8v15qrg7ces34a8c3413d/1648144575000/07511006523564980941/*/0Bz8a_Dbh9QhbZlU4dXhHTFhZQU0?e=download') The above exception was the direct cause of the following exception: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/slesage/hf/datasets/src/datasets/load.py", line 1677, in load_dataset return builder_instance.as_streaming_dataset( File "/home/slesage/hf/datasets/src/datasets/builder.py", line 906, in as_streaming_dataset splits_generators = {sg.name: sg for sg in self._split_generators(dl_manager)} File "/home/slesage/.cache/huggingface/modules/datasets_modules/datasets/yelp_review_full/13c31a618ba62568ec8572a222a283dfc29a6517776a3ac5945fb508877dde43/yelp_review_full.py", line 102, in _split_generators data_dir = dl_manager.download_and_extract(my_urls) File "/home/slesage/hf/datasets/src/datasets/utils/streaming_download_manager.py", line 800, in download_and_extract return self.extract(self.download(url_or_urls)) File "/home/slesage/hf/datasets/src/datasets/utils/streaming_download_manager.py", line 778, in extract urlpaths = map_nested(self._extract, path_or_paths, map_tuple=True) File "/home/slesage/hf/datasets/src/datasets/utils/py_utils.py", line 306, in map_nested return function(data_struct) File "/home/slesage/hf/datasets/src/datasets/utils/streaming_download_manager.py", line 783, in _extract protocol = _get_extraction_protocol(urlpath, use_auth_token=self.download_config.use_auth_token) File "/home/slesage/hf/datasets/src/datasets/utils/streaming_download_manager.py", line 372, in _get_extraction_protocol with fsspec.open(urlpath, **kwargs) as f: File "/home/slesage/.pyenv/versions/datasets/lib/python3.8/site-packages/fsspec/core.py", line 102, in __enter__ f = self.fs.open(self.path, mode=mode) File "/home/slesage/.pyenv/versions/datasets/lib/python3.8/site-packages/fsspec/spec.py", line 978, in open f = self._open( File "/home/slesage/.pyenv/versions/datasets/lib/python3.8/site-packages/fsspec/implementations/http.py", line 335, in _open size = size or self.info(path, **kwargs)["size"] File "/home/slesage/.pyenv/versions/datasets/lib/python3.8/site-packages/fsspec/asyn.py", line 88, in wrapper return sync(self.loop, func, *args, **kwargs) File "/home/slesage/.pyenv/versions/datasets/lib/python3.8/site-packages/fsspec/asyn.py", line 69, in sync raise result[0] File "/home/slesage/.pyenv/versions/datasets/lib/python3.8/site-packages/fsspec/asyn.py", line 25, in _runner result[0] = await coro File "/home/slesage/.pyenv/versions/datasets/lib/python3.8/site-packages/fsspec/implementations/http.py", line 388, in _info raise FileNotFoundError(url) from exc FileNotFoundError: https://drive.google.com/uc?export=download&id=0Bz8a_Dbh9QhbZlU4dXhHTFhZQU0&confirm=t ``` And this is before even trying to access the rows with ```python >>> rows = list(itertools.islice(dataset, 100)) >>> rows = list(dataset.take(100)) ```
[ -1.1616766452789307, -0.9109962582588196, -0.722149133682251, 1.4489907026290894, -0.16002850234508514, -1.2145841121673584, 0.14497195184230804, -1.0361706018447876, 1.6060093641281128, -0.6732267141342163, 0.2521611452102661, -1.6794475317001343, -0.04939582943916321, -0.5532485842704773, -0.7271409630775452, -0.8164801597595215, -0.40297359228134155, -0.785762369632721, 0.9389100670814514, 2.4686877727508545, 1.302374005317688, -1.3341871500015259, 2.7078967094421387, 0.6451424956321716, -0.2728017270565033, -1.003955602645874, 0.6164048314094543, 0.0407518707215786, -1.2881313562393188, -0.4525648355484009, -0.872271716594696, -0.11354977637529373, -0.6305888891220093, -0.4058164358139038, 0.03652985394001007, 0.4698505699634552, -0.29418811202049255, -0.333931028842926, -0.6136876940727234, -0.7472707033157349, 0.46717602014541626, -0.2715153396129608, 0.9393284916877747, -0.31614425778388977, 1.7202694416046143, -0.6183280348777771, 0.38340118527412415, 0.7823630571365356, 1.2750595808029175, 0.14518827199935913, 0.005568402819335461, 0.23555883765220642, 0.37122005224227905, -0.010231411084532738, 0.4995791018009186, 1.1577298641204834, 0.5627006888389587, 0.47611090540885925, 0.6648914217948914, -2.270233631134033, 1.2994729280471802, -0.9089829325675964, 0.28023722767829895, 1.360771894454956, -0.84623122215271, 0.3224855065345764, -1.8030498027801514, -0.08098077028989792, 0.647668719291687, -2.2575652599334717, 0.24903345108032227, -1.3905375003814697, -0.5053463578224182, 0.9100062251091003, 0.2874144911766052, -1.2147386074066162, 0.13912878930568695, -0.5340874791145325, 1.0512278079986572, 0.4821923077106476, 1.1870328187942505, -1.7184908390045166, 0.003649200312793255, -0.20947669446468353, 0.17021599411964417, -1.2562928199768066, -1.595085859298706, 0.628137469291687, 0.6378651261329651, 0.6676807403564453, -0.10947208106517792, 0.9646599292755127, -0.976359486579895, 0.8513438105583191, -1.0760784149169922, -1.7681944370269775, -1.378929615020752, -2.2683560848236084, -2.243185520172119, 0.705111026763916, -0.5452590584754944, -0.41903990507125854, 2.054086208343506, -0.8531188368797302, -1.7304682731628418, 1.0657557249069214, 0.288451224565506, 0.03921479731798172, 2.3846330642700195, 0.22070814669132233, -0.7317798733711243, 0.4227132201194763, -0.7542131543159485, 0.8095387816429138, -0.18490678071975708, 1.404893398284912, 0.4802266061306, -0.9573692083358765, 1.5238258838653564, -0.5028746128082275, 0.5464919805526733, -0.5996636748313904, -0.5350499153137207, -0.7286555767059326, 0.275383323431015, 1.856475591659546, -0.3272484540939331, 1.5623488426208496, -0.34398216009140015, -1.6164500713348389, -1.560056447982788, 0.8278951644897461, 0.576069712638855, -0.873762845993042, 0.05061071366071701, -0.4567860960960388, 0.15054269134998322, -0.05524047091603279, 1.1471631526947021, 1.2736726999282837, 0.7241723537445068, -0.3808191120624542, -0.7994838953018188, 0.1500733345746994, -0.1210843175649643, -0.7445306777954102, -1.8703956604003906, -0.30086806416511536, 0.16091620922088623, 0.688000500202179, -1.1989341974258423, 1.6565006971359253, 0.9022331833839417, 1.9804997444152832, 1.0434943437576294, -0.4146914482116699, 1.4909553527832031, 0.05686439946293831, 1.775377631187439, -0.6089643836021423, 0.5747606754302979, -0.3920747637748718, -1.0098295211791992, 0.9519537091255188, -0.29216593503952026, -1.9843833446502686, -0.7717060446739197, -0.7984623312950134, -0.23663361370563507, -0.7636001110076904, 0.9525642395019531, -0.2147904932498932, -1.4438183307647705, 0.20082980394363403, -0.7780871987342834, 0.049291882663965225, -1.1892986297607422, 0.21184735000133514, 0.7263517379760742, -0.6245785355567932, 0.016040481626987457, -0.23031294345855713, -1.3086826801300049, -0.5061313509941101, 0.3797515630722046, 1.9018993377685547, -0.6603744626045227, 0.9264653921127319, 1.0096367597579956, -0.6705455780029297, 0.1307346522808075, 0.23278163373470306, -0.25937753915786743, 0.766525387763977, -1.1484909057617188, -0.39010244607925415, 1.0415265560150146, -0.18668995797634125, -0.6351307034492493, 1.4147095680236816, 0.711722731590271, -1.0949804782867432, -0.21607814729213715, -0.1412217915058136, -0.7709254026412964, 0.01945168524980545, -1.6197574138641357, -0.19157476723194122, 0.3658638000488281, -1.5351184606552124, -0.42103153467178345, -0.22371146082878113, 1.3468575477600098, -0.13847528398036957, 1.3645488023757935, -0.29204943776130676, -0.10985671728849411, -0.37399041652679443, -0.3642543852329254, 0.1281583309173584, -0.27177876234054565, -0.5208973288536072, 0.1963810920715332, -0.9511839747428894, 0.30635276436805725, 1.4716044664382935, 0.3239592909812927, -0.007048072759062052, 0.39219632744789124, 1.1282603740692139, 0.4629788398742676, 0.013771195895969868, -0.8884989023208618, -1.5284990072250366, 2.0536458492279053, -1.507503628730774, 1.941986322402954, 0.7578850388526917, -0.0002400018274784088, -1.8520879745483398, -1.913597583770752, 1.3157278299331665, 1.051524043083191, 2.3961682319641113, 0.5351189970970154, 0.3526533246040344, -0.7001715898513794, -0.6587995886802673, 0.3317108154296875, -0.9713389873504639, -0.6844985485076904, 0.19285155832767487, 2.4115185737609863, 1.7212605476379395, -0.5925775170326233, -0.18276642262935638, -0.7411733269691467, 1.251571774482727, -0.11708276718854904, 0.20573577284812927, 2.1271378993988037, -0.20705588161945343, -1.0079419612884521, 1.3923674821853638, -2.3645238876342773, 0.21103635430335999, 2.034546375274658, 0.307325541973114, 0.11238466203212738, -1.4133830070495605, -0.6651260852813721, -0.3298029899597168, -0.5292590856552124, -1.2928615808486938, 0.6382134556770325, -0.25596556067466736, -0.9143329858779907, -1.5048768520355225, 0.1482120156288147, -1.118228793144226, -1.7813234329223633, 0.29247236251831055, 2.017418146133423, 2.043062448501587, -0.7455655932426453, 1.4615446329116821, -0.3831385672092438, 0.020488105714321136, 1.260973572731018, 1.2344011068344116, 3.102626085281372, 1.9171768426895142, -1.2506606578826904, 0.7030872702598572, -0.12201933562755585, -0.5391566753387451, 1.0998940467834473, -1.193710446357727, 1.1403217315673828, -0.25220516324043274, -1.24734365940094, -1.2418714761734009, 1.0402194261550903, 0.45645880699157715, 0.054198767989873886, -0.5003780126571655, 1.2599447965621948, 0.10736238956451416, 1.318924069404602, 0.595001220703125, -0.33894234895706177, 0.5462443828582764, -0.4378836452960968, -0.524831235408783, 1.6012006998062134, 0.1886495053768158, -1.4790456295013428, -2.401118040084839, -0.23848310112953186, -0.8440480828285217, 0.029794760048389435, -0.5818139910697937, -1.1339938640594482, 1.6212440729141235, 0.38582301139831543, -1.3141385316848755, -0.3270650804042816, -0.3536061942577362, -0.5080335140228271, 2.6500396728515625, -1.2893248796463013, -0.08737190067768097, -0.9495989084243774, -0.6404282450675964, 1.613374948501587, -1.2422047853469849, -0.20068249106407166, -1.1791431903839111, -0.5966123938560486, -1.2856292724609375, -0.48939043283462524, 0.10668738186359406, -0.8795801401138306, 0.8508588671684265, 0.1454845815896988, -1.1936287879943848, -0.3357112407684326, -0.9635301232337952, 1.0219039916992188, -0.1210208311676979, 0.22863784432411194, 1.9439983367919922, 0.3461112082004547, -0.44017383456230164, 0.6932451725006104, 1.1718025207519531, 0.6101652979850769, -0.7317180633544922, 0.01951201632618904, -0.6392402648925781, 0.30269840359687805, -1.4537687301635742, 0.24831661581993103, -2.9223556518554688, 0.7491557002067566, -0.007765127345919609, -0.0684315636754036, -0.05479780212044716, -1.3577688932418823, 1.1887530088424683, 2.621048927307129, -1.1455057859420776, 0.49976709485054016, 0.4068951904773712, 1.1536446809768677, -1.4937657117843628, 0.3404938876628876, -0.46284210681915283, 2.1679506301879883, 0.1772860884666443, 1.2727375030517578, -0.45238927006721497, -2.232112407684326, 0.7197415232658386, -1.2525525093078613, -1.1419837474822998, 0.7765827178955078, -0.8903815746307373, 0.1551235318183899, -1.5686511993408203, -0.22455112636089325, -0.9509366154670715, -1.2261356115341187, 0.7572609782218933, 0.14468921720981598, 0.39078202843666077, -0.5429107546806335, 0.3848186731338501, -2.23527455329895, -1.4053175449371338, -0.16948118805885315, -0.9586969614028931, 0.5587853193283081, -0.3556062877178192, 0.6605046987533569, -0.04318557679653168, 0.04769107699394226, 0.3410816192626953, 1.3972023725509644, 3.4233458042144775, 0.13549180328845978, 0.3066681921482086, -0.18188679218292236, -1.0359407663345337, 1.4933468103408813, 0.9684556722640991, -0.1105588972568512, -0.48528316617012024, -1.0497257709503174, 1.1742314100265503, 2.0172317028045654, 1.0704355239868164, -0.0018147937953472137, -0.8912209868431091, -0.7879789471626282, 0.038224875926971436, 0.25005000829696655, 0.5570366978645325, 0.9220930933952332, 0.007069910876452923, 0.1033656969666481, 1.4302239418029785, 1.1133326292037964, -0.3058116137981415, 0.42152920365333557, -0.9798634648323059, -0.4528762996196747, 0.4815065264701843, 0.23868027329444885, 0.01513704564422369, 0.458902508020401, -1.0102885961532593, -0.23519031703472137, -0.2791631519794464, -0.9030290842056274, -0.6720276474952698, -0.44286030530929565, -0.4296334385871887, 1.5742506980895996, 0.12725402414798737, -0.46364909410476685, 0.07438106089830399, -0.7437469363212585, -0.20273059606552124, -1.1726564168930054, 0.3195207715034485, -0.16264478862285614, -0.05107541382312775, -0.12764713168144226, 1.7526530027389526, -0.941173255443573, -2.0252439975738525, 0.2030487209558487, 0.36290663480758667, -0.3920474648475647, 0.2320474237203598, 1.6863449811935425, 0.6288660764694214, 1.3500925302505493, 1.2634068727493286, 1.016518235206604, -0.5026180148124695, -1.2671011686325073, 0.6299768686294556, 0.9518673419952393, -1.3261569738388062, 0.8704690933227539, -0.12793931365013123, -0.4981853663921356, 0.6893038153648376, 1.3525108098983765, 0.38983410596847534, -2.0620219707489014, 0.8795259594917297, -0.8128276467323303, 0.8454717993736267, 0.6416219472885132, 0.7604426145553589, 0.2634761333465576, 0.8234169483184814, -1.2236295938491821, -1.0808517932891846, -0.7435430288314819, -0.605715811252594, 1.9507488012313843, -0.25397568941116333, 0.5414108037948608, -0.2220417857170105, -1.2810364961624146, -0.09631279110908508, 0.7225242853164673, 0.4344319701194763, -0.4849849045276642, 0.7750017642974854, -0.5032431483268738, -1.0429030656814575, -1.2294269800186157, -0.4293581247329712, -0.9328107833862305, -0.9597834944725037, 0.955379843711853, 0.7449957728385925, 0.46758612990379333, 1.915197730064392, 0.4929283559322357, 0.272832989692688, -2.679593801498413, 0.9117783904075623, 0.2928503453731537, -0.04449232667684555, 0.9492043852806091, 0.36638545989990234, 1.1656854152679443, -0.01305344793945551, 0.5660287737846375, -2.3547422885894775, 2.2594900131225586, -0.23235228657722473, 0.7132651209831238, -0.0004028789699077606, -0.14535754919052124, 1.0663057565689087, 0.6073178052902222, 0.5700433850288391, -1.079407811164856, 0.830843985080719, -0.5715681314468384, 1.0834009647369385, 0.9539246559143066, -0.8028311133384705, 0.03923652693629265, 1.3623970746994019, 0.5395941138267517, -0.47180721163749695, -0.9351174235343933, -0.8206285238265991, 0.9770551323890686, 1.694217324256897, -0.0609445683658123, -0.011906947009265423, 0.803442120552063, 0.6122326850891113, -1.2301216125488281, 0.061233099550008774, -0.6503846049308777, -0.6765435338020325, 1.688658595085144, 2.0714030265808105, -0.102541983127594, -0.08005831390619278, -0.7436532974243164, -1.3267607688903809, 0.7524232268333435, -0.09510060399770737, 0.17714793980121613, 0.5909048318862915, -0.6519027948379517, 1.1484358310699463, 0.5670711398124695, 0.9925717115402222, 0.0523759163916111, 0.48680853843688965, 0.4356299638748169, -0.35880303382873535, -1.1832833290100098, -0.4449572265148163, -1.1332961320877075, -2.4754385948181152, 0.45989128947257996, -0.2952360212802887, -1.360604166984558, 0.00036248378455638885, -1.080992579460144, 0.9342599511146545, -0.6558965444564819, -1.0514239072799683, -1.4891294240951538, 0.33910125494003296, -0.1285535842180252, 0.9697328805923462, -1.6085448265075684, -0.13891656696796417, 1.1606560945510864, 0.8820999264717102, -0.6570019721984863, 0.9740415811538696, 0.26887208223342896, 1.0578453540802002, 0.8152363300323486, -0.36468836665153503, 0.5255185961723328, 0.15143801271915436, -1.3228837251663208, 0.41970646381378174, 1.2080823183059692, 0.21141624450683594, 1.4286249876022339, -0.4947632849216461, 0.06826052069664001, 0.4618455171585083, -0.5999806523323059, -0.5210871696472168, -0.46561768651008606, 0.6473843455314636, 0.10787683725357056, -1.0779106616973877, -0.16896745562553406, -0.14946386218070984, -0.1911030262708664, 0.19210948050022125, -1.4868451356887817, -0.17925900220870972, -0.36815395951271057, -0.5089976191520691, -1.3070588111877441, -0.06983519345521927, 1.3854001760482788, -0.7216491103172302, -0.2235375940799713, 0.4177052080631256, 0.298859566450119, 0.45985502004623413, 0.5745890140533447, -0.6814637184143066, -0.30522313714027405, -0.3431941270828247, -0.3665124475955963, 0.19907648861408234, 1.3135950565338135, -0.08715837448835373, -1.033626675605774, 0.6692450642585754, -0.4099699854850769, 0.11456244438886642, 2.0238609313964844, -0.025519512593746185, -0.7713449001312256, 0.2945213317871094, -0.653866708278656, 1.821540117263794, 1.6737360954284668, 1.2919502258300781, -0.13225018978118896, -0.9346323013305664, 0.5750981569290161, -0.3124312460422516, -0.3731064796447754, 0.8155202865600586, 0.4179157018661499, -0.2501783072948456, -1.4611942768096924, 0.5733446478843689, 1.3024170398712158, -0.9571895003318787, -0.7581587433815002, 0.1688346415758133, -0.8463634252548218, 1.106394648551941, 0.6415238976478577, 0.3764294981956482, 0.2573634386062622, 1.5371756553649902, 0.678960919380188, -0.5222854018211365, 0.5360144376754761, 0.4424891173839569, -0.1785695105791092, -2.1918015480041504, -1.1620631217956543, 0.3060081899166107, -0.4444980025291443, -1.5933212041854858, 1.4019683599472046, -1.1269276142120361, -1.0192582607269287, 0.5372567176818848, 0.04883759841322899, 1.2589616775512695, 0.3221695125102997, 1.7204066514968872, 2.029895305633545, 0.8334826231002808, 0.36708563566207886, 1.299307107925415, -0.051141586154699326, -0.49965208768844604, 1.876355528831482, -0.4384668171405792, 0.5641109347343445, 1.098682165145874, -0.42509061098098755, -1.01024329662323, -0.8788264393806458, -1.2621901035308838, -0.665550172328949, 1.1774653196334839, 0.1416003406047821, -1.1904010772705078, 0.2851749062538147, 1.6307363510131836, 0.14473670721054077, -0.23544852435588837, 0.6837061047554016, 0.4270845651626587, -0.782904863357544, -0.10621603578329086, -0.9472545981407166, 0.4758824110031128, -0.17615710198879242, -0.2572452127933502, 0.21600286662578583, 0.5271008610725403, 1.3324257135391235, -0.07312169671058655, 0.1066596582531929, 1.1666276454925537, -1.3046802282333374, 1.506219744682312, -0.5395942330360413, 0.2820006310939789, -2.3750507831573486, 1.401441216468811, -0.715499997138977, 1.927019476890564, -2.5964605808258057, 0.41586390137672424, -0.5250213742256165, -0.43937423825263977, 0.20719268918037415, -0.3021405041217804, 0.10906863212585449, -0.14765045046806335, -1.0899240970611572, -0.039460379630327225, -0.7065649032592773, 0.5492205619812012, 1.1997854709625244, 1.3947744369506836, -1.1216353178024292, -0.25348392128944397, -1.7483367919921875, -0.20781666040420532, -0.7633066177368164, 0.308973491191864, -1.938441276550293, -0.15213985741138458, -1.9445735216140747, -2.3441319465637207, -1.3368475437164307, -0.9054647088050842, 0.9983962774276733, 0.12433168292045593, -0.9387658834457397, 1.1961618661880493, -0.31706663966178894, -1.7561075687408447, 1.0611600875854492, -2.1206514835357666 ]
https://github.com/huggingface/datasets/issues/4005
Yelp not working
Yet another issue related to google drive not being nice. Most likely your IP has been banned from using their API programmatically. Do you know if we are allowed to host and redistribute the data ourselves ?
## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train Doesn't work: ``` Server error Status code: 400 Exception: Error Message: line contains NULL ``` Am I the one who added this dataset ? No A seamingly copy of the dataset: https://huggingface.co/datasets/SetFit/yelp_review_full works . The original one: https://huggingface.co/datasets/yelp_review_full has > 20K downloads.
857
37
Yelp not working ## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train Doesn't work: ``` Server error Status code: 400 Exception: Error Message: line contains NULL ``` Am I the one who added this dataset ? No A seamingly copy of the dataset: https://huggingface.co/datasets/SetFit/yelp_review_full works . The original one: https://huggingface.co/datasets/yelp_review_full has > 20K downloads. Yet another issue related to google drive not being nice. Most likely your IP has been banned from using their API programmatically. Do you know if we are allowed to host and redistribute the data ourselves ?
[ -1.1506240367889404, -0.9638665914535522, -0.8042863011360168, 1.4508492946624756, -0.15514859557151794, -1.3006930351257324, 0.07305631041526794, -0.9901509284973145, 1.7050213813781738, -0.6427103281021118, 0.2408752590417862, -1.7324522733688354, -0.011333709582686424, -0.6001578569412231, -0.6762323379516602, -0.8868290185928345, -0.3537132441997528, -0.7473363280296326, 0.8407595157623291, 2.4745681285858154, 1.3182833194732666, -1.3231769800186157, 2.676539897918701, 0.6322078704833984, -0.2892661988735199, -1.1036499738693237, 0.5531817078590393, 0.11674012243747711, -1.2040578126907349, -0.4535563886165619, -0.807354748249054, -0.07036999613046646, -0.5801952481269836, -0.44836369156837463, 0.0009944187477231026, 0.5078884959220886, -0.21212510764598846, -0.21752379834651947, -0.6194377541542053, -0.7777294516563416, 0.4934907853603363, -0.2925472557544708, 0.90467369556427, -0.42731329798698425, 1.780536413192749, -0.5594088435173035, 0.30861347913742065, 0.7751098275184631, 1.3970401287078857, 0.07400912791490555, -0.059163130819797516, 0.19200901687145233, 0.36597275733947754, 0.015307769179344177, 0.420466810464859, 1.0977002382278442, 0.5147492289543152, 0.5667676329612732, 0.5616222023963928, -2.2711267471313477, 1.3517717123031616, -0.9377351403236389, 0.2346234768629074, 1.4326255321502686, -0.9903090596199036, 0.3158356249332428, -1.7045124769210815, -0.13488514721393585, 0.5893841981887817, -2.308000326156616, 0.2228165864944458, -1.2835043668746948, -0.5895004868507385, 0.9684025049209595, 0.2670312225818634, -1.2269346714019775, 0.14384597539901733, -0.5022805333137512, 1.0730841159820557, 0.6001002192497253, 1.180923342704773, -1.6638388633728027, 0.08916888386011124, -0.21390807628631592, -0.008048374205827713, -1.4202258586883545, -1.4943146705627441, 0.598202109336853, 0.7055750489234924, 0.7368513941764832, -0.08044913411140442, 0.8558205962181091, -0.8866549730300903, 0.8748438358306885, -1.0351330041885376, -1.706149935722351, -1.3962827920913696, -2.3499062061309814, -2.2270877361297607, 0.850247859954834, -0.4916769564151764, -0.4521102011203766, 2.026845693588257, -0.8710193037986755, -1.756537914276123, 1.0826506614685059, 0.2595692574977875, 0.12388405203819275, 2.3582780361175537, 0.17975975573062897, -0.7128813862800598, 0.32566550374031067, -0.669630229473114, 0.8385218977928162, -0.3132369816303253, 1.4821228981018066, 0.55319744348526, -1.0976148843765259, 1.589603066444397, -0.5351569056510925, 0.54034823179245, -0.6226869821548462, -0.5720177888870239, -0.8034040331840515, 0.4529576301574707, 1.7941977977752686, -0.38728755712509155, 1.6218395233154297, -0.39683616161346436, -1.4984312057495117, -1.51360023021698, 0.739090621471405, 0.5449070930480957, -0.8176104426383972, 0.07526803016662598, -0.4820289611816406, 0.09871850907802582, -0.09595035016536713, 1.1510878801345825, 1.156266450881958, 0.5790002346038818, -0.406663179397583, -0.7926427125930786, 0.2796863615512848, -0.044881075620651245, -0.6708157658576965, -1.9321746826171875, -0.3209303915500641, 0.2371036410331726, 0.6224220395088196, -1.1427102088928223, 1.6131882667541504, 0.8476542234420776, 1.9955253601074219, 1.003778100013733, -0.2646302878856659, 1.3679862022399902, -0.07239353656768799, 1.7930018901824951, -0.6128673553466797, 0.640119194984436, -0.22542592883110046, -0.9897376894950867, 0.8860864639282227, -0.38574108481407166, -2.0176844596862793, -0.834033191204071, -0.913903534412384, -0.14260315895080566, -0.7357683777809143, 1.0558570623397827, -0.2205522209405899, -1.3309669494628906, 0.15949390828609467, -0.7141075134277344, 0.1270759254693985, -1.211692452430725, 0.1354975402355194, 0.7591338157653809, -0.630413293838501, -0.0851593092083931, -0.22258742153644562, -1.2944128513336182, -0.6097555756568909, 0.38694971799850464, 1.9177240133285522, -0.7086468935012817, 0.9134618639945984, 0.9352765679359436, -0.6973327398300171, 0.25583282113075256, 0.21584780514240265, -0.2609577775001526, 0.8711705803871155, -1.0127900838851929, -0.3900320827960968, 1.0527392625808716, -0.22699035704135895, -0.6902259588241577, 1.5590441226959229, 0.7849004864692688, -1.0158512592315674, -0.14985232055187225, -0.24614304304122925, -0.805065929889679, -0.06853888183832169, -1.5644323825836182, -0.20517319440841675, 0.18515890836715698, -1.3979562520980835, -0.38294053077697754, -0.24751320481300354, 1.4317891597747803, -0.15091076493263245, 1.2391866445541382, -0.31291651725769043, -0.2522040605545044, -0.41790661215782166, -0.3798597753047943, 0.12676812708377838, -0.21049857139587402, -0.6130052208900452, 0.2487211674451828, -0.9395766854286194, 0.33232107758522034, 1.3790538311004639, 0.40298783779144287, 0.0710468590259552, 0.5408787131309509, 1.0805189609527588, 0.3423243463039398, -0.10520961135625839, -0.9100449085235596, -1.5723075866699219, 1.9883960485458374, -1.3635632991790771, 1.9518921375274658, 0.8460091948509216, -0.01100832037627697, -1.850843906402588, -1.9120091199874878, 1.347449541091919, 1.1264625787734985, 2.2786991596221924, 0.601323664188385, 0.2948012948036194, -0.8215174674987793, -0.7292019128799438, 0.33152908086776733, -1.0792803764343262, -0.6726480722427368, 0.042868442833423615, 2.2703499794006348, 1.8541462421417236, -0.5842465758323669, -0.1584915816783905, -0.8827513456344604, 1.13756263256073, -0.11532896012067795, 0.2143450677394867, 2.1476056575775146, -0.27019691467285156, -0.9904537796974182, 1.304107666015625, -2.3581883907318115, 0.18082821369171143, 2.0996475219726562, 0.30771350860595703, 0.08969337493181229, -1.5014022588729858, -0.6461372971534729, -0.2735077142715454, -0.4602294862270355, -1.2592592239379883, 0.6284828186035156, -0.3131859004497528, -0.9322077631950378, -1.5238040685653687, 0.1770317703485489, -1.1305007934570312, -1.7087980508804321, 0.5206189751625061, 1.9171173572540283, 1.988330602645874, -0.67873215675354, 1.5051624774932861, -0.22590196132659912, 0.09663886576890945, 1.3925936222076416, 1.1939411163330078, 3.0584120750427246, 1.8809735774993896, -1.2678921222686768, 0.6564279198646545, -0.07767535746097565, -0.5582751035690308, 1.140837550163269, -1.1327385902404785, 1.1707144975662231, -0.3235483765602112, -1.2445977926254272, -1.3645246028900146, 1.067480444908142, 0.4806172251701355, 0.07491588592529297, -0.5700861811637878, 1.2494101524353027, 0.06858177483081818, 1.2777631282806396, 0.5694061517715454, -0.4104870557785034, 0.4796593189239502, -0.43064945936203003, -0.4896368980407715, 1.5475698709487915, 0.20331858098506927, -1.6072944402694702, -2.320504665374756, -0.23098625242710114, -0.7676690220832825, -0.14033806324005127, -0.5922458171844482, -1.0454771518707275, 1.5909215211868286, 0.4784979224205017, -1.4196891784667969, -0.34764987230300903, -0.3747045397758484, -0.5864564180374146, 2.675990104675293, -1.3375180959701538, -0.1451316624879837, -0.981247067451477, -0.5396231412887573, 1.7223358154296875, -1.3078173398971558, -0.12570732831954956, -1.1486400365829468, -0.724175214767456, -1.3150646686553955, -0.4510740339756012, 0.0658227801322937, -0.9026426672935486, 0.9087221622467041, 0.03619819134473801, -1.0622884035110474, -0.39364421367645264, -0.8760649561882019, 0.9689098000526428, -0.2322547733783722, 0.22008605301380157, 1.9857265949249268, 0.4332326650619507, -0.45686811208724976, 0.6487353444099426, 1.1247715950012207, 0.5836953520774841, -0.7531763315200806, 0.12648485600948334, -0.6305961608886719, 0.3202652931213379, -1.4824320077896118, 0.299373984336853, -3.0134284496307373, 0.7040137052536011, 0.0004445221275091171, -0.09686052054166794, -0.0710122212767601, -1.3690017461776733, 1.1557255983352661, 2.6025824546813965, -1.1935838460922241, 0.40878400206565857, 0.34598639607429504, 1.0846198797225952, -1.5620112419128418, 0.40974417328834534, -0.41266968846321106, 2.1173064708709717, 0.13555759191513062, 1.2797918319702148, -0.4658510088920593, -2.0255391597747803, 0.7161055207252502, -1.1849931478500366, -1.095950722694397, 0.6639472842216492, -0.7738389372825623, 0.2065962255001068, -1.635608196258545, -0.10810621082782745, -0.944290280342102, -1.3377349376678467, 0.8769118785858154, 0.1698617786169052, 0.34700262546539307, -0.5524677038192749, 0.3713833689689636, -2.1127817630767822, -1.4184987545013428, -0.18783430755138397, -0.9503666162490845, 0.5566098093986511, -0.335138201713562, 0.6396015882492065, -0.054034940898418427, 0.08419295400381088, 0.26464152336120605, 1.3590624332427979, 3.449944257736206, 0.17831148207187653, 0.3774823546409607, -0.03975426405668259, -0.9826889038085938, 1.5151543617248535, 1.0172115564346313, 0.027817247435450554, -0.4095169007778168, -1.0382455587387085, 1.271018385887146, 2.0050337314605713, 1.1019611358642578, 0.12250082194805145, -0.8618236184120178, -0.7773124575614929, 0.013465994969010353, 0.2712720036506653, 0.53324955701828, 0.8216692209243774, -0.03402400389313698, 0.07462660223245621, 1.4720605611801147, 1.2775050401687622, -0.3809361159801483, 0.41720494627952576, -1.0507256984710693, -0.41740190982818604, 0.4493398368358612, 0.32746750116348267, 0.06229732185602188, 0.5043231248855591, -0.9492502808570862, -0.26985520124435425, -0.21161861717700958, -0.9303379654884338, -0.6478174328804016, -0.5817853212356567, -0.5251235961914062, 1.5222152471542358, 0.13752292096614838, -0.4850866198539734, -0.0416010245680809, -0.8120315074920654, -0.2486574351787567, -1.14583420753479, 0.342608243227005, -0.08324085175991058, -0.07409506291151047, -0.22392015159130096, 1.7376238107681274, -0.9813830852508545, -2.14003324508667, 0.3294878900051117, 0.3761906325817108, -0.512028694152832, 0.13893890380859375, 1.5520998239517212, 0.5982519388198853, 1.3775618076324463, 1.214988350868225, 1.0350993871688843, -0.46163442730903625, -1.2858549356460571, 0.6314366459846497, 0.9599830508232117, -1.4234989881515503, 0.924533486366272, -0.10073205083608627, -0.49849867820739746, 0.8055130243301392, 1.3788163661956787, 0.37811043858528137, -1.9208999872207642, 0.8138948678970337, -0.7586192488670349, 0.8663298487663269, 0.7059149742126465, 0.7912892699241638, 0.3092096447944641, 0.8400570154190063, -1.312218189239502, -1.1461453437805176, -0.8830835223197937, -0.5542364120483398, 1.9387495517730713, -0.21402910351753235, 0.6612127423286438, -0.22655925154685974, -1.3279778957366943, -0.13982345163822174, 0.7365334630012512, 0.47582581639289856, -0.45805680751800537, 0.8568805456161499, -0.5321998596191406, -0.9586523771286011, -1.2821122407913208, -0.3483201265335083, -0.8520329594612122, -0.9078633785247803, 0.9910638332366943, 0.8087274432182312, 0.38105708360671997, 1.9290001392364502, 0.44430050253868103, 0.2756587564945221, -2.6283938884735107, 0.9377681612968445, 0.2579025328159332, 0.06349468231201172, 0.9185985326766968, 0.28819194436073303, 1.1525118350982666, 0.0467396080493927, 0.4763897657394409, -2.2994489669799805, 2.191561222076416, -0.22481216490268707, 0.587676465511322, -0.014066648669540882, -0.13626062870025635, 1.2001720666885376, 0.5184873342514038, 0.5642876625061035, -1.1314001083374023, 0.9564087390899658, -0.504407525062561, 1.1456624269485474, 0.9961559772491455, -0.7538684606552124, -0.01842997409403324, 1.3587557077407837, 0.6509833931922913, -0.47407689690589905, -0.7940012812614441, -0.8465442061424255, 1.0191441774368286, 1.653982162475586, 0.0020933011546730995, -0.06719706207513809, 0.8800719380378723, 0.6606546640396118, -1.1633185148239136, 0.10813571512699127, -0.7216227650642395, -0.5195155739784241, 1.6702024936676025, 2.004661798477173, -0.06574074923992157, -0.06336536258459091, -0.7972114682197571, -1.2071613073349, 0.6947101950645447, -0.09891878068447113, 0.07967600971460342, 0.7427091002464294, -0.6474970579147339, 1.168779969215393, 0.670342743396759, 0.907471239566803, -0.02517937868833542, 0.5242457389831543, 0.4649873375892639, -0.3032330572605133, -1.2594497203826904, -0.5192304253578186, -1.1939067840576172, -2.394130229949951, 0.4942111074924469, -0.36349597573280334, -1.2800767421722412, -0.012997761368751526, -1.212349772453308, 1.0009063482284546, -0.6795011758804321, -1.0559804439544678, -1.5354779958724976, 0.2754647731781006, -0.17706941068172455, 0.8826406002044678, -1.5704014301300049, -0.1185159981250763, 1.2530460357666016, 0.7490966320037842, -0.6333143711090088, 0.9688352346420288, 0.15596559643745422, 1.0970396995544434, 0.7547186613082886, -0.3902409076690674, 0.4491442143917084, 0.16531555354595184, -1.3807859420776367, 0.47448697686195374, 1.1168562173843384, 0.20012369751930237, 1.3588804006576538, -0.4956552982330322, 0.08349098265171051, 0.4966161549091339, -0.6443067789077759, -0.531110942363739, -0.4903731942176819, 0.8355520963668823, 0.15814678370952606, -1.0312587022781372, -0.0021669380366802216, -0.1724507361650467, -0.221143901348114, 0.20345813035964966, -1.5088108777999878, -0.2413838505744934, -0.29714682698249817, -0.5345503687858582, -1.31094491481781, 0.01399565301835537, 1.3884921073913574, -0.6726151704788208, -0.2014729082584381, 0.5022932291030884, 0.39894893765449524, 0.5263158679008484, 0.6055339574813843, -0.6370938420295715, -0.25363025069236755, -0.3377330005168915, -0.30364614725112915, 0.203743115067482, 1.2324280738830566, -0.09608902037143707, -1.0440653562545776, 0.7644640803337097, -0.4673038125038147, 0.1173030287027359, 2.117149829864502, -0.0024060802534222603, -0.8678693771362305, 0.3154563009738922, -0.7117942571640015, 1.8427433967590332, 1.625145435333252, 1.298324465751648, -0.04314674437046051, -0.9071177840232849, 0.48195964097976685, -0.20039601624011993, -0.336867094039917, 0.8641929030418396, 0.4807661771774292, -0.19490480422973633, -1.3343017101287842, 0.49280330538749695, 1.2599389553070068, -1.0104351043701172, -0.7954235076904297, 0.17527064681053162, -0.9076948761940002, 1.049778938293457, 0.6529120802879333, 0.46874967217445374, 0.26914843916893005, 1.5304615497589111, 0.5304086208343506, -0.4284590780735016, 0.43290039896965027, 0.4653235375881195, -0.1935064196586609, -2.101956367492676, -1.0764952898025513, 0.3013994097709656, -0.5323904752731323, -1.577401876449585, 1.3216732740402222, -1.177050232887268, -0.9326360821723938, 0.5250515341758728, 0.11461181193590164, 1.371936321258545, 0.2027570754289627, 1.696671485900879, 1.976423740386963, 0.8580026626586914, 0.3003108501434326, 1.378293752670288, -0.018184341490268707, -0.5256475806236267, 1.9172773361206055, -0.407108336687088, 0.639459490776062, 1.1103565692901611, -0.4366679787635803, -1.0812758207321167, -0.8476658463478088, -1.1286864280700684, -0.5640619993209839, 1.2123682498931885, 0.19928887486457825, -1.2624229192733765, 0.14810073375701904, 1.5188974142074585, 0.24399138987064362, -0.22041739523410797, 0.541102409362793, 0.45578718185424805, -0.8064907789230347, -0.0001994948834180832, -0.9270160794258118, 0.46232715249061584, -0.18027764558792114, -0.24098250269889832, 0.2846275269985199, 0.49106863141059875, 1.3036940097808838, -0.14178043603897095, 0.17943960428237915, 1.1843652725219727, -1.3089946508407593, 1.4848769903182983, -0.5002013444900513, 0.251203715801239, -2.478895902633667, 1.4594862461090088, -0.6874703764915466, 1.8992277383804321, -2.6291725635528564, 0.3927903473377228, -0.597522497177124, -0.4353610873222351, 0.2758224904537201, -0.38630473613739014, 0.03987545520067215, -0.17014482617378235, -1.1069200038909912, 0.01405051164329052, -0.8018693923950195, 0.4974251687526703, 1.3560014963150024, 1.405158519744873, -1.1686187982559204, -0.33528709411621094, -1.8130978345870972, -0.30047139525413513, -0.8181691765785217, 0.43389543890953064, -2.099625587463379, -0.06899607181549072, -1.9265652894973755, -2.3515682220458984, -1.364293098449707, -0.9017738699913025, 0.9544639587402344, 0.10484853386878967, -0.9589927196502686, 1.0705125331878662, -0.3260486125946045, -1.6622248888015747, 0.9942007064819336, -2.1362853050231934 ]
https://github.com/huggingface/datasets/issues/4005
Yelp not working
Hi, Facing the same issue while loading the dataset: `Error: {NonMatchingChecksumError}Checksums didn't match for dataset source files` Thanks
## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train Doesn't work: ``` Server error Status code: 400 Exception: Error Message: line contains NULL ``` Am I the one who added this dataset ? No A seamingly copy of the dataset: https://huggingface.co/datasets/SetFit/yelp_review_full works . The original one: https://huggingface.co/datasets/yelp_review_full has > 20K downloads.
857
18
Yelp not working ## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train Doesn't work: ``` Server error Status code: 400 Exception: Error Message: line contains NULL ``` Am I the one who added this dataset ? No A seamingly copy of the dataset: https://huggingface.co/datasets/SetFit/yelp_review_full works . The original one: https://huggingface.co/datasets/yelp_review_full has > 20K downloads. Hi, Facing the same issue while loading the dataset: `Error: {NonMatchingChecksumError}Checksums didn't match for dataset source files` Thanks
[ -1.1222615242004395, -0.9395848512649536, -0.8129268288612366, 1.4688429832458496, -0.15834976732730865, -1.328743577003479, 0.10923895239830017, -0.9269387125968933, 1.7124992609024048, -0.6506021022796631, 0.2201457917690277, -1.7433507442474365, -0.08121335506439209, -0.6164274215698242, -0.6978734135627747, -0.8907474875450134, -0.35304635763168335, -0.7157673239707947, 0.8802175521850586, 2.4351675510406494, 1.2904410362243652, -1.3143154382705688, 2.720690965652466, 0.6196295022964478, -0.2919175624847412, -1.0749958753585815, 0.5912201404571533, 0.09052246063947678, -1.2122470140457153, -0.5180371403694153, -0.8159002661705017, -0.009696751832962036, -0.4973134398460388, -0.43830689787864685, -0.023019403219223022, 0.5186405181884766, -0.21063296496868134, -0.2982642650604248, -0.6271176934242249, -0.8024428486824036, 0.46876487135887146, -0.21781381964683533, 0.896071195602417, -0.43736615777015686, 1.8193045854568481, -0.5579403638839722, 0.23133787512779236, 0.7647823691368103, 1.3848387002944946, 0.054948411881923676, -0.045319654047489166, 0.1942722499370575, 0.36540350317955017, 0.010300984606146812, 0.45948082208633423, 1.1095763444900513, 0.46640077233314514, 0.5810835957527161, 0.5879675149917603, -2.2845828533172607, 1.2890740633010864, -0.9982052445411682, 0.3381352126598358, 1.4763060808181763, -1.0306257009506226, 0.30261752009391785, -1.7158883810043335, -0.09663365036249161, 0.5787277221679688, -2.312666654586792, 0.2543172538280487, -1.3010915517807007, -0.5788989067077637, 0.934177577495575, 0.2547711133956909, -1.2424812316894531, 0.15995033085346222, -0.46547043323516846, 1.0799446105957031, 0.5557175874710083, 1.1577600240707397, -1.6236594915390015, 0.13342058658599854, -0.16830851137638092, -0.02345479466021061, -1.3972135782241821, -1.4937201738357544, 0.6137858033180237, 0.6326236724853516, 0.7586135268211365, -0.13500110805034637, 0.8731474876403809, -0.887137770652771, 0.8196364641189575, -1.026200771331787, -1.7206753492355347, -1.3997315168380737, -2.3263394832611084, -2.2399611473083496, 0.8565873503684998, -0.4918322265148163, -0.4685467481613159, 2.003408193588257, -0.8188700675964355, -1.7565503120422363, 1.1134846210479736, 0.3206239938735962, 0.09207336604595184, 2.2967259883880615, 0.24300938844680786, -0.7236503958702087, 0.32176923751831055, -0.7298073768615723, 0.8751645088195801, -0.30605700612068176, 1.4973771572113037, 0.6432214379310608, -1.0540986061096191, 1.6130377054214478, -0.5211069583892822, 0.5330283641815186, -0.5930169820785522, -0.5754861831665039, -0.8132433891296387, 0.4352346956729889, 1.778699517250061, -0.396085262298584, 1.5825234651565552, -0.3259141445159912, -1.488948941230774, -1.4926668405532837, 0.7814708948135376, 0.5258387923240662, -0.8380696177482605, 0.06997521221637726, -0.44479241967201233, 0.14849279820919037, -0.15664738416671753, 1.142704725265503, 1.0893644094467163, 0.560512125492096, -0.42488840222358704, -0.7866984009742737, 0.27296972274780273, 0.006577722728252411, -0.6770569682121277, -1.905745506286621, -0.32795146107673645, 0.239045649766922, 0.577951192855835, -1.1659297943115234, 1.5866341590881348, 0.7841121554374695, 1.9528114795684814, 0.9868754744529724, -0.27176445722579956, 1.4099383354187012, -0.08525216579437256, 1.7976375818252563, -0.648354172706604, 0.5635044574737549, -0.19458073377609253, -1.0030112266540527, 0.8461976647377014, -0.3807772099971771, -2.027862787246704, -0.8179575800895691, -0.9678685069084167, -0.1609305888414383, -0.760261595249176, 1.0742655992507935, -0.2797529101371765, -1.37530517578125, 0.09483255445957184, -0.6927109956741333, 0.1537727564573288, -1.2474175691604614, 0.14178554713726044, 0.7558980584144592, -0.545805811882019, -0.11064755171537399, -0.18222709000110626, -1.2806122303009033, -0.581716775894165, 0.43352916836738586, 1.9253007173538208, -0.7033470869064331, 0.9575318694114685, 0.9382555484771729, -0.7193332314491272, 0.2061673253774643, 0.17443078756332397, -0.2804502844810486, 0.8703980445861816, -1.0053720474243164, -0.4732375144958496, 1.0188390016555786, -0.18556039035320282, -0.69321209192276, 1.5536656379699707, 0.8541548252105713, -1.0736497640609741, -0.1950942426919937, -0.21394820511341095, -0.7575992941856384, -0.09172995388507843, -1.6032856702804565, -0.20374751091003418, 0.12943194806575775, -1.3955142498016357, -0.42594727873802185, -0.23612695932388306, 1.3972731828689575, -0.20397526025772095, 1.2383484840393066, -0.2839595675468445, -0.277506023645401, -0.41241684556007385, -0.40589696168899536, 0.16808351874351501, -0.22725419700145721, -0.5962956547737122, 0.24586808681488037, -0.9438815116882324, 0.36694517731666565, 1.3591973781585693, 0.4219089448451996, 0.03586718440055847, 0.5831731557846069, 1.142840027809143, 0.35194388031959534, -0.012458553537726402, -0.9583433866500854, -1.559340238571167, 2.0004525184631348, -1.3996950387954712, 1.9184117317199707, 0.7249131798744202, -0.003096451051533222, -1.8460248708724976, -1.918878197669983, 1.3758230209350586, 1.1531089544296265, 2.284428834915161, 0.5791819095611572, 0.31372275948524475, -0.817783772945404, -0.6940445899963379, 0.2921721041202545, -1.0568946599960327, -0.5821099281311035, 0.10236206650733948, 2.2788474559783936, 1.9284820556640625, -0.575805127620697, -0.18378201127052307, -0.9010302424430847, 1.144450068473816, -0.15057852864265442, 0.2422347366809845, 2.1130197048187256, -0.2793520987033844, -0.9583303928375244, 1.2556841373443604, -2.4065823554992676, 0.20106273889541626, 2.122936248779297, 0.31864482164382935, 0.11333984136581421, -1.5040411949157715, -0.6498966813087463, -0.24387861788272858, -0.5006151795387268, -1.327134132385254, 0.6627485156059265, -0.27044692635536194, -0.9059871435165405, -1.4388774633407593, 0.1737903356552124, -1.0573657751083374, -1.7391108274459839, 0.48553282022476196, 1.9043432474136353, 1.9344778060913086, -0.6915415525436401, 1.4793615341186523, -0.2990242838859558, 0.1563156545162201, 1.443528413772583, 1.2128385305404663, 3.074746608734131, 1.9162251949310303, -1.2478448152542114, 0.6731026768684387, -0.06680089235305786, -0.5579461455345154, 1.1893258094787598, -1.0920871496200562, 1.1661916971206665, -0.3130280673503876, -1.2686249017715454, -1.3311916589736938, 1.006587028503418, 0.47634148597717285, 0.10323362797498703, -0.5473029613494873, 1.2109485864639282, 0.07837425172328949, 1.27894926071167, 0.6272608637809753, -0.491827130317688, 0.4747607707977295, -0.37318310141563416, -0.4737758934497833, 1.5730512142181396, 0.20041342079639435, -1.5449622869491577, -2.3579983711242676, -0.2592282295227051, -0.7828609943389893, -0.12816128134727478, -0.574760377407074, -1.1038072109222412, 1.6226019859313965, 0.48677554726600647, -1.3708455562591553, -0.29825329780578613, -0.3716912269592285, -0.5440898537635803, 2.685373306274414, -1.3382394313812256, -0.13195641338825226, -0.9736813306808472, -0.5645793080329895, 1.7844085693359375, -1.2259535789489746, -0.14798356592655182, -1.1685014963150024, -0.7250599265098572, -1.3600356578826904, -0.4959560036659241, 0.061444349586963654, -0.8926193714141846, 0.939103901386261, -0.012675316073000431, -1.0715914964675903, -0.3472425639629364, -0.8749739527702332, 0.9702682495117188, -0.2367088794708252, 0.2056172639131546, 2.0093507766723633, 0.44450125098228455, -0.43407145142555237, 0.6781219244003296, 1.1182645559310913, 0.6276299953460693, -0.781391441822052, 0.20409002900123596, -0.6616725325584412, 0.2477661669254303, -1.491971731185913, 0.19605021178722382, -3.006072521209717, 0.7027795314788818, -0.010619664564728737, -0.05232534557580948, -0.04760237783193588, -1.3785444498062134, 1.1489025354385376, 2.556140899658203, -1.2314106225967407, 0.37216877937316895, 0.37992754578590393, 1.1328359842300415, -1.5454721450805664, 0.36049768328666687, -0.41021594405174255, 2.1482627391815186, 0.09834565222263336, 1.2806942462921143, -0.4487494230270386, -2.0321996212005615, 0.6816640496253967, -1.2407394647598267, -1.0916025638580322, 0.6860507726669312, -0.8140180706977844, 0.19476105272769928, -1.6841984987258911, -0.1267855167388916, -0.9095847010612488, -1.348493218421936, 0.9009883999824524, 0.17103447020053864, 0.3026793599128723, -0.5373731255531311, 0.3575989603996277, -2.1089677810668945, -1.4283920526504517, -0.19686369597911835, -0.9608414769172668, 0.5365934371948242, -0.34257394075393677, 0.6360409259796143, -0.04647248983383179, 0.07960516214370728, 0.2615765631198883, 1.3796069622039795, 3.4549310207366943, 0.19092042744159698, 0.35344159603118896, -0.018919799476861954, -0.9946803450584412, 1.5364270210266113, 1.0500849485397339, 0.06089307367801666, -0.42117688059806824, -0.9930645823478699, 1.2743033170700073, 2.0015199184417725, 1.0995745658874512, 0.0728398934006691, -0.873328685760498, -0.7250393629074097, -0.019785244017839432, 0.28055232763290405, 0.516696035861969, 0.7701584696769714, -0.04302920401096344, 0.057475194334983826, 1.425596833229065, 1.193097710609436, -0.3727744519710541, 0.46897536516189575, -1.0461190938949585, -0.4441550672054291, 0.47919943928718567, 0.3211017847061157, 0.032203756272792816, 0.5267088413238525, -0.9822988510131836, -0.28099754452705383, -0.1969323307275772, -0.9259583950042725, -0.5686686635017395, -0.592684268951416, -0.5037237405776978, 1.5033868551254272, 0.16548854112625122, -0.5077887773513794, -0.04156334698200226, -0.7819133996963501, -0.2162003517150879, -1.1131036281585693, 0.34845834970474243, -0.12267214804887772, -0.01721099205315113, -0.22661209106445312, 1.7091953754425049, -0.9759871959686279, -2.1039986610412598, 0.27273648977279663, 0.44730278849601746, -0.47429871559143066, 0.12239322066307068, 1.5256112813949585, 0.5384402871131897, 1.3539267778396606, 1.2313048839569092, 1.065566062927246, -0.4823853373527527, -1.3252758979797363, 0.6322990655899048, 0.9593664407730103, -1.375357747077942, 0.9227185845375061, -0.11815860867500305, -0.5124603509902954, 0.7823665142059326, 1.4222172498703003, 0.3860495984554291, -1.9704054594039917, 0.8133575916290283, -0.7639340758323669, 0.8737804293632507, 0.7081381678581238, 0.8306282758712769, 0.31228360533714294, 0.8704356551170349, -1.2997229099273682, -1.1384633779525757, -0.874720573425293, -0.5232856273651123, 1.9554649591445923, -0.17500391602516174, 0.6500484943389893, -0.20695579051971436, -1.3330914974212646, -0.13279259204864502, 0.709250807762146, 0.4711458683013916, -0.43254780769348145, 0.8299923539161682, -0.5231999754905701, -0.9585790038108826, -1.2936385869979858, -0.3343440592288971, -0.8352795243263245, -0.9944165349006653, 1.0119723081588745, 0.8289064168930054, 0.411971777677536, 1.8964924812316895, 0.4902535080909729, 0.25068336725234985, -2.625138998031616, 0.9368047714233398, 0.2812904715538025, 0.07391879707574844, 0.8431676030158997, 0.29756587743759155, 1.2150356769561768, 0.030035635456442833, 0.49744367599487305, -2.2521770000457764, 2.15739369392395, -0.2123298943042755, 0.5930308699607849, -0.030300306156277657, -0.17261047661304474, 1.2286723852157593, 0.4546555280685425, 0.5497230887413025, -1.1084692478179932, 0.9558188915252686, -0.4864310920238495, 1.1143559217453003, 1.008857011795044, -0.7452211976051331, -0.008828804828226566, 1.4069432020187378, 0.7053065299987793, -0.407911092042923, -0.8600972294807434, -0.8081998229026794, 1.0270999670028687, 1.5999161005020142, 0.0017234757542610168, -0.059567078948020935, 0.903434693813324, 0.6675389409065247, -1.1526795625686646, 0.10460199415683746, -0.7314716577529907, -0.5332386493682861, 1.7087944746017456, 1.9694291353225708, -0.09461511671543121, -0.01985955238342285, -0.8420360684394836, -1.17433500289917, 0.6423437595367432, -0.1409495770931244, 0.034091487526893616, 0.7275030016899109, -0.695821225643158, 1.144956111907959, 0.6308394074440002, 0.8702898621559143, -0.04373573511838913, 0.5565375089645386, 0.4103228449821472, -0.27893319725990295, -1.267999529838562, -0.48718130588531494, -1.1756916046142578, -2.457136869430542, 0.4375435709953308, -0.4073523283004761, -1.257157564163208, -0.005093262530863285, -1.2168664932250977, 1.0341675281524658, -0.7188917994499207, -1.0641121864318848, -1.5137643814086914, 0.2627822458744049, -0.16401270031929016, 0.8525933027267456, -1.581687331199646, -0.12956565618515015, 1.2896279096603394, 0.7414831519126892, -0.6827176809310913, 0.9696434736251831, 0.1906827688217163, 1.134131908416748, 0.7519001960754395, -0.41246309876441956, 0.4473348557949066, 0.13291974365711212, -1.4349594116210938, 0.5556444525718689, 1.0927964448928833, 0.1787191480398178, 1.4279189109802246, -0.4917236566543579, 0.06559129804372787, 0.5646308660507202, -0.6544044613838196, -0.5939881801605225, -0.49528035521507263, 0.8322705030441284, 0.10409004986286163, -1.0859668254852295, 0.024068715050816536, -0.12365768104791641, -0.1614094227552414, 0.21173344552516937, -1.5007046461105347, -0.2473985105752945, -0.333099901676178, -0.5660842657089233, -1.3366097211837769, 0.009503867477178574, 1.3436328172683716, -0.6557444334030151, -0.22090046107769012, 0.5429365038871765, 0.376625657081604, 0.5023030042648315, 0.5550814867019653, -0.6270989775657654, -0.2380998283624649, -0.37073907256126404, -0.3504840135574341, 0.18557272851467133, 1.2549993991851807, -0.12906424701213837, -1.0224968194961548, 0.7249537706375122, -0.4497535824775696, 0.06735225021839142, 2.162702798843384, 0.02806050516664982, -0.8494629263877869, 0.35886141657829285, -0.7020734548568726, 1.816053867340088, 1.602421760559082, 1.362366795539856, -0.03437739238142967, -0.9046932458877563, 0.444576233625412, -0.18793275952339172, -0.34819668531417847, 0.8249824047088623, 0.4650590121746063, -0.16779091954231262, -1.3492783308029175, 0.5379079580307007, 1.3406505584716797, -1.036598563194275, -0.7967488169670105, 0.20853859186172485, -0.8787007331848145, 1.0217636823654175, 0.6233997941017151, 0.4367833733558655, 0.31071072816848755, 1.5041425228118896, 0.539092481136322, -0.43123602867126465, 0.37750449776649475, 0.47385701537132263, -0.16628246009349823, -2.1098575592041016, -1.0987427234649658, 0.36017560958862305, -0.47191321849823, -1.603010892868042, 1.3052458763122559, -1.118539571762085, -0.9115912318229675, 0.5223572850227356, 0.1790759563446045, 1.356297492980957, 0.2615697979927063, 1.6486024856567383, 2.0134201049804688, 0.8256247043609619, 0.2987951338291168, 1.3515363931655884, -0.02616886980831623, -0.5184704065322876, 1.922666072845459, -0.4078312814235687, 0.5832489728927612, 1.084421157836914, -0.4622892141342163, -1.1055376529693604, -0.8579561710357666, -1.1843352317810059, -0.5142724514007568, 1.1913673877716064, 0.17450553178787231, -1.271274209022522, 0.17754298448562622, 1.5112162828445435, 0.2510245144367218, -0.21687689423561096, 0.6413163542747498, 0.4342483878135681, -0.7966495752334595, 0.010325687006115913, -0.991270899772644, 0.45252129435539246, -0.1703648567199707, -0.2043338418006897, 0.2390250265598297, 0.569826602935791, 1.315081238746643, -0.09749192744493484, 0.20298944413661957, 1.1473523378372192, -1.2703337669372559, 1.4446022510528564, -0.50924152135849, 0.2571446895599365, -2.4511685371398926, 1.4368423223495483, -0.7349387407302856, 1.8872076272964478, -2.63869047164917, 0.39716655015945435, -0.5719016194343567, -0.3399491608142853, 0.26747599244117737, -0.4531741142272949, 0.0688362568616867, -0.1181940957903862, -1.1564908027648926, 0.060245320200920105, -0.8143920302391052, 0.5253873467445374, 1.3624707460403442, 1.401792049407959, -1.219753623008728, -0.37533342838287354, -1.805405616760254, -0.27155572175979614, -0.8229024410247803, 0.42004522681236267, -2.0930159091949463, -0.039243824779987335, -1.8603401184082031, -2.3581745624542236, -1.316729187965393, -0.8831071257591248, 0.9585883617401123, 0.12176977097988129, -0.9830937385559082, 1.0851601362228394, -0.32579994201660156, -1.655874490737915, 0.9818546175956726, -2.114551067352295 ]
https://github.com/huggingface/datasets/issues/4005
Yelp not working
> Facing the same issue while loading the dataset: > > Error: {NonMatchingChecksumError}Checksums didn't match for dataset source files Thanks for reporting. I think this is the same issue. Feel free to try again later, once Google Drive stopped blocking you. You can retry by passing `download_mode="force_redownload"` to `load_dataset`
## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train Doesn't work: ``` Server error Status code: 400 Exception: Error Message: line contains NULL ``` Am I the one who added this dataset ? No A seamingly copy of the dataset: https://huggingface.co/datasets/SetFit/yelp_review_full works . The original one: https://huggingface.co/datasets/yelp_review_full has > 20K downloads.
857
49
Yelp not working ## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train Doesn't work: ``` Server error Status code: 400 Exception: Error Message: line contains NULL ``` Am I the one who added this dataset ? No A seamingly copy of the dataset: https://huggingface.co/datasets/SetFit/yelp_review_full works . The original one: https://huggingface.co/datasets/yelp_review_full has > 20K downloads. > Facing the same issue while loading the dataset: > > Error: {NonMatchingChecksumError}Checksums didn't match for dataset source files Thanks for reporting. I think this is the same issue. Feel free to try again later, once Google Drive stopped blocking you. You can retry by passing `download_mode="force_redownload"` to `load_dataset`
[ -1.163558006286621, -0.9435122609138489, -0.7790974378585815, 1.4396743774414062, -0.14933936297893524, -1.2701202630996704, 0.07655312865972519, -0.9704513549804688, 1.7316676378250122, -0.668228030204773, 0.2543100118637085, -1.7072010040283203, -0.024216018617153168, -0.6006642580032349, -0.7276446223258972, -0.878950834274292, -0.34398671984672546, -0.7403015494346619, 0.8571499586105347, 2.452643394470215, 1.3059732913970947, -1.3489718437194824, 2.6495747566223145, 0.6044939160346985, -0.290255606174469, -1.073411464691162, 0.5790495872497559, 0.04536440595984459, -1.202746868133545, -0.5192915201187134, -0.8657611012458801, -0.0408877432346344, -0.5931435823440552, -0.4845811128616333, -0.019197039306163788, 0.516339123249054, -0.2568759024143219, -0.26311132311820984, -0.6185076832771301, -0.8092908263206482, 0.4715498685836792, -0.2594853937625885, 0.9562628865242004, -0.4301331043243408, 1.8172259330749512, -0.620060920715332, 0.32412827014923096, 0.7589244842529297, 1.3410227298736572, 0.09336478263139725, -0.08483219146728516, 0.13664981722831726, 0.3683769702911377, 0.026171594858169556, 0.4526773989200592, 1.0531500577926636, 0.48510825634002686, 0.5317513942718506, 0.6333776712417603, -2.2736551761627197, 1.3169794082641602, -0.9656550884246826, 0.29692983627319336, 1.4173327684402466, -0.9708706736564636, 0.3365192413330078, -1.7656437158584595, -0.07819650322198868, 0.6210393905639648, -2.2887771129608154, 0.24314790964126587, -1.3936983346939087, -0.5848491787910461, 0.9150115847587585, 0.27393868565559387, -1.2871148586273193, 0.12889675796031952, -0.4245389401912689, 1.1049444675445557, 0.5869134664535522, 1.1137683391571045, -1.6665467023849487, 0.06787165254354477, -0.22717350721359253, 0.0698336660861969, -1.388877511024475, -1.5177197456359863, 0.6314148902893066, 0.6255505084991455, 0.685092031955719, -0.10500536113977432, 0.9510101675987244, -0.8793008923530579, 0.831027626991272, -1.0247886180877686, -1.6970741748809814, -1.3846447467803955, -2.310150623321533, -2.2891507148742676, 0.793066143989563, -0.5030447840690613, -0.44511619210243225, 1.9966195821762085, -0.8771711587905884, -1.7589807510375977, 1.1245665550231934, 0.24696853756904602, 0.08226954191923141, 2.302393913269043, 0.19537705183029175, -0.7351734042167664, 0.3654809594154358, -0.7292656302452087, 0.8195838332176208, -0.26820603013038635, 1.4664214849472046, 0.6361998319625854, -1.0684220790863037, 1.6207572221755981, -0.5438355803489685, 0.5174598693847656, -0.6040184497833252, -0.5969642996788025, -0.7737499475479126, 0.3978720009326935, 1.799483299255371, -0.40412774682044983, 1.5831531286239624, -0.32237040996551514, -1.5153725147247314, -1.5175637006759644, 0.8211689591407776, 0.5076102614402771, -0.8542240262031555, 0.08680523931980133, -0.3932986557483673, 0.15653952956199646, -0.168010875582695, 1.1375656127929688, 1.1732406616210938, 0.6223738193511963, -0.421267032623291, -0.7754442095756531, 0.23260121047496796, -0.033058587461709976, -0.6998720765113831, -1.90944242477417, -0.36349257826805115, 0.20340919494628906, 0.6397995948791504, -1.158616304397583, 1.6178240776062012, 0.7903519868850708, 1.924164891242981, 1.0098954439163208, -0.28295591473579407, 1.4078608751296997, -0.0418255478143692, 1.8001034259796143, -0.628174901008606, 0.591877818107605, -0.22372567653656006, -1.020573616027832, 0.8644898533821106, -0.30626723170280457, -1.995165228843689, -0.7958252429962158, -0.9396359324455261, -0.19076305627822876, -0.7616778612136841, 0.9596615433692932, -0.25634515285491943, -1.4143377542495728, 0.21755073964595795, -0.6885485649108887, 0.15389129519462585, -1.187608242034912, 0.21672646701335907, 0.7185153961181641, -0.5658413171768188, -0.09323491901159286, -0.19957959651947021, -1.2642929553985596, -0.5829163789749146, 0.36073097586631775, 1.920717716217041, -0.6662036776542664, 0.938744068145752, 0.9519543647766113, -0.6509979963302612, 0.16114355623722076, 0.2472992241382599, -0.24683405458927155, 0.8321971297264099, -1.0616719722747803, -0.47694727778434753, 1.0607448816299438, -0.19237007200717926, -0.6700959205627441, 1.5488704442977905, 0.7909449338912964, -1.040629267692566, -0.12893477082252502, -0.25388240814208984, -0.7669320702552795, -0.07098979502916336, -1.6148408651351929, -0.20377813279628754, 0.17805026471614838, -1.4343034029006958, -0.4272996187210083, -0.1795789897441864, 1.4054410457611084, -0.2046053558588028, 1.2992717027664185, -0.3470088839530945, -0.2509487271308899, -0.39506903290748596, -0.3657051920890808, 0.14317011833190918, -0.1976708322763443, -0.6074863076210022, 0.18426762521266937, -0.948313295841217, 0.3225462734699249, 1.3577373027801514, 0.4366280734539032, -0.0013752002269029617, 0.5008425712585449, 1.1633965969085693, 0.2984068989753723, 0.03019339218735695, -0.9276626110076904, -1.5273844003677368, 2.001707077026367, -1.4135385751724243, 1.95038640499115, 0.7184047102928162, -0.007026629522442818, -1.8302586078643799, -1.8666722774505615, 1.352769374847412, 1.1011677980422974, 2.3257150650024414, 0.5797930359840393, 0.2963399589061737, -0.7885230183601379, -0.6702312231063843, 0.33195820450782776, -1.0568256378173828, -0.6203259229660034, 0.09971712529659271, 2.2930774688720703, 1.8477904796600342, -0.5630040764808655, -0.17290551960468292, -0.9055918455123901, 1.213990330696106, -0.10852466523647308, 0.21483220160007477, 2.110016345977783, -0.27297118306159973, -1.0007104873657227, 1.3031622171401978, -2.370814561843872, 0.18736831843852997, 2.1230156421661377, 0.2804001271724701, 0.16289857029914856, -1.4708455801010132, -0.6556041836738586, -0.23759503662586212, -0.5170966386795044, -1.3075551986694336, 0.6343783736228943, -0.3199898302555084, -0.9032161235809326, -1.4378454685211182, 0.15657320618629456, -1.1196867227554321, -1.730757474899292, 0.4089345633983612, 1.8963940143585205, 1.971819281578064, -0.6748632192611694, 1.5542198419570923, -0.31456759572029114, 0.13526301085948944, 1.464653730392456, 1.232437252998352, 3.124614715576172, 1.9148093461990356, -1.281925082206726, 0.6785252094268799, -0.10343728959560394, -0.5264655947685242, 1.1806578636169434, -1.1108510494232178, 1.1546859741210938, -0.342033714056015, -1.2412331104278564, -1.2793211936950684, 1.0613130331039429, 0.4924751818180084, 0.06394977122545242, -0.5668005347251892, 1.2440882921218872, 0.08532996475696564, 1.2977991104125977, 0.5806560516357422, -0.4916084110736847, 0.5288676619529724, -0.39738523960113525, -0.5085985660552979, 1.5633054971694946, 0.23945145308971405, -1.4741290807724, -2.3373188972473145, -0.22760313749313354, -0.8259806036949158, -0.11882136762142181, -0.5742537379264832, -1.1158112287521362, 1.623782753944397, 0.4598943591117859, -1.4062995910644531, -0.32877475023269653, -0.3752899765968323, -0.5670793056488037, 2.687443971633911, -1.3442497253417969, -0.11801165342330933, -1.0024582147598267, -0.6385740637779236, 1.7179714441299438, -1.2865670919418335, -0.20009255409240723, -1.1502972841262817, -0.7081665396690369, -1.3592753410339355, -0.5115712881088257, 0.04013267159461975, -0.8947619795799255, 0.8690178990364075, 0.06503357738256454, -1.0695408582687378, -0.3518296480178833, -0.854519784450531, 0.9736849069595337, -0.1697421818971634, 0.24239051342010498, 1.9731159210205078, 0.39064764976501465, -0.49120524525642395, 0.6399922370910645, 1.099487066268921, 0.6380161046981812, -0.7584854960441589, 0.18546222150325775, -0.6848409175872803, 0.2836780548095703, -1.4349855184555054, 0.2801612615585327, -2.982891082763672, 0.7406498193740845, -0.0025791125372052193, -0.032580334693193436, -0.05099630355834961, -1.3442882299423218, 1.1019477844238281, 2.626641273498535, -1.1852600574493408, 0.348177045583725, 0.3536717891693115, 1.123682975769043, -1.586108922958374, 0.37792932987213135, -0.4300273358821869, 2.1658689975738525, 0.14037662744522095, 1.3008935451507568, -0.39055973291397095, -2.160551071166992, 0.7059748768806458, -1.2121198177337646, -1.155716061592102, 0.739877462387085, -0.7906411290168762, 0.13729478418827057, -1.6310279369354248, -0.16791439056396484, -0.9531086683273315, -1.3056559562683105, 0.9356803894042969, 0.16004611551761627, 0.35523250699043274, -0.5452662110328674, 0.3444382846355438, -2.113067865371704, -1.4166911840438843, -0.1877424716949463, -0.9087831974029541, 0.5046688318252563, -0.30874180793762207, 0.6250250339508057, -0.06099007651209831, 0.11497907340526581, 0.27989113330841064, 1.4175347089767456, 3.425697088241577, 0.16900350153446198, 0.35409945249557495, -0.06473323702812195, -1.0068855285644531, 1.4698200225830078, 1.0029115676879883, 0.01971861720085144, -0.44097477197647095, -1.0298097133636475, 1.2487984895706177, 1.968031883239746, 1.0069464445114136, 0.0984215959906578, -0.8263555765151978, -0.6958349943161011, 0.004448206163942814, 0.26512205600738525, 0.5063934326171875, 0.7810919880867004, 0.00665827002376318, 0.09410957247018814, 1.3897076845169067, 1.2260884046554565, -0.3323076367378235, 0.4012346863746643, -0.9962490200996399, -0.44015711545944214, 0.5332350134849548, 0.3256669044494629, 0.032290827482938766, 0.4654909372329712, -0.9705563187599182, -0.2573481500148773, -0.23327574133872986, -0.9834283590316772, -0.6033602952957153, -0.5857030749320984, -0.4493926465511322, 1.506576418876648, 0.15322880446910858, -0.45613133907318115, -0.04633195698261261, -0.8176024556159973, -0.2199638932943344, -1.16000235080719, 0.3095960021018982, -0.11432264745235443, -0.04259565472602844, -0.17341755330562592, 1.688522219657898, -0.9146360754966736, -2.0706965923309326, 0.3088478744029999, 0.40533265471458435, -0.45774340629577637, 0.14641191065311432, 1.5468580722808838, 0.5322579145431519, 1.358668565750122, 1.2160652875900269, 1.0291162729263306, -0.49420538544654846, -1.2843189239501953, 0.6069542169570923, 0.9598878622055054, -1.431380033493042, 0.9706191420555115, -0.07804861664772034, -0.48363468050956726, 0.7625345587730408, 1.3791759014129639, 0.38431423902511597, -1.9505001306533813, 0.7999699115753174, -0.7766838669776917, 0.8457199931144714, 0.6865755319595337, 0.8476305603981018, 0.29582419991493225, 0.9052824378013611, -1.2668267488479614, -1.129378318786621, -0.827673077583313, -0.5267072916030884, 1.982406735420227, -0.18269963562488556, 0.6383997797966003, -0.19653263688087463, -1.2934081554412842, -0.09812845289707184, 0.7309315204620361, 0.47650742530822754, -0.43093326687812805, 0.8235416412353516, -0.555420994758606, -0.9807257652282715, -1.2920165061950684, -0.35358765721321106, -0.8286218047142029, -0.9874148964881897, 1.0152679681777954, 0.8762685656547546, 0.4120140075683594, 1.9030547142028809, 0.4674915075302124, 0.25566866993904114, -2.639152765274048, 0.9152393937110901, 0.26649773120880127, 0.06266604363918304, 0.9364320039749146, 0.2946614623069763, 1.173423409461975, 0.00657589640468359, 0.5101200938224792, -2.2677013874053955, 2.1888985633850098, -0.24437996745109558, 0.6093432307243347, -0.04593614488840103, -0.16706515848636627, 1.163280725479126, 0.5208788514137268, 0.5384693145751953, -1.0989315509796143, 0.9468318819999695, -0.5114016532897949, 1.1068323850631714, 1.0072230100631714, -0.7709671258926392, -0.03116767480969429, 1.3895177841186523, 0.6234073638916016, -0.45467448234558105, -0.8375908136367798, -0.8022633790969849, 0.9465488791465759, 1.6740373373031616, 0.040192604064941406, -0.0639110654592514, 0.9055939316749573, 0.6561185717582703, -1.1695917844772339, 0.14450198411941528, -0.7437791228294373, -0.584428608417511, 1.6927406787872314, 1.9666593074798584, -0.09623224288225174, -0.06292665004730225, -0.8386600017547607, -1.1779452562332153, 0.7156191468238831, -0.0754396915435791, 0.061062704771757126, 0.6444082260131836, -0.7190831303596497, 1.1310710906982422, 0.6800675988197327, 0.9266869425773621, 0.060928892344236374, 0.5686694979667664, 0.46139538288116455, -0.2828099727630615, -1.2500056028366089, -0.4091140031814575, -1.1734730005264282, -2.539069890975952, 0.5148730278015137, -0.3556334376335144, -1.314450740814209, -0.013773711398243904, -1.129494309425354, 1.0068212747573853, -0.6907288432121277, -1.1132798194885254, -1.497352123260498, 0.2239871621131897, -0.12357479333877563, 0.8932874798774719, -1.581958293914795, -0.06307331472635269, 1.2746124267578125, 0.8132396936416626, -0.6333470344543457, 0.9794594645500183, 0.21896885335445404, 1.1219291687011719, 0.7576568126678467, -0.4449717700481415, 0.47147801518440247, 0.11258850991725922, -1.3795602321624756, 0.5005691647529602, 1.1167171001434326, 0.19557374715805054, 1.4426841735839844, -0.5248144268989563, 0.044134318828582764, 0.4896327555179596, -0.6450092196464539, -0.5501663684844971, -0.4941258132457733, 0.8095768690109253, 0.11923649907112122, -1.0422183275222778, 0.009413295425474644, -0.12498880922794342, -0.18923410773277283, 0.2155527025461197, -1.4993484020233154, -0.20835119485855103, -0.3489679992198944, -0.5410258173942566, -1.3338773250579834, -0.05045891925692558, 1.334204912185669, -0.7031018137931824, -0.20822341740131378, 0.4828890860080719, 0.33929580450057983, 0.5318959355354309, 0.5973213911056519, -0.6240562796592712, -0.2955693304538727, -0.40149378776550293, -0.39427319169044495, 0.15584295988082886, 1.2529841661453247, -0.1356372982263565, -1.0139992237091064, 0.736811637878418, -0.43963339924812317, 0.07128101587295532, 2.104374647140503, 0.0814347043633461, -0.7990661263465881, 0.32527515292167664, -0.7179771065711975, 1.806254267692566, 1.645059585571289, 1.3455415964126587, -0.06223408505320549, -0.9582310318946838, 0.49327781796455383, -0.28040438890457153, -0.38076668977737427, 0.854469358921051, 0.45663222670555115, -0.16049352288246155, -1.3339143991470337, 0.5891290307044983, 1.2972240447998047, -1.0289392471313477, -0.7520670294761658, 0.1693606674671173, -0.82539963722229, 1.005684733390808, 0.610399067401886, 0.4388762414455414, 0.29600921273231506, 1.5347212553024292, 0.532258927822113, -0.4798775613307953, 0.4066556394100189, 0.46481451392173767, -0.15577517449855804, -2.1148009300231934, -1.151893973350525, 0.34869030117988586, -0.5312027335166931, -1.6066731214523315, 1.3641512393951416, -1.1489698886871338, -0.9483747482299805, 0.527076005935669, 0.1797574758529663, 1.365686058998108, 0.24040743708610535, 1.695342779159546, 2.047745704650879, 0.8192088007926941, 0.3379715085029602, 1.3109805583953857, -0.01235555112361908, -0.47379350662231445, 1.9058127403259277, -0.440502405166626, 0.5771116614341736, 1.115756630897522, -0.4004703164100647, -1.0658637285232544, -0.8621730804443359, -1.1777925491333008, -0.53666090965271, 1.170532464981079, 0.16623151302337646, -1.2083832025527954, 0.17221704125404358, 1.6091831922531128, 0.1697426587343216, -0.25261786580085754, 0.590905487537384, 0.43579959869384766, -0.7801629900932312, -0.019356144592165947, -1.000842809677124, 0.4751400053501129, -0.16534310579299927, -0.25143441557884216, 0.23972854018211365, 0.559265673160553, 1.330944299697876, -0.09734682738780975, 0.18543745577335358, 1.2248344421386719, -1.2845841646194458, 1.4468574523925781, -0.5111852288246155, 0.2557595670223236, -2.454089403152466, 1.405442237854004, -0.758509635925293, 1.8943464756011963, -2.6293771266937256, 0.40682658553123474, -0.5548318028450012, -0.3555275797843933, 0.2644403278827667, -0.43618905544281006, 0.058578576892614365, -0.12852710485458374, -1.1168322563171387, 0.054461684077978134, -0.7425147294998169, 0.5588834881782532, 1.2896263599395752, 1.4085761308670044, -1.2660218477249146, -0.31000545620918274, -1.7798333168029785, -0.24487724900245667, -0.8279975056648254, 0.4192289412021637, -2.049240827560425, -0.003003784455358982, -1.896560788154602, -2.3974828720092773, -1.3451842069625854, -0.8685705065727234, 0.9670235514640808, 0.11186893284320831, -0.9506138563156128, 1.0779904127120972, -0.3096880316734314, -1.7121174335479736, 1.029194951057434, -2.0878217220306396 ]
https://github.com/huggingface/datasets/issues/4005
Yelp not working
I noticed that FastAI hosts the Yelp dataset at https://s3.amazonaws.com/fast-ai-nlp/yelp_review_full_csv.tgz (from their catalog [here](https://course.fast.ai/datasets)) Let's update the yelp dataset script to download from there instead of Google Drive
## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train Doesn't work: ``` Server error Status code: 400 Exception: Error Message: line contains NULL ``` Am I the one who added this dataset ? No A seamingly copy of the dataset: https://huggingface.co/datasets/SetFit/yelp_review_full works . The original one: https://huggingface.co/datasets/yelp_review_full has > 20K downloads.
857
28
Yelp not working ## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train Doesn't work: ``` Server error Status code: 400 Exception: Error Message: line contains NULL ``` Am I the one who added this dataset ? No A seamingly copy of the dataset: https://huggingface.co/datasets/SetFit/yelp_review_full works . The original one: https://huggingface.co/datasets/yelp_review_full has > 20K downloads. I noticed that FastAI hosts the Yelp dataset at https://s3.amazonaws.com/fast-ai-nlp/yelp_review_full_csv.tgz (from their catalog [here](https://course.fast.ai/datasets)) Let's update the yelp dataset script to download from there instead of Google Drive
[ -1.134100079536438, -0.9258320331573486, -0.8379265666007996, 1.4814811944961548, -0.1520771086215973, -1.299503207206726, 0.03846590965986252, -0.9098740816116333, 1.6621921062469482, -0.6800398826599121, 0.21115648746490479, -1.7412530183792114, -0.03078041970729828, -0.6118082404136658, -0.6831362247467041, -0.8819352388381958, -0.3314359784126282, -0.7447362542152405, 0.8884251117706299, 2.4411816596984863, 1.2703073024749756, -1.3309063911437988, 2.7343313694000244, 0.6830549836158752, -0.28631603717803955, -1.0828135013580322, 0.5715376138687134, 0.09134767949581146, -1.2148442268371582, -0.43739622831344604, -0.8804537057876587, -0.05490519851446152, -0.5551343560218811, -0.4557619094848633, 0.01920381374657154, 0.49539321660995483, -0.2556919455528259, -0.21178899705410004, -0.6484494805335999, -0.7471113204956055, 0.4659528434276581, -0.26158973574638367, 0.9253561496734619, -0.4113275110721588, 1.8234269618988037, -0.6090295314788818, 0.2582013010978699, 0.7346267104148865, 1.3473711013793945, 0.0751696527004242, -0.0878564864397049, 0.2127784937620163, 0.38473278284072876, 0.043609894812107086, 0.49826520681381226, 1.1315404176712036, 0.5218373537063599, 0.5013830661773682, 0.6205288767814636, -2.2764065265655518, 1.3191007375717163, -0.9036102294921875, 0.28105252981185913, 1.4103373289108276, -1.0534946918487549, 0.29930567741394043, -1.7020540237426758, -0.13458968698978424, 0.6151765584945679, -2.3088109493255615, 0.1797027885913849, -1.314216136932373, -0.5328524112701416, 0.9502124190330505, 0.2699104845523834, -1.2491998672485352, 0.18487556278705597, -0.4860425889492035, 1.096891164779663, 0.5696568489074707, 1.1794655323028564, -1.6155004501342773, 0.06426478922367096, -0.1695307344198227, 0.02002556622028351, -1.3378230333328247, -1.5110018253326416, 0.5707476735115051, 0.6870248317718506, 0.7719867825508118, -0.18103912472724915, 0.8793493509292603, -0.8469550609588623, 0.8387587070465088, -1.0252472162246704, -1.6832960844039917, -1.4030016660690308, -2.3753771781921387, -2.21225905418396, 0.8787932991981506, -0.48459404706954956, -0.4625505208969116, 1.9815404415130615, -0.9044381976127625, -1.7820686101913452, 1.0197908878326416, 0.2682655453681946, 0.11615590751171112, 2.2655527591705322, 0.1554102748632431, -0.7452678680419922, 0.3423340618610382, -0.709202766418457, 0.8546101450920105, -0.21194836497306824, 1.4651882648468018, 0.6781675219535828, -1.0311206579208374, 1.576017141342163, -0.525569498538971, 0.5159001350402832, -0.5999220609664917, -0.5240116119384766, -0.821813702583313, 0.3918680250644684, 1.7861093282699585, -0.3664737641811371, 1.6509543657302856, -0.27567800879478455, -1.4851645231246948, -1.5132890939712524, 0.7023199796676636, 0.5465160012245178, -0.879713773727417, 0.07052147388458252, -0.5005502104759216, 0.11173567175865173, -0.05701873451471329, 1.196068286895752, 1.1107453107833862, 0.603850245475769, -0.4273317754268646, -0.815729558467865, 0.24961386620998383, -0.04885224997997284, -0.6551170945167542, -1.9063351154327393, -0.3416987955570221, 0.27543944120407104, 0.6482242941856384, -1.1930776834487915, 1.6171879768371582, 0.7765238881111145, 1.9453458786010742, 1.0644404888153076, -0.2934592366218567, 1.4293291568756104, -0.08130905032157898, 1.8049169778823853, -0.6196742653846741, 0.5882103443145752, -0.21694184839725494, -1.0174658298492432, 0.8392589688301086, -0.4233603775501251, -2.0617029666900635, -0.7980716228485107, -0.8914899230003357, -0.11856898665428162, -0.7382203936576843, 1.0242239236831665, -0.2895336449146271, -1.3687772750854492, 0.11082494258880615, -0.7394101619720459, 0.12017202377319336, -1.192379355430603, 0.12132491171360016, 0.7609179019927979, -0.597671627998352, -0.10190893709659576, -0.23534554243087769, -1.3194485902786255, -0.5938417315483093, 0.4172080159187317, 1.933912754058838, -0.6763832569122314, 0.955639660358429, 0.9480223059654236, -0.6704151034355164, 0.23439469933509827, 0.2010902315378189, -0.2657915949821472, 0.8784540891647339, -1.0640788078308105, -0.4102837145328522, 0.971408486366272, -0.17176967859268188, -0.6895321607589722, 1.472529649734497, 0.8641498684883118, -1.0403932332992554, -0.19963312149047852, -0.19277746975421906, -0.7810711860656738, -0.08578158915042877, -1.564772367477417, -0.24246980249881744, 0.13708263635635376, -1.4503376483917236, -0.36340880393981934, -0.24199460446834564, 1.4362146854400635, -0.15258340537548065, 1.2679715156555176, -0.2953481078147888, -0.28109052777290344, -0.3810867965221405, -0.4434410035610199, 0.16659855842590332, -0.23918533325195312, -0.6252389550209045, 0.29125654697418213, -0.9132928252220154, 0.2961396872997284, 1.358418583869934, 0.44296500086784363, 0.06413803994655609, 0.5723361372947693, 1.1224064826965332, 0.36480283737182617, -0.049886420369148254, -0.9049555659294128, -1.6604069471359253, 2.02797794342041, -1.3101011514663696, 1.8807621002197266, 0.8024373650550842, 0.029921334236860275, -1.8396515846252441, -1.9068491458892822, 1.3511563539505005, 1.1413670778274536, 2.331291913986206, 0.5525118708610535, 0.31823137402534485, -0.7427705526351929, -0.720883846282959, 0.32416319847106934, -1.0047544240951538, -0.6359814405441284, 0.06536339223384857, 2.3288991451263428, 1.8623279333114624, -0.5643495321273804, -0.1672488898038864, -0.8450875282287598, 1.1379650831222534, -0.14904838800430298, 0.18446408212184906, 2.1032519340515137, -0.23179419338703156, -0.9705984592437744, 1.335511565208435, -2.420811891555786, 0.2100050300359726, 2.1059036254882812, 0.3076323866844177, 0.035769302397966385, -1.4991360902786255, -0.709724485874176, -0.2691102623939514, -0.5681011080741882, -1.2923113107681274, 0.6091507077217102, -0.3297595679759979, -0.922277569770813, -1.4649513959884644, 0.09783819317817688, -1.0911809206008911, -1.7710014581680298, 0.45402491092681885, 1.8872439861297607, 1.9595633745193481, -0.640842080116272, 1.4425541162490845, -0.24998944997787476, 0.11774174869060516, 1.4286080598831177, 1.2644271850585938, 3.1386075019836426, 1.907863736152649, -1.2479676008224487, 0.691493034362793, -0.08385005593299866, -0.5168838500976562, 1.1475800275802612, -1.1635491847991943, 1.1254465579986572, -0.2990022897720337, -1.3026068210601807, -1.2658734321594238, 1.102880835533142, 0.47815820574760437, 0.03123052418231964, -0.5379928946495056, 1.231201171875, 0.023780837655067444, 1.2344626188278198, 0.6057754755020142, -0.47624775767326355, 0.4545801281929016, -0.39204636216163635, -0.5772241353988647, 1.5713037252426147, 0.1493145376443863, -1.5558733940124512, -2.3780829906463623, -0.21339359879493713, -0.7950470447540283, -0.20968806743621826, -0.61021888256073, -1.051762342453003, 1.6286616325378418, 0.4360065460205078, -1.3944491147994995, -0.3066521883010864, -0.36117035150527954, -0.5462803840637207, 2.6728811264038086, -1.3444355726242065, -0.16351428627967834, -1.0317379236221313, -0.563957929611206, 1.7023205757141113, -1.2326840162277222, -0.16496309638023376, -1.142742395401001, -0.7382697463035583, -1.3388081789016724, -0.42514583468437195, 0.041927520185709, -0.8541737198829651, 0.8911123871803284, -0.027610378339886665, -1.0957005023956299, -0.3137960433959961, -0.8928652405738831, 1.0425735712051392, -0.19076672196388245, 0.2052423655986786, 2.003681182861328, 0.3975083529949188, -0.498156875371933, 0.6035162806510925, 1.1980791091918945, 0.6985839009284973, -0.785855770111084, 0.13917027413845062, -0.6790972948074341, 0.2513110935688019, -1.5077502727508545, 0.2843549847602844, -3.026672601699829, 0.7453240156173706, -0.04006145894527435, -0.11409173905849457, -0.05154618248343468, -1.3426839113235474, 1.107715129852295, 2.579122543334961, -1.2153801918029785, 0.3558734953403473, 0.3276691436767578, 1.1334452629089355, -1.5117614269256592, 0.3874025344848633, -0.4559457004070282, 2.1190104484558105, 0.18762677907943726, 1.269694209098816, -0.37842026352882385, -2.0372562408447266, 0.7536951303482056, -1.186176061630249, -1.0269345045089722, 0.7051381468772888, -0.7940627336502075, 0.2355160117149353, -1.6111823320388794, -0.0645899847149849, -0.9049164056777954, -1.2899729013442993, 0.8815895915031433, 0.18232214450836182, 0.3130285143852234, -0.5036121010780334, 0.3135322034358978, -2.1219370365142822, -1.3879038095474243, -0.11880026757717133, -0.9737905263900757, 0.572568953037262, -0.3292029798030853, 0.5978599190711975, -0.010782978497445583, 0.08985637128353119, 0.22953398525714874, 1.4715079069137573, 3.4617059230804443, 0.14689947664737701, 0.3590712249279022, -0.013623485341668129, -1.0214498043060303, 1.514827013015747, 0.9849242568016052, 0.03666101023554802, -0.42681780457496643, -1.0771688222885132, 1.260994553565979, 1.957312822341919, 1.149793028831482, 0.10404127836227417, -0.8797866106033325, -0.7885212898254395, 0.044875599443912506, 0.2783387303352356, 0.5189540982246399, 0.8219247460365295, -0.024174857884645462, 0.06072673574090004, 1.5196263790130615, 1.2292791604995728, -0.3274436593055725, 0.43517395853996277, -1.086320400238037, -0.41654905676841736, 0.418727308511734, 0.3105842173099518, 0.03898932412266731, 0.5294885635375977, -1.0729987621307373, -0.23651480674743652, -0.20481640100479126, -0.9107333421707153, -0.6499095559120178, -0.5825248956680298, -0.5206142067909241, 1.5236477851867676, 0.16748292744159698, -0.4938899874687195, -0.01802794262766838, -0.815064549446106, -0.22082489728927612, -1.1227450370788574, 0.3970893919467926, -0.09273064136505127, -0.05602269247174263, -0.20507492125034332, 1.6303205490112305, -0.938217282295227, -2.156007766723633, 0.3257567584514618, 0.4100055694580078, -0.49568432569503784, 0.09237809479236603, 1.5622048377990723, 0.5880371332168579, 1.3287625312805176, 1.2431514263153076, 1.0282143354415894, -0.45456016063690186, -1.2910808324813843, 0.5836726427078247, 0.9408288598060608, -1.3845294713974, 0.9901259541511536, -0.218671515583992, -0.5069134831428528, 0.7582954168319702, 1.41310715675354, 0.3545241355895996, -1.9791243076324463, 0.8452404737472534, -0.7073984742164612, 0.8235887885093689, 0.6273689866065979, 0.8008472919464111, 0.2674175202846527, 0.8730677366256714, -1.3542994260787964, -1.138807773590088, -0.8629066348075867, -0.5074306726455688, 1.9229587316513062, -0.151530921459198, 0.6415714621543884, -0.2740921676158905, -1.2829915285110474, -0.12507286667823792, 0.7123728394508362, 0.4237017333507538, -0.5320608615875244, 0.9208011031150818, -0.5498421788215637, -1.022937536239624, -1.2830771207809448, -0.40191298723220825, -0.8030360341072083, -0.920714259147644, 1.0061489343643188, 0.8080316185951233, 0.42956894636154175, 1.9439159631729126, 0.44469037652015686, 0.2361038625240326, -2.649707555770874, 0.8953415155410767, 0.24205727875232697, 0.1369646042585373, 0.9508084654808044, 0.23292425274848938, 1.212815761566162, 0.019487576559185982, 0.5745531916618347, -2.230393886566162, 2.119853973388672, -0.25232213735580444, 0.5725521445274353, -0.028727928176522255, -0.14838172495365143, 1.1558761596679688, 0.5402428507804871, 0.580430805683136, -1.0961424112319946, 0.9614900946617126, -0.5660470724105835, 1.1010780334472656, 0.9910518527030945, -0.7905291318893433, -0.017428100109100342, 1.4121898412704468, 0.6752156615257263, -0.41293370723724365, -0.8365002870559692, -0.8653454184532166, 0.9944680333137512, 1.6698681116104126, 0.042951203882694244, 0.00761825405061245, 0.8982464671134949, 0.629893958568573, -1.1834105253219604, 0.09628306329250336, -0.7024214267730713, -0.5099558234214783, 1.6829521656036377, 2.0275540351867676, -0.08568261563777924, -0.06915368139743805, -0.8020375967025757, -1.1832306385040283, 0.6677088737487793, -0.11166328191757202, 0.032043226063251495, 0.7924946546554565, -0.6904845833778381, 1.1260029077529907, 0.6160035133361816, 0.9169302582740784, 0.005961168557405472, 0.5279344916343689, 0.4131622910499573, -0.2799069583415985, -1.2642593383789062, -0.5206735134124756, -1.1265283823013306, -2.426588535308838, 0.451565682888031, -0.37792158126831055, -1.3569074869155884, 0.054703239351511, -1.2339810132980347, 0.9681055545806885, -0.6763013601303101, -1.0899667739868164, -1.4802584648132324, 0.31847551465034485, -0.12769347429275513, 0.8847121000289917, -1.551542043685913, -0.07499603927135468, 1.2576097249984741, 0.7884050011634827, -0.6388434767723083, 0.9431039690971375, 0.21111543476581573, 1.1011760234832764, 0.8033850193023682, -0.39627835154533386, 0.41308942437171936, 0.18274153769016266, -1.4101085662841797, 0.49063801765441895, 1.1047452688217163, 0.22277222573757172, 1.3939043283462524, -0.5244699716567993, 0.11960440874099731, 0.5623331069946289, -0.6934466361999512, -0.5901587605476379, -0.5008678436279297, 0.8007599711418152, 0.1073307991027832, -1.039928674697876, -0.01958562061190605, -0.11910459399223328, -0.222490131855011, 0.1972048580646515, -1.4505091905593872, -0.2047911137342453, -0.2722436785697937, -0.5619637370109558, -1.3616200685501099, 0.027729135006666183, 1.3229271173477173, -0.7687115669250488, -0.19169750809669495, 0.4971061944961548, 0.34270867705345154, 0.4833162724971771, 0.5548549294471741, -0.6315453052520752, -0.2505171000957489, -0.3456404209136963, -0.34228605031967163, 0.13337209820747375, 1.155463457107544, -0.13400718569755554, -1.0514283180236816, 0.7728955745697021, -0.4515843987464905, 0.09733946621417999, 2.1127376556396484, -0.003620035946369171, -0.8466781973838806, 0.3570444583892822, -0.6720718145370483, 1.8027331829071045, 1.657218337059021, 1.3189617395401, -0.027346331626176834, -0.8984835147857666, 0.4514920711517334, -0.18619363009929657, -0.34052756428718567, 0.8570041060447693, 0.4679213762283325, -0.162445068359375, -1.3701485395431519, 0.5214679837226868, 1.319740653038025, -1.0632448196411133, -0.7022489309310913, 0.24970905482769012, -0.8932163715362549, 1.0875585079193115, 0.5744112730026245, 0.3952000141143799, 0.267610102891922, 1.509763240814209, 0.5516626238822937, -0.4652358293533325, 0.4094948470592499, 0.48880118131637573, -0.1382983773946762, -2.1113667488098145, -0.9869655966758728, 0.33643099665641785, -0.4591869115829468, -1.6157920360565186, 1.2960155010223389, -1.2031140327453613, -0.8945426344871521, 0.5272831320762634, 0.13320493698120117, 1.3179441690444946, 0.21129511296749115, 1.704680323600769, 2.0602495670318604, 0.8266100883483887, 0.3452538549900055, 1.2919139862060547, 0.029927872121334076, -0.4805353581905365, 1.8523954153060913, -0.3494676351547241, 0.6468831300735474, 1.0502159595489502, -0.4271095395088196, -1.0498582124710083, -0.87781822681427, -1.1490305662155151, -0.5078010559082031, 1.1685206890106201, 0.24650929868221283, -1.2406325340270996, 0.13888444006443024, 1.477993369102478, 0.22107210755348206, -0.19284597039222717, 0.6008409261703491, 0.40427282452583313, -0.7170416712760925, -0.04172591120004654, -0.9856421947479248, 0.4843917787075043, -0.14244858920574188, -0.2078232616186142, 0.26942193508148193, 0.5137370824813843, 1.2800862789154053, -0.06290195882320404, 0.22118692100048065, 1.258878231048584, -1.2939926385879517, 1.5281416177749634, -0.5075278282165527, 0.32051992416381836, -2.4564714431762695, 1.4453961849212646, -0.7599700689315796, 1.921995759010315, -2.560123920440674, 0.37944963574409485, -0.5469292998313904, -0.43995845317840576, 0.2664259672164917, -0.40678688883781433, 0.02970125898718834, -0.11334531009197235, -1.0815836191177368, 0.049424849450588226, -0.8284609913825989, 0.46672627329826355, 1.4260227680206299, 1.3857388496398926, -1.2256860733032227, -0.3452290892601013, -1.7762703895568848, -0.28773826360702515, -0.8068757057189941, 0.44932880997657776, -2.0321860313415527, -0.04404373839497566, -1.8833857774734497, -2.4583957195281982, -1.371321678161621, -0.9640706181526184, 0.9720821976661682, 0.0942685455083847, -1.012970209121704, 1.0704747438430786, -0.3204847276210785, -1.6688604354858398, 0.9880586862564087, -2.17270565032959 ]
https://github.com/huggingface/datasets/issues/4005
Yelp not working
I updated the link to not use Google Drive anymore, we will do a release early next week with the updated download url of the dataset :)
## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train Doesn't work: ``` Server error Status code: 400 Exception: Error Message: line contains NULL ``` Am I the one who added this dataset ? No A seamingly copy of the dataset: https://huggingface.co/datasets/SetFit/yelp_review_full works . The original one: https://huggingface.co/datasets/yelp_review_full has > 20K downloads.
857
27
Yelp not working ## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train Doesn't work: ``` Server error Status code: 400 Exception: Error Message: line contains NULL ``` Am I the one who added this dataset ? No A seamingly copy of the dataset: https://huggingface.co/datasets/SetFit/yelp_review_full works . The original one: https://huggingface.co/datasets/yelp_review_full has > 20K downloads. I updated the link to not use Google Drive anymore, we will do a release early next week with the updated download url of the dataset :)
[ -1.1361664533615112, -0.928782045841217, -0.8437067866325378, 1.5143461227416992, -0.16424663364887238, -1.32594633102417, 0.11671460419893265, -0.9391338229179382, 1.6770572662353516, -0.6671549081802368, 0.1962563544511795, -1.7554001808166504, -0.053384922444820404, -0.5940915942192078, -0.7025113105773926, -0.8725437521934509, -0.3967135548591614, -0.7128547430038452, 0.8763432502746582, 2.427868127822876, 1.333298921585083, -1.3177934885025024, 2.707393169403076, 0.6605119109153748, -0.2855245769023895, -1.1016666889190674, 0.5772175192832947, 0.07226365804672241, -1.192778468132019, -0.5039902925491333, -0.8126784563064575, -0.02602803148329258, -0.5345651507377625, -0.45576536655426025, -0.02605014108121395, 0.5438405275344849, -0.2611424922943115, -0.23306351900100708, -0.6327864527702332, -0.775251030921936, 0.4915715157985687, -0.2364286184310913, 0.8756768703460693, -0.47717225551605225, 1.7967947721481323, -0.5747922658920288, 0.2460944503545761, 0.7805194854736328, 1.4282021522521973, 0.07403931766748428, -0.09097737073898315, 0.2304154634475708, 0.34207335114479065, 0.0269825030118227, 0.4710406959056854, 1.1289604902267456, 0.47242990136146545, 0.5470115542411804, 0.5629409551620483, -2.251688003540039, 1.3509119749069214, -0.9738035798072815, 0.3465254604816437, 1.46620512008667, -1.0298080444335938, 0.31731244921684265, -1.7072727680206299, -0.10501320660114288, 0.5703733563423157, -2.347364902496338, 0.23796547949314117, -1.3235515356063843, -0.5588887929916382, 0.9758497476577759, 0.27216625213623047, -1.2721303701400757, 0.1394033133983612, -0.519852876663208, 1.086857795715332, 0.6181711554527283, 1.1720033884048462, -1.6301548480987549, 0.12952926754951477, -0.1983247548341751, -0.012439072132110596, -1.4068989753723145, -1.4720697402954102, 0.594444215297699, 0.6730477213859558, 0.7776506543159485, -0.07934378832578659, 0.8609225153923035, -0.8161401748657227, 0.8223689794540405, -1.0121581554412842, -1.7010397911071777, -1.3739022016525269, -2.3256049156188965, -2.199094533920288, 0.865084171295166, -0.5220878720283508, -0.45861658453941345, 2.0428833961486816, -0.8324233889579773, -1.7645906209945679, 1.113505244255066, 0.3383682668209076, 0.10551619529724121, 2.2982017993927, 0.20858535170555115, -0.7063112258911133, 0.33704879879951477, -0.6754769086837769, 0.8908342123031616, -0.33822935819625854, 1.4887721538543701, 0.5899420976638794, -1.0575261116027832, 1.587178349494934, -0.5378883481025696, 0.5597352385520935, -0.638927161693573, -0.5530328154563904, -0.8221619725227356, 0.4420507848262787, 1.7728930711746216, -0.3727628290653229, 1.5798722505569458, -0.33155035972595215, -1.479949951171875, -1.5118316411972046, 0.7633891701698303, 0.546741247177124, -0.8547112345695496, 0.09548480063676834, -0.46460750699043274, 0.07618856430053711, -0.10490752011537552, 1.1111695766448975, 1.0998902320861816, 0.6040830612182617, -0.3675118684768677, -0.8025959730148315, 0.28930574655532837, -0.04034990072250366, -0.680737316608429, -1.9270052909851074, -0.30479443073272705, 0.21853530406951904, 0.5924566388130188, -1.1539466381072998, 1.5945926904678345, 0.8110030889511108, 1.9721735715866089, 1.0179470777511597, -0.3128339350223541, 1.4012770652770996, -0.07392844557762146, 1.8120173215866089, -0.5704594850540161, 0.5738242864608765, -0.18834556639194489, -1.0119320154190063, 0.8501734137535095, -0.3845071494579315, -2.0601038932800293, -0.8295074105262756, -0.9503037929534912, -0.15894179046154022, -0.7466023564338684, 1.099948763847351, -0.28993144631385803, -1.3290810585021973, 0.10703893005847931, -0.7342352867126465, 0.14254625141620636, -1.2481186389923096, 0.13666287064552307, 0.7854801416397095, -0.5846139192581177, -0.11069503426551819, -0.22244654595851898, -1.293835163116455, -0.5901460647583008, 0.45468682050704956, 1.9045705795288086, -0.6755015850067139, 0.9235419034957886, 0.9337508082389832, -0.6796863675117493, 0.19428260624408722, 0.1570577621459961, -0.27988728880882263, 0.896904706954956, -0.9577579498291016, -0.44248291850090027, 0.9999238848686218, -0.20497539639472961, -0.7185111045837402, 1.5539120435714722, 0.7946106791496277, -1.0417182445526123, -0.15054604411125183, -0.23045699298381805, -0.8185333013534546, -0.060904473066329956, -1.5631941556930542, -0.18492752313613892, 0.16644862294197083, -1.4422247409820557, -0.4243631660938263, -0.20970773696899414, 1.3895248174667358, -0.1701650172472, 1.2779814004898071, -0.34637686610221863, -0.2307989001274109, -0.3872520327568054, -0.39528706669807434, 0.1699078530073166, -0.2380884438753128, -0.5940725207328796, 0.22715766727924347, -0.9011456966400146, 0.3242996335029602, 1.3705586194992065, 0.4416322410106659, 0.05851005017757416, 0.6002492904663086, 1.1135859489440918, 0.3709299862384796, -0.06390020251274109, -0.9137313365936279, -1.5689538717269897, 1.9961189031600952, -1.3541667461395264, 1.9189790487289429, 0.7791265249252319, 0.01956588588654995, -1.838131308555603, -1.907370686531067, 1.3772122859954834, 1.1485695838928223, 2.234027862548828, 0.5899154543876648, 0.3216444253921509, -0.8068676590919495, -0.7101226449012756, 0.3068787753582001, -1.051228642463684, -0.6402102112770081, 0.03082534484565258, 2.30543851852417, 1.8986262083053589, -0.5964311957359314, -0.16978923976421356, -0.8894779086112976, 1.1435766220092773, -0.14785438776016235, 0.21553297340869904, 2.096107006072998, -0.25705042481422424, -0.9319568276405334, 1.2808480262756348, -2.406773567199707, 0.196842759847641, 2.0844929218292236, 0.2892651855945587, 0.1246630921959877, -1.4971122741699219, -0.6332905292510986, -0.26206907629966736, -0.5141440629959106, -1.3026882410049438, 0.6202657222747803, -0.27232691645622253, -0.8843348026275635, -1.4374735355377197, 0.18515701591968536, -1.0405349731445312, -1.7034814357757568, 0.46178919076919556, 1.958087682723999, 1.9677140712738037, -0.685055136680603, 1.4716862440109253, -0.2656000554561615, 0.14958421885967255, 1.4340202808380127, 1.2274854183197021, 3.064584493637085, 1.8962082862854004, -1.2809829711914062, 0.66355961561203, -0.043818823993206024, -0.5273275971412659, 1.1816768646240234, -1.1129827499389648, 1.1444079875946045, -0.3329242169857025, -1.2687362432479858, -1.3466850519180298, 1.0142031908035278, 0.5326594710350037, 0.10770579427480698, -0.5708029866218567, 1.2251911163330078, 0.05273221433162689, 1.234303593635559, 0.6087339520454407, -0.4661169648170471, 0.44825586676597595, -0.3356057405471802, -0.5175706744194031, 1.5430243015289307, 0.1693708896636963, -1.5747184753417969, -2.3292996883392334, -0.23690156638622284, -0.7443042993545532, -0.15537329018115997, -0.6011086702346802, -1.0385499000549316, 1.6099203824996948, 0.4765116274356842, -1.334990382194519, -0.3802090287208557, -0.3526640236377716, -0.5427466630935669, 2.685992956161499, -1.3173142671585083, -0.12886349856853485, -0.9858040809631348, -0.546095609664917, 1.7496229410171509, -1.2989983558654785, -0.14480885863304138, -1.1617964506149292, -0.7410756945610046, -1.3438342809677124, -0.4720030426979065, 0.007259337231516838, -0.9326876997947693, 0.9092895984649658, -0.030198989436030388, -1.0871450901031494, -0.34265223145484924, -0.9072085618972778, 1.0032378435134888, -0.22583721578121185, 0.19037620723247528, 2.030128240585327, 0.4259713292121887, -0.4322683811187744, 0.6702510714530945, 1.1381173133850098, 0.6168930530548096, -0.7482516169548035, 0.16874684393405914, -0.6390201449394226, 0.30943232774734497, -1.5023813247680664, 0.23156188428401947, -3.04587459564209, 0.6926946043968201, 0.004874921403825283, -0.06931669265031815, -0.10570390522480011, -1.358355164527893, 1.167277216911316, 2.578427791595459, -1.2088297605514526, 0.37574246525764465, 0.3577686846256256, 1.1164958477020264, -1.5551719665527344, 0.34886693954467773, -0.43872374296188354, 2.1446821689605713, 0.1131184846162796, 1.2868244647979736, -0.45069238543510437, -2.044858932495117, 0.7170296311378479, -1.2151198387145996, -1.0815436840057373, 0.6777424812316895, -0.7357635498046875, 0.2073918730020523, -1.6195213794708252, -0.10608453303575516, -0.9226229190826416, -1.3381967544555664, 0.9010672569274902, 0.2066669911146164, 0.3320239782333374, -0.554166316986084, 0.3266260027885437, -2.128042221069336, -1.4333416223526, -0.18530037999153137, -0.9615493416786194, 0.5240995287895203, -0.3360826373100281, 0.5770273208618164, -0.02089039608836174, 0.10556217283010483, 0.2502956688404083, 1.383705735206604, 3.45770263671875, 0.17499351501464844, 0.343950480222702, -0.054604679346084595, -0.9801575541496277, 1.5967706441879272, 1.015156865119934, 0.020207243040204048, -0.4006018042564392, -0.9910677075386047, 1.2786362171173096, 2.000325918197632, 1.0981451272964478, 0.11622592061758041, -0.8982706069946289, -0.7468029856681824, -0.03543473780155182, 0.3014910817146301, 0.5392438173294067, 0.7828414440155029, -0.03702696040272713, 0.05729123204946518, 1.4475793838500977, 1.193129062652588, -0.3525416851043701, 0.4892386198043823, -1.037084698677063, -0.45660561323165894, 0.47673723101615906, 0.32598236203193665, 0.02850986458361149, 0.5417782664299011, -0.970231831073761, -0.250925749540329, -0.20619428157806396, -0.931755006313324, -0.6204451322555542, -0.5402750968933105, -0.5208626985549927, 1.5148118734359741, 0.1516704112291336, -0.48927125334739685, -0.038948141038417816, -0.7888416051864624, -0.2416401505470276, -1.1032233238220215, 0.3694356679916382, -0.12880787253379822, -0.047534309327602386, -0.2355879247188568, 1.6875392198562622, -0.9895826578140259, -2.1694014072418213, 0.29950109124183655, 0.4249054789543152, -0.48803916573524475, 0.12465360015630722, 1.5393621921539307, 0.560112476348877, 1.3440380096435547, 1.27906334400177, 1.0613099336624146, -0.48731493949890137, -1.3135079145431519, 0.647095263004303, 0.9849140644073486, -1.4124760627746582, 0.927330732345581, -0.09672708064317703, -0.5810935497283936, 0.8212249875068665, 1.4149839878082275, 0.39981141686439514, -2.0078861713409424, 0.8573224544525146, -0.7681164741516113, 0.8941668272018433, 0.6956623792648315, 0.7934514880180359, 0.3683626353740692, 0.8920642733573914, -1.2886701822280884, -1.1738780736923218, -0.859566330909729, -0.5542619228363037, 1.9636788368225098, -0.23289437592029572, 0.6565840840339661, -0.2032686322927475, -1.3516793251037598, -0.11519051343202591, 0.7307872176170349, 0.4890027344226837, -0.4370362460613251, 0.847896933555603, -0.5619221329689026, -1.0092227458953857, -1.3074164390563965, -0.3623104691505432, -0.837582528591156, -0.9537884593009949, 0.9704023599624634, 0.8085277080535889, 0.3665371835231781, 1.8928978443145752, 0.47500839829444885, 0.2589823305606842, -2.601430892944336, 0.8992788791656494, 0.29534822702407837, 0.0921662375330925, 0.8447213172912598, 0.2876167893409729, 1.1939117908477783, 0.059278979897499084, 0.5169985890388489, -2.241581678390503, 2.1758599281311035, -0.21102440357208252, 0.5887004137039185, -0.015103111974895, -0.15201684832572937, 1.1955384016036987, 0.5300663709640503, 0.5574948191642761, -1.1170868873596191, 0.9537572860717773, -0.5216546654701233, 1.1364414691925049, 0.9807353019714355, -0.7986180782318115, -0.034281808882951736, 1.4289798736572266, 0.6937376856803894, -0.4645143449306488, -0.885834813117981, -0.8655798435211182, 1.0081377029418945, 1.624839186668396, 0.019384024664759636, -0.03839496523141861, 0.862164318561554, 0.6519792675971985, -1.1515324115753174, 0.12542641162872314, -0.7157928943634033, -0.5340442657470703, 1.6836575269699097, 1.958387851715088, -0.10599410533905029, -0.03273160755634308, -0.7897859215736389, -1.1847009658813477, 0.6597175002098083, -0.13607880473136902, 0.060845568776130676, 0.7124401926994324, -0.7002186179161072, 1.142485499382019, 0.6426175832748413, 0.88864666223526, -0.04645150154829025, 0.5222497582435608, 0.37894585728645325, -0.2748467028141022, -1.2832430601119995, -0.5051974654197693, -1.1740769147872925, -2.4201743602752686, 0.4130108654499054, -0.38715872168540955, -1.28564453125, 0.026691393926739693, -1.2257193326950073, 1.0424758195877075, -0.7357646226882935, -1.0820056200027466, -1.5054787397384644, 0.27226656675338745, -0.14403969049453735, 0.8484156727790833, -1.5438519716262817, -0.09707732498645782, 1.274640440940857, 0.7515586614608765, -0.6840851306915283, 0.9530812501907349, 0.18338008224964142, 1.109661340713501, 0.785456120967865, -0.43868038058280945, 0.419827938079834, 0.16363298892974854, -1.429370403289795, 0.5119553804397583, 1.0943279266357422, 0.16968607902526855, 1.4196851253509521, -0.5014207363128662, 0.06901348382234573, 0.5391578078269958, -0.6642686724662781, -0.5793970823287964, -0.49882620573043823, 0.8040465712547302, 0.07081177830696106, -1.1001170873641968, 0.025818446651101112, -0.1575501263141632, -0.22849969565868378, 0.21402156352996826, -1.5202873945236206, -0.24735110998153687, -0.30298152565956116, -0.5666561722755432, -1.3017265796661377, 0.010404139757156372, 1.3729274272918701, -0.637622594833374, -0.20785219967365265, 0.5340978503227234, 0.3831353485584259, 0.4759853780269623, 0.587404191493988, -0.6673150658607483, -0.20610202848911285, -0.33752989768981934, -0.30461788177490234, 0.18767529726028442, 1.2224863767623901, -0.11888791620731354, -1.024795651435852, 0.7255151867866516, -0.44818082451820374, 0.0782037004828453, 2.1730029582977295, 0.029550602659583092, -0.8335660099983215, 0.3578144609928131, -0.7022634744644165, 1.8203444480895996, 1.6094307899475098, 1.3398065567016602, -0.03171399235725403, -0.8874392509460449, 0.44653385877609253, -0.20605236291885376, -0.34187281131744385, 0.8299445509910583, 0.49159398674964905, -0.22099393606185913, -1.3612970113754272, 0.508070707321167, 1.2974990606307983, -0.9779530167579651, -0.8022242188453674, 0.1702040433883667, -0.8628023862838745, 1.0511587858200073, 0.6623789668083191, 0.4165901243686676, 0.2632479667663574, 1.4956218004226685, 0.5356054306030273, -0.4544595777988434, 0.3800799250602722, 0.475970983505249, -0.20825344324111938, -2.088918924331665, -1.0757325887680054, 0.3022516965866089, -0.4741347134113312, -1.5920695066452026, 1.3150345087051392, -1.1571160554885864, -0.8968096375465393, 0.5038847327232361, 0.13534265756607056, 1.3686084747314453, 0.23852181434631348, 1.6371220350265503, 1.970243215560913, 0.8788231015205383, 0.34199294447898865, 1.3524608612060547, -0.00308997742831707, -0.4716261923313141, 1.8817555904388428, -0.3647649884223938, 0.5854820609092712, 1.1030656099319458, -0.5080485939979553, -1.1219172477722168, -0.8459169268608093, -1.1518254280090332, -0.5504357218742371, 1.1823701858520508, 0.20846016705036163, -1.2580246925354004, 0.18934378027915955, 1.4854652881622314, 0.2691061496734619, -0.21040940284729004, 0.5503940582275391, 0.44383060932159424, -0.7878132462501526, 0.014408515766263008, -0.9619726538658142, 0.42181479930877686, -0.18390482664108276, -0.23394285142421722, 0.2674427330493927, 0.5246227979660034, 1.2880804538726807, -0.1210329681634903, 0.2292790710926056, 1.1569294929504395, -1.2952828407287598, 1.4503333568572998, -0.5003108382225037, 0.2805608808994293, -2.4344868659973145, 1.486657738685608, -0.6804522275924683, 1.9233614206314087, -2.6357741355895996, 0.38717883825302124, -0.5927894115447998, -0.3829295337200165, 0.27569809556007385, -0.46444952487945557, 0.0789356380701065, -0.13597679138183594, -1.1468803882598877, 0.02212326042354107, -0.8138622641563416, 0.4878891706466675, 1.3904304504394531, 1.3509128093719482, -1.2034684419631958, -0.33471572399139404, -1.7599939107894897, -0.3016369044780731, -0.8207717537879944, 0.44347578287124634, -2.085031509399414, -0.07653672993183136, -1.9109867811203003, -2.3707354068756104, -1.3135812282562256, -0.9222497940063477, 0.990569531917572, 0.15195627510547638, -0.9623318314552307, 1.1197534799575806, -0.3213094472885132, -1.6436681747436523, 0.9803499579429626, -2.1559317111968994 ]
https://github.com/huggingface/datasets/issues/4003
ASSIN2 dataset checksum bug
Using latest code, I am still facing the issue. ```python (base) vimos@vimosmu ➜ ~ ipython Python 3.6.7 | packaged by conda-forge | (default, Nov 6 2019, 16:19:42) Type 'copyright', 'credits' or 'license' for more information IPython 7.11.1 -- An enhanced Interactive Python. Type '?' for help. In [1]: from datasets import load_dataset In [2]: load_dataset("assin2") Downloading builder script: 4.24kB [00:00, 244kB/s] Downloading metadata: 2.58kB [00:00, 2.19MB/s] Using custom data configuration default Downloading and preparing dataset assin2/default (download: 2.02 MiB, generated: 1.21 MiB, post-processed: Unknown size, total: 3.23 MiB) to /home/vimos/.cache/huggingface/datasets/assin2/default/1.0.0/8467f7acbda82f62ab960ca869dc1e96350e0e103a1ef7eaa43bbee530b80061... Downloading data: 1.51MB [00:00, 102MB/s] Downloading data: 116kB [00:00, 63.6MB/s] Downloading data: 493kB [00:00, 95.8MB/s] Downloading data files: 100%|██████████████████████████████████████████| 3/3 [00:00<00:00, 8.27it/s] --------------------------------------------------------------------------- ExpectedMoreDownloadedFiles Traceback (most recent call last) <ipython-input-2-b367d1ffd68e> in <module> ----> 1 load_dataset("assin2") ~/anaconda3/lib/python3.6/site-packages/datasets/load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, revision, use_auth_token, task, streaming, **config_kwargs) 1694 ignore_verifications=ignore_verifications, 1695 try_from_hf_gcs=try_from_hf_gcs, -> 1696 use_auth_token=use_auth_token, 1697 ) 1698 ~/anaconda3/lib/python3.6/site-packages/datasets/builder.py in download_and_prepare(self, download_config, download_mode, ignore_verifications, try_from_hf_gcs, dl_manager, base_path, use_auth_token, **download_and_prepare_kwargs) 604 if not downloaded_from_gcs: 605 self._download_and_prepare( --> 606 dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs 607 ) 608 # Sync info ~/anaconda3/lib/python3.6/site-packages/datasets/builder.py in _download_and_prepare(self, dl_manager, verify_infos) 1102 1103 def _download_and_prepare(self, dl_manager, verify_infos): -> 1104 super()._download_and_prepare(dl_manager, verify_infos, check_duplicate_keys=verify_infos) 1105 1106 def _get_examples_iterable_for_split(self, split_generator: SplitGenerator) -> ExamplesIterable: ~/anaconda3/lib/python3.6/site-packages/datasets/builder.py in _download_and_prepare(self, dl_manager, verify_infos, **prepare_split_kwargs) 675 if verify_infos: 676 verify_checksums( --> 677 self.info.download_checksums, dl_manager.get_recorded_sizes_checksums(), "dataset source files" 678 ) 679 ~/anaconda3/lib/python3.6/site-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name) 31 return 32 if len(set(expected_checksums) - set(recorded_checksums)) > 0: ---> 33 raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums))) 34 if len(set(recorded_checksums) - set(expected_checksums)) > 0: 35 raise UnexpectedDownloadedFile(str(set(recorded_checksums) - set(expected_checksums))) ExpectedMoreDownloadedFiles: {'https://drive.google.com/u/0/uc?id=1kb7xq6Mb3eaqe9cOAo70BaG9ypwkIqEU&export=download', 'https://drive.google.com/u/0/uc?id=1J3FpQaHxpM-FDfBUyooh-sZF-B-bM_lU&export=download', 'https://drive.google.com/u/0/uc?id=1Q9j1a83CuKzsHCGaNulSkNxBm7Dkn7Ln&export=download'} ```
## Describe the bug Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2). `NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`. Similar to #3952 , #3942 , #3941 , etc. ``` --------------------------------------------------------------------------- NonMatchingChecksumError Traceback (most recent call last) [<ipython-input-13-c664a92ad5e7>](https://localhost:8080/#) in <module>() ----> 1 load_dataset('assin2') 4 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 38 if len(bad_urls) > 0: 39 error_msg = "Checksums didn't match" + for_verification_name + ":\n" ---> 40 raise NonMatchingChecksumError(error_msg + str(bad_urls)) 41 logger.info("All the checksums matched successfully" + for_verification_name) 42 NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.com/u/0/uc?id=1Q9j1a83CuKzsHCGaNulSkNxBm7Dkn7Ln&export=download'] ``` ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("assin2") ``` ## Expected results Load the dataset. ## Actual results The dataset won't load. ## Environment info - `datasets` version: 2.0.1.dev0 - Platform: Google Colab - Python version: 3.7.12 - PyArrow version: 6.0.1
858
264
ASSIN2 dataset checksum bug ## Describe the bug Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2). `NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`. Similar to #3952 , #3942 , #3941 , etc. ``` --------------------------------------------------------------------------- NonMatchingChecksumError Traceback (most recent call last) [<ipython-input-13-c664a92ad5e7>](https://localhost:8080/#) in <module>() ----> 1 load_dataset('assin2') 4 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 38 if len(bad_urls) > 0: 39 error_msg = "Checksums didn't match" + for_verification_name + ":\n" ---> 40 raise NonMatchingChecksumError(error_msg + str(bad_urls)) 41 logger.info("All the checksums matched successfully" + for_verification_name) 42 NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.com/u/0/uc?id=1Q9j1a83CuKzsHCGaNulSkNxBm7Dkn7Ln&export=download'] ``` ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("assin2") ``` ## Expected results Load the dataset. ## Actual results The dataset won't load. ## Environment info - `datasets` version: 2.0.1.dev0 - Platform: Google Colab - Python version: 3.7.12 - PyArrow version: 6.0.1 Using latest code, I am still facing the issue. ```python (base) vimos@vimosmu ➜ ~ ipython Python 3.6.7 | packaged by conda-forge | (default, Nov 6 2019, 16:19:42) Type 'copyright', 'credits' or 'license' for more information IPython 7.11.1 -- An enhanced Interactive Python. Type '?' for help. In [1]: from datasets import load_dataset In [2]: load_dataset("assin2") Downloading builder script: 4.24kB [00:00, 244kB/s] Downloading metadata: 2.58kB [00:00, 2.19MB/s] Using custom data configuration default Downloading and preparing dataset assin2/default (download: 2.02 MiB, generated: 1.21 MiB, post-processed: Unknown size, total: 3.23 MiB) to /home/vimos/.cache/huggingface/datasets/assin2/default/1.0.0/8467f7acbda82f62ab960ca869dc1e96350e0e103a1ef7eaa43bbee530b80061... Downloading data: 1.51MB [00:00, 102MB/s] Downloading data: 116kB [00:00, 63.6MB/s] Downloading data: 493kB [00:00, 95.8MB/s] Downloading data files: 100%|██████████████████████████████████████████| 3/3 [00:00<00:00, 8.27it/s] --------------------------------------------------------------------------- ExpectedMoreDownloadedFiles Traceback (most recent call last) <ipython-input-2-b367d1ffd68e> in <module> ----> 1 load_dataset("assin2") ~/anaconda3/lib/python3.6/site-packages/datasets/load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, revision, use_auth_token, task, streaming, **config_kwargs) 1694 ignore_verifications=ignore_verifications, 1695 try_from_hf_gcs=try_from_hf_gcs, -> 1696 use_auth_token=use_auth_token, 1697 ) 1698 ~/anaconda3/lib/python3.6/site-packages/datasets/builder.py in download_and_prepare(self, download_config, download_mode, ignore_verifications, try_from_hf_gcs, dl_manager, base_path, use_auth_token, **download_and_prepare_kwargs) 604 if not downloaded_from_gcs: 605 self._download_and_prepare( --> 606 dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs 607 ) 608 # Sync info ~/anaconda3/lib/python3.6/site-packages/datasets/builder.py in _download_and_prepare(self, dl_manager, verify_infos) 1102 1103 def _download_and_prepare(self, dl_manager, verify_infos): -> 1104 super()._download_and_prepare(dl_manager, verify_infos, check_duplicate_keys=verify_infos) 1105 1106 def _get_examples_iterable_for_split(self, split_generator: SplitGenerator) -> ExamplesIterable: ~/anaconda3/lib/python3.6/site-packages/datasets/builder.py in _download_and_prepare(self, dl_manager, verify_infos, **prepare_split_kwargs) 675 if verify_infos: 676 verify_checksums( --> 677 self.info.download_checksums, dl_manager.get_recorded_sizes_checksums(), "dataset source files" 678 ) 679 ~/anaconda3/lib/python3.6/site-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name) 31 return 32 if len(set(expected_checksums) - set(recorded_checksums)) > 0: ---> 33 raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums))) 34 if len(set(recorded_checksums) - set(expected_checksums)) > 0: 35 raise UnexpectedDownloadedFile(str(set(recorded_checksums) - set(expected_checksums))) ExpectedMoreDownloadedFiles: {'https://drive.google.com/u/0/uc?id=1kb7xq6Mb3eaqe9cOAo70BaG9ypwkIqEU&export=download', 'https://drive.google.com/u/0/uc?id=1J3FpQaHxpM-FDfBUyooh-sZF-B-bM_lU&export=download', 'https://drive.google.com/u/0/uc?id=1Q9j1a83CuKzsHCGaNulSkNxBm7Dkn7Ln&export=download'} ```
[ -1.177687406539917, -0.7696807384490967, -0.5768425464630127, 1.4363871812820435, 0.03602347522974014, -1.280153512954712, 0.11638645827770233, -0.8450499773025513, 1.5851348638534546, -0.8270496726036072, 0.40560755133628845, -1.7096924781799316, -0.017131851986050606, -0.708019495010376, -0.6307492256164551, -0.6172825694084167, -0.3608591556549072, -0.6410183310508728, 1.1069364547729492, 2.432872772216797, 1.227660894393921, -1.3618509769439697, 2.840794324874878, 0.6276682615280151, -0.30937373638153076, -0.8092563152313232, 0.3361780345439911, 0.002458435483276844, -1.4098191261291504, -0.2806151807308197, -1.0017211437225342, 0.04935396462678909, -0.6280900239944458, -0.5225260853767395, 0.1367267370223999, 0.4987550377845764, -0.15729837119579315, -0.3848344385623932, -0.46628516912460327, -0.7686734795570374, 0.5883615612983704, -0.29219064116477966, 0.812617838382721, -0.249296635389328, 1.7966762781143188, -0.6535632610321045, 0.47132933139801025, 0.4838762581348419, 1.2333821058273315, 0.16780588030815125, -0.033444978296756744, 0.4734884202480316, 0.19457115232944489, 0.058737613260746, 0.6604639291763306, 1.287541151046753, 0.6022569537162781, 0.5033183693885803, 0.7680977582931519, -2.227421283721924, 1.3123714923858643, -0.8581404089927673, 0.23609817028045654, 1.2980177402496338, -1.131072998046875, 0.4521138072013855, -1.892500400543213, -0.11969131976366043, 0.37376904487609863, -2.3448147773742676, 0.11845888197422028, -1.3282573223114014, -0.5392206907272339, 0.9771888256072998, 0.3242643475532532, -1.2585546970367432, 0.0014787204563617706, -0.3973325490951538, 0.9638065099716187, 0.29097434878349304, 1.1135348081588745, -1.6181012392044067, 0.05044156312942505, -0.24326208233833313, 0.26326489448547363, -1.223019003868103, -1.6403523683547974, 0.640576958656311, 0.6967242360115051, 0.5820671916007996, -0.17339329421520233, 0.893546462059021, -1.131295084953308, 0.8249224424362183, -1.002764105796814, -1.7979506254196167, -1.417392373085022, -2.4398515224456787, -2.34869647026062, 0.784875750541687, -0.44874873757362366, -0.4072364568710327, 2.0817620754241943, -1.099505066871643, -1.7989349365234375, 1.1025075912475586, 0.3650987446308136, -0.06468527764081955, 2.3212971687316895, 0.19982850551605225, -0.9600021243095398, 0.6999722123146057, -0.8734501004219055, 0.7651250958442688, -0.2923806607723236, 1.2917059659957886, 0.4482734501361847, -1.0221964120864868, 1.5857670307159424, -0.36523106694221497, 0.5052772760391235, -0.7210066318511963, -0.4035590589046478, -0.5338726043701172, 0.1921354979276657, 2.023038148880005, -0.22124068439006805, 1.5323675870895386, -0.1336890161037445, -1.4608774185180664, -1.3665449619293213, 0.7254992127418518, 0.5320466756820679, -0.8155344128608704, 0.2051919847726822, -0.442741721868515, 0.19410379230976105, 0.16177956759929657, 1.097049355506897, 1.2905193567276, 0.7480299472808838, -0.1419583112001419, -0.8947133421897888, 0.09510504454374313, 0.03823447972536087, -0.5123699307441711, -1.7127760648727417, -0.30145204067230225, 0.17406128346920013, 0.6035802960395813, -1.2094132900238037, 1.8946733474731445, 0.8659616708755493, 1.9996838569641113, 0.9505726099014282, -0.32690778374671936, 1.6293779611587524, 0.06020648032426834, 1.860097885131836, -0.33747801184654236, 0.6549214124679565, -0.4586891233921051, -1.17681884765625, 0.5978835225105286, -0.3579024374485016, -2.043924570083618, -0.41393718123435974, -0.8882348537445068, -0.09913390874862671, -0.9432571530342102, 1.0155147314071655, -0.15755684673786163, -1.4063398838043213, 0.179329052567482, -0.6988582611083984, 0.1302633434534073, -1.4218056201934814, 0.20924565196037292, 0.7711504697799683, -0.7137864828109741, 0.05542483925819397, -0.43336060643196106, -1.384416103363037, -0.5477087497711182, 0.4184376001358032, 1.7773178815841675, -0.6590818166732788, 1.0255297422409058, 1.0630533695220947, -0.6374803185462952, -0.05473463982343674, 0.4813816547393799, -0.4024951756000519, 0.9645692706108093, -0.9599742293357849, -0.48594486713409424, 1.0914517641067505, -0.25141265988349915, -0.4678875803947449, 1.3377643823623657, 0.7643764019012451, -1.0498859882354736, -0.37248632311820984, -0.08719561249017715, -0.8042248487472534, 0.058606117963790894, -1.6504100561141968, -0.16684722900390625, 0.29322442412376404, -1.4423773288726807, -0.473062664270401, -0.0931498259305954, 1.2454391717910767, -0.029301879927515984, 1.401960849761963, -0.23723238706588745, -0.08220255374908447, -0.46966806054115295, -0.5553436875343323, 0.07947484403848648, -0.10091286897659302, -0.681397020816803, 0.32057783007621765, -0.7764453291893005, 0.2543187439441681, 1.516225814819336, 0.2628059685230255, 0.11452474445104599, 0.5594362020492554, 1.201344609260559, 0.30566707253456116, -0.17742855846881866, -0.9088082909584045, -1.7018076181411743, 2.0576963424682617, -1.589544415473938, 1.9870816469192505, 0.8385029435157776, -0.0402509868144989, -1.7817338705062866, -1.8573037385940552, 1.4643727540969849, 1.1326228380203247, 2.514704942703247, 0.5113123059272766, 0.4615938067436218, -0.8496122360229492, -0.6793485283851624, 0.47452229261398315, -0.767866313457489, -0.8669743537902832, 0.15020215511322021, 2.3055241107940674, 1.8064261674880981, -0.3272051215171814, -0.19781871140003204, -0.9239839911460876, 1.346305012702942, -0.30728766322135925, 0.25037890672683716, 1.8328760862350464, -0.3340884745121002, -1.0749540328979492, 1.2733395099639893, -2.3667092323303223, 0.2820780575275421, 1.9998137950897217, 0.28432995080947876, 0.026938842609524727, -1.1640019416809082, -0.6682732701301575, -0.21396172046661377, -0.3838970959186554, -1.274599552154541, 0.45520341396331787, -0.16965261101722717, -0.895678699016571, -1.3420361280441284, 0.043358005583286285, -1.1785926818847656, -1.7133322954177856, 0.3307982385158539, 1.781718134880066, 2.1851003170013428, -0.8231393694877625, 1.2633026838302612, -0.3087576627731323, 0.3250320553779602, 1.1848565340042114, 1.2498725652694702, 3.2234461307525635, 1.9106247425079346, -1.3007960319519043, 0.7053709030151367, -0.1880594789981842, -0.5400747060775757, 1.2570915222167969, -1.0094131231307983, 1.1740351915359497, -0.22211480140686035, -1.3545607328414917, -1.2078168392181396, 0.9325854182243347, 0.44504961371421814, -0.10257633030414581, -0.48345619440078735, 1.0764687061309814, 0.1566435545682907, 1.3187518119812012, 0.6666723489761353, -0.3327668309211731, 0.5035720467567444, -0.3385547399520874, -0.5071483850479126, 1.578397274017334, 0.06073341518640518, -1.5219417810440063, -2.3227896690368652, -0.14537620544433594, -1.0354374647140503, 0.034146010875701904, -0.9540035724639893, -1.0898752212524414, 1.4806430339813232, 0.46017077565193176, -1.003674864768982, -0.13310010731220245, -0.4159940779209137, -0.5790881514549255, 2.6010148525238037, -1.402000904083252, -0.21945321559906006, -1.0311715602874756, -0.5386496782302856, 1.499157190322876, -1.1010040044784546, -0.24489575624465942, -1.0433666706085205, -0.49436771869659424, -1.2395268678665161, -0.4963530898094177, -0.11242479085922241, -0.7828646898269653, 0.6990610957145691, -0.06329674273729324, -1.2570174932479858, -0.26126328110694885, -1.0665278434753418, 0.917536199092865, -0.2853965163230896, 0.008874135091900826, 1.6903084516525269, 0.1988288015127182, -0.31830522418022156, 0.8940035104751587, 1.2171201705932617, 0.5995947122573853, -0.5173760652542114, 0.20209582149982452, -0.6294466853141785, 0.4546554982662201, -1.2594765424728394, 0.36707204580307007, -2.8889753818511963, 0.7058771252632141, -0.021375535055994987, -0.0014852732419967651, -0.15774866938591003, -1.4855009317398071, 0.940310537815094, 2.4733660221099854, -1.076411247253418, 0.6222231388092041, 0.36472615599632263, 1.1913586854934692, -1.636811375617981, -0.0258827842772007, -0.6546671390533447, 2.16870379447937, 0.017408834770321846, 1.0882734060287476, -0.5657495856285095, -2.3755245208740234, 0.5561732649803162, -1.2204803228378296, -0.9442106485366821, 0.7838217616081238, -0.8685270547866821, 0.2146766036748886, -1.1740355491638184, -0.16073985397815704, -0.9127417206764221, -1.0964689254760742, 0.5058103799819946, 0.011142084375023842, 0.6298050880432129, -0.6096789240837097, 0.25106188654899597, -2.2712130546569824, -1.3841419219970703, -0.18389460444450378, -0.9326363205909729, 0.5165649056434631, -0.3626985549926758, 0.7216077446937561, -0.059601470828056335, -0.008923457004129887, 0.2540819048881531, 1.449942708015442, 3.2089903354644775, 0.03658144921064377, 0.3707049489021301, -0.25325679779052734, -0.9602609276771545, 1.5378336906433105, 0.9040494561195374, -0.27903398871421814, -0.6575155258178711, -0.9426422119140625, 1.4207079410552979, 1.9060754776000977, 1.0832520723342896, 0.045545801520347595, -0.917046844959259, -0.8146517276763916, 0.07590336352586746, 0.13773545622825623, 0.4782179892063141, 0.9640425443649292, 0.19579270482063293, 0.22682569921016693, 1.3273472785949707, 1.1069045066833496, -0.33525604009628296, 0.4570324718952179, -0.8221419453620911, -0.38895443081855774, 0.5072674751281738, 0.32990068197250366, 0.007513748481869698, 0.2745520770549774, -1.0375231504440308, -0.2957402169704437, -0.27304306626319885, -0.7945341467857361, -0.7884286642074585, -0.3581326901912689, -0.3997975289821625, 1.7774986028671265, -0.07488655298948288, -0.5259986519813538, 0.024313347414135933, -0.7885217070579529, -0.1123565062880516, -1.0263853073120117, 0.33134353160858154, -0.11567839235067368, 0.0615779310464859, -0.12654604017734528, 1.6461073160171509, -0.9628587961196899, -2.234532356262207, 0.17225342988967896, 0.28563153743743896, -0.34063658118247986, -0.13082429766654968, 1.819757103919983, 0.5363622903823853, 1.3672536611557007, 1.5315788984298706, 1.0804471969604492, -0.5699362754821777, -1.2563360929489136, 0.7077410221099854, 0.9455037713050842, -1.3412197828292847, 0.8482101559638977, -0.21761970221996307, -0.5307575464248657, 0.5614578723907471, 1.3460935354232788, 0.4318895637989044, -1.9501004219055176, 0.925965428352356, -1.1256349086761475, 0.863885223865509, 0.7737928628921509, 0.826530396938324, 0.17684237658977509, 0.8948971629142761, -1.267441749572754, -1.0296231508255005, -0.5898506045341492, -0.6237922310829163, 1.891365885734558, -0.22601062059402466, 0.2936082184314728, -0.3419084846973419, -1.2801196575164795, 0.0945027619600296, 0.6709039211273193, 0.3172895014286041, -0.323976069688797, 0.7705820202827454, -0.7193625569343567, -1.053850531578064, -1.3628990650177002, -0.4482688307762146, -0.9741755723953247, -0.9277828931808472, 1.0233407020568848, 0.7523515820503235, 0.4916953444480896, 1.9123440980911255, 0.6763558387756348, 0.18482768535614014, -2.5941410064697266, 0.8470327258110046, 0.3626886010169983, -0.09395324438810349, 0.8435868620872498, 0.30875757336616516, 1.239561676979065, -0.1654292345046997, 0.5468577742576599, -2.287381887435913, 2.2140936851501465, -0.186527818441391, 0.8164283037185669, 0.039852745831012726, 0.020663460716605186, 0.9729809165000916, 0.4988631010055542, 0.5515222549438477, -1.0879406929016113, 0.9316617250442505, -0.6225457787513733, 1.1350263357162476, 0.8705917596817017, -0.8740748763084412, 0.24617472290992737, 1.2342798709869385, 0.37249502539634705, -0.5580161809921265, -0.9969735741615295, -0.808798611164093, 0.9528689384460449, 1.7819377183914185, 0.004703188315033913, 0.07559892535209656, 0.8208154439926147, 0.780178427696228, -1.2645472288131714, -0.0030710925348103046, -0.5259248614311218, -0.6876060962677002, 1.7959808111190796, 2.113987445831299, -0.05220486968755722, -0.12849552929401398, -0.7528056502342224, -1.472015380859375, 0.7455419898033142, 0.13224686682224274, -0.03804042935371399, 0.8183189034461975, -0.7310401797294617, 1.2004051208496094, 0.8012832999229431, 0.8571133613586426, 0.184870183467865, 0.0731843113899231, 0.2965834140777588, -0.2347155660390854, -1.2267873287200928, -0.39565134048461914, -1.0221185684204102, -2.576521873474121, 0.4280795156955719, -0.27905386686325073, -1.4248799085617065, 0.19204333424568176, -0.8924415111541748, 0.7211161851882935, -0.5711719393730164, -1.1979032754898071, -1.3570175170898438, 0.25667548179626465, -0.1348716765642166, 0.7644259929656982, -1.635420799255371, -0.18725889921188354, 1.1523401737213135, 0.9646840691566467, -0.5826877355575562, 0.8893377780914307, 0.3006746470928192, 0.8942580819129944, 1.0152417421340942, -0.386107474565506, 0.4899183511734009, 0.3062076270580292, -1.4073220491409302, 0.3731437623500824, 1.4156358242034912, 0.22137048840522766, 1.3621197938919067, -0.4547187089920044, -0.009653661400079727, 0.41203999519348145, -0.3017248213291168, -0.5898383855819702, -0.7342573404312134, 0.6630309224128723, -0.1416100412607193, -1.0287432670593262, -0.10564716160297394, 0.06964486837387085, -0.14470399916172028, 0.3176814615726471, -1.4873992204666138, -0.08244960755109787, -0.4025828540325165, -0.670095682144165, -1.4293807744979858, -0.088220976293087, 1.3194043636322021, -0.8987537622451782, -0.08911288529634476, 0.5192025303840637, 0.21922567486763, 0.5514181852340698, 0.6501611471176147, -0.7527707815170288, -0.27678564190864563, -0.09099944680929184, -0.43690282106399536, 0.3271124064922333, 1.2315703630447388, -0.04986412078142166, -0.9855230450630188, 0.46064385771751404, -0.26241225004196167, 0.221393883228302, 1.894333004951477, 0.04260358214378357, -0.8045914769172668, 0.3633531630039215, -0.7545711994171143, 1.824116587638855, 1.6076343059539795, 1.3116239309310913, -0.10308501124382019, -0.9869049191474915, 0.6801207661628723, -0.31124138832092285, -0.3121986985206604, 0.8756274580955505, 0.3167200982570648, -0.24386808276176453, -1.48574960231781, 0.7515031695365906, 1.3225538730621338, -0.8802712559700012, -0.7835811972618103, 0.07704564929008484, -0.8520562052726746, 1.2014460563659668, 0.6516479849815369, 0.2408430576324463, 0.24584892392158508, 1.677936315536499, 0.7195632457733154, -0.5420936346054077, 0.4932859539985657, 0.4339412748813629, -0.1969163864850998, -2.0330047607421875, -1.1046035289764404, 0.293802946805954, -0.3704151213169098, -1.4893064498901367, 1.4191656112670898, -1.2045869827270508, -0.9842951893806458, 0.5694029331207275, 0.16695502400398254, 1.3497955799102783, 0.31686311960220337, 1.7233338356018066, 2.0318851470947266, 0.8570107221603394, 0.41837018728256226, 1.1197993755340576, -0.2417396456003189, -0.24057810008525848, 1.6080275774002075, -0.5044460892677307, 0.6921536326408386, 1.004838228225708, -0.47739624977111816, -1.2805533409118652, -0.8188984394073486, -1.2355200052261353, -0.7832245230674744, 1.0880606174468994, 0.13898274302482605, -1.1178189516067505, 0.3255624771118164, 1.623460292816162, 0.07529880851507187, -0.14353084564208984, 0.7021871209144592, 0.3941487669944763, -0.6974661946296692, -0.07775061577558517, -1.097631573677063, 0.5822526216506958, -0.32244813442230225, -0.32824429869651794, 0.13139969110488892, 0.6353949904441833, 1.2208576202392578, 0.23042507469654083, 0.10744126886129379, 1.3044785261154175, -1.3801891803741455, 1.1851755380630493, -0.9830111265182495, 0.41872358322143555, -2.338120460510254, 1.46218740940094, -1.0147533416748047, 1.9627386331558228, -2.672578811645508, 0.5184555053710938, -0.4660332202911377, -0.5696249008178711, 0.149588480591774, -0.13520851731300354, 0.11032867431640625, 0.0008007604628801346, -1.0777779817581177, -0.14289693534374237, -0.8630840182304382, 0.5119418501853943, 1.2416884899139404, 1.3830372095108032, -0.9541079998016357, -0.2611607313156128, -1.6291348934173584, -0.1210237443447113, -0.5089107155799866, 0.057750701904296875, -1.7910503149032593, -0.19710773229599, -1.9902660846710205, -2.4628090858459473, -1.3307560682296753, -0.956093430519104, 1.3011384010314941, 0.12241098284721375, -0.8841385841369629, 1.1186550855636597, -0.4548237919807434, -1.7472628355026245, 1.1954020261764526, -2.2040982246398926 ]
https://github.com/huggingface/datasets/issues/4003
ASSIN2 dataset checksum bug
That's true. Steps to reproduce the bug on Google Colab: ``` git clone https://github.com/huggingface/datasets.git cd datasets pip install -e . python -c "from datasets import load_dataset; print(load_dataset('assin2')['train'][0])" ``` However the dataset will load without any problems if you just install version 2.0.0: ``` pip install datasets python -c "from datasets import load_dataset; print(load_dataset('assin2')['train'][0])" ``` Any thoughts @lhoestq ?
## Describe the bug Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2). `NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`. Similar to #3952 , #3942 , #3941 , etc. ``` --------------------------------------------------------------------------- NonMatchingChecksumError Traceback (most recent call last) [<ipython-input-13-c664a92ad5e7>](https://localhost:8080/#) in <module>() ----> 1 load_dataset('assin2') 4 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 38 if len(bad_urls) > 0: 39 error_msg = "Checksums didn't match" + for_verification_name + ":\n" ---> 40 raise NonMatchingChecksumError(error_msg + str(bad_urls)) 41 logger.info("All the checksums matched successfully" + for_verification_name) 42 NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.com/u/0/uc?id=1Q9j1a83CuKzsHCGaNulSkNxBm7Dkn7Ln&export=download'] ``` ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("assin2") ``` ## Expected results Load the dataset. ## Actual results The dataset won't load. ## Environment info - `datasets` version: 2.0.1.dev0 - Platform: Google Colab - Python version: 3.7.12 - PyArrow version: 6.0.1
858
58
ASSIN2 dataset checksum bug ## Describe the bug Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2). `NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`. Similar to #3952 , #3942 , #3941 , etc. ``` --------------------------------------------------------------------------- NonMatchingChecksumError Traceback (most recent call last) [<ipython-input-13-c664a92ad5e7>](https://localhost:8080/#) in <module>() ----> 1 load_dataset('assin2') 4 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 38 if len(bad_urls) > 0: 39 error_msg = "Checksums didn't match" + for_verification_name + ":\n" ---> 40 raise NonMatchingChecksumError(error_msg + str(bad_urls)) 41 logger.info("All the checksums matched successfully" + for_verification_name) 42 NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.com/u/0/uc?id=1Q9j1a83CuKzsHCGaNulSkNxBm7Dkn7Ln&export=download'] ``` ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("assin2") ``` ## Expected results Load the dataset. ## Actual results The dataset won't load. ## Environment info - `datasets` version: 2.0.1.dev0 - Platform: Google Colab - Python version: 3.7.12 - PyArrow version: 6.0.1 That's true. Steps to reproduce the bug on Google Colab: ``` git clone https://github.com/huggingface/datasets.git cd datasets pip install -e . python -c "from datasets import load_dataset; print(load_dataset('assin2')['train'][0])" ``` However the dataset will load without any problems if you just install version 2.0.0: ``` pip install datasets python -c "from datasets import load_dataset; print(load_dataset('assin2')['train'][0])" ``` Any thoughts @lhoestq ?
[ -1.177687406539917, -0.7696807384490967, -0.5768425464630127, 1.4363871812820435, 0.03602347522974014, -1.280153512954712, 0.11638645827770233, -0.8450499773025513, 1.5851348638534546, -0.8270496726036072, 0.40560755133628845, -1.7096924781799316, -0.017131851986050606, -0.708019495010376, -0.6307492256164551, -0.6172825694084167, -0.3608591556549072, -0.6410183310508728, 1.1069364547729492, 2.432872772216797, 1.227660894393921, -1.3618509769439697, 2.840794324874878, 0.6276682615280151, -0.30937373638153076, -0.8092563152313232, 0.3361780345439911, 0.002458435483276844, -1.4098191261291504, -0.2806151807308197, -1.0017211437225342, 0.04935396462678909, -0.6280900239944458, -0.5225260853767395, 0.1367267370223999, 0.4987550377845764, -0.15729837119579315, -0.3848344385623932, -0.46628516912460327, -0.7686734795570374, 0.5883615612983704, -0.29219064116477966, 0.812617838382721, -0.249296635389328, 1.7966762781143188, -0.6535632610321045, 0.47132933139801025, 0.4838762581348419, 1.2333821058273315, 0.16780588030815125, -0.033444978296756744, 0.4734884202480316, 0.19457115232944489, 0.058737613260746, 0.6604639291763306, 1.287541151046753, 0.6022569537162781, 0.5033183693885803, 0.7680977582931519, -2.227421283721924, 1.3123714923858643, -0.8581404089927673, 0.23609817028045654, 1.2980177402496338, -1.131072998046875, 0.4521138072013855, -1.892500400543213, -0.11969131976366043, 0.37376904487609863, -2.3448147773742676, 0.11845888197422028, -1.3282573223114014, -0.5392206907272339, 0.9771888256072998, 0.3242643475532532, -1.2585546970367432, 0.0014787204563617706, -0.3973325490951538, 0.9638065099716187, 0.29097434878349304, 1.1135348081588745, -1.6181012392044067, 0.05044156312942505, -0.24326208233833313, 0.26326489448547363, -1.223019003868103, -1.6403523683547974, 0.640576958656311, 0.6967242360115051, 0.5820671916007996, -0.17339329421520233, 0.893546462059021, -1.131295084953308, 0.8249224424362183, -1.002764105796814, -1.7979506254196167, -1.417392373085022, -2.4398515224456787, -2.34869647026062, 0.784875750541687, -0.44874873757362366, -0.4072364568710327, 2.0817620754241943, -1.099505066871643, -1.7989349365234375, 1.1025075912475586, 0.3650987446308136, -0.06468527764081955, 2.3212971687316895, 0.19982850551605225, -0.9600021243095398, 0.6999722123146057, -0.8734501004219055, 0.7651250958442688, -0.2923806607723236, 1.2917059659957886, 0.4482734501361847, -1.0221964120864868, 1.5857670307159424, -0.36523106694221497, 0.5052772760391235, -0.7210066318511963, -0.4035590589046478, -0.5338726043701172, 0.1921354979276657, 2.023038148880005, -0.22124068439006805, 1.5323675870895386, -0.1336890161037445, -1.4608774185180664, -1.3665449619293213, 0.7254992127418518, 0.5320466756820679, -0.8155344128608704, 0.2051919847726822, -0.442741721868515, 0.19410379230976105, 0.16177956759929657, 1.097049355506897, 1.2905193567276, 0.7480299472808838, -0.1419583112001419, -0.8947133421897888, 0.09510504454374313, 0.03823447972536087, -0.5123699307441711, -1.7127760648727417, -0.30145204067230225, 0.17406128346920013, 0.6035802960395813, -1.2094132900238037, 1.8946733474731445, 0.8659616708755493, 1.9996838569641113, 0.9505726099014282, -0.32690778374671936, 1.6293779611587524, 0.06020648032426834, 1.860097885131836, -0.33747801184654236, 0.6549214124679565, -0.4586891233921051, -1.17681884765625, 0.5978835225105286, -0.3579024374485016, -2.043924570083618, -0.41393718123435974, -0.8882348537445068, -0.09913390874862671, -0.9432571530342102, 1.0155147314071655, -0.15755684673786163, -1.4063398838043213, 0.179329052567482, -0.6988582611083984, 0.1302633434534073, -1.4218056201934814, 0.20924565196037292, 0.7711504697799683, -0.7137864828109741, 0.05542483925819397, -0.43336060643196106, -1.384416103363037, -0.5477087497711182, 0.4184376001358032, 1.7773178815841675, -0.6590818166732788, 1.0255297422409058, 1.0630533695220947, -0.6374803185462952, -0.05473463982343674, 0.4813816547393799, -0.4024951756000519, 0.9645692706108093, -0.9599742293357849, -0.48594486713409424, 1.0914517641067505, -0.25141265988349915, -0.4678875803947449, 1.3377643823623657, 0.7643764019012451, -1.0498859882354736, -0.37248632311820984, -0.08719561249017715, -0.8042248487472534, 0.058606117963790894, -1.6504100561141968, -0.16684722900390625, 0.29322442412376404, -1.4423773288726807, -0.473062664270401, -0.0931498259305954, 1.2454391717910767, -0.029301879927515984, 1.401960849761963, -0.23723238706588745, -0.08220255374908447, -0.46966806054115295, -0.5553436875343323, 0.07947484403848648, -0.10091286897659302, -0.681397020816803, 0.32057783007621765, -0.7764453291893005, 0.2543187439441681, 1.516225814819336, 0.2628059685230255, 0.11452474445104599, 0.5594362020492554, 1.201344609260559, 0.30566707253456116, -0.17742855846881866, -0.9088082909584045, -1.7018076181411743, 2.0576963424682617, -1.589544415473938, 1.9870816469192505, 0.8385029435157776, -0.0402509868144989, -1.7817338705062866, -1.8573037385940552, 1.4643727540969849, 1.1326228380203247, 2.514704942703247, 0.5113123059272766, 0.4615938067436218, -0.8496122360229492, -0.6793485283851624, 0.47452229261398315, -0.767866313457489, -0.8669743537902832, 0.15020215511322021, 2.3055241107940674, 1.8064261674880981, -0.3272051215171814, -0.19781871140003204, -0.9239839911460876, 1.346305012702942, -0.30728766322135925, 0.25037890672683716, 1.8328760862350464, -0.3340884745121002, -1.0749540328979492, 1.2733395099639893, -2.3667092323303223, 0.2820780575275421, 1.9998137950897217, 0.28432995080947876, 0.026938842609524727, -1.1640019416809082, -0.6682732701301575, -0.21396172046661377, -0.3838970959186554, -1.274599552154541, 0.45520341396331787, -0.16965261101722717, -0.895678699016571, -1.3420361280441284, 0.043358005583286285, -1.1785926818847656, -1.7133322954177856, 0.3307982385158539, 1.781718134880066, 2.1851003170013428, -0.8231393694877625, 1.2633026838302612, -0.3087576627731323, 0.3250320553779602, 1.1848565340042114, 1.2498725652694702, 3.2234461307525635, 1.9106247425079346, -1.3007960319519043, 0.7053709030151367, -0.1880594789981842, -0.5400747060775757, 1.2570915222167969, -1.0094131231307983, 1.1740351915359497, -0.22211480140686035, -1.3545607328414917, -1.2078168392181396, 0.9325854182243347, 0.44504961371421814, -0.10257633030414581, -0.48345619440078735, 1.0764687061309814, 0.1566435545682907, 1.3187518119812012, 0.6666723489761353, -0.3327668309211731, 0.5035720467567444, -0.3385547399520874, -0.5071483850479126, 1.578397274017334, 0.06073341518640518, -1.5219417810440063, -2.3227896690368652, -0.14537620544433594, -1.0354374647140503, 0.034146010875701904, -0.9540035724639893, -1.0898752212524414, 1.4806430339813232, 0.46017077565193176, -1.003674864768982, -0.13310010731220245, -0.4159940779209137, -0.5790881514549255, 2.6010148525238037, -1.402000904083252, -0.21945321559906006, -1.0311715602874756, -0.5386496782302856, 1.499157190322876, -1.1010040044784546, -0.24489575624465942, -1.0433666706085205, -0.49436771869659424, -1.2395268678665161, -0.4963530898094177, -0.11242479085922241, -0.7828646898269653, 0.6990610957145691, -0.06329674273729324, -1.2570174932479858, -0.26126328110694885, -1.0665278434753418, 0.917536199092865, -0.2853965163230896, 0.008874135091900826, 1.6903084516525269, 0.1988288015127182, -0.31830522418022156, 0.8940035104751587, 1.2171201705932617, 0.5995947122573853, -0.5173760652542114, 0.20209582149982452, -0.6294466853141785, 0.4546554982662201, -1.2594765424728394, 0.36707204580307007, -2.8889753818511963, 0.7058771252632141, -0.021375535055994987, -0.0014852732419967651, -0.15774866938591003, -1.4855009317398071, 0.940310537815094, 2.4733660221099854, -1.076411247253418, 0.6222231388092041, 0.36472615599632263, 1.1913586854934692, -1.636811375617981, -0.0258827842772007, -0.6546671390533447, 2.16870379447937, 0.017408834770321846, 1.0882734060287476, -0.5657495856285095, -2.3755245208740234, 0.5561732649803162, -1.2204803228378296, -0.9442106485366821, 0.7838217616081238, -0.8685270547866821, 0.2146766036748886, -1.1740355491638184, -0.16073985397815704, -0.9127417206764221, -1.0964689254760742, 0.5058103799819946, 0.011142084375023842, 0.6298050880432129, -0.6096789240837097, 0.25106188654899597, -2.2712130546569824, -1.3841419219970703, -0.18389460444450378, -0.9326363205909729, 0.5165649056434631, -0.3626985549926758, 0.7216077446937561, -0.059601470828056335, -0.008923457004129887, 0.2540819048881531, 1.449942708015442, 3.2089903354644775, 0.03658144921064377, 0.3707049489021301, -0.25325679779052734, -0.9602609276771545, 1.5378336906433105, 0.9040494561195374, -0.27903398871421814, -0.6575155258178711, -0.9426422119140625, 1.4207079410552979, 1.9060754776000977, 1.0832520723342896, 0.045545801520347595, -0.917046844959259, -0.8146517276763916, 0.07590336352586746, 0.13773545622825623, 0.4782179892063141, 0.9640425443649292, 0.19579270482063293, 0.22682569921016693, 1.3273472785949707, 1.1069045066833496, -0.33525604009628296, 0.4570324718952179, -0.8221419453620911, -0.38895443081855774, 0.5072674751281738, 0.32990068197250366, 0.007513748481869698, 0.2745520770549774, -1.0375231504440308, -0.2957402169704437, -0.27304306626319885, -0.7945341467857361, -0.7884286642074585, -0.3581326901912689, -0.3997975289821625, 1.7774986028671265, -0.07488655298948288, -0.5259986519813538, 0.024313347414135933, -0.7885217070579529, -0.1123565062880516, -1.0263853073120117, 0.33134353160858154, -0.11567839235067368, 0.0615779310464859, -0.12654604017734528, 1.6461073160171509, -0.9628587961196899, -2.234532356262207, 0.17225342988967896, 0.28563153743743896, -0.34063658118247986, -0.13082429766654968, 1.819757103919983, 0.5363622903823853, 1.3672536611557007, 1.5315788984298706, 1.0804471969604492, -0.5699362754821777, -1.2563360929489136, 0.7077410221099854, 0.9455037713050842, -1.3412197828292847, 0.8482101559638977, -0.21761970221996307, -0.5307575464248657, 0.5614578723907471, 1.3460935354232788, 0.4318895637989044, -1.9501004219055176, 0.925965428352356, -1.1256349086761475, 0.863885223865509, 0.7737928628921509, 0.826530396938324, 0.17684237658977509, 0.8948971629142761, -1.267441749572754, -1.0296231508255005, -0.5898506045341492, -0.6237922310829163, 1.891365885734558, -0.22601062059402466, 0.2936082184314728, -0.3419084846973419, -1.2801196575164795, 0.0945027619600296, 0.6709039211273193, 0.3172895014286041, -0.323976069688797, 0.7705820202827454, -0.7193625569343567, -1.053850531578064, -1.3628990650177002, -0.4482688307762146, -0.9741755723953247, -0.9277828931808472, 1.0233407020568848, 0.7523515820503235, 0.4916953444480896, 1.9123440980911255, 0.6763558387756348, 0.18482768535614014, -2.5941410064697266, 0.8470327258110046, 0.3626886010169983, -0.09395324438810349, 0.8435868620872498, 0.30875757336616516, 1.239561676979065, -0.1654292345046997, 0.5468577742576599, -2.287381887435913, 2.2140936851501465, -0.186527818441391, 0.8164283037185669, 0.039852745831012726, 0.020663460716605186, 0.9729809165000916, 0.4988631010055542, 0.5515222549438477, -1.0879406929016113, 0.9316617250442505, -0.6225457787513733, 1.1350263357162476, 0.8705917596817017, -0.8740748763084412, 0.24617472290992737, 1.2342798709869385, 0.37249502539634705, -0.5580161809921265, -0.9969735741615295, -0.808798611164093, 0.9528689384460449, 1.7819377183914185, 0.004703188315033913, 0.07559892535209656, 0.8208154439926147, 0.780178427696228, -1.2645472288131714, -0.0030710925348103046, -0.5259248614311218, -0.6876060962677002, 1.7959808111190796, 2.113987445831299, -0.05220486968755722, -0.12849552929401398, -0.7528056502342224, -1.472015380859375, 0.7455419898033142, 0.13224686682224274, -0.03804042935371399, 0.8183189034461975, -0.7310401797294617, 1.2004051208496094, 0.8012832999229431, 0.8571133613586426, 0.184870183467865, 0.0731843113899231, 0.2965834140777588, -0.2347155660390854, -1.2267873287200928, -0.39565134048461914, -1.0221185684204102, -2.576521873474121, 0.4280795156955719, -0.27905386686325073, -1.4248799085617065, 0.19204333424568176, -0.8924415111541748, 0.7211161851882935, -0.5711719393730164, -1.1979032754898071, -1.3570175170898438, 0.25667548179626465, -0.1348716765642166, 0.7644259929656982, -1.635420799255371, -0.18725889921188354, 1.1523401737213135, 0.9646840691566467, -0.5826877355575562, 0.8893377780914307, 0.3006746470928192, 0.8942580819129944, 1.0152417421340942, -0.386107474565506, 0.4899183511734009, 0.3062076270580292, -1.4073220491409302, 0.3731437623500824, 1.4156358242034912, 0.22137048840522766, 1.3621197938919067, -0.4547187089920044, -0.009653661400079727, 0.41203999519348145, -0.3017248213291168, -0.5898383855819702, -0.7342573404312134, 0.6630309224128723, -0.1416100412607193, -1.0287432670593262, -0.10564716160297394, 0.06964486837387085, -0.14470399916172028, 0.3176814615726471, -1.4873992204666138, -0.08244960755109787, -0.4025828540325165, -0.670095682144165, -1.4293807744979858, -0.088220976293087, 1.3194043636322021, -0.8987537622451782, -0.08911288529634476, 0.5192025303840637, 0.21922567486763, 0.5514181852340698, 0.6501611471176147, -0.7527707815170288, -0.27678564190864563, -0.09099944680929184, -0.43690282106399536, 0.3271124064922333, 1.2315703630447388, -0.04986412078142166, -0.9855230450630188, 0.46064385771751404, -0.26241225004196167, 0.221393883228302, 1.894333004951477, 0.04260358214378357, -0.8045914769172668, 0.3633531630039215, -0.7545711994171143, 1.824116587638855, 1.6076343059539795, 1.3116239309310913, -0.10308501124382019, -0.9869049191474915, 0.6801207661628723, -0.31124138832092285, -0.3121986985206604, 0.8756274580955505, 0.3167200982570648, -0.24386808276176453, -1.48574960231781, 0.7515031695365906, 1.3225538730621338, -0.8802712559700012, -0.7835811972618103, 0.07704564929008484, -0.8520562052726746, 1.2014460563659668, 0.6516479849815369, 0.2408430576324463, 0.24584892392158508, 1.677936315536499, 0.7195632457733154, -0.5420936346054077, 0.4932859539985657, 0.4339412748813629, -0.1969163864850998, -2.0330047607421875, -1.1046035289764404, 0.293802946805954, -0.3704151213169098, -1.4893064498901367, 1.4191656112670898, -1.2045869827270508, -0.9842951893806458, 0.5694029331207275, 0.16695502400398254, 1.3497955799102783, 0.31686311960220337, 1.7233338356018066, 2.0318851470947266, 0.8570107221603394, 0.41837018728256226, 1.1197993755340576, -0.2417396456003189, -0.24057810008525848, 1.6080275774002075, -0.5044460892677307, 0.6921536326408386, 1.004838228225708, -0.47739624977111816, -1.2805533409118652, -0.8188984394073486, -1.2355200052261353, -0.7832245230674744, 1.0880606174468994, 0.13898274302482605, -1.1178189516067505, 0.3255624771118164, 1.623460292816162, 0.07529880851507187, -0.14353084564208984, 0.7021871209144592, 0.3941487669944763, -0.6974661946296692, -0.07775061577558517, -1.097631573677063, 0.5822526216506958, -0.32244813442230225, -0.32824429869651794, 0.13139969110488892, 0.6353949904441833, 1.2208576202392578, 0.23042507469654083, 0.10744126886129379, 1.3044785261154175, -1.3801891803741455, 1.1851755380630493, -0.9830111265182495, 0.41872358322143555, -2.338120460510254, 1.46218740940094, -1.0147533416748047, 1.9627386331558228, -2.672578811645508, 0.5184555053710938, -0.4660332202911377, -0.5696249008178711, 0.149588480591774, -0.13520851731300354, 0.11032867431640625, 0.0008007604628801346, -1.0777779817581177, -0.14289693534374237, -0.8630840182304382, 0.5119418501853943, 1.2416884899139404, 1.3830372095108032, -0.9541079998016357, -0.2611607313156128, -1.6291348934173584, -0.1210237443447113, -0.5089107155799866, 0.057750701904296875, -1.7910503149032593, -0.19710773229599, -1.9902660846710205, -2.4628090858459473, -1.3307560682296753, -0.956093430519104, 1.3011384010314941, 0.12241098284721375, -0.8841385841369629, 1.1186550855636597, -0.4548237919807434, -1.7472628355026245, 1.1954020261764526, -2.2040982246398926 ]
https://github.com/huggingface/datasets/issues/4003
ASSIN2 dataset checksum bug
Right indeed ! Let me open a PR to fix this. The dataset_infos.json file that stores some metadata about the dataset to download (and is used to verify it was correctly downloaded) hasn't been updated correctly
## Describe the bug Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2). `NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`. Similar to #3952 , #3942 , #3941 , etc. ``` --------------------------------------------------------------------------- NonMatchingChecksumError Traceback (most recent call last) [<ipython-input-13-c664a92ad5e7>](https://localhost:8080/#) in <module>() ----> 1 load_dataset('assin2') 4 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 38 if len(bad_urls) > 0: 39 error_msg = "Checksums didn't match" + for_verification_name + ":\n" ---> 40 raise NonMatchingChecksumError(error_msg + str(bad_urls)) 41 logger.info("All the checksums matched successfully" + for_verification_name) 42 NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.com/u/0/uc?id=1Q9j1a83CuKzsHCGaNulSkNxBm7Dkn7Ln&export=download'] ``` ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("assin2") ``` ## Expected results Load the dataset. ## Actual results The dataset won't load. ## Environment info - `datasets` version: 2.0.1.dev0 - Platform: Google Colab - Python version: 3.7.12 - PyArrow version: 6.0.1
858
36
ASSIN2 dataset checksum bug ## Describe the bug Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2). `NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`. Similar to #3952 , #3942 , #3941 , etc. ``` --------------------------------------------------------------------------- NonMatchingChecksumError Traceback (most recent call last) [<ipython-input-13-c664a92ad5e7>](https://localhost:8080/#) in <module>() ----> 1 load_dataset('assin2') 4 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 38 if len(bad_urls) > 0: 39 error_msg = "Checksums didn't match" + for_verification_name + ":\n" ---> 40 raise NonMatchingChecksumError(error_msg + str(bad_urls)) 41 logger.info("All the checksums matched successfully" + for_verification_name) 42 NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.com/u/0/uc?id=1Q9j1a83CuKzsHCGaNulSkNxBm7Dkn7Ln&export=download'] ``` ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("assin2") ``` ## Expected results Load the dataset. ## Actual results The dataset won't load. ## Environment info - `datasets` version: 2.0.1.dev0 - Platform: Google Colab - Python version: 3.7.12 - PyArrow version: 6.0.1 Right indeed ! Let me open a PR to fix this. The dataset_infos.json file that stores some metadata about the dataset to download (and is used to verify it was correctly downloaded) hasn't been updated correctly
[ -1.177687406539917, -0.7696807384490967, -0.5768425464630127, 1.4363871812820435, 0.03602347522974014, -1.280153512954712, 0.11638645827770233, -0.8450499773025513, 1.5851348638534546, -0.8270496726036072, 0.40560755133628845, -1.7096924781799316, -0.017131851986050606, -0.708019495010376, -0.6307492256164551, -0.6172825694084167, -0.3608591556549072, -0.6410183310508728, 1.1069364547729492, 2.432872772216797, 1.227660894393921, -1.3618509769439697, 2.840794324874878, 0.6276682615280151, -0.30937373638153076, -0.8092563152313232, 0.3361780345439911, 0.002458435483276844, -1.4098191261291504, -0.2806151807308197, -1.0017211437225342, 0.04935396462678909, -0.6280900239944458, -0.5225260853767395, 0.1367267370223999, 0.4987550377845764, -0.15729837119579315, -0.3848344385623932, -0.46628516912460327, -0.7686734795570374, 0.5883615612983704, -0.29219064116477966, 0.812617838382721, -0.249296635389328, 1.7966762781143188, -0.6535632610321045, 0.47132933139801025, 0.4838762581348419, 1.2333821058273315, 0.16780588030815125, -0.033444978296756744, 0.4734884202480316, 0.19457115232944489, 0.058737613260746, 0.6604639291763306, 1.287541151046753, 0.6022569537162781, 0.5033183693885803, 0.7680977582931519, -2.227421283721924, 1.3123714923858643, -0.8581404089927673, 0.23609817028045654, 1.2980177402496338, -1.131072998046875, 0.4521138072013855, -1.892500400543213, -0.11969131976366043, 0.37376904487609863, -2.3448147773742676, 0.11845888197422028, -1.3282573223114014, -0.5392206907272339, 0.9771888256072998, 0.3242643475532532, -1.2585546970367432, 0.0014787204563617706, -0.3973325490951538, 0.9638065099716187, 0.29097434878349304, 1.1135348081588745, -1.6181012392044067, 0.05044156312942505, -0.24326208233833313, 0.26326489448547363, -1.223019003868103, -1.6403523683547974, 0.640576958656311, 0.6967242360115051, 0.5820671916007996, -0.17339329421520233, 0.893546462059021, -1.131295084953308, 0.8249224424362183, -1.002764105796814, -1.7979506254196167, -1.417392373085022, -2.4398515224456787, -2.34869647026062, 0.784875750541687, -0.44874873757362366, -0.4072364568710327, 2.0817620754241943, -1.099505066871643, -1.7989349365234375, 1.1025075912475586, 0.3650987446308136, -0.06468527764081955, 2.3212971687316895, 0.19982850551605225, -0.9600021243095398, 0.6999722123146057, -0.8734501004219055, 0.7651250958442688, -0.2923806607723236, 1.2917059659957886, 0.4482734501361847, -1.0221964120864868, 1.5857670307159424, -0.36523106694221497, 0.5052772760391235, -0.7210066318511963, -0.4035590589046478, -0.5338726043701172, 0.1921354979276657, 2.023038148880005, -0.22124068439006805, 1.5323675870895386, -0.1336890161037445, -1.4608774185180664, -1.3665449619293213, 0.7254992127418518, 0.5320466756820679, -0.8155344128608704, 0.2051919847726822, -0.442741721868515, 0.19410379230976105, 0.16177956759929657, 1.097049355506897, 1.2905193567276, 0.7480299472808838, -0.1419583112001419, -0.8947133421897888, 0.09510504454374313, 0.03823447972536087, -0.5123699307441711, -1.7127760648727417, -0.30145204067230225, 0.17406128346920013, 0.6035802960395813, -1.2094132900238037, 1.8946733474731445, 0.8659616708755493, 1.9996838569641113, 0.9505726099014282, -0.32690778374671936, 1.6293779611587524, 0.06020648032426834, 1.860097885131836, -0.33747801184654236, 0.6549214124679565, -0.4586891233921051, -1.17681884765625, 0.5978835225105286, -0.3579024374485016, -2.043924570083618, -0.41393718123435974, -0.8882348537445068, -0.09913390874862671, -0.9432571530342102, 1.0155147314071655, -0.15755684673786163, -1.4063398838043213, 0.179329052567482, -0.6988582611083984, 0.1302633434534073, -1.4218056201934814, 0.20924565196037292, 0.7711504697799683, -0.7137864828109741, 0.05542483925819397, -0.43336060643196106, -1.384416103363037, -0.5477087497711182, 0.4184376001358032, 1.7773178815841675, -0.6590818166732788, 1.0255297422409058, 1.0630533695220947, -0.6374803185462952, -0.05473463982343674, 0.4813816547393799, -0.4024951756000519, 0.9645692706108093, -0.9599742293357849, -0.48594486713409424, 1.0914517641067505, -0.25141265988349915, -0.4678875803947449, 1.3377643823623657, 0.7643764019012451, -1.0498859882354736, -0.37248632311820984, -0.08719561249017715, -0.8042248487472534, 0.058606117963790894, -1.6504100561141968, -0.16684722900390625, 0.29322442412376404, -1.4423773288726807, -0.473062664270401, -0.0931498259305954, 1.2454391717910767, -0.029301879927515984, 1.401960849761963, -0.23723238706588745, -0.08220255374908447, -0.46966806054115295, -0.5553436875343323, 0.07947484403848648, -0.10091286897659302, -0.681397020816803, 0.32057783007621765, -0.7764453291893005, 0.2543187439441681, 1.516225814819336, 0.2628059685230255, 0.11452474445104599, 0.5594362020492554, 1.201344609260559, 0.30566707253456116, -0.17742855846881866, -0.9088082909584045, -1.7018076181411743, 2.0576963424682617, -1.589544415473938, 1.9870816469192505, 0.8385029435157776, -0.0402509868144989, -1.7817338705062866, -1.8573037385940552, 1.4643727540969849, 1.1326228380203247, 2.514704942703247, 0.5113123059272766, 0.4615938067436218, -0.8496122360229492, -0.6793485283851624, 0.47452229261398315, -0.767866313457489, -0.8669743537902832, 0.15020215511322021, 2.3055241107940674, 1.8064261674880981, -0.3272051215171814, -0.19781871140003204, -0.9239839911460876, 1.346305012702942, -0.30728766322135925, 0.25037890672683716, 1.8328760862350464, -0.3340884745121002, -1.0749540328979492, 1.2733395099639893, -2.3667092323303223, 0.2820780575275421, 1.9998137950897217, 0.28432995080947876, 0.026938842609524727, -1.1640019416809082, -0.6682732701301575, -0.21396172046661377, -0.3838970959186554, -1.274599552154541, 0.45520341396331787, -0.16965261101722717, -0.895678699016571, -1.3420361280441284, 0.043358005583286285, -1.1785926818847656, -1.7133322954177856, 0.3307982385158539, 1.781718134880066, 2.1851003170013428, -0.8231393694877625, 1.2633026838302612, -0.3087576627731323, 0.3250320553779602, 1.1848565340042114, 1.2498725652694702, 3.2234461307525635, 1.9106247425079346, -1.3007960319519043, 0.7053709030151367, -0.1880594789981842, -0.5400747060775757, 1.2570915222167969, -1.0094131231307983, 1.1740351915359497, -0.22211480140686035, -1.3545607328414917, -1.2078168392181396, 0.9325854182243347, 0.44504961371421814, -0.10257633030414581, -0.48345619440078735, 1.0764687061309814, 0.1566435545682907, 1.3187518119812012, 0.6666723489761353, -0.3327668309211731, 0.5035720467567444, -0.3385547399520874, -0.5071483850479126, 1.578397274017334, 0.06073341518640518, -1.5219417810440063, -2.3227896690368652, -0.14537620544433594, -1.0354374647140503, 0.034146010875701904, -0.9540035724639893, -1.0898752212524414, 1.4806430339813232, 0.46017077565193176, -1.003674864768982, -0.13310010731220245, -0.4159940779209137, -0.5790881514549255, 2.6010148525238037, -1.402000904083252, -0.21945321559906006, -1.0311715602874756, -0.5386496782302856, 1.499157190322876, -1.1010040044784546, -0.24489575624465942, -1.0433666706085205, -0.49436771869659424, -1.2395268678665161, -0.4963530898094177, -0.11242479085922241, -0.7828646898269653, 0.6990610957145691, -0.06329674273729324, -1.2570174932479858, -0.26126328110694885, -1.0665278434753418, 0.917536199092865, -0.2853965163230896, 0.008874135091900826, 1.6903084516525269, 0.1988288015127182, -0.31830522418022156, 0.8940035104751587, 1.2171201705932617, 0.5995947122573853, -0.5173760652542114, 0.20209582149982452, -0.6294466853141785, 0.4546554982662201, -1.2594765424728394, 0.36707204580307007, -2.8889753818511963, 0.7058771252632141, -0.021375535055994987, -0.0014852732419967651, -0.15774866938591003, -1.4855009317398071, 0.940310537815094, 2.4733660221099854, -1.076411247253418, 0.6222231388092041, 0.36472615599632263, 1.1913586854934692, -1.636811375617981, -0.0258827842772007, -0.6546671390533447, 2.16870379447937, 0.017408834770321846, 1.0882734060287476, -0.5657495856285095, -2.3755245208740234, 0.5561732649803162, -1.2204803228378296, -0.9442106485366821, 0.7838217616081238, -0.8685270547866821, 0.2146766036748886, -1.1740355491638184, -0.16073985397815704, -0.9127417206764221, -1.0964689254760742, 0.5058103799819946, 0.011142084375023842, 0.6298050880432129, -0.6096789240837097, 0.25106188654899597, -2.2712130546569824, -1.3841419219970703, -0.18389460444450378, -0.9326363205909729, 0.5165649056434631, -0.3626985549926758, 0.7216077446937561, -0.059601470828056335, -0.008923457004129887, 0.2540819048881531, 1.449942708015442, 3.2089903354644775, 0.03658144921064377, 0.3707049489021301, -0.25325679779052734, -0.9602609276771545, 1.5378336906433105, 0.9040494561195374, -0.27903398871421814, -0.6575155258178711, -0.9426422119140625, 1.4207079410552979, 1.9060754776000977, 1.0832520723342896, 0.045545801520347595, -0.917046844959259, -0.8146517276763916, 0.07590336352586746, 0.13773545622825623, 0.4782179892063141, 0.9640425443649292, 0.19579270482063293, 0.22682569921016693, 1.3273472785949707, 1.1069045066833496, -0.33525604009628296, 0.4570324718952179, -0.8221419453620911, -0.38895443081855774, 0.5072674751281738, 0.32990068197250366, 0.007513748481869698, 0.2745520770549774, -1.0375231504440308, -0.2957402169704437, -0.27304306626319885, -0.7945341467857361, -0.7884286642074585, -0.3581326901912689, -0.3997975289821625, 1.7774986028671265, -0.07488655298948288, -0.5259986519813538, 0.024313347414135933, -0.7885217070579529, -0.1123565062880516, -1.0263853073120117, 0.33134353160858154, -0.11567839235067368, 0.0615779310464859, -0.12654604017734528, 1.6461073160171509, -0.9628587961196899, -2.234532356262207, 0.17225342988967896, 0.28563153743743896, -0.34063658118247986, -0.13082429766654968, 1.819757103919983, 0.5363622903823853, 1.3672536611557007, 1.5315788984298706, 1.0804471969604492, -0.5699362754821777, -1.2563360929489136, 0.7077410221099854, 0.9455037713050842, -1.3412197828292847, 0.8482101559638977, -0.21761970221996307, -0.5307575464248657, 0.5614578723907471, 1.3460935354232788, 0.4318895637989044, -1.9501004219055176, 0.925965428352356, -1.1256349086761475, 0.863885223865509, 0.7737928628921509, 0.826530396938324, 0.17684237658977509, 0.8948971629142761, -1.267441749572754, -1.0296231508255005, -0.5898506045341492, -0.6237922310829163, 1.891365885734558, -0.22601062059402466, 0.2936082184314728, -0.3419084846973419, -1.2801196575164795, 0.0945027619600296, 0.6709039211273193, 0.3172895014286041, -0.323976069688797, 0.7705820202827454, -0.7193625569343567, -1.053850531578064, -1.3628990650177002, -0.4482688307762146, -0.9741755723953247, -0.9277828931808472, 1.0233407020568848, 0.7523515820503235, 0.4916953444480896, 1.9123440980911255, 0.6763558387756348, 0.18482768535614014, -2.5941410064697266, 0.8470327258110046, 0.3626886010169983, -0.09395324438810349, 0.8435868620872498, 0.30875757336616516, 1.239561676979065, -0.1654292345046997, 0.5468577742576599, -2.287381887435913, 2.2140936851501465, -0.186527818441391, 0.8164283037185669, 0.039852745831012726, 0.020663460716605186, 0.9729809165000916, 0.4988631010055542, 0.5515222549438477, -1.0879406929016113, 0.9316617250442505, -0.6225457787513733, 1.1350263357162476, 0.8705917596817017, -0.8740748763084412, 0.24617472290992737, 1.2342798709869385, 0.37249502539634705, -0.5580161809921265, -0.9969735741615295, -0.808798611164093, 0.9528689384460449, 1.7819377183914185, 0.004703188315033913, 0.07559892535209656, 0.8208154439926147, 0.780178427696228, -1.2645472288131714, -0.0030710925348103046, -0.5259248614311218, -0.6876060962677002, 1.7959808111190796, 2.113987445831299, -0.05220486968755722, -0.12849552929401398, -0.7528056502342224, -1.472015380859375, 0.7455419898033142, 0.13224686682224274, -0.03804042935371399, 0.8183189034461975, -0.7310401797294617, 1.2004051208496094, 0.8012832999229431, 0.8571133613586426, 0.184870183467865, 0.0731843113899231, 0.2965834140777588, -0.2347155660390854, -1.2267873287200928, -0.39565134048461914, -1.0221185684204102, -2.576521873474121, 0.4280795156955719, -0.27905386686325073, -1.4248799085617065, 0.19204333424568176, -0.8924415111541748, 0.7211161851882935, -0.5711719393730164, -1.1979032754898071, -1.3570175170898438, 0.25667548179626465, -0.1348716765642166, 0.7644259929656982, -1.635420799255371, -0.18725889921188354, 1.1523401737213135, 0.9646840691566467, -0.5826877355575562, 0.8893377780914307, 0.3006746470928192, 0.8942580819129944, 1.0152417421340942, -0.386107474565506, 0.4899183511734009, 0.3062076270580292, -1.4073220491409302, 0.3731437623500824, 1.4156358242034912, 0.22137048840522766, 1.3621197938919067, -0.4547187089920044, -0.009653661400079727, 0.41203999519348145, -0.3017248213291168, -0.5898383855819702, -0.7342573404312134, 0.6630309224128723, -0.1416100412607193, -1.0287432670593262, -0.10564716160297394, 0.06964486837387085, -0.14470399916172028, 0.3176814615726471, -1.4873992204666138, -0.08244960755109787, -0.4025828540325165, -0.670095682144165, -1.4293807744979858, -0.088220976293087, 1.3194043636322021, -0.8987537622451782, -0.08911288529634476, 0.5192025303840637, 0.21922567486763, 0.5514181852340698, 0.6501611471176147, -0.7527707815170288, -0.27678564190864563, -0.09099944680929184, -0.43690282106399536, 0.3271124064922333, 1.2315703630447388, -0.04986412078142166, -0.9855230450630188, 0.46064385771751404, -0.26241225004196167, 0.221393883228302, 1.894333004951477, 0.04260358214378357, -0.8045914769172668, 0.3633531630039215, -0.7545711994171143, 1.824116587638855, 1.6076343059539795, 1.3116239309310913, -0.10308501124382019, -0.9869049191474915, 0.6801207661628723, -0.31124138832092285, -0.3121986985206604, 0.8756274580955505, 0.3167200982570648, -0.24386808276176453, -1.48574960231781, 0.7515031695365906, 1.3225538730621338, -0.8802712559700012, -0.7835811972618103, 0.07704564929008484, -0.8520562052726746, 1.2014460563659668, 0.6516479849815369, 0.2408430576324463, 0.24584892392158508, 1.677936315536499, 0.7195632457733154, -0.5420936346054077, 0.4932859539985657, 0.4339412748813629, -0.1969163864850998, -2.0330047607421875, -1.1046035289764404, 0.293802946805954, -0.3704151213169098, -1.4893064498901367, 1.4191656112670898, -1.2045869827270508, -0.9842951893806458, 0.5694029331207275, 0.16695502400398254, 1.3497955799102783, 0.31686311960220337, 1.7233338356018066, 2.0318851470947266, 0.8570107221603394, 0.41837018728256226, 1.1197993755340576, -0.2417396456003189, -0.24057810008525848, 1.6080275774002075, -0.5044460892677307, 0.6921536326408386, 1.004838228225708, -0.47739624977111816, -1.2805533409118652, -0.8188984394073486, -1.2355200052261353, -0.7832245230674744, 1.0880606174468994, 0.13898274302482605, -1.1178189516067505, 0.3255624771118164, 1.623460292816162, 0.07529880851507187, -0.14353084564208984, 0.7021871209144592, 0.3941487669944763, -0.6974661946296692, -0.07775061577558517, -1.097631573677063, 0.5822526216506958, -0.32244813442230225, -0.32824429869651794, 0.13139969110488892, 0.6353949904441833, 1.2208576202392578, 0.23042507469654083, 0.10744126886129379, 1.3044785261154175, -1.3801891803741455, 1.1851755380630493, -0.9830111265182495, 0.41872358322143555, -2.338120460510254, 1.46218740940094, -1.0147533416748047, 1.9627386331558228, -2.672578811645508, 0.5184555053710938, -0.4660332202911377, -0.5696249008178711, 0.149588480591774, -0.13520851731300354, 0.11032867431640625, 0.0008007604628801346, -1.0777779817581177, -0.14289693534374237, -0.8630840182304382, 0.5119418501853943, 1.2416884899139404, 1.3830372095108032, -0.9541079998016357, -0.2611607313156128, -1.6291348934173584, -0.1210237443447113, -0.5089107155799866, 0.057750701904296875, -1.7910503149032593, -0.19710773229599, -1.9902660846710205, -2.4628090858459473, -1.3307560682296753, -0.956093430519104, 1.3011384010314941, 0.12241098284721375, -0.8841385841369629, 1.1186550855636597, -0.4548237919807434, -1.7472628355026245, 1.1954020261764526, -2.2040982246398926 ]
https://github.com/huggingface/datasets/issues/4003
ASSIN2 dataset checksum bug
Not sure what the status of this is, but personally I am still getting this error, with glue.
## Describe the bug Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2). `NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`. Similar to #3952 , #3942 , #3941 , etc. ``` --------------------------------------------------------------------------- NonMatchingChecksumError Traceback (most recent call last) [<ipython-input-13-c664a92ad5e7>](https://localhost:8080/#) in <module>() ----> 1 load_dataset('assin2') 4 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 38 if len(bad_urls) > 0: 39 error_msg = "Checksums didn't match" + for_verification_name + ":\n" ---> 40 raise NonMatchingChecksumError(error_msg + str(bad_urls)) 41 logger.info("All the checksums matched successfully" + for_verification_name) 42 NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.com/u/0/uc?id=1Q9j1a83CuKzsHCGaNulSkNxBm7Dkn7Ln&export=download'] ``` ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("assin2") ``` ## Expected results Load the dataset. ## Actual results The dataset won't load. ## Environment info - `datasets` version: 2.0.1.dev0 - Platform: Google Colab - Python version: 3.7.12 - PyArrow version: 6.0.1
858
18
ASSIN2 dataset checksum bug ## Describe the bug Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2). `NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`. Similar to #3952 , #3942 , #3941 , etc. ``` --------------------------------------------------------------------------- NonMatchingChecksumError Traceback (most recent call last) [<ipython-input-13-c664a92ad5e7>](https://localhost:8080/#) in <module>() ----> 1 load_dataset('assin2') 4 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 38 if len(bad_urls) > 0: 39 error_msg = "Checksums didn't match" + for_verification_name + ":\n" ---> 40 raise NonMatchingChecksumError(error_msg + str(bad_urls)) 41 logger.info("All the checksums matched successfully" + for_verification_name) 42 NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.com/u/0/uc?id=1Q9j1a83CuKzsHCGaNulSkNxBm7Dkn7Ln&export=download'] ``` ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("assin2") ``` ## Expected results Load the dataset. ## Actual results The dataset won't load. ## Environment info - `datasets` version: 2.0.1.dev0 - Platform: Google Colab - Python version: 3.7.12 - PyArrow version: 6.0.1 Not sure what the status of this is, but personally I am still getting this error, with glue.
[ -1.177687406539917, -0.7696807384490967, -0.5768425464630127, 1.4363871812820435, 0.03602347522974014, -1.280153512954712, 0.11638645827770233, -0.8450499773025513, 1.5851348638534546, -0.8270496726036072, 0.40560755133628845, -1.7096924781799316, -0.017131851986050606, -0.708019495010376, -0.6307492256164551, -0.6172825694084167, -0.3608591556549072, -0.6410183310508728, 1.1069364547729492, 2.432872772216797, 1.227660894393921, -1.3618509769439697, 2.840794324874878, 0.6276682615280151, -0.30937373638153076, -0.8092563152313232, 0.3361780345439911, 0.002458435483276844, -1.4098191261291504, -0.2806151807308197, -1.0017211437225342, 0.04935396462678909, -0.6280900239944458, -0.5225260853767395, 0.1367267370223999, 0.4987550377845764, -0.15729837119579315, -0.3848344385623932, -0.46628516912460327, -0.7686734795570374, 0.5883615612983704, -0.29219064116477966, 0.812617838382721, -0.249296635389328, 1.7966762781143188, -0.6535632610321045, 0.47132933139801025, 0.4838762581348419, 1.2333821058273315, 0.16780588030815125, -0.033444978296756744, 0.4734884202480316, 0.19457115232944489, 0.058737613260746, 0.6604639291763306, 1.287541151046753, 0.6022569537162781, 0.5033183693885803, 0.7680977582931519, -2.227421283721924, 1.3123714923858643, -0.8581404089927673, 0.23609817028045654, 1.2980177402496338, -1.131072998046875, 0.4521138072013855, -1.892500400543213, -0.11969131976366043, 0.37376904487609863, -2.3448147773742676, 0.11845888197422028, -1.3282573223114014, -0.5392206907272339, 0.9771888256072998, 0.3242643475532532, -1.2585546970367432, 0.0014787204563617706, -0.3973325490951538, 0.9638065099716187, 0.29097434878349304, 1.1135348081588745, -1.6181012392044067, 0.05044156312942505, -0.24326208233833313, 0.26326489448547363, -1.223019003868103, -1.6403523683547974, 0.640576958656311, 0.6967242360115051, 0.5820671916007996, -0.17339329421520233, 0.893546462059021, -1.131295084953308, 0.8249224424362183, -1.002764105796814, -1.7979506254196167, -1.417392373085022, -2.4398515224456787, -2.34869647026062, 0.784875750541687, -0.44874873757362366, -0.4072364568710327, 2.0817620754241943, -1.099505066871643, -1.7989349365234375, 1.1025075912475586, 0.3650987446308136, -0.06468527764081955, 2.3212971687316895, 0.19982850551605225, -0.9600021243095398, 0.6999722123146057, -0.8734501004219055, 0.7651250958442688, -0.2923806607723236, 1.2917059659957886, 0.4482734501361847, -1.0221964120864868, 1.5857670307159424, -0.36523106694221497, 0.5052772760391235, -0.7210066318511963, -0.4035590589046478, -0.5338726043701172, 0.1921354979276657, 2.023038148880005, -0.22124068439006805, 1.5323675870895386, -0.1336890161037445, -1.4608774185180664, -1.3665449619293213, 0.7254992127418518, 0.5320466756820679, -0.8155344128608704, 0.2051919847726822, -0.442741721868515, 0.19410379230976105, 0.16177956759929657, 1.097049355506897, 1.2905193567276, 0.7480299472808838, -0.1419583112001419, -0.8947133421897888, 0.09510504454374313, 0.03823447972536087, -0.5123699307441711, -1.7127760648727417, -0.30145204067230225, 0.17406128346920013, 0.6035802960395813, -1.2094132900238037, 1.8946733474731445, 0.8659616708755493, 1.9996838569641113, 0.9505726099014282, -0.32690778374671936, 1.6293779611587524, 0.06020648032426834, 1.860097885131836, -0.33747801184654236, 0.6549214124679565, -0.4586891233921051, -1.17681884765625, 0.5978835225105286, -0.3579024374485016, -2.043924570083618, -0.41393718123435974, -0.8882348537445068, -0.09913390874862671, -0.9432571530342102, 1.0155147314071655, -0.15755684673786163, -1.4063398838043213, 0.179329052567482, -0.6988582611083984, 0.1302633434534073, -1.4218056201934814, 0.20924565196037292, 0.7711504697799683, -0.7137864828109741, 0.05542483925819397, -0.43336060643196106, -1.384416103363037, -0.5477087497711182, 0.4184376001358032, 1.7773178815841675, -0.6590818166732788, 1.0255297422409058, 1.0630533695220947, -0.6374803185462952, -0.05473463982343674, 0.4813816547393799, -0.4024951756000519, 0.9645692706108093, -0.9599742293357849, -0.48594486713409424, 1.0914517641067505, -0.25141265988349915, -0.4678875803947449, 1.3377643823623657, 0.7643764019012451, -1.0498859882354736, -0.37248632311820984, -0.08719561249017715, -0.8042248487472534, 0.058606117963790894, -1.6504100561141968, -0.16684722900390625, 0.29322442412376404, -1.4423773288726807, -0.473062664270401, -0.0931498259305954, 1.2454391717910767, -0.029301879927515984, 1.401960849761963, -0.23723238706588745, -0.08220255374908447, -0.46966806054115295, -0.5553436875343323, 0.07947484403848648, -0.10091286897659302, -0.681397020816803, 0.32057783007621765, -0.7764453291893005, 0.2543187439441681, 1.516225814819336, 0.2628059685230255, 0.11452474445104599, 0.5594362020492554, 1.201344609260559, 0.30566707253456116, -0.17742855846881866, -0.9088082909584045, -1.7018076181411743, 2.0576963424682617, -1.589544415473938, 1.9870816469192505, 0.8385029435157776, -0.0402509868144989, -1.7817338705062866, -1.8573037385940552, 1.4643727540969849, 1.1326228380203247, 2.514704942703247, 0.5113123059272766, 0.4615938067436218, -0.8496122360229492, -0.6793485283851624, 0.47452229261398315, -0.767866313457489, -0.8669743537902832, 0.15020215511322021, 2.3055241107940674, 1.8064261674880981, -0.3272051215171814, -0.19781871140003204, -0.9239839911460876, 1.346305012702942, -0.30728766322135925, 0.25037890672683716, 1.8328760862350464, -0.3340884745121002, -1.0749540328979492, 1.2733395099639893, -2.3667092323303223, 0.2820780575275421, 1.9998137950897217, 0.28432995080947876, 0.026938842609524727, -1.1640019416809082, -0.6682732701301575, -0.21396172046661377, -0.3838970959186554, -1.274599552154541, 0.45520341396331787, -0.16965261101722717, -0.895678699016571, -1.3420361280441284, 0.043358005583286285, -1.1785926818847656, -1.7133322954177856, 0.3307982385158539, 1.781718134880066, 2.1851003170013428, -0.8231393694877625, 1.2633026838302612, -0.3087576627731323, 0.3250320553779602, 1.1848565340042114, 1.2498725652694702, 3.2234461307525635, 1.9106247425079346, -1.3007960319519043, 0.7053709030151367, -0.1880594789981842, -0.5400747060775757, 1.2570915222167969, -1.0094131231307983, 1.1740351915359497, -0.22211480140686035, -1.3545607328414917, -1.2078168392181396, 0.9325854182243347, 0.44504961371421814, -0.10257633030414581, -0.48345619440078735, 1.0764687061309814, 0.1566435545682907, 1.3187518119812012, 0.6666723489761353, -0.3327668309211731, 0.5035720467567444, -0.3385547399520874, -0.5071483850479126, 1.578397274017334, 0.06073341518640518, -1.5219417810440063, -2.3227896690368652, -0.14537620544433594, -1.0354374647140503, 0.034146010875701904, -0.9540035724639893, -1.0898752212524414, 1.4806430339813232, 0.46017077565193176, -1.003674864768982, -0.13310010731220245, -0.4159940779209137, -0.5790881514549255, 2.6010148525238037, -1.402000904083252, -0.21945321559906006, -1.0311715602874756, -0.5386496782302856, 1.499157190322876, -1.1010040044784546, -0.24489575624465942, -1.0433666706085205, -0.49436771869659424, -1.2395268678665161, -0.4963530898094177, -0.11242479085922241, -0.7828646898269653, 0.6990610957145691, -0.06329674273729324, -1.2570174932479858, -0.26126328110694885, -1.0665278434753418, 0.917536199092865, -0.2853965163230896, 0.008874135091900826, 1.6903084516525269, 0.1988288015127182, -0.31830522418022156, 0.8940035104751587, 1.2171201705932617, 0.5995947122573853, -0.5173760652542114, 0.20209582149982452, -0.6294466853141785, 0.4546554982662201, -1.2594765424728394, 0.36707204580307007, -2.8889753818511963, 0.7058771252632141, -0.021375535055994987, -0.0014852732419967651, -0.15774866938591003, -1.4855009317398071, 0.940310537815094, 2.4733660221099854, -1.076411247253418, 0.6222231388092041, 0.36472615599632263, 1.1913586854934692, -1.636811375617981, -0.0258827842772007, -0.6546671390533447, 2.16870379447937, 0.017408834770321846, 1.0882734060287476, -0.5657495856285095, -2.3755245208740234, 0.5561732649803162, -1.2204803228378296, -0.9442106485366821, 0.7838217616081238, -0.8685270547866821, 0.2146766036748886, -1.1740355491638184, -0.16073985397815704, -0.9127417206764221, -1.0964689254760742, 0.5058103799819946, 0.011142084375023842, 0.6298050880432129, -0.6096789240837097, 0.25106188654899597, -2.2712130546569824, -1.3841419219970703, -0.18389460444450378, -0.9326363205909729, 0.5165649056434631, -0.3626985549926758, 0.7216077446937561, -0.059601470828056335, -0.008923457004129887, 0.2540819048881531, 1.449942708015442, 3.2089903354644775, 0.03658144921064377, 0.3707049489021301, -0.25325679779052734, -0.9602609276771545, 1.5378336906433105, 0.9040494561195374, -0.27903398871421814, -0.6575155258178711, -0.9426422119140625, 1.4207079410552979, 1.9060754776000977, 1.0832520723342896, 0.045545801520347595, -0.917046844959259, -0.8146517276763916, 0.07590336352586746, 0.13773545622825623, 0.4782179892063141, 0.9640425443649292, 0.19579270482063293, 0.22682569921016693, 1.3273472785949707, 1.1069045066833496, -0.33525604009628296, 0.4570324718952179, -0.8221419453620911, -0.38895443081855774, 0.5072674751281738, 0.32990068197250366, 0.007513748481869698, 0.2745520770549774, -1.0375231504440308, -0.2957402169704437, -0.27304306626319885, -0.7945341467857361, -0.7884286642074585, -0.3581326901912689, -0.3997975289821625, 1.7774986028671265, -0.07488655298948288, -0.5259986519813538, 0.024313347414135933, -0.7885217070579529, -0.1123565062880516, -1.0263853073120117, 0.33134353160858154, -0.11567839235067368, 0.0615779310464859, -0.12654604017734528, 1.6461073160171509, -0.9628587961196899, -2.234532356262207, 0.17225342988967896, 0.28563153743743896, -0.34063658118247986, -0.13082429766654968, 1.819757103919983, 0.5363622903823853, 1.3672536611557007, 1.5315788984298706, 1.0804471969604492, -0.5699362754821777, -1.2563360929489136, 0.7077410221099854, 0.9455037713050842, -1.3412197828292847, 0.8482101559638977, -0.21761970221996307, -0.5307575464248657, 0.5614578723907471, 1.3460935354232788, 0.4318895637989044, -1.9501004219055176, 0.925965428352356, -1.1256349086761475, 0.863885223865509, 0.7737928628921509, 0.826530396938324, 0.17684237658977509, 0.8948971629142761, -1.267441749572754, -1.0296231508255005, -0.5898506045341492, -0.6237922310829163, 1.891365885734558, -0.22601062059402466, 0.2936082184314728, -0.3419084846973419, -1.2801196575164795, 0.0945027619600296, 0.6709039211273193, 0.3172895014286041, -0.323976069688797, 0.7705820202827454, -0.7193625569343567, -1.053850531578064, -1.3628990650177002, -0.4482688307762146, -0.9741755723953247, -0.9277828931808472, 1.0233407020568848, 0.7523515820503235, 0.4916953444480896, 1.9123440980911255, 0.6763558387756348, 0.18482768535614014, -2.5941410064697266, 0.8470327258110046, 0.3626886010169983, -0.09395324438810349, 0.8435868620872498, 0.30875757336616516, 1.239561676979065, -0.1654292345046997, 0.5468577742576599, -2.287381887435913, 2.2140936851501465, -0.186527818441391, 0.8164283037185669, 0.039852745831012726, 0.020663460716605186, 0.9729809165000916, 0.4988631010055542, 0.5515222549438477, -1.0879406929016113, 0.9316617250442505, -0.6225457787513733, 1.1350263357162476, 0.8705917596817017, -0.8740748763084412, 0.24617472290992737, 1.2342798709869385, 0.37249502539634705, -0.5580161809921265, -0.9969735741615295, -0.808798611164093, 0.9528689384460449, 1.7819377183914185, 0.004703188315033913, 0.07559892535209656, 0.8208154439926147, 0.780178427696228, -1.2645472288131714, -0.0030710925348103046, -0.5259248614311218, -0.6876060962677002, 1.7959808111190796, 2.113987445831299, -0.05220486968755722, -0.12849552929401398, -0.7528056502342224, -1.472015380859375, 0.7455419898033142, 0.13224686682224274, -0.03804042935371399, 0.8183189034461975, -0.7310401797294617, 1.2004051208496094, 0.8012832999229431, 0.8571133613586426, 0.184870183467865, 0.0731843113899231, 0.2965834140777588, -0.2347155660390854, -1.2267873287200928, -0.39565134048461914, -1.0221185684204102, -2.576521873474121, 0.4280795156955719, -0.27905386686325073, -1.4248799085617065, 0.19204333424568176, -0.8924415111541748, 0.7211161851882935, -0.5711719393730164, -1.1979032754898071, -1.3570175170898438, 0.25667548179626465, -0.1348716765642166, 0.7644259929656982, -1.635420799255371, -0.18725889921188354, 1.1523401737213135, 0.9646840691566467, -0.5826877355575562, 0.8893377780914307, 0.3006746470928192, 0.8942580819129944, 1.0152417421340942, -0.386107474565506, 0.4899183511734009, 0.3062076270580292, -1.4073220491409302, 0.3731437623500824, 1.4156358242034912, 0.22137048840522766, 1.3621197938919067, -0.4547187089920044, -0.009653661400079727, 0.41203999519348145, -0.3017248213291168, -0.5898383855819702, -0.7342573404312134, 0.6630309224128723, -0.1416100412607193, -1.0287432670593262, -0.10564716160297394, 0.06964486837387085, -0.14470399916172028, 0.3176814615726471, -1.4873992204666138, -0.08244960755109787, -0.4025828540325165, -0.670095682144165, -1.4293807744979858, -0.088220976293087, 1.3194043636322021, -0.8987537622451782, -0.08911288529634476, 0.5192025303840637, 0.21922567486763, 0.5514181852340698, 0.6501611471176147, -0.7527707815170288, -0.27678564190864563, -0.09099944680929184, -0.43690282106399536, 0.3271124064922333, 1.2315703630447388, -0.04986412078142166, -0.9855230450630188, 0.46064385771751404, -0.26241225004196167, 0.221393883228302, 1.894333004951477, 0.04260358214378357, -0.8045914769172668, 0.3633531630039215, -0.7545711994171143, 1.824116587638855, 1.6076343059539795, 1.3116239309310913, -0.10308501124382019, -0.9869049191474915, 0.6801207661628723, -0.31124138832092285, -0.3121986985206604, 0.8756274580955505, 0.3167200982570648, -0.24386808276176453, -1.48574960231781, 0.7515031695365906, 1.3225538730621338, -0.8802712559700012, -0.7835811972618103, 0.07704564929008484, -0.8520562052726746, 1.2014460563659668, 0.6516479849815369, 0.2408430576324463, 0.24584892392158508, 1.677936315536499, 0.7195632457733154, -0.5420936346054077, 0.4932859539985657, 0.4339412748813629, -0.1969163864850998, -2.0330047607421875, -1.1046035289764404, 0.293802946805954, -0.3704151213169098, -1.4893064498901367, 1.4191656112670898, -1.2045869827270508, -0.9842951893806458, 0.5694029331207275, 0.16695502400398254, 1.3497955799102783, 0.31686311960220337, 1.7233338356018066, 2.0318851470947266, 0.8570107221603394, 0.41837018728256226, 1.1197993755340576, -0.2417396456003189, -0.24057810008525848, 1.6080275774002075, -0.5044460892677307, 0.6921536326408386, 1.004838228225708, -0.47739624977111816, -1.2805533409118652, -0.8188984394073486, -1.2355200052261353, -0.7832245230674744, 1.0880606174468994, 0.13898274302482605, -1.1178189516067505, 0.3255624771118164, 1.623460292816162, 0.07529880851507187, -0.14353084564208984, 0.7021871209144592, 0.3941487669944763, -0.6974661946296692, -0.07775061577558517, -1.097631573677063, 0.5822526216506958, -0.32244813442230225, -0.32824429869651794, 0.13139969110488892, 0.6353949904441833, 1.2208576202392578, 0.23042507469654083, 0.10744126886129379, 1.3044785261154175, -1.3801891803741455, 1.1851755380630493, -0.9830111265182495, 0.41872358322143555, -2.338120460510254, 1.46218740940094, -1.0147533416748047, 1.9627386331558228, -2.672578811645508, 0.5184555053710938, -0.4660332202911377, -0.5696249008178711, 0.149588480591774, -0.13520851731300354, 0.11032867431640625, 0.0008007604628801346, -1.0777779817581177, -0.14289693534374237, -0.8630840182304382, 0.5119418501853943, 1.2416884899139404, 1.3830372095108032, -0.9541079998016357, -0.2611607313156128, -1.6291348934173584, -0.1210237443447113, -0.5089107155799866, 0.057750701904296875, -1.7910503149032593, -0.19710773229599, -1.9902660846710205, -2.4628090858459473, -1.3307560682296753, -0.956093430519104, 1.3011384010314941, 0.12241098284721375, -0.8841385841369629, 1.1186550855636597, -0.4548237919807434, -1.7472628355026245, 1.1954020261764526, -2.2040982246398926 ]
https://github.com/huggingface/datasets/issues/4001
How to use generate this multitask dataset for SQUAD? I am getting a value error.
Hi! Replacing `nlp.<obj>` with `datasets.<obj>` in the script should fix the problem. `nlp` has been renamed to `datasets` more than a year ago, so please use `datasets` instead to avoid weird issues.
## Dataset viewer issue for 'squad_multitask*' **Link:** https://huggingface.co/datasets/vershasaxena91/squad_multitask *short description of the issue* I am trying to generate the multitask dataset for squad dataset. However, gives the error in dataset explorer as well as my local machine. I tried the command: dataset = load_dataset("vershasaxena91/squad_multitask", 'highlight_qg_format') Error: Status code: 400 Exception: TypeError Message: argument of type 'Value' is not iterable Kindly advice.
859
32
How to use generate this multitask dataset for SQUAD? I am getting a value error. ## Dataset viewer issue for 'squad_multitask*' **Link:** https://huggingface.co/datasets/vershasaxena91/squad_multitask *short description of the issue* I am trying to generate the multitask dataset for squad dataset. However, gives the error in dataset explorer as well as my local machine. I tried the command: dataset = load_dataset("vershasaxena91/squad_multitask", 'highlight_qg_format') Error: Status code: 400 Exception: TypeError Message: argument of type 'Value' is not iterable Kindly advice. Hi! Replacing `nlp.<obj>` with `datasets.<obj>` in the script should fix the problem. `nlp` has been renamed to `datasets` more than a year ago, so please use `datasets` instead to avoid weird issues.
[ -1.2359428405761719, -0.9882574677467346, -0.6973647475242615, 1.4151499271392822, -0.18953660130500793, -1.2553462982177734, 0.09975551068782806, -1.11426842212677, 1.7641518115997314, -0.7076225876808167, 0.208201602101326, -1.6765044927597046, -0.02181542105972767, -0.5380520224571228, -0.779168426990509, -0.9387772083282471, -0.4335802495479584, -0.7927425503730774, 0.9822192192077637, 2.520075559616089, 1.232560634613037, -1.4184948205947876, 2.661451578140259, 0.6853669881820679, -0.18746164441108704, -1.0456483364105225, 0.46174702048301697, 0.05479847639799118, -1.212295413017273, -0.42125290632247925, -0.8957821130752563, -0.05943892151117325, -0.5920125246047974, -0.6027745604515076, 0.05596552789211273, 0.36578619480133057, -0.19160524010658264, -0.37390342354774475, -0.4761218726634979, -0.7971738576889038, 0.3724113702774048, -0.3661132752895355, 0.9715527892112732, -0.40929391980171204, 1.854170560836792, -0.5480538010597229, 0.3930871784687042, 0.779451847076416, 1.3503434658050537, 0.17079219222068787, -0.07517381012439728, 0.33070868253707886, 0.33670350909233093, 0.04538758844137192, 0.35772398114204407, 1.129884123802185, 0.5209338068962097, 0.4458167552947998, 0.7541702389717102, -2.2598416805267334, 1.2374939918518066, -1.0100024938583374, 0.2999573349952698, 1.4483001232147217, -0.9284504055976868, 0.3231700658798218, -1.8448823690414429, -0.011071332730352879, 0.5869219899177551, -2.2616257667541504, 0.29142817854881287, -1.2692985534667969, -0.6221828460693359, 0.9901220798492432, 0.28610703349113464, -1.223868727684021, 0.18257009983062744, -0.364282488822937, 1.036196231842041, 0.49594828486442566, 1.097415566444397, -1.693735122680664, 0.04974929243326187, -0.32384470105171204, 0.06081225723028183, -1.2714568376541138, -1.5269781351089478, 0.5480830073356628, 0.5343977212905884, 0.7465957403182983, -0.10868827253580093, 0.8870953321456909, -0.9020200967788696, 0.895339846611023, -1.0378462076187134, -1.7060843706130981, -1.4425499439239502, -2.254060983657837, -2.266648292541504, 0.7927973866462708, -0.5072136521339417, -0.5167298316955566, 1.9984476566314697, -0.9224500060081482, -1.76811945438385, 1.262177586555481, 0.29278644919395447, -0.0567547008395195, 2.330528736114502, 0.153880774974823, -0.7047852277755737, 0.3399483561515808, -0.7125502228736877, 0.8217182159423828, -0.26101154088974, 1.4517284631729126, 0.5779041051864624, -1.047139048576355, 1.5910072326660156, -0.4249154031276703, 0.6229524612426758, -0.5641443729400635, -0.6537235975265503, -0.8144341111183167, 0.362081378698349, 1.8898589611053467, -0.2706511318683624, 1.5507971048355103, -0.3176075518131256, -1.5912704467773438, -1.6073778867721558, 1.010802149772644, 0.41190508008003235, -0.7768044471740723, 0.16627322137355804, -0.34718868136405945, 0.042842261493206024, -0.09235864877700806, 1.1348665952682495, 1.204361915588379, 0.6480444669723511, -0.28439250588417053, -0.9096691608428955, 0.16069895029067993, -0.011064275167882442, -0.6769902110099792, -1.8707324266433716, -0.3871450126171112, 0.13727039098739624, 0.6108508706092834, -1.2498921155929565, 1.6048169136047363, 0.8290408849716187, 1.920390248298645, 0.9089540839195251, -0.3235042691230774, 1.4187086820602417, 0.007719462737441063, 1.7851128578186035, -0.5118331909179688, 0.7108709216117859, -0.18479427695274353, -1.051378846168518, 0.8692060708999634, -0.3878657817840576, -1.996306300163269, -0.8046485781669617, -0.914612352848053, -0.2124706208705902, -0.7291128039360046, 0.9433485865592957, -0.24552761018276215, -1.4602106809616089, 0.24292153120040894, -0.596802830696106, 0.13817112147808075, -1.2336243391036987, 0.2775381803512573, 0.6322939991950989, -0.5852134227752686, -0.0027245325036346912, -0.2232266664505005, -1.268790364265442, -0.567259669303894, 0.2982461154460907, 1.9310734272003174, -0.7339657545089722, 0.9553520083427429, 0.9709702730178833, -0.7519916892051697, 0.033567093312740326, 0.2905087471008301, -0.25787556171417236, 0.8302276134490967, -1.1277042627334595, -0.41213515400886536, 1.0923758745193481, -0.1388210505247116, -0.6171910166740417, 1.5411913394927979, 0.809484601020813, -1.0501586198806763, -0.08720342814922333, -0.3235328793525696, -0.73512202501297, 0.005338819697499275, -1.6421027183532715, -0.18337242305278778, 0.17033544182777405, -1.4893953800201416, -0.4988875687122345, -0.26826903223991394, 1.3310366868972778, -0.13761858642101288, 1.2833709716796875, -0.3875024616718292, -0.3397420644760132, -0.33865806460380554, -0.4048748016357422, 0.19917766749858856, -0.22095882892608643, -0.655720591545105, 0.15962015092372894, -0.8785746693611145, 0.37102439999580383, 1.4519275426864624, 0.4345005452632904, 0.05140886455774307, 0.491738885641098, 1.0989538431167603, 0.3438333570957184, -0.04477084428071976, -0.9000444412231445, -1.5093895196914673, 1.9826334714889526, -1.4106440544128418, 1.9070502519607544, 0.6662085652351379, -0.05566149204969406, -1.838025689125061, -1.8636300563812256, 1.3829013109207153, 1.252411961555481, 2.383425235748291, 0.6451311111450195, 0.38777652382850647, -0.8006460666656494, -0.6161271929740906, 0.2535775601863861, -1.0176043510437012, -0.6868380904197693, 0.12155596166849136, 2.3351497650146484, 1.81503164768219, -0.5273670554161072, -0.18010596930980682, -0.9763880968093872, 1.3292156457901, -0.0957494005560875, 0.22436018288135529, 2.0415241718292236, -0.2821637988090515, -1.0908972024917603, 1.2121175527572632, -2.2926831245422363, 0.12956774234771729, 2.049016237258911, 0.1749144196510315, 0.13806554675102234, -1.4535603523254395, -0.6050453186035156, -0.3240973651409149, -0.35967302322387695, -1.2716965675354004, 0.5297467708587646, -0.37386205792427063, -0.7572669386863708, -1.4910032749176025, 0.1797475516796112, -1.0817369222640991, -1.62542724609375, 0.3587188720703125, 1.85899817943573, 1.915066123008728, -0.7367741465568542, 1.4901611804962158, -0.23689088225364685, 0.18278680741786957, 1.3561406135559082, 1.2199735641479492, 3.082427740097046, 1.8635061979293823, -1.2783071994781494, 0.6599030494689941, -0.15194280445575714, -0.5074134469032288, 1.2180259227752686, -1.0902198553085327, 1.2889372110366821, -0.23564746975898743, -1.1808120012283325, -1.2299795150756836, 0.9443694353103638, 0.5301449298858643, 0.06676247715950012, -0.5944272875785828, 1.2698832750320435, -0.0354258194565773, 1.286888837814331, 0.48581260442733765, -0.4319830536842346, 0.5827906131744385, -0.5106203556060791, -0.5375162363052368, 1.5566667318344116, 0.23869384825229645, -1.4403144121170044, -2.3876912593841553, -0.25445565581321716, -0.8739551305770874, -0.08835075795650482, -0.5622672438621521, -1.0506113767623901, 1.6738139390945435, 0.355145126581192, -1.3553187847137451, -0.2993893325328827, -0.3298908472061157, -0.5526289939880371, 2.687775135040283, -1.3770533800125122, -0.20068876445293427, -0.9393792748451233, -0.545303225517273, 1.7175984382629395, -1.174511194229126, -0.12786585092544556, -1.0968555212020874, -0.6961356997489929, -1.400575876235962, -0.5423986911773682, 0.034016817808151245, -0.8994740843772888, 0.9436960816383362, 0.0925716683268547, -1.0657016038894653, -0.300371378660202, -0.8889057636260986, 0.8461844325065613, -0.11375829577445984, 0.3180781602859497, 1.952720284461975, 0.5077831149101257, -0.3158079981803894, 0.6205012202262878, 1.1109153032302856, 0.6192777156829834, -0.7424362301826477, 0.27907174825668335, -0.6904528737068176, 0.22976157069206238, -1.3343970775604248, 0.2977994978427887, -2.944580316543579, 0.7312096357345581, -0.08191179484128952, -0.022922899574041367, 0.06574326008558273, -1.3792728185653687, 1.18048095703125, 2.6649062633514404, -1.2288353443145752, 0.38710033893585205, 0.33320295810699463, 1.134133219718933, -1.5197733640670776, 0.33905887603759766, -0.4096341133117676, 2.181279182434082, 0.12653133273124695, 1.1511001586914062, -0.49454402923583984, -2.2679712772369385, 0.6345456838607788, -1.194480061531067, -1.163072943687439, 0.7058238387107849, -0.8732556104660034, 0.08185108006000519, -1.5966262817382812, -0.19191743433475494, -0.9496394991874695, -1.190924048423767, 0.9022455215454102, 0.1902579516172409, 0.47353681921958923, -0.615327775478363, 0.41301393508911133, -2.197676420211792, -1.476733922958374, -0.2970195412635803, -0.8513641953468323, 0.5341055989265442, -0.27006271481513977, 0.6694799065589905, -0.15339037775993347, 0.14475086331367493, 0.34795868396759033, 1.4409879446029663, 3.494429349899292, 0.20656657218933105, 0.27612313628196716, -0.056554555892944336, -0.9559412598609924, 1.4964083433151245, 0.9964229464530945, 0.02981809340417385, -0.4892241656780243, -1.0305705070495605, 1.2496262788772583, 1.9716849327087402, 0.938559353351593, 0.02003513276576996, -0.7952539920806885, -0.543372631072998, 0.027993006631731987, 0.18353641033172607, 0.5051351189613342, 0.83720463514328, 0.028816597536206245, 0.1027466207742691, 1.455685019493103, 1.237001895904541, -0.4867709279060364, 0.418986976146698, -0.8731481432914734, -0.4737128019332886, 0.536417543888092, 0.2753028869628906, 0.03681790828704834, 0.4522523880004883, -0.9622725248336792, -0.26331329345703125, -0.3724736273288727, -1.0107386112213135, -0.6906487345695496, -0.48218974471092224, -0.4200839102268219, 1.5711886882781982, 0.1099468395113945, -0.44512951374053955, -0.09062112867832184, -0.7710540890693665, -0.09943485260009766, -1.0607874393463135, 0.2700848877429962, -0.20173804461956024, -0.07276897877454758, -0.2294936180114746, 1.771528959274292, -0.967339277267456, -2.007560968399048, 0.33318787813186646, 0.3637040853500366, -0.49821576476097107, 0.2085028737783432, 1.6070888042449951, 0.4848156273365021, 1.4888396263122559, 1.2329096794128418, 0.9901239275932312, -0.6000698208808899, -1.2823429107666016, 0.6226401329040527, 0.9208455681800842, -1.3587764501571655, 0.7926698327064514, 0.017185578122735023, -0.4782976508140564, 0.7332208752632141, 1.3580206632614136, 0.41282132267951965, -1.9525604248046875, 0.8275377750396729, -0.7823548316955566, 0.9067796468734741, 0.7069818377494812, 0.8141884803771973, 0.18770800530910492, 0.90241539478302, -1.270249366760254, -1.1514381170272827, -0.8475243449211121, -0.571883499622345, 1.958193063735962, -0.07782772928476334, 0.5319738984107971, -0.23652108013629913, -1.297037124633789, -0.12285809963941574, 0.6700111031532288, 0.5111881494522095, -0.3820815682411194, 0.8362004160881042, -0.6097120046615601, -1.0644930601119995, -1.3573063611984253, -0.3843596577644348, -0.900054931640625, -0.972226083278656, 0.9730687141418457, 0.8862448334693909, 0.41890838742256165, 1.845927357673645, 0.559855580329895, 0.20268943905830383, -2.5973660945892334, 0.9376984238624573, 0.24089831113815308, -0.022475218400359154, 0.8722583651542664, 0.2967480421066284, 1.1071184873580933, 0.02646912820637226, 0.4875587522983551, -2.23406720161438, 2.2307918071746826, -0.21674838662147522, 0.6356515288352966, -0.1012171059846878, -0.11957425624132156, 1.108089804649353, 0.4600690007209778, 0.473103791475296, -1.0871680974960327, 0.774247407913208, -0.5828186273574829, 1.2308037281036377, 0.9994942545890808, -0.7904288172721863, -0.04422733187675476, 1.3391436338424683, 0.5112268924713135, -0.47644057869911194, -0.8092445731163025, -0.8144809007644653, 1.0061216354370117, 1.5928046703338623, -0.05839615315198898, -0.009081065654754639, 0.8520948886871338, 0.6882846355438232, -1.2331217527389526, 0.06280074268579483, -0.7175031304359436, -0.6594907641410828, 1.6521987915039062, 1.991112470626831, -0.08805205672979355, -0.17871765792369843, -0.8230488896369934, -1.125194787979126, 0.7754383683204651, 0.01309383474290371, 0.06286567449569702, 0.730209231376648, -0.6548288464546204, 1.1260870695114136, 0.8063849806785583, 0.9590115547180176, 0.08983095735311508, 0.4926987588405609, 0.382144957780838, -0.25810080766677856, -1.2076506614685059, -0.3209879696369171, -1.1873301267623901, -2.4999656677246094, 0.4550694525241852, -0.3106094002723694, -1.353468656539917, -0.05499030649662018, -1.0269588232040405, 1.041445016860962, -0.6417375206947327, -1.0808827877044678, -1.5550516843795776, 0.1680537909269333, -0.08514286577701569, 0.8992065787315369, -1.571042537689209, -0.0910373330116272, 1.254333257675171, 0.8578701019287109, -0.6548916697502136, 0.9422735571861267, 0.317409485578537, 1.028796911239624, 0.8589232563972473, -0.4164288640022278, 0.4616011083126068, 0.017554232850670815, -1.441212773323059, 0.4818378984928131, 1.0323628187179565, 0.26923441886901855, 1.3770778179168701, -0.5500439405441284, -0.010089041665196419, 0.4333634674549103, -0.5427775979042053, -0.46163496375083923, -0.5712365508079529, 0.688878059387207, 0.07006513327360153, -0.9598709940910339, 0.06597113609313965, -0.06510233879089355, -0.14267978072166443, 0.23315776884555817, -1.5902096033096313, -0.24657601118087769, -0.37615278363227844, -0.44554629921913147, -1.3030335903167725, -0.0915655642747879, 1.4021704196929932, -0.6730421781539917, -0.18756341934204102, 0.6008746027946472, 0.43317991495132446, 0.49599602818489075, 0.6436773538589478, -0.6372793912887573, -0.39983177185058594, -0.4619133174419403, -0.33254730701446533, 0.22853204607963562, 1.1925032138824463, -0.200394406914711, -1.0623714923858643, 0.8155752420425415, -0.3980630934238434, 0.003408503718674183, 1.885222315788269, 0.06943565607070923, -0.7965516448020935, 0.3243519067764282, -0.7060126662254333, 1.9207205772399902, 1.7325184345245361, 1.299639105796814, -0.11187265813350677, -1.0049657821655273, 0.5870946049690247, -0.3610638976097107, -0.34357690811157227, 0.8647844195365906, 0.5756372213363647, -0.06682363152503967, -1.275299072265625, 0.6284845471382141, 1.4008716344833374, -0.9696274995803833, -0.8326358199119568, 0.1390860229730606, -0.8445063829421997, 0.9901214838027954, 0.6507572531700134, 0.44924458861351013, 0.22860607504844666, 1.6303943395614624, 0.591640830039978, -0.5236669778823853, 0.4627203941345215, 0.5227282643318176, -0.1348230391740799, -2.007581949234009, -1.2452647686004639, 0.3398831784725189, -0.4617737829685211, -1.6023083925247192, 1.380893588066101, -1.0948435068130493, -0.8003848195075989, 0.5115656852722168, 0.14388446509838104, 1.5125778913497925, 0.3511373698711395, 1.5639002323150635, 2.079401731491089, 0.903279185295105, 0.3654210865497589, 1.3427201509475708, -0.055258527398109436, -0.41185617446899414, 1.8888550996780396, -0.41143375635147095, 0.4736974537372589, 1.1023001670837402, -0.3115951418876648, -1.0697641372680664, -0.9532234072685242, -1.300312876701355, -0.5696894526481628, 1.1706933975219727, 0.09739731252193451, -1.329007625579834, 0.17405423521995544, 1.5978347063064575, 0.08031737059354782, -0.3468264043331146, 0.6244092583656311, 0.33582594990730286, -0.8886983394622803, -0.04204660654067993, -0.9905176162719727, 0.5901983976364136, -0.14105010032653809, -0.3227463364601135, 0.23802229762077332, 0.5082946419715881, 1.2696658372879028, -0.07189885526895523, 0.20856375992298126, 1.1903237104415894, -1.2821276187896729, 1.477703332901001, -0.6056604385375977, 0.2623826861381531, -2.358779191970825, 1.377780795097351, -0.7900397181510925, 1.873949646949768, -2.615222692489624, 0.33362945914268494, -0.6038579344749451, -0.41125890612602234, 0.3410908877849579, -0.4149215519428253, 0.1567128300666809, -0.14289580285549164, -1.1143766641616821, 0.0035329824313521385, -0.7207343578338623, 0.5817394256591797, 1.2405598163604736, 1.403016448020935, -1.1514356136322021, -0.35267916321754456, -1.7952250242233276, -0.16466109454631805, -0.7222365140914917, 0.41405484080314636, -2.131455421447754, -0.05350852757692337, -1.8663108348846436, -2.461880683898926, -1.3550447225570679, -0.8614606261253357, 1.0519334077835083, 0.10326655954122543, -0.9714093208312988, 1.0827107429504395, -0.28600382804870605, -1.7290494441986084, 1.1012839078903198, -2.1028242111206055 ]
https://github.com/huggingface/datasets/issues/4001
How to use generate this multitask dataset for SQUAD? I am getting a value error.
But I request you to please fix the same in the dataset hub explorer as well...
## Dataset viewer issue for 'squad_multitask*' **Link:** https://huggingface.co/datasets/vershasaxena91/squad_multitask *short description of the issue* I am trying to generate the multitask dataset for squad dataset. However, gives the error in dataset explorer as well as my local machine. I tried the command: dataset = load_dataset("vershasaxena91/squad_multitask", 'highlight_qg_format') Error: Status code: 400 Exception: TypeError Message: argument of type 'Value' is not iterable Kindly advice.
859
16
How to use generate this multitask dataset for SQUAD? I am getting a value error. ## Dataset viewer issue for 'squad_multitask*' **Link:** https://huggingface.co/datasets/vershasaxena91/squad_multitask *short description of the issue* I am trying to generate the multitask dataset for squad dataset. However, gives the error in dataset explorer as well as my local machine. I tried the command: dataset = load_dataset("vershasaxena91/squad_multitask", 'highlight_qg_format') Error: Status code: 400 Exception: TypeError Message: argument of type 'Value' is not iterable Kindly advice. But I request you to please fix the same in the dataset hub explorer as well...
[ -1.3062729835510254, -1.0441317558288574, -0.681378960609436, 1.4154016971588135, -0.2108379602432251, -1.198767900466919, 0.05755989998579025, -1.0341613292694092, 1.6862027645111084, -0.6772274374961853, 0.16559045016765594, -1.6375746726989746, -0.06227247416973114, -0.5088776350021362, -0.7231490015983582, -0.9519933462142944, -0.4738423526287079, -0.7797724604606628, 1.0413599014282227, 2.5051262378692627, 1.2010166645050049, -1.4432449340820312, 2.7805306911468506, 0.670810341835022, -0.16028615832328796, -1.099682092666626, 0.47955918312072754, 0.11017480492591858, -1.2272112369537354, -0.408982515335083, -0.9454672336578369, 0.05490535497665405, -0.5214623808860779, -0.4336303472518921, 0.06297434121370316, 0.35881438851356506, -0.13557682931423187, -0.4025545120239258, -0.5551922917366028, -0.753883957862854, 0.4044860005378723, -0.36719030141830444, 0.894946813583374, -0.4201442301273346, 1.8568105697631836, -0.5110935568809509, 0.40702223777770996, 0.7955179214477539, 1.3397996425628662, 0.12183664739131927, -0.036930572241544724, 0.3671848177909851, 0.33599480986595154, 0.020458558574318886, 0.38343653082847595, 1.1699316501617432, 0.47335365414619446, 0.47333765029907227, 0.6338188648223877, -2.2148220539093018, 1.31870698928833, -1.0055335760116577, 0.29548534750938416, 1.481323480606079, -0.9989944100379944, 0.40066125988960266, -1.8095645904541016, -0.0641327053308487, 0.4980456233024597, -2.317119836807251, 0.3085218667984009, -1.2378060817718506, -0.7075743079185486, 0.9073227047920227, 0.2989422678947449, -1.2271783351898193, 0.16877742111682892, -0.472489595413208, 1.0516607761383057, 0.5223154425621033, 1.1001033782958984, -1.5679965019226074, 0.11227589100599289, -0.21264468133449554, -0.006841297261416912, -1.3136186599731445, -1.492457628250122, 0.5708690285682678, 0.5532957315444946, 0.7924162149429321, -0.06177446246147156, 0.8993511199951172, -0.9883521199226379, 1.008167028427124, -0.9839174151420593, -1.6160058975219727, -1.4547197818756104, -2.3394219875335693, -2.2226009368896484, 0.9319808483123779, -0.47581011056900024, -0.5730108618736267, 2.0482335090637207, -0.9275475144386292, -1.7243878841400146, 1.405055046081543, 0.24643582105636597, -0.020747343078255653, 2.381951332092285, 0.19012236595153809, -0.6868869662284851, 0.3662596642971039, -0.7552455067634583, 0.933042585849762, -0.23948641121387482, 1.4812631607055664, 0.5863679051399231, -0.9520309567451477, 1.592477560043335, -0.3502357602119446, 0.5947739481925964, -0.5124307870864868, -0.7105116248130798, -0.8242315649986267, 0.36334529519081116, 1.904189109802246, -0.26559051871299744, 1.5382273197174072, -0.35267964005470276, -1.5863277912139893, -1.6066577434539795, 1.0426599979400635, 0.4761073589324951, -0.814474880695343, 0.16448794305324554, -0.3635275661945343, 0.016720205545425415, -0.028887156397104263, 1.0956530570983887, 1.230400800704956, 0.6349344849586487, -0.2974531054496765, -0.921168327331543, 0.18578693270683289, -0.03691365569829941, -0.6352591514587402, -1.8967139720916748, -0.39848074316978455, 0.1281195878982544, 0.5502322912216187, -1.3420774936676025, 1.5288913249969482, 0.8957508206367493, 1.9119813442230225, 0.9299284219741821, -0.2961786091327667, 1.425952672958374, -0.02100086398422718, 1.7036306858062744, -0.49661028385162354, 0.672478973865509, -0.15648363530635834, -1.0440959930419922, 0.7782650589942932, -0.39982870221138, -2.0114471912384033, -0.8999236226081848, -0.919260561466217, -0.20526351034641266, -0.7907973527908325, 0.993779718875885, -0.30242112278938293, -1.483384370803833, 0.1900218427181244, -0.5932719707489014, 0.23799115419387817, -1.2361297607421875, 0.22955581545829773, 0.6664921045303345, -0.6227254867553711, -0.049756575375795364, -0.16443921625614166, -1.2780327796936035, -0.5330798029899597, 0.3480173945426941, 1.8671467304229736, -0.722583532333374, 0.9220580458641052, 0.9170334935188293, -0.7603824138641357, 0.04914497584104538, 0.2465353012084961, -0.27896344661712646, 0.8488026261329651, -1.0495188236236572, -0.48862841725349426, 1.0939898490905762, -0.21596702933311462, -0.6358551979064941, 1.5627527236938477, 0.8417086005210876, -1.0068093538284302, -0.2011193335056305, -0.3138853907585144, -0.7390807271003723, -0.07998815178871155, -1.598576545715332, -0.21556496620178223, 0.10064330697059631, -1.5169577598571777, -0.4800718128681183, -0.281995564699173, 1.29705810546875, -0.16350020468235016, 1.3827428817749023, -0.41114333271980286, -0.3476100564002991, -0.31854870915412903, -0.44342905282974243, 0.2851937413215637, -0.2059326171875, -0.6227072477340698, 0.11480039358139038, -0.9425199627876282, 0.4064783453941345, 1.4770405292510986, 0.5332409143447876, 0.024543095380067825, 0.5400081872940063, 1.0493578910827637, 0.41035932302474976, -0.08485367149114609, -0.893589437007904, -1.478097915649414, 1.9608001708984375, -1.4344136714935303, 1.8998384475708008, 0.6813414096832275, -0.12224500626325607, -1.8860864639282227, -1.8464889526367188, 1.328174114227295, 1.3230559825897217, 2.307354688644409, 0.5427843928337097, 0.40192458033561707, -0.8619821071624756, -0.6923185586929321, 0.1875840723514557, -1.0788612365722656, -0.6523193120956421, 0.10968723893165588, 2.3256688117980957, 1.88692045211792, -0.536126434803009, -0.17641262710094452, -1.0029613971710205, 1.2637689113616943, -0.11019741743803024, 0.21238936483860016, 1.9754014015197754, -0.2717095613479614, -1.0430481433868408, 1.1809136867523193, -2.335172176361084, 0.15506477653980255, 2.0351922512054443, 0.22165769338607788, 0.09492769837379456, -1.4816217422485352, -0.5584951639175415, -0.3382667899131775, -0.3313816487789154, -1.2381441593170166, 0.5997868180274963, -0.3891710937023163, -0.8274161219596863, -1.4716589450836182, 0.1581006497144699, -1.089794635772705, -1.6238763332366943, 0.44440358877182007, 1.8364484310150146, 1.9611694812774658, -0.7789265513420105, 1.4294004440307617, -0.20507273077964783, 0.2171274572610855, 1.281081199645996, 1.171158790588379, 2.9862217903137207, 1.8658239841461182, -1.2641382217407227, 0.5605260729789734, -0.09274814277887344, -0.4985208809375763, 1.1492040157318115, -1.066035509109497, 1.3207752704620361, -0.1721147745847702, -1.2131600379943848, -1.1932015419006348, 1.0373969078063965, 0.552621603012085, 0.07018178701400757, -0.5621050596237183, 1.2847509384155273, -0.031305886805057526, 1.342099905014038, 0.5187400579452515, -0.4491104483604431, 0.5346357822418213, -0.5038033723831177, -0.5481472015380859, 1.5736093521118164, 0.15111546218395233, -1.5669302940368652, -2.2828528881073, -0.2716968357563019, -0.8099811673164368, -0.10271258652210236, -0.5583022236824036, -1.0822429656982422, 1.6048293113708496, 0.36967507004737854, -1.3367969989776611, -0.34764209389686584, -0.31082862615585327, -0.579766571521759, 2.700126886367798, -1.342207431793213, -0.21721111238002777, -0.8408061861991882, -0.5120311975479126, 1.7502830028533936, -1.1523025035858154, -0.06489153206348419, -1.0743999481201172, -0.7444139122962952, -1.4099857807159424, -0.5755223035812378, -0.009708425961434841, -0.9621052145957947, 0.8409684300422668, 0.04592573270201683, -0.975806713104248, -0.2832395136356354, -0.8817160129547119, 0.8719003796577454, -0.11066170781850815, 0.29375118017196655, 1.9223828315734863, 0.42634180188179016, -0.33680418133735657, 0.7106844782829285, 1.1395373344421387, 0.6114299893379211, -0.7072619795799255, 0.19625721871852875, -0.6774415373802185, 0.28757381439208984, -1.3226251602172852, 0.262665718793869, -2.9968435764312744, 0.7434272766113281, -0.07652416825294495, -0.08044801652431488, 0.04864085465669632, -1.3650436401367188, 1.2403864860534668, 2.6536121368408203, -1.2624144554138184, 0.45497360825538635, 0.4246251583099365, 1.0593008995056152, -1.479748010635376, 0.3661852777004242, -0.4155016243457794, 2.164783239364624, 0.11621725559234619, 1.1727306842803955, -0.6039892435073853, -2.201153516769409, 0.6828643679618835, -1.208303689956665, -1.1611089706420898, 0.6057122945785522, -0.9646114110946655, 0.18457090854644775, -1.577172040939331, -0.22985924780368805, -0.8760533332824707, -1.196038007736206, 0.7812222838401794, 0.2214621603488922, 0.4113503098487854, -0.6085758209228516, 0.4153454303741455, -2.268592119216919, -1.5066111087799072, -0.2746035158634186, -0.8828372359275818, 0.5671417713165283, -0.3588930666446686, 0.66985023021698, -0.13412129878997803, 0.11910626292228699, 0.2980542480945587, 1.4106459617614746, 3.515294313430786, 0.23393839597702026, 0.23809704184532166, -0.028292788192629814, -0.960800051689148, 1.5799071788787842, 1.0445489883422852, 0.0731198638677597, -0.4844604432582855, -1.020848274230957, 1.339996099472046, 1.9531824588775635, 0.9467739462852478, 0.022026613354682922, -0.7290867567062378, -0.4848814904689789, -0.010134447365999222, 0.18597367405891418, 0.5563182830810547, 0.9008445739746094, -0.09060918539762497, 0.18106013536453247, 1.5032494068145752, 1.2664432525634766, -0.5324898958206177, 0.44562262296676636, -0.8847153782844543, -0.467714786529541, 0.5184150338172913, 0.25781670212745667, -0.07565809041261673, 0.5096327066421509, -0.9609329104423523, -0.28829190135002136, -0.3241666257381439, -0.9982708096504211, -0.6856046319007874, -0.36716124415397644, -0.48420315980911255, 1.562056303024292, 0.2115795761346817, -0.44808605313301086, -0.06256362795829773, -0.7679293155670166, -0.1854160577058792, -1.016875982284546, 0.25034499168395996, -0.1631150245666504, 0.005845171399414539, -0.2769181728363037, 1.8403117656707764, -0.9771981835365295, -2.0815298557281494, 0.2889192998409271, 0.3036026060581207, -0.39186006784439087, 0.16842547059059143, 1.5851845741271973, 0.42448100447654724, 1.560459852218628, 1.2221612930297852, 0.9922640919685364, -0.5897430777549744, -1.289999008178711, 0.6847054362297058, 0.9278486371040344, -1.3467261791229248, 0.7206926941871643, -0.0804343894124031, -0.47020503878593445, 0.7843990921974182, 1.4038059711456299, 0.44587233662605286, -1.9626941680908203, 0.9498264193534851, -0.8279038071632385, 0.8990668654441833, 0.7228132486343384, 0.811951220035553, 0.22400017082691193, 1.0185589790344238, -1.2911887168884277, -1.12554931640625, -0.9167800545692444, -0.572796106338501, 2.0557076930999756, -0.18976926803588867, 0.5547059178352356, -0.21040500700473785, -1.2927842140197754, -0.07757659256458282, 0.6684301495552063, 0.48839929699897766, -0.29127347469329834, 0.873676598072052, -0.6262102127075195, -1.161505937576294, -1.3931400775909424, -0.3117268681526184, -0.8143272399902344, -0.9730449914932251, 0.9742315411567688, 0.7649599313735962, 0.36271774768829346, 1.8339550495147705, 0.5034317970275879, 0.22988753020763397, -2.6246156692504883, 1.0094099044799805, 0.2103358656167984, 0.0019100131466984749, 0.8372629880905151, 0.26735085248947144, 1.1526670455932617, 0.03546365350484848, 0.42297694087028503, -2.164409637451172, 2.19926118850708, -0.19411131739616394, 0.7236250042915344, -0.08984638750553131, -0.08080421388149261, 1.1855900287628174, 0.4940287470817566, 0.5680732131004333, -1.1006958484649658, 0.7780173420906067, -0.5395560264587402, 1.2678918838500977, 1.0586271286010742, -0.6950265169143677, 0.012430278584361076, 1.3614907264709473, 0.5551610589027405, -0.4608425796031952, -0.857591986656189, -0.696531355381012, 1.0142791271209717, 1.5963656902313232, -0.09192626178264618, 0.06184655427932739, 0.7944974899291992, 0.6543323993682861, -1.2304182052612305, -0.015043457970023155, -0.716310977935791, -0.6509894728660583, 1.6181201934814453, 2.0648446083068848, -0.07440473884344101, -0.19472981989383698, -0.7191913723945618, -1.205448865890503, 0.7029033303260803, -0.08680873364210129, 0.16934534907341003, 0.7943657636642456, -0.6264623403549194, 1.0814392566680908, 0.7006813883781433, 0.8943659663200378, 0.00019571371376514435, 0.4385852813720703, 0.3584342300891876, -0.18600350618362427, -1.2032508850097656, -0.38205578923225403, -1.1965556144714355, -2.4911208152770996, 0.361914724111557, -0.38232851028442383, -1.3296244144439697, -0.04963180050253868, -1.0332660675048828, 1.08628511428833, -0.6840323209762573, -1.0878970623016357, -1.5910422801971436, 0.184624582529068, -0.1402236968278885, 0.8913885354995728, -1.5538854598999023, -0.24311675131320953, 1.2525303363800049, 0.8337939977645874, -0.6480963230133057, 1.0228018760681152, 0.2705191671848297, 1.0413601398468018, 0.7083621025085449, -0.4393255412578583, 0.47967687249183655, 0.0262271910905838, -1.5046758651733398, 0.5146217346191406, 1.0426511764526367, 0.21519829332828522, 1.3531293869018555, -0.5704055428504944, -0.04597005993127823, 0.5505911707878113, -0.5824856162071228, -0.46116769313812256, -0.44660985469818115, 0.7368009090423584, -0.030736751854419708, -1.0197358131408691, -0.017519766464829445, -0.1149975135922432, -0.21589837968349457, 0.22912797331809998, -1.5815129280090332, -0.294831246137619, -0.40522173047065735, -0.47180497646331787, -1.3195717334747314, 0.004603690467774868, 1.4258296489715576, -0.7530444860458374, -0.24071291089057922, 0.5626780986785889, 0.486411988735199, 0.5637124180793762, 0.7133748531341553, -0.7163119316101074, -0.31555962562561035, -0.4748884439468384, -0.2521042227745056, 0.2717718183994293, 1.1962099075317383, -0.19724461436271667, -1.0720796585083008, 0.7677596211433411, -0.3791283071041107, 0.03600287064909935, 1.9543473720550537, 0.0575585812330246, -0.7338430881500244, 0.3379823565483093, -0.75546795129776, 1.897022008895874, 1.5845036506652832, 1.3332176208496094, -0.14560642838478088, -0.9001902341842651, 0.5603847503662109, -0.2775237262248993, -0.27015137672424316, 0.7496953010559082, 0.6193240284919739, -0.035982221364974976, -1.3128185272216797, 0.6530876159667969, 1.3455862998962402, -0.9507715702056885, -0.8105328679084778, 0.13563495874404907, -0.8553261160850525, 1.0527172088623047, 0.5894423127174377, 0.46773698925971985, 0.15466023981571198, 1.669726848602295, 0.5892267227172852, -0.5649685859680176, 0.40443822741508484, 0.5936289429664612, -0.17901454865932465, -2.0258736610412598, -1.2154719829559326, 0.2987557649612427, -0.449221134185791, -1.5565001964569092, 1.3606629371643066, -1.044705867767334, -0.7864292860031128, 0.47952377796173096, 0.1422027349472046, 1.456681251525879, 0.2726143002510071, 1.5604469776153564, 2.0131912231445312, 0.9464874863624573, 0.3845044672489166, 1.427299976348877, -0.10142368823289871, -0.41106677055358887, 1.892805814743042, -0.4265458881855011, 0.4540350139141083, 1.088512659072876, -0.3811904788017273, -1.0366122722625732, -0.8760976195335388, -1.2201979160308838, -0.5218124389648438, 1.1295809745788574, 0.11972089111804962, -1.3073315620422363, 0.05447378754615784, 1.5160605907440186, 0.182137593626976, -0.35932448506355286, 0.5642675161361694, 0.38910916447639465, -0.8074634671211243, -0.014756381511688232, -0.9714362621307373, 0.5524743795394897, -0.1562325656414032, -0.3342512249946594, 0.20993821322917938, 0.47910216450691223, 1.2037725448608398, -0.14308519661426544, 0.20243453979492188, 1.168816328048706, -1.2585320472717285, 1.433272361755371, -0.5504709482192993, 0.2144828736782074, -2.379169464111328, 1.3672010898590088, -0.777235209941864, 1.852952003479004, -2.626400947570801, 0.3304009735584259, -0.6821703910827637, -0.38436296582221985, 0.32681697607040405, -0.43729251623153687, 0.12383481860160828, -0.09388168156147003, -1.0987555980682373, 0.03187257796525955, -0.7098531723022461, 0.56942218542099, 1.241431474685669, 1.3377611637115479, -1.127866506576538, -0.32210469245910645, -1.7647452354431152, -0.15018679201602936, -0.8433104753494263, 0.42036232352256775, -2.207395553588867, -0.09491325169801712, -1.8525145053863525, -2.374157667160034, -1.3045809268951416, -0.8471584320068359, 1.041856050491333, 0.14862996339797974, -0.9741458296775818, 1.1547417640686035, -0.24759945273399353, -1.6602249145507812, 1.0969159603118896, -2.1119987964630127 ]
https://github.com/huggingface/datasets/issues/4000
load_dataset error: sndfile library not found
Hi @i-am-neo, The audio support is an extra feature of `datasets` and therefore it must be installed as an additional optional dependency: ```shell pip install datasets[audio] ``` Additionally, for specific MP3 support (which is not the case for AMI dataset, that contains WAV audio files), there is another third-party dependency on `torchaudio`. You have all the information in our docs: https://huggingface.co/docs/datasets/audio_process#installation
## Describe the bug Can't load ami dataset ## Steps to reproduce the bug ``` python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])" ``` ## Expected results ## Actual results Downloading and preparing dataset ami/headset-single (download: 10.71 GiB, generated: 49.99 MiB, post-processed: Unknown size, total: 10.76 GiB) to /home/neo/.cache/huggingface/datasets/ami/headset-single/1.6.2/2accdf810f7c0585f78f4bcfa47684fbb980e35d29ecf126e6906dbecb872d9e... AMI corpus cannot be downloaded using multi-processing. Setting number of downloaded processes `num_proc` to 1. 100%|██████████████████████████████████████████████████████| 136/136 [00:00<00:00, 36004.88it/s] 100%|█████████████████████████████████████████████████████████| 136/136 [00:01<00:00, 79.10it/s] 100%|████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 25343.23it/s] 100%|█████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 2874.78it/s] 100%|████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 27950.38it/s] 100%|█████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 2892.25it/s] Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/load.py", line 1707, in load_dataset use_auth_token=use_auth_token, File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/builder.py", line 595, in download_and_prepare dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/builder.py", line 690, in _download_and_prepare ) from None OSError: Cannot find data file. Original error: sndfile library not found ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-4.19.0-18-cloud-amd64-x86_64-with-debian-10.11 - Python version: 3.7.3 - PyArrow version: 7.0.0
860
61
load_dataset error: sndfile library not found ## Describe the bug Can't load ami dataset ## Steps to reproduce the bug ``` python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])" ``` ## Expected results ## Actual results Downloading and preparing dataset ami/headset-single (download: 10.71 GiB, generated: 49.99 MiB, post-processed: Unknown size, total: 10.76 GiB) to /home/neo/.cache/huggingface/datasets/ami/headset-single/1.6.2/2accdf810f7c0585f78f4bcfa47684fbb980e35d29ecf126e6906dbecb872d9e... AMI corpus cannot be downloaded using multi-processing. Setting number of downloaded processes `num_proc` to 1. 100%|██████████████████████████████████████████████████████| 136/136 [00:00<00:00, 36004.88it/s] 100%|█████████████████████████████████████████████████████████| 136/136 [00:01<00:00, 79.10it/s] 100%|████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 25343.23it/s] 100%|█████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 2874.78it/s] 100%|████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 27950.38it/s] 100%|█████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 2892.25it/s] Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/load.py", line 1707, in load_dataset use_auth_token=use_auth_token, File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/builder.py", line 595, in download_and_prepare dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/builder.py", line 690, in _download_and_prepare ) from None OSError: Cannot find data file. Original error: sndfile library not found ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-4.19.0-18-cloud-amd64-x86_64-with-debian-10.11 - Python version: 3.7.3 - PyArrow version: 7.0.0 Hi @i-am-neo, The audio support is an extra feature of `datasets` and therefore it must be installed as an additional optional dependency: ```shell pip install datasets[audio] ``` Additionally, for specific MP3 support (which is not the case for AMI dataset, that contains WAV audio files), there is another third-party dependency on `torchaudio`. You have all the information in our docs: https://huggingface.co/docs/datasets/audio_process#installation
[ -1.18839693069458, -0.8216730952262878, -0.810173749923706, 1.4620776176452637, -0.13802462816238403, -1.2161316871643066, 0.1322791427373886, -1.113346815109253, 1.4970293045043945, -0.6584069132804871, 0.26160529255867004, -1.7246705293655396, -0.028475388884544373, -0.5246252417564392, -0.7808650135993958, -0.8691126108169556, -0.36870428919792175, -0.8194421529769897, 0.9735535383224487, 2.5858991146087646, 1.192024827003479, -1.3393592834472656, 2.7656636238098145, 0.615275502204895, -0.21303848922252655, -0.9869236350059509, 0.6303797960281372, 0.06931684911251068, -1.3048110008239746, -0.4471246600151062, -0.9423468708992004, -0.058185674250125885, -0.6040099859237671, -0.37626737356185913, 0.15610651671886444, 0.4532793164253235, -0.2647643983364105, -0.34422767162323, -0.5653312802314758, -0.7252699136734009, 0.5384687185287476, -0.3378458619117737, 0.9846651554107666, -0.26382455229759216, 1.784041166305542, -0.6812899708747864, 0.33558905124664307, 0.729966402053833, 1.2881678342819214, 0.14794133603572845, 0.09213991463184357, 0.3731951415538788, 0.3641221523284912, 0.06371358036994934, 0.43837970495224, 1.2311732769012451, 0.5847927927970886, 0.4049580693244934, 0.7748777866363525, -2.1330180168151855, 1.2757558822631836, -0.9158815145492554, 0.32565250992774963, 1.3147013187408447, -0.7981371879577637, 0.3604779839515686, -1.8183815479278564, -0.0804186761379242, 0.5918707251548767, -2.184429168701172, 0.30579516291618347, -1.314233660697937, -0.5195305943489075, 0.8521522879600525, 0.32961830496788025, -1.203674554824829, 0.17190547287464142, -0.5728978514671326, 1.022564172744751, 0.40597495436668396, 1.1183303594589233, -1.6521689891815186, 0.036921508610248566, -0.21082468330860138, 0.14116784930229187, -1.2756245136260986, -1.528186559677124, 0.6337698698043823, 0.5493291020393372, 0.6909691691398621, -0.11053381860256195, 0.9768428206443787, -1.013136625289917, 0.8680500388145447, -0.9862403273582458, -1.7263470888137817, -1.3448954820632935, -2.328374147415161, -2.310582399368286, 0.7950208187103271, -0.4237746000289917, -0.5019187927246094, 2.0572564601898193, -0.8672010898590088, -1.7446988821029663, 1.0360690355300903, 0.3059675395488739, -0.03333603963255882, 2.451633930206299, 0.2775419056415558, -0.8194888234138489, 0.4711078703403473, -0.7111056447029114, 0.8152220249176025, -0.28969651460647583, 1.3830679655075073, 0.4439186155796051, -0.9038571119308472, 1.5712124109268188, -0.472662091255188, 0.5088592767715454, -0.719387412071228, -0.49555402994155884, -0.8552209138870239, 0.2148941159248352, 1.9303412437438965, -0.33349427580833435, 1.5432995557785034, -0.301246702671051, -1.606366753578186, -1.4818884134292603, 0.8119351863861084, 0.5243968963623047, -0.873096227645874, 0.04623780772089958, -0.41937464475631714, 0.11257573962211609, 0.015658605843782425, 1.0999196767807007, 1.2761106491088867, 0.7391777634620667, -0.3077555298805237, -0.9214380979537964, 0.18182605504989624, -0.22402875125408173, -0.777633786201477, -1.8473106622695923, -0.3294769823551178, 0.18544651567935944, 0.7027699947357178, -1.3063398599624634, 1.7262942790985107, 0.8773269057273865, 2.006617307662964, 0.9727469682693481, -0.4458465874195099, 1.4915049076080322, -0.015271990559995174, 1.8772633075714111, -0.5423466563224792, 0.5788007974624634, -0.4556693732738495, -1.126846194267273, 0.9102851748466492, -0.2301723062992096, -1.9705184698104858, -0.811903178691864, -0.8507317900657654, -0.24059072136878967, -0.7823723554611206, 0.8921452164649963, -0.30304354429244995, -1.4790594577789307, 0.23591715097427368, -0.7311327457427979, 0.09002053737640381, -1.2326616048812866, 0.22234244644641876, 0.6726424694061279, -0.6561015844345093, 0.011026522144675255, -0.2034597396850586, -1.3946781158447266, -0.5298820734024048, 0.252490758895874, 1.918750524520874, -0.6798112988471985, 0.9062290191650391, 1.0555400848388672, -0.6768229603767395, 0.07601936161518097, 0.2896270751953125, -0.35422107577323914, 0.7499310374259949, -1.2522485256195068, -0.4509837031364441, 1.133012294769287, -0.09130315482616425, -0.585760772228241, 1.4168117046356201, 0.792008638381958, -1.1115021705627441, -0.22378596663475037, -0.1590961515903473, -0.8490287065505981, 0.03463631123304367, -1.5942628383636475, -0.21419040858745575, 0.41913041472435, -1.4702880382537842, -0.4312690794467926, -0.20460912585258484, 1.2366021871566772, -0.179045170545578, 1.5016363859176636, -0.32688766717910767, -0.1976960301399231, -0.3623446524143219, -0.48412322998046875, 0.0952441394329071, -0.266079843044281, -0.609924852848053, 0.18212878704071045, -0.8215514421463013, 0.3324839472770691, 1.5004467964172363, 0.26963531970977783, 0.04767194017767906, 0.46768778562545776, 1.0986931324005127, 0.37604820728302, 0.12126289308071136, -0.8429270386695862, -1.5581659078598022, 2.0357325077056885, -1.560073733329773, 1.909559965133667, 0.8161408305168152, 0.025328833609819412, -1.8566617965698242, -1.8094170093536377, 1.3606376647949219, 1.1514397859573364, 2.4141814708709717, 0.5780006647109985, 0.476925253868103, -0.7480789422988892, -0.6990115642547607, 0.3058253228664398, -1.0108202695846558, -0.662248969078064, 0.26022469997406006, 2.458897352218628, 1.795250654220581, -0.5455794334411621, -0.1822616308927536, -0.8825738430023193, 1.3201546669006348, -0.14228039979934692, 0.15675006806850433, 2.0765249729156494, -0.20835836231708527, -1.036886215209961, 1.2751933336257935, -2.3317973613739014, 0.2567298710346222, 2.104351043701172, 0.28805503249168396, 0.13236881792545319, -1.417927861213684, -0.6692402958869934, -0.32297736406326294, -0.432941198348999, -1.2693175077438354, 0.5937180519104004, -0.27694422006607056, -0.8885235786437988, -1.4816899299621582, -0.007614350412040949, -1.2147146463394165, -1.688201665878296, 0.29091745615005493, 1.9463558197021484, 2.10197114944458, -0.724034309387207, 1.4864356517791748, -0.3261324167251587, 0.09155264496803284, 1.219154715538025, 1.29024076461792, 3.0391788482666016, 1.8800013065338135, -1.2184919118881226, 0.7073430418968201, -0.17418907582759857, -0.5035425424575806, 1.0750408172607422, -1.1385810375213623, 1.0925333499908447, -0.22309446334838867, -1.2422038316726685, -1.1830672025680542, 1.066868782043457, 0.4101136028766632, 0.023781996220350266, -0.5181176066398621, 1.2889699935913086, 0.12490275502204895, 1.265906810760498, 0.6262171864509583, -0.31368619203567505, 0.5089601278305054, -0.3626551330089569, -0.5186944007873535, 1.6818400621414185, 0.24316716194152832, -1.486742377281189, -2.4738945960998535, -0.2668915390968323, -0.9069476127624512, 0.0035550426691770554, -0.5791912078857422, -1.1263649463653564, 1.595764398574829, 0.38286009430885315, -1.234021544456482, -0.27408188581466675, -0.28326302766799927, -0.6172923445701599, 2.632002353668213, -1.3716518878936768, -0.14765681326389313, -0.9221528768539429, -0.5724882483482361, 1.6721004247665405, -1.181458830833435, -0.20216602087020874, -1.1101945638656616, -0.5462582111358643, -1.2835053205490112, -0.5352820754051208, 0.05302679166197777, -0.8944794535636902, 0.7521782517433167, 0.13462142646312714, -1.1305075883865356, -0.2856748700141907, -0.9079523086547852, 1.0542078018188477, -0.06777697801589966, 0.13373646140098572, 1.8809927701950073, 0.4038178026676178, -0.4394738972187042, 0.7305904626846313, 1.2396432161331177, 0.5978255867958069, -0.7205455899238586, 0.020435640588402748, -0.7125734090805054, 0.23086661100387573, -1.4225343465805054, 0.21538938581943512, -2.8460922241210938, 0.7349912524223328, -0.13206720352172852, -0.062201354652643204, 0.0034756604582071304, -1.2657804489135742, 1.1878200769424438, 2.600048542022705, -1.1750662326812744, 0.5065949559211731, 0.3227486312389374, 1.1851295232772827, -1.5818123817443848, 0.27086734771728516, -0.43465232849121094, 2.025832176208496, 0.10207471251487732, 1.2382581233978271, -0.5515590906143188, -2.2472805976867676, 0.6042946577072144, -1.2608884572982788, -1.0676535367965698, 0.8225580453872681, -0.8499626517295837, 0.2330496609210968, -1.4713258743286133, -0.24817895889282227, -1.0129623413085938, -1.2788957357406616, 0.7283123731613159, 0.11084043979644775, 0.44650545716285706, -0.4807743430137634, 0.3150181770324707, -2.2211508750915527, -1.4528439044952393, -0.15198515355587006, -1.0103353261947632, 0.5698630809783936, -0.3472438454627991, 0.7219443917274475, -0.08571675419807434, 0.08047868311405182, 0.33893725275993347, 1.419870376586914, 3.373884677886963, 0.11527317762374878, 0.26666146516799927, -0.12916764616966248, -1.026820182800293, 1.3043540716171265, 0.9729120135307312, -0.1330467313528061, -0.547279417514801, -0.9473390579223633, 1.1755269765853882, 2.0675435066223145, 1.0496712923049927, 0.02315492182970047, -0.8585631847381592, -0.7224076390266418, 0.08209185302257538, 0.2531680166721344, 0.5692338943481445, 0.9620504975318909, -0.042130012065172195, 0.0730225145816803, 1.409993290901184, 1.0851287841796875, -0.4053642153739929, 0.38807156682014465, -0.9217627048492432, -0.4191991090774536, 0.4798260033130646, 0.19580228626728058, 0.03444807976484299, 0.47179025411605835, -1.0866836309432983, -0.27222350239753723, -0.31221717596054077, -0.9580984115600586, -0.7094356417655945, -0.4289804697036743, -0.3804127871990204, 1.5816993713378906, 0.1092616617679596, -0.4876810908317566, 0.09784223139286041, -0.6563766002655029, -0.1331292688846588, -1.164243459701538, 0.19339284300804138, -0.20124192535877228, -0.03765171021223068, -0.09818178415298462, 1.8385770320892334, -0.936138391494751, -2.064772844314575, 0.15108734369277954, 0.3551119267940521, -0.29758259654045105, 0.2275875359773636, 1.6794813871383667, 0.6336801648139954, 1.3878262042999268, 1.3123865127563477, 0.9351701736450195, -0.6230285167694092, -1.2841167449951172, 0.5807098746299744, 1.0748056173324585, -1.2332175970077515, 0.8369576930999756, -0.13307729363441467, -0.45132601261138916, 0.678440272808075, 1.4418363571166992, 0.36541229486465454, -2.097022294998169, 0.8768922686576843, -0.9090160131454468, 0.7483055591583252, 0.7047427296638489, 0.7258909940719604, 0.2901836037635803, 0.7592995762825012, -1.204142689704895, -1.096944808959961, -0.8015404343605042, -0.6597757339477539, 1.8855774402618408, -0.2400132417678833, 0.45770561695098877, -0.13819074630737305, -1.2455402612686157, -0.06707997620105743, 0.7311781644821167, 0.40463486313819885, -0.454145222902298, 0.7983196377754211, -0.5717000365257263, -1.1068345308303833, -1.2697951793670654, -0.5133864283561707, -0.9977111220359802, -0.9505197405815125, 0.9269458651542664, 0.7458670735359192, 0.4336887300014496, 1.9125429391860962, 0.7074382305145264, 0.19137829542160034, -2.6653168201446533, 0.883232057094574, 0.25849196314811707, -0.00452974159270525, 0.9137047529220581, 0.3266407251358032, 1.1915582418441772, 0.013100014999508858, 0.5700305104255676, -2.3556201457977295, 2.2502293586730957, -0.2439371943473816, 0.6738046407699585, 0.015200411900877953, -0.20143121480941772, 1.1203962564468384, 0.5567081570625305, 0.5494130253791809, -1.005645990371704, 0.6757294535636902, -0.6711804270744324, 1.1086279153823853, 0.9111788272857666, -0.877856969833374, 0.10674253106117249, 1.3728443384170532, 0.4470236897468567, -0.46733084321022034, -1.020060420036316, -0.8093932867050171, 0.9842750430107117, 1.6992955207824707, -0.0857340395450592, 0.06154513731598854, 0.8480291962623596, 0.5511873960494995, -1.2804111242294312, 0.03667780011892319, -0.7437053322792053, -0.7840120792388916, 1.72823965549469, 2.0710701942443848, -0.16084161400794983, -0.0984192043542862, -0.7542058825492859, -1.2603399753570557, 0.7528377771377563, -0.11075334250926971, 0.09571228921413422, 0.6579746603965759, -0.6665146350860596, 1.184036135673523, 0.6269874572753906, 0.9766323566436768, 0.13480685651302338, 0.40387824177742004, 0.270565927028656, -0.3618817925453186, -1.1483336687088013, -0.3148599863052368, -1.1160694360733032, -2.5314900875091553, 0.46331971883773804, -0.21813592314720154, -1.4803186655044556, 0.08113113045692444, -1.0139659643173218, 0.9293176531791687, -0.533290684223175, -1.0450198650360107, -1.4712915420532227, 0.36009135842323303, -0.1264858990907669, 1.049453854560852, -1.6404669284820557, -0.08784732222557068, 1.2517398595809937, 0.9165748953819275, -0.6764382123947144, 1.0082069635391235, 0.33768898248672485, 1.0459301471710205, 0.7747937440872192, -0.3639306128025055, 0.5350072383880615, 0.0156343262642622, -1.263259768486023, 0.4591408371925354, 1.2592999935150146, 0.1844491958618164, 1.366786003112793, -0.43275484442710876, 0.03511397913098335, 0.37444958090782166, -0.49329954385757446, -0.4385749399662018, -0.43594157695770264, 0.5758647322654724, 0.18396300077438354, -0.9993481636047363, -0.12536637485027313, -0.1016562283039093, -0.24754785001277924, 0.2478177845478058, -1.5450479984283447, -0.24218522012233734, -0.3520031273365021, -0.44887736439704895, -1.2377227544784546, 0.03068975731730461, 1.3071486949920654, -0.7387897968292236, -0.23712362349033356, 0.42070692777633667, 0.3774493932723999, 0.6003992557525635, 0.6480018496513367, -0.7062005996704102, -0.36039942502975464, -0.29961928725242615, -0.3520713746547699, 0.20357270538806915, 1.280158281326294, -0.10643042623996735, -1.0249000787734985, 0.7401093244552612, -0.40343597531318665, 0.12470880150794983, 1.8932814598083496, -0.015954922884702682, -0.7783485054969788, 0.3015712797641754, -0.7116857767105103, 1.8790963888168335, 1.7098374366760254, 1.2365981340408325, -0.15914934873580933, -0.8449519276618958, 0.5841638445854187, -0.290793776512146, -0.293080598115921, 0.8460240960121155, 0.42209404706954956, -0.2212068736553192, -1.4191677570343018, 0.5420708060264587, 1.349435567855835, -0.8128151893615723, -0.7753151059150696, 0.10717004537582397, -0.863767683506012, 1.1143280267715454, 0.6828751564025879, 0.3925439715385437, 0.27419131994247437, 1.5274899005889893, 0.7283376455307007, -0.5771691203117371, 0.5927455425262451, 0.4841245412826538, -0.12760835886001587, -2.122321605682373, -1.1012910604476929, 0.258904367685318, -0.36470386385917664, -1.7015300989151, 1.365963101387024, -1.0637582540512085, -0.9620972871780396, 0.5397278666496277, 0.1134827733039856, 1.2892085313796997, 0.4137907028198242, 1.6473921537399292, 2.0114474296569824, 0.8947442173957825, 0.35171380639076233, 1.2422142028808594, -0.0611201673746109, -0.49405038356781006, 1.8780463933944702, -0.4567134380340576, 0.5010201334953308, 1.0089929103851318, -0.3639259934425354, -1.017685055732727, -0.7820195555686951, -1.2589802742004395, -0.6435863971710205, 1.0617042779922485, 0.058276694267988205, -1.2508596181869507, 0.24530631303787231, 1.6217169761657715, 0.1325656622648239, -0.3044999837875366, 0.7559892535209656, 0.40991055965423584, -0.81133633852005, -0.08073060214519501, -0.8727933764457703, 0.47835299372673035, -0.08197960257530212, -0.25221601128578186, 0.24766656756401062, 0.5373859405517578, 1.3344807624816895, -0.03303080052137375, 0.08285394310951233, 1.1441196203231812, -1.4536789655685425, 1.531479001045227, -0.6307648420333862, 0.272596150636673, -2.453918218612671, 1.3682745695114136, -0.698513925075531, 1.8082524538040161, -2.585505485534668, 0.42245927453041077, -0.574871838092804, -0.5274269580841064, 0.24785232543945312, -0.3149969279766083, 0.1852339208126068, -0.09032873809337616, -0.9624926447868347, -0.020854054018855095, -0.7036918997764587, 0.5209851264953613, 1.1515029668807983, 1.345179557800293, -1.0529037714004517, -0.22656956315040588, -1.7581169605255127, -0.1368972808122635, -0.6206890344619751, 0.30290737748146057, -1.9793797731399536, -0.13881981372833252, -1.977001667022705, -2.2970478534698486, -1.5179328918457031, -0.9114532470703125, 1.0455998182296753, 0.21255874633789062, -1.0516704320907593, 1.1770824193954468, -0.34705886244773865, -1.7169824838638306, 1.1143221855163574, -2.171542167663574 ]
https://github.com/huggingface/datasets/issues/4000
load_dataset error: sndfile library not found
Thanks @albertvillanova . Unfortunately the error persists after installing ```datasets[audio]```. Can you direct towards a solution? ``` pip3 install datasets[audio] ``` ### log Requirement already satisfied: datasets[audio] in ./.virtualenvs/hubert/lib/python3.7/site-packages (1.18.3) Requirement already satisfied: numpy>=1.17 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (1.21.5) Requirement already satisfied: xxhash in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (3.0.0) Requirement already satisfied: fsspec[http]>=2021.05.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (2022.2.0) Requirement already satisfied: dill in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (0.3.4) Requirement already satisfied: pandas in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (1.3.5) Requirement already satisfied: huggingface-hub<1.0.0,>=0.1.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (0.4.0) Requirement already satisfied: packaging in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (21.3) Requirement already satisfied: multiprocess in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (0.70.12.2) Requirement already satisfied: pyarrow!=4.0.0,>=3.0.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (7.0.0) Requirement already satisfied: tqdm>=4.62.1 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (4.63.1) Requirement already satisfied: aiohttp in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (3.8.1) Requirement already satisfied: importlib-metadata in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (4.11.3) Requirement already satisfied: requests>=2.19.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (2.27.1) Requirement already satisfied: librosa in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (0.9.1) Requirement already satisfied: pyyaml in ./.virtualenvs/hubert/lib/python3.7/site-packages (from huggingface-hub<1.0.0,>=0.1.0->datasets[audio]) (6.0) Requirement already satisfied: typing-extensions>=3.7.4.3 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from huggingface-hub<1.0.0,>=0.1.0->datasets[audio]) (4.1.1) Requirement already satisfied: filelock in ./.virtualenvs/hubert/lib/python3.7/site-packages (from huggingface-hub<1.0.0,>=0.1.0->datasets[audio]) (3.6.0) Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from packaging->datasets[audio]) (3.0.7) Requirement already satisfied: idna<4,>=2.5 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from requests>=2.19.0->datasets[audio]) (3.3) Requirement already satisfied: certifi>=2017.4.17 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from requests>=2.19.0->datasets[audio]) (2021.10.8) Requirement already satisfied: charset-normalizer~=2.0.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from requests>=2.19.0->datasets[audio]) (2.0.12) Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from requests>=2.19.0->datasets[audio]) (1.26.9) Requirement already satisfied: attrs>=17.3.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from aiohttp->datasets[audio]) (21.4.0) Requirement already satisfied: frozenlist>=1.1.1 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from aiohttp->datasets[audio]) (1.3.0) Requirement already satisfied: aiosignal>=1.1.2 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from aiohttp->datasets[audio]) (1.2.0) Requirement already satisfied: yarl<2.0,>=1.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from aiohttp->datasets[audio]) (1.7.2) Requirement already satisfied: asynctest==0.13.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from aiohttp->datasets[audio]) (0.13.0) Requirement already satisfied: multidict<7.0,>=4.5 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from aiohttp->datasets[audio]) (6.0.2) Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from aiohttp->datasets[audio]) (4.0.2) Requirement already satisfied: zipp>=0.5 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from importlib-metadata->datasets[audio]) (3.7.0) Requirement already satisfied: decorator>=4.0.10 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from librosa->datasets[audio]) (5.1.1) Requirement already satisfied: soundfile>=0.10.2 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from librosa->datasets[audio]) (0.10.3.post1) Requirement already satisfied: numba>=0.45.1 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from librosa->datasets[audio]) (0.55.1) Requirement already satisfied: pooch>=1.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from librosa->datasets[audio]) (1.6.0) Requirement already satisfied: resampy>=0.2.2 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from librosa->datasets[audio]) (0.2.2) Requirement already satisfied: audioread>=2.1.5 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from librosa->datasets[audio]) (2.1.9) Requirement already satisfied: joblib>=0.14 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from librosa->datasets[audio]) (1.1.0) Requirement already satisfied: scipy>=1.2.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from librosa->datasets[audio]) (1.7.3) Requirement already satisfied: scikit-learn>=0.19.1 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from librosa->datasets[audio]) (1.0.2) Requirement already satisfied: python-dateutil>=2.7.3 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from pandas->datasets[audio]) (2.8.2) Requirement already satisfied: pytz>=2017.3 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from pandas->datasets[audio]) (2022.1) Requirement already satisfied: setuptools in ./.virtualenvs/hubert/lib/python3.7/site-packages (from numba>=0.45.1->librosa->datasets[audio]) (60.10.0) Requirement already satisfied: llvmlite<0.39,>=0.38.0rc1 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from numba>=0.45.1->librosa->datasets[audio]) (0.38.0) Requirement already satisfied: appdirs>=1.3.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from pooch>=1.0->librosa->datasets[audio]) (1.4.4) Requirement already satisfied: six>=1.5 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from python-dateutil>=2.7.3->pandas->datasets[audio]) (1.16.0) Requirement already satisfied: threadpoolctl>=2.0.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from scikit-learn>=0.19.1->librosa->datasets[audio]) (3.1.0) Requirement already satisfied: cffi>=1.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from soundfile>=0.10.2->librosa->datasets[audio]) (1.15.0) Requirement already satisfied: pycparser in ./.virtualenvs/hubert/lib/python3.7/site-packages (from cffi>=1.0->soundfile>=0.10.2->librosa->datasets[audio]) (2.21) ### reload ``` python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])" ``` ### log Downloading and preparing dataset ami/headset-single (download: 10.71 GiB, generated: 49.99 MiB, post-processed: Unknown size, total: 10.76 GiB) to /home/neo/.cache/huggingface/datasets/ami/headset-single/1.6.2/2accdf810f7c0585f78f4bcfa47684fbb980e35d29ecf126e6906dbecb872d9e... AMI corpus cannot be downloaded using multi-processing. Setting number of downloaded processes `num_proc` to 1. 100%|██████████████████████████████████████████████████████| 136/136 [00:00<00:00, 33542.59it/s] 100%|█████████████████████████████████████████████████████████| 136/136 [00:06<00:00, 22.28it/s] 100%|████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 21558.39it/s] 100%|█████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 2996.41it/s] 100%|████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 23431.87it/s] 100%|█████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 2697.52it/s] Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/load.py", line 1707, in load_dataset use_auth_token=use_auth_token, File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/builder.py", line 595, in download_and_prepare dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/builder.py", line 690, in _download_and_prepare ) from None OSError: Cannot find data file. Original error: sndfile library not found ### just to double-check as per your docs ``` pip3 install librosa torchaudio ``` ### logs Requirement already satisfied: librosa in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (0.9.1) Requirement already satisfied: torchaudio in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (0.11.0+cu113) Requirement already satisfied: audioread>=2.1.5 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from librosa) (2.1.9) Requirement already satisfied: joblib>=0.14 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from librosa) (1.1.0) Requirement already satisfied: packaging>=20.0 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from librosa) (21.3) Requirement already satisfied: scikit-learn>=0.19.1 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from librosa) (1.0.2) Requirement already satisfied: scipy>=1.2.0 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from librosa) (1.7.3) Requirement already satisfied: decorator>=4.0.10 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from librosa) (5.1.1) Requirement already satisfied: resampy>=0.2.2 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from librosa) (0.2.2) Requirement already satisfied: pooch>=1.0 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from librosa) (1.6.0) Requirement already satisfied: numpy>=1.17.0 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from librosa) (1.21.5) Requirement already satisfied: soundfile>=0.10.2 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from librosa) (0.10.3.post1) Requirement already satisfied: numba>=0.45.1 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from librosa) (0.55.1) Requirement already satisfied: torch==1.11.0 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from torchaudio) (1.11.0+cu113) Requirement already satisfied: typing-extensions in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from torch==1.11.0->torchaudio) (4.1.1) Requirement already satisfied: setuptools in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from numba>=0.45.1->librosa) (60.10.0) Requirement already satisfied: llvmlite<0.39,>=0.38.0rc1 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from numba>=0.45.1->librosa) (0.38.0) Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from packaging>=20.0->librosa) (3.0.7) Requirement already satisfied: requests>=2.19.0 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from pooch>=1.0->librosa) (2.27.1) Requirement already satisfied: appdirs>=1.3.0 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from pooch>=1.0->librosa) (1.4.4) Requirement already satisfied: six>=1.3 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from resampy>=0.2.2->librosa) (1.16.0) Requirement already satisfied: threadpoolctl>=2.0.0 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from scikit-learn>=0.19.1->librosa) (3.1.0) Requirement already satisfied: cffi>=1.0 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from soundfile>=0.10.2->librosa) (1.15.0) Requirement already satisfied: pycparser in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from cffi>=1.0->soundfile>=0.10.2->librosa) (2.21) Requirement already satisfied: charset-normalizer~=2.0.0 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from requests>=2.19.0->pooch>=1.0->librosa) (2.0.12) Requirement already satisfied: certifi>=2017.4.17 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from requests>=2.19.0->pooch>=1.0->librosa) (2021.10.8) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from requests>=2.19.0->pooch>=1.0->librosa) (1.26.9) Requirement already satisfied: idna<4,>=2.5 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from requests>=2.19.0->pooch>=1.0->librosa) (3.3) ### try loading again ``` python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])" ``` ### same error Downloading and preparing dataset ami/headset-single (download: 10.71 GiB, generated: 49.99 MiB, post-processed: Unknown size, total: 10.76 GiB) to /home/neo/.cache/huggingface/datasets/ami/headset-single/1.6.2/2accdf810f7c0585f78f4bcfa47684fbb980e35d29ecf126e6906dbecb872d9e... AMI corpus cannot be downloaded using multi-processing. Setting number of downloaded processes `num_proc` to 1. 100%|██████████████████████████████████████████████████████| 136/136 [00:00<00:00, 33542.59it/s] 100%|█████████████████████████████████████████████████████████| 136/136 [00:06<00:00, 22.28it/s] 100%|████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 21558.39it/s] 100%|█████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 2996.41it/s] 100%|████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 23431.87it/s] 100%|█████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 2697.52it/s] Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/load.py", line 1707, in load_dataset use_auth_token=use_auth_token, File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/builder.py", line 595, in download_and_prepare dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/builder.py", line 690, in _download_and_prepare ) from None OSError: Cannot find data file. Original error: sndfile library not found
## Describe the bug Can't load ami dataset ## Steps to reproduce the bug ``` python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])" ``` ## Expected results ## Actual results Downloading and preparing dataset ami/headset-single (download: 10.71 GiB, generated: 49.99 MiB, post-processed: Unknown size, total: 10.76 GiB) to /home/neo/.cache/huggingface/datasets/ami/headset-single/1.6.2/2accdf810f7c0585f78f4bcfa47684fbb980e35d29ecf126e6906dbecb872d9e... AMI corpus cannot be downloaded using multi-processing. Setting number of downloaded processes `num_proc` to 1. 100%|██████████████████████████████████████████████████████| 136/136 [00:00<00:00, 36004.88it/s] 100%|█████████████████████████████████████████████████████████| 136/136 [00:01<00:00, 79.10it/s] 100%|████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 25343.23it/s] 100%|█████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 2874.78it/s] 100%|████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 27950.38it/s] 100%|█████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 2892.25it/s] Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/load.py", line 1707, in load_dataset use_auth_token=use_auth_token, File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/builder.py", line 595, in download_and_prepare dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/builder.py", line 690, in _download_and_prepare ) from None OSError: Cannot find data file. Original error: sndfile library not found ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-4.19.0-18-cloud-amd64-x86_64-with-debian-10.11 - Python version: 3.7.3 - PyArrow version: 7.0.0
860
969
load_dataset error: sndfile library not found ## Describe the bug Can't load ami dataset ## Steps to reproduce the bug ``` python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])" ``` ## Expected results ## Actual results Downloading and preparing dataset ami/headset-single (download: 10.71 GiB, generated: 49.99 MiB, post-processed: Unknown size, total: 10.76 GiB) to /home/neo/.cache/huggingface/datasets/ami/headset-single/1.6.2/2accdf810f7c0585f78f4bcfa47684fbb980e35d29ecf126e6906dbecb872d9e... AMI corpus cannot be downloaded using multi-processing. Setting number of downloaded processes `num_proc` to 1. 100%|██████████████████████████████████████████████████████| 136/136 [00:00<00:00, 36004.88it/s] 100%|█████████████████████████████████████████████████████████| 136/136 [00:01<00:00, 79.10it/s] 100%|████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 25343.23it/s] 100%|█████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 2874.78it/s] 100%|████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 27950.38it/s] 100%|█████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 2892.25it/s] Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/load.py", line 1707, in load_dataset use_auth_token=use_auth_token, File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/builder.py", line 595, in download_and_prepare dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/builder.py", line 690, in _download_and_prepare ) from None OSError: Cannot find data file. Original error: sndfile library not found ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-4.19.0-18-cloud-amd64-x86_64-with-debian-10.11 - Python version: 3.7.3 - PyArrow version: 7.0.0 Thanks @albertvillanova . Unfortunately the error persists after installing ```datasets[audio]```. Can you direct towards a solution? ``` pip3 install datasets[audio] ``` ### log Requirement already satisfied: datasets[audio] in ./.virtualenvs/hubert/lib/python3.7/site-packages (1.18.3) Requirement already satisfied: numpy>=1.17 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (1.21.5) Requirement already satisfied: xxhash in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (3.0.0) Requirement already satisfied: fsspec[http]>=2021.05.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (2022.2.0) Requirement already satisfied: dill in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (0.3.4) Requirement already satisfied: pandas in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (1.3.5) Requirement already satisfied: huggingface-hub<1.0.0,>=0.1.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (0.4.0) Requirement already satisfied: packaging in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (21.3) Requirement already satisfied: multiprocess in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (0.70.12.2) Requirement already satisfied: pyarrow!=4.0.0,>=3.0.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (7.0.0) Requirement already satisfied: tqdm>=4.62.1 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (4.63.1) Requirement already satisfied: aiohttp in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (3.8.1) Requirement already satisfied: importlib-metadata in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (4.11.3) Requirement already satisfied: requests>=2.19.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (2.27.1) Requirement already satisfied: librosa in ./.virtualenvs/hubert/lib/python3.7/site-packages (from datasets[audio]) (0.9.1) Requirement already satisfied: pyyaml in ./.virtualenvs/hubert/lib/python3.7/site-packages (from huggingface-hub<1.0.0,>=0.1.0->datasets[audio]) (6.0) Requirement already satisfied: typing-extensions>=3.7.4.3 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from huggingface-hub<1.0.0,>=0.1.0->datasets[audio]) (4.1.1) Requirement already satisfied: filelock in ./.virtualenvs/hubert/lib/python3.7/site-packages (from huggingface-hub<1.0.0,>=0.1.0->datasets[audio]) (3.6.0) Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from packaging->datasets[audio]) (3.0.7) Requirement already satisfied: idna<4,>=2.5 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from requests>=2.19.0->datasets[audio]) (3.3) Requirement already satisfied: certifi>=2017.4.17 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from requests>=2.19.0->datasets[audio]) (2021.10.8) Requirement already satisfied: charset-normalizer~=2.0.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from requests>=2.19.0->datasets[audio]) (2.0.12) Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from requests>=2.19.0->datasets[audio]) (1.26.9) Requirement already satisfied: attrs>=17.3.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from aiohttp->datasets[audio]) (21.4.0) Requirement already satisfied: frozenlist>=1.1.1 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from aiohttp->datasets[audio]) (1.3.0) Requirement already satisfied: aiosignal>=1.1.2 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from aiohttp->datasets[audio]) (1.2.0) Requirement already satisfied: yarl<2.0,>=1.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from aiohttp->datasets[audio]) (1.7.2) Requirement already satisfied: asynctest==0.13.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from aiohttp->datasets[audio]) (0.13.0) Requirement already satisfied: multidict<7.0,>=4.5 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from aiohttp->datasets[audio]) (6.0.2) Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from aiohttp->datasets[audio]) (4.0.2) Requirement already satisfied: zipp>=0.5 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from importlib-metadata->datasets[audio]) (3.7.0) Requirement already satisfied: decorator>=4.0.10 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from librosa->datasets[audio]) (5.1.1) Requirement already satisfied: soundfile>=0.10.2 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from librosa->datasets[audio]) (0.10.3.post1) Requirement already satisfied: numba>=0.45.1 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from librosa->datasets[audio]) (0.55.1) Requirement already satisfied: pooch>=1.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from librosa->datasets[audio]) (1.6.0) Requirement already satisfied: resampy>=0.2.2 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from librosa->datasets[audio]) (0.2.2) Requirement already satisfied: audioread>=2.1.5 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from librosa->datasets[audio]) (2.1.9) Requirement already satisfied: joblib>=0.14 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from librosa->datasets[audio]) (1.1.0) Requirement already satisfied: scipy>=1.2.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from librosa->datasets[audio]) (1.7.3) Requirement already satisfied: scikit-learn>=0.19.1 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from librosa->datasets[audio]) (1.0.2) Requirement already satisfied: python-dateutil>=2.7.3 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from pandas->datasets[audio]) (2.8.2) Requirement already satisfied: pytz>=2017.3 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from pandas->datasets[audio]) (2022.1) Requirement already satisfied: setuptools in ./.virtualenvs/hubert/lib/python3.7/site-packages (from numba>=0.45.1->librosa->datasets[audio]) (60.10.0) Requirement already satisfied: llvmlite<0.39,>=0.38.0rc1 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from numba>=0.45.1->librosa->datasets[audio]) (0.38.0) Requirement already satisfied: appdirs>=1.3.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from pooch>=1.0->librosa->datasets[audio]) (1.4.4) Requirement already satisfied: six>=1.5 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from python-dateutil>=2.7.3->pandas->datasets[audio]) (1.16.0) Requirement already satisfied: threadpoolctl>=2.0.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from scikit-learn>=0.19.1->librosa->datasets[audio]) (3.1.0) Requirement already satisfied: cffi>=1.0 in ./.virtualenvs/hubert/lib/python3.7/site-packages (from soundfile>=0.10.2->librosa->datasets[audio]) (1.15.0) Requirement already satisfied: pycparser in ./.virtualenvs/hubert/lib/python3.7/site-packages (from cffi>=1.0->soundfile>=0.10.2->librosa->datasets[audio]) (2.21) ### reload ``` python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])" ``` ### log Downloading and preparing dataset ami/headset-single (download: 10.71 GiB, generated: 49.99 MiB, post-processed: Unknown size, total: 10.76 GiB) to /home/neo/.cache/huggingface/datasets/ami/headset-single/1.6.2/2accdf810f7c0585f78f4bcfa47684fbb980e35d29ecf126e6906dbecb872d9e... AMI corpus cannot be downloaded using multi-processing. Setting number of downloaded processes `num_proc` to 1. 100%|██████████████████████████████████████████████████████| 136/136 [00:00<00:00, 33542.59it/s] 100%|█████████████████████████████████████████████████████████| 136/136 [00:06<00:00, 22.28it/s] 100%|████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 21558.39it/s] 100%|█████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 2996.41it/s] 100%|████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 23431.87it/s] 100%|█████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 2697.52it/s] Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/load.py", line 1707, in load_dataset use_auth_token=use_auth_token, File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/builder.py", line 595, in download_and_prepare dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/builder.py", line 690, in _download_and_prepare ) from None OSError: Cannot find data file. Original error: sndfile library not found ### just to double-check as per your docs ``` pip3 install librosa torchaudio ``` ### logs Requirement already satisfied: librosa in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (0.9.1) Requirement already satisfied: torchaudio in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (0.11.0+cu113) Requirement already satisfied: audioread>=2.1.5 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from librosa) (2.1.9) Requirement already satisfied: joblib>=0.14 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from librosa) (1.1.0) Requirement already satisfied: packaging>=20.0 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from librosa) (21.3) Requirement already satisfied: scikit-learn>=0.19.1 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from librosa) (1.0.2) Requirement already satisfied: scipy>=1.2.0 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from librosa) (1.7.3) Requirement already satisfied: decorator>=4.0.10 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from librosa) (5.1.1) Requirement already satisfied: resampy>=0.2.2 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from librosa) (0.2.2) Requirement already satisfied: pooch>=1.0 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from librosa) (1.6.0) Requirement already satisfied: numpy>=1.17.0 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from librosa) (1.21.5) Requirement already satisfied: soundfile>=0.10.2 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from librosa) (0.10.3.post1) Requirement already satisfied: numba>=0.45.1 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from librosa) (0.55.1) Requirement already satisfied: torch==1.11.0 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from torchaudio) (1.11.0+cu113) Requirement already satisfied: typing-extensions in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from torch==1.11.0->torchaudio) (4.1.1) Requirement already satisfied: setuptools in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from numba>=0.45.1->librosa) (60.10.0) Requirement already satisfied: llvmlite<0.39,>=0.38.0rc1 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from numba>=0.45.1->librosa) (0.38.0) Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from packaging>=20.0->librosa) (3.0.7) Requirement already satisfied: requests>=2.19.0 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from pooch>=1.0->librosa) (2.27.1) Requirement already satisfied: appdirs>=1.3.0 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from pooch>=1.0->librosa) (1.4.4) Requirement already satisfied: six>=1.3 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from resampy>=0.2.2->librosa) (1.16.0) Requirement already satisfied: threadpoolctl>=2.0.0 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from scikit-learn>=0.19.1->librosa) (3.1.0) Requirement already satisfied: cffi>=1.0 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from soundfile>=0.10.2->librosa) (1.15.0) Requirement already satisfied: pycparser in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from cffi>=1.0->soundfile>=0.10.2->librosa) (2.21) Requirement already satisfied: charset-normalizer~=2.0.0 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from requests>=2.19.0->pooch>=1.0->librosa) (2.0.12) Requirement already satisfied: certifi>=2017.4.17 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from requests>=2.19.0->pooch>=1.0->librosa) (2021.10.8) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from requests>=2.19.0->pooch>=1.0->librosa) (1.26.9) Requirement already satisfied: idna<4,>=2.5 in /home/neo/.virtualenvs/hubert/lib/python3.7/site-packages (from requests>=2.19.0->pooch>=1.0->librosa) (3.3) ### try loading again ``` python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])" ``` ### same error Downloading and preparing dataset ami/headset-single (download: 10.71 GiB, generated: 49.99 MiB, post-processed: Unknown size, total: 10.76 GiB) to /home/neo/.cache/huggingface/datasets/ami/headset-single/1.6.2/2accdf810f7c0585f78f4bcfa47684fbb980e35d29ecf126e6906dbecb872d9e... AMI corpus cannot be downloaded using multi-processing. Setting number of downloaded processes `num_proc` to 1. 100%|██████████████████████████████████████████████████████| 136/136 [00:00<00:00, 33542.59it/s] 100%|█████████████████████████████████████████████████████████| 136/136 [00:06<00:00, 22.28it/s] 100%|████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 21558.39it/s] 100%|█████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 2996.41it/s] 100%|████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 23431.87it/s] 100%|█████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 2697.52it/s] Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/load.py", line 1707, in load_dataset use_auth_token=use_auth_token, File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/builder.py", line 595, in download_and_prepare dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/builder.py", line 690, in _download_and_prepare ) from None OSError: Cannot find data file. Original error: sndfile library not found
[ -1.18839693069458, -0.8216730952262878, -0.810173749923706, 1.4620776176452637, -0.13802462816238403, -1.2161316871643066, 0.1322791427373886, -1.113346815109253, 1.4970293045043945, -0.6584069132804871, 0.26160529255867004, -1.7246705293655396, -0.028475388884544373, -0.5246252417564392, -0.7808650135993958, -0.8691126108169556, -0.36870428919792175, -0.8194421529769897, 0.9735535383224487, 2.5858991146087646, 1.192024827003479, -1.3393592834472656, 2.7656636238098145, 0.615275502204895, -0.21303848922252655, -0.9869236350059509, 0.6303797960281372, 0.06931684911251068, -1.3048110008239746, -0.4471246600151062, -0.9423468708992004, -0.058185674250125885, -0.6040099859237671, -0.37626737356185913, 0.15610651671886444, 0.4532793164253235, -0.2647643983364105, -0.34422767162323, -0.5653312802314758, -0.7252699136734009, 0.5384687185287476, -0.3378458619117737, 0.9846651554107666, -0.26382455229759216, 1.784041166305542, -0.6812899708747864, 0.33558905124664307, 0.729966402053833, 1.2881678342819214, 0.14794133603572845, 0.09213991463184357, 0.3731951415538788, 0.3641221523284912, 0.06371358036994934, 0.43837970495224, 1.2311732769012451, 0.5847927927970886, 0.4049580693244934, 0.7748777866363525, -2.1330180168151855, 1.2757558822631836, -0.9158815145492554, 0.32565250992774963, 1.3147013187408447, -0.7981371879577637, 0.3604779839515686, -1.8183815479278564, -0.0804186761379242, 0.5918707251548767, -2.184429168701172, 0.30579516291618347, -1.314233660697937, -0.5195305943489075, 0.8521522879600525, 0.32961830496788025, -1.203674554824829, 0.17190547287464142, -0.5728978514671326, 1.022564172744751, 0.40597495436668396, 1.1183303594589233, -1.6521689891815186, 0.036921508610248566, -0.21082468330860138, 0.14116784930229187, -1.2756245136260986, -1.528186559677124, 0.6337698698043823, 0.5493291020393372, 0.6909691691398621, -0.11053381860256195, 0.9768428206443787, -1.013136625289917, 0.8680500388145447, -0.9862403273582458, -1.7263470888137817, -1.3448954820632935, -2.328374147415161, -2.310582399368286, 0.7950208187103271, -0.4237746000289917, -0.5019187927246094, 2.0572564601898193, -0.8672010898590088, -1.7446988821029663, 1.0360690355300903, 0.3059675395488739, -0.03333603963255882, 2.451633930206299, 0.2775419056415558, -0.8194888234138489, 0.4711078703403473, -0.7111056447029114, 0.8152220249176025, -0.28969651460647583, 1.3830679655075073, 0.4439186155796051, -0.9038571119308472, 1.5712124109268188, -0.472662091255188, 0.5088592767715454, -0.719387412071228, -0.49555402994155884, -0.8552209138870239, 0.2148941159248352, 1.9303412437438965, -0.33349427580833435, 1.5432995557785034, -0.301246702671051, -1.606366753578186, -1.4818884134292603, 0.8119351863861084, 0.5243968963623047, -0.873096227645874, 0.04623780772089958, -0.41937464475631714, 0.11257573962211609, 0.015658605843782425, 1.0999196767807007, 1.2761106491088867, 0.7391777634620667, -0.3077555298805237, -0.9214380979537964, 0.18182605504989624, -0.22402875125408173, -0.777633786201477, -1.8473106622695923, -0.3294769823551178, 0.18544651567935944, 0.7027699947357178, -1.3063398599624634, 1.7262942790985107, 0.8773269057273865, 2.006617307662964, 0.9727469682693481, -0.4458465874195099, 1.4915049076080322, -0.015271990559995174, 1.8772633075714111, -0.5423466563224792, 0.5788007974624634, -0.4556693732738495, -1.126846194267273, 0.9102851748466492, -0.2301723062992096, -1.9705184698104858, -0.811903178691864, -0.8507317900657654, -0.24059072136878967, -0.7823723554611206, 0.8921452164649963, -0.30304354429244995, -1.4790594577789307, 0.23591715097427368, -0.7311327457427979, 0.09002053737640381, -1.2326616048812866, 0.22234244644641876, 0.6726424694061279, -0.6561015844345093, 0.011026522144675255, -0.2034597396850586, -1.3946781158447266, -0.5298820734024048, 0.252490758895874, 1.918750524520874, -0.6798112988471985, 0.9062290191650391, 1.0555400848388672, -0.6768229603767395, 0.07601936161518097, 0.2896270751953125, -0.35422107577323914, 0.7499310374259949, -1.2522485256195068, -0.4509837031364441, 1.133012294769287, -0.09130315482616425, -0.585760772228241, 1.4168117046356201, 0.792008638381958, -1.1115021705627441, -0.22378596663475037, -0.1590961515903473, -0.8490287065505981, 0.03463631123304367, -1.5942628383636475, -0.21419040858745575, 0.41913041472435, -1.4702880382537842, -0.4312690794467926, -0.20460912585258484, 1.2366021871566772, -0.179045170545578, 1.5016363859176636, -0.32688766717910767, -0.1976960301399231, -0.3623446524143219, -0.48412322998046875, 0.0952441394329071, -0.266079843044281, -0.609924852848053, 0.18212878704071045, -0.8215514421463013, 0.3324839472770691, 1.5004467964172363, 0.26963531970977783, 0.04767194017767906, 0.46768778562545776, 1.0986931324005127, 0.37604820728302, 0.12126289308071136, -0.8429270386695862, -1.5581659078598022, 2.0357325077056885, -1.560073733329773, 1.909559965133667, 0.8161408305168152, 0.025328833609819412, -1.8566617965698242, -1.8094170093536377, 1.3606376647949219, 1.1514397859573364, 2.4141814708709717, 0.5780006647109985, 0.476925253868103, -0.7480789422988892, -0.6990115642547607, 0.3058253228664398, -1.0108202695846558, -0.662248969078064, 0.26022469997406006, 2.458897352218628, 1.795250654220581, -0.5455794334411621, -0.1822616308927536, -0.8825738430023193, 1.3201546669006348, -0.14228039979934692, 0.15675006806850433, 2.0765249729156494, -0.20835836231708527, -1.036886215209961, 1.2751933336257935, -2.3317973613739014, 0.2567298710346222, 2.104351043701172, 0.28805503249168396, 0.13236881792545319, -1.417927861213684, -0.6692402958869934, -0.32297736406326294, -0.432941198348999, -1.2693175077438354, 0.5937180519104004, -0.27694422006607056, -0.8885235786437988, -1.4816899299621582, -0.007614350412040949, -1.2147146463394165, -1.688201665878296, 0.29091745615005493, 1.9463558197021484, 2.10197114944458, -0.724034309387207, 1.4864356517791748, -0.3261324167251587, 0.09155264496803284, 1.219154715538025, 1.29024076461792, 3.0391788482666016, 1.8800013065338135, -1.2184919118881226, 0.7073430418968201, -0.17418907582759857, -0.5035425424575806, 1.0750408172607422, -1.1385810375213623, 1.0925333499908447, -0.22309446334838867, -1.2422038316726685, -1.1830672025680542, 1.066868782043457, 0.4101136028766632, 0.023781996220350266, -0.5181176066398621, 1.2889699935913086, 0.12490275502204895, 1.265906810760498, 0.6262171864509583, -0.31368619203567505, 0.5089601278305054, -0.3626551330089569, -0.5186944007873535, 1.6818400621414185, 0.24316716194152832, -1.486742377281189, -2.4738945960998535, -0.2668915390968323, -0.9069476127624512, 0.0035550426691770554, -0.5791912078857422, -1.1263649463653564, 1.595764398574829, 0.38286009430885315, -1.234021544456482, -0.27408188581466675, -0.28326302766799927, -0.6172923445701599, 2.632002353668213, -1.3716518878936768, -0.14765681326389313, -0.9221528768539429, -0.5724882483482361, 1.6721004247665405, -1.181458830833435, -0.20216602087020874, -1.1101945638656616, -0.5462582111358643, -1.2835053205490112, -0.5352820754051208, 0.05302679166197777, -0.8944794535636902, 0.7521782517433167, 0.13462142646312714, -1.1305075883865356, -0.2856748700141907, -0.9079523086547852, 1.0542078018188477, -0.06777697801589966, 0.13373646140098572, 1.8809927701950073, 0.4038178026676178, -0.4394738972187042, 0.7305904626846313, 1.2396432161331177, 0.5978255867958069, -0.7205455899238586, 0.020435640588402748, -0.7125734090805054, 0.23086661100387573, -1.4225343465805054, 0.21538938581943512, -2.8460922241210938, 0.7349912524223328, -0.13206720352172852, -0.062201354652643204, 0.0034756604582071304, -1.2657804489135742, 1.1878200769424438, 2.600048542022705, -1.1750662326812744, 0.5065949559211731, 0.3227486312389374, 1.1851295232772827, -1.5818123817443848, 0.27086734771728516, -0.43465232849121094, 2.025832176208496, 0.10207471251487732, 1.2382581233978271, -0.5515590906143188, -2.2472805976867676, 0.6042946577072144, -1.2608884572982788, -1.0676535367965698, 0.8225580453872681, -0.8499626517295837, 0.2330496609210968, -1.4713258743286133, -0.24817895889282227, -1.0129623413085938, -1.2788957357406616, 0.7283123731613159, 0.11084043979644775, 0.44650545716285706, -0.4807743430137634, 0.3150181770324707, -2.2211508750915527, -1.4528439044952393, -0.15198515355587006, -1.0103353261947632, 0.5698630809783936, -0.3472438454627991, 0.7219443917274475, -0.08571675419807434, 0.08047868311405182, 0.33893725275993347, 1.419870376586914, 3.373884677886963, 0.11527317762374878, 0.26666146516799927, -0.12916764616966248, -1.026820182800293, 1.3043540716171265, 0.9729120135307312, -0.1330467313528061, -0.547279417514801, -0.9473390579223633, 1.1755269765853882, 2.0675435066223145, 1.0496712923049927, 0.02315492182970047, -0.8585631847381592, -0.7224076390266418, 0.08209185302257538, 0.2531680166721344, 0.5692338943481445, 0.9620504975318909, -0.042130012065172195, 0.0730225145816803, 1.409993290901184, 1.0851287841796875, -0.4053642153739929, 0.38807156682014465, -0.9217627048492432, -0.4191991090774536, 0.4798260033130646, 0.19580228626728058, 0.03444807976484299, 0.47179025411605835, -1.0866836309432983, -0.27222350239753723, -0.31221717596054077, -0.9580984115600586, -0.7094356417655945, -0.4289804697036743, -0.3804127871990204, 1.5816993713378906, 0.1092616617679596, -0.4876810908317566, 0.09784223139286041, -0.6563766002655029, -0.1331292688846588, -1.164243459701538, 0.19339284300804138, -0.20124192535877228, -0.03765171021223068, -0.09818178415298462, 1.8385770320892334, -0.936138391494751, -2.064772844314575, 0.15108734369277954, 0.3551119267940521, -0.29758259654045105, 0.2275875359773636, 1.6794813871383667, 0.6336801648139954, 1.3878262042999268, 1.3123865127563477, 0.9351701736450195, -0.6230285167694092, -1.2841167449951172, 0.5807098746299744, 1.0748056173324585, -1.2332175970077515, 0.8369576930999756, -0.13307729363441467, -0.45132601261138916, 0.678440272808075, 1.4418363571166992, 0.36541229486465454, -2.097022294998169, 0.8768922686576843, -0.9090160131454468, 0.7483055591583252, 0.7047427296638489, 0.7258909940719604, 0.2901836037635803, 0.7592995762825012, -1.204142689704895, -1.096944808959961, -0.8015404343605042, -0.6597757339477539, 1.8855774402618408, -0.2400132417678833, 0.45770561695098877, -0.13819074630737305, -1.2455402612686157, -0.06707997620105743, 0.7311781644821167, 0.40463486313819885, -0.454145222902298, 0.7983196377754211, -0.5717000365257263, -1.1068345308303833, -1.2697951793670654, -0.5133864283561707, -0.9977111220359802, -0.9505197405815125, 0.9269458651542664, 0.7458670735359192, 0.4336887300014496, 1.9125429391860962, 0.7074382305145264, 0.19137829542160034, -2.6653168201446533, 0.883232057094574, 0.25849196314811707, -0.00452974159270525, 0.9137047529220581, 0.3266407251358032, 1.1915582418441772, 0.013100014999508858, 0.5700305104255676, -2.3556201457977295, 2.2502293586730957, -0.2439371943473816, 0.6738046407699585, 0.015200411900877953, -0.20143121480941772, 1.1203962564468384, 0.5567081570625305, 0.5494130253791809, -1.005645990371704, 0.6757294535636902, -0.6711804270744324, 1.1086279153823853, 0.9111788272857666, -0.877856969833374, 0.10674253106117249, 1.3728443384170532, 0.4470236897468567, -0.46733084321022034, -1.020060420036316, -0.8093932867050171, 0.9842750430107117, 1.6992955207824707, -0.0857340395450592, 0.06154513731598854, 0.8480291962623596, 0.5511873960494995, -1.2804111242294312, 0.03667780011892319, -0.7437053322792053, -0.7840120792388916, 1.72823965549469, 2.0710701942443848, -0.16084161400794983, -0.0984192043542862, -0.7542058825492859, -1.2603399753570557, 0.7528377771377563, -0.11075334250926971, 0.09571228921413422, 0.6579746603965759, -0.6665146350860596, 1.184036135673523, 0.6269874572753906, 0.9766323566436768, 0.13480685651302338, 0.40387824177742004, 0.270565927028656, -0.3618817925453186, -1.1483336687088013, -0.3148599863052368, -1.1160694360733032, -2.5314900875091553, 0.46331971883773804, -0.21813592314720154, -1.4803186655044556, 0.08113113045692444, -1.0139659643173218, 0.9293176531791687, -0.533290684223175, -1.0450198650360107, -1.4712915420532227, 0.36009135842323303, -0.1264858990907669, 1.049453854560852, -1.6404669284820557, -0.08784732222557068, 1.2517398595809937, 0.9165748953819275, -0.6764382123947144, 1.0082069635391235, 0.33768898248672485, 1.0459301471710205, 0.7747937440872192, -0.3639306128025055, 0.5350072383880615, 0.0156343262642622, -1.263259768486023, 0.4591408371925354, 1.2592999935150146, 0.1844491958618164, 1.366786003112793, -0.43275484442710876, 0.03511397913098335, 0.37444958090782166, -0.49329954385757446, -0.4385749399662018, -0.43594157695770264, 0.5758647322654724, 0.18396300077438354, -0.9993481636047363, -0.12536637485027313, -0.1016562283039093, -0.24754785001277924, 0.2478177845478058, -1.5450479984283447, -0.24218522012233734, -0.3520031273365021, -0.44887736439704895, -1.2377227544784546, 0.03068975731730461, 1.3071486949920654, -0.7387897968292236, -0.23712362349033356, 0.42070692777633667, 0.3774493932723999, 0.6003992557525635, 0.6480018496513367, -0.7062005996704102, -0.36039942502975464, -0.29961928725242615, -0.3520713746547699, 0.20357270538806915, 1.280158281326294, -0.10643042623996735, -1.0249000787734985, 0.7401093244552612, -0.40343597531318665, 0.12470880150794983, 1.8932814598083496, -0.015954922884702682, -0.7783485054969788, 0.3015712797641754, -0.7116857767105103, 1.8790963888168335, 1.7098374366760254, 1.2365981340408325, -0.15914934873580933, -0.8449519276618958, 0.5841638445854187, -0.290793776512146, -0.293080598115921, 0.8460240960121155, 0.42209404706954956, -0.2212068736553192, -1.4191677570343018, 0.5420708060264587, 1.349435567855835, -0.8128151893615723, -0.7753151059150696, 0.10717004537582397, -0.863767683506012, 1.1143280267715454, 0.6828751564025879, 0.3925439715385437, 0.27419131994247437, 1.5274899005889893, 0.7283376455307007, -0.5771691203117371, 0.5927455425262451, 0.4841245412826538, -0.12760835886001587, -2.122321605682373, -1.1012910604476929, 0.258904367685318, -0.36470386385917664, -1.7015300989151, 1.365963101387024, -1.0637582540512085, -0.9620972871780396, 0.5397278666496277, 0.1134827733039856, 1.2892085313796997, 0.4137907028198242, 1.6473921537399292, 2.0114474296569824, 0.8947442173957825, 0.35171380639076233, 1.2422142028808594, -0.0611201673746109, -0.49405038356781006, 1.8780463933944702, -0.4567134380340576, 0.5010201334953308, 1.0089929103851318, -0.3639259934425354, -1.017685055732727, -0.7820195555686951, -1.2589802742004395, -0.6435863971710205, 1.0617042779922485, 0.058276694267988205, -1.2508596181869507, 0.24530631303787231, 1.6217169761657715, 0.1325656622648239, -0.3044999837875366, 0.7559892535209656, 0.40991055965423584, -0.81133633852005, -0.08073060214519501, -0.8727933764457703, 0.47835299372673035, -0.08197960257530212, -0.25221601128578186, 0.24766656756401062, 0.5373859405517578, 1.3344807624816895, -0.03303080052137375, 0.08285394310951233, 1.1441196203231812, -1.4536789655685425, 1.531479001045227, -0.6307648420333862, 0.272596150636673, -2.453918218612671, 1.3682745695114136, -0.698513925075531, 1.8082524538040161, -2.585505485534668, 0.42245927453041077, -0.574871838092804, -0.5274269580841064, 0.24785232543945312, -0.3149969279766083, 0.1852339208126068, -0.09032873809337616, -0.9624926447868347, -0.020854054018855095, -0.7036918997764587, 0.5209851264953613, 1.1515029668807983, 1.345179557800293, -1.0529037714004517, -0.22656956315040588, -1.7581169605255127, -0.1368972808122635, -0.6206890344619751, 0.30290737748146057, -1.9793797731399536, -0.13881981372833252, -1.977001667022705, -2.2970478534698486, -1.5179328918457031, -0.9114532470703125, 1.0455998182296753, 0.21255874633789062, -1.0516704320907593, 1.1770824193954468, -0.34705886244773865, -1.7169824838638306, 1.1143221855163574, -2.171542167663574 ]
https://github.com/huggingface/datasets/issues/4000
load_dataset error: sndfile library not found
Hi @i-am-neo, thanks again for your detailed report. Our `datasets` library support for audio relies on a third-party Python library called `librosa`, which is installed when you do: ```shell pip install datasets[audio] ``` However, the `librosa` library has a dependency on `soundfile`; and `soundfile` depends on a non-Python package called `sndfile`. On Linux (which is your case), this must be installed manually using your operating system package manager, for example: ```shell sudo apt-get install libsndfile1 ``` Please, let me know if this works and if so, I will update our docs with all this information.
## Describe the bug Can't load ami dataset ## Steps to reproduce the bug ``` python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])" ``` ## Expected results ## Actual results Downloading and preparing dataset ami/headset-single (download: 10.71 GiB, generated: 49.99 MiB, post-processed: Unknown size, total: 10.76 GiB) to /home/neo/.cache/huggingface/datasets/ami/headset-single/1.6.2/2accdf810f7c0585f78f4bcfa47684fbb980e35d29ecf126e6906dbecb872d9e... AMI corpus cannot be downloaded using multi-processing. Setting number of downloaded processes `num_proc` to 1. 100%|██████████████████████████████████████████████████████| 136/136 [00:00<00:00, 36004.88it/s] 100%|█████████████████████████████████████████████████████████| 136/136 [00:01<00:00, 79.10it/s] 100%|████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 25343.23it/s] 100%|█████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 2874.78it/s] 100%|████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 27950.38it/s] 100%|█████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 2892.25it/s] Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/load.py", line 1707, in load_dataset use_auth_token=use_auth_token, File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/builder.py", line 595, in download_and_prepare dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/builder.py", line 690, in _download_and_prepare ) from None OSError: Cannot find data file. Original error: sndfile library not found ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-4.19.0-18-cloud-amd64-x86_64-with-debian-10.11 - Python version: 3.7.3 - PyArrow version: 7.0.0
860
95
load_dataset error: sndfile library not found ## Describe the bug Can't load ami dataset ## Steps to reproduce the bug ``` python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])" ``` ## Expected results ## Actual results Downloading and preparing dataset ami/headset-single (download: 10.71 GiB, generated: 49.99 MiB, post-processed: Unknown size, total: 10.76 GiB) to /home/neo/.cache/huggingface/datasets/ami/headset-single/1.6.2/2accdf810f7c0585f78f4bcfa47684fbb980e35d29ecf126e6906dbecb872d9e... AMI corpus cannot be downloaded using multi-processing. Setting number of downloaded processes `num_proc` to 1. 100%|██████████████████████████████████████████████████████| 136/136 [00:00<00:00, 36004.88it/s] 100%|█████████████████████████████████████████████████████████| 136/136 [00:01<00:00, 79.10it/s] 100%|████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 25343.23it/s] 100%|█████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 2874.78it/s] 100%|████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 27950.38it/s] 100%|█████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 2892.25it/s] Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/load.py", line 1707, in load_dataset use_auth_token=use_auth_token, File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/builder.py", line 595, in download_and_prepare dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/builder.py", line 690, in _download_and_prepare ) from None OSError: Cannot find data file. Original error: sndfile library not found ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-4.19.0-18-cloud-amd64-x86_64-with-debian-10.11 - Python version: 3.7.3 - PyArrow version: 7.0.0 Hi @i-am-neo, thanks again for your detailed report. Our `datasets` library support for audio relies on a third-party Python library called `librosa`, which is installed when you do: ```shell pip install datasets[audio] ``` However, the `librosa` library has a dependency on `soundfile`; and `soundfile` depends on a non-Python package called `sndfile`. On Linux (which is your case), this must be installed manually using your operating system package manager, for example: ```shell sudo apt-get install libsndfile1 ``` Please, let me know if this works and if so, I will update our docs with all this information.
[ -1.18839693069458, -0.8216730952262878, -0.810173749923706, 1.4620776176452637, -0.13802462816238403, -1.2161316871643066, 0.1322791427373886, -1.113346815109253, 1.4970293045043945, -0.6584069132804871, 0.26160529255867004, -1.7246705293655396, -0.028475388884544373, -0.5246252417564392, -0.7808650135993958, -0.8691126108169556, -0.36870428919792175, -0.8194421529769897, 0.9735535383224487, 2.5858991146087646, 1.192024827003479, -1.3393592834472656, 2.7656636238098145, 0.615275502204895, -0.21303848922252655, -0.9869236350059509, 0.6303797960281372, 0.06931684911251068, -1.3048110008239746, -0.4471246600151062, -0.9423468708992004, -0.058185674250125885, -0.6040099859237671, -0.37626737356185913, 0.15610651671886444, 0.4532793164253235, -0.2647643983364105, -0.34422767162323, -0.5653312802314758, -0.7252699136734009, 0.5384687185287476, -0.3378458619117737, 0.9846651554107666, -0.26382455229759216, 1.784041166305542, -0.6812899708747864, 0.33558905124664307, 0.729966402053833, 1.2881678342819214, 0.14794133603572845, 0.09213991463184357, 0.3731951415538788, 0.3641221523284912, 0.06371358036994934, 0.43837970495224, 1.2311732769012451, 0.5847927927970886, 0.4049580693244934, 0.7748777866363525, -2.1330180168151855, 1.2757558822631836, -0.9158815145492554, 0.32565250992774963, 1.3147013187408447, -0.7981371879577637, 0.3604779839515686, -1.8183815479278564, -0.0804186761379242, 0.5918707251548767, -2.184429168701172, 0.30579516291618347, -1.314233660697937, -0.5195305943489075, 0.8521522879600525, 0.32961830496788025, -1.203674554824829, 0.17190547287464142, -0.5728978514671326, 1.022564172744751, 0.40597495436668396, 1.1183303594589233, -1.6521689891815186, 0.036921508610248566, -0.21082468330860138, 0.14116784930229187, -1.2756245136260986, -1.528186559677124, 0.6337698698043823, 0.5493291020393372, 0.6909691691398621, -0.11053381860256195, 0.9768428206443787, -1.013136625289917, 0.8680500388145447, -0.9862403273582458, -1.7263470888137817, -1.3448954820632935, -2.328374147415161, -2.310582399368286, 0.7950208187103271, -0.4237746000289917, -0.5019187927246094, 2.0572564601898193, -0.8672010898590088, -1.7446988821029663, 1.0360690355300903, 0.3059675395488739, -0.03333603963255882, 2.451633930206299, 0.2775419056415558, -0.8194888234138489, 0.4711078703403473, -0.7111056447029114, 0.8152220249176025, -0.28969651460647583, 1.3830679655075073, 0.4439186155796051, -0.9038571119308472, 1.5712124109268188, -0.472662091255188, 0.5088592767715454, -0.719387412071228, -0.49555402994155884, -0.8552209138870239, 0.2148941159248352, 1.9303412437438965, -0.33349427580833435, 1.5432995557785034, -0.301246702671051, -1.606366753578186, -1.4818884134292603, 0.8119351863861084, 0.5243968963623047, -0.873096227645874, 0.04623780772089958, -0.41937464475631714, 0.11257573962211609, 0.015658605843782425, 1.0999196767807007, 1.2761106491088867, 0.7391777634620667, -0.3077555298805237, -0.9214380979537964, 0.18182605504989624, -0.22402875125408173, -0.777633786201477, -1.8473106622695923, -0.3294769823551178, 0.18544651567935944, 0.7027699947357178, -1.3063398599624634, 1.7262942790985107, 0.8773269057273865, 2.006617307662964, 0.9727469682693481, -0.4458465874195099, 1.4915049076080322, -0.015271990559995174, 1.8772633075714111, -0.5423466563224792, 0.5788007974624634, -0.4556693732738495, -1.126846194267273, 0.9102851748466492, -0.2301723062992096, -1.9705184698104858, -0.811903178691864, -0.8507317900657654, -0.24059072136878967, -0.7823723554611206, 0.8921452164649963, -0.30304354429244995, -1.4790594577789307, 0.23591715097427368, -0.7311327457427979, 0.09002053737640381, -1.2326616048812866, 0.22234244644641876, 0.6726424694061279, -0.6561015844345093, 0.011026522144675255, -0.2034597396850586, -1.3946781158447266, -0.5298820734024048, 0.252490758895874, 1.918750524520874, -0.6798112988471985, 0.9062290191650391, 1.0555400848388672, -0.6768229603767395, 0.07601936161518097, 0.2896270751953125, -0.35422107577323914, 0.7499310374259949, -1.2522485256195068, -0.4509837031364441, 1.133012294769287, -0.09130315482616425, -0.585760772228241, 1.4168117046356201, 0.792008638381958, -1.1115021705627441, -0.22378596663475037, -0.1590961515903473, -0.8490287065505981, 0.03463631123304367, -1.5942628383636475, -0.21419040858745575, 0.41913041472435, -1.4702880382537842, -0.4312690794467926, -0.20460912585258484, 1.2366021871566772, -0.179045170545578, 1.5016363859176636, -0.32688766717910767, -0.1976960301399231, -0.3623446524143219, -0.48412322998046875, 0.0952441394329071, -0.266079843044281, -0.609924852848053, 0.18212878704071045, -0.8215514421463013, 0.3324839472770691, 1.5004467964172363, 0.26963531970977783, 0.04767194017767906, 0.46768778562545776, 1.0986931324005127, 0.37604820728302, 0.12126289308071136, -0.8429270386695862, -1.5581659078598022, 2.0357325077056885, -1.560073733329773, 1.909559965133667, 0.8161408305168152, 0.025328833609819412, -1.8566617965698242, -1.8094170093536377, 1.3606376647949219, 1.1514397859573364, 2.4141814708709717, 0.5780006647109985, 0.476925253868103, -0.7480789422988892, -0.6990115642547607, 0.3058253228664398, -1.0108202695846558, -0.662248969078064, 0.26022469997406006, 2.458897352218628, 1.795250654220581, -0.5455794334411621, -0.1822616308927536, -0.8825738430023193, 1.3201546669006348, -0.14228039979934692, 0.15675006806850433, 2.0765249729156494, -0.20835836231708527, -1.036886215209961, 1.2751933336257935, -2.3317973613739014, 0.2567298710346222, 2.104351043701172, 0.28805503249168396, 0.13236881792545319, -1.417927861213684, -0.6692402958869934, -0.32297736406326294, -0.432941198348999, -1.2693175077438354, 0.5937180519104004, -0.27694422006607056, -0.8885235786437988, -1.4816899299621582, -0.007614350412040949, -1.2147146463394165, -1.688201665878296, 0.29091745615005493, 1.9463558197021484, 2.10197114944458, -0.724034309387207, 1.4864356517791748, -0.3261324167251587, 0.09155264496803284, 1.219154715538025, 1.29024076461792, 3.0391788482666016, 1.8800013065338135, -1.2184919118881226, 0.7073430418968201, -0.17418907582759857, -0.5035425424575806, 1.0750408172607422, -1.1385810375213623, 1.0925333499908447, -0.22309446334838867, -1.2422038316726685, -1.1830672025680542, 1.066868782043457, 0.4101136028766632, 0.023781996220350266, -0.5181176066398621, 1.2889699935913086, 0.12490275502204895, 1.265906810760498, 0.6262171864509583, -0.31368619203567505, 0.5089601278305054, -0.3626551330089569, -0.5186944007873535, 1.6818400621414185, 0.24316716194152832, -1.486742377281189, -2.4738945960998535, -0.2668915390968323, -0.9069476127624512, 0.0035550426691770554, -0.5791912078857422, -1.1263649463653564, 1.595764398574829, 0.38286009430885315, -1.234021544456482, -0.27408188581466675, -0.28326302766799927, -0.6172923445701599, 2.632002353668213, -1.3716518878936768, -0.14765681326389313, -0.9221528768539429, -0.5724882483482361, 1.6721004247665405, -1.181458830833435, -0.20216602087020874, -1.1101945638656616, -0.5462582111358643, -1.2835053205490112, -0.5352820754051208, 0.05302679166197777, -0.8944794535636902, 0.7521782517433167, 0.13462142646312714, -1.1305075883865356, -0.2856748700141907, -0.9079523086547852, 1.0542078018188477, -0.06777697801589966, 0.13373646140098572, 1.8809927701950073, 0.4038178026676178, -0.4394738972187042, 0.7305904626846313, 1.2396432161331177, 0.5978255867958069, -0.7205455899238586, 0.020435640588402748, -0.7125734090805054, 0.23086661100387573, -1.4225343465805054, 0.21538938581943512, -2.8460922241210938, 0.7349912524223328, -0.13206720352172852, -0.062201354652643204, 0.0034756604582071304, -1.2657804489135742, 1.1878200769424438, 2.600048542022705, -1.1750662326812744, 0.5065949559211731, 0.3227486312389374, 1.1851295232772827, -1.5818123817443848, 0.27086734771728516, -0.43465232849121094, 2.025832176208496, 0.10207471251487732, 1.2382581233978271, -0.5515590906143188, -2.2472805976867676, 0.6042946577072144, -1.2608884572982788, -1.0676535367965698, 0.8225580453872681, -0.8499626517295837, 0.2330496609210968, -1.4713258743286133, -0.24817895889282227, -1.0129623413085938, -1.2788957357406616, 0.7283123731613159, 0.11084043979644775, 0.44650545716285706, -0.4807743430137634, 0.3150181770324707, -2.2211508750915527, -1.4528439044952393, -0.15198515355587006, -1.0103353261947632, 0.5698630809783936, -0.3472438454627991, 0.7219443917274475, -0.08571675419807434, 0.08047868311405182, 0.33893725275993347, 1.419870376586914, 3.373884677886963, 0.11527317762374878, 0.26666146516799927, -0.12916764616966248, -1.026820182800293, 1.3043540716171265, 0.9729120135307312, -0.1330467313528061, -0.547279417514801, -0.9473390579223633, 1.1755269765853882, 2.0675435066223145, 1.0496712923049927, 0.02315492182970047, -0.8585631847381592, -0.7224076390266418, 0.08209185302257538, 0.2531680166721344, 0.5692338943481445, 0.9620504975318909, -0.042130012065172195, 0.0730225145816803, 1.409993290901184, 1.0851287841796875, -0.4053642153739929, 0.38807156682014465, -0.9217627048492432, -0.4191991090774536, 0.4798260033130646, 0.19580228626728058, 0.03444807976484299, 0.47179025411605835, -1.0866836309432983, -0.27222350239753723, -0.31221717596054077, -0.9580984115600586, -0.7094356417655945, -0.4289804697036743, -0.3804127871990204, 1.5816993713378906, 0.1092616617679596, -0.4876810908317566, 0.09784223139286041, -0.6563766002655029, -0.1331292688846588, -1.164243459701538, 0.19339284300804138, -0.20124192535877228, -0.03765171021223068, -0.09818178415298462, 1.8385770320892334, -0.936138391494751, -2.064772844314575, 0.15108734369277954, 0.3551119267940521, -0.29758259654045105, 0.2275875359773636, 1.6794813871383667, 0.6336801648139954, 1.3878262042999268, 1.3123865127563477, 0.9351701736450195, -0.6230285167694092, -1.2841167449951172, 0.5807098746299744, 1.0748056173324585, -1.2332175970077515, 0.8369576930999756, -0.13307729363441467, -0.45132601261138916, 0.678440272808075, 1.4418363571166992, 0.36541229486465454, -2.097022294998169, 0.8768922686576843, -0.9090160131454468, 0.7483055591583252, 0.7047427296638489, 0.7258909940719604, 0.2901836037635803, 0.7592995762825012, -1.204142689704895, -1.096944808959961, -0.8015404343605042, -0.6597757339477539, 1.8855774402618408, -0.2400132417678833, 0.45770561695098877, -0.13819074630737305, -1.2455402612686157, -0.06707997620105743, 0.7311781644821167, 0.40463486313819885, -0.454145222902298, 0.7983196377754211, -0.5717000365257263, -1.1068345308303833, -1.2697951793670654, -0.5133864283561707, -0.9977111220359802, -0.9505197405815125, 0.9269458651542664, 0.7458670735359192, 0.4336887300014496, 1.9125429391860962, 0.7074382305145264, 0.19137829542160034, -2.6653168201446533, 0.883232057094574, 0.25849196314811707, -0.00452974159270525, 0.9137047529220581, 0.3266407251358032, 1.1915582418441772, 0.013100014999508858, 0.5700305104255676, -2.3556201457977295, 2.2502293586730957, -0.2439371943473816, 0.6738046407699585, 0.015200411900877953, -0.20143121480941772, 1.1203962564468384, 0.5567081570625305, 0.5494130253791809, -1.005645990371704, 0.6757294535636902, -0.6711804270744324, 1.1086279153823853, 0.9111788272857666, -0.877856969833374, 0.10674253106117249, 1.3728443384170532, 0.4470236897468567, -0.46733084321022034, -1.020060420036316, -0.8093932867050171, 0.9842750430107117, 1.6992955207824707, -0.0857340395450592, 0.06154513731598854, 0.8480291962623596, 0.5511873960494995, -1.2804111242294312, 0.03667780011892319, -0.7437053322792053, -0.7840120792388916, 1.72823965549469, 2.0710701942443848, -0.16084161400794983, -0.0984192043542862, -0.7542058825492859, -1.2603399753570557, 0.7528377771377563, -0.11075334250926971, 0.09571228921413422, 0.6579746603965759, -0.6665146350860596, 1.184036135673523, 0.6269874572753906, 0.9766323566436768, 0.13480685651302338, 0.40387824177742004, 0.270565927028656, -0.3618817925453186, -1.1483336687088013, -0.3148599863052368, -1.1160694360733032, -2.5314900875091553, 0.46331971883773804, -0.21813592314720154, -1.4803186655044556, 0.08113113045692444, -1.0139659643173218, 0.9293176531791687, -0.533290684223175, -1.0450198650360107, -1.4712915420532227, 0.36009135842323303, -0.1264858990907669, 1.049453854560852, -1.6404669284820557, -0.08784732222557068, 1.2517398595809937, 0.9165748953819275, -0.6764382123947144, 1.0082069635391235, 0.33768898248672485, 1.0459301471710205, 0.7747937440872192, -0.3639306128025055, 0.5350072383880615, 0.0156343262642622, -1.263259768486023, 0.4591408371925354, 1.2592999935150146, 0.1844491958618164, 1.366786003112793, -0.43275484442710876, 0.03511397913098335, 0.37444958090782166, -0.49329954385757446, -0.4385749399662018, -0.43594157695770264, 0.5758647322654724, 0.18396300077438354, -0.9993481636047363, -0.12536637485027313, -0.1016562283039093, -0.24754785001277924, 0.2478177845478058, -1.5450479984283447, -0.24218522012233734, -0.3520031273365021, -0.44887736439704895, -1.2377227544784546, 0.03068975731730461, 1.3071486949920654, -0.7387897968292236, -0.23712362349033356, 0.42070692777633667, 0.3774493932723999, 0.6003992557525635, 0.6480018496513367, -0.7062005996704102, -0.36039942502975464, -0.29961928725242615, -0.3520713746547699, 0.20357270538806915, 1.280158281326294, -0.10643042623996735, -1.0249000787734985, 0.7401093244552612, -0.40343597531318665, 0.12470880150794983, 1.8932814598083496, -0.015954922884702682, -0.7783485054969788, 0.3015712797641754, -0.7116857767105103, 1.8790963888168335, 1.7098374366760254, 1.2365981340408325, -0.15914934873580933, -0.8449519276618958, 0.5841638445854187, -0.290793776512146, -0.293080598115921, 0.8460240960121155, 0.42209404706954956, -0.2212068736553192, -1.4191677570343018, 0.5420708060264587, 1.349435567855835, -0.8128151893615723, -0.7753151059150696, 0.10717004537582397, -0.863767683506012, 1.1143280267715454, 0.6828751564025879, 0.3925439715385437, 0.27419131994247437, 1.5274899005889893, 0.7283376455307007, -0.5771691203117371, 0.5927455425262451, 0.4841245412826538, -0.12760835886001587, -2.122321605682373, -1.1012910604476929, 0.258904367685318, -0.36470386385917664, -1.7015300989151, 1.365963101387024, -1.0637582540512085, -0.9620972871780396, 0.5397278666496277, 0.1134827733039856, 1.2892085313796997, 0.4137907028198242, 1.6473921537399292, 2.0114474296569824, 0.8947442173957825, 0.35171380639076233, 1.2422142028808594, -0.0611201673746109, -0.49405038356781006, 1.8780463933944702, -0.4567134380340576, 0.5010201334953308, 1.0089929103851318, -0.3639259934425354, -1.017685055732727, -0.7820195555686951, -1.2589802742004395, -0.6435863971710205, 1.0617042779922485, 0.058276694267988205, -1.2508596181869507, 0.24530631303787231, 1.6217169761657715, 0.1325656622648239, -0.3044999837875366, 0.7559892535209656, 0.40991055965423584, -0.81133633852005, -0.08073060214519501, -0.8727933764457703, 0.47835299372673035, -0.08197960257530212, -0.25221601128578186, 0.24766656756401062, 0.5373859405517578, 1.3344807624816895, -0.03303080052137375, 0.08285394310951233, 1.1441196203231812, -1.4536789655685425, 1.531479001045227, -0.6307648420333862, 0.272596150636673, -2.453918218612671, 1.3682745695114136, -0.698513925075531, 1.8082524538040161, -2.585505485534668, 0.42245927453041077, -0.574871838092804, -0.5274269580841064, 0.24785232543945312, -0.3149969279766083, 0.1852339208126068, -0.09032873809337616, -0.9624926447868347, -0.020854054018855095, -0.7036918997764587, 0.5209851264953613, 1.1515029668807983, 1.345179557800293, -1.0529037714004517, -0.22656956315040588, -1.7581169605255127, -0.1368972808122635, -0.6206890344619751, 0.30290737748146057, -1.9793797731399536, -0.13881981372833252, -1.977001667022705, -2.2970478534698486, -1.5179328918457031, -0.9114532470703125, 1.0455998182296753, 0.21255874633789062, -1.0516704320907593, 1.1770824193954468, -0.34705886244773865, -1.7169824838638306, 1.1143221855163574, -2.171542167663574 ]
https://github.com/huggingface/datasets/issues/4000
load_dataset error: sndfile library not found
@albertvillanova thanks, all good. The key is ```libsndfile1``` - it may help others to note that in your docs. I had installed libsndfile previously.
## Describe the bug Can't load ami dataset ## Steps to reproduce the bug ``` python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])" ``` ## Expected results ## Actual results Downloading and preparing dataset ami/headset-single (download: 10.71 GiB, generated: 49.99 MiB, post-processed: Unknown size, total: 10.76 GiB) to /home/neo/.cache/huggingface/datasets/ami/headset-single/1.6.2/2accdf810f7c0585f78f4bcfa47684fbb980e35d29ecf126e6906dbecb872d9e... AMI corpus cannot be downloaded using multi-processing. Setting number of downloaded processes `num_proc` to 1. 100%|██████████████████████████████████████████████████████| 136/136 [00:00<00:00, 36004.88it/s] 100%|█████████████████████████████████████████████████████████| 136/136 [00:01<00:00, 79.10it/s] 100%|████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 25343.23it/s] 100%|█████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 2874.78it/s] 100%|████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 27950.38it/s] 100%|█████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 2892.25it/s] Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/load.py", line 1707, in load_dataset use_auth_token=use_auth_token, File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/builder.py", line 595, in download_and_prepare dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/builder.py", line 690, in _download_and_prepare ) from None OSError: Cannot find data file. Original error: sndfile library not found ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-4.19.0-18-cloud-amd64-x86_64-with-debian-10.11 - Python version: 3.7.3 - PyArrow version: 7.0.0
860
24
load_dataset error: sndfile library not found ## Describe the bug Can't load ami dataset ## Steps to reproduce the bug ``` python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])" ``` ## Expected results ## Actual results Downloading and preparing dataset ami/headset-single (download: 10.71 GiB, generated: 49.99 MiB, post-processed: Unknown size, total: 10.76 GiB) to /home/neo/.cache/huggingface/datasets/ami/headset-single/1.6.2/2accdf810f7c0585f78f4bcfa47684fbb980e35d29ecf126e6906dbecb872d9e... AMI corpus cannot be downloaded using multi-processing. Setting number of downloaded processes `num_proc` to 1. 100%|██████████████████████████████████████████████████████| 136/136 [00:00<00:00, 36004.88it/s] 100%|█████████████████████████████████████████████████████████| 136/136 [00:01<00:00, 79.10it/s] 100%|████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 25343.23it/s] 100%|█████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 2874.78it/s] 100%|████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 27950.38it/s] 100%|█████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 2892.25it/s] Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/load.py", line 1707, in load_dataset use_auth_token=use_auth_token, File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/builder.py", line 595, in download_and_prepare dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs File "/home/neo/.virtualenvs/hubert/lib/python3.7/site-packages/datasets/builder.py", line 690, in _download_and_prepare ) from None OSError: Cannot find data file. Original error: sndfile library not found ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-4.19.0-18-cloud-amd64-x86_64-with-debian-10.11 - Python version: 3.7.3 - PyArrow version: 7.0.0 @albertvillanova thanks, all good. The key is ```libsndfile1``` - it may help others to note that in your docs. I had installed libsndfile previously.
[ -1.18839693069458, -0.8216730952262878, -0.810173749923706, 1.4620776176452637, -0.13802462816238403, -1.2161316871643066, 0.1322791427373886, -1.113346815109253, 1.4970293045043945, -0.6584069132804871, 0.26160529255867004, -1.7246705293655396, -0.028475388884544373, -0.5246252417564392, -0.7808650135993958, -0.8691126108169556, -0.36870428919792175, -0.8194421529769897, 0.9735535383224487, 2.5858991146087646, 1.192024827003479, -1.3393592834472656, 2.7656636238098145, 0.615275502204895, -0.21303848922252655, -0.9869236350059509, 0.6303797960281372, 0.06931684911251068, -1.3048110008239746, -0.4471246600151062, -0.9423468708992004, -0.058185674250125885, -0.6040099859237671, -0.37626737356185913, 0.15610651671886444, 0.4532793164253235, -0.2647643983364105, -0.34422767162323, -0.5653312802314758, -0.7252699136734009, 0.5384687185287476, -0.3378458619117737, 0.9846651554107666, -0.26382455229759216, 1.784041166305542, -0.6812899708747864, 0.33558905124664307, 0.729966402053833, 1.2881678342819214, 0.14794133603572845, 0.09213991463184357, 0.3731951415538788, 0.3641221523284912, 0.06371358036994934, 0.43837970495224, 1.2311732769012451, 0.5847927927970886, 0.4049580693244934, 0.7748777866363525, -2.1330180168151855, 1.2757558822631836, -0.9158815145492554, 0.32565250992774963, 1.3147013187408447, -0.7981371879577637, 0.3604779839515686, -1.8183815479278564, -0.0804186761379242, 0.5918707251548767, -2.184429168701172, 0.30579516291618347, -1.314233660697937, -0.5195305943489075, 0.8521522879600525, 0.32961830496788025, -1.203674554824829, 0.17190547287464142, -0.5728978514671326, 1.022564172744751, 0.40597495436668396, 1.1183303594589233, -1.6521689891815186, 0.036921508610248566, -0.21082468330860138, 0.14116784930229187, -1.2756245136260986, -1.528186559677124, 0.6337698698043823, 0.5493291020393372, 0.6909691691398621, -0.11053381860256195, 0.9768428206443787, -1.013136625289917, 0.8680500388145447, -0.9862403273582458, -1.7263470888137817, -1.3448954820632935, -2.328374147415161, -2.310582399368286, 0.7950208187103271, -0.4237746000289917, -0.5019187927246094, 2.0572564601898193, -0.8672010898590088, -1.7446988821029663, 1.0360690355300903, 0.3059675395488739, -0.03333603963255882, 2.451633930206299, 0.2775419056415558, -0.8194888234138489, 0.4711078703403473, -0.7111056447029114, 0.8152220249176025, -0.28969651460647583, 1.3830679655075073, 0.4439186155796051, -0.9038571119308472, 1.5712124109268188, -0.472662091255188, 0.5088592767715454, -0.719387412071228, -0.49555402994155884, -0.8552209138870239, 0.2148941159248352, 1.9303412437438965, -0.33349427580833435, 1.5432995557785034, -0.301246702671051, -1.606366753578186, -1.4818884134292603, 0.8119351863861084, 0.5243968963623047, -0.873096227645874, 0.04623780772089958, -0.41937464475631714, 0.11257573962211609, 0.015658605843782425, 1.0999196767807007, 1.2761106491088867, 0.7391777634620667, -0.3077555298805237, -0.9214380979537964, 0.18182605504989624, -0.22402875125408173, -0.777633786201477, -1.8473106622695923, -0.3294769823551178, 0.18544651567935944, 0.7027699947357178, -1.3063398599624634, 1.7262942790985107, 0.8773269057273865, 2.006617307662964, 0.9727469682693481, -0.4458465874195099, 1.4915049076080322, -0.015271990559995174, 1.8772633075714111, -0.5423466563224792, 0.5788007974624634, -0.4556693732738495, -1.126846194267273, 0.9102851748466492, -0.2301723062992096, -1.9705184698104858, -0.811903178691864, -0.8507317900657654, -0.24059072136878967, -0.7823723554611206, 0.8921452164649963, -0.30304354429244995, -1.4790594577789307, 0.23591715097427368, -0.7311327457427979, 0.09002053737640381, -1.2326616048812866, 0.22234244644641876, 0.6726424694061279, -0.6561015844345093, 0.011026522144675255, -0.2034597396850586, -1.3946781158447266, -0.5298820734024048, 0.252490758895874, 1.918750524520874, -0.6798112988471985, 0.9062290191650391, 1.0555400848388672, -0.6768229603767395, 0.07601936161518097, 0.2896270751953125, -0.35422107577323914, 0.7499310374259949, -1.2522485256195068, -0.4509837031364441, 1.133012294769287, -0.09130315482616425, -0.585760772228241, 1.4168117046356201, 0.792008638381958, -1.1115021705627441, -0.22378596663475037, -0.1590961515903473, -0.8490287065505981, 0.03463631123304367, -1.5942628383636475, -0.21419040858745575, 0.41913041472435, -1.4702880382537842, -0.4312690794467926, -0.20460912585258484, 1.2366021871566772, -0.179045170545578, 1.5016363859176636, -0.32688766717910767, -0.1976960301399231, -0.3623446524143219, -0.48412322998046875, 0.0952441394329071, -0.266079843044281, -0.609924852848053, 0.18212878704071045, -0.8215514421463013, 0.3324839472770691, 1.5004467964172363, 0.26963531970977783, 0.04767194017767906, 0.46768778562545776, 1.0986931324005127, 0.37604820728302, 0.12126289308071136, -0.8429270386695862, -1.5581659078598022, 2.0357325077056885, -1.560073733329773, 1.909559965133667, 0.8161408305168152, 0.025328833609819412, -1.8566617965698242, -1.8094170093536377, 1.3606376647949219, 1.1514397859573364, 2.4141814708709717, 0.5780006647109985, 0.476925253868103, -0.7480789422988892, -0.6990115642547607, 0.3058253228664398, -1.0108202695846558, -0.662248969078064, 0.26022469997406006, 2.458897352218628, 1.795250654220581, -0.5455794334411621, -0.1822616308927536, -0.8825738430023193, 1.3201546669006348, -0.14228039979934692, 0.15675006806850433, 2.0765249729156494, -0.20835836231708527, -1.036886215209961, 1.2751933336257935, -2.3317973613739014, 0.2567298710346222, 2.104351043701172, 0.28805503249168396, 0.13236881792545319, -1.417927861213684, -0.6692402958869934, -0.32297736406326294, -0.432941198348999, -1.2693175077438354, 0.5937180519104004, -0.27694422006607056, -0.8885235786437988, -1.4816899299621582, -0.007614350412040949, -1.2147146463394165, -1.688201665878296, 0.29091745615005493, 1.9463558197021484, 2.10197114944458, -0.724034309387207, 1.4864356517791748, -0.3261324167251587, 0.09155264496803284, 1.219154715538025, 1.29024076461792, 3.0391788482666016, 1.8800013065338135, -1.2184919118881226, 0.7073430418968201, -0.17418907582759857, -0.5035425424575806, 1.0750408172607422, -1.1385810375213623, 1.0925333499908447, -0.22309446334838867, -1.2422038316726685, -1.1830672025680542, 1.066868782043457, 0.4101136028766632, 0.023781996220350266, -0.5181176066398621, 1.2889699935913086, 0.12490275502204895, 1.265906810760498, 0.6262171864509583, -0.31368619203567505, 0.5089601278305054, -0.3626551330089569, -0.5186944007873535, 1.6818400621414185, 0.24316716194152832, -1.486742377281189, -2.4738945960998535, -0.2668915390968323, -0.9069476127624512, 0.0035550426691770554, -0.5791912078857422, -1.1263649463653564, 1.595764398574829, 0.38286009430885315, -1.234021544456482, -0.27408188581466675, -0.28326302766799927, -0.6172923445701599, 2.632002353668213, -1.3716518878936768, -0.14765681326389313, -0.9221528768539429, -0.5724882483482361, 1.6721004247665405, -1.181458830833435, -0.20216602087020874, -1.1101945638656616, -0.5462582111358643, -1.2835053205490112, -0.5352820754051208, 0.05302679166197777, -0.8944794535636902, 0.7521782517433167, 0.13462142646312714, -1.1305075883865356, -0.2856748700141907, -0.9079523086547852, 1.0542078018188477, -0.06777697801589966, 0.13373646140098572, 1.8809927701950073, 0.4038178026676178, -0.4394738972187042, 0.7305904626846313, 1.2396432161331177, 0.5978255867958069, -0.7205455899238586, 0.020435640588402748, -0.7125734090805054, 0.23086661100387573, -1.4225343465805054, 0.21538938581943512, -2.8460922241210938, 0.7349912524223328, -0.13206720352172852, -0.062201354652643204, 0.0034756604582071304, -1.2657804489135742, 1.1878200769424438, 2.600048542022705, -1.1750662326812744, 0.5065949559211731, 0.3227486312389374, 1.1851295232772827, -1.5818123817443848, 0.27086734771728516, -0.43465232849121094, 2.025832176208496, 0.10207471251487732, 1.2382581233978271, -0.5515590906143188, -2.2472805976867676, 0.6042946577072144, -1.2608884572982788, -1.0676535367965698, 0.8225580453872681, -0.8499626517295837, 0.2330496609210968, -1.4713258743286133, -0.24817895889282227, -1.0129623413085938, -1.2788957357406616, 0.7283123731613159, 0.11084043979644775, 0.44650545716285706, -0.4807743430137634, 0.3150181770324707, -2.2211508750915527, -1.4528439044952393, -0.15198515355587006, -1.0103353261947632, 0.5698630809783936, -0.3472438454627991, 0.7219443917274475, -0.08571675419807434, 0.08047868311405182, 0.33893725275993347, 1.419870376586914, 3.373884677886963, 0.11527317762374878, 0.26666146516799927, -0.12916764616966248, -1.026820182800293, 1.3043540716171265, 0.9729120135307312, -0.1330467313528061, -0.547279417514801, -0.9473390579223633, 1.1755269765853882, 2.0675435066223145, 1.0496712923049927, 0.02315492182970047, -0.8585631847381592, -0.7224076390266418, 0.08209185302257538, 0.2531680166721344, 0.5692338943481445, 0.9620504975318909, -0.042130012065172195, 0.0730225145816803, 1.409993290901184, 1.0851287841796875, -0.4053642153739929, 0.38807156682014465, -0.9217627048492432, -0.4191991090774536, 0.4798260033130646, 0.19580228626728058, 0.03444807976484299, 0.47179025411605835, -1.0866836309432983, -0.27222350239753723, -0.31221717596054077, -0.9580984115600586, -0.7094356417655945, -0.4289804697036743, -0.3804127871990204, 1.5816993713378906, 0.1092616617679596, -0.4876810908317566, 0.09784223139286041, -0.6563766002655029, -0.1331292688846588, -1.164243459701538, 0.19339284300804138, -0.20124192535877228, -0.03765171021223068, -0.09818178415298462, 1.8385770320892334, -0.936138391494751, -2.064772844314575, 0.15108734369277954, 0.3551119267940521, -0.29758259654045105, 0.2275875359773636, 1.6794813871383667, 0.6336801648139954, 1.3878262042999268, 1.3123865127563477, 0.9351701736450195, -0.6230285167694092, -1.2841167449951172, 0.5807098746299744, 1.0748056173324585, -1.2332175970077515, 0.8369576930999756, -0.13307729363441467, -0.45132601261138916, 0.678440272808075, 1.4418363571166992, 0.36541229486465454, -2.097022294998169, 0.8768922686576843, -0.9090160131454468, 0.7483055591583252, 0.7047427296638489, 0.7258909940719604, 0.2901836037635803, 0.7592995762825012, -1.204142689704895, -1.096944808959961, -0.8015404343605042, -0.6597757339477539, 1.8855774402618408, -0.2400132417678833, 0.45770561695098877, -0.13819074630737305, -1.2455402612686157, -0.06707997620105743, 0.7311781644821167, 0.40463486313819885, -0.454145222902298, 0.7983196377754211, -0.5717000365257263, -1.1068345308303833, -1.2697951793670654, -0.5133864283561707, -0.9977111220359802, -0.9505197405815125, 0.9269458651542664, 0.7458670735359192, 0.4336887300014496, 1.9125429391860962, 0.7074382305145264, 0.19137829542160034, -2.6653168201446533, 0.883232057094574, 0.25849196314811707, -0.00452974159270525, 0.9137047529220581, 0.3266407251358032, 1.1915582418441772, 0.013100014999508858, 0.5700305104255676, -2.3556201457977295, 2.2502293586730957, -0.2439371943473816, 0.6738046407699585, 0.015200411900877953, -0.20143121480941772, 1.1203962564468384, 0.5567081570625305, 0.5494130253791809, -1.005645990371704, 0.6757294535636902, -0.6711804270744324, 1.1086279153823853, 0.9111788272857666, -0.877856969833374, 0.10674253106117249, 1.3728443384170532, 0.4470236897468567, -0.46733084321022034, -1.020060420036316, -0.8093932867050171, 0.9842750430107117, 1.6992955207824707, -0.0857340395450592, 0.06154513731598854, 0.8480291962623596, 0.5511873960494995, -1.2804111242294312, 0.03667780011892319, -0.7437053322792053, -0.7840120792388916, 1.72823965549469, 2.0710701942443848, -0.16084161400794983, -0.0984192043542862, -0.7542058825492859, -1.2603399753570557, 0.7528377771377563, -0.11075334250926971, 0.09571228921413422, 0.6579746603965759, -0.6665146350860596, 1.184036135673523, 0.6269874572753906, 0.9766323566436768, 0.13480685651302338, 0.40387824177742004, 0.270565927028656, -0.3618817925453186, -1.1483336687088013, -0.3148599863052368, -1.1160694360733032, -2.5314900875091553, 0.46331971883773804, -0.21813592314720154, -1.4803186655044556, 0.08113113045692444, -1.0139659643173218, 0.9293176531791687, -0.533290684223175, -1.0450198650360107, -1.4712915420532227, 0.36009135842323303, -0.1264858990907669, 1.049453854560852, -1.6404669284820557, -0.08784732222557068, 1.2517398595809937, 0.9165748953819275, -0.6764382123947144, 1.0082069635391235, 0.33768898248672485, 1.0459301471710205, 0.7747937440872192, -0.3639306128025055, 0.5350072383880615, 0.0156343262642622, -1.263259768486023, 0.4591408371925354, 1.2592999935150146, 0.1844491958618164, 1.366786003112793, -0.43275484442710876, 0.03511397913098335, 0.37444958090782166, -0.49329954385757446, -0.4385749399662018, -0.43594157695770264, 0.5758647322654724, 0.18396300077438354, -0.9993481636047363, -0.12536637485027313, -0.1016562283039093, -0.24754785001277924, 0.2478177845478058, -1.5450479984283447, -0.24218522012233734, -0.3520031273365021, -0.44887736439704895, -1.2377227544784546, 0.03068975731730461, 1.3071486949920654, -0.7387897968292236, -0.23712362349033356, 0.42070692777633667, 0.3774493932723999, 0.6003992557525635, 0.6480018496513367, -0.7062005996704102, -0.36039942502975464, -0.29961928725242615, -0.3520713746547699, 0.20357270538806915, 1.280158281326294, -0.10643042623996735, -1.0249000787734985, 0.7401093244552612, -0.40343597531318665, 0.12470880150794983, 1.8932814598083496, -0.015954922884702682, -0.7783485054969788, 0.3015712797641754, -0.7116857767105103, 1.8790963888168335, 1.7098374366760254, 1.2365981340408325, -0.15914934873580933, -0.8449519276618958, 0.5841638445854187, -0.290793776512146, -0.293080598115921, 0.8460240960121155, 0.42209404706954956, -0.2212068736553192, -1.4191677570343018, 0.5420708060264587, 1.349435567855835, -0.8128151893615723, -0.7753151059150696, 0.10717004537582397, -0.863767683506012, 1.1143280267715454, 0.6828751564025879, 0.3925439715385437, 0.27419131994247437, 1.5274899005889893, 0.7283376455307007, -0.5771691203117371, 0.5927455425262451, 0.4841245412826538, -0.12760835886001587, -2.122321605682373, -1.1012910604476929, 0.258904367685318, -0.36470386385917664, -1.7015300989151, 1.365963101387024, -1.0637582540512085, -0.9620972871780396, 0.5397278666496277, 0.1134827733039856, 1.2892085313796997, 0.4137907028198242, 1.6473921537399292, 2.0114474296569824, 0.8947442173957825, 0.35171380639076233, 1.2422142028808594, -0.0611201673746109, -0.49405038356781006, 1.8780463933944702, -0.4567134380340576, 0.5010201334953308, 1.0089929103851318, -0.3639259934425354, -1.017685055732727, -0.7820195555686951, -1.2589802742004395, -0.6435863971710205, 1.0617042779922485, 0.058276694267988205, -1.2508596181869507, 0.24530631303787231, 1.6217169761657715, 0.1325656622648239, -0.3044999837875366, 0.7559892535209656, 0.40991055965423584, -0.81133633852005, -0.08073060214519501, -0.8727933764457703, 0.47835299372673035, -0.08197960257530212, -0.25221601128578186, 0.24766656756401062, 0.5373859405517578, 1.3344807624816895, -0.03303080052137375, 0.08285394310951233, 1.1441196203231812, -1.4536789655685425, 1.531479001045227, -0.6307648420333862, 0.272596150636673, -2.453918218612671, 1.3682745695114136, -0.698513925075531, 1.8082524538040161, -2.585505485534668, 0.42245927453041077, -0.574871838092804, -0.5274269580841064, 0.24785232543945312, -0.3149969279766083, 0.1852339208126068, -0.09032873809337616, -0.9624926447868347, -0.020854054018855095, -0.7036918997764587, 0.5209851264953613, 1.1515029668807983, 1.345179557800293, -1.0529037714004517, -0.22656956315040588, -1.7581169605255127, -0.1368972808122635, -0.6206890344619751, 0.30290737748146057, -1.9793797731399536, -0.13881981372833252, -1.977001667022705, -2.2970478534698486, -1.5179328918457031, -0.9114532470703125, 1.0455998182296753, 0.21255874633789062, -1.0516704320907593, 1.1770824193954468, -0.34705886244773865, -1.7169824838638306, 1.1143221855163574, -2.171542167663574 ]
https://github.com/huggingface/datasets/issues/3996
Audio.encode_example() throws an error when writing example from array
Thanks @polinaeterna for reporting this issue. In relation to the decoding of MP3 audio files without torchaudio, I remember Patrick made some tests and these had quite bad performance. That is why he proposed to support MP3 files only with torchaudio. But yes, nice to give an alternative to non-torchaudio users (with a big warning on performance).
## Describe the bug When trying to do `Audio().encode_example()` with preexisting array (see [this line](https://github.com/huggingface/datasets/blob/master/src/datasets/features/audio.py#L73)), `sf.write()` throws you an error: `TypeError: No format specified and unable to get format from file extension: <_io.BytesIO object at 0x7f4218c0db30>` ## Steps to reproduce the bug ### Sample code to reproduce the bug ```python # download sample file !wget https://huggingface.co/datasets/polinaeterna/test_encode_example/resolve/main/common_voice_vi_21824030.mp3 arr, sr = librosa.load("common_voice_vi_21824030.mp3") Audio().encode_example({ "path": "common_voice_vi_21824030.mp3", "array": arr, "sampling_rate":sr }) ``` ## Expected results An encoded example (`{"bytes": b'....', "path": 'path'}`) ## Actual results ```python TypeError Traceback (most recent call last) Input In [3], in <module> 1 arr, sr = librosa.load("common_voice_vi_21824030.mp3") ----> 3 Audio().encode_example({ 4 "path": "common_voice_vi_21824030.mp3", 5 "array": arr, 6 "sampling_rate":sr 7 }) File ~/workspace/datasets/src/datasets/features/audio.py:75, in Audio.encode_example(self, value) 73 elif isinstance(value, dict) and "array" in value: 74 buffer = BytesIO() ---> 75 sf.write(buffer, value["array"], value["sampling_rate"]) 76 return {"bytes": buffer.getvalue(), "path": value.get("path")} 77 elif value.get("bytes") is not None or value.get("path") is not None: File ~/miniconda3/envs/datasets/lib/python3.8/site-packages/soundfile.py:314, in write(file, data, samplerate, subtype, endian, format, closefd) 312 else: 313 channels = data.shape[1] --> 314 with SoundFile(file, 'w', samplerate, channels, 315 subtype, endian, format, closefd) as f: 316 f.write(data) File ~/miniconda3/envs/datasets/lib/python3.8/site-packages/soundfile.py:627, in SoundFile.__init__(self, file, mode, samplerate, channels, subtype, endian, format, closefd) 625 mode_int = _check_mode(mode) 626 self._mode = mode --> 627 self._info = _create_info_struct(file, mode, samplerate, channels, 628 format, subtype, endian) 629 self._file = self._open(file, mode_int, closefd) 630 if set(mode).issuperset('r+') and self.seekable(): 631 # Move write position to 0 (like in Python file objects) File ~/miniconda3/envs/datasets/lib/python3.8/site-packages/soundfile.py:1416, in _create_info_struct(file, mode, samplerate, channels, format, subtype, endian) 1414 original_format = format 1415 if format is None: -> 1416 format = _get_format_from_filename(file, mode) 1417 assert isinstance(format, (_unicode, str)) 1418 else: File ~/miniconda3/envs/datasets/lib/python3.8/site-packages/soundfile.py:1457, in _get_format_from_filename(file, mode) 1455 pass 1456 if format.upper() not in _formats and 'r' not in mode: -> 1457 raise TypeError("No format specified and unable to get format from " 1458 "file extension: {0!r}".format(file)) 1459 return format TypeError: No format specified and unable to get format from file extension: <_io.BytesIO object at 0x7fd8daf88180> ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: datasets master - Platform: Ubuntu 20.04 - Python version: python 3.8.12 - PyArrow version: 6.0.1 ## Solution I guess we just need to add `format` arg in [this line](https://github.com/huggingface/datasets/blob/master/src/datasets/features/audio.py#L75) like this: ```python sf.write(buffer, value["array"], value["sampling_rate"], format="wav") ``` BTW discovered this when trying to decode audio in mp3 format without torchaudio (would be useful for TensorFlow users), like this: ```python from datasets import load_dataset, Features, Audio ds = load_dataset("common_voice", "vi", split="test") ds = ds.remove_columns("audio") ds.select(range(3)) # 3 samples just for testing def load_mp3_with_librosa(example): arr, sr = librosa.load(example["path"]) example["audio"] = { "path": example["path"], "array": arr, "sampling_rate": sr } return example updated_dataset = ds.map(lambda example: load_mp3_with_librosa(example), features=Features( {"audio": Audio(decode=False)} )) ``` @lhoestq @mariosasko @albertvillanova am I right in my logic? do we agree that we can set wav as the format? 🤗
861
57
Audio.encode_example() throws an error when writing example from array ## Describe the bug When trying to do `Audio().encode_example()` with preexisting array (see [this line](https://github.com/huggingface/datasets/blob/master/src/datasets/features/audio.py#L73)), `sf.write()` throws you an error: `TypeError: No format specified and unable to get format from file extension: <_io.BytesIO object at 0x7f4218c0db30>` ## Steps to reproduce the bug ### Sample code to reproduce the bug ```python # download sample file !wget https://huggingface.co/datasets/polinaeterna/test_encode_example/resolve/main/common_voice_vi_21824030.mp3 arr, sr = librosa.load("common_voice_vi_21824030.mp3") Audio().encode_example({ "path": "common_voice_vi_21824030.mp3", "array": arr, "sampling_rate":sr }) ``` ## Expected results An encoded example (`{"bytes": b'....', "path": 'path'}`) ## Actual results ```python TypeError Traceback (most recent call last) Input In [3], in <module> 1 arr, sr = librosa.load("common_voice_vi_21824030.mp3") ----> 3 Audio().encode_example({ 4 "path": "common_voice_vi_21824030.mp3", 5 "array": arr, 6 "sampling_rate":sr 7 }) File ~/workspace/datasets/src/datasets/features/audio.py:75, in Audio.encode_example(self, value) 73 elif isinstance(value, dict) and "array" in value: 74 buffer = BytesIO() ---> 75 sf.write(buffer, value["array"], value["sampling_rate"]) 76 return {"bytes": buffer.getvalue(), "path": value.get("path")} 77 elif value.get("bytes") is not None or value.get("path") is not None: File ~/miniconda3/envs/datasets/lib/python3.8/site-packages/soundfile.py:314, in write(file, data, samplerate, subtype, endian, format, closefd) 312 else: 313 channels = data.shape[1] --> 314 with SoundFile(file, 'w', samplerate, channels, 315 subtype, endian, format, closefd) as f: 316 f.write(data) File ~/miniconda3/envs/datasets/lib/python3.8/site-packages/soundfile.py:627, in SoundFile.__init__(self, file, mode, samplerate, channels, subtype, endian, format, closefd) 625 mode_int = _check_mode(mode) 626 self._mode = mode --> 627 self._info = _create_info_struct(file, mode, samplerate, channels, 628 format, subtype, endian) 629 self._file = self._open(file, mode_int, closefd) 630 if set(mode).issuperset('r+') and self.seekable(): 631 # Move write position to 0 (like in Python file objects) File ~/miniconda3/envs/datasets/lib/python3.8/site-packages/soundfile.py:1416, in _create_info_struct(file, mode, samplerate, channels, format, subtype, endian) 1414 original_format = format 1415 if format is None: -> 1416 format = _get_format_from_filename(file, mode) 1417 assert isinstance(format, (_unicode, str)) 1418 else: File ~/miniconda3/envs/datasets/lib/python3.8/site-packages/soundfile.py:1457, in _get_format_from_filename(file, mode) 1455 pass 1456 if format.upper() not in _formats and 'r' not in mode: -> 1457 raise TypeError("No format specified and unable to get format from " 1458 "file extension: {0!r}".format(file)) 1459 return format TypeError: No format specified and unable to get format from file extension: <_io.BytesIO object at 0x7fd8daf88180> ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: datasets master - Platform: Ubuntu 20.04 - Python version: python 3.8.12 - PyArrow version: 6.0.1 ## Solution I guess we just need to add `format` arg in [this line](https://github.com/huggingface/datasets/blob/master/src/datasets/features/audio.py#L75) like this: ```python sf.write(buffer, value["array"], value["sampling_rate"], format="wav") ``` BTW discovered this when trying to decode audio in mp3 format without torchaudio (would be useful for TensorFlow users), like this: ```python from datasets import load_dataset, Features, Audio ds = load_dataset("common_voice", "vi", split="test") ds = ds.remove_columns("audio") ds.select(range(3)) # 3 samples just for testing def load_mp3_with_librosa(example): arr, sr = librosa.load(example["path"]) example["audio"] = { "path": example["path"], "array": arr, "sampling_rate": sr } return example updated_dataset = ds.map(lambda example: load_mp3_with_librosa(example), features=Features( {"audio": Audio(decode=False)} )) ``` @lhoestq @mariosasko @albertvillanova am I right in my logic? do we agree that we can set wav as the format? 🤗 Thanks @polinaeterna for reporting this issue. In relation to the decoding of MP3 audio files without torchaudio, I remember Patrick made some tests and these had quite bad performance. That is why he proposed to support MP3 files only with torchaudio. But yes, nice to give an alternative to non-torchaudio users (with a big warning on performance).
[ -1.1881970167160034, -0.9173014163970947, -0.6773687601089478, 1.5890597105026245, -0.16949871182441711, -1.2110236883163452, 0.1570950299501419, -1.0415325164794922, 1.6284197568893433, -0.7279123067855835, 0.34777596592903137, -1.6866579055786133, -0.015505683608353138, -0.5639720559120178, -0.7391737103462219, -0.8689453601837158, -0.3962137997150421, -0.7037044763565063, 1.1053171157836914, 2.489229440689087, 1.3531690835952759, -1.310715675354004, 2.7575583457946777, 0.6752846837043762, -0.3389122784137726, -0.9843047857284546, 0.5160118341445923, -0.06159196048974991, -1.282865285873413, -0.5075729489326477, -0.9281531572341919, -0.09015529602766037, -0.4962097108364105, -0.43128514289855957, 0.01088874414563179, 0.49457117915153503, -0.2990470826625824, -0.40815412998199463, -0.6517273187637329, -0.8328837156295776, 0.43884408473968506, -0.37820813059806824, 0.8987746238708496, -0.33193475008010864, 1.7285993099212646, -0.7043172717094421, 0.4876001477241516, 0.6900349855422974, 1.344233751296997, 0.25785180926322937, 0.06499254703521729, 0.40492311120033264, 0.38572928309440613, -0.025775320827960968, 0.6241384744644165, 1.238559365272522, 0.6074820756912231, 0.4486415684223175, 0.7326449155807495, -2.182339906692505, 1.2260690927505493, -1.0276817083358765, 0.20784668624401093, 1.2871203422546387, -0.842650830745697, 0.26454976201057434, -1.753124713897705, -0.10561821609735489, 0.5636473298072815, -2.307213544845581, 0.28328680992126465, -1.3209919929504395, -0.5635634660720825, 1.003300428390503, 0.40926289558410645, -1.2220592498779297, 0.0904574766755104, -0.41183537244796753, 0.994673490524292, 0.39790797233581543, 1.044252872467041, -1.5865600109100342, -0.11355185508728027, -0.2219347059726715, 0.059057705104351044, -1.2089672088623047, -1.5719311237335205, 0.6149351000785828, 0.5156547427177429, 0.6140218377113342, -0.06749726086854935, 1.0408774614334106, -1.0397427082061768, 0.7679020166397095, -1.0141456127166748, -1.7566769123077393, -1.478182315826416, -2.29923152923584, -2.1874122619628906, 0.7397972941398621, -0.5396376848220825, -0.5017824172973633, 2.1238718032836914, -0.9501454830169678, -1.7661973237991333, 1.1441528797149658, 0.33157140016555786, 0.05219966173171997, 2.3940343856811523, 0.2123178094625473, -0.6941850781440735, 0.44926777482032776, -0.8014302253723145, 0.824450671672821, -0.337805837392807, 1.328227162361145, 0.415300190448761, -1.0286825895309448, 1.5496946573257446, -0.3324657380580902, 0.586494505405426, -0.5910845398902893, -0.4993108808994293, -0.653308093547821, 0.30242419242858887, 1.854072093963623, -0.3198917508125305, 1.5585293769836426, -0.31657418608665466, -1.5474954843521118, -1.555646538734436, 0.8469340801239014, 0.51823890209198, -0.82978755235672, 0.11223360896110535, -0.43450647592544556, 0.14685237407684326, -0.03274337947368622, 1.1566559076309204, 1.342911958694458, 0.6927751302719116, -0.357866495847702, -0.7787183523178101, 0.13646742701530457, -0.008507125079631805, -0.7175877094268799, -1.7167000770568848, -0.40258800983428955, 0.14375506341457367, 0.5870853662490845, -1.2272816896438599, 1.7415530681610107, 0.900901198387146, 1.9241187572479248, 1.0127885341644287, -0.34127113223075867, 1.5271625518798828, 0.10588958114385605, 1.8124674558639526, -0.5352879762649536, 0.5576876401901245, -0.4763748049736023, -1.147709608078003, 0.844502329826355, -0.39450326561927795, -2.1441898345947266, -0.8151008486747742, -0.6647447347640991, -0.15341460704803467, -0.8289453983306885, 0.9154287576675415, -0.29406192898750305, -1.3542734384536743, 0.1693979948759079, -0.8316602110862732, 0.12229985743761063, -1.2644538879394531, 0.28558582067489624, 0.615139365196228, -0.6111193895339966, 0.07336403429508209, -0.14182625710964203, -1.2546658515930176, -0.4298402667045593, 0.296944797039032, 1.927158236503601, -0.6821401119232178, 0.9129366278648376, 1.0543501377105713, -0.69782954454422, 0.011108599603176117, 0.2657107710838318, -0.3369480073451996, 0.8950941562652588, -0.9700654149055481, -0.47597789764404297, 1.2049548625946045, -0.22850817441940308, -0.6805634498596191, 1.4095052480697632, 0.6982081532478333, -1.0401631593704224, -0.2620278596878052, -0.1274668127298355, -0.8788036108016968, 0.04255665838718414, -1.55838942527771, -0.22150824964046478, 0.4640195369720459, -1.5223941802978516, -0.39455392956733704, -0.1657448709011078, 1.2957019805908203, -0.2089157998561859, 1.4561833143234253, -0.3386128842830658, -0.15119335055351257, -0.32137104868888855, -0.48673540353775024, 0.09651311486959457, -0.2673279047012329, -0.6587549448013306, 0.16719268262386322, -0.8125762343406677, 0.3885155916213989, 1.4696016311645508, 0.3143692910671234, 0.05686737596988678, 0.3945976793766022, 1.101252794265747, 0.41541603207588196, -0.11177780479192734, -0.9015416502952576, -1.541943907737732, 1.9754869937896729, -1.4429395198822021, 2.052619457244873, 0.7916069030761719, -0.04148001968860626, -1.744178056716919, -1.9264873266220093, 1.249731421470642, 1.176094889640808, 2.3195178508758545, 0.5271201729774475, 0.4487684965133667, -0.7538753151893616, -0.7576706409454346, 0.2623603343963623, -1.0163319110870361, -0.6718755960464478, 0.1737426221370697, 2.438352584838867, 1.7240530252456665, -0.4236850142478943, -0.17673401534557343, -0.9712527394294739, 1.3775365352630615, -0.21683953702449799, 0.2518918216228485, 1.9763997793197632, -0.22086285054683685, -1.0122309923171997, 1.278032898902893, -2.298649787902832, 0.2542724609375, 2.0655534267425537, 0.26897376775741577, 0.13924933969974518, -1.3887816667556763, -0.657960832118988, -0.39357075095176697, -0.4139423370361328, -1.2216167449951172, 0.523787260055542, -0.16635827720165253, -0.8632087111473083, -1.3587726354599, 0.017622876912355423, -1.209473967552185, -1.7122490406036377, 0.24117465317249298, 1.970702886581421, 2.0659544467926025, -0.739153265953064, 1.4774558544158936, -0.36530810594558716, -0.03768237307667732, 1.2156530618667603, 1.344689130783081, 3.0761890411376953, 1.9184821844100952, -1.3419523239135742, 0.6623784899711609, -0.20557181537151337, -0.45426055788993835, 1.1919955015182495, -1.188431978225708, 1.2426254749298096, -0.13587777316570282, -1.171068787574768, -1.2312040328979492, 0.9972947835922241, 0.44502148032188416, -0.07353474199771881, -0.5085344910621643, 1.1350953578948975, 0.09085723757743835, 1.3539355993270874, 0.6599206328392029, -0.3179333209991455, 0.6075458526611328, -0.3021804094314575, -0.507662296295166, 1.5763132572174072, 0.12835004925727844, -1.543891191482544, -2.312018394470215, -0.1774231642484665, -0.9309158325195312, 0.04509831964969635, -0.5537511110305786, -1.1449329853057861, 1.7085391283035278, 0.33622539043426514, -1.2859408855438232, -0.3000671863555908, -0.3128761053085327, -0.5024318099021912, 2.7955257892608643, -1.309914231300354, -0.17004895210266113, -0.9939774870872498, -0.6339512467384338, 1.6312083005905151, -1.1597002744674683, -0.18308806419372559, -0.9815352559089661, -0.5231108069419861, -1.2573124170303345, -0.4980171024799347, 0.06869177520275116, -1.0153617858886719, 0.8446784019470215, 0.2146879881620407, -1.220493197441101, -0.3011549413204193, -0.8580113649368286, 1.008229374885559, -0.14859610795974731, 0.12131325155496597, 1.9727649688720703, 0.33439111709594727, -0.3559068739414215, 0.7626216411590576, 1.2085951566696167, 0.6085197329521179, -0.5723986625671387, 0.12429416924715042, -0.6496402025222778, 0.3451554477214813, -1.433741569519043, 0.20383530855178833, -2.792762041091919, 0.6341268420219421, -0.08192024379968643, -0.13009580969810486, -0.03768722712993622, -1.3088085651397705, 1.064832329750061, 2.5515940189361572, -1.1600593328475952, 0.5092875957489014, 0.32190728187561035, 1.1829980611801147, -1.633456826210022, 0.23498164117336273, -0.45768246054649353, 2.1024277210235596, 0.2412741333246231, 1.2894269227981567, -0.5128920674324036, -2.2600855827331543, 0.6738091707229614, -1.3057870864868164, -1.0556637048721313, 0.7439820170402527, -0.8942620158195496, 0.2312244176864624, -1.426709532737732, -0.23926636576652527, -0.7899575233459473, -1.142316460609436, 0.6541768312454224, 0.12099698930978775, 0.4189639687538147, -0.5094004273414612, 0.3335016965866089, -2.232037305831909, -1.40113365650177, -0.17122964560985565, -0.9593452215194702, 0.5250639915466309, -0.4633581340312958, 0.6466273069381714, -0.17101320624351501, -0.04489760845899582, 0.3283297121524811, 1.5549678802490234, 3.4454281330108643, 0.18541045486927032, 0.2002110332250595, -0.2864321172237396, -0.9666846394538879, 1.4937090873718262, 0.8576195240020752, -0.14628860354423523, -0.5533466935157776, -1.0816855430603027, 1.3129734992980957, 1.96442449092865, 1.033098816871643, 0.06965284794569016, -0.9485026597976685, -0.8305535912513733, -0.1039176806807518, 0.19411543011665344, 0.4610023498535156, 0.9285877346992493, 0.054124876856803894, 0.03262843191623688, 1.4339734315872192, 1.175636649131775, -0.40838444232940674, 0.35364535450935364, -0.9211466908454895, -0.46204662322998047, 0.42395898699760437, 0.21166734397411346, -0.022771764546632767, 0.4864293932914734, -0.9411842823028564, -0.27380746603012085, -0.41273751854896545, -0.7696886658668518, -0.7804024815559387, -0.3691719174385071, -0.3935513198375702, 1.6324304342269897, 0.13553257286548615, -0.4719444811344147, 0.02341175265610218, -0.7320505976676941, -0.11527387797832489, -1.1067835092544556, 0.22854682803153992, -0.09033872187137604, -0.0656750500202179, -0.1561155617237091, 1.6317603588104248, -0.9115148186683655, -2.07228422164917, 0.21295499801635742, 0.23821596801280975, -0.2678883671760559, 0.20397478342056274, 1.6468141078948975, 0.5513445734977722, 1.4081789255142212, 1.329490065574646, 0.9199565052986145, -0.6501694917678833, -1.285640835762024, 0.6803130507469177, 0.99284827709198, -1.3666563034057617, 0.8965476751327515, -0.1907004565000534, -0.46781104803085327, 0.5863986611366272, 1.3776699304580688, 0.5134389996528625, -1.9731838703155518, 0.901444137096405, -0.8720658421516418, 0.858950138092041, 0.6848254203796387, 0.6957668662071228, 0.2988741397857666, 0.811420202255249, -1.2273696660995483, -1.1343718767166138, -0.6861218810081482, -0.6757740378379822, 1.9303206205368042, -0.32261574268341064, 0.5922650098800659, -0.27273309230804443, -1.2586030960083008, -0.1398717314004898, 0.696892499923706, 0.38148385286331177, -0.5203245878219604, 0.8052152991294861, -0.5535401701927185, -0.9693071246147156, -1.28662109375, -0.4255499541759491, -1.0654345750808716, -0.9467413425445557, 1.0151728391647339, 0.739260733127594, 0.41800597310066223, 1.8640879392623901, 0.6489698886871338, 0.30800896883010864, -2.5840718746185303, 0.9567390084266663, 0.29975205659866333, -0.055729545652866364, 0.8374572396278381, 0.3511773347854614, 1.113314151763916, -0.027546104043722153, 0.5658154487609863, -2.347381114959717, 2.2878596782684326, -0.2060745805501938, 0.6934019923210144, 0.01953267678618431, -0.08093561977148056, 1.0227417945861816, 0.5177884101867676, 0.49098679423332214, -1.0734453201293945, 0.626179039478302, -0.532216489315033, 1.1570568084716797, 0.8874037861824036, -0.8025456666946411, 0.007284246385097504, 1.4307781457901, 0.4083879590034485, -0.5687878131866455, -0.9639649391174316, -0.7935024499893188, 1.0273630619049072, 1.706865668296814, -0.03364051878452301, 0.048949308693408966, 0.8965129256248474, 0.6515421867370605, -1.2246835231781006, 0.03334534913301468, -0.6987549066543579, -0.6967990398406982, 1.663132667541504, 2.0857694149017334, -0.2452487051486969, -0.25731465220451355, -0.6541420221328735, -1.3441296815872192, 0.8029558658599854, -0.10839705914258957, 0.1845613420009613, 0.6351227164268494, -0.5950556397438049, 1.0379244089126587, 0.728351891040802, 0.9973444938659668, 0.14735065400600433, 0.2517877221107483, 0.44043174386024475, -0.33138376474380493, -1.1803675889968872, -0.29531925916671753, -1.068135380744934, -2.56689453125, 0.4572148621082306, -0.22496375441551208, -1.3980906009674072, 0.053293466567993164, -1.0196893215179443, 0.8920120000839233, -0.6103334426879883, -1.0735530853271484, -1.510400652885437, 0.22681841254234314, -0.14527054131031036, 0.8983943462371826, -1.6759042739868164, -0.19710379838943481, 1.2665858268737793, 0.8957681059837341, -0.6794442534446716, 0.9460874795913696, 0.2037571668624878, 1.0676536560058594, 0.8257161974906921, -0.37630587816238403, 0.5864757299423218, -0.04996119439601898, -1.3577460050582886, 0.4042579233646393, 1.2658963203430176, 0.19560584425926208, 1.5162899494171143, -0.5442238450050354, 0.024033384397625923, 0.4155747592449188, -0.5392211675643921, -0.5404866337776184, -0.42414259910583496, 0.6164071559906006, 0.04290410131216049, -1.0877397060394287, -0.11984187364578247, -0.04822096973657608, -0.3067268431186676, 0.1260037124156952, -1.4047284126281738, -0.08420101553201675, -0.3567250669002533, -0.631088137626648, -1.2825453281402588, -0.08226121217012405, 1.3370029926300049, -0.7992948889732361, -0.2416817545890808, 0.4645189940929413, 0.21572113037109375, 0.5377512574195862, 0.5919564962387085, -0.77439284324646, -0.3345324397087097, -0.25923952460289, -0.2984103560447693, 0.41740038990974426, 1.3288830518722534, 0.02044629119336605, -0.9900909066200256, 0.6257573962211609, -0.3914525806903839, 0.20479564368724823, 2.011213541030884, 0.0070834681391716, -0.7870243787765503, 0.29091793298721313, -0.7098245620727539, 1.892295002937317, 1.6859357357025146, 1.3160521984100342, -0.11287114769220352, -0.9467672109603882, 0.6772235035896301, -0.31103020906448364, -0.39995673298835754, 0.7480356693267822, 0.27736949920654297, -0.22230012714862823, -1.482780933380127, 0.7173707485198975, 1.321635365486145, -0.8856105208396912, -0.804576575756073, 0.16993586719036102, -0.8592175245285034, 1.1403653621673584, 0.5545898675918579, 0.22654972970485687, 0.2622429132461548, 1.5915477275848389, 0.887124240398407, -0.40839365124702454, 0.527503252029419, 0.5765796303749084, -0.21066616475582123, -2.1444315910339355, -1.1414023637771606, 0.30327683687210083, -0.45219236612319946, -1.626731276512146, 1.4324983358383179, -1.1610996723175049, -0.922065019607544, 0.6412908434867859, 0.10304506868124008, 1.4327770471572876, 0.28957226872444153, 1.601137638092041, 2.0730373859405518, 0.886440634727478, 0.4580528736114502, 1.1925406455993652, -0.146492600440979, -0.3786031901836395, 1.7807891368865967, -0.39420291781425476, 0.44597429037094116, 1.0151257514953613, -0.3573678731918335, -1.2159355878829956, -0.7943646311759949, -1.2896389961242676, -0.808788001537323, 1.2075793743133545, 0.11655046790838242, -1.0654515027999878, 0.27207568287849426, 1.6476097106933594, 0.10781168937683105, -0.40563830733299255, 0.6674729585647583, 0.46331122517585754, -0.7758172750473022, -0.0456354022026062, -0.8764122724533081, 0.4668304920196533, -0.06663694977760315, -0.35562047362327576, 0.27170342206954956, 0.4298368990421295, 1.371697187423706, 0.009129859507083893, 0.08595959842205048, 1.050980806350708, -1.436866283416748, 1.5306141376495361, -0.6038581728935242, 0.28620612621307373, -2.289891004562378, 1.4135686159133911, -0.8198715448379517, 1.9259532690048218, -2.581224203109741, 0.5084957480430603, -0.5248051285743713, -0.448672890663147, 0.12182620912790298, -0.36288610100746155, 0.1343238651752472, -0.08267126232385635, -1.0986829996109009, -0.10905835032463074, -0.6391560435295105, 0.6305845975875854, 1.1532402038574219, 1.3694926500320435, -1.1426091194152832, -0.329976886510849, -1.7198840379714966, -0.05375860631465912, -0.7457402348518372, 0.20975236594676971, -1.9938026666641235, -0.1622341126203537, -1.9352775812149048, -2.330657720565796, -1.2917988300323486, -0.7109086513519287, 1.1153753995895386, 0.19692103564739227, -0.8495846390724182, 1.3259375095367432, -0.3344704508781433, -1.833987832069397, 1.161417007446289, -2.181212902069092 ]
https://github.com/huggingface/datasets/issues/3996
Audio.encode_example() throws an error when writing example from array
> I remember Patrick made some tests and these had quite bad performance. That is why he proposed to support MP3 files only with torchaudio. Yeah, I know, but as far as I understand, some users just categorically don't want to have torchaudio in their environment. Anyway, it's just a more or less random example, they can use any library they like following the same logic (I'm just not a big expert in decoding utils so if you can give me some presentation / resources about that I would really appreciate it 🤗)
## Describe the bug When trying to do `Audio().encode_example()` with preexisting array (see [this line](https://github.com/huggingface/datasets/blob/master/src/datasets/features/audio.py#L73)), `sf.write()` throws you an error: `TypeError: No format specified and unable to get format from file extension: <_io.BytesIO object at 0x7f4218c0db30>` ## Steps to reproduce the bug ### Sample code to reproduce the bug ```python # download sample file !wget https://huggingface.co/datasets/polinaeterna/test_encode_example/resolve/main/common_voice_vi_21824030.mp3 arr, sr = librosa.load("common_voice_vi_21824030.mp3") Audio().encode_example({ "path": "common_voice_vi_21824030.mp3", "array": arr, "sampling_rate":sr }) ``` ## Expected results An encoded example (`{"bytes": b'....', "path": 'path'}`) ## Actual results ```python TypeError Traceback (most recent call last) Input In [3], in <module> 1 arr, sr = librosa.load("common_voice_vi_21824030.mp3") ----> 3 Audio().encode_example({ 4 "path": "common_voice_vi_21824030.mp3", 5 "array": arr, 6 "sampling_rate":sr 7 }) File ~/workspace/datasets/src/datasets/features/audio.py:75, in Audio.encode_example(self, value) 73 elif isinstance(value, dict) and "array" in value: 74 buffer = BytesIO() ---> 75 sf.write(buffer, value["array"], value["sampling_rate"]) 76 return {"bytes": buffer.getvalue(), "path": value.get("path")} 77 elif value.get("bytes") is not None or value.get("path") is not None: File ~/miniconda3/envs/datasets/lib/python3.8/site-packages/soundfile.py:314, in write(file, data, samplerate, subtype, endian, format, closefd) 312 else: 313 channels = data.shape[1] --> 314 with SoundFile(file, 'w', samplerate, channels, 315 subtype, endian, format, closefd) as f: 316 f.write(data) File ~/miniconda3/envs/datasets/lib/python3.8/site-packages/soundfile.py:627, in SoundFile.__init__(self, file, mode, samplerate, channels, subtype, endian, format, closefd) 625 mode_int = _check_mode(mode) 626 self._mode = mode --> 627 self._info = _create_info_struct(file, mode, samplerate, channels, 628 format, subtype, endian) 629 self._file = self._open(file, mode_int, closefd) 630 if set(mode).issuperset('r+') and self.seekable(): 631 # Move write position to 0 (like in Python file objects) File ~/miniconda3/envs/datasets/lib/python3.8/site-packages/soundfile.py:1416, in _create_info_struct(file, mode, samplerate, channels, format, subtype, endian) 1414 original_format = format 1415 if format is None: -> 1416 format = _get_format_from_filename(file, mode) 1417 assert isinstance(format, (_unicode, str)) 1418 else: File ~/miniconda3/envs/datasets/lib/python3.8/site-packages/soundfile.py:1457, in _get_format_from_filename(file, mode) 1455 pass 1456 if format.upper() not in _formats and 'r' not in mode: -> 1457 raise TypeError("No format specified and unable to get format from " 1458 "file extension: {0!r}".format(file)) 1459 return format TypeError: No format specified and unable to get format from file extension: <_io.BytesIO object at 0x7fd8daf88180> ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: datasets master - Platform: Ubuntu 20.04 - Python version: python 3.8.12 - PyArrow version: 6.0.1 ## Solution I guess we just need to add `format` arg in [this line](https://github.com/huggingface/datasets/blob/master/src/datasets/features/audio.py#L75) like this: ```python sf.write(buffer, value["array"], value["sampling_rate"], format="wav") ``` BTW discovered this when trying to decode audio in mp3 format without torchaudio (would be useful for TensorFlow users), like this: ```python from datasets import load_dataset, Features, Audio ds = load_dataset("common_voice", "vi", split="test") ds = ds.remove_columns("audio") ds.select(range(3)) # 3 samples just for testing def load_mp3_with_librosa(example): arr, sr = librosa.load(example["path"]) example["audio"] = { "path": example["path"], "array": arr, "sampling_rate": sr } return example updated_dataset = ds.map(lambda example: load_mp3_with_librosa(example), features=Features( {"audio": Audio(decode=False)} )) ``` @lhoestq @mariosasko @albertvillanova am I right in my logic? do we agree that we can set wav as the format? 🤗
861
93
Audio.encode_example() throws an error when writing example from array ## Describe the bug When trying to do `Audio().encode_example()` with preexisting array (see [this line](https://github.com/huggingface/datasets/blob/master/src/datasets/features/audio.py#L73)), `sf.write()` throws you an error: `TypeError: No format specified and unable to get format from file extension: <_io.BytesIO object at 0x7f4218c0db30>` ## Steps to reproduce the bug ### Sample code to reproduce the bug ```python # download sample file !wget https://huggingface.co/datasets/polinaeterna/test_encode_example/resolve/main/common_voice_vi_21824030.mp3 arr, sr = librosa.load("common_voice_vi_21824030.mp3") Audio().encode_example({ "path": "common_voice_vi_21824030.mp3", "array": arr, "sampling_rate":sr }) ``` ## Expected results An encoded example (`{"bytes": b'....', "path": 'path'}`) ## Actual results ```python TypeError Traceback (most recent call last) Input In [3], in <module> 1 arr, sr = librosa.load("common_voice_vi_21824030.mp3") ----> 3 Audio().encode_example({ 4 "path": "common_voice_vi_21824030.mp3", 5 "array": arr, 6 "sampling_rate":sr 7 }) File ~/workspace/datasets/src/datasets/features/audio.py:75, in Audio.encode_example(self, value) 73 elif isinstance(value, dict) and "array" in value: 74 buffer = BytesIO() ---> 75 sf.write(buffer, value["array"], value["sampling_rate"]) 76 return {"bytes": buffer.getvalue(), "path": value.get("path")} 77 elif value.get("bytes") is not None or value.get("path") is not None: File ~/miniconda3/envs/datasets/lib/python3.8/site-packages/soundfile.py:314, in write(file, data, samplerate, subtype, endian, format, closefd) 312 else: 313 channels = data.shape[1] --> 314 with SoundFile(file, 'w', samplerate, channels, 315 subtype, endian, format, closefd) as f: 316 f.write(data) File ~/miniconda3/envs/datasets/lib/python3.8/site-packages/soundfile.py:627, in SoundFile.__init__(self, file, mode, samplerate, channels, subtype, endian, format, closefd) 625 mode_int = _check_mode(mode) 626 self._mode = mode --> 627 self._info = _create_info_struct(file, mode, samplerate, channels, 628 format, subtype, endian) 629 self._file = self._open(file, mode_int, closefd) 630 if set(mode).issuperset('r+') and self.seekable(): 631 # Move write position to 0 (like in Python file objects) File ~/miniconda3/envs/datasets/lib/python3.8/site-packages/soundfile.py:1416, in _create_info_struct(file, mode, samplerate, channels, format, subtype, endian) 1414 original_format = format 1415 if format is None: -> 1416 format = _get_format_from_filename(file, mode) 1417 assert isinstance(format, (_unicode, str)) 1418 else: File ~/miniconda3/envs/datasets/lib/python3.8/site-packages/soundfile.py:1457, in _get_format_from_filename(file, mode) 1455 pass 1456 if format.upper() not in _formats and 'r' not in mode: -> 1457 raise TypeError("No format specified and unable to get format from " 1458 "file extension: {0!r}".format(file)) 1459 return format TypeError: No format specified and unable to get format from file extension: <_io.BytesIO object at 0x7fd8daf88180> ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: datasets master - Platform: Ubuntu 20.04 - Python version: python 3.8.12 - PyArrow version: 6.0.1 ## Solution I guess we just need to add `format` arg in [this line](https://github.com/huggingface/datasets/blob/master/src/datasets/features/audio.py#L75) like this: ```python sf.write(buffer, value["array"], value["sampling_rate"], format="wav") ``` BTW discovered this when trying to decode audio in mp3 format without torchaudio (would be useful for TensorFlow users), like this: ```python from datasets import load_dataset, Features, Audio ds = load_dataset("common_voice", "vi", split="test") ds = ds.remove_columns("audio") ds.select(range(3)) # 3 samples just for testing def load_mp3_with_librosa(example): arr, sr = librosa.load(example["path"]) example["audio"] = { "path": example["path"], "array": arr, "sampling_rate": sr } return example updated_dataset = ds.map(lambda example: load_mp3_with_librosa(example), features=Features( {"audio": Audio(decode=False)} )) ``` @lhoestq @mariosasko @albertvillanova am I right in my logic? do we agree that we can set wav as the format? 🤗 > I remember Patrick made some tests and these had quite bad performance. That is why he proposed to support MP3 files only with torchaudio. Yeah, I know, but as far as I understand, some users just categorically don't want to have torchaudio in their environment. Anyway, it's just a more or less random example, they can use any library they like following the same logic (I'm just not a big expert in decoding utils so if you can give me some presentation / resources about that I would really appreciate it 🤗)
[ -1.1881970167160034, -0.9173014163970947, -0.6773687601089478, 1.5890597105026245, -0.16949871182441711, -1.2110236883163452, 0.1570950299501419, -1.0415325164794922, 1.6284197568893433, -0.7279123067855835, 0.34777596592903137, -1.6866579055786133, -0.015505683608353138, -0.5639720559120178, -0.7391737103462219, -0.8689453601837158, -0.3962137997150421, -0.7037044763565063, 1.1053171157836914, 2.489229440689087, 1.3531690835952759, -1.310715675354004, 2.7575583457946777, 0.6752846837043762, -0.3389122784137726, -0.9843047857284546, 0.5160118341445923, -0.06159196048974991, -1.282865285873413, -0.5075729489326477, -0.9281531572341919, -0.09015529602766037, -0.4962097108364105, -0.43128514289855957, 0.01088874414563179, 0.49457117915153503, -0.2990470826625824, -0.40815412998199463, -0.6517273187637329, -0.8328837156295776, 0.43884408473968506, -0.37820813059806824, 0.8987746238708496, -0.33193475008010864, 1.7285993099212646, -0.7043172717094421, 0.4876001477241516, 0.6900349855422974, 1.344233751296997, 0.25785180926322937, 0.06499254703521729, 0.40492311120033264, 0.38572928309440613, -0.025775320827960968, 0.6241384744644165, 1.238559365272522, 0.6074820756912231, 0.4486415684223175, 0.7326449155807495, -2.182339906692505, 1.2260690927505493, -1.0276817083358765, 0.20784668624401093, 1.2871203422546387, -0.842650830745697, 0.26454976201057434, -1.753124713897705, -0.10561821609735489, 0.5636473298072815, -2.307213544845581, 0.28328680992126465, -1.3209919929504395, -0.5635634660720825, 1.003300428390503, 0.40926289558410645, -1.2220592498779297, 0.0904574766755104, -0.41183537244796753, 0.994673490524292, 0.39790797233581543, 1.044252872467041, -1.5865600109100342, -0.11355185508728027, -0.2219347059726715, 0.059057705104351044, -1.2089672088623047, -1.5719311237335205, 0.6149351000785828, 0.5156547427177429, 0.6140218377113342, -0.06749726086854935, 1.0408774614334106, -1.0397427082061768, 0.7679020166397095, -1.0141456127166748, -1.7566769123077393, -1.478182315826416, -2.29923152923584, -2.1874122619628906, 0.7397972941398621, -0.5396376848220825, -0.5017824172973633, 2.1238718032836914, -0.9501454830169678, -1.7661973237991333, 1.1441528797149658, 0.33157140016555786, 0.05219966173171997, 2.3940343856811523, 0.2123178094625473, -0.6941850781440735, 0.44926777482032776, -0.8014302253723145, 0.824450671672821, -0.337805837392807, 1.328227162361145, 0.415300190448761, -1.0286825895309448, 1.5496946573257446, -0.3324657380580902, 0.586494505405426, -0.5910845398902893, -0.4993108808994293, -0.653308093547821, 0.30242419242858887, 1.854072093963623, -0.3198917508125305, 1.5585293769836426, -0.31657418608665466, -1.5474954843521118, -1.555646538734436, 0.8469340801239014, 0.51823890209198, -0.82978755235672, 0.11223360896110535, -0.43450647592544556, 0.14685237407684326, -0.03274337947368622, 1.1566559076309204, 1.342911958694458, 0.6927751302719116, -0.357866495847702, -0.7787183523178101, 0.13646742701530457, -0.008507125079631805, -0.7175877094268799, -1.7167000770568848, -0.40258800983428955, 0.14375506341457367, 0.5870853662490845, -1.2272816896438599, 1.7415530681610107, 0.900901198387146, 1.9241187572479248, 1.0127885341644287, -0.34127113223075867, 1.5271625518798828, 0.10588958114385605, 1.8124674558639526, -0.5352879762649536, 0.5576876401901245, -0.4763748049736023, -1.147709608078003, 0.844502329826355, -0.39450326561927795, -2.1441898345947266, -0.8151008486747742, -0.6647447347640991, -0.15341460704803467, -0.8289453983306885, 0.9154287576675415, -0.29406192898750305, -1.3542734384536743, 0.1693979948759079, -0.8316602110862732, 0.12229985743761063, -1.2644538879394531, 0.28558582067489624, 0.615139365196228, -0.6111193895339966, 0.07336403429508209, -0.14182625710964203, -1.2546658515930176, -0.4298402667045593, 0.296944797039032, 1.927158236503601, -0.6821401119232178, 0.9129366278648376, 1.0543501377105713, -0.69782954454422, 0.011108599603176117, 0.2657107710838318, -0.3369480073451996, 0.8950941562652588, -0.9700654149055481, -0.47597789764404297, 1.2049548625946045, -0.22850817441940308, -0.6805634498596191, 1.4095052480697632, 0.6982081532478333, -1.0401631593704224, -0.2620278596878052, -0.1274668127298355, -0.8788036108016968, 0.04255665838718414, -1.55838942527771, -0.22150824964046478, 0.4640195369720459, -1.5223941802978516, -0.39455392956733704, -0.1657448709011078, 1.2957019805908203, -0.2089157998561859, 1.4561833143234253, -0.3386128842830658, -0.15119335055351257, -0.32137104868888855, -0.48673540353775024, 0.09651311486959457, -0.2673279047012329, -0.6587549448013306, 0.16719268262386322, -0.8125762343406677, 0.3885155916213989, 1.4696016311645508, 0.3143692910671234, 0.05686737596988678, 0.3945976793766022, 1.101252794265747, 0.41541603207588196, -0.11177780479192734, -0.9015416502952576, -1.541943907737732, 1.9754869937896729, -1.4429395198822021, 2.052619457244873, 0.7916069030761719, -0.04148001968860626, -1.744178056716919, -1.9264873266220093, 1.249731421470642, 1.176094889640808, 2.3195178508758545, 0.5271201729774475, 0.4487684965133667, -0.7538753151893616, -0.7576706409454346, 0.2623603343963623, -1.0163319110870361, -0.6718755960464478, 0.1737426221370697, 2.438352584838867, 1.7240530252456665, -0.4236850142478943, -0.17673401534557343, -0.9712527394294739, 1.3775365352630615, -0.21683953702449799, 0.2518918216228485, 1.9763997793197632, -0.22086285054683685, -1.0122309923171997, 1.278032898902893, -2.298649787902832, 0.2542724609375, 2.0655534267425537, 0.26897376775741577, 0.13924933969974518, -1.3887816667556763, -0.657960832118988, -0.39357075095176697, -0.4139423370361328, -1.2216167449951172, 0.523787260055542, -0.16635827720165253, -0.8632087111473083, -1.3587726354599, 0.017622876912355423, -1.209473967552185, -1.7122490406036377, 0.24117465317249298, 1.970702886581421, 2.0659544467926025, -0.739153265953064, 1.4774558544158936, -0.36530810594558716, -0.03768237307667732, 1.2156530618667603, 1.344689130783081, 3.0761890411376953, 1.9184821844100952, -1.3419523239135742, 0.6623784899711609, -0.20557181537151337, -0.45426055788993835, 1.1919955015182495, -1.188431978225708, 1.2426254749298096, -0.13587777316570282, -1.171068787574768, -1.2312040328979492, 0.9972947835922241, 0.44502148032188416, -0.07353474199771881, -0.5085344910621643, 1.1350953578948975, 0.09085723757743835, 1.3539355993270874, 0.6599206328392029, -0.3179333209991455, 0.6075458526611328, -0.3021804094314575, -0.507662296295166, 1.5763132572174072, 0.12835004925727844, -1.543891191482544, -2.312018394470215, -0.1774231642484665, -0.9309158325195312, 0.04509831964969635, -0.5537511110305786, -1.1449329853057861, 1.7085391283035278, 0.33622539043426514, -1.2859408855438232, -0.3000671863555908, -0.3128761053085327, -0.5024318099021912, 2.7955257892608643, -1.309914231300354, -0.17004895210266113, -0.9939774870872498, -0.6339512467384338, 1.6312083005905151, -1.1597002744674683, -0.18308806419372559, -0.9815352559089661, -0.5231108069419861, -1.2573124170303345, -0.4980171024799347, 0.06869177520275116, -1.0153617858886719, 0.8446784019470215, 0.2146879881620407, -1.220493197441101, -0.3011549413204193, -0.8580113649368286, 1.008229374885559, -0.14859610795974731, 0.12131325155496597, 1.9727649688720703, 0.33439111709594727, -0.3559068739414215, 0.7626216411590576, 1.2085951566696167, 0.6085197329521179, -0.5723986625671387, 0.12429416924715042, -0.6496402025222778, 0.3451554477214813, -1.433741569519043, 0.20383530855178833, -2.792762041091919, 0.6341268420219421, -0.08192024379968643, -0.13009580969810486, -0.03768722712993622, -1.3088085651397705, 1.064832329750061, 2.5515940189361572, -1.1600593328475952, 0.5092875957489014, 0.32190728187561035, 1.1829980611801147, -1.633456826210022, 0.23498164117336273, -0.45768246054649353, 2.1024277210235596, 0.2412741333246231, 1.2894269227981567, -0.5128920674324036, -2.2600855827331543, 0.6738091707229614, -1.3057870864868164, -1.0556637048721313, 0.7439820170402527, -0.8942620158195496, 0.2312244176864624, -1.426709532737732, -0.23926636576652527, -0.7899575233459473, -1.142316460609436, 0.6541768312454224, 0.12099698930978775, 0.4189639687538147, -0.5094004273414612, 0.3335016965866089, -2.232037305831909, -1.40113365650177, -0.17122964560985565, -0.9593452215194702, 0.5250639915466309, -0.4633581340312958, 0.6466273069381714, -0.17101320624351501, -0.04489760845899582, 0.3283297121524811, 1.5549678802490234, 3.4454281330108643, 0.18541045486927032, 0.2002110332250595, -0.2864321172237396, -0.9666846394538879, 1.4937090873718262, 0.8576195240020752, -0.14628860354423523, -0.5533466935157776, -1.0816855430603027, 1.3129734992980957, 1.96442449092865, 1.033098816871643, 0.06965284794569016, -0.9485026597976685, -0.8305535912513733, -0.1039176806807518, 0.19411543011665344, 0.4610023498535156, 0.9285877346992493, 0.054124876856803894, 0.03262843191623688, 1.4339734315872192, 1.175636649131775, -0.40838444232940674, 0.35364535450935364, -0.9211466908454895, -0.46204662322998047, 0.42395898699760437, 0.21166734397411346, -0.022771764546632767, 0.4864293932914734, -0.9411842823028564, -0.27380746603012085, -0.41273751854896545, -0.7696886658668518, -0.7804024815559387, -0.3691719174385071, -0.3935513198375702, 1.6324304342269897, 0.13553257286548615, -0.4719444811344147, 0.02341175265610218, -0.7320505976676941, -0.11527387797832489, -1.1067835092544556, 0.22854682803153992, -0.09033872187137604, -0.0656750500202179, -0.1561155617237091, 1.6317603588104248, -0.9115148186683655, -2.07228422164917, 0.21295499801635742, 0.23821596801280975, -0.2678883671760559, 0.20397478342056274, 1.6468141078948975, 0.5513445734977722, 1.4081789255142212, 1.329490065574646, 0.9199565052986145, -0.6501694917678833, -1.285640835762024, 0.6803130507469177, 0.99284827709198, -1.3666563034057617, 0.8965476751327515, -0.1907004565000534, -0.46781104803085327, 0.5863986611366272, 1.3776699304580688, 0.5134389996528625, -1.9731838703155518, 0.901444137096405, -0.8720658421516418, 0.858950138092041, 0.6848254203796387, 0.6957668662071228, 0.2988741397857666, 0.811420202255249, -1.2273696660995483, -1.1343718767166138, -0.6861218810081482, -0.6757740378379822, 1.9303206205368042, -0.32261574268341064, 0.5922650098800659, -0.27273309230804443, -1.2586030960083008, -0.1398717314004898, 0.696892499923706, 0.38148385286331177, -0.5203245878219604, 0.8052152991294861, -0.5535401701927185, -0.9693071246147156, -1.28662109375, -0.4255499541759491, -1.0654345750808716, -0.9467413425445557, 1.0151728391647339, 0.739260733127594, 0.41800597310066223, 1.8640879392623901, 0.6489698886871338, 0.30800896883010864, -2.5840718746185303, 0.9567390084266663, 0.29975205659866333, -0.055729545652866364, 0.8374572396278381, 0.3511773347854614, 1.113314151763916, -0.027546104043722153, 0.5658154487609863, -2.347381114959717, 2.2878596782684326, -0.2060745805501938, 0.6934019923210144, 0.01953267678618431, -0.08093561977148056, 1.0227417945861816, 0.5177884101867676, 0.49098679423332214, -1.0734453201293945, 0.626179039478302, -0.532216489315033, 1.1570568084716797, 0.8874037861824036, -0.8025456666946411, 0.007284246385097504, 1.4307781457901, 0.4083879590034485, -0.5687878131866455, -0.9639649391174316, -0.7935024499893188, 1.0273630619049072, 1.706865668296814, -0.03364051878452301, 0.048949308693408966, 0.8965129256248474, 0.6515421867370605, -1.2246835231781006, 0.03334534913301468, -0.6987549066543579, -0.6967990398406982, 1.663132667541504, 2.0857694149017334, -0.2452487051486969, -0.25731465220451355, -0.6541420221328735, -1.3441296815872192, 0.8029558658599854, -0.10839705914258957, 0.1845613420009613, 0.6351227164268494, -0.5950556397438049, 1.0379244089126587, 0.728351891040802, 0.9973444938659668, 0.14735065400600433, 0.2517877221107483, 0.44043174386024475, -0.33138376474380493, -1.1803675889968872, -0.29531925916671753, -1.068135380744934, -2.56689453125, 0.4572148621082306, -0.22496375441551208, -1.3980906009674072, 0.053293466567993164, -1.0196893215179443, 0.8920120000839233, -0.6103334426879883, -1.0735530853271484, -1.510400652885437, 0.22681841254234314, -0.14527054131031036, 0.8983943462371826, -1.6759042739868164, -0.19710379838943481, 1.2665858268737793, 0.8957681059837341, -0.6794442534446716, 0.9460874795913696, 0.2037571668624878, 1.0676536560058594, 0.8257161974906921, -0.37630587816238403, 0.5864757299423218, -0.04996119439601898, -1.3577460050582886, 0.4042579233646393, 1.2658963203430176, 0.19560584425926208, 1.5162899494171143, -0.5442238450050354, 0.024033384397625923, 0.4155747592449188, -0.5392211675643921, -0.5404866337776184, -0.42414259910583496, 0.6164071559906006, 0.04290410131216049, -1.0877397060394287, -0.11984187364578247, -0.04822096973657608, -0.3067268431186676, 0.1260037124156952, -1.4047284126281738, -0.08420101553201675, -0.3567250669002533, -0.631088137626648, -1.2825453281402588, -0.08226121217012405, 1.3370029926300049, -0.7992948889732361, -0.2416817545890808, 0.4645189940929413, 0.21572113037109375, 0.5377512574195862, 0.5919564962387085, -0.77439284324646, -0.3345324397087097, -0.25923952460289, -0.2984103560447693, 0.41740038990974426, 1.3288830518722534, 0.02044629119336605, -0.9900909066200256, 0.6257573962211609, -0.3914525806903839, 0.20479564368724823, 2.011213541030884, 0.0070834681391716, -0.7870243787765503, 0.29091793298721313, -0.7098245620727539, 1.892295002937317, 1.6859357357025146, 1.3160521984100342, -0.11287114769220352, -0.9467672109603882, 0.6772235035896301, -0.31103020906448364, -0.39995673298835754, 0.7480356693267822, 0.27736949920654297, -0.22230012714862823, -1.482780933380127, 0.7173707485198975, 1.321635365486145, -0.8856105208396912, -0.804576575756073, 0.16993586719036102, -0.8592175245285034, 1.1403653621673584, 0.5545898675918579, 0.22654972970485687, 0.2622429132461548, 1.5915477275848389, 0.887124240398407, -0.40839365124702454, 0.527503252029419, 0.5765796303749084, -0.21066616475582123, -2.1444315910339355, -1.1414023637771606, 0.30327683687210083, -0.45219236612319946, -1.626731276512146, 1.4324983358383179, -1.1610996723175049, -0.922065019607544, 0.6412908434867859, 0.10304506868124008, 1.4327770471572876, 0.28957226872444153, 1.601137638092041, 2.0730373859405518, 0.886440634727478, 0.4580528736114502, 1.1925406455993652, -0.146492600440979, -0.3786031901836395, 1.7807891368865967, -0.39420291781425476, 0.44597429037094116, 1.0151257514953613, -0.3573678731918335, -1.2159355878829956, -0.7943646311759949, -1.2896389961242676, -0.808788001537323, 1.2075793743133545, 0.11655046790838242, -1.0654515027999878, 0.27207568287849426, 1.6476097106933594, 0.10781168937683105, -0.40563830733299255, 0.6674729585647583, 0.46331122517585754, -0.7758172750473022, -0.0456354022026062, -0.8764122724533081, 0.4668304920196533, -0.06663694977760315, -0.35562047362327576, 0.27170342206954956, 0.4298368990421295, 1.371697187423706, 0.009129859507083893, 0.08595959842205048, 1.050980806350708, -1.436866283416748, 1.5306141376495361, -0.6038581728935242, 0.28620612621307373, -2.289891004562378, 1.4135686159133911, -0.8198715448379517, 1.9259532690048218, -2.581224203109741, 0.5084957480430603, -0.5248051285743713, -0.448672890663147, 0.12182620912790298, -0.36288610100746155, 0.1343238651752472, -0.08267126232385635, -1.0986829996109009, -0.10905835032463074, -0.6391560435295105, 0.6305845975875854, 1.1532402038574219, 1.3694926500320435, -1.1426091194152832, -0.329976886510849, -1.7198840379714966, -0.05375860631465912, -0.7457402348518372, 0.20975236594676971, -1.9938026666641235, -0.1622341126203537, -1.9352775812149048, -2.330657720565796, -1.2917988300323486, -0.7109086513519287, 1.1153753995895386, 0.19692103564739227, -0.8495846390724182, 1.3259375095367432, -0.3344704508781433, -1.833987832069397, 1.161417007446289, -2.181212902069092 ]
https://github.com/huggingface/datasets/issues/3993
Streaming dataset + interleave + DataLoader hangs with multiple workers
Hi ! Thanks for reporting, could this be related to https://github.com/huggingface/datasets/issues/3950 ? Currently streaming datasets only works in single process, but we're working on having in work in distributed setups as well :) (EDIT: done)
## Describe the bug Interleaving multiple iterable datasets that use `load_dataset` on streaming mode hangs when passed to `torch.utils.data.DataLoader` with multiple workers. ## Steps to reproduce the bug ```python from datasets import interleave_datasets, load_dataset from torch.utils.data import DataLoader en_dataset = load_dataset('oscar', "unshuffled_deduplicated_en", split='train', streaming=True) fr_dataset = load_dataset('oscar', "unshuffled_deduplicated_fr", split='train', streaming=True) it_dataset = load_dataset('oscar', "unshuffled_deduplicated_it", split='train', streaming=True) de_dataset = load_dataset('oscar', "unshuffled_deduplicated_de", split='train', streaming=True) multilingual_dataset = interleave_datasets([en_dataset, fr_dataset, de_dataset, it_dataset]) multilingual_dataset = multilingual_dataset.with_format('torch') next(iter(multilingual_dataset)) # works fairly fast dataloader = DataLoader(multilingual_dataset, batch_size=8, num_workers=4) for batch in dataloader: print(len(batch)) # prints nothing after 30 min of waiting dataloader = DataLoader(multilingual_dataset, batch_size=8, num_workers=0) for batch in dataloader: print(len(batch)) # prints right away ``` ## Expected results It should be able to iterate the dataset with multiple workers. ## Actual results Prints with results with `next(iter(multilingual_dataset)) ` and `num_workers=0` but it prints nothing with `num_workers=4` or any number above 0. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.1.dev0 - `pytorch` version: 1.10.0+cu113 - Python version: 3.7 - PyArrow version: 6.0.1
862
35
Streaming dataset + interleave + DataLoader hangs with multiple workers ## Describe the bug Interleaving multiple iterable datasets that use `load_dataset` on streaming mode hangs when passed to `torch.utils.data.DataLoader` with multiple workers. ## Steps to reproduce the bug ```python from datasets import interleave_datasets, load_dataset from torch.utils.data import DataLoader en_dataset = load_dataset('oscar', "unshuffled_deduplicated_en", split='train', streaming=True) fr_dataset = load_dataset('oscar', "unshuffled_deduplicated_fr", split='train', streaming=True) it_dataset = load_dataset('oscar', "unshuffled_deduplicated_it", split='train', streaming=True) de_dataset = load_dataset('oscar', "unshuffled_deduplicated_de", split='train', streaming=True) multilingual_dataset = interleave_datasets([en_dataset, fr_dataset, de_dataset, it_dataset]) multilingual_dataset = multilingual_dataset.with_format('torch') next(iter(multilingual_dataset)) # works fairly fast dataloader = DataLoader(multilingual_dataset, batch_size=8, num_workers=4) for batch in dataloader: print(len(batch)) # prints nothing after 30 min of waiting dataloader = DataLoader(multilingual_dataset, batch_size=8, num_workers=0) for batch in dataloader: print(len(batch)) # prints right away ``` ## Expected results It should be able to iterate the dataset with multiple workers. ## Actual results Prints with results with `next(iter(multilingual_dataset)) ` and `num_workers=0` but it prints nothing with `num_workers=4` or any number above 0. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.1.dev0 - `pytorch` version: 1.10.0+cu113 - Python version: 3.7 - PyArrow version: 6.0.1 Hi ! Thanks for reporting, could this be related to https://github.com/huggingface/datasets/issues/3950 ? Currently streaming datasets only works in single process, but we're working on having in work in distributed setups as well :) (EDIT: done)
[ -1.3397774696350098, -0.9885550737380981, -0.5928806066513062, 1.5041645765304565, -0.2438117414712906, -1.1736621856689453, 0.2248411774635315, -0.9540941119194031, 1.6495497226715088, -0.9577584266662598, 0.1696891486644745, -1.6873668432235718, 0.016545021906495094, -0.5387420058250427, -0.6470611095428467, -0.8995229601860046, -0.39589810371398926, -0.7927433252334595, 1.1955393552780151, 2.404775381088257, 1.1684198379516602, -1.357239007949829, 2.798816680908203, 0.5611122250556946, -0.14601927995681763, -1.0832539796829224, 0.5621172189712524, -0.047821007668972015, -1.2443190813064575, -0.4303690195083618, -1.0603976249694824, -0.08223111182451248, -0.5311267971992493, -0.4137394428253174, 0.008607057854533195, 0.45430615544319153, -0.28903117775917053, -0.4408564269542694, -0.5457930564880371, -0.6988938450813293, 0.5121138691902161, -0.33263468742370605, 0.8834930658340454, -0.3296111226081848, 1.8442845344543457, -0.5430853366851807, 0.4750940203666687, 0.7049882411956787, 1.3068461418151855, 0.2211330682039261, -0.04181850701570511, 0.35499808192253113, 0.2558624744415283, 0.012626992538571358, 0.6358357071876526, 1.1458501815795898, 0.6033665537834167, 0.5250717997550964, 0.6070443391799927, -2.2951505184173584, 1.2550405263900757, -1.0274713039398193, 0.38814783096313477, 1.4305469989776611, -0.990948498249054, 0.399400532245636, -1.6897419691085815, -0.059982508420944214, 0.6673997640609741, -2.1261708736419678, 0.3698057234287262, -1.3179031610488892, -0.46124735474586487, 0.9956732392311096, 0.4182288944721222, -1.0964716672897339, 0.14890065789222717, -0.3989705741405487, 1.2014522552490234, 0.43254613876342773, 1.02290940284729, -1.6552276611328125, 0.03150641918182373, -0.2514914572238922, 0.16826418042182922, -1.3207926750183105, -1.6340715885162354, 0.5606788396835327, 0.6787718534469604, 0.6630439758300781, -0.2297312170267105, 1.1696302890777588, -1.0818713903427124, 0.6947148442268372, -1.1183563470840454, -1.6535106897354126, -1.3940255641937256, -2.2908599376678467, -2.2523272037506104, 0.6641280055046082, -0.42008495330810547, -0.6273940801620483, 2.12483811378479, -1.0463346242904663, -1.7231782674789429, 1.2510219812393188, 0.16986219584941864, -0.029333051294088364, 2.3908612728118896, 0.21759307384490967, -0.680172860622406, 0.5372936129570007, -0.8182001113891602, 0.7776521444320679, -0.26324039697647095, 1.3308484554290771, 0.3741975426673889, -1.0015144348144531, 1.5830049514770508, -0.33123546838760376, 0.6525841951370239, -0.5555431246757507, -0.5652995109558105, -0.7895051836967468, 0.22778770327568054, 1.96481192111969, -0.2373250275850296, 1.533886194229126, -0.41979461908340454, -1.5706170797348022, -1.5821062326431274, 1.0348503589630127, 0.3668268024921417, -0.7616028189659119, 0.1674581915140152, -0.4805321991443634, 0.19520427286624908, -0.1000705435872078, 1.1566424369812012, 1.252353549003601, 0.6368741393089294, -0.38933610916137695, -0.8336039185523987, 0.22416339814662933, -0.14134247601032257, -0.6331941485404968, -1.7347729206085205, -0.29860439896583557, 0.05099101364612579, 0.586870551109314, -1.090066909790039, 1.778441309928894, 0.8907501101493835, 1.8801286220550537, 1.0095369815826416, -0.37549567222595215, 1.397985577583313, 0.16597163677215576, 1.8338534832000732, -0.43632131814956665, 0.6407978534698486, -0.2976921796798706, -1.197882890701294, 0.8274728059768677, -0.360910564661026, -1.9573086500167847, -0.7837446331977844, -0.7127734422683716, -0.2042682021856308, -0.8615577220916748, 0.9035946130752563, -0.3503359258174896, -1.6405788660049438, 0.2303048074245453, -0.7058422565460205, 0.37964677810668945, -1.1744353771209717, 0.4087763726711273, 0.7102986574172974, -0.6334320306777954, 0.03237728774547577, -0.29086223244667053, -1.2409988641738892, -0.42997682094573975, 0.33641740679740906, 1.9266705513000488, -0.6675946116447449, 0.8704482913017273, 1.092673420906067, -0.728864848613739, -0.10049829632043839, 0.10860493779182434, -0.23821154236793518, 0.8238152265548706, -1.0272029638290405, -0.5275130867958069, 1.3165658712387085, -0.32765671610832214, -0.6757301092147827, 1.5636100769042969, 0.6907554268836975, -1.0676653385162354, -0.25980430841445923, -0.1991828978061676, -0.8963506817817688, -0.02791006676852703, -1.5845407247543335, -0.1309223175048828, 0.5929055213928223, -1.4951503276824951, -0.44600045680999756, -0.2162443846464157, 1.2311369180679321, -0.1291792243719101, 1.4136676788330078, -0.3953652083873749, -0.1650260090827942, -0.31547537446022034, -0.4644961655139923, 0.25486406683921814, -0.17216536402702332, -0.5752201080322266, 0.019008083269000053, -0.7522057294845581, 0.3468484878540039, 1.531872034072876, 0.3389897644519806, 0.03792274743318558, 0.4949995279312134, 1.135693073272705, 0.4070587158203125, -0.04830131679773331, -0.850544810295105, -1.530533790588379, 1.806125521659851, -1.4244132041931152, 1.9897699356079102, 0.6780557632446289, -0.08866872638463974, -1.7613035440444946, -1.7770739793777466, 1.358735203742981, 1.2136372327804565, 2.3206939697265625, 0.4462190866470337, 0.4331246614456177, -0.8657768368721008, -0.7289608716964722, 0.174297496676445, -0.9120118021965027, -0.7156239748001099, 0.32919296622276306, 2.3886935710906982, 1.761812448501587, -0.41348323225975037, -0.06116736680269241, -0.9719164967536926, 1.3493623733520508, -0.2858635187149048, 0.37011635303497314, 2.0070269107818604, -0.2631344497203827, -1.0002162456512451, 1.315971851348877, -2.446377754211426, 0.14431530237197876, 2.100198745727539, 0.24251483380794525, 0.1409308910369873, -1.3008747100830078, -0.5972536206245422, -0.3873078525066376, -0.35033389925956726, -1.3700467348098755, 0.5112215280532837, -0.29176780581474304, -0.5809820294380188, -1.3518812656402588, 0.21645444631576538, -1.0284844636917114, -1.5808647871017456, 0.16308392584323883, 1.9283504486083984, 2.112865686416626, -0.8237724900245667, 1.5111486911773682, -0.31489989161491394, 0.3230403661727905, 1.2211987972259521, 1.268257975578308, 3.0416555404663086, 1.8675487041473389, -1.355324387550354, 0.6187323927879333, -0.15204213559627533, -0.542166531085968, 1.2843581438064575, -1.2431498765945435, 1.2936441898345947, -0.14372414350509644, -1.281490683555603, -1.3272873163223267, 0.9688839316368103, 0.5197318196296692, 0.01933763548731804, -0.4689153730869293, 1.2454257011413574, 0.03429713845252991, 1.383399248123169, 0.5573745965957642, -0.4613695740699768, 0.5699040293693542, -0.3777765929698944, -0.5577080845832825, 1.60731840133667, 0.13592509925365448, -1.479903221130371, -2.1853415966033936, -0.3136206269264221, -0.9105749726295471, 0.0888124406337738, -0.5843124389648438, -0.9643595218658447, 1.5226503610610962, 0.3345543444156647, -1.201801061630249, -0.29560956358909607, -0.20891650021076202, -0.5384447574615479, 2.7484374046325684, -1.1846197843551636, -0.2129811942577362, -0.9918437004089355, -0.6841537356376648, 1.6774755716323853, -1.2799941301345825, -0.302678644657135, -1.0186588764190674, -0.6653295755386353, -1.3123351335525513, -0.4519306719303131, 0.007086304947733879, -1.0297962427139282, 0.8597771525382996, 0.1904790997505188, -1.2136975526809692, -0.29660680890083313, -0.9415296912193298, 1.0559718608856201, -0.2729021906852722, 0.12037493288516998, 1.7369639873504639, 0.23649486899375916, -0.48373883962631226, 0.8493995666503906, 1.1617051362991333, 0.61635822057724, -0.6704620122909546, 0.13871686160564423, -0.7470750212669373, 0.3707074522972107, -1.3426594734191895, 0.2376468926668167, -3.0109431743621826, 0.6501994132995605, -0.05351065844297409, -0.09102678298950195, -0.07894939184188843, -1.3485394716262817, 0.9909128546714783, 2.512599468231201, -1.2776577472686768, 0.5394683480262756, 0.44759228825569153, 1.2581979036331177, -1.633844256401062, 0.27087870240211487, -0.512886106967926, 1.9517724514007568, 0.2925948202610016, 1.2464860677719116, -0.4648981988430023, -2.3891875743865967, 0.5967140793800354, -1.2769628763198853, -1.1024388074874878, 0.808850884437561, -0.9906048774719238, 0.22678470611572266, -1.3519021272659302, -0.3285549283027649, -0.8742467164993286, -1.1334760189056396, 0.6105310320854187, 0.12754987180233002, 0.29002663493156433, -0.5622431039810181, 0.32024556398391724, -2.2805545330047607, -1.2993481159210205, -0.15493939816951752, -1.0239063501358032, 0.43549221754074097, -0.4737427234649658, 0.6523667573928833, -0.16377174854278564, 0.027768583968281746, 0.3357677161693573, 1.5050208568572998, 3.3515713214874268, 0.30592969059944153, 0.2700827717781067, -0.1426890641450882, -0.9866856336593628, 1.5217806100845337, 0.8237131237983704, -0.14791671931743622, -0.4441371262073517, -1.0842366218566895, 1.245646357536316, 1.8052501678466797, 0.9565004706382751, -0.041182663291692734, -0.8007257580757141, -0.6468713879585266, -0.1298457384109497, 0.1585330218076706, 0.5041189193725586, 0.8256621360778809, 0.06542707979679108, 0.19054466485977173, 1.3707929849624634, 1.0736294984817505, -0.41847580671310425, 0.3048152029514313, -0.8439910411834717, -0.5180426239967346, 0.5388010144233704, 0.10800018161535263, -0.06165581941604614, 0.34157609939575195, -0.9631479382514954, -0.22667166590690613, -0.37655967473983765, -0.869757354259491, -0.7900860905647278, -0.3710872232913971, -0.3445005416870117, 1.5389528274536133, 0.09782839566469193, -0.5579164624214172, -0.07968760281801224, -0.6966673731803894, -0.21411074697971344, -1.1441643238067627, 0.16011248528957367, -0.05213494598865509, -0.21975859999656677, -0.21842698752880096, 1.687159538269043, -0.9311618804931641, -2.0309131145477295, 0.1679876446723938, 0.29975852370262146, -0.11365353316068649, 0.1577593982219696, 1.714605689048767, 0.42398542165756226, 1.4594039916992188, 1.3930394649505615, 1.035312294960022, -0.6174352765083313, -1.3215636014938354, 0.8404560089111328, 0.8894427418708801, -1.3190737962722778, 0.855105996131897, -0.09052860736846924, -0.6222349405288696, 0.6820235252380371, 1.2815277576446533, 0.6028798222541809, -1.9676018953323364, 0.8611301183700562, -1.1831787824630737, 0.792736291885376, 0.8590990900993347, 0.7413428425788879, 0.2066192924976349, 0.9667226076126099, -1.1371357440948486, -1.211172342300415, -0.6757071614265442, -0.7109729647636414, 1.991666555404663, -0.3748004734516144, 0.6200032234191895, -0.22861312329769135, -1.270707607269287, 0.056140102446079254, 0.726078450679779, 0.368062287569046, -0.5041066408157349, 0.8022623062133789, -0.7023264765739441, -1.0941152572631836, -1.279787540435791, -0.43272966146469116, -1.1545348167419434, -0.9812562465667725, 1.0300850868225098, 0.71063631772995, 0.2695137560367584, 1.7685312032699585, 0.6787009239196777, 0.3294592499732971, -2.55714750289917, 0.9476747512817383, 0.16314055025577545, -0.10469234734773636, 0.7263737916946411, 0.35515838861465454, 1.0262271165847778, 0.08687233924865723, 0.5312407612800598, -2.4459266662597656, 2.2764463424682617, -0.2624717056751251, 0.6605427265167236, -0.1466556191444397, -0.17364640533924103, 1.1314406394958496, 0.6334112882614136, 0.46591129899024963, -0.9939931035041809, 0.6918520927429199, -0.464069664478302, 1.2424029111862183, 0.9186635613441467, -0.8593460321426392, -0.026218920946121216, 1.477029800415039, 0.3995267450809479, -0.6196390390396118, -0.9485084414482117, -0.9928983449935913, 1.0338373184204102, 1.6425104141235352, -0.0702298954129219, -0.05674924701452255, 0.8596903085708618, 0.7134007811546326, -1.2147305011749268, 0.08104785531759262, -0.5526168942451477, -0.6777217984199524, 1.6762232780456543, 2.0361275672912598, -0.1557343751192093, -0.10217401385307312, -0.5989631414413452, -1.2468070983886719, 0.7562568187713623, -0.0560184046626091, 0.0324619859457016, 0.7639948129653931, -0.5257893800735474, 0.9115787744522095, 0.8034083247184753, 0.9130303859710693, 0.19162648916244507, 0.13515770435333252, 0.44683799147605896, -0.3297378122806549, -1.1546293497085571, -0.15791282057762146, -1.0846173763275146, -2.500398635864258, 0.28986021876335144, -0.2647026479244232, -1.3903757333755493, 0.12086328864097595, -0.9588451385498047, 1.0038343667984009, -0.6593142747879028, -1.140234351158142, -1.5323524475097656, 0.211379274725914, 0.05475454032421112, 0.9458688497543335, -1.6764875650405884, -0.07104053348302841, 1.1295253038406372, 0.9000292420387268, -0.712713897228241, 1.1085736751556396, 0.22128073871135712, 0.965513288974762, 0.7420539855957031, -0.382188618183136, 0.7092217206954956, 0.003554500639438629, -1.3769878149032593, 0.5366835594177246, 1.1863493919372559, 0.17287428677082062, 1.491701602935791, -0.4268769919872284, -0.11931683123111725, 0.36850059032440186, -0.7386114597320557, -0.4791564345359802, -0.4552459716796875, 0.632978081703186, -0.04136020690202713, -0.7693890929222107, -0.058769628405570984, -0.07327894121408463, -0.3163661062717438, 0.23540440201759338, -1.5253876447677612, -0.15599021315574646, -0.44574984908103943, -0.635496973991394, -1.2304753065109253, -0.060528211295604706, 1.5753813982009888, -0.8008136749267578, -0.2130689024925232, 0.4282211661338806, 0.4017091989517212, 0.5060975551605225, 0.6371321082115173, -0.7274534702301025, -0.08268129825592041, -0.2543949782848358, -0.26407933235168457, 0.31600508093833923, 1.39715576171875, -0.07788596302270889, -0.9856297373771667, 0.6825615167617798, -0.37088337540626526, 0.11093712598085403, 1.8160080909729004, 0.12089581787586212, -0.788807213306427, 0.252143532037735, -0.8705461621284485, 1.9515416622161865, 1.747996211051941, 1.4575170278549194, -0.12707236409187317, -0.85173499584198, 0.6261438131332397, -0.4294295012950897, -0.3931087553501129, 0.8500422835350037, 0.3771955072879791, -0.2693415582180023, -1.338907241821289, 0.9595414400100708, 1.1697916984558105, -0.706089973449707, -0.7819720506668091, 0.15991994738578796, -0.7469710111618042, 1.2008354663848877, 0.5767139196395874, 0.34337323904037476, 0.18319348990917206, 1.6271189451217651, 0.7938340902328491, -0.5044620633125305, 0.5838509798049927, 0.6305719614028931, -0.18161854147911072, -2.119102716445923, -1.1259982585906982, 0.3779867887496948, -0.5260586738586426, -1.6044936180114746, 1.5044361352920532, -1.053053855895996, -0.9548887014389038, 0.5578489303588867, 0.032011017203330994, 1.324997901916504, 0.44423988461494446, 1.5344791412353516, 2.033604383468628, 0.7868831157684326, 0.47983017563819885, 1.2305530309677124, -0.2666456401348114, -0.36511465907096863, 1.730305790901184, -0.39701688289642334, 0.42753973603248596, 1.0529026985168457, -0.34631162881851196, -1.1365498304367065, -0.7785860300064087, -1.3095924854278564, -0.5950176119804382, 1.0653315782546997, 0.07240013033151627, -1.097970962524414, 0.2096974104642868, 1.4770690202713013, 0.06080317497253418, -0.2998519241809845, 0.772148072719574, 0.3040878474712372, -0.7729367017745972, 0.0027171848341822624, -0.8281716704368591, 0.4978877305984497, -0.3126541078090668, -0.24658194184303284, 0.32069340348243713, 0.4985882639884949, 1.352150797843933, 0.02456551231443882, 0.15920637547969818, 1.1565978527069092, -1.3406877517700195, 1.3929866552352905, -0.7029775977134705, 0.3012917935848236, -2.4103920459747314, 1.2932363748550415, -0.6150045990943909, 1.9700273275375366, -2.7537872791290283, 0.5262770652770996, -0.6782234907150269, -0.5015396475791931, 0.27437514066696167, -0.42255106568336487, 0.014663847163319588, -0.11024757474660873, -1.146676778793335, 0.06834878772497177, -0.633870542049408, 0.5944335460662842, 1.0939528942108154, 1.3442745208740234, -1.1937816143035889, -0.32999271154403687, -1.6850448846817017, -0.05002416670322418, -0.7555611729621887, 0.35924747586250305, -2.0959253311157227, -0.24670545756816864, -1.9380087852478027, -2.4331581592559814, -1.0824660062789917, -0.6855274438858032, 1.2063193321228027, 0.17907419800758362, -0.9108107089996338, 1.4075360298156738, -0.4230310618877411, -1.802718997001648, 1.0898444652557373, -2.0916662216186523 ]
https://github.com/huggingface/datasets/issues/3992
Image column is not decoded in map when using with with_transform
Hi! This behavior stems from this line: https://github.com/huggingface/datasets/blob/799b817d97590ddc97cbd38d07469403e030de8c/src/datasets/arrow_dataset.py#L1919 Basically, the `Image`/`Audio` columns are decoded only if the `format_type` attribute is `None` (`set_format`/`with_format` and `set_transform`/`with_transform` assign a non-`None` value to it) and the `input_columns` param is not specified (see https://github.com/huggingface/datasets/issues/3756). We will remove these limitations soon.
## Describe the bug Image column is not _decoded_ in **map** when using with `with_transform` ## Steps to reproduce the bug ```python from datasets import Image, Dataset def add_C(batch): batch["C"] = batch["A"] return batch ds = Dataset.from_dict({"A": ["image.png"]}).cast_column("A", Image()) ds = ds.with_transform(lambda x: x) # <= This line causes the problem ds = ds.map(add_C, batched=True) print(ds[0]) ``` ## Expected results ``` {'C': <PIL.PngImagePlugin.PngImageFile>, ...} ``` ## Actual results ``` {'C': {'bytes': None, 'path': 'image.png'}, ...} ``` If we remove the `with_transform` line, we get the expected result. ## Environment info - `datasets` version: 2.0.0 - Platform: Mac OSX - Python version: 3.8.12 - PyArrow version: 7.0.0
863
45
Image column is not decoded in map when using with with_transform ## Describe the bug Image column is not _decoded_ in **map** when using with `with_transform` ## Steps to reproduce the bug ```python from datasets import Image, Dataset def add_C(batch): batch["C"] = batch["A"] return batch ds = Dataset.from_dict({"A": ["image.png"]}).cast_column("A", Image()) ds = ds.with_transform(lambda x: x) # <= This line causes the problem ds = ds.map(add_C, batched=True) print(ds[0]) ``` ## Expected results ``` {'C': <PIL.PngImagePlugin.PngImageFile>, ...} ``` ## Actual results ``` {'C': {'bytes': None, 'path': 'image.png'}, ...} ``` If we remove the `with_transform` line, we get the expected result. ## Environment info - `datasets` version: 2.0.0 - Platform: Mac OSX - Python version: 3.8.12 - PyArrow version: 7.0.0 Hi! This behavior stems from this line: https://github.com/huggingface/datasets/blob/799b817d97590ddc97cbd38d07469403e030de8c/src/datasets/arrow_dataset.py#L1919 Basically, the `Image`/`Audio` columns are decoded only if the `format_type` attribute is `None` (`set_format`/`with_format` and `set_transform`/`with_transform` assign a non-`None` value to it) and the `input_columns` param is not specified (see https://github.com/huggingface/datasets/issues/3756). We will remove these limitations soon.
[ -1.0821959972381592, -0.8292898535728455, -0.7178859710693359, 1.520750641822815, -0.1351514756679535, -1.3356493711471558, 0.22839997708797455, -1.0140248537063599, 1.7681870460510254, -0.7614772319793701, 0.33225658535957336, -1.6452031135559082, 0.020145418122410774, -0.6525834202766418, -0.7539902925491333, -0.8055464625358582, -0.36453866958618164, -0.7096022963523865, 1.0357332229614258, 2.4627819061279297, 1.2599399089813232, -1.3562730550765991, 2.651262044906616, 0.7275402545928955, -0.23508353531360626, -0.949584424495697, 0.5166361331939697, -0.09143073856830597, -1.2852083444595337, -0.44966959953308105, -0.8836880922317505, -0.043561846017837524, -0.5211045145988464, -0.5924595594406128, -0.029629265889525414, 0.4867784380912781, -0.3145318925380707, -0.5342335104942322, -0.536632239818573, -0.8501473665237427, 0.44213443994522095, -0.40283697843551636, 0.8864668011665344, -0.3314570486545563, 1.7602907419204712, -0.6180785894393921, 0.4305991530418396, 0.7333176136016846, 1.3457698822021484, 0.1557905077934265, -0.03943492844700813, 0.38400590419769287, 0.3498476445674896, -0.035567812621593475, 0.5822442173957825, 1.1369256973266602, 0.6905146837234497, 0.4581192433834076, 0.7442689538002014, -2.314361572265625, 1.267146348953247, -0.987050473690033, 0.23073555529117584, 1.280273675918579, -0.938330888748169, 0.21731331944465637, -1.7142425775527954, -0.01746489107608795, 0.5265130400657654, -2.224323272705078, 0.33247658610343933, -1.3685249090194702, -0.4534706175327301, 1.0557926893234253, 0.3776230812072754, -1.2195347547531128, 0.03020266629755497, -0.31854164600372314, 1.0001333951950073, 0.3928733766078949, 1.0733249187469482, -1.6997374296188354, -0.08161896467208862, -0.30661541223526, 0.12535670399665833, -1.235249400138855, -1.530969500541687, 0.4962844252586365, 0.65689617395401, 0.6077656745910645, -0.2338065356016159, 1.0788289308547974, -0.9793965816497803, 0.7143430113792419, -0.9897652864456177, -1.81167471408844, -1.3944547176361084, -2.2120866775512695, -2.210637092590332, 0.716783881187439, -0.5050092935562134, -0.43353915214538574, 2.0198633670806885, -0.9724512696266174, -1.8163796663284302, 1.1289833784103394, 0.2841733396053314, -0.00937744602560997, 2.266730546951294, 0.25233516097068787, -0.7042866945266724, 0.47413045167922974, -0.7892414927482605, 0.6946234703063965, -0.38448160886764526, 1.2948955297470093, 0.37761959433555603, -1.0807167291641235, 1.6315643787384033, -0.42553260922431946, 0.6349489092826843, -0.7328877449035645, -0.42437493801116943, -0.7112551927566528, 0.3120262026786804, 1.9015578031539917, -0.3595466613769531, 1.468106746673584, -0.36313387751579285, -1.5544618368148804, -1.576956868171692, 0.8921145796775818, 0.4722692370414734, -0.666763424873352, 0.12317995727062225, -0.4116749167442322, 0.1810518056154251, -0.15550640225410461, 1.1706767082214355, 1.2557283639907837, 0.8380793929100037, -0.3671870827674866, -0.8692922592163086, 0.25832241773605347, 0.035381607711315155, -0.7852749824523926, -1.724117636680603, -0.35547545552253723, 0.19936157763004303, 0.6179538369178772, -1.1897478103637695, 1.8273301124572754, 0.8016083240509033, 1.9333244562149048, 1.0045145750045776, -0.3719176650047302, 1.4984439611434937, 0.1201707273721695, 1.9469878673553467, -0.45477327704429626, 0.6231443285942078, -0.4017806649208069, -1.1921753883361816, 0.8964952826499939, -0.2908557057380676, -2.008833646774292, -0.7433983683586121, -0.7967814803123474, -0.16465552151203156, -0.7818204164505005, 0.9560659527778625, -0.3602365553379059, -1.4142388105392456, 0.18486431241035461, -0.7697498798370361, 0.13279084861278534, -1.2283692359924316, 0.25502681732177734, 0.742043137550354, -0.6111002564430237, 0.13894100487232208, -0.27381813526153564, -1.2630647420883179, -0.4748641848564148, 0.3519167900085449, 1.9155527353286743, -0.7213060259819031, 0.9668442606925964, 1.0619860887527466, -0.6696699261665344, -0.003639223985373974, 0.26698923110961914, -0.38010016083717346, 0.838921070098877, -1.0803390741348267, -0.4476878046989441, 1.1873127222061157, -0.11203853785991669, -0.6822134852409363, 1.5038843154907227, 0.7340649962425232, -1.0259462594985962, -0.1672944575548172, -0.15214580297470093, -0.7746137976646423, 0.006608996540307999, -1.6193673610687256, -0.04990088939666748, 0.5177996158599854, -1.5289199352264404, -0.49400436878204346, -0.17994040250778198, 1.2858446836471558, -0.18867023289203644, 1.3484623432159424, -0.33356785774230957, -0.1550121158361435, -0.32945019006729126, -0.29094308614730835, 0.08638864010572433, -0.18404538929462433, -0.7032666802406311, 0.24734826385974884, -0.736611008644104, 0.36529913544654846, 1.409628987312317, 0.27745306491851807, 0.02230679802596569, 0.5178185701370239, 1.1167734861373901, 0.4107699692249298, -0.06186643987894058, -0.8743149638175964, -1.5526719093322754, 2.0033886432647705, -1.3960150480270386, 1.9575670957565308, 0.7159589529037476, -0.019625121727585793, -1.7847520112991333, -1.9750038385391235, 1.3720375299453735, 1.12521231174469, 2.3179826736450195, 0.5453045964241028, 0.48890283703804016, -0.7810624837875366, -0.6613571047782898, 0.28768035769462585, -0.985494077205658, -0.725424587726593, 0.19889087975025177, 2.435560703277588, 1.7537472248077393, -0.421350359916687, -0.20477703213691711, -1.049992561340332, 1.3944954872131348, -0.20620878040790558, 0.24925769865512848, 1.961561679840088, -0.2194138914346695, -1.0591614246368408, 1.3227049112319946, -2.3126931190490723, 0.2106953114271164, 2.0257837772369385, 0.15155227482318878, 0.10517624020576477, -1.3471266031265259, -0.6454218029975891, -0.26168492436408997, -0.44039347767829895, -1.213337779045105, 0.5227576494216919, -0.20695824921131134, -0.7804492115974426, -1.3835554122924805, 0.23136696219444275, -1.058777928352356, -1.7220872640609741, 0.2313438355922699, 1.9272607564926147, 1.9636398553848267, -0.7945575714111328, 1.625308871269226, -0.3324958384037018, 0.1931401640176773, 1.2689661979675293, 1.2314748764038086, 3.1049389839172363, 1.8935130834579468, -1.3429616689682007, 0.7481358647346497, -0.11664529144763947, -0.4943932890892029, 1.2087796926498413, -1.2459216117858887, 1.1925885677337646, -0.23652707040309906, -1.2066545486450195, -1.2075878381729126, 0.9149553775787354, 0.5178993940353394, 0.07526608556509018, -0.469600647687912, 1.1692832708358765, 0.06966003775596619, 1.329127311706543, 0.6524243950843811, -0.3098759651184082, 0.6721590161323547, -0.35415756702423096, -0.41930562257766724, 1.5057529211044312, 0.21498514711856842, -1.3205913305282593, -2.302737236022949, -0.13701650500297546, -0.9008815288543701, 0.013404903933405876, -0.617232084274292, -0.9974697828292847, 1.64090096950531, 0.38390544056892395, -1.2956295013427734, -0.27519840002059937, -0.2949608564376831, -0.5268699526786804, 2.684504508972168, -1.351739525794983, -0.24326086044311523, -1.0621134042739868, -0.6604690551757812, 1.6913096904754639, -1.2067656517028809, -0.2478427141904831, -1.026317834854126, -0.44947996735572815, -1.3026150465011597, -0.5817165374755859, -0.015375979244709015, -0.9043113589286804, 0.9190497398376465, 0.20085591077804565, -1.2234991788864136, -0.4148070812225342, -0.9199931621551514, 0.9227701425552368, -0.17760074138641357, 0.1572733223438263, 1.865530252456665, 0.4372253119945526, -0.340232789516449, 0.7493187189102173, 1.1024916172027588, 0.5879167914390564, -0.6205363273620605, 0.3531733453273773, -0.6551568508148193, 0.3361050486564636, -1.3922964334487915, 0.2294994741678238, -2.7979671955108643, 0.6206622123718262, -0.07374028116464615, -0.015038028359413147, -0.08178018778562546, -1.3773106336593628, 1.1152490377426147, 2.538707733154297, -1.2125167846679688, 0.485451340675354, 0.3433641791343689, 1.217181921005249, -1.6008881330490112, 0.2189175933599472, -0.46801823377609253, 2.1338534355163574, 0.13822823762893677, 1.267268419265747, -0.39577794075012207, -2.2586662769317627, 0.6172254085540771, -1.266754388809204, -1.1540329456329346, 0.8217860460281372, -0.7857798933982849, 0.14544548094272614, -1.4025826454162598, -0.279558390378952, -0.842950701713562, -1.185858130455017, 0.7133309245109558, 0.07679860293865204, 0.43862468004226685, -0.6789084076881409, 0.35853904485702515, -2.162904977798462, -1.3573182821273804, -0.15711596608161926, -0.9447440505027771, 0.5077983736991882, -0.3531167805194855, 0.7061638832092285, -0.15994393825531006, -0.04013281315565109, 0.3865375518798828, 1.4819045066833496, 3.5023746490478516, 0.22449594736099243, 0.32141074538230896, -0.18842166662216187, -0.9164074063301086, 1.426903486251831, 0.9036909937858582, -0.16625632345676422, -0.5291332006454468, -1.1149321794509888, 1.1957236528396606, 1.9573676586151123, 0.9755375385284424, 0.025223249569535255, -0.8424152731895447, -0.8440964818000793, -0.02895784191787243, 0.10581625998020172, 0.44576767086982727, 0.9059489369392395, 0.19160392880439758, 0.048087336122989655, 1.373310923576355, 1.0997612476348877, -0.36708924174308777, 0.41590189933776855, -0.8248187303543091, -0.4423244297504425, 0.5104814171791077, 0.27568620443344116, 0.035471439361572266, 0.3264898955821991, -1.0419565439224243, -0.2724039852619171, -0.38355785608291626, -0.7987558841705322, -0.7615155577659607, -0.4375813603401184, -0.3252263367176056, 1.5973114967346191, 0.03457881510257721, -0.5520473122596741, -0.04706007242202759, -0.7225776314735413, -0.011343864724040031, -0.9571614861488342, 0.26106271147727966, -0.21948710083961487, -0.10291556268930435, -0.1364361047744751, 1.6720777750015259, -0.9435451626777649, -1.9892504215240479, 0.21775615215301514, 0.2289334088563919, -0.3209688067436218, 0.2352546900510788, 1.697774052619934, 0.6150332689285278, 1.4141530990600586, 1.3622673749923706, 0.9147821664810181, -0.6871528625488281, -1.273640513420105, 0.6144411563873291, 0.9680683612823486, -1.3625671863555908, 0.7264490127563477, 0.013888372108340263, -0.4796900451183319, 0.5758123993873596, 1.305505394935608, 0.4890461564064026, -2.072491407394409, 0.7036252021789551, -0.9483640193939209, 0.7922738790512085, 0.8016670346260071, 0.7460129261016846, 0.19917593896389008, 0.7746275663375854, -1.229591727256775, -1.1397920846939087, -0.6861035823822021, -0.7735564112663269, 1.9085613489151, -0.2826714813709259, 0.6103372573852539, -0.1600518375635147, -1.4100996255874634, -0.12241892516613007, 0.7322698831558228, 0.36581164598464966, -0.6126567125320435, 0.7281703948974609, -0.6101853847503662, -0.9932631850242615, -1.316997766494751, -0.545922040939331, -1.0780253410339355, -0.9583967924118042, 0.9898263812065125, 0.8261532783508301, 0.3068787157535553, 1.8753738403320312, 0.6796696186065674, 0.21916593611240387, -2.58335280418396, 0.8598606586456299, 0.34479355812072754, -0.016987714916467667, 0.8763484358787537, 0.3716537058353424, 1.0349435806274414, -0.024502761662006378, 0.5962333083152771, -2.4110758304595947, 2.2779715061187744, -0.2165929228067398, 0.6186091899871826, -0.09276609122753143, -0.20357145369052887, 1.1066254377365112, 0.5240938067436218, 0.4926210641860962, -1.0911718606948853, 0.6418673396110535, -0.6615597009658813, 1.2522560358047485, 0.777465283870697, -0.8948193192481995, -0.03514328598976135, 1.3995412588119507, 0.4099403917789459, -0.5263106822967529, -0.9723680019378662, -1.023555040359497, 0.9710888862609863, 1.711634874343872, -0.036808110773563385, -0.01652480661869049, 0.9129598736763, 0.6703960299491882, -1.3189557790756226, 0.008314372971653938, -0.7257847189903259, -0.6770785450935364, 1.7363221645355225, 2.089250326156616, -0.2056710571050644, -0.22559450566768646, -0.8020256757736206, -1.221746802330017, 0.8308256268501282, -0.00843762792646885, -0.00686144083738327, 0.6920016407966614, -0.6608870029449463, 1.1316535472869873, 0.8838919997215271, 0.962605893611908, 0.1521313637495041, 0.29193347692489624, 0.3517247140407562, -0.3887925148010254, -1.1937804222106934, -0.22792045772075653, -1.1560035943984985, -2.550525665283203, 0.4397067427635193, -0.20207186043262482, -1.4080297946929932, 0.052269548177719116, -1.10641610622406, 0.9610133171081543, -0.6095728874206543, -1.0838391780853271, -1.38412606716156, 0.2524125576019287, -0.05627640336751938, 0.9256752133369446, -1.6067802906036377, -0.10260516405105591, 1.29736328125, 0.9901881814002991, -0.7149985432624817, 0.9462509751319885, 0.20726796984672546, 1.050620436668396, 0.9223852753639221, -0.3526516854763031, 0.4861673414707184, 0.026979105547070503, -1.3105289936065674, 0.49051427841186523, 1.2248125076293945, 0.1663828343153, 1.5641531944274902, -0.532024085521698, 0.07394392788410187, 0.3829522132873535, -0.5281953811645508, -0.47580090165138245, -0.5958318114280701, 0.6723254919052124, 0.06389803439378738, -0.9431297183036804, 0.05217348784208298, 0.02300727181136608, -0.24735675752162933, 0.14569398760795593, -1.4659122228622437, -0.1142500564455986, -0.27267467975616455, -0.6328949928283691, -1.2175508737564087, -0.053341373801231384, 1.3045783042907715, -0.7251782417297363, -0.20614393055438995, 0.5052840709686279, 0.22845079004764557, 0.5268481373786926, 0.6455839276313782, -0.7050028443336487, -0.38989248871803284, -0.24191626906394958, -0.3923269510269165, 0.3780463933944702, 1.3913335800170898, -0.02145901694893837, -1.0011553764343262, 0.7316544651985168, -0.4109469950199127, 0.06685522198677063, 1.9127432107925415, 0.030755726620554924, -0.7915266156196594, 0.2774527966976166, -0.719767153263092, 1.9228848218917847, 1.792850375175476, 1.2799139022827148, -0.022808287292718887, -1.0160669088363647, 0.6433635950088501, -0.3888169229030609, -0.40079623460769653, 0.9334139823913574, 0.31717246770858765, -0.25238972902297974, -1.3966352939605713, 0.6526467204093933, 1.2884669303894043, -0.879155695438385, -0.8601700067520142, 0.15174804627895355, -0.7859728336334229, 1.1907141208648682, 0.6916061043739319, 0.3676169216632843, 0.3135719299316406, 1.5520999431610107, 0.7886839509010315, -0.38397878408432007, 0.619066596031189, 0.513020396232605, -0.15921272337436676, -2.1741371154785156, -1.1155198812484741, 0.37393322587013245, -0.4846840500831604, -1.6696982383728027, 1.4121122360229492, -1.1449583768844604, -0.950607180595398, 0.6228146553039551, 0.14706285297870636, 1.446170449256897, 0.3650691509246826, 1.572447419166565, 2.084455728530884, 0.8389899730682373, 0.30940189957618713, 1.219275712966919, -0.22228316962718964, -0.5242713093757629, 1.7563114166259766, -0.5293702483177185, 0.4997383952140808, 1.031609296798706, -0.27802902460098267, -1.068230390548706, -0.8254168033599854, -1.332550287246704, -0.7881922125816345, 1.153015375137329, 0.07243100553750992, -1.1288058757781982, 0.27427735924720764, 1.5509294271469116, 0.06385434418916702, -0.2812170684337616, 0.7268190979957581, 0.40022262930870056, -0.9016804099082947, -0.07656294107437134, -0.834281861782074, 0.5637035965919495, -0.15729083120822906, -0.2545399069786072, 0.3621809780597687, 0.471531480550766, 1.3620766401290894, -0.07295069843530655, 0.0774337500333786, 1.1254963874816895, -1.4230365753173828, 1.574171543121338, -0.7725654244422913, 0.30251309275627136, -2.3939263820648193, 1.3643126487731934, -0.7911673188209534, 1.9324458837509155, -2.661405324935913, 0.45430681109428406, -0.4983144700527191, -0.4194008409976959, 0.24905560910701752, -0.3115546405315399, 0.13025404512882233, -0.15434153378009796, -1.1652544736862183, -0.1331389844417572, -0.741142213344574, 0.5544489026069641, 1.1320016384124756, 1.3974097967147827, -1.1052131652832031, -0.2689440846443176, -1.7774137258529663, -0.13255399465560913, -0.7054861783981323, 0.3647422790527344, -1.9571162462234497, -0.1583424210548401, -1.9755665063858032, -2.3841283321380615, -1.2419592142105103, -0.7384863495826721, 1.057664394378662, 0.09576069563627243, -0.8098316788673401, 1.1321160793304443, -0.35354098677635193, -1.8646800518035889, 1.0641518831253052, -2.190324068069458 ]
https://github.com/huggingface/datasets/issues/3990
Improve AutomaticSpeechRecognition task template
There is an open PR to do that: #3364. I just haven't had time to finish it...
**Is your feature request related to a problem? Please describe.** [AutomaticSpeechRecognition task template](https://github.com/huggingface/datasets/blob/master/src/datasets/tasks/automatic_speech_recognition.py) is outdated as it uses path to audiofile as an audio column instead of a Audio feature itself (I guess it's because Audio feature didn't exist at the time this template was created). **Describe the solution you'd like** Change audio columns from string path to Audio feature.
864
17
Improve AutomaticSpeechRecognition task template **Is your feature request related to a problem? Please describe.** [AutomaticSpeechRecognition task template](https://github.com/huggingface/datasets/blob/master/src/datasets/tasks/automatic_speech_recognition.py) is outdated as it uses path to audiofile as an audio column instead of a Audio feature itself (I guess it's because Audio feature didn't exist at the time this template was created). **Describe the solution you'd like** Change audio columns from string path to Audio feature. There is an open PR to do that: #3364. I just haven't had time to finish it...
[ -1.3801325559616089, -1.0287407636642456, -0.8333110213279724, 1.459076166152954, -0.15650026500225067, -1.314138650894165, -0.0029438012279570103, -0.9606388807296753, 1.6513934135437012, -0.7897317409515381, 0.37492460012435913, -1.6105523109436035, -0.048415739089250565, -0.5318840146064758, -0.8523316383361816, -0.8928956389427185, -0.41616368293762207, -0.8283226490020752, 1.0181195735931396, 2.5005476474761963, 1.1783015727996826, -1.4459500312805176, 2.7188284397125244, 0.7085204124450684, -0.22098533809185028, -1.0372532606124878, 0.39347487688064575, 0.13656577467918396, -1.1910673379898071, -0.57322758436203, -0.86673504114151, -0.032184697687625885, -0.5472288131713867, -0.43909603357315063, 0.06715569645166397, 0.344036340713501, -0.1490429937839508, -0.33904606103897095, -0.63841712474823, -0.7688988447189331, 0.36256152391433716, -0.45860642194747925, 0.8715823888778687, -0.34632399678230286, 1.6684409379959106, -0.6017112135887146, 0.2775021493434906, 0.6303793787956238, 1.4995112419128418, 0.17273898422718048, 0.035036105662584305, 0.2958705723285675, 0.4317382872104645, -0.08319151401519775, 0.5216246843338013, 1.1428401470184326, 0.6491079926490784, 0.5318771004676819, 0.6562455892562866, -2.1778247356414795, 1.4041155576705933, -0.9454147219657898, 0.24841812252998352, 1.4335322380065918, -0.9422491192817688, 0.36341172456741333, -1.7777494192123413, -0.09586018323898315, 0.548798680305481, -2.424814462661743, 0.14656390249729156, -1.1679434776306152, -0.540664792060852, 0.9858147501945496, 0.24699580669403076, -1.3158061504364014, 0.1189877912402153, -0.42661160230636597, 0.9331024289131165, 0.3834231495857239, 1.164433479309082, -1.5612070560455322, -0.023134123533964157, -0.25865665078163147, -0.052213795483112335, -1.3014051914215088, -1.4778636693954468, 0.5534282326698303, 0.555168628692627, 0.6269293427467346, -0.09091722220182419, 0.9197111129760742, -1.0698646306991577, 0.9040766954421997, -0.966873049736023, -1.644304871559143, -1.5123555660247803, -2.332347869873047, -2.278813362121582, 0.9357504844665527, -0.4128165543079376, -0.6047154068946838, 1.8892712593078613, -1.0057543516159058, -1.7940597534179688, 1.1337954998016357, 0.18312132358551025, 0.12603013217449188, 2.433838129043579, 0.26358047127723694, -0.657111644744873, 0.4612519443035126, -0.6362819671630859, 0.9405821561813354, -0.5047617554664612, 1.442745327949524, 0.49070510268211365, -0.8617678284645081, 1.6128877401351929, -0.40205806493759155, 0.45270681381225586, -0.548491895198822, -0.49911266565322876, -0.8658881187438965, 0.478283554315567, 1.9465657472610474, -0.2638487219810486, 1.6495963335037231, -0.3926496207714081, -1.5497088432312012, -1.5610194206237793, 0.8217669725418091, 0.5970996022224426, -0.8736955523490906, 0.003933683969080448, -0.4256737530231476, 0.23099730908870697, -0.04535318538546562, 1.1470381021499634, 1.2779126167297363, 0.6369755268096924, -0.2959842085838318, -0.8811171650886536, 0.3281151354312897, -0.09742987155914307, -0.6072696447372437, -1.873511791229248, -0.2987317144870758, 0.1778581291437149, 0.6206575036048889, -1.3218375444412231, 1.5779023170471191, 1.029975414276123, 1.8828827142715454, 1.0378907918930054, -0.31259259581565857, 1.5307387113571167, -0.12341482937335968, 1.9350003004074097, -0.5329817533493042, 0.6882163286209106, -0.41428083181381226, -1.036766529083252, 0.7544892430305481, -0.3729914426803589, -2.0684800148010254, -0.8115109801292419, -0.8549609184265137, -0.16649575531482697, -0.717295229434967, 1.0179975032806396, -0.3035965859889984, -1.2296279668807983, 0.1494365930557251, -0.8127670288085938, 0.1010737493634224, -1.2024387121200562, 0.18676801025867462, 0.7359898090362549, -0.5891641974449158, -0.04562908411026001, -0.21063365042209625, -1.2608884572982788, -0.40463200211524963, 0.2913007438182831, 1.985497236251831, -0.8045688271522522, 0.9097074270248413, 0.9097684621810913, -0.6607009172439575, 0.12613263726234436, 0.3135093152523041, -0.2342105358839035, 0.8466286063194275, -0.9918175935745239, -0.346071720123291, 1.1128325462341309, -0.23304148018360138, -0.6726052165031433, 1.432191014289856, 0.8176389336585999, -0.9657931327819824, -0.11475209146738052, -0.22307924926280975, -0.7217675447463989, -0.011513518169522285, -1.6656737327575684, -0.2786787748336792, 0.23897729814052582, -1.4950203895568848, -0.46362707018852234, -0.262544721364975, 1.276491403579712, -0.1841203272342682, 1.4067275524139404, -0.3189714252948761, -0.25565850734710693, -0.4025193154811859, -0.5508084297180176, 0.15678556263446808, -0.13060155510902405, -0.6301202178001404, 0.33667612075805664, -0.8108251094818115, 0.4410269260406494, 1.3950114250183105, 0.4146731197834015, 0.04230356216430664, 0.5880511999130249, 0.9686815738677979, 0.3857738971710205, -0.023912806063890457, -0.8261602520942688, -1.6441689729690552, 2.002202033996582, -1.5376567840576172, 2.015134572982788, 0.7878230214118958, -0.11843671649694443, -1.5833255052566528, -1.7563632726669312, 1.379994511604309, 1.1231355667114258, 2.3140530586242676, 0.6206340789794922, 0.3624807894229889, -0.8201790452003479, -0.7115702629089355, 0.32911577820777893, -1.1259963512420654, -0.7469972968101501, -0.07705453783273697, 2.2589499950408936, 1.7973140478134155, -0.5096896290779114, -0.11582005023956299, -0.9294774532318115, 1.2448906898498535, -0.15641672909259796, 0.25217148661613464, 2.1105642318725586, -0.33720487356185913, -1.0115563869476318, 1.312278389930725, -2.340909242630005, 0.19917547702789307, 2.0632030963897705, 0.3983425796031952, 0.08229552209377289, -1.4909789562225342, -0.593626856803894, -0.2973247468471527, -0.25410929322242737, -1.271269679069519, 0.5458661317825317, -0.24896728992462158, -0.8538016080856323, -1.412653923034668, 0.18546299636363983, -1.121998906135559, -1.6486800909042358, 0.45631104707717896, 1.9520460367202759, 2.033505916595459, -0.7256283164024353, 1.3346260786056519, -0.2178233414888382, 0.03550742566585541, 1.2526142597198486, 1.107670545578003, 3.0844244956970215, 2.00645112991333, -1.0981862545013428, 0.6242856979370117, -0.24621319770812988, -0.4748058617115021, 1.094985842704773, -1.0798401832580566, 1.2087843418121338, -0.045341856777668, -1.1882286071777344, -1.2053121328353882, 1.0360839366912842, 0.5418468117713928, -0.07762059569358826, -0.585479736328125, 1.2811639308929443, 0.037444714456796646, 1.30074942111969, 0.3715549111366272, -0.3361005187034607, 0.5759283900260925, -0.37251120805740356, -0.5425806045532227, 1.620798110961914, 0.1426934003829956, -1.6274876594543457, -2.270630121231079, -0.12602905929088593, -0.7885072827339172, -0.1620931476354599, -0.5323545932769775, -0.942907989025116, 1.672210693359375, 0.41523477435112, -1.2269926071166992, -0.36706671118736267, -0.4845878481864929, -0.6940098404884338, 2.7034084796905518, -1.4337607622146606, -0.2294565886259079, -0.8803554773330688, -0.46111997961997986, 1.6963021755218506, -1.1912858486175537, -0.2610650658607483, -0.9366516470909119, -0.5795785188674927, -1.2636055946350098, -0.5270228385925293, -0.03775428235530853, -0.8816721439361572, 0.7202289700508118, 0.1384514421224594, -1.042960286140442, -0.40223193168640137, -0.8089131712913513, 0.751768946647644, 0.053846023976802826, 0.2806743085384369, 1.8759697675704956, 0.3553662598133087, -0.34901365637779236, 0.7710978388786316, 1.2318657636642456, 0.634315550327301, -0.6366720795631409, 0.13196218013763428, -0.5438869595527649, 0.3550412952899933, -1.3751527070999146, 0.31501826643943787, -2.8750932216644287, 0.6533018350601196, -0.13123801350593567, -0.22818051278591156, 0.007165645249187946, -1.207443356513977, 1.2946929931640625, 2.5587522983551025, -1.1761361360549927, 0.5091930627822876, 0.21430730819702148, 1.1271151304244995, -1.531714916229248, 0.38808101415634155, -0.3991711437702179, 2.0739033222198486, 0.24648550152778625, 1.235360860824585, -0.66237872838974, -2.1716220378875732, 0.7009901404380798, -1.1722184419631958, -1.0881679058074951, 0.5750182271003723, -0.8904442191123962, 0.1360231339931488, -1.6088436841964722, -0.18726284801959991, -0.9281906485557556, -1.2902534008026123, 0.755066454410553, 0.13965465128421783, 0.35191112756729126, -0.5912932753562927, 0.31069859862327576, -2.303860902786255, -1.4534072875976562, -0.1590728759765625, -1.0591142177581787, 0.5105170607566833, -0.4529399275779724, 0.5998570919036865, -0.16375410556793213, 0.1008838340640068, 0.2871410548686981, 1.4737229347229004, 3.4223973751068115, 0.10004167258739471, 0.5610485672950745, -0.19864030182361603, -0.8839394450187683, 1.5458943843841553, 1.029988408088684, 0.032635703682899475, -0.4925800561904907, -1.0046966075897217, 1.3274240493774414, 1.993709921836853, 1.0871970653533936, 0.1365024596452713, -0.8760701417922974, -0.6420531868934631, -0.026089247316122055, 0.23787221312522888, 0.5274192094802856, 1.1217296123504639, -0.0713505744934082, 0.0944463461637497, 1.4717903137207031, 1.276426076889038, -0.5068984627723694, 0.47391825914382935, -0.9131242632865906, -0.3654704988002777, 0.31177252531051636, 0.30330437421798706, -0.033214278519153595, 0.41567525267601013, -0.9752683043479919, -0.19860510528087616, -0.30585330724716187, -0.9500331878662109, -0.7888709306716919, -0.4036172032356262, -0.39701607823371887, 1.6950634717941284, 0.09595560282468796, -0.5266492366790771, -0.10718556493520737, -0.7774262428283691, -0.014937512576580048, -1.0001622438430786, 0.276137113571167, -0.03659052774310112, -0.13296116888523102, -0.08112866431474686, 1.7371591329574585, -0.9859273433685303, -2.14471697807312, 0.2857348620891571, 0.2776046395301819, -0.4629417955875397, 0.20543678104877472, 1.583927869796753, 0.5986130833625793, 1.4255274534225464, 1.3760308027267456, 1.0073262453079224, -0.6137796640396118, -1.3818854093551636, 0.6854996681213379, 0.929204523563385, -1.3486119508743286, 0.7432876825332642, -0.13339482247829437, -0.40005359053611755, 0.6890264749526978, 1.394222378730774, 0.5237930417060852, -2.0113582611083984, 0.8976725935935974, -0.866679847240448, 0.8041144609451294, 0.6435423493385315, 0.7164115905761719, 0.355110764503479, 0.8509806394577026, -1.2732725143432617, -1.0950604677200317, -0.9636486768722534, -0.7252921462059021, 1.8826162815093994, -0.248459130525589, 0.5253711938858032, -0.06813611090183258, -1.2334866523742676, -0.12834928929805756, 0.6688359379768372, 0.42332565784454346, -0.2707171142101288, 0.755641758441925, -0.6086498498916626, -1.1273751258850098, -1.4358919858932495, -0.4074605405330658, -0.8844100832939148, -0.9232901930809021, 0.9547434449195862, 0.7411636710166931, 0.26756295561790466, 1.9601513147354126, 0.5734167098999023, 0.2968744933605194, -2.7946255207061768, 0.969750702381134, 0.26408860087394714, 0.12700948119163513, 0.9145038723945618, 0.2831801474094391, 1.0997083187103271, -0.040788616985082626, 0.4510367512702942, -2.316964626312256, 2.2643818855285645, -0.38251543045043945, 0.6356837749481201, 0.013939623720943928, -0.03456861525774002, 1.179765224456787, 0.6236226558685303, 0.625164270401001, -1.1104284524917603, 0.7005821466445923, -0.6540771722793579, 1.3009861707687378, 1.0475311279296875, -0.7726974487304688, -0.06922832876443863, 1.325648307800293, 0.49724310636520386, -0.4902101457118988, -0.9702222347259521, -0.8782828450202942, 0.8720757365226746, 1.7346673011779785, -0.12332600355148315, -0.05430831015110016, 0.7671524882316589, 0.6397541761398315, -1.290263295173645, 0.10074443370103836, -0.7639545798301697, -0.7353218793869019, 1.6646966934204102, 2.0412023067474365, -0.1174103170633316, -0.24969995021820068, -0.6165891289710999, -1.2106597423553467, 0.5701751112937927, -0.11199667304754257, 0.04983443021774292, 0.8053957223892212, -0.6178025603294373, 1.2220340967178345, 0.7998080849647522, 0.9045814275741577, -0.12577936053276062, 0.3941679000854492, 0.41860124468803406, -0.2198779284954071, -1.1968653202056885, -0.42121466994285583, -1.2199491262435913, -2.5502142906188965, 0.315558522939682, -0.44865208864212036, -1.3043959140777588, -0.0034519312903285027, -1.1247913837432861, 0.9416123032569885, -0.5480498671531677, -1.0585663318634033, -1.4861319065093994, 0.060193151235580444, -0.04049741104245186, 0.8728511333465576, -1.6524375677108765, -0.12786702811717987, 1.3129218816757202, 0.8263292908668518, -0.7273591756820679, 1.074152946472168, 0.22670087218284607, 1.0786861181259155, 0.6967880129814148, -0.44817861914634705, 0.399097740650177, 0.018214449286460876, -1.2546818256378174, 0.6326472163200378, 1.0674031972885132, 0.1962614506483078, 1.357848048210144, -0.6613367199897766, 0.1088816300034523, 0.47174400091171265, -0.5660518407821655, -0.3290134370326996, -0.5560185313224792, 0.8545364141464233, 0.010427930392324924, -0.9654861688613892, 0.0328550785779953, -0.22153183817863464, -0.11678708344697952, 0.10732459276914597, -1.5787534713745117, -0.2376924306154251, -0.35658228397369385, -0.5139001607894897, -1.2362945079803467, 0.08002173900604248, 1.2778233289718628, -0.9359377026557922, -0.2352171540260315, 0.5913018584251404, 0.4171360433101654, 0.6089608073234558, 0.6074997782707214, -0.6872182488441467, -0.45918235182762146, -0.26234644651412964, -0.21440699696540833, 0.27432185411453247, 1.1744962930679321, -0.1749810427427292, -1.175350546836853, 0.6554030179977417, -0.4171162247657776, 0.0624304935336113, 1.963436245918274, -0.07306039333343506, -0.8052918314933777, 0.3286574184894562, -0.6876695156097412, 1.7857521772384644, 1.5353682041168213, 1.2231823205947876, -0.11161992698907852, -0.7911750078201294, 0.6475202441215515, -0.1290680319070816, -0.3460395336151123, 0.8062877655029297, 0.5606895089149475, -0.18455256521701813, -1.4528266191482544, 0.4918181896209717, 1.2870453596115112, -0.9161744713783264, -0.916628897190094, 0.09913187474012375, -0.9069956541061401, 1.0697548389434814, 0.6794188022613525, 0.370108962059021, 0.30930042266845703, 1.733954668045044, 0.6657095551490784, -0.5317967534065247, 0.4604240953922272, 0.48363611102104187, -0.2819271385669708, -2.244357109069824, -1.033186674118042, 0.25651347637176514, -0.3507719039916992, -1.4959872961044312, 1.3605494499206543, -1.2291899919509888, -0.7706937193870544, 0.5438442826271057, 0.2457011640071869, 1.5862743854522705, 0.2676442563533783, 1.7155210971832275, 2.0649404525756836, 1.0010011196136475, 0.3525206446647644, 1.2922685146331787, -0.151166632771492, -0.3911787271499634, 1.8405680656433105, -0.49955111742019653, 0.49646902084350586, 1.0203478336334229, -0.37337276339530945, -1.0370584726333618, -0.7624281644821167, -1.1751837730407715, -0.5757501721382141, 1.1054028272628784, 0.1650361716747284, -1.2078992128372192, 0.1431662142276764, 1.4680595397949219, 0.28861528635025024, -0.284786581993103, 0.4290705919265747, 0.4956791400909424, -0.7649703621864319, -0.11429703235626221, -0.8922774195671082, 0.5008748173713684, -0.16158074140548706, -0.29830601811408997, 0.22188149392604828, 0.41633141040802, 1.2668306827545166, -0.03462110459804535, 0.09636203944683075, 1.165520429611206, -1.4160922765731812, 1.579481601715088, -0.4175579845905304, 0.2847262918949127, -2.2998714447021484, 1.478401780128479, -0.7299095988273621, 1.9716405868530273, -2.6349189281463623, 0.3510843515396118, -0.6892978549003601, -0.40966662764549255, 0.4454552233219147, -0.3864985406398773, 0.16099880635738373, -0.15124496817588806, -1.071217656135559, 0.0502520352602005, -0.6977918148040771, 0.5308149456977844, 1.2284595966339111, 1.3500105142593384, -1.0008232593536377, -0.2991172969341278, -1.7965617179870605, -0.13244080543518066, -0.7400590777397156, 0.4733276963233948, -2.147470235824585, -0.18207129836082458, -1.9620459079742432, -2.048135995864868, -1.3761881589889526, -0.7780107855796814, 1.1143996715545654, 0.12252313643693924, -0.8244417309761047, 1.0443602800369263, -0.3149803876876831, -1.6754846572875977, 1.0241549015045166, -2.142815351486206 ]
https://github.com/huggingface/datasets/issues/3990
Improve AutomaticSpeechRecognition task template
> There is an open PR to do that: #3364. I just haven't had time to finish it... 😬 thanks...
**Is your feature request related to a problem? Please describe.** [AutomaticSpeechRecognition task template](https://github.com/huggingface/datasets/blob/master/src/datasets/tasks/automatic_speech_recognition.py) is outdated as it uses path to audiofile as an audio column instead of a Audio feature itself (I guess it's because Audio feature didn't exist at the time this template was created). **Describe the solution you'd like** Change audio columns from string path to Audio feature.
864
20
Improve AutomaticSpeechRecognition task template **Is your feature request related to a problem? Please describe.** [AutomaticSpeechRecognition task template](https://github.com/huggingface/datasets/blob/master/src/datasets/tasks/automatic_speech_recognition.py) is outdated as it uses path to audiofile as an audio column instead of a Audio feature itself (I guess it's because Audio feature didn't exist at the time this template was created). **Describe the solution you'd like** Change audio columns from string path to Audio feature. > There is an open PR to do that: #3364. I just haven't had time to finish it... 😬 thanks...
[ -1.3610568046569824, -1.0197964906692505, -0.8005139827728271, 1.4751032590866089, -0.1553155481815338, -1.3150300979614258, 0.02180970460176468, -0.9532771110534668, 1.6603870391845703, -0.8010501861572266, 0.3773443400859833, -1.6134827136993408, -0.04954015091061592, -0.5256212949752808, -0.8448033332824707, -0.8949712514877319, -0.43125349283218384, -0.817645788192749, 1.003698468208313, 2.5307414531707764, 1.165079116821289, -1.414409875869751, 2.714480400085449, 0.716271162033081, -0.2320341020822525, -1.0532201528549194, 0.4146423041820526, 0.16006344556808472, -1.2325443029403687, -0.5379921197891235, -0.8828298449516296, -0.023066852241754532, -0.5223991870880127, -0.45016101002693176, 0.08691149204969406, 0.29721909761428833, -0.14568163454532623, -0.33515119552612305, -0.6371673941612244, -0.7596468329429626, 0.3755754232406616, -0.4630833864212036, 0.8745879530906677, -0.3446514308452606, 1.6600176095962524, -0.6183927655220032, 0.3358280658721924, 0.6629366278648376, 1.473054051399231, 0.16232675313949585, 0.03658042848110199, 0.3069189190864563, 0.4469529092311859, -0.03369847312569618, 0.4893297851085663, 1.1258145570755005, 0.6470036506652832, 0.5031014680862427, 0.6571176648139954, -2.187451124191284, 1.3967392444610596, -0.945978581905365, 0.24342231452465057, 1.4211074113845825, -0.9338635206222534, 0.35394659638404846, -1.7912251949310303, -0.09632734209299088, 0.5473573207855225, -2.4267919063568115, 0.11158859729766846, -1.208859920501709, -0.5520731210708618, 0.9681422114372253, 0.25660693645477295, -1.328203558921814, 0.11316085606813431, -0.4602484405040741, 0.9058169722557068, 0.4147588610649109, 1.1647350788116455, -1.5508794784545898, -0.02842988446354866, -0.26691797375679016, -0.04116810858249664, -1.2940140962600708, -1.4803252220153809, 0.5688446164131165, 0.5743836760520935, 0.6373581290245056, -0.07173208892345428, 0.8917891383171082, -1.0605219602584839, 0.9009063839912415, -0.9492582082748413, -1.688673496246338, -1.4987918138504028, -2.3120062351226807, -2.2725813388824463, 0.9370365142822266, -0.4070642292499542, -0.5796884894371033, 1.9048300981521606, -1.0171719789505005, -1.7986093759536743, 1.1356520652770996, 0.1679541915655136, 0.11678232252597809, 2.4133236408233643, 0.24798880517482758, -0.6222702860832214, 0.42886149883270264, -0.6185551881790161, 0.9103336334228516, -0.503007709980011, 1.4417979717254639, 0.4681227505207062, -0.8589721918106079, 1.6086093187332153, -0.36731240153312683, 0.42925506830215454, -0.5628337860107422, -0.4847574234008789, -0.8608223795890808, 0.4621526002883911, 1.943763256072998, -0.2682267427444458, 1.6465922594070435, -0.37780383229255676, -1.54798424243927, -1.5817276239395142, 0.8119092583656311, 0.5837218165397644, -0.8566135764122009, -0.02012987807393074, -0.43445053696632385, 0.21551130712032318, -0.03214651718735695, 1.1452056169509888, 1.301544427871704, 0.6609566807746887, -0.30544033646583557, -0.8872407674789429, 0.31708693504333496, -0.10640496760606766, -0.6057543754577637, -1.9164154529571533, -0.3087413012981415, 0.16242775321006775, 0.6484276056289673, -1.3060145378112793, 1.5660489797592163, 0.9940209984779358, 1.8894449472427368, 1.0499883890151978, -0.33315008878707886, 1.5387083292007446, -0.08148261159658432, 1.9289954900741577, -0.5360710620880127, 0.6988413333892822, -0.4054815471172333, -1.0452488660812378, 0.7578759789466858, -0.35789552330970764, -2.0505313873291016, -0.7917065620422363, -0.8694878220558167, -0.17274048924446106, -0.7086009979248047, 1.0198819637298584, -0.3214961886405945, -1.2322947978973389, 0.15721853077411652, -0.8190913796424866, 0.08569836616516113, -1.2005118131637573, 0.20356737077236176, 0.7317816615104675, -0.5554026365280151, 0.004105744883418083, -0.22959159314632416, -1.2808880805969238, -0.39778244495391846, 0.28822192549705505, 1.9429696798324585, -0.8034809231758118, 0.9079281687736511, 0.923922061920166, -0.6704208254814148, 0.1270710527896881, 0.3298198878765106, -0.24706393480300903, 0.838731050491333, -0.992557168006897, -0.32455021142959595, 1.1069865226745605, -0.2532169818878174, -0.6610334515571594, 1.4364491701126099, 0.8142269253730774, -0.956450879573822, -0.1178952157497406, -0.23029927909374237, -0.719341516494751, 0.003475608304142952, -1.685735821723938, -0.28464701771736145, 0.25662094354629517, -1.4984757900238037, -0.4756459891796112, -0.27154049277305603, 1.290958046913147, -0.16727405786514282, 1.417944312095642, -0.2994470000267029, -0.2874617874622345, -0.3874661922454834, -0.5429848432540894, 0.17931783199310303, -0.144721120595932, -0.6273205280303955, 0.3791448771953583, -0.8354855179786682, 0.43560463190078735, 1.3981804847717285, 0.40491607785224915, 0.055414944887161255, 0.5964320302009583, 0.9442838430404663, 0.38427823781967163, -0.05073387920856476, -0.8428910374641418, -1.6680783033370972, 2.031280994415283, -1.5244252681732178, 2.005694627761841, 0.7588485479354858, -0.1310635358095169, -1.6351732015609741, -1.755867838859558, 1.338497281074524, 1.1143882274627686, 2.3302419185638428, 0.6355602145195007, 0.37159422039985657, -0.8066055774688721, -0.690288245677948, 0.326551616191864, -1.1188541650772095, -0.7473922371864319, -0.06565958261489868, 2.2722489833831787, 1.779752492904663, -0.4967601001262665, -0.09367392957210541, -0.9457260370254517, 1.2567558288574219, -0.13937856256961823, 0.25893712043762207, 2.1074588298797607, -0.3336315453052521, -1.025649905204773, 1.2891753911972046, -2.3138480186462402, 0.21667727828025818, 2.0488672256469727, 0.3904978632926941, 0.06894118338823318, -1.5002411603927612, -0.5975360870361328, -0.33926305174827576, -0.2333969920873642, -1.264102578163147, 0.5540310740470886, -0.2425166666507721, -0.9025213122367859, -1.4530915021896362, 0.14845706522464752, -1.120720624923706, -1.654409408569336, 0.4422979950904846, 1.950190782546997, 2.007190465927124, -0.6992822885513306, 1.3478890657424927, -0.22787410020828247, 0.017437539994716644, 1.24509859085083, 1.1038382053375244, 3.088287115097046, 2.0171568393707275, -1.0857312679290771, 0.6664668917655945, -0.23065611720085144, -0.4560810327529907, 1.0840619802474976, -1.0709686279296875, 1.2174960374832153, -0.03844650834798813, -1.1794946193695068, -1.1710811853408813, 1.076151728630066, 0.5073113441467285, -0.09448119252920151, -0.5727419257164001, 1.3077291250228882, 0.02090475708246231, 1.334686517715454, 0.3888765275478363, -0.3349835276603699, 0.5886637568473816, -0.3723835051059723, -0.5261535048484802, 1.6201536655426025, 0.15120932459831238, -1.6401969194412231, -2.2715485095977783, -0.16191421449184418, -0.7889876365661621, -0.13811852037906647, -0.5111702680587769, -0.9427976608276367, 1.6925833225250244, 0.42021825909614563, -1.2168304920196533, -0.3502601981163025, -0.461561918258667, -0.692686915397644, 2.702993392944336, -1.4382375478744507, -0.21966160833835602, -0.8647890686988831, -0.4723800718784332, 1.683903694152832, -1.20517897605896, -0.2719905972480774, -0.9392736554145813, -0.5694076418876648, -1.2546441555023193, -0.5316048860549927, -0.03727742284536362, -0.9066190123558044, 0.6909990906715393, 0.11146977543830872, -1.0412614345550537, -0.39957332611083984, -0.8204008340835571, 0.7567402124404907, 0.07527226209640503, 0.2612147629261017, 1.909999966621399, 0.38973912596702576, -0.34073305130004883, 0.7590658664703369, 1.2120349407196045, 0.6169486045837402, -0.650176465511322, 0.11640839278697968, -0.5644491910934448, 0.31713515520095825, -1.373358964920044, 0.3111293613910675, -2.864955186843872, 0.6437374949455261, -0.14391747117042542, -0.2066895067691803, 0.0008199894800782204, -1.2131778001785278, 1.2935523986816406, 2.576106309890747, -1.1670844554901123, 0.49912288784980774, 0.23372159898281097, 1.1094712018966675, -1.5060888528823853, 0.4263404309749603, -0.3668833374977112, 2.0903923511505127, 0.26995396614074707, 1.2093743085861206, -0.6718654632568359, -2.1720402240753174, 0.7177206873893738, -1.1536933183670044, -1.0812861919403076, 0.5774809718132019, -0.8763688206672668, 0.1288638412952423, -1.597115397453308, -0.17133507132530212, -0.9070294499397278, -1.2973748445510864, 0.723224401473999, 0.1470598429441452, 0.3633831739425659, -0.5821361541748047, 0.3120305836200714, -2.2799737453460693, -1.4397990703582764, -0.1677752286195755, -1.0783230066299438, 0.5196657776832581, -0.4175969660282135, 0.609624981880188, -0.16375713050365448, 0.10960940271615982, 0.2988550662994385, 1.4553570747375488, 3.4230995178222656, 0.08973677456378937, 0.5420094728469849, -0.18710021674633026, -0.9074217677116394, 1.545027256011963, 1.0182013511657715, 0.03946017101407051, -0.5118081569671631, -0.9989396929740906, 1.294167399406433, 1.993194818496704, 1.119840145111084, 0.148805171251297, -0.87727952003479, -0.6640554070472717, -0.003832980990409851, 0.22633908689022064, 0.5136253237724304, 1.1031279563903809, -0.059847548604011536, 0.09085338562726974, 1.50167715549469, 1.317962646484375, -0.5139837861061096, 0.47364214062690735, -0.9303802847862244, -0.37207525968551636, 0.3186367452144623, 0.3186250329017639, -0.029964637011289597, 0.3920249938964844, -0.9883927702903748, -0.18544548749923706, -0.305134654045105, -0.9348695874214172, -0.7744723558425903, -0.4006422162055969, -0.39245447516441345, 1.7006511688232422, 0.0941845253109932, -0.5099294185638428, -0.11634395271539688, -0.788755476474762, -0.015413222834467888, -1.01353919506073, 0.3005151152610779, -0.02208244986832142, -0.12066650390625, -0.06515353918075562, 1.7474076747894287, -0.9665567278862, -2.1466481685638428, 0.2708657681941986, 0.24033500254154205, -0.482621967792511, 0.21492397785186768, 1.5787583589553833, 0.5986689925193787, 1.4370160102844238, 1.3923673629760742, 0.9946896433830261, -0.6016380190849304, -1.364918828010559, 0.6671666502952576, 0.9074822664260864, -1.3710860013961792, 0.741576075553894, -0.12739931046962738, -0.40263062715530396, 0.6962771415710449, 1.3842809200286865, 0.4955003559589386, -2.0500783920288086, 0.898277997970581, -0.8535289764404297, 0.7785504460334778, 0.6626050472259521, 0.7280208468437195, 0.32175636291503906, 0.8345392942428589, -1.28303861618042, -1.1082326173782349, -0.9667518138885498, -0.6944365501403809, 1.8918702602386475, -0.24247820675373077, 0.5184284448623657, -0.08417274802923203, -1.2440167665481567, -0.13796070218086243, 0.6350475549697876, 0.42810946702957153, -0.31013375520706177, 0.7522555589675903, -0.5991851091384888, -1.1712017059326172, -1.4296166896820068, -0.4515092968940735, -0.8823502659797668, -0.9274866580963135, 0.9634161591529846, 0.7551509141921997, 0.3002608120441437, 1.957211971282959, 0.5546697974205017, 0.2994379699230194, -2.798342227935791, 0.9642391204833984, 0.25753068923950195, 0.1434144675731659, 0.9150838255882263, 0.2796117067337036, 1.1007106304168701, -0.059623897075653076, 0.4482606053352356, -2.303042411804199, 2.2511003017425537, -0.37759408354759216, 0.6580080389976501, 0.06398534029722214, -0.02488051727414131, 1.1557246446609497, 0.6088477969169617, 0.6638529300689697, -1.0870314836502075, 0.7243180274963379, -0.663385272026062, 1.3140521049499512, 1.058037519454956, -0.7543976902961731, -0.06311973929405212, 1.313814640045166, 0.5084993839263916, -0.49311649799346924, -0.9606785774230957, -0.9158084392547607, 0.8667289018630981, 1.753343105316162, -0.163493812084198, -0.0661461353302002, 0.7549525499343872, 0.6202898621559143, -1.307483434677124, 0.09597038477659225, -0.7857771515846252, -0.7172053456306458, 1.6439151763916016, 2.0553152561187744, -0.10703837126493454, -0.23721905052661896, -0.595049262046814, -1.21396005153656, 0.5590525269508362, -0.1012241467833519, 0.0767088457942009, 0.7722746133804321, -0.6097805500030518, 1.204728126525879, 0.7774167656898499, 0.9305627942085266, -0.10061956942081451, 0.40598031878471375, 0.38089683651924133, -0.23640000820159912, -1.1747924089431763, -0.43985608220100403, -1.2105653285980225, -2.541280508041382, 0.33799001574516296, -0.45504245162010193, -1.3390486240386963, -0.009249534457921982, -1.1305738687515259, 0.9320361018180847, -0.5501063466072083, -1.0337843894958496, -1.4839168787002563, 0.0694100633263588, -0.06278670579195023, 0.8935438990592957, -1.6652991771697998, -0.13048063218593597, 1.3022421598434448, 0.8376786112785339, -0.7057463526725769, 1.0850489139556885, 0.25305283069610596, 1.09071683883667, 0.710369348526001, -0.428432434797287, 0.3836246132850647, 0.03710188344120979, -1.239659070968628, 0.6372665166854858, 1.051156759262085, 0.20498166978359222, 1.336579442024231, -0.6828561425209045, 0.1117565929889679, 0.46898341178894043, -0.5544472336769104, -0.3174988925457001, -0.545674741268158, 0.8485894203186035, -0.0013554878532886505, -0.9839284420013428, 0.027904890477657318, -0.2231665700674057, -0.11018740385770798, 0.10270863026380539, -1.5653163194656372, -0.22988617420196533, -0.36384618282318115, -0.5440980195999146, -1.229776382446289, 0.07169096171855927, 1.2686028480529785, -0.937157928943634, -0.22540907561779022, 0.5608770847320557, 0.4253986179828644, 0.648590087890625, 0.6263952255249023, -0.7170731425285339, -0.46793675422668457, -0.27834567427635193, -0.20916235446929932, 0.28801673650741577, 1.1789579391479492, -0.18872961401939392, -1.1655892133712769, 0.6638510823249817, -0.4063708782196045, 0.060562096536159515, 1.9982578754425049, -0.06285001337528229, -0.7870014309883118, 0.3040745258331299, -0.6829324960708618, 1.8181428909301758, 1.5417916774749756, 1.2434002161026, -0.11844762414693832, -0.8061801195144653, 0.6292473673820496, -0.12722492218017578, -0.353485643863678, 0.78935307264328, 0.5798149704933167, -0.1870189607143402, -1.4289062023162842, 0.5104570984840393, 1.2906900644302368, -0.9370924830436707, -0.8919190764427185, 0.10445969551801682, -0.9079510569572449, 1.0758057832717896, 0.6979749202728271, 0.35724076628685, 0.30250102281570435, 1.752390742301941, 0.6640157103538513, -0.5395944118499756, 0.46152862906455994, 0.47641897201538086, -0.2762584090232849, -2.237739086151123, -1.0333586931228638, 0.26831138134002686, -0.34451836347579956, -1.5124040842056274, 1.3557288646697998, -1.2333648204803467, -0.7637262344360352, 0.5365843772888184, 0.2754439115524292, 1.5711616277694702, 0.28723323345184326, 1.7140189409255981, 2.065053701400757, 1.0078822374343872, 0.35466474294662476, 1.3049482107162476, -0.119700126349926, -0.4216155409812927, 1.840012788772583, -0.4748031795024872, 0.4954454004764557, 1.056233286857605, -0.3948509991168976, -1.017198085784912, -0.7750365138053894, -1.160587191581726, -0.5576295852661133, 1.1053096055984497, 0.1502213031053543, -1.2290887832641602, 0.16155919432640076, 1.470813512802124, 0.282207727432251, -0.2868003249168396, 0.4247164726257324, 0.48872804641723633, -0.7260017395019531, -0.12506015598773956, -0.9165526032447815, 0.5001567602157593, -0.17571298778057098, -0.289887011051178, 0.22548632323741913, 0.4129237234592438, 1.2644420862197876, -0.039684344083070755, 0.10828942060470581, 1.1788467168807983, -1.4044040441513062, 1.5623914003372192, -0.4131639897823334, 0.27592453360557556, -2.286109209060669, 1.479017972946167, -0.7537718415260315, 1.949813723564148, -2.6253414154052734, 0.339709609746933, -0.6793261766433716, -0.4166313707828522, 0.4056127071380615, -0.3856179416179657, 0.13664422929286957, -0.15199261903762817, -1.0797139406204224, 0.030279643833637238, -0.7220343947410583, 0.5177461504936218, 1.1991626024246216, 1.319228172302246, -1.0266706943511963, -0.3029156029224396, -1.7914656400680542, -0.1536121666431427, -0.7526084184646606, 0.46167612075805664, -2.099703073501587, -0.184271439909935, -1.942384123802185, -2.0898914337158203, -1.3812963962554932, -0.7747935652732849, 1.1041975021362305, 0.11240506172180176, -0.790829598903656, 1.0411025285720825, -0.30219849944114685, -1.7276357412338257, 1.022020697593689, -2.1532928943634033 ]
https://github.com/huggingface/datasets/issues/3986
Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface)
Hi ! I didn't managed to reproduce the issue. When you kill the process, is there any stacktrace that shows at what point in the code python is hanging ?
## Describe the bug Dataset loads indefinitely after modifying cache path (~/.cache/huggingface) If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script) ** Update: Transformer modules faces the same issue as well during loading ## A clear and concise description of what the bug is. Issue: - Dataset loading stalls / freezes indefinitely when HF_HOME is changed to a custom directory - No error code, had to terminate the process - There are some files created in the cache directory: ``` custom_cache_dir | -- modules | -- __init__.py | -- datasets_modules | -- __init__.py | -- datasets | -- __init__.py | -- script.py (Dataset loading script) | -- script.lock ``` There's no error nor any logs thrown so I'm out of ideas of how to to debug this. The custom dataset works fine if the default ~/.cache dir is used, but unfortunately it's out of space and we do not have permissions to modify the disk. ## Steps to reproduce the bug What I've tried: - Modifying HF_HOME (https://github.com/huggingface/transformers/issues/8703) - Modifying HF_DATASETS_CACHE (https://huggingface.co/docs/datasets/v1.12.0/cache.html) - Modifying cache_dir param during runtime ```python >>> from datasets import load_dataset >>> dataset = load_dataset('test_dataset', cache_dir='/path/to/new/cache') ``` - Disabling dataset cache ```python >>> from datasets import set_caching_enabled >>> set_caching_enabled(False) ``` ## Expected results Datasets should load / cache as usual with the only exception that cache directory is different ## Actual results Any actions taken above to change the cache directory results in loading indefinitely without terminating. ## Environment info - `transformers` version: 4.18.0.dev0 - Platform: Linux-4.15.0-54-generic-x86_64-with-glibc2.10 - Python version: 3.8.8 - Huggingface_hub version: 0.4.0 - PyTorch version (GPU?): 1.8.1+cu102 (True) - Tensorflow version (GPU?): 2.4.1 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: not installed - Using GPU in script?: Yes - Using distributed or parallel set-up in script?: No
865
30
Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface) ## Describe the bug Dataset loads indefinitely after modifying cache path (~/.cache/huggingface) If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script) ** Update: Transformer modules faces the same issue as well during loading ## A clear and concise description of what the bug is. Issue: - Dataset loading stalls / freezes indefinitely when HF_HOME is changed to a custom directory - No error code, had to terminate the process - There are some files created in the cache directory: ``` custom_cache_dir | -- modules | -- __init__.py | -- datasets_modules | -- __init__.py | -- datasets | -- __init__.py | -- script.py (Dataset loading script) | -- script.lock ``` There's no error nor any logs thrown so I'm out of ideas of how to to debug this. The custom dataset works fine if the default ~/.cache dir is used, but unfortunately it's out of space and we do not have permissions to modify the disk. ## Steps to reproduce the bug What I've tried: - Modifying HF_HOME (https://github.com/huggingface/transformers/issues/8703) - Modifying HF_DATASETS_CACHE (https://huggingface.co/docs/datasets/v1.12.0/cache.html) - Modifying cache_dir param during runtime ```python >>> from datasets import load_dataset >>> dataset = load_dataset('test_dataset', cache_dir='/path/to/new/cache') ``` - Disabling dataset cache ```python >>> from datasets import set_caching_enabled >>> set_caching_enabled(False) ``` ## Expected results Datasets should load / cache as usual with the only exception that cache directory is different ## Actual results Any actions taken above to change the cache directory results in loading indefinitely without terminating. ## Environment info - `transformers` version: 4.18.0.dev0 - Platform: Linux-4.15.0-54-generic-x86_64-with-glibc2.10 - Python version: 3.8.8 - Huggingface_hub version: 0.4.0 - PyTorch version (GPU?): 1.8.1+cu102 (True) - Tensorflow version (GPU?): 2.4.1 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: not installed - Using GPU in script?: Yes - Using distributed or parallel set-up in script?: No Hi ! I didn't managed to reproduce the issue. When you kill the process, is there any stacktrace that shows at what point in the code python is hanging ?
[ -1.1560031175613403, -0.8878403902053833, -0.7046219110488892, 1.4441661834716797, -0.14479096233844757, -1.3577688932418823, 0.12675566971302032, -1.0127108097076416, 1.6576485633850098, -0.7944954037666321, 0.2183932512998581, -1.7565605640411377, -0.06215750426054001, -0.5706385374069214, -0.6814025640487671, -0.809170126914978, -0.38145503401756287, -0.8091076016426086, 1.0160585641860962, 2.4664371013641357, 1.2454442977905273, -1.3379017114639282, 2.749981164932251, 0.6785387396812439, -0.2153743952512741, -0.9326711297035217, 0.4824695587158203, -0.0002578524872660637, -1.2772870063781738, -0.4170289933681488, -0.8721566200256348, -0.023313507437705994, -0.6151230335235596, -0.48775604367256165, 0.07998865842819214, 0.4322829842567444, -0.27452361583709717, -0.3368053734302521, -0.5539725422859192, -0.7324061393737793, 0.5217361450195312, -0.4080282747745514, 0.9792857766151428, -0.29665085673332214, 1.7720140218734741, -0.5870752930641174, 0.3809182643890381, 0.672274112701416, 1.278999924659729, 0.1767362505197525, 0.034972406923770905, 0.3797425329685211, 0.34846773743629456, 0.006228704005479813, 0.4932009279727936, 1.1704597473144531, 0.6214446425437927, 0.5288952589035034, 0.7320018410682678, -2.2504146099090576, 1.327613353729248, -0.8652379512786865, 0.3435322940349579, 1.3292338848114014, -0.9507055282592773, 0.4041099548339844, -1.7349590063095093, -0.050667330622673035, 0.5827744007110596, -2.2182016372680664, 0.2781727910041809, -1.2837414741516113, -0.4534548819065094, 0.9600287675857544, 0.29175424575805664, -1.167371153831482, 0.1406518816947937, -0.4432864785194397, 1.0232467651367188, 0.4629923403263092, 1.0997017621994019, -1.7528455257415771, -0.01580124720931053, -0.2527717351913452, 0.11693433672189713, -1.2597012519836426, -1.648782730102539, 0.5357875823974609, 0.7158905863761902, 0.6838356256484985, -0.1912718266248703, 1.0142788887023926, -1.058713674545288, 0.7689489722251892, -0.949407160282135, -1.7087323665618896, -1.3695271015167236, -2.3958394527435303, -2.2872560024261475, 0.7022119760513306, -0.48919421434402466, -0.5027588605880737, 2.059098958969116, -1.0301315784454346, -1.8199169635772705, 1.0318522453308105, 0.3202650547027588, -0.02794860117137432, 2.3192687034606934, 0.2540844678878784, -0.8211418986320496, 0.5283105969429016, -0.7187694907188416, 0.7668679356575012, -0.3469391167163849, 1.3083232641220093, 0.46969902515411377, -1.0418400764465332, 1.6251790523529053, -0.48418882489204407, 0.6237570643424988, -0.7550207376480103, -0.4951518774032593, -0.7954675555229187, 0.23212097585201263, 1.8934475183486938, -0.3088032901287079, 1.6033326387405396, -0.3312888443470001, -1.557984709739685, -1.5882078409194946, 0.8433589339256287, 0.4387538433074951, -0.8458812236785889, 0.11199969053268433, -0.5063035488128662, 0.1262759268283844, -0.07361814379692078, 1.131260633468628, 1.2620949745178223, 0.6799929738044739, -0.3493089973926544, -0.9253895878791809, 0.17640790343284607, -0.07664506137371063, -0.6389326453208923, -1.8644096851348877, -0.3188738524913788, 0.20052525401115417, 0.5846206545829773, -1.0730302333831787, 1.7278234958648682, 0.9268553853034973, 1.9253450632095337, 1.017580509185791, -0.3371911942958832, 1.357061743736267, 0.06696589291095734, 1.9432294368743896, -0.5177716612815857, 0.625800371170044, -0.3061973750591278, -1.1318912506103516, 0.8087867498397827, -0.31956133246421814, -2.0114128589630127, -0.6767168045043945, -0.8126283288002014, -0.15732404589653015, -0.8207387924194336, 0.8922432065010071, -0.27936720848083496, -1.426404595375061, 0.17378593981266022, -0.6708241701126099, 0.22647438943386078, -1.2312049865722656, 0.21862363815307617, 0.7187085151672363, -0.655149519443512, 0.014839215204119682, -0.28685879707336426, -1.3700519800186157, -0.47221243381500244, 0.4028087854385376, 1.8838690519332886, -0.6857789158821106, 0.9809088706970215, 1.0493918657302856, -0.6727076768875122, 0.06406839191913605, 0.26403042674064636, -0.2855091392993927, 0.86313396692276, -1.123813271522522, -0.29853177070617676, 1.204263687133789, -0.22829598188400269, -0.6040256023406982, 1.4466173648834229, 0.7733367085456848, -1.0496537685394287, -0.13651961088180542, -0.1344611495733261, -0.8989392518997192, -0.012680066749453545, -1.5975909233093262, -0.14297865331172943, 0.31609630584716797, -1.4785817861557007, -0.4580943286418915, -0.20815059542655945, 1.3499739170074463, -0.06979052722454071, 1.3512310981750488, -0.3377947211265564, -0.18210390210151672, -0.3870770335197449, -0.4385872185230255, 0.15370123088359833, -0.22426141798496246, -0.5512995719909668, 0.2284621298313141, -0.7879923582077026, 0.22078339755535126, 1.491615891456604, 0.26654544472694397, 0.1164536103606224, 0.5210863947868347, 1.1100428104400635, 0.3347381353378296, -0.06405925005674362, -0.8275109529495239, -1.636914610862732, 1.9434566497802734, -1.465283751487732, 1.987587332725525, 0.7052322030067444, -0.04663020372390747, -1.832688808441162, -1.9290472269058228, 1.3865846395492554, 1.1178048849105835, 2.417724370956421, 0.4917829930782318, 0.37394410371780396, -0.8111468553543091, -0.7555866241455078, 0.3420049846172333, -0.9364466667175293, -0.7545073628425598, 0.11258725821971893, 2.3145787715911865, 1.766180157661438, -0.4466184973716736, -0.1345033496618271, -0.9258792996406555, 1.352073311805725, -0.2265130877494812, 0.23657219111919403, 1.9612171649932861, -0.2921915054321289, -1.0120480060577393, 1.33775794506073, -2.4036715030670166, 0.2604229152202606, 2.045919179916382, 0.2759580612182617, 0.08153083920478821, -1.2722722291946411, -0.6581735610961914, -0.26885882019996643, -0.42018741369247437, -1.2766826152801514, 0.4966947138309479, -0.3636116683483124, -0.7964361310005188, -1.4324568510055542, 0.11457096040248871, -1.0970197916030884, -1.6625468730926514, 0.37075626850128174, 1.9428237676620483, 2.0590784549713135, -0.6496000289916992, 1.4598468542099, -0.26925793290138245, 0.19337159395217896, 1.278613805770874, 1.3416720628738403, 3.1598708629608154, 1.9201465845108032, -1.3244757652282715, 0.7054736018180847, -0.1514694094657898, -0.49862906336784363, 1.1723203659057617, -1.1382719278335571, 1.202893853187561, -0.22244399785995483, -1.3136792182922363, -1.274739146232605, 0.9913922548294067, 0.5178122520446777, 0.014538383111357689, -0.47857365012168884, 1.2543649673461914, 0.018042465671896935, 1.3056304454803467, 0.6279600262641907, -0.46420377492904663, 0.5728343725204468, -0.38560330867767334, -0.5681908130645752, 1.5645394325256348, 0.21646612882614136, -1.4623792171478271, -2.338224411010742, -0.25975632667541504, -0.9305548667907715, -0.05337987840175629, -0.645117461681366, -1.0640350580215454, 1.5454529523849487, 0.36871305108070374, -1.1724761724472046, -0.26635968685150146, -0.2740299105644226, -0.5108097195625305, 2.6124868392944336, -1.3124033212661743, -0.18443739414215088, -0.9711917042732239, -0.6110656261444092, 1.6337506771087646, -1.2875396013259888, -0.2398461550474167, -1.14295494556427, -0.594455897808075, -1.287136197090149, -0.45251578092575073, 0.030827825888991356, -0.9161492586135864, 0.8794639110565186, 0.11248399317264557, -1.2228084802627563, -0.27165350317955017, -0.9624409675598145, 0.9854713082313538, -0.1855410784482956, 0.1835189312696457, 1.8139102458953857, 0.3457798659801483, -0.4524363577365875, 0.7318642139434814, 1.1716405153274536, 0.6201269626617432, -0.6651716828346252, 0.1580265462398529, -0.5884776711463928, 0.37801453471183777, -1.3769429922103882, 0.21832485496997833, -2.9756691455841064, 0.716587245464325, -0.09960509091615677, -0.05898146331310272, -0.08868277817964554, -1.405963659286499, 0.9592276215553284, 2.503490686416626, -1.1749645471572876, 0.5425618290901184, 0.376869797706604, 1.1918373107910156, -1.597942590713501, 0.2218349725008011, -0.545121431350708, 2.116647720336914, 0.121865414083004, 1.1962801218032837, -0.4909666180610657, -2.2901451587677, 0.5421186685562134, -1.183100700378418, -1.0868194103240967, 0.8101940751075745, -0.8749840259552002, 0.1829225718975067, -1.4074736833572388, -0.19311998784542084, -0.957292377948761, -1.2025240659713745, 0.6949856877326965, 0.06640641391277313, 0.43440020084381104, -0.5877097845077515, 0.29830437898635864, -2.1850950717926025, -1.2956571578979492, -0.1999131441116333, -0.9443912506103516, 0.5556734800338745, -0.38900503516197205, 0.6874904632568359, -0.14684808254241943, 0.05457258224487305, 0.32888278365135193, 1.5214577913284302, 3.3609955310821533, 0.10226449370384216, 0.2608024775981903, -0.14641384780406952, -0.9545568227767944, 1.407576084136963, 0.899817943572998, -0.17298837006092072, -0.6177172660827637, -1.0448756217956543, 1.2696313858032227, 1.9718801975250244, 1.0316691398620605, 0.013460898771882057, -0.8240258097648621, -0.7278697490692139, 0.05195428431034088, 0.1314341276884079, 0.5058169364929199, 0.9194037914276123, 0.012614868581295013, 0.14720477163791656, 1.361345648765564, 1.086007833480835, -0.3276751637458801, 0.44283178448677063, -0.8618659377098083, -0.44381240010261536, 0.45324790477752686, 0.3500487506389618, -0.019409310072660446, 0.32176658511161804, -1.0062915086746216, -0.19673244655132294, -0.39229950308799744, -0.8782809376716614, -0.7572442293167114, -0.5038365721702576, -0.3223344683647156, 1.6301037073135376, 0.08310755342245102, -0.5181795954704285, 0.013294227421283722, -0.7580917477607727, -0.15207213163375854, -1.05327570438385, 0.3365848660469055, -0.1908947080373764, -0.07403428852558136, -0.004144041333347559, 1.5890376567840576, -0.9700826406478882, -2.1129918098449707, 0.22502009570598602, 0.2722536027431488, -0.3375558853149414, 0.06835879385471344, 1.7247262001037598, 0.5660598278045654, 1.4214303493499756, 1.4161653518676758, 0.9701176285743713, -0.5981563329696655, -1.2340683937072754, 0.68747878074646, 0.913784921169281, -1.3525673151016235, 0.9567705988883972, -0.1477743685245514, -0.5829250812530518, 0.6958061456680298, 1.340566635131836, 0.4306715726852417, -2.077319383621216, 0.8783313035964966, -0.9938146471977234, 0.8386107087135315, 0.7973585724830627, 0.8199955821037292, 0.2046968638896942, 0.867645800113678, -1.2999063730239868, -1.1572213172912598, -0.7501125335693359, -0.6670030355453491, 1.9107567071914673, -0.2203170359134674, 0.4987209141254425, -0.2061305046081543, -1.3227113485336304, -0.08138158917427063, 0.7990703582763672, 0.4154273271560669, -0.47202086448669434, 0.8112961053848267, -0.6261847019195557, -1.0232404470443726, -1.3340919017791748, -0.39536818861961365, -1.116176962852478, -0.8960987329483032, 0.9604718685150146, 0.7950393557548523, 0.3392835259437561, 1.866770625114441, 0.6538236737251282, 0.2796696126461029, -2.6092278957366943, 0.9066148400306702, 0.319896399974823, -0.0693197250366211, 0.9167947173118591, 0.3191603422164917, 1.0895065069198608, 0.06279150396585464, 0.6344667673110962, -2.3638148307800293, 2.2049009799957275, -0.24520157277584076, 0.629652738571167, -0.06561189144849777, -0.14476506412029266, 1.0635665655136108, 0.5431376695632935, 0.5516263246536255, -1.099038004875183, 0.8508169054985046, -0.6120539307594299, 1.1008492708206177, 0.8976168036460876, -0.8596081137657166, 0.07150427252054214, 1.4068851470947266, 0.4248502850532532, -0.5632280111312866, -0.9583600759506226, -0.957016110420227, 0.9456477761268616, 1.770510196685791, 0.0213791411370039, -0.04125021770596504, 0.805338978767395, 0.7256965637207031, -1.261757493019104, 0.1768607795238495, -0.6497723460197449, -0.6864178776741028, 1.7336472272872925, 1.9850860834121704, -0.0634697824716568, -0.05875176936388016, -0.7478963732719421, -1.299203634262085, 0.7588653564453125, 0.043224215507507324, -0.01577095128595829, 0.7302429676055908, -0.6818742752075195, 1.116353154182434, 0.701123833656311, 0.9282155632972717, 0.05733354389667511, 0.30288130044937134, 0.5022892355918884, -0.3103100657463074, -1.1922721862792969, -0.31951600313186646, -1.1279765367507935, -2.4748480319976807, 0.4346436858177185, -0.1752290576696396, -1.5338592529296875, 0.10687040537595749, -1.0247011184692383, 0.879538893699646, -0.5477938055992126, -1.1446406841278076, -1.4526495933532715, 0.19906634092330933, -0.0888635590672493, 0.8756424188613892, -1.5305330753326416, -0.07768628001213074, 1.179728627204895, 0.8694619536399841, -0.6554507613182068, 1.015942096710205, 0.2620917558670044, 0.9387261867523193, 0.8644548654556274, -0.4216310679912567, 0.4807014465332031, 0.0617256835103035, -1.3307417631149292, 0.47969016432762146, 1.2204984426498413, 0.16850456595420837, 1.3259786367416382, -0.4705926179885864, 0.027128303423523903, 0.447683185338974, -0.5606333017349243, -0.49017977714538574, -0.4874941408634186, 0.6714074611663818, -0.016985736787319183, -0.8778840899467468, -0.05397745221853256, -0.014632539823651314, -0.2517985701560974, 0.19970405101776123, -1.4896165132522583, -0.18172287940979004, -0.4216090440750122, -0.5255289077758789, -1.3021233081817627, -0.010018520057201385, 1.366790533065796, -0.7491210699081421, -0.2570413053035736, 0.5509443283081055, 0.33654242753982544, 0.5584965944290161, 0.6342307329177856, -0.6523556709289551, -0.2080214023590088, -0.2727142870426178, -0.35314714908599854, 0.2318643182516098, 1.2276748418807983, -0.1242281123995781, -0.9737043380737305, 0.7062162756919861, -0.3880545198917389, 0.08847487717866898, 1.9186127185821533, 0.08000980317592621, -0.7623668909072876, 0.29000648856163025, -0.699934184551239, 1.897709608078003, 1.7599881887435913, 1.3443571329116821, -0.06630943715572357, -0.9948803186416626, 0.5976537466049194, -0.3293130397796631, -0.37878111004829407, 0.9926131963729858, 0.4490407705307007, -0.17875708639621735, -1.3655751943588257, 0.7120770812034607, 1.2561472654342651, -0.838295578956604, -0.7554563879966736, 0.10458958894014359, -0.8281142115592957, 1.1075029373168945, 0.7078855633735657, 0.4219134449958801, 0.2530932128429413, 1.6159626245498657, 0.6392703056335449, -0.4870315194129944, 0.5619177222251892, 0.49808236956596375, -0.16393497586250305, -2.035656690597534, -1.0557461977005005, 0.35086169838905334, -0.45565444231033325, -1.6103167533874512, 1.3935582637786865, -1.2048561573028564, -1.005015254020691, 0.4959851801395416, 0.14875730872154236, 1.3786925077438354, 0.32580330967903137, 1.7145142555236816, 2.0840508937835693, 0.9040048122406006, 0.4126513600349426, 1.2398264408111572, -0.07912087440490723, -0.39810577034950256, 1.825904369354248, -0.4362834393978119, 0.5235530138015747, 1.085372805595398, -0.42380067706108093, -1.1007810831069946, -0.7812443971633911, -1.1810545921325684, -0.6174379587173462, 1.0920991897583008, 0.10918925702571869, -1.0981730222702026, 0.26973864436149597, 1.5693013668060303, 0.16323235630989075, -0.2534134089946747, 0.8183749914169312, 0.414548397064209, -0.7708410024642944, -0.1281304806470871, -0.9606308341026306, 0.5804923176765442, -0.2465355396270752, -0.3055380582809448, 0.30554431676864624, 0.4905197322368622, 1.3455593585968018, -0.0024687843397259712, 0.12194845825433731, 1.266768455505371, -1.4175190925598145, 1.3783468008041382, -0.775665819644928, 0.27490079402923584, -2.399912118911743, 1.4486963748931885, -0.7574880123138428, 1.897374153137207, -2.6207871437072754, 0.4771781265735626, -0.5999442934989929, -0.5341895222663879, 0.3138827085494995, -0.23950840532779694, 0.06721916794776917, -0.12461449950933456, -1.1382147073745728, -0.020376481115818024, -0.7400055527687073, 0.5640080571174622, 1.2352781295776367, 1.3622838258743286, -1.1185128688812256, -0.23701412975788116, -1.6978429555892944, -0.179974764585495, -0.7184787392616272, 0.39662492275238037, -1.9715293645858765, -0.1184258982539177, -2.0260043144226074, -2.437582015991211, -1.3681210279464722, -0.8690670728683472, 1.0635883808135986, 0.21042092144489288, -0.9466527104377747, 1.1919981241226196, -0.377779096364975, -1.746798038482666, 1.0813215970993042, -2.1792497634887695 ]
https://github.com/huggingface/datasets/issues/3986
Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface)
Hi @lhoestq , I've traced the issue back to file locking. It's similar to this thread, using Lustre filesystem as well. https://github.com/huggingface/datasets/issues/329 . In this case the user was able to modify and add -o flock option while mounting and it solved the problem. However in other cases such as mine, we do not have the permissions to modify the commands while mounting. I'm still trying to figure out a workaround. Any ideas how can we use a mounted Lustre filesystem with no flock option?
## Describe the bug Dataset loads indefinitely after modifying cache path (~/.cache/huggingface) If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script) ** Update: Transformer modules faces the same issue as well during loading ## A clear and concise description of what the bug is. Issue: - Dataset loading stalls / freezes indefinitely when HF_HOME is changed to a custom directory - No error code, had to terminate the process - There are some files created in the cache directory: ``` custom_cache_dir | -- modules | -- __init__.py | -- datasets_modules | -- __init__.py | -- datasets | -- __init__.py | -- script.py (Dataset loading script) | -- script.lock ``` There's no error nor any logs thrown so I'm out of ideas of how to to debug this. The custom dataset works fine if the default ~/.cache dir is used, but unfortunately it's out of space and we do not have permissions to modify the disk. ## Steps to reproduce the bug What I've tried: - Modifying HF_HOME (https://github.com/huggingface/transformers/issues/8703) - Modifying HF_DATASETS_CACHE (https://huggingface.co/docs/datasets/v1.12.0/cache.html) - Modifying cache_dir param during runtime ```python >>> from datasets import load_dataset >>> dataset = load_dataset('test_dataset', cache_dir='/path/to/new/cache') ``` - Disabling dataset cache ```python >>> from datasets import set_caching_enabled >>> set_caching_enabled(False) ``` ## Expected results Datasets should load / cache as usual with the only exception that cache directory is different ## Actual results Any actions taken above to change the cache directory results in loading indefinitely without terminating. ## Environment info - `transformers` version: 4.18.0.dev0 - Platform: Linux-4.15.0-54-generic-x86_64-with-glibc2.10 - Python version: 3.8.8 - Huggingface_hub version: 0.4.0 - PyTorch version (GPU?): 1.8.1+cu102 (True) - Tensorflow version (GPU?): 2.4.1 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: not installed - Using GPU in script?: Yes - Using distributed or parallel set-up in script?: No
865
85
Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface) ## Describe the bug Dataset loads indefinitely after modifying cache path (~/.cache/huggingface) If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script) ** Update: Transformer modules faces the same issue as well during loading ## A clear and concise description of what the bug is. Issue: - Dataset loading stalls / freezes indefinitely when HF_HOME is changed to a custom directory - No error code, had to terminate the process - There are some files created in the cache directory: ``` custom_cache_dir | -- modules | -- __init__.py | -- datasets_modules | -- __init__.py | -- datasets | -- __init__.py | -- script.py (Dataset loading script) | -- script.lock ``` There's no error nor any logs thrown so I'm out of ideas of how to to debug this. The custom dataset works fine if the default ~/.cache dir is used, but unfortunately it's out of space and we do not have permissions to modify the disk. ## Steps to reproduce the bug What I've tried: - Modifying HF_HOME (https://github.com/huggingface/transformers/issues/8703) - Modifying HF_DATASETS_CACHE (https://huggingface.co/docs/datasets/v1.12.0/cache.html) - Modifying cache_dir param during runtime ```python >>> from datasets import load_dataset >>> dataset = load_dataset('test_dataset', cache_dir='/path/to/new/cache') ``` - Disabling dataset cache ```python >>> from datasets import set_caching_enabled >>> set_caching_enabled(False) ``` ## Expected results Datasets should load / cache as usual with the only exception that cache directory is different ## Actual results Any actions taken above to change the cache directory results in loading indefinitely without terminating. ## Environment info - `transformers` version: 4.18.0.dev0 - Platform: Linux-4.15.0-54-generic-x86_64-with-glibc2.10 - Python version: 3.8.8 - Huggingface_hub version: 0.4.0 - PyTorch version (GPU?): 1.8.1+cu102 (True) - Tensorflow version (GPU?): 2.4.1 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: not installed - Using GPU in script?: Yes - Using distributed or parallel set-up in script?: No Hi @lhoestq , I've traced the issue back to file locking. It's similar to this thread, using Lustre filesystem as well. https://github.com/huggingface/datasets/issues/329 . In this case the user was able to modify and add -o flock option while mounting and it solved the problem. However in other cases such as mine, we do not have the permissions to modify the commands while mounting. I'm still trying to figure out a workaround. Any ideas how can we use a mounted Lustre filesystem with no flock option?
[ -1.1560031175613403, -0.8878403902053833, -0.7046219110488892, 1.4441661834716797, -0.14479096233844757, -1.3577688932418823, 0.12675566971302032, -1.0127108097076416, 1.6576485633850098, -0.7944954037666321, 0.2183932512998581, -1.7565605640411377, -0.06215750426054001, -0.5706385374069214, -0.6814025640487671, -0.809170126914978, -0.38145503401756287, -0.8091076016426086, 1.0160585641860962, 2.4664371013641357, 1.2454442977905273, -1.3379017114639282, 2.749981164932251, 0.6785387396812439, -0.2153743952512741, -0.9326711297035217, 0.4824695587158203, -0.0002578524872660637, -1.2772870063781738, -0.4170289933681488, -0.8721566200256348, -0.023313507437705994, -0.6151230335235596, -0.48775604367256165, 0.07998865842819214, 0.4322829842567444, -0.27452361583709717, -0.3368053734302521, -0.5539725422859192, -0.7324061393737793, 0.5217361450195312, -0.4080282747745514, 0.9792857766151428, -0.29665085673332214, 1.7720140218734741, -0.5870752930641174, 0.3809182643890381, 0.672274112701416, 1.278999924659729, 0.1767362505197525, 0.034972406923770905, 0.3797425329685211, 0.34846773743629456, 0.006228704005479813, 0.4932009279727936, 1.1704597473144531, 0.6214446425437927, 0.5288952589035034, 0.7320018410682678, -2.2504146099090576, 1.327613353729248, -0.8652379512786865, 0.3435322940349579, 1.3292338848114014, -0.9507055282592773, 0.4041099548339844, -1.7349590063095093, -0.050667330622673035, 0.5827744007110596, -2.2182016372680664, 0.2781727910041809, -1.2837414741516113, -0.4534548819065094, 0.9600287675857544, 0.29175424575805664, -1.167371153831482, 0.1406518816947937, -0.4432864785194397, 1.0232467651367188, 0.4629923403263092, 1.0997017621994019, -1.7528455257415771, -0.01580124720931053, -0.2527717351913452, 0.11693433672189713, -1.2597012519836426, -1.648782730102539, 0.5357875823974609, 0.7158905863761902, 0.6838356256484985, -0.1912718266248703, 1.0142788887023926, -1.058713674545288, 0.7689489722251892, -0.949407160282135, -1.7087323665618896, -1.3695271015167236, -2.3958394527435303, -2.2872560024261475, 0.7022119760513306, -0.48919421434402466, -0.5027588605880737, 2.059098958969116, -1.0301315784454346, -1.8199169635772705, 1.0318522453308105, 0.3202650547027588, -0.02794860117137432, 2.3192687034606934, 0.2540844678878784, -0.8211418986320496, 0.5283105969429016, -0.7187694907188416, 0.7668679356575012, -0.3469391167163849, 1.3083232641220093, 0.46969902515411377, -1.0418400764465332, 1.6251790523529053, -0.48418882489204407, 0.6237570643424988, -0.7550207376480103, -0.4951518774032593, -0.7954675555229187, 0.23212097585201263, 1.8934475183486938, -0.3088032901287079, 1.6033326387405396, -0.3312888443470001, -1.557984709739685, -1.5882078409194946, 0.8433589339256287, 0.4387538433074951, -0.8458812236785889, 0.11199969053268433, -0.5063035488128662, 0.1262759268283844, -0.07361814379692078, 1.131260633468628, 1.2620949745178223, 0.6799929738044739, -0.3493089973926544, -0.9253895878791809, 0.17640790343284607, -0.07664506137371063, -0.6389326453208923, -1.8644096851348877, -0.3188738524913788, 0.20052525401115417, 0.5846206545829773, -1.0730302333831787, 1.7278234958648682, 0.9268553853034973, 1.9253450632095337, 1.017580509185791, -0.3371911942958832, 1.357061743736267, 0.06696589291095734, 1.9432294368743896, -0.5177716612815857, 0.625800371170044, -0.3061973750591278, -1.1318912506103516, 0.8087867498397827, -0.31956133246421814, -2.0114128589630127, -0.6767168045043945, -0.8126283288002014, -0.15732404589653015, -0.8207387924194336, 0.8922432065010071, -0.27936720848083496, -1.426404595375061, 0.17378593981266022, -0.6708241701126099, 0.22647438943386078, -1.2312049865722656, 0.21862363815307617, 0.7187085151672363, -0.655149519443512, 0.014839215204119682, -0.28685879707336426, -1.3700519800186157, -0.47221243381500244, 0.4028087854385376, 1.8838690519332886, -0.6857789158821106, 0.9809088706970215, 1.0493918657302856, -0.6727076768875122, 0.06406839191913605, 0.26403042674064636, -0.2855091392993927, 0.86313396692276, -1.123813271522522, -0.29853177070617676, 1.204263687133789, -0.22829598188400269, -0.6040256023406982, 1.4466173648834229, 0.7733367085456848, -1.0496537685394287, -0.13651961088180542, -0.1344611495733261, -0.8989392518997192, -0.012680066749453545, -1.5975909233093262, -0.14297865331172943, 0.31609630584716797, -1.4785817861557007, -0.4580943286418915, -0.20815059542655945, 1.3499739170074463, -0.06979052722454071, 1.3512310981750488, -0.3377947211265564, -0.18210390210151672, -0.3870770335197449, -0.4385872185230255, 0.15370123088359833, -0.22426141798496246, -0.5512995719909668, 0.2284621298313141, -0.7879923582077026, 0.22078339755535126, 1.491615891456604, 0.26654544472694397, 0.1164536103606224, 0.5210863947868347, 1.1100428104400635, 0.3347381353378296, -0.06405925005674362, -0.8275109529495239, -1.636914610862732, 1.9434566497802734, -1.465283751487732, 1.987587332725525, 0.7052322030067444, -0.04663020372390747, -1.832688808441162, -1.9290472269058228, 1.3865846395492554, 1.1178048849105835, 2.417724370956421, 0.4917829930782318, 0.37394410371780396, -0.8111468553543091, -0.7555866241455078, 0.3420049846172333, -0.9364466667175293, -0.7545073628425598, 0.11258725821971893, 2.3145787715911865, 1.766180157661438, -0.4466184973716736, -0.1345033496618271, -0.9258792996406555, 1.352073311805725, -0.2265130877494812, 0.23657219111919403, 1.9612171649932861, -0.2921915054321289, -1.0120480060577393, 1.33775794506073, -2.4036715030670166, 0.2604229152202606, 2.045919179916382, 0.2759580612182617, 0.08153083920478821, -1.2722722291946411, -0.6581735610961914, -0.26885882019996643, -0.42018741369247437, -1.2766826152801514, 0.4966947138309479, -0.3636116683483124, -0.7964361310005188, -1.4324568510055542, 0.11457096040248871, -1.0970197916030884, -1.6625468730926514, 0.37075626850128174, 1.9428237676620483, 2.0590784549713135, -0.6496000289916992, 1.4598468542099, -0.26925793290138245, 0.19337159395217896, 1.278613805770874, 1.3416720628738403, 3.1598708629608154, 1.9201465845108032, -1.3244757652282715, 0.7054736018180847, -0.1514694094657898, -0.49862906336784363, 1.1723203659057617, -1.1382719278335571, 1.202893853187561, -0.22244399785995483, -1.3136792182922363, -1.274739146232605, 0.9913922548294067, 0.5178122520446777, 0.014538383111357689, -0.47857365012168884, 1.2543649673461914, 0.018042465671896935, 1.3056304454803467, 0.6279600262641907, -0.46420377492904663, 0.5728343725204468, -0.38560330867767334, -0.5681908130645752, 1.5645394325256348, 0.21646612882614136, -1.4623792171478271, -2.338224411010742, -0.25975632667541504, -0.9305548667907715, -0.05337987840175629, -0.645117461681366, -1.0640350580215454, 1.5454529523849487, 0.36871305108070374, -1.1724761724472046, -0.26635968685150146, -0.2740299105644226, -0.5108097195625305, 2.6124868392944336, -1.3124033212661743, -0.18443739414215088, -0.9711917042732239, -0.6110656261444092, 1.6337506771087646, -1.2875396013259888, -0.2398461550474167, -1.14295494556427, -0.594455897808075, -1.287136197090149, -0.45251578092575073, 0.030827825888991356, -0.9161492586135864, 0.8794639110565186, 0.11248399317264557, -1.2228084802627563, -0.27165350317955017, -0.9624409675598145, 0.9854713082313538, -0.1855410784482956, 0.1835189312696457, 1.8139102458953857, 0.3457798659801483, -0.4524363577365875, 0.7318642139434814, 1.1716405153274536, 0.6201269626617432, -0.6651716828346252, 0.1580265462398529, -0.5884776711463928, 0.37801453471183777, -1.3769429922103882, 0.21832485496997833, -2.9756691455841064, 0.716587245464325, -0.09960509091615677, -0.05898146331310272, -0.08868277817964554, -1.405963659286499, 0.9592276215553284, 2.503490686416626, -1.1749645471572876, 0.5425618290901184, 0.376869797706604, 1.1918373107910156, -1.597942590713501, 0.2218349725008011, -0.545121431350708, 2.116647720336914, 0.121865414083004, 1.1962801218032837, -0.4909666180610657, -2.2901451587677, 0.5421186685562134, -1.183100700378418, -1.0868194103240967, 0.8101940751075745, -0.8749840259552002, 0.1829225718975067, -1.4074736833572388, -0.19311998784542084, -0.957292377948761, -1.2025240659713745, 0.6949856877326965, 0.06640641391277313, 0.43440020084381104, -0.5877097845077515, 0.29830437898635864, -2.1850950717926025, -1.2956571578979492, -0.1999131441116333, -0.9443912506103516, 0.5556734800338745, -0.38900503516197205, 0.6874904632568359, -0.14684808254241943, 0.05457258224487305, 0.32888278365135193, 1.5214577913284302, 3.3609955310821533, 0.10226449370384216, 0.2608024775981903, -0.14641384780406952, -0.9545568227767944, 1.407576084136963, 0.899817943572998, -0.17298837006092072, -0.6177172660827637, -1.0448756217956543, 1.2696313858032227, 1.9718801975250244, 1.0316691398620605, 0.013460898771882057, -0.8240258097648621, -0.7278697490692139, 0.05195428431034088, 0.1314341276884079, 0.5058169364929199, 0.9194037914276123, 0.012614868581295013, 0.14720477163791656, 1.361345648765564, 1.086007833480835, -0.3276751637458801, 0.44283178448677063, -0.8618659377098083, -0.44381240010261536, 0.45324790477752686, 0.3500487506389618, -0.019409310072660446, 0.32176658511161804, -1.0062915086746216, -0.19673244655132294, -0.39229950308799744, -0.8782809376716614, -0.7572442293167114, -0.5038365721702576, -0.3223344683647156, 1.6301037073135376, 0.08310755342245102, -0.5181795954704285, 0.013294227421283722, -0.7580917477607727, -0.15207213163375854, -1.05327570438385, 0.3365848660469055, -0.1908947080373764, -0.07403428852558136, -0.004144041333347559, 1.5890376567840576, -0.9700826406478882, -2.1129918098449707, 0.22502009570598602, 0.2722536027431488, -0.3375558853149414, 0.06835879385471344, 1.7247262001037598, 0.5660598278045654, 1.4214303493499756, 1.4161653518676758, 0.9701176285743713, -0.5981563329696655, -1.2340683937072754, 0.68747878074646, 0.913784921169281, -1.3525673151016235, 0.9567705988883972, -0.1477743685245514, -0.5829250812530518, 0.6958061456680298, 1.340566635131836, 0.4306715726852417, -2.077319383621216, 0.8783313035964966, -0.9938146471977234, 0.8386107087135315, 0.7973585724830627, 0.8199955821037292, 0.2046968638896942, 0.867645800113678, -1.2999063730239868, -1.1572213172912598, -0.7501125335693359, -0.6670030355453491, 1.9107567071914673, -0.2203170359134674, 0.4987209141254425, -0.2061305046081543, -1.3227113485336304, -0.08138158917427063, 0.7990703582763672, 0.4154273271560669, -0.47202086448669434, 0.8112961053848267, -0.6261847019195557, -1.0232404470443726, -1.3340919017791748, -0.39536818861961365, -1.116176962852478, -0.8960987329483032, 0.9604718685150146, 0.7950393557548523, 0.3392835259437561, 1.866770625114441, 0.6538236737251282, 0.2796696126461029, -2.6092278957366943, 0.9066148400306702, 0.319896399974823, -0.0693197250366211, 0.9167947173118591, 0.3191603422164917, 1.0895065069198608, 0.06279150396585464, 0.6344667673110962, -2.3638148307800293, 2.2049009799957275, -0.24520157277584076, 0.629652738571167, -0.06561189144849777, -0.14476506412029266, 1.0635665655136108, 0.5431376695632935, 0.5516263246536255, -1.099038004875183, 0.8508169054985046, -0.6120539307594299, 1.1008492708206177, 0.8976168036460876, -0.8596081137657166, 0.07150427252054214, 1.4068851470947266, 0.4248502850532532, -0.5632280111312866, -0.9583600759506226, -0.957016110420227, 0.9456477761268616, 1.770510196685791, 0.0213791411370039, -0.04125021770596504, 0.805338978767395, 0.7256965637207031, -1.261757493019104, 0.1768607795238495, -0.6497723460197449, -0.6864178776741028, 1.7336472272872925, 1.9850860834121704, -0.0634697824716568, -0.05875176936388016, -0.7478963732719421, -1.299203634262085, 0.7588653564453125, 0.043224215507507324, -0.01577095128595829, 0.7302429676055908, -0.6818742752075195, 1.116353154182434, 0.701123833656311, 0.9282155632972717, 0.05733354389667511, 0.30288130044937134, 0.5022892355918884, -0.3103100657463074, -1.1922721862792969, -0.31951600313186646, -1.1279765367507935, -2.4748480319976807, 0.4346436858177185, -0.1752290576696396, -1.5338592529296875, 0.10687040537595749, -1.0247011184692383, 0.879538893699646, -0.5477938055992126, -1.1446406841278076, -1.4526495933532715, 0.19906634092330933, -0.0888635590672493, 0.8756424188613892, -1.5305330753326416, -0.07768628001213074, 1.179728627204895, 0.8694619536399841, -0.6554507613182068, 1.015942096710205, 0.2620917558670044, 0.9387261867523193, 0.8644548654556274, -0.4216310679912567, 0.4807014465332031, 0.0617256835103035, -1.3307417631149292, 0.47969016432762146, 1.2204984426498413, 0.16850456595420837, 1.3259786367416382, -0.4705926179885864, 0.027128303423523903, 0.447683185338974, -0.5606333017349243, -0.49017977714538574, -0.4874941408634186, 0.6714074611663818, -0.016985736787319183, -0.8778840899467468, -0.05397745221853256, -0.014632539823651314, -0.2517985701560974, 0.19970405101776123, -1.4896165132522583, -0.18172287940979004, -0.4216090440750122, -0.5255289077758789, -1.3021233081817627, -0.010018520057201385, 1.366790533065796, -0.7491210699081421, -0.2570413053035736, 0.5509443283081055, 0.33654242753982544, 0.5584965944290161, 0.6342307329177856, -0.6523556709289551, -0.2080214023590088, -0.2727142870426178, -0.35314714908599854, 0.2318643182516098, 1.2276748418807983, -0.1242281123995781, -0.9737043380737305, 0.7062162756919861, -0.3880545198917389, 0.08847487717866898, 1.9186127185821533, 0.08000980317592621, -0.7623668909072876, 0.29000648856163025, -0.699934184551239, 1.897709608078003, 1.7599881887435913, 1.3443571329116821, -0.06630943715572357, -0.9948803186416626, 0.5976537466049194, -0.3293130397796631, -0.37878111004829407, 0.9926131963729858, 0.4490407705307007, -0.17875708639621735, -1.3655751943588257, 0.7120770812034607, 1.2561472654342651, -0.838295578956604, -0.7554563879966736, 0.10458958894014359, -0.8281142115592957, 1.1075029373168945, 0.7078855633735657, 0.4219134449958801, 0.2530932128429413, 1.6159626245498657, 0.6392703056335449, -0.4870315194129944, 0.5619177222251892, 0.49808236956596375, -0.16393497586250305, -2.035656690597534, -1.0557461977005005, 0.35086169838905334, -0.45565444231033325, -1.6103167533874512, 1.3935582637786865, -1.2048561573028564, -1.005015254020691, 0.4959851801395416, 0.14875730872154236, 1.3786925077438354, 0.32580330967903137, 1.7145142555236816, 2.0840508937835693, 0.9040048122406006, 0.4126513600349426, 1.2398264408111572, -0.07912087440490723, -0.39810577034950256, 1.825904369354248, -0.4362834393978119, 0.5235530138015747, 1.085372805595398, -0.42380067706108093, -1.1007810831069946, -0.7812443971633911, -1.1810545921325684, -0.6174379587173462, 1.0920991897583008, 0.10918925702571869, -1.0981730222702026, 0.26973864436149597, 1.5693013668060303, 0.16323235630989075, -0.2534134089946747, 0.8183749914169312, 0.414548397064209, -0.7708410024642944, -0.1281304806470871, -0.9606308341026306, 0.5804923176765442, -0.2465355396270752, -0.3055380582809448, 0.30554431676864624, 0.4905197322368622, 1.3455593585968018, -0.0024687843397259712, 0.12194845825433731, 1.266768455505371, -1.4175190925598145, 1.3783468008041382, -0.775665819644928, 0.27490079402923584, -2.399912118911743, 1.4486963748931885, -0.7574880123138428, 1.897374153137207, -2.6207871437072754, 0.4771781265735626, -0.5999442934989929, -0.5341895222663879, 0.3138827085494995, -0.23950840532779694, 0.06721916794776917, -0.12461449950933456, -1.1382147073745728, -0.020376481115818024, -0.7400055527687073, 0.5640080571174622, 1.2352781295776367, 1.3622838258743286, -1.1185128688812256, -0.23701412975788116, -1.6978429555892944, -0.179974764585495, -0.7184787392616272, 0.39662492275238037, -1.9715293645858765, -0.1184258982539177, -2.0260043144226074, -2.437582015991211, -1.3681210279464722, -0.8690670728683472, 1.0635883808135986, 0.21042092144489288, -0.9466527104377747, 1.1919981241226196, -0.377779096364975, -1.746798038482666, 1.0813215970993042, -2.1792497634887695 ]
https://github.com/huggingface/datasets/issues/3986
Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface)
Hi @kelvinAI , I've had this issue on our institution's system which uses Lustre (in addition to our compute nodes being siloed off from external network access). The workaround I made for downloading/loading datasets was to set the `$HFHOME` environment variable to a location on the node's local storage (SSD), effectively a location that gets cleared regularly and sometimes gets used for temporary or cached files which is pretty common, e.g. "scratch" storage. Maybe your sysadmins, if you have them, could point you to subdirectories on a node that aren't linked to the Lustre filesystem. After downloading to scratch I found that the transformers, modules, and metrics cached folders were fine to move to my user drives on the Lustre filesystem but cached datasets that had fingerprints still had some issues with filelock, so it would help to use the function `my_dataset.save_to_disk('path/on/lustre_fs')` and static class function `Dataset.load_from_disk('path/on/lustre_fs')`. In rough steps: 1. Initially download to scratch storage with `ds = datasets.load_dataset(dataset_name)` 2. Call `ds.save_to_disk(my_path_on_lustre)` with a path in your user space on the Lustre filesystem 3. Load datasets with `from datasets import Dataset; new_ds = Dataset.load_from_disk(my_path_on_lustre)` Obviously this hinges on there existing scratch storage on the nodes you're using. Fingers crossed.
## Describe the bug Dataset loads indefinitely after modifying cache path (~/.cache/huggingface) If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script) ** Update: Transformer modules faces the same issue as well during loading ## A clear and concise description of what the bug is. Issue: - Dataset loading stalls / freezes indefinitely when HF_HOME is changed to a custom directory - No error code, had to terminate the process - There are some files created in the cache directory: ``` custom_cache_dir | -- modules | -- __init__.py | -- datasets_modules | -- __init__.py | -- datasets | -- __init__.py | -- script.py (Dataset loading script) | -- script.lock ``` There's no error nor any logs thrown so I'm out of ideas of how to to debug this. The custom dataset works fine if the default ~/.cache dir is used, but unfortunately it's out of space and we do not have permissions to modify the disk. ## Steps to reproduce the bug What I've tried: - Modifying HF_HOME (https://github.com/huggingface/transformers/issues/8703) - Modifying HF_DATASETS_CACHE (https://huggingface.co/docs/datasets/v1.12.0/cache.html) - Modifying cache_dir param during runtime ```python >>> from datasets import load_dataset >>> dataset = load_dataset('test_dataset', cache_dir='/path/to/new/cache') ``` - Disabling dataset cache ```python >>> from datasets import set_caching_enabled >>> set_caching_enabled(False) ``` ## Expected results Datasets should load / cache as usual with the only exception that cache directory is different ## Actual results Any actions taken above to change the cache directory results in loading indefinitely without terminating. ## Environment info - `transformers` version: 4.18.0.dev0 - Platform: Linux-4.15.0-54-generic-x86_64-with-glibc2.10 - Python version: 3.8.8 - Huggingface_hub version: 0.4.0 - PyTorch version (GPU?): 1.8.1+cu102 (True) - Tensorflow version (GPU?): 2.4.1 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: not installed - Using GPU in script?: Yes - Using distributed or parallel set-up in script?: No
865
200
Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface) ## Describe the bug Dataset loads indefinitely after modifying cache path (~/.cache/huggingface) If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script) ** Update: Transformer modules faces the same issue as well during loading ## A clear and concise description of what the bug is. Issue: - Dataset loading stalls / freezes indefinitely when HF_HOME is changed to a custom directory - No error code, had to terminate the process - There are some files created in the cache directory: ``` custom_cache_dir | -- modules | -- __init__.py | -- datasets_modules | -- __init__.py | -- datasets | -- __init__.py | -- script.py (Dataset loading script) | -- script.lock ``` There's no error nor any logs thrown so I'm out of ideas of how to to debug this. The custom dataset works fine if the default ~/.cache dir is used, but unfortunately it's out of space and we do not have permissions to modify the disk. ## Steps to reproduce the bug What I've tried: - Modifying HF_HOME (https://github.com/huggingface/transformers/issues/8703) - Modifying HF_DATASETS_CACHE (https://huggingface.co/docs/datasets/v1.12.0/cache.html) - Modifying cache_dir param during runtime ```python >>> from datasets import load_dataset >>> dataset = load_dataset('test_dataset', cache_dir='/path/to/new/cache') ``` - Disabling dataset cache ```python >>> from datasets import set_caching_enabled >>> set_caching_enabled(False) ``` ## Expected results Datasets should load / cache as usual with the only exception that cache directory is different ## Actual results Any actions taken above to change the cache directory results in loading indefinitely without terminating. ## Environment info - `transformers` version: 4.18.0.dev0 - Platform: Linux-4.15.0-54-generic-x86_64-with-glibc2.10 - Python version: 3.8.8 - Huggingface_hub version: 0.4.0 - PyTorch version (GPU?): 1.8.1+cu102 (True) - Tensorflow version (GPU?): 2.4.1 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: not installed - Using GPU in script?: Yes - Using distributed or parallel set-up in script?: No Hi @kelvinAI , I've had this issue on our institution's system which uses Lustre (in addition to our compute nodes being siloed off from external network access). The workaround I made for downloading/loading datasets was to set the `$HFHOME` environment variable to a location on the node's local storage (SSD), effectively a location that gets cleared regularly and sometimes gets used for temporary or cached files which is pretty common, e.g. "scratch" storage. Maybe your sysadmins, if you have them, could point you to subdirectories on a node that aren't linked to the Lustre filesystem. After downloading to scratch I found that the transformers, modules, and metrics cached folders were fine to move to my user drives on the Lustre filesystem but cached datasets that had fingerprints still had some issues with filelock, so it would help to use the function `my_dataset.save_to_disk('path/on/lustre_fs')` and static class function `Dataset.load_from_disk('path/on/lustre_fs')`. In rough steps: 1. Initially download to scratch storage with `ds = datasets.load_dataset(dataset_name)` 2. Call `ds.save_to_disk(my_path_on_lustre)` with a path in your user space on the Lustre filesystem 3. Load datasets with `from datasets import Dataset; new_ds = Dataset.load_from_disk(my_path_on_lustre)` Obviously this hinges on there existing scratch storage on the nodes you're using. Fingers crossed.
[ -1.1560031175613403, -0.8878403902053833, -0.7046219110488892, 1.4441661834716797, -0.14479096233844757, -1.3577688932418823, 0.12675566971302032, -1.0127108097076416, 1.6576485633850098, -0.7944954037666321, 0.2183932512998581, -1.7565605640411377, -0.06215750426054001, -0.5706385374069214, -0.6814025640487671, -0.809170126914978, -0.38145503401756287, -0.8091076016426086, 1.0160585641860962, 2.4664371013641357, 1.2454442977905273, -1.3379017114639282, 2.749981164932251, 0.6785387396812439, -0.2153743952512741, -0.9326711297035217, 0.4824695587158203, -0.0002578524872660637, -1.2772870063781738, -0.4170289933681488, -0.8721566200256348, -0.023313507437705994, -0.6151230335235596, -0.48775604367256165, 0.07998865842819214, 0.4322829842567444, -0.27452361583709717, -0.3368053734302521, -0.5539725422859192, -0.7324061393737793, 0.5217361450195312, -0.4080282747745514, 0.9792857766151428, -0.29665085673332214, 1.7720140218734741, -0.5870752930641174, 0.3809182643890381, 0.672274112701416, 1.278999924659729, 0.1767362505197525, 0.034972406923770905, 0.3797425329685211, 0.34846773743629456, 0.006228704005479813, 0.4932009279727936, 1.1704597473144531, 0.6214446425437927, 0.5288952589035034, 0.7320018410682678, -2.2504146099090576, 1.327613353729248, -0.8652379512786865, 0.3435322940349579, 1.3292338848114014, -0.9507055282592773, 0.4041099548339844, -1.7349590063095093, -0.050667330622673035, 0.5827744007110596, -2.2182016372680664, 0.2781727910041809, -1.2837414741516113, -0.4534548819065094, 0.9600287675857544, 0.29175424575805664, -1.167371153831482, 0.1406518816947937, -0.4432864785194397, 1.0232467651367188, 0.4629923403263092, 1.0997017621994019, -1.7528455257415771, -0.01580124720931053, -0.2527717351913452, 0.11693433672189713, -1.2597012519836426, -1.648782730102539, 0.5357875823974609, 0.7158905863761902, 0.6838356256484985, -0.1912718266248703, 1.0142788887023926, -1.058713674545288, 0.7689489722251892, -0.949407160282135, -1.7087323665618896, -1.3695271015167236, -2.3958394527435303, -2.2872560024261475, 0.7022119760513306, -0.48919421434402466, -0.5027588605880737, 2.059098958969116, -1.0301315784454346, -1.8199169635772705, 1.0318522453308105, 0.3202650547027588, -0.02794860117137432, 2.3192687034606934, 0.2540844678878784, -0.8211418986320496, 0.5283105969429016, -0.7187694907188416, 0.7668679356575012, -0.3469391167163849, 1.3083232641220093, 0.46969902515411377, -1.0418400764465332, 1.6251790523529053, -0.48418882489204407, 0.6237570643424988, -0.7550207376480103, -0.4951518774032593, -0.7954675555229187, 0.23212097585201263, 1.8934475183486938, -0.3088032901287079, 1.6033326387405396, -0.3312888443470001, -1.557984709739685, -1.5882078409194946, 0.8433589339256287, 0.4387538433074951, -0.8458812236785889, 0.11199969053268433, -0.5063035488128662, 0.1262759268283844, -0.07361814379692078, 1.131260633468628, 1.2620949745178223, 0.6799929738044739, -0.3493089973926544, -0.9253895878791809, 0.17640790343284607, -0.07664506137371063, -0.6389326453208923, -1.8644096851348877, -0.3188738524913788, 0.20052525401115417, 0.5846206545829773, -1.0730302333831787, 1.7278234958648682, 0.9268553853034973, 1.9253450632095337, 1.017580509185791, -0.3371911942958832, 1.357061743736267, 0.06696589291095734, 1.9432294368743896, -0.5177716612815857, 0.625800371170044, -0.3061973750591278, -1.1318912506103516, 0.8087867498397827, -0.31956133246421814, -2.0114128589630127, -0.6767168045043945, -0.8126283288002014, -0.15732404589653015, -0.8207387924194336, 0.8922432065010071, -0.27936720848083496, -1.426404595375061, 0.17378593981266022, -0.6708241701126099, 0.22647438943386078, -1.2312049865722656, 0.21862363815307617, 0.7187085151672363, -0.655149519443512, 0.014839215204119682, -0.28685879707336426, -1.3700519800186157, -0.47221243381500244, 0.4028087854385376, 1.8838690519332886, -0.6857789158821106, 0.9809088706970215, 1.0493918657302856, -0.6727076768875122, 0.06406839191913605, 0.26403042674064636, -0.2855091392993927, 0.86313396692276, -1.123813271522522, -0.29853177070617676, 1.204263687133789, -0.22829598188400269, -0.6040256023406982, 1.4466173648834229, 0.7733367085456848, -1.0496537685394287, -0.13651961088180542, -0.1344611495733261, -0.8989392518997192, -0.012680066749453545, -1.5975909233093262, -0.14297865331172943, 0.31609630584716797, -1.4785817861557007, -0.4580943286418915, -0.20815059542655945, 1.3499739170074463, -0.06979052722454071, 1.3512310981750488, -0.3377947211265564, -0.18210390210151672, -0.3870770335197449, -0.4385872185230255, 0.15370123088359833, -0.22426141798496246, -0.5512995719909668, 0.2284621298313141, -0.7879923582077026, 0.22078339755535126, 1.491615891456604, 0.26654544472694397, 0.1164536103606224, 0.5210863947868347, 1.1100428104400635, 0.3347381353378296, -0.06405925005674362, -0.8275109529495239, -1.636914610862732, 1.9434566497802734, -1.465283751487732, 1.987587332725525, 0.7052322030067444, -0.04663020372390747, -1.832688808441162, -1.9290472269058228, 1.3865846395492554, 1.1178048849105835, 2.417724370956421, 0.4917829930782318, 0.37394410371780396, -0.8111468553543091, -0.7555866241455078, 0.3420049846172333, -0.9364466667175293, -0.7545073628425598, 0.11258725821971893, 2.3145787715911865, 1.766180157661438, -0.4466184973716736, -0.1345033496618271, -0.9258792996406555, 1.352073311805725, -0.2265130877494812, 0.23657219111919403, 1.9612171649932861, -0.2921915054321289, -1.0120480060577393, 1.33775794506073, -2.4036715030670166, 0.2604229152202606, 2.045919179916382, 0.2759580612182617, 0.08153083920478821, -1.2722722291946411, -0.6581735610961914, -0.26885882019996643, -0.42018741369247437, -1.2766826152801514, 0.4966947138309479, -0.3636116683483124, -0.7964361310005188, -1.4324568510055542, 0.11457096040248871, -1.0970197916030884, -1.6625468730926514, 0.37075626850128174, 1.9428237676620483, 2.0590784549713135, -0.6496000289916992, 1.4598468542099, -0.26925793290138245, 0.19337159395217896, 1.278613805770874, 1.3416720628738403, 3.1598708629608154, 1.9201465845108032, -1.3244757652282715, 0.7054736018180847, -0.1514694094657898, -0.49862906336784363, 1.1723203659057617, -1.1382719278335571, 1.202893853187561, -0.22244399785995483, -1.3136792182922363, -1.274739146232605, 0.9913922548294067, 0.5178122520446777, 0.014538383111357689, -0.47857365012168884, 1.2543649673461914, 0.018042465671896935, 1.3056304454803467, 0.6279600262641907, -0.46420377492904663, 0.5728343725204468, -0.38560330867767334, -0.5681908130645752, 1.5645394325256348, 0.21646612882614136, -1.4623792171478271, -2.338224411010742, -0.25975632667541504, -0.9305548667907715, -0.05337987840175629, -0.645117461681366, -1.0640350580215454, 1.5454529523849487, 0.36871305108070374, -1.1724761724472046, -0.26635968685150146, -0.2740299105644226, -0.5108097195625305, 2.6124868392944336, -1.3124033212661743, -0.18443739414215088, -0.9711917042732239, -0.6110656261444092, 1.6337506771087646, -1.2875396013259888, -0.2398461550474167, -1.14295494556427, -0.594455897808075, -1.287136197090149, -0.45251578092575073, 0.030827825888991356, -0.9161492586135864, 0.8794639110565186, 0.11248399317264557, -1.2228084802627563, -0.27165350317955017, -0.9624409675598145, 0.9854713082313538, -0.1855410784482956, 0.1835189312696457, 1.8139102458953857, 0.3457798659801483, -0.4524363577365875, 0.7318642139434814, 1.1716405153274536, 0.6201269626617432, -0.6651716828346252, 0.1580265462398529, -0.5884776711463928, 0.37801453471183777, -1.3769429922103882, 0.21832485496997833, -2.9756691455841064, 0.716587245464325, -0.09960509091615677, -0.05898146331310272, -0.08868277817964554, -1.405963659286499, 0.9592276215553284, 2.503490686416626, -1.1749645471572876, 0.5425618290901184, 0.376869797706604, 1.1918373107910156, -1.597942590713501, 0.2218349725008011, -0.545121431350708, 2.116647720336914, 0.121865414083004, 1.1962801218032837, -0.4909666180610657, -2.2901451587677, 0.5421186685562134, -1.183100700378418, -1.0868194103240967, 0.8101940751075745, -0.8749840259552002, 0.1829225718975067, -1.4074736833572388, -0.19311998784542084, -0.957292377948761, -1.2025240659713745, 0.6949856877326965, 0.06640641391277313, 0.43440020084381104, -0.5877097845077515, 0.29830437898635864, -2.1850950717926025, -1.2956571578979492, -0.1999131441116333, -0.9443912506103516, 0.5556734800338745, -0.38900503516197205, 0.6874904632568359, -0.14684808254241943, 0.05457258224487305, 0.32888278365135193, 1.5214577913284302, 3.3609955310821533, 0.10226449370384216, 0.2608024775981903, -0.14641384780406952, -0.9545568227767944, 1.407576084136963, 0.899817943572998, -0.17298837006092072, -0.6177172660827637, -1.0448756217956543, 1.2696313858032227, 1.9718801975250244, 1.0316691398620605, 0.013460898771882057, -0.8240258097648621, -0.7278697490692139, 0.05195428431034088, 0.1314341276884079, 0.5058169364929199, 0.9194037914276123, 0.012614868581295013, 0.14720477163791656, 1.361345648765564, 1.086007833480835, -0.3276751637458801, 0.44283178448677063, -0.8618659377098083, -0.44381240010261536, 0.45324790477752686, 0.3500487506389618, -0.019409310072660446, 0.32176658511161804, -1.0062915086746216, -0.19673244655132294, -0.39229950308799744, -0.8782809376716614, -0.7572442293167114, -0.5038365721702576, -0.3223344683647156, 1.6301037073135376, 0.08310755342245102, -0.5181795954704285, 0.013294227421283722, -0.7580917477607727, -0.15207213163375854, -1.05327570438385, 0.3365848660469055, -0.1908947080373764, -0.07403428852558136, -0.004144041333347559, 1.5890376567840576, -0.9700826406478882, -2.1129918098449707, 0.22502009570598602, 0.2722536027431488, -0.3375558853149414, 0.06835879385471344, 1.7247262001037598, 0.5660598278045654, 1.4214303493499756, 1.4161653518676758, 0.9701176285743713, -0.5981563329696655, -1.2340683937072754, 0.68747878074646, 0.913784921169281, -1.3525673151016235, 0.9567705988883972, -0.1477743685245514, -0.5829250812530518, 0.6958061456680298, 1.340566635131836, 0.4306715726852417, -2.077319383621216, 0.8783313035964966, -0.9938146471977234, 0.8386107087135315, 0.7973585724830627, 0.8199955821037292, 0.2046968638896942, 0.867645800113678, -1.2999063730239868, -1.1572213172912598, -0.7501125335693359, -0.6670030355453491, 1.9107567071914673, -0.2203170359134674, 0.4987209141254425, -0.2061305046081543, -1.3227113485336304, -0.08138158917427063, 0.7990703582763672, 0.4154273271560669, -0.47202086448669434, 0.8112961053848267, -0.6261847019195557, -1.0232404470443726, -1.3340919017791748, -0.39536818861961365, -1.116176962852478, -0.8960987329483032, 0.9604718685150146, 0.7950393557548523, 0.3392835259437561, 1.866770625114441, 0.6538236737251282, 0.2796696126461029, -2.6092278957366943, 0.9066148400306702, 0.319896399974823, -0.0693197250366211, 0.9167947173118591, 0.3191603422164917, 1.0895065069198608, 0.06279150396585464, 0.6344667673110962, -2.3638148307800293, 2.2049009799957275, -0.24520157277584076, 0.629652738571167, -0.06561189144849777, -0.14476506412029266, 1.0635665655136108, 0.5431376695632935, 0.5516263246536255, -1.099038004875183, 0.8508169054985046, -0.6120539307594299, 1.1008492708206177, 0.8976168036460876, -0.8596081137657166, 0.07150427252054214, 1.4068851470947266, 0.4248502850532532, -0.5632280111312866, -0.9583600759506226, -0.957016110420227, 0.9456477761268616, 1.770510196685791, 0.0213791411370039, -0.04125021770596504, 0.805338978767395, 0.7256965637207031, -1.261757493019104, 0.1768607795238495, -0.6497723460197449, -0.6864178776741028, 1.7336472272872925, 1.9850860834121704, -0.0634697824716568, -0.05875176936388016, -0.7478963732719421, -1.299203634262085, 0.7588653564453125, 0.043224215507507324, -0.01577095128595829, 0.7302429676055908, -0.6818742752075195, 1.116353154182434, 0.701123833656311, 0.9282155632972717, 0.05733354389667511, 0.30288130044937134, 0.5022892355918884, -0.3103100657463074, -1.1922721862792969, -0.31951600313186646, -1.1279765367507935, -2.4748480319976807, 0.4346436858177185, -0.1752290576696396, -1.5338592529296875, 0.10687040537595749, -1.0247011184692383, 0.879538893699646, -0.5477938055992126, -1.1446406841278076, -1.4526495933532715, 0.19906634092330933, -0.0888635590672493, 0.8756424188613892, -1.5305330753326416, -0.07768628001213074, 1.179728627204895, 0.8694619536399841, -0.6554507613182068, 1.015942096710205, 0.2620917558670044, 0.9387261867523193, 0.8644548654556274, -0.4216310679912567, 0.4807014465332031, 0.0617256835103035, -1.3307417631149292, 0.47969016432762146, 1.2204984426498413, 0.16850456595420837, 1.3259786367416382, -0.4705926179885864, 0.027128303423523903, 0.447683185338974, -0.5606333017349243, -0.49017977714538574, -0.4874941408634186, 0.6714074611663818, -0.016985736787319183, -0.8778840899467468, -0.05397745221853256, -0.014632539823651314, -0.2517985701560974, 0.19970405101776123, -1.4896165132522583, -0.18172287940979004, -0.4216090440750122, -0.5255289077758789, -1.3021233081817627, -0.010018520057201385, 1.366790533065796, -0.7491210699081421, -0.2570413053035736, 0.5509443283081055, 0.33654242753982544, 0.5584965944290161, 0.6342307329177856, -0.6523556709289551, -0.2080214023590088, -0.2727142870426178, -0.35314714908599854, 0.2318643182516098, 1.2276748418807983, -0.1242281123995781, -0.9737043380737305, 0.7062162756919861, -0.3880545198917389, 0.08847487717866898, 1.9186127185821533, 0.08000980317592621, -0.7623668909072876, 0.29000648856163025, -0.699934184551239, 1.897709608078003, 1.7599881887435913, 1.3443571329116821, -0.06630943715572357, -0.9948803186416626, 0.5976537466049194, -0.3293130397796631, -0.37878111004829407, 0.9926131963729858, 0.4490407705307007, -0.17875708639621735, -1.3655751943588257, 0.7120770812034607, 1.2561472654342651, -0.838295578956604, -0.7554563879966736, 0.10458958894014359, -0.8281142115592957, 1.1075029373168945, 0.7078855633735657, 0.4219134449958801, 0.2530932128429413, 1.6159626245498657, 0.6392703056335449, -0.4870315194129944, 0.5619177222251892, 0.49808236956596375, -0.16393497586250305, -2.035656690597534, -1.0557461977005005, 0.35086169838905334, -0.45565444231033325, -1.6103167533874512, 1.3935582637786865, -1.2048561573028564, -1.005015254020691, 0.4959851801395416, 0.14875730872154236, 1.3786925077438354, 0.32580330967903137, 1.7145142555236816, 2.0840508937835693, 0.9040048122406006, 0.4126513600349426, 1.2398264408111572, -0.07912087440490723, -0.39810577034950256, 1.825904369354248, -0.4362834393978119, 0.5235530138015747, 1.085372805595398, -0.42380067706108093, -1.1007810831069946, -0.7812443971633911, -1.1810545921325684, -0.6174379587173462, 1.0920991897583008, 0.10918925702571869, -1.0981730222702026, 0.26973864436149597, 1.5693013668060303, 0.16323235630989075, -0.2534134089946747, 0.8183749914169312, 0.414548397064209, -0.7708410024642944, -0.1281304806470871, -0.9606308341026306, 0.5804923176765442, -0.2465355396270752, -0.3055380582809448, 0.30554431676864624, 0.4905197322368622, 1.3455593585968018, -0.0024687843397259712, 0.12194845825433731, 1.266768455505371, -1.4175190925598145, 1.3783468008041382, -0.775665819644928, 0.27490079402923584, -2.399912118911743, 1.4486963748931885, -0.7574880123138428, 1.897374153137207, -2.6207871437072754, 0.4771781265735626, -0.5999442934989929, -0.5341895222663879, 0.3138827085494995, -0.23950840532779694, 0.06721916794776917, -0.12461449950933456, -1.1382147073745728, -0.020376481115818024, -0.7400055527687073, 0.5640080571174622, 1.2352781295776367, 1.3622838258743286, -1.1185128688812256, -0.23701412975788116, -1.6978429555892944, -0.179974764585495, -0.7184787392616272, 0.39662492275238037, -1.9715293645858765, -0.1184258982539177, -2.0260043144226074, -2.437582015991211, -1.3681210279464722, -0.8690670728683472, 1.0635883808135986, 0.21042092144489288, -0.9466527104377747, 1.1919981241226196, -0.377779096364975, -1.746798038482666, 1.0813215970993042, -2.1792497634887695 ]
https://github.com/huggingface/datasets/issues/3986
Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface)
Hi @jpmcd , thanks for sharing your experience. For my case, the Lustre filesystem (with more storage space) is the scratch storage like the one you've mentioned. We have a local storage for each user but unfortunately there's not enough space in it to 'cache' huge datasets, hence that is why I tried changing HF_HOME to point to the scratch disk with more space and encountered the flock issue. Unfortunately I'm not aware of any viable solution to this for now so I simply fall back to using torch dataset.
## Describe the bug Dataset loads indefinitely after modifying cache path (~/.cache/huggingface) If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script) ** Update: Transformer modules faces the same issue as well during loading ## A clear and concise description of what the bug is. Issue: - Dataset loading stalls / freezes indefinitely when HF_HOME is changed to a custom directory - No error code, had to terminate the process - There are some files created in the cache directory: ``` custom_cache_dir | -- modules | -- __init__.py | -- datasets_modules | -- __init__.py | -- datasets | -- __init__.py | -- script.py (Dataset loading script) | -- script.lock ``` There's no error nor any logs thrown so I'm out of ideas of how to to debug this. The custom dataset works fine if the default ~/.cache dir is used, but unfortunately it's out of space and we do not have permissions to modify the disk. ## Steps to reproduce the bug What I've tried: - Modifying HF_HOME (https://github.com/huggingface/transformers/issues/8703) - Modifying HF_DATASETS_CACHE (https://huggingface.co/docs/datasets/v1.12.0/cache.html) - Modifying cache_dir param during runtime ```python >>> from datasets import load_dataset >>> dataset = load_dataset('test_dataset', cache_dir='/path/to/new/cache') ``` - Disabling dataset cache ```python >>> from datasets import set_caching_enabled >>> set_caching_enabled(False) ``` ## Expected results Datasets should load / cache as usual with the only exception that cache directory is different ## Actual results Any actions taken above to change the cache directory results in loading indefinitely without terminating. ## Environment info - `transformers` version: 4.18.0.dev0 - Platform: Linux-4.15.0-54-generic-x86_64-with-glibc2.10 - Python version: 3.8.8 - Huggingface_hub version: 0.4.0 - PyTorch version (GPU?): 1.8.1+cu102 (True) - Tensorflow version (GPU?): 2.4.1 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: not installed - Using GPU in script?: Yes - Using distributed or parallel set-up in script?: No
865
90
Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface) ## Describe the bug Dataset loads indefinitely after modifying cache path (~/.cache/huggingface) If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script) ** Update: Transformer modules faces the same issue as well during loading ## A clear and concise description of what the bug is. Issue: - Dataset loading stalls / freezes indefinitely when HF_HOME is changed to a custom directory - No error code, had to terminate the process - There are some files created in the cache directory: ``` custom_cache_dir | -- modules | -- __init__.py | -- datasets_modules | -- __init__.py | -- datasets | -- __init__.py | -- script.py (Dataset loading script) | -- script.lock ``` There's no error nor any logs thrown so I'm out of ideas of how to to debug this. The custom dataset works fine if the default ~/.cache dir is used, but unfortunately it's out of space and we do not have permissions to modify the disk. ## Steps to reproduce the bug What I've tried: - Modifying HF_HOME (https://github.com/huggingface/transformers/issues/8703) - Modifying HF_DATASETS_CACHE (https://huggingface.co/docs/datasets/v1.12.0/cache.html) - Modifying cache_dir param during runtime ```python >>> from datasets import load_dataset >>> dataset = load_dataset('test_dataset', cache_dir='/path/to/new/cache') ``` - Disabling dataset cache ```python >>> from datasets import set_caching_enabled >>> set_caching_enabled(False) ``` ## Expected results Datasets should load / cache as usual with the only exception that cache directory is different ## Actual results Any actions taken above to change the cache directory results in loading indefinitely without terminating. ## Environment info - `transformers` version: 4.18.0.dev0 - Platform: Linux-4.15.0-54-generic-x86_64-with-glibc2.10 - Python version: 3.8.8 - Huggingface_hub version: 0.4.0 - PyTorch version (GPU?): 1.8.1+cu102 (True) - Tensorflow version (GPU?): 2.4.1 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: not installed - Using GPU in script?: Yes - Using distributed or parallel set-up in script?: No Hi @jpmcd , thanks for sharing your experience. For my case, the Lustre filesystem (with more storage space) is the scratch storage like the one you've mentioned. We have a local storage for each user but unfortunately there's not enough space in it to 'cache' huge datasets, hence that is why I tried changing HF_HOME to point to the scratch disk with more space and encountered the flock issue. Unfortunately I'm not aware of any viable solution to this for now so I simply fall back to using torch dataset.
[ -1.1560031175613403, -0.8878403902053833, -0.7046219110488892, 1.4441661834716797, -0.14479096233844757, -1.3577688932418823, 0.12675566971302032, -1.0127108097076416, 1.6576485633850098, -0.7944954037666321, 0.2183932512998581, -1.7565605640411377, -0.06215750426054001, -0.5706385374069214, -0.6814025640487671, -0.809170126914978, -0.38145503401756287, -0.8091076016426086, 1.0160585641860962, 2.4664371013641357, 1.2454442977905273, -1.3379017114639282, 2.749981164932251, 0.6785387396812439, -0.2153743952512741, -0.9326711297035217, 0.4824695587158203, -0.0002578524872660637, -1.2772870063781738, -0.4170289933681488, -0.8721566200256348, -0.023313507437705994, -0.6151230335235596, -0.48775604367256165, 0.07998865842819214, 0.4322829842567444, -0.27452361583709717, -0.3368053734302521, -0.5539725422859192, -0.7324061393737793, 0.5217361450195312, -0.4080282747745514, 0.9792857766151428, -0.29665085673332214, 1.7720140218734741, -0.5870752930641174, 0.3809182643890381, 0.672274112701416, 1.278999924659729, 0.1767362505197525, 0.034972406923770905, 0.3797425329685211, 0.34846773743629456, 0.006228704005479813, 0.4932009279727936, 1.1704597473144531, 0.6214446425437927, 0.5288952589035034, 0.7320018410682678, -2.2504146099090576, 1.327613353729248, -0.8652379512786865, 0.3435322940349579, 1.3292338848114014, -0.9507055282592773, 0.4041099548339844, -1.7349590063095093, -0.050667330622673035, 0.5827744007110596, -2.2182016372680664, 0.2781727910041809, -1.2837414741516113, -0.4534548819065094, 0.9600287675857544, 0.29175424575805664, -1.167371153831482, 0.1406518816947937, -0.4432864785194397, 1.0232467651367188, 0.4629923403263092, 1.0997017621994019, -1.7528455257415771, -0.01580124720931053, -0.2527717351913452, 0.11693433672189713, -1.2597012519836426, -1.648782730102539, 0.5357875823974609, 0.7158905863761902, 0.6838356256484985, -0.1912718266248703, 1.0142788887023926, -1.058713674545288, 0.7689489722251892, -0.949407160282135, -1.7087323665618896, -1.3695271015167236, -2.3958394527435303, -2.2872560024261475, 0.7022119760513306, -0.48919421434402466, -0.5027588605880737, 2.059098958969116, -1.0301315784454346, -1.8199169635772705, 1.0318522453308105, 0.3202650547027588, -0.02794860117137432, 2.3192687034606934, 0.2540844678878784, -0.8211418986320496, 0.5283105969429016, -0.7187694907188416, 0.7668679356575012, -0.3469391167163849, 1.3083232641220093, 0.46969902515411377, -1.0418400764465332, 1.6251790523529053, -0.48418882489204407, 0.6237570643424988, -0.7550207376480103, -0.4951518774032593, -0.7954675555229187, 0.23212097585201263, 1.8934475183486938, -0.3088032901287079, 1.6033326387405396, -0.3312888443470001, -1.557984709739685, -1.5882078409194946, 0.8433589339256287, 0.4387538433074951, -0.8458812236785889, 0.11199969053268433, -0.5063035488128662, 0.1262759268283844, -0.07361814379692078, 1.131260633468628, 1.2620949745178223, 0.6799929738044739, -0.3493089973926544, -0.9253895878791809, 0.17640790343284607, -0.07664506137371063, -0.6389326453208923, -1.8644096851348877, -0.3188738524913788, 0.20052525401115417, 0.5846206545829773, -1.0730302333831787, 1.7278234958648682, 0.9268553853034973, 1.9253450632095337, 1.017580509185791, -0.3371911942958832, 1.357061743736267, 0.06696589291095734, 1.9432294368743896, -0.5177716612815857, 0.625800371170044, -0.3061973750591278, -1.1318912506103516, 0.8087867498397827, -0.31956133246421814, -2.0114128589630127, -0.6767168045043945, -0.8126283288002014, -0.15732404589653015, -0.8207387924194336, 0.8922432065010071, -0.27936720848083496, -1.426404595375061, 0.17378593981266022, -0.6708241701126099, 0.22647438943386078, -1.2312049865722656, 0.21862363815307617, 0.7187085151672363, -0.655149519443512, 0.014839215204119682, -0.28685879707336426, -1.3700519800186157, -0.47221243381500244, 0.4028087854385376, 1.8838690519332886, -0.6857789158821106, 0.9809088706970215, 1.0493918657302856, -0.6727076768875122, 0.06406839191913605, 0.26403042674064636, -0.2855091392993927, 0.86313396692276, -1.123813271522522, -0.29853177070617676, 1.204263687133789, -0.22829598188400269, -0.6040256023406982, 1.4466173648834229, 0.7733367085456848, -1.0496537685394287, -0.13651961088180542, -0.1344611495733261, -0.8989392518997192, -0.012680066749453545, -1.5975909233093262, -0.14297865331172943, 0.31609630584716797, -1.4785817861557007, -0.4580943286418915, -0.20815059542655945, 1.3499739170074463, -0.06979052722454071, 1.3512310981750488, -0.3377947211265564, -0.18210390210151672, -0.3870770335197449, -0.4385872185230255, 0.15370123088359833, -0.22426141798496246, -0.5512995719909668, 0.2284621298313141, -0.7879923582077026, 0.22078339755535126, 1.491615891456604, 0.26654544472694397, 0.1164536103606224, 0.5210863947868347, 1.1100428104400635, 0.3347381353378296, -0.06405925005674362, -0.8275109529495239, -1.636914610862732, 1.9434566497802734, -1.465283751487732, 1.987587332725525, 0.7052322030067444, -0.04663020372390747, -1.832688808441162, -1.9290472269058228, 1.3865846395492554, 1.1178048849105835, 2.417724370956421, 0.4917829930782318, 0.37394410371780396, -0.8111468553543091, -0.7555866241455078, 0.3420049846172333, -0.9364466667175293, -0.7545073628425598, 0.11258725821971893, 2.3145787715911865, 1.766180157661438, -0.4466184973716736, -0.1345033496618271, -0.9258792996406555, 1.352073311805725, -0.2265130877494812, 0.23657219111919403, 1.9612171649932861, -0.2921915054321289, -1.0120480060577393, 1.33775794506073, -2.4036715030670166, 0.2604229152202606, 2.045919179916382, 0.2759580612182617, 0.08153083920478821, -1.2722722291946411, -0.6581735610961914, -0.26885882019996643, -0.42018741369247437, -1.2766826152801514, 0.4966947138309479, -0.3636116683483124, -0.7964361310005188, -1.4324568510055542, 0.11457096040248871, -1.0970197916030884, -1.6625468730926514, 0.37075626850128174, 1.9428237676620483, 2.0590784549713135, -0.6496000289916992, 1.4598468542099, -0.26925793290138245, 0.19337159395217896, 1.278613805770874, 1.3416720628738403, 3.1598708629608154, 1.9201465845108032, -1.3244757652282715, 0.7054736018180847, -0.1514694094657898, -0.49862906336784363, 1.1723203659057617, -1.1382719278335571, 1.202893853187561, -0.22244399785995483, -1.3136792182922363, -1.274739146232605, 0.9913922548294067, 0.5178122520446777, 0.014538383111357689, -0.47857365012168884, 1.2543649673461914, 0.018042465671896935, 1.3056304454803467, 0.6279600262641907, -0.46420377492904663, 0.5728343725204468, -0.38560330867767334, -0.5681908130645752, 1.5645394325256348, 0.21646612882614136, -1.4623792171478271, -2.338224411010742, -0.25975632667541504, -0.9305548667907715, -0.05337987840175629, -0.645117461681366, -1.0640350580215454, 1.5454529523849487, 0.36871305108070374, -1.1724761724472046, -0.26635968685150146, -0.2740299105644226, -0.5108097195625305, 2.6124868392944336, -1.3124033212661743, -0.18443739414215088, -0.9711917042732239, -0.6110656261444092, 1.6337506771087646, -1.2875396013259888, -0.2398461550474167, -1.14295494556427, -0.594455897808075, -1.287136197090149, -0.45251578092575073, 0.030827825888991356, -0.9161492586135864, 0.8794639110565186, 0.11248399317264557, -1.2228084802627563, -0.27165350317955017, -0.9624409675598145, 0.9854713082313538, -0.1855410784482956, 0.1835189312696457, 1.8139102458953857, 0.3457798659801483, -0.4524363577365875, 0.7318642139434814, 1.1716405153274536, 0.6201269626617432, -0.6651716828346252, 0.1580265462398529, -0.5884776711463928, 0.37801453471183777, -1.3769429922103882, 0.21832485496997833, -2.9756691455841064, 0.716587245464325, -0.09960509091615677, -0.05898146331310272, -0.08868277817964554, -1.405963659286499, 0.9592276215553284, 2.503490686416626, -1.1749645471572876, 0.5425618290901184, 0.376869797706604, 1.1918373107910156, -1.597942590713501, 0.2218349725008011, -0.545121431350708, 2.116647720336914, 0.121865414083004, 1.1962801218032837, -0.4909666180610657, -2.2901451587677, 0.5421186685562134, -1.183100700378418, -1.0868194103240967, 0.8101940751075745, -0.8749840259552002, 0.1829225718975067, -1.4074736833572388, -0.19311998784542084, -0.957292377948761, -1.2025240659713745, 0.6949856877326965, 0.06640641391277313, 0.43440020084381104, -0.5877097845077515, 0.29830437898635864, -2.1850950717926025, -1.2956571578979492, -0.1999131441116333, -0.9443912506103516, 0.5556734800338745, -0.38900503516197205, 0.6874904632568359, -0.14684808254241943, 0.05457258224487305, 0.32888278365135193, 1.5214577913284302, 3.3609955310821533, 0.10226449370384216, 0.2608024775981903, -0.14641384780406952, -0.9545568227767944, 1.407576084136963, 0.899817943572998, -0.17298837006092072, -0.6177172660827637, -1.0448756217956543, 1.2696313858032227, 1.9718801975250244, 1.0316691398620605, 0.013460898771882057, -0.8240258097648621, -0.7278697490692139, 0.05195428431034088, 0.1314341276884079, 0.5058169364929199, 0.9194037914276123, 0.012614868581295013, 0.14720477163791656, 1.361345648765564, 1.086007833480835, -0.3276751637458801, 0.44283178448677063, -0.8618659377098083, -0.44381240010261536, 0.45324790477752686, 0.3500487506389618, -0.019409310072660446, 0.32176658511161804, -1.0062915086746216, -0.19673244655132294, -0.39229950308799744, -0.8782809376716614, -0.7572442293167114, -0.5038365721702576, -0.3223344683647156, 1.6301037073135376, 0.08310755342245102, -0.5181795954704285, 0.013294227421283722, -0.7580917477607727, -0.15207213163375854, -1.05327570438385, 0.3365848660469055, -0.1908947080373764, -0.07403428852558136, -0.004144041333347559, 1.5890376567840576, -0.9700826406478882, -2.1129918098449707, 0.22502009570598602, 0.2722536027431488, -0.3375558853149414, 0.06835879385471344, 1.7247262001037598, 0.5660598278045654, 1.4214303493499756, 1.4161653518676758, 0.9701176285743713, -0.5981563329696655, -1.2340683937072754, 0.68747878074646, 0.913784921169281, -1.3525673151016235, 0.9567705988883972, -0.1477743685245514, -0.5829250812530518, 0.6958061456680298, 1.340566635131836, 0.4306715726852417, -2.077319383621216, 0.8783313035964966, -0.9938146471977234, 0.8386107087135315, 0.7973585724830627, 0.8199955821037292, 0.2046968638896942, 0.867645800113678, -1.2999063730239868, -1.1572213172912598, -0.7501125335693359, -0.6670030355453491, 1.9107567071914673, -0.2203170359134674, 0.4987209141254425, -0.2061305046081543, -1.3227113485336304, -0.08138158917427063, 0.7990703582763672, 0.4154273271560669, -0.47202086448669434, 0.8112961053848267, -0.6261847019195557, -1.0232404470443726, -1.3340919017791748, -0.39536818861961365, -1.116176962852478, -0.8960987329483032, 0.9604718685150146, 0.7950393557548523, 0.3392835259437561, 1.866770625114441, 0.6538236737251282, 0.2796696126461029, -2.6092278957366943, 0.9066148400306702, 0.319896399974823, -0.0693197250366211, 0.9167947173118591, 0.3191603422164917, 1.0895065069198608, 0.06279150396585464, 0.6344667673110962, -2.3638148307800293, 2.2049009799957275, -0.24520157277584076, 0.629652738571167, -0.06561189144849777, -0.14476506412029266, 1.0635665655136108, 0.5431376695632935, 0.5516263246536255, -1.099038004875183, 0.8508169054985046, -0.6120539307594299, 1.1008492708206177, 0.8976168036460876, -0.8596081137657166, 0.07150427252054214, 1.4068851470947266, 0.4248502850532532, -0.5632280111312866, -0.9583600759506226, -0.957016110420227, 0.9456477761268616, 1.770510196685791, 0.0213791411370039, -0.04125021770596504, 0.805338978767395, 0.7256965637207031, -1.261757493019104, 0.1768607795238495, -0.6497723460197449, -0.6864178776741028, 1.7336472272872925, 1.9850860834121704, -0.0634697824716568, -0.05875176936388016, -0.7478963732719421, -1.299203634262085, 0.7588653564453125, 0.043224215507507324, -0.01577095128595829, 0.7302429676055908, -0.6818742752075195, 1.116353154182434, 0.701123833656311, 0.9282155632972717, 0.05733354389667511, 0.30288130044937134, 0.5022892355918884, -0.3103100657463074, -1.1922721862792969, -0.31951600313186646, -1.1279765367507935, -2.4748480319976807, 0.4346436858177185, -0.1752290576696396, -1.5338592529296875, 0.10687040537595749, -1.0247011184692383, 0.879538893699646, -0.5477938055992126, -1.1446406841278076, -1.4526495933532715, 0.19906634092330933, -0.0888635590672493, 0.8756424188613892, -1.5305330753326416, -0.07768628001213074, 1.179728627204895, 0.8694619536399841, -0.6554507613182068, 1.015942096710205, 0.2620917558670044, 0.9387261867523193, 0.8644548654556274, -0.4216310679912567, 0.4807014465332031, 0.0617256835103035, -1.3307417631149292, 0.47969016432762146, 1.2204984426498413, 0.16850456595420837, 1.3259786367416382, -0.4705926179885864, 0.027128303423523903, 0.447683185338974, -0.5606333017349243, -0.49017977714538574, -0.4874941408634186, 0.6714074611663818, -0.016985736787319183, -0.8778840899467468, -0.05397745221853256, -0.014632539823651314, -0.2517985701560974, 0.19970405101776123, -1.4896165132522583, -0.18172287940979004, -0.4216090440750122, -0.5255289077758789, -1.3021233081817627, -0.010018520057201385, 1.366790533065796, -0.7491210699081421, -0.2570413053035736, 0.5509443283081055, 0.33654242753982544, 0.5584965944290161, 0.6342307329177856, -0.6523556709289551, -0.2080214023590088, -0.2727142870426178, -0.35314714908599854, 0.2318643182516098, 1.2276748418807983, -0.1242281123995781, -0.9737043380737305, 0.7062162756919861, -0.3880545198917389, 0.08847487717866898, 1.9186127185821533, 0.08000980317592621, -0.7623668909072876, 0.29000648856163025, -0.699934184551239, 1.897709608078003, 1.7599881887435913, 1.3443571329116821, -0.06630943715572357, -0.9948803186416626, 0.5976537466049194, -0.3293130397796631, -0.37878111004829407, 0.9926131963729858, 0.4490407705307007, -0.17875708639621735, -1.3655751943588257, 0.7120770812034607, 1.2561472654342651, -0.838295578956604, -0.7554563879966736, 0.10458958894014359, -0.8281142115592957, 1.1075029373168945, 0.7078855633735657, 0.4219134449958801, 0.2530932128429413, 1.6159626245498657, 0.6392703056335449, -0.4870315194129944, 0.5619177222251892, 0.49808236956596375, -0.16393497586250305, -2.035656690597534, -1.0557461977005005, 0.35086169838905334, -0.45565444231033325, -1.6103167533874512, 1.3935582637786865, -1.2048561573028564, -1.005015254020691, 0.4959851801395416, 0.14875730872154236, 1.3786925077438354, 0.32580330967903137, 1.7145142555236816, 2.0840508937835693, 0.9040048122406006, 0.4126513600349426, 1.2398264408111572, -0.07912087440490723, -0.39810577034950256, 1.825904369354248, -0.4362834393978119, 0.5235530138015747, 1.085372805595398, -0.42380067706108093, -1.1007810831069946, -0.7812443971633911, -1.1810545921325684, -0.6174379587173462, 1.0920991897583008, 0.10918925702571869, -1.0981730222702026, 0.26973864436149597, 1.5693013668060303, 0.16323235630989075, -0.2534134089946747, 0.8183749914169312, 0.414548397064209, -0.7708410024642944, -0.1281304806470871, -0.9606308341026306, 0.5804923176765442, -0.2465355396270752, -0.3055380582809448, 0.30554431676864624, 0.4905197322368622, 1.3455593585968018, -0.0024687843397259712, 0.12194845825433731, 1.266768455505371, -1.4175190925598145, 1.3783468008041382, -0.775665819644928, 0.27490079402923584, -2.399912118911743, 1.4486963748931885, -0.7574880123138428, 1.897374153137207, -2.6207871437072754, 0.4771781265735626, -0.5999442934989929, -0.5341895222663879, 0.3138827085494995, -0.23950840532779694, 0.06721916794776917, -0.12461449950933456, -1.1382147073745728, -0.020376481115818024, -0.7400055527687073, 0.5640080571174622, 1.2352781295776367, 1.3622838258743286, -1.1185128688812256, -0.23701412975788116, -1.6978429555892944, -0.179974764585495, -0.7184787392616272, 0.39662492275238037, -1.9715293645858765, -0.1184258982539177, -2.0260043144226074, -2.437582015991211, -1.3681210279464722, -0.8690670728683472, 1.0635883808135986, 0.21042092144489288, -0.9466527104377747, 1.1919981241226196, -0.377779096364975, -1.746798038482666, 1.0813215970993042, -2.1792497634887695 ]
https://github.com/huggingface/datasets/issues/3986
Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface)
@jpmcd your comment saved me from pulling my hair out in frustration. Setting `HF_HOME` to a directory that's not on Lustre works like a charm. ✨
## Describe the bug Dataset loads indefinitely after modifying cache path (~/.cache/huggingface) If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script) ** Update: Transformer modules faces the same issue as well during loading ## A clear and concise description of what the bug is. Issue: - Dataset loading stalls / freezes indefinitely when HF_HOME is changed to a custom directory - No error code, had to terminate the process - There are some files created in the cache directory: ``` custom_cache_dir | -- modules | -- __init__.py | -- datasets_modules | -- __init__.py | -- datasets | -- __init__.py | -- script.py (Dataset loading script) | -- script.lock ``` There's no error nor any logs thrown so I'm out of ideas of how to to debug this. The custom dataset works fine if the default ~/.cache dir is used, but unfortunately it's out of space and we do not have permissions to modify the disk. ## Steps to reproduce the bug What I've tried: - Modifying HF_HOME (https://github.com/huggingface/transformers/issues/8703) - Modifying HF_DATASETS_CACHE (https://huggingface.co/docs/datasets/v1.12.0/cache.html) - Modifying cache_dir param during runtime ```python >>> from datasets import load_dataset >>> dataset = load_dataset('test_dataset', cache_dir='/path/to/new/cache') ``` - Disabling dataset cache ```python >>> from datasets import set_caching_enabled >>> set_caching_enabled(False) ``` ## Expected results Datasets should load / cache as usual with the only exception that cache directory is different ## Actual results Any actions taken above to change the cache directory results in loading indefinitely without terminating. ## Environment info - `transformers` version: 4.18.0.dev0 - Platform: Linux-4.15.0-54-generic-x86_64-with-glibc2.10 - Python version: 3.8.8 - Huggingface_hub version: 0.4.0 - PyTorch version (GPU?): 1.8.1+cu102 (True) - Tensorflow version (GPU?): 2.4.1 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: not installed - Using GPU in script?: Yes - Using distributed or parallel set-up in script?: No
865
26
Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface) ## Describe the bug Dataset loads indefinitely after modifying cache path (~/.cache/huggingface) If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script) ** Update: Transformer modules faces the same issue as well during loading ## A clear and concise description of what the bug is. Issue: - Dataset loading stalls / freezes indefinitely when HF_HOME is changed to a custom directory - No error code, had to terminate the process - There are some files created in the cache directory: ``` custom_cache_dir | -- modules | -- __init__.py | -- datasets_modules | -- __init__.py | -- datasets | -- __init__.py | -- script.py (Dataset loading script) | -- script.lock ``` There's no error nor any logs thrown so I'm out of ideas of how to to debug this. The custom dataset works fine if the default ~/.cache dir is used, but unfortunately it's out of space and we do not have permissions to modify the disk. ## Steps to reproduce the bug What I've tried: - Modifying HF_HOME (https://github.com/huggingface/transformers/issues/8703) - Modifying HF_DATASETS_CACHE (https://huggingface.co/docs/datasets/v1.12.0/cache.html) - Modifying cache_dir param during runtime ```python >>> from datasets import load_dataset >>> dataset = load_dataset('test_dataset', cache_dir='/path/to/new/cache') ``` - Disabling dataset cache ```python >>> from datasets import set_caching_enabled >>> set_caching_enabled(False) ``` ## Expected results Datasets should load / cache as usual with the only exception that cache directory is different ## Actual results Any actions taken above to change the cache directory results in loading indefinitely without terminating. ## Environment info - `transformers` version: 4.18.0.dev0 - Platform: Linux-4.15.0-54-generic-x86_64-with-glibc2.10 - Python version: 3.8.8 - Huggingface_hub version: 0.4.0 - PyTorch version (GPU?): 1.8.1+cu102 (True) - Tensorflow version (GPU?): 2.4.1 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: not installed - Using GPU in script?: Yes - Using distributed or parallel set-up in script?: No @jpmcd your comment saved me from pulling my hair out in frustration. Setting `HF_HOME` to a directory that's not on Lustre works like a charm. ✨
[ -1.1560031175613403, -0.8878403902053833, -0.7046219110488892, 1.4441661834716797, -0.14479096233844757, -1.3577688932418823, 0.12675566971302032, -1.0127108097076416, 1.6576485633850098, -0.7944954037666321, 0.2183932512998581, -1.7565605640411377, -0.06215750426054001, -0.5706385374069214, -0.6814025640487671, -0.809170126914978, -0.38145503401756287, -0.8091076016426086, 1.0160585641860962, 2.4664371013641357, 1.2454442977905273, -1.3379017114639282, 2.749981164932251, 0.6785387396812439, -0.2153743952512741, -0.9326711297035217, 0.4824695587158203, -0.0002578524872660637, -1.2772870063781738, -0.4170289933681488, -0.8721566200256348, -0.023313507437705994, -0.6151230335235596, -0.48775604367256165, 0.07998865842819214, 0.4322829842567444, -0.27452361583709717, -0.3368053734302521, -0.5539725422859192, -0.7324061393737793, 0.5217361450195312, -0.4080282747745514, 0.9792857766151428, -0.29665085673332214, 1.7720140218734741, -0.5870752930641174, 0.3809182643890381, 0.672274112701416, 1.278999924659729, 0.1767362505197525, 0.034972406923770905, 0.3797425329685211, 0.34846773743629456, 0.006228704005479813, 0.4932009279727936, 1.1704597473144531, 0.6214446425437927, 0.5288952589035034, 0.7320018410682678, -2.2504146099090576, 1.327613353729248, -0.8652379512786865, 0.3435322940349579, 1.3292338848114014, -0.9507055282592773, 0.4041099548339844, -1.7349590063095093, -0.050667330622673035, 0.5827744007110596, -2.2182016372680664, 0.2781727910041809, -1.2837414741516113, -0.4534548819065094, 0.9600287675857544, 0.29175424575805664, -1.167371153831482, 0.1406518816947937, -0.4432864785194397, 1.0232467651367188, 0.4629923403263092, 1.0997017621994019, -1.7528455257415771, -0.01580124720931053, -0.2527717351913452, 0.11693433672189713, -1.2597012519836426, -1.648782730102539, 0.5357875823974609, 0.7158905863761902, 0.6838356256484985, -0.1912718266248703, 1.0142788887023926, -1.058713674545288, 0.7689489722251892, -0.949407160282135, -1.7087323665618896, -1.3695271015167236, -2.3958394527435303, -2.2872560024261475, 0.7022119760513306, -0.48919421434402466, -0.5027588605880737, 2.059098958969116, -1.0301315784454346, -1.8199169635772705, 1.0318522453308105, 0.3202650547027588, -0.02794860117137432, 2.3192687034606934, 0.2540844678878784, -0.8211418986320496, 0.5283105969429016, -0.7187694907188416, 0.7668679356575012, -0.3469391167163849, 1.3083232641220093, 0.46969902515411377, -1.0418400764465332, 1.6251790523529053, -0.48418882489204407, 0.6237570643424988, -0.7550207376480103, -0.4951518774032593, -0.7954675555229187, 0.23212097585201263, 1.8934475183486938, -0.3088032901287079, 1.6033326387405396, -0.3312888443470001, -1.557984709739685, -1.5882078409194946, 0.8433589339256287, 0.4387538433074951, -0.8458812236785889, 0.11199969053268433, -0.5063035488128662, 0.1262759268283844, -0.07361814379692078, 1.131260633468628, 1.2620949745178223, 0.6799929738044739, -0.3493089973926544, -0.9253895878791809, 0.17640790343284607, -0.07664506137371063, -0.6389326453208923, -1.8644096851348877, -0.3188738524913788, 0.20052525401115417, 0.5846206545829773, -1.0730302333831787, 1.7278234958648682, 0.9268553853034973, 1.9253450632095337, 1.017580509185791, -0.3371911942958832, 1.357061743736267, 0.06696589291095734, 1.9432294368743896, -0.5177716612815857, 0.625800371170044, -0.3061973750591278, -1.1318912506103516, 0.8087867498397827, -0.31956133246421814, -2.0114128589630127, -0.6767168045043945, -0.8126283288002014, -0.15732404589653015, -0.8207387924194336, 0.8922432065010071, -0.27936720848083496, -1.426404595375061, 0.17378593981266022, -0.6708241701126099, 0.22647438943386078, -1.2312049865722656, 0.21862363815307617, 0.7187085151672363, -0.655149519443512, 0.014839215204119682, -0.28685879707336426, -1.3700519800186157, -0.47221243381500244, 0.4028087854385376, 1.8838690519332886, -0.6857789158821106, 0.9809088706970215, 1.0493918657302856, -0.6727076768875122, 0.06406839191913605, 0.26403042674064636, -0.2855091392993927, 0.86313396692276, -1.123813271522522, -0.29853177070617676, 1.204263687133789, -0.22829598188400269, -0.6040256023406982, 1.4466173648834229, 0.7733367085456848, -1.0496537685394287, -0.13651961088180542, -0.1344611495733261, -0.8989392518997192, -0.012680066749453545, -1.5975909233093262, -0.14297865331172943, 0.31609630584716797, -1.4785817861557007, -0.4580943286418915, -0.20815059542655945, 1.3499739170074463, -0.06979052722454071, 1.3512310981750488, -0.3377947211265564, -0.18210390210151672, -0.3870770335197449, -0.4385872185230255, 0.15370123088359833, -0.22426141798496246, -0.5512995719909668, 0.2284621298313141, -0.7879923582077026, 0.22078339755535126, 1.491615891456604, 0.26654544472694397, 0.1164536103606224, 0.5210863947868347, 1.1100428104400635, 0.3347381353378296, -0.06405925005674362, -0.8275109529495239, -1.636914610862732, 1.9434566497802734, -1.465283751487732, 1.987587332725525, 0.7052322030067444, -0.04663020372390747, -1.832688808441162, -1.9290472269058228, 1.3865846395492554, 1.1178048849105835, 2.417724370956421, 0.4917829930782318, 0.37394410371780396, -0.8111468553543091, -0.7555866241455078, 0.3420049846172333, -0.9364466667175293, -0.7545073628425598, 0.11258725821971893, 2.3145787715911865, 1.766180157661438, -0.4466184973716736, -0.1345033496618271, -0.9258792996406555, 1.352073311805725, -0.2265130877494812, 0.23657219111919403, 1.9612171649932861, -0.2921915054321289, -1.0120480060577393, 1.33775794506073, -2.4036715030670166, 0.2604229152202606, 2.045919179916382, 0.2759580612182617, 0.08153083920478821, -1.2722722291946411, -0.6581735610961914, -0.26885882019996643, -0.42018741369247437, -1.2766826152801514, 0.4966947138309479, -0.3636116683483124, -0.7964361310005188, -1.4324568510055542, 0.11457096040248871, -1.0970197916030884, -1.6625468730926514, 0.37075626850128174, 1.9428237676620483, 2.0590784549713135, -0.6496000289916992, 1.4598468542099, -0.26925793290138245, 0.19337159395217896, 1.278613805770874, 1.3416720628738403, 3.1598708629608154, 1.9201465845108032, -1.3244757652282715, 0.7054736018180847, -0.1514694094657898, -0.49862906336784363, 1.1723203659057617, -1.1382719278335571, 1.202893853187561, -0.22244399785995483, -1.3136792182922363, -1.274739146232605, 0.9913922548294067, 0.5178122520446777, 0.014538383111357689, -0.47857365012168884, 1.2543649673461914, 0.018042465671896935, 1.3056304454803467, 0.6279600262641907, -0.46420377492904663, 0.5728343725204468, -0.38560330867767334, -0.5681908130645752, 1.5645394325256348, 0.21646612882614136, -1.4623792171478271, -2.338224411010742, -0.25975632667541504, -0.9305548667907715, -0.05337987840175629, -0.645117461681366, -1.0640350580215454, 1.5454529523849487, 0.36871305108070374, -1.1724761724472046, -0.26635968685150146, -0.2740299105644226, -0.5108097195625305, 2.6124868392944336, -1.3124033212661743, -0.18443739414215088, -0.9711917042732239, -0.6110656261444092, 1.6337506771087646, -1.2875396013259888, -0.2398461550474167, -1.14295494556427, -0.594455897808075, -1.287136197090149, -0.45251578092575073, 0.030827825888991356, -0.9161492586135864, 0.8794639110565186, 0.11248399317264557, -1.2228084802627563, -0.27165350317955017, -0.9624409675598145, 0.9854713082313538, -0.1855410784482956, 0.1835189312696457, 1.8139102458953857, 0.3457798659801483, -0.4524363577365875, 0.7318642139434814, 1.1716405153274536, 0.6201269626617432, -0.6651716828346252, 0.1580265462398529, -0.5884776711463928, 0.37801453471183777, -1.3769429922103882, 0.21832485496997833, -2.9756691455841064, 0.716587245464325, -0.09960509091615677, -0.05898146331310272, -0.08868277817964554, -1.405963659286499, 0.9592276215553284, 2.503490686416626, -1.1749645471572876, 0.5425618290901184, 0.376869797706604, 1.1918373107910156, -1.597942590713501, 0.2218349725008011, -0.545121431350708, 2.116647720336914, 0.121865414083004, 1.1962801218032837, -0.4909666180610657, -2.2901451587677, 0.5421186685562134, -1.183100700378418, -1.0868194103240967, 0.8101940751075745, -0.8749840259552002, 0.1829225718975067, -1.4074736833572388, -0.19311998784542084, -0.957292377948761, -1.2025240659713745, 0.6949856877326965, 0.06640641391277313, 0.43440020084381104, -0.5877097845077515, 0.29830437898635864, -2.1850950717926025, -1.2956571578979492, -0.1999131441116333, -0.9443912506103516, 0.5556734800338745, -0.38900503516197205, 0.6874904632568359, -0.14684808254241943, 0.05457258224487305, 0.32888278365135193, 1.5214577913284302, 3.3609955310821533, 0.10226449370384216, 0.2608024775981903, -0.14641384780406952, -0.9545568227767944, 1.407576084136963, 0.899817943572998, -0.17298837006092072, -0.6177172660827637, -1.0448756217956543, 1.2696313858032227, 1.9718801975250244, 1.0316691398620605, 0.013460898771882057, -0.8240258097648621, -0.7278697490692139, 0.05195428431034088, 0.1314341276884079, 0.5058169364929199, 0.9194037914276123, 0.012614868581295013, 0.14720477163791656, 1.361345648765564, 1.086007833480835, -0.3276751637458801, 0.44283178448677063, -0.8618659377098083, -0.44381240010261536, 0.45324790477752686, 0.3500487506389618, -0.019409310072660446, 0.32176658511161804, -1.0062915086746216, -0.19673244655132294, -0.39229950308799744, -0.8782809376716614, -0.7572442293167114, -0.5038365721702576, -0.3223344683647156, 1.6301037073135376, 0.08310755342245102, -0.5181795954704285, 0.013294227421283722, -0.7580917477607727, -0.15207213163375854, -1.05327570438385, 0.3365848660469055, -0.1908947080373764, -0.07403428852558136, -0.004144041333347559, 1.5890376567840576, -0.9700826406478882, -2.1129918098449707, 0.22502009570598602, 0.2722536027431488, -0.3375558853149414, 0.06835879385471344, 1.7247262001037598, 0.5660598278045654, 1.4214303493499756, 1.4161653518676758, 0.9701176285743713, -0.5981563329696655, -1.2340683937072754, 0.68747878074646, 0.913784921169281, -1.3525673151016235, 0.9567705988883972, -0.1477743685245514, -0.5829250812530518, 0.6958061456680298, 1.340566635131836, 0.4306715726852417, -2.077319383621216, 0.8783313035964966, -0.9938146471977234, 0.8386107087135315, 0.7973585724830627, 0.8199955821037292, 0.2046968638896942, 0.867645800113678, -1.2999063730239868, -1.1572213172912598, -0.7501125335693359, -0.6670030355453491, 1.9107567071914673, -0.2203170359134674, 0.4987209141254425, -0.2061305046081543, -1.3227113485336304, -0.08138158917427063, 0.7990703582763672, 0.4154273271560669, -0.47202086448669434, 0.8112961053848267, -0.6261847019195557, -1.0232404470443726, -1.3340919017791748, -0.39536818861961365, -1.116176962852478, -0.8960987329483032, 0.9604718685150146, 0.7950393557548523, 0.3392835259437561, 1.866770625114441, 0.6538236737251282, 0.2796696126461029, -2.6092278957366943, 0.9066148400306702, 0.319896399974823, -0.0693197250366211, 0.9167947173118591, 0.3191603422164917, 1.0895065069198608, 0.06279150396585464, 0.6344667673110962, -2.3638148307800293, 2.2049009799957275, -0.24520157277584076, 0.629652738571167, -0.06561189144849777, -0.14476506412029266, 1.0635665655136108, 0.5431376695632935, 0.5516263246536255, -1.099038004875183, 0.8508169054985046, -0.6120539307594299, 1.1008492708206177, 0.8976168036460876, -0.8596081137657166, 0.07150427252054214, 1.4068851470947266, 0.4248502850532532, -0.5632280111312866, -0.9583600759506226, -0.957016110420227, 0.9456477761268616, 1.770510196685791, 0.0213791411370039, -0.04125021770596504, 0.805338978767395, 0.7256965637207031, -1.261757493019104, 0.1768607795238495, -0.6497723460197449, -0.6864178776741028, 1.7336472272872925, 1.9850860834121704, -0.0634697824716568, -0.05875176936388016, -0.7478963732719421, -1.299203634262085, 0.7588653564453125, 0.043224215507507324, -0.01577095128595829, 0.7302429676055908, -0.6818742752075195, 1.116353154182434, 0.701123833656311, 0.9282155632972717, 0.05733354389667511, 0.30288130044937134, 0.5022892355918884, -0.3103100657463074, -1.1922721862792969, -0.31951600313186646, -1.1279765367507935, -2.4748480319976807, 0.4346436858177185, -0.1752290576696396, -1.5338592529296875, 0.10687040537595749, -1.0247011184692383, 0.879538893699646, -0.5477938055992126, -1.1446406841278076, -1.4526495933532715, 0.19906634092330933, -0.0888635590672493, 0.8756424188613892, -1.5305330753326416, -0.07768628001213074, 1.179728627204895, 0.8694619536399841, -0.6554507613182068, 1.015942096710205, 0.2620917558670044, 0.9387261867523193, 0.8644548654556274, -0.4216310679912567, 0.4807014465332031, 0.0617256835103035, -1.3307417631149292, 0.47969016432762146, 1.2204984426498413, 0.16850456595420837, 1.3259786367416382, -0.4705926179885864, 0.027128303423523903, 0.447683185338974, -0.5606333017349243, -0.49017977714538574, -0.4874941408634186, 0.6714074611663818, -0.016985736787319183, -0.8778840899467468, -0.05397745221853256, -0.014632539823651314, -0.2517985701560974, 0.19970405101776123, -1.4896165132522583, -0.18172287940979004, -0.4216090440750122, -0.5255289077758789, -1.3021233081817627, -0.010018520057201385, 1.366790533065796, -0.7491210699081421, -0.2570413053035736, 0.5509443283081055, 0.33654242753982544, 0.5584965944290161, 0.6342307329177856, -0.6523556709289551, -0.2080214023590088, -0.2727142870426178, -0.35314714908599854, 0.2318643182516098, 1.2276748418807983, -0.1242281123995781, -0.9737043380737305, 0.7062162756919861, -0.3880545198917389, 0.08847487717866898, 1.9186127185821533, 0.08000980317592621, -0.7623668909072876, 0.29000648856163025, -0.699934184551239, 1.897709608078003, 1.7599881887435913, 1.3443571329116821, -0.06630943715572357, -0.9948803186416626, 0.5976537466049194, -0.3293130397796631, -0.37878111004829407, 0.9926131963729858, 0.4490407705307007, -0.17875708639621735, -1.3655751943588257, 0.7120770812034607, 1.2561472654342651, -0.838295578956604, -0.7554563879966736, 0.10458958894014359, -0.8281142115592957, 1.1075029373168945, 0.7078855633735657, 0.4219134449958801, 0.2530932128429413, 1.6159626245498657, 0.6392703056335449, -0.4870315194129944, 0.5619177222251892, 0.49808236956596375, -0.16393497586250305, -2.035656690597534, -1.0557461977005005, 0.35086169838905334, -0.45565444231033325, -1.6103167533874512, 1.3935582637786865, -1.2048561573028564, -1.005015254020691, 0.4959851801395416, 0.14875730872154236, 1.3786925077438354, 0.32580330967903137, 1.7145142555236816, 2.0840508937835693, 0.9040048122406006, 0.4126513600349426, 1.2398264408111572, -0.07912087440490723, -0.39810577034950256, 1.825904369354248, -0.4362834393978119, 0.5235530138015747, 1.085372805595398, -0.42380067706108093, -1.1007810831069946, -0.7812443971633911, -1.1810545921325684, -0.6174379587173462, 1.0920991897583008, 0.10918925702571869, -1.0981730222702026, 0.26973864436149597, 1.5693013668060303, 0.16323235630989075, -0.2534134089946747, 0.8183749914169312, 0.414548397064209, -0.7708410024642944, -0.1281304806470871, -0.9606308341026306, 0.5804923176765442, -0.2465355396270752, -0.3055380582809448, 0.30554431676864624, 0.4905197322368622, 1.3455593585968018, -0.0024687843397259712, 0.12194845825433731, 1.266768455505371, -1.4175190925598145, 1.3783468008041382, -0.775665819644928, 0.27490079402923584, -2.399912118911743, 1.4486963748931885, -0.7574880123138428, 1.897374153137207, -2.6207871437072754, 0.4771781265735626, -0.5999442934989929, -0.5341895222663879, 0.3138827085494995, -0.23950840532779694, 0.06721916794776917, -0.12461449950933456, -1.1382147073745728, -0.020376481115818024, -0.7400055527687073, 0.5640080571174622, 1.2352781295776367, 1.3622838258743286, -1.1185128688812256, -0.23701412975788116, -1.6978429555892944, -0.179974764585495, -0.7184787392616272, 0.39662492275238037, -1.9715293645858765, -0.1184258982539177, -2.0260043144226074, -2.437582015991211, -1.3681210279464722, -0.8690670728683472, 1.0635883808135986, 0.21042092144489288, -0.9466527104377747, 1.1919981241226196, -0.377779096364975, -1.746798038482666, 1.0813215970993042, -2.1792497634887695 ]
https://github.com/huggingface/datasets/issues/3984
Local and automatic tests fail
Hi ! To be able to run the tests, you need to install all the test dependencies and additional ones with ``` pip install -e .[tests] pip install -r additional-tests-requirements.txt --no-deps ``` In particular, you probably need to `sacrebleu`. It looks like it wasn't able to instantiate `sacrebleu.TER` properly.
## Describe the bug Running the tests from CircleCI on a PR or locally fails, even with no changes. Tests seem to fail on `test_metric_common.py` ## Steps to reproduce the bug ```shell git clone https://huggingface/datasets.git cd datasets ``` ```python python -m pip install -e . pytest ``` ## Expected results All tests passing ## Actual results ``` tests/test_metric_common.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.pyenv/versions/3.8.5/lib/python3.8/doctest.py:1336: in __run exec(compile(example.source, filename, "single", <doctest datasets_modules.metrics.ter.c0cfb5adedac7eb15ffa47bba6a70fabd80f3eb906ee508abf5e1906285d1155.ter.Ter[3]>:1: in <module> ??? ../datasets/src/datasets/metric.py:430: in compute output = self._compute(**inputs, **compute_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Metric(name: "ter", features: {'predictions': Value(dtype='string', id='sequence'), 'references': Sequence(feature=Val...ences=references) >>> print(results) {'score': 0.0, 'num_edits': 0, 'ref_length': 6.5} """, stored examples: 0) predictions = ['hello there general kenobi', 'foo bar foobar'] references = [['hello there general kenobi', 'hello there !'], ['foo bar foobar', 'foo bar foobar']] normalized = False, no_punct = False, asian_support = False, case_sensitive = False def _compute( self, predictions, references, normalized: bool = False, no_punct: bool = False, asian_support: bool = False, case_sensitive: bool = False, ): references_per_prediction = len(references[0]) if any(len(refs) != references_per_prediction for refs in references): raise ValueError("Sacrebleu requires the same number of references for each prediction") transformed_references = [[refs[i] for refs in references] for i in range(references_per_prediction)] > sb_ter = TER(normalized, no_punct, asian_support, case_sensitive) E TypeError: __init__() takes 2 positional arguments but 5 were given /tmp/pytest-of-markussagen/pytest-1/cache/modules/datasets_modules/metrics/ter/c0cfb5adedac7eb15ffa47bba6a70fabd80f3eb906ee508abf5e1906285d1155/ter.py:130: TypeError ------------------------------ Captured stdout call ------------------------------- Trying: predictions = ["hello there general kenobi", "foo bar foobar"] Expecting nothing ok Trying: references = [["hello there general kenobi", "hello there !"], ["foo bar foobar", "foo bar foobar"]] Expecting nothing ok Trying: ter = datasets.load_metric("ter") Expecting nothing ok Trying: results = ter.compute(predictions=predictions, references=references) Expecting nothing ================================ warnings summary ================================= ../.pyenv/versions/3.8.5/envs/huggingface/lib/python3.8/site-packages/hdfs/config.py:15 /home/markussagen/.pyenv/versions/3.8.5/envs/huggingface/lib/python3.8/site-packages/hdfs/config.py:15: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses from imp import load_source ../datasets/src/datasets/commands/test.py:35 /home/markussagen/datasets/src/datasets/commands/test.py:35: PytestCollectionWarning: cannot collect test class 'TestCommand' because it has a __init__ constructor (from: tests/commands/test_test.py) class TestCommand(BaseDatasetsCLICommand): tests/commands/test_test.py:33 /home/markussagen/mydataset/tests/commands/test_test.py:33: PytestCollectionWarning: cannot collect test class 'TestCommandArgs' because it has a __new__ constructor (from: tests/commands/test_test.py) class TestCommandArgs: tests/test_arrow_dataset.py: 760 warnings tests/test_formatting.py: 60 warnings tests/test_search.py: 31 warnings tests/features/test_array_xd.py: 117 warnings /home/markussagen/datasets/src/datasets/formatting/formatting.py:197: DeprecationWarning: `np.object` is a deprecated alias for the builtin `object`. To silence this warning, use `object` by itself. Doing this will not modify any behavior and is safe. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations (isinstance(x, np.ndarray) and (x.dtype == np.object or x.shape != array[0].shape)) tests/test_arrow_dataset.py: 154 warnings tests/features/test_array_xd.py: 1 warning /home/markussagen/datasets/src/datasets/formatting/formatting.py:201: DeprecationWarning: `np.object` is a deprecated alias for the builtin `object`. To silence this warning, use `object` by itself. Doing this will not modify any behavior and is safe. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations return np.array(array, copy=False, **{**self.np_array_kwargs, "dtype": np.object}) tests/test_arrow_dataset.py: 60 warnings /home/markussagen/datasets/src/datasets/arrow_dataset.py:3105: DeprecationWarning: `np.str` is a deprecated alias for the builtin `str`. To silence this warning, use `str` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.str_` here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations elif np.issubdtype(values.dtype, np.str): tests/test_arrow_dataset.py: 138 warnings tests/test_formatting.py: 21 warnings /home/markussagen/datasets/src/datasets/formatting/tf_formatter.py:69: DeprecationWarning: `np.object` is a deprecated alias for the builtin `object`. To silence this warning, use `object` by itself. Doing this will not modify any behavior and is safe. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations data_struct.dtype == np.object tests/test_arrow_dataset.py: 240 warnings tests/test_formatting.py: 20 warnings /home/markussagen/datasets/src/datasets/formatting/torch_formatter.py:49: DeprecationWarning: `np.object` is a deprecated alias for the builtin `object`. To silence this warning, use `object` by itself. Doing this will not modify any behavior and is safe. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations if data_struct.dtype == np.object: # pytorch tensors cannot be instantied from an array of objects tests/test_arrow_dataset.py: 12 warnings tests/test_search.py: 2 warnings tests/features/test_array_xd.py: 6 warnings tests/features/test_image.py: 4 warnings /home/markussagen/datasets/src/datasets/features/features.py:1129: DeprecationWarning: `np.object` is a deprecated alias for the builtin `object`. To silence this warning, use `object` by itself. Doing this will not modify any behavior and is safe. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations [0] + [len(arr) for arr in l_arr], dtype=np.object tests/test_dataset_common.py::LocalDatasetTest::test_builder_class_banking77 /tmp/pytest-of-markussagen/pytest-1/cache/modules/datasets_modules/datasets/banking77/aec0289529599d4572d76ab00c8944cb84f88410ad0c9e7da26189d31f62a55b/banking77.py:24: DeprecationWarning: invalid escape sequence \~ _CITATION = """\ tests/test_dataset_common.py::LocalDatasetTest::test_builder_class_universal_dependencies /tmp/pytest-of-markussagen/pytest-1/cache/modules/datasets_modules/datasets/universal_dependencies/065e728dfe9a8371434a6e87132c2386a6eacab1a076d3a12aa417b994e6ef7d/universal_dependencies.py:6: DeprecationWarning: invalid escape sequence \= _CITATION = """\ tests/test_filesystem.py: 105 warnings /home/markussagen/.pyenv/versions/3.8.5/envs/huggingface/lib/python3.8/site-packages/responses/__init__.py:398: DeprecationWarning: stream argument is deprecated. Use stream parameter in request directly warn( tests/test_formatting.py::FormatterTest::test_jax_formatter tests/test_formatting.py::FormatterTest::test_jax_formatter tests/test_formatting.py::FormatterTest::test_jax_formatter tests/test_formatting.py::FormatterTest::test_jax_formatter tests/test_formatting.py::FormatterTest::test_jax_formatter_np_array_kwargs tests/test_formatting.py::FormatterTest::test_jax_formatter_np_array_kwargs tests/test_formatting.py::FormatterTest::test_jax_formatter_np_array_kwargs tests/test_formatting.py::FormatterTest::test_jax_formatter_np_array_kwargs /home/markussagen/datasets/src/datasets/formatting/jax_formatter.py:57: DeprecationWarning: `np.object` is a deprecated alias for the builtin `object`. To silence this warning, use `object` by itself. Doing this will not modify any behavior and is safe. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations if data_struct.dtype == np.object: # jax arrays cannot be instantied from an array of objects tests/test_formatting.py::FormatterTest::test_jax_formatter tests/test_formatting.py::FormatterTest::test_jax_formatter tests/test_formatting.py::FormatterTest::test_jax_formatter /home/markussagen/.pyenv/versions/3.8.5/envs/huggingface/lib/python3.8/site-packages/jax/_src/numpy/lax_numpy.py:3567: UserWarning: Explicitly requested dtype <class 'jax._src.numpy.lax_numpy.int64'> requested in array is not available, and will be truncated to dtype int32. To enable more dtypes, set the jax_enable_x64 configuration option or the JAX_ENABLE_X64 shell environment variable. See https://github.com/google/jax#current-gotchas for more. lax._check_user_dtype_supported(dtype, "array") tests/test_metric_common.py::LocalMetricTest::test_load_metric_frugalscore /home/markussagen/.pyenv/versions/3.8.5/envs/huggingface/lib/python3.8/site-packages/apscheduler/util.py:95: PytzUsageWarning: The zone attribute is specific to pytz's interface; please migrate to a new time zone provider. For more details on how to do so, see https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html if obj.zone == 'local': tests/test_upstream_hub.py::TestPushToHub::test_push_dataset_to_hub_custom_features _audio /home/markussagen/.pyenv/versions/3.8.5/envs/huggingface/lib/python3.8/site-packages/librosa/core/constantq.py:1059: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations dtype=np.complex, tests/features/test_array_xd.py::test_array_xd_with_none /home/markussagen/mydataset/tests/features/test_array_xd.py:338: DeprecationWarning: `np.object` is a deprecated alias for the builtin `object`. To silence this warning, use `object` by itself. Doing this will not modify any behavior and is safe. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations assert isinstance(arr, np.ndarray) and arr.dtype == np.object and arr.shape == (3,) -- Docs: https://docs.pytest.org/en/stable/warnings.html ============================= short test summary info ============================= FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_bleurt - I... FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_chrf - Att... FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_code_eval FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_comet - Im... FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_competition_math FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_coval - Im... FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_frugalscore FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_perplexity FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_ter - Type... ``` ## Environment info - `datasets` version: 2.0.1.dev0 - Platform: Linux-5.16.11-76051611-generic-x86_64-with-glibc2.33 - Python version: 3.8.5 - PyArrow version: 5.0.0
866
49
Local and automatic tests fail ## Describe the bug Running the tests from CircleCI on a PR or locally fails, even with no changes. Tests seem to fail on `test_metric_common.py` ## Steps to reproduce the bug ```shell git clone https://huggingface/datasets.git cd datasets ``` ```python python -m pip install -e . pytest ``` ## Expected results All tests passing ## Actual results ``` tests/test_metric_common.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.pyenv/versions/3.8.5/lib/python3.8/doctest.py:1336: in __run exec(compile(example.source, filename, "single", <doctest datasets_modules.metrics.ter.c0cfb5adedac7eb15ffa47bba6a70fabd80f3eb906ee508abf5e1906285d1155.ter.Ter[3]>:1: in <module> ??? ../datasets/src/datasets/metric.py:430: in compute output = self._compute(**inputs, **compute_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Metric(name: "ter", features: {'predictions': Value(dtype='string', id='sequence'), 'references': Sequence(feature=Val...ences=references) >>> print(results) {'score': 0.0, 'num_edits': 0, 'ref_length': 6.5} """, stored examples: 0) predictions = ['hello there general kenobi', 'foo bar foobar'] references = [['hello there general kenobi', 'hello there !'], ['foo bar foobar', 'foo bar foobar']] normalized = False, no_punct = False, asian_support = False, case_sensitive = False def _compute( self, predictions, references, normalized: bool = False, no_punct: bool = False, asian_support: bool = False, case_sensitive: bool = False, ): references_per_prediction = len(references[0]) if any(len(refs) != references_per_prediction for refs in references): raise ValueError("Sacrebleu requires the same number of references for each prediction") transformed_references = [[refs[i] for refs in references] for i in range(references_per_prediction)] > sb_ter = TER(normalized, no_punct, asian_support, case_sensitive) E TypeError: __init__() takes 2 positional arguments but 5 were given /tmp/pytest-of-markussagen/pytest-1/cache/modules/datasets_modules/metrics/ter/c0cfb5adedac7eb15ffa47bba6a70fabd80f3eb906ee508abf5e1906285d1155/ter.py:130: TypeError ------------------------------ Captured stdout call ------------------------------- Trying: predictions = ["hello there general kenobi", "foo bar foobar"] Expecting nothing ok Trying: references = [["hello there general kenobi", "hello there !"], ["foo bar foobar", "foo bar foobar"]] Expecting nothing ok Trying: ter = datasets.load_metric("ter") Expecting nothing ok Trying: results = ter.compute(predictions=predictions, references=references) Expecting nothing ================================ warnings summary ================================= ../.pyenv/versions/3.8.5/envs/huggingface/lib/python3.8/site-packages/hdfs/config.py:15 /home/markussagen/.pyenv/versions/3.8.5/envs/huggingface/lib/python3.8/site-packages/hdfs/config.py:15: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses from imp import load_source ../datasets/src/datasets/commands/test.py:35 /home/markussagen/datasets/src/datasets/commands/test.py:35: PytestCollectionWarning: cannot collect test class 'TestCommand' because it has a __init__ constructor (from: tests/commands/test_test.py) class TestCommand(BaseDatasetsCLICommand): tests/commands/test_test.py:33 /home/markussagen/mydataset/tests/commands/test_test.py:33: PytestCollectionWarning: cannot collect test class 'TestCommandArgs' because it has a __new__ constructor (from: tests/commands/test_test.py) class TestCommandArgs: tests/test_arrow_dataset.py: 760 warnings tests/test_formatting.py: 60 warnings tests/test_search.py: 31 warnings tests/features/test_array_xd.py: 117 warnings /home/markussagen/datasets/src/datasets/formatting/formatting.py:197: DeprecationWarning: `np.object` is a deprecated alias for the builtin `object`. To silence this warning, use `object` by itself. Doing this will not modify any behavior and is safe. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations (isinstance(x, np.ndarray) and (x.dtype == np.object or x.shape != array[0].shape)) tests/test_arrow_dataset.py: 154 warnings tests/features/test_array_xd.py: 1 warning /home/markussagen/datasets/src/datasets/formatting/formatting.py:201: DeprecationWarning: `np.object` is a deprecated alias for the builtin `object`. To silence this warning, use `object` by itself. Doing this will not modify any behavior and is safe. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations return np.array(array, copy=False, **{**self.np_array_kwargs, "dtype": np.object}) tests/test_arrow_dataset.py: 60 warnings /home/markussagen/datasets/src/datasets/arrow_dataset.py:3105: DeprecationWarning: `np.str` is a deprecated alias for the builtin `str`. To silence this warning, use `str` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.str_` here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations elif np.issubdtype(values.dtype, np.str): tests/test_arrow_dataset.py: 138 warnings tests/test_formatting.py: 21 warnings /home/markussagen/datasets/src/datasets/formatting/tf_formatter.py:69: DeprecationWarning: `np.object` is a deprecated alias for the builtin `object`. To silence this warning, use `object` by itself. Doing this will not modify any behavior and is safe. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations data_struct.dtype == np.object tests/test_arrow_dataset.py: 240 warnings tests/test_formatting.py: 20 warnings /home/markussagen/datasets/src/datasets/formatting/torch_formatter.py:49: DeprecationWarning: `np.object` is a deprecated alias for the builtin `object`. To silence this warning, use `object` by itself. Doing this will not modify any behavior and is safe. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations if data_struct.dtype == np.object: # pytorch tensors cannot be instantied from an array of objects tests/test_arrow_dataset.py: 12 warnings tests/test_search.py: 2 warnings tests/features/test_array_xd.py: 6 warnings tests/features/test_image.py: 4 warnings /home/markussagen/datasets/src/datasets/features/features.py:1129: DeprecationWarning: `np.object` is a deprecated alias for the builtin `object`. To silence this warning, use `object` by itself. Doing this will not modify any behavior and is safe. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations [0] + [len(arr) for arr in l_arr], dtype=np.object tests/test_dataset_common.py::LocalDatasetTest::test_builder_class_banking77 /tmp/pytest-of-markussagen/pytest-1/cache/modules/datasets_modules/datasets/banking77/aec0289529599d4572d76ab00c8944cb84f88410ad0c9e7da26189d31f62a55b/banking77.py:24: DeprecationWarning: invalid escape sequence \~ _CITATION = """\ tests/test_dataset_common.py::LocalDatasetTest::test_builder_class_universal_dependencies /tmp/pytest-of-markussagen/pytest-1/cache/modules/datasets_modules/datasets/universal_dependencies/065e728dfe9a8371434a6e87132c2386a6eacab1a076d3a12aa417b994e6ef7d/universal_dependencies.py:6: DeprecationWarning: invalid escape sequence \= _CITATION = """\ tests/test_filesystem.py: 105 warnings /home/markussagen/.pyenv/versions/3.8.5/envs/huggingface/lib/python3.8/site-packages/responses/__init__.py:398: DeprecationWarning: stream argument is deprecated. Use stream parameter in request directly warn( tests/test_formatting.py::FormatterTest::test_jax_formatter tests/test_formatting.py::FormatterTest::test_jax_formatter tests/test_formatting.py::FormatterTest::test_jax_formatter tests/test_formatting.py::FormatterTest::test_jax_formatter tests/test_formatting.py::FormatterTest::test_jax_formatter_np_array_kwargs tests/test_formatting.py::FormatterTest::test_jax_formatter_np_array_kwargs tests/test_formatting.py::FormatterTest::test_jax_formatter_np_array_kwargs tests/test_formatting.py::FormatterTest::test_jax_formatter_np_array_kwargs /home/markussagen/datasets/src/datasets/formatting/jax_formatter.py:57: DeprecationWarning: `np.object` is a deprecated alias for the builtin `object`. To silence this warning, use `object` by itself. Doing this will not modify any behavior and is safe. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations if data_struct.dtype == np.object: # jax arrays cannot be instantied from an array of objects tests/test_formatting.py::FormatterTest::test_jax_formatter tests/test_formatting.py::FormatterTest::test_jax_formatter tests/test_formatting.py::FormatterTest::test_jax_formatter /home/markussagen/.pyenv/versions/3.8.5/envs/huggingface/lib/python3.8/site-packages/jax/_src/numpy/lax_numpy.py:3567: UserWarning: Explicitly requested dtype <class 'jax._src.numpy.lax_numpy.int64'> requested in array is not available, and will be truncated to dtype int32. To enable more dtypes, set the jax_enable_x64 configuration option or the JAX_ENABLE_X64 shell environment variable. See https://github.com/google/jax#current-gotchas for more. lax._check_user_dtype_supported(dtype, "array") tests/test_metric_common.py::LocalMetricTest::test_load_metric_frugalscore /home/markussagen/.pyenv/versions/3.8.5/envs/huggingface/lib/python3.8/site-packages/apscheduler/util.py:95: PytzUsageWarning: The zone attribute is specific to pytz's interface; please migrate to a new time zone provider. For more details on how to do so, see https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html if obj.zone == 'local': tests/test_upstream_hub.py::TestPushToHub::test_push_dataset_to_hub_custom_features _audio /home/markussagen/.pyenv/versions/3.8.5/envs/huggingface/lib/python3.8/site-packages/librosa/core/constantq.py:1059: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations dtype=np.complex, tests/features/test_array_xd.py::test_array_xd_with_none /home/markussagen/mydataset/tests/features/test_array_xd.py:338: DeprecationWarning: `np.object` is a deprecated alias for the builtin `object`. To silence this warning, use `object` by itself. Doing this will not modify any behavior and is safe. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations assert isinstance(arr, np.ndarray) and arr.dtype == np.object and arr.shape == (3,) -- Docs: https://docs.pytest.org/en/stable/warnings.html ============================= short test summary info ============================= FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_bleurt - I... FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_chrf - Att... FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_code_eval FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_comet - Im... FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_competition_math FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_coval - Im... FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_frugalscore FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_perplexity FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_ter - Type... ``` ## Environment info - `datasets` version: 2.0.1.dev0 - Platform: Linux-5.16.11-76051611-generic-x86_64-with-glibc2.33 - Python version: 3.8.5 - PyArrow version: 5.0.0 Hi ! To be able to run the tests, you need to install all the test dependencies and additional ones with ``` pip install -e .[tests] pip install -r additional-tests-requirements.txt --no-deps ``` In particular, you probably need to `sacrebleu`. It looks like it wasn't able to instantiate `sacrebleu.TER` properly.
[ -1.2284049987792969, -0.9249271154403687, -0.6058213710784912, 1.6695306301116943, -0.10437951982021332, -1.3297157287597656, 0.17613252997398376, -1.0072224140167236, 1.5334664583206177, -0.7465230822563171, 0.18982626497745514, -1.4647200107574463, 0.00514058955013752, -0.6589542627334595, -0.6489515900611877, -0.825016975402832, -0.28055593371391296, -0.7521500587463379, 1.1513073444366455, 2.3189196586608887, 1.2801716327667236, -1.3339886665344238, 2.694842576980591, 0.7163981199264526, -0.29046836495399475, -1.0461090803146362, 0.4643787145614624, -0.08400238305330276, -1.2399505376815796, -0.5351600646972656, -0.788203239440918, -0.09751510620117188, -0.5941806435585022, -0.2330256700515747, -0.03399932384490967, 0.5974255800247192, -0.311572402715683, -0.40586715936660767, -0.6600038409233093, -0.7962967753410339, 0.47143492102622986, -0.35420337319374084, 0.8566431999206543, -0.28965893387794495, 1.674219012260437, -0.6738933324813843, 0.5132912993431091, 0.7775609493255615, 1.2613657712936401, 0.05691225826740265, -0.0256710946559906, 0.2858335077762604, 0.3246520757675171, -0.0051728724502027035, 0.6614052057266235, 1.0215699672698975, 0.6094771027565002, 0.4343852996826172, 0.6210058331489563, -2.3743388652801514, 1.3146229982376099, -0.9906549453735352, 0.2573191225528717, 1.34408438205719, -0.8779256939888, 0.3111427128314972, -1.7363673448562622, 0.06276019662618637, 0.7935318350791931, -2.1538350582122803, 0.4442020356655121, -1.4376283884048462, -0.4905303418636322, 0.9212504029273987, 0.4600765109062195, -1.1327711343765259, 0.04026509076356888, -0.49309638142585754, 1.1635011434555054, 0.44373372197151184, 0.6882439255714417, -1.7228482961654663, -0.07203026115894318, -0.1150655746459961, 0.10828015208244324, -1.3277546167373657, -1.6328825950622559, 0.5622268319129944, 0.492418497800827, 0.6856586933135986, -0.08063365519046783, 1.128044843673706, -1.2526941299438477, 0.7925679087638855, -1.202028751373291, -1.6228636503219604, -1.4454253911972046, -2.485161304473877, -2.1910955905914307, 0.5624323487281799, -0.48492005467414856, -0.4816235303878784, 2.112962484359741, -0.983946681022644, -1.6083159446716309, 1.138825535774231, 0.19284124672412872, 0.21099801361560822, 2.3145973682403564, 0.18387068808078766, -0.7348315715789795, 0.42425355315208435, -0.895365834236145, 0.7409215569496155, -0.3144558072090149, 1.191454529762268, 0.4024476706981659, -1.0114195346832275, 1.5190280675888062, -0.38353097438812256, 0.7134313583374023, -0.6294534802436829, -0.5334925651550293, -0.7595143914222717, 0.18508678674697876, 1.865060806274414, -0.15137459337711334, 1.4833052158355713, -0.2966723144054413, -1.4394214153289795, -1.5630550384521484, 0.9822326898574829, 0.3216692805290222, -1.0054430961608887, 0.12975047528743744, -0.5977645516395569, 0.2146546095609665, -0.25982749462127686, 1.2800040245056152, 1.3667532205581665, 0.7143832445144653, -0.5727323889732361, -0.7176160216331482, 0.06821586191654205, -0.12601833045482635, -0.7376160621643066, -1.8263754844665527, -0.23162676393985748, 0.1639987975358963, 0.6620199680328369, -1.0549752712249756, 1.83253014087677, 0.9263309240341187, 1.91154146194458, 0.9532608985900879, -0.42509883642196655, 1.3879146575927734, 0.020737139508128166, 1.7748122215270996, -0.6380218267440796, 0.5927402377128601, -0.42995673418045044, -1.1140952110290527, 0.9652512669563293, -0.2513539791107178, -2.006655216217041, -0.8185530304908752, -0.587314248085022, -0.25757041573524475, -0.6564826369285583, 0.7736135721206665, -0.4053087532520294, -1.4752678871154785, 0.12426473200321198, -0.7542405724525452, 0.34362074732780457, -0.9997553825378418, 0.24965447187423706, 0.7215059995651245, -0.5318951606750488, 0.048074834048748016, -0.18361690640449524, -1.2444578409194946, -0.5310602784156799, 0.6653701663017273, 1.839917540550232, -0.5003277659416199, 0.8078774213790894, 1.0928421020507812, -0.5893027186393738, 0.08851482719182968, 0.06737162917852402, -0.23528125882148743, 0.6763953566551208, -1.0439239740371704, -0.6239330172538757, 1.2538107633590698, -0.5120109915733337, -0.8162185549736023, 1.599133849143982, 0.8009183406829834, -1.0545439720153809, -0.268947035074234, -0.20738017559051514, -0.868376612663269, 0.15669754147529602, -1.5623223781585693, -0.116442009806633, 0.6919431090354919, -1.6194795370101929, -0.271267294883728, -0.10262300074100494, 1.4763269424438477, -0.18258394300937653, 1.4369747638702393, -0.32801273465156555, -0.06002022325992584, -0.16878265142440796, -0.44896170496940613, 0.24631962180137634, -0.18961280584335327, -0.3934347927570343, -0.014976337552070618, -0.8157165050506592, 0.3318577706813812, 1.4142515659332275, 0.1002984344959259, 0.11008370667695999, 0.24427330493927002, 1.1168582439422607, 0.3697551488876343, -0.009645706042647362, -0.8718231320381165, -1.52659010887146, 1.9384859800338745, -1.4551918506622314, 2.1105618476867676, 0.7077394723892212, -0.07932475209236145, -1.7850301265716553, -1.8631829023361206, 1.0756639242172241, 1.028031587600708, 2.078151226043701, 0.32060709595680237, 0.3486430048942566, -0.9195816516876221, -0.8018729090690613, 0.2988787889480591, -0.9341192245483398, -0.5725985169410706, 0.14331872761249542, 2.432330846786499, 1.8113881349563599, -0.292243629693985, -0.22486479580402374, -0.8516847491264343, 1.4999361038208008, -0.25289908051490784, 0.4095098078250885, 2.0813989639282227, -0.14465056359767914, -0.9097055196762085, 1.3255457878112793, -2.569749593734741, 0.4225761890411377, 2.2490878105163574, 0.21782082319259644, 0.2792770266532898, -1.3496239185333252, -0.5918503403663635, -0.4693313539028168, -0.37079721689224243, -1.2277460098266602, 0.5823114514350891, -0.32203397154808044, -0.7612497806549072, -1.3209508657455444, 0.2189904749393463, -1.1108194589614868, -1.7348144054412842, 0.2776881158351898, 2.0150554180145264, 2.0711395740509033, -0.6517349481582642, 1.5577958822250366, -0.3675917088985443, 0.027931084856390953, 1.2618248462677002, 1.4598954916000366, 3.0155751705169678, 1.8924224376678467, -1.2492914199829102, 0.6586175560951233, -0.21511518955230713, -0.43620026111602783, 1.0530927181243896, -1.2333149909973145, 1.183769941329956, -0.1789552867412567, -1.207692265510559, -1.2956353425979614, 1.0984162092208862, 0.5635210275650024, 0.01622011698782444, -0.5044714212417603, 1.2441884279251099, 0.09026288986206055, 1.401946783065796, 0.6848981380462646, -0.48159244656562805, 0.49005112051963806, -0.4881490468978882, -0.6240477561950684, 1.513336181640625, 0.23141396045684814, -1.5384082794189453, -2.1815600395202637, -0.33244240283966064, -0.834217369556427, -0.017238903790712357, -0.5633485913276672, -1.1334525346755981, 1.6067675352096558, 0.2685905992984772, -1.2746537923812866, -0.24597081542015076, -0.1938038468360901, -0.3524433374404907, 2.7588348388671875, -1.1003748178482056, -0.1555124670267105, -1.0479074716567993, -0.6766589283943176, 1.747085690498352, -1.2909765243530273, -0.39140453934669495, -1.097037672996521, -0.5392736792564392, -1.1062391996383667, -0.3232117295265198, 0.003955874592065811, -1.0079395771026611, 0.8734962940216064, 0.23468506336212158, -1.2345755100250244, -0.4416348934173584, -0.811284601688385, 1.1842677593231201, -0.13183030486106873, 0.06856519728899002, 1.7512719631195068, 0.0760127604007721, -0.40442538261413574, 0.9633598327636719, 1.1213982105255127, 0.6437643766403198, -0.6746484637260437, 0.009552983567118645, -0.3764142394065857, 0.48791947960853577, -1.2768396139144897, 0.34701329469680786, -3.008211851119995, 0.6746594309806824, -0.12449396401643753, -0.17443792521953583, -0.13677379488945007, -1.5208402872085571, 1.113403081893921, 2.567545175552368, -1.2784236669540405, 0.5813977122306824, 0.45713940262794495, 1.0516315698623657, -1.670242428779602, 0.41520270705223083, -0.49129194021224976, 2.134120464324951, 0.16762356460094452, 1.3806002140045166, -0.4269488453865051, -2.497013568878174, 0.6315301060676575, -1.1587364673614502, -1.053478717803955, 0.7245234847068787, -0.9767953753471375, 0.342669278383255, -1.4590705633163452, -0.3916545510292053, -0.9499339461326599, -1.2670819759368896, 0.4924640357494354, 0.22160771489143372, 0.24749663472175598, -0.5607177019119263, 0.18710537254810333, -2.2626819610595703, -1.3264940977096558, -0.07134392112493515, -0.9966256618499756, 0.5870768427848816, -0.5791202783584595, 0.5554087162017822, 0.08493030816316605, 0.1076284795999527, 0.2545528709888458, 1.719589114189148, 3.4719221591949463, 0.06816855072975159, 0.07517288625240326, -0.31657901406288147, -0.8397572040557861, 1.3070379495620728, 0.9108403921127319, -0.03245347738265991, -0.5634933114051819, -0.9771702289581299, 1.2786509990692139, 2.115849018096924, 0.8791787028312683, -0.06440640985965729, -0.8080453872680664, -0.6843811273574829, -0.12964090704917908, 0.15830111503601074, 0.6402134895324707, 0.9910841584205627, 0.1324211210012436, -0.05305580794811249, 1.3634722232818604, 1.1018162965774536, -0.2671700716018677, 0.24083328247070312, -1.003605842590332, -0.36540013551712036, 0.37865278124809265, 0.16987855732440948, -0.21714498102664948, 0.4843968451023102, -0.9608497023582458, -0.15811307728290558, -0.41623401641845703, -0.6667285561561584, -0.753818154335022, -0.3763408362865448, -0.4820461869239807, 1.5254610776901245, 0.28070756793022156, -0.5538145303726196, 0.08572828769683838, -0.5491514205932617, -0.2046486735343933, -1.147570252418518, 0.17930392920970917, -0.12211655080318451, -0.09762021899223328, -0.2659822702407837, 1.5894297361373901, -0.878490686416626, -1.974539875984192, 0.06565529853105545, 0.19495511054992676, -0.10983975976705551, 0.2628685235977173, 1.8362137079238892, 0.3918091356754303, 1.4214510917663574, 1.2411470413208008, 0.9311772584915161, -0.6328725218772888, -1.2835818529129028, 0.6860180497169495, 1.0138933658599854, -1.3789336681365967, 0.8667000532150269, -0.2518558204174042, -0.45839542150497437, 0.7144704461097717, 1.3756351470947266, 0.5641552805900574, -2.102778911590576, 0.9257630705833435, -1.2675142288208008, 0.9927402138710022, 0.8797904849052429, 0.6465491056442261, 0.36308643221855164, 0.9575685858726501, -1.0665498971939087, -1.059173345565796, -0.6160928010940552, -0.9384468793869019, 1.9255335330963135, -0.6260298490524292, 0.6698271632194519, -0.06641347706317902, -1.2304936647415161, -0.09647655487060547, 0.9049422144889832, 0.40722471475601196, -0.48476436734199524, 0.9112461805343628, -0.678052544593811, -0.9568986892700195, -1.04524564743042, -0.49990272521972656, -1.0361275672912598, -1.0803844928741455, 0.986308753490448, 0.71632981300354, 0.4218501150608063, 1.9054174423217773, 0.6499334573745728, 0.41911783814430237, -2.4964921474456787, 0.8467608094215393, 0.2374061495065689, -0.09134965389966965, 0.8651400804519653, 0.3315124809741974, 1.1798186302185059, 0.11323405802249908, 0.5779671669006348, -2.3876912593841553, 2.3388431072235107, -0.16750144958496094, 0.613777756690979, -0.09182851761579514, -0.18446196615695953, 1.1748533248901367, 0.5694764256477356, 0.5228314995765686, -0.9572059512138367, 0.7866867184638977, -0.4572162330150604, 1.2202973365783691, 0.7403928637504578, -0.8210506439208984, -0.045257896184921265, 1.4647432565689087, 0.35582205653190613, -0.7698089480400085, -1.0025436878204346, -0.9497298002243042, 0.8294292092323303, 1.5248233079910278, -0.06243080645799637, -0.10969865322113037, 0.7206185460090637, 0.6351800560951233, -1.0758196115493774, 0.057428859174251556, -0.5827082991600037, -0.6540749073028564, 1.600213885307312, 2.0815317630767822, -0.24468986690044403, -0.009942525066435337, -0.7305559515953064, -1.3248218297958374, 0.6474139094352722, -0.22402657568454742, -0.154120534658432, 0.3392886221408844, -0.44017675518989563, 0.8159369230270386, 0.5535411238670349, 1.0652214288711548, -0.03866267949342728, 0.4076594114303589, 0.5089476108551025, -0.489764004945755, -1.2158079147338867, -0.44675731658935547, -1.2207050323486328, -2.583756923675537, 0.34663695096969604, -0.19763211905956268, -1.4745954275131226, 0.09980978071689606, -1.0363914966583252, 0.9905218482017517, -0.6530727744102478, -1.2085775136947632, -1.354792833328247, 0.225129634141922, -0.14425510168075562, 0.9167317152023315, -1.5871341228485107, -0.20713190734386444, 1.2007173299789429, 0.7074922919273376, -0.7179180383682251, 0.9868361353874207, 0.20838215947151184, 1.0272804498672485, 0.6539127230644226, -0.404544472694397, 0.665002703666687, -0.016527051106095314, -1.3841859102249146, 0.5811138153076172, 1.3279026746749878, 0.09374526143074036, 1.452174425125122, -0.3577530086040497, -0.012994847260415554, 0.4525054097175598, -0.8203766345977783, -0.4080369472503662, -0.25377658009529114, 0.7272900938987732, 0.018353788182139397, -0.8315595388412476, -0.056757740676403046, -0.16734059154987335, -0.4314967691898346, 0.07369378954172134, -1.4962821006774902, -0.2320062220096588, -0.44059744477272034, -0.4581415355205536, -1.4215060472488403, -0.005934478715062141, 1.4068189859390259, -0.5284903049468994, -0.2990391254425049, 0.3702654540538788, 0.49778392910957336, 0.5686237812042236, 0.8054361939430237, -0.7398261427879333, -0.20391696691513062, -0.36525094509124756, -0.21429018676280975, 0.44126757979393005, 1.3132065534591675, 0.023427246138453484, -0.9326156973838806, 0.7026656866073608, -0.47773611545562744, 0.16152893006801605, 1.9642969369888306, 0.0964052826166153, -0.6634337306022644, 0.3741605281829834, -0.8216668367385864, 1.9210699796676636, 1.631777286529541, 1.096863031387329, -0.21227028965950012, -0.9029439687728882, 0.703737199306488, -0.45521509647369385, -0.3089223802089691, 0.7398473620414734, 0.3908153474330902, -0.38923409581184387, -1.2920639514923096, 0.8955305814743042, 1.0534557104110718, -0.8189406394958496, -0.8337793946266174, 0.3103281557559967, -0.6949819326400757, 1.3114938735961914, 0.41394639015197754, 0.40718841552734375, 0.2971828579902649, 1.6340175867080688, 0.7936549186706543, -0.44242170453071594, 0.55671626329422, 0.5945383310317993, -0.3652327358722687, -2.0673232078552246, -1.1637006998062134, 0.3951602578163147, -0.6754115223884583, -1.6822311878204346, 1.4561883211135864, -1.064784288406372, -1.0509693622589111, 0.5113645195960999, 0.05953454226255417, 1.2227851152420044, 0.419709175825119, 1.5999025106430054, 1.994450569152832, 0.7911982536315918, 0.711033046245575, 1.249807357788086, -0.2099854201078415, -0.6253021955490112, 1.8737543821334839, -0.46551522612571716, 0.5139309167861938, 1.226305603981018, -0.3750668466091156, -1.1366609334945679, -0.7879270315170288, -1.0578124523162842, -0.6390437483787537, 1.1819548606872559, 0.05292554944753647, -1.0464980602264404, 0.30833473801612854, 1.5408706665039062, 0.20821620523929596, -0.21340930461883545, 0.6956219673156738, 0.25801515579223633, -0.783482551574707, -0.174886554479599, -0.8456928730010986, 0.5091134905815125, -0.3508478105068207, -0.2441788762807846, 0.4203198254108429, 0.42742234468460083, 1.2928825616836548, -0.11668603867292404, 0.16728408634662628, 0.8890796899795532, -1.5402843952178955, 1.5058952569961548, -0.6040736436843872, 0.3795939087867737, -2.344637393951416, 1.2274129390716553, -0.5764263272285461, 2.1453664302825928, -2.6177592277526855, 0.3616861402988434, -0.5682154893875122, -0.5708779692649841, 0.25177955627441406, -0.21828262507915497, 0.04218268394470215, -0.1525515466928482, -1.1157255172729492, 0.10993094742298126, -0.7159055471420288, 0.6493874192237854, 1.0992839336395264, 1.3518935441970825, -1.1360362768173218, -0.08200482279062271, -1.5937886238098145, -0.19927744567394257, -1.0318610668182373, 0.31416550278663635, -1.9945728778839111, -0.06342095881700516, -1.9834342002868652, -2.2883641719818115, -1.204331874847412, -0.7403937578201294, 1.0710468292236328, 0.2419898808002472, -0.7488738894462585, 1.410267949104309, -0.18985283374786377, -1.7404747009277344, 1.0393376350402832, -2.0055177211761475 ]
https://github.com/huggingface/datasets/issues/3983
Infinitely attempting lock
Hi ! Thanks for reporting. We're using `py-filelock` as our locking mechanism. Can you try deleting the .lock file mentioned in the logs and try again ? Make sure that no other process is generating the `cnn_dailymail` dataset. If it doesn't work, could you try to set up a lock using the latest version of `py-filelock` and see if it works ? ``` pip install filelock ``` here is a code example from the `py-filelock` documentation that you can try: ```python from filelock import Timeout, FileLock lock = FileLock("high_ground.txt.lock") with lock: with open("high_ground.txt", "a") as f: f.write("You were the chosen one.") ```
I am trying to run one of the examples of the `transformers` repo, which makes use of `datasets`. Important to note is that I am trying to run this via a Databricks notebook, and all the files reside in the Databricks Filesystem (DBFS). ``` %sh python /dbfs/transformers/examples/pytorch/summarization/run_summarization.py \ --model_name_or_path t5-small \ --do_train \ --do_eval \ --dataset_name cnn_dailymail \ --dataset_config "3.0.0" \ --source_prefix "summarize: " \ --output_dir /dbfs/transformers/tmp/tst-summarization \ --per_device_train_batch_size=4 \ --per_device_eval_batch_size=4 \ --overwrite_output_dir \ --predict_with_generate \ --log_level debug \ --cache_dir /dbfs/transformers/cache ``` All goes well until acquiring a lock -- ``` 03/21/2022 17:53:19 - DEBUG - datasets.utils.filelock - Attempting to acquire lock 140386484514192 on /dbfs/transformers/cache/_dbfs_transformers_cache_cnn_dailymail_3.0.0_3.0.0_3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234.lock 03/21/2022 17:53:19 - DEBUG - datasets.utils.filelock - Lock 140386484514192 not acquired on /dbfs/transformers/cache/_dbfs_transformers_cache_cnn_dailymail_3.0.0_3.0.0_3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234.lock, waiting 0.05 seconds ... 03/21/2022 17:53:20 - DEBUG - datasets.utils.filelock - Attempting to acquire lock 140386484514192 on /dbfs/transformers/cache/_dbfs_transformers_cache_cnn_dailymail_3.0.0_3.0.0_3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234.lock 03/21/2022 17:53:20 - DEBUG - datasets.utils.filelock - Lock 140386484514192 not acquired on /dbfs/transformers/cache/_dbfs_transformers_cache_cnn_dailymail_3.0.0_3.0.0_3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234.lock, waiting 0.05 seconds ... 03/21/2022 17:53:20 - DEBUG - datasets.utils.filelock - Attempting to acquire lock 140386484514192 on /dbfs/transformers/cache/_dbfs_transformers_cache_cnn_dailymail_3.0.0_3.0.0_3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234.lock 03/21/2022 17:53:20 - DEBUG - datasets.utils.filelock - Lock 140386484514192 not acquired on /dbfs/transformers/cache/_dbfs_transformers_cache_cnn_dailymail_3.0.0_3.0.0_3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234.lock, waiting 0.05 seconds ... 03/21/2022 17:53:20 - DEBUG - datasets.utils.filelock - Attempting to acquire lock 140386484514192 on /dbfs/transformers/cache/_dbfs_transformers_cache_cnn_dailymail_3.0.0_3.0.0_3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234.lock 03/21/2022 17:53:20 - DEBUG - datasets.utils.filelock - Lock 140386484514192 not acquired on /dbfs/transformers/cache/_dbfs_transformers_cache_cnn_dailymail_3.0.0_3.0.0_3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234.lock, waiting 0.05 seconds ... 03/21/2022 17:53:20 - DEBUG - datasets.utils.filelock - Attempting to acquire lock 140386484514192 on /dbfs/transformers/cache/_dbfs_transformers_cache_cnn_dailymail_3.0.0_3.0.0_3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234.lock 03/21/2022 17:53:20 - DEBUG - datasets.utils.filelock - Lock 140386484514192 not acquired on /dbfs/transformers/cache/_dbfs_transformers_cache_cnn_dailymail_3.0.0_3.0.0_3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234.lock, waiting 0.05 seconds ... 03/21/2022 17:53:20 - DEBUG - datasets.utils.filelock - Attempting to acquire lock 140386484514192 on /dbfs/transformers/cache/_dbfs_transformers_cache_cnn_dailymail_3.0.0_3.0.0_3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234.lock 03/21/2022 17:53:20 - DEBUG - datasets.utils.filelock - Lock 140386484514192 not acquired on /dbfs/transformers/cache/_dbfs_transformers_cache_cnn_dailymail_3.0.0_3.0.0_3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234.lock, waiting 0.05 seconds ... ``` and so on. I imagine this has to do with DBFS -- is there a way to tackle this?
867
102
Infinitely attempting lock I am trying to run one of the examples of the `transformers` repo, which makes use of `datasets`. Important to note is that I am trying to run this via a Databricks notebook, and all the files reside in the Databricks Filesystem (DBFS). ``` %sh python /dbfs/transformers/examples/pytorch/summarization/run_summarization.py \ --model_name_or_path t5-small \ --do_train \ --do_eval \ --dataset_name cnn_dailymail \ --dataset_config "3.0.0" \ --source_prefix "summarize: " \ --output_dir /dbfs/transformers/tmp/tst-summarization \ --per_device_train_batch_size=4 \ --per_device_eval_batch_size=4 \ --overwrite_output_dir \ --predict_with_generate \ --log_level debug \ --cache_dir /dbfs/transformers/cache ``` All goes well until acquiring a lock -- ``` 03/21/2022 17:53:19 - DEBUG - datasets.utils.filelock - Attempting to acquire lock 140386484514192 on /dbfs/transformers/cache/_dbfs_transformers_cache_cnn_dailymail_3.0.0_3.0.0_3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234.lock 03/21/2022 17:53:19 - DEBUG - datasets.utils.filelock - Lock 140386484514192 not acquired on /dbfs/transformers/cache/_dbfs_transformers_cache_cnn_dailymail_3.0.0_3.0.0_3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234.lock, waiting 0.05 seconds ... 03/21/2022 17:53:20 - DEBUG - datasets.utils.filelock - Attempting to acquire lock 140386484514192 on /dbfs/transformers/cache/_dbfs_transformers_cache_cnn_dailymail_3.0.0_3.0.0_3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234.lock 03/21/2022 17:53:20 - DEBUG - datasets.utils.filelock - Lock 140386484514192 not acquired on /dbfs/transformers/cache/_dbfs_transformers_cache_cnn_dailymail_3.0.0_3.0.0_3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234.lock, waiting 0.05 seconds ... 03/21/2022 17:53:20 - DEBUG - datasets.utils.filelock - Attempting to acquire lock 140386484514192 on /dbfs/transformers/cache/_dbfs_transformers_cache_cnn_dailymail_3.0.0_3.0.0_3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234.lock 03/21/2022 17:53:20 - DEBUG - datasets.utils.filelock - Lock 140386484514192 not acquired on /dbfs/transformers/cache/_dbfs_transformers_cache_cnn_dailymail_3.0.0_3.0.0_3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234.lock, waiting 0.05 seconds ... 03/21/2022 17:53:20 - DEBUG - datasets.utils.filelock - Attempting to acquire lock 140386484514192 on /dbfs/transformers/cache/_dbfs_transformers_cache_cnn_dailymail_3.0.0_3.0.0_3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234.lock 03/21/2022 17:53:20 - DEBUG - datasets.utils.filelock - Lock 140386484514192 not acquired on /dbfs/transformers/cache/_dbfs_transformers_cache_cnn_dailymail_3.0.0_3.0.0_3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234.lock, waiting 0.05 seconds ... 03/21/2022 17:53:20 - DEBUG - datasets.utils.filelock - Attempting to acquire lock 140386484514192 on /dbfs/transformers/cache/_dbfs_transformers_cache_cnn_dailymail_3.0.0_3.0.0_3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234.lock 03/21/2022 17:53:20 - DEBUG - datasets.utils.filelock - Lock 140386484514192 not acquired on /dbfs/transformers/cache/_dbfs_transformers_cache_cnn_dailymail_3.0.0_3.0.0_3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234.lock, waiting 0.05 seconds ... 03/21/2022 17:53:20 - DEBUG - datasets.utils.filelock - Attempting to acquire lock 140386484514192 on /dbfs/transformers/cache/_dbfs_transformers_cache_cnn_dailymail_3.0.0_3.0.0_3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234.lock 03/21/2022 17:53:20 - DEBUG - datasets.utils.filelock - Lock 140386484514192 not acquired on /dbfs/transformers/cache/_dbfs_transformers_cache_cnn_dailymail_3.0.0_3.0.0_3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234.lock, waiting 0.05 seconds ... ``` and so on. I imagine this has to do with DBFS -- is there a way to tackle this? Hi ! Thanks for reporting. We're using `py-filelock` as our locking mechanism. Can you try deleting the .lock file mentioned in the logs and try again ? Make sure that no other process is generating the `cnn_dailymail` dataset. If it doesn't work, could you try to set up a lock using the latest version of `py-filelock` and see if it works ? ``` pip install filelock ``` here is a code example from the `py-filelock` documentation that you can try: ```python from filelock import Timeout, FileLock lock = FileLock("high_ground.txt.lock") with lock: with open("high_ground.txt", "a") as f: f.write("You were the chosen one.") ```
[ -1.2489908933639526, -0.8604028820991516, -0.647636353969574, 1.4602864980697632, -0.042667366564273834, -1.3549396991729736, 0.10989704728126526, -0.9397076368331909, 1.6536130905151367, -0.7859846353530884, 0.3269404470920563, -1.56882643699646, 0.07588643580675125, -0.5906752347946167, -0.615174412727356, -0.7647953629493713, -0.37150871753692627, -0.8252916932106018, 1.1150442361831665, 2.505066156387329, 1.2334126234054565, -1.2862282991409302, 2.7983217239379883, 0.6616537570953369, -0.3742428719997406, -0.8761531710624695, 0.4134524166584015, 0.04245030879974365, -1.298615574836731, -0.38188937306404114, -0.8187447190284729, 0.03080187551677227, -0.6069855690002441, -0.43901076912879944, -0.028139173984527588, 0.49486806988716125, -0.2140415608882904, -0.3531779646873474, -0.4325309991836548, -0.8139941692352295, 0.5513086915016174, -0.3620621860027313, 0.8440011143684387, -0.25176534056663513, 1.7460449934005737, -0.6523612141609192, 0.5136570930480957, 0.656222939491272, 1.2335416078567505, 0.15486730635166168, -0.0246647410094738, 0.21489673852920532, 0.3896901309490204, 0.02106587402522564, 0.5507667660713196, 1.1915037631988525, 0.601452112197876, 0.4997258484363556, 0.6351214647293091, -2.263338088989258, 1.4182353019714355, -0.8701222538948059, 0.17380951344966888, 1.3684797286987305, -1.0021358728408813, 0.3426230251789093, -1.8730721473693848, -0.029714684933423996, 0.5672213435173035, -2.2166385650634766, 0.22910375893115997, -1.3540338277816772, -0.541011393070221, 1.0170925855636597, 0.3107244372367859, -1.1615813970565796, 0.13525478541851044, -0.40803247690200806, 1.1434608697891235, 0.41105419397354126, 1.0390565395355225, -1.6344436407089233, -0.054661817848682404, -0.1643763780593872, 0.14767692983150482, -1.3566455841064453, -1.7066837549209595, 0.5647566914558411, 0.5958031415939331, 0.6395687460899353, -0.037158578634262085, 0.9775108695030212, -1.0983293056488037, 0.8473222851753235, -0.9939624071121216, -1.6646987199783325, -1.436385154724121, -2.4476943016052246, -2.3385009765625, 0.6905367970466614, -0.4192863404750824, -0.4383608102798462, 2.0128283500671387, -1.1341948509216309, -1.6815669536590576, 1.04317307472229, 0.2746807336807251, 0.018256941810250282, 2.3291308879852295, 0.2552858293056488, -0.839321494102478, 0.4856128394603729, -0.8851766586303711, 0.7334696054458618, -0.3037622570991516, 1.2417200803756714, 0.481769859790802, -1.0545003414154053, 1.4878385066986084, -0.4003247320652008, 0.6271269917488098, -0.7186805605888367, -0.45959824323654175, -0.7164409756660461, 0.26316332817077637, 1.861858606338501, -0.2247583270072937, 1.5696840286254883, -0.2854224443435669, -1.5334198474884033, -1.5214823484420776, 0.7747080326080322, 0.4677267372608185, -0.8063685894012451, 0.11574161797761917, -0.49383047223091125, 0.1824761927127838, -0.015123952180147171, 1.164526343345642, 1.3449769020080566, 0.7292295694351196, -0.35154563188552856, -0.8586007356643677, 0.18359167873859406, -0.03182077407836914, -0.6118348240852356, -1.7456984519958496, -0.25775057077407837, 0.17707303166389465, 0.7032588124275208, -1.1419315338134766, 1.9218040704727173, 0.9126598834991455, 1.9960750341415405, 1.026412010192871, -0.3524512052536011, 1.4615334272384644, 0.08216818422079086, 1.8301352262496948, -0.3779861330986023, 0.699467122554779, -0.3718598186969757, -1.1636184453964233, 0.8091142177581787, -0.29817691445350647, -2.058094024658203, -0.6409425139427185, -0.6964185237884521, -0.15065903961658478, -0.82984858751297, 0.8908554911613464, -0.2652653455734253, -1.4850136041641235, 0.11472634226083755, -0.649364709854126, 0.16777703166007996, -1.2789350748062134, 0.25994840264320374, 0.7745106816291809, -0.7037252187728882, 0.07708621025085449, -0.28971153497695923, -1.316973090171814, -0.5753225684165955, 0.413682222366333, 1.8623414039611816, -0.5119693875312805, 0.9425252676010132, 1.117072582244873, -0.6166631579399109, 0.10976792871952057, 0.32821881771087646, -0.3066997528076172, 0.7961549162864685, -0.9953213334083557, -0.326482892036438, 1.2278879880905151, -0.32641875743865967, -0.6367331743240356, 1.4561101198196411, 0.7960256934165955, -1.0122852325439453, -0.25380566716194153, -0.2103523313999176, -0.8353725671768188, 0.06292206794023514, -1.5478014945983887, -0.1656985580921173, 0.34840142726898193, -1.5351587533950806, -0.44680461287498474, -0.16027671098709106, 1.459370493888855, -0.2003164440393448, 1.3944008350372314, -0.3100115954875946, -0.1334879845380783, -0.3742910921573639, -0.49874743819236755, 0.20435830950737, -0.12474087625741959, -0.5809876322746277, 0.23918233811855316, -0.8259349465370178, 0.3134474754333496, 1.4427249431610107, 0.23057903349399567, 0.0934341624379158, 0.3672420382499695, 1.1417865753173828, 0.2688925266265869, -0.12149827927350998, -0.8054804801940918, -1.572886347770691, 2.030393123626709, -1.4543054103851318, 1.9906858205795288, 0.8214795589447021, -0.11205613613128662, -1.73723566532135, -1.847267746925354, 1.2825194597244263, 1.0577447414398193, 2.3985564708709717, 0.48134610056877136, 0.3852224349975586, -0.8140587210655212, -0.744653046131134, 0.46921002864837646, -0.9232161641120911, -0.71748948097229, 0.10395791381597519, 2.323789596557617, 1.698817253112793, -0.40520069003105164, -0.19148632884025574, -0.9244914650917053, 1.2919999361038208, -0.12331461161375046, 0.3222256600856781, 2.0072379112243652, -0.3092193007469177, -0.9983516335487366, 1.3074723482131958, -2.402822971343994, 0.3350316882133484, 2.0753610134124756, 0.22445444762706757, 0.10006643831729889, -1.3455578088760376, -0.6626858711242676, -0.3368527889251709, -0.37354251742362976, -1.2148083448410034, 0.5169115662574768, -0.26078400015830994, -0.9126728773117065, -1.4430248737335205, 0.052763551473617554, -1.1700077056884766, -1.7487289905548096, 0.46057602763175964, 1.8687094449996948, 2.141005754470825, -0.7303313612937927, 1.4324082136154175, -0.2271263301372528, 0.0512038990855217, 1.1603094339370728, 1.3956533670425415, 3.1275696754455566, 1.8543287515640259, -1.2192636728286743, 0.6997292637825012, -0.21927006542682648, -0.4822711646556854, 1.1148014068603516, -1.182233452796936, 1.2471224069595337, -0.16316598653793335, -1.156308650970459, -1.3179055452346802, 0.988996148109436, 0.5056235194206238, -0.027095606550574303, -0.4176753759384155, 1.1727697849273682, 0.18417218327522278, 1.3941723108291626, 0.5091825127601624, -0.30585619807243347, 0.5589982271194458, -0.45144572854042053, -0.610675036907196, 1.518683910369873, 0.05368052423000336, -1.4968758821487427, -2.2991294860839844, -0.21534636616706848, -0.9165600538253784, -0.03039287030696869, -0.7496864199638367, -1.0228303670883179, 1.6169289350509644, 0.4173865020275116, -1.1770708560943604, -0.1959410309791565, -0.40139493346214294, -0.5721492171287537, 2.70597505569458, -1.2821274995803833, -0.12260644882917404, -1.0091166496276855, -0.6443613171577454, 1.57694673538208, -1.2330808639526367, -0.22644397616386414, -1.0357694625854492, -0.5590736865997314, -1.2066344022750854, -0.33497798442840576, -0.052488796412944794, -0.9100589156150818, 0.8435558676719666, 0.10477015376091003, -1.114338994026184, -0.3693893849849701, -0.9501120448112488, 0.96684330701828, -0.1572810858488083, 0.12939850986003876, 1.6779263019561768, 0.227859228849411, -0.3670787215232849, 0.7999386787414551, 1.1535768508911133, 0.5476678609848022, -0.60233473777771, 0.12977811694145203, -0.5296574234962463, 0.47398194670677185, -1.2316814661026, 0.475694477558136, -2.8970041275024414, 0.6675242781639099, -0.1098654568195343, -0.020027536898851395, -0.1820114552974701, -1.4408189058303833, 1.055855631828308, 2.5953762531280518, -1.1680285930633545, 0.592198371887207, 0.4200443625450134, 1.1069787740707397, -1.5720646381378174, 0.2405168116092682, -0.5173167586326599, 2.0800654888153076, 0.1708720624446869, 1.1879236698150635, -0.5314031839370728, -2.3616535663604736, 0.6819886565208435, -1.1187700033187866, -1.0375514030456543, 0.8149235248565674, -0.9311859607696533, 0.22004255652427673, -1.1824052333831787, -0.29864081740379333, -1.04812490940094, -1.2399107217788696, 0.5710058212280273, 0.13217419385910034, 0.5687810182571411, -0.614458441734314, 0.19966243207454681, -2.3129823207855225, -1.2956658601760864, -0.27647945284843445, -0.9704514145851135, 0.48268502950668335, -0.4445582628250122, 0.5633026957511902, 0.018935810774564743, 0.04905301332473755, 0.27350378036499023, 1.5295584201812744, 3.328660488128662, 0.13469499349594116, 0.3105579912662506, -0.16242875158786774, -0.9822792410850525, 1.3638312816619873, 0.9177099466323853, -0.048082977533340454, -0.6651447415351868, -1.0432597398757935, 1.2244151830673218, 1.9869914054870605, 1.0505311489105225, 0.03660157322883606, -0.8909592628479004, -0.8549432754516602, -0.016746625304222107, 0.12349732965230942, 0.5113722085952759, 0.9391828179359436, 0.10395733267068863, 0.147766575217247, 1.4218218326568604, 1.1234186887741089, -0.3958056569099426, 0.33926960825920105, -0.8423726558685303, -0.3560672998428345, 0.36456966400146484, 0.3417404592037201, 0.03703829646110535, 0.38752636313438416, -1.0373520851135254, -0.2100517302751541, -0.24936139583587646, -0.8126010894775391, -0.8143531680107117, -0.3771876394748688, -0.3402286469936371, 1.63896906375885, 0.07146131247282028, -0.443469762802124, -0.02147095277905464, -0.7968944311141968, -0.20636458694934845, -1.0908421277999878, 0.24894897639751434, -0.19106335937976837, 0.043493159115314484, -0.14056283235549927, 1.6872360706329346, -0.8673261404037476, -2.185272455215454, 0.21467986702919006, 0.11562421172857285, -0.3579573631286621, 0.05928128957748413, 1.7342747449874878, 0.5263966917991638, 1.3410086631774902, 1.296396017074585, 1.0032330751419067, -0.6522535085678101, -1.313193678855896, 0.7787184715270996, 0.8699867725372314, -1.3783830404281616, 0.9200357794761658, -0.17763373255729675, -0.457446813583374, 0.6437270045280457, 1.3211188316345215, 0.44636210799217224, -2.0476155281066895, 0.7921842932701111, -1.0738067626953125, 0.8820852041244507, 0.743630051612854, 0.7019705772399902, 0.16771309077739716, 0.8958162069320679, -1.226731777191162, -1.0983362197875977, -0.5870729088783264, -0.7299765944480896, 1.8831210136413574, -0.35840409994125366, 0.569667398929596, -0.15619388222694397, -1.1679598093032837, -0.005477375816553831, 0.7615357637405396, 0.3913024663925171, -0.39855360984802246, 0.8567319512367249, -0.6622264385223389, -0.985720694065094, -1.2182326316833496, -0.47478416562080383, -0.9892904758453369, -0.9089246392250061, 0.9532216191291809, 0.710053026676178, 0.458977609872818, 2.007946252822876, 0.6117110848426819, 0.33805152773857117, -2.6421267986297607, 0.8388701677322388, 0.3273315727710724, -0.04200470447540283, 0.9296967387199402, 0.2742593288421631, 1.1428853273391724, 0.062172919511795044, 0.5461903214454651, -2.4560420513153076, 2.354412078857422, -0.23007671535015106, 0.7247596383094788, -0.007403471507132053, -0.0949769839644432, 1.1449782848358154, 0.6573801040649414, 0.5415090918540955, -1.1161011457443237, 0.8797562718391418, -0.5765340328216553, 1.2103898525238037, 0.8851999044418335, -0.8437358736991882, 0.10315468907356262, 1.3247544765472412, 0.3503114581108093, -0.5596223473548889, -0.8691961169242859, -0.9828677177429199, 0.8394615054130554, 1.7651430368423462, -0.0536748543381691, -0.04892966151237488, 0.7420163154602051, 0.7729836106300354, -1.1271846294403076, -0.048547349870204926, -0.6911067962646484, -0.7771580219268799, 1.6908377408981323, 2.0951013565063477, 0.02454640530049801, -0.11717986315488815, -0.717102587223053, -1.28643000125885, 0.7577328085899353, -0.013012071140110493, -0.04529838263988495, 0.5856587290763855, -0.6940832138061523, 1.119998812675476, 0.7784715890884399, 1.0085784196853638, 0.07251434028148651, 0.1787414699792862, 0.40955036878585815, -0.36637207865715027, -1.1725023984909058, -0.5122911930084229, -1.1478867530822754, -2.6013784408569336, 0.43688952922821045, -0.20029707252979279, -1.5831552743911743, 0.07057403773069382, -1.0440304279327393, 0.7208279371261597, -0.5673801898956299, -1.173588514328003, -1.3763751983642578, 0.1730463206768036, -0.14071419835090637, 0.8759583234786987, -1.588587760925293, -0.20348486304283142, 1.1426163911819458, 0.8782487511634827, -0.5757179856300354, 0.9564704895019531, 0.19203810393810272, 0.906625509262085, 0.8804250955581665, -0.428001344203949, 0.5582793951034546, 0.16487792134284973, -1.3681838512420654, 0.41765862703323364, 1.362074851989746, 0.16089022159576416, 1.4739290475845337, -0.42858433723449707, 0.06195314973592758, 0.4299199879169464, -0.5626257658004761, -0.6217159628868103, -0.5275625586509705, 0.7991990447044373, -0.05084747076034546, -0.9047340154647827, -0.07488936185836792, -0.10815081000328064, -0.2268720418214798, 0.2223941683769226, -1.4811886548995972, -0.21044720709323883, -0.4044709801673889, -0.5658435821533203, -1.396181344985962, -0.030884329229593277, 1.3821743726730347, -0.7732765078544617, -0.15724922716617584, 0.47762247920036316, 0.3031950294971466, 0.5786917805671692, 0.6183916330337524, -0.7523112893104553, -0.3520604372024536, -0.2978285253047943, -0.3391176760196686, 0.409113347530365, 1.2699711322784424, 0.0014601042494177818, -0.9825701117515564, 0.5924923419952393, -0.4080415964126587, 0.18182039260864258, 2.0761265754699707, 0.05333717167377472, -0.6681316494941711, 0.42061367630958557, -0.7946875691413879, 1.8241175413131714, 1.6627801656723022, 1.2980539798736572, -0.1440248340368271, -0.9746513366699219, 0.5923096537590027, -0.3855818808078766, -0.34728237986564636, 0.9422744512557983, 0.31353187561035156, -0.3315122425556183, -1.3745229244232178, 0.6818251013755798, 1.1465550661087036, -0.8934710621833801, -0.7638871669769287, 0.13013988733291626, -0.8383610844612122, 1.254464864730835, 0.5246908664703369, 0.2899222671985626, 0.2913382947444916, 1.7047423124313354, 0.7351211309432983, -0.4795334041118622, 0.47345319390296936, 0.4579271972179413, -0.19974219799041748, -2.0881805419921875, -1.0614794492721558, 0.33875957131385803, -0.46330446004867554, -1.512335181236267, 1.481982946395874, -1.2249114513397217, -1.0967658758163452, 0.6090919375419617, 0.10547017306089401, 1.3005048036575317, 0.3459444046020508, 1.7563698291778564, 2.1427505016326904, 0.8589094281196594, 0.4940355718135834, 1.1565665006637573, -0.24688631296157837, -0.4842909276485443, 1.8335258960723877, -0.5073391199111938, 0.5461257100105286, 1.215987205505371, -0.44313812255859375, -1.1399335861206055, -0.8247788548469543, -1.1193418502807617, -0.7898682951927185, 1.1622976064682007, 0.0904683917760849, -1.0454639196395874, 0.27430564165115356, 1.613078236579895, 0.07399137318134308, -0.12652495503425598, 0.6347198486328125, 0.4435387849807739, -0.7950114011764526, -0.1596812903881073, -0.9357078075408936, 0.5691519379615784, -0.2528610825538635, -0.4613420069217682, 0.1986142247915268, 0.54281085729599, 1.2075400352478027, -0.09837052971124649, 0.10367248952388763, 1.2219562530517578, -1.3968719244003296, 1.4418830871582031, -0.7123181223869324, 0.3761361539363861, -2.327986240386963, 1.360528826713562, -0.8081846237182617, 1.9893935918807983, -2.6374855041503906, 0.3532309830188751, -0.47779008746147156, -0.5783118009567261, 0.2146446406841278, -0.24950166046619415, 0.052942126989364624, -0.15735238790512085, -0.9926534295082092, -0.10392870754003525, -0.761992871761322, 0.5618663430213928, 1.227414846420288, 1.3800513744354248, -1.1170995235443115, -0.20855937898159027, -1.6310447454452515, -0.15289698541164398, -0.699292778968811, 0.2291482836008072, -1.8787026405334473, -0.18403437733650208, -2.134246349334717, -2.3855223655700684, -1.3388001918792725, -0.899868905544281, 1.1062636375427246, 0.11531810462474823, -0.8617753386497498, 1.0594514608383179, -0.36235955357551575, -1.7690626382827759, 1.1681755781173706, -2.1109819412231445 ]
https://github.com/huggingface/datasets/issues/3978
I can't view HFcallback dataset for ASR Space
the dataset viewer is working on this dataset. I imagine the issue is that we would expect to be able to listen to the audio files in the `Please Record Your Voice file` column, right? maybe @lhoestq or @albertvillanova could help <img width="1019" alt="Capture d’écran 2022-03-24 à 17 36 20" src="https://user-images.githubusercontent.com/1676121/159966006-57dcf8f7-b65f-4200-ac8c-66859318a8bb.png">
## Dataset viewer issue for '*Urdu-ASR-flags*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/kingabzpro/Urdu-ASR-flags)* *I think dataset should show some thing and if you want me to add script, please show me the documentation. I thought this was suppose to be automatic task.* Am I the one who added this dataset ? Yes
868
51
I can't view HFcallback dataset for ASR Space ## Dataset viewer issue for '*Urdu-ASR-flags*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/kingabzpro/Urdu-ASR-flags)* *I think dataset should show some thing and if you want me to add script, please show me the documentation. I thought this was suppose to be automatic task.* Am I the one who added this dataset ? Yes the dataset viewer is working on this dataset. I imagine the issue is that we would expect to be able to listen to the audio files in the `Please Record Your Voice file` column, right? maybe @lhoestq or @albertvillanova could help <img width="1019" alt="Capture d’écran 2022-03-24 à 17 36 20" src="https://user-images.githubusercontent.com/1676121/159966006-57dcf8f7-b65f-4200-ac8c-66859318a8bb.png">
[ -1.2251867055892944, -0.9084488749504089, -0.7948252558708191, 1.3912791013717651, -0.20842479169368744, -1.2534215450286865, 0.07941127568483353, -1.0099143981933594, 1.6433686017990112, -0.7560481429100037, 0.24539640545845032, -1.6764739751815796, -0.05488335341215134, -0.564846932888031, -0.7425363063812256, -0.8759320974349976, -0.45838767290115356, -0.8510337471961975, 0.9736246466636658, 2.552694320678711, 1.1328315734863281, -1.3986527919769287, 2.807542324066162, 0.6257531046867371, -0.20680880546569824, -1.0385397672653198, 0.42468178272247314, 0.10355281084775925, -1.1681649684906006, -0.4810519218444824, -0.9036999940872192, -0.012359312735497952, -0.5022525787353516, -0.5332796573638916, 0.17476706206798553, 0.35927003622055054, -0.1721237152814865, -0.35777267813682556, -0.46664202213287354, -0.7497689723968506, 0.4935806095600128, -0.44848066568374634, 0.9170802235603333, -0.3314265310764313, 1.8389065265655518, -0.5792568325996399, 0.41444018483161926, 0.687917947769165, 1.3170015811920166, 0.21812927722930908, -0.014008046127855778, 0.32994458079338074, 0.41407832503318787, -0.03641519322991371, 0.4692137539386749, 1.2216817140579224, 0.6301769018173218, 0.4780721366405487, 0.7435079216957092, -2.169173002243042, 1.3644626140594482, -0.9745739698410034, 0.3136070966720581, 1.4217931032180786, -1.083647608757019, 0.46076563000679016, -1.8923075199127197, -0.06752127408981323, 0.45781266689300537, -2.344087600708008, 0.16636785864830017, -1.2516090869903564, -0.6096451282501221, 0.9306248426437378, 0.1705559641122818, -1.3350038528442383, 0.2344639152288437, -0.46515151858329773, 1.0117170810699463, 0.4767635464668274, 1.175490140914917, -1.6916640996932983, -0.10206059366464615, -0.26689109206199646, 0.08754608035087585, -1.3674366474151611, -1.5307047367095947, 0.5657947063446045, 0.5587096810340881, 0.5986002087593079, -0.05568467080593109, 0.907011091709137, -1.0146199464797974, 0.8377636671066284, -0.9957340955734253, -1.6141862869262695, -1.4091193675994873, -2.2516934871673584, -2.2495639324188232, 0.9527478218078613, -0.3837141692638397, -0.5519828796386719, 1.9493613243103027, -1.062096357345581, -1.6949114799499512, 1.1978750228881836, 0.29198217391967773, 0.06130734831094742, 2.476891279220581, 0.2774365246295929, -0.7565377354621887, 0.3669467866420746, -0.7437576055526733, 0.8727231621742249, -0.3724479675292969, 1.4084504842758179, 0.5277389883995056, -0.9377541542053223, 1.6679240465164185, -0.3986479640007019, 0.5231571793556213, -0.7300711274147034, -0.586143970489502, -0.87541663646698, 0.35758331418037415, 1.9989728927612305, -0.23256874084472656, 1.5915695428848267, -0.3459308445453644, -1.6551872491836548, -1.529425859451294, 0.8692919611930847, 0.5506283044815063, -0.8499850034713745, 0.0879092887043953, -0.3717958331108093, 0.1563972681760788, -0.006318559404462576, 1.0273408889770508, 1.2223610877990723, 0.6093330383300781, -0.254925012588501, -0.9245310425758362, 0.22496658563613892, -0.05774926766753197, -0.6856235265731812, -1.7855463027954102, -0.35868850350379944, 0.2945249080657959, 0.6381701827049255, -1.3023947477340698, 1.5972106456756592, 0.8902490139007568, 1.8805123567581177, 1.0208202600479126, -0.32145994901657104, 1.504622220993042, 0.03932568430900574, 1.7897976636886597, -0.5576746463775635, 0.675736129283905, -0.30822283029556274, -1.0846244096755981, 0.8008526563644409, -0.3398476541042328, -2.0659120082855225, -0.7294906973838806, -0.8499698042869568, -0.19000673294067383, -0.7865272760391235, 0.9759844541549683, -0.2924607992172241, -1.3500279188156128, 0.26236996054649353, -0.6342958211898804, 0.155539408326149, -1.2874560356140137, 0.3026517331600189, 0.7487760782241821, -0.6767181754112244, -0.0023300889879465103, -0.2562139928340912, -1.3312268257141113, -0.49239450693130493, 0.18716175854206085, 1.91484797000885, -0.7266706228256226, 0.9424711465835571, 0.8973678946495056, -0.7207125425338745, -0.09705118089914322, 0.3977113664150238, -0.28477591276168823, 0.9152026772499084, -1.0575119256973267, -0.308497816324234, 1.0736145973205566, -0.18406522274017334, -0.49683356285095215, 1.4573216438293457, 0.8163779377937317, -0.9371870160102844, -0.29557451605796814, -0.25508931279182434, -0.8657459020614624, -0.07540711015462875, -1.6054658889770508, -0.25453799962997437, 0.19444409012794495, -1.479402780532837, -0.5214357972145081, -0.21192844212055206, 1.2717547416687012, -0.19671238958835602, 1.3846923112869263, -0.3814987242221832, -0.28468865156173706, -0.3464292585849762, -0.4760456085205078, 0.1734960526227951, -0.19224970042705536, -0.6821574568748474, 0.24688562750816345, -0.7532535195350647, 0.26116079092025757, 1.4314355850219727, 0.5039353370666504, 0.02516276389360428, 0.5073766708374023, 1.1422301530838013, 0.2946048378944397, -0.021538089960813522, -0.8668199181556702, -1.5591373443603516, 2.0118114948272705, -1.5829964876174927, 1.9431178569793701, 0.7507444024085999, -0.04697459191083908, -1.669547438621521, -1.854832410812378, 1.443638801574707, 1.265569806098938, 2.4319822788238525, 0.5933432579040527, 0.4260827600955963, -0.8019719123840332, -0.7044842839241028, 0.273324191570282, -1.11532723903656, -0.8076992034912109, 0.08627767115831375, 2.3229873180389404, 1.7451423406600952, -0.6097984910011292, -0.1644275039434433, -1.0154942274093628, 1.3159427642822266, -0.19341693818569183, 0.22265367209911346, 1.9802719354629517, -0.2910386323928833, -1.0888224840164185, 1.1915944814682007, -2.244460344314575, 0.08982394635677338, 1.916966199874878, 0.30575305223464966, 0.1435837298631668, -1.3599869012832642, -0.7004653811454773, -0.22316834330558777, -0.3848036229610443, -1.3197119235992432, 0.4960736930370331, -0.30687618255615234, -0.7973014116287231, -1.4345886707305908, 0.024025049060583115, -1.1792731285095215, -1.5805720090866089, 0.41516995429992676, 1.8323559761047363, 2.0067403316497803, -0.8055587410926819, 1.4477102756500244, -0.25141841173171997, 0.2492053508758545, 1.2484968900680542, 1.2199870347976685, 3.158521890640259, 1.8977266550064087, -1.1884740591049194, 0.6200873255729675, -0.19779928028583527, -0.5358195304870605, 1.1549072265625, -0.9741933941841125, 1.2018814086914062, -0.16721293330192566, -1.2252668142318726, -1.1915003061294556, 0.9116209149360657, 0.44561269879341125, -0.007271785754710436, -0.4874546527862549, 1.200059413909912, 0.013803689740598202, 1.4036295413970947, 0.5356642007827759, -0.3655705749988556, 0.6463390588760376, -0.48054733872413635, -0.4131351113319397, 1.662276268005371, 0.1261158287525177, -1.4951223134994507, -2.374321699142456, -0.21657611429691315, -0.8249219059944153, 0.003396091051399708, -0.5789769291877747, -1.1062666177749634, 1.6248095035552979, 0.43431249260902405, -1.1988694667816162, -0.2738461196422577, -0.3594662845134735, -0.6974456310272217, 2.5858960151672363, -1.4560825824737549, -0.2212793081998825, -0.9199545383453369, -0.5355787873268127, 1.616631269454956, -1.202000617980957, -0.18050499260425568, -0.9844436645507812, -0.566213846206665, -1.3753455877304077, -0.5641955137252808, -0.1375245451927185, -0.9346553683280945, 0.8172574043273926, 0.06159035861492157, -1.066784143447876, -0.2589946687221527, -0.9109889268875122, 0.7682861089706421, -0.17128530144691467, 0.23971357941627502, 1.844428300857544, 0.4311075210571289, -0.37701770663261414, 0.6730576157569885, 1.148129940032959, 0.5568727254867554, -0.6006814241409302, 0.18992415070533752, -0.7255563139915466, 0.2629949152469635, -1.2824066877365112, 0.24943885207176208, -2.875209093093872, 0.6870318651199341, -0.054545022547245026, -0.025504089891910553, -0.03887534141540527, -1.3127392530441284, 1.1507014036178589, 2.5445199012756348, -1.0916926860809326, 0.5031818747520447, 0.32718148827552795, 1.2709866762161255, -1.6369081735610962, 0.25404009222984314, -0.40766721963882446, 2.1569674015045166, 0.17107734084129333, 1.2399228811264038, -0.5357731580734253, -2.2754759788513184, 0.5334637761116028, -1.2033717632293701, -1.1515787839889526, 0.6490800976753235, -0.8306971788406372, 0.13656556606292725, -1.467931866645813, -0.19261038303375244, -0.9570027589797974, -1.2144571542739868, 0.7988590002059937, 0.1864520162343979, 0.4526137411594391, -0.5716475248336792, 0.36400139331817627, -2.1710495948791504, -1.3285666704177856, -0.29204264283180237, -0.8892109394073486, 0.5104542970657349, -0.2618710994720459, 0.6784582138061523, -0.1533035784959793, 0.07106141746044159, 0.26499032974243164, 1.4133025407791138, 3.3326416015625, 0.24893182516098022, 0.4365715980529785, -0.09647572785615921, -0.9054765105247498, 1.532904028892517, 0.9748210310935974, -0.020356010645627975, -0.6360956430435181, -1.0081223249435425, 1.282929539680481, 1.9148234128952026, 0.9804917573928833, 0.11177965998649597, -0.7612414956092834, -0.5654875040054321, 0.020779695361852646, 0.144256591796875, 0.42860421538352966, 1.0347915887832642, 0.03164402022957802, 0.05810115486383438, 1.389035701751709, 1.2584257125854492, -0.4907503128051758, 0.4556131064891815, -0.8001640439033508, -0.39702504873275757, 0.46863478422164917, 0.25953105092048645, -0.06567799299955368, 0.3649490177631378, -1.0205037593841553, -0.2009093314409256, -0.26786795258522034, -1.0250061750411987, -0.7361457347869873, -0.4392908215522766, -0.371372789144516, 1.6890398263931274, 0.0777798742055893, -0.44428199529647827, -0.04857471585273743, -0.7742964029312134, -0.12652139365673065, -1.0919222831726074, 0.29283538460731506, -0.09066426753997803, -0.06770425289869308, -0.10188804566860199, 1.845851182937622, -0.8980682492256165, -2.170747756958008, 0.25143519043922424, 0.32026782631874084, -0.4084680378437042, 0.08979208767414093, 1.6217777729034424, 0.48564228415489197, 1.5158863067626953, 1.3502217531204224, 1.0582908391952515, -0.6664645075798035, -1.2966669797897339, 0.6603706479072571, 0.9190441370010376, -1.3481179475784302, 0.8359682559967041, -0.0013334793038666248, -0.44619256258010864, 0.6751183271408081, 1.3574399948120117, 0.4207094609737396, -1.8790183067321777, 0.8867664933204651, -0.8528385758399963, 0.7445764541625977, 0.6957349181175232, 0.8169828653335571, 0.32446956634521484, 0.9195004105567932, -1.2677903175354004, -1.114984393119812, -0.8779544234275818, -0.5035570859909058, 1.965723991394043, -0.16125313937664032, 0.48688337206840515, -0.20116491615772247, -1.220811128616333, 0.022748801857233047, 0.6889294385910034, 0.43227100372314453, -0.27165767550468445, 0.7655797004699707, -0.6097520589828491, -1.1123263835906982, -1.4296995401382446, -0.42127329111099243, -0.9258946776390076, -0.922686755657196, 0.9602934122085571, 0.8263976573944092, 0.28102412819862366, 1.855242133140564, 0.6295239329338074, 0.2433561384677887, -2.6872737407684326, 0.8809891939163208, 0.3066115379333496, -0.01493501290678978, 0.9930629730224609, 0.23264583945274353, 1.1493873596191406, 0.02343549206852913, 0.5085476636886597, -2.3942179679870605, 2.2108471393585205, -0.2449026256799698, 0.7849029898643494, 0.0006538378074765205, -0.14658823609352112, 1.14327871799469, 0.4992329180240631, 0.541174590587616, -1.0913652181625366, 0.7507992386817932, -0.5710384845733643, 1.1452770233154297, 0.9975203275680542, -0.7670006155967712, 0.08533962070941925, 1.3385212421417236, 0.4365200400352478, -0.4555807411670685, -0.9178061485290527, -0.8023433685302734, 0.8611223101615906, 1.8183938264846802, -0.075702965259552, 0.018345844000577927, 0.8430277705192566, 0.7524340748786926, -1.2917699813842773, 0.03498029336333275, -0.720832109451294, -0.7777572870254517, 1.7089682817459106, 2.102489709854126, -0.015737144276499748, -0.27670615911483765, -0.7134650945663452, -1.2113597393035889, 0.7890959978103638, 0.06876048445701599, 0.17631866037845612, 0.8090265989303589, -0.7068361043930054, 1.2565608024597168, 0.8125763535499573, 0.9280549883842468, 0.1439869999885559, 0.3966657817363739, 0.3672807812690735, -0.2726924419403076, -1.0760228633880615, -0.28245049715042114, -1.1981805562973022, -2.5754292011260986, 0.5171412229537964, -0.3034473955631256, -1.3728450536727905, 0.051281433552503586, -1.0262398719787598, 0.943617045879364, -0.6004011034965515, -1.1381367444992065, -1.6367181539535522, 0.131555438041687, -0.13089123368263245, 0.8955185413360596, -1.5850250720977783, -0.1294221431016922, 1.2416424751281738, 0.8900529742240906, -0.5737423896789551, 1.0200122594833374, 0.23145534098148346, 0.9328891634941101, 0.8783478736877441, -0.43260905146598816, 0.4404076635837555, 0.07816924154758453, -1.4090839624404907, 0.5542430877685547, 1.186930775642395, 0.16709931194782257, 1.4176994562149048, -0.5642924904823303, 0.06101903319358826, 0.48205724358558655, -0.44088003039360046, -0.43299928307533264, -0.562711775302887, 0.7184141874313354, 0.11238458007574081, -0.9824321269989014, 0.012253246270120144, -0.15680111944675446, -0.18541470170021057, 0.26676490902900696, -1.4839733839035034, -0.250245064496994, -0.45053592324256897, -0.5762721300125122, -1.243852138519287, -0.08978983014822006, 1.2740564346313477, -0.8412427306175232, -0.17731256783008575, 0.5582860112190247, 0.39004799723625183, 0.5457937717437744, 0.5322294235229492, -0.6916553378105164, -0.34358730912208557, -0.2850032150745392, -0.35878145694732666, 0.27028703689575195, 1.233616590499878, -0.1709904968738556, -1.051149845123291, 0.6264994144439697, -0.30080321431159973, 0.05950995534658432, 1.9877029657363892, 0.02172543853521347, -0.7923511862754822, 0.36729905009269714, -0.7090477347373962, 1.8903019428253174, 1.6463971138000488, 1.3675289154052734, -0.09373720735311508, -0.9328929781913757, 0.5563263893127441, -0.2836613953113556, -0.3697655498981476, 0.8690760135650635, 0.5046309232711792, -0.19943848252296448, -1.4729870557785034, 0.5998175144195557, 1.3404101133346558, -0.877561628818512, -0.7645096778869629, 0.06606733053922653, -0.8566005229949951, 1.043923258781433, 0.6559526324272156, 0.4129256308078766, 0.1802046149969101, 1.6336109638214111, 0.585660457611084, -0.5714641809463501, 0.4493089020252228, 0.5062836408615112, -0.1381436139345169, -2.096386432647705, -1.170842170715332, 0.2826133668422699, -0.35530129075050354, -1.5378342866897583, 1.4542875289916992, -1.1645152568817139, -0.9311400651931763, 0.5866958498954773, 0.15126299858093262, 1.414527416229248, 0.33527490496635437, 1.7462228536605835, 2.0815227031707764, 0.844931423664093, 0.26780664920806885, 1.3069076538085938, -0.13515864312648773, -0.4699181616306305, 1.820294737815857, -0.4047093987464905, 0.5252890586853027, 1.0178706645965576, -0.3893830180168152, -1.1374608278274536, -0.7676751613616943, -1.2172996997833252, -0.6413160562515259, 1.1099183559417725, 0.1581214964389801, -1.0977463722229004, 0.12519340217113495, 1.6225616931915283, 0.07246651500463486, -0.3447739779949188, 0.5664454698562622, 0.49485477805137634, -0.7532768845558167, -0.11204522848129272, -1.0028069019317627, 0.4885898232460022, -0.17232710123062134, -0.3473488390445709, 0.25135892629623413, 0.5547224283218384, 1.1925956010818481, -0.010041465982794762, 0.11123062670230865, 1.3340762853622437, -1.2954015731811523, 1.38706374168396, -0.7109168171882629, 0.18949851393699646, -2.3756306171417236, 1.4803330898284912, -0.8176470398902893, 1.9132288694381714, -2.6654608249664307, 0.36579614877700806, -0.6186812520027161, -0.39214491844177246, 0.273736834526062, -0.2857266664505005, 0.19240422546863556, -0.060194749385118484, -1.0636671781539917, -0.09317565709352493, -0.814136803150177, 0.5771621465682983, 1.2243198156356812, 1.3289616107940674, -1.1417827606201172, -0.27446460723876953, -1.7276924848556519, -0.15154266357421875, -0.6728754043579102, 0.27091193199157715, -2.0422513484954834, -0.13675586879253387, -1.967955470085144, -2.3052706718444824, -1.4892886877059937, -0.914573609828949, 1.114309549331665, 0.18000562489032745, -0.9458684921264648, 1.0741400718688965, -0.35838714241981506, -1.7164498567581177, 1.1605536937713623, -2.115365743637085 ]
https://github.com/huggingface/datasets/issues/3978
I can't view HFcallback dataset for ASR Space
The structure of the dataset is not supported. Only the CSV file is parsed and the audio files are ignored. We're working on supporting audio datasets with a specific structure in #3963
## Dataset viewer issue for '*Urdu-ASR-flags*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/kingabzpro/Urdu-ASR-flags)* *I think dataset should show some thing and if you want me to add script, please show me the documentation. I thought this was suppose to be automatic task.* Am I the one who added this dataset ? Yes
868
32
I can't view HFcallback dataset for ASR Space ## Dataset viewer issue for '*Urdu-ASR-flags*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/kingabzpro/Urdu-ASR-flags)* *I think dataset should show some thing and if you want me to add script, please show me the documentation. I thought this was suppose to be automatic task.* Am I the one who added this dataset ? Yes The structure of the dataset is not supported. Only the CSV file is parsed and the audio files are ignored. We're working on supporting audio datasets with a specific structure in #3963
[ -1.212096095085144, -1.0014088153839111, -0.8759824633598328, 1.3372327089309692, -0.2631421387195587, -1.351714015007019, 0.03638743609189987, -1.0477560758590698, 1.6865078210830688, -0.771243155002594, 0.18782663345336914, -1.686671495437622, -0.042870648205280304, -0.4906211495399475, -0.7120229005813599, -0.8998125791549683, -0.46015697717666626, -0.871971845626831, 1.0284621715545654, 2.52484130859375, 0.9877296686172485, -1.4000381231307983, 2.8299660682678223, 0.584967851638794, -0.18400950729846954, -1.0859578847885132, 0.45784616470336914, 0.11713089793920517, -1.1709742546081543, -0.5228973031044006, -0.9388643503189087, 0.039337798953056335, -0.4605180323123932, -0.35690081119537354, 0.21494677662849426, 0.32560643553733826, -0.0410241037607193, -0.3424844443798065, -0.44351068139076233, -0.6913666725158691, 0.42741304636001587, -0.4624119699001312, 0.8846401572227478, -0.36742061376571655, 1.7822906970977783, -0.5053535103797913, 0.2802317440509796, 0.6955445408821106, 1.3645594120025635, 0.1471780687570572, -0.01832660846412182, 0.30053576827049255, 0.41227632761001587, -0.09605929255485535, 0.3375132381916046, 1.1852887868881226, 0.5092669725418091, 0.5577093958854675, 0.6481048464775085, -2.2053520679473877, 1.3468003273010254, -1.0103435516357422, 0.42248645424842834, 1.4335062503814697, -1.1198203563690186, 0.48788949847221375, -1.7845247983932495, -0.06300483644008636, 0.5362102389335632, -2.443692922592163, 0.1493663787841797, -1.2051210403442383, -0.5978343486785889, 0.899419903755188, 0.20331524312496185, -1.3929821252822876, 0.2487201988697052, -0.43338659405708313, 1.019911527633667, 0.463718980550766, 1.2029705047607422, -1.7210710048675537, -0.04783520847558975, -0.3052568733692169, -0.050770606845617294, -1.4611209630966187, -1.4847325086593628, 0.6004448533058167, 0.6210857629776001, 0.7070934176445007, -0.13826918601989746, 0.9023010730743408, -1.023284673690796, 0.8760661482810974, -0.9042638540267944, -1.611599087715149, -1.3883520364761353, -2.3383545875549316, -2.264939785003662, 1.0181370973587036, -0.45794686675071716, -0.5173854827880859, 1.9505162239074707, -0.9689492583274841, -1.7219901084899902, 1.2991312742233276, 0.2716321349143982, 0.09606737643480301, 2.449310541152954, 0.2932814955711365, -0.658193826675415, 0.36000925302505493, -0.7345341444015503, 0.9675058126449585, -0.3926599621772766, 1.386610507965088, 0.4987562596797943, -0.9095726609230042, 1.6854184865951538, -0.405832976102829, 0.5546943545341492, -0.6498273611068726, -0.6732815504074097, -1.0015103816986084, 0.4970482885837555, 1.9122308492660522, -0.18116463720798492, 1.6352412700653076, -0.4052700698375702, -1.6375961303710938, -1.55340576171875, 0.8538203835487366, 0.6146957278251648, -0.8175516724586487, 0.0602533183991909, -0.32756105065345764, 0.16307881474494934, -0.037440188229084015, 1.0860847234725952, 1.148930311203003, 0.606262743473053, -0.256333589553833, -0.9218600392341614, 0.3442765474319458, -0.003984945826232433, -0.6775919795036316, -1.8420768976211548, -0.3684326708316803, 0.2424306571483612, 0.6011844277381897, -1.2341210842132568, 1.5244016647338867, 0.8855894207954407, 1.9742999076843262, 0.9748113751411438, -0.2940019369125366, 1.4230858087539673, 0.04686112329363823, 1.735711932182312, -0.5927368402481079, 0.7045317888259888, -0.2307344377040863, -1.079270601272583, 0.7828839421272278, -0.41751211881637573, -1.9972634315490723, -0.7318812608718872, -0.9270256757736206, -0.2196069210767746, -0.6591962575912476, 1.0284137725830078, -0.33202454447746277, -1.3946149349212646, 0.11098312586545944, -0.6007593870162964, 0.14135918021202087, -1.2121989727020264, 0.21399128437042236, 0.7914090156555176, -0.6715238690376282, -0.1103985384106636, -0.264537513256073, -1.3863595724105835, -0.460790753364563, 0.2479725182056427, 1.8738707304000854, -0.7473790645599365, 0.9943817853927612, 0.8199362754821777, -0.7277238368988037, -0.029555823653936386, 0.24940204620361328, -0.16806434094905853, 0.9523198008537292, -1.003797173500061, -0.36063456535339355, 1.0503536462783813, -0.2202720046043396, -0.5003461837768555, 1.5232551097869873, 0.7056736946105957, -1.0024665594100952, -0.30060890316963196, -0.35538366436958313, -0.8955428004264832, -0.11193487048149109, -1.6858125925064087, -0.32154491543769836, 0.09119661897420883, -1.5430107116699219, -0.5996184945106506, -0.22565755248069763, 1.2943990230560303, -0.11895036697387695, 1.293716311454773, -0.36254698038101196, -0.345090389251709, -0.3970576822757721, -0.5502400994300842, 0.32194942235946655, -0.2411649525165558, -0.6380921602249146, 0.2581009268760681, -0.794904887676239, 0.25281283259391785, 1.443867564201355, 0.5255323648452759, 0.10418318212032318, 0.6523974537849426, 1.0060299634933472, 0.34379130601882935, -0.08821950107812881, -0.872413158416748, -1.5995619297027588, 1.976454257965088, -1.5994045734405518, 1.8661504983901978, 0.7146819829940796, -0.12911126017570496, -1.6619317531585693, -1.884705901145935, 1.4456846714019775, 1.2473918199539185, 2.3252975940704346, 0.6023277044296265, 0.38143351674079895, -0.7965642809867859, -0.7024654150009155, 0.20477737486362457, -1.1231117248535156, -0.7519569993019104, 0.005608326755464077, 2.216667652130127, 1.7781965732574463, -0.6401850581169128, -0.10934045165777206, -1.0252636671066284, 1.2564938068389893, -0.17624205350875854, 0.3201289772987366, 2.020577907562256, -0.3739399313926697, -1.096913456916809, 1.219404697418213, -2.229442834854126, 0.08603952080011368, 1.9192732572555542, 0.27615728974342346, 0.16480177640914917, -1.4349783658981323, -0.6615297794342041, -0.17347384989261627, -0.4291861057281494, -1.3592032194137573, 0.6459583044052124, -0.3734508156776428, -0.8225597143173218, -1.4384115934371948, 0.04675789549946785, -1.1307404041290283, -1.5820115804672241, 0.4588337540626526, 1.8824719190597534, 1.9923639297485352, -0.7816240787506104, 1.446135401725769, -0.29272589087486267, 0.18868336081504822, 1.205696702003479, 1.117004156112671, 3.087404489517212, 1.9204140901565552, -1.1272770166397095, 0.5819898843765259, -0.1715802103281021, -0.5031775832176208, 1.1184663772583008, -0.871836245059967, 1.2593907117843628, -0.16506445407867432, -1.2302608489990234, -1.2539911270141602, 0.9140027165412903, 0.45253950357437134, 0.03500418737530708, -0.4980940818786621, 1.3183224201202393, -0.038935527205467224, 1.3377231359481812, 0.5041918158531189, -0.5004143714904785, 0.5791002511978149, -0.5287376642227173, -0.46190062165260315, 1.6987836360931396, 0.1519749015569687, -1.514529824256897, -2.3580667972564697, -0.20298179984092712, -0.7855484485626221, 0.03912076726555824, -0.6061146259307861, -1.0800952911376953, 1.6103297472000122, 0.49250754714012146, -1.1939637660980225, -0.3581373393535614, -0.3753454089164734, -0.694745659828186, 2.6006548404693604, -1.410757303237915, -0.20845754444599152, -0.869473397731781, -0.41054949164390564, 1.635115623474121, -1.3165602684020996, -0.1503252387046814, -1.0473477840423584, -0.6435517072677612, -1.348217487335205, -0.5393003225326538, -0.09149929881095886, -1.0294688940048218, 0.9186416864395142, -0.017369858920574188, -1.0393202304840088, -0.20256072282791138, -0.868648111820221, 0.8254515528678894, -0.09579445421695709, 0.24835416674613953, 1.8621304035186768, 0.3913421332836151, -0.35517075657844543, 0.7151291370391846, 1.1383488178253174, 0.6798521280288696, -0.6650252938270569, 0.1513759195804596, -0.6527940034866333, 0.34618547558784485, -1.2698029279708862, 0.26450037956237793, -3.04264235496521, 0.7019720673561096, -0.04174596443772316, 0.041949156671762466, -0.07708949595689774, -1.2578147649765015, 1.1186500787734985, 2.4921927452087402, -1.137805461883545, 0.4600447118282318, 0.369606077671051, 1.281032919883728, -1.5507948398590088, 0.28556278347969055, -0.40760448575019836, 2.1504316329956055, 0.091741643846035, 1.2291836738586426, -0.5479492545127869, -2.1448428630828857, 0.6168814897537231, -1.1759076118469238, -1.1260432004928589, 0.5958175659179688, -0.8245747089385986, 0.16683389246463776, -1.5395110845565796, -0.1062982827425003, -0.8777732849121094, -1.255147933959961, 0.7478452324867249, 0.23519392311573029, 0.3700157105922699, -0.6106507778167725, 0.33760473132133484, -2.1743974685668945, -1.370376706123352, -0.29041406512260437, -0.9281613230705261, 0.5267409086227417, -0.2923710346221924, 0.6421660780906677, -0.12460795044898987, 0.15404176712036133, 0.19780008494853973, 1.3781023025512695, 3.353607416152954, 0.1475602239370346, 0.45915287733078003, -0.044947750866413116, -0.8703333735466003, 1.5366508960723877, 1.1043920516967773, 0.008306334726512432, -0.6277973651885986, -1.0530775785446167, 1.413328766822815, 1.9728339910507202, 0.9705138206481934, 0.10651666671037674, -0.7287724018096924, -0.528610348701477, 0.006627100519835949, 0.2672872245311737, 0.6269580125808716, 0.9878462553024292, 0.03461301699280739, 0.12017374485731125, 1.4745919704437256, 1.2265363931655884, -0.4911043047904968, 0.5253958106040955, -0.8632397055625916, -0.4762580990791321, 0.401067316532135, 0.29247745871543884, -0.07939666509628296, 0.3756856620311737, -0.9845511317253113, -0.2349916696548462, -0.1818838268518448, -1.0858901739120483, -0.6768531203269958, -0.3371691107749939, -0.488966703414917, 1.6523207426071167, 0.07982491701841354, -0.4428783357143402, -0.12031074613332748, -0.6846199631690979, -0.14351874589920044, -1.0545110702514648, 0.3536314070224762, -0.08631370216608047, -0.02372799441218376, -0.16982552409172058, 1.8332749605178833, -0.8966804146766663, -2.14070463180542, 0.2227860540151596, 0.3681636154651642, -0.39667969942092896, 0.048523660749197006, 1.5180171728134155, 0.4777088165283203, 1.5634640455245972, 1.3626664876937866, 1.0592377185821533, -0.6350186467170715, -1.300350546836853, 0.5985751152038574, 0.9498385787010193, -1.3293713331222534, 0.8255976438522339, -0.03014945611357689, -0.5095754861831665, 0.7643268704414368, 1.416337251663208, 0.4574419856071472, -1.955762267112732, 1.00699782371521, -0.9121695756912231, 0.7951403260231018, 0.7954985499382019, 0.845595121383667, 0.2940064072608948, 0.8491158485412598, -1.3034460544586182, -1.1612924337387085, -0.8832293152809143, -0.5445127487182617, 1.9614962339401245, -0.1894875168800354, 0.5117315649986267, -0.209403395652771, -1.1839231252670288, -0.03711094707250595, 0.600197970867157, 0.5006707310676575, -0.143758624792099, 0.814716637134552, -0.6164641380310059, -1.1633743047714233, -1.5259476900100708, -0.366125226020813, -0.8865739703178406, -0.8694393038749695, 0.9506766200065613, 0.8542747497558594, 0.31976228952407837, 1.8380602598190308, 0.5006570219993591, 0.2691017687320709, -2.6529111862182617, 0.8911438584327698, 0.3953557014465332, -0.02553456649184227, 0.9324759244918823, 0.19736965000629425, 1.2017701864242554, 0.03176366910338402, 0.441951185464859, -2.25388240814209, 2.13254714012146, -0.2414328157901764, 0.7408258318901062, 0.03519212082028389, -0.053651586174964905, 1.1511766910552979, 0.5346710085868835, 0.6226614713668823, -1.0527687072753906, 0.81849205493927, -0.6103232502937317, 1.2027164697647095, 1.0894192457199097, -0.6807472705841064, 0.005749708041548729, 1.3806079626083374, 0.5408453941345215, -0.47242435812950134, -0.9219070076942444, -0.8091201186180115, 0.8525198698043823, 1.8555564880371094, -0.05056039243936539, -0.01232083048671484, 0.7600908279418945, 0.6659043431282043, -1.2349580526351929, 0.024915780872106552, -0.698062539100647, -0.6931429505348206, 1.621559500694275, 2.051621913909912, -0.030111461877822876, -0.22737444937229156, -0.6550795435905457, -1.1658700704574585, 0.6809204816818237, -0.00925956666469574, 0.12708494067192078, 0.889561653137207, -0.6873391270637512, 1.2126893997192383, 0.8090844750404358, 0.8529868721961975, 0.09635341912508011, 0.4007910490036011, 0.33418354392051697, -0.15851661562919617, -1.1506867408752441, -0.3393305242061615, -1.2042959928512573, -2.5148048400878906, 0.4290054738521576, -0.35133230686187744, -1.3455877304077148, 0.012216967530548573, -1.1394824981689453, 1.0122320652008057, -0.6170666217803955, -1.0894197225570679, -1.699317216873169, 0.090229831635952, -0.0537281259894371, 0.857438325881958, -1.5235401391983032, -0.14043988287448883, 1.2356336116790771, 0.8967821598052979, -0.6339401006698608, 1.0293854475021362, 0.21711377799510956, 0.9270264506340027, 0.7337012887001038, -0.45796680450439453, 0.3917617201805115, 0.08134189248085022, -1.3904516696929932, 0.6499988436698914, 1.0971969366073608, 0.10886736959218979, 1.3304188251495361, -0.6300567984580994, -0.009586845524609089, 0.5579264163970947, -0.4315912425518036, -0.4221597909927368, -0.5018936395645142, 0.8156828284263611, 0.07724429666996002, -0.9360918402671814, 0.03238706290721893, -0.20171770453453064, -0.23295901715755463, 0.2845240533351898, -1.5157818794250488, -0.39354944229125977, -0.452809602022171, -0.4097268581390381, -1.3104361295700073, 0.020326733589172363, 1.3176449537277222, -0.7502339482307434, -0.2525027096271515, 0.5809890031814575, 0.49435296654701233, 0.5446264743804932, 0.6743637919425964, -0.6307116150856018, -0.24588409066200256, -0.36548033356666565, -0.2995467782020569, 0.28393834829330444, 1.293487787246704, -0.28188979625701904, -1.06869375705719, 0.6468878984451294, -0.29682666063308716, 0.004313967190682888, 2.019162178039551, 0.11429890245199203, -0.8762665390968323, 0.3289910554885864, -0.7552675008773804, 1.8458656072616577, 1.5457653999328613, 1.3511428833007812, -0.040430594235658646, -0.8752927780151367, 0.4667479395866394, -0.16310830414295197, -0.34992751479148865, 0.8573343753814697, 0.6079976558685303, -0.15535719692707062, -1.4732586145401, 0.5970495343208313, 1.3014639616012573, -0.9537588357925415, -0.7942280769348145, 0.05354705825448036, -0.8137030005455017, 1.023648738861084, 0.7743692994117737, 0.5392017364501953, 0.19679735600948334, 1.6771924495697021, 0.587908148765564, -0.5395106077194214, 0.3912387490272522, 0.5059117078781128, -0.15428034961223602, -2.071430206298828, -1.1582180261611938, 0.25416070222854614, -0.3637387752532959, -1.5604300498962402, 1.4477910995483398, -1.138424038887024, -0.8719249963760376, 0.5819869637489319, 0.09899783879518509, 1.4826043844223022, 0.36624664068222046, 1.7588462829589844, 2.0552122592926025, 0.9357050061225891, 0.21069549024105072, 1.4476845264434814, -0.16328932344913483, -0.47856131196022034, 1.8642216920852661, -0.41765379905700684, 0.49377819895744324, 1.0377650260925293, -0.4936811923980713, -1.0099796056747437, -0.6884458065032959, -1.1210432052612305, -0.5511456727981567, 0.9901795983314514, 0.2352483719587326, -1.1607314348220825, 0.0885966345667839, 1.442731499671936, 0.21705423295497894, -0.31422072649002075, 0.5221858024597168, 0.5187197923660278, -0.8044115900993347, -0.14268220961093903, -0.9860827326774597, 0.40704992413520813, -0.25552845001220703, -0.34467750787734985, 0.2810031771659851, 0.5129510164260864, 1.2166001796722412, -0.06496203690767288, 0.18027831614017487, 1.312373399734497, -1.3358705043792725, 1.3319066762924194, -0.660890519618988, 0.1923614740371704, -2.4445505142211914, 1.5281858444213867, -0.799189567565918, 1.9185116291046143, -2.718944549560547, 0.3820537328720093, -0.6071110963821411, -0.373917818069458, 0.3460894227027893, -0.33890506625175476, 0.17462071776390076, -0.04730232059955597, -1.1905931234359741, 0.04136860370635986, -0.8190327286720276, 0.547601044178009, 1.2243869304656982, 1.2810032367706299, -1.0701144933700562, -0.2424425482749939, -1.7160966396331787, -0.23243361711502075, -0.7323727607727051, 0.41335782408714294, -2.1450908184051514, -0.18478579819202423, -1.8117527961730957, -2.270008087158203, -1.4130048751831055, -0.9688475728034973, 1.0727993249893188, 0.15685024857521057, -0.938552737236023, 1.1101934909820557, -0.30374208092689514, -1.6857510805130005, 1.107222557067871, -2.120643138885498 ]
https://github.com/huggingface/datasets/issues/3973
ConnectionError and SSLError
Hi ! You can download the `oscar.py` file from this repository at `/datasets/oscar/oscar.py`. Then you can load the dataset by passing the local path to `oscar.py` to `load_dataset`: ```python load_dataset("path/to/oscar.py", "unshuffled_deduplicated_it") ```
code ``` from datasets import load_dataset dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') ``` bug report ``` --------------------------------------------------------------------------- ConnectionError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_29788/2615425180.py in <module> ----> 1 dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, revision, use_auth_token, task, streaming, **config_kwargs) 1658 1659 # Create a dataset builder -> 1660 builder_instance = load_dataset_builder( 1661 path=path, 1662 name=name, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in load_dataset_builder(path, name, data_dir, data_files, cache_dir, features, download_config, download_mode, revision, use_auth_token, **config_kwargs) 1484 download_config = download_config.copy() if download_config else DownloadConfig() 1485 download_config.use_auth_token = use_auth_token -> 1486 dataset_module = dataset_module_factory( 1487 path, 1488 revision=revision, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in dataset_module_factory(path, revision, download_config, download_mode, force_local_path, dynamic_modules_path, data_dir, data_files, **download_kwargs) 1236 f"Couldn't find '{path}' on the Hugging Face Hub either: {type(e1).__name__}: {e1}" 1237 ) from None -> 1238 raise e1 from None 1239 else: 1240 raise FileNotFoundError( D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in dataset_module_factory(path, revision, download_config, download_mode, force_local_path, dynamic_modules_path, data_dir, data_files, **download_kwargs) 1173 if path.count("/") == 0: # even though the dataset is on the Hub, we get it from GitHub for now 1174 # TODO(QL): use a Hub dataset module factory instead of GitHub -> 1175 return GithubDatasetModuleFactory( 1176 path, 1177 revision=revision, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in get_module(self) 531 revision = self.revision 532 try: --> 533 local_path = self.download_loading_script(revision) 534 except FileNotFoundError: 535 if revision is not None or os.getenv("HF_SCRIPTS_VERSION", None) is not None: D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in download_loading_script(self, revision) 511 if download_config.download_desc is None: 512 download_config.download_desc = "Downloading builder script" --> 513 return cached_path(file_path, download_config=download_config) 514 515 def download_dataset_infos_file(self, revision: Optional[str]) -> str: D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\utils\file_utils.py in cached_path(url_or_filename, download_config, **download_kwargs) 232 if is_remote_url(url_or_filename): 233 # URL, so get it from the cache (downloading if necessary) --> 234 output_path = get_from_cache( 235 url_or_filename, 236 cache_dir=cache_dir, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\utils\file_utils.py in get_from_cache(url, cache_dir, force_download, proxies, etag_timeout, resume_download, user_agent, local_files_only, use_etag, max_retries, use_auth_token, ignore_url_params, download_desc) 580 _raise_if_offline_mode_is_enabled(f"Tried to reach {url}") 581 if head_error is not None: --> 582 raise ConnectionError(f"Couldn't reach {url} ({repr(head_error)})") 583 elif response is not None: 584 raise ConnectionError(f"Couldn't reach {url} (error {response.status_code})") ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/oscar/oscar.py (SSLError(MaxRetryError("HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /huggingface/datasets/2.0.0/datasets/oscar/oscar.py (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))"))) ``` It may be caused by Caused by SSLError(in China?) because it works well on google colab. So how can I download this dataset manually?
870
32
ConnectionError and SSLError code ``` from datasets import load_dataset dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') ``` bug report ``` --------------------------------------------------------------------------- ConnectionError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_29788/2615425180.py in <module> ----> 1 dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, revision, use_auth_token, task, streaming, **config_kwargs) 1658 1659 # Create a dataset builder -> 1660 builder_instance = load_dataset_builder( 1661 path=path, 1662 name=name, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in load_dataset_builder(path, name, data_dir, data_files, cache_dir, features, download_config, download_mode, revision, use_auth_token, **config_kwargs) 1484 download_config = download_config.copy() if download_config else DownloadConfig() 1485 download_config.use_auth_token = use_auth_token -> 1486 dataset_module = dataset_module_factory( 1487 path, 1488 revision=revision, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in dataset_module_factory(path, revision, download_config, download_mode, force_local_path, dynamic_modules_path, data_dir, data_files, **download_kwargs) 1236 f"Couldn't find '{path}' on the Hugging Face Hub either: {type(e1).__name__}: {e1}" 1237 ) from None -> 1238 raise e1 from None 1239 else: 1240 raise FileNotFoundError( D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in dataset_module_factory(path, revision, download_config, download_mode, force_local_path, dynamic_modules_path, data_dir, data_files, **download_kwargs) 1173 if path.count("/") == 0: # even though the dataset is on the Hub, we get it from GitHub for now 1174 # TODO(QL): use a Hub dataset module factory instead of GitHub -> 1175 return GithubDatasetModuleFactory( 1176 path, 1177 revision=revision, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in get_module(self) 531 revision = self.revision 532 try: --> 533 local_path = self.download_loading_script(revision) 534 except FileNotFoundError: 535 if revision is not None or os.getenv("HF_SCRIPTS_VERSION", None) is not None: D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in download_loading_script(self, revision) 511 if download_config.download_desc is None: 512 download_config.download_desc = "Downloading builder script" --> 513 return cached_path(file_path, download_config=download_config) 514 515 def download_dataset_infos_file(self, revision: Optional[str]) -> str: D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\utils\file_utils.py in cached_path(url_or_filename, download_config, **download_kwargs) 232 if is_remote_url(url_or_filename): 233 # URL, so get it from the cache (downloading if necessary) --> 234 output_path = get_from_cache( 235 url_or_filename, 236 cache_dir=cache_dir, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\utils\file_utils.py in get_from_cache(url, cache_dir, force_download, proxies, etag_timeout, resume_download, user_agent, local_files_only, use_etag, max_retries, use_auth_token, ignore_url_params, download_desc) 580 _raise_if_offline_mode_is_enabled(f"Tried to reach {url}") 581 if head_error is not None: --> 582 raise ConnectionError(f"Couldn't reach {url} ({repr(head_error)})") 583 elif response is not None: 584 raise ConnectionError(f"Couldn't reach {url} (error {response.status_code})") ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/oscar/oscar.py (SSLError(MaxRetryError("HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /huggingface/datasets/2.0.0/datasets/oscar/oscar.py (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))"))) ``` It may be caused by Caused by SSLError(in China?) because it works well on google colab. So how can I download this dataset manually? Hi ! You can download the `oscar.py` file from this repository at `/datasets/oscar/oscar.py`. Then you can load the dataset by passing the local path to `oscar.py` to `load_dataset`: ```python load_dataset("path/to/oscar.py", "unshuffled_deduplicated_it") ```
[ -1.235440731048584, -0.8759024143218994, -0.421986848115921, 1.3908907175064087, -0.018101897090673447, -1.3252949714660645, 0.18232299387454987, -0.8930914402008057, 1.5599778890609741, -0.916767418384552, 0.28458231687545776, -1.7725791931152344, 0.030172180384397507, -0.7834498286247253, -0.6383084058761597, -0.6989458203315735, -0.3724548816680908, -0.6938460469245911, 1.192844271659851, 2.3675644397735596, 1.22499418258667, -1.4122655391693115, 2.8712499141693115, 0.6275454163551331, -0.19937440752983093, -0.8273540139198303, 0.45275887846946716, -0.008182806894183159, -1.3428269624710083, -0.3291160464286804, -0.9616085290908813, -0.07730072736740112, -0.7882430553436279, -0.39791038632392883, -0.05525320768356323, 0.5226554274559021, -0.2121475785970688, -0.3366035223007202, -0.4272839426994324, -0.7408086061477661, 0.6120644807815552, -0.306199312210083, 0.890952467918396, -0.23498737812042236, 1.771443247795105, -0.6223929524421692, 0.500429630279541, 0.6048308610916138, 1.1061640977859497, 0.1343206912279129, -0.03391389548778534, 0.34883126616477966, 0.2570500671863556, 0.04623137414455414, 0.6025686264038086, 1.1545778512954712, 0.6958787441253662, 0.5558316707611084, 0.6757551431655884, -2.1761629581451416, 1.4062026739120483, -0.8378961682319641, 0.22871457040309906, 1.3801194429397583, -1.1483523845672607, 0.47829368710517883, -1.807072639465332, -0.183579221367836, 0.4509113132953644, -2.109102725982666, 0.15092003345489502, -1.2567980289459229, -0.5076358318328857, 0.928567111492157, 0.4246126115322113, -1.1674128770828247, 0.05717876926064491, -0.44765761494636536, 1.0097630023956299, 0.30308833718299866, 1.0604664087295532, -1.6788835525512695, 0.09692265093326569, -0.27264341711997986, 0.3344962000846863, -1.2191914319992065, -1.6695606708526611, 0.6764204502105713, 0.658954381942749, 0.7063460350036621, -0.2359878420829773, 0.9872814416885376, -1.1911102533340454, 0.7996138334274292, -1.2087838649749756, -1.6818180084228516, -1.310929298400879, -2.508206605911255, -2.506326198577881, 0.6987608671188354, -0.46030867099761963, -0.4103446900844574, 2.16275954246521, -1.1262017488479614, -1.6501933336257935, 1.0687376260757446, 0.2003561109304428, -0.10688590258359909, 2.3874571323394775, 0.1899287849664688, -0.8904392123222351, 0.7156899571418762, -0.9596907496452332, 0.6768239736557007, -0.2642136812210083, 1.2826519012451172, 0.43221962451934814, -1.0912891626358032, 1.513008713722229, -0.47307735681533813, 0.5697137713432312, -0.6026536822319031, -0.4143325090408325, -0.5668064951896667, 0.08310043811798096, 1.8897535800933838, -0.04544474184513092, 1.5050241947174072, -0.17921458184719086, -1.4811183214187622, -1.3883092403411865, 0.8648536205291748, 0.337202787399292, -0.8908006548881531, 0.21902954578399658, -0.4519510567188263, 0.22022870182991028, 0.14283423125743866, 1.1316064596176147, 1.302743673324585, 0.6900972127914429, -0.2704543471336365, -0.8216456770896912, -0.007244131062179804, -0.16508497297763824, -0.5393899083137512, -1.7425593137741089, -0.20742559432983398, -0.013644486665725708, 0.7256635427474976, -1.081381916999817, 2.0394132137298584, 0.9998623728752136, 1.972245216369629, 0.9460628628730774, -0.37517327070236206, 1.4315857887268066, 0.042164649814367294, 1.8632464408874512, -0.3998605012893677, 0.6885921955108643, -0.5510708093643188, -1.1684291362762451, 0.8360569477081299, -0.303157240152359, -1.945230484008789, -0.44183868169784546, -0.7752155661582947, -0.13607384264469147, -0.9543914198875427, 1.034440517425537, -0.13577277958393097, -1.5361391305923462, 0.24210746586322784, -0.5960306525230408, 0.2640604078769684, -1.346733570098877, 0.28488385677337646, 0.7131368517875671, -0.692949652671814, 0.025517120957374573, -0.39839789271354675, -1.399956464767456, -0.5514506697654724, 0.5252938270568848, 1.7113349437713623, -0.6158955097198486, 0.9826768040657043, 1.0793551206588745, -0.5375888347625732, -0.07775211334228516, 0.36862069368362427, -0.26903948187828064, 0.7603272199630737, -0.9964005351066589, -0.5265965461730957, 1.1695679426193237, -0.43196648359298706, -0.4238576591014862, 1.3927273750305176, 0.6869043707847595, -1.069675087928772, -0.25977179408073425, -0.16580472886562347, -0.9289855360984802, 0.055668044835329056, -1.5613433122634888, -0.05340814217925072, 0.4800691306591034, -1.517190933227539, -0.34972140192985535, -0.04266788810491562, 1.3210711479187012, -0.037231478840112686, 1.3407628536224365, -0.2551758289337158, -0.04090452566742897, -0.4457591474056244, -0.5438448190689087, 0.19461141526699066, -0.050205864012241364, -0.4789343476295471, 0.21145209670066833, -0.805514931678772, 0.1927235871553421, 1.57127845287323, 0.14249780774116516, 0.0961882546544075, 0.3915310204029083, 1.1836198568344116, 0.293097585439682, -0.12399677187204361, -0.7762988805770874, -1.5871790647506714, 1.9904779195785522, -1.7135456800460815, 1.9538600444793701, 0.7194607257843018, -0.0323251448571682, -1.8106039762496948, -1.693514347076416, 1.495786428451538, 1.1557390689849854, 2.3940093517303467, 0.4611426591873169, 0.36184853315353394, -0.8361960649490356, -0.6265813112258911, 0.4892357885837555, -0.7696384787559509, -0.7450350522994995, 0.24714283645153046, 2.3790671825408936, 1.729477047920227, -0.35962143540382385, -0.16207186877727509, -0.8800560235977173, 1.4292515516281128, -0.2990105450153351, 0.30644848942756653, 1.9751659631729126, -0.5374045372009277, -1.0589338541030884, 1.3281711339950562, -2.525054931640625, 0.2878156304359436, 2.03413987159729, 0.41432368755340576, 0.10432278364896774, -1.1689207553863525, -0.6783264875411987, -0.30572834610939026, -0.5252242684364319, -1.2946066856384277, 0.43098416924476624, -0.28693336248397827, -0.7262618541717529, -1.378487229347229, 0.07075463235378265, -1.1830693483352661, -1.8328777551651, 0.37502697110176086, 1.745530366897583, 2.2883830070495605, -0.8190243244171143, 1.3511501550674438, -0.3435114920139313, 0.40362855792045593, 1.1508214473724365, 1.265962839126587, 3.119873523712158, 1.9163800477981567, -1.2314517498016357, 0.6791576743125916, -0.21013571321964264, -0.5600471496582031, 1.1935588121414185, -1.0288654565811157, 1.2597684860229492, -0.24375379085540771, -1.302963137626648, -1.2736588716506958, 0.9431229829788208, 0.3703272044658661, -0.04692154750227928, -0.4820430278778076, 1.1826444864273071, 0.22941003739833832, 1.302815318107605, 0.6094430685043335, -0.29788559675216675, 0.4437423348426819, -0.471414178609848, -0.6447129845619202, 1.5780705213546753, 0.1596992164850235, -1.5813997983932495, -2.2748119831085205, -0.2722594738006592, -1.0080249309539795, 0.05993306264281273, -0.9180352687835693, -0.9829651117324829, 1.464914083480835, 0.4039934277534485, -0.9753299951553345, -0.03622907027602196, -0.3473752439022064, -0.4830635190010071, 2.658916473388672, -1.2692946195602417, -0.15928898751735687, -0.8977301120758057, -0.7373467087745667, 1.549073576927185, -1.2163894176483154, -0.2910434603691101, -1.124866008758545, -0.576126217842102, -1.2330646514892578, -0.34135913848876953, -0.10828930884599686, -0.8569464087486267, 0.7408296465873718, 0.04268708452582359, -1.349469780921936, -0.3436258137226105, -1.0458186864852905, 0.9398339986801147, -0.29417893290519714, 0.08449743688106537, 1.5827077627182007, 0.18335410952568054, -0.4815267324447632, 0.8801550269126892, 1.2466059923171997, 0.6690692901611328, -0.6146227717399597, 0.01335096638649702, -0.6540752649307251, 0.5957152843475342, -1.0818599462509155, 0.32356327772140503, -2.97695255279541, 0.6269624829292297, -0.009064864367246628, -0.07046453654766083, -0.23084057867527008, -1.5799850225448608, 0.9334328770637512, 2.4456725120544434, -1.1620274782180786, 0.6474888920783997, 0.3812471032142639, 1.213355302810669, -1.601040244102478, 0.06424098461866379, -0.7181236743927002, 2.0721774101257324, 0.12009206414222717, 1.0771549940109253, -0.570237398147583, -2.4368059635162354, 0.5602502822875977, -1.2126363515853882, -0.9855303764343262, 0.8570501208305359, -0.8905866146087646, 0.28151702880859375, -1.1249464750289917, -0.16396375000476837, -1.0200611352920532, -1.1312721967697144, 0.4804604947566986, 0.11767302453517914, 0.632747232913971, -0.634274423122406, 0.22244364023208618, -2.2851157188415527, -1.3699798583984375, -0.1778596043586731, -0.9172161221504211, 0.523868203163147, -0.5054362416267395, 0.604062557220459, -0.017455581575632095, 0.06296398490667343, 0.3482707142829895, 1.5462799072265625, 3.2071731090545654, -0.02300865948200226, 0.30212363600730896, -0.2029048204421997, -1.0364736318588257, 1.5313705205917358, 0.8332002758979797, -0.1941755712032318, -0.5696680545806885, -0.966234028339386, 1.3432652950286865, 1.8729017972946167, 1.0081897974014282, -0.07464496791362762, -0.8251063823699951, -0.7109149694442749, 0.11650794744491577, 0.1385592669248581, 0.5108498334884644, 0.927213728427887, 0.1067064180970192, 0.1709817796945572, 1.3608531951904297, 0.9532673954963684, -0.28964370489120483, 0.4166518449783325, -0.8700388073921204, -0.35305261611938477, 0.5265870094299316, 0.2671627402305603, -0.026592358946800232, 0.2942487597465515, -0.9343395829200745, -0.251951664686203, -0.21482831239700317, -0.7838414907455444, -0.762702465057373, -0.37788036465644836, -0.5083773732185364, 1.7493840456008911, -0.05441492795944214, -0.6281349658966064, 0.04014825448393822, -0.7019894123077393, -0.2514885365962982, -1.0632132291793823, 0.25459355115890503, -0.12390764057636261, 0.050885576754808426, -0.20585376024246216, 1.700209379196167, -0.9587666392326355, -2.210094928741455, 0.13294878602027893, 0.28076598048210144, -0.181890070438385, -0.07244288176298141, 1.8092323541641235, 0.4889809191226959, 1.3828166723251343, 1.5095964670181274, 1.1069265604019165, -0.6297404170036316, -1.3800550699234009, 0.8496929407119751, 0.9198314547538757, -1.2861732244491577, 1.0045263767242432, -0.22942893207073212, -0.5750097036361694, 0.557311475276947, 1.261518120765686, 0.42338499426841736, -2.0049266815185547, 0.893265962600708, -1.3267185688018799, 1.0055015087127686, 0.8554574251174927, 0.778141975402832, 0.12204921245574951, 0.9309828877449036, -1.1643908023834229, -1.034441590309143, -0.5620980858802795, -0.7150176763534546, 1.9034444093704224, -0.34762540459632874, 0.3883172571659088, -0.2949559986591339, -1.1582081317901611, 0.14047744870185852, 0.7786060571670532, 0.33101215958595276, -0.38842570781707764, 0.6904707551002502, -0.7041305899620056, -1.0413116216659546, -1.1959689855575562, -0.4175490736961365, -1.1455150842666626, -0.8930445313453674, 1.0210049152374268, 0.6192709803581238, 0.5512123107910156, 1.9322549104690552, 0.7073830366134644, 0.2857382893562317, -2.4733667373657227, 0.8165214657783508, 0.3116874694824219, -0.16477149724960327, 0.7768290042877197, 0.39878591895103455, 1.1982896327972412, -0.10321567952632904, 0.667640209197998, -2.426234006881714, 2.298985719680786, -0.30690068006515503, 0.7177532911300659, 0.11190427839756012, 0.0009457916021347046, 1.0413321256637573, 0.632628858089447, 0.36891600489616394, -1.0117204189300537, 0.8688661456108093, -0.48226743936538696, 1.1249216794967651, 0.9436206817626953, -0.9070104360580444, 0.21473252773284912, 1.1783026456832886, 0.3473210334777832, -0.5935292840003967, -1.0550302267074585, -0.9414158463478088, 0.9491049647331238, 1.7328336238861084, -0.10244167596101761, -0.05352524295449257, 0.6990768313407898, 0.7848353385925293, -1.0938166379928589, 0.054598618298769, -0.5077038407325745, -0.6752744317054749, 1.8039427995681763, 2.0574326515197754, -0.11946175247430801, 0.1100621223449707, -0.6978672742843628, -1.4522979259490967, 0.9064763188362122, 0.12811224162578583, -0.20340682566165924, 0.7236061692237854, -0.6305627822875977, 1.0793319940567017, 0.795126736164093, 0.8277338743209839, 0.265403151512146, -0.010341432876884937, 0.32470789551734924, -0.18993313610553741, -1.1494163274765015, -0.33495330810546875, -1.063185453414917, -2.623626708984375, 0.26942694187164307, -0.2904032766819, -1.4938920736312866, 0.11713647842407227, -0.9306333065032959, 0.7505435347557068, -0.4921274483203888, -1.2145612239837646, -1.4062957763671875, 0.307948499917984, -0.047061577439308167, 0.8887805938720703, -1.694563865661621, -0.12724940478801727, 1.0738226175308228, 0.8216911554336548, -0.6434795260429382, 0.9985541701316833, 0.326206773519516, 0.9099145531654358, 0.852618396282196, -0.3636668026447296, 0.6671266555786133, 0.27537888288497925, -1.3561172485351562, 0.4009488523006439, 1.3997015953063965, 0.09078164398670197, 1.3088825941085815, -0.31258904933929443, -0.046314772218465805, 0.34385326504707336, -0.4441846013069153, -0.5697343945503235, -0.5781854391098022, 0.6239875555038452, -0.10315264016389847, -0.8988379836082458, -0.14328178763389587, -0.021774612367153168, -0.30448099970817566, 0.3460341989994049, -1.4961456060409546, -0.13901931047439575, -0.5382509231567383, -0.47985363006591797, -1.480202555656433, -0.156851664185524, 1.485566258430481, -0.7369977235794067, -0.15660083293914795, 0.5795407891273499, 0.2688206136226654, 0.501065731048584, 0.6757494807243347, -0.723207950592041, -0.1363201141357422, -0.20798829197883606, -0.36675289273262024, 0.33910641074180603, 1.2818081378936768, -0.09984604269266129, -0.941848635673523, 0.5177126526832581, -0.21525560319423676, 0.25338953733444214, 1.8661199808120728, 0.07271499186754227, -0.8265649080276489, 0.4188533127307892, -0.7874683141708374, 1.852707862854004, 1.6843702793121338, 1.2482726573944092, -0.0993402749300003, -0.9086245894432068, 0.6139994263648987, -0.4129085838794708, -0.38508936762809753, 0.8540452122688293, 0.31899702548980713, -0.371315598487854, -1.4279253482818604, 0.8958362936973572, 1.263205885887146, -0.6182683110237122, -0.7851731181144714, 0.11094509065151215, -0.7939884662628174, 1.2943980693817139, 0.5586870908737183, 0.3790750503540039, 0.30014997720718384, 1.6805278062820435, 0.7287091612815857, -0.5519591569900513, 0.5516715049743652, 0.4398799538612366, -0.17533011734485626, -2.0500659942626953, -1.2566462755203247, 0.2319321483373642, -0.5328682661056519, -1.4595898389816284, 1.476041555404663, -1.2464075088500977, -1.0893304347991943, 0.5660552978515625, 0.0456920862197876, 1.2285435199737549, 0.38987258076667786, 1.6238609552383423, 2.0313777923583984, 0.8404351472854614, 0.6615281105041504, 1.1245932579040527, -0.3465691804885864, -0.28359317779541016, 1.6937670707702637, -0.4311729669570923, 0.5954567193984985, 1.1030651330947876, -0.3689970076084137, -1.1537880897521973, -0.800737738609314, -1.1954874992370605, -0.7130904793739319, 0.9974086880683899, 0.09481172263622284, -1.10299551486969, 0.4117718040943146, 1.603989601135254, 0.00382350105792284, -0.12867702543735504, 0.6664934158325195, 0.2886943221092224, -0.6737865805625916, -0.15654490888118744, -1.090667724609375, 0.6232439875602722, -0.48939475417137146, -0.354813814163208, 0.20015108585357666, 0.6393211483955383, 1.2253596782684326, 0.11881349980831146, 0.18988025188446045, 1.1868915557861328, -1.4090499877929688, 1.1613606214523315, -0.9167798161506653, 0.3266071379184723, -2.2438249588012695, 1.3760424852371216, -0.7959249019622803, 1.995460867881775, -2.821845054626465, 0.47014859318733215, -0.4530910849571228, -0.6949531435966492, 0.24176578223705292, -0.1276494711637497, 0.11093578487634659, -0.03162255883216858, -1.0166267156600952, 0.024439357221126556, -0.7236266732215881, 0.474570095539093, 1.2050937414169312, 1.3988349437713623, -0.9773785471916199, -0.2867864966392517, -1.5133647918701172, -0.13352707028388977, -0.5469309091567993, 0.1298363357782364, -1.7879499197006226, -0.13572059571743011, -2.0249485969543457, -2.505424976348877, -1.2859859466552734, -1.027076005935669, 1.3792623281478882, 0.18456311523914337, -0.9289929866790771, 1.2914587259292603, -0.366147518157959, -1.7740260362625122, 1.2025169134140015, -2.1314761638641357 ]
https://github.com/huggingface/datasets/issues/3973
ConnectionError and SSLError
it works,but another error occurs. ``` ConnectionError: Couldn't reach https://s3.amazonaws.com/datasets.huggingface.co/oscar/1.0/unshuffled/deduplicated/it/it_sha256.txt (SSLError(MaxRetryError("HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url: /datasets.huggingface.co/oscar/1.0/unshuffled/deduplicated/it/it_sha256.txt (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))"))) ``` I can access `https://s3.amazonaws.com/datasets.huggingface.co/oscar/1.0/unshuffled/deduplicated/it/it_sha256.txt` and `https://aws.amazon.com/cn/s3/` directly, so why it reports a SSLError, should I need tomodify the host file?
code ``` from datasets import load_dataset dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') ``` bug report ``` --------------------------------------------------------------------------- ConnectionError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_29788/2615425180.py in <module> ----> 1 dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, revision, use_auth_token, task, streaming, **config_kwargs) 1658 1659 # Create a dataset builder -> 1660 builder_instance = load_dataset_builder( 1661 path=path, 1662 name=name, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in load_dataset_builder(path, name, data_dir, data_files, cache_dir, features, download_config, download_mode, revision, use_auth_token, **config_kwargs) 1484 download_config = download_config.copy() if download_config else DownloadConfig() 1485 download_config.use_auth_token = use_auth_token -> 1486 dataset_module = dataset_module_factory( 1487 path, 1488 revision=revision, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in dataset_module_factory(path, revision, download_config, download_mode, force_local_path, dynamic_modules_path, data_dir, data_files, **download_kwargs) 1236 f"Couldn't find '{path}' on the Hugging Face Hub either: {type(e1).__name__}: {e1}" 1237 ) from None -> 1238 raise e1 from None 1239 else: 1240 raise FileNotFoundError( D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in dataset_module_factory(path, revision, download_config, download_mode, force_local_path, dynamic_modules_path, data_dir, data_files, **download_kwargs) 1173 if path.count("/") == 0: # even though the dataset is on the Hub, we get it from GitHub for now 1174 # TODO(QL): use a Hub dataset module factory instead of GitHub -> 1175 return GithubDatasetModuleFactory( 1176 path, 1177 revision=revision, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in get_module(self) 531 revision = self.revision 532 try: --> 533 local_path = self.download_loading_script(revision) 534 except FileNotFoundError: 535 if revision is not None or os.getenv("HF_SCRIPTS_VERSION", None) is not None: D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in download_loading_script(self, revision) 511 if download_config.download_desc is None: 512 download_config.download_desc = "Downloading builder script" --> 513 return cached_path(file_path, download_config=download_config) 514 515 def download_dataset_infos_file(self, revision: Optional[str]) -> str: D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\utils\file_utils.py in cached_path(url_or_filename, download_config, **download_kwargs) 232 if is_remote_url(url_or_filename): 233 # URL, so get it from the cache (downloading if necessary) --> 234 output_path = get_from_cache( 235 url_or_filename, 236 cache_dir=cache_dir, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\utils\file_utils.py in get_from_cache(url, cache_dir, force_download, proxies, etag_timeout, resume_download, user_agent, local_files_only, use_etag, max_retries, use_auth_token, ignore_url_params, download_desc) 580 _raise_if_offline_mode_is_enabled(f"Tried to reach {url}") 581 if head_error is not None: --> 582 raise ConnectionError(f"Couldn't reach {url} ({repr(head_error)})") 583 elif response is not None: 584 raise ConnectionError(f"Couldn't reach {url} (error {response.status_code})") ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/oscar/oscar.py (SSLError(MaxRetryError("HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /huggingface/datasets/2.0.0/datasets/oscar/oscar.py (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))"))) ``` It may be caused by Caused by SSLError(in China?) because it works well on google colab. So how can I download this dataset manually?
870
49
ConnectionError and SSLError code ``` from datasets import load_dataset dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') ``` bug report ``` --------------------------------------------------------------------------- ConnectionError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_29788/2615425180.py in <module> ----> 1 dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, revision, use_auth_token, task, streaming, **config_kwargs) 1658 1659 # Create a dataset builder -> 1660 builder_instance = load_dataset_builder( 1661 path=path, 1662 name=name, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in load_dataset_builder(path, name, data_dir, data_files, cache_dir, features, download_config, download_mode, revision, use_auth_token, **config_kwargs) 1484 download_config = download_config.copy() if download_config else DownloadConfig() 1485 download_config.use_auth_token = use_auth_token -> 1486 dataset_module = dataset_module_factory( 1487 path, 1488 revision=revision, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in dataset_module_factory(path, revision, download_config, download_mode, force_local_path, dynamic_modules_path, data_dir, data_files, **download_kwargs) 1236 f"Couldn't find '{path}' on the Hugging Face Hub either: {type(e1).__name__}: {e1}" 1237 ) from None -> 1238 raise e1 from None 1239 else: 1240 raise FileNotFoundError( D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in dataset_module_factory(path, revision, download_config, download_mode, force_local_path, dynamic_modules_path, data_dir, data_files, **download_kwargs) 1173 if path.count("/") == 0: # even though the dataset is on the Hub, we get it from GitHub for now 1174 # TODO(QL): use a Hub dataset module factory instead of GitHub -> 1175 return GithubDatasetModuleFactory( 1176 path, 1177 revision=revision, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in get_module(self) 531 revision = self.revision 532 try: --> 533 local_path = self.download_loading_script(revision) 534 except FileNotFoundError: 535 if revision is not None or os.getenv("HF_SCRIPTS_VERSION", None) is not None: D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in download_loading_script(self, revision) 511 if download_config.download_desc is None: 512 download_config.download_desc = "Downloading builder script" --> 513 return cached_path(file_path, download_config=download_config) 514 515 def download_dataset_infos_file(self, revision: Optional[str]) -> str: D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\utils\file_utils.py in cached_path(url_or_filename, download_config, **download_kwargs) 232 if is_remote_url(url_or_filename): 233 # URL, so get it from the cache (downloading if necessary) --> 234 output_path = get_from_cache( 235 url_or_filename, 236 cache_dir=cache_dir, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\utils\file_utils.py in get_from_cache(url, cache_dir, force_download, proxies, etag_timeout, resume_download, user_agent, local_files_only, use_etag, max_retries, use_auth_token, ignore_url_params, download_desc) 580 _raise_if_offline_mode_is_enabled(f"Tried to reach {url}") 581 if head_error is not None: --> 582 raise ConnectionError(f"Couldn't reach {url} ({repr(head_error)})") 583 elif response is not None: 584 raise ConnectionError(f"Couldn't reach {url} (error {response.status_code})") ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/oscar/oscar.py (SSLError(MaxRetryError("HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /huggingface/datasets/2.0.0/datasets/oscar/oscar.py (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))"))) ``` It may be caused by Caused by SSLError(in China?) because it works well on google colab. So how can I download this dataset manually? it works,but another error occurs. ``` ConnectionError: Couldn't reach https://s3.amazonaws.com/datasets.huggingface.co/oscar/1.0/unshuffled/deduplicated/it/it_sha256.txt (SSLError(MaxRetryError("HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url: /datasets.huggingface.co/oscar/1.0/unshuffled/deduplicated/it/it_sha256.txt (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))"))) ``` I can access `https://s3.amazonaws.com/datasets.huggingface.co/oscar/1.0/unshuffled/deduplicated/it/it_sha256.txt` and `https://aws.amazon.com/cn/s3/` directly, so why it reports a SSLError, should I need tomodify the host file?
[ -1.235440731048584, -0.8759024143218994, -0.421986848115921, 1.3908907175064087, -0.018101897090673447, -1.3252949714660645, 0.18232299387454987, -0.8930914402008057, 1.5599778890609741, -0.916767418384552, 0.28458231687545776, -1.7725791931152344, 0.030172180384397507, -0.7834498286247253, -0.6383084058761597, -0.6989458203315735, -0.3724548816680908, -0.6938460469245911, 1.192844271659851, 2.3675644397735596, 1.22499418258667, -1.4122655391693115, 2.8712499141693115, 0.6275454163551331, -0.19937440752983093, -0.8273540139198303, 0.45275887846946716, -0.008182806894183159, -1.3428269624710083, -0.3291160464286804, -0.9616085290908813, -0.07730072736740112, -0.7882430553436279, -0.39791038632392883, -0.05525320768356323, 0.5226554274559021, -0.2121475785970688, -0.3366035223007202, -0.4272839426994324, -0.7408086061477661, 0.6120644807815552, -0.306199312210083, 0.890952467918396, -0.23498737812042236, 1.771443247795105, -0.6223929524421692, 0.500429630279541, 0.6048308610916138, 1.1061640977859497, 0.1343206912279129, -0.03391389548778534, 0.34883126616477966, 0.2570500671863556, 0.04623137414455414, 0.6025686264038086, 1.1545778512954712, 0.6958787441253662, 0.5558316707611084, 0.6757551431655884, -2.1761629581451416, 1.4062026739120483, -0.8378961682319641, 0.22871457040309906, 1.3801194429397583, -1.1483523845672607, 0.47829368710517883, -1.807072639465332, -0.183579221367836, 0.4509113132953644, -2.109102725982666, 0.15092003345489502, -1.2567980289459229, -0.5076358318328857, 0.928567111492157, 0.4246126115322113, -1.1674128770828247, 0.05717876926064491, -0.44765761494636536, 1.0097630023956299, 0.30308833718299866, 1.0604664087295532, -1.6788835525512695, 0.09692265093326569, -0.27264341711997986, 0.3344962000846863, -1.2191914319992065, -1.6695606708526611, 0.6764204502105713, 0.658954381942749, 0.7063460350036621, -0.2359878420829773, 0.9872814416885376, -1.1911102533340454, 0.7996138334274292, -1.2087838649749756, -1.6818180084228516, -1.310929298400879, -2.508206605911255, -2.506326198577881, 0.6987608671188354, -0.46030867099761963, -0.4103446900844574, 2.16275954246521, -1.1262017488479614, -1.6501933336257935, 1.0687376260757446, 0.2003561109304428, -0.10688590258359909, 2.3874571323394775, 0.1899287849664688, -0.8904392123222351, 0.7156899571418762, -0.9596907496452332, 0.6768239736557007, -0.2642136812210083, 1.2826519012451172, 0.43221962451934814, -1.0912891626358032, 1.513008713722229, -0.47307735681533813, 0.5697137713432312, -0.6026536822319031, -0.4143325090408325, -0.5668064951896667, 0.08310043811798096, 1.8897535800933838, -0.04544474184513092, 1.5050241947174072, -0.17921458184719086, -1.4811183214187622, -1.3883092403411865, 0.8648536205291748, 0.337202787399292, -0.8908006548881531, 0.21902954578399658, -0.4519510567188263, 0.22022870182991028, 0.14283423125743866, 1.1316064596176147, 1.302743673324585, 0.6900972127914429, -0.2704543471336365, -0.8216456770896912, -0.007244131062179804, -0.16508497297763824, -0.5393899083137512, -1.7425593137741089, -0.20742559432983398, -0.013644486665725708, 0.7256635427474976, -1.081381916999817, 2.0394132137298584, 0.9998623728752136, 1.972245216369629, 0.9460628628730774, -0.37517327070236206, 1.4315857887268066, 0.042164649814367294, 1.8632464408874512, -0.3998605012893677, 0.6885921955108643, -0.5510708093643188, -1.1684291362762451, 0.8360569477081299, -0.303157240152359, -1.945230484008789, -0.44183868169784546, -0.7752155661582947, -0.13607384264469147, -0.9543914198875427, 1.034440517425537, -0.13577277958393097, -1.5361391305923462, 0.24210746586322784, -0.5960306525230408, 0.2640604078769684, -1.346733570098877, 0.28488385677337646, 0.7131368517875671, -0.692949652671814, 0.025517120957374573, -0.39839789271354675, -1.399956464767456, -0.5514506697654724, 0.5252938270568848, 1.7113349437713623, -0.6158955097198486, 0.9826768040657043, 1.0793551206588745, -0.5375888347625732, -0.07775211334228516, 0.36862069368362427, -0.26903948187828064, 0.7603272199630737, -0.9964005351066589, -0.5265965461730957, 1.1695679426193237, -0.43196648359298706, -0.4238576591014862, 1.3927273750305176, 0.6869043707847595, -1.069675087928772, -0.25977179408073425, -0.16580472886562347, -0.9289855360984802, 0.055668044835329056, -1.5613433122634888, -0.05340814217925072, 0.4800691306591034, -1.517190933227539, -0.34972140192985535, -0.04266788810491562, 1.3210711479187012, -0.037231478840112686, 1.3407628536224365, -0.2551758289337158, -0.04090452566742897, -0.4457591474056244, -0.5438448190689087, 0.19461141526699066, -0.050205864012241364, -0.4789343476295471, 0.21145209670066833, -0.805514931678772, 0.1927235871553421, 1.57127845287323, 0.14249780774116516, 0.0961882546544075, 0.3915310204029083, 1.1836198568344116, 0.293097585439682, -0.12399677187204361, -0.7762988805770874, -1.5871790647506714, 1.9904779195785522, -1.7135456800460815, 1.9538600444793701, 0.7194607257843018, -0.0323251448571682, -1.8106039762496948, -1.693514347076416, 1.495786428451538, 1.1557390689849854, 2.3940093517303467, 0.4611426591873169, 0.36184853315353394, -0.8361960649490356, -0.6265813112258911, 0.4892357885837555, -0.7696384787559509, -0.7450350522994995, 0.24714283645153046, 2.3790671825408936, 1.729477047920227, -0.35962143540382385, -0.16207186877727509, -0.8800560235977173, 1.4292515516281128, -0.2990105450153351, 0.30644848942756653, 1.9751659631729126, -0.5374045372009277, -1.0589338541030884, 1.3281711339950562, -2.525054931640625, 0.2878156304359436, 2.03413987159729, 0.41432368755340576, 0.10432278364896774, -1.1689207553863525, -0.6783264875411987, -0.30572834610939026, -0.5252242684364319, -1.2946066856384277, 0.43098416924476624, -0.28693336248397827, -0.7262618541717529, -1.378487229347229, 0.07075463235378265, -1.1830693483352661, -1.8328777551651, 0.37502697110176086, 1.745530366897583, 2.2883830070495605, -0.8190243244171143, 1.3511501550674438, -0.3435114920139313, 0.40362855792045593, 1.1508214473724365, 1.265962839126587, 3.119873523712158, 1.9163800477981567, -1.2314517498016357, 0.6791576743125916, -0.21013571321964264, -0.5600471496582031, 1.1935588121414185, -1.0288654565811157, 1.2597684860229492, -0.24375379085540771, -1.302963137626648, -1.2736588716506958, 0.9431229829788208, 0.3703272044658661, -0.04692154750227928, -0.4820430278778076, 1.1826444864273071, 0.22941003739833832, 1.302815318107605, 0.6094430685043335, -0.29788559675216675, 0.4437423348426819, -0.471414178609848, -0.6447129845619202, 1.5780705213546753, 0.1596992164850235, -1.5813997983932495, -2.2748119831085205, -0.2722594738006592, -1.0080249309539795, 0.05993306264281273, -0.9180352687835693, -0.9829651117324829, 1.464914083480835, 0.4039934277534485, -0.9753299951553345, -0.03622907027602196, -0.3473752439022064, -0.4830635190010071, 2.658916473388672, -1.2692946195602417, -0.15928898751735687, -0.8977301120758057, -0.7373467087745667, 1.549073576927185, -1.2163894176483154, -0.2910434603691101, -1.124866008758545, -0.576126217842102, -1.2330646514892578, -0.34135913848876953, -0.10828930884599686, -0.8569464087486267, 0.7408296465873718, 0.04268708452582359, -1.349469780921936, -0.3436258137226105, -1.0458186864852905, 0.9398339986801147, -0.29417893290519714, 0.08449743688106537, 1.5827077627182007, 0.18335410952568054, -0.4815267324447632, 0.8801550269126892, 1.2466059923171997, 0.6690692901611328, -0.6146227717399597, 0.01335096638649702, -0.6540752649307251, 0.5957152843475342, -1.0818599462509155, 0.32356327772140503, -2.97695255279541, 0.6269624829292297, -0.009064864367246628, -0.07046453654766083, -0.23084057867527008, -1.5799850225448608, 0.9334328770637512, 2.4456725120544434, -1.1620274782180786, 0.6474888920783997, 0.3812471032142639, 1.213355302810669, -1.601040244102478, 0.06424098461866379, -0.7181236743927002, 2.0721774101257324, 0.12009206414222717, 1.0771549940109253, -0.570237398147583, -2.4368059635162354, 0.5602502822875977, -1.2126363515853882, -0.9855303764343262, 0.8570501208305359, -0.8905866146087646, 0.28151702880859375, -1.1249464750289917, -0.16396375000476837, -1.0200611352920532, -1.1312721967697144, 0.4804604947566986, 0.11767302453517914, 0.632747232913971, -0.634274423122406, 0.22244364023208618, -2.2851157188415527, -1.3699798583984375, -0.1778596043586731, -0.9172161221504211, 0.523868203163147, -0.5054362416267395, 0.604062557220459, -0.017455581575632095, 0.06296398490667343, 0.3482707142829895, 1.5462799072265625, 3.2071731090545654, -0.02300865948200226, 0.30212363600730896, -0.2029048204421997, -1.0364736318588257, 1.5313705205917358, 0.8332002758979797, -0.1941755712032318, -0.5696680545806885, -0.966234028339386, 1.3432652950286865, 1.8729017972946167, 1.0081897974014282, -0.07464496791362762, -0.8251063823699951, -0.7109149694442749, 0.11650794744491577, 0.1385592669248581, 0.5108498334884644, 0.927213728427887, 0.1067064180970192, 0.1709817796945572, 1.3608531951904297, 0.9532673954963684, -0.28964370489120483, 0.4166518449783325, -0.8700388073921204, -0.35305261611938477, 0.5265870094299316, 0.2671627402305603, -0.026592358946800232, 0.2942487597465515, -0.9343395829200745, -0.251951664686203, -0.21482831239700317, -0.7838414907455444, -0.762702465057373, -0.37788036465644836, -0.5083773732185364, 1.7493840456008911, -0.05441492795944214, -0.6281349658966064, 0.04014825448393822, -0.7019894123077393, -0.2514885365962982, -1.0632132291793823, 0.25459355115890503, -0.12390764057636261, 0.050885576754808426, -0.20585376024246216, 1.700209379196167, -0.9587666392326355, -2.210094928741455, 0.13294878602027893, 0.28076598048210144, -0.181890070438385, -0.07244288176298141, 1.8092323541641235, 0.4889809191226959, 1.3828166723251343, 1.5095964670181274, 1.1069265604019165, -0.6297404170036316, -1.3800550699234009, 0.8496929407119751, 0.9198314547538757, -1.2861732244491577, 1.0045263767242432, -0.22942893207073212, -0.5750097036361694, 0.557311475276947, 1.261518120765686, 0.42338499426841736, -2.0049266815185547, 0.893265962600708, -1.3267185688018799, 1.0055015087127686, 0.8554574251174927, 0.778141975402832, 0.12204921245574951, 0.9309828877449036, -1.1643908023834229, -1.034441590309143, -0.5620980858802795, -0.7150176763534546, 1.9034444093704224, -0.34762540459632874, 0.3883172571659088, -0.2949559986591339, -1.1582081317901611, 0.14047744870185852, 0.7786060571670532, 0.33101215958595276, -0.38842570781707764, 0.6904707551002502, -0.7041305899620056, -1.0413116216659546, -1.1959689855575562, -0.4175490736961365, -1.1455150842666626, -0.8930445313453674, 1.0210049152374268, 0.6192709803581238, 0.5512123107910156, 1.9322549104690552, 0.7073830366134644, 0.2857382893562317, -2.4733667373657227, 0.8165214657783508, 0.3116874694824219, -0.16477149724960327, 0.7768290042877197, 0.39878591895103455, 1.1982896327972412, -0.10321567952632904, 0.667640209197998, -2.426234006881714, 2.298985719680786, -0.30690068006515503, 0.7177532911300659, 0.11190427839756012, 0.0009457916021347046, 1.0413321256637573, 0.632628858089447, 0.36891600489616394, -1.0117204189300537, 0.8688661456108093, -0.48226743936538696, 1.1249216794967651, 0.9436206817626953, -0.9070104360580444, 0.21473252773284912, 1.1783026456832886, 0.3473210334777832, -0.5935292840003967, -1.0550302267074585, -0.9414158463478088, 0.9491049647331238, 1.7328336238861084, -0.10244167596101761, -0.05352524295449257, 0.6990768313407898, 0.7848353385925293, -1.0938166379928589, 0.054598618298769, -0.5077038407325745, -0.6752744317054749, 1.8039427995681763, 2.0574326515197754, -0.11946175247430801, 0.1100621223449707, -0.6978672742843628, -1.4522979259490967, 0.9064763188362122, 0.12811224162578583, -0.20340682566165924, 0.7236061692237854, -0.6305627822875977, 1.0793319940567017, 0.795126736164093, 0.8277338743209839, 0.265403151512146, -0.010341432876884937, 0.32470789551734924, -0.18993313610553741, -1.1494163274765015, -0.33495330810546875, -1.063185453414917, -2.623626708984375, 0.26942694187164307, -0.2904032766819, -1.4938920736312866, 0.11713647842407227, -0.9306333065032959, 0.7505435347557068, -0.4921274483203888, -1.2145612239837646, -1.4062957763671875, 0.307948499917984, -0.047061577439308167, 0.8887805938720703, -1.694563865661621, -0.12724940478801727, 1.0738226175308228, 0.8216911554336548, -0.6434795260429382, 0.9985541701316833, 0.326206773519516, 0.9099145531654358, 0.852618396282196, -0.3636668026447296, 0.6671266555786133, 0.27537888288497925, -1.3561172485351562, 0.4009488523006439, 1.3997015953063965, 0.09078164398670197, 1.3088825941085815, -0.31258904933929443, -0.046314772218465805, 0.34385326504707336, -0.4441846013069153, -0.5697343945503235, -0.5781854391098022, 0.6239875555038452, -0.10315264016389847, -0.8988379836082458, -0.14328178763389587, -0.021774612367153168, -0.30448099970817566, 0.3460341989994049, -1.4961456060409546, -0.13901931047439575, -0.5382509231567383, -0.47985363006591797, -1.480202555656433, -0.156851664185524, 1.485566258430481, -0.7369977235794067, -0.15660083293914795, 0.5795407891273499, 0.2688206136226654, 0.501065731048584, 0.6757494807243347, -0.723207950592041, -0.1363201141357422, -0.20798829197883606, -0.36675289273262024, 0.33910641074180603, 1.2818081378936768, -0.09984604269266129, -0.941848635673523, 0.5177126526832581, -0.21525560319423676, 0.25338953733444214, 1.8661199808120728, 0.07271499186754227, -0.8265649080276489, 0.4188533127307892, -0.7874683141708374, 1.852707862854004, 1.6843702793121338, 1.2482726573944092, -0.0993402749300003, -0.9086245894432068, 0.6139994263648987, -0.4129085838794708, -0.38508936762809753, 0.8540452122688293, 0.31899702548980713, -0.371315598487854, -1.4279253482818604, 0.8958362936973572, 1.263205885887146, -0.6182683110237122, -0.7851731181144714, 0.11094509065151215, -0.7939884662628174, 1.2943980693817139, 0.5586870908737183, 0.3790750503540039, 0.30014997720718384, 1.6805278062820435, 0.7287091612815857, -0.5519591569900513, 0.5516715049743652, 0.4398799538612366, -0.17533011734485626, -2.0500659942626953, -1.2566462755203247, 0.2319321483373642, -0.5328682661056519, -1.4595898389816284, 1.476041555404663, -1.2464075088500977, -1.0893304347991943, 0.5660552978515625, 0.0456920862197876, 1.2285435199737549, 0.38987258076667786, 1.6238609552383423, 2.0313777923583984, 0.8404351472854614, 0.6615281105041504, 1.1245932579040527, -0.3465691804885864, -0.28359317779541016, 1.6937670707702637, -0.4311729669570923, 0.5954567193984985, 1.1030651330947876, -0.3689970076084137, -1.1537880897521973, -0.800737738609314, -1.1954874992370605, -0.7130904793739319, 0.9974086880683899, 0.09481172263622284, -1.10299551486969, 0.4117718040943146, 1.603989601135254, 0.00382350105792284, -0.12867702543735504, 0.6664934158325195, 0.2886943221092224, -0.6737865805625916, -0.15654490888118744, -1.090667724609375, 0.6232439875602722, -0.48939475417137146, -0.354813814163208, 0.20015108585357666, 0.6393211483955383, 1.2253596782684326, 0.11881349980831146, 0.18988025188446045, 1.1868915557861328, -1.4090499877929688, 1.1613606214523315, -0.9167798161506653, 0.3266071379184723, -2.2438249588012695, 1.3760424852371216, -0.7959249019622803, 1.995460867881775, -2.821845054626465, 0.47014859318733215, -0.4530910849571228, -0.6949531435966492, 0.24176578223705292, -0.1276494711637497, 0.11093578487634659, -0.03162255883216858, -1.0166267156600952, 0.024439357221126556, -0.7236266732215881, 0.474570095539093, 1.2050937414169312, 1.3988349437713623, -0.9773785471916199, -0.2867864966392517, -1.5133647918701172, -0.13352707028388977, -0.5469309091567993, 0.1298363357782364, -1.7879499197006226, -0.13572059571743011, -2.0249485969543457, -2.505424976348877, -1.2859859466552734, -1.027076005935669, 1.3792623281478882, 0.18456311523914337, -0.9289929866790771, 1.2914587259292603, -0.366147518157959, -1.7740260362625122, 1.2025169134140015, -2.1314761638641357 ]
https://github.com/huggingface/datasets/issues/3973
ConnectionError and SSLError
you are so wise! it report [ConnectionError] in python 3.9.7 and works well in python 3.8.12 I need you help again: how can I specify the path for download files? the data is too large and my C hardware is not enough
code ``` from datasets import load_dataset dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') ``` bug report ``` --------------------------------------------------------------------------- ConnectionError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_29788/2615425180.py in <module> ----> 1 dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, revision, use_auth_token, task, streaming, **config_kwargs) 1658 1659 # Create a dataset builder -> 1660 builder_instance = load_dataset_builder( 1661 path=path, 1662 name=name, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in load_dataset_builder(path, name, data_dir, data_files, cache_dir, features, download_config, download_mode, revision, use_auth_token, **config_kwargs) 1484 download_config = download_config.copy() if download_config else DownloadConfig() 1485 download_config.use_auth_token = use_auth_token -> 1486 dataset_module = dataset_module_factory( 1487 path, 1488 revision=revision, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in dataset_module_factory(path, revision, download_config, download_mode, force_local_path, dynamic_modules_path, data_dir, data_files, **download_kwargs) 1236 f"Couldn't find '{path}' on the Hugging Face Hub either: {type(e1).__name__}: {e1}" 1237 ) from None -> 1238 raise e1 from None 1239 else: 1240 raise FileNotFoundError( D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in dataset_module_factory(path, revision, download_config, download_mode, force_local_path, dynamic_modules_path, data_dir, data_files, **download_kwargs) 1173 if path.count("/") == 0: # even though the dataset is on the Hub, we get it from GitHub for now 1174 # TODO(QL): use a Hub dataset module factory instead of GitHub -> 1175 return GithubDatasetModuleFactory( 1176 path, 1177 revision=revision, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in get_module(self) 531 revision = self.revision 532 try: --> 533 local_path = self.download_loading_script(revision) 534 except FileNotFoundError: 535 if revision is not None or os.getenv("HF_SCRIPTS_VERSION", None) is not None: D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in download_loading_script(self, revision) 511 if download_config.download_desc is None: 512 download_config.download_desc = "Downloading builder script" --> 513 return cached_path(file_path, download_config=download_config) 514 515 def download_dataset_infos_file(self, revision: Optional[str]) -> str: D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\utils\file_utils.py in cached_path(url_or_filename, download_config, **download_kwargs) 232 if is_remote_url(url_or_filename): 233 # URL, so get it from the cache (downloading if necessary) --> 234 output_path = get_from_cache( 235 url_or_filename, 236 cache_dir=cache_dir, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\utils\file_utils.py in get_from_cache(url, cache_dir, force_download, proxies, etag_timeout, resume_download, user_agent, local_files_only, use_etag, max_retries, use_auth_token, ignore_url_params, download_desc) 580 _raise_if_offline_mode_is_enabled(f"Tried to reach {url}") 581 if head_error is not None: --> 582 raise ConnectionError(f"Couldn't reach {url} ({repr(head_error)})") 583 elif response is not None: 584 raise ConnectionError(f"Couldn't reach {url} (error {response.status_code})") ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/oscar/oscar.py (SSLError(MaxRetryError("HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /huggingface/datasets/2.0.0/datasets/oscar/oscar.py (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))"))) ``` It may be caused by Caused by SSLError(in China?) because it works well on google colab. So how can I download this dataset manually?
870
42
ConnectionError and SSLError code ``` from datasets import load_dataset dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') ``` bug report ``` --------------------------------------------------------------------------- ConnectionError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_29788/2615425180.py in <module> ----> 1 dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, revision, use_auth_token, task, streaming, **config_kwargs) 1658 1659 # Create a dataset builder -> 1660 builder_instance = load_dataset_builder( 1661 path=path, 1662 name=name, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in load_dataset_builder(path, name, data_dir, data_files, cache_dir, features, download_config, download_mode, revision, use_auth_token, **config_kwargs) 1484 download_config = download_config.copy() if download_config else DownloadConfig() 1485 download_config.use_auth_token = use_auth_token -> 1486 dataset_module = dataset_module_factory( 1487 path, 1488 revision=revision, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in dataset_module_factory(path, revision, download_config, download_mode, force_local_path, dynamic_modules_path, data_dir, data_files, **download_kwargs) 1236 f"Couldn't find '{path}' on the Hugging Face Hub either: {type(e1).__name__}: {e1}" 1237 ) from None -> 1238 raise e1 from None 1239 else: 1240 raise FileNotFoundError( D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in dataset_module_factory(path, revision, download_config, download_mode, force_local_path, dynamic_modules_path, data_dir, data_files, **download_kwargs) 1173 if path.count("/") == 0: # even though the dataset is on the Hub, we get it from GitHub for now 1174 # TODO(QL): use a Hub dataset module factory instead of GitHub -> 1175 return GithubDatasetModuleFactory( 1176 path, 1177 revision=revision, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in get_module(self) 531 revision = self.revision 532 try: --> 533 local_path = self.download_loading_script(revision) 534 except FileNotFoundError: 535 if revision is not None or os.getenv("HF_SCRIPTS_VERSION", None) is not None: D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in download_loading_script(self, revision) 511 if download_config.download_desc is None: 512 download_config.download_desc = "Downloading builder script" --> 513 return cached_path(file_path, download_config=download_config) 514 515 def download_dataset_infos_file(self, revision: Optional[str]) -> str: D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\utils\file_utils.py in cached_path(url_or_filename, download_config, **download_kwargs) 232 if is_remote_url(url_or_filename): 233 # URL, so get it from the cache (downloading if necessary) --> 234 output_path = get_from_cache( 235 url_or_filename, 236 cache_dir=cache_dir, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\utils\file_utils.py in get_from_cache(url, cache_dir, force_download, proxies, etag_timeout, resume_download, user_agent, local_files_only, use_etag, max_retries, use_auth_token, ignore_url_params, download_desc) 580 _raise_if_offline_mode_is_enabled(f"Tried to reach {url}") 581 if head_error is not None: --> 582 raise ConnectionError(f"Couldn't reach {url} ({repr(head_error)})") 583 elif response is not None: 584 raise ConnectionError(f"Couldn't reach {url} (error {response.status_code})") ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/oscar/oscar.py (SSLError(MaxRetryError("HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /huggingface/datasets/2.0.0/datasets/oscar/oscar.py (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))"))) ``` It may be caused by Caused by SSLError(in China?) because it works well on google colab. So how can I download this dataset manually? you are so wise! it report [ConnectionError] in python 3.9.7 and works well in python 3.8.12 I need you help again: how can I specify the path for download files? the data is too large and my C hardware is not enough
[ -1.235440731048584, -0.8759024143218994, -0.421986848115921, 1.3908907175064087, -0.018101897090673447, -1.3252949714660645, 0.18232299387454987, -0.8930914402008057, 1.5599778890609741, -0.916767418384552, 0.28458231687545776, -1.7725791931152344, 0.030172180384397507, -0.7834498286247253, -0.6383084058761597, -0.6989458203315735, -0.3724548816680908, -0.6938460469245911, 1.192844271659851, 2.3675644397735596, 1.22499418258667, -1.4122655391693115, 2.8712499141693115, 0.6275454163551331, -0.19937440752983093, -0.8273540139198303, 0.45275887846946716, -0.008182806894183159, -1.3428269624710083, -0.3291160464286804, -0.9616085290908813, -0.07730072736740112, -0.7882430553436279, -0.39791038632392883, -0.05525320768356323, 0.5226554274559021, -0.2121475785970688, -0.3366035223007202, -0.4272839426994324, -0.7408086061477661, 0.6120644807815552, -0.306199312210083, 0.890952467918396, -0.23498737812042236, 1.771443247795105, -0.6223929524421692, 0.500429630279541, 0.6048308610916138, 1.1061640977859497, 0.1343206912279129, -0.03391389548778534, 0.34883126616477966, 0.2570500671863556, 0.04623137414455414, 0.6025686264038086, 1.1545778512954712, 0.6958787441253662, 0.5558316707611084, 0.6757551431655884, -2.1761629581451416, 1.4062026739120483, -0.8378961682319641, 0.22871457040309906, 1.3801194429397583, -1.1483523845672607, 0.47829368710517883, -1.807072639465332, -0.183579221367836, 0.4509113132953644, -2.109102725982666, 0.15092003345489502, -1.2567980289459229, -0.5076358318328857, 0.928567111492157, 0.4246126115322113, -1.1674128770828247, 0.05717876926064491, -0.44765761494636536, 1.0097630023956299, 0.30308833718299866, 1.0604664087295532, -1.6788835525512695, 0.09692265093326569, -0.27264341711997986, 0.3344962000846863, -1.2191914319992065, -1.6695606708526611, 0.6764204502105713, 0.658954381942749, 0.7063460350036621, -0.2359878420829773, 0.9872814416885376, -1.1911102533340454, 0.7996138334274292, -1.2087838649749756, -1.6818180084228516, -1.310929298400879, -2.508206605911255, -2.506326198577881, 0.6987608671188354, -0.46030867099761963, -0.4103446900844574, 2.16275954246521, -1.1262017488479614, -1.6501933336257935, 1.0687376260757446, 0.2003561109304428, -0.10688590258359909, 2.3874571323394775, 0.1899287849664688, -0.8904392123222351, 0.7156899571418762, -0.9596907496452332, 0.6768239736557007, -0.2642136812210083, 1.2826519012451172, 0.43221962451934814, -1.0912891626358032, 1.513008713722229, -0.47307735681533813, 0.5697137713432312, -0.6026536822319031, -0.4143325090408325, -0.5668064951896667, 0.08310043811798096, 1.8897535800933838, -0.04544474184513092, 1.5050241947174072, -0.17921458184719086, -1.4811183214187622, -1.3883092403411865, 0.8648536205291748, 0.337202787399292, -0.8908006548881531, 0.21902954578399658, -0.4519510567188263, 0.22022870182991028, 0.14283423125743866, 1.1316064596176147, 1.302743673324585, 0.6900972127914429, -0.2704543471336365, -0.8216456770896912, -0.007244131062179804, -0.16508497297763824, -0.5393899083137512, -1.7425593137741089, -0.20742559432983398, -0.013644486665725708, 0.7256635427474976, -1.081381916999817, 2.0394132137298584, 0.9998623728752136, 1.972245216369629, 0.9460628628730774, -0.37517327070236206, 1.4315857887268066, 0.042164649814367294, 1.8632464408874512, -0.3998605012893677, 0.6885921955108643, -0.5510708093643188, -1.1684291362762451, 0.8360569477081299, -0.303157240152359, -1.945230484008789, -0.44183868169784546, -0.7752155661582947, -0.13607384264469147, -0.9543914198875427, 1.034440517425537, -0.13577277958393097, -1.5361391305923462, 0.24210746586322784, -0.5960306525230408, 0.2640604078769684, -1.346733570098877, 0.28488385677337646, 0.7131368517875671, -0.692949652671814, 0.025517120957374573, -0.39839789271354675, -1.399956464767456, -0.5514506697654724, 0.5252938270568848, 1.7113349437713623, -0.6158955097198486, 0.9826768040657043, 1.0793551206588745, -0.5375888347625732, -0.07775211334228516, 0.36862069368362427, -0.26903948187828064, 0.7603272199630737, -0.9964005351066589, -0.5265965461730957, 1.1695679426193237, -0.43196648359298706, -0.4238576591014862, 1.3927273750305176, 0.6869043707847595, -1.069675087928772, -0.25977179408073425, -0.16580472886562347, -0.9289855360984802, 0.055668044835329056, -1.5613433122634888, -0.05340814217925072, 0.4800691306591034, -1.517190933227539, -0.34972140192985535, -0.04266788810491562, 1.3210711479187012, -0.037231478840112686, 1.3407628536224365, -0.2551758289337158, -0.04090452566742897, -0.4457591474056244, -0.5438448190689087, 0.19461141526699066, -0.050205864012241364, -0.4789343476295471, 0.21145209670066833, -0.805514931678772, 0.1927235871553421, 1.57127845287323, 0.14249780774116516, 0.0961882546544075, 0.3915310204029083, 1.1836198568344116, 0.293097585439682, -0.12399677187204361, -0.7762988805770874, -1.5871790647506714, 1.9904779195785522, -1.7135456800460815, 1.9538600444793701, 0.7194607257843018, -0.0323251448571682, -1.8106039762496948, -1.693514347076416, 1.495786428451538, 1.1557390689849854, 2.3940093517303467, 0.4611426591873169, 0.36184853315353394, -0.8361960649490356, -0.6265813112258911, 0.4892357885837555, -0.7696384787559509, -0.7450350522994995, 0.24714283645153046, 2.3790671825408936, 1.729477047920227, -0.35962143540382385, -0.16207186877727509, -0.8800560235977173, 1.4292515516281128, -0.2990105450153351, 0.30644848942756653, 1.9751659631729126, -0.5374045372009277, -1.0589338541030884, 1.3281711339950562, -2.525054931640625, 0.2878156304359436, 2.03413987159729, 0.41432368755340576, 0.10432278364896774, -1.1689207553863525, -0.6783264875411987, -0.30572834610939026, -0.5252242684364319, -1.2946066856384277, 0.43098416924476624, -0.28693336248397827, -0.7262618541717529, -1.378487229347229, 0.07075463235378265, -1.1830693483352661, -1.8328777551651, 0.37502697110176086, 1.745530366897583, 2.2883830070495605, -0.8190243244171143, 1.3511501550674438, -0.3435114920139313, 0.40362855792045593, 1.1508214473724365, 1.265962839126587, 3.119873523712158, 1.9163800477981567, -1.2314517498016357, 0.6791576743125916, -0.21013571321964264, -0.5600471496582031, 1.1935588121414185, -1.0288654565811157, 1.2597684860229492, -0.24375379085540771, -1.302963137626648, -1.2736588716506958, 0.9431229829788208, 0.3703272044658661, -0.04692154750227928, -0.4820430278778076, 1.1826444864273071, 0.22941003739833832, 1.302815318107605, 0.6094430685043335, -0.29788559675216675, 0.4437423348426819, -0.471414178609848, -0.6447129845619202, 1.5780705213546753, 0.1596992164850235, -1.5813997983932495, -2.2748119831085205, -0.2722594738006592, -1.0080249309539795, 0.05993306264281273, -0.9180352687835693, -0.9829651117324829, 1.464914083480835, 0.4039934277534485, -0.9753299951553345, -0.03622907027602196, -0.3473752439022064, -0.4830635190010071, 2.658916473388672, -1.2692946195602417, -0.15928898751735687, -0.8977301120758057, -0.7373467087745667, 1.549073576927185, -1.2163894176483154, -0.2910434603691101, -1.124866008758545, -0.576126217842102, -1.2330646514892578, -0.34135913848876953, -0.10828930884599686, -0.8569464087486267, 0.7408296465873718, 0.04268708452582359, -1.349469780921936, -0.3436258137226105, -1.0458186864852905, 0.9398339986801147, -0.29417893290519714, 0.08449743688106537, 1.5827077627182007, 0.18335410952568054, -0.4815267324447632, 0.8801550269126892, 1.2466059923171997, 0.6690692901611328, -0.6146227717399597, 0.01335096638649702, -0.6540752649307251, 0.5957152843475342, -1.0818599462509155, 0.32356327772140503, -2.97695255279541, 0.6269624829292297, -0.009064864367246628, -0.07046453654766083, -0.23084057867527008, -1.5799850225448608, 0.9334328770637512, 2.4456725120544434, -1.1620274782180786, 0.6474888920783997, 0.3812471032142639, 1.213355302810669, -1.601040244102478, 0.06424098461866379, -0.7181236743927002, 2.0721774101257324, 0.12009206414222717, 1.0771549940109253, -0.570237398147583, -2.4368059635162354, 0.5602502822875977, -1.2126363515853882, -0.9855303764343262, 0.8570501208305359, -0.8905866146087646, 0.28151702880859375, -1.1249464750289917, -0.16396375000476837, -1.0200611352920532, -1.1312721967697144, 0.4804604947566986, 0.11767302453517914, 0.632747232913971, -0.634274423122406, 0.22244364023208618, -2.2851157188415527, -1.3699798583984375, -0.1778596043586731, -0.9172161221504211, 0.523868203163147, -0.5054362416267395, 0.604062557220459, -0.017455581575632095, 0.06296398490667343, 0.3482707142829895, 1.5462799072265625, 3.2071731090545654, -0.02300865948200226, 0.30212363600730896, -0.2029048204421997, -1.0364736318588257, 1.5313705205917358, 0.8332002758979797, -0.1941755712032318, -0.5696680545806885, -0.966234028339386, 1.3432652950286865, 1.8729017972946167, 1.0081897974014282, -0.07464496791362762, -0.8251063823699951, -0.7109149694442749, 0.11650794744491577, 0.1385592669248581, 0.5108498334884644, 0.927213728427887, 0.1067064180970192, 0.1709817796945572, 1.3608531951904297, 0.9532673954963684, -0.28964370489120483, 0.4166518449783325, -0.8700388073921204, -0.35305261611938477, 0.5265870094299316, 0.2671627402305603, -0.026592358946800232, 0.2942487597465515, -0.9343395829200745, -0.251951664686203, -0.21482831239700317, -0.7838414907455444, -0.762702465057373, -0.37788036465644836, -0.5083773732185364, 1.7493840456008911, -0.05441492795944214, -0.6281349658966064, 0.04014825448393822, -0.7019894123077393, -0.2514885365962982, -1.0632132291793823, 0.25459355115890503, -0.12390764057636261, 0.050885576754808426, -0.20585376024246216, 1.700209379196167, -0.9587666392326355, -2.210094928741455, 0.13294878602027893, 0.28076598048210144, -0.181890070438385, -0.07244288176298141, 1.8092323541641235, 0.4889809191226959, 1.3828166723251343, 1.5095964670181274, 1.1069265604019165, -0.6297404170036316, -1.3800550699234009, 0.8496929407119751, 0.9198314547538757, -1.2861732244491577, 1.0045263767242432, -0.22942893207073212, -0.5750097036361694, 0.557311475276947, 1.261518120765686, 0.42338499426841736, -2.0049266815185547, 0.893265962600708, -1.3267185688018799, 1.0055015087127686, 0.8554574251174927, 0.778141975402832, 0.12204921245574951, 0.9309828877449036, -1.1643908023834229, -1.034441590309143, -0.5620980858802795, -0.7150176763534546, 1.9034444093704224, -0.34762540459632874, 0.3883172571659088, -0.2949559986591339, -1.1582081317901611, 0.14047744870185852, 0.7786060571670532, 0.33101215958595276, -0.38842570781707764, 0.6904707551002502, -0.7041305899620056, -1.0413116216659546, -1.1959689855575562, -0.4175490736961365, -1.1455150842666626, -0.8930445313453674, 1.0210049152374268, 0.6192709803581238, 0.5512123107910156, 1.9322549104690552, 0.7073830366134644, 0.2857382893562317, -2.4733667373657227, 0.8165214657783508, 0.3116874694824219, -0.16477149724960327, 0.7768290042877197, 0.39878591895103455, 1.1982896327972412, -0.10321567952632904, 0.667640209197998, -2.426234006881714, 2.298985719680786, -0.30690068006515503, 0.7177532911300659, 0.11190427839756012, 0.0009457916021347046, 1.0413321256637573, 0.632628858089447, 0.36891600489616394, -1.0117204189300537, 0.8688661456108093, -0.48226743936538696, 1.1249216794967651, 0.9436206817626953, -0.9070104360580444, 0.21473252773284912, 1.1783026456832886, 0.3473210334777832, -0.5935292840003967, -1.0550302267074585, -0.9414158463478088, 0.9491049647331238, 1.7328336238861084, -0.10244167596101761, -0.05352524295449257, 0.6990768313407898, 0.7848353385925293, -1.0938166379928589, 0.054598618298769, -0.5077038407325745, -0.6752744317054749, 1.8039427995681763, 2.0574326515197754, -0.11946175247430801, 0.1100621223449707, -0.6978672742843628, -1.4522979259490967, 0.9064763188362122, 0.12811224162578583, -0.20340682566165924, 0.7236061692237854, -0.6305627822875977, 1.0793319940567017, 0.795126736164093, 0.8277338743209839, 0.265403151512146, -0.010341432876884937, 0.32470789551734924, -0.18993313610553741, -1.1494163274765015, -0.33495330810546875, -1.063185453414917, -2.623626708984375, 0.26942694187164307, -0.2904032766819, -1.4938920736312866, 0.11713647842407227, -0.9306333065032959, 0.7505435347557068, -0.4921274483203888, -1.2145612239837646, -1.4062957763671875, 0.307948499917984, -0.047061577439308167, 0.8887805938720703, -1.694563865661621, -0.12724940478801727, 1.0738226175308228, 0.8216911554336548, -0.6434795260429382, 0.9985541701316833, 0.326206773519516, 0.9099145531654358, 0.852618396282196, -0.3636668026447296, 0.6671266555786133, 0.27537888288497925, -1.3561172485351562, 0.4009488523006439, 1.3997015953063965, 0.09078164398670197, 1.3088825941085815, -0.31258904933929443, -0.046314772218465805, 0.34385326504707336, -0.4441846013069153, -0.5697343945503235, -0.5781854391098022, 0.6239875555038452, -0.10315264016389847, -0.8988379836082458, -0.14328178763389587, -0.021774612367153168, -0.30448099970817566, 0.3460341989994049, -1.4961456060409546, -0.13901931047439575, -0.5382509231567383, -0.47985363006591797, -1.480202555656433, -0.156851664185524, 1.485566258430481, -0.7369977235794067, -0.15660083293914795, 0.5795407891273499, 0.2688206136226654, 0.501065731048584, 0.6757494807243347, -0.723207950592041, -0.1363201141357422, -0.20798829197883606, -0.36675289273262024, 0.33910641074180603, 1.2818081378936768, -0.09984604269266129, -0.941848635673523, 0.5177126526832581, -0.21525560319423676, 0.25338953733444214, 1.8661199808120728, 0.07271499186754227, -0.8265649080276489, 0.4188533127307892, -0.7874683141708374, 1.852707862854004, 1.6843702793121338, 1.2482726573944092, -0.0993402749300003, -0.9086245894432068, 0.6139994263648987, -0.4129085838794708, -0.38508936762809753, 0.8540452122688293, 0.31899702548980713, -0.371315598487854, -1.4279253482818604, 0.8958362936973572, 1.263205885887146, -0.6182683110237122, -0.7851731181144714, 0.11094509065151215, -0.7939884662628174, 1.2943980693817139, 0.5586870908737183, 0.3790750503540039, 0.30014997720718384, 1.6805278062820435, 0.7287091612815857, -0.5519591569900513, 0.5516715049743652, 0.4398799538612366, -0.17533011734485626, -2.0500659942626953, -1.2566462755203247, 0.2319321483373642, -0.5328682661056519, -1.4595898389816284, 1.476041555404663, -1.2464075088500977, -1.0893304347991943, 0.5660552978515625, 0.0456920862197876, 1.2285435199737549, 0.38987258076667786, 1.6238609552383423, 2.0313777923583984, 0.8404351472854614, 0.6615281105041504, 1.1245932579040527, -0.3465691804885864, -0.28359317779541016, 1.6937670707702637, -0.4311729669570923, 0.5954567193984985, 1.1030651330947876, -0.3689970076084137, -1.1537880897521973, -0.800737738609314, -1.1954874992370605, -0.7130904793739319, 0.9974086880683899, 0.09481172263622284, -1.10299551486969, 0.4117718040943146, 1.603989601135254, 0.00382350105792284, -0.12867702543735504, 0.6664934158325195, 0.2886943221092224, -0.6737865805625916, -0.15654490888118744, -1.090667724609375, 0.6232439875602722, -0.48939475417137146, -0.354813814163208, 0.20015108585357666, 0.6393211483955383, 1.2253596782684326, 0.11881349980831146, 0.18988025188446045, 1.1868915557861328, -1.4090499877929688, 1.1613606214523315, -0.9167798161506653, 0.3266071379184723, -2.2438249588012695, 1.3760424852371216, -0.7959249019622803, 1.995460867881775, -2.821845054626465, 0.47014859318733215, -0.4530910849571228, -0.6949531435966492, 0.24176578223705292, -0.1276494711637497, 0.11093578487634659, -0.03162255883216858, -1.0166267156600952, 0.024439357221126556, -0.7236266732215881, 0.474570095539093, 1.2050937414169312, 1.3988349437713623, -0.9773785471916199, -0.2867864966392517, -1.5133647918701172, -0.13352707028388977, -0.5469309091567993, 0.1298363357782364, -1.7879499197006226, -0.13572059571743011, -2.0249485969543457, -2.505424976348877, -1.2859859466552734, -1.027076005935669, 1.3792623281478882, 0.18456311523914337, -0.9289929866790771, 1.2914587259292603, -0.366147518157959, -1.7740260362625122, 1.2025169134140015, -2.1314761638641357 ]
https://github.com/huggingface/datasets/issues/3973
ConnectionError and SSLError
Cool ! And you can specify the path for download files with to the `cache_dir` parameter: ```python from datasets import load_dataset dataset = load_dataset('oscar', 'unshuffled_deduplicated_it', cache_dir='path/to/directory')
code ``` from datasets import load_dataset dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') ``` bug report ``` --------------------------------------------------------------------------- ConnectionError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_29788/2615425180.py in <module> ----> 1 dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, revision, use_auth_token, task, streaming, **config_kwargs) 1658 1659 # Create a dataset builder -> 1660 builder_instance = load_dataset_builder( 1661 path=path, 1662 name=name, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in load_dataset_builder(path, name, data_dir, data_files, cache_dir, features, download_config, download_mode, revision, use_auth_token, **config_kwargs) 1484 download_config = download_config.copy() if download_config else DownloadConfig() 1485 download_config.use_auth_token = use_auth_token -> 1486 dataset_module = dataset_module_factory( 1487 path, 1488 revision=revision, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in dataset_module_factory(path, revision, download_config, download_mode, force_local_path, dynamic_modules_path, data_dir, data_files, **download_kwargs) 1236 f"Couldn't find '{path}' on the Hugging Face Hub either: {type(e1).__name__}: {e1}" 1237 ) from None -> 1238 raise e1 from None 1239 else: 1240 raise FileNotFoundError( D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in dataset_module_factory(path, revision, download_config, download_mode, force_local_path, dynamic_modules_path, data_dir, data_files, **download_kwargs) 1173 if path.count("/") == 0: # even though the dataset is on the Hub, we get it from GitHub for now 1174 # TODO(QL): use a Hub dataset module factory instead of GitHub -> 1175 return GithubDatasetModuleFactory( 1176 path, 1177 revision=revision, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in get_module(self) 531 revision = self.revision 532 try: --> 533 local_path = self.download_loading_script(revision) 534 except FileNotFoundError: 535 if revision is not None or os.getenv("HF_SCRIPTS_VERSION", None) is not None: D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in download_loading_script(self, revision) 511 if download_config.download_desc is None: 512 download_config.download_desc = "Downloading builder script" --> 513 return cached_path(file_path, download_config=download_config) 514 515 def download_dataset_infos_file(self, revision: Optional[str]) -> str: D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\utils\file_utils.py in cached_path(url_or_filename, download_config, **download_kwargs) 232 if is_remote_url(url_or_filename): 233 # URL, so get it from the cache (downloading if necessary) --> 234 output_path = get_from_cache( 235 url_or_filename, 236 cache_dir=cache_dir, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\utils\file_utils.py in get_from_cache(url, cache_dir, force_download, proxies, etag_timeout, resume_download, user_agent, local_files_only, use_etag, max_retries, use_auth_token, ignore_url_params, download_desc) 580 _raise_if_offline_mode_is_enabled(f"Tried to reach {url}") 581 if head_error is not None: --> 582 raise ConnectionError(f"Couldn't reach {url} ({repr(head_error)})") 583 elif response is not None: 584 raise ConnectionError(f"Couldn't reach {url} (error {response.status_code})") ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/oscar/oscar.py (SSLError(MaxRetryError("HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /huggingface/datasets/2.0.0/datasets/oscar/oscar.py (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))"))) ``` It may be caused by Caused by SSLError(in China?) because it works well on google colab. So how can I download this dataset manually?
870
26
ConnectionError and SSLError code ``` from datasets import load_dataset dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') ``` bug report ``` --------------------------------------------------------------------------- ConnectionError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_29788/2615425180.py in <module> ----> 1 dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, revision, use_auth_token, task, streaming, **config_kwargs) 1658 1659 # Create a dataset builder -> 1660 builder_instance = load_dataset_builder( 1661 path=path, 1662 name=name, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in load_dataset_builder(path, name, data_dir, data_files, cache_dir, features, download_config, download_mode, revision, use_auth_token, **config_kwargs) 1484 download_config = download_config.copy() if download_config else DownloadConfig() 1485 download_config.use_auth_token = use_auth_token -> 1486 dataset_module = dataset_module_factory( 1487 path, 1488 revision=revision, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in dataset_module_factory(path, revision, download_config, download_mode, force_local_path, dynamic_modules_path, data_dir, data_files, **download_kwargs) 1236 f"Couldn't find '{path}' on the Hugging Face Hub either: {type(e1).__name__}: {e1}" 1237 ) from None -> 1238 raise e1 from None 1239 else: 1240 raise FileNotFoundError( D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in dataset_module_factory(path, revision, download_config, download_mode, force_local_path, dynamic_modules_path, data_dir, data_files, **download_kwargs) 1173 if path.count("/") == 0: # even though the dataset is on the Hub, we get it from GitHub for now 1174 # TODO(QL): use a Hub dataset module factory instead of GitHub -> 1175 return GithubDatasetModuleFactory( 1176 path, 1177 revision=revision, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in get_module(self) 531 revision = self.revision 532 try: --> 533 local_path = self.download_loading_script(revision) 534 except FileNotFoundError: 535 if revision is not None or os.getenv("HF_SCRIPTS_VERSION", None) is not None: D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in download_loading_script(self, revision) 511 if download_config.download_desc is None: 512 download_config.download_desc = "Downloading builder script" --> 513 return cached_path(file_path, download_config=download_config) 514 515 def download_dataset_infos_file(self, revision: Optional[str]) -> str: D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\utils\file_utils.py in cached_path(url_or_filename, download_config, **download_kwargs) 232 if is_remote_url(url_or_filename): 233 # URL, so get it from the cache (downloading if necessary) --> 234 output_path = get_from_cache( 235 url_or_filename, 236 cache_dir=cache_dir, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\utils\file_utils.py in get_from_cache(url, cache_dir, force_download, proxies, etag_timeout, resume_download, user_agent, local_files_only, use_etag, max_retries, use_auth_token, ignore_url_params, download_desc) 580 _raise_if_offline_mode_is_enabled(f"Tried to reach {url}") 581 if head_error is not None: --> 582 raise ConnectionError(f"Couldn't reach {url} ({repr(head_error)})") 583 elif response is not None: 584 raise ConnectionError(f"Couldn't reach {url} (error {response.status_code})") ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/oscar/oscar.py (SSLError(MaxRetryError("HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /huggingface/datasets/2.0.0/datasets/oscar/oscar.py (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))"))) ``` It may be caused by Caused by SSLError(in China?) because it works well on google colab. So how can I download this dataset manually? Cool ! And you can specify the path for download files with to the `cache_dir` parameter: ```python from datasets import load_dataset dataset = load_dataset('oscar', 'unshuffled_deduplicated_it', cache_dir='path/to/directory')
[ -1.235440731048584, -0.8759024143218994, -0.421986848115921, 1.3908907175064087, -0.018101897090673447, -1.3252949714660645, 0.18232299387454987, -0.8930914402008057, 1.5599778890609741, -0.916767418384552, 0.28458231687545776, -1.7725791931152344, 0.030172180384397507, -0.7834498286247253, -0.6383084058761597, -0.6989458203315735, -0.3724548816680908, -0.6938460469245911, 1.192844271659851, 2.3675644397735596, 1.22499418258667, -1.4122655391693115, 2.8712499141693115, 0.6275454163551331, -0.19937440752983093, -0.8273540139198303, 0.45275887846946716, -0.008182806894183159, -1.3428269624710083, -0.3291160464286804, -0.9616085290908813, -0.07730072736740112, -0.7882430553436279, -0.39791038632392883, -0.05525320768356323, 0.5226554274559021, -0.2121475785970688, -0.3366035223007202, -0.4272839426994324, -0.7408086061477661, 0.6120644807815552, -0.306199312210083, 0.890952467918396, -0.23498737812042236, 1.771443247795105, -0.6223929524421692, 0.500429630279541, 0.6048308610916138, 1.1061640977859497, 0.1343206912279129, -0.03391389548778534, 0.34883126616477966, 0.2570500671863556, 0.04623137414455414, 0.6025686264038086, 1.1545778512954712, 0.6958787441253662, 0.5558316707611084, 0.6757551431655884, -2.1761629581451416, 1.4062026739120483, -0.8378961682319641, 0.22871457040309906, 1.3801194429397583, -1.1483523845672607, 0.47829368710517883, -1.807072639465332, -0.183579221367836, 0.4509113132953644, -2.109102725982666, 0.15092003345489502, -1.2567980289459229, -0.5076358318328857, 0.928567111492157, 0.4246126115322113, -1.1674128770828247, 0.05717876926064491, -0.44765761494636536, 1.0097630023956299, 0.30308833718299866, 1.0604664087295532, -1.6788835525512695, 0.09692265093326569, -0.27264341711997986, 0.3344962000846863, -1.2191914319992065, -1.6695606708526611, 0.6764204502105713, 0.658954381942749, 0.7063460350036621, -0.2359878420829773, 0.9872814416885376, -1.1911102533340454, 0.7996138334274292, -1.2087838649749756, -1.6818180084228516, -1.310929298400879, -2.508206605911255, -2.506326198577881, 0.6987608671188354, -0.46030867099761963, -0.4103446900844574, 2.16275954246521, -1.1262017488479614, -1.6501933336257935, 1.0687376260757446, 0.2003561109304428, -0.10688590258359909, 2.3874571323394775, 0.1899287849664688, -0.8904392123222351, 0.7156899571418762, -0.9596907496452332, 0.6768239736557007, -0.2642136812210083, 1.2826519012451172, 0.43221962451934814, -1.0912891626358032, 1.513008713722229, -0.47307735681533813, 0.5697137713432312, -0.6026536822319031, -0.4143325090408325, -0.5668064951896667, 0.08310043811798096, 1.8897535800933838, -0.04544474184513092, 1.5050241947174072, -0.17921458184719086, -1.4811183214187622, -1.3883092403411865, 0.8648536205291748, 0.337202787399292, -0.8908006548881531, 0.21902954578399658, -0.4519510567188263, 0.22022870182991028, 0.14283423125743866, 1.1316064596176147, 1.302743673324585, 0.6900972127914429, -0.2704543471336365, -0.8216456770896912, -0.007244131062179804, -0.16508497297763824, -0.5393899083137512, -1.7425593137741089, -0.20742559432983398, -0.013644486665725708, 0.7256635427474976, -1.081381916999817, 2.0394132137298584, 0.9998623728752136, 1.972245216369629, 0.9460628628730774, -0.37517327070236206, 1.4315857887268066, 0.042164649814367294, 1.8632464408874512, -0.3998605012893677, 0.6885921955108643, -0.5510708093643188, -1.1684291362762451, 0.8360569477081299, -0.303157240152359, -1.945230484008789, -0.44183868169784546, -0.7752155661582947, -0.13607384264469147, -0.9543914198875427, 1.034440517425537, -0.13577277958393097, -1.5361391305923462, 0.24210746586322784, -0.5960306525230408, 0.2640604078769684, -1.346733570098877, 0.28488385677337646, 0.7131368517875671, -0.692949652671814, 0.025517120957374573, -0.39839789271354675, -1.399956464767456, -0.5514506697654724, 0.5252938270568848, 1.7113349437713623, -0.6158955097198486, 0.9826768040657043, 1.0793551206588745, -0.5375888347625732, -0.07775211334228516, 0.36862069368362427, -0.26903948187828064, 0.7603272199630737, -0.9964005351066589, -0.5265965461730957, 1.1695679426193237, -0.43196648359298706, -0.4238576591014862, 1.3927273750305176, 0.6869043707847595, -1.069675087928772, -0.25977179408073425, -0.16580472886562347, -0.9289855360984802, 0.055668044835329056, -1.5613433122634888, -0.05340814217925072, 0.4800691306591034, -1.517190933227539, -0.34972140192985535, -0.04266788810491562, 1.3210711479187012, -0.037231478840112686, 1.3407628536224365, -0.2551758289337158, -0.04090452566742897, -0.4457591474056244, -0.5438448190689087, 0.19461141526699066, -0.050205864012241364, -0.4789343476295471, 0.21145209670066833, -0.805514931678772, 0.1927235871553421, 1.57127845287323, 0.14249780774116516, 0.0961882546544075, 0.3915310204029083, 1.1836198568344116, 0.293097585439682, -0.12399677187204361, -0.7762988805770874, -1.5871790647506714, 1.9904779195785522, -1.7135456800460815, 1.9538600444793701, 0.7194607257843018, -0.0323251448571682, -1.8106039762496948, -1.693514347076416, 1.495786428451538, 1.1557390689849854, 2.3940093517303467, 0.4611426591873169, 0.36184853315353394, -0.8361960649490356, -0.6265813112258911, 0.4892357885837555, -0.7696384787559509, -0.7450350522994995, 0.24714283645153046, 2.3790671825408936, 1.729477047920227, -0.35962143540382385, -0.16207186877727509, -0.8800560235977173, 1.4292515516281128, -0.2990105450153351, 0.30644848942756653, 1.9751659631729126, -0.5374045372009277, -1.0589338541030884, 1.3281711339950562, -2.525054931640625, 0.2878156304359436, 2.03413987159729, 0.41432368755340576, 0.10432278364896774, -1.1689207553863525, -0.6783264875411987, -0.30572834610939026, -0.5252242684364319, -1.2946066856384277, 0.43098416924476624, -0.28693336248397827, -0.7262618541717529, -1.378487229347229, 0.07075463235378265, -1.1830693483352661, -1.8328777551651, 0.37502697110176086, 1.745530366897583, 2.2883830070495605, -0.8190243244171143, 1.3511501550674438, -0.3435114920139313, 0.40362855792045593, 1.1508214473724365, 1.265962839126587, 3.119873523712158, 1.9163800477981567, -1.2314517498016357, 0.6791576743125916, -0.21013571321964264, -0.5600471496582031, 1.1935588121414185, -1.0288654565811157, 1.2597684860229492, -0.24375379085540771, -1.302963137626648, -1.2736588716506958, 0.9431229829788208, 0.3703272044658661, -0.04692154750227928, -0.4820430278778076, 1.1826444864273071, 0.22941003739833832, 1.302815318107605, 0.6094430685043335, -0.29788559675216675, 0.4437423348426819, -0.471414178609848, -0.6447129845619202, 1.5780705213546753, 0.1596992164850235, -1.5813997983932495, -2.2748119831085205, -0.2722594738006592, -1.0080249309539795, 0.05993306264281273, -0.9180352687835693, -0.9829651117324829, 1.464914083480835, 0.4039934277534485, -0.9753299951553345, -0.03622907027602196, -0.3473752439022064, -0.4830635190010071, 2.658916473388672, -1.2692946195602417, -0.15928898751735687, -0.8977301120758057, -0.7373467087745667, 1.549073576927185, -1.2163894176483154, -0.2910434603691101, -1.124866008758545, -0.576126217842102, -1.2330646514892578, -0.34135913848876953, -0.10828930884599686, -0.8569464087486267, 0.7408296465873718, 0.04268708452582359, -1.349469780921936, -0.3436258137226105, -1.0458186864852905, 0.9398339986801147, -0.29417893290519714, 0.08449743688106537, 1.5827077627182007, 0.18335410952568054, -0.4815267324447632, 0.8801550269126892, 1.2466059923171997, 0.6690692901611328, -0.6146227717399597, 0.01335096638649702, -0.6540752649307251, 0.5957152843475342, -1.0818599462509155, 0.32356327772140503, -2.97695255279541, 0.6269624829292297, -0.009064864367246628, -0.07046453654766083, -0.23084057867527008, -1.5799850225448608, 0.9334328770637512, 2.4456725120544434, -1.1620274782180786, 0.6474888920783997, 0.3812471032142639, 1.213355302810669, -1.601040244102478, 0.06424098461866379, -0.7181236743927002, 2.0721774101257324, 0.12009206414222717, 1.0771549940109253, -0.570237398147583, -2.4368059635162354, 0.5602502822875977, -1.2126363515853882, -0.9855303764343262, 0.8570501208305359, -0.8905866146087646, 0.28151702880859375, -1.1249464750289917, -0.16396375000476837, -1.0200611352920532, -1.1312721967697144, 0.4804604947566986, 0.11767302453517914, 0.632747232913971, -0.634274423122406, 0.22244364023208618, -2.2851157188415527, -1.3699798583984375, -0.1778596043586731, -0.9172161221504211, 0.523868203163147, -0.5054362416267395, 0.604062557220459, -0.017455581575632095, 0.06296398490667343, 0.3482707142829895, 1.5462799072265625, 3.2071731090545654, -0.02300865948200226, 0.30212363600730896, -0.2029048204421997, -1.0364736318588257, 1.5313705205917358, 0.8332002758979797, -0.1941755712032318, -0.5696680545806885, -0.966234028339386, 1.3432652950286865, 1.8729017972946167, 1.0081897974014282, -0.07464496791362762, -0.8251063823699951, -0.7109149694442749, 0.11650794744491577, 0.1385592669248581, 0.5108498334884644, 0.927213728427887, 0.1067064180970192, 0.1709817796945572, 1.3608531951904297, 0.9532673954963684, -0.28964370489120483, 0.4166518449783325, -0.8700388073921204, -0.35305261611938477, 0.5265870094299316, 0.2671627402305603, -0.026592358946800232, 0.2942487597465515, -0.9343395829200745, -0.251951664686203, -0.21482831239700317, -0.7838414907455444, -0.762702465057373, -0.37788036465644836, -0.5083773732185364, 1.7493840456008911, -0.05441492795944214, -0.6281349658966064, 0.04014825448393822, -0.7019894123077393, -0.2514885365962982, -1.0632132291793823, 0.25459355115890503, -0.12390764057636261, 0.050885576754808426, -0.20585376024246216, 1.700209379196167, -0.9587666392326355, -2.210094928741455, 0.13294878602027893, 0.28076598048210144, -0.181890070438385, -0.07244288176298141, 1.8092323541641235, 0.4889809191226959, 1.3828166723251343, 1.5095964670181274, 1.1069265604019165, -0.6297404170036316, -1.3800550699234009, 0.8496929407119751, 0.9198314547538757, -1.2861732244491577, 1.0045263767242432, -0.22942893207073212, -0.5750097036361694, 0.557311475276947, 1.261518120765686, 0.42338499426841736, -2.0049266815185547, 0.893265962600708, -1.3267185688018799, 1.0055015087127686, 0.8554574251174927, 0.778141975402832, 0.12204921245574951, 0.9309828877449036, -1.1643908023834229, -1.034441590309143, -0.5620980858802795, -0.7150176763534546, 1.9034444093704224, -0.34762540459632874, 0.3883172571659088, -0.2949559986591339, -1.1582081317901611, 0.14047744870185852, 0.7786060571670532, 0.33101215958595276, -0.38842570781707764, 0.6904707551002502, -0.7041305899620056, -1.0413116216659546, -1.1959689855575562, -0.4175490736961365, -1.1455150842666626, -0.8930445313453674, 1.0210049152374268, 0.6192709803581238, 0.5512123107910156, 1.9322549104690552, 0.7073830366134644, 0.2857382893562317, -2.4733667373657227, 0.8165214657783508, 0.3116874694824219, -0.16477149724960327, 0.7768290042877197, 0.39878591895103455, 1.1982896327972412, -0.10321567952632904, 0.667640209197998, -2.426234006881714, 2.298985719680786, -0.30690068006515503, 0.7177532911300659, 0.11190427839756012, 0.0009457916021347046, 1.0413321256637573, 0.632628858089447, 0.36891600489616394, -1.0117204189300537, 0.8688661456108093, -0.48226743936538696, 1.1249216794967651, 0.9436206817626953, -0.9070104360580444, 0.21473252773284912, 1.1783026456832886, 0.3473210334777832, -0.5935292840003967, -1.0550302267074585, -0.9414158463478088, 0.9491049647331238, 1.7328336238861084, -0.10244167596101761, -0.05352524295449257, 0.6990768313407898, 0.7848353385925293, -1.0938166379928589, 0.054598618298769, -0.5077038407325745, -0.6752744317054749, 1.8039427995681763, 2.0574326515197754, -0.11946175247430801, 0.1100621223449707, -0.6978672742843628, -1.4522979259490967, 0.9064763188362122, 0.12811224162578583, -0.20340682566165924, 0.7236061692237854, -0.6305627822875977, 1.0793319940567017, 0.795126736164093, 0.8277338743209839, 0.265403151512146, -0.010341432876884937, 0.32470789551734924, -0.18993313610553741, -1.1494163274765015, -0.33495330810546875, -1.063185453414917, -2.623626708984375, 0.26942694187164307, -0.2904032766819, -1.4938920736312866, 0.11713647842407227, -0.9306333065032959, 0.7505435347557068, -0.4921274483203888, -1.2145612239837646, -1.4062957763671875, 0.307948499917984, -0.047061577439308167, 0.8887805938720703, -1.694563865661621, -0.12724940478801727, 1.0738226175308228, 0.8216911554336548, -0.6434795260429382, 0.9985541701316833, 0.326206773519516, 0.9099145531654358, 0.852618396282196, -0.3636668026447296, 0.6671266555786133, 0.27537888288497925, -1.3561172485351562, 0.4009488523006439, 1.3997015953063965, 0.09078164398670197, 1.3088825941085815, -0.31258904933929443, -0.046314772218465805, 0.34385326504707336, -0.4441846013069153, -0.5697343945503235, -0.5781854391098022, 0.6239875555038452, -0.10315264016389847, -0.8988379836082458, -0.14328178763389587, -0.021774612367153168, -0.30448099970817566, 0.3460341989994049, -1.4961456060409546, -0.13901931047439575, -0.5382509231567383, -0.47985363006591797, -1.480202555656433, -0.156851664185524, 1.485566258430481, -0.7369977235794067, -0.15660083293914795, 0.5795407891273499, 0.2688206136226654, 0.501065731048584, 0.6757494807243347, -0.723207950592041, -0.1363201141357422, -0.20798829197883606, -0.36675289273262024, 0.33910641074180603, 1.2818081378936768, -0.09984604269266129, -0.941848635673523, 0.5177126526832581, -0.21525560319423676, 0.25338953733444214, 1.8661199808120728, 0.07271499186754227, -0.8265649080276489, 0.4188533127307892, -0.7874683141708374, 1.852707862854004, 1.6843702793121338, 1.2482726573944092, -0.0993402749300003, -0.9086245894432068, 0.6139994263648987, -0.4129085838794708, -0.38508936762809753, 0.8540452122688293, 0.31899702548980713, -0.371315598487854, -1.4279253482818604, 0.8958362936973572, 1.263205885887146, -0.6182683110237122, -0.7851731181144714, 0.11094509065151215, -0.7939884662628174, 1.2943980693817139, 0.5586870908737183, 0.3790750503540039, 0.30014997720718384, 1.6805278062820435, 0.7287091612815857, -0.5519591569900513, 0.5516715049743652, 0.4398799538612366, -0.17533011734485626, -2.0500659942626953, -1.2566462755203247, 0.2319321483373642, -0.5328682661056519, -1.4595898389816284, 1.476041555404663, -1.2464075088500977, -1.0893304347991943, 0.5660552978515625, 0.0456920862197876, 1.2285435199737549, 0.38987258076667786, 1.6238609552383423, 2.0313777923583984, 0.8404351472854614, 0.6615281105041504, 1.1245932579040527, -0.3465691804885864, -0.28359317779541016, 1.6937670707702637, -0.4311729669570923, 0.5954567193984985, 1.1030651330947876, -0.3689970076084137, -1.1537880897521973, -0.800737738609314, -1.1954874992370605, -0.7130904793739319, 0.9974086880683899, 0.09481172263622284, -1.10299551486969, 0.4117718040943146, 1.603989601135254, 0.00382350105792284, -0.12867702543735504, 0.6664934158325195, 0.2886943221092224, -0.6737865805625916, -0.15654490888118744, -1.090667724609375, 0.6232439875602722, -0.48939475417137146, -0.354813814163208, 0.20015108585357666, 0.6393211483955383, 1.2253596782684326, 0.11881349980831146, 0.18988025188446045, 1.1868915557861328, -1.4090499877929688, 1.1613606214523315, -0.9167798161506653, 0.3266071379184723, -2.2438249588012695, 1.3760424852371216, -0.7959249019622803, 1.995460867881775, -2.821845054626465, 0.47014859318733215, -0.4530910849571228, -0.6949531435966492, 0.24176578223705292, -0.1276494711637497, 0.11093578487634659, -0.03162255883216858, -1.0166267156600952, 0.024439357221126556, -0.7236266732215881, 0.474570095539093, 1.2050937414169312, 1.3988349437713623, -0.9773785471916199, -0.2867864966392517, -1.5133647918701172, -0.13352707028388977, -0.5469309091567993, 0.1298363357782364, -1.7879499197006226, -0.13572059571743011, -2.0249485969543457, -2.505424976348877, -1.2859859466552734, -1.027076005935669, 1.3792623281478882, 0.18456311523914337, -0.9289929866790771, 1.2914587259292603, -0.366147518157959, -1.7740260362625122, 1.2025169134140015, -2.1314761638641357 ]
https://github.com/huggingface/datasets/issues/3973
ConnectionError and SSLError
It takes me some days to download data completely, Despise sometimes it occurs again, change py version is feasible way to avoid this ConnectionEror. parameter `cache_dir` works well, thanks for your kindness again!
code ``` from datasets import load_dataset dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') ``` bug report ``` --------------------------------------------------------------------------- ConnectionError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_29788/2615425180.py in <module> ----> 1 dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, revision, use_auth_token, task, streaming, **config_kwargs) 1658 1659 # Create a dataset builder -> 1660 builder_instance = load_dataset_builder( 1661 path=path, 1662 name=name, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in load_dataset_builder(path, name, data_dir, data_files, cache_dir, features, download_config, download_mode, revision, use_auth_token, **config_kwargs) 1484 download_config = download_config.copy() if download_config else DownloadConfig() 1485 download_config.use_auth_token = use_auth_token -> 1486 dataset_module = dataset_module_factory( 1487 path, 1488 revision=revision, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in dataset_module_factory(path, revision, download_config, download_mode, force_local_path, dynamic_modules_path, data_dir, data_files, **download_kwargs) 1236 f"Couldn't find '{path}' on the Hugging Face Hub either: {type(e1).__name__}: {e1}" 1237 ) from None -> 1238 raise e1 from None 1239 else: 1240 raise FileNotFoundError( D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in dataset_module_factory(path, revision, download_config, download_mode, force_local_path, dynamic_modules_path, data_dir, data_files, **download_kwargs) 1173 if path.count("/") == 0: # even though the dataset is on the Hub, we get it from GitHub for now 1174 # TODO(QL): use a Hub dataset module factory instead of GitHub -> 1175 return GithubDatasetModuleFactory( 1176 path, 1177 revision=revision, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in get_module(self) 531 revision = self.revision 532 try: --> 533 local_path = self.download_loading_script(revision) 534 except FileNotFoundError: 535 if revision is not None or os.getenv("HF_SCRIPTS_VERSION", None) is not None: D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in download_loading_script(self, revision) 511 if download_config.download_desc is None: 512 download_config.download_desc = "Downloading builder script" --> 513 return cached_path(file_path, download_config=download_config) 514 515 def download_dataset_infos_file(self, revision: Optional[str]) -> str: D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\utils\file_utils.py in cached_path(url_or_filename, download_config, **download_kwargs) 232 if is_remote_url(url_or_filename): 233 # URL, so get it from the cache (downloading if necessary) --> 234 output_path = get_from_cache( 235 url_or_filename, 236 cache_dir=cache_dir, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\utils\file_utils.py in get_from_cache(url, cache_dir, force_download, proxies, etag_timeout, resume_download, user_agent, local_files_only, use_etag, max_retries, use_auth_token, ignore_url_params, download_desc) 580 _raise_if_offline_mode_is_enabled(f"Tried to reach {url}") 581 if head_error is not None: --> 582 raise ConnectionError(f"Couldn't reach {url} ({repr(head_error)})") 583 elif response is not None: 584 raise ConnectionError(f"Couldn't reach {url} (error {response.status_code})") ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/oscar/oscar.py (SSLError(MaxRetryError("HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /huggingface/datasets/2.0.0/datasets/oscar/oscar.py (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))"))) ``` It may be caused by Caused by SSLError(in China?) because it works well on google colab. So how can I download this dataset manually?
870
33
ConnectionError and SSLError code ``` from datasets import load_dataset dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') ``` bug report ``` --------------------------------------------------------------------------- ConnectionError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_29788/2615425180.py in <module> ----> 1 dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, revision, use_auth_token, task, streaming, **config_kwargs) 1658 1659 # Create a dataset builder -> 1660 builder_instance = load_dataset_builder( 1661 path=path, 1662 name=name, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in load_dataset_builder(path, name, data_dir, data_files, cache_dir, features, download_config, download_mode, revision, use_auth_token, **config_kwargs) 1484 download_config = download_config.copy() if download_config else DownloadConfig() 1485 download_config.use_auth_token = use_auth_token -> 1486 dataset_module = dataset_module_factory( 1487 path, 1488 revision=revision, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in dataset_module_factory(path, revision, download_config, download_mode, force_local_path, dynamic_modules_path, data_dir, data_files, **download_kwargs) 1236 f"Couldn't find '{path}' on the Hugging Face Hub either: {type(e1).__name__}: {e1}" 1237 ) from None -> 1238 raise e1 from None 1239 else: 1240 raise FileNotFoundError( D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in dataset_module_factory(path, revision, download_config, download_mode, force_local_path, dynamic_modules_path, data_dir, data_files, **download_kwargs) 1173 if path.count("/") == 0: # even though the dataset is on the Hub, we get it from GitHub for now 1174 # TODO(QL): use a Hub dataset module factory instead of GitHub -> 1175 return GithubDatasetModuleFactory( 1176 path, 1177 revision=revision, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in get_module(self) 531 revision = self.revision 532 try: --> 533 local_path = self.download_loading_script(revision) 534 except FileNotFoundError: 535 if revision is not None or os.getenv("HF_SCRIPTS_VERSION", None) is not None: D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\load.py in download_loading_script(self, revision) 511 if download_config.download_desc is None: 512 download_config.download_desc = "Downloading builder script" --> 513 return cached_path(file_path, download_config=download_config) 514 515 def download_dataset_infos_file(self, revision: Optional[str]) -> str: D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\utils\file_utils.py in cached_path(url_or_filename, download_config, **download_kwargs) 232 if is_remote_url(url_or_filename): 233 # URL, so get it from the cache (downloading if necessary) --> 234 output_path = get_from_cache( 235 url_or_filename, 236 cache_dir=cache_dir, D:\DataScience\PythonSet\IDES\anaconda\lib\site-packages\datasets\utils\file_utils.py in get_from_cache(url, cache_dir, force_download, proxies, etag_timeout, resume_download, user_agent, local_files_only, use_etag, max_retries, use_auth_token, ignore_url_params, download_desc) 580 _raise_if_offline_mode_is_enabled(f"Tried to reach {url}") 581 if head_error is not None: --> 582 raise ConnectionError(f"Couldn't reach {url} ({repr(head_error)})") 583 elif response is not None: 584 raise ConnectionError(f"Couldn't reach {url} (error {response.status_code})") ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/oscar/oscar.py (SSLError(MaxRetryError("HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /huggingface/datasets/2.0.0/datasets/oscar/oscar.py (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))"))) ``` It may be caused by Caused by SSLError(in China?) because it works well on google colab. So how can I download this dataset manually? It takes me some days to download data completely, Despise sometimes it occurs again, change py version is feasible way to avoid this ConnectionEror. parameter `cache_dir` works well, thanks for your kindness again!
[ -1.235440731048584, -0.8759024143218994, -0.421986848115921, 1.3908907175064087, -0.018101897090673447, -1.3252949714660645, 0.18232299387454987, -0.8930914402008057, 1.5599778890609741, -0.916767418384552, 0.28458231687545776, -1.7725791931152344, 0.030172180384397507, -0.7834498286247253, -0.6383084058761597, -0.6989458203315735, -0.3724548816680908, -0.6938460469245911, 1.192844271659851, 2.3675644397735596, 1.22499418258667, -1.4122655391693115, 2.8712499141693115, 0.6275454163551331, -0.19937440752983093, -0.8273540139198303, 0.45275887846946716, -0.008182806894183159, -1.3428269624710083, -0.3291160464286804, -0.9616085290908813, -0.07730072736740112, -0.7882430553436279, -0.39791038632392883, -0.05525320768356323, 0.5226554274559021, -0.2121475785970688, -0.3366035223007202, -0.4272839426994324, -0.7408086061477661, 0.6120644807815552, -0.306199312210083, 0.890952467918396, -0.23498737812042236, 1.771443247795105, -0.6223929524421692, 0.500429630279541, 0.6048308610916138, 1.1061640977859497, 0.1343206912279129, -0.03391389548778534, 0.34883126616477966, 0.2570500671863556, 0.04623137414455414, 0.6025686264038086, 1.1545778512954712, 0.6958787441253662, 0.5558316707611084, 0.6757551431655884, -2.1761629581451416, 1.4062026739120483, -0.8378961682319641, 0.22871457040309906, 1.3801194429397583, -1.1483523845672607, 0.47829368710517883, -1.807072639465332, -0.183579221367836, 0.4509113132953644, -2.109102725982666, 0.15092003345489502, -1.2567980289459229, -0.5076358318328857, 0.928567111492157, 0.4246126115322113, -1.1674128770828247, 0.05717876926064491, -0.44765761494636536, 1.0097630023956299, 0.30308833718299866, 1.0604664087295532, -1.6788835525512695, 0.09692265093326569, -0.27264341711997986, 0.3344962000846863, -1.2191914319992065, -1.6695606708526611, 0.6764204502105713, 0.658954381942749, 0.7063460350036621, -0.2359878420829773, 0.9872814416885376, -1.1911102533340454, 0.7996138334274292, -1.2087838649749756, -1.6818180084228516, -1.310929298400879, -2.508206605911255, -2.506326198577881, 0.6987608671188354, -0.46030867099761963, -0.4103446900844574, 2.16275954246521, -1.1262017488479614, -1.6501933336257935, 1.0687376260757446, 0.2003561109304428, -0.10688590258359909, 2.3874571323394775, 0.1899287849664688, -0.8904392123222351, 0.7156899571418762, -0.9596907496452332, 0.6768239736557007, -0.2642136812210083, 1.2826519012451172, 0.43221962451934814, -1.0912891626358032, 1.513008713722229, -0.47307735681533813, 0.5697137713432312, -0.6026536822319031, -0.4143325090408325, -0.5668064951896667, 0.08310043811798096, 1.8897535800933838, -0.04544474184513092, 1.5050241947174072, -0.17921458184719086, -1.4811183214187622, -1.3883092403411865, 0.8648536205291748, 0.337202787399292, -0.8908006548881531, 0.21902954578399658, -0.4519510567188263, 0.22022870182991028, 0.14283423125743866, 1.1316064596176147, 1.302743673324585, 0.6900972127914429, -0.2704543471336365, -0.8216456770896912, -0.007244131062179804, -0.16508497297763824, -0.5393899083137512, -1.7425593137741089, -0.20742559432983398, -0.013644486665725708, 0.7256635427474976, -1.081381916999817, 2.0394132137298584, 0.9998623728752136, 1.972245216369629, 0.9460628628730774, -0.37517327070236206, 1.4315857887268066, 0.042164649814367294, 1.8632464408874512, -0.3998605012893677, 0.6885921955108643, -0.5510708093643188, -1.1684291362762451, 0.8360569477081299, -0.303157240152359, -1.945230484008789, -0.44183868169784546, -0.7752155661582947, -0.13607384264469147, -0.9543914198875427, 1.034440517425537, -0.13577277958393097, -1.5361391305923462, 0.24210746586322784, -0.5960306525230408, 0.2640604078769684, -1.346733570098877, 0.28488385677337646, 0.7131368517875671, -0.692949652671814, 0.025517120957374573, -0.39839789271354675, -1.399956464767456, -0.5514506697654724, 0.5252938270568848, 1.7113349437713623, -0.6158955097198486, 0.9826768040657043, 1.0793551206588745, -0.5375888347625732, -0.07775211334228516, 0.36862069368362427, -0.26903948187828064, 0.7603272199630737, -0.9964005351066589, -0.5265965461730957, 1.1695679426193237, -0.43196648359298706, -0.4238576591014862, 1.3927273750305176, 0.6869043707847595, -1.069675087928772, -0.25977179408073425, -0.16580472886562347, -0.9289855360984802, 0.055668044835329056, -1.5613433122634888, -0.05340814217925072, 0.4800691306591034, -1.517190933227539, -0.34972140192985535, -0.04266788810491562, 1.3210711479187012, -0.037231478840112686, 1.3407628536224365, -0.2551758289337158, -0.04090452566742897, -0.4457591474056244, -0.5438448190689087, 0.19461141526699066, -0.050205864012241364, -0.4789343476295471, 0.21145209670066833, -0.805514931678772, 0.1927235871553421, 1.57127845287323, 0.14249780774116516, 0.0961882546544075, 0.3915310204029083, 1.1836198568344116, 0.293097585439682, -0.12399677187204361, -0.7762988805770874, -1.5871790647506714, 1.9904779195785522, -1.7135456800460815, 1.9538600444793701, 0.7194607257843018, -0.0323251448571682, -1.8106039762496948, -1.693514347076416, 1.495786428451538, 1.1557390689849854, 2.3940093517303467, 0.4611426591873169, 0.36184853315353394, -0.8361960649490356, -0.6265813112258911, 0.4892357885837555, -0.7696384787559509, -0.7450350522994995, 0.24714283645153046, 2.3790671825408936, 1.729477047920227, -0.35962143540382385, -0.16207186877727509, -0.8800560235977173, 1.4292515516281128, -0.2990105450153351, 0.30644848942756653, 1.9751659631729126, -0.5374045372009277, -1.0589338541030884, 1.3281711339950562, -2.525054931640625, 0.2878156304359436, 2.03413987159729, 0.41432368755340576, 0.10432278364896774, -1.1689207553863525, -0.6783264875411987, -0.30572834610939026, -0.5252242684364319, -1.2946066856384277, 0.43098416924476624, -0.28693336248397827, -0.7262618541717529, -1.378487229347229, 0.07075463235378265, -1.1830693483352661, -1.8328777551651, 0.37502697110176086, 1.745530366897583, 2.2883830070495605, -0.8190243244171143, 1.3511501550674438, -0.3435114920139313, 0.40362855792045593, 1.1508214473724365, 1.265962839126587, 3.119873523712158, 1.9163800477981567, -1.2314517498016357, 0.6791576743125916, -0.21013571321964264, -0.5600471496582031, 1.1935588121414185, -1.0288654565811157, 1.2597684860229492, -0.24375379085540771, -1.302963137626648, -1.2736588716506958, 0.9431229829788208, 0.3703272044658661, -0.04692154750227928, -0.4820430278778076, 1.1826444864273071, 0.22941003739833832, 1.302815318107605, 0.6094430685043335, -0.29788559675216675, 0.4437423348426819, -0.471414178609848, -0.6447129845619202, 1.5780705213546753, 0.1596992164850235, -1.5813997983932495, -2.2748119831085205, -0.2722594738006592, -1.0080249309539795, 0.05993306264281273, -0.9180352687835693, -0.9829651117324829, 1.464914083480835, 0.4039934277534485, -0.9753299951553345, -0.03622907027602196, -0.3473752439022064, -0.4830635190010071, 2.658916473388672, -1.2692946195602417, -0.15928898751735687, -0.8977301120758057, -0.7373467087745667, 1.549073576927185, -1.2163894176483154, -0.2910434603691101, -1.124866008758545, -0.576126217842102, -1.2330646514892578, -0.34135913848876953, -0.10828930884599686, -0.8569464087486267, 0.7408296465873718, 0.04268708452582359, -1.349469780921936, -0.3436258137226105, -1.0458186864852905, 0.9398339986801147, -0.29417893290519714, 0.08449743688106537, 1.5827077627182007, 0.18335410952568054, -0.4815267324447632, 0.8801550269126892, 1.2466059923171997, 0.6690692901611328, -0.6146227717399597, 0.01335096638649702, -0.6540752649307251, 0.5957152843475342, -1.0818599462509155, 0.32356327772140503, -2.97695255279541, 0.6269624829292297, -0.009064864367246628, -0.07046453654766083, -0.23084057867527008, -1.5799850225448608, 0.9334328770637512, 2.4456725120544434, -1.1620274782180786, 0.6474888920783997, 0.3812471032142639, 1.213355302810669, -1.601040244102478, 0.06424098461866379, -0.7181236743927002, 2.0721774101257324, 0.12009206414222717, 1.0771549940109253, -0.570237398147583, -2.4368059635162354, 0.5602502822875977, -1.2126363515853882, -0.9855303764343262, 0.8570501208305359, -0.8905866146087646, 0.28151702880859375, -1.1249464750289917, -0.16396375000476837, -1.0200611352920532, -1.1312721967697144, 0.4804604947566986, 0.11767302453517914, 0.632747232913971, -0.634274423122406, 0.22244364023208618, -2.2851157188415527, -1.3699798583984375, -0.1778596043586731, -0.9172161221504211, 0.523868203163147, -0.5054362416267395, 0.604062557220459, -0.017455581575632095, 0.06296398490667343, 0.3482707142829895, 1.5462799072265625, 3.2071731090545654, -0.02300865948200226, 0.30212363600730896, -0.2029048204421997, -1.0364736318588257, 1.5313705205917358, 0.8332002758979797, -0.1941755712032318, -0.5696680545806885, -0.966234028339386, 1.3432652950286865, 1.8729017972946167, 1.0081897974014282, -0.07464496791362762, -0.8251063823699951, -0.7109149694442749, 0.11650794744491577, 0.1385592669248581, 0.5108498334884644, 0.927213728427887, 0.1067064180970192, 0.1709817796945572, 1.3608531951904297, 0.9532673954963684, -0.28964370489120483, 0.4166518449783325, -0.8700388073921204, -0.35305261611938477, 0.5265870094299316, 0.2671627402305603, -0.026592358946800232, 0.2942487597465515, -0.9343395829200745, -0.251951664686203, -0.21482831239700317, -0.7838414907455444, -0.762702465057373, -0.37788036465644836, -0.5083773732185364, 1.7493840456008911, -0.05441492795944214, -0.6281349658966064, 0.04014825448393822, -0.7019894123077393, -0.2514885365962982, -1.0632132291793823, 0.25459355115890503, -0.12390764057636261, 0.050885576754808426, -0.20585376024246216, 1.700209379196167, -0.9587666392326355, -2.210094928741455, 0.13294878602027893, 0.28076598048210144, -0.181890070438385, -0.07244288176298141, 1.8092323541641235, 0.4889809191226959, 1.3828166723251343, 1.5095964670181274, 1.1069265604019165, -0.6297404170036316, -1.3800550699234009, 0.8496929407119751, 0.9198314547538757, -1.2861732244491577, 1.0045263767242432, -0.22942893207073212, -0.5750097036361694, 0.557311475276947, 1.261518120765686, 0.42338499426841736, -2.0049266815185547, 0.893265962600708, -1.3267185688018799, 1.0055015087127686, 0.8554574251174927, 0.778141975402832, 0.12204921245574951, 0.9309828877449036, -1.1643908023834229, -1.034441590309143, -0.5620980858802795, -0.7150176763534546, 1.9034444093704224, -0.34762540459632874, 0.3883172571659088, -0.2949559986591339, -1.1582081317901611, 0.14047744870185852, 0.7786060571670532, 0.33101215958595276, -0.38842570781707764, 0.6904707551002502, -0.7041305899620056, -1.0413116216659546, -1.1959689855575562, -0.4175490736961365, -1.1455150842666626, -0.8930445313453674, 1.0210049152374268, 0.6192709803581238, 0.5512123107910156, 1.9322549104690552, 0.7073830366134644, 0.2857382893562317, -2.4733667373657227, 0.8165214657783508, 0.3116874694824219, -0.16477149724960327, 0.7768290042877197, 0.39878591895103455, 1.1982896327972412, -0.10321567952632904, 0.667640209197998, -2.426234006881714, 2.298985719680786, -0.30690068006515503, 0.7177532911300659, 0.11190427839756012, 0.0009457916021347046, 1.0413321256637573, 0.632628858089447, 0.36891600489616394, -1.0117204189300537, 0.8688661456108093, -0.48226743936538696, 1.1249216794967651, 0.9436206817626953, -0.9070104360580444, 0.21473252773284912, 1.1783026456832886, 0.3473210334777832, -0.5935292840003967, -1.0550302267074585, -0.9414158463478088, 0.9491049647331238, 1.7328336238861084, -0.10244167596101761, -0.05352524295449257, 0.6990768313407898, 0.7848353385925293, -1.0938166379928589, 0.054598618298769, -0.5077038407325745, -0.6752744317054749, 1.8039427995681763, 2.0574326515197754, -0.11946175247430801, 0.1100621223449707, -0.6978672742843628, -1.4522979259490967, 0.9064763188362122, 0.12811224162578583, -0.20340682566165924, 0.7236061692237854, -0.6305627822875977, 1.0793319940567017, 0.795126736164093, 0.8277338743209839, 0.265403151512146, -0.010341432876884937, 0.32470789551734924, -0.18993313610553741, -1.1494163274765015, -0.33495330810546875, -1.063185453414917, -2.623626708984375, 0.26942694187164307, -0.2904032766819, -1.4938920736312866, 0.11713647842407227, -0.9306333065032959, 0.7505435347557068, -0.4921274483203888, -1.2145612239837646, -1.4062957763671875, 0.307948499917984, -0.047061577439308167, 0.8887805938720703, -1.694563865661621, -0.12724940478801727, 1.0738226175308228, 0.8216911554336548, -0.6434795260429382, 0.9985541701316833, 0.326206773519516, 0.9099145531654358, 0.852618396282196, -0.3636668026447296, 0.6671266555786133, 0.27537888288497925, -1.3561172485351562, 0.4009488523006439, 1.3997015953063965, 0.09078164398670197, 1.3088825941085815, -0.31258904933929443, -0.046314772218465805, 0.34385326504707336, -0.4441846013069153, -0.5697343945503235, -0.5781854391098022, 0.6239875555038452, -0.10315264016389847, -0.8988379836082458, -0.14328178763389587, -0.021774612367153168, -0.30448099970817566, 0.3460341989994049, -1.4961456060409546, -0.13901931047439575, -0.5382509231567383, -0.47985363006591797, -1.480202555656433, -0.156851664185524, 1.485566258430481, -0.7369977235794067, -0.15660083293914795, 0.5795407891273499, 0.2688206136226654, 0.501065731048584, 0.6757494807243347, -0.723207950592041, -0.1363201141357422, -0.20798829197883606, -0.36675289273262024, 0.33910641074180603, 1.2818081378936768, -0.09984604269266129, -0.941848635673523, 0.5177126526832581, -0.21525560319423676, 0.25338953733444214, 1.8661199808120728, 0.07271499186754227, -0.8265649080276489, 0.4188533127307892, -0.7874683141708374, 1.852707862854004, 1.6843702793121338, 1.2482726573944092, -0.0993402749300003, -0.9086245894432068, 0.6139994263648987, -0.4129085838794708, -0.38508936762809753, 0.8540452122688293, 0.31899702548980713, -0.371315598487854, -1.4279253482818604, 0.8958362936973572, 1.263205885887146, -0.6182683110237122, -0.7851731181144714, 0.11094509065151215, -0.7939884662628174, 1.2943980693817139, 0.5586870908737183, 0.3790750503540039, 0.30014997720718384, 1.6805278062820435, 0.7287091612815857, -0.5519591569900513, 0.5516715049743652, 0.4398799538612366, -0.17533011734485626, -2.0500659942626953, -1.2566462755203247, 0.2319321483373642, -0.5328682661056519, -1.4595898389816284, 1.476041555404663, -1.2464075088500977, -1.0893304347991943, 0.5660552978515625, 0.0456920862197876, 1.2285435199737549, 0.38987258076667786, 1.6238609552383423, 2.0313777923583984, 0.8404351472854614, 0.6615281105041504, 1.1245932579040527, -0.3465691804885864, -0.28359317779541016, 1.6937670707702637, -0.4311729669570923, 0.5954567193984985, 1.1030651330947876, -0.3689970076084137, -1.1537880897521973, -0.800737738609314, -1.1954874992370605, -0.7130904793739319, 0.9974086880683899, 0.09481172263622284, -1.10299551486969, 0.4117718040943146, 1.603989601135254, 0.00382350105792284, -0.12867702543735504, 0.6664934158325195, 0.2886943221092224, -0.6737865805625916, -0.15654490888118744, -1.090667724609375, 0.6232439875602722, -0.48939475417137146, -0.354813814163208, 0.20015108585357666, 0.6393211483955383, 1.2253596782684326, 0.11881349980831146, 0.18988025188446045, 1.1868915557861328, -1.4090499877929688, 1.1613606214523315, -0.9167798161506653, 0.3266071379184723, -2.2438249588012695, 1.3760424852371216, -0.7959249019622803, 1.995460867881775, -2.821845054626465, 0.47014859318733215, -0.4530910849571228, -0.6949531435966492, 0.24176578223705292, -0.1276494711637497, 0.11093578487634659, -0.03162255883216858, -1.0166267156600952, 0.024439357221126556, -0.7236266732215881, 0.474570095539093, 1.2050937414169312, 1.3988349437713623, -0.9773785471916199, -0.2867864966392517, -1.5133647918701172, -0.13352707028388977, -0.5469309091567993, 0.1298363357782364, -1.7879499197006226, -0.13572059571743011, -2.0249485969543457, -2.505424976348877, -1.2859859466552734, -1.027076005935669, 1.3792623281478882, 0.18456311523914337, -0.9289929866790771, 1.2914587259292603, -0.366147518157959, -1.7740260362625122, 1.2025169134140015, -2.1314761638641357 ]
https://github.com/huggingface/datasets/issues/3969
Cannot preview cnn_dailymail dataset
I guess the cache got corrupted due to a previous issue with Google Drive service. The cache should be regenerated, e.g. by passing `download_mode="force_redownload"`. CC: @severo
## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No
871
26
Cannot preview cnn_dailymail dataset ## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No I guess the cache got corrupted due to a previous issue with Google Drive service. The cache should be regenerated, e.g. by passing `download_mode="force_redownload"`. CC: @severo
[ -1.2734907865524292, -0.8785538673400879, -0.7231752872467041, 1.292588233947754, -0.3358272612094879, -1.2601194381713867, 0.21126094460487366, -0.9696029424667358, 1.7809090614318848, -0.6530009508132935, 0.1754690557718277, -1.5273191928863525, -0.19141727685928345, -0.5169214606285095, -0.7260184288024902, -0.8399319052696228, -0.5267807245254517, -0.7427571415901184, 1.0220284461975098, 2.375211238861084, 1.1603747606277466, -1.291725993156433, 2.6177077293395996, 0.6164436340332031, -0.1756993532180786, -1.1022638082504272, 0.44180646538734436, 0.16010598838329315, -1.1377393007278442, -0.47226375341415405, -0.8859147429466248, -0.1318068504333496, -0.4966657757759094, -0.4371449649333954, 0.06138748675584793, 0.4041074216365814, -0.12113220244646072, -0.43806618452072144, -0.5173628330230713, -0.700586199760437, 0.46561703085899353, -0.42677390575408936, 0.8777046203613281, -0.4830612242221832, 1.8478196859359741, -0.7582083344459534, 0.380156934261322, 0.7180882692337036, 1.3414297103881836, 0.09286229312419891, -0.07793617993593216, 0.2837190330028534, 0.48259180784225464, -0.053705088794231415, 0.4004600942134857, 1.1440619230270386, 0.4123688042163849, 0.6022328734397888, 0.5693556070327759, -2.1488280296325684, 1.286092758178711, -0.9941375255584717, 0.24726863205432892, 1.4964510202407837, -1.1119729280471802, 0.43626868724823, -1.868514060974121, 0.009664091281592846, 0.5336786508560181, -2.330092191696167, 0.19702579081058502, -1.3094693422317505, -0.6589536666870117, 0.8326283097267151, 0.2575792074203491, -1.4026395082473755, 0.1824650764465332, -0.4656118154525757, 0.9906884431838989, 0.3158857822418213, 1.1835429668426514, -1.7097561359405518, 0.037543799728155136, -0.38498827815055847, 0.03304978087544441, -1.3901655673980713, -1.401986002922058, 0.6627643704414368, 0.5143585801124573, 0.6878952383995056, -0.10227122902870178, 0.9068256616592407, -1.000293493270874, 0.9312778115272522, -0.9217156171798706, -1.5499719381332397, -1.4921050071716309, -2.4272971153259277, -2.2577085494995117, 0.9024491310119629, -0.4065699577331543, -0.5091609358787537, 1.920345664024353, -0.9965751767158508, -1.664305567741394, 1.1796270608901978, 0.16200736165046692, 0.10523079335689545, 2.359764575958252, 0.2841067910194397, -0.6254700422286987, 0.25812458992004395, -0.7509150505065918, 0.957584798336029, -0.4182879626750946, 1.4738632440567017, 0.5731469988822937, -0.9981651306152344, 1.6655280590057373, -0.3783532977104187, 0.624416708946228, -0.6839681267738342, -0.6433649063110352, -0.8912750482559204, 0.40632200241088867, 1.952755093574524, -0.2794307470321655, 1.6064456701278687, -0.5009934902191162, -1.6277236938476562, -1.485825538635254, 0.9168521165847778, 0.4916107952594757, -0.8201784491539001, 0.07198124378919601, -0.40480390191078186, 0.07377617806196213, -0.043333232402801514, 1.1736992597579956, 1.2969021797180176, 0.5752116441726685, -0.33568093180656433, -0.8553500175476074, 0.1340479552745819, 0.020566828548908234, -0.7546961307525635, -1.8347398042678833, -0.3612636625766754, 0.11861304938793182, 0.5465157628059387, -1.1780756711959839, 1.6464959383010864, 0.9104942083358765, 1.9737874269485474, 0.9888041615486145, -0.34537649154663086, 1.287673830986023, 0.0321449413895607, 1.760227084159851, -0.5690015554428101, 0.5821763873100281, -0.17805205285549164, -1.0455710887908936, 0.8946597576141357, -0.32095444202423096, -2.0411202907562256, -0.8384787440299988, -0.9016438126564026, -0.21514439582824707, -0.714187502861023, 0.9267773032188416, -0.25894105434417725, -1.4157764911651611, 0.1598285287618637, -0.5573444962501526, 0.16731855273246765, -1.3011468648910522, 0.2641591429710388, 0.6862183213233948, -0.5400971174240112, -0.06708066910505295, -0.2894168198108673, -1.3880492448806763, -0.4766954779624939, 0.34082749485969543, 1.8808813095092773, -0.7171007394790649, 0.8909087777137756, 0.9103682637214661, -0.7404613494873047, 0.012560692615807056, 0.15628962218761444, -0.23893871903419495, 0.748042643070221, -1.1481062173843384, -0.3809080421924591, 0.9502348899841309, -0.23828791081905365, -0.5000193119049072, 1.5087823867797852, 0.7122962474822998, -0.9229145050048828, -0.19135041534900665, -0.33873987197875977, -0.815683126449585, -0.05192048102617264, -1.5904898643493652, -0.147943377494812, 0.12167549133300781, -1.5153510570526123, -0.6032620072364807, -0.20561082661151886, 1.3363622426986694, -0.15251921117305756, 1.3430393934249878, -0.3528631329536438, -0.2662569582462311, -0.5226638317108154, -0.4078410267829895, 0.3549913763999939, -0.1438196748495102, -0.6609467267990112, 0.17457419633865356, -0.8722529411315918, 0.28092578053474426, 1.4202165603637695, 0.40979188680648804, 0.06020446866750717, 0.5631992220878601, 1.0250314474105835, 0.29853445291519165, 0.04815671220421791, -0.8162735104560852, -1.5095179080963135, 1.9482903480529785, -1.469784140586853, 1.863580346107483, 0.5782427787780762, -0.06726930290460587, -1.7563202381134033, -1.9094971418380737, 1.2660212516784668, 1.267449975013733, 2.26723575592041, 0.5154021978378296, 0.3858258128166199, -0.7718190550804138, -0.7400499582290649, 0.21902446448802948, -1.0741877555847168, -0.6493101716041565, 0.014886635355651379, 2.1459662914276123, 1.755448341369629, -0.7304109334945679, -0.12457828223705292, -1.0744476318359375, 1.3151644468307495, -0.06803685426712036, 0.23712852597236633, 2.0555708408355713, -0.3596521317958832, -1.0418295860290527, 1.2523998022079468, -2.3919968605041504, 0.220229372382164, 2.010918378829956, 0.33547163009643555, 0.1719518005847931, -1.4626388549804688, -0.6045312881469727, -0.275222510099411, -0.433240681886673, -1.316946268081665, 0.6426600217819214, -0.3974994122982025, -0.9314143061637878, -1.450221300125122, 0.1928260624408722, -1.0867315530776978, -1.5657318830490112, 0.47245508432388306, 1.944692850112915, 1.9072058200836182, -0.6953470706939697, 1.443313479423523, -0.2646244168281555, 0.08283538371324539, 1.3517861366271973, 1.175703525543213, 3.0018815994262695, 2.0566508769989014, -1.0205100774765015, 0.6763516068458557, -0.15176160633563995, -0.5328626036643982, 1.167048692703247, -1.089876413345337, 1.3097916841506958, -0.2891193628311157, -1.0665878057479858, -1.2271156311035156, 0.8507865071296692, 0.49046459794044495, 0.11748699843883514, -0.41023918986320496, 1.2861746549606323, 0.1547819972038269, 1.3837254047393799, 0.5432718396186829, -0.47446390986442566, 0.5527195334434509, -0.5135730504989624, -0.41717660427093506, 1.6330119371414185, 0.28477418422698975, -1.537805438041687, -2.3212409019470215, -0.10086596757173538, -0.8122924566268921, -0.0638112723827362, -0.574880838394165, -1.0157299041748047, 1.5775785446166992, 0.4947807788848877, -1.1448873281478882, -0.31507688760757446, -0.39342793822288513, -0.658982515335083, 2.819742441177368, -1.4685840606689453, -0.1804775893688202, -0.8865971565246582, -0.5143473744392395, 1.8794310092926025, -1.2865909337997437, -0.24889327585697174, -1.064387321472168, -0.5787451267242432, -1.2581192255020142, -0.49366775155067444, -0.025856852531433105, -0.9462155699729919, 0.7876253128051758, -0.009508899413049221, -0.99367755651474, -0.3987703323364258, -0.8965548276901245, 0.7510506510734558, -0.022238917648792267, 0.22603991627693176, 1.9936258792877197, 0.30693575739860535, -0.5074803829193115, 0.7101582288742065, 1.2323304414749146, 0.5416468977928162, -0.680563747882843, 0.14256106317043304, -0.6049325466156006, 0.3684685528278351, -1.2360825538635254, 0.3241479992866516, -2.935152530670166, 0.6441260576248169, -0.07850155979394913, 0.0029616625979542732, -0.20804743468761444, -1.3572691679000854, 1.1802127361297607, 2.4624650478363037, -1.2397717237472534, 0.5090022683143616, 0.2980678081512451, 1.2364311218261719, -1.5774961709976196, 0.4006562829017639, -0.48954710364341736, 2.0756020545959473, 0.26982271671295166, 1.2234872579574585, -0.6164727807044983, -2.178100347518921, 0.686306357383728, -1.0933187007904053, -1.1875160932540894, 0.5382694005966187, -0.9266244173049927, 0.25920382142066956, -1.5276668071746826, -0.2764529883861542, -1.0505598783493042, -1.2915990352630615, 0.715783953666687, 0.2719997465610504, 0.3727129101753235, -0.5965486764907837, 0.3405512273311615, -2.2891645431518555, -1.36021888256073, -0.30176013708114624, -0.9556962251663208, 0.5079019665718079, -0.36978551745414734, 0.6631597280502319, -0.10105689615011215, 0.24614255130290985, 0.20760798454284668, 1.423553705215454, 3.325471878051758, 0.01638088747859001, 0.339717298746109, -0.15176783502101898, -0.9177840352058411, 1.4960728883743286, 1.1247584819793701, 0.11179769039154053, -0.6776182651519775, -0.9354482293128967, 1.332547664642334, 1.9633365869522095, 1.0228536128997803, 0.11640668660402298, -0.7375983595848083, -0.4411318898200989, -0.00321770878508687, 0.2711264193058014, 0.4202769100666046, 1.1080387830734253, 0.11033263057470322, 0.18965665996074677, 1.3798142671585083, 1.1902996301651, -0.5369370579719543, 0.37969428300857544, -0.8848504424095154, -0.4073079824447632, 0.4174341559410095, 0.3885585367679596, -0.025954119861125946, 0.4070444405078888, -1.0002628564834595, -0.29318055510520935, -0.16514530777931213, -1.0147491693496704, -0.6266475319862366, -0.3728960156440735, -0.5331668853759766, 1.649364948272705, 0.16451215744018555, -0.535254180431366, -0.07158926129341125, -0.7340599894523621, -0.07006197422742844, -1.104893684387207, 0.29952406883239746, -0.0742579847574234, -0.026002123951911926, -0.0908878818154335, 1.781990647315979, -0.8341274857521057, -2.261312246322632, 0.20526500046253204, 0.3445788025856018, -0.44238942861557007, 0.12944673001766205, 1.5619473457336426, 0.4746285080909729, 1.5515437126159668, 1.3408820629119873, 0.9926688075065613, -0.6155661344528198, -1.4353469610214233, 0.6170933842658997, 1.0119049549102783, -1.6093508005142212, 0.7936846017837524, 0.11562731862068176, -0.33228781819343567, 0.77671879529953, 1.3230905532836914, 0.33204030990600586, -2.028306245803833, 0.8938074111938477, -0.9596218466758728, 0.9725437164306641, 0.6639083623886108, 0.8571791052818298, 0.3891180157661438, 1.0381004810333252, -1.2021880149841309, -1.1844011545181274, -0.8396403789520264, -0.6053225994110107, 2.0668349266052246, -0.2551485300064087, 0.6112456917762756, -0.2684354782104492, -1.1036535501480103, -0.019726047292351723, 0.7272757887840271, 0.39129266142845154, -0.3708581030368805, 0.8783833980560303, -0.5394390225410461, -1.1523154973983765, -1.3494033813476562, -0.3843015134334564, -0.8706721067428589, -0.9197947978973389, 1.0275880098342896, 0.8625162839889526, 0.37008070945739746, 1.96753990650177, 0.5261071920394897, 0.3439981937408447, -2.6503896713256836, 0.8893571496009827, 0.31725960969924927, 0.10630801320075989, 0.8511039018630981, 0.24249981343746185, 1.2185745239257812, -0.028773076832294464, 0.42920538783073425, -2.3376758098602295, 2.2077484130859375, -0.3067828118801117, 0.737735390663147, 0.06269808858633041, -0.011172531172633171, 1.1207783222198486, 0.612643301486969, 0.620474100112915, -1.1399742364883423, 0.7995036840438843, -0.47957733273506165, 1.2968264818191528, 0.9803786873817444, -0.6287263631820679, 0.0400569774210453, 1.3594884872436523, 0.5702887773513794, -0.4826889932155609, -0.9511374235153198, -0.7324220538139343, 0.8238168358802795, 1.6271424293518066, -0.1236661747097969, 0.023837082087993622, 0.6973452568054199, 0.669230580329895, -1.223226547241211, 0.1844911128282547, -0.8780696392059326, -0.6510739922523499, 1.6226998567581177, 2.148651599884033, -0.05295664072036743, -0.06850196421146393, -0.7288901805877686, -1.2047882080078125, 0.7087740302085876, 0.04365796595811844, 0.16023775935173035, 0.5842821002006531, -0.6387421488761902, 1.0933057069778442, 0.61517333984375, 0.9193073511123657, 0.04250864312052727, 0.45967915654182434, 0.47661855816841125, -0.1656162291765213, -1.172209620475769, -0.37317752838134766, -1.2067458629608154, -2.523972511291504, 0.4945221543312073, -0.41530677676200867, -1.415748953819275, 0.04992310702800751, -1.1848539113998413, 0.885080099105835, -0.6640033721923828, -1.1693662405014038, -1.589195966720581, 0.11095162481069565, 0.05718665570020676, 0.8878142833709717, -1.642284631729126, -0.17553843557834625, 1.30720853805542, 0.7323128581047058, -0.738397479057312, 1.0461887121200562, 0.36731579899787903, 1.0414955615997314, 0.7192476391792297, -0.4601769745349884, 0.40947386622428894, 0.03701387345790863, -1.4242029190063477, 0.640140950679779, 1.2744110822677612, 0.03620608523488045, 1.429426670074463, -0.6607434153556824, 0.11323023587465286, 0.5380764603614807, -0.6854273080825806, -0.5163929462432861, -0.5561636686325073, 0.6973333954811096, 0.10597594082355499, -0.9302489161491394, -0.13464100658893585, -0.162101149559021, -0.18646731972694397, 0.3021896183490753, -1.4295927286148071, -0.33606618642807007, -0.5400739312171936, -0.46612128615379333, -1.2771886587142944, -0.009736485779285431, 1.2482452392578125, -0.6550024151802063, -0.18590107560157776, 0.5549781322479248, 0.49485212564468384, 0.6233683228492737, 0.5949774384498596, -0.6470175385475159, -0.25088629126548767, -0.3315247595310211, -0.2849089503288269, 0.2122887372970581, 1.35711669921875, -0.3318065404891968, -1.0478029251098633, 0.7144575715065002, -0.32338911294937134, -0.01070415135473013, 2.169572353363037, 0.11404945701360703, -0.7360042333602905, 0.35127612948417664, -0.715116024017334, 1.8099281787872314, 1.5332796573638916, 1.2714060544967651, -0.15496769547462463, -0.8840026259422302, 0.4926276206970215, -0.28126534819602966, -0.40567246079444885, 0.6657076478004456, 0.52180016040802, -0.27383342385292053, -1.4132053852081299, 0.6536852717399597, 1.239973545074463, -0.90805584192276, -0.7683630585670471, 0.053791068494319916, -0.7758599519729614, 1.0989419221878052, 0.6909860968589783, 0.5291401147842407, 0.27108004689216614, 1.7659454345703125, 0.5749236941337585, -0.4618348777294159, 0.42630141973495483, 0.6410030722618103, -0.07623768597841263, -2.113347291946411, -1.1275461912155151, 0.3492746651172638, -0.5637980699539185, -1.5770145654678345, 1.450024127960205, -1.0378872156143188, -1.0410888195037842, 0.49543529748916626, 0.2004014551639557, 1.4128317832946777, 0.3524961471557617, 1.7048511505126953, 2.0335793495178223, 0.92781001329422, 0.4101031422615051, 1.3658069372177124, 0.10614050924777985, -0.5894902348518372, 1.9226118326187134, -0.4787050485610962, 0.5183612108230591, 1.0993156433105469, -0.4499315321445465, -1.1195714473724365, -0.7937226891517639, -1.0857611894607544, -0.5337202548980713, 1.0858697891235352, 0.1795327514410019, -1.1075493097305298, 0.15518859028816223, 1.4403877258300781, 0.1514679342508316, -0.3559662401676178, 0.503654420375824, 0.4600323438644409, -0.7763460874557495, -0.17014069855213165, -1.0351736545562744, 0.5341138243675232, -0.19580653309822083, -0.4483144283294678, 0.2326154112815857, 0.6960445046424866, 1.2283098697662354, -0.18193475902080536, 0.17999105155467987, 1.260888695716858, -1.4024020433425903, 1.431954026222229, -0.6149724125862122, 0.16773062944412231, -2.357651472091675, 1.5201239585876465, -0.6386107802391052, 1.9666180610656738, -2.73299241065979, 0.37885788083076477, -0.5795839428901672, -0.3650968074798584, 0.35471534729003906, -0.27854982018470764, 0.14546604454517365, -0.07939130812883377, -1.0308918952941895, 0.07563220709562302, -0.7064011096954346, 0.5110002756118774, 1.1328455209732056, 1.327549695968628, -1.202407717704773, -0.2604852318763733, -1.72843337059021, -0.189255952835083, -0.7601038217544556, 0.48934388160705566, -2.051520586013794, -0.058583248406648636, -1.944813847541809, -2.1646480560302734, -1.3576568365097046, -0.8637531399726868, 1.042385458946228, 0.20059166848659515, -0.9216004014015198, 1.1236134767532349, -0.24782054126262665, -1.7842779159545898, 1.0955960750579834, -2.013000249862671 ]
https://github.com/huggingface/datasets/issues/3969
Cannot preview cnn_dailymail dataset
Note that the dataset preview uses its own cache, not `datasets`' cache. So `download_mode="force_redownload"` doesn't help. But yes indeed the cache must be refreshed. The CNN Dailymail dataste is currently hosted on Google Drive, which is an unreliable host and we've had many issues with it. Unless we found another most reliable host for the data, we will keep running into issues from time to time. At Hugging Face we're not allowed to host the CNN Dailymail data by ourselves AFAIK
## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No
871
81
Cannot preview cnn_dailymail dataset ## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No Note that the dataset preview uses its own cache, not `datasets`' cache. So `download_mode="force_redownload"` doesn't help. But yes indeed the cache must be refreshed. The CNN Dailymail dataste is currently hosted on Google Drive, which is an unreliable host and we've had many issues with it. Unless we found another most reliable host for the data, we will keep running into issues from time to time. At Hugging Face we're not allowed to host the CNN Dailymail data by ourselves AFAIK
[ -1.255698561668396, -0.9814943075180054, -0.7376316785812378, 1.3655024766921997, -0.24390600621700287, -1.2639975547790527, 0.13485248386859894, -1.087624192237854, 1.7100034952163696, -0.7662760019302368, 0.2119007557630539, -1.5672824382781982, -0.03420300781726837, -0.5449753999710083, -0.6688911318778992, -0.8337894678115845, -0.3854275047779083, -0.8200366497039795, 0.9990699887275696, 2.4484028816223145, 1.2064615488052368, -1.2398638725280762, 2.635329246520996, 0.5705441236495972, -0.23880723118782043, -1.099549412727356, 0.5025491714477539, 0.10940755158662796, -1.1287096738815308, -0.476065069437027, -0.9163187742233276, -0.0090573038905859, -0.530312716960907, -0.4360337257385254, 0.0379432737827301, 0.3787786364555359, -0.18569539487361908, -0.35694342851638794, -0.5734061002731323, -0.7622283101081848, 0.46962031722068787, -0.3855731785297394, 0.928296685218811, -0.450274258852005, 1.8007832765579224, -0.6585882306098938, 0.26034948229789734, 0.6616171598434448, 1.443291187286377, 0.08857496827840805, -0.13376134634017944, 0.2813869118690491, 0.4107692837715149, -0.03781642019748688, 0.40101832151412964, 1.092014193534851, 0.47948354482650757, 0.4563060402870178, 0.6186462640762329, -2.226553440093994, 1.3023595809936523, -1.0584121942520142, 0.21228720247745514, 1.4866077899932861, -0.9907347559928894, 0.49536097049713135, -1.8140896558761597, -0.062000736594200134, 0.453103244304657, -2.4487431049346924, 0.1721339225769043, -1.294547438621521, -0.5671372413635254, 0.9082330465316772, 0.21529285609722137, -1.3310632705688477, 0.1704568862915039, -0.4362531900405884, 0.9915264248847961, 0.4786534905433655, 1.088977336883545, -1.6910555362701416, -0.05992148071527481, -0.41439104080200195, 0.058046817779541016, -1.4891833066940308, -1.5273189544677734, 0.6165124773979187, 0.6792615652084351, 0.6441447138786316, -0.06465081125497818, 0.9972807765007019, -1.0818105936050415, 0.8512051105499268, -0.9885173439979553, -1.5840574502944946, -1.4248065948486328, -2.344564437866211, -2.225123405456543, 0.8621869683265686, -0.5064787268638611, -0.5371357798576355, 1.938873529434204, -1.0072331428527832, -1.7552381753921509, 1.1809104681015015, 0.20034809410572052, 0.023606354370713234, 2.4427998065948486, 0.2299499660730362, -0.5915557742118835, 0.36153051257133484, -0.7550749778747559, 0.8468775153160095, -0.3822246193885803, 1.4427412748336792, 0.5411860942840576, -0.9752916693687439, 1.6212536096572876, -0.35059741139411926, 0.5333724021911621, -0.6864803433418274, -0.627733588218689, -0.9420691728591919, 0.36593982577323914, 1.9536285400390625, -0.2707045078277588, 1.5654324293136597, -0.5338893532752991, -1.558500051498413, -1.4857468605041504, 0.919549822807312, 0.5052914619445801, -0.8210928440093994, 0.018910277634859085, -0.3424740135669708, 0.14753778278827667, -0.08469539880752563, 1.1538609266281128, 1.2202935218811035, 0.6412038207054138, -0.3405989706516266, -0.858889639377594, 0.23919078707695007, -0.0543341264128685, -0.7706672549247742, -1.8611717224121094, -0.4111797511577606, 0.14177118241786957, 0.608640730381012, -1.1634505987167358, 1.6732473373413086, 0.9098038673400879, 1.9211113452911377, 1.0190240144729614, -0.36414217948913574, 1.3751617670059204, 0.059578292071819305, 1.817822813987732, -0.5355249643325806, 0.640894889831543, -0.28129488229751587, -1.0639007091522217, 0.7831850647926331, -0.3342958688735962, -1.9425150156021118, -0.7798250913619995, -0.9342566132545471, -0.22503267228603363, -0.7156471014022827, 0.962953507900238, -0.3466443121433258, -1.374886393547058, 0.1364719420671463, -0.5598822236061096, 0.17170937359333038, -1.2846945524215698, 0.33086588978767395, 0.7448433637619019, -0.592413067817688, 0.00804883986711502, -0.32463449239730835, -1.321287989616394, -0.491309255361557, 0.30552932620048523, 1.9282644987106323, -0.8131803870201111, 0.896066427230835, 0.9439695477485657, -0.7746279239654541, -0.0011401581577956676, 0.22998939454555511, -0.29781997203826904, 0.809758722782135, -0.9759343266487122, -0.46107912063598633, 1.0920568704605103, -0.2521575093269348, -0.5798982381820679, 1.516862392425537, 0.8152590394020081, -0.9628443121910095, -0.24827788770198822, -0.23247484862804413, -0.7891963720321655, 0.04674682766199112, -1.6277203559875488, -0.18329556286334991, 0.21375180780887604, -1.5148541927337646, -0.5288714170455933, -0.27585017681121826, 1.3112773895263672, -0.13651017844676971, 1.3072471618652344, -0.3953652083873749, -0.27994802594184875, -0.44173845648765564, -0.43439406156539917, 0.31111839413642883, -0.20146393775939941, -0.7031437754631042, 0.15870796144008636, -0.8706756234169006, 0.319527268409729, 1.4005502462387085, 0.44096601009368896, 0.000186786986887455, 0.5608996152877808, 0.992405116558075, 0.3563466966152191, -0.07923636585474014, -0.9100687503814697, -1.576171875, 1.9745136499404907, -1.4682718515396118, 1.8959094285964966, 0.6884279251098633, -0.01712013967335224, -1.7768325805664062, -1.8056457042694092, 1.3274669647216797, 1.188639521598816, 2.222858190536499, 0.5448641777038574, 0.3791152834892273, -0.8246347308158875, -0.6967860460281372, 0.23061157763004303, -1.0405186414718628, -0.678722620010376, -0.046205073595047, 2.2023637294769287, 1.7727171182632446, -0.6997215151786804, -0.18610896170139313, -1.0431228876113892, 1.2599754333496094, -0.08667811751365662, 0.3309685289859772, 2.0321664810180664, -0.3781222701072693, -1.0312236547470093, 1.2983934879302979, -2.340698719024658, 0.21393871307373047, 1.9852648973464966, 0.30055704712867737, 0.16544175148010254, -1.4279296398162842, -0.6128272414207458, -0.3442281484603882, -0.40739941596984863, -1.277115821838379, 0.588725209236145, -0.33250027894973755, -0.8451097011566162, -1.523837685585022, 0.23989985883235931, -1.1665157079696655, -1.604454517364502, 0.487741082906723, 1.940626621246338, 2.017244577407837, -0.6515479683876038, 1.4270672798156738, -0.2502518594264984, 0.25499865412712097, 1.292696237564087, 1.1505268812179565, 3.0300347805023193, 1.9869812726974487, -1.11722731590271, 0.6886609196662903, -0.10885506868362427, -0.5169340968132019, 1.184394359588623, -0.992030680179596, 1.3366471529006958, -0.20346760749816895, -1.17340886592865, -1.2172857522964478, 0.8996545076370239, 0.4487501382827759, 0.058878086507320404, -0.4653141498565674, 1.236279010772705, 0.024792680516839027, 1.375294804573059, 0.5194286704063416, -0.4493353068828583, 0.5501779913902283, -0.4401269853115082, -0.4567681550979614, 1.6017320156097412, 0.19088700413703918, -1.6051957607269287, -2.3564651012420654, -0.14483705163002014, -0.7231804728507996, -0.016008447855710983, -0.6341295838356018, -1.0276850461959839, 1.5870976448059082, 0.4865441918373108, -1.2295418977737427, -0.37520912289619446, -0.32208675146102905, -0.6450092792510986, 2.7559330463409424, -1.4737718105316162, -0.25369709730148315, -0.9325510263442993, -0.5740067362785339, 1.733044981956482, -1.2813169956207275, -0.21887414157390594, -1.0217958688735962, -0.5693853497505188, -1.3492605686187744, -0.5510843992233276, -0.06473845988512039, -1.0084134340286255, 0.8343148827552795, 0.10244907438755035, -0.9030755758285522, -0.41806063055992126, -0.9614073038101196, 0.8186318874359131, -0.12055608630180359, 0.2612810432910919, 1.8719419240951538, 0.4168747067451477, -0.42688503861427307, 0.7009422183036804, 1.04460608959198, 0.5316624045372009, -0.6446591019630432, 0.1156337559223175, -0.6392464637756348, 0.3468269407749176, -1.2334145307540894, 0.3784739375114441, -3.0016427040100098, 0.6442097425460815, -0.042920731008052826, -0.0404890775680542, -0.06355658173561096, -1.3541491031646729, 1.1987470388412476, 2.5095231533050537, -1.2034451961517334, 0.5318737626075745, 0.3049677610397339, 1.2208523750305176, -1.5679868459701538, 0.40165865421295166, -0.3473988175392151, 2.09586501121521, 0.244532510638237, 1.2840187549591064, -0.5950224995613098, -2.180280923843384, 0.6917891502380371, -1.1695393323898315, -1.1980291604995728, 0.5805781483650208, -0.8766348958015442, 0.218991219997406, -1.563684105873108, -0.23717930912971497, -1.007287859916687, -1.21769380569458, 0.7874751091003418, 0.19373013079166412, 0.38489675521850586, -0.615408718585968, 0.38895153999328613, -2.1492881774902344, -1.4039828777313232, -0.2189614176750183, -1.003901481628418, 0.4888022840023041, -0.3561866283416748, 0.611732542514801, -0.10879194736480713, 0.1365174651145935, 0.2151309996843338, 1.415519118309021, 3.4338247776031494, 0.17140710353851318, 0.43490397930145264, -0.12469415366649628, -0.932016909122467, 1.5112769603729248, 1.1377829313278198, 0.08414484560489655, -0.5102826356887817, -0.9343239068984985, 1.301867127418518, 1.9038918018341064, 0.9593694806098938, 0.11318806558847427, -0.7543644309043884, -0.5938803553581238, -0.040928035974502563, 0.28972259163856506, 0.4772006869316101, 1.044384479522705, 0.047013260424137115, 0.20283390581607819, 1.4184378385543823, 1.290489912033081, -0.5553392171859741, 0.3434455692768097, -0.8382666707038879, -0.46855542063713074, 0.5155908465385437, 0.3097967505455017, -0.09019980579614639, 0.47682932019233704, -0.9795161485671997, -0.21169529855251312, -0.27407726645469666, -0.9946879744529724, -0.5750271081924438, -0.4365008771419525, -0.47083356976509094, 1.5181632041931152, 0.12593333423137665, -0.4481869041919708, -0.08585496246814728, -0.8117344975471497, -0.08302993327379227, -1.0810953378677368, 0.2896738350391388, -0.06978968530893326, -0.12838877737522125, -0.06340915709733963, 1.754061222076416, -0.8572201728820801, -2.1803927421569824, 0.18932023644447327, 0.26231175661087036, -0.397190660238266, 0.1683437079191208, 1.5943636894226074, 0.42244112491607666, 1.5808022022247314, 1.3561099767684937, 1.0382521152496338, -0.6021232008934021, -1.3469178676605225, 0.6467620134353638, 0.8663557171821594, -1.5484755039215088, 0.8278560638427734, 0.06949738413095474, -0.4343901574611664, 0.7789566516876221, 1.2775954008102417, 0.41113120317459106, -1.9656850099563599, 0.8556690216064453, -0.9112926125526428, 0.9229224920272827, 0.7486708760261536, 0.7710460424423218, 0.33657458424568176, 0.9637752175331116, -1.2026530504226685, -1.1561485528945923, -0.8857690691947937, -0.5384345650672913, 2.014036178588867, -0.2946789264678955, 0.5995911955833435, -0.20548652112483978, -1.1642121076583862, -0.05802463740110397, 0.6715775728225708, 0.4398253262042999, -0.3751719295978546, 0.827963650226593, -0.6291295886039734, -1.111250638961792, -1.361322283744812, -0.3591879904270172, -0.8643293380737305, -0.9482121467590332, 1.0882432460784912, 0.9101457595825195, 0.2680704593658447, 1.9065207242965698, 0.5697621703147888, 0.2894842028617859, -2.646688222885132, 0.9953537583351135, 0.26901841163635254, 0.03207869082689285, 0.8659471273422241, 0.2504897117614746, 1.16385018825531, 0.0051575154066085815, 0.40611517429351807, -2.3272817134857178, 2.225288152694702, -0.2477821707725525, 0.7115819454193115, 0.0038680629804730415, -0.07275951653718948, 1.2087613344192505, 0.5367236137390137, 0.6239920258522034, -1.1466220617294312, 0.8134880661964417, -0.4832310676574707, 1.3215874433517456, 1.0687869787216187, -0.7393255233764648, 0.026402289047837257, 1.3731000423431396, 0.5801720023155212, -0.60514235496521, -0.9327112436294556, -0.8969146013259888, 0.8407161831855774, 1.7238532304763794, -0.04743300378322601, -0.08290838450193405, 0.8069794178009033, 0.7417764663696289, -1.2774832248687744, 0.22085097432136536, -0.7851732969284058, -0.6492024064064026, 1.6439685821533203, 2.1261990070343018, -0.08870767802000046, -0.15491977334022522, -0.7268075942993164, -1.1306172609329224, 0.6696087718009949, 0.13852232694625854, 0.09828242659568787, 0.5956282615661621, -0.6392278671264648, 1.155287504196167, 0.8134065270423889, 0.922745943069458, 0.13411709666252136, 0.4652801752090454, 0.4241308271884918, -0.30107223987579346, -1.2263487577438354, -0.33383962512016296, -1.1745296716690063, -2.514286756515503, 0.5455525517463684, -0.3265533149242401, -1.351879358291626, 0.05633927136659622, -1.176866888999939, 0.9851793646812439, -0.6416295170783997, -1.1248860359191895, -1.6090372800827026, 0.18394075334072113, -0.04311738908290863, 0.8287413120269775, -1.6842933893203735, -0.14910604059696198, 1.335453987121582, 0.8369410634040833, -0.5924405455589294, 1.0873653888702393, 0.34057626128196716, 1.040932297706604, 0.6993966698646545, -0.49783089756965637, 0.4460306167602539, 0.03152251988649368, -1.4426350593566895, 0.5453177094459534, 1.1473815441131592, 0.18026679754257202, 1.3910539150238037, -0.5609851479530334, 0.023187736049294472, 0.5200986862182617, -0.6220816373825073, -0.5110948085784912, -0.6033241748809814, 0.810465395450592, 0.109444759786129, -0.8475486040115356, -0.02634759061038494, -0.11373983323574066, -0.308634489774704, 0.21792839467525482, -1.5237261056900024, -0.2948637008666992, -0.4539555609226227, -0.6415522694587708, -1.241987943649292, -0.00556525681167841, 1.3093461990356445, -0.7115545868873596, -0.22314441204071045, 0.5008544325828552, 0.3920226991176605, 0.5736057162284851, 0.6818583607673645, -0.7023193836212158, -0.31435054540634155, -0.29028376936912537, -0.2557293474674225, 0.3238372504711151, 1.3893086910247803, -0.25643932819366455, -1.0480345487594604, 0.591280996799469, -0.2717907726764679, -0.015887880697846413, 2.0680878162384033, 0.08182679116725922, -0.7727028131484985, 0.3368099331855774, -0.7416070699691772, 1.866027593612671, 1.5385178327560425, 1.3105725049972534, -0.19486288726329803, -0.8356743454933167, 0.5482966303825378, -0.2265152782201767, -0.31516674160957336, 0.833284318447113, 0.5388648509979248, -0.11831769347190857, -1.3374416828155518, 0.6440011858940125, 1.207783579826355, -0.9053600430488586, -0.7154048681259155, 0.08021841198205948, -0.7591459155082703, 1.074823260307312, 0.7461423277854919, 0.45403820276260376, 0.2823950946331024, 1.684330940246582, 0.6126545667648315, -0.44646915793418884, 0.47134944796562195, 0.5864866971969604, -0.22005657851696014, -2.099425792694092, -1.12654709815979, 0.3554650545120239, -0.4789733588695526, -1.6099109649658203, 1.5026041269302368, -1.0998843908309937, -0.879906952381134, 0.5337826013565063, 0.21212008595466614, 1.458703637123108, 0.3432098925113678, 1.6392251253128052, 2.0933151245117188, 0.9106835126876831, 0.3127918839454651, 1.3784099817276, -0.058166272938251495, -0.5445438027381897, 1.8984421491622925, -0.4389321506023407, 0.4265233874320984, 1.1213326454162598, -0.4018935263156891, -1.0306196212768555, -0.7560458183288574, -1.1009833812713623, -0.5354676842689514, 1.1599777936935425, 0.11697894334793091, -1.1418005228042603, 0.10765951871871948, 1.4292908906936646, 0.0990123301744461, -0.29524460434913635, 0.5454071164131165, 0.5128849148750305, -0.6652300953865051, -0.16698062419891357, -0.8943257331848145, 0.47823065519332886, -0.27168944478034973, -0.3313769996166229, 0.26719778776168823, 0.47960734367370605, 1.2599984407424927, -0.12362177670001984, 0.14940926432609558, 1.2182306051254272, -1.442041277885437, 1.4102169275283813, -0.6009097099304199, 0.14263877272605896, -2.4048550128936768, 1.5414685010910034, -0.739956796169281, 1.9506555795669556, -2.6043827533721924, 0.3894231617450714, -0.6744751930236816, -0.3744553327560425, 0.3054446876049042, -0.4084340035915375, 0.0643506720662117, -0.03596395254135132, -1.0964516401290894, -0.039982669055461884, -0.7512880563735962, 0.5254058837890625, 1.1273854970932007, 1.289853811264038, -1.1560224294662476, -0.3125336170196533, -1.7384856939315796, -0.15687355399131775, -0.73609459400177, 0.44593489170074463, -2.0651395320892334, -0.14722467958927155, -1.9544748067855835, -2.171788215637207, -1.2611385583877563, -0.7701560258865356, 1.1274099349975586, 0.14708589017391205, -0.8954387307167053, 1.1657135486602783, -0.24570472538471222, -1.747372031211853, 1.1229159832000732, -2.090590238571167 ]
https://github.com/huggingface/datasets/issues/3969
Cannot preview cnn_dailymail dataset
I remove the tag dataset-viewer, since it's more an issue with the hosting on Google Drive
## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No
871
16
Cannot preview cnn_dailymail dataset ## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No I remove the tag dataset-viewer, since it's more an issue with the hosting on Google Drive
[ -1.3526607751846313, -0.9981877207756042, -0.725693941116333, 1.1760450601577759, -0.34571704268455505, -1.3224000930786133, 0.1794167459011078, -0.892337441444397, 1.7590053081512451, -0.6899387240409851, 0.1327105015516281, -1.6960022449493408, -0.20483364164829254, -0.48223617672920227, -0.6045048236846924, -0.8686639070510864, -0.5173985362052917, -0.7411973476409912, 1.1113476753234863, 2.4194092750549316, 1.0827823877334595, -1.290607213973999, 2.7193245887756348, 0.5249523520469666, -0.21701475977897644, -1.0337010622024536, 0.4520599842071533, 0.1951903998851776, -1.1587978601455688, -0.4422025978565216, -0.9201318621635437, 0.03976374864578247, -0.37855109572410583, -0.3821674585342407, 0.08632303774356842, 0.45587193965911865, 0.05275437980890274, -0.3676217496395111, -0.44943732023239136, -0.6706578731536865, 0.38160809874534607, -0.36362677812576294, 0.868252158164978, -0.509779155254364, 1.9227665662765503, -0.7157189846038818, 0.26349249482154846, 0.7566219568252563, 1.3392952680587769, 0.09207245707511902, -0.10929250717163086, 0.2982541024684906, 0.5372021198272705, -0.08640484511852264, 0.3900279402732849, 1.1878454685211182, 0.35444632172584534, 0.563206136226654, 0.535057544708252, -2.2133796215057373, 1.3290141820907593, -0.9871897101402283, 0.33635082840919495, 1.6138091087341309, -1.2689366340637207, 0.5186840295791626, -1.845611810684204, -0.01596113108098507, 0.5321476459503174, -2.3429460525512695, 0.09332896769046783, -1.2979660034179688, -0.702596127986908, 0.7500073313713074, 0.21010763943195343, -1.376786470413208, 0.1865706741809845, -0.4137715995311737, 1.0608817338943481, 0.4064079821109772, 1.240744948387146, -1.6392335891723633, 0.09930060803890228, -0.30103471875190735, -0.01109268981963396, -1.4488033056259155, -1.4814263582229614, 0.6655125021934509, 0.5370281934738159, 0.6768545508384705, -0.19609110057353973, 0.8332214951515198, -1.0199166536331177, 0.8708286285400391, -0.8533296585083008, -1.4629015922546387, -1.4768253564834595, -2.385995864868164, -2.326631546020508, 1.025563359260559, -0.3850543200969696, -0.5209482312202454, 1.7780414819717407, -1.0513854026794434, -1.6756702661514282, 1.1875944137573242, 0.1183796226978302, 0.0216498002409935, 2.3618857860565186, 0.3109976649284363, -0.5908543467521667, 0.22936977446079254, -0.8286921381950378, 1.0204061269760132, -0.4672732353210449, 1.500510334968567, 0.6946106553077698, -0.9643582105636597, 1.5921919345855713, -0.41643136739730835, 0.6013555526733398, -0.6811651587486267, -0.639733612537384, -0.9539785981178284, 0.3865361511707306, 1.938352346420288, -0.3881530165672302, 1.5716592073440552, -0.6438318490982056, -1.5763229131698608, -1.3752864599227905, 0.9779691100120544, 0.4993240535259247, -0.828636109828949, 0.11064894497394562, -0.36731699109077454, 0.11211778223514557, -0.023989567533135414, 1.1109546422958374, 1.240140676498413, 0.610569179058075, -0.3483857214450836, -0.8311043381690979, 0.15925846993923187, -0.019656546413898468, -0.7125071287155151, -1.8324377536773682, -0.26539283990859985, 0.13823339343070984, 0.5225512981414795, -1.151837706565857, 1.630610466003418, 0.8475931286811829, 1.959661602973938, 0.9287833571434021, -0.3715103268623352, 1.2850829362869263, 0.09244219958782196, 1.781674861907959, -0.6154314875602722, 0.4872610569000244, -0.13175809383392334, -0.9975458383560181, 0.8238974809646606, -0.3588058054447174, -1.9898569583892822, -0.7892000079154968, -0.9365436434745789, -0.2346068173646927, -0.7381998896598816, 0.9512266516685486, -0.27596035599708557, -1.499881625175476, 0.10704237222671509, -0.4430645704269409, 0.1831865757703781, -1.3760402202606201, 0.35125818848609924, 0.6706793308258057, -0.4801273047924042, -0.15087033808231354, -0.31599730253219604, -1.4010013341903687, -0.5094642639160156, 0.34107279777526855, 1.9376744031906128, -0.7062432765960693, 1.0173158645629883, 0.7893965840339661, -0.7413119673728943, -0.017695603892207146, 0.18918484449386597, -0.21719346940517426, 0.7733343243598938, -1.1223537921905518, -0.43834638595581055, 0.9230100512504578, -0.2206907570362091, -0.38284724950790405, 1.5586315393447876, 0.8398526310920715, -0.9613586068153381, -0.2725503742694855, -0.41416633129119873, -0.7302547097206116, -0.07849782705307007, -1.4750951528549194, -0.16580912470817566, 0.060176413506269455, -1.4399546384811401, -0.6195035576820374, -0.3032638132572174, 1.256525993347168, -0.1003372073173523, 1.1690260171890259, -0.38154610991477966, -0.3443991243839264, -0.5672609806060791, -0.4796223044395447, 0.45533287525177, -0.21506991982460022, -0.6835815906524658, 0.09078286588191986, -0.9156976342201233, 0.22868186235427856, 1.4588361978530884, 0.5513993501663208, -0.04303921386599541, 0.6008461713790894, 1.0144141912460327, 0.25989505648612976, -0.008816687390208244, -0.8778587579727173, -1.5410884618759155, 1.982383131980896, -1.4934555292129517, 1.7301713228225708, 0.7078992128372192, -0.027501516044139862, -1.7095482349395752, -1.8650654554367065, 1.2891682386398315, 1.3378299474716187, 2.2650065422058105, 0.573341965675354, 0.5155154466629028, -0.7936238050460815, -0.8317224383354187, 0.11718781292438507, -0.9926199316978455, -0.6744439005851746, 0.05267065390944481, 2.195357084274292, 1.7297511100769043, -0.765552282333374, -0.12007339298725128, -1.1412571668624878, 1.2782752513885498, 0.002312667667865753, 0.2605930268764496, 1.977936863899231, -0.42595431208610535, -1.019257664680481, 1.0567901134490967, -2.2844467163085938, 0.20506834983825684, 2.0563764572143555, 0.28669917583465576, 0.12491209805011749, -1.4427627325057983, -0.6276829242706299, -0.23695094883441925, -0.4266989231109619, -1.3172138929367065, 0.655424177646637, -0.41414061188697815, -0.8732841610908508, -1.4796502590179443, 0.13463947176933289, -1.080104947090149, -1.4338443279266357, 0.4942743480205536, 1.9527533054351807, 1.9795758724212646, -0.763516366481781, 1.3762526512145996, -0.23988503217697144, 0.2222513109445572, 1.4219377040863037, 1.162764549255371, 2.9457125663757324, 2.085803270339966, -1.0644972324371338, 0.7298466563224792, -0.12322971224784851, -0.5755525827407837, 1.1773508787155151, -0.9870644211769104, 1.239262580871582, -0.2278771996498108, -1.151362419128418, -1.2273097038269043, 0.8734493851661682, 0.5301990509033203, 0.055960629135370255, -0.3646948039531708, 1.2112414836883545, 0.0605827160179615, 1.382468342781067, 0.6068759560585022, -0.5734211802482605, 0.5217621326446533, -0.4649540185928345, -0.39716172218322754, 1.6517475843429565, 0.20206624269485474, -1.6357572078704834, -2.310147285461426, -0.11344018578529358, -0.8375788927078247, -0.053834833204746246, -0.6617686748504639, -1.0572943687438965, 1.4693878889083862, 0.5940930247306824, -1.068406105041504, -0.38716593384742737, -0.41970184445381165, -0.6384365558624268, 2.645076036453247, -1.4136202335357666, -0.2079533487558365, -0.7611774802207947, -0.4110356867313385, 1.8667666912078857, -1.2038224935531616, -0.2017858326435089, -1.0348255634307861, -0.5749219655990601, -1.332383155822754, -0.46015533804893494, -0.04885132238268852, -0.8338855504989624, 0.857224702835083, -0.13444331288337708, -0.8796248435974121, -0.32847198843955994, -0.8836456537246704, 0.6916800737380981, -0.12903635203838348, 0.26444560289382935, 1.9416369199752808, 0.3047293722629547, -0.5060517191886902, 0.6317751407623291, 1.161742925643921, 0.5048158764839172, -0.6277934312820435, 0.11103823781013489, -0.7246302962303162, 0.419477641582489, -1.1806186437606812, 0.22833657264709473, -3.0459208488464355, 0.598850667476654, -0.09105493128299713, -0.047444626688957214, -0.3066866397857666, -1.4464653730392456, 1.1818779706954956, 2.309492826461792, -1.3053607940673828, 0.5078147053718567, 0.29829686880111694, 1.3308770656585693, -1.697119116783142, 0.36351102590560913, -0.5101726651191711, 1.991934061050415, 0.3006320297718048, 1.2037891149520874, -0.6146346926689148, -2.120058536529541, 0.5833123326301575, -1.0904333591461182, -1.1018091440200806, 0.5000448822975159, -0.9590434432029724, 0.20709019899368286, -1.5580476522445679, -0.2607755959033966, -1.0360697507858276, -1.2581630945205688, 0.7596158981323242, 0.20606409013271332, 0.4230797588825226, -0.6419702768325806, 0.33211520314216614, -2.374396324157715, -1.407439947128296, -0.3281264305114746, -0.8964412212371826, 0.5643823146820068, -0.38302600383758545, 0.7028927803039551, -0.03582541644573212, 0.2542725205421448, 0.06847400963306427, 1.364338994026184, 3.3065905570983887, 0.1060381531715393, 0.3499681353569031, -0.02884959615767002, -0.8891385197639465, 1.5377146005630493, 1.2421612739562988, 0.1150275319814682, -0.5632957816123962, -0.895359456539154, 1.4653371572494507, 1.880616307258606, 1.0564861297607422, 0.1988358348608017, -0.6128391623497009, -0.4145309627056122, -0.04188757762312889, 0.2156325876712799, 0.3472196161746979, 1.0202908515930176, 0.040704213082790375, 0.31480830907821655, 1.418004035949707, 1.2249119281768799, -0.5257517099380493, 0.515290379524231, -0.8730294108390808, -0.3745991885662079, 0.48249661922454834, 0.3523034155368805, -0.13957764208316803, 0.4733254909515381, -0.9998555779457092, -0.3758661150932312, -0.0463259182870388, -1.0725862979888916, -0.6083133816719055, -0.3218199610710144, -0.5459802746772766, 1.5300780534744263, 0.18688449263572693, -0.6421988606452942, -0.1993316411972046, -0.7042073607444763, -0.1033138632774353, -1.1877291202545166, 0.3014791011810303, -0.19056770205497742, 0.06853701174259186, -0.1381428837776184, 1.8036056756973267, -0.8008678555488586, -2.3189749717712402, 0.21454229950904846, 0.4579416811466217, -0.49729377031326294, 0.01262674480676651, 1.5056273937225342, 0.36180877685546875, 1.5406053066253662, 1.3391176462173462, 1.0143935680389404, -0.5561298131942749, -1.352160096168518, 0.6214414238929749, 0.9348227977752686, -1.4572592973709106, 0.7707031965255737, 0.10534319281578064, -0.3963416516780853, 0.8125044107437134, 1.3022843599319458, 0.3088550865650177, -1.9866262674331665, 0.9958871603012085, -0.9923173785209656, 0.9851296544075012, 0.7026628851890564, 0.9661104679107666, 0.3400785028934479, 1.1331120729446411, -1.2710705995559692, -1.1896989345550537, -0.8957607746124268, -0.5587483644485474, 2.113398313522339, -0.17171548306941986, 0.6317232847213745, -0.2950242757797241, -0.9572877287864685, -0.04977685585618019, 0.699997067451477, 0.4072056710720062, -0.2816261053085327, 0.8155555725097656, -0.5359941124916077, -1.1492061614990234, -1.4027498960494995, -0.3276752531528473, -0.8305672407150269, -0.9510997533798218, 1.1113574504852295, 0.9164667129516602, 0.4707181453704834, 1.8780550956726074, 0.5000238418579102, 0.2697301506996155, -2.606994867324829, 0.8114813566207886, 0.28289732336997986, 0.09317456185817719, 0.8617112636566162, 0.2567458748817444, 1.3020892143249512, -0.003718683961778879, 0.39311835169792175, -2.284403085708618, 2.11944317817688, -0.3133315145969391, 0.7953348755836487, 0.00837649405002594, 0.06284311413764954, 1.2782193422317505, 0.563941478729248, 0.6043534278869629, -1.1810190677642822, 0.817249596118927, -0.4133921265602112, 1.265090823173523, 1.0205459594726562, -0.6346673965454102, 0.06414134800434113, 1.461671233177185, 0.5320029854774475, -0.3647001385688782, -0.9666153192520142, -0.683940052986145, 0.9114029407501221, 1.6353133916854858, -0.08850480616092682, 0.120821014046669, 0.6886448264122009, 0.7320009469985962, -1.1838898658752441, 0.1123623251914978, -0.7981125116348267, -0.4931638240814209, 1.6976205110549927, 2.1815598011016846, -0.013270793482661247, 0.03460436314344406, -0.6944546103477478, -1.15765380859375, 0.6699950098991394, 0.04260064661502838, 0.08099013566970825, 0.7907089591026306, -0.698646068572998, 1.122385859489441, 0.5665375590324402, 0.8379458785057068, 0.12883219122886658, 0.3543887436389923, 0.4224838316440582, -0.07455682754516602, -1.0867587327957153, -0.3561354875564575, -1.2896021604537964, -2.3845038414001465, 0.4775296449661255, -0.48317787051200867, -1.4361892938613892, 0.0495600700378418, -1.176012396812439, 0.9645622968673706, -0.6731590628623962, -1.2846105098724365, -1.6343178749084473, 0.06488661468029022, 0.05589429661631584, 0.8710370659828186, -1.6591863632202148, -0.20168563723564148, 1.2684131860733032, 0.7456329464912415, -0.646187961101532, 1.1208802461624146, 0.4335564374923706, 0.9679675102233887, 0.6060386896133423, -0.4909650683403015, 0.39134952425956726, -0.022206712514162064, -1.4527180194854736, 0.7496733665466309, 1.2985647916793823, 0.034416504204273224, 1.4242528676986694, -0.644068717956543, -0.008465880528092384, 0.6689591407775879, -0.620166540145874, -0.6115055680274963, -0.3888661563396454, 0.6834063529968262, 0.02666560187935829, -0.9123648405075073, -0.010654469951987267, -0.08201925456523895, -0.1649640053510666, 0.3278217315673828, -1.384863018989563, -0.39786550402641296, -0.5665114521980286, -0.4651361405849457, -1.3628822565078735, -0.02474348433315754, 1.2781801223754883, -0.6734951138496399, -0.22571298480033875, 0.6259174346923828, 0.5271921157836914, 0.5784168839454651, 0.654961884021759, -0.5506336688995361, -0.20746566355228424, -0.33214402198791504, -0.2605977952480316, 0.19033832848072052, 1.37263023853302, -0.4501100480556488, -1.0775028467178345, 0.584669828414917, -0.2995312213897705, -0.02238086238503456, 2.098877429962158, 0.1771644949913025, -0.7423827648162842, 0.37357184290885925, -0.797052264213562, 1.8422331809997559, 1.564743995666504, 1.4185361862182617, -0.10641162097454071, -0.8434678912162781, 0.3127238154411316, -0.19602450728416443, -0.4758169949054718, 0.7672901749610901, 0.4719102382659912, -0.15186376869678497, -1.491320252418518, 0.6089544296264648, 1.261436104774475, -0.9654881358146667, -0.759526252746582, 0.1289842575788498, -0.7491637468338013, 1.123225212097168, 0.6586986780166626, 0.5271138548851013, 0.22718678414821625, 1.7769187688827515, 0.5501189231872559, -0.45582401752471924, 0.4525168240070343, 0.6582593321800232, -0.016143757849931717, -2.200018882751465, -1.1655296087265015, 0.2889757454395294, -0.4950760304927826, -1.4896230697631836, 1.4314347505569458, -0.8902564644813538, -1.0245641469955444, 0.5675625205039978, 0.27340367436408997, 1.4696555137634277, 0.36769089102745056, 1.6949212551116943, 2.07952618598938, 0.9203873872756958, 0.34789496660232544, 1.3767682313919067, 0.05916709825396538, -0.515186071395874, 1.9773859977722168, -0.4431111514568329, 0.4863343834877014, 1.1089837551116943, -0.5217384696006775, -1.1298903226852417, -0.745782732963562, -1.0546278953552246, -0.5535181760787964, 1.032509446144104, 0.13884879648685455, -1.1305407285690308, 0.04724166914820671, 1.3360363245010376, 0.0958147794008255, -0.33319953083992004, 0.5537276268005371, 0.4441545605659485, -0.7835639715194702, -0.12854917347431183, -1.084937334060669, 0.47058844566345215, -0.29794925451278687, -0.508488118648529, 0.22692233324050903, 0.7310792803764343, 1.1701980829238892, -0.23225250840187073, 0.10264331102371216, 1.364443302154541, -1.3895971775054932, 1.3824437856674194, -0.7307252287864685, 0.06448182463645935, -2.3629605770111084, 1.651856780052185, -0.6297211050987244, 1.89303457736969, -2.8611068725585938, 0.3821074664592743, -0.5456668734550476, -0.36636000871658325, 0.3281022012233734, -0.2907378673553467, 0.06761498749256134, 0.0026906589046120644, -1.0477250814437866, 0.16629323363304138, -0.7051045298576355, 0.4525306224822998, 1.1943671703338623, 1.3537418842315674, -1.2409083843231201, -0.32727646827697754, -1.722057819366455, -0.09981244802474976, -0.7269185781478882, 0.4758685529232025, -2.08689284324646, -0.08835382759571075, -1.9088242053985596, -2.16855525970459, -1.328553318977356, -0.844468891620636, 1.0226112604141235, 0.22537127137184143, -1.0747805833816528, 1.1049531698226929, -0.26877978444099426, -1.7044909000396729, 1.0429010391235352, -2.1367011070251465 ]
https://github.com/huggingface/datasets/issues/3969
Cannot preview cnn_dailymail dataset
Sounds good. I was looking for another host of this dataset but couldn't find any (yet)
## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No
871
16
Cannot preview cnn_dailymail dataset ## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No Sounds good. I was looking for another host of this dataset but couldn't find any (yet)
[ -1.337663173675537, -1.0075422525405884, -0.6906539797782898, 1.2604753971099854, -0.4091818034648895, -1.369486927986145, 0.16197144985198975, -0.8199445009231567, 1.7760473489761353, -0.7245423793792725, 0.06779247522354126, -1.667439341545105, -0.16978289186954498, -0.5267736315727234, -0.6278355717658997, -0.8200986981391907, -0.4917351305484772, -0.7033514976501465, 1.1468174457550049, 2.4621689319610596, 1.0154452323913574, -1.2922457456588745, 2.7124247550964355, 0.5085911750793457, -0.2460980862379074, -1.0851852893829346, 0.4343790113925934, 0.24315188825130463, -1.084389328956604, -0.4335392117500305, -0.9046533703804016, 0.050118643790483475, -0.34188857674598694, -0.44048845767974854, 0.03901250287890434, 0.5247446894645691, 0.03526326268911362, -0.42879435420036316, -0.4145887494087219, -0.5998642444610596, 0.3935461938381195, -0.38771679997444153, 0.8094727993011475, -0.5263448357582092, 1.8339163064956665, -0.7485183477401733, 0.2611255347728729, 0.6883291006088257, 1.300289273262024, 0.13609354197978973, -0.1092304214835167, 0.3158886730670929, 0.5500505566596985, -0.08756187558174133, 0.43235987424850464, 1.242071509361267, 0.42199987173080444, 0.5636990070343018, 0.5682799816131592, -2.1451663970947266, 1.3758078813552856, -1.0158416032791138, 0.3610325753688812, 1.546366572380066, -1.3147809505462646, 0.5812427997589111, -1.8128124475479126, -0.03008389100432396, 0.4934733510017395, -2.250645160675049, 0.13635201752185822, -1.300672173500061, -0.7224240303039551, 0.7299814224243164, 0.21680019795894623, -1.3972066640853882, 0.2277110517024994, -0.4146336019039154, 1.0773500204086304, 0.313978374004364, 1.1947461366653442, -1.633543610572815, 0.09617916494607925, -0.29019880294799805, -0.014129968360066414, -1.3831638097763062, -1.5442343950271606, 0.6513412594795227, 0.5833026766777039, 0.7378488779067993, -0.19980093836784363, 0.7858415842056274, -1.035549283027649, 0.9166444540023804, -0.8682689070701599, -1.4998130798339844, -1.4800761938095093, -2.4262959957122803, -2.318681478500366, 1.040719985961914, -0.3624293804168701, -0.5883724093437195, 1.7781459093093872, -1.009995937347412, -1.703018307685852, 1.2275705337524414, 0.18552884459495544, 0.032451946288347244, 2.337001085281372, 0.33144837617874146, -0.6414999961853027, 0.222892627120018, -0.8244078159332275, 0.9597981572151184, -0.4832932651042938, 1.524060845375061, 0.6806937456130981, -0.9142130613327026, 1.6168030500411987, -0.3883967399597168, 0.6558132767677307, -0.6407634615898132, -0.6794404983520508, -0.9404211640357971, 0.4201277494430542, 1.955151081085205, -0.3306300640106201, 1.6019994020462036, -0.656940758228302, -1.6490153074264526, -1.4019180536270142, 0.9765067100524902, 0.49060550332069397, -0.8209598660469055, 0.13352924585342407, -0.4031185805797577, 0.0940483808517456, 0.02077212557196617, 1.0935208797454834, 1.231317400932312, 0.5714884996414185, -0.3694417178630829, -0.8436586856842041, 0.15109486877918243, 0.05863049626350403, -0.6355146169662476, -1.9015603065490723, -0.24972352385520935, 0.19696469604969025, 0.5495476126670837, -1.1148449182510376, 1.5759971141815186, 0.8307974934577942, 1.8649743795394897, 0.9242414832115173, -0.3153097629547119, 1.2928656339645386, 0.027568291872739792, 1.7451573610305786, -0.58778977394104, 0.5919365286827087, -0.10217389464378357, -1.0311394929885864, 0.8288537263870239, -0.3475395441055298, -2.018810510635376, -0.8270764946937561, -0.964384138584137, -0.18319740891456604, -0.7934070229530334, 0.942483127117157, -0.22962838411331177, -1.5163432359695435, 0.11899935454130173, -0.45137274265289307, 0.2560758590698242, -1.288407564163208, 0.32902243733406067, 0.6832114458084106, -0.5119161009788513, -0.12422733753919601, -0.28834962844848633, -1.3702749013900757, -0.43976911902427673, 0.30712538957595825, 1.9231945276260376, -0.7570919990539551, 1.0173063278198242, 0.8324568867683411, -0.6820492744445801, -0.013691773638129234, 0.19759659469127655, -0.22694554924964905, 0.800570011138916, -1.096402645111084, -0.3723387122154236, 0.9598219990730286, -0.13476388156414032, -0.29506972432136536, 1.5939998626708984, 0.8191099166870117, -0.8490517139434814, -0.22844712436199188, -0.36637505888938904, -0.8051754832267761, -0.10603462159633636, -1.5191328525543213, -0.25232622027397156, 0.06760779768228531, -1.432662010192871, -0.6335762739181519, -0.36088043451309204, 1.2667262554168701, -0.11961174756288528, 1.2211936712265015, -0.3694087862968445, -0.3652455508708954, -0.5606418251991272, -0.4607299864292145, 0.41625937819480896, -0.2133929282426834, -0.6749945282936096, 0.052788928151130676, -0.9177371859550476, 0.28390228748321533, 1.4997282028198242, 0.502388596534729, -0.04497130215167999, 0.5694573521614075, 1.026415467262268, 0.16768112778663635, -0.03092934563755989, -0.9119231700897217, -1.5330504179000854, 1.9410992860794067, -1.5091633796691895, 1.7844810485839844, 0.700279951095581, 0.012364394031465054, -1.6999776363372803, -1.8958094120025635, 1.3115452527999878, 1.4195102453231812, 2.316835403442383, 0.47930315136909485, 0.42789334058761597, -0.8137281537055969, -0.8331007361412048, 0.10507810115814209, -1.0602813959121704, -0.6547822952270508, 0.024340394884347916, 2.213165044784546, 1.7861745357513428, -0.8140512108802795, -0.1817968338727951, -1.2117066383361816, 1.2844693660736084, -0.03471682220697403, 0.18848241865634918, 2.0457146167755127, -0.37511351704597473, -1.0120822191238403, 1.1221588850021362, -2.291804790496826, 0.22633524239063263, 2.0689144134521484, 0.347263365983963, 0.12143508344888687, -1.4557714462280273, -0.5899689793586731, -0.23667015135288239, -0.41034403443336487, -1.3169649839401245, 0.7186383008956909, -0.37279069423675537, -0.8541489839553833, -1.516148328781128, 0.08088788390159607, -1.11241614818573, -1.4643148183822632, 0.4943767189979553, 1.9149680137634277, 1.9701145887374878, -0.7902511358261108, 1.3936909437179565, -0.1752663552761078, 0.24105070531368256, 1.41983962059021, 1.129662275314331, 2.9238686561584473, 2.085524320602417, -1.0458579063415527, 0.686586320400238, -0.1579980105161667, -0.48951271176338196, 1.2296165227890015, -1.0271916389465332, 1.2180545330047607, -0.2883964478969574, -1.1253001689910889, -1.2601447105407715, 0.8845476508140564, 0.541643500328064, 0.049082644283771515, -0.35286450386047363, 1.1701208353042603, 0.028721552342176437, 1.3772099018096924, 0.5796570777893066, -0.5598030090332031, 0.5475602746009827, -0.48834311962127686, -0.33180558681488037, 1.668350338935852, 0.2271108478307724, -1.6253681182861328, -2.2451844215393066, -0.08746299147605896, -0.7842050194740295, -0.13489967584609985, -0.6316235065460205, -1.1211580038070679, 1.488463044166565, 0.6160659790039062, -1.1375032663345337, -0.3241744935512543, -0.3452804386615753, -0.6864439845085144, 2.6523385047912598, -1.4856289625167847, -0.2226114273071289, -0.8793820142745972, -0.4268643260002136, 1.8199635744094849, -1.1826761960983276, -0.16126325726509094, -0.9278216361999512, -0.5688868761062622, -1.3478848934173584, -0.4766969680786133, -0.10251395404338837, -0.8289387226104736, 0.8288908004760742, -0.18923410773277283, -0.98814457654953, -0.345651239156723, -0.816903829574585, 0.7890796661376953, -0.15703575313091278, 0.26088443398475647, 1.9344873428344727, 0.3148127794265747, -0.4611399471759796, 0.6928226947784424, 1.182172179222107, 0.5121147632598877, -0.6316896677017212, 0.1642839014530182, -0.7032745480537415, 0.4044741988182068, -1.2454416751861572, 0.22018633782863617, -2.9569246768951416, 0.6487035751342773, -0.053060803562402725, -0.011312205344438553, -0.24425223469734192, -1.4702938795089722, 1.2124868631362915, 2.31927490234375, -1.2515830993652344, 0.47386467456817627, 0.27723634243011475, 1.3028134107589722, -1.6473993062973022, 0.4038908779621124, -0.43974584341049194, 2.027118682861328, 0.27583104372024536, 1.2340353727340698, -0.5567501783370972, -2.1093027591705322, 0.5839114785194397, -1.112683653831482, -1.0626362562179565, 0.46319708228111267, -0.9746468663215637, 0.21195092797279358, -1.5992549657821655, -0.2965641915798187, -1.0930031538009644, -1.2084870338439941, 0.7846293449401855, 0.21224664151668549, 0.30615562200546265, -0.6464315056800842, 0.3095598518848419, -2.3340089321136475, -1.3539001941680908, -0.35440629720687866, -0.9573650360107422, 0.5869145393371582, -0.322049617767334, 0.6063716411590576, 0.01690291240811348, 0.24416552484035492, 0.048190485686063766, 1.3578414916992188, 3.3005831241607666, 0.12663327157497406, 0.35612624883651733, -0.0363926962018013, -0.8646681308746338, 1.4868873357772827, 1.1655750274658203, 0.12131623178720474, -0.6607624292373657, -0.934313178062439, 1.516682744026184, 1.7769770622253418, 1.0715149641036987, 0.2506691515445709, -0.6448250412940979, -0.4337272346019745, -0.04141094535589218, 0.1790330410003662, 0.3623902201652527, 1.103650689125061, 0.0118043078109622, 0.3249486982822418, 1.429242730140686, 1.2423044443130493, -0.5645772218704224, 0.430839478969574, -0.913813054561615, -0.3310464024543762, 0.4379393458366394, 0.3486418128013611, -0.07535447180271149, 0.4063078463077545, -1.0489083528518677, -0.3843538165092468, -0.03888681158423424, -1.029868721961975, -0.7131025195121765, -0.36637210845947266, -0.5411288738250732, 1.5217581987380981, 0.19258902966976166, -0.7260769009590149, -0.23725494742393494, -0.7235549092292786, -0.15294677019119263, -1.0333898067474365, 0.28159618377685547, -0.12699612975120544, 0.034242451190948486, -0.15118587017059326, 1.8476598262786865, -0.8418166041374207, -2.3101272583007812, 0.279441237449646, 0.40925079584121704, -0.4614008665084839, -0.10643848031759262, 1.5535975694656372, 0.4328520596027374, 1.5308010578155518, 1.2864948511123657, 1.0531706809997559, -0.5724852681159973, -1.3576515913009644, 0.6804682612419128, 0.9255263209342957, -1.4449297189712524, 0.7353982329368591, 0.06396565586328506, -0.2896779179573059, 0.7897698283195496, 1.422592282295227, 0.3663345277309418, -1.9977608919143677, 0.8557748794555664, -0.9416418671607971, 0.9131371378898621, 0.7048262357711792, 0.9145337343215942, 0.32186195254325867, 1.1064976453781128, -1.3444263935089111, -1.1852855682373047, -0.9083488583564758, -0.525217592716217, 2.1581168174743652, -0.1600293666124344, 0.6568844318389893, -0.2765982747077942, -0.9931053519248962, -0.11901457607746124, 0.774223268032074, 0.4108552634716034, -0.39427489042282104, 0.8237656950950623, -0.47123628854751587, -1.1023645401000977, -1.3372315168380737, -0.3501615524291992, -0.7755820751190186, -0.8998576998710632, 1.0833394527435303, 0.9465835094451904, 0.44556742906570435, 1.9126027822494507, 0.45013171434402466, 0.24398981034755707, -2.6293463706970215, 0.87094646692276, 0.20579171180725098, 0.09679431468248367, 0.8771156668663025, 0.250155508518219, 1.1910297870635986, 0.0037859492003917694, 0.4320378005504608, -2.2629475593566895, 2.123074769973755, -0.29120874404907227, 0.8113619685173035, 0.01595521718263626, 0.039644766598939896, 1.3067206144332886, 0.49771034717559814, 0.6670047044754028, -1.18125581741333, 0.7590435743331909, -0.3620259463787079, 1.2875158786773682, 1.026874303817749, -0.6553593277931213, 0.10719479620456696, 1.4720921516418457, 0.4886915981769562, -0.41192710399627686, -1.0072213411331177, -0.6855175495147705, 0.8724545240402222, 1.6438841819763184, -0.06397140771150589, 0.06581436842679977, 0.6433970332145691, 0.6834266781806946, -1.1696566343307495, 0.01583525538444519, -0.8490391373634338, -0.42801111936569214, 1.6646599769592285, 2.217015504837036, -0.05634311959147453, -0.07848676294088364, -0.620795726776123, -1.1167572736740112, 0.6749599575996399, 0.10309750586748123, 0.04152693971991539, 0.8704679608345032, -0.6961351633071899, 1.1221765279769897, 0.5981870293617249, 0.901380181312561, 0.054298125207424164, 0.46226242184638977, 0.44353511929512024, -0.10123546421527863, -1.1433486938476562, -0.37460261583328247, -1.274770975112915, -2.3473594188690186, 0.35589221119880676, -0.4431210160255432, -1.3812607526779175, 0.059300318360328674, -1.2408863306045532, 0.9209597706794739, -0.6919360756874084, -1.28351891040802, -1.6601794958114624, 0.060239098966121674, 0.06542675942182541, 0.8784193992614746, -1.6486262083053589, -0.19993969798088074, 1.2651602029800415, 0.7427918314933777, -0.6274039149284363, 1.1623355150222778, 0.4344259202480316, 0.9456401467323303, 0.6478092074394226, -0.4727361798286438, 0.32094869017601013, -0.0355585552752018, -1.4248710870742798, 0.8255103230476379, 1.322507381439209, -0.007344488985836506, 1.3935858011245728, -0.6757723689079285, -0.007565339095890522, 0.6873429417610168, -0.6727210879325867, -0.5755526423454285, -0.4093974232673645, 0.6885479092597961, 0.06869373470544815, -0.8910576701164246, -0.06765398383140564, -0.0788276195526123, -0.163975790143013, 0.3986690044403076, -1.4189891815185547, -0.3648093342781067, -0.49651944637298584, -0.5434003472328186, -1.3587404489517212, -0.0374874509871006, 1.3365044593811035, -0.7382001280784607, -0.2289273738861084, 0.6028741002082825, 0.49388426542282104, 0.576865017414093, 0.5713450908660889, -0.5198707580566406, -0.22383128106594086, -0.32274919748306274, -0.16206012666225433, 0.203071728348732, 1.3191323280334473, -0.40468740463256836, -1.1410363912582397, 0.6152224540710449, -0.40266939997673035, 0.00112239271402359, 2.1491100788116455, 0.12819819152355194, -0.7608410716056824, 0.459089457988739, -0.747169554233551, 1.9120622873306274, 1.514408826828003, 1.4048532247543335, -0.04341287165880203, -0.8050974011421204, 0.31642550230026245, -0.12955524027347565, -0.5215579271316528, 0.7660921216011047, 0.48656022548675537, -0.21284906566143036, -1.4498300552368164, 0.6288778781890869, 1.3461345434188843, -0.9883999228477478, -0.7087200880050659, 0.10713812708854675, -0.8493521809577942, 1.1035622358322144, 0.6411874294281006, 0.5446043610572815, 0.19310179352760315, 1.7956863641738892, 0.49513357877731323, -0.38709473609924316, 0.3860883116722107, 0.6814256906509399, -0.010562250390648842, -2.122547149658203, -1.0787690877914429, 0.24641121923923492, -0.47581231594085693, -1.5400445461273193, 1.4123677015304565, -0.9906518459320068, -1.038002610206604, 0.5342835783958435, 0.27131107449531555, 1.4308032989501953, 0.35788464546203613, 1.6601029634475708, 2.0200324058532715, 0.9106777310371399, 0.34853821992874146, 1.3266578912734985, -0.029780525714159012, -0.5567836165428162, 1.972607135772705, -0.42330896854400635, 0.47421538829803467, 1.0704492330551147, -0.4460184574127197, -1.1859772205352783, -0.7336316704750061, -1.067047119140625, -0.5717883110046387, 1.0585176944732666, 0.2011733502149582, -1.1441118717193604, -0.0016942131333053112, 1.3382762670516968, 0.07849869132041931, -0.36926692724227905, 0.490418940782547, 0.45277658104896545, -0.8111587762832642, -0.11897726356983185, -1.0755850076675415, 0.47951459884643555, -0.2730865776538849, -0.4689124524593353, 0.18533122539520264, 0.744118332862854, 1.124039888381958, -0.16326645016670227, 0.11254312098026276, 1.3886942863464355, -1.409190058708191, 1.473933458328247, -0.682594358921051, 0.046275556087493896, -2.453015089035034, 1.6604559421539307, -0.6265318989753723, 1.8868144750595093, -2.861334800720215, 0.425660103559494, -0.5571064949035645, -0.3638380765914917, 0.2833680510520935, -0.2577323019504547, 0.0856618583202362, 0.017041891813278198, -1.039101481437683, 0.15231896936893463, -0.7284770011901855, 0.4431919455528259, 1.2188657522201538, 1.305107593536377, -1.330293893814087, -0.23617710173130035, -1.6775068044662476, -0.11170491576194763, -0.8102366328239441, 0.41527071595191956, -2.140575408935547, -0.04105759039521217, -1.7986637353897095, -2.1384658813476562, -1.3026260137557983, -0.8499035835266113, 0.8767087459564209, 0.19727109372615814, -1.069196105003357, 1.106913685798645, -0.2855416536331177, -1.6671983003616333, 1.1425001621246338, -2.068626642227173 ]
https://github.com/huggingface/datasets/issues/3969
Cannot preview cnn_dailymail dataset
It seems like the issue is with the streaming mode, not with the hosting: ```python >>> import datasets >>> dataset = datasets.load_dataset('cnn_dailymail', name="3.0.0", split="train", streaming=True, download_mode="force_redownload") Downloading builder script: 9.35kB [00:00, 10.2MB/s] Downloading metadata: 9.50kB [00:00, 12.2MB/s] >>> len(list(dataset)) 0 >>> dataset = datasets.load_dataset('cnn_dailymail', name="3.0.0", split="train", streaming=False) Reusing dataset cnn_dailymail (/home/slesage/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234) >>> len(dataset) 287113 ``` Note, in particular, that the streaming mode is failing silently, returning 0 row while I would have expected an exception instead. The result is that the dataset viewer shows `No data` instead of a detailed error. <img width="1511" alt="Capture d’écran 2022-04-12 à 11 50 46" src="https://user-images.githubusercontent.com/1676121/162935341-d50f1e73-d053-41d4-917f-e79708a0ca23.png">
## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No
871
101
Cannot preview cnn_dailymail dataset ## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No It seems like the issue is with the streaming mode, not with the hosting: ```python >>> import datasets >>> dataset = datasets.load_dataset('cnn_dailymail', name="3.0.0", split="train", streaming=True, download_mode="force_redownload") Downloading builder script: 9.35kB [00:00, 10.2MB/s] Downloading metadata: 9.50kB [00:00, 12.2MB/s] >>> len(list(dataset)) 0 >>> dataset = datasets.load_dataset('cnn_dailymail', name="3.0.0", split="train", streaming=False) Reusing dataset cnn_dailymail (/home/slesage/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234) >>> len(dataset) 287113 ``` Note, in particular, that the streaming mode is failing silently, returning 0 row while I would have expected an exception instead. The result is that the dataset viewer shows `No data` instead of a detailed error. <img width="1511" alt="Capture d’écran 2022-04-12 à 11 50 46" src="https://user-images.githubusercontent.com/1676121/162935341-d50f1e73-d053-41d4-917f-e79708a0ca23.png">
[ -1.2503156661987305, -0.9110129475593567, -0.667678713798523, 1.320449709892273, -0.21981488168239594, -1.1634912490844727, 0.15570515394210815, -1.068406343460083, 1.697624921798706, -0.7558055520057678, 0.23853854835033417, -1.6379542350769043, -0.09548626840114594, -0.5321162939071655, -0.6727365851402283, -0.8824893832206726, -0.44832590222358704, -0.8619464039802551, 0.998075544834137, 2.5585289001464844, 1.2450051307678223, -1.32213294506073, 2.726454496383667, 0.668354868888855, -0.24397186934947968, -0.9910396933555603, 0.5044403076171875, 0.03501535952091217, -1.2801913022994995, -0.44011035561561584, -0.9435709714889526, -0.059260111302137375, -0.6128800511360168, -0.42954710125923157, 0.024389155209064484, 0.34240758419036865, -0.2680211067199707, -0.28267693519592285, -0.4828473925590515, -0.7844630479812622, 0.41602542996406555, -0.3509713411331177, 0.9235638976097107, -0.3641948699951172, 1.7482047080993652, -0.6276564002037048, 0.4041827619075775, 0.6980006694793701, 1.1955868005752563, 0.20938783884048462, -0.024681605398654938, 0.27542534470558167, 0.3976486027240753, -0.04275975376367569, 0.4620344936847687, 1.2397863864898682, 0.5629360675811768, 0.4670211672782898, 0.6690941452980042, -2.2600767612457275, 1.2634729146957397, -0.8985466957092285, 0.20872341096401215, 1.4644801616668701, -0.8876038789749146, 0.350385457277298, -1.9075477123260498, -0.05968668684363365, 0.5706039667129517, -2.3408780097961426, 0.23405002057552338, -1.4228594303131104, -0.6188808083534241, 0.941253125667572, 0.24307338893413544, -1.2358464002609253, 0.14251430332660675, -0.42545104026794434, 1.0336205959320068, 0.442903608083725, 1.1839417219161987, -1.778245449066162, -0.1272447109222412, -0.2982552647590637, 0.14288096129894257, -1.308655858039856, -1.6227738857269287, 0.5922850370407104, 0.5906989574432373, 0.6455786824226379, -0.08674274384975433, 1.044110655784607, -1.0544291734695435, 0.7758641242980957, -0.9770682454109192, -1.6713744401931763, -1.4675898551940918, -2.345484733581543, -2.28205943107605, 0.7442345023155212, -0.45269975066185, -0.5389000177383423, 1.982413411140442, -1.0453925132751465, -1.7182639837265015, 1.1050667762756348, 0.3054375946521759, -0.06837208569049835, 2.4591989517211914, 0.23935991525650024, -0.6764737367630005, 0.4150351583957672, -0.7757266759872437, 0.8341096043586731, -0.24260550737380981, 1.4062587022781372, 0.513742208480835, -1.015877604484558, 1.6185433864593506, -0.42156535387039185, 0.5665475130081177, -0.6527973413467407, -0.5373466610908508, -0.8017575144767761, 0.23525528609752655, 1.9223459959030151, -0.34482505917549133, 1.5790414810180664, -0.35017475485801697, -1.5972483158111572, -1.55559241771698, 0.9225916862487793, 0.5436207056045532, -0.865970253944397, 0.07955998182296753, -0.42539021372795105, 0.13696306943893433, 0.015161301009356976, 1.1329494714736938, 1.323931336402893, 0.6992703676223755, -0.3122692406177521, -0.8615323901176453, 0.14988954365253448, -0.08840766549110413, -0.7836666703224182, -1.7554337978363037, -0.32396960258483887, 0.08832239359617233, 0.6658525466918945, -1.2427886724472046, 1.711275339126587, 0.9196733236312866, 1.922292709350586, 1.0206130743026733, -0.41009947657585144, 1.463435411453247, 0.11772631853818893, 1.7290551662445068, -0.5385598540306091, 0.605538010597229, -0.3190970718860626, -1.0980502367019653, 0.8353714942932129, -0.2395387440919876, -1.991557002067566, -0.7382913827896118, -0.7280460596084595, -0.2174469530582428, -0.8532422184944153, 0.9075639247894287, -0.21981877088546753, -1.4409334659576416, 0.2526545226573944, -0.6650649905204773, 0.10530930012464523, -1.2968971729278564, 0.36869752407073975, 0.6945441961288452, -0.6020389199256897, 0.009896782226860523, -0.24385970830917358, -1.2904396057128906, -0.4681812822818756, 0.24992488324642181, 1.8966444730758667, -0.593415379524231, 0.9120150804519653, 0.9972863793373108, -0.7252589464187622, 0.02695513516664505, 0.31160154938697815, -0.2796441912651062, 0.8256610035896301, -1.0847893953323364, -0.3775337040424347, 1.1045000553131104, -0.16891635954380035, -0.581853449344635, 1.408189296722412, 0.749872624874115, -1.0053343772888184, -0.24604910612106323, -0.22135983407497406, -0.727997362613678, 0.020697597414255142, -1.5963635444641113, -0.16353096067905426, 0.3698579668998718, -1.511457920074463, -0.5251747965812683, -0.23901915550231934, 1.3273941278457642, -0.1747136265039444, 1.3372504711151123, -0.36435532569885254, -0.14521925151348114, -0.4508988857269287, -0.3721161484718323, 0.14776428043842316, -0.1286480575799942, -0.5834193825721741, 0.22517196834087372, -0.8778973817825317, 0.2892305254936218, 1.503585934638977, 0.38494592905044556, -0.0018562176264822483, 0.42413976788520813, 1.0600413084030151, 0.3853643834590912, -0.06833451986312866, -0.8730667233467102, -1.503592848777771, 2.027351140975952, -1.479801893234253, 1.8988006114959717, 0.7413482666015625, -0.024117320775985718, -1.7697288990020752, -1.960951566696167, 1.273504614830017, 1.145675778388977, 2.3956844806671143, 0.5641409158706665, 0.46990829706192017, -0.6990794539451599, -0.7247003316879272, 0.29905930161476135, -1.0016776323318481, -0.7457011938095093, 0.1817164421081543, 2.3657124042510986, 1.6769802570343018, -0.6227791905403137, -0.1671106070280075, -0.9341528415679932, 1.3129565715789795, -0.11653592437505722, 0.20680661499500275, 1.984390139579773, -0.2955895662307739, -1.1279703378677368, 1.3203845024108887, -2.3103175163269043, 0.13079644739627838, 1.969346046447754, 0.22930876910686493, 0.12439785152673721, -1.3543493747711182, -0.6682381629943848, -0.29856735467910767, -0.5339362621307373, -1.3177801370620728, 0.5437361001968384, -0.31558457016944885, -0.8399611711502075, -1.5183634757995605, 0.14678682386875153, -1.1721913814544678, -1.6431068181991577, 0.2999904453754425, 1.9229438304901123, 2.049926996231079, -0.7715509533882141, 1.4476103782653809, -0.3117784857749939, 0.049568261951208115, 1.146627426147461, 1.28656005859375, 3.0928189754486084, 1.934291958808899, -1.2172715663909912, 0.7111977934837341, -0.17437860369682312, -0.49627524614334106, 1.1963224411010742, -1.1662509441375732, 1.2478790283203125, -0.21483738720417023, -1.2337123155593872, -1.2413710355758667, 0.9386820197105408, 0.4628768861293793, 0.02938038855791092, -0.472883015871048, 1.1789915561676025, 0.08380468934774399, 1.3571715354919434, 0.5272321105003357, -0.35426247119903564, 0.6407973766326904, -0.4406610429286957, -0.45013880729675293, 1.621902346611023, 0.13207180798053741, -1.4684594869613647, -2.3728721141815186, -0.20443175733089447, -0.870298445224762, 0.08140742033720016, -0.613559901714325, -1.0783360004425049, 1.6929888725280762, 0.39067342877388, -1.2172138690948486, -0.32049232721328735, -0.4182491600513458, -0.5412803292274475, 2.651676654815674, -1.3595002889633179, -0.19158713519573212, -0.9377745389938354, -0.6383870840072632, 1.6328119039535522, -1.1832377910614014, -0.18738286197185516, -1.0241738557815552, -0.5242083668708801, -1.339056372642517, -0.4777655601501465, -0.010410133749246597, -0.8943629264831543, 0.8052548766136169, 0.21635039150714874, -1.0764999389648438, -0.3631777763366699, -0.9771295785903931, 0.8971110582351685, -0.10630922019481659, 0.17883244156837463, 1.856249213218689, 0.3481263220310211, -0.42691195011138916, 0.713456392288208, 1.152198314666748, 0.5345917344093323, -0.6375898718833923, 0.12869146466255188, -0.6569942831993103, 0.35555604100227356, -1.3206104040145874, 0.3036215603351593, -2.901181936264038, 0.7147260904312134, -0.06045471876859665, -0.023446932435035706, -0.0221329927444458, -1.2860233783721924, 1.1510510444641113, 2.5321338176727295, -1.188334345817566, 0.5518555641174316, 0.3451438546180725, 1.1667643785476685, -1.5924243927001953, 0.26087844371795654, -0.4922856092453003, 2.1295888423919678, 0.2744719088077545, 1.2259255647659302, -0.5055515766143799, -2.3718230724334717, 0.5879602432250977, -1.1660282611846924, -1.123713493347168, 0.7192639708518982, -0.9415475130081177, 0.1423698216676712, -1.4145869016647339, -0.2705848217010498, -1.0123400688171387, -1.179274082183838, 0.7634329199790955, 0.17996716499328613, 0.4708439111709595, -0.5880008935928345, 0.3617137372493744, -2.317601203918457, -1.3005927801132202, -0.23597808182239532, -0.9681201577186584, 0.5359447002410889, -0.3319336771965027, 0.6948698163032532, -0.11537057906389236, 0.0384945422410965, 0.3208857774734497, 1.4078307151794434, 3.3775157928466797, 0.15362876653671265, 0.32652220129966736, -0.1371167153120041, -1.0062907934188843, 1.482223629951477, 0.9582813382148743, 0.00707950908690691, -0.591072678565979, -1.0381792783737183, 1.280662178993225, 1.8716938495635986, 1.0072648525238037, 0.09083673357963562, -0.8784833550453186, -0.6608238816261292, -0.006884690374135971, 0.27138373255729675, 0.4932405352592468, 1.0072866678237915, 0.03164813667535782, 0.1441032737493515, 1.4056588411331177, 1.1668161153793335, -0.37377870082855225, 0.39724093675613403, -0.8229977488517761, -0.45475301146507263, 0.4874527156352997, 0.23940320312976837, 0.00650912057608366, 0.45728713274002075, -1.0623506307601929, -0.24894064664840698, -0.2494984269142151, -0.9959455728530884, -0.6927188038825989, -0.3902856111526489, -0.33196064829826355, 1.5489544868469238, 0.0417214073240757, -0.43505802750587463, 0.03965052217245102, -0.8133401274681091, -0.13653334975242615, -1.179482102394104, 0.281308650970459, -0.19512078166007996, -0.07506769150495529, -0.11981939524412155, 1.7428470849990845, -0.786408543586731, -2.053987741470337, 0.17270594835281372, 0.28005775809288025, -0.4019943177700043, 0.19551950693130493, 1.6819257736206055, 0.5398669838905334, 1.4670597314834595, 1.2788506746292114, 0.9622549414634705, -0.5648444294929504, -1.2712639570236206, 0.6840868592262268, 0.9219739437103271, -1.35506272315979, 0.9042555689811707, -0.04909055680036545, -0.47640129923820496, 0.6217297315597534, 1.2505912780761719, 0.4291442036628723, -1.9886527061462402, 0.8642429709434509, -0.8665435910224915, 0.8349965810775757, 0.6681945323944092, 0.7796618342399597, 0.2355121672153473, 0.9290010929107666, -1.2450848817825317, -1.0879111289978027, -0.7000227570533752, -0.5656176209449768, 1.9389580488204956, -0.18588006496429443, 0.5811007618904114, -0.2924622893333435, -1.182531714439392, 0.003705432638525963, 0.6736891269683838, 0.3920654356479645, -0.41292887926101685, 0.831759512424469, -0.5067906975746155, -1.08513605594635, -1.3189475536346436, -0.38084620237350464, -1.0095161199569702, -0.8861058354377747, 1.045407772064209, 0.8254216313362122, 0.34303954243659973, 1.9499280452728271, 0.5643962025642395, 0.2645740509033203, -2.6777076721191406, 0.8950291872024536, 0.2849864363670349, -0.03354442119598389, 0.9773948192596436, 0.2988300919532776, 1.1796188354492188, -0.023280318826436996, 0.5603365302085876, -2.382774829864502, 2.2508819103240967, -0.27609315514564514, 0.7823101282119751, 0.03859514743089676, -0.08819742500782013, 1.054424524307251, 0.6190822720527649, 0.5560938715934753, -1.0813809633255005, 0.7283820509910583, -0.5539280772209167, 1.1885943412780762, 1.006589651107788, -0.806877613067627, 0.09650469571352005, 1.314009189605713, 0.44430679082870483, -0.5101322531700134, -0.9269751310348511, -0.7952798008918762, 0.9005076885223389, 1.7223399877548218, -0.028091583400964737, 0.033140767365694046, 0.78035569190979, 0.7430148720741272, -1.285735845565796, 0.06191549077630043, -0.6473686099052429, -0.72264564037323, 1.655746340751648, 2.1217565536499023, -0.04675447940826416, -0.17430780827999115, -0.6362820863723755, -1.2920001745224, 0.8495824933052063, 0.028443116694688797, 0.21814052760601044, 0.6439406275749207, -0.6738529205322266, 1.099700927734375, 0.7472807168960571, 1.0346260070800781, 0.16797883808612823, 0.4127935469150543, 0.48305851221084595, -0.3456172049045563, -1.1747674942016602, -0.28503358364105225, -1.10260808467865, -2.5787553787231445, 0.5196648836135864, -0.27765005826950073, -1.4140270948410034, 0.0068124206736683846, -1.0327386856079102, 0.8608571887016296, -0.6229555606842041, -1.0793403387069702, -1.506065845489502, 0.22743843495845795, -0.0701061561703682, 0.962702751159668, -1.6162571907043457, -0.14312292635440826, 1.2369351387023926, 0.9900285005569458, -0.6097932457923889, 1.033570647239685, 0.34725421667099, 1.0418239831924438, 0.7934744358062744, -0.42422279715538025, 0.5375803112983704, -0.012457597069442272, -1.354699969291687, 0.41383278369903564, 1.2264925241470337, 0.24204577505588531, 1.3892866373062134, -0.6067296266555786, 0.01438265759497881, 0.457058310508728, -0.5075056552886963, -0.5165531635284424, -0.4748912751674652, 0.6592867374420166, 0.06274662911891937, -0.9775681495666504, -0.1156761571764946, -0.11386889964342117, -0.17425653338432312, 0.23712223768234253, -1.4043792486190796, -0.19022035598754883, -0.4937937259674072, -0.4664528965950012, -1.3263554573059082, -0.13185840845108032, 1.3497474193572998, -0.8135946989059448, -0.18560336530208588, 0.4750734269618988, 0.3094377815723419, 0.5826401710510254, 0.589267909526825, -0.6720073223114014, -0.35681501030921936, -0.31694918870925903, -0.38891375064849854, 0.2643384039402008, 1.2904000282287598, -0.1610541045665741, -1.015055537223816, 0.5994709730148315, -0.31145697832107544, 0.09274768084287643, 1.9738073348999023, 0.04570424556732178, -0.7541338205337524, 0.2909366190433502, -0.6062450408935547, 1.8050141334533691, 1.6640961170196533, 1.3926398754119873, -0.19124656915664673, -0.8783141374588013, 0.5676679611206055, -0.3442709147930145, -0.45267120003700256, 0.832302451133728, 0.44313719868659973, -0.14705811440944672, -1.499175786972046, 0.6524338126182556, 1.2205274105072021, -0.894413411617279, -0.7147748470306396, 0.09286880493164062, -0.8033695220947266, 1.1266593933105469, 0.6420912146568298, 0.35298073291778564, 0.3047216832637787, 1.6582973003387451, 0.696215033531189, -0.5097510814666748, 0.5046447515487671, 0.5144438147544861, -0.1644807904958725, -2.1915578842163086, -1.1574629545211792, 0.2930311858654022, -0.4263499975204468, -1.5638859272003174, 1.4054429531097412, -1.1287286281585693, -1.0300722122192383, 0.5289723873138428, 0.10472921282052994, 1.3119856119155884, 0.3694544732570648, 1.7194280624389648, 2.166215658187866, 0.8876688480377197, 0.3734477460384369, 1.2638624906539917, -0.09340185672044754, -0.4083356261253357, 1.8348087072372437, -0.4668841063976288, 0.515194833278656, 1.1198285818099976, -0.3869971036911011, -1.0114681720733643, -0.8402014374732971, -1.2305052280426025, -0.7247799038887024, 1.15306556224823, 0.07458356022834778, -1.1291202306747437, 0.2081030309200287, 1.603438138961792, 0.0011713430285453796, -0.2911367118358612, 0.6888275146484375, 0.4485325217247009, -0.7511803507804871, -0.10816600173711777, -0.9554502367973328, 0.537575900554657, -0.20021401345729828, -0.41648778319358826, 0.19583791494369507, 0.5397176146507263, 1.323089838027954, -0.03249135613441467, 0.08352383226156235, 1.293286681175232, -1.3234859704971313, 1.4553874731063843, -0.6608107686042786, 0.18041494488716125, -2.367572546005249, 1.4853514432907104, -0.7422836422920227, 1.9045464992523193, -2.6352596282958984, 0.47669562697410583, -0.4856172502040863, -0.41027358174324036, 0.20892037451267242, -0.3271622359752655, 0.15051715075969696, -0.16695140302181244, -1.0095707178115845, -0.04564401134848595, -0.6771353483200073, 0.5515971183776855, 1.111270546913147, 1.4006497859954834, -1.1664141416549683, -0.26896995306015015, -1.7598483562469482, -0.08540468662977219, -0.6885386109352112, 0.24706576764583588, -1.9801979064941406, -0.18869343400001526, -1.9528993368148804, -2.40047287940979, -1.3229775428771973, -0.8523797988891602, 1.0939006805419922, 0.07700752466917038, -0.9306225776672363, 1.2155202627182007, -0.3172312378883362, -1.8070467710494995, 1.176089882850647, -2.1096839904785156 ]
https://github.com/huggingface/datasets/issues/3969
Cannot preview cnn_dailymail dataset
Well this is because the host (Google Drive) returns a document that is not the actual data, but an error page
## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No
871
21
Cannot preview cnn_dailymail dataset ## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No Well this is because the host (Google Drive) returns a document that is not the actual data, but an error page
[ -1.279730200767517, -0.9509021043777466, -0.7107684016227722, 1.2055423259735107, -0.3497620224952698, -1.336586356163025, 0.18435586988925934, -0.8972504138946533, 1.7283340692520142, -0.7046001553535461, 0.1499605029821396, -1.6888326406478882, -0.21154116094112396, -0.5340341329574585, -0.653927206993103, -0.8188583254814148, -0.5326145887374878, -0.7785637974739075, 1.0939809083938599, 2.463689088821411, 1.1353026628494263, -1.2559841871261597, 2.6973328590393066, 0.5582089424133301, -0.29285237193107605, -1.008815884590149, 0.4193015396595001, 0.07605908811092377, -1.1051857471466064, -0.4840675890445709, -0.9232687950134277, -0.04483672231435776, -0.386666476726532, -0.41771918535232544, 0.08532549440860748, 0.4534062445163727, -0.0024845581501722336, -0.3868198096752167, -0.4679350256919861, -0.6143317818641663, 0.357231080532074, -0.3906373381614685, 0.836600661277771, -0.5041056275367737, 1.9111839532852173, -0.7231032252311707, 0.23192721605300903, 0.7515062093734741, 1.3901715278625488, 0.16158519685268402, -0.10940917581319809, 0.31015899777412415, 0.4724350571632385, -0.2010132521390915, 0.42117658257484436, 1.2561482191085815, 0.4669326841831207, 0.5589382648468018, 0.5734803080558777, -2.134631633758545, 1.3368717432022095, -1.0495306253433228, 0.2664708197116852, 1.5950286388397217, -1.2724887132644653, 0.5832434296607971, -1.794640302658081, -0.022578828036785126, 0.43024739623069763, -2.401373863220215, 0.05810212343931198, -1.3057650327682495, -0.7439190745353699, 0.7771582007408142, 0.2372564971446991, -1.4467477798461914, 0.07777120918035507, -0.39360150694847107, 0.9686266183853149, 0.36835601925849915, 1.2230099439620972, -1.6425888538360596, 0.0450773686170578, -0.3810427188873291, 0.07121109217405319, -1.442536473274231, -1.534501075744629, 0.7499890327453613, 0.6070831418037415, 0.6448513269424438, -0.1999998539686203, 0.8798359036445618, -1.0900591611862183, 0.8793796300888062, -0.8303588032722473, -1.4877218008041382, -1.5698070526123047, -2.4093055725097656, -2.278561592102051, 1.0061455965042114, -0.39129480719566345, -0.533915102481842, 1.836694359779358, -1.061708927154541, -1.6279478073120117, 1.1892410516738892, 0.14444364607334137, 0.06636735796928406, 2.4291629791259766, 0.3173746168613434, -0.6592221260070801, 0.21576733887195587, -0.7971688508987427, 1.0148500204086304, -0.4131920337677002, 1.5190354585647583, 0.6460081338882446, -1.0055935382843018, 1.6155952215194702, -0.3697037100791931, 0.5709515810012817, -0.639305055141449, -0.6247691512107849, -0.9016566276550293, 0.3853552043437958, 1.8539741039276123, -0.35857057571411133, 1.6354856491088867, -0.613365650177002, -1.6158941984176636, -1.44935941696167, 0.9372141361236572, 0.5135940909385681, -0.8667601346969604, 0.16494253277778625, -0.3716796636581421, 0.0659719929099083, 0.018908560276031494, 1.1725754737854004, 1.2887322902679443, 0.5674493908882141, -0.3521965444087982, -0.7830507159233093, 0.13601340353488922, 0.000021945685148239136, -0.7641953229904175, -1.7657809257507324, -0.3794282376766205, 0.15575054287910461, 0.4635390341281891, -1.1306120157241821, 1.7029529809951782, 0.8673973679542542, 1.9052293300628662, 0.9813737869262695, -0.35632234811782837, 1.2215394973754883, 0.033760473132133484, 1.728086233139038, -0.6142860651016235, 0.527850329875946, -0.19092027842998505, -0.9898239970207214, 0.8466755151748657, -0.3513663411140442, -2.0319883823394775, -0.8374250531196594, -0.874562680721283, -0.2663455307483673, -0.7344169616699219, 0.9229280352592468, -0.20617398619651794, -1.4111703634262085, 0.1286201924085617, -0.48213666677474976, 0.17460410296916962, -1.3306692838668823, 0.3656102418899536, 0.6814901828765869, -0.533035397529602, -0.1645728051662445, -0.2502043545246124, -1.3716270923614502, -0.46334612369537354, 0.24932129681110382, 1.9886810779571533, -0.7014855146408081, 1.0233790874481201, 0.7542318105697632, -0.6981216669082642, 0.02475261129438877, 0.1763283610343933, -0.22002097964286804, 0.7804368138313293, -1.0858571529388428, -0.3830467760562897, 0.9513396620750427, -0.14434456825256348, -0.3870784342288971, 1.5318479537963867, 0.8365524411201477, -0.8990958333015442, -0.24779877066612244, -0.4018484354019165, -0.7528913617134094, -0.05046090483665466, -1.5212458372116089, -0.17895707488059998, 0.06258084625005722, -1.3830012083053589, -0.6383997201919556, -0.29851865768432617, 1.2873884439468384, -0.0872529074549675, 1.1603060960769653, -0.3779655694961548, -0.33170652389526367, -0.5704042911529541, -0.45713454484939575, 0.38837045431137085, -0.16566117107868195, -0.6481963396072388, 0.16903619468212128, -0.9295473098754883, 0.2869090735912323, 1.473162055015564, 0.5458973050117493, 0.026132481172680855, 0.5814992189407349, 0.9824885725975037, 0.2500491738319397, -0.007436927407979965, -0.8719124794006348, -1.5083038806915283, 1.993091106414795, -1.4127053022384644, 1.7665598392486572, 0.7963043451309204, 0.04553980380296707, -1.7195194959640503, -1.8460575342178345, 1.267331600189209, 1.3700902462005615, 2.2349209785461426, 0.5253973007202148, 0.47767823934555054, -0.836677610874176, -0.8564133048057556, 0.12561984360218048, -1.0064424276351929, -0.6387670040130615, 0.02604357711970806, 2.23616099357605, 1.8004608154296875, -0.7374339699745178, -0.14249995350837708, -1.1657100915908813, 1.2086811065673828, -0.04256947338581085, 0.20626649260520935, 2.0107948780059814, -0.4207523465156555, -1.0756717920303345, 1.127303957939148, -2.3089935779571533, 0.1864442229270935, 2.0343737602233887, 0.30116066336631775, 0.08522331714630127, -1.407375454902649, -0.6136983036994934, -0.20532070100307465, -0.44875970482826233, -1.3710771799087524, 0.6607966423034668, -0.3495746850967407, -0.8861633539199829, -1.4942262172698975, 0.07825005799531937, -1.0813204050064087, -1.4585763216018677, 0.4692728817462921, 1.8643242120742798, 1.9929945468902588, -0.7442831993103027, 1.3722089529037476, -0.19225887954235077, 0.140733003616333, 1.3430287837982178, 1.098918080329895, 2.9641799926757812, 2.0751278400421143, -1.0623468160629272, 0.6612728834152222, -0.14929720759391785, -0.538468599319458, 1.172957181930542, -1.0103857517242432, 1.221960425376892, -0.31632447242736816, -1.2165513038635254, -1.2653449773788452, 0.9034208059310913, 0.5373984575271606, 0.05687645077705383, -0.38357189297676086, 1.2895479202270508, 0.09694161266088486, 1.3885825872421265, 0.6011346578598022, -0.44455209374427795, 0.4795320928096771, -0.4459395706653595, -0.395889550447464, 1.6820067167282104, 0.25979670882225037, -1.5757111310958862, -2.292876720428467, -0.08777716755867004, -0.818341076374054, -0.03253238648176193, -0.6909456849098206, -1.038756251335144, 1.5366400480270386, 0.5885363817214966, -1.158893346786499, -0.3697090148925781, -0.4326421618461609, -0.6300747990608215, 2.6973495483398438, -1.5610566139221191, -0.22889453172683716, -0.8259976506233215, -0.39608892798423767, 1.847522258758545, -1.2533899545669556, -0.16142860054969788, -1.0628881454467773, -0.5740512609481812, -1.2657976150512695, -0.4946040213108063, -0.12346163392066956, -0.7821002006530762, 0.8619678616523743, -0.12922871112823486, -0.9105207920074463, -0.35690197348594666, -0.9019507765769958, 0.7358506321907043, -0.1544700562953949, 0.21022386848926544, 1.907867193222046, 0.35308516025543213, -0.4618687629699707, 0.6917712092399597, 1.1430116891860962, 0.4842206537723541, -0.6130033135414124, 0.14137765765190125, -0.6538952589035034, 0.45749005675315857, -1.2228813171386719, 0.2117079198360443, -3.001450300216675, 0.6307451725006104, -0.10486853867769241, -0.03055431693792343, -0.21432161331176758, -1.4635629653930664, 1.1151539087295532, 2.3394761085510254, -1.253410816192627, 0.4736813008785248, 0.23661722242832184, 1.3105628490447998, -1.7242571115493774, 0.36570143699645996, -0.5283584594726562, 2.0236990451812744, 0.2741260528564453, 1.1544902324676514, -0.5807510614395142, -2.1050570011138916, 0.5791046023368835, -1.133915901184082, -1.0799987316131592, 0.5214790105819702, -0.9215642213821411, 0.21264395117759705, -1.5702110528945923, -0.27412453293800354, -0.9689743518829346, -1.2316622734069824, 0.8138210773468018, 0.20321445167064667, 0.3708890974521637, -0.6154152154922485, 0.31778228282928467, -2.3031482696533203, -1.429694652557373, -0.3157476782798767, -0.8799888491630554, 0.5601007342338562, -0.3422699570655823, 0.7029265761375427, -0.07161285728216171, 0.25527751445770264, 0.06692156940698624, 1.334083914756775, 3.3120229244232178, 0.07879975438117981, 0.33074474334716797, -0.14365988969802856, -0.8826877474784851, 1.4517731666564941, 1.1821218729019165, 0.15494222939014435, -0.6506174802780151, -0.8825312256813049, 1.483116626739502, 1.8494389057159424, 1.0616923570632935, 0.24059975147247314, -0.6937524676322937, -0.366161048412323, -0.05170989781618118, 0.31788983941078186, 0.3328511714935303, 1.0518072843551636, -0.027173299342393875, 0.3281193971633911, 1.4692063331604004, 1.3334914445877075, -0.5789104104042053, 0.5031496286392212, -0.9187189936637878, -0.399004191160202, 0.4373641312122345, 0.3737114369869232, -0.09644584357738495, 0.4657127857208252, -0.9698793888092041, -0.3396818935871124, -0.0714229866862297, -1.0889722108840942, -0.6763943433761597, -0.3998403549194336, -0.5128903388977051, 1.5097804069519043, 0.10904043912887573, -0.6162615418434143, -0.1597210168838501, -0.6629990339279175, -0.11752966046333313, -1.1631052494049072, 0.2858915627002716, -0.1178302988409996, 0.035428307950496674, -0.1336311399936676, 1.7647933959960938, -0.8108062744140625, -2.340487003326416, 0.24304138123989105, 0.43150511384010315, -0.5107701420783997, -0.02033170685172081, 1.5285128355026245, 0.4099780321121216, 1.6066350936889648, 1.3899757862091064, 1.0172966718673706, -0.5844056010246277, -1.3395313024520874, 0.6264255046844482, 0.9328650832176208, -1.436702847480774, 0.7550450563430786, 0.003824184648692608, -0.38598406314849854, 0.7972316741943359, 1.3188276290893555, 0.42235279083251953, -2.00079083442688, 0.9243678450584412, -0.9459406733512878, 0.9955388903617859, 0.6759589314460754, 0.9475336074829102, 0.3647198975086212, 1.08413827419281, -1.2785128355026245, -1.220901608467102, -0.8981443643569946, -0.5586620569229126, 2.1764965057373047, -0.20724408328533173, 0.6516215205192566, -0.2976778745651245, -1.024965524673462, -0.03696069121360779, 0.7273320555686951, 0.4304772913455963, -0.3411519229412079, 0.8047933578491211, -0.5148553848266602, -1.0824941396713257, -1.3883882761001587, -0.27873921394348145, -0.8326395153999329, -0.9035443663597107, 1.1674261093139648, 0.9271115660667419, 0.4263402819633484, 1.9420241117477417, 0.4101991355419159, 0.2773083746433258, -2.5991201400756836, 0.7949013710021973, 0.262325257062912, 0.12512445449829102, 0.9166275262832642, 0.27645695209503174, 1.2467164993286133, -0.028041431680321693, 0.38548600673675537, -2.2690799236297607, 2.1189441680908203, -0.2537384629249573, 0.8220464587211609, 0.0693836584687233, 0.018461721017956734, 1.2580759525299072, 0.525801956653595, 0.612736165523529, -1.1663470268249512, 0.7467564344406128, -0.3754693865776062, 1.2205212116241455, 1.0071535110473633, -0.6972348093986511, 0.08465835452079773, 1.40493643283844, 0.5276866555213928, -0.4509512782096863, -0.9613505005836487, -0.6916154026985168, 0.8421352505683899, 1.6508204936981201, -0.04062214493751526, 0.10040625929832458, 0.7342575192451477, 0.7322466373443604, -1.1933637857437134, 0.13737010955810547, -0.8047401905059814, -0.5993999242782593, 1.657749891281128, 2.1861751079559326, -0.04167340695858002, 0.0024470705538988113, -0.6120699048042297, -1.1217297315597534, 0.6799885034561157, 0.06322862207889557, 0.07981552928686142, 0.8480579853057861, -0.7072991132736206, 1.1698253154754639, 0.5879796743392944, 0.8704102635383606, 0.08675051480531693, 0.4649876654148102, 0.465390145778656, -0.08095081895589828, -1.1516203880310059, -0.38949814438819885, -1.2418787479400635, -2.3892412185668945, 0.47664889693260193, -0.45943683385849, -1.4124393463134766, 0.014076415449380875, -1.142386794090271, 0.8720598816871643, -0.7293543815612793, -1.2317358255386353, -1.6552667617797852, 0.10419093817472458, 0.08011668175458908, 0.8527712225914001, -1.6616945266723633, -0.1879757195711136, 1.2392150163650513, 0.7714798450469971, -0.6302831172943115, 1.063569188117981, 0.4507763385772705, 0.9657558798789978, 0.5842663049697876, -0.4575532078742981, 0.39208489656448364, 0.004820438101887703, -1.4660831689834595, 0.7259998917579651, 1.3130403757095337, 0.021983487531542778, 1.455215573310852, -0.6831318140029907, 0.029329640790820122, 0.6450762748718262, -0.6029513478279114, -0.5898797512054443, -0.4210255742073059, 0.7169003486633301, 0.06841375678777695, -0.9059150815010071, -0.10905870795249939, -0.1061064824461937, -0.16775992512702942, 0.27288785576820374, -1.3761955499649048, -0.35640060901641846, -0.6045641303062439, -0.4878365397453308, -1.3256595134735107, -0.10477745532989502, 1.291092038154602, -0.666999101638794, -0.2285853922367096, 0.5885306000709534, 0.49875903129577637, 0.6286676526069641, 0.634419322013855, -0.5357035398483276, -0.29058563709259033, -0.25523948669433594, -0.27944278717041016, 0.2689988315105438, 1.3327399492263794, -0.4491037428379059, -1.1260734796524048, 0.6229307651519775, -0.3642460107803345, 0.021897731348872185, 2.162064790725708, 0.17346340417861938, -0.7277425527572632, 0.39889150857925415, -0.7843688726425171, 1.7860429286956787, 1.5314024686813354, 1.3806778192520142, -0.016904808580875397, -0.8539077043533325, 0.4535045027732849, -0.163936048746109, -0.4662702679634094, 0.7691178321838379, 0.44637611508369446, -0.1689503788948059, -1.4479405879974365, 0.5962234735488892, 1.2776845693588257, -0.9530012011528015, -0.7822232842445374, 0.07908592373132706, -0.7902973294258118, 1.1155728101730347, 0.6543590426445007, 0.5181414484977722, 0.25371259450912476, 1.7597074508666992, 0.529511034488678, -0.42327597737312317, 0.42689618468284607, 0.6375756859779358, -0.027226461097598076, -2.1068623065948486, -1.0855671167373657, 0.31303709745407104, -0.4906688630580902, -1.4674333333969116, 1.3711985349655151, -1.0009279251098633, -1.005318284034729, 0.49166926741600037, 0.2309025228023529, 1.4651787281036377, 0.32977181673049927, 1.69008469581604, 2.061300277709961, 0.9581131339073181, 0.3125115931034088, 1.4110264778137207, 0.061583831906318665, -0.4826957583427429, 1.9791615009307861, -0.4385409653186798, 0.4164082109928131, 1.0689973831176758, -0.45180201530456543, -1.1494184732437134, -0.7263926863670349, -1.0412863492965698, -0.6832372546195984, 1.08179771900177, 0.18891002237796783, -1.1368049383163452, 0.034219272434711456, 1.3606281280517578, 0.08049081265926361, -0.3705562651157379, 0.47969958186149597, 0.48946917057037354, -0.7390948534011841, -0.12107604742050171, -1.0355337858200073, 0.5070180892944336, -0.3198920786380768, -0.4738459885120392, 0.16384972631931305, 0.7563663721084595, 1.214389681816101, -0.18710368871688843, 0.08638656139373779, 1.3615500926971436, -1.4721477031707764, 1.4303381443023682, -0.5543479323387146, -0.01152169331908226, -2.380709171295166, 1.6995502710342407, -0.5979072451591492, 1.8820486068725586, -2.9055323600769043, 0.45622336864471436, -0.5366655588150024, -0.3462933599948883, 0.35853880643844604, -0.23340018093585968, 0.1380016803741455, 0.002664538100361824, -1.0915827751159668, 0.15369167923927307, -0.7081956267356873, 0.4465634524822235, 1.1648495197296143, 1.3341931104660034, -1.2453675270080566, -0.35477331280708313, -1.6811972856521606, -0.1175219714641571, -0.7123948931694031, 0.3951784372329712, -2.1467487812042236, -0.04234611988067627, -1.9176838397979736, -2.139669418334961, -1.3228323459625244, -0.8013044595718384, 1.0289943218231201, 0.20637652277946472, -1.0696196556091309, 1.049140214920044, -0.33702585101127625, -1.7099485397338867, 1.1353567838668823, -2.0989291667938232 ]
https://github.com/huggingface/datasets/issues/3969
Cannot preview cnn_dailymail dataset
Yes it definitely should ! I don't have the bandwidth to work on this right now though
## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No
871
17
Cannot preview cnn_dailymail dataset ## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No Yes it definitely should ! I don't have the bandwidth to work on this right now though
[ -1.251883625984192, -1.017193078994751, -0.6682007908821106, 1.2698853015899658, -0.33238843083381653, -1.3463072776794434, 0.1517576277256012, -0.828667402267456, 1.8409305810928345, -0.7200700640678406, 0.16779184341430664, -1.6619726419448853, -0.17580120265483856, -0.49729737639427185, -0.6806975603103638, -0.8527238965034485, -0.5293229222297668, -0.6873640418052673, 1.0526155233383179, 2.4155378341674805, 1.0235848426818848, -1.335075855255127, 2.6985373497009277, 0.566877007484436, -0.1376343071460724, -1.1192407608032227, 0.4822390079498291, 0.17917081713676453, -1.0742590427398682, -0.47198742628097534, -0.9224306344985962, 0.04164520278573036, -0.3721236288547516, -0.4203381836414337, 0.08490366488695145, 0.440439373254776, 0.010775490663945675, -0.44179674983024597, -0.406248539686203, -0.6198664307594299, 0.3818397521972656, -0.38906341791152954, 0.8466203212738037, -0.520610511302948, 1.9352704286575317, -0.6635918021202087, 0.2994011342525482, 0.7959622740745544, 1.2930810451507568, 0.14704972505569458, -0.05420490354299545, 0.2990089952945709, 0.5274422764778137, -0.15916560590267181, 0.42477715015411377, 1.1694037914276123, 0.4056312143802643, 0.6119940280914307, 0.5800037980079651, -2.141148090362549, 1.34457528591156, -1.0534586906433105, 0.3438832759857178, 1.5661815404891968, -1.3143571615219116, 0.48967868089675903, -1.8372207880020142, -0.004926315508782864, 0.509346067905426, -2.331787109375, 0.1355534791946411, -1.2537087202072144, -0.6937336325645447, 0.8254961371421814, 0.16640783846378326, -1.4239294528961182, 0.20007789134979248, -0.40324851870536804, 1.0694385766983032, 0.37540403008461, 1.2522625923156738, -1.6694655418395996, 0.10027161985635757, -0.2821540832519531, -0.033154625445604324, -1.388940453529358, -1.502387523651123, 0.7075627446174622, 0.464464396238327, 0.7075498700141907, -0.11936080455780029, 0.8638571500778198, -1.0432825088500977, 0.9545885324478149, -0.8260495066642761, -1.4550821781158447, -1.4604121446609497, -2.375117301940918, -2.2450997829437256, 1.004326343536377, -0.3582856059074402, -0.5175350904464722, 1.7526991367340088, -1.0448379516601562, -1.7036139965057373, 1.255518913269043, 0.23442357778549194, 0.11527971923351288, 2.374223470687866, 0.32149985432624817, -0.6068997979164124, 0.20190027356147766, -0.8394872546195984, 1.0346803665161133, -0.4673175811767578, 1.508363127708435, 0.6753087639808655, -0.9249722361564636, 1.612460970878601, -0.4038950502872467, 0.6811790466308594, -0.7474225759506226, -0.6838263869285583, -0.9412170648574829, 0.43353304266929626, 2.017871856689453, -0.3451627790927887, 1.5562667846679688, -0.6188216805458069, -1.668184518814087, -1.4073013067245483, 0.9579616189002991, 0.5125232338905334, -0.8806207776069641, 0.12069026380777359, -0.33697476983070374, 0.11348211020231247, -0.054255057126283646, 1.1166231632232666, 1.2092649936676025, 0.5282610058784485, -0.38541263341903687, -0.8390312790870667, 0.11125872284173965, -0.030202124267816544, -0.6642372608184814, -1.82792329788208, -0.3708138167858124, 0.20312249660491943, 0.5267956256866455, -1.0761762857437134, 1.640457272529602, 0.8753751516342163, 1.8801277875900269, 0.967865526676178, -0.2676520049571991, 1.2993537187576294, 0.04835346341133118, 1.788777470588684, -0.6294299364089966, 0.47454148530960083, -0.21074382960796356, -0.9598504304885864, 0.8153219819068909, -0.402975857257843, -1.973794937133789, -0.7992541193962097, -0.9276301264762878, -0.23612530529499054, -0.7370548844337463, 0.9486838579177856, -0.26659566164016724, -1.4624104499816895, 0.1071251705288887, -0.47929617762565613, 0.1583341360092163, -1.3322855234146118, 0.39605289697647095, 0.7177991271018982, -0.5870190262794495, -0.16003328561782837, -0.3314397633075714, -1.427925705909729, -0.49810561537742615, 0.3068879246711731, 1.92830491065979, -0.7189622521400452, 0.9978704452514648, 0.7364532947540283, -0.7094500064849854, -0.06373292207717896, 0.2678926885128021, -0.23771394789218903, 0.7826793789863586, -1.1664752960205078, -0.41468819975852966, 0.9281867742538452, -0.21381987631320953, -0.37166738510131836, 1.5172713994979858, 0.8513817191123962, -0.9242419600486755, -0.26432496309280396, -0.40469565987586975, -0.703649640083313, -0.14767161011695862, -1.4837929010391235, -0.1919110119342804, 0.009150457568466663, -1.3596373796463013, -0.6569419503211975, -0.41350075602531433, 1.2355095148086548, -0.15985819697380066, 1.1008617877960205, -0.3273454010486603, -0.3685934245586395, -0.5408058762550354, -0.5298328399658203, 0.453235000371933, -0.20541097223758698, -0.6757644414901733, 0.07731663435697556, -0.9265307188034058, 0.2877019941806793, 1.512976050376892, 0.5272176265716553, -0.02760525420308113, 0.6259235143661499, 1.0426698923110962, 0.20983578264713287, 0.07708996534347534, -0.8737115859985352, -1.4869734048843384, 1.954050064086914, -1.5033113956451416, 1.7696020603179932, 0.6451021432876587, -0.0438164658844471, -1.7038180828094482, -1.8743609189987183, 1.3689688444137573, 1.3532304763793945, 2.2903146743774414, 0.4838160276412964, 0.4828811585903168, -0.7727430462837219, -0.8480485081672668, 0.11888650804758072, -1.0433751344680786, -0.665772557258606, 0.02561928704380989, 2.1805222034454346, 1.7719658613204956, -0.7657846212387085, -0.1045353040099144, -1.0968632698059082, 1.3025505542755127, -0.03911920636892319, 0.22199304401874542, 2.0577499866485596, -0.38364341855049133, -1.0179027318954468, 1.025000810623169, -2.2822964191436768, 0.1677751988172531, 2.0687522888183594, 0.29303720593452454, 0.168601393699646, -1.5133719444274902, -0.5942397117614746, -0.16954734921455383, -0.4614769220352173, -1.3363834619522095, 0.7096856236457825, -0.3886031210422516, -0.8879854083061218, -1.471961259841919, 0.10028024017810822, -1.049338698387146, -1.4486182928085327, 0.47386878728866577, 1.9417694807052612, 1.9407984018325806, -0.8119789361953735, 1.4417319297790527, -0.09727248549461365, 0.2360815852880478, 1.426857352256775, 1.129246473312378, 3.0138142108917236, 2.1204094886779785, -0.9912912249565125, 0.5968688726425171, -0.1352139413356781, -0.6112514138221741, 1.229791522026062, -0.9801862835884094, 1.1918705701828003, -0.23858731985092163, -1.118406891822815, -1.273266077041626, 0.838067889213562, 0.5329011678695679, 0.03394549712538719, -0.4004719853401184, 1.2246437072753906, 0.023077405989170074, 1.3352957963943481, 0.541669487953186, -0.5195806622505188, 0.5425454378128052, -0.578241229057312, -0.41699349880218506, 1.671327829360962, 0.218920037150383, -1.5967555046081543, -2.2724945545196533, -0.058545973151922226, -0.8301684856414795, -0.04332944378256798, -0.596290111541748, -1.0807656049728394, 1.4938396215438843, 0.5601020455360413, -1.2388111352920532, -0.35749903321266174, -0.3787323534488678, -0.75254887342453, 2.607059955596924, -1.3968976736068726, -0.2543354034423828, -0.8460108041763306, -0.4447415769100189, 1.8448779582977295, -1.215357780456543, -0.22931241989135742, -1.0730750560760498, -0.6039285659790039, -1.3255819082260132, -0.48575422167778015, -0.09481222182512283, -0.8153408169746399, 0.8958562612533569, -0.11848033964633942, -0.926719069480896, -0.2720943093299866, -0.9407254457473755, 0.6523623466491699, -0.08667706698179245, 0.2741319537162781, 1.9315670728683472, 0.29206356406211853, -0.4346303343772888, 0.5814614295959473, 1.1443846225738525, 0.47015661001205444, -0.6411543488502502, 0.1430700570344925, -0.6809489727020264, 0.4168485403060913, -1.2649426460266113, 0.2908250391483307, -2.9739389419555664, 0.654826819896698, -0.08981550484895706, -0.09685201942920685, -0.23886410892009735, -1.4071483612060547, 1.203969955444336, 2.371488571166992, -1.26276433467865, 0.5416370630264282, 0.3487953841686249, 1.325984239578247, -1.6491948366165161, 0.39393728971481323, -0.46331435441970825, 2.0779569149017334, 0.24074603617191315, 1.1947839260101318, -0.6136264801025391, -2.112962245941162, 0.5606052279472351, -1.0711681842803955, -1.1051263809204102, 0.5123382210731506, -0.9526380896568298, 0.1683495044708252, -1.5606123208999634, -0.20034120976924896, -1.0712321996688843, -1.2443506717681885, 0.7972570657730103, 0.2273198664188385, 0.3858480155467987, -0.5631404519081116, 0.3005708158016205, -2.3616740703582764, -1.3865187168121338, -0.29750365018844604, -0.9473448395729065, 0.5725282430648804, -0.3374316692352295, 0.6417903304100037, -0.03651224076747894, 0.3010106086730957, 0.01650596410036087, 1.2981199026107788, 3.3151533603668213, 0.1306869387626648, 0.4077247679233551, -0.01441863365471363, -0.8109009265899658, 1.537621021270752, 1.1627451181411743, 0.1155252531170845, -0.6331831812858582, -0.929811954498291, 1.4885454177856445, 1.8386945724487305, 1.0233217477798462, 0.20524372160434723, -0.6100091934204102, -0.3968560993671417, 0.016018077731132507, 0.17674808204174042, 0.33323583006858826, 1.0021593570709229, 0.036376480013132095, 0.24656708538532257, 1.3842668533325195, 1.2923338413238525, -0.5703598856925964, 0.5219066739082336, -0.892729640007019, -0.31989848613739014, 0.3886032700538635, 0.34695565700531006, -0.016227245330810547, 0.34137052297592163, -1.0048748254776, -0.3281739354133606, -0.08132151514291763, -1.0343217849731445, -0.6843116879463196, -0.34191346168518066, -0.5157886147499084, 1.5577502250671387, 0.18465730547904968, -0.7022441625595093, -0.1737545132637024, -0.7114993929862976, -0.050967950373888016, -1.131287693977356, 0.23375532031059265, -0.14329934120178223, 0.06203470006585121, -0.14483371376991272, 1.8659147024154663, -0.8662708401679993, -2.304431676864624, 0.19112442433834076, 0.4155145585536957, -0.49978137016296387, 0.01287041511386633, 1.4930962324142456, 0.3602024018764496, 1.5427950620651245, 1.2979333400726318, 1.048007845878601, -0.6175910234451294, -1.318992257118225, 0.6376506686210632, 0.9115335941314697, -1.4791659116744995, 0.7483354210853577, 0.13826759159564972, -0.33674681186676025, 0.8671182990074158, 1.2956022024154663, 0.33408498764038086, -1.9621082544326782, 0.9081210494041443, -0.9191614985466003, 0.9988692998886108, 0.6872120499610901, 0.8765851259231567, 0.39485692977905273, 1.1212509870529175, -1.2140088081359863, -1.2176798582077026, -0.9739508628845215, -0.5659146904945374, 2.1992766857147217, -0.1949775069952011, 0.6331418752670288, -0.2859533727169037, -0.9801104068756104, -0.08000214397907257, 0.7095704078674316, 0.4699014723300934, -0.27379292249679565, 0.7793789505958557, -0.5532076954841614, -1.1055325269699097, -1.411181092262268, -0.3678900897502899, -0.818018913269043, -0.8792213201522827, 1.113806128501892, 1.0325111150741577, 0.44113925099372864, 1.9252426624298096, 0.5348703265190125, 0.31498798727989197, -2.615950107574463, 0.8204405307769775, 0.272920161485672, 0.11677619069814682, 0.872043251991272, 0.2928122580051422, 1.3049548864364624, -0.009786590933799744, 0.42107030749320984, -2.2878618240356445, 2.1734135150909424, -0.3329414427280426, 0.796751081943512, 0.04274619370698929, -0.025678005069494247, 1.2516498565673828, 0.48520538210868835, 0.6401291489601135, -1.1331758499145508, 0.6863274574279785, -0.357099324464798, 1.268601417541504, 1.0239444971084595, -0.6938073635101318, 0.1241084560751915, 1.4229605197906494, 0.4592410624027252, -0.4314146637916565, -0.9775133728981018, -0.7079572677612305, 0.8849554657936096, 1.6417065858840942, -0.06726997345685959, 0.0825715884566307, 0.7267476320266724, 0.7151883840560913, -1.1700670719146729, 0.054678406566381454, -0.8385802507400513, -0.6015462875366211, 1.6545424461364746, 2.191037654876709, 0.025170765817165375, -0.0235058031976223, -0.6709321141242981, -1.2225655317306519, 0.6671820282936096, 0.1261841058731079, 0.05098291113972664, 0.719873309135437, -0.6654694080352783, 1.1631391048431396, 0.6266841292381287, 0.9636232852935791, 0.03540936857461929, 0.4246528744697571, 0.4928121864795685, -0.18396912515163422, -1.1085649728775024, -0.4650875926017761, -1.3293777704238892, -2.345316171646118, 0.4242340922355652, -0.41594836115837097, -1.4290707111358643, 0.041702453047037125, -1.1598668098449707, 0.9172987937927246, -0.6200547218322754, -1.2209177017211914, -1.6581884622573853, 0.04962712898850441, 0.022152960300445557, 0.9094747304916382, -1.6980878114700317, -0.24759401381015778, 1.2384454011917114, 0.8499845862388611, -0.6434335708618164, 1.089154839515686, 0.43806010484695435, 0.9527687430381775, 0.6621450185775757, -0.5193099975585938, 0.42195311188697815, 0.06281505525112152, -1.5297894477844238, 0.754694938659668, 1.2582919597625732, 0.03114604577422142, 1.4173178672790527, -0.6292198896408081, 0.036995626986026764, 0.6622018814086914, -0.6656368374824524, -0.6395828723907471, -0.45984235405921936, 0.7110949754714966, 0.09719205647706985, -0.9248157739639282, -0.08922537416219711, -0.06886417418718338, -0.11078239232301712, 0.3175595998764038, -1.4326881170272827, -0.4217134416103363, -0.46975812315940857, -0.501945436000824, -1.2671477794647217, -0.09338763356208801, 1.3038808107376099, -0.6903678178787231, -0.2221662402153015, 0.5939916968345642, 0.5855491161346436, 0.5423247218132019, 0.5351901650428772, -0.5897272825241089, -0.2746950089931488, -0.3022672235965729, -0.27935996651649475, 0.1881975382566452, 1.3585115671157837, -0.40910300612449646, -1.0461363792419434, 0.5736690759658813, -0.3335263431072235, -0.04620198532938957, 2.1126246452331543, 0.10959134995937347, -0.7581256628036499, 0.46594151854515076, -0.7439203858375549, 1.9007431268692017, 1.5301902294158936, 1.4421758651733398, -0.04244978725910187, -0.8059176206588745, 0.34709715843200684, -0.13797229528427124, -0.4865018129348755, 0.7933738231658936, 0.4437170922756195, -0.2023298293352127, -1.4436321258544922, 0.5595488548278809, 1.2980161905288696, -0.9888054728507996, -0.7321822643280029, 0.10160347074270248, -0.8325603604316711, 1.0929579734802246, 0.6473073959350586, 0.6046550273895264, 0.17333002388477325, 1.8313028812408447, 0.5971319675445557, -0.49167460203170776, 0.40770554542541504, 0.6959947347640991, 0.0010587619617581367, -2.1728389263153076, -1.0856486558914185, 0.27125293016433716, -0.48676687479019165, -1.493379831314087, 1.4026901721954346, -0.9222349524497986, -0.9972403645515442, 0.5409852862358093, 0.20590302348136902, 1.460075855255127, 0.40186792612075806, 1.6249945163726807, 1.995385766029358, 0.8131341934204102, 0.33040139079093933, 1.3643728494644165, -0.03396828472614288, -0.5116960406303406, 2.0202248096466064, -0.4463313817977905, 0.4862459897994995, 1.1076345443725586, -0.5024610757827759, -1.1833746433258057, -0.7365056872367859, -1.0495171546936035, -0.6362783312797546, 1.02578604221344, 0.11827155202627182, -1.148829460144043, -0.0011246833018958569, 1.383044958114624, 0.01597089320421219, -0.35001805424690247, 0.4635363519191742, 0.44916602969169617, -0.7935746908187866, -0.10307764261960983, -1.0331543684005737, 0.5348334312438965, -0.23063087463378906, -0.5322268009185791, 0.21898379921913147, 0.7039230465888977, 1.1249754428863525, -0.17419910430908203, 0.14715512096881866, 1.376692533493042, -1.4550143480300903, 1.4392964839935303, -0.6817291378974915, 0.01840166002511978, -2.398263454437256, 1.6376878023147583, -0.5294577479362488, 1.9117411375045776, -2.858788013458252, 0.3446981608867645, -0.5867310166358948, -0.4279784858226776, 0.2784382998943329, -0.2239575982093811, 0.04634736850857735, -0.06897430866956711, -1.0301854610443115, 0.17397738993167877, -0.63350909948349, 0.4311814606189728, 1.1980929374694824, 1.3162181377410889, -1.1809426546096802, -0.2898961901664734, -1.7362464666366577, -0.07789160311222076, -0.7755355834960938, 0.39405927062034607, -2.152132987976074, -0.06429118663072586, -1.8392606973648071, -2.117400646209717, -1.3854855298995972, -0.8990759253501892, 0.9630203247070312, 0.24746514856815338, -1.1129902601242065, 1.1461021900177002, -0.23767732083797455, -1.6190378665924072, 1.116685390472412, -2.0461318492889404 ]
https://github.com/huggingface/datasets/issues/3969
Cannot preview cnn_dailymail dataset
Indeed, streaming was not supported: tgz archives were not properly iterated. I've opened a PR to support streaming. However, keep in mind that Google Drive will keep generating issues from time to time, like 403,...
## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No
871
35
Cannot preview cnn_dailymail dataset ## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No Indeed, streaming was not supported: tgz archives were not properly iterated. I've opened a PR to support streaming. However, keep in mind that Google Drive will keep generating issues from time to time, like 403,...
[ -1.3279224634170532, -1.0059497356414795, -0.727118968963623, 1.2550398111343384, -0.27213993668556213, -1.277694821357727, 0.20102494955062866, -0.992773175239563, 1.701666235923767, -0.6552221775054932, 0.1741057187318802, -1.576784372329712, -0.1415771245956421, -0.5912291407585144, -0.5982949137687683, -0.8045743703842163, -0.5577949285507202, -0.7140482664108276, 1.0705766677856445, 2.4594695568084717, 1.0697749853134155, -1.3390495777130127, 2.672232151031494, 0.7026938199996948, -0.19316281378269196, -1.1458452939987183, 0.4611250162124634, 0.1942329853773117, -1.1833298206329346, -0.46893560886383057, -0.9336711168289185, -0.06799956411123276, -0.4637071490287781, -0.3821735978126526, 0.04133811593055725, 0.4614288806915283, -0.06871984153985977, -0.372791051864624, -0.5268765091896057, -0.6920605301856995, 0.45611441135406494, -0.5010945796966553, 0.8302176594734192, -0.4408907890319824, 1.8373113870620728, -0.6356699466705322, 0.4521609842777252, 0.7032677531242371, 1.3228447437286377, 0.13310571014881134, -0.11589451134204865, 0.2807398736476898, 0.4556320607662201, -0.11015897989273071, 0.33193814754486084, 1.0645631551742554, 0.46558335423469543, 0.4821789562702179, 0.5834864974021912, -2.161552906036377, 1.2900800704956055, -0.9956977963447571, 0.2324361652135849, 1.5371429920196533, -1.1907247304916382, 0.5360378623008728, -1.8796371221542358, -0.04064398258924484, 0.5203447341918945, -2.2956573963165283, 0.16515173017978668, -1.1693397760391235, -0.6471013426780701, 0.9028423428535461, 0.3603220582008362, -1.338673710823059, 0.219207763671875, -0.4781228303909302, 0.9531309008598328, 0.34976115822792053, 1.1831417083740234, -1.7555723190307617, 0.09463195502758026, -0.3128599524497986, 0.03126712143421173, -1.4265693426132202, -1.370145320892334, 0.7052431702613831, 0.5828974843025208, 0.6730682253837585, -0.15014903247356415, 0.8079084753990173, -1.0721784830093384, 0.8399955034255981, -0.9526631832122803, -1.538645625114441, -1.4285317659378052, -2.4482483863830566, -2.3923397064208984, 0.957984209060669, -0.3674550950527191, -0.5460489988327026, 1.8338367938995361, -0.9779447317123413, -1.6191152334213257, 1.1788936853408813, 0.19229622185230255, 0.08414208143949509, 2.427675724029541, 0.322052925825119, -0.6341785788536072, 0.2895117402076721, -0.7745351791381836, 0.8987867832183838, -0.5184997320175171, 1.5327022075653076, 0.5863196849822998, -0.9719299077987671, 1.6307891607284546, -0.382948100566864, 0.539881706237793, -0.7288888096809387, -0.560985267162323, -0.8685356378555298, 0.4208720028400421, 1.9492539167404175, -0.2215946763753891, 1.5600663423538208, -0.5377057790756226, -1.6366883516311646, -1.4791001081466675, 0.9689713716506958, 0.4953790307044983, -0.7884916663169861, 0.1550077199935913, -0.444237619638443, 0.07291978597640991, -0.012908590957522392, 1.0659130811691284, 1.2685627937316895, 0.5829526782035828, -0.2729624807834625, -0.8753828406333923, 0.22205956280231476, -0.08908146619796753, -0.6976875066757202, -1.804079294204712, -0.3465382754802704, 0.11905728280544281, 0.5719619393348694, -1.1755285263061523, 1.6639004945755005, 0.9031504392623901, 1.9522216320037842, 0.9755012392997742, -0.43617454171180725, 1.3727223873138428, -0.007264543324708939, 1.874259114265442, -0.6509972810745239, 0.6049131155014038, -0.2356395423412323, -0.9936482906341553, 0.8910359144210815, -0.34689629077911377, -2.101175546646118, -0.7823190689086914, -0.888078510761261, -0.3248669505119324, -0.729176938533783, 0.9578670859336853, -0.17163024842739105, -1.3491520881652832, 0.2289642095565796, -0.5629367828369141, 0.15835829079151154, -1.2732936143875122, 0.3279179334640503, 0.7084115743637085, -0.4729314148426056, -0.07895918935537338, -0.3069276213645935, -1.4663751125335693, -0.49190452694892883, 0.3193914294242859, 1.8618083000183105, -0.7185943722724915, 0.9194415807723999, 0.9036955833435059, -0.7511073350906372, 0.004533907398581505, 0.25554636120796204, -0.27670520544052124, 0.7989910244941711, -1.099896788597107, -0.4064050614833832, 0.9869523048400879, -0.20141541957855225, -0.4383561611175537, 1.511842966079712, 0.737114429473877, -0.948478102684021, -0.2160353809595108, -0.33141329884529114, -0.8498558402061462, 0.035763218998909, -1.6557910442352295, -0.13917148113250732, 0.1590956747531891, -1.4171841144561768, -0.5477797985076904, -0.16551555693149567, 1.3713335990905762, -0.022440467029809952, 1.2896804809570312, -0.36616843938827515, -0.25291216373443604, -0.4788246154785156, -0.4494212567806244, 0.36102473735809326, -0.23381774127483368, -0.5257816314697266, 0.20637689530849457, -0.9045369029045105, 0.3428966701030731, 1.45913565158844, 0.4550946056842804, 0.028276784345507622, 0.5757754445075989, 0.8978291749954224, 0.3059884011745453, -0.10128675401210785, -0.8388349413871765, -1.59657883644104, 2.0530905723571777, -1.496752381324768, 1.8493574857711792, 0.6619836091995239, -0.011563166975975037, -1.726204514503479, -1.8029767274856567, 1.2858569622039795, 1.2531012296676636, 2.259350299835205, 0.5742320418357849, 0.37315040826797485, -0.8740737438201904, -0.7786258459091187, 0.22477145493030548, -0.9776883721351624, -0.620338499546051, 0.07767033576965332, 2.2210333347320557, 1.8099089860916138, -0.7537283897399902, -0.1259114146232605, -1.127030849456787, 1.2848037481307983, -0.10710088163614273, 0.22693081200122833, 2.051374912261963, -0.33881258964538574, -1.0225685834884644, 1.2056553363800049, -2.382114887237549, 0.1814538687467575, 1.9782435894012451, 0.3334605395793915, 0.1604558676481247, -1.4128886461257935, -0.676560640335083, -0.2741301357746124, -0.3757925033569336, -1.285773515701294, 0.6277222037315369, -0.4002148509025574, -0.9033796191215515, -1.515084147453308, 0.19140085577964783, -1.1052647829055786, -1.5616730451583862, 0.4480644166469574, 1.8077831268310547, 2.023503065109253, -0.7593836188316345, 1.3942214250564575, -0.22531968355178833, 0.13177555799484253, 1.25185227394104, 1.1191872358322144, 2.970343828201294, 2.0841047763824463, -1.091493010520935, 0.72137051820755, -0.13501395285129547, -0.5263677835464478, 1.1121644973754883, -1.0469152927398682, 1.3220726251602173, -0.2496062070131302, -1.1240633726119995, -1.2528516054153442, 0.8666085004806519, 0.575552761554718, 0.07437145709991455, -0.4442756175994873, 1.2401599884033203, 0.04146655648946762, 1.3654149770736694, 0.542930006980896, -0.41185685992240906, 0.47321921586990356, -0.5171865820884705, -0.4893083870410919, 1.6107358932495117, 0.29976823925971985, -1.6795881986618042, -2.2535502910614014, -0.13861209154129028, -0.8493220806121826, -0.07624618709087372, -0.668452799320221, -0.9683023691177368, 1.5524595975875854, 0.5157527923583984, -1.1466693878173828, -0.29980161786079407, -0.3431541621685028, -0.6507588624954224, 2.805104970932007, -1.4562160968780518, -0.26837870478630066, -0.8712576627731323, -0.4936715364456177, 1.8120914697647095, -1.1910301446914673, -0.19066622853279114, -1.0256612300872803, -0.5263922214508057, -1.2699429988861084, -0.5028939843177795, -0.07335878908634186, -0.8542774319648743, 0.8513794541358948, -0.002962775994092226, -1.0305598974227905, -0.35739243030548096, -0.8627346754074097, 0.7676849365234375, -0.09769629687070847, 0.26386937499046326, 1.9253469705581665, 0.32159778475761414, -0.41233789920806885, 0.5933395624160767, 1.1968224048614502, 0.4894746243953705, -0.6080349087715149, 0.14338429272174835, -0.6393295526504517, 0.3579052686691284, -1.1666793823242188, 0.2844512164592743, -2.944721221923828, 0.6007753014564514, -0.04872399568557739, -0.02041586861014366, -0.15543654561042786, -1.4100357294082642, 1.2222086191177368, 2.4769339561462402, -1.278059720993042, 0.6006470322608948, 0.33402565121650696, 1.2339212894439697, -1.5408525466918945, 0.38746368885040283, -0.45249706506729126, 2.0906169414520264, 0.292618066072464, 1.0761144161224365, -0.6034735441207886, -2.123004913330078, 0.6088768243789673, -1.1638695001602173, -1.1124759912490845, 0.4038429260253906, -0.9229990243911743, 0.1581782102584839, -1.5339713096618652, -0.13729825615882874, -0.9927262663841248, -1.2925885915756226, 0.672775387763977, 0.21076533198356628, 0.44323328137397766, -0.5556695461273193, 0.3589024543762207, -2.2834367752075195, -1.3666011095046997, -0.34271591901779175, -0.8934751152992249, 0.5054221153259277, -0.32586514949798584, 0.7240148186683655, -0.08204356580972672, 0.16185052692890167, 0.147971510887146, 1.2942695617675781, 3.364161491394043, -0.03138883411884308, 0.39077579975128174, -0.03998316079378128, -0.8863887786865234, 1.547787070274353, 1.1712243556976318, 0.13887877762317657, -0.6395711898803711, -0.8978328108787537, 1.3364348411560059, 2.001225471496582, 1.145668387413025, 0.1836579591035843, -0.7856147289276123, -0.4893987774848938, 0.06889608502388, 0.23286555707454681, 0.37162891030311584, 1.0806306600570679, 0.014731427654623985, 0.09290612488985062, 1.4973254203796387, 1.2503646612167358, -0.5266973376274109, 0.378703236579895, -0.8666474223136902, -0.34229034185409546, 0.4679272770881653, 0.37727126479148865, 0.020547281950712204, 0.4114280939102173, -1.0307332277297974, -0.26372700929641724, -0.10255477577447891, -1.013911485671997, -0.6777665615081787, -0.40878191590309143, -0.545036792755127, 1.6391390562057495, 0.20748436450958252, -0.5004638433456421, -0.11130674183368683, -0.754932165145874, -0.03239962458610535, -1.1052583456039429, 0.3175186216831207, -0.07560928165912628, 0.045664504170417786, -0.14343366026878357, 1.843618631362915, -0.8607193827629089, -2.3113205432891846, 0.23245887458324432, 0.32787129282951355, -0.47560158371925354, 0.1262424886226654, 1.5420280694961548, 0.5201964378356934, 1.591609239578247, 1.3153738975524902, 1.0333257913589478, -0.6264533400535583, -1.3846005201339722, 0.6906493902206421, 1.013711929321289, -1.4831660985946655, 0.8009462952613831, 0.06714390218257904, -0.32734066247940063, 0.7716756463050842, 1.3557734489440918, 0.4090629518032074, -2.098447561264038, 0.8979501128196716, -0.9687172770500183, 0.9675836563110352, 0.5979904532432556, 0.7881443500518799, 0.3624659776687622, 0.975466251373291, -1.3532373905181885, -1.1763571500778198, -0.9049398899078369, -0.5605710744857788, 2.0688865184783936, -0.27627646923065186, 0.6391549706459045, -0.3032640218734741, -1.1260796785354614, 0.02074498124420643, 0.7385385036468506, 0.38207706809043884, -0.36562684178352356, 0.8068512082099915, -0.5592362284660339, -1.2156050205230713, -1.334694504737854, -0.3906879425048828, -0.8952931761741638, -0.887937605381012, 1.1476480960845947, 0.8166472911834717, 0.42001211643218994, 1.8691612482070923, 0.5243391394615173, 0.22439202666282654, -2.6243185997009277, 0.8632814288139343, 0.22932015359401703, 0.11313991993665695, 0.8985739350318909, 0.28383293747901917, 1.230722188949585, -0.11509452015161514, 0.40183719992637634, -2.37334942817688, 2.1916818618774414, -0.2955949902534485, 0.7424620389938354, 0.09691048413515091, 0.06332738697528839, 1.1367416381835938, 0.6247754693031311, 0.635798990726471, -1.1309974193572998, 0.700104296207428, -0.45230406522750854, 1.296141505241394, 0.9570105075836182, -0.6361042261123657, 0.05819414556026459, 1.2938430309295654, 0.5384056568145752, -0.4307628571987152, -0.9810442328453064, -0.7523854374885559, 0.7954615354537964, 1.687311053276062, -0.1767537146806717, -0.06209590286016464, 0.7540286183357239, 0.6690772771835327, -1.2952985763549805, 0.037385210394859314, -0.8741419315338135, -0.5335200428962708, 1.6321172714233398, 2.1659247875213623, -0.0416131317615509, -0.02774692140519619, -0.6411033868789673, -1.2066879272460938, 0.6763655543327332, 0.026337062940001488, 0.11847345530986786, 0.630840003490448, -0.5965932011604309, 1.1416652202606201, 0.6774780750274658, 0.8985162973403931, 0.106887087225914, 0.3616282343864441, 0.5045081973075867, -0.21223804354667664, -1.1586569547653198, -0.4663413166999817, -1.2109400033950806, -2.4461662769317627, 0.4953066110610962, -0.4020068645477295, -1.4922168254852295, 0.02567092515528202, -1.1884952783584595, 0.9316304922103882, -0.5734072923660278, -1.1636977195739746, -1.6273558139801025, 0.1555461585521698, -0.05117225646972656, 0.961287260055542, -1.6324063539505005, -0.14098016917705536, 1.3095406293869019, 0.7043037414550781, -0.7545871734619141, 1.0897561311721802, 0.39429765939712524, 1.112080693244934, 0.6549362540245056, -0.37240439653396606, 0.3870999217033386, 0.1278393715620041, -1.4281831979751587, 0.689758837223053, 1.2593984603881836, 0.04159322381019592, 1.3155648708343506, -0.6387185454368591, 0.0687713772058487, 0.5217501521110535, -0.6516086459159851, -0.5573703646659851, -0.5204572677612305, 0.7286909222602844, 0.06385952234268188, -0.9064093828201294, -0.07990974187850952, -0.08042416721582413, -0.1351829618215561, 0.22080522775650024, -1.4240005016326904, -0.30636709928512573, -0.5251071453094482, -0.420243501663208, -1.269648551940918, -0.07749564945697784, 1.2501897811889648, -0.6328960657119751, -0.15046018362045288, 0.546354353427887, 0.4720889627933502, 0.6225258111953735, 0.6259059906005859, -0.600788950920105, -0.2637515366077423, -0.27905869483947754, -0.2847023904323578, 0.2805464565753937, 1.3604451417922974, -0.2817191183567047, -1.063830852508545, 0.717302680015564, -0.39176642894744873, 0.030690839514136314, 2.104907989501953, 0.09448307007551193, -0.7689051032066345, 0.35322079062461853, -0.7373022437095642, 1.8282374143600464, 1.5962213277816772, 1.290022611618042, -0.148634135723114, -0.9133381843566895, 0.43570634722709656, -0.1751469373703003, -0.4087296426296234, 0.7481803297996521, 0.5637420415878296, -0.32917317748069763, -1.4492994546890259, 0.5333585143089294, 1.2797423601150513, -0.8729281425476074, -0.7658218145370483, 0.044821418821811676, -0.7480627298355103, 1.1252777576446533, 0.743385910987854, 0.492836058139801, 0.2553081214427948, 1.704538345336914, 0.5792964100837708, -0.5027691721916199, 0.46013936400413513, 0.6204160451889038, -0.14158037304878235, -2.110011577606201, -1.1728184223175049, 0.29559147357940674, -0.4808233976364136, -1.512696623802185, 1.3816317319869995, -1.0827138423919678, -1.0040407180786133, 0.4525010883808136, 0.19435785710811615, 1.475752592086792, 0.35757365822792053, 1.5851155519485474, 2.0530362129211426, 0.9446119666099548, 0.3631073236465454, 1.4169703722000122, -0.02686849609017372, -0.5903826951980591, 1.9127984046936035, -0.3980943262577057, 0.4902667999267578, 1.089421033859253, -0.3958512246608734, -1.118273138999939, -0.7356206774711609, -0.9865545034408569, -0.5278008580207825, 1.1634889841079712, 0.16349861025810242, -1.1371411085128784, 0.10354126989841461, 1.369775652885437, 0.14104312658309937, -0.41060978174209595, 0.4626392126083374, 0.39290520548820496, -0.7100801467895508, -0.09587185829877853, -1.08351731300354, 0.48476138710975647, -0.2640223503112793, -0.45044469833374023, 0.29522421956062317, 0.6411211490631104, 1.125512719154358, -0.13397173583507538, 0.22912009060382843, 1.2024941444396973, -1.4038722515106201, 1.5083404779434204, -0.634891152381897, 0.154932901263237, -2.2673401832580566, 1.4947878122329712, -0.5599614381790161, 1.9229172468185425, -2.7875101566314697, 0.3757677674293518, -0.4919467270374298, -0.47213080525398254, 0.3010094463825226, -0.34209683537483215, 0.13016146421432495, -0.08078277856111526, -1.1069520711898804, 0.05094458907842636, -0.6671142578125, 0.4767981171607971, 1.1537798643112183, 1.3252887725830078, -1.1166373491287231, -0.28790825605392456, -1.7551469802856445, -0.18866875767707825, -0.7997007966041565, 0.4297613799571991, -2.0563738346099854, -0.10805173963308334, -1.9028565883636475, -2.2046263217926025, -1.5066909790039062, -0.8519654870033264, 1.1584033966064453, 0.14671847224235535, -1.0019028186798096, 1.0531209707260132, -0.33817529678344727, -1.8532109260559082, 1.0785421133041382, -2.0824127197265625 ]
https://github.com/huggingface/datasets/issues/3968
Cannot preview 'indonesian-nlp/eli5_id' dataset
Hi @cahya-wirawan, thanks for reporting. Your dataset is working OK in streaming mode: ```python In [1]: from datasets import load_dataset ...: ds = load_dataset("indonesian-nlp/eli5_id", split="train", streaming=True) ...: item = next(iter(ds)) ...: item Using custom data configuration indonesian-nlp--eli5_id-9fe728a7e760fb7b Out[1]: {'q_id': '1oy5tc', 'title': 'dalam sepak bola apa gunanya menyia-nyiakan dua permainan pertama dengan terburu-buru - di tengah - bukan permainan terburu-buru biasa saya mendapatkannya', 'selftext': '', 'document': '', 'subreddit': 'explainlikeimfive', 'answers': {'a_id': ['ccwtgnz', 'ccwtmho', 'ccwt946', 'ccwvj0u'], 'text': ['Jaga pertahanan tetap jujur, rasakan operan terburu-buru, buka permainan yang lewat. Pelanggaran yang terlalu satu dimensi akan gagal. Dan mereka yang bergegas ke tengah kadang-kadang dapat dibuka lebar-lebar untuk ukuran yard yang besar.', 'Jika Anda melempar bola sepanjang waktu, maka pertahanan akan beradaptasi untuk selalu menutupi umpan. Dengan melakukan permainan lari sederhana sesekali, Anda memaksa pertahanan untuk tetap dekat dan menjaga dari lari. Terkadang, pelanggaran dapat membuat pertahanan lengah dengan berpura-pura berlari dan membebaskan penerima mereka. Selain itu, Anda tidak perlu mendapatkan yard besar di setiap permainan. Terkadang, paling baik mendapatkan beberapa yard sekaligus. Selama Anda mendapatkan yang pertama, Anda dalam kondisi yang baik.', 'Dalam kebanyakan kasus, O-Line seharusnya membuat lubang untuk dilalui kembali. Jika Anda menjalankan terlalu banyak permainan ke luar / melempar, pertahanan akan mengejar. Juga, 2 permainan 5 yard memberi Anda satu set down baru.', 'Saya Anda tidak suka jenis drama itu, tonton CFL. Kami hanya mendapatkan 3 down sehingga Anda tidak bisa menyia-nyiakannya. Lebih banyak lagi yang lewat.'], 'score': [3, 2, 2, 2]}, 'title_urls': {'url': []}, 'selftext_urls': {'url': []}, 'answers_urls': {'url': []}} ``` Therefore, it should be properly rendered in the previewer. Let me ping @severo to have a look at it.
## Dataset viewer issue for '*indonesian-nlp/eli5_id*' **Link:** https://huggingface.co/datasets/indonesian-nlp/eli5_id I can not see the dataset preview. ``` Server Error Status code: 400 Exception: Status400Error Message: Not found. Maybe the cache is missing, or maybe the dataset does not exist. ``` Am I the one who added this dataset ? Yes
872
271
Cannot preview 'indonesian-nlp/eli5_id' dataset ## Dataset viewer issue for '*indonesian-nlp/eli5_id*' **Link:** https://huggingface.co/datasets/indonesian-nlp/eli5_id I can not see the dataset preview. ``` Server Error Status code: 400 Exception: Status400Error Message: Not found. Maybe the cache is missing, or maybe the dataset does not exist. ``` Am I the one who added this dataset ? Yes Hi @cahya-wirawan, thanks for reporting. Your dataset is working OK in streaming mode: ```python In [1]: from datasets import load_dataset ...: ds = load_dataset("indonesian-nlp/eli5_id", split="train", streaming=True) ...: item = next(iter(ds)) ...: item Using custom data configuration indonesian-nlp--eli5_id-9fe728a7e760fb7b Out[1]: {'q_id': '1oy5tc', 'title': 'dalam sepak bola apa gunanya menyia-nyiakan dua permainan pertama dengan terburu-buru - di tengah - bukan permainan terburu-buru biasa saya mendapatkannya', 'selftext': '', 'document': '', 'subreddit': 'explainlikeimfive', 'answers': {'a_id': ['ccwtgnz', 'ccwtmho', 'ccwt946', 'ccwvj0u'], 'text': ['Jaga pertahanan tetap jujur, rasakan operan terburu-buru, buka permainan yang lewat. Pelanggaran yang terlalu satu dimensi akan gagal. Dan mereka yang bergegas ke tengah kadang-kadang dapat dibuka lebar-lebar untuk ukuran yard yang besar.', 'Jika Anda melempar bola sepanjang waktu, maka pertahanan akan beradaptasi untuk selalu menutupi umpan. Dengan melakukan permainan lari sederhana sesekali, Anda memaksa pertahanan untuk tetap dekat dan menjaga dari lari. Terkadang, pelanggaran dapat membuat pertahanan lengah dengan berpura-pura berlari dan membebaskan penerima mereka. Selain itu, Anda tidak perlu mendapatkan yard besar di setiap permainan. Terkadang, paling baik mendapatkan beberapa yard sekaligus. Selama Anda mendapatkan yang pertama, Anda dalam kondisi yang baik.', 'Dalam kebanyakan kasus, O-Line seharusnya membuat lubang untuk dilalui kembali. Jika Anda menjalankan terlalu banyak permainan ke luar / melempar, pertahanan akan mengejar. Juga, 2 permainan 5 yard memberi Anda satu set down baru.', 'Saya Anda tidak suka jenis drama itu, tonton CFL. Kami hanya mendapatkan 3 down sehingga Anda tidak bisa menyia-nyiakannya. Lebih banyak lagi yang lewat.'], 'score': [3, 2, 2, 2]}, 'title_urls': {'url': []}, 'selftext_urls': {'url': []}, 'answers_urls': {'url': []}} ``` Therefore, it should be properly rendered in the previewer. Let me ping @severo to have a look at it.
[ -1.1502362489700317, -0.9897453784942627, -0.7955374121665955, 1.4710475206375122, -0.24238736927509308, -1.1317873001098633, 0.10796040296554565, -1.00560462474823, 1.635903000831604, -0.6980875134468079, 0.1546974778175354, -1.6534208059310913, -0.06654182076454163, -0.7140668034553528, -0.7005698084831238, -0.8313472270965576, -0.32754799723625183, -0.8465384840965271, 1.1275427341461182, 2.488499402999878, 1.1438817977905273, -1.440635085105896, 2.7200982570648193, 0.7557312250137329, -0.15884296596050262, -1.018324851989746, 0.48878389596939087, -0.03708183392882347, -1.2198565006256104, -0.3738920986652374, -0.9528470635414124, -0.03260860592126846, -0.6345716118812561, -0.4480173885822296, 0.05794781073927879, 0.4125821888446808, -0.20133419334888458, -0.41662755608558655, -0.5377143621444702, -0.6715458631515503, 0.5079742074012756, -0.4114904999732971, 0.9212496280670166, -0.2734995186328888, 1.8280295133590698, -0.5155287384986877, 0.31721752882003784, 0.6712350249290466, 1.363836646080017, 0.2472245693206787, -0.07673899829387665, 0.3348149061203003, 0.3397444486618042, -0.007737557403743267, 0.5192897915840149, 1.1500685214996338, 0.6589196920394897, 0.37189653515815735, 0.7653664350509644, -2.324220895767212, 1.2384507656097412, -1.0734009742736816, 0.3616674542427063, 1.3568916320800781, -0.9250203371047974, 0.5121498703956604, -1.8794636726379395, -0.006489398889243603, 0.61869215965271, -2.1282825469970703, 0.2573058009147644, -1.282456398010254, -0.46217483282089233, 0.9536953568458557, 0.30244213342666626, -1.1830321550369263, 0.19614796340465546, -0.3203900158405304, 0.998650848865509, 0.33875805139541626, 1.0525081157684326, -1.8163096904754639, 0.011760474182665348, -0.2876660227775574, 0.18262915313243866, -1.2723222970962524, -1.5809516906738281, 0.471783310174942, 0.6083874106407166, 0.6357449889183044, -0.18928810954093933, 0.9120728969573975, -1.0655356645584106, 0.731188178062439, -1.04450523853302, -1.6644057035446167, -1.3811931610107422, -2.326785087585449, -2.2477917671203613, 0.738493025302887, -0.5115789175033569, -0.41954532265663147, 2.016465425491333, -1.0061430931091309, -1.7461048364639282, 1.1588343381881714, 0.336292028427124, 0.08854600042104721, 2.3668534755706787, 0.2025669813156128, -0.8123583197593689, 0.5506532192230225, -0.9222754240036011, 0.756473183631897, -0.34066057205200195, 1.51798415184021, 0.43292853236198425, -0.8828402161598206, 1.6539117097854614, -0.4664224088191986, 0.5693824291229248, -0.7085901498794556, -0.5759773254394531, -0.7775856852531433, 0.3413761258125305, 1.9297243356704712, -0.24678613245487213, 1.5223556756973267, -0.46901947259902954, -1.6348484754562378, -1.4967187643051147, 0.8508456945419312, 0.44846683740615845, -0.8821573853492737, 0.11489295214414597, -0.402726411819458, 0.1302730292081833, -0.1356230527162552, 1.1037710905075073, 1.2478358745574951, 0.6948935389518738, -0.28415024280548096, -0.9414950013160706, 0.10509151965379715, -0.10545195639133453, -0.6692601442337036, -1.8184237480163574, -0.29606178402900696, 0.13193731009960175, 0.6707199811935425, -1.300891399383545, 1.6760050058364868, 0.9073268175125122, 2.0136396884918213, 0.9834046959877014, -0.37022408843040466, 1.4856656789779663, 0.17215001583099365, 1.8948311805725098, -0.5830795764923096, 0.6409294009208679, -0.3315317928791046, -1.1028187274932861, 0.8234657049179077, -0.2857832610607147, -1.9871277809143066, -0.6568219661712646, -0.8786123991012573, -0.27695217728614807, -0.75719153881073, 0.8776947855949402, -0.3123740255832672, -1.474196195602417, 0.3141341805458069, -0.7082247734069824, 0.22531236708164215, -1.1729415655136108, 0.25780320167541504, 0.7582014799118042, -0.6093978881835938, 0.10868363082408905, -0.26641130447387695, -1.3262242078781128, -0.5099618434906006, 0.47570687532424927, 1.919663667678833, -0.7459726333618164, 0.8264830112457275, 1.0724979639053345, -0.5825990438461304, 0.004154002293944359, 0.3216898441314697, -0.29829955101013184, 0.7994750142097473, -1.0790537595748901, -0.5788500308990479, 1.1485517024993896, -0.16153065860271454, -0.4826841652393341, 1.3877192735671997, 0.7571192979812622, -1.0395833253860474, -0.29941684007644653, -0.10724744945764542, -0.811819851398468, -0.05867404863238335, -1.689386010169983, -0.15811528265476227, 0.3014058768749237, -1.523135781288147, -0.5053255558013916, -0.34286823868751526, 1.266463279724121, -0.157455712556839, 1.3178144693374634, -0.3289077877998352, -0.10635745525360107, -0.3161379396915436, -0.4525946080684662, 0.28958719968795776, -0.3371797204017639, -0.6250967979431152, 0.24032023549079895, -0.8111583590507507, 0.32449206709861755, 1.507875919342041, 0.35396766662597656, 0.012249243445694447, 0.5525049567222595, 1.1066217422485352, 0.4316355586051941, 0.07211951911449432, -0.879153311252594, -1.5292986631393433, 1.978695034980774, -1.5256898403167725, 1.96378493309021, 0.6682753562927246, 0.0652458444237709, -1.8297326564788818, -1.8458163738250732, 1.3743329048156738, 1.1140929460525513, 2.3410301208496094, 0.6018673181533813, 0.3997226059436798, -0.9088613390922546, -0.6270449161529541, 0.276668518781662, -0.8673723340034485, -0.883576512336731, 0.17468030750751495, 2.4295122623443604, 1.7467976808547974, -0.493855744600296, -0.19383572041988373, -0.8916746377944946, 1.4147109985351562, -0.18465226888656616, 0.34940266609191895, 2.0106589794158936, -0.2095944732427597, -1.1229181289672852, 1.3216545581817627, -2.4325809478759766, 0.2467658519744873, 1.9909838438034058, 0.2744956314563751, 0.2132495492696762, -1.3871054649353027, -0.7501949667930603, -0.2160489857196808, -0.46034517884254456, -1.2600643634796143, 0.427001029253006, -0.3164454996585846, -0.8848013281822205, -1.5484118461608887, 0.1598002314567566, -1.1133344173431396, -1.596139907836914, 0.2885526716709137, 1.8909989595413208, 2.137760877609253, -0.7585180997848511, 1.5695149898529053, -0.23512963950634003, 0.22049680352210999, 1.2295877933502197, 1.205727219581604, 3.0852487087249756, 1.8675098419189453, -1.199415683746338, 0.6341220736503601, -0.171426460146904, -0.46191707253456116, 1.1428838968276978, -1.1030073165893555, 1.124186635017395, -0.30156874656677246, -1.1273945569992065, -1.1849011182785034, 0.8971093893051147, 0.4531293213367462, -0.005880333017557859, -0.442298948764801, 1.156540870666504, 0.06047443673014641, 1.2608710527420044, 0.6968491077423096, -0.358980268239975, 0.5171461701393127, -0.3880790174007416, -0.5799168348312378, 1.5333014726638794, 0.14392174780368805, -1.4575084447860718, -2.2799155712127686, -0.2806726098060608, -0.8597756028175354, -0.10451780259609222, -0.5619295239448547, -1.0257751941680908, 1.548093557357788, 0.37439432740211487, -1.179575800895691, -0.23058772087097168, -0.3748822808265686, -0.48939380049705505, 2.622157335281372, -1.3911144733428955, -0.24862191081047058, -0.9666836261749268, -0.5660485029220581, 1.6370285749435425, -1.1198785305023193, -0.18649211525917053, -1.1199899911880493, -0.6534682512283325, -1.3126026391983032, -0.5564573407173157, -0.020257633179426193, -0.8780618906021118, 0.8914451599121094, 0.28697800636291504, -1.1239993572235107, -0.27970021963119507, -1.0005507469177246, 0.9000927209854126, -0.1504364311695099, 0.21822643280029297, 1.9148634672164917, 0.32340940833091736, -0.3726467490196228, 0.8274386525154114, 1.1196188926696777, 0.6372569799423218, -0.6708282828330994, 0.184062197804451, -0.5317162871360779, 0.3622753918170929, -1.3940082788467407, 0.24001434445381165, -2.9298930168151855, 0.6320865750312805, 0.04804288223385811, -0.020164862275123596, -0.03509074077010155, -1.3683207035064697, 1.1125547885894775, 2.514940023422241, -1.188723087310791, 0.592630922794342, 0.3350524604320526, 1.346435546875, -1.751217246055603, 0.2427257001399994, -0.4049597382545471, 2.21199107170105, 0.0876137986779213, 1.1592848300933838, -0.4870452582836151, -2.4221010208129883, 0.5497007966041565, -1.2813001871109009, -1.0461102724075317, 0.5965298414230347, -0.9161896705627441, 0.26032525300979614, -1.6054389476776123, -0.2469852715730667, -0.9426271915435791, -1.2617747783660889, 0.7569421529769897, 0.09646210074424744, 0.3303256034851074, -0.5647692084312439, 0.3891507387161255, -2.1297574043273926, -1.3700628280639648, -0.1609550267457962, -0.916479766368866, 0.5012503862380981, -0.34653928875923157, 0.7496890425682068, -0.1255520135164261, -0.022547423839569092, 0.2606915235519409, 1.4025499820709229, 3.396205186843872, 0.11839226633310318, 0.36994612216949463, -0.1896320879459381, -0.9389756321907043, 1.3785808086395264, 0.9934106469154358, -0.15373975038528442, -0.6294878125190735, -1.0904053449630737, 1.307533860206604, 2.0531246662139893, 0.8878277540206909, 0.0400969423353672, -0.7608569264411926, -0.6559823751449585, 0.12824192643165588, 0.21957182884216309, 0.5107618570327759, 0.9028530120849609, 0.039958905428647995, 0.03068946674466133, 1.4197825193405151, 1.1426973342895508, -0.3529978394508362, 0.4144199788570404, -0.9302266836166382, -0.48223787546157837, 0.5010911226272583, 0.21890228986740112, -0.05113893747329712, 0.3670254647731781, -1.029421091079712, -0.26004886627197266, -0.2636404037475586, -0.9025776386260986, -0.6450208425521851, -0.402491956949234, -0.3597264289855957, 1.5701563358306885, 0.2656484842300415, -0.5639088153839111, -0.04872767999768257, -0.7060573697090149, -0.04585879668593407, -1.07999849319458, 0.233140230178833, -0.18562889099121094, -0.04612480103969574, -0.19073748588562012, 1.7144309282302856, -0.8170678615570068, -2.0295791625976562, 0.10978612303733826, 0.41867688298225403, -0.2995147705078125, 0.1712713986635208, 1.7801769971847534, 0.5492785573005676, 1.4060550928115845, 1.335252285003662, 1.0051673650741577, -0.5766249299049377, -1.3392642736434937, 0.5770782232284546, 0.9947693943977356, -1.3726857900619507, 0.823201060295105, -0.043081916868686676, -0.5024308562278748, 0.6676971316337585, 1.3983790874481201, 0.4543102979660034, -2.0026609897613525, 0.8278375864028931, -1.0434317588806152, 0.9078755378723145, 0.7158713936805725, 0.7982384562492371, 0.19854409992694855, 0.8380752205848694, -1.2637771368026733, -1.0705562829971313, -0.8294748067855835, -0.6078045964241028, 1.9846303462982178, -0.2124435007572174, 0.4690793454647064, -0.14870145916938782, -1.2725244760513306, -0.03132065013051033, 0.6842844486236572, 0.4013786315917969, -0.4205310046672821, 0.8363627195358276, -0.66913241147995, -1.13798987865448, -1.285499095916748, -0.4173188805580139, -0.9909306764602661, -0.9003782868385315, 0.9889269471168518, 0.7693896889686584, 0.3705642819404602, 1.919118881225586, 0.6559706330299377, 0.18407538533210754, -2.597226619720459, 0.9293214678764343, 0.282723993062973, -0.06827546656131744, 0.9305009245872498, 0.3615737855434418, 1.1082185506820679, -0.01081305742263794, 0.6080127954483032, -2.354440927505493, 2.210545778274536, -0.2107696533203125, 0.786089301109314, -0.04538963362574577, -0.14425060153007507, 1.0357357263565063, 0.47565606236457825, 0.5588673949241638, -1.0310250520706177, 0.7018992900848389, -0.5949812531471252, 1.19392991065979, 0.9472305178642273, -0.8088493943214417, 0.021684985607862473, 1.2744067907333374, 0.348480224609375, -0.5993033647537231, -0.9770908355712891, -0.8965456485748291, 0.9085841178894043, 1.6548502445220947, -0.14687685668468475, -0.05471143499016762, 0.815713107585907, 0.6993539333343506, -1.316098690032959, 0.053079623728990555, -0.6908599138259888, -0.648089587688446, 1.7206611633300781, 2.0445022583007812, -0.1594066172838211, -0.18702712655067444, -0.7141648530960083, -1.302140235900879, 0.6939332485198975, 0.06780053675174713, 0.13088318705558777, 0.641791045665741, -0.5935156345367432, 1.0831445455551147, 0.7830476760864258, 0.8909937143325806, 0.11161033809185028, 0.37752142548561096, 0.4465550184249878, -0.4036649465560913, -1.1120752096176147, -0.23526014387607574, -1.1263624429702759, -2.4506545066833496, 0.48326417803764343, -0.09348909556865692, -1.400186538696289, 0.10220713168382645, -0.9382787942886353, 1.0363808870315552, -0.587711751461029, -1.2039083242416382, -1.4436206817626953, 0.20718927681446075, -0.10049367696046829, 0.8404842615127563, -1.618804693222046, -0.06028146296739578, 1.285621166229248, 0.9368403553962708, -0.7079588770866394, 1.0292125940322876, 0.28846046328544617, 1.1039904356002808, 0.7943108081817627, -0.36450767517089844, 0.5530256628990173, 0.18898624181747437, -1.2877193689346313, 0.5020887851715088, 1.1918476819992065, 0.13904275000095367, 1.3962690830230713, -0.4579322636127472, -0.012499930337071419, 0.4851876497268677, -0.6664495468139648, -0.4768482744693756, -0.46353909373283386, 0.6134340763092041, -0.03609152510762215, -0.8275989890098572, 0.023944612592458725, 0.03928891196846962, -0.20660269260406494, 0.22195671498775482, -1.545864224433899, -0.2372530996799469, -0.42406412959098816, -0.45466184616088867, -1.347527265548706, -0.13844822347164154, 1.3751128911972046, -0.6718161702156067, -0.2067573070526123, 0.5779465436935425, 0.3566439747810364, 0.4907670319080353, 0.6336824893951416, -0.6379255652427673, -0.343657523393631, -0.11764704436063766, -0.3996085822582245, 0.23734501004219055, 1.3685282468795776, -0.07373601943254471, -1.0579726696014404, 0.6485545039176941, -0.414869487285614, 0.04145417362451553, 1.8637299537658691, 0.01389405969530344, -0.8740792274475098, 0.2653297483921051, -0.7387770414352417, 1.9231500625610352, 1.678726077079773, 1.3075004816055298, -0.22916187345981598, -0.9085845947265625, 0.6288702487945557, -0.3227199912071228, -0.39578357338905334, 0.867725133895874, 0.44734445214271545, -0.21277227997779846, -1.3244179487228394, 0.6344351172447205, 1.2247289419174194, -0.8593462705612183, -0.7921739816665649, 0.2461700737476349, -0.8008556962013245, 1.128872275352478, 0.6757215261459351, 0.4003564715385437, 0.2497822642326355, 1.6999554634094238, 0.7447985410690308, -0.5636364221572876, 0.5778759717941284, 0.5228434801101685, -0.2502385377883911, -2.048914670944214, -1.1412955522537231, 0.30578795075416565, -0.4251627027988434, -1.637148380279541, 1.4036940336227417, -1.1436538696289062, -0.9452916979789734, 0.5455578565597534, 0.1220632866024971, 1.3272556066513062, 0.4461004137992859, 1.5748262405395508, 2.0026299953460693, 0.8061062097549438, 0.46577152609825134, 1.3139431476593018, -0.1635444462299347, -0.5124112963676453, 1.8127490282058716, -0.444181352853775, 0.6253635287284851, 1.1249213218688965, -0.3464570641517639, -1.2096683979034424, -0.7713356018066406, -1.2335551977157593, -0.6509858965873718, 1.1739894151687622, 0.14722879230976105, -1.1951600313186646, 0.2816891670227051, 1.6737169027328491, 0.021469835191965103, -0.4055955111980438, 0.7333170771598816, 0.4150560796260834, -0.8432837128639221, -0.11115027964115143, -0.9780778884887695, 0.491978257894516, -0.26372668147087097, -0.2956169843673706, 0.3224683403968811, 0.47272759675979614, 1.2826319932937622, 0.027127746492624283, 0.14949198067188263, 1.1605334281921387, -1.416553258895874, 1.4429837465286255, -0.8323915004730225, 0.32046908140182495, -2.364927291870117, 1.2857052087783813, -0.7701911330223083, 2.0039055347442627, -2.689971923828125, 0.42854082584381104, -0.576738178730011, -0.46631118655204773, 0.24793702363967896, -0.29636722803115845, 0.11951033025979996, -0.019507519900798798, -1.1052392721176147, 0.00023942440748214722, -0.7014569640159607, 0.48604512214660645, 1.2023837566375732, 1.3342145681381226, -1.0599979162216187, -0.2807137668132782, -1.727512001991272, -0.21423444151878357, -0.7781983613967896, 0.24006617069244385, -1.9811443090438843, -0.17345736920833588, -1.9294521808624268, -2.2391226291656494, -1.3408355712890625, -0.9073626399040222, 1.1738287210464478, 0.07507369667291641, -0.9453933238983154, 1.2315791845321655, -0.27797240018844604, -1.7783374786376953, 1.11293625831604, -2.146869659423828 ]
https://github.com/huggingface/datasets/issues/3968
Cannot preview 'indonesian-nlp/eli5_id' dataset
Thanks @albertvillanova for checking it. Btw, I have another dataset indonesian-nlp/lfqa_id which has the same issue. However, this dataset is still private, is it the reason why the preview doesn't work?
## Dataset viewer issue for '*indonesian-nlp/eli5_id*' **Link:** https://huggingface.co/datasets/indonesian-nlp/eli5_id I can not see the dataset preview. ``` Server Error Status code: 400 Exception: Status400Error Message: Not found. Maybe the cache is missing, or maybe the dataset does not exist. ``` Am I the one who added this dataset ? Yes
872
31
Cannot preview 'indonesian-nlp/eli5_id' dataset ## Dataset viewer issue for '*indonesian-nlp/eli5_id*' **Link:** https://huggingface.co/datasets/indonesian-nlp/eli5_id I can not see the dataset preview. ``` Server Error Status code: 400 Exception: Status400Error Message: Not found. Maybe the cache is missing, or maybe the dataset does not exist. ``` Am I the one who added this dataset ? Yes Thanks @albertvillanova for checking it. Btw, I have another dataset indonesian-nlp/lfqa_id which has the same issue. However, this dataset is still private, is it the reason why the preview doesn't work?
[ -1.1234852075576782, -1.0259827375411987, -0.8295232057571411, 1.4329816102981567, -0.2664782702922821, -1.3551769256591797, 0.13077862560749054, -1.0930336713790894, 1.7045903205871582, -0.7819527387619019, 0.23621198534965515, -1.7441045045852661, -0.10634780675172806, -0.5709858536720276, -0.7158344388008118, -0.9792404770851135, -0.3530968129634857, -0.870018720626831, 0.9729926586151123, 2.455624580383301, 1.1869412660598755, -1.2463263273239136, 2.6899943351745605, 0.6429124474525452, -0.27692943811416626, -1.0687065124511719, 0.5445069074630737, 0.017455920577049255, -1.1986610889434814, -0.38078969717025757, -0.9826691150665283, -0.03782631829380989, -0.513500452041626, -0.502234935760498, 0.031132042407989502, 0.47791996598243713, -0.1805407702922821, -0.3230188190937042, -0.47432741522789, -0.7222893238067627, 0.5613248944282532, -0.3316918909549713, 0.9928990602493286, -0.47421976923942566, 1.8956080675125122, -0.5683489441871643, 0.2849825918674469, 0.7057861089706421, 1.4245707988739014, 0.1828034371137619, -0.24039660394191742, 0.163016676902771, 0.3491107225418091, 0.08365769684314728, 0.3715592622756958, 1.063751459121704, 0.5182375907897949, 0.5784481167793274, 0.6642246842384338, -2.3275840282440186, 1.3052074909210205, -1.0407593250274658, 0.34542787075042725, 1.4211317300796509, -1.0620815753936768, 0.39020591974258423, -1.8239004611968994, -0.08509492129087448, 0.5313184857368469, -2.3323862552642822, 0.14598490297794342, -1.279553771018982, -0.5288536548614502, 0.9507459402084351, 0.341580331325531, -1.259831428527832, 0.05125683546066284, -0.3398154377937317, 1.0065382719039917, 0.5228652358055115, 1.0311888456344604, -1.7528225183486938, 0.04098847880959511, -0.30346161127090454, 0.10131701081991196, -1.3625866174697876, -1.5797851085662842, 0.5686537027359009, 0.6089065670967102, 0.741786777973175, -0.08508819341659546, 0.8211519718170166, -0.8700838088989258, 0.8075883388519287, -0.8762625455856323, -1.5929315090179443, -1.3421615362167358, -2.341756820678711, -2.332287311553955, 0.8328266143798828, -0.5109949111938477, -0.4517933130264282, 2.012746572494507, -1.0340498685836792, -1.7355539798736572, 1.1625018119812012, 0.16099517047405243, 0.1082160696387291, 2.337418556213379, 0.18931668996810913, -0.7427060604095459, 0.3932250440120697, -0.7915677428245544, 0.7343906760215759, -0.2992910146713257, 1.507397174835205, 0.542822003364563, -0.9565064311027527, 1.6374276876449585, -0.417666494846344, 0.577535092830658, -0.6186127066612244, -0.6731709241867065, -0.9048307538032532, 0.334776371717453, 1.8796199560165405, -0.4084662199020386, 1.5921894311904907, -0.3793713450431824, -1.5854734182357788, -1.5423563718795776, 0.8566916584968567, 0.48309165239334106, -0.8587275147438049, 0.0796515941619873, -0.35676249861717224, 0.06083867326378822, -0.07174792885780334, 1.163746953010559, 1.1317219734191895, 0.7481706142425537, -0.2814110219478607, -0.8654080629348755, 0.24433797597885132, 0.0060152290388941765, -0.7180652022361755, -1.7947301864624023, -0.4138290286064148, 0.13016611337661743, 0.6681508421897888, -1.0713486671447754, 1.6859673261642456, 0.820128321647644, 2.0582027435302734, 0.9055650234222412, -0.26696744561195374, 1.4124456644058228, 0.019561801105737686, 1.8775674104690552, -0.5695301294326782, 0.6179817318916321, -0.2997760772705078, -1.0564913749694824, 0.8442148566246033, -0.3132253885269165, -1.9363689422607422, -0.7534006834030151, -0.9842431545257568, -0.23179370164871216, -0.6678537726402283, 0.9682960510253906, -0.32264000177383423, -1.3847969770431519, 0.12550769746303558, -0.5853884816169739, 0.10505494475364685, -1.2714756727218628, 0.29594066739082336, 0.7682070136070251, -0.6610034108161926, -0.04902100935578346, -0.29535797238349915, -1.3584542274475098, -0.5440009832382202, 0.2842804491519928, 2.0275251865386963, -0.7590426206588745, 0.9894444942474365, 0.9171280860900879, -0.6932674050331116, 0.024197272956371307, 0.32568979263305664, -0.23719114065170288, 0.7625675201416016, -1.0482193231582642, -0.37892237305641174, 1.1602118015289307, -0.18140336871147156, -0.5853966474533081, 1.48428475856781, 0.7591370940208435, -0.9772421717643738, -0.19976450502872467, -0.2241850346326828, -0.691731333732605, -0.03668835386633873, -1.5872490406036377, -0.17454513907432556, 0.22722698748111725, -1.379075050354004, -0.5111285448074341, -0.23379912972450256, 1.3260743618011475, -0.10957150161266327, 1.243472695350647, -0.26070085167884827, -0.3014868199825287, -0.47786328196525574, -0.4378882348537445, 0.2431717813014984, -0.2057802528142929, -0.6138209104537964, 0.2114650309085846, -0.8816190958023071, 0.22040408849716187, 1.4723408222198486, 0.39962273836135864, 0.10079792886972427, 0.6217101216316223, 1.09284508228302, 0.3453947603702545, -0.08757166564464569, -0.9195049405097961, -1.5638176202774048, 2.0141775608062744, -1.4491735696792603, 1.8700677156448364, 0.7062745690345764, -0.0564904659986496, -1.8374255895614624, -1.866257667541504, 1.3622280359268188, 1.2105989456176758, 2.277512311935425, 0.557291567325592, 0.42624449729919434, -0.8928329348564148, -0.552634596824646, 0.3288049101829529, -0.9655116200447083, -0.8235446214675903, 0.03187744691967964, 2.271944284439087, 1.7807377576828003, -0.6087446808815002, -0.23426733911037445, -1.0570824146270752, 1.1736136674880981, -0.06277082115411758, 0.2869608402252197, 1.9762941598892212, -0.36547473073005676, -1.1223649978637695, 1.1993787288665771, -2.314208745956421, 0.1160321831703186, 2.0142199993133545, 0.24684104323387146, 0.1697995513677597, -1.4666508436203003, -0.6781314611434937, -0.11993280798196793, -0.412655234336853, -1.3330042362213135, 0.4831405282020569, -0.3350819945335388, -0.8301197290420532, -1.5235167741775513, 0.08994635194540024, -1.0228347778320312, -1.721062421798706, 0.33277979493141174, 1.8704400062561035, 1.9936788082122803, -0.654516875743866, 1.4276325702667236, -0.20301459729671478, 0.23523905873298645, 1.278794765472412, 1.2307569980621338, 3.02182936668396, 2.001452684402466, -1.2950310707092285, 0.7670858502388, -0.06283701956272125, -0.5012747049331665, 1.2097809314727783, -0.981842041015625, 1.169310212135315, -0.400532066822052, -1.2337515354156494, -1.1928186416625977, 0.8873404264450073, 0.4582991302013397, 0.037267155945301056, -0.4449264407157898, 1.272264003753662, 0.04851067066192627, 1.2725228071212769, 0.6640470623970032, -0.4333619773387909, 0.6497195363044739, -0.42652416229248047, -0.5630428791046143, 1.5543965101242065, 0.3073676824569702, -1.3548498153686523, -2.3300669193267822, -0.2756024897098541, -0.8944575190544128, -0.12071046233177185, -0.5120378136634827, -0.93668532371521, 1.543422818183899, 0.5321481823921204, -1.1656397581100464, -0.34426984190940857, -0.3507079482078552, -0.5701348781585693, 2.635523557662964, -1.368493676185608, -0.11819298565387726, -0.967062771320343, -0.5664048194885254, 1.7841224670410156, -1.247531533241272, -0.152592271566391, -1.1926703453063965, -0.7155629992485046, -1.3865596055984497, -0.5919251441955566, -0.08164875209331512, -0.9555684924125671, 0.8407978415489197, 0.08520451188087463, -1.0809025764465332, -0.24409568309783936, -0.8600249290466309, 0.8896619081497192, -0.18346598744392395, 0.2354341596364975, 1.996516227722168, 0.32582902908325195, -0.42708608508110046, 0.686110258102417, 1.0915913581848145, 0.5484039187431335, -0.7135356664657593, 0.281921923160553, -0.662433922290802, 0.2445424497127533, -1.393302083015442, 0.1817031055688858, -3.0228281021118164, 0.6022254228591919, -0.1215752586722374, -0.018973257392644882, -0.0302388034760952, -1.4178011417388916, 1.0741387605667114, 2.490671157836914, -1.243019461631775, 0.3912799656391144, 0.35814744234085083, 1.3227652311325073, -1.6133266687393188, 0.3553411066532135, -0.4469170868396759, 2.2363827228546143, 0.16886600852012634, 1.1801666021347046, -0.4946233332157135, -2.1117920875549316, 0.6577872037887573, -1.2068177461624146, -1.1223888397216797, 0.608051061630249, -0.8748494982719421, 0.1356462836265564, -1.5277869701385498, -0.10987681150436401, -0.8441128134727478, -1.2892463207244873, 0.8706708550453186, 0.0410451702773571, 0.49906933307647705, -0.5554323792457581, 0.40446123480796814, -2.117687225341797, -1.353668451309204, -0.2218671441078186, -0.9383607506752014, 0.4218893349170685, -0.33554890751838684, 0.6947271823883057, -0.2231873720884323, 0.1500338315963745, 0.3116927444934845, 1.3530213832855225, 3.425010919570923, 0.18309108912944794, 0.31812047958374023, -0.11629759520292282, -0.9870314002037048, 1.4485152959823608, 1.067509412765503, -0.06447654217481613, -0.5459854006767273, -0.9485154747962952, 1.3055435419082642, 2.033693790435791, 0.8799278140068054, 0.17878584563732147, -0.7836732268333435, -0.5990057587623596, 0.0442519374191761, 0.23746372759342194, 0.49025219678878784, 0.9296987056732178, 0.07906230539083481, 0.12115681171417236, 1.4089336395263672, 1.1545076370239258, -0.3528501093387604, 0.5477104187011719, -0.984988272190094, -0.5341451168060303, 0.5261048674583435, 0.36732473969459534, -0.031400009989738464, 0.4654439389705658, -1.0628374814987183, -0.30877137184143066, -0.23566173017024994, -0.9610206484794617, -0.6377836465835571, -0.4389817416667938, -0.42306187748908997, 1.5940194129943848, 0.13496018946170807, -0.5819866061210632, -0.01915295049548149, -0.7494365572929382, -0.08084862679243088, -1.1552573442459106, 0.2773565649986267, -0.1813889443874359, -0.02195490151643753, -0.10277021676301956, 1.7415401935577393, -0.8771339654922485, -2.1578903198242188, 0.31669896841049194, 0.4128040373325348, -0.4178122878074646, 0.16909290850162506, 1.6105151176452637, 0.5095245838165283, 1.477195143699646, 1.3404533863067627, 1.1158169507980347, -0.588236391544342, -1.3319501876831055, 0.6538400053977966, 0.8989008665084839, -1.3953016996383667, 0.7969794869422913, -0.02489611506462097, -0.5010954737663269, 0.7122247815132141, 1.2610982656478882, 0.4328792095184326, -1.9527891874313354, 0.8456173539161682, -0.904538631439209, 0.8007080554962158, 0.703519344329834, 0.8836673498153687, 0.21632950007915497, 0.8777611255645752, -1.1961994171142578, -1.1106181144714355, -0.8245769143104553, -0.5524222254753113, 1.9693025350570679, -0.20295877754688263, 0.574040412902832, -0.21353161334991455, -1.2076475620269775, -0.05546896532177925, 0.7247726917266846, 0.400852233171463, -0.26406699419021606, 0.9125304818153381, -0.646686315536499, -1.0573655366897583, -1.317728042602539, -0.42558717727661133, -1.0935269594192505, -0.8909246921539307, 0.993278980255127, 0.8374513983726501, 0.38715365529060364, 1.921879529953003, 0.5407354831695557, 0.26068198680877686, -2.6233584880828857, 0.9320069551467896, 0.24496671557426453, 0.11577293276786804, 0.9073230028152466, 0.32343778014183044, 1.1723402738571167, -0.026470068842172623, 0.5639944076538086, -2.2898435592651367, 2.2718992233276367, -0.2504575848579407, 0.6046318411827087, 0.07962127774953842, -0.21819618344306946, 1.1041580438613892, 0.404776394367218, 0.606201708316803, -1.0793298482894897, 0.7992924451828003, -0.6079180240631104, 1.1807857751846313, 1.043211817741394, -0.7998226881027222, 0.04723818600177765, 1.3413835763931274, 0.5491315126419067, -0.38306906819343567, -0.9779011011123657, -0.8710615634918213, 1.005934715270996, 1.5611133575439453, -0.04415446147322655, -0.024216316640377045, 0.7940530776977539, 0.7360779643058777, -1.2234572172164917, 0.10837141424417496, -0.7742623090744019, -0.6258293390274048, 1.649816870689392, 1.9687033891677856, -0.04919910058379173, -0.08648712188005447, -0.8689689636230469, -1.2114875316619873, 0.7395421266555786, 0.07145188748836517, 0.029586825519800186, 0.8060616254806519, -0.6068682670593262, 1.1521809101104736, 0.8159896731376648, 0.9364191889762878, 0.17962315678596497, 0.4977882504463196, 0.3860782980918884, -0.27116096019744873, -1.0854425430297852, -0.2092486172914505, -1.1501688957214355, -2.4612433910369873, 0.5300433039665222, -0.2892143726348877, -1.3952488899230957, 0.024532705545425415, -1.1186902523040771, 0.948220431804657, -0.6087772250175476, -1.1812468767166138, -1.56721830368042, 0.16306138038635254, -0.1713578999042511, 0.908595621585846, -1.5633735656738281, -0.08058572560548782, 1.3027974367141724, 0.8929562568664551, -0.7962837815284729, 1.0202261209487915, 0.20223896205425262, 1.1235295534133911, 0.7492642998695374, -0.4517744779586792, 0.531619668006897, 0.15842895209789276, -1.4065489768981934, 0.5654637813568115, 1.1481449604034424, 0.15919776260852814, 1.3613804578781128, -0.4302598834037781, 0.05186130106449127, 0.6157469153404236, -0.6012154221534729, -0.541610836982727, -0.526972234249115, 0.7417304515838623, 0.03751770406961441, -0.877276599407196, 0.08171825855970383, -0.07962379604578018, -0.20503386855125427, 0.2636844217777252, -1.4643211364746094, -0.3156915009021759, -0.4965372383594513, -0.4931045174598694, -1.3491199016571045, -0.0917590782046318, 1.3659310340881348, -0.6727989912033081, -0.18471461534500122, 0.6069177985191345, 0.39843931794166565, 0.5092573761940002, 0.6127961874008179, -0.6752251982688904, -0.26117804646492004, -0.25520047545433044, -0.35242217779159546, 0.35770943760871887, 1.3347450494766235, -0.20274385809898376, -1.0490667819976807, 0.7275311350822449, -0.2894677221775055, 0.011868399567902088, 1.9808365106582642, 0.05474499985575676, -0.9033206701278687, 0.21044142544269562, -0.6943966746330261, 1.8350670337677002, 1.5941786766052246, 1.3077770471572876, -0.10009273886680603, -0.9139635562896729, 0.4568394124507904, -0.17313094437122345, -0.3545246124267578, 0.9085584282875061, 0.4898640513420105, -0.11829650402069092, -1.361271619796753, 0.5933495759963989, 1.3233590126037598, -0.8821296095848083, -0.802924633026123, 0.09101192653179169, -0.797897219657898, 1.0476747751235962, 0.5968184471130371, 0.4571722149848938, 0.20562992990016937, 1.6228516101837158, 0.6361520886421204, -0.4701506197452545, 0.3818868100643158, 0.49536120891571045, -0.15285004675388336, -2.0658278465270996, -1.0730624198913574, 0.36375805735588074, -0.5266119837760925, -1.6109009981155396, 1.394233226776123, -1.2087072134017944, -0.8352241516113281, 0.46857303380966187, 0.22675397992134094, 1.4539583921432495, 0.4065655767917633, 1.7310696840286255, 1.9545981884002686, 0.898651659488678, 0.31909704208374023, 1.4343382120132446, -0.049128610640764236, -0.4855482280254364, 1.7505744695663452, -0.3822760283946991, 0.5073335766792297, 1.090375304222107, -0.4553282856941223, -1.2196284532546997, -0.7829796671867371, -1.1858055591583252, -0.5589836835861206, 1.1636583805084229, 0.22633260488510132, -1.2537072896957397, 0.19208170473575592, 1.4724626541137695, 0.039303336292505264, -0.21905983984470367, 0.6060135364532471, 0.3790472447872162, -0.7641116976737976, 0.08331020921468735, -0.9931603074073792, 0.4650411903858185, -0.24834372103214264, -0.3992341458797455, 0.32361841201782227, 0.5464084148406982, 1.2872307300567627, -0.12749965488910675, 0.24824321269989014, 1.1960874795913696, -1.275352954864502, 1.446501612663269, -0.6927465796470642, 0.18272338807582855, -2.4419116973876953, 1.3814709186553955, -0.7910073399543762, 1.9422607421875, -2.700208902359009, 0.3653462827205658, -0.5659940242767334, -0.37927791476249695, 0.33604350686073303, -0.40188416838645935, 0.04368260130286217, -0.12112968415021896, -1.123910665512085, 0.023824360221624374, -0.7762329578399658, 0.5724226832389832, 1.2782495021820068, 1.356813669204712, -1.056372046470642, -0.35665038228034973, -1.8460321426391602, -0.13872313499450684, -0.6958931684494019, 0.32568153738975525, -2.0544862747192383, -0.04602569341659546, -2.0052618980407715, -2.3563690185546875, -1.346912145614624, -0.8545829653739929, 1.0745476484298706, 0.2457599937915802, -0.9149878025054932, 1.0078197717666626, -0.15713277459144592, -1.723088264465332, 1.1093547344207764, -2.219508409500122 ]
https://github.com/huggingface/datasets/issues/3965
TypeError: Couldn't cast array of type for JSONLines dataset
Hi @lewtun, thanks for reporting. It seems that our library fails at inferring the dtype of the columns: - `milestone` - `performed_via_github_app` (and assigns them `null` dtype).
## Describe the bug One of the [course participants](https://discuss.huggingface.co/t/chapter-5-questions/11744/20?u=lewtun) is having trouble loading a JSONLines dataset that's composed of the GitHub issues from `spacy` (see stack trace below). This reminds me a bit of #2799 where one can load the dataset in `pandas` but not in `datasets` and perhaps increasing the `block_size` is needed again. ## Steps to reproduce the bug ```python from datasets import load_dataset from huggingface_hub import hf_hub_url import pandas as pd # returns 'https://huggingface.co/datasets/Evan/spaCy-github-issues/resolve/main/spacy-issues.jsonl' data_files = hf_hub_url(repo_id="Evan/spaCy-github-issues", filename="spacy-issues.jsonl", repo_type="dataset") # throws TypeError: Couldn't cast array of type dset = load_dataset("json", data_files=data_files, split="test") # no problem with pandas - note this take a while as the file is >2GB df = pd.read_json(data_files, orient="records", lines=True) df.head() ``` ## Expected results I can load any line-separated JSON file, similar to pandas. ## Actual results ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/load.py", line 1702, in load_dataset builder_instance.download_and_prepare( File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/builder.py", line 594, in download_and_prepare self._download_and_prepare( File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/builder.py", line 683, in _download_and_prepare self._prepare_split(split_generator, **prepare_split_kwargs) File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/builder.py", line 1136, in _prepare_split writer.write_table(table) File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/arrow_writer.py", line 511, in write_table pa_table = table_cast(pa_table, self._schema) File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/table.py", line 1121, in table_cast return cast_table_to_features(table, Features.from_arrow_schema(schema)) File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/table.py", line 1102, in cast_table_to_features arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()] File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/table.py", line 1102, in <listcomp> arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()] File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/table.py", line 944, in wrapper return func(array, *args, **kwargs) File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/table.py", line 918, in wrapper return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks]) File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/table.py", line 918, in <listcomp> return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks]) File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/table.py", line 1086, in cast_array_to_feature return array_cast(array, feature(), allow_number_to_str=allow_number_to_str) File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/table.py", line 944, in wrapper return func(array, *args, **kwargs) File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/table.py", line 920, in wrapper return func(array, *args, **kwargs) File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/table.py", line 1019, in array_cast raise TypeError(f"Couldn't cast array of type\n{array.type}\nto\n{pa_type}") TypeError: Couldn't cast array of type struct<url: string, html_url: string, labels_url: string, id: int64, node_id: string, number: int64, title: string, description: string, creator: struct<login: string, id: int64, node_id: string, avatar_url: string, gravatar_id: string, url: string, html_url: string, followers_url: string, following_url: string, gists_url: string, starred_url: string, subscriptions_url: string, organizations_url: string, repos_url: string, events_url: string, received_events_url: string, type: string, site_admin: bool>, open_issues: int64, closed_issues: int64, state: string, created_at: timestamp[s], updated_at: timestamp[s], due_on: null, closed_at: timestamp[s]> to null ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: macOS-10.16-x86_64-i386-64bit - Python version: 3.9.7 - PyArrow version: 7.0.0 - Pandas version: 1.4.1
873
27
TypeError: Couldn't cast array of type for JSONLines dataset ## Describe the bug One of the [course participants](https://discuss.huggingface.co/t/chapter-5-questions/11744/20?u=lewtun) is having trouble loading a JSONLines dataset that's composed of the GitHub issues from `spacy` (see stack trace below). This reminds me a bit of #2799 where one can load the dataset in `pandas` but not in `datasets` and perhaps increasing the `block_size` is needed again. ## Steps to reproduce the bug ```python from datasets import load_dataset from huggingface_hub import hf_hub_url import pandas as pd # returns 'https://huggingface.co/datasets/Evan/spaCy-github-issues/resolve/main/spacy-issues.jsonl' data_files = hf_hub_url(repo_id="Evan/spaCy-github-issues", filename="spacy-issues.jsonl", repo_type="dataset") # throws TypeError: Couldn't cast array of type dset = load_dataset("json", data_files=data_files, split="test") # no problem with pandas - note this take a while as the file is >2GB df = pd.read_json(data_files, orient="records", lines=True) df.head() ``` ## Expected results I can load any line-separated JSON file, similar to pandas. ## Actual results ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/load.py", line 1702, in load_dataset builder_instance.download_and_prepare( File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/builder.py", line 594, in download_and_prepare self._download_and_prepare( File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/builder.py", line 683, in _download_and_prepare self._prepare_split(split_generator, **prepare_split_kwargs) File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/builder.py", line 1136, in _prepare_split writer.write_table(table) File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/arrow_writer.py", line 511, in write_table pa_table = table_cast(pa_table, self._schema) File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/table.py", line 1121, in table_cast return cast_table_to_features(table, Features.from_arrow_schema(schema)) File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/table.py", line 1102, in cast_table_to_features arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()] File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/table.py", line 1102, in <listcomp> arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()] File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/table.py", line 944, in wrapper return func(array, *args, **kwargs) File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/table.py", line 918, in wrapper return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks]) File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/table.py", line 918, in <listcomp> return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks]) File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/table.py", line 1086, in cast_array_to_feature return array_cast(array, feature(), allow_number_to_str=allow_number_to_str) File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/table.py", line 944, in wrapper return func(array, *args, **kwargs) File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/table.py", line 920, in wrapper return func(array, *args, **kwargs) File "/Users/lewtun/miniconda3/envs/hf/lib/python3.9/site-packages/datasets/table.py", line 1019, in array_cast raise TypeError(f"Couldn't cast array of type\n{array.type}\nto\n{pa_type}") TypeError: Couldn't cast array of type struct<url: string, html_url: string, labels_url: string, id: int64, node_id: string, number: int64, title: string, description: string, creator: struct<login: string, id: int64, node_id: string, avatar_url: string, gravatar_id: string, url: string, html_url: string, followers_url: string, following_url: string, gists_url: string, starred_url: string, subscriptions_url: string, organizations_url: string, repos_url: string, events_url: string, received_events_url: string, type: string, site_admin: bool>, open_issues: int64, closed_issues: int64, state: string, created_at: timestamp[s], updated_at: timestamp[s], due_on: null, closed_at: timestamp[s]> to null ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: macOS-10.16-x86_64-i386-64bit - Python version: 3.9.7 - PyArrow version: 7.0.0 - Pandas version: 1.4.1 Hi @lewtun, thanks for reporting. It seems that our library fails at inferring the dtype of the columns: - `milestone` - `performed_via_github_app` (and assigns them `null` dtype).
[ -1.183516502380371, -0.9255155324935913, -0.7032634019851685, 1.5202057361602783, -0.14185628294944763, -1.2223113775253296, 0.1715063899755478, -0.9891568422317505, 1.6552871465682983, -0.7767452001571655, 0.27720290422439575, -1.691396951675415, -0.06788799166679382, -0.5665917992591858, -0.6848267316818237, -0.8959654569625854, -0.3603861629962921, -0.7723482847213745, 1.0526117086410522, 2.4776816368103027, 1.3289316892623901, -1.3585200309753418, 2.7641820907592773, 0.733140766620636, -0.2764059901237488, -0.973420262336731, 0.4667492210865021, 0.07430899143218994, -1.2124254703521729, -0.43619611859321594, -0.9264684915542603, -0.08367861807346344, -0.492929607629776, -0.47903773188591003, 0.03239480406045914, 0.5193679332733154, -0.37764278054237366, -0.3823873996734619, -0.6453529596328735, -0.6944940686225891, 0.45773404836654663, -0.3301304280757904, 0.9565603733062744, -0.29102203249931335, 1.8444740772247314, -0.5678426623344421, 0.4154667556285858, 0.741543173789978, 1.2684541940689087, 0.24056564271450043, 0.016787607222795486, 0.29875484108924866, 0.3038158416748047, -0.06025201082229614, 0.5947421789169312, 1.2989059686660767, 0.6136461496353149, 0.5280382633209229, 0.7547638416290283, -2.181452751159668, 1.3139667510986328, -0.952155590057373, 0.2720842957496643, 1.3574146032333374, -0.8825555443763733, 0.4311148524284363, -1.7825802564620972, -0.006848121993243694, 0.5573322176933289, -2.2730600833892822, 0.27118173241615295, -1.2878713607788086, -0.5382024645805359, 0.9228166341781616, 0.36971786618232727, -1.2045284509658813, 0.08270357549190521, -0.5186817049980164, 1.0625303983688354, 0.48319920897483826, 1.135591745376587, -1.6834208965301514, -0.026901427656412125, -0.1922835111618042, 0.14625337719917297, -1.26406991481781, -1.5930335521697998, 0.5705289840698242, 0.633219301700592, 0.7303777933120728, -0.11038021743297577, 1.0433772802352905, -1.0566579103469849, 0.7518786787986755, -0.9165946841239929, -1.660006046295166, -1.4358928203582764, -2.303236961364746, -2.280562400817871, 0.7712565064430237, -0.5360584855079651, -0.5581406354904175, 2.0652706623077393, -0.9345032572746277, -1.7795050144195557, 1.064898133277893, 0.35043472051620483, 0.010469472967088223, 2.455857276916504, 0.2875461280345917, -0.80008864402771, 0.4798826575279236, -0.6494602560997009, 0.7888441681861877, -0.37087127566337585, 1.326480507850647, 0.44788458943367004, -1.0927695035934448, 1.589094638824463, -0.37065690755844116, 0.65604168176651, -0.6655048727989197, -0.5086352825164795, -0.7348959445953369, 0.2241068035364151, 1.8624258041381836, -0.34583353996276855, 1.518748164176941, -0.2938147783279419, -1.5850566625595093, -1.5925453901290894, 0.875679075717926, 0.4418676793575287, -0.804543673992157, 0.13531264662742615, -0.4630225598812103, 0.09058482944965363, -0.02016974240541458, 1.1467665433883667, 1.2393848896026611, 0.6867183446884155, -0.2612931430339813, -0.7113170027732849, 0.19864696264266968, -0.12058331817388535, -0.660492479801178, -1.7813464403152466, -0.30732348561286926, 0.21395497024059296, 0.548694372177124, -1.2414840459823608, 1.7325359582901, 0.8316887617111206, 1.9844014644622803, 0.9991801381111145, -0.3307141363620758, 1.4974167346954346, -0.024746425449848175, 1.833727478981018, -0.5180249214172363, 0.582678496837616, -0.352115273475647, -1.2027937173843384, 0.7958498001098633, -0.3746028542518616, -2.0295000076293945, -0.7742637395858765, -0.7705169320106506, -0.14058764278888702, -0.7334514260292053, 0.8720486760139465, -0.31728753447532654, -1.4415098428726196, 0.13123376667499542, -0.6814733743667603, 0.15355557203292847, -1.286222219467163, 0.2251233458518982, 0.762335479259491, -0.7142935395240784, 0.027658876031637192, -0.19182144105434418, -1.2266061305999756, -0.4875699281692505, 0.40228959918022156, 1.9653823375701904, -0.6509657502174377, 0.9030883312225342, 1.0363671779632568, -0.8117278218269348, 0.1158844381570816, 0.22480864822864532, -0.3016212582588196, 0.8160739541053772, -1.0674479007720947, -0.43214714527130127, 1.2111936807632446, -0.25154900550842285, -0.6758039593696594, 1.402268886566162, 0.7820567488670349, -1.0309332609176636, -0.2638057470321655, -0.16063357889652252, -0.8510064482688904, -0.01819678023457527, -1.464921236038208, -0.13873736560344696, 0.3581404983997345, -1.4836046695709229, -0.45512616634368896, -0.25309205055236816, 1.3386374711990356, -0.22645340859889984, 1.430612325668335, -0.3129812777042389, -0.16186127066612244, -0.3067329227924347, -0.49628710746765137, 0.10946599394083023, -0.2680565118789673, -0.5895954370498657, 0.1327909380197525, -0.7546374797821045, 0.28750988841056824, 1.48842453956604, 0.32331421971321106, 0.04652267321944237, 0.4911231994628906, 1.1757265329360962, 0.43490147590637207, -0.10922371596097946, -0.8685592412948608, -1.4847702980041504, 1.8998205661773682, -1.4345030784606934, 1.9615341424942017, 0.8028560280799866, -0.05442770943045616, -1.7867865562438965, -1.9190396070480347, 1.3216842412948608, 1.201022982597351, 2.409844160079956, 0.565894603729248, 0.37648335099220276, -0.7876874804496765, -0.7630716562271118, 0.2837335467338562, -1.0082734823226929, -0.6963751316070557, 0.22646430134773254, 2.3210980892181396, 1.8383193016052246, -0.5398530960083008, -0.28928014636039734, -1.0119292736053467, 1.3411459922790527, -0.23785030841827393, 0.18202613294124603, 2.0276286602020264, -0.26584392786026, -1.0060356855392456, 1.319499135017395, -2.3410418033599854, 0.222650408744812, 2.0016438961029053, 0.26073402166366577, 0.1267569661140442, -1.4213417768478394, -0.6861875057220459, -0.2688320577144623, -0.4426151514053345, -1.2440671920776367, 0.5258606672286987, -0.2628991901874542, -0.7770177125930786, -1.5109320878982544, 0.13717521727085114, -1.1127865314483643, -1.6605368852615356, 0.21317283809185028, 1.9613492488861084, 2.013395309448242, -0.7817619442939758, 1.5163251161575317, -0.28843605518341064, 0.04418274387717247, 1.2623450756072998, 1.2991373538970947, 3.1159474849700928, 1.8777064085006714, -1.257183313369751, 0.6503087878227234, -0.14666438102722168, -0.4593246281147003, 1.1562349796295166, -1.1681692600250244, 1.1852588653564453, -0.16355367004871368, -1.2358509302139282, -1.2729123830795288, 0.9726129174232483, 0.5135372281074524, 0.029984086751937866, -0.5593103766441345, 1.2550019025802612, 0.10724174976348877, 1.3436986207962036, 0.6080322265625, -0.40171247720718384, 0.5713476538658142, -0.32770854234695435, -0.5308516621589661, 1.6094088554382324, 0.15021824836730957, -1.4540072679519653, -2.300788164138794, -0.21259693801403046, -0.8759628534317017, 0.01326873991638422, -0.6485568881034851, -1.024946689605713, 1.7000895738601685, 0.396101176738739, -1.1812264919281006, -0.2643885910511017, -0.32068297266960144, -0.48886218667030334, 2.710270881652832, -1.3199824094772339, -0.17016473412513733, -0.9895278215408325, -0.6185240149497986, 1.6955690383911133, -1.1273977756500244, -0.1996173858642578, -1.041692852973938, -0.5942579507827759, -1.3464980125427246, -0.5221841335296631, 0.037505023181438446, -0.9261959791183472, 0.8296281099319458, 0.15614376962184906, -1.2207461595535278, -0.30398571491241455, -0.9116116166114807, 1.0639878511428833, -0.19085220992565155, 0.1837904006242752, 1.9146279096603394, 0.3448586165904999, -0.4505414068698883, 0.8031424880027771, 1.1752821207046509, 0.5933322906494141, -0.6443819403648376, 0.16552555561065674, -0.649280846118927, 0.33509305119514465, -1.4344819784164429, 0.1942693442106247, -2.9424514770507812, 0.6862808465957642, -0.13663910329341888, -0.14509473741054535, 0.013357519172132015, -1.3059742450714111, 1.0477614402770996, 2.5487172603607178, -1.1804693937301636, 0.4280029833316803, 0.37955406308174133, 1.2170077562332153, -1.6347262859344482, 0.22591817378997803, -0.4698609709739685, 2.0386035442352295, 0.12637802958488464, 1.2494051456451416, -0.4622666537761688, -2.244018793106079, 0.543907105922699, -1.2376205921173096, -1.0530222654342651, 0.8837626576423645, -0.8731421232223511, 0.18832674622535706, -1.439865231513977, -0.18186093866825104, -0.8591655492782593, -1.2145546674728394, 0.7683104276657104, 0.1475493609905243, 0.4181908667087555, -0.6007891297340393, 0.3775426149368286, -2.1516096591949463, -1.4270567893981934, -0.2503954768180847, -0.9894846081733704, 0.5004172325134277, -0.3576337695121765, 0.6630588173866272, -0.1807691752910614, 0.04224180430173874, 0.2907496690750122, 1.4797656536102295, 3.3468923568725586, 0.14632999897003174, 0.22269602119922638, -0.1273777186870575, -0.994579017162323, 1.472612738609314, 0.901771068572998, -0.1720544993877411, -0.588777482509613, -1.0230895280838013, 1.252213478088379, 1.9388024806976318, 1.134615182876587, 0.0764976367354393, -0.9098947644233704, -0.7561526894569397, -0.017384324222803116, 0.18027815222740173, 0.4826958477497101, 0.9186521768569946, 0.010906738229095936, 0.06903628259897232, 1.3959219455718994, 1.1440151929855347, -0.379841685295105, 0.45727482438087463, -0.9007408618927002, -0.4562329649925232, 0.4265994131565094, 0.22248558700084686, -0.02291920781135559, 0.3862595856189728, -1.1069663763046265, -0.27101263403892517, -0.4287763237953186, -0.8814225196838379, -0.7103319764137268, -0.4383206069469452, -0.3864748477935791, 1.6456444263458252, 0.08969731628894806, -0.5195055603981018, 0.02888372540473938, -0.7021692991256714, -0.16515561938285828, -1.0562149286270142, 0.2393031269311905, -0.15712055563926697, -0.08594154566526413, -0.12937624752521515, 1.678879737854004, -0.9366755485534668, -2.1570537090301514, 0.21217741072177887, 0.292561799287796, -0.29234349727630615, 0.15748439729213715, 1.6666107177734375, 0.4698878526687622, 1.4285881519317627, 1.3462799787521362, 0.9610973596572876, -0.6561446785926819, -1.2112144231796265, 0.7025125622749329, 0.9844099283218384, -1.3360857963562012, 0.8857735991477966, -0.1626119464635849, -0.554442286491394, 0.5974350571632385, 1.3801485300064087, 0.46385645866394043, -1.9519548416137695, 0.8691366314888, -0.9538608193397522, 0.7276166677474976, 0.7134814858436584, 0.7357629537582397, 0.25436463952064514, 0.8602069020271301, -1.2199610471725464, -1.209641695022583, -0.7252655625343323, -0.6334638595581055, 1.8713054656982422, -0.24506597220897675, 0.5972995162010193, -0.12929314374923706, -1.2863695621490479, -0.0800771489739418, 0.7625156044960022, 0.40161871910095215, -0.40591543912887573, 0.9369825124740601, -0.6120752096176147, -0.9462174773216248, -1.3167760372161865, -0.3931005597114563, -1.077444314956665, -0.906423032283783, 0.9937964081764221, 0.8054707050323486, 0.31816717982292175, 1.8459545373916626, 0.6630592942237854, 0.33551785349845886, -2.615924596786499, 0.9395503401756287, 0.2836758494377136, -0.06266167014837265, 0.9056640863418579, 0.3425578474998474, 1.1059752702713013, -0.025139130651950836, 0.559044599533081, -2.3553764820098877, 2.195134401321411, -0.15626606345176697, 0.6320305466651917, -0.03645005822181702, -0.19083181023597717, 1.0722119808197021, 0.4937410354614258, 0.5091426968574524, -1.0511666536331177, 0.7189821600914001, -0.49812981486320496, 1.1130659580230713, 0.8799781799316406, -0.8751192092895508, 0.04232057183980942, 1.3873604536056519, 0.4792955815792084, -0.49313896894454956, -0.9415120482444763, -0.8759809136390686, 0.9535617232322693, 1.6806200742721558, -0.02857803925871849, 0.037593334913253784, 0.8712056279182434, 0.6467422246932983, -1.2783805131912231, 0.07140745967626572, -0.6518909335136414, -0.7099392414093018, 1.7032757997512817, 2.0127761363983154, -0.13963985443115234, -0.20006589591503143, -0.7344995141029358, -1.2612090110778809, 0.7349274754524231, -0.020185209810733795, 0.10250326246023178, 0.7596758604049683, -0.7217867374420166, 1.0721477270126343, 0.6589033007621765, 0.9581505656242371, 0.12090225517749786, 0.3324889540672302, 0.45756614208221436, -0.38840243220329285, -1.257758378982544, -0.273938924074173, -1.0872176885604858, -2.4802794456481934, 0.42964980006217957, -0.21183951199054718, -1.3956085443496704, 0.07982468605041504, -1.042069673538208, 0.9465973377227783, -0.6134125590324402, -1.111899733543396, -1.4665826559066772, 0.26247960329055786, -0.14445440471172333, 0.8408483862876892, -1.5691289901733398, -0.19989940524101257, 1.2476259469985962, 0.9169868230819702, -0.676207423210144, 0.9445834159851074, 0.22170037031173706, 1.0034116506576538, 0.8215019702911377, -0.4164458215236664, 0.5840378999710083, -0.014540102332830429, -1.352116584777832, 0.4363476634025574, 1.171607255935669, 0.19718797504901886, 1.4761828184127808, -0.4908442199230194, -0.049923550337553024, 0.4429912865161896, -0.6000816822052002, -0.5447515249252319, -0.4949286878108978, 0.5900993347167969, -0.025076190009713173, -1.0224788188934326, -0.05826590210199356, -0.04151591286063194, -0.26805058121681213, 0.163090318441391, -1.5720887184143066, -0.14661678671836853, -0.3714543282985687, -0.5165064930915833, -1.2699203491210938, 0.04266899824142456, 1.290260910987854, -0.7882779836654663, -0.26861369609832764, 0.4953402280807495, 0.37155842781066895, 0.505652129650116, 0.5752347707748413, -0.7804136872291565, -0.22129179537296295, -0.296414852142334, -0.3903939127922058, 0.3266216516494751, 1.3229657411575317, -0.12032340466976166, -0.9918329119682312, 0.642619788646698, -0.3937298357486725, 0.13066820800304413, 1.993321180343628, 0.06249544024467468, -0.7930089831352234, 0.27194783091545105, -0.7114619612693787, 1.8592679500579834, 1.7410385608673096, 1.3666833639144897, -0.13055863976478577, -0.8243252038955688, 0.6202393770217896, -0.32932013273239136, -0.3668670952320099, 0.923218309879303, 0.41103383898735046, -0.24871498346328735, -1.451330304145813, 0.7419556975364685, 1.295894980430603, -0.8805484175682068, -0.7684007287025452, 0.11555108428001404, -0.8714935183525085, 1.1226133108139038, 0.6613156199455261, 0.2763276696205139, 0.24825994670391083, 1.5850427150726318, 0.7659226059913635, -0.4229428470134735, 0.46693360805511475, 0.532463788986206, -0.17615994811058044, -2.0440518856048584, -1.0882823467254639, 0.33961713314056396, -0.49258753657341003, -1.5671448707580566, 1.3515195846557617, -1.1463500261306763, -1.0449341535568237, 0.5118415355682373, 0.08501459658145905, 1.3477736711502075, 0.3594268560409546, 1.6105990409851074, 2.0775701999664307, 0.8623412251472473, 0.3502880036830902, 1.1949975490570068, -0.1430586278438568, -0.48694345355033875, 1.8317322731018066, -0.44200435280799866, 0.5008639097213745, 1.0301997661590576, -0.3914862871170044, -1.1442395448684692, -0.8193540573120117, -1.2183256149291992, -0.6895577907562256, 1.2292639017105103, 0.15326738357543945, -1.0924044847488403, 0.24663297832012177, 1.505990982055664, 0.17063623666763306, -0.294861763715744, 0.7334212064743042, 0.3956916630268097, -0.7885632514953613, -0.014328962191939354, -0.8457326292991638, 0.5494523644447327, -0.1326550990343094, -0.3495557904243469, 0.24267135560512543, 0.5387095212936401, 1.3210846185684204, -0.0038925758562982082, 0.1371413618326187, 1.1434383392333984, -1.36159348487854, 1.5022850036621094, -0.7123886942863464, 0.3067324757575989, -2.48378324508667, 1.4432153701782227, -0.8041604161262512, 1.9406511783599854, -2.5898711681365967, 0.5757465958595276, -0.5446845889091492, -0.46316787600517273, 0.3232726752758026, -0.39864543080329895, 0.1313425600528717, -0.09747450053691864, -1.0671018362045288, -0.09101945906877518, -0.7060680389404297, 0.5912349820137024, 1.1429473161697388, 1.4234485626220703, -1.1351699829101562, -0.28778553009033203, -1.7382334470748901, -0.2126249372959137, -0.7490668296813965, 0.3646531105041504, -1.9850913286209106, -0.20810405910015106, -1.9039807319641113, -2.4151151180267334, -1.3042566776275635, -0.8170514106750488, 1.0756629705429077, 0.17243559658527374, -0.9810653328895569, 1.319387435913086, -0.3433556854724884, -1.8524315357208252, 1.1473121643066406, -2.1811635494232178 ]
https://github.com/huggingface/datasets/issues/3960
Load local dataset error
Hi! Instead of @nateraw's `image-folder`, I suggest using the newly released `imagefolder` dataset: ```python >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train/**'], 'validation': ['/ssd/datasets/imagenet/pytorch/val/**']} >>> ds = load_dataset('imagefolder', data_files=data_files, cache_dir='./', task='image-classification') ``` Let us know if that resolves the issue.
When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this: ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']} >>> ds = load_dataset('nateraw/image-folder', data_files=data_files, cache_dir='./', task='image-classification') [] https://huggingface.co/datasets/nateraw/image-folder/resolve/main/ /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1671, in load_dataset **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1521, in load_dataset_builder **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 1031, in __init__ super().__init__(*args, **kwargs) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 255, in __init__ sanitize_patterns(data_files), base_path=base_path, use_auth_token=use_auth_token File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 584, in from_local_or_remote if not isinstance(patterns_for_key, DataFilesList) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 546, in from_local_or_remote data_files = resolve_patterns_locally_or_by_urls(base_path, patterns, allowed_extensions) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 196, in resolve_patterns_locally_or_by_urls for path in _resolve_single_pattern_locally(base_path, pattern, allowed_extensions): File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 146, in _resolve_single_pattern_locally raise FileNotFoundError(error_msg) FileNotFoundError: Unable to find '/ssd/datasets/imagenet/pytorch/train' at /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` I need some help to solve the problem, thanks!
875
40
Load local dataset error When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this: ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']} >>> ds = load_dataset('nateraw/image-folder', data_files=data_files, cache_dir='./', task='image-classification') [] https://huggingface.co/datasets/nateraw/image-folder/resolve/main/ /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1671, in load_dataset **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1521, in load_dataset_builder **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 1031, in __init__ super().__init__(*args, **kwargs) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 255, in __init__ sanitize_patterns(data_files), base_path=base_path, use_auth_token=use_auth_token File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 584, in from_local_or_remote if not isinstance(patterns_for_key, DataFilesList) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 546, in from_local_or_remote data_files = resolve_patterns_locally_or_by_urls(base_path, patterns, allowed_extensions) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 196, in resolve_patterns_locally_or_by_urls for path in _resolve_single_pattern_locally(base_path, pattern, allowed_extensions): File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 146, in _resolve_single_pattern_locally raise FileNotFoundError(error_msg) FileNotFoundError: Unable to find '/ssd/datasets/imagenet/pytorch/train' at /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` I need some help to solve the problem, thanks! Hi! Instead of @nateraw's `image-folder`, I suggest using the newly released `imagefolder` dataset: ```python >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train/**'], 'validation': ['/ssd/datasets/imagenet/pytorch/val/**']} >>> ds = load_dataset('imagefolder', data_files=data_files, cache_dir='./', task='image-classification') ``` Let us know if that resolves the issue.
[ -1.207528829574585, -0.9701337218284607, -0.7928412556648254, 1.3184934854507446, -0.10560372471809387, -1.3390069007873535, 0.09672825783491135, -1.0209842920303345, 1.5425015687942505, -0.6776458024978638, 0.17437316477298737, -1.726853370666504, -0.24187348783016205, -0.5899266600608826, -0.711350679397583, -0.8643127083778381, -0.34338027238845825, -0.9136003255844116, 0.9924539923667908, 2.4815104007720947, 1.3189308643341064, -1.297760009765625, 2.8932807445526123, 0.7193644642829895, -0.22631648182868958, -1.003702998161316, 0.5854151248931885, -0.04699177294969559, -1.1820601224899292, -0.5108678936958313, -0.9042526483535767, 0.06802508980035782, -0.6130844354629517, -0.37578722834587097, 0.11527521908283234, 0.42887231707572937, -0.26260852813720703, -0.22790993750095367, -0.7020912170410156, -0.6616514921188354, 0.471530944108963, -0.3405846655368805, 1.0018888711929321, -0.32249611616134644, 1.651899814605713, -0.5634865164756775, 0.28482118248939514, 0.6820297241210938, 1.2995131015777588, 0.17748023569583893, 0.1493748426437378, 0.2395777404308319, 0.23092316091060638, -0.04917242377996445, 0.6238452792167664, 1.339795470237732, 0.5716745853424072, 0.49373018741607666, 0.691685676574707, -2.2474050521850586, 1.263312816619873, -0.8644827604293823, 0.29945945739746094, 1.3727766275405884, -0.7834214568138123, 0.3633880317211151, -1.824187994003296, -0.04448608309030533, 0.6739946603775024, -2.3489468097686768, 0.2665894329547882, -1.2430472373962402, -0.5165116190910339, 0.8026397228240967, 0.3029327392578125, -1.2653402090072632, 0.24033817648887634, -0.5392549633979797, 1.1280640363693237, 0.515282154083252, 1.1593321561813354, -1.7004414796829224, 0.008698668330907822, -0.09136790037155151, 0.08300093561410904, -1.2657644748687744, -1.7138499021530151, 0.5707083940505981, 0.5422394275665283, 0.7686678767204285, -0.09368667006492615, 1.0240364074707031, -1.0649163722991943, 0.7924526929855347, -0.9301970601081848, -1.5372092723846436, -1.4141888618469238, -2.441061496734619, -2.239694356918335, 0.7951302528381348, -0.5601117014884949, -0.4904126226902008, 1.9361655712127686, -0.9340954422950745, -1.84653639793396, 0.9983311295509338, 0.3907771408557892, 0.13381248712539673, 2.3606531620025635, 0.26118290424346924, -0.7848421931266785, 0.4362173080444336, -0.6946799755096436, 0.8552590608596802, -0.2225625365972519, 1.3900763988494873, 0.49974387884140015, -0.8902368545532227, 1.7143528461456299, -0.5722930431365967, 0.6067995429039001, -0.674263596534729, -0.4867730736732483, -0.8926899433135986, 0.252000629901886, 1.8172054290771484, -0.36671555042266846, 1.583909511566162, -0.34284403920173645, -1.6025828123092651, -1.6012659072875977, 0.780291736125946, 0.4980784058570862, -0.9339868426322937, 0.05343034118413925, -0.5161754488945007, 0.2248087227344513, 0.03949805349111557, 1.116297721862793, 1.160731315612793, 0.6094004511833191, -0.2885153889656067, -0.8476375937461853, 0.27782687544822693, -0.14261889457702637, -0.7116512060165405, -1.8636242151260376, -0.30317139625549316, 0.34239864349365234, 0.6470516920089722, -1.293697476387024, 1.8051741123199463, 0.8418681025505066, 2.1264967918395996, 0.93654865026474, -0.4101339280605316, 1.4526621103286743, -0.04001660272479057, 1.8069535493850708, -0.5941004157066345, 0.5893980264663696, -0.30003243684768677, -1.1138640642166138, 0.9000013470649719, -0.47666439414024353, -2.002927541732788, -0.822783887386322, -0.7868990898132324, -0.17489425837993622, -0.6914815902709961, 0.8266828656196594, -0.3777218759059906, -1.4257545471191406, 0.07274767756462097, -0.6654995679855347, 0.14822889864444733, -1.2958731651306152, 0.0620044469833374, 0.7764599919319153, -0.7258098721504211, -0.1533789336681366, -0.2760060727596283, -1.3103578090667725, -0.4751476049423218, 0.30741721391677856, 2.066683530807495, -0.5465802550315857, 0.9178639650344849, 0.9711793065071106, -0.7938008904457092, 0.21145163476467133, 0.2158678025007248, -0.24913665652275085, 0.7607453465461731, -1.1329306364059448, -0.4505683183670044, 1.1014732122421265, -0.1703476905822754, -0.6966395974159241, 1.5023795366287231, 0.926374614238739, -1.1887340545654297, -0.28603631258010864, -0.2483939677476883, -0.79522705078125, -0.03723888844251633, -1.4757956266403198, -0.18641091883182526, 0.3030402362346649, -1.459323763847351, -0.39940425753593445, -0.20762358605861664, 1.3971043825149536, -0.20587493479251862, 1.4482457637786865, -0.26590660214424133, -0.18025130033493042, -0.2894853353500366, -0.578942060470581, 0.2106286734342575, -0.19378484785556793, -0.6974561214447021, 0.18816785514354706, -0.8679786920547485, 0.27382686734199524, 1.5679187774658203, 0.34196534752845764, 0.07060587406158447, 0.5153854489326477, 1.1217410564422607, 0.40376004576683044, 0.024971382692456245, -0.8804401755332947, -1.5293885469436646, 1.9623754024505615, -1.4187355041503906, 1.8249961137771606, 0.7013305425643921, -0.04548037797212601, -1.7918407917022705, -1.8147650957107544, 1.3067104816436768, 1.1928244829177856, 2.366503953933716, 0.5740844011306763, 0.39516961574554443, -0.7714876532554626, -0.8262544274330139, 0.25526389479637146, -0.9002631306648254, -0.6871918439865112, 0.12261158227920532, 2.3185465335845947, 1.9374796152114868, -0.6660999655723572, -0.3075175881385803, -0.8442531228065491, 1.178252935409546, -0.26593223214149475, 0.2825552225112915, 2.037632703781128, -0.3532123863697052, -0.9759485721588135, 1.3713823556900024, -2.4370436668395996, 0.29180821776390076, 2.0564486980438232, 0.32305198907852173, 0.20693427324295044, -1.4628100395202637, -0.662458062171936, -0.3218095898628235, -0.5119830369949341, -1.267594337463379, 0.6135894060134888, -0.3044750988483429, -0.9704420566558838, -1.4392178058624268, 0.05393463373184204, -1.1291394233703613, -1.7276644706726074, 0.4340512454509735, 1.9422540664672852, 2.15049409866333, -0.8482136130332947, 1.3473724126815796, -0.2698673903942108, 0.01500999741256237, 1.2961472272872925, 1.44448983669281, 3.034043312072754, 1.8294364213943481, -1.2473342418670654, 0.7719606757164001, -0.24618667364120483, -0.5133056044578552, 1.1870923042297363, -1.0944011211395264, 0.961627721786499, -0.28853651881217957, -1.252837896347046, -1.1805698871612549, 1.0575087070465088, 0.5110746622085571, 0.009682774543762207, -0.559158980846405, 1.309502363204956, 0.07048308104276657, 1.2991701364517212, 0.6316542625427246, -0.5217132568359375, 0.4211452305316925, -0.35266146063804626, -0.5830138325691223, 1.6916818618774414, 0.05840107053518295, -1.5468780994415283, -2.376464605331421, -0.17282839119434357, -0.9750375747680664, -0.051502667367458344, -0.6280070543289185, -1.0461407899856567, 1.630173921585083, 0.4461442232131958, -1.1620795726776123, -0.293351411819458, -0.35992178320884705, -0.4308170676231384, 2.6444406509399414, -1.2912144660949707, -0.21702638268470764, -0.9525944590568542, -0.41561728715896606, 1.6415047645568848, -1.1722866296768188, -0.1972012221813202, -1.078072190284729, -0.7603164315223694, -1.339919090270996, -0.46240395307540894, -0.008437849581241608, -0.8345192074775696, 0.7598178386688232, 0.15917493402957916, -1.0814454555511475, -0.24572207033634186, -0.9908379912376404, 1.0686229467391968, -0.17265532910823822, 0.22967039048671722, 1.8679572343826294, 0.27830928564071655, -0.4922586977481842, 0.7279759049415588, 1.3069016933441162, 0.6313452124595642, -0.6829984188079834, -0.013405273668467999, -0.6228224635124207, 0.4335103929042816, -1.4996625185012817, 0.10808328539133072, -3.050750970840454, 0.8540022373199463, -0.14590708911418915, -0.169737309217453, -0.11620517075061798, -1.2644062042236328, 1.1022299528121948, 2.570763349533081, -1.2269343137741089, 0.41159433126449585, 0.49775803089141846, 1.1354360580444336, -1.5477259159088135, 0.15837326645851135, -0.518415093421936, 2.042638063430786, 0.07863138616085052, 1.2618293762207031, -0.5370393991470337, -2.064974069595337, 0.6684971451759338, -1.1470962762832642, -0.9319380521774292, 0.815837025642395, -0.915064811706543, 0.3864271342754364, -1.5084148645401, -0.10433229058980942, -1.005266547203064, -1.2572507858276367, 0.7901540398597717, 0.07226093858480453, 0.2829829156398773, -0.5561901926994324, 0.413760244846344, -2.1168863773345947, -1.3992524147033691, -0.12247753143310547, -1.061444640159607, 0.5971159338951111, -0.4355452060699463, 0.5174747705459595, 0.07270441949367523, 0.12877219915390015, 0.2488880157470703, 1.427308201789856, 3.3753716945648193, 0.11713355779647827, 0.19991761445999146, -0.07929348200559616, -1.0453441143035889, 1.4412440061569214, 0.9680407643318176, -0.08757530152797699, -0.48967981338500977, -1.0059535503387451, 1.4492688179016113, 1.99704909324646, 1.2420318126678467, 0.15701864659786224, -0.9396369457244873, -0.7645467519760132, 0.05250544846057892, 0.24224457144737244, 0.4994087219238281, 0.9816969037055969, -0.09423035383224487, 0.11448143422603607, 1.3823806047439575, 1.1474804878234863, -0.27725329995155334, 0.4441049098968506, -0.9998530149459839, -0.3405264616012573, 0.37484386563301086, 0.1650666445493698, 0.11702927947044373, 0.5362592339515686, -1.0864161252975464, -0.2683333158493042, -0.19291788339614868, -0.7706242203712463, -0.6831967234611511, -0.4217267334461212, -0.3885324001312256, 1.5072838068008423, 0.08844935148954391, -0.5376978516578674, 0.10521672666072845, -0.6690524816513062, -0.11430573463439941, -1.0973860025405884, 0.09169603884220123, -0.11973889172077179, -0.08291957527399063, -0.24157752096652985, 1.5751166343688965, -0.911612331867218, -2.135021924972534, 0.11459223926067352, 0.4850245416164398, -0.40863439440727234, 0.20273993909358978, 1.6986665725708008, 0.5344459414482117, 1.3314931392669678, 1.2982686758041382, 0.994533360004425, -0.5592256188392639, -1.1097776889801025, 0.7037567496299744, 0.9037555456161499, -1.3066561222076416, 1.0011399984359741, -0.3041820228099823, -0.5730090737342834, 0.6914390325546265, 1.4057544469833374, 0.385755717754364, -1.963050365447998, 0.954291045665741, -0.8931469917297363, 0.7975976467132568, 0.6600309610366821, 0.8881970643997192, 0.3427375853061676, 0.9010483026504517, -1.2686160802841187, -1.1591061353683472, -0.7345713973045349, -0.5749954581260681, 1.8437126874923706, -0.1981138437986374, 0.5475021600723267, -0.21562142670154572, -1.1212916374206543, -0.13128958642482758, 0.8200570344924927, 0.3586278557777405, -0.35410210490226746, 0.9910857081413269, -0.5860104560852051, -0.9444340467453003, -1.205928087234497, -0.42489945888519287, -0.9766121506690979, -0.8374645709991455, 1.01987886428833, 0.7694979310035706, 0.5366144180297852, 2.011429786682129, 0.5257236957550049, 0.2970118820667267, -2.5143606662750244, 0.8577268123626709, 0.310787171125412, 0.039934009313583374, 0.8839455246925354, 0.26131412386894226, 1.3218657970428467, -0.03015829250216484, 0.604749321937561, -2.2677838802337646, 2.1218419075012207, -0.1635805070400238, 0.6072900891304016, -0.02606981247663498, -0.17075215280056, 1.1347683668136597, 0.5949164628982544, 0.5764990448951721, -1.1059658527374268, 0.7944180965423584, -0.5871594548225403, 1.0536850690841675, 0.9964296221733093, -0.9170206785202026, 0.14833153784275055, 1.3830962181091309, 0.4739205241203308, -0.44081345200538635, -1.031831979751587, -0.7428030967712402, 1.0710632801055908, 1.6827744245529175, 0.03418833762407303, 0.02271430380642414, 0.8860000371932983, 0.6414245963096619, -1.2294609546661377, -0.008082610554993153, -0.6544274091720581, -0.6215163469314575, 1.8142476081848145, 1.9088350534439087, -0.13631176948547363, -0.18113884329795837, -0.7335491180419922, -1.2876002788543701, 0.6921383738517761, -0.07579275965690613, 0.027377979829907417, 0.798923909664154, -0.7391893863677979, 1.09955632686615, 0.5145204067230225, 0.8972749710083008, -0.13289038836956024, 0.37714970111846924, 0.43048253655433655, -0.40368232131004333, -1.1852633953094482, -0.4271412789821625, -1.0908684730529785, -2.546679735183716, 0.4025777578353882, -0.26996177434921265, -1.430268406867981, 0.03086673654615879, -1.0566229820251465, 0.9702942967414856, -0.5841946005821228, -1.1023014783859253, -1.3600962162017822, 0.4304024875164032, -0.16310112178325653, 0.868311882019043, -1.6279993057250977, -0.23219558596611023, 1.235815405845642, 0.8758074045181274, -0.5579129457473755, 0.9616100192070007, 0.2986762523651123, 0.9332368969917297, 0.7273702025413513, -0.39927759766578674, 0.5553388595581055, -0.03728044778108597, -1.3250346183776855, 0.38141199946403503, 1.2520776987075806, 0.21219247579574585, 1.3425723314285278, -0.40623900294303894, 0.15488497912883759, 0.4368601143360138, -0.6711005568504333, -0.5796352028846741, -0.4239506125450134, 0.6698201894760132, 0.04929843544960022, -1.0725266933441162, -0.245993971824646, -0.15676671266555786, -0.2898140549659729, 0.2146027535200119, -1.4638721942901611, -0.3279684782028198, -0.37032774090766907, -0.33196938037872314, -1.290643572807312, 0.11689701676368713, 1.28717041015625, -0.8287950754165649, -0.31853678822517395, 0.49459755420684814, 0.3656759262084961, 0.5996425151824951, 0.524585485458374, -0.7717669010162354, -0.20099206268787384, -0.39851704239845276, -0.2794254720211029, 0.23099443316459656, 1.1272767782211304, -0.06919152289628983, -1.085112452507019, 0.6471480131149292, -0.3608035445213318, 0.13948093354701996, 2.0308046340942383, -0.0028399680741131306, -0.7063446640968323, 0.3661494851112366, -0.674111545085907, 1.623882532119751, 1.6625334024429321, 1.260269045829773, -0.1374368816614151, -0.678687334060669, 0.5536158680915833, -0.24575412273406982, -0.33036333322525024, 0.8846817016601562, 0.4015200138092041, -0.24021229147911072, -1.5128592252731323, 0.508347749710083, 1.321362018585205, -0.7726930379867554, -0.6879484057426453, 0.09487634897232056, -0.9349000453948975, 1.2416284084320068, 0.582444965839386, 0.2859421372413635, 0.2847909927368164, 1.5412689447402954, 0.682103157043457, -0.47703152894973755, 0.3864686191082001, 0.5651518106460571, -0.2714337706565857, -2.0748038291931152, -1.0282338857650757, 0.20744024217128754, -0.4095441699028015, -1.6067970991134644, 1.2130002975463867, -1.134972333908081, -1.0394333600997925, 0.5041540861129761, 0.1674036830663681, 1.185861349105835, 0.34636732935905457, 1.688722014427185, 2.1370999813079834, 0.8305449485778809, 0.3132503628730774, 1.1499015092849731, -0.030684133991599083, -0.3811642825603485, 1.8834757804870605, -0.39082616567611694, 0.6047833561897278, 0.9708345532417297, -0.377816379070282, -1.104926347732544, -0.8507455587387085, -1.201594352722168, -0.6492767930030823, 1.2066364288330078, 0.13352525234222412, -1.120329737663269, 0.15452411770820618, 1.5240148305892944, 0.1189722865819931, -0.24279753863811493, 0.735278308391571, 0.41596826910972595, -0.687404990196228, 0.00991317443549633, -0.8766892552375793, 0.5186488032341003, -0.08521895110607147, -0.25865352153778076, 0.19318439066410065, 0.6062679886817932, 1.3488069772720337, -0.023630257695913315, 0.20102554559707642, 1.2204917669296265, -1.250807523727417, 1.5771698951721191, -0.5889635682106018, 0.3218457102775574, -2.5799813270568848, 1.3911793231964111, -0.7671913504600525, 1.9812883138656616, -2.522433042526245, 0.42028436064720154, -0.5304840207099915, -0.45781439542770386, 0.33667486906051636, -0.4611990451812744, 0.0699196606874466, -0.073411725461483, -0.9196041822433472, 0.10182065516710281, -0.6803687214851379, 0.5346898436546326, 1.2302833795547485, 1.4639406204223633, -1.1219202280044556, -0.2788693606853485, -1.808442234992981, -0.14367316663265228, -0.8218575716018677, 0.43017151951789856, -2.0037896633148193, -0.2169038951396942, -1.9452846050262451, -2.3145763874053955, -1.4183573722839355, -0.8393747806549072, 1.0314509868621826, 0.13910067081451416, -0.9930553436279297, 1.1637893915176392, -0.38921645283699036, -1.7552976608276367, 1.0418591499328613, -2.238765001296997 ]
https://github.com/huggingface/datasets/issues/3960
Load local dataset error
> Hi! Instead of @nateraw's `image-folder`, I suggest using the newly released `imagefolder` dataset: > > ```python > >>> from datasets import load_dataset > >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train/**'], 'validation': ['/ssd/datasets/imagenet/pytorch/val/**']} > >>> ds = load_dataset('imagefolder', data_files=data_files, cache_dir='./', task='image-classification') > ``` > > Let us know if that resolves the issue. Sorry, replied late. Thanks a lot! It's worked for me. But it seems much slower than before, and now gets stuck..... ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train/**'], 'validation': ['/ssd/datasets/imagenet/pytorch/val/**']} >>> ds = load_dataset('imagefolder', data_files=data_files, cache_dir='./', task='image-classification') Resolving data files: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1281167/1281167 [00:02<00:00, 437283.97it/s] Resolving data files: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 50001/50001 [00:00<00:00, 89094.29it/s] Using custom data configuration default-baebca6347576b33 Downloading and preparing dataset image_folder/default to ./image_folder/default-baebca6347576b33/0.0.0/ee92df8e96c6907f3c851a987be3fd03d4b93b247e727b69a8e23ac94392a091... Downloading data files #0: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:00<00:00, 82289.56obj/s] Downloading data files #1: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:01<00:00, 73559.11obj/s] Downloading data files #2: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:00<00:00, 81600.46obj/s] Downloading data files #3: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:01<00:00, 79691.56obj/s] Downloading data files #4: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:00<00:00, 82341.37obj/s] Downloading data files #5: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:01<00:00, 75784.46obj/s] Downloading data files #6: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:00<00:00, 81466.18obj/s] Downloading data files #7: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:00<00:00, 82320.27obj/s] Downloading data files #8: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:01<00:00, 78094.00obj/s] Downloading data files #9: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:00<00:00, 84057.59obj/s] Downloading data files #10: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:00<00:00, 83082.31obj/s] Downloading data files #11: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:01<00:00, 79944.21obj/s] Downloading data files #12: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:00<00:00, 84569.77obj/s] Downloading data files #13: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:00<00:00, 84949.63obj/s] Downloading data files #14: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:00<00:00, 80666.53obj/s] Downloading data files #15: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80072/80072 [00:01<00:00, 76723.20obj/s] ^[[Bloading data files #8: 94%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████▌ | 75061/80073 [00:00<00:00, 82609.89obj/s] Downloading data files #9: 85%|████████████████████████████████████████████████████████████████████████████████████████████████████▍ | 68120/80073 [00:00<00:00, 83868.54obj/s] Downloading data files #9: 96%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ | 76784/80073 [00:00<00:00, 84722.34obj/s] Downloading data files #10: 75%|███████████████████████████████████████████████████████████████████████████████████████▋ | 59995/80073 [00:00<00:00, 84148.19obj/s] Downloading data files #10: 97%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████ | 77412/80073 [00:00<00:00, 85724.53obj/s] Downloading data files #11: 71%|███████████████████████████████████████████████████████████████████████████████████▎ | 57032/80073 [00:00<00:00, 79930.58obj/s] Downloading data files #11: 92%|███████████████████████████████████████████████████████████████████████████████████████████████████████████ | 73277/80073 [00:00<00:00, 78091.27obj/s] Downloading data files #12: 86%|█████████████████████████████████████████████████████████████████████████████████████████████████████ | 69125/80073 [00:00<00:00, 84723.02obj/s] Downloading data files #12: 97%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████▋ | 77803/80073 [00:00<00:00, 85351.59obj/s] Downloading data files #13: 75%|████████████████████████████████████████████████████████████████████████████████████████▏ | 60356/80073 [00:00<00:00, 84833.35obj/s] Downloading data files #13: 97%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████ | 77368/80073 [00:00<00:00, 84475.10obj/s] Downloading data files #14: 72%|████████████████████████████████████████████████████████████████████████████████████▍ | 57751/80073 [00:00<00:00, 80727.33obj/s] Downloading data files #14: 92%|████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ | 74022/80073 [00:00<00:00, 78703.16obj/s] Downloading data files #15: 78%|███████████████████████████████████████████████████████████████████████████████████████████▋ | 62724/80072 [00:00<00:00, 78387.33obj/s] Downloading data files #15: 99%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████▎ | 78933/80072 [00:01<00:00, 79353.63obj/s] ```
When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this: ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']} >>> ds = load_dataset('nateraw/image-folder', data_files=data_files, cache_dir='./', task='image-classification') [] https://huggingface.co/datasets/nateraw/image-folder/resolve/main/ /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1671, in load_dataset **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1521, in load_dataset_builder **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 1031, in __init__ super().__init__(*args, **kwargs) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 255, in __init__ sanitize_patterns(data_files), base_path=base_path, use_auth_token=use_auth_token File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 584, in from_local_or_remote if not isinstance(patterns_for_key, DataFilesList) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 546, in from_local_or_remote data_files = resolve_patterns_locally_or_by_urls(base_path, patterns, allowed_extensions) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 196, in resolve_patterns_locally_or_by_urls for path in _resolve_single_pattern_locally(base_path, pattern, allowed_extensions): File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 146, in _resolve_single_pattern_locally raise FileNotFoundError(error_msg) FileNotFoundError: Unable to find '/ssd/datasets/imagenet/pytorch/train' at /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` I need some help to solve the problem, thanks!
875
378
Load local dataset error When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this: ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']} >>> ds = load_dataset('nateraw/image-folder', data_files=data_files, cache_dir='./', task='image-classification') [] https://huggingface.co/datasets/nateraw/image-folder/resolve/main/ /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1671, in load_dataset **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1521, in load_dataset_builder **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 1031, in __init__ super().__init__(*args, **kwargs) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 255, in __init__ sanitize_patterns(data_files), base_path=base_path, use_auth_token=use_auth_token File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 584, in from_local_or_remote if not isinstance(patterns_for_key, DataFilesList) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 546, in from_local_or_remote data_files = resolve_patterns_locally_or_by_urls(base_path, patterns, allowed_extensions) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 196, in resolve_patterns_locally_or_by_urls for path in _resolve_single_pattern_locally(base_path, pattern, allowed_extensions): File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 146, in _resolve_single_pattern_locally raise FileNotFoundError(error_msg) FileNotFoundError: Unable to find '/ssd/datasets/imagenet/pytorch/train' at /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` I need some help to solve the problem, thanks! > Hi! Instead of @nateraw's `image-folder`, I suggest using the newly released `imagefolder` dataset: > > ```python > >>> from datasets import load_dataset > >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train/**'], 'validation': ['/ssd/datasets/imagenet/pytorch/val/**']} > >>> ds = load_dataset('imagefolder', data_files=data_files, cache_dir='./', task='image-classification') > ``` > > Let us know if that resolves the issue. Sorry, replied late. Thanks a lot! It's worked for me. But it seems much slower than before, and now gets stuck..... ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train/**'], 'validation': ['/ssd/datasets/imagenet/pytorch/val/**']} >>> ds = load_dataset('imagefolder', data_files=data_files, cache_dir='./', task='image-classification') Resolving data files: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1281167/1281167 [00:02<00:00, 437283.97it/s] Resolving data files: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 50001/50001 [00:00<00:00, 89094.29it/s] Using custom data configuration default-baebca6347576b33 Downloading and preparing dataset image_folder/default to ./image_folder/default-baebca6347576b33/0.0.0/ee92df8e96c6907f3c851a987be3fd03d4b93b247e727b69a8e23ac94392a091... Downloading data files #0: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:00<00:00, 82289.56obj/s] Downloading data files #1: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:01<00:00, 73559.11obj/s] Downloading data files #2: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:00<00:00, 81600.46obj/s] Downloading data files #3: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:01<00:00, 79691.56obj/s] Downloading data files #4: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:00<00:00, 82341.37obj/s] Downloading data files #5: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:01<00:00, 75784.46obj/s] Downloading data files #6: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:00<00:00, 81466.18obj/s] Downloading data files #7: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:00<00:00, 82320.27obj/s] Downloading data files #8: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:01<00:00, 78094.00obj/s] Downloading data files #9: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:00<00:00, 84057.59obj/s] Downloading data files #10: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:00<00:00, 83082.31obj/s] Downloading data files #11: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:01<00:00, 79944.21obj/s] Downloading data files #12: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:00<00:00, 84569.77obj/s] Downloading data files #13: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:00<00:00, 84949.63obj/s] Downloading data files #14: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80073/80073 [00:00<00:00, 80666.53obj/s] Downloading data files #15: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 80072/80072 [00:01<00:00, 76723.20obj/s] ^[[Bloading data files #8: 94%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████▌ | 75061/80073 [00:00<00:00, 82609.89obj/s] Downloading data files #9: 85%|████████████████████████████████████████████████████████████████████████████████████████████████████▍ | 68120/80073 [00:00<00:00, 83868.54obj/s] Downloading data files #9: 96%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ | 76784/80073 [00:00<00:00, 84722.34obj/s] Downloading data files #10: 75%|███████████████████████████████████████████████████████████████████████████████████████▋ | 59995/80073 [00:00<00:00, 84148.19obj/s] Downloading data files #10: 97%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████ | 77412/80073 [00:00<00:00, 85724.53obj/s] Downloading data files #11: 71%|███████████████████████████████████████████████████████████████████████████████████▎ | 57032/80073 [00:00<00:00, 79930.58obj/s] Downloading data files #11: 92%|███████████████████████████████████████████████████████████████████████████████████████████████████████████ | 73277/80073 [00:00<00:00, 78091.27obj/s] Downloading data files #12: 86%|█████████████████████████████████████████████████████████████████████████████████████████████████████ | 69125/80073 [00:00<00:00, 84723.02obj/s] Downloading data files #12: 97%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████▋ | 77803/80073 [00:00<00:00, 85351.59obj/s] Downloading data files #13: 75%|████████████████████████████████████████████████████████████████████████████████████████▏ | 60356/80073 [00:00<00:00, 84833.35obj/s] Downloading data files #13: 97%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████ | 77368/80073 [00:00<00:00, 84475.10obj/s] Downloading data files #14: 72%|████████████████████████████████████████████████████████████████████████████████████▍ | 57751/80073 [00:00<00:00, 80727.33obj/s] Downloading data files #14: 92%|████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ | 74022/80073 [00:00<00:00, 78703.16obj/s] Downloading data files #15: 78%|███████████████████████████████████████████████████████████████████████████████████████████▋ | 62724/80072 [00:00<00:00, 78387.33obj/s] Downloading data files #15: 99%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████▎ | 78933/80072 [00:01<00:00, 79353.63obj/s] ```
[ -1.207528829574585, -0.9701337218284607, -0.7928412556648254, 1.3184934854507446, -0.10560372471809387, -1.3390069007873535, 0.09672825783491135, -1.0209842920303345, 1.5425015687942505, -0.6776458024978638, 0.17437316477298737, -1.726853370666504, -0.24187348783016205, -0.5899266600608826, -0.711350679397583, -0.8643127083778381, -0.34338027238845825, -0.9136003255844116, 0.9924539923667908, 2.4815104007720947, 1.3189308643341064, -1.297760009765625, 2.8932807445526123, 0.7193644642829895, -0.22631648182868958, -1.003702998161316, 0.5854151248931885, -0.04699177294969559, -1.1820601224899292, -0.5108678936958313, -0.9042526483535767, 0.06802508980035782, -0.6130844354629517, -0.37578722834587097, 0.11527521908283234, 0.42887231707572937, -0.26260852813720703, -0.22790993750095367, -0.7020912170410156, -0.6616514921188354, 0.471530944108963, -0.3405846655368805, 1.0018888711929321, -0.32249611616134644, 1.651899814605713, -0.5634865164756775, 0.28482118248939514, 0.6820297241210938, 1.2995131015777588, 0.17748023569583893, 0.1493748426437378, 0.2395777404308319, 0.23092316091060638, -0.04917242377996445, 0.6238452792167664, 1.339795470237732, 0.5716745853424072, 0.49373018741607666, 0.691685676574707, -2.2474050521850586, 1.263312816619873, -0.8644827604293823, 0.29945945739746094, 1.3727766275405884, -0.7834214568138123, 0.3633880317211151, -1.824187994003296, -0.04448608309030533, 0.6739946603775024, -2.3489468097686768, 0.2665894329547882, -1.2430472373962402, -0.5165116190910339, 0.8026397228240967, 0.3029327392578125, -1.2653402090072632, 0.24033817648887634, -0.5392549633979797, 1.1280640363693237, 0.515282154083252, 1.1593321561813354, -1.7004414796829224, 0.008698668330907822, -0.09136790037155151, 0.08300093561410904, -1.2657644748687744, -1.7138499021530151, 0.5707083940505981, 0.5422394275665283, 0.7686678767204285, -0.09368667006492615, 1.0240364074707031, -1.0649163722991943, 0.7924526929855347, -0.9301970601081848, -1.5372092723846436, -1.4141888618469238, -2.441061496734619, -2.239694356918335, 0.7951302528381348, -0.5601117014884949, -0.4904126226902008, 1.9361655712127686, -0.9340954422950745, -1.84653639793396, 0.9983311295509338, 0.3907771408557892, 0.13381248712539673, 2.3606531620025635, 0.26118290424346924, -0.7848421931266785, 0.4362173080444336, -0.6946799755096436, 0.8552590608596802, -0.2225625365972519, 1.3900763988494873, 0.49974387884140015, -0.8902368545532227, 1.7143528461456299, -0.5722930431365967, 0.6067995429039001, -0.674263596534729, -0.4867730736732483, -0.8926899433135986, 0.252000629901886, 1.8172054290771484, -0.36671555042266846, 1.583909511566162, -0.34284403920173645, -1.6025828123092651, -1.6012659072875977, 0.780291736125946, 0.4980784058570862, -0.9339868426322937, 0.05343034118413925, -0.5161754488945007, 0.2248087227344513, 0.03949805349111557, 1.116297721862793, 1.160731315612793, 0.6094004511833191, -0.2885153889656067, -0.8476375937461853, 0.27782687544822693, -0.14261889457702637, -0.7116512060165405, -1.8636242151260376, -0.30317139625549316, 0.34239864349365234, 0.6470516920089722, -1.293697476387024, 1.8051741123199463, 0.8418681025505066, 2.1264967918395996, 0.93654865026474, -0.4101339280605316, 1.4526621103286743, -0.04001660272479057, 1.8069535493850708, -0.5941004157066345, 0.5893980264663696, -0.30003243684768677, -1.1138640642166138, 0.9000013470649719, -0.47666439414024353, -2.002927541732788, -0.822783887386322, -0.7868990898132324, -0.17489425837993622, -0.6914815902709961, 0.8266828656196594, -0.3777218759059906, -1.4257545471191406, 0.07274767756462097, -0.6654995679855347, 0.14822889864444733, -1.2958731651306152, 0.0620044469833374, 0.7764599919319153, -0.7258098721504211, -0.1533789336681366, -0.2760060727596283, -1.3103578090667725, -0.4751476049423218, 0.30741721391677856, 2.066683530807495, -0.5465802550315857, 0.9178639650344849, 0.9711793065071106, -0.7938008904457092, 0.21145163476467133, 0.2158678025007248, -0.24913665652275085, 0.7607453465461731, -1.1329306364059448, -0.4505683183670044, 1.1014732122421265, -0.1703476905822754, -0.6966395974159241, 1.5023795366287231, 0.926374614238739, -1.1887340545654297, -0.28603631258010864, -0.2483939677476883, -0.79522705078125, -0.03723888844251633, -1.4757956266403198, -0.18641091883182526, 0.3030402362346649, -1.459323763847351, -0.39940425753593445, -0.20762358605861664, 1.3971043825149536, -0.20587493479251862, 1.4482457637786865, -0.26590660214424133, -0.18025130033493042, -0.2894853353500366, -0.578942060470581, 0.2106286734342575, -0.19378484785556793, -0.6974561214447021, 0.18816785514354706, -0.8679786920547485, 0.27382686734199524, 1.5679187774658203, 0.34196534752845764, 0.07060587406158447, 0.5153854489326477, 1.1217410564422607, 0.40376004576683044, 0.024971382692456245, -0.8804401755332947, -1.5293885469436646, 1.9623754024505615, -1.4187355041503906, 1.8249961137771606, 0.7013305425643921, -0.04548037797212601, -1.7918407917022705, -1.8147650957107544, 1.3067104816436768, 1.1928244829177856, 2.366503953933716, 0.5740844011306763, 0.39516961574554443, -0.7714876532554626, -0.8262544274330139, 0.25526389479637146, -0.9002631306648254, -0.6871918439865112, 0.12261158227920532, 2.3185465335845947, 1.9374796152114868, -0.6660999655723572, -0.3075175881385803, -0.8442531228065491, 1.178252935409546, -0.26593223214149475, 0.2825552225112915, 2.037632703781128, -0.3532123863697052, -0.9759485721588135, 1.3713823556900024, -2.4370436668395996, 0.29180821776390076, 2.0564486980438232, 0.32305198907852173, 0.20693427324295044, -1.4628100395202637, -0.662458062171936, -0.3218095898628235, -0.5119830369949341, -1.267594337463379, 0.6135894060134888, -0.3044750988483429, -0.9704420566558838, -1.4392178058624268, 0.05393463373184204, -1.1291394233703613, -1.7276644706726074, 0.4340512454509735, 1.9422540664672852, 2.15049409866333, -0.8482136130332947, 1.3473724126815796, -0.2698673903942108, 0.01500999741256237, 1.2961472272872925, 1.44448983669281, 3.034043312072754, 1.8294364213943481, -1.2473342418670654, 0.7719606757164001, -0.24618667364120483, -0.5133056044578552, 1.1870923042297363, -1.0944011211395264, 0.961627721786499, -0.28853651881217957, -1.252837896347046, -1.1805698871612549, 1.0575087070465088, 0.5110746622085571, 0.009682774543762207, -0.559158980846405, 1.309502363204956, 0.07048308104276657, 1.2991701364517212, 0.6316542625427246, -0.5217132568359375, 0.4211452305316925, -0.35266146063804626, -0.5830138325691223, 1.6916818618774414, 0.05840107053518295, -1.5468780994415283, -2.376464605331421, -0.17282839119434357, -0.9750375747680664, -0.051502667367458344, -0.6280070543289185, -1.0461407899856567, 1.630173921585083, 0.4461442232131958, -1.1620795726776123, -0.293351411819458, -0.35992178320884705, -0.4308170676231384, 2.6444406509399414, -1.2912144660949707, -0.21702638268470764, -0.9525944590568542, -0.41561728715896606, 1.6415047645568848, -1.1722866296768188, -0.1972012221813202, -1.078072190284729, -0.7603164315223694, -1.339919090270996, -0.46240395307540894, -0.008437849581241608, -0.8345192074775696, 0.7598178386688232, 0.15917493402957916, -1.0814454555511475, -0.24572207033634186, -0.9908379912376404, 1.0686229467391968, -0.17265532910823822, 0.22967039048671722, 1.8679572343826294, 0.27830928564071655, -0.4922586977481842, 0.7279759049415588, 1.3069016933441162, 0.6313452124595642, -0.6829984188079834, -0.013405273668467999, -0.6228224635124207, 0.4335103929042816, -1.4996625185012817, 0.10808328539133072, -3.050750970840454, 0.8540022373199463, -0.14590708911418915, -0.169737309217453, -0.11620517075061798, -1.2644062042236328, 1.1022299528121948, 2.570763349533081, -1.2269343137741089, 0.41159433126449585, 0.49775803089141846, 1.1354360580444336, -1.5477259159088135, 0.15837326645851135, -0.518415093421936, 2.042638063430786, 0.07863138616085052, 1.2618293762207031, -0.5370393991470337, -2.064974069595337, 0.6684971451759338, -1.1470962762832642, -0.9319380521774292, 0.815837025642395, -0.915064811706543, 0.3864271342754364, -1.5084148645401, -0.10433229058980942, -1.005266547203064, -1.2572507858276367, 0.7901540398597717, 0.07226093858480453, 0.2829829156398773, -0.5561901926994324, 0.413760244846344, -2.1168863773345947, -1.3992524147033691, -0.12247753143310547, -1.061444640159607, 0.5971159338951111, -0.4355452060699463, 0.5174747705459595, 0.07270441949367523, 0.12877219915390015, 0.2488880157470703, 1.427308201789856, 3.3753716945648193, 0.11713355779647827, 0.19991761445999146, -0.07929348200559616, -1.0453441143035889, 1.4412440061569214, 0.9680407643318176, -0.08757530152797699, -0.48967981338500977, -1.0059535503387451, 1.4492688179016113, 1.99704909324646, 1.2420318126678467, 0.15701864659786224, -0.9396369457244873, -0.7645467519760132, 0.05250544846057892, 0.24224457144737244, 0.4994087219238281, 0.9816969037055969, -0.09423035383224487, 0.11448143422603607, 1.3823806047439575, 1.1474804878234863, -0.27725329995155334, 0.4441049098968506, -0.9998530149459839, -0.3405264616012573, 0.37484386563301086, 0.1650666445493698, 0.11702927947044373, 0.5362592339515686, -1.0864161252975464, -0.2683333158493042, -0.19291788339614868, -0.7706242203712463, -0.6831967234611511, -0.4217267334461212, -0.3885324001312256, 1.5072838068008423, 0.08844935148954391, -0.5376978516578674, 0.10521672666072845, -0.6690524816513062, -0.11430573463439941, -1.0973860025405884, 0.09169603884220123, -0.11973889172077179, -0.08291957527399063, -0.24157752096652985, 1.5751166343688965, -0.911612331867218, -2.135021924972534, 0.11459223926067352, 0.4850245416164398, -0.40863439440727234, 0.20273993909358978, 1.6986665725708008, 0.5344459414482117, 1.3314931392669678, 1.2982686758041382, 0.994533360004425, -0.5592256188392639, -1.1097776889801025, 0.7037567496299744, 0.9037555456161499, -1.3066561222076416, 1.0011399984359741, -0.3041820228099823, -0.5730090737342834, 0.6914390325546265, 1.4057544469833374, 0.385755717754364, -1.963050365447998, 0.954291045665741, -0.8931469917297363, 0.7975976467132568, 0.6600309610366821, 0.8881970643997192, 0.3427375853061676, 0.9010483026504517, -1.2686160802841187, -1.1591061353683472, -0.7345713973045349, -0.5749954581260681, 1.8437126874923706, -0.1981138437986374, 0.5475021600723267, -0.21562142670154572, -1.1212916374206543, -0.13128958642482758, 0.8200570344924927, 0.3586278557777405, -0.35410210490226746, 0.9910857081413269, -0.5860104560852051, -0.9444340467453003, -1.205928087234497, -0.42489945888519287, -0.9766121506690979, -0.8374645709991455, 1.01987886428833, 0.7694979310035706, 0.5366144180297852, 2.011429786682129, 0.5257236957550049, 0.2970118820667267, -2.5143606662750244, 0.8577268123626709, 0.310787171125412, 0.039934009313583374, 0.8839455246925354, 0.26131412386894226, 1.3218657970428467, -0.03015829250216484, 0.604749321937561, -2.2677838802337646, 2.1218419075012207, -0.1635805070400238, 0.6072900891304016, -0.02606981247663498, -0.17075215280056, 1.1347683668136597, 0.5949164628982544, 0.5764990448951721, -1.1059658527374268, 0.7944180965423584, -0.5871594548225403, 1.0536850690841675, 0.9964296221733093, -0.9170206785202026, 0.14833153784275055, 1.3830962181091309, 0.4739205241203308, -0.44081345200538635, -1.031831979751587, -0.7428030967712402, 1.0710632801055908, 1.6827744245529175, 0.03418833762407303, 0.02271430380642414, 0.8860000371932983, 0.6414245963096619, -1.2294609546661377, -0.008082610554993153, -0.6544274091720581, -0.6215163469314575, 1.8142476081848145, 1.9088350534439087, -0.13631176948547363, -0.18113884329795837, -0.7335491180419922, -1.2876002788543701, 0.6921383738517761, -0.07579275965690613, 0.027377979829907417, 0.798923909664154, -0.7391893863677979, 1.09955632686615, 0.5145204067230225, 0.8972749710083008, -0.13289038836956024, 0.37714970111846924, 0.43048253655433655, -0.40368232131004333, -1.1852633953094482, -0.4271412789821625, -1.0908684730529785, -2.546679735183716, 0.4025777578353882, -0.26996177434921265, -1.430268406867981, 0.03086673654615879, -1.0566229820251465, 0.9702942967414856, -0.5841946005821228, -1.1023014783859253, -1.3600962162017822, 0.4304024875164032, -0.16310112178325653, 0.868311882019043, -1.6279993057250977, -0.23219558596611023, 1.235815405845642, 0.8758074045181274, -0.5579129457473755, 0.9616100192070007, 0.2986762523651123, 0.9332368969917297, 0.7273702025413513, -0.39927759766578674, 0.5553388595581055, -0.03728044778108597, -1.3250346183776855, 0.38141199946403503, 1.2520776987075806, 0.21219247579574585, 1.3425723314285278, -0.40623900294303894, 0.15488497912883759, 0.4368601143360138, -0.6711005568504333, -0.5796352028846741, -0.4239506125450134, 0.6698201894760132, 0.04929843544960022, -1.0725266933441162, -0.245993971824646, -0.15676671266555786, -0.2898140549659729, 0.2146027535200119, -1.4638721942901611, -0.3279684782028198, -0.37032774090766907, -0.33196938037872314, -1.290643572807312, 0.11689701676368713, 1.28717041015625, -0.8287950754165649, -0.31853678822517395, 0.49459755420684814, 0.3656759262084961, 0.5996425151824951, 0.524585485458374, -0.7717669010162354, -0.20099206268787384, -0.39851704239845276, -0.2794254720211029, 0.23099443316459656, 1.1272767782211304, -0.06919152289628983, -1.085112452507019, 0.6471480131149292, -0.3608035445213318, 0.13948093354701996, 2.0308046340942383, -0.0028399680741131306, -0.7063446640968323, 0.3661494851112366, -0.674111545085907, 1.623882532119751, 1.6625334024429321, 1.260269045829773, -0.1374368816614151, -0.678687334060669, 0.5536158680915833, -0.24575412273406982, -0.33036333322525024, 0.8846817016601562, 0.4015200138092041, -0.24021229147911072, -1.5128592252731323, 0.508347749710083, 1.321362018585205, -0.7726930379867554, -0.6879484057426453, 0.09487634897232056, -0.9349000453948975, 1.2416284084320068, 0.582444965839386, 0.2859421372413635, 0.2847909927368164, 1.5412689447402954, 0.682103157043457, -0.47703152894973755, 0.3864686191082001, 0.5651518106460571, -0.2714337706565857, -2.0748038291931152, -1.0282338857650757, 0.20744024217128754, -0.4095441699028015, -1.6067970991134644, 1.2130002975463867, -1.134972333908081, -1.0394333600997925, 0.5041540861129761, 0.1674036830663681, 1.185861349105835, 0.34636732935905457, 1.688722014427185, 2.1370999813079834, 0.8305449485778809, 0.3132503628730774, 1.1499015092849731, -0.030684133991599083, -0.3811642825603485, 1.8834757804870605, -0.39082616567611694, 0.6047833561897278, 0.9708345532417297, -0.377816379070282, -1.104926347732544, -0.8507455587387085, -1.201594352722168, -0.6492767930030823, 1.2066364288330078, 0.13352525234222412, -1.120329737663269, 0.15452411770820618, 1.5240148305892944, 0.1189722865819931, -0.24279753863811493, 0.735278308391571, 0.41596826910972595, -0.687404990196228, 0.00991317443549633, -0.8766892552375793, 0.5186488032341003, -0.08521895110607147, -0.25865352153778076, 0.19318439066410065, 0.6062679886817932, 1.3488069772720337, -0.023630257695913315, 0.20102554559707642, 1.2204917669296265, -1.250807523727417, 1.5771698951721191, -0.5889635682106018, 0.3218457102775574, -2.5799813270568848, 1.3911793231964111, -0.7671913504600525, 1.9812883138656616, -2.522433042526245, 0.42028436064720154, -0.5304840207099915, -0.45781439542770386, 0.33667486906051636, -0.4611990451812744, 0.0699196606874466, -0.073411725461483, -0.9196041822433472, 0.10182065516710281, -0.6803687214851379, 0.5346898436546326, 1.2302833795547485, 1.4639406204223633, -1.1219202280044556, -0.2788693606853485, -1.808442234992981, -0.14367316663265228, -0.8218575716018677, 0.43017151951789856, -2.0037896633148193, -0.2169038951396942, -1.9452846050262451, -2.3145763874053955, -1.4183573722839355, -0.8393747806549072, 1.0314509868621826, 0.13910067081451416, -0.9930553436279297, 1.1637893915176392, -0.38921645283699036, -1.7552976608276367, 1.0418591499328613, -2.238765001296997 ]
https://github.com/huggingface/datasets/issues/3960
Load local dataset error
You can pass `ignore_verifications=True` in `load_dataset` to make it fast (to skip checksum verification). I'll add this tip to the docs.
When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this: ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']} >>> ds = load_dataset('nateraw/image-folder', data_files=data_files, cache_dir='./', task='image-classification') [] https://huggingface.co/datasets/nateraw/image-folder/resolve/main/ /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1671, in load_dataset **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1521, in load_dataset_builder **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 1031, in __init__ super().__init__(*args, **kwargs) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 255, in __init__ sanitize_patterns(data_files), base_path=base_path, use_auth_token=use_auth_token File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 584, in from_local_or_remote if not isinstance(patterns_for_key, DataFilesList) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 546, in from_local_or_remote data_files = resolve_patterns_locally_or_by_urls(base_path, patterns, allowed_extensions) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 196, in resolve_patterns_locally_or_by_urls for path in _resolve_single_pattern_locally(base_path, pattern, allowed_extensions): File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 146, in _resolve_single_pattern_locally raise FileNotFoundError(error_msg) FileNotFoundError: Unable to find '/ssd/datasets/imagenet/pytorch/train' at /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` I need some help to solve the problem, thanks!
875
21
Load local dataset error When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this: ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']} >>> ds = load_dataset('nateraw/image-folder', data_files=data_files, cache_dir='./', task='image-classification') [] https://huggingface.co/datasets/nateraw/image-folder/resolve/main/ /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1671, in load_dataset **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1521, in load_dataset_builder **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 1031, in __init__ super().__init__(*args, **kwargs) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 255, in __init__ sanitize_patterns(data_files), base_path=base_path, use_auth_token=use_auth_token File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 584, in from_local_or_remote if not isinstance(patterns_for_key, DataFilesList) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 546, in from_local_or_remote data_files = resolve_patterns_locally_or_by_urls(base_path, patterns, allowed_extensions) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 196, in resolve_patterns_locally_or_by_urls for path in _resolve_single_pattern_locally(base_path, pattern, allowed_extensions): File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 146, in _resolve_single_pattern_locally raise FileNotFoundError(error_msg) FileNotFoundError: Unable to find '/ssd/datasets/imagenet/pytorch/train' at /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` I need some help to solve the problem, thanks! You can pass `ignore_verifications=True` in `load_dataset` to make it fast (to skip checksum verification). I'll add this tip to the docs.
[ -1.207528829574585, -0.9701337218284607, -0.7928412556648254, 1.3184934854507446, -0.10560372471809387, -1.3390069007873535, 0.09672825783491135, -1.0209842920303345, 1.5425015687942505, -0.6776458024978638, 0.17437316477298737, -1.726853370666504, -0.24187348783016205, -0.5899266600608826, -0.711350679397583, -0.8643127083778381, -0.34338027238845825, -0.9136003255844116, 0.9924539923667908, 2.4815104007720947, 1.3189308643341064, -1.297760009765625, 2.8932807445526123, 0.7193644642829895, -0.22631648182868958, -1.003702998161316, 0.5854151248931885, -0.04699177294969559, -1.1820601224899292, -0.5108678936958313, -0.9042526483535767, 0.06802508980035782, -0.6130844354629517, -0.37578722834587097, 0.11527521908283234, 0.42887231707572937, -0.26260852813720703, -0.22790993750095367, -0.7020912170410156, -0.6616514921188354, 0.471530944108963, -0.3405846655368805, 1.0018888711929321, -0.32249611616134644, 1.651899814605713, -0.5634865164756775, 0.28482118248939514, 0.6820297241210938, 1.2995131015777588, 0.17748023569583893, 0.1493748426437378, 0.2395777404308319, 0.23092316091060638, -0.04917242377996445, 0.6238452792167664, 1.339795470237732, 0.5716745853424072, 0.49373018741607666, 0.691685676574707, -2.2474050521850586, 1.263312816619873, -0.8644827604293823, 0.29945945739746094, 1.3727766275405884, -0.7834214568138123, 0.3633880317211151, -1.824187994003296, -0.04448608309030533, 0.6739946603775024, -2.3489468097686768, 0.2665894329547882, -1.2430472373962402, -0.5165116190910339, 0.8026397228240967, 0.3029327392578125, -1.2653402090072632, 0.24033817648887634, -0.5392549633979797, 1.1280640363693237, 0.515282154083252, 1.1593321561813354, -1.7004414796829224, 0.008698668330907822, -0.09136790037155151, 0.08300093561410904, -1.2657644748687744, -1.7138499021530151, 0.5707083940505981, 0.5422394275665283, 0.7686678767204285, -0.09368667006492615, 1.0240364074707031, -1.0649163722991943, 0.7924526929855347, -0.9301970601081848, -1.5372092723846436, -1.4141888618469238, -2.441061496734619, -2.239694356918335, 0.7951302528381348, -0.5601117014884949, -0.4904126226902008, 1.9361655712127686, -0.9340954422950745, -1.84653639793396, 0.9983311295509338, 0.3907771408557892, 0.13381248712539673, 2.3606531620025635, 0.26118290424346924, -0.7848421931266785, 0.4362173080444336, -0.6946799755096436, 0.8552590608596802, -0.2225625365972519, 1.3900763988494873, 0.49974387884140015, -0.8902368545532227, 1.7143528461456299, -0.5722930431365967, 0.6067995429039001, -0.674263596534729, -0.4867730736732483, -0.8926899433135986, 0.252000629901886, 1.8172054290771484, -0.36671555042266846, 1.583909511566162, -0.34284403920173645, -1.6025828123092651, -1.6012659072875977, 0.780291736125946, 0.4980784058570862, -0.9339868426322937, 0.05343034118413925, -0.5161754488945007, 0.2248087227344513, 0.03949805349111557, 1.116297721862793, 1.160731315612793, 0.6094004511833191, -0.2885153889656067, -0.8476375937461853, 0.27782687544822693, -0.14261889457702637, -0.7116512060165405, -1.8636242151260376, -0.30317139625549316, 0.34239864349365234, 0.6470516920089722, -1.293697476387024, 1.8051741123199463, 0.8418681025505066, 2.1264967918395996, 0.93654865026474, -0.4101339280605316, 1.4526621103286743, -0.04001660272479057, 1.8069535493850708, -0.5941004157066345, 0.5893980264663696, -0.30003243684768677, -1.1138640642166138, 0.9000013470649719, -0.47666439414024353, -2.002927541732788, -0.822783887386322, -0.7868990898132324, -0.17489425837993622, -0.6914815902709961, 0.8266828656196594, -0.3777218759059906, -1.4257545471191406, 0.07274767756462097, -0.6654995679855347, 0.14822889864444733, -1.2958731651306152, 0.0620044469833374, 0.7764599919319153, -0.7258098721504211, -0.1533789336681366, -0.2760060727596283, -1.3103578090667725, -0.4751476049423218, 0.30741721391677856, 2.066683530807495, -0.5465802550315857, 0.9178639650344849, 0.9711793065071106, -0.7938008904457092, 0.21145163476467133, 0.2158678025007248, -0.24913665652275085, 0.7607453465461731, -1.1329306364059448, -0.4505683183670044, 1.1014732122421265, -0.1703476905822754, -0.6966395974159241, 1.5023795366287231, 0.926374614238739, -1.1887340545654297, -0.28603631258010864, -0.2483939677476883, -0.79522705078125, -0.03723888844251633, -1.4757956266403198, -0.18641091883182526, 0.3030402362346649, -1.459323763847351, -0.39940425753593445, -0.20762358605861664, 1.3971043825149536, -0.20587493479251862, 1.4482457637786865, -0.26590660214424133, -0.18025130033493042, -0.2894853353500366, -0.578942060470581, 0.2106286734342575, -0.19378484785556793, -0.6974561214447021, 0.18816785514354706, -0.8679786920547485, 0.27382686734199524, 1.5679187774658203, 0.34196534752845764, 0.07060587406158447, 0.5153854489326477, 1.1217410564422607, 0.40376004576683044, 0.024971382692456245, -0.8804401755332947, -1.5293885469436646, 1.9623754024505615, -1.4187355041503906, 1.8249961137771606, 0.7013305425643921, -0.04548037797212601, -1.7918407917022705, -1.8147650957107544, 1.3067104816436768, 1.1928244829177856, 2.366503953933716, 0.5740844011306763, 0.39516961574554443, -0.7714876532554626, -0.8262544274330139, 0.25526389479637146, -0.9002631306648254, -0.6871918439865112, 0.12261158227920532, 2.3185465335845947, 1.9374796152114868, -0.6660999655723572, -0.3075175881385803, -0.8442531228065491, 1.178252935409546, -0.26593223214149475, 0.2825552225112915, 2.037632703781128, -0.3532123863697052, -0.9759485721588135, 1.3713823556900024, -2.4370436668395996, 0.29180821776390076, 2.0564486980438232, 0.32305198907852173, 0.20693427324295044, -1.4628100395202637, -0.662458062171936, -0.3218095898628235, -0.5119830369949341, -1.267594337463379, 0.6135894060134888, -0.3044750988483429, -0.9704420566558838, -1.4392178058624268, 0.05393463373184204, -1.1291394233703613, -1.7276644706726074, 0.4340512454509735, 1.9422540664672852, 2.15049409866333, -0.8482136130332947, 1.3473724126815796, -0.2698673903942108, 0.01500999741256237, 1.2961472272872925, 1.44448983669281, 3.034043312072754, 1.8294364213943481, -1.2473342418670654, 0.7719606757164001, -0.24618667364120483, -0.5133056044578552, 1.1870923042297363, -1.0944011211395264, 0.961627721786499, -0.28853651881217957, -1.252837896347046, -1.1805698871612549, 1.0575087070465088, 0.5110746622085571, 0.009682774543762207, -0.559158980846405, 1.309502363204956, 0.07048308104276657, 1.2991701364517212, 0.6316542625427246, -0.5217132568359375, 0.4211452305316925, -0.35266146063804626, -0.5830138325691223, 1.6916818618774414, 0.05840107053518295, -1.5468780994415283, -2.376464605331421, -0.17282839119434357, -0.9750375747680664, -0.051502667367458344, -0.6280070543289185, -1.0461407899856567, 1.630173921585083, 0.4461442232131958, -1.1620795726776123, -0.293351411819458, -0.35992178320884705, -0.4308170676231384, 2.6444406509399414, -1.2912144660949707, -0.21702638268470764, -0.9525944590568542, -0.41561728715896606, 1.6415047645568848, -1.1722866296768188, -0.1972012221813202, -1.078072190284729, -0.7603164315223694, -1.339919090270996, -0.46240395307540894, -0.008437849581241608, -0.8345192074775696, 0.7598178386688232, 0.15917493402957916, -1.0814454555511475, -0.24572207033634186, -0.9908379912376404, 1.0686229467391968, -0.17265532910823822, 0.22967039048671722, 1.8679572343826294, 0.27830928564071655, -0.4922586977481842, 0.7279759049415588, 1.3069016933441162, 0.6313452124595642, -0.6829984188079834, -0.013405273668467999, -0.6228224635124207, 0.4335103929042816, -1.4996625185012817, 0.10808328539133072, -3.050750970840454, 0.8540022373199463, -0.14590708911418915, -0.169737309217453, -0.11620517075061798, -1.2644062042236328, 1.1022299528121948, 2.570763349533081, -1.2269343137741089, 0.41159433126449585, 0.49775803089141846, 1.1354360580444336, -1.5477259159088135, 0.15837326645851135, -0.518415093421936, 2.042638063430786, 0.07863138616085052, 1.2618293762207031, -0.5370393991470337, -2.064974069595337, 0.6684971451759338, -1.1470962762832642, -0.9319380521774292, 0.815837025642395, -0.915064811706543, 0.3864271342754364, -1.5084148645401, -0.10433229058980942, -1.005266547203064, -1.2572507858276367, 0.7901540398597717, 0.07226093858480453, 0.2829829156398773, -0.5561901926994324, 0.413760244846344, -2.1168863773345947, -1.3992524147033691, -0.12247753143310547, -1.061444640159607, 0.5971159338951111, -0.4355452060699463, 0.5174747705459595, 0.07270441949367523, 0.12877219915390015, 0.2488880157470703, 1.427308201789856, 3.3753716945648193, 0.11713355779647827, 0.19991761445999146, -0.07929348200559616, -1.0453441143035889, 1.4412440061569214, 0.9680407643318176, -0.08757530152797699, -0.48967981338500977, -1.0059535503387451, 1.4492688179016113, 1.99704909324646, 1.2420318126678467, 0.15701864659786224, -0.9396369457244873, -0.7645467519760132, 0.05250544846057892, 0.24224457144737244, 0.4994087219238281, 0.9816969037055969, -0.09423035383224487, 0.11448143422603607, 1.3823806047439575, 1.1474804878234863, -0.27725329995155334, 0.4441049098968506, -0.9998530149459839, -0.3405264616012573, 0.37484386563301086, 0.1650666445493698, 0.11702927947044373, 0.5362592339515686, -1.0864161252975464, -0.2683333158493042, -0.19291788339614868, -0.7706242203712463, -0.6831967234611511, -0.4217267334461212, -0.3885324001312256, 1.5072838068008423, 0.08844935148954391, -0.5376978516578674, 0.10521672666072845, -0.6690524816513062, -0.11430573463439941, -1.0973860025405884, 0.09169603884220123, -0.11973889172077179, -0.08291957527399063, -0.24157752096652985, 1.5751166343688965, -0.911612331867218, -2.135021924972534, 0.11459223926067352, 0.4850245416164398, -0.40863439440727234, 0.20273993909358978, 1.6986665725708008, 0.5344459414482117, 1.3314931392669678, 1.2982686758041382, 0.994533360004425, -0.5592256188392639, -1.1097776889801025, 0.7037567496299744, 0.9037555456161499, -1.3066561222076416, 1.0011399984359741, -0.3041820228099823, -0.5730090737342834, 0.6914390325546265, 1.4057544469833374, 0.385755717754364, -1.963050365447998, 0.954291045665741, -0.8931469917297363, 0.7975976467132568, 0.6600309610366821, 0.8881970643997192, 0.3427375853061676, 0.9010483026504517, -1.2686160802841187, -1.1591061353683472, -0.7345713973045349, -0.5749954581260681, 1.8437126874923706, -0.1981138437986374, 0.5475021600723267, -0.21562142670154572, -1.1212916374206543, -0.13128958642482758, 0.8200570344924927, 0.3586278557777405, -0.35410210490226746, 0.9910857081413269, -0.5860104560852051, -0.9444340467453003, -1.205928087234497, -0.42489945888519287, -0.9766121506690979, -0.8374645709991455, 1.01987886428833, 0.7694979310035706, 0.5366144180297852, 2.011429786682129, 0.5257236957550049, 0.2970118820667267, -2.5143606662750244, 0.8577268123626709, 0.310787171125412, 0.039934009313583374, 0.8839455246925354, 0.26131412386894226, 1.3218657970428467, -0.03015829250216484, 0.604749321937561, -2.2677838802337646, 2.1218419075012207, -0.1635805070400238, 0.6072900891304016, -0.02606981247663498, -0.17075215280056, 1.1347683668136597, 0.5949164628982544, 0.5764990448951721, -1.1059658527374268, 0.7944180965423584, -0.5871594548225403, 1.0536850690841675, 0.9964296221733093, -0.9170206785202026, 0.14833153784275055, 1.3830962181091309, 0.4739205241203308, -0.44081345200538635, -1.031831979751587, -0.7428030967712402, 1.0710632801055908, 1.6827744245529175, 0.03418833762407303, 0.02271430380642414, 0.8860000371932983, 0.6414245963096619, -1.2294609546661377, -0.008082610554993153, -0.6544274091720581, -0.6215163469314575, 1.8142476081848145, 1.9088350534439087, -0.13631176948547363, -0.18113884329795837, -0.7335491180419922, -1.2876002788543701, 0.6921383738517761, -0.07579275965690613, 0.027377979829907417, 0.798923909664154, -0.7391893863677979, 1.09955632686615, 0.5145204067230225, 0.8972749710083008, -0.13289038836956024, 0.37714970111846924, 0.43048253655433655, -0.40368232131004333, -1.1852633953094482, -0.4271412789821625, -1.0908684730529785, -2.546679735183716, 0.4025777578353882, -0.26996177434921265, -1.430268406867981, 0.03086673654615879, -1.0566229820251465, 0.9702942967414856, -0.5841946005821228, -1.1023014783859253, -1.3600962162017822, 0.4304024875164032, -0.16310112178325653, 0.868311882019043, -1.6279993057250977, -0.23219558596611023, 1.235815405845642, 0.8758074045181274, -0.5579129457473755, 0.9616100192070007, 0.2986762523651123, 0.9332368969917297, 0.7273702025413513, -0.39927759766578674, 0.5553388595581055, -0.03728044778108597, -1.3250346183776855, 0.38141199946403503, 1.2520776987075806, 0.21219247579574585, 1.3425723314285278, -0.40623900294303894, 0.15488497912883759, 0.4368601143360138, -0.6711005568504333, -0.5796352028846741, -0.4239506125450134, 0.6698201894760132, 0.04929843544960022, -1.0725266933441162, -0.245993971824646, -0.15676671266555786, -0.2898140549659729, 0.2146027535200119, -1.4638721942901611, -0.3279684782028198, -0.37032774090766907, -0.33196938037872314, -1.290643572807312, 0.11689701676368713, 1.28717041015625, -0.8287950754165649, -0.31853678822517395, 0.49459755420684814, 0.3656759262084961, 0.5996425151824951, 0.524585485458374, -0.7717669010162354, -0.20099206268787384, -0.39851704239845276, -0.2794254720211029, 0.23099443316459656, 1.1272767782211304, -0.06919152289628983, -1.085112452507019, 0.6471480131149292, -0.3608035445213318, 0.13948093354701996, 2.0308046340942383, -0.0028399680741131306, -0.7063446640968323, 0.3661494851112366, -0.674111545085907, 1.623882532119751, 1.6625334024429321, 1.260269045829773, -0.1374368816614151, -0.678687334060669, 0.5536158680915833, -0.24575412273406982, -0.33036333322525024, 0.8846817016601562, 0.4015200138092041, -0.24021229147911072, -1.5128592252731323, 0.508347749710083, 1.321362018585205, -0.7726930379867554, -0.6879484057426453, 0.09487634897232056, -0.9349000453948975, 1.2416284084320068, 0.582444965839386, 0.2859421372413635, 0.2847909927368164, 1.5412689447402954, 0.682103157043457, -0.47703152894973755, 0.3864686191082001, 0.5651518106460571, -0.2714337706565857, -2.0748038291931152, -1.0282338857650757, 0.20744024217128754, -0.4095441699028015, -1.6067970991134644, 1.2130002975463867, -1.134972333908081, -1.0394333600997925, 0.5041540861129761, 0.1674036830663681, 1.185861349105835, 0.34636732935905457, 1.688722014427185, 2.1370999813079834, 0.8305449485778809, 0.3132503628730774, 1.1499015092849731, -0.030684133991599083, -0.3811642825603485, 1.8834757804870605, -0.39082616567611694, 0.6047833561897278, 0.9708345532417297, -0.377816379070282, -1.104926347732544, -0.8507455587387085, -1.201594352722168, -0.6492767930030823, 1.2066364288330078, 0.13352525234222412, -1.120329737663269, 0.15452411770820618, 1.5240148305892944, 0.1189722865819931, -0.24279753863811493, 0.735278308391571, 0.41596826910972595, -0.687404990196228, 0.00991317443549633, -0.8766892552375793, 0.5186488032341003, -0.08521895110607147, -0.25865352153778076, 0.19318439066410065, 0.6062679886817932, 1.3488069772720337, -0.023630257695913315, 0.20102554559707642, 1.2204917669296265, -1.250807523727417, 1.5771698951721191, -0.5889635682106018, 0.3218457102775574, -2.5799813270568848, 1.3911793231964111, -0.7671913504600525, 1.9812883138656616, -2.522433042526245, 0.42028436064720154, -0.5304840207099915, -0.45781439542770386, 0.33667486906051636, -0.4611990451812744, 0.0699196606874466, -0.073411725461483, -0.9196041822433472, 0.10182065516710281, -0.6803687214851379, 0.5346898436546326, 1.2302833795547485, 1.4639406204223633, -1.1219202280044556, -0.2788693606853485, -1.808442234992981, -0.14367316663265228, -0.8218575716018677, 0.43017151951789856, -2.0037896633148193, -0.2169038951396942, -1.9452846050262451, -2.3145763874053955, -1.4183573722839355, -0.8393747806549072, 1.0314509868621826, 0.13910067081451416, -0.9930553436279297, 1.1637893915176392, -0.38921645283699036, -1.7552976608276367, 1.0418591499328613, -2.238765001296997 ]
https://github.com/huggingface/datasets/issues/3960
Load local dataset error
> You can pass `ignore_verifications=True` in `load_dataset` to make it fast (to skip checksum verification). I'll add this tip to the docs. Thanks!It's worked well.
When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this: ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']} >>> ds = load_dataset('nateraw/image-folder', data_files=data_files, cache_dir='./', task='image-classification') [] https://huggingface.co/datasets/nateraw/image-folder/resolve/main/ /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1671, in load_dataset **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1521, in load_dataset_builder **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 1031, in __init__ super().__init__(*args, **kwargs) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 255, in __init__ sanitize_patterns(data_files), base_path=base_path, use_auth_token=use_auth_token File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 584, in from_local_or_remote if not isinstance(patterns_for_key, DataFilesList) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 546, in from_local_or_remote data_files = resolve_patterns_locally_or_by_urls(base_path, patterns, allowed_extensions) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 196, in resolve_patterns_locally_or_by_urls for path in _resolve_single_pattern_locally(base_path, pattern, allowed_extensions): File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 146, in _resolve_single_pattern_locally raise FileNotFoundError(error_msg) FileNotFoundError: Unable to find '/ssd/datasets/imagenet/pytorch/train' at /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` I need some help to solve the problem, thanks!
875
25
Load local dataset error When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this: ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']} >>> ds = load_dataset('nateraw/image-folder', data_files=data_files, cache_dir='./', task='image-classification') [] https://huggingface.co/datasets/nateraw/image-folder/resolve/main/ /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1671, in load_dataset **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1521, in load_dataset_builder **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 1031, in __init__ super().__init__(*args, **kwargs) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 255, in __init__ sanitize_patterns(data_files), base_path=base_path, use_auth_token=use_auth_token File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 584, in from_local_or_remote if not isinstance(patterns_for_key, DataFilesList) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 546, in from_local_or_remote data_files = resolve_patterns_locally_or_by_urls(base_path, patterns, allowed_extensions) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 196, in resolve_patterns_locally_or_by_urls for path in _resolve_single_pattern_locally(base_path, pattern, allowed_extensions): File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 146, in _resolve_single_pattern_locally raise FileNotFoundError(error_msg) FileNotFoundError: Unable to find '/ssd/datasets/imagenet/pytorch/train' at /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` I need some help to solve the problem, thanks! > You can pass `ignore_verifications=True` in `load_dataset` to make it fast (to skip checksum verification). I'll add this tip to the docs. Thanks!It's worked well.
[ -1.207528829574585, -0.9701337218284607, -0.7928412556648254, 1.3184934854507446, -0.10560372471809387, -1.3390069007873535, 0.09672825783491135, -1.0209842920303345, 1.5425015687942505, -0.6776458024978638, 0.17437316477298737, -1.726853370666504, -0.24187348783016205, -0.5899266600608826, -0.711350679397583, -0.8643127083778381, -0.34338027238845825, -0.9136003255844116, 0.9924539923667908, 2.4815104007720947, 1.3189308643341064, -1.297760009765625, 2.8932807445526123, 0.7193644642829895, -0.22631648182868958, -1.003702998161316, 0.5854151248931885, -0.04699177294969559, -1.1820601224899292, -0.5108678936958313, -0.9042526483535767, 0.06802508980035782, -0.6130844354629517, -0.37578722834587097, 0.11527521908283234, 0.42887231707572937, -0.26260852813720703, -0.22790993750095367, -0.7020912170410156, -0.6616514921188354, 0.471530944108963, -0.3405846655368805, 1.0018888711929321, -0.32249611616134644, 1.651899814605713, -0.5634865164756775, 0.28482118248939514, 0.6820297241210938, 1.2995131015777588, 0.17748023569583893, 0.1493748426437378, 0.2395777404308319, 0.23092316091060638, -0.04917242377996445, 0.6238452792167664, 1.339795470237732, 0.5716745853424072, 0.49373018741607666, 0.691685676574707, -2.2474050521850586, 1.263312816619873, -0.8644827604293823, 0.29945945739746094, 1.3727766275405884, -0.7834214568138123, 0.3633880317211151, -1.824187994003296, -0.04448608309030533, 0.6739946603775024, -2.3489468097686768, 0.2665894329547882, -1.2430472373962402, -0.5165116190910339, 0.8026397228240967, 0.3029327392578125, -1.2653402090072632, 0.24033817648887634, -0.5392549633979797, 1.1280640363693237, 0.515282154083252, 1.1593321561813354, -1.7004414796829224, 0.008698668330907822, -0.09136790037155151, 0.08300093561410904, -1.2657644748687744, -1.7138499021530151, 0.5707083940505981, 0.5422394275665283, 0.7686678767204285, -0.09368667006492615, 1.0240364074707031, -1.0649163722991943, 0.7924526929855347, -0.9301970601081848, -1.5372092723846436, -1.4141888618469238, -2.441061496734619, -2.239694356918335, 0.7951302528381348, -0.5601117014884949, -0.4904126226902008, 1.9361655712127686, -0.9340954422950745, -1.84653639793396, 0.9983311295509338, 0.3907771408557892, 0.13381248712539673, 2.3606531620025635, 0.26118290424346924, -0.7848421931266785, 0.4362173080444336, -0.6946799755096436, 0.8552590608596802, -0.2225625365972519, 1.3900763988494873, 0.49974387884140015, -0.8902368545532227, 1.7143528461456299, -0.5722930431365967, 0.6067995429039001, -0.674263596534729, -0.4867730736732483, -0.8926899433135986, 0.252000629901886, 1.8172054290771484, -0.36671555042266846, 1.583909511566162, -0.34284403920173645, -1.6025828123092651, -1.6012659072875977, 0.780291736125946, 0.4980784058570862, -0.9339868426322937, 0.05343034118413925, -0.5161754488945007, 0.2248087227344513, 0.03949805349111557, 1.116297721862793, 1.160731315612793, 0.6094004511833191, -0.2885153889656067, -0.8476375937461853, 0.27782687544822693, -0.14261889457702637, -0.7116512060165405, -1.8636242151260376, -0.30317139625549316, 0.34239864349365234, 0.6470516920089722, -1.293697476387024, 1.8051741123199463, 0.8418681025505066, 2.1264967918395996, 0.93654865026474, -0.4101339280605316, 1.4526621103286743, -0.04001660272479057, 1.8069535493850708, -0.5941004157066345, 0.5893980264663696, -0.30003243684768677, -1.1138640642166138, 0.9000013470649719, -0.47666439414024353, -2.002927541732788, -0.822783887386322, -0.7868990898132324, -0.17489425837993622, -0.6914815902709961, 0.8266828656196594, -0.3777218759059906, -1.4257545471191406, 0.07274767756462097, -0.6654995679855347, 0.14822889864444733, -1.2958731651306152, 0.0620044469833374, 0.7764599919319153, -0.7258098721504211, -0.1533789336681366, -0.2760060727596283, -1.3103578090667725, -0.4751476049423218, 0.30741721391677856, 2.066683530807495, -0.5465802550315857, 0.9178639650344849, 0.9711793065071106, -0.7938008904457092, 0.21145163476467133, 0.2158678025007248, -0.24913665652275085, 0.7607453465461731, -1.1329306364059448, -0.4505683183670044, 1.1014732122421265, -0.1703476905822754, -0.6966395974159241, 1.5023795366287231, 0.926374614238739, -1.1887340545654297, -0.28603631258010864, -0.2483939677476883, -0.79522705078125, -0.03723888844251633, -1.4757956266403198, -0.18641091883182526, 0.3030402362346649, -1.459323763847351, -0.39940425753593445, -0.20762358605861664, 1.3971043825149536, -0.20587493479251862, 1.4482457637786865, -0.26590660214424133, -0.18025130033493042, -0.2894853353500366, -0.578942060470581, 0.2106286734342575, -0.19378484785556793, -0.6974561214447021, 0.18816785514354706, -0.8679786920547485, 0.27382686734199524, 1.5679187774658203, 0.34196534752845764, 0.07060587406158447, 0.5153854489326477, 1.1217410564422607, 0.40376004576683044, 0.024971382692456245, -0.8804401755332947, -1.5293885469436646, 1.9623754024505615, -1.4187355041503906, 1.8249961137771606, 0.7013305425643921, -0.04548037797212601, -1.7918407917022705, -1.8147650957107544, 1.3067104816436768, 1.1928244829177856, 2.366503953933716, 0.5740844011306763, 0.39516961574554443, -0.7714876532554626, -0.8262544274330139, 0.25526389479637146, -0.9002631306648254, -0.6871918439865112, 0.12261158227920532, 2.3185465335845947, 1.9374796152114868, -0.6660999655723572, -0.3075175881385803, -0.8442531228065491, 1.178252935409546, -0.26593223214149475, 0.2825552225112915, 2.037632703781128, -0.3532123863697052, -0.9759485721588135, 1.3713823556900024, -2.4370436668395996, 0.29180821776390076, 2.0564486980438232, 0.32305198907852173, 0.20693427324295044, -1.4628100395202637, -0.662458062171936, -0.3218095898628235, -0.5119830369949341, -1.267594337463379, 0.6135894060134888, -0.3044750988483429, -0.9704420566558838, -1.4392178058624268, 0.05393463373184204, -1.1291394233703613, -1.7276644706726074, 0.4340512454509735, 1.9422540664672852, 2.15049409866333, -0.8482136130332947, 1.3473724126815796, -0.2698673903942108, 0.01500999741256237, 1.2961472272872925, 1.44448983669281, 3.034043312072754, 1.8294364213943481, -1.2473342418670654, 0.7719606757164001, -0.24618667364120483, -0.5133056044578552, 1.1870923042297363, -1.0944011211395264, 0.961627721786499, -0.28853651881217957, -1.252837896347046, -1.1805698871612549, 1.0575087070465088, 0.5110746622085571, 0.009682774543762207, -0.559158980846405, 1.309502363204956, 0.07048308104276657, 1.2991701364517212, 0.6316542625427246, -0.5217132568359375, 0.4211452305316925, -0.35266146063804626, -0.5830138325691223, 1.6916818618774414, 0.05840107053518295, -1.5468780994415283, -2.376464605331421, -0.17282839119434357, -0.9750375747680664, -0.051502667367458344, -0.6280070543289185, -1.0461407899856567, 1.630173921585083, 0.4461442232131958, -1.1620795726776123, -0.293351411819458, -0.35992178320884705, -0.4308170676231384, 2.6444406509399414, -1.2912144660949707, -0.21702638268470764, -0.9525944590568542, -0.41561728715896606, 1.6415047645568848, -1.1722866296768188, -0.1972012221813202, -1.078072190284729, -0.7603164315223694, -1.339919090270996, -0.46240395307540894, -0.008437849581241608, -0.8345192074775696, 0.7598178386688232, 0.15917493402957916, -1.0814454555511475, -0.24572207033634186, -0.9908379912376404, 1.0686229467391968, -0.17265532910823822, 0.22967039048671722, 1.8679572343826294, 0.27830928564071655, -0.4922586977481842, 0.7279759049415588, 1.3069016933441162, 0.6313452124595642, -0.6829984188079834, -0.013405273668467999, -0.6228224635124207, 0.4335103929042816, -1.4996625185012817, 0.10808328539133072, -3.050750970840454, 0.8540022373199463, -0.14590708911418915, -0.169737309217453, -0.11620517075061798, -1.2644062042236328, 1.1022299528121948, 2.570763349533081, -1.2269343137741089, 0.41159433126449585, 0.49775803089141846, 1.1354360580444336, -1.5477259159088135, 0.15837326645851135, -0.518415093421936, 2.042638063430786, 0.07863138616085052, 1.2618293762207031, -0.5370393991470337, -2.064974069595337, 0.6684971451759338, -1.1470962762832642, -0.9319380521774292, 0.815837025642395, -0.915064811706543, 0.3864271342754364, -1.5084148645401, -0.10433229058980942, -1.005266547203064, -1.2572507858276367, 0.7901540398597717, 0.07226093858480453, 0.2829829156398773, -0.5561901926994324, 0.413760244846344, -2.1168863773345947, -1.3992524147033691, -0.12247753143310547, -1.061444640159607, 0.5971159338951111, -0.4355452060699463, 0.5174747705459595, 0.07270441949367523, 0.12877219915390015, 0.2488880157470703, 1.427308201789856, 3.3753716945648193, 0.11713355779647827, 0.19991761445999146, -0.07929348200559616, -1.0453441143035889, 1.4412440061569214, 0.9680407643318176, -0.08757530152797699, -0.48967981338500977, -1.0059535503387451, 1.4492688179016113, 1.99704909324646, 1.2420318126678467, 0.15701864659786224, -0.9396369457244873, -0.7645467519760132, 0.05250544846057892, 0.24224457144737244, 0.4994087219238281, 0.9816969037055969, -0.09423035383224487, 0.11448143422603607, 1.3823806047439575, 1.1474804878234863, -0.27725329995155334, 0.4441049098968506, -0.9998530149459839, -0.3405264616012573, 0.37484386563301086, 0.1650666445493698, 0.11702927947044373, 0.5362592339515686, -1.0864161252975464, -0.2683333158493042, -0.19291788339614868, -0.7706242203712463, -0.6831967234611511, -0.4217267334461212, -0.3885324001312256, 1.5072838068008423, 0.08844935148954391, -0.5376978516578674, 0.10521672666072845, -0.6690524816513062, -0.11430573463439941, -1.0973860025405884, 0.09169603884220123, -0.11973889172077179, -0.08291957527399063, -0.24157752096652985, 1.5751166343688965, -0.911612331867218, -2.135021924972534, 0.11459223926067352, 0.4850245416164398, -0.40863439440727234, 0.20273993909358978, 1.6986665725708008, 0.5344459414482117, 1.3314931392669678, 1.2982686758041382, 0.994533360004425, -0.5592256188392639, -1.1097776889801025, 0.7037567496299744, 0.9037555456161499, -1.3066561222076416, 1.0011399984359741, -0.3041820228099823, -0.5730090737342834, 0.6914390325546265, 1.4057544469833374, 0.385755717754364, -1.963050365447998, 0.954291045665741, -0.8931469917297363, 0.7975976467132568, 0.6600309610366821, 0.8881970643997192, 0.3427375853061676, 0.9010483026504517, -1.2686160802841187, -1.1591061353683472, -0.7345713973045349, -0.5749954581260681, 1.8437126874923706, -0.1981138437986374, 0.5475021600723267, -0.21562142670154572, -1.1212916374206543, -0.13128958642482758, 0.8200570344924927, 0.3586278557777405, -0.35410210490226746, 0.9910857081413269, -0.5860104560852051, -0.9444340467453003, -1.205928087234497, -0.42489945888519287, -0.9766121506690979, -0.8374645709991455, 1.01987886428833, 0.7694979310035706, 0.5366144180297852, 2.011429786682129, 0.5257236957550049, 0.2970118820667267, -2.5143606662750244, 0.8577268123626709, 0.310787171125412, 0.039934009313583374, 0.8839455246925354, 0.26131412386894226, 1.3218657970428467, -0.03015829250216484, 0.604749321937561, -2.2677838802337646, 2.1218419075012207, -0.1635805070400238, 0.6072900891304016, -0.02606981247663498, -0.17075215280056, 1.1347683668136597, 0.5949164628982544, 0.5764990448951721, -1.1059658527374268, 0.7944180965423584, -0.5871594548225403, 1.0536850690841675, 0.9964296221733093, -0.9170206785202026, 0.14833153784275055, 1.3830962181091309, 0.4739205241203308, -0.44081345200538635, -1.031831979751587, -0.7428030967712402, 1.0710632801055908, 1.6827744245529175, 0.03418833762407303, 0.02271430380642414, 0.8860000371932983, 0.6414245963096619, -1.2294609546661377, -0.008082610554993153, -0.6544274091720581, -0.6215163469314575, 1.8142476081848145, 1.9088350534439087, -0.13631176948547363, -0.18113884329795837, -0.7335491180419922, -1.2876002788543701, 0.6921383738517761, -0.07579275965690613, 0.027377979829907417, 0.798923909664154, -0.7391893863677979, 1.09955632686615, 0.5145204067230225, 0.8972749710083008, -0.13289038836956024, 0.37714970111846924, 0.43048253655433655, -0.40368232131004333, -1.1852633953094482, -0.4271412789821625, -1.0908684730529785, -2.546679735183716, 0.4025777578353882, -0.26996177434921265, -1.430268406867981, 0.03086673654615879, -1.0566229820251465, 0.9702942967414856, -0.5841946005821228, -1.1023014783859253, -1.3600962162017822, 0.4304024875164032, -0.16310112178325653, 0.868311882019043, -1.6279993057250977, -0.23219558596611023, 1.235815405845642, 0.8758074045181274, -0.5579129457473755, 0.9616100192070007, 0.2986762523651123, 0.9332368969917297, 0.7273702025413513, -0.39927759766578674, 0.5553388595581055, -0.03728044778108597, -1.3250346183776855, 0.38141199946403503, 1.2520776987075806, 0.21219247579574585, 1.3425723314285278, -0.40623900294303894, 0.15488497912883759, 0.4368601143360138, -0.6711005568504333, -0.5796352028846741, -0.4239506125450134, 0.6698201894760132, 0.04929843544960022, -1.0725266933441162, -0.245993971824646, -0.15676671266555786, -0.2898140549659729, 0.2146027535200119, -1.4638721942901611, -0.3279684782028198, -0.37032774090766907, -0.33196938037872314, -1.290643572807312, 0.11689701676368713, 1.28717041015625, -0.8287950754165649, -0.31853678822517395, 0.49459755420684814, 0.3656759262084961, 0.5996425151824951, 0.524585485458374, -0.7717669010162354, -0.20099206268787384, -0.39851704239845276, -0.2794254720211029, 0.23099443316459656, 1.1272767782211304, -0.06919152289628983, -1.085112452507019, 0.6471480131149292, -0.3608035445213318, 0.13948093354701996, 2.0308046340942383, -0.0028399680741131306, -0.7063446640968323, 0.3661494851112366, -0.674111545085907, 1.623882532119751, 1.6625334024429321, 1.260269045829773, -0.1374368816614151, -0.678687334060669, 0.5536158680915833, -0.24575412273406982, -0.33036333322525024, 0.8846817016601562, 0.4015200138092041, -0.24021229147911072, -1.5128592252731323, 0.508347749710083, 1.321362018585205, -0.7726930379867554, -0.6879484057426453, 0.09487634897232056, -0.9349000453948975, 1.2416284084320068, 0.582444965839386, 0.2859421372413635, 0.2847909927368164, 1.5412689447402954, 0.682103157043457, -0.47703152894973755, 0.3864686191082001, 0.5651518106460571, -0.2714337706565857, -2.0748038291931152, -1.0282338857650757, 0.20744024217128754, -0.4095441699028015, -1.6067970991134644, 1.2130002975463867, -1.134972333908081, -1.0394333600997925, 0.5041540861129761, 0.1674036830663681, 1.185861349105835, 0.34636732935905457, 1.688722014427185, 2.1370999813079834, 0.8305449485778809, 0.3132503628730774, 1.1499015092849731, -0.030684133991599083, -0.3811642825603485, 1.8834757804870605, -0.39082616567611694, 0.6047833561897278, 0.9708345532417297, -0.377816379070282, -1.104926347732544, -0.8507455587387085, -1.201594352722168, -0.6492767930030823, 1.2066364288330078, 0.13352525234222412, -1.120329737663269, 0.15452411770820618, 1.5240148305892944, 0.1189722865819931, -0.24279753863811493, 0.735278308391571, 0.41596826910972595, -0.687404990196228, 0.00991317443549633, -0.8766892552375793, 0.5186488032341003, -0.08521895110607147, -0.25865352153778076, 0.19318439066410065, 0.6062679886817932, 1.3488069772720337, -0.023630257695913315, 0.20102554559707642, 1.2204917669296265, -1.250807523727417, 1.5771698951721191, -0.5889635682106018, 0.3218457102775574, -2.5799813270568848, 1.3911793231964111, -0.7671913504600525, 1.9812883138656616, -2.522433042526245, 0.42028436064720154, -0.5304840207099915, -0.45781439542770386, 0.33667486906051636, -0.4611990451812744, 0.0699196606874466, -0.073411725461483, -0.9196041822433472, 0.10182065516710281, -0.6803687214851379, 0.5346898436546326, 1.2302833795547485, 1.4639406204223633, -1.1219202280044556, -0.2788693606853485, -1.808442234992981, -0.14367316663265228, -0.8218575716018677, 0.43017151951789856, -2.0037896633148193, -0.2169038951396942, -1.9452846050262451, -2.3145763874053955, -1.4183573722839355, -0.8393747806549072, 1.0314509868621826, 0.13910067081451416, -0.9930553436279297, 1.1637893915176392, -0.38921645283699036, -1.7552976608276367, 1.0418591499328613, -2.238765001296997 ]
https://github.com/huggingface/datasets/issues/3960
Load local dataset error
> You can pass `ignore_verifications=True` in `load_dataset` to make it fast (to skip checksum verification). I'll add this tip to the docs. I find current `load_dataset` loads ImageNet still slowly, even add `ignore_verifications=True`. First loading, it costs about 20 min in my servers. ``` real 19m23.023s user 21m18.360s sys 7m59.080s ``` Second reusing, it costs about 15 min in my servers. ``` real 15m20.735s user 12m22.979s sys 5m46.960s ``` I think it's too much slow, is there other method to make it faster?
When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this: ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']} >>> ds = load_dataset('nateraw/image-folder', data_files=data_files, cache_dir='./', task='image-classification') [] https://huggingface.co/datasets/nateraw/image-folder/resolve/main/ /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1671, in load_dataset **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1521, in load_dataset_builder **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 1031, in __init__ super().__init__(*args, **kwargs) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 255, in __init__ sanitize_patterns(data_files), base_path=base_path, use_auth_token=use_auth_token File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 584, in from_local_or_remote if not isinstance(patterns_for_key, DataFilesList) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 546, in from_local_or_remote data_files = resolve_patterns_locally_or_by_urls(base_path, patterns, allowed_extensions) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 196, in resolve_patterns_locally_or_by_urls for path in _resolve_single_pattern_locally(base_path, pattern, allowed_extensions): File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 146, in _resolve_single_pattern_locally raise FileNotFoundError(error_msg) FileNotFoundError: Unable to find '/ssd/datasets/imagenet/pytorch/train' at /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` I need some help to solve the problem, thanks!
875
83
Load local dataset error When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this: ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']} >>> ds = load_dataset('nateraw/image-folder', data_files=data_files, cache_dir='./', task='image-classification') [] https://huggingface.co/datasets/nateraw/image-folder/resolve/main/ /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1671, in load_dataset **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1521, in load_dataset_builder **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 1031, in __init__ super().__init__(*args, **kwargs) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 255, in __init__ sanitize_patterns(data_files), base_path=base_path, use_auth_token=use_auth_token File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 584, in from_local_or_remote if not isinstance(patterns_for_key, DataFilesList) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 546, in from_local_or_remote data_files = resolve_patterns_locally_or_by_urls(base_path, patterns, allowed_extensions) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 196, in resolve_patterns_locally_or_by_urls for path in _resolve_single_pattern_locally(base_path, pattern, allowed_extensions): File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 146, in _resolve_single_pattern_locally raise FileNotFoundError(error_msg) FileNotFoundError: Unable to find '/ssd/datasets/imagenet/pytorch/train' at /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` I need some help to solve the problem, thanks! > You can pass `ignore_verifications=True` in `load_dataset` to make it fast (to skip checksum verification). I'll add this tip to the docs. I find current `load_dataset` loads ImageNet still slowly, even add `ignore_verifications=True`. First loading, it costs about 20 min in my servers. ``` real 19m23.023s user 21m18.360s sys 7m59.080s ``` Second reusing, it costs about 15 min in my servers. ``` real 15m20.735s user 12m22.979s sys 5m46.960s ``` I think it's too much slow, is there other method to make it faster?
[ -1.207528829574585, -0.9701337218284607, -0.7928412556648254, 1.3184934854507446, -0.10560372471809387, -1.3390069007873535, 0.09672825783491135, -1.0209842920303345, 1.5425015687942505, -0.6776458024978638, 0.17437316477298737, -1.726853370666504, -0.24187348783016205, -0.5899266600608826, -0.711350679397583, -0.8643127083778381, -0.34338027238845825, -0.9136003255844116, 0.9924539923667908, 2.4815104007720947, 1.3189308643341064, -1.297760009765625, 2.8932807445526123, 0.7193644642829895, -0.22631648182868958, -1.003702998161316, 0.5854151248931885, -0.04699177294969559, -1.1820601224899292, -0.5108678936958313, -0.9042526483535767, 0.06802508980035782, -0.6130844354629517, -0.37578722834587097, 0.11527521908283234, 0.42887231707572937, -0.26260852813720703, -0.22790993750095367, -0.7020912170410156, -0.6616514921188354, 0.471530944108963, -0.3405846655368805, 1.0018888711929321, -0.32249611616134644, 1.651899814605713, -0.5634865164756775, 0.28482118248939514, 0.6820297241210938, 1.2995131015777588, 0.17748023569583893, 0.1493748426437378, 0.2395777404308319, 0.23092316091060638, -0.04917242377996445, 0.6238452792167664, 1.339795470237732, 0.5716745853424072, 0.49373018741607666, 0.691685676574707, -2.2474050521850586, 1.263312816619873, -0.8644827604293823, 0.29945945739746094, 1.3727766275405884, -0.7834214568138123, 0.3633880317211151, -1.824187994003296, -0.04448608309030533, 0.6739946603775024, -2.3489468097686768, 0.2665894329547882, -1.2430472373962402, -0.5165116190910339, 0.8026397228240967, 0.3029327392578125, -1.2653402090072632, 0.24033817648887634, -0.5392549633979797, 1.1280640363693237, 0.515282154083252, 1.1593321561813354, -1.7004414796829224, 0.008698668330907822, -0.09136790037155151, 0.08300093561410904, -1.2657644748687744, -1.7138499021530151, 0.5707083940505981, 0.5422394275665283, 0.7686678767204285, -0.09368667006492615, 1.0240364074707031, -1.0649163722991943, 0.7924526929855347, -0.9301970601081848, -1.5372092723846436, -1.4141888618469238, -2.441061496734619, -2.239694356918335, 0.7951302528381348, -0.5601117014884949, -0.4904126226902008, 1.9361655712127686, -0.9340954422950745, -1.84653639793396, 0.9983311295509338, 0.3907771408557892, 0.13381248712539673, 2.3606531620025635, 0.26118290424346924, -0.7848421931266785, 0.4362173080444336, -0.6946799755096436, 0.8552590608596802, -0.2225625365972519, 1.3900763988494873, 0.49974387884140015, -0.8902368545532227, 1.7143528461456299, -0.5722930431365967, 0.6067995429039001, -0.674263596534729, -0.4867730736732483, -0.8926899433135986, 0.252000629901886, 1.8172054290771484, -0.36671555042266846, 1.583909511566162, -0.34284403920173645, -1.6025828123092651, -1.6012659072875977, 0.780291736125946, 0.4980784058570862, -0.9339868426322937, 0.05343034118413925, -0.5161754488945007, 0.2248087227344513, 0.03949805349111557, 1.116297721862793, 1.160731315612793, 0.6094004511833191, -0.2885153889656067, -0.8476375937461853, 0.27782687544822693, -0.14261889457702637, -0.7116512060165405, -1.8636242151260376, -0.30317139625549316, 0.34239864349365234, 0.6470516920089722, -1.293697476387024, 1.8051741123199463, 0.8418681025505066, 2.1264967918395996, 0.93654865026474, -0.4101339280605316, 1.4526621103286743, -0.04001660272479057, 1.8069535493850708, -0.5941004157066345, 0.5893980264663696, -0.30003243684768677, -1.1138640642166138, 0.9000013470649719, -0.47666439414024353, -2.002927541732788, -0.822783887386322, -0.7868990898132324, -0.17489425837993622, -0.6914815902709961, 0.8266828656196594, -0.3777218759059906, -1.4257545471191406, 0.07274767756462097, -0.6654995679855347, 0.14822889864444733, -1.2958731651306152, 0.0620044469833374, 0.7764599919319153, -0.7258098721504211, -0.1533789336681366, -0.2760060727596283, -1.3103578090667725, -0.4751476049423218, 0.30741721391677856, 2.066683530807495, -0.5465802550315857, 0.9178639650344849, 0.9711793065071106, -0.7938008904457092, 0.21145163476467133, 0.2158678025007248, -0.24913665652275085, 0.7607453465461731, -1.1329306364059448, -0.4505683183670044, 1.1014732122421265, -0.1703476905822754, -0.6966395974159241, 1.5023795366287231, 0.926374614238739, -1.1887340545654297, -0.28603631258010864, -0.2483939677476883, -0.79522705078125, -0.03723888844251633, -1.4757956266403198, -0.18641091883182526, 0.3030402362346649, -1.459323763847351, -0.39940425753593445, -0.20762358605861664, 1.3971043825149536, -0.20587493479251862, 1.4482457637786865, -0.26590660214424133, -0.18025130033493042, -0.2894853353500366, -0.578942060470581, 0.2106286734342575, -0.19378484785556793, -0.6974561214447021, 0.18816785514354706, -0.8679786920547485, 0.27382686734199524, 1.5679187774658203, 0.34196534752845764, 0.07060587406158447, 0.5153854489326477, 1.1217410564422607, 0.40376004576683044, 0.024971382692456245, -0.8804401755332947, -1.5293885469436646, 1.9623754024505615, -1.4187355041503906, 1.8249961137771606, 0.7013305425643921, -0.04548037797212601, -1.7918407917022705, -1.8147650957107544, 1.3067104816436768, 1.1928244829177856, 2.366503953933716, 0.5740844011306763, 0.39516961574554443, -0.7714876532554626, -0.8262544274330139, 0.25526389479637146, -0.9002631306648254, -0.6871918439865112, 0.12261158227920532, 2.3185465335845947, 1.9374796152114868, -0.6660999655723572, -0.3075175881385803, -0.8442531228065491, 1.178252935409546, -0.26593223214149475, 0.2825552225112915, 2.037632703781128, -0.3532123863697052, -0.9759485721588135, 1.3713823556900024, -2.4370436668395996, 0.29180821776390076, 2.0564486980438232, 0.32305198907852173, 0.20693427324295044, -1.4628100395202637, -0.662458062171936, -0.3218095898628235, -0.5119830369949341, -1.267594337463379, 0.6135894060134888, -0.3044750988483429, -0.9704420566558838, -1.4392178058624268, 0.05393463373184204, -1.1291394233703613, -1.7276644706726074, 0.4340512454509735, 1.9422540664672852, 2.15049409866333, -0.8482136130332947, 1.3473724126815796, -0.2698673903942108, 0.01500999741256237, 1.2961472272872925, 1.44448983669281, 3.034043312072754, 1.8294364213943481, -1.2473342418670654, 0.7719606757164001, -0.24618667364120483, -0.5133056044578552, 1.1870923042297363, -1.0944011211395264, 0.961627721786499, -0.28853651881217957, -1.252837896347046, -1.1805698871612549, 1.0575087070465088, 0.5110746622085571, 0.009682774543762207, -0.559158980846405, 1.309502363204956, 0.07048308104276657, 1.2991701364517212, 0.6316542625427246, -0.5217132568359375, 0.4211452305316925, -0.35266146063804626, -0.5830138325691223, 1.6916818618774414, 0.05840107053518295, -1.5468780994415283, -2.376464605331421, -0.17282839119434357, -0.9750375747680664, -0.051502667367458344, -0.6280070543289185, -1.0461407899856567, 1.630173921585083, 0.4461442232131958, -1.1620795726776123, -0.293351411819458, -0.35992178320884705, -0.4308170676231384, 2.6444406509399414, -1.2912144660949707, -0.21702638268470764, -0.9525944590568542, -0.41561728715896606, 1.6415047645568848, -1.1722866296768188, -0.1972012221813202, -1.078072190284729, -0.7603164315223694, -1.339919090270996, -0.46240395307540894, -0.008437849581241608, -0.8345192074775696, 0.7598178386688232, 0.15917493402957916, -1.0814454555511475, -0.24572207033634186, -0.9908379912376404, 1.0686229467391968, -0.17265532910823822, 0.22967039048671722, 1.8679572343826294, 0.27830928564071655, -0.4922586977481842, 0.7279759049415588, 1.3069016933441162, 0.6313452124595642, -0.6829984188079834, -0.013405273668467999, -0.6228224635124207, 0.4335103929042816, -1.4996625185012817, 0.10808328539133072, -3.050750970840454, 0.8540022373199463, -0.14590708911418915, -0.169737309217453, -0.11620517075061798, -1.2644062042236328, 1.1022299528121948, 2.570763349533081, -1.2269343137741089, 0.41159433126449585, 0.49775803089141846, 1.1354360580444336, -1.5477259159088135, 0.15837326645851135, -0.518415093421936, 2.042638063430786, 0.07863138616085052, 1.2618293762207031, -0.5370393991470337, -2.064974069595337, 0.6684971451759338, -1.1470962762832642, -0.9319380521774292, 0.815837025642395, -0.915064811706543, 0.3864271342754364, -1.5084148645401, -0.10433229058980942, -1.005266547203064, -1.2572507858276367, 0.7901540398597717, 0.07226093858480453, 0.2829829156398773, -0.5561901926994324, 0.413760244846344, -2.1168863773345947, -1.3992524147033691, -0.12247753143310547, -1.061444640159607, 0.5971159338951111, -0.4355452060699463, 0.5174747705459595, 0.07270441949367523, 0.12877219915390015, 0.2488880157470703, 1.427308201789856, 3.3753716945648193, 0.11713355779647827, 0.19991761445999146, -0.07929348200559616, -1.0453441143035889, 1.4412440061569214, 0.9680407643318176, -0.08757530152797699, -0.48967981338500977, -1.0059535503387451, 1.4492688179016113, 1.99704909324646, 1.2420318126678467, 0.15701864659786224, -0.9396369457244873, -0.7645467519760132, 0.05250544846057892, 0.24224457144737244, 0.4994087219238281, 0.9816969037055969, -0.09423035383224487, 0.11448143422603607, 1.3823806047439575, 1.1474804878234863, -0.27725329995155334, 0.4441049098968506, -0.9998530149459839, -0.3405264616012573, 0.37484386563301086, 0.1650666445493698, 0.11702927947044373, 0.5362592339515686, -1.0864161252975464, -0.2683333158493042, -0.19291788339614868, -0.7706242203712463, -0.6831967234611511, -0.4217267334461212, -0.3885324001312256, 1.5072838068008423, 0.08844935148954391, -0.5376978516578674, 0.10521672666072845, -0.6690524816513062, -0.11430573463439941, -1.0973860025405884, 0.09169603884220123, -0.11973889172077179, -0.08291957527399063, -0.24157752096652985, 1.5751166343688965, -0.911612331867218, -2.135021924972534, 0.11459223926067352, 0.4850245416164398, -0.40863439440727234, 0.20273993909358978, 1.6986665725708008, 0.5344459414482117, 1.3314931392669678, 1.2982686758041382, 0.994533360004425, -0.5592256188392639, -1.1097776889801025, 0.7037567496299744, 0.9037555456161499, -1.3066561222076416, 1.0011399984359741, -0.3041820228099823, -0.5730090737342834, 0.6914390325546265, 1.4057544469833374, 0.385755717754364, -1.963050365447998, 0.954291045665741, -0.8931469917297363, 0.7975976467132568, 0.6600309610366821, 0.8881970643997192, 0.3427375853061676, 0.9010483026504517, -1.2686160802841187, -1.1591061353683472, -0.7345713973045349, -0.5749954581260681, 1.8437126874923706, -0.1981138437986374, 0.5475021600723267, -0.21562142670154572, -1.1212916374206543, -0.13128958642482758, 0.8200570344924927, 0.3586278557777405, -0.35410210490226746, 0.9910857081413269, -0.5860104560852051, -0.9444340467453003, -1.205928087234497, -0.42489945888519287, -0.9766121506690979, -0.8374645709991455, 1.01987886428833, 0.7694979310035706, 0.5366144180297852, 2.011429786682129, 0.5257236957550049, 0.2970118820667267, -2.5143606662750244, 0.8577268123626709, 0.310787171125412, 0.039934009313583374, 0.8839455246925354, 0.26131412386894226, 1.3218657970428467, -0.03015829250216484, 0.604749321937561, -2.2677838802337646, 2.1218419075012207, -0.1635805070400238, 0.6072900891304016, -0.02606981247663498, -0.17075215280056, 1.1347683668136597, 0.5949164628982544, 0.5764990448951721, -1.1059658527374268, 0.7944180965423584, -0.5871594548225403, 1.0536850690841675, 0.9964296221733093, -0.9170206785202026, 0.14833153784275055, 1.3830962181091309, 0.4739205241203308, -0.44081345200538635, -1.031831979751587, -0.7428030967712402, 1.0710632801055908, 1.6827744245529175, 0.03418833762407303, 0.02271430380642414, 0.8860000371932983, 0.6414245963096619, -1.2294609546661377, -0.008082610554993153, -0.6544274091720581, -0.6215163469314575, 1.8142476081848145, 1.9088350534439087, -0.13631176948547363, -0.18113884329795837, -0.7335491180419922, -1.2876002788543701, 0.6921383738517761, -0.07579275965690613, 0.027377979829907417, 0.798923909664154, -0.7391893863677979, 1.09955632686615, 0.5145204067230225, 0.8972749710083008, -0.13289038836956024, 0.37714970111846924, 0.43048253655433655, -0.40368232131004333, -1.1852633953094482, -0.4271412789821625, -1.0908684730529785, -2.546679735183716, 0.4025777578353882, -0.26996177434921265, -1.430268406867981, 0.03086673654615879, -1.0566229820251465, 0.9702942967414856, -0.5841946005821228, -1.1023014783859253, -1.3600962162017822, 0.4304024875164032, -0.16310112178325653, 0.868311882019043, -1.6279993057250977, -0.23219558596611023, 1.235815405845642, 0.8758074045181274, -0.5579129457473755, 0.9616100192070007, 0.2986762523651123, 0.9332368969917297, 0.7273702025413513, -0.39927759766578674, 0.5553388595581055, -0.03728044778108597, -1.3250346183776855, 0.38141199946403503, 1.2520776987075806, 0.21219247579574585, 1.3425723314285278, -0.40623900294303894, 0.15488497912883759, 0.4368601143360138, -0.6711005568504333, -0.5796352028846741, -0.4239506125450134, 0.6698201894760132, 0.04929843544960022, -1.0725266933441162, -0.245993971824646, -0.15676671266555786, -0.2898140549659729, 0.2146027535200119, -1.4638721942901611, -0.3279684782028198, -0.37032774090766907, -0.33196938037872314, -1.290643572807312, 0.11689701676368713, 1.28717041015625, -0.8287950754165649, -0.31853678822517395, 0.49459755420684814, 0.3656759262084961, 0.5996425151824951, 0.524585485458374, -0.7717669010162354, -0.20099206268787384, -0.39851704239845276, -0.2794254720211029, 0.23099443316459656, 1.1272767782211304, -0.06919152289628983, -1.085112452507019, 0.6471480131149292, -0.3608035445213318, 0.13948093354701996, 2.0308046340942383, -0.0028399680741131306, -0.7063446640968323, 0.3661494851112366, -0.674111545085907, 1.623882532119751, 1.6625334024429321, 1.260269045829773, -0.1374368816614151, -0.678687334060669, 0.5536158680915833, -0.24575412273406982, -0.33036333322525024, 0.8846817016601562, 0.4015200138092041, -0.24021229147911072, -1.5128592252731323, 0.508347749710083, 1.321362018585205, -0.7726930379867554, -0.6879484057426453, 0.09487634897232056, -0.9349000453948975, 1.2416284084320068, 0.582444965839386, 0.2859421372413635, 0.2847909927368164, 1.5412689447402954, 0.682103157043457, -0.47703152894973755, 0.3864686191082001, 0.5651518106460571, -0.2714337706565857, -2.0748038291931152, -1.0282338857650757, 0.20744024217128754, -0.4095441699028015, -1.6067970991134644, 1.2130002975463867, -1.134972333908081, -1.0394333600997925, 0.5041540861129761, 0.1674036830663681, 1.185861349105835, 0.34636732935905457, 1.688722014427185, 2.1370999813079834, 0.8305449485778809, 0.3132503628730774, 1.1499015092849731, -0.030684133991599083, -0.3811642825603485, 1.8834757804870605, -0.39082616567611694, 0.6047833561897278, 0.9708345532417297, -0.377816379070282, -1.104926347732544, -0.8507455587387085, -1.201594352722168, -0.6492767930030823, 1.2066364288330078, 0.13352525234222412, -1.120329737663269, 0.15452411770820618, 1.5240148305892944, 0.1189722865819931, -0.24279753863811493, 0.735278308391571, 0.41596826910972595, -0.687404990196228, 0.00991317443549633, -0.8766892552375793, 0.5186488032341003, -0.08521895110607147, -0.25865352153778076, 0.19318439066410065, 0.6062679886817932, 1.3488069772720337, -0.023630257695913315, 0.20102554559707642, 1.2204917669296265, -1.250807523727417, 1.5771698951721191, -0.5889635682106018, 0.3218457102775574, -2.5799813270568848, 1.3911793231964111, -0.7671913504600525, 1.9812883138656616, -2.522433042526245, 0.42028436064720154, -0.5304840207099915, -0.45781439542770386, 0.33667486906051636, -0.4611990451812744, 0.0699196606874466, -0.073411725461483, -0.9196041822433472, 0.10182065516710281, -0.6803687214851379, 0.5346898436546326, 1.2302833795547485, 1.4639406204223633, -1.1219202280044556, -0.2788693606853485, -1.808442234992981, -0.14367316663265228, -0.8218575716018677, 0.43017151951789856, -2.0037896633148193, -0.2169038951396942, -1.9452846050262451, -2.3145763874053955, -1.4183573722839355, -0.8393747806549072, 1.0314509868621826, 0.13910067081451416, -0.9930553436279297, 1.1637893915176392, -0.38921645283699036, -1.7552976608276367, 1.0418591499328613, -2.238765001296997 ]
https://github.com/huggingface/datasets/issues/3960
Load local dataset error
And in transformers the [ViT example](https://github.com/huggingface/transformers/blob/main/examples/pytorch/image-classification/run_image_classification.py), could you make some changes ? Like the `collect_fn` ```python def collate_fn(examples): pixel_values = torch.stack([example["pixel_values"] for example in examples]) labels = torch.tensor([example["labels"] for example in examples]) return {"pixel_values": pixel_values, "labels": labels} ``` How to know the keys of example?
When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this: ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']} >>> ds = load_dataset('nateraw/image-folder', data_files=data_files, cache_dir='./', task='image-classification') [] https://huggingface.co/datasets/nateraw/image-folder/resolve/main/ /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1671, in load_dataset **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1521, in load_dataset_builder **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 1031, in __init__ super().__init__(*args, **kwargs) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 255, in __init__ sanitize_patterns(data_files), base_path=base_path, use_auth_token=use_auth_token File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 584, in from_local_or_remote if not isinstance(patterns_for_key, DataFilesList) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 546, in from_local_or_remote data_files = resolve_patterns_locally_or_by_urls(base_path, patterns, allowed_extensions) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 196, in resolve_patterns_locally_or_by_urls for path in _resolve_single_pattern_locally(base_path, pattern, allowed_extensions): File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 146, in _resolve_single_pattern_locally raise FileNotFoundError(error_msg) FileNotFoundError: Unable to find '/ssd/datasets/imagenet/pytorch/train' at /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` I need some help to solve the problem, thanks!
875
45
Load local dataset error When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this: ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']} >>> ds = load_dataset('nateraw/image-folder', data_files=data_files, cache_dir='./', task='image-classification') [] https://huggingface.co/datasets/nateraw/image-folder/resolve/main/ /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1671, in load_dataset **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1521, in load_dataset_builder **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 1031, in __init__ super().__init__(*args, **kwargs) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 255, in __init__ sanitize_patterns(data_files), base_path=base_path, use_auth_token=use_auth_token File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 584, in from_local_or_remote if not isinstance(patterns_for_key, DataFilesList) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 546, in from_local_or_remote data_files = resolve_patterns_locally_or_by_urls(base_path, patterns, allowed_extensions) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 196, in resolve_patterns_locally_or_by_urls for path in _resolve_single_pattern_locally(base_path, pattern, allowed_extensions): File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 146, in _resolve_single_pattern_locally raise FileNotFoundError(error_msg) FileNotFoundError: Unable to find '/ssd/datasets/imagenet/pytorch/train' at /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` I need some help to solve the problem, thanks! And in transformers the [ViT example](https://github.com/huggingface/transformers/blob/main/examples/pytorch/image-classification/run_image_classification.py), could you make some changes ? Like the `collect_fn` ```python def collate_fn(examples): pixel_values = torch.stack([example["pixel_values"] for example in examples]) labels = torch.tensor([example["labels"] for example in examples]) return {"pixel_values": pixel_values, "labels": labels} ``` How to know the keys of example?
[ -1.207528829574585, -0.9701337218284607, -0.7928412556648254, 1.3184934854507446, -0.10560372471809387, -1.3390069007873535, 0.09672825783491135, -1.0209842920303345, 1.5425015687942505, -0.6776458024978638, 0.17437316477298737, -1.726853370666504, -0.24187348783016205, -0.5899266600608826, -0.711350679397583, -0.8643127083778381, -0.34338027238845825, -0.9136003255844116, 0.9924539923667908, 2.4815104007720947, 1.3189308643341064, -1.297760009765625, 2.8932807445526123, 0.7193644642829895, -0.22631648182868958, -1.003702998161316, 0.5854151248931885, -0.04699177294969559, -1.1820601224899292, -0.5108678936958313, -0.9042526483535767, 0.06802508980035782, -0.6130844354629517, -0.37578722834587097, 0.11527521908283234, 0.42887231707572937, -0.26260852813720703, -0.22790993750095367, -0.7020912170410156, -0.6616514921188354, 0.471530944108963, -0.3405846655368805, 1.0018888711929321, -0.32249611616134644, 1.651899814605713, -0.5634865164756775, 0.28482118248939514, 0.6820297241210938, 1.2995131015777588, 0.17748023569583893, 0.1493748426437378, 0.2395777404308319, 0.23092316091060638, -0.04917242377996445, 0.6238452792167664, 1.339795470237732, 0.5716745853424072, 0.49373018741607666, 0.691685676574707, -2.2474050521850586, 1.263312816619873, -0.8644827604293823, 0.29945945739746094, 1.3727766275405884, -0.7834214568138123, 0.3633880317211151, -1.824187994003296, -0.04448608309030533, 0.6739946603775024, -2.3489468097686768, 0.2665894329547882, -1.2430472373962402, -0.5165116190910339, 0.8026397228240967, 0.3029327392578125, -1.2653402090072632, 0.24033817648887634, -0.5392549633979797, 1.1280640363693237, 0.515282154083252, 1.1593321561813354, -1.7004414796829224, 0.008698668330907822, -0.09136790037155151, 0.08300093561410904, -1.2657644748687744, -1.7138499021530151, 0.5707083940505981, 0.5422394275665283, 0.7686678767204285, -0.09368667006492615, 1.0240364074707031, -1.0649163722991943, 0.7924526929855347, -0.9301970601081848, -1.5372092723846436, -1.4141888618469238, -2.441061496734619, -2.239694356918335, 0.7951302528381348, -0.5601117014884949, -0.4904126226902008, 1.9361655712127686, -0.9340954422950745, -1.84653639793396, 0.9983311295509338, 0.3907771408557892, 0.13381248712539673, 2.3606531620025635, 0.26118290424346924, -0.7848421931266785, 0.4362173080444336, -0.6946799755096436, 0.8552590608596802, -0.2225625365972519, 1.3900763988494873, 0.49974387884140015, -0.8902368545532227, 1.7143528461456299, -0.5722930431365967, 0.6067995429039001, -0.674263596534729, -0.4867730736732483, -0.8926899433135986, 0.252000629901886, 1.8172054290771484, -0.36671555042266846, 1.583909511566162, -0.34284403920173645, -1.6025828123092651, -1.6012659072875977, 0.780291736125946, 0.4980784058570862, -0.9339868426322937, 0.05343034118413925, -0.5161754488945007, 0.2248087227344513, 0.03949805349111557, 1.116297721862793, 1.160731315612793, 0.6094004511833191, -0.2885153889656067, -0.8476375937461853, 0.27782687544822693, -0.14261889457702637, -0.7116512060165405, -1.8636242151260376, -0.30317139625549316, 0.34239864349365234, 0.6470516920089722, -1.293697476387024, 1.8051741123199463, 0.8418681025505066, 2.1264967918395996, 0.93654865026474, -0.4101339280605316, 1.4526621103286743, -0.04001660272479057, 1.8069535493850708, -0.5941004157066345, 0.5893980264663696, -0.30003243684768677, -1.1138640642166138, 0.9000013470649719, -0.47666439414024353, -2.002927541732788, -0.822783887386322, -0.7868990898132324, -0.17489425837993622, -0.6914815902709961, 0.8266828656196594, -0.3777218759059906, -1.4257545471191406, 0.07274767756462097, -0.6654995679855347, 0.14822889864444733, -1.2958731651306152, 0.0620044469833374, 0.7764599919319153, -0.7258098721504211, -0.1533789336681366, -0.2760060727596283, -1.3103578090667725, -0.4751476049423218, 0.30741721391677856, 2.066683530807495, -0.5465802550315857, 0.9178639650344849, 0.9711793065071106, -0.7938008904457092, 0.21145163476467133, 0.2158678025007248, -0.24913665652275085, 0.7607453465461731, -1.1329306364059448, -0.4505683183670044, 1.1014732122421265, -0.1703476905822754, -0.6966395974159241, 1.5023795366287231, 0.926374614238739, -1.1887340545654297, -0.28603631258010864, -0.2483939677476883, -0.79522705078125, -0.03723888844251633, -1.4757956266403198, -0.18641091883182526, 0.3030402362346649, -1.459323763847351, -0.39940425753593445, -0.20762358605861664, 1.3971043825149536, -0.20587493479251862, 1.4482457637786865, -0.26590660214424133, -0.18025130033493042, -0.2894853353500366, -0.578942060470581, 0.2106286734342575, -0.19378484785556793, -0.6974561214447021, 0.18816785514354706, -0.8679786920547485, 0.27382686734199524, 1.5679187774658203, 0.34196534752845764, 0.07060587406158447, 0.5153854489326477, 1.1217410564422607, 0.40376004576683044, 0.024971382692456245, -0.8804401755332947, -1.5293885469436646, 1.9623754024505615, -1.4187355041503906, 1.8249961137771606, 0.7013305425643921, -0.04548037797212601, -1.7918407917022705, -1.8147650957107544, 1.3067104816436768, 1.1928244829177856, 2.366503953933716, 0.5740844011306763, 0.39516961574554443, -0.7714876532554626, -0.8262544274330139, 0.25526389479637146, -0.9002631306648254, -0.6871918439865112, 0.12261158227920532, 2.3185465335845947, 1.9374796152114868, -0.6660999655723572, -0.3075175881385803, -0.8442531228065491, 1.178252935409546, -0.26593223214149475, 0.2825552225112915, 2.037632703781128, -0.3532123863697052, -0.9759485721588135, 1.3713823556900024, -2.4370436668395996, 0.29180821776390076, 2.0564486980438232, 0.32305198907852173, 0.20693427324295044, -1.4628100395202637, -0.662458062171936, -0.3218095898628235, -0.5119830369949341, -1.267594337463379, 0.6135894060134888, -0.3044750988483429, -0.9704420566558838, -1.4392178058624268, 0.05393463373184204, -1.1291394233703613, -1.7276644706726074, 0.4340512454509735, 1.9422540664672852, 2.15049409866333, -0.8482136130332947, 1.3473724126815796, -0.2698673903942108, 0.01500999741256237, 1.2961472272872925, 1.44448983669281, 3.034043312072754, 1.8294364213943481, -1.2473342418670654, 0.7719606757164001, -0.24618667364120483, -0.5133056044578552, 1.1870923042297363, -1.0944011211395264, 0.961627721786499, -0.28853651881217957, -1.252837896347046, -1.1805698871612549, 1.0575087070465088, 0.5110746622085571, 0.009682774543762207, -0.559158980846405, 1.309502363204956, 0.07048308104276657, 1.2991701364517212, 0.6316542625427246, -0.5217132568359375, 0.4211452305316925, -0.35266146063804626, -0.5830138325691223, 1.6916818618774414, 0.05840107053518295, -1.5468780994415283, -2.376464605331421, -0.17282839119434357, -0.9750375747680664, -0.051502667367458344, -0.6280070543289185, -1.0461407899856567, 1.630173921585083, 0.4461442232131958, -1.1620795726776123, -0.293351411819458, -0.35992178320884705, -0.4308170676231384, 2.6444406509399414, -1.2912144660949707, -0.21702638268470764, -0.9525944590568542, -0.41561728715896606, 1.6415047645568848, -1.1722866296768188, -0.1972012221813202, -1.078072190284729, -0.7603164315223694, -1.339919090270996, -0.46240395307540894, -0.008437849581241608, -0.8345192074775696, 0.7598178386688232, 0.15917493402957916, -1.0814454555511475, -0.24572207033634186, -0.9908379912376404, 1.0686229467391968, -0.17265532910823822, 0.22967039048671722, 1.8679572343826294, 0.27830928564071655, -0.4922586977481842, 0.7279759049415588, 1.3069016933441162, 0.6313452124595642, -0.6829984188079834, -0.013405273668467999, -0.6228224635124207, 0.4335103929042816, -1.4996625185012817, 0.10808328539133072, -3.050750970840454, 0.8540022373199463, -0.14590708911418915, -0.169737309217453, -0.11620517075061798, -1.2644062042236328, 1.1022299528121948, 2.570763349533081, -1.2269343137741089, 0.41159433126449585, 0.49775803089141846, 1.1354360580444336, -1.5477259159088135, 0.15837326645851135, -0.518415093421936, 2.042638063430786, 0.07863138616085052, 1.2618293762207031, -0.5370393991470337, -2.064974069595337, 0.6684971451759338, -1.1470962762832642, -0.9319380521774292, 0.815837025642395, -0.915064811706543, 0.3864271342754364, -1.5084148645401, -0.10433229058980942, -1.005266547203064, -1.2572507858276367, 0.7901540398597717, 0.07226093858480453, 0.2829829156398773, -0.5561901926994324, 0.413760244846344, -2.1168863773345947, -1.3992524147033691, -0.12247753143310547, -1.061444640159607, 0.5971159338951111, -0.4355452060699463, 0.5174747705459595, 0.07270441949367523, 0.12877219915390015, 0.2488880157470703, 1.427308201789856, 3.3753716945648193, 0.11713355779647827, 0.19991761445999146, -0.07929348200559616, -1.0453441143035889, 1.4412440061569214, 0.9680407643318176, -0.08757530152797699, -0.48967981338500977, -1.0059535503387451, 1.4492688179016113, 1.99704909324646, 1.2420318126678467, 0.15701864659786224, -0.9396369457244873, -0.7645467519760132, 0.05250544846057892, 0.24224457144737244, 0.4994087219238281, 0.9816969037055969, -0.09423035383224487, 0.11448143422603607, 1.3823806047439575, 1.1474804878234863, -0.27725329995155334, 0.4441049098968506, -0.9998530149459839, -0.3405264616012573, 0.37484386563301086, 0.1650666445493698, 0.11702927947044373, 0.5362592339515686, -1.0864161252975464, -0.2683333158493042, -0.19291788339614868, -0.7706242203712463, -0.6831967234611511, -0.4217267334461212, -0.3885324001312256, 1.5072838068008423, 0.08844935148954391, -0.5376978516578674, 0.10521672666072845, -0.6690524816513062, -0.11430573463439941, -1.0973860025405884, 0.09169603884220123, -0.11973889172077179, -0.08291957527399063, -0.24157752096652985, 1.5751166343688965, -0.911612331867218, -2.135021924972534, 0.11459223926067352, 0.4850245416164398, -0.40863439440727234, 0.20273993909358978, 1.6986665725708008, 0.5344459414482117, 1.3314931392669678, 1.2982686758041382, 0.994533360004425, -0.5592256188392639, -1.1097776889801025, 0.7037567496299744, 0.9037555456161499, -1.3066561222076416, 1.0011399984359741, -0.3041820228099823, -0.5730090737342834, 0.6914390325546265, 1.4057544469833374, 0.385755717754364, -1.963050365447998, 0.954291045665741, -0.8931469917297363, 0.7975976467132568, 0.6600309610366821, 0.8881970643997192, 0.3427375853061676, 0.9010483026504517, -1.2686160802841187, -1.1591061353683472, -0.7345713973045349, -0.5749954581260681, 1.8437126874923706, -0.1981138437986374, 0.5475021600723267, -0.21562142670154572, -1.1212916374206543, -0.13128958642482758, 0.8200570344924927, 0.3586278557777405, -0.35410210490226746, 0.9910857081413269, -0.5860104560852051, -0.9444340467453003, -1.205928087234497, -0.42489945888519287, -0.9766121506690979, -0.8374645709991455, 1.01987886428833, 0.7694979310035706, 0.5366144180297852, 2.011429786682129, 0.5257236957550049, 0.2970118820667267, -2.5143606662750244, 0.8577268123626709, 0.310787171125412, 0.039934009313583374, 0.8839455246925354, 0.26131412386894226, 1.3218657970428467, -0.03015829250216484, 0.604749321937561, -2.2677838802337646, 2.1218419075012207, -0.1635805070400238, 0.6072900891304016, -0.02606981247663498, -0.17075215280056, 1.1347683668136597, 0.5949164628982544, 0.5764990448951721, -1.1059658527374268, 0.7944180965423584, -0.5871594548225403, 1.0536850690841675, 0.9964296221733093, -0.9170206785202026, 0.14833153784275055, 1.3830962181091309, 0.4739205241203308, -0.44081345200538635, -1.031831979751587, -0.7428030967712402, 1.0710632801055908, 1.6827744245529175, 0.03418833762407303, 0.02271430380642414, 0.8860000371932983, 0.6414245963096619, -1.2294609546661377, -0.008082610554993153, -0.6544274091720581, -0.6215163469314575, 1.8142476081848145, 1.9088350534439087, -0.13631176948547363, -0.18113884329795837, -0.7335491180419922, -1.2876002788543701, 0.6921383738517761, -0.07579275965690613, 0.027377979829907417, 0.798923909664154, -0.7391893863677979, 1.09955632686615, 0.5145204067230225, 0.8972749710083008, -0.13289038836956024, 0.37714970111846924, 0.43048253655433655, -0.40368232131004333, -1.1852633953094482, -0.4271412789821625, -1.0908684730529785, -2.546679735183716, 0.4025777578353882, -0.26996177434921265, -1.430268406867981, 0.03086673654615879, -1.0566229820251465, 0.9702942967414856, -0.5841946005821228, -1.1023014783859253, -1.3600962162017822, 0.4304024875164032, -0.16310112178325653, 0.868311882019043, -1.6279993057250977, -0.23219558596611023, 1.235815405845642, 0.8758074045181274, -0.5579129457473755, 0.9616100192070007, 0.2986762523651123, 0.9332368969917297, 0.7273702025413513, -0.39927759766578674, 0.5553388595581055, -0.03728044778108597, -1.3250346183776855, 0.38141199946403503, 1.2520776987075806, 0.21219247579574585, 1.3425723314285278, -0.40623900294303894, 0.15488497912883759, 0.4368601143360138, -0.6711005568504333, -0.5796352028846741, -0.4239506125450134, 0.6698201894760132, 0.04929843544960022, -1.0725266933441162, -0.245993971824646, -0.15676671266555786, -0.2898140549659729, 0.2146027535200119, -1.4638721942901611, -0.3279684782028198, -0.37032774090766907, -0.33196938037872314, -1.290643572807312, 0.11689701676368713, 1.28717041015625, -0.8287950754165649, -0.31853678822517395, 0.49459755420684814, 0.3656759262084961, 0.5996425151824951, 0.524585485458374, -0.7717669010162354, -0.20099206268787384, -0.39851704239845276, -0.2794254720211029, 0.23099443316459656, 1.1272767782211304, -0.06919152289628983, -1.085112452507019, 0.6471480131149292, -0.3608035445213318, 0.13948093354701996, 2.0308046340942383, -0.0028399680741131306, -0.7063446640968323, 0.3661494851112366, -0.674111545085907, 1.623882532119751, 1.6625334024429321, 1.260269045829773, -0.1374368816614151, -0.678687334060669, 0.5536158680915833, -0.24575412273406982, -0.33036333322525024, 0.8846817016601562, 0.4015200138092041, -0.24021229147911072, -1.5128592252731323, 0.508347749710083, 1.321362018585205, -0.7726930379867554, -0.6879484057426453, 0.09487634897232056, -0.9349000453948975, 1.2416284084320068, 0.582444965839386, 0.2859421372413635, 0.2847909927368164, 1.5412689447402954, 0.682103157043457, -0.47703152894973755, 0.3864686191082001, 0.5651518106460571, -0.2714337706565857, -2.0748038291931152, -1.0282338857650757, 0.20744024217128754, -0.4095441699028015, -1.6067970991134644, 1.2130002975463867, -1.134972333908081, -1.0394333600997925, 0.5041540861129761, 0.1674036830663681, 1.185861349105835, 0.34636732935905457, 1.688722014427185, 2.1370999813079834, 0.8305449485778809, 0.3132503628730774, 1.1499015092849731, -0.030684133991599083, -0.3811642825603485, 1.8834757804870605, -0.39082616567611694, 0.6047833561897278, 0.9708345532417297, -0.377816379070282, -1.104926347732544, -0.8507455587387085, -1.201594352722168, -0.6492767930030823, 1.2066364288330078, 0.13352525234222412, -1.120329737663269, 0.15452411770820618, 1.5240148305892944, 0.1189722865819931, -0.24279753863811493, 0.735278308391571, 0.41596826910972595, -0.687404990196228, 0.00991317443549633, -0.8766892552375793, 0.5186488032341003, -0.08521895110607147, -0.25865352153778076, 0.19318439066410065, 0.6062679886817932, 1.3488069772720337, -0.023630257695913315, 0.20102554559707642, 1.2204917669296265, -1.250807523727417, 1.5771698951721191, -0.5889635682106018, 0.3218457102775574, -2.5799813270568848, 1.3911793231964111, -0.7671913504600525, 1.9812883138656616, -2.522433042526245, 0.42028436064720154, -0.5304840207099915, -0.45781439542770386, 0.33667486906051636, -0.4611990451812744, 0.0699196606874466, -0.073411725461483, -0.9196041822433472, 0.10182065516710281, -0.6803687214851379, 0.5346898436546326, 1.2302833795547485, 1.4639406204223633, -1.1219202280044556, -0.2788693606853485, -1.808442234992981, -0.14367316663265228, -0.8218575716018677, 0.43017151951789856, -2.0037896633148193, -0.2169038951396942, -1.9452846050262451, -2.3145763874053955, -1.4183573722839355, -0.8393747806549072, 1.0314509868621826, 0.13910067081451416, -0.9930553436279297, 1.1637893915176392, -0.38921645283699036, -1.7552976608276367, 1.0418591499328613, -2.238765001296997 ]
https://github.com/huggingface/datasets/issues/3960
Load local dataset error
Loading the image files slowly, is it because the multiple processes load files at the same time?
When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this: ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']} >>> ds = load_dataset('nateraw/image-folder', data_files=data_files, cache_dir='./', task='image-classification') [] https://huggingface.co/datasets/nateraw/image-folder/resolve/main/ /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1671, in load_dataset **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1521, in load_dataset_builder **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 1031, in __init__ super().__init__(*args, **kwargs) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 255, in __init__ sanitize_patterns(data_files), base_path=base_path, use_auth_token=use_auth_token File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 584, in from_local_or_remote if not isinstance(patterns_for_key, DataFilesList) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 546, in from_local_or_remote data_files = resolve_patterns_locally_or_by_urls(base_path, patterns, allowed_extensions) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 196, in resolve_patterns_locally_or_by_urls for path in _resolve_single_pattern_locally(base_path, pattern, allowed_extensions): File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 146, in _resolve_single_pattern_locally raise FileNotFoundError(error_msg) FileNotFoundError: Unable to find '/ssd/datasets/imagenet/pytorch/train' at /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` I need some help to solve the problem, thanks!
875
17
Load local dataset error When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this: ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']} >>> ds = load_dataset('nateraw/image-folder', data_files=data_files, cache_dir='./', task='image-classification') [] https://huggingface.co/datasets/nateraw/image-folder/resolve/main/ /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1671, in load_dataset **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1521, in load_dataset_builder **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 1031, in __init__ super().__init__(*args, **kwargs) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 255, in __init__ sanitize_patterns(data_files), base_path=base_path, use_auth_token=use_auth_token File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 584, in from_local_or_remote if not isinstance(patterns_for_key, DataFilesList) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 546, in from_local_or_remote data_files = resolve_patterns_locally_or_by_urls(base_path, patterns, allowed_extensions) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 196, in resolve_patterns_locally_or_by_urls for path in _resolve_single_pattern_locally(base_path, pattern, allowed_extensions): File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 146, in _resolve_single_pattern_locally raise FileNotFoundError(error_msg) FileNotFoundError: Unable to find '/ssd/datasets/imagenet/pytorch/train' at /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` I need some help to solve the problem, thanks! Loading the image files slowly, is it because the multiple processes load files at the same time?
[ -1.207528829574585, -0.9701337218284607, -0.7928412556648254, 1.3184934854507446, -0.10560372471809387, -1.3390069007873535, 0.09672825783491135, -1.0209842920303345, 1.5425015687942505, -0.6776458024978638, 0.17437316477298737, -1.726853370666504, -0.24187348783016205, -0.5899266600608826, -0.711350679397583, -0.8643127083778381, -0.34338027238845825, -0.9136003255844116, 0.9924539923667908, 2.4815104007720947, 1.3189308643341064, -1.297760009765625, 2.8932807445526123, 0.7193644642829895, -0.22631648182868958, -1.003702998161316, 0.5854151248931885, -0.04699177294969559, -1.1820601224899292, -0.5108678936958313, -0.9042526483535767, 0.06802508980035782, -0.6130844354629517, -0.37578722834587097, 0.11527521908283234, 0.42887231707572937, -0.26260852813720703, -0.22790993750095367, -0.7020912170410156, -0.6616514921188354, 0.471530944108963, -0.3405846655368805, 1.0018888711929321, -0.32249611616134644, 1.651899814605713, -0.5634865164756775, 0.28482118248939514, 0.6820297241210938, 1.2995131015777588, 0.17748023569583893, 0.1493748426437378, 0.2395777404308319, 0.23092316091060638, -0.04917242377996445, 0.6238452792167664, 1.339795470237732, 0.5716745853424072, 0.49373018741607666, 0.691685676574707, -2.2474050521850586, 1.263312816619873, -0.8644827604293823, 0.29945945739746094, 1.3727766275405884, -0.7834214568138123, 0.3633880317211151, -1.824187994003296, -0.04448608309030533, 0.6739946603775024, -2.3489468097686768, 0.2665894329547882, -1.2430472373962402, -0.5165116190910339, 0.8026397228240967, 0.3029327392578125, -1.2653402090072632, 0.24033817648887634, -0.5392549633979797, 1.1280640363693237, 0.515282154083252, 1.1593321561813354, -1.7004414796829224, 0.008698668330907822, -0.09136790037155151, 0.08300093561410904, -1.2657644748687744, -1.7138499021530151, 0.5707083940505981, 0.5422394275665283, 0.7686678767204285, -0.09368667006492615, 1.0240364074707031, -1.0649163722991943, 0.7924526929855347, -0.9301970601081848, -1.5372092723846436, -1.4141888618469238, -2.441061496734619, -2.239694356918335, 0.7951302528381348, -0.5601117014884949, -0.4904126226902008, 1.9361655712127686, -0.9340954422950745, -1.84653639793396, 0.9983311295509338, 0.3907771408557892, 0.13381248712539673, 2.3606531620025635, 0.26118290424346924, -0.7848421931266785, 0.4362173080444336, -0.6946799755096436, 0.8552590608596802, -0.2225625365972519, 1.3900763988494873, 0.49974387884140015, -0.8902368545532227, 1.7143528461456299, -0.5722930431365967, 0.6067995429039001, -0.674263596534729, -0.4867730736732483, -0.8926899433135986, 0.252000629901886, 1.8172054290771484, -0.36671555042266846, 1.583909511566162, -0.34284403920173645, -1.6025828123092651, -1.6012659072875977, 0.780291736125946, 0.4980784058570862, -0.9339868426322937, 0.05343034118413925, -0.5161754488945007, 0.2248087227344513, 0.03949805349111557, 1.116297721862793, 1.160731315612793, 0.6094004511833191, -0.2885153889656067, -0.8476375937461853, 0.27782687544822693, -0.14261889457702637, -0.7116512060165405, -1.8636242151260376, -0.30317139625549316, 0.34239864349365234, 0.6470516920089722, -1.293697476387024, 1.8051741123199463, 0.8418681025505066, 2.1264967918395996, 0.93654865026474, -0.4101339280605316, 1.4526621103286743, -0.04001660272479057, 1.8069535493850708, -0.5941004157066345, 0.5893980264663696, -0.30003243684768677, -1.1138640642166138, 0.9000013470649719, -0.47666439414024353, -2.002927541732788, -0.822783887386322, -0.7868990898132324, -0.17489425837993622, -0.6914815902709961, 0.8266828656196594, -0.3777218759059906, -1.4257545471191406, 0.07274767756462097, -0.6654995679855347, 0.14822889864444733, -1.2958731651306152, 0.0620044469833374, 0.7764599919319153, -0.7258098721504211, -0.1533789336681366, -0.2760060727596283, -1.3103578090667725, -0.4751476049423218, 0.30741721391677856, 2.066683530807495, -0.5465802550315857, 0.9178639650344849, 0.9711793065071106, -0.7938008904457092, 0.21145163476467133, 0.2158678025007248, -0.24913665652275085, 0.7607453465461731, -1.1329306364059448, -0.4505683183670044, 1.1014732122421265, -0.1703476905822754, -0.6966395974159241, 1.5023795366287231, 0.926374614238739, -1.1887340545654297, -0.28603631258010864, -0.2483939677476883, -0.79522705078125, -0.03723888844251633, -1.4757956266403198, -0.18641091883182526, 0.3030402362346649, -1.459323763847351, -0.39940425753593445, -0.20762358605861664, 1.3971043825149536, -0.20587493479251862, 1.4482457637786865, -0.26590660214424133, -0.18025130033493042, -0.2894853353500366, -0.578942060470581, 0.2106286734342575, -0.19378484785556793, -0.6974561214447021, 0.18816785514354706, -0.8679786920547485, 0.27382686734199524, 1.5679187774658203, 0.34196534752845764, 0.07060587406158447, 0.5153854489326477, 1.1217410564422607, 0.40376004576683044, 0.024971382692456245, -0.8804401755332947, -1.5293885469436646, 1.9623754024505615, -1.4187355041503906, 1.8249961137771606, 0.7013305425643921, -0.04548037797212601, -1.7918407917022705, -1.8147650957107544, 1.3067104816436768, 1.1928244829177856, 2.366503953933716, 0.5740844011306763, 0.39516961574554443, -0.7714876532554626, -0.8262544274330139, 0.25526389479637146, -0.9002631306648254, -0.6871918439865112, 0.12261158227920532, 2.3185465335845947, 1.9374796152114868, -0.6660999655723572, -0.3075175881385803, -0.8442531228065491, 1.178252935409546, -0.26593223214149475, 0.2825552225112915, 2.037632703781128, -0.3532123863697052, -0.9759485721588135, 1.3713823556900024, -2.4370436668395996, 0.29180821776390076, 2.0564486980438232, 0.32305198907852173, 0.20693427324295044, -1.4628100395202637, -0.662458062171936, -0.3218095898628235, -0.5119830369949341, -1.267594337463379, 0.6135894060134888, -0.3044750988483429, -0.9704420566558838, -1.4392178058624268, 0.05393463373184204, -1.1291394233703613, -1.7276644706726074, 0.4340512454509735, 1.9422540664672852, 2.15049409866333, -0.8482136130332947, 1.3473724126815796, -0.2698673903942108, 0.01500999741256237, 1.2961472272872925, 1.44448983669281, 3.034043312072754, 1.8294364213943481, -1.2473342418670654, 0.7719606757164001, -0.24618667364120483, -0.5133056044578552, 1.1870923042297363, -1.0944011211395264, 0.961627721786499, -0.28853651881217957, -1.252837896347046, -1.1805698871612549, 1.0575087070465088, 0.5110746622085571, 0.009682774543762207, -0.559158980846405, 1.309502363204956, 0.07048308104276657, 1.2991701364517212, 0.6316542625427246, -0.5217132568359375, 0.4211452305316925, -0.35266146063804626, -0.5830138325691223, 1.6916818618774414, 0.05840107053518295, -1.5468780994415283, -2.376464605331421, -0.17282839119434357, -0.9750375747680664, -0.051502667367458344, -0.6280070543289185, -1.0461407899856567, 1.630173921585083, 0.4461442232131958, -1.1620795726776123, -0.293351411819458, -0.35992178320884705, -0.4308170676231384, 2.6444406509399414, -1.2912144660949707, -0.21702638268470764, -0.9525944590568542, -0.41561728715896606, 1.6415047645568848, -1.1722866296768188, -0.1972012221813202, -1.078072190284729, -0.7603164315223694, -1.339919090270996, -0.46240395307540894, -0.008437849581241608, -0.8345192074775696, 0.7598178386688232, 0.15917493402957916, -1.0814454555511475, -0.24572207033634186, -0.9908379912376404, 1.0686229467391968, -0.17265532910823822, 0.22967039048671722, 1.8679572343826294, 0.27830928564071655, -0.4922586977481842, 0.7279759049415588, 1.3069016933441162, 0.6313452124595642, -0.6829984188079834, -0.013405273668467999, -0.6228224635124207, 0.4335103929042816, -1.4996625185012817, 0.10808328539133072, -3.050750970840454, 0.8540022373199463, -0.14590708911418915, -0.169737309217453, -0.11620517075061798, -1.2644062042236328, 1.1022299528121948, 2.570763349533081, -1.2269343137741089, 0.41159433126449585, 0.49775803089141846, 1.1354360580444336, -1.5477259159088135, 0.15837326645851135, -0.518415093421936, 2.042638063430786, 0.07863138616085052, 1.2618293762207031, -0.5370393991470337, -2.064974069595337, 0.6684971451759338, -1.1470962762832642, -0.9319380521774292, 0.815837025642395, -0.915064811706543, 0.3864271342754364, -1.5084148645401, -0.10433229058980942, -1.005266547203064, -1.2572507858276367, 0.7901540398597717, 0.07226093858480453, 0.2829829156398773, -0.5561901926994324, 0.413760244846344, -2.1168863773345947, -1.3992524147033691, -0.12247753143310547, -1.061444640159607, 0.5971159338951111, -0.4355452060699463, 0.5174747705459595, 0.07270441949367523, 0.12877219915390015, 0.2488880157470703, 1.427308201789856, 3.3753716945648193, 0.11713355779647827, 0.19991761445999146, -0.07929348200559616, -1.0453441143035889, 1.4412440061569214, 0.9680407643318176, -0.08757530152797699, -0.48967981338500977, -1.0059535503387451, 1.4492688179016113, 1.99704909324646, 1.2420318126678467, 0.15701864659786224, -0.9396369457244873, -0.7645467519760132, 0.05250544846057892, 0.24224457144737244, 0.4994087219238281, 0.9816969037055969, -0.09423035383224487, 0.11448143422603607, 1.3823806047439575, 1.1474804878234863, -0.27725329995155334, 0.4441049098968506, -0.9998530149459839, -0.3405264616012573, 0.37484386563301086, 0.1650666445493698, 0.11702927947044373, 0.5362592339515686, -1.0864161252975464, -0.2683333158493042, -0.19291788339614868, -0.7706242203712463, -0.6831967234611511, -0.4217267334461212, -0.3885324001312256, 1.5072838068008423, 0.08844935148954391, -0.5376978516578674, 0.10521672666072845, -0.6690524816513062, -0.11430573463439941, -1.0973860025405884, 0.09169603884220123, -0.11973889172077179, -0.08291957527399063, -0.24157752096652985, 1.5751166343688965, -0.911612331867218, -2.135021924972534, 0.11459223926067352, 0.4850245416164398, -0.40863439440727234, 0.20273993909358978, 1.6986665725708008, 0.5344459414482117, 1.3314931392669678, 1.2982686758041382, 0.994533360004425, -0.5592256188392639, -1.1097776889801025, 0.7037567496299744, 0.9037555456161499, -1.3066561222076416, 1.0011399984359741, -0.3041820228099823, -0.5730090737342834, 0.6914390325546265, 1.4057544469833374, 0.385755717754364, -1.963050365447998, 0.954291045665741, -0.8931469917297363, 0.7975976467132568, 0.6600309610366821, 0.8881970643997192, 0.3427375853061676, 0.9010483026504517, -1.2686160802841187, -1.1591061353683472, -0.7345713973045349, -0.5749954581260681, 1.8437126874923706, -0.1981138437986374, 0.5475021600723267, -0.21562142670154572, -1.1212916374206543, -0.13128958642482758, 0.8200570344924927, 0.3586278557777405, -0.35410210490226746, 0.9910857081413269, -0.5860104560852051, -0.9444340467453003, -1.205928087234497, -0.42489945888519287, -0.9766121506690979, -0.8374645709991455, 1.01987886428833, 0.7694979310035706, 0.5366144180297852, 2.011429786682129, 0.5257236957550049, 0.2970118820667267, -2.5143606662750244, 0.8577268123626709, 0.310787171125412, 0.039934009313583374, 0.8839455246925354, 0.26131412386894226, 1.3218657970428467, -0.03015829250216484, 0.604749321937561, -2.2677838802337646, 2.1218419075012207, -0.1635805070400238, 0.6072900891304016, -0.02606981247663498, -0.17075215280056, 1.1347683668136597, 0.5949164628982544, 0.5764990448951721, -1.1059658527374268, 0.7944180965423584, -0.5871594548225403, 1.0536850690841675, 0.9964296221733093, -0.9170206785202026, 0.14833153784275055, 1.3830962181091309, 0.4739205241203308, -0.44081345200538635, -1.031831979751587, -0.7428030967712402, 1.0710632801055908, 1.6827744245529175, 0.03418833762407303, 0.02271430380642414, 0.8860000371932983, 0.6414245963096619, -1.2294609546661377, -0.008082610554993153, -0.6544274091720581, -0.6215163469314575, 1.8142476081848145, 1.9088350534439087, -0.13631176948547363, -0.18113884329795837, -0.7335491180419922, -1.2876002788543701, 0.6921383738517761, -0.07579275965690613, 0.027377979829907417, 0.798923909664154, -0.7391893863677979, 1.09955632686615, 0.5145204067230225, 0.8972749710083008, -0.13289038836956024, 0.37714970111846924, 0.43048253655433655, -0.40368232131004333, -1.1852633953094482, -0.4271412789821625, -1.0908684730529785, -2.546679735183716, 0.4025777578353882, -0.26996177434921265, -1.430268406867981, 0.03086673654615879, -1.0566229820251465, 0.9702942967414856, -0.5841946005821228, -1.1023014783859253, -1.3600962162017822, 0.4304024875164032, -0.16310112178325653, 0.868311882019043, -1.6279993057250977, -0.23219558596611023, 1.235815405845642, 0.8758074045181274, -0.5579129457473755, 0.9616100192070007, 0.2986762523651123, 0.9332368969917297, 0.7273702025413513, -0.39927759766578674, 0.5553388595581055, -0.03728044778108597, -1.3250346183776855, 0.38141199946403503, 1.2520776987075806, 0.21219247579574585, 1.3425723314285278, -0.40623900294303894, 0.15488497912883759, 0.4368601143360138, -0.6711005568504333, -0.5796352028846741, -0.4239506125450134, 0.6698201894760132, 0.04929843544960022, -1.0725266933441162, -0.245993971824646, -0.15676671266555786, -0.2898140549659729, 0.2146027535200119, -1.4638721942901611, -0.3279684782028198, -0.37032774090766907, -0.33196938037872314, -1.290643572807312, 0.11689701676368713, 1.28717041015625, -0.8287950754165649, -0.31853678822517395, 0.49459755420684814, 0.3656759262084961, 0.5996425151824951, 0.524585485458374, -0.7717669010162354, -0.20099206268787384, -0.39851704239845276, -0.2794254720211029, 0.23099443316459656, 1.1272767782211304, -0.06919152289628983, -1.085112452507019, 0.6471480131149292, -0.3608035445213318, 0.13948093354701996, 2.0308046340942383, -0.0028399680741131306, -0.7063446640968323, 0.3661494851112366, -0.674111545085907, 1.623882532119751, 1.6625334024429321, 1.260269045829773, -0.1374368816614151, -0.678687334060669, 0.5536158680915833, -0.24575412273406982, -0.33036333322525024, 0.8846817016601562, 0.4015200138092041, -0.24021229147911072, -1.5128592252731323, 0.508347749710083, 1.321362018585205, -0.7726930379867554, -0.6879484057426453, 0.09487634897232056, -0.9349000453948975, 1.2416284084320068, 0.582444965839386, 0.2859421372413635, 0.2847909927368164, 1.5412689447402954, 0.682103157043457, -0.47703152894973755, 0.3864686191082001, 0.5651518106460571, -0.2714337706565857, -2.0748038291931152, -1.0282338857650757, 0.20744024217128754, -0.4095441699028015, -1.6067970991134644, 1.2130002975463867, -1.134972333908081, -1.0394333600997925, 0.5041540861129761, 0.1674036830663681, 1.185861349105835, 0.34636732935905457, 1.688722014427185, 2.1370999813079834, 0.8305449485778809, 0.3132503628730774, 1.1499015092849731, -0.030684133991599083, -0.3811642825603485, 1.8834757804870605, -0.39082616567611694, 0.6047833561897278, 0.9708345532417297, -0.377816379070282, -1.104926347732544, -0.8507455587387085, -1.201594352722168, -0.6492767930030823, 1.2066364288330078, 0.13352525234222412, -1.120329737663269, 0.15452411770820618, 1.5240148305892944, 0.1189722865819931, -0.24279753863811493, 0.735278308391571, 0.41596826910972595, -0.687404990196228, 0.00991317443549633, -0.8766892552375793, 0.5186488032341003, -0.08521895110607147, -0.25865352153778076, 0.19318439066410065, 0.6062679886817932, 1.3488069772720337, -0.023630257695913315, 0.20102554559707642, 1.2204917669296265, -1.250807523727417, 1.5771698951721191, -0.5889635682106018, 0.3218457102775574, -2.5799813270568848, 1.3911793231964111, -0.7671913504600525, 1.9812883138656616, -2.522433042526245, 0.42028436064720154, -0.5304840207099915, -0.45781439542770386, 0.33667486906051636, -0.4611990451812744, 0.0699196606874466, -0.073411725461483, -0.9196041822433472, 0.10182065516710281, -0.6803687214851379, 0.5346898436546326, 1.2302833795547485, 1.4639406204223633, -1.1219202280044556, -0.2788693606853485, -1.808442234992981, -0.14367316663265228, -0.8218575716018677, 0.43017151951789856, -2.0037896633148193, -0.2169038951396942, -1.9452846050262451, -2.3145763874053955, -1.4183573722839355, -0.8393747806549072, 1.0314509868621826, 0.13910067081451416, -0.9930553436279297, 1.1637893915176392, -0.38921645283699036, -1.7552976608276367, 1.0418591499328613, -2.238765001296997 ]
https://github.com/huggingface/datasets/issues/3960
Load local dataset error
Could you please share the output you get after the second loading? Also, feel free to interrupt (`KeyboardInterrupt`) the process while waiting for it to end and share a traceback to show us where the process hangs. > And in transformers the [ViT example](https://github.com/huggingface/transformers/blob/main/examples/pytorch/image-classification/run_image_classification.py), could you make some changes ? Like the `collect_fn` > > ```python > def collate_fn(examples): > pixel_values = torch.stack([example["pixel_values"] for example in examples]) > labels = torch.tensor([example["labels"] for example in examples]) > return {"pixel_values": pixel_values, "labels": labels} > ``` > > How to know the keys of example? What do you mean by "could you make some changes".The `ViT` script doesn't remove unused columns by default, so the keys of an example are equal to the columns of the given dataset.
When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this: ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']} >>> ds = load_dataset('nateraw/image-folder', data_files=data_files, cache_dir='./', task='image-classification') [] https://huggingface.co/datasets/nateraw/image-folder/resolve/main/ /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1671, in load_dataset **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1521, in load_dataset_builder **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 1031, in __init__ super().__init__(*args, **kwargs) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 255, in __init__ sanitize_patterns(data_files), base_path=base_path, use_auth_token=use_auth_token File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 584, in from_local_or_remote if not isinstance(patterns_for_key, DataFilesList) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 546, in from_local_or_remote data_files = resolve_patterns_locally_or_by_urls(base_path, patterns, allowed_extensions) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 196, in resolve_patterns_locally_or_by_urls for path in _resolve_single_pattern_locally(base_path, pattern, allowed_extensions): File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 146, in _resolve_single_pattern_locally raise FileNotFoundError(error_msg) FileNotFoundError: Unable to find '/ssd/datasets/imagenet/pytorch/train' at /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` I need some help to solve the problem, thanks!
875
125
Load local dataset error When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this: ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']} >>> ds = load_dataset('nateraw/image-folder', data_files=data_files, cache_dir='./', task='image-classification') [] https://huggingface.co/datasets/nateraw/image-folder/resolve/main/ /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1671, in load_dataset **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1521, in load_dataset_builder **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 1031, in __init__ super().__init__(*args, **kwargs) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 255, in __init__ sanitize_patterns(data_files), base_path=base_path, use_auth_token=use_auth_token File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 584, in from_local_or_remote if not isinstance(patterns_for_key, DataFilesList) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 546, in from_local_or_remote data_files = resolve_patterns_locally_or_by_urls(base_path, patterns, allowed_extensions) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 196, in resolve_patterns_locally_or_by_urls for path in _resolve_single_pattern_locally(base_path, pattern, allowed_extensions): File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 146, in _resolve_single_pattern_locally raise FileNotFoundError(error_msg) FileNotFoundError: Unable to find '/ssd/datasets/imagenet/pytorch/train' at /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` I need some help to solve the problem, thanks! Could you please share the output you get after the second loading? Also, feel free to interrupt (`KeyboardInterrupt`) the process while waiting for it to end and share a traceback to show us where the process hangs. > And in transformers the [ViT example](https://github.com/huggingface/transformers/blob/main/examples/pytorch/image-classification/run_image_classification.py), could you make some changes ? Like the `collect_fn` > > ```python > def collate_fn(examples): > pixel_values = torch.stack([example["pixel_values"] for example in examples]) > labels = torch.tensor([example["labels"] for example in examples]) > return {"pixel_values": pixel_values, "labels": labels} > ``` > > How to know the keys of example? What do you mean by "could you make some changes".The `ViT` script doesn't remove unused columns by default, so the keys of an example are equal to the columns of the given dataset.
[ -1.207528829574585, -0.9701337218284607, -0.7928412556648254, 1.3184934854507446, -0.10560372471809387, -1.3390069007873535, 0.09672825783491135, -1.0209842920303345, 1.5425015687942505, -0.6776458024978638, 0.17437316477298737, -1.726853370666504, -0.24187348783016205, -0.5899266600608826, -0.711350679397583, -0.8643127083778381, -0.34338027238845825, -0.9136003255844116, 0.9924539923667908, 2.4815104007720947, 1.3189308643341064, -1.297760009765625, 2.8932807445526123, 0.7193644642829895, -0.22631648182868958, -1.003702998161316, 0.5854151248931885, -0.04699177294969559, -1.1820601224899292, -0.5108678936958313, -0.9042526483535767, 0.06802508980035782, -0.6130844354629517, -0.37578722834587097, 0.11527521908283234, 0.42887231707572937, -0.26260852813720703, -0.22790993750095367, -0.7020912170410156, -0.6616514921188354, 0.471530944108963, -0.3405846655368805, 1.0018888711929321, -0.32249611616134644, 1.651899814605713, -0.5634865164756775, 0.28482118248939514, 0.6820297241210938, 1.2995131015777588, 0.17748023569583893, 0.1493748426437378, 0.2395777404308319, 0.23092316091060638, -0.04917242377996445, 0.6238452792167664, 1.339795470237732, 0.5716745853424072, 0.49373018741607666, 0.691685676574707, -2.2474050521850586, 1.263312816619873, -0.8644827604293823, 0.29945945739746094, 1.3727766275405884, -0.7834214568138123, 0.3633880317211151, -1.824187994003296, -0.04448608309030533, 0.6739946603775024, -2.3489468097686768, 0.2665894329547882, -1.2430472373962402, -0.5165116190910339, 0.8026397228240967, 0.3029327392578125, -1.2653402090072632, 0.24033817648887634, -0.5392549633979797, 1.1280640363693237, 0.515282154083252, 1.1593321561813354, -1.7004414796829224, 0.008698668330907822, -0.09136790037155151, 0.08300093561410904, -1.2657644748687744, -1.7138499021530151, 0.5707083940505981, 0.5422394275665283, 0.7686678767204285, -0.09368667006492615, 1.0240364074707031, -1.0649163722991943, 0.7924526929855347, -0.9301970601081848, -1.5372092723846436, -1.4141888618469238, -2.441061496734619, -2.239694356918335, 0.7951302528381348, -0.5601117014884949, -0.4904126226902008, 1.9361655712127686, -0.9340954422950745, -1.84653639793396, 0.9983311295509338, 0.3907771408557892, 0.13381248712539673, 2.3606531620025635, 0.26118290424346924, -0.7848421931266785, 0.4362173080444336, -0.6946799755096436, 0.8552590608596802, -0.2225625365972519, 1.3900763988494873, 0.49974387884140015, -0.8902368545532227, 1.7143528461456299, -0.5722930431365967, 0.6067995429039001, -0.674263596534729, -0.4867730736732483, -0.8926899433135986, 0.252000629901886, 1.8172054290771484, -0.36671555042266846, 1.583909511566162, -0.34284403920173645, -1.6025828123092651, -1.6012659072875977, 0.780291736125946, 0.4980784058570862, -0.9339868426322937, 0.05343034118413925, -0.5161754488945007, 0.2248087227344513, 0.03949805349111557, 1.116297721862793, 1.160731315612793, 0.6094004511833191, -0.2885153889656067, -0.8476375937461853, 0.27782687544822693, -0.14261889457702637, -0.7116512060165405, -1.8636242151260376, -0.30317139625549316, 0.34239864349365234, 0.6470516920089722, -1.293697476387024, 1.8051741123199463, 0.8418681025505066, 2.1264967918395996, 0.93654865026474, -0.4101339280605316, 1.4526621103286743, -0.04001660272479057, 1.8069535493850708, -0.5941004157066345, 0.5893980264663696, -0.30003243684768677, -1.1138640642166138, 0.9000013470649719, -0.47666439414024353, -2.002927541732788, -0.822783887386322, -0.7868990898132324, -0.17489425837993622, -0.6914815902709961, 0.8266828656196594, -0.3777218759059906, -1.4257545471191406, 0.07274767756462097, -0.6654995679855347, 0.14822889864444733, -1.2958731651306152, 0.0620044469833374, 0.7764599919319153, -0.7258098721504211, -0.1533789336681366, -0.2760060727596283, -1.3103578090667725, -0.4751476049423218, 0.30741721391677856, 2.066683530807495, -0.5465802550315857, 0.9178639650344849, 0.9711793065071106, -0.7938008904457092, 0.21145163476467133, 0.2158678025007248, -0.24913665652275085, 0.7607453465461731, -1.1329306364059448, -0.4505683183670044, 1.1014732122421265, -0.1703476905822754, -0.6966395974159241, 1.5023795366287231, 0.926374614238739, -1.1887340545654297, -0.28603631258010864, -0.2483939677476883, -0.79522705078125, -0.03723888844251633, -1.4757956266403198, -0.18641091883182526, 0.3030402362346649, -1.459323763847351, -0.39940425753593445, -0.20762358605861664, 1.3971043825149536, -0.20587493479251862, 1.4482457637786865, -0.26590660214424133, -0.18025130033493042, -0.2894853353500366, -0.578942060470581, 0.2106286734342575, -0.19378484785556793, -0.6974561214447021, 0.18816785514354706, -0.8679786920547485, 0.27382686734199524, 1.5679187774658203, 0.34196534752845764, 0.07060587406158447, 0.5153854489326477, 1.1217410564422607, 0.40376004576683044, 0.024971382692456245, -0.8804401755332947, -1.5293885469436646, 1.9623754024505615, -1.4187355041503906, 1.8249961137771606, 0.7013305425643921, -0.04548037797212601, -1.7918407917022705, -1.8147650957107544, 1.3067104816436768, 1.1928244829177856, 2.366503953933716, 0.5740844011306763, 0.39516961574554443, -0.7714876532554626, -0.8262544274330139, 0.25526389479637146, -0.9002631306648254, -0.6871918439865112, 0.12261158227920532, 2.3185465335845947, 1.9374796152114868, -0.6660999655723572, -0.3075175881385803, -0.8442531228065491, 1.178252935409546, -0.26593223214149475, 0.2825552225112915, 2.037632703781128, -0.3532123863697052, -0.9759485721588135, 1.3713823556900024, -2.4370436668395996, 0.29180821776390076, 2.0564486980438232, 0.32305198907852173, 0.20693427324295044, -1.4628100395202637, -0.662458062171936, -0.3218095898628235, -0.5119830369949341, -1.267594337463379, 0.6135894060134888, -0.3044750988483429, -0.9704420566558838, -1.4392178058624268, 0.05393463373184204, -1.1291394233703613, -1.7276644706726074, 0.4340512454509735, 1.9422540664672852, 2.15049409866333, -0.8482136130332947, 1.3473724126815796, -0.2698673903942108, 0.01500999741256237, 1.2961472272872925, 1.44448983669281, 3.034043312072754, 1.8294364213943481, -1.2473342418670654, 0.7719606757164001, -0.24618667364120483, -0.5133056044578552, 1.1870923042297363, -1.0944011211395264, 0.961627721786499, -0.28853651881217957, -1.252837896347046, -1.1805698871612549, 1.0575087070465088, 0.5110746622085571, 0.009682774543762207, -0.559158980846405, 1.309502363204956, 0.07048308104276657, 1.2991701364517212, 0.6316542625427246, -0.5217132568359375, 0.4211452305316925, -0.35266146063804626, -0.5830138325691223, 1.6916818618774414, 0.05840107053518295, -1.5468780994415283, -2.376464605331421, -0.17282839119434357, -0.9750375747680664, -0.051502667367458344, -0.6280070543289185, -1.0461407899856567, 1.630173921585083, 0.4461442232131958, -1.1620795726776123, -0.293351411819458, -0.35992178320884705, -0.4308170676231384, 2.6444406509399414, -1.2912144660949707, -0.21702638268470764, -0.9525944590568542, -0.41561728715896606, 1.6415047645568848, -1.1722866296768188, -0.1972012221813202, -1.078072190284729, -0.7603164315223694, -1.339919090270996, -0.46240395307540894, -0.008437849581241608, -0.8345192074775696, 0.7598178386688232, 0.15917493402957916, -1.0814454555511475, -0.24572207033634186, -0.9908379912376404, 1.0686229467391968, -0.17265532910823822, 0.22967039048671722, 1.8679572343826294, 0.27830928564071655, -0.4922586977481842, 0.7279759049415588, 1.3069016933441162, 0.6313452124595642, -0.6829984188079834, -0.013405273668467999, -0.6228224635124207, 0.4335103929042816, -1.4996625185012817, 0.10808328539133072, -3.050750970840454, 0.8540022373199463, -0.14590708911418915, -0.169737309217453, -0.11620517075061798, -1.2644062042236328, 1.1022299528121948, 2.570763349533081, -1.2269343137741089, 0.41159433126449585, 0.49775803089141846, 1.1354360580444336, -1.5477259159088135, 0.15837326645851135, -0.518415093421936, 2.042638063430786, 0.07863138616085052, 1.2618293762207031, -0.5370393991470337, -2.064974069595337, 0.6684971451759338, -1.1470962762832642, -0.9319380521774292, 0.815837025642395, -0.915064811706543, 0.3864271342754364, -1.5084148645401, -0.10433229058980942, -1.005266547203064, -1.2572507858276367, 0.7901540398597717, 0.07226093858480453, 0.2829829156398773, -0.5561901926994324, 0.413760244846344, -2.1168863773345947, -1.3992524147033691, -0.12247753143310547, -1.061444640159607, 0.5971159338951111, -0.4355452060699463, 0.5174747705459595, 0.07270441949367523, 0.12877219915390015, 0.2488880157470703, 1.427308201789856, 3.3753716945648193, 0.11713355779647827, 0.19991761445999146, -0.07929348200559616, -1.0453441143035889, 1.4412440061569214, 0.9680407643318176, -0.08757530152797699, -0.48967981338500977, -1.0059535503387451, 1.4492688179016113, 1.99704909324646, 1.2420318126678467, 0.15701864659786224, -0.9396369457244873, -0.7645467519760132, 0.05250544846057892, 0.24224457144737244, 0.4994087219238281, 0.9816969037055969, -0.09423035383224487, 0.11448143422603607, 1.3823806047439575, 1.1474804878234863, -0.27725329995155334, 0.4441049098968506, -0.9998530149459839, -0.3405264616012573, 0.37484386563301086, 0.1650666445493698, 0.11702927947044373, 0.5362592339515686, -1.0864161252975464, -0.2683333158493042, -0.19291788339614868, -0.7706242203712463, -0.6831967234611511, -0.4217267334461212, -0.3885324001312256, 1.5072838068008423, 0.08844935148954391, -0.5376978516578674, 0.10521672666072845, -0.6690524816513062, -0.11430573463439941, -1.0973860025405884, 0.09169603884220123, -0.11973889172077179, -0.08291957527399063, -0.24157752096652985, 1.5751166343688965, -0.911612331867218, -2.135021924972534, 0.11459223926067352, 0.4850245416164398, -0.40863439440727234, 0.20273993909358978, 1.6986665725708008, 0.5344459414482117, 1.3314931392669678, 1.2982686758041382, 0.994533360004425, -0.5592256188392639, -1.1097776889801025, 0.7037567496299744, 0.9037555456161499, -1.3066561222076416, 1.0011399984359741, -0.3041820228099823, -0.5730090737342834, 0.6914390325546265, 1.4057544469833374, 0.385755717754364, -1.963050365447998, 0.954291045665741, -0.8931469917297363, 0.7975976467132568, 0.6600309610366821, 0.8881970643997192, 0.3427375853061676, 0.9010483026504517, -1.2686160802841187, -1.1591061353683472, -0.7345713973045349, -0.5749954581260681, 1.8437126874923706, -0.1981138437986374, 0.5475021600723267, -0.21562142670154572, -1.1212916374206543, -0.13128958642482758, 0.8200570344924927, 0.3586278557777405, -0.35410210490226746, 0.9910857081413269, -0.5860104560852051, -0.9444340467453003, -1.205928087234497, -0.42489945888519287, -0.9766121506690979, -0.8374645709991455, 1.01987886428833, 0.7694979310035706, 0.5366144180297852, 2.011429786682129, 0.5257236957550049, 0.2970118820667267, -2.5143606662750244, 0.8577268123626709, 0.310787171125412, 0.039934009313583374, 0.8839455246925354, 0.26131412386894226, 1.3218657970428467, -0.03015829250216484, 0.604749321937561, -2.2677838802337646, 2.1218419075012207, -0.1635805070400238, 0.6072900891304016, -0.02606981247663498, -0.17075215280056, 1.1347683668136597, 0.5949164628982544, 0.5764990448951721, -1.1059658527374268, 0.7944180965423584, -0.5871594548225403, 1.0536850690841675, 0.9964296221733093, -0.9170206785202026, 0.14833153784275055, 1.3830962181091309, 0.4739205241203308, -0.44081345200538635, -1.031831979751587, -0.7428030967712402, 1.0710632801055908, 1.6827744245529175, 0.03418833762407303, 0.02271430380642414, 0.8860000371932983, 0.6414245963096619, -1.2294609546661377, -0.008082610554993153, -0.6544274091720581, -0.6215163469314575, 1.8142476081848145, 1.9088350534439087, -0.13631176948547363, -0.18113884329795837, -0.7335491180419922, -1.2876002788543701, 0.6921383738517761, -0.07579275965690613, 0.027377979829907417, 0.798923909664154, -0.7391893863677979, 1.09955632686615, 0.5145204067230225, 0.8972749710083008, -0.13289038836956024, 0.37714970111846924, 0.43048253655433655, -0.40368232131004333, -1.1852633953094482, -0.4271412789821625, -1.0908684730529785, -2.546679735183716, 0.4025777578353882, -0.26996177434921265, -1.430268406867981, 0.03086673654615879, -1.0566229820251465, 0.9702942967414856, -0.5841946005821228, -1.1023014783859253, -1.3600962162017822, 0.4304024875164032, -0.16310112178325653, 0.868311882019043, -1.6279993057250977, -0.23219558596611023, 1.235815405845642, 0.8758074045181274, -0.5579129457473755, 0.9616100192070007, 0.2986762523651123, 0.9332368969917297, 0.7273702025413513, -0.39927759766578674, 0.5553388595581055, -0.03728044778108597, -1.3250346183776855, 0.38141199946403503, 1.2520776987075806, 0.21219247579574585, 1.3425723314285278, -0.40623900294303894, 0.15488497912883759, 0.4368601143360138, -0.6711005568504333, -0.5796352028846741, -0.4239506125450134, 0.6698201894760132, 0.04929843544960022, -1.0725266933441162, -0.245993971824646, -0.15676671266555786, -0.2898140549659729, 0.2146027535200119, -1.4638721942901611, -0.3279684782028198, -0.37032774090766907, -0.33196938037872314, -1.290643572807312, 0.11689701676368713, 1.28717041015625, -0.8287950754165649, -0.31853678822517395, 0.49459755420684814, 0.3656759262084961, 0.5996425151824951, 0.524585485458374, -0.7717669010162354, -0.20099206268787384, -0.39851704239845276, -0.2794254720211029, 0.23099443316459656, 1.1272767782211304, -0.06919152289628983, -1.085112452507019, 0.6471480131149292, -0.3608035445213318, 0.13948093354701996, 2.0308046340942383, -0.0028399680741131306, -0.7063446640968323, 0.3661494851112366, -0.674111545085907, 1.623882532119751, 1.6625334024429321, 1.260269045829773, -0.1374368816614151, -0.678687334060669, 0.5536158680915833, -0.24575412273406982, -0.33036333322525024, 0.8846817016601562, 0.4015200138092041, -0.24021229147911072, -1.5128592252731323, 0.508347749710083, 1.321362018585205, -0.7726930379867554, -0.6879484057426453, 0.09487634897232056, -0.9349000453948975, 1.2416284084320068, 0.582444965839386, 0.2859421372413635, 0.2847909927368164, 1.5412689447402954, 0.682103157043457, -0.47703152894973755, 0.3864686191082001, 0.5651518106460571, -0.2714337706565857, -2.0748038291931152, -1.0282338857650757, 0.20744024217128754, -0.4095441699028015, -1.6067970991134644, 1.2130002975463867, -1.134972333908081, -1.0394333600997925, 0.5041540861129761, 0.1674036830663681, 1.185861349105835, 0.34636732935905457, 1.688722014427185, 2.1370999813079834, 0.8305449485778809, 0.3132503628730774, 1.1499015092849731, -0.030684133991599083, -0.3811642825603485, 1.8834757804870605, -0.39082616567611694, 0.6047833561897278, 0.9708345532417297, -0.377816379070282, -1.104926347732544, -0.8507455587387085, -1.201594352722168, -0.6492767930030823, 1.2066364288330078, 0.13352525234222412, -1.120329737663269, 0.15452411770820618, 1.5240148305892944, 0.1189722865819931, -0.24279753863811493, 0.735278308391571, 0.41596826910972595, -0.687404990196228, 0.00991317443549633, -0.8766892552375793, 0.5186488032341003, -0.08521895110607147, -0.25865352153778076, 0.19318439066410065, 0.6062679886817932, 1.3488069772720337, -0.023630257695913315, 0.20102554559707642, 1.2204917669296265, -1.250807523727417, 1.5771698951721191, -0.5889635682106018, 0.3218457102775574, -2.5799813270568848, 1.3911793231964111, -0.7671913504600525, 1.9812883138656616, -2.522433042526245, 0.42028436064720154, -0.5304840207099915, -0.45781439542770386, 0.33667486906051636, -0.4611990451812744, 0.0699196606874466, -0.073411725461483, -0.9196041822433472, 0.10182065516710281, -0.6803687214851379, 0.5346898436546326, 1.2302833795547485, 1.4639406204223633, -1.1219202280044556, -0.2788693606853485, -1.808442234992981, -0.14367316663265228, -0.8218575716018677, 0.43017151951789856, -2.0037896633148193, -0.2169038951396942, -1.9452846050262451, -2.3145763874053955, -1.4183573722839355, -0.8393747806549072, 1.0314509868621826, 0.13910067081451416, -0.9930553436279297, 1.1637893915176392, -0.38921645283699036, -1.7552976608276367, 1.0418591499328613, -2.238765001296997 ]
https://github.com/huggingface/datasets/issues/3960
Load local dataset error
> Could you please share the output you get after the second loading? Also, feel free to interrupt (`KeyboardInterrupt`) the process while waiting for it to end and share a traceback to show us where the process hangs. > > > And in transformers the [ViT example](https://github.com/huggingface/transformers/blob/main/examples/pytorch/image-classification/run_image_classification.py), could you make some changes ? Like the `collect_fn` > > ```python > > def collate_fn(examples): > > pixel_values = torch.stack([example["pixel_values"] for example in examples]) > > labels = torch.tensor([example["labels"] for example in examples]) > > return {"pixel_values": pixel_values, "labels": labels} > > ``` > > > > > > > > > > > > > > > > > > > > > > > > How to know the keys of example? > > What do you mean by "could you make some changes".The `ViT` script doesn't remove unused columns by default, so the keys of an example are equal to the columns of the given dataset. Thanks for your reply! 1. I did not record the second output, so I run it again. ``` (merak) txacs@master:/dat/txacs/test$ time python test.py Resolving data files: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1281167/1281167 [00:02<00:00, 469497.89it/s] Resolving data files: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 50001/50001 [00:00<00:00, 70123.73it/s] Using custom data configuration default-baebca6347576b33 Reusing dataset image_folder (./image_folder/default-baebca6347576b33/0.0.0/ee92df8e96c6907f3c851a987be3fd03d4b93b247e727b69a8e23ac94392a091) 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:10<00:00, 5.37s/it] Loading cached processed dataset at ./image_folder/default-baebca6347576b33/0.0.0/ee92df8e96c6907f3c851a987be3fd03d4b93b247e727b69a8e23ac94392a091/cache-cd3fbdc025e03f8c.arrow Loading cached processed dataset at ./image_folder/default-baebca6347576b33/0.0.0/ee92df8e96c6907f3c851a987be3fd03d4b93b247e727b69a8e23ac94392a091/cache-b5a9de701bbdbb2b.arrow DatasetDict({ train: Dataset({ features: ['image', 'labels'], num_rows: 1281167 }) validation: Dataset({ features: ['image', 'labels'], num_rows: 50000 }) }) real 10m10.413s user 9m33.195s sys 2m47.528s ``` Although it cost less time than the last, but still slowly. 2. Sorry, forgive my poor statement. I solved it, updating to new script 'run_image_classification.py'.
When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this: ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']} >>> ds = load_dataset('nateraw/image-folder', data_files=data_files, cache_dir='./', task='image-classification') [] https://huggingface.co/datasets/nateraw/image-folder/resolve/main/ /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1671, in load_dataset **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1521, in load_dataset_builder **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 1031, in __init__ super().__init__(*args, **kwargs) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 255, in __init__ sanitize_patterns(data_files), base_path=base_path, use_auth_token=use_auth_token File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 584, in from_local_or_remote if not isinstance(patterns_for_key, DataFilesList) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 546, in from_local_or_remote data_files = resolve_patterns_locally_or_by_urls(base_path, patterns, allowed_extensions) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 196, in resolve_patterns_locally_or_by_urls for path in _resolve_single_pattern_locally(base_path, pattern, allowed_extensions): File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 146, in _resolve_single_pattern_locally raise FileNotFoundError(error_msg) FileNotFoundError: Unable to find '/ssd/datasets/imagenet/pytorch/train' at /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` I need some help to solve the problem, thanks!
875
269
Load local dataset error When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this: ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']} >>> ds = load_dataset('nateraw/image-folder', data_files=data_files, cache_dir='./', task='image-classification') [] https://huggingface.co/datasets/nateraw/image-folder/resolve/main/ /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1671, in load_dataset **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1521, in load_dataset_builder **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 1031, in __init__ super().__init__(*args, **kwargs) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 255, in __init__ sanitize_patterns(data_files), base_path=base_path, use_auth_token=use_auth_token File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 584, in from_local_or_remote if not isinstance(patterns_for_key, DataFilesList) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 546, in from_local_or_remote data_files = resolve_patterns_locally_or_by_urls(base_path, patterns, allowed_extensions) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 196, in resolve_patterns_locally_or_by_urls for path in _resolve_single_pattern_locally(base_path, pattern, allowed_extensions): File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 146, in _resolve_single_pattern_locally raise FileNotFoundError(error_msg) FileNotFoundError: Unable to find '/ssd/datasets/imagenet/pytorch/train' at /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` I need some help to solve the problem, thanks! > Could you please share the output you get after the second loading? Also, feel free to interrupt (`KeyboardInterrupt`) the process while waiting for it to end and share a traceback to show us where the process hangs. > > > And in transformers the [ViT example](https://github.com/huggingface/transformers/blob/main/examples/pytorch/image-classification/run_image_classification.py), could you make some changes ? Like the `collect_fn` > > ```python > > def collate_fn(examples): > > pixel_values = torch.stack([example["pixel_values"] for example in examples]) > > labels = torch.tensor([example["labels"] for example in examples]) > > return {"pixel_values": pixel_values, "labels": labels} > > ``` > > > > > > > > > > > > > > > > > > > > > > > > How to know the keys of example? > > What do you mean by "could you make some changes".The `ViT` script doesn't remove unused columns by default, so the keys of an example are equal to the columns of the given dataset. Thanks for your reply! 1. I did not record the second output, so I run it again. ``` (merak) txacs@master:/dat/txacs/test$ time python test.py Resolving data files: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1281167/1281167 [00:02<00:00, 469497.89it/s] Resolving data files: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 50001/50001 [00:00<00:00, 70123.73it/s] Using custom data configuration default-baebca6347576b33 Reusing dataset image_folder (./image_folder/default-baebca6347576b33/0.0.0/ee92df8e96c6907f3c851a987be3fd03d4b93b247e727b69a8e23ac94392a091) 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:10<00:00, 5.37s/it] Loading cached processed dataset at ./image_folder/default-baebca6347576b33/0.0.0/ee92df8e96c6907f3c851a987be3fd03d4b93b247e727b69a8e23ac94392a091/cache-cd3fbdc025e03f8c.arrow Loading cached processed dataset at ./image_folder/default-baebca6347576b33/0.0.0/ee92df8e96c6907f3c851a987be3fd03d4b93b247e727b69a8e23ac94392a091/cache-b5a9de701bbdbb2b.arrow DatasetDict({ train: Dataset({ features: ['image', 'labels'], num_rows: 1281167 }) validation: Dataset({ features: ['image', 'labels'], num_rows: 50000 }) }) real 10m10.413s user 9m33.195s sys 2m47.528s ``` Although it cost less time than the last, but still slowly. 2. Sorry, forgive my poor statement. I solved it, updating to new script 'run_image_classification.py'.
[ -1.207528829574585, -0.9701337218284607, -0.7928412556648254, 1.3184934854507446, -0.10560372471809387, -1.3390069007873535, 0.09672825783491135, -1.0209842920303345, 1.5425015687942505, -0.6776458024978638, 0.17437316477298737, -1.726853370666504, -0.24187348783016205, -0.5899266600608826, -0.711350679397583, -0.8643127083778381, -0.34338027238845825, -0.9136003255844116, 0.9924539923667908, 2.4815104007720947, 1.3189308643341064, -1.297760009765625, 2.8932807445526123, 0.7193644642829895, -0.22631648182868958, -1.003702998161316, 0.5854151248931885, -0.04699177294969559, -1.1820601224899292, -0.5108678936958313, -0.9042526483535767, 0.06802508980035782, -0.6130844354629517, -0.37578722834587097, 0.11527521908283234, 0.42887231707572937, -0.26260852813720703, -0.22790993750095367, -0.7020912170410156, -0.6616514921188354, 0.471530944108963, -0.3405846655368805, 1.0018888711929321, -0.32249611616134644, 1.651899814605713, -0.5634865164756775, 0.28482118248939514, 0.6820297241210938, 1.2995131015777588, 0.17748023569583893, 0.1493748426437378, 0.2395777404308319, 0.23092316091060638, -0.04917242377996445, 0.6238452792167664, 1.339795470237732, 0.5716745853424072, 0.49373018741607666, 0.691685676574707, -2.2474050521850586, 1.263312816619873, -0.8644827604293823, 0.29945945739746094, 1.3727766275405884, -0.7834214568138123, 0.3633880317211151, -1.824187994003296, -0.04448608309030533, 0.6739946603775024, -2.3489468097686768, 0.2665894329547882, -1.2430472373962402, -0.5165116190910339, 0.8026397228240967, 0.3029327392578125, -1.2653402090072632, 0.24033817648887634, -0.5392549633979797, 1.1280640363693237, 0.515282154083252, 1.1593321561813354, -1.7004414796829224, 0.008698668330907822, -0.09136790037155151, 0.08300093561410904, -1.2657644748687744, -1.7138499021530151, 0.5707083940505981, 0.5422394275665283, 0.7686678767204285, -0.09368667006492615, 1.0240364074707031, -1.0649163722991943, 0.7924526929855347, -0.9301970601081848, -1.5372092723846436, -1.4141888618469238, -2.441061496734619, -2.239694356918335, 0.7951302528381348, -0.5601117014884949, -0.4904126226902008, 1.9361655712127686, -0.9340954422950745, -1.84653639793396, 0.9983311295509338, 0.3907771408557892, 0.13381248712539673, 2.3606531620025635, 0.26118290424346924, -0.7848421931266785, 0.4362173080444336, -0.6946799755096436, 0.8552590608596802, -0.2225625365972519, 1.3900763988494873, 0.49974387884140015, -0.8902368545532227, 1.7143528461456299, -0.5722930431365967, 0.6067995429039001, -0.674263596534729, -0.4867730736732483, -0.8926899433135986, 0.252000629901886, 1.8172054290771484, -0.36671555042266846, 1.583909511566162, -0.34284403920173645, -1.6025828123092651, -1.6012659072875977, 0.780291736125946, 0.4980784058570862, -0.9339868426322937, 0.05343034118413925, -0.5161754488945007, 0.2248087227344513, 0.03949805349111557, 1.116297721862793, 1.160731315612793, 0.6094004511833191, -0.2885153889656067, -0.8476375937461853, 0.27782687544822693, -0.14261889457702637, -0.7116512060165405, -1.8636242151260376, -0.30317139625549316, 0.34239864349365234, 0.6470516920089722, -1.293697476387024, 1.8051741123199463, 0.8418681025505066, 2.1264967918395996, 0.93654865026474, -0.4101339280605316, 1.4526621103286743, -0.04001660272479057, 1.8069535493850708, -0.5941004157066345, 0.5893980264663696, -0.30003243684768677, -1.1138640642166138, 0.9000013470649719, -0.47666439414024353, -2.002927541732788, -0.822783887386322, -0.7868990898132324, -0.17489425837993622, -0.6914815902709961, 0.8266828656196594, -0.3777218759059906, -1.4257545471191406, 0.07274767756462097, -0.6654995679855347, 0.14822889864444733, -1.2958731651306152, 0.0620044469833374, 0.7764599919319153, -0.7258098721504211, -0.1533789336681366, -0.2760060727596283, -1.3103578090667725, -0.4751476049423218, 0.30741721391677856, 2.066683530807495, -0.5465802550315857, 0.9178639650344849, 0.9711793065071106, -0.7938008904457092, 0.21145163476467133, 0.2158678025007248, -0.24913665652275085, 0.7607453465461731, -1.1329306364059448, -0.4505683183670044, 1.1014732122421265, -0.1703476905822754, -0.6966395974159241, 1.5023795366287231, 0.926374614238739, -1.1887340545654297, -0.28603631258010864, -0.2483939677476883, -0.79522705078125, -0.03723888844251633, -1.4757956266403198, -0.18641091883182526, 0.3030402362346649, -1.459323763847351, -0.39940425753593445, -0.20762358605861664, 1.3971043825149536, -0.20587493479251862, 1.4482457637786865, -0.26590660214424133, -0.18025130033493042, -0.2894853353500366, -0.578942060470581, 0.2106286734342575, -0.19378484785556793, -0.6974561214447021, 0.18816785514354706, -0.8679786920547485, 0.27382686734199524, 1.5679187774658203, 0.34196534752845764, 0.07060587406158447, 0.5153854489326477, 1.1217410564422607, 0.40376004576683044, 0.024971382692456245, -0.8804401755332947, -1.5293885469436646, 1.9623754024505615, -1.4187355041503906, 1.8249961137771606, 0.7013305425643921, -0.04548037797212601, -1.7918407917022705, -1.8147650957107544, 1.3067104816436768, 1.1928244829177856, 2.366503953933716, 0.5740844011306763, 0.39516961574554443, -0.7714876532554626, -0.8262544274330139, 0.25526389479637146, -0.9002631306648254, -0.6871918439865112, 0.12261158227920532, 2.3185465335845947, 1.9374796152114868, -0.6660999655723572, -0.3075175881385803, -0.8442531228065491, 1.178252935409546, -0.26593223214149475, 0.2825552225112915, 2.037632703781128, -0.3532123863697052, -0.9759485721588135, 1.3713823556900024, -2.4370436668395996, 0.29180821776390076, 2.0564486980438232, 0.32305198907852173, 0.20693427324295044, -1.4628100395202637, -0.662458062171936, -0.3218095898628235, -0.5119830369949341, -1.267594337463379, 0.6135894060134888, -0.3044750988483429, -0.9704420566558838, -1.4392178058624268, 0.05393463373184204, -1.1291394233703613, -1.7276644706726074, 0.4340512454509735, 1.9422540664672852, 2.15049409866333, -0.8482136130332947, 1.3473724126815796, -0.2698673903942108, 0.01500999741256237, 1.2961472272872925, 1.44448983669281, 3.034043312072754, 1.8294364213943481, -1.2473342418670654, 0.7719606757164001, -0.24618667364120483, -0.5133056044578552, 1.1870923042297363, -1.0944011211395264, 0.961627721786499, -0.28853651881217957, -1.252837896347046, -1.1805698871612549, 1.0575087070465088, 0.5110746622085571, 0.009682774543762207, -0.559158980846405, 1.309502363204956, 0.07048308104276657, 1.2991701364517212, 0.6316542625427246, -0.5217132568359375, 0.4211452305316925, -0.35266146063804626, -0.5830138325691223, 1.6916818618774414, 0.05840107053518295, -1.5468780994415283, -2.376464605331421, -0.17282839119434357, -0.9750375747680664, -0.051502667367458344, -0.6280070543289185, -1.0461407899856567, 1.630173921585083, 0.4461442232131958, -1.1620795726776123, -0.293351411819458, -0.35992178320884705, -0.4308170676231384, 2.6444406509399414, -1.2912144660949707, -0.21702638268470764, -0.9525944590568542, -0.41561728715896606, 1.6415047645568848, -1.1722866296768188, -0.1972012221813202, -1.078072190284729, -0.7603164315223694, -1.339919090270996, -0.46240395307540894, -0.008437849581241608, -0.8345192074775696, 0.7598178386688232, 0.15917493402957916, -1.0814454555511475, -0.24572207033634186, -0.9908379912376404, 1.0686229467391968, -0.17265532910823822, 0.22967039048671722, 1.8679572343826294, 0.27830928564071655, -0.4922586977481842, 0.7279759049415588, 1.3069016933441162, 0.6313452124595642, -0.6829984188079834, -0.013405273668467999, -0.6228224635124207, 0.4335103929042816, -1.4996625185012817, 0.10808328539133072, -3.050750970840454, 0.8540022373199463, -0.14590708911418915, -0.169737309217453, -0.11620517075061798, -1.2644062042236328, 1.1022299528121948, 2.570763349533081, -1.2269343137741089, 0.41159433126449585, 0.49775803089141846, 1.1354360580444336, -1.5477259159088135, 0.15837326645851135, -0.518415093421936, 2.042638063430786, 0.07863138616085052, 1.2618293762207031, -0.5370393991470337, -2.064974069595337, 0.6684971451759338, -1.1470962762832642, -0.9319380521774292, 0.815837025642395, -0.915064811706543, 0.3864271342754364, -1.5084148645401, -0.10433229058980942, -1.005266547203064, -1.2572507858276367, 0.7901540398597717, 0.07226093858480453, 0.2829829156398773, -0.5561901926994324, 0.413760244846344, -2.1168863773345947, -1.3992524147033691, -0.12247753143310547, -1.061444640159607, 0.5971159338951111, -0.4355452060699463, 0.5174747705459595, 0.07270441949367523, 0.12877219915390015, 0.2488880157470703, 1.427308201789856, 3.3753716945648193, 0.11713355779647827, 0.19991761445999146, -0.07929348200559616, -1.0453441143035889, 1.4412440061569214, 0.9680407643318176, -0.08757530152797699, -0.48967981338500977, -1.0059535503387451, 1.4492688179016113, 1.99704909324646, 1.2420318126678467, 0.15701864659786224, -0.9396369457244873, -0.7645467519760132, 0.05250544846057892, 0.24224457144737244, 0.4994087219238281, 0.9816969037055969, -0.09423035383224487, 0.11448143422603607, 1.3823806047439575, 1.1474804878234863, -0.27725329995155334, 0.4441049098968506, -0.9998530149459839, -0.3405264616012573, 0.37484386563301086, 0.1650666445493698, 0.11702927947044373, 0.5362592339515686, -1.0864161252975464, -0.2683333158493042, -0.19291788339614868, -0.7706242203712463, -0.6831967234611511, -0.4217267334461212, -0.3885324001312256, 1.5072838068008423, 0.08844935148954391, -0.5376978516578674, 0.10521672666072845, -0.6690524816513062, -0.11430573463439941, -1.0973860025405884, 0.09169603884220123, -0.11973889172077179, -0.08291957527399063, -0.24157752096652985, 1.5751166343688965, -0.911612331867218, -2.135021924972534, 0.11459223926067352, 0.4850245416164398, -0.40863439440727234, 0.20273993909358978, 1.6986665725708008, 0.5344459414482117, 1.3314931392669678, 1.2982686758041382, 0.994533360004425, -0.5592256188392639, -1.1097776889801025, 0.7037567496299744, 0.9037555456161499, -1.3066561222076416, 1.0011399984359741, -0.3041820228099823, -0.5730090737342834, 0.6914390325546265, 1.4057544469833374, 0.385755717754364, -1.963050365447998, 0.954291045665741, -0.8931469917297363, 0.7975976467132568, 0.6600309610366821, 0.8881970643997192, 0.3427375853061676, 0.9010483026504517, -1.2686160802841187, -1.1591061353683472, -0.7345713973045349, -0.5749954581260681, 1.8437126874923706, -0.1981138437986374, 0.5475021600723267, -0.21562142670154572, -1.1212916374206543, -0.13128958642482758, 0.8200570344924927, 0.3586278557777405, -0.35410210490226746, 0.9910857081413269, -0.5860104560852051, -0.9444340467453003, -1.205928087234497, -0.42489945888519287, -0.9766121506690979, -0.8374645709991455, 1.01987886428833, 0.7694979310035706, 0.5366144180297852, 2.011429786682129, 0.5257236957550049, 0.2970118820667267, -2.5143606662750244, 0.8577268123626709, 0.310787171125412, 0.039934009313583374, 0.8839455246925354, 0.26131412386894226, 1.3218657970428467, -0.03015829250216484, 0.604749321937561, -2.2677838802337646, 2.1218419075012207, -0.1635805070400238, 0.6072900891304016, -0.02606981247663498, -0.17075215280056, 1.1347683668136597, 0.5949164628982544, 0.5764990448951721, -1.1059658527374268, 0.7944180965423584, -0.5871594548225403, 1.0536850690841675, 0.9964296221733093, -0.9170206785202026, 0.14833153784275055, 1.3830962181091309, 0.4739205241203308, -0.44081345200538635, -1.031831979751587, -0.7428030967712402, 1.0710632801055908, 1.6827744245529175, 0.03418833762407303, 0.02271430380642414, 0.8860000371932983, 0.6414245963096619, -1.2294609546661377, -0.008082610554993153, -0.6544274091720581, -0.6215163469314575, 1.8142476081848145, 1.9088350534439087, -0.13631176948547363, -0.18113884329795837, -0.7335491180419922, -1.2876002788543701, 0.6921383738517761, -0.07579275965690613, 0.027377979829907417, 0.798923909664154, -0.7391893863677979, 1.09955632686615, 0.5145204067230225, 0.8972749710083008, -0.13289038836956024, 0.37714970111846924, 0.43048253655433655, -0.40368232131004333, -1.1852633953094482, -0.4271412789821625, -1.0908684730529785, -2.546679735183716, 0.4025777578353882, -0.26996177434921265, -1.430268406867981, 0.03086673654615879, -1.0566229820251465, 0.9702942967414856, -0.5841946005821228, -1.1023014783859253, -1.3600962162017822, 0.4304024875164032, -0.16310112178325653, 0.868311882019043, -1.6279993057250977, -0.23219558596611023, 1.235815405845642, 0.8758074045181274, -0.5579129457473755, 0.9616100192070007, 0.2986762523651123, 0.9332368969917297, 0.7273702025413513, -0.39927759766578674, 0.5553388595581055, -0.03728044778108597, -1.3250346183776855, 0.38141199946403503, 1.2520776987075806, 0.21219247579574585, 1.3425723314285278, -0.40623900294303894, 0.15488497912883759, 0.4368601143360138, -0.6711005568504333, -0.5796352028846741, -0.4239506125450134, 0.6698201894760132, 0.04929843544960022, -1.0725266933441162, -0.245993971824646, -0.15676671266555786, -0.2898140549659729, 0.2146027535200119, -1.4638721942901611, -0.3279684782028198, -0.37032774090766907, -0.33196938037872314, -1.290643572807312, 0.11689701676368713, 1.28717041015625, -0.8287950754165649, -0.31853678822517395, 0.49459755420684814, 0.3656759262084961, 0.5996425151824951, 0.524585485458374, -0.7717669010162354, -0.20099206268787384, -0.39851704239845276, -0.2794254720211029, 0.23099443316459656, 1.1272767782211304, -0.06919152289628983, -1.085112452507019, 0.6471480131149292, -0.3608035445213318, 0.13948093354701996, 2.0308046340942383, -0.0028399680741131306, -0.7063446640968323, 0.3661494851112366, -0.674111545085907, 1.623882532119751, 1.6625334024429321, 1.260269045829773, -0.1374368816614151, -0.678687334060669, 0.5536158680915833, -0.24575412273406982, -0.33036333322525024, 0.8846817016601562, 0.4015200138092041, -0.24021229147911072, -1.5128592252731323, 0.508347749710083, 1.321362018585205, -0.7726930379867554, -0.6879484057426453, 0.09487634897232056, -0.9349000453948975, 1.2416284084320068, 0.582444965839386, 0.2859421372413635, 0.2847909927368164, 1.5412689447402954, 0.682103157043457, -0.47703152894973755, 0.3864686191082001, 0.5651518106460571, -0.2714337706565857, -2.0748038291931152, -1.0282338857650757, 0.20744024217128754, -0.4095441699028015, -1.6067970991134644, 1.2130002975463867, -1.134972333908081, -1.0394333600997925, 0.5041540861129761, 0.1674036830663681, 1.185861349105835, 0.34636732935905457, 1.688722014427185, 2.1370999813079834, 0.8305449485778809, 0.3132503628730774, 1.1499015092849731, -0.030684133991599083, -0.3811642825603485, 1.8834757804870605, -0.39082616567611694, 0.6047833561897278, 0.9708345532417297, -0.377816379070282, -1.104926347732544, -0.8507455587387085, -1.201594352722168, -0.6492767930030823, 1.2066364288330078, 0.13352525234222412, -1.120329737663269, 0.15452411770820618, 1.5240148305892944, 0.1189722865819931, -0.24279753863811493, 0.735278308391571, 0.41596826910972595, -0.687404990196228, 0.00991317443549633, -0.8766892552375793, 0.5186488032341003, -0.08521895110607147, -0.25865352153778076, 0.19318439066410065, 0.6062679886817932, 1.3488069772720337, -0.023630257695913315, 0.20102554559707642, 1.2204917669296265, -1.250807523727417, 1.5771698951721191, -0.5889635682106018, 0.3218457102775574, -2.5799813270568848, 1.3911793231964111, -0.7671913504600525, 1.9812883138656616, -2.522433042526245, 0.42028436064720154, -0.5304840207099915, -0.45781439542770386, 0.33667486906051636, -0.4611990451812744, 0.0699196606874466, -0.073411725461483, -0.9196041822433472, 0.10182065516710281, -0.6803687214851379, 0.5346898436546326, 1.2302833795547485, 1.4639406204223633, -1.1219202280044556, -0.2788693606853485, -1.808442234992981, -0.14367316663265228, -0.8218575716018677, 0.43017151951789856, -2.0037896633148193, -0.2169038951396942, -1.9452846050262451, -2.3145763874053955, -1.4183573722839355, -0.8393747806549072, 1.0314509868621826, 0.13910067081451416, -0.9930553436279297, 1.1637893915176392, -0.38921645283699036, -1.7552976608276367, 1.0418591499328613, -2.238765001296997 ]
https://github.com/huggingface/datasets/issues/3960
Load local dataset error
Thanks for rerunning the code to record the output. Is it the `"Resolving data files"` part on your machine that takes a long time to complete, or is it `"Loading cached processed dataset at ..."˙`? We plan to speed up the latter by splitting bigger Arrow files into smaller ones, but your dataset doesn't seem that big, so not sure if that's the issue.
When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this: ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']} >>> ds = load_dataset('nateraw/image-folder', data_files=data_files, cache_dir='./', task='image-classification') [] https://huggingface.co/datasets/nateraw/image-folder/resolve/main/ /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1671, in load_dataset **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1521, in load_dataset_builder **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 1031, in __init__ super().__init__(*args, **kwargs) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 255, in __init__ sanitize_patterns(data_files), base_path=base_path, use_auth_token=use_auth_token File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 584, in from_local_or_remote if not isinstance(patterns_for_key, DataFilesList) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 546, in from_local_or_remote data_files = resolve_patterns_locally_or_by_urls(base_path, patterns, allowed_extensions) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 196, in resolve_patterns_locally_or_by_urls for path in _resolve_single_pattern_locally(base_path, pattern, allowed_extensions): File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 146, in _resolve_single_pattern_locally raise FileNotFoundError(error_msg) FileNotFoundError: Unable to find '/ssd/datasets/imagenet/pytorch/train' at /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` I need some help to solve the problem, thanks!
875
64
Load local dataset error When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this: ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']} >>> ds = load_dataset('nateraw/image-folder', data_files=data_files, cache_dir='./', task='image-classification') [] https://huggingface.co/datasets/nateraw/image-folder/resolve/main/ /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1671, in load_dataset **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1521, in load_dataset_builder **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 1031, in __init__ super().__init__(*args, **kwargs) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 255, in __init__ sanitize_patterns(data_files), base_path=base_path, use_auth_token=use_auth_token File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 584, in from_local_or_remote if not isinstance(patterns_for_key, DataFilesList) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 546, in from_local_or_remote data_files = resolve_patterns_locally_or_by_urls(base_path, patterns, allowed_extensions) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 196, in resolve_patterns_locally_or_by_urls for path in _resolve_single_pattern_locally(base_path, pattern, allowed_extensions): File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 146, in _resolve_single_pattern_locally raise FileNotFoundError(error_msg) FileNotFoundError: Unable to find '/ssd/datasets/imagenet/pytorch/train' at /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` I need some help to solve the problem, thanks! Thanks for rerunning the code to record the output. Is it the `"Resolving data files"` part on your machine that takes a long time to complete, or is it `"Loading cached processed dataset at ..."˙`? We plan to speed up the latter by splitting bigger Arrow files into smaller ones, but your dataset doesn't seem that big, so not sure if that's the issue.
[ -1.207528829574585, -0.9701337218284607, -0.7928412556648254, 1.3184934854507446, -0.10560372471809387, -1.3390069007873535, 0.09672825783491135, -1.0209842920303345, 1.5425015687942505, -0.6776458024978638, 0.17437316477298737, -1.726853370666504, -0.24187348783016205, -0.5899266600608826, -0.711350679397583, -0.8643127083778381, -0.34338027238845825, -0.9136003255844116, 0.9924539923667908, 2.4815104007720947, 1.3189308643341064, -1.297760009765625, 2.8932807445526123, 0.7193644642829895, -0.22631648182868958, -1.003702998161316, 0.5854151248931885, -0.04699177294969559, -1.1820601224899292, -0.5108678936958313, -0.9042526483535767, 0.06802508980035782, -0.6130844354629517, -0.37578722834587097, 0.11527521908283234, 0.42887231707572937, -0.26260852813720703, -0.22790993750095367, -0.7020912170410156, -0.6616514921188354, 0.471530944108963, -0.3405846655368805, 1.0018888711929321, -0.32249611616134644, 1.651899814605713, -0.5634865164756775, 0.28482118248939514, 0.6820297241210938, 1.2995131015777588, 0.17748023569583893, 0.1493748426437378, 0.2395777404308319, 0.23092316091060638, -0.04917242377996445, 0.6238452792167664, 1.339795470237732, 0.5716745853424072, 0.49373018741607666, 0.691685676574707, -2.2474050521850586, 1.263312816619873, -0.8644827604293823, 0.29945945739746094, 1.3727766275405884, -0.7834214568138123, 0.3633880317211151, -1.824187994003296, -0.04448608309030533, 0.6739946603775024, -2.3489468097686768, 0.2665894329547882, -1.2430472373962402, -0.5165116190910339, 0.8026397228240967, 0.3029327392578125, -1.2653402090072632, 0.24033817648887634, -0.5392549633979797, 1.1280640363693237, 0.515282154083252, 1.1593321561813354, -1.7004414796829224, 0.008698668330907822, -0.09136790037155151, 0.08300093561410904, -1.2657644748687744, -1.7138499021530151, 0.5707083940505981, 0.5422394275665283, 0.7686678767204285, -0.09368667006492615, 1.0240364074707031, -1.0649163722991943, 0.7924526929855347, -0.9301970601081848, -1.5372092723846436, -1.4141888618469238, -2.441061496734619, -2.239694356918335, 0.7951302528381348, -0.5601117014884949, -0.4904126226902008, 1.9361655712127686, -0.9340954422950745, -1.84653639793396, 0.9983311295509338, 0.3907771408557892, 0.13381248712539673, 2.3606531620025635, 0.26118290424346924, -0.7848421931266785, 0.4362173080444336, -0.6946799755096436, 0.8552590608596802, -0.2225625365972519, 1.3900763988494873, 0.49974387884140015, -0.8902368545532227, 1.7143528461456299, -0.5722930431365967, 0.6067995429039001, -0.674263596534729, -0.4867730736732483, -0.8926899433135986, 0.252000629901886, 1.8172054290771484, -0.36671555042266846, 1.583909511566162, -0.34284403920173645, -1.6025828123092651, -1.6012659072875977, 0.780291736125946, 0.4980784058570862, -0.9339868426322937, 0.05343034118413925, -0.5161754488945007, 0.2248087227344513, 0.03949805349111557, 1.116297721862793, 1.160731315612793, 0.6094004511833191, -0.2885153889656067, -0.8476375937461853, 0.27782687544822693, -0.14261889457702637, -0.7116512060165405, -1.8636242151260376, -0.30317139625549316, 0.34239864349365234, 0.6470516920089722, -1.293697476387024, 1.8051741123199463, 0.8418681025505066, 2.1264967918395996, 0.93654865026474, -0.4101339280605316, 1.4526621103286743, -0.04001660272479057, 1.8069535493850708, -0.5941004157066345, 0.5893980264663696, -0.30003243684768677, -1.1138640642166138, 0.9000013470649719, -0.47666439414024353, -2.002927541732788, -0.822783887386322, -0.7868990898132324, -0.17489425837993622, -0.6914815902709961, 0.8266828656196594, -0.3777218759059906, -1.4257545471191406, 0.07274767756462097, -0.6654995679855347, 0.14822889864444733, -1.2958731651306152, 0.0620044469833374, 0.7764599919319153, -0.7258098721504211, -0.1533789336681366, -0.2760060727596283, -1.3103578090667725, -0.4751476049423218, 0.30741721391677856, 2.066683530807495, -0.5465802550315857, 0.9178639650344849, 0.9711793065071106, -0.7938008904457092, 0.21145163476467133, 0.2158678025007248, -0.24913665652275085, 0.7607453465461731, -1.1329306364059448, -0.4505683183670044, 1.1014732122421265, -0.1703476905822754, -0.6966395974159241, 1.5023795366287231, 0.926374614238739, -1.1887340545654297, -0.28603631258010864, -0.2483939677476883, -0.79522705078125, -0.03723888844251633, -1.4757956266403198, -0.18641091883182526, 0.3030402362346649, -1.459323763847351, -0.39940425753593445, -0.20762358605861664, 1.3971043825149536, -0.20587493479251862, 1.4482457637786865, -0.26590660214424133, -0.18025130033493042, -0.2894853353500366, -0.578942060470581, 0.2106286734342575, -0.19378484785556793, -0.6974561214447021, 0.18816785514354706, -0.8679786920547485, 0.27382686734199524, 1.5679187774658203, 0.34196534752845764, 0.07060587406158447, 0.5153854489326477, 1.1217410564422607, 0.40376004576683044, 0.024971382692456245, -0.8804401755332947, -1.5293885469436646, 1.9623754024505615, -1.4187355041503906, 1.8249961137771606, 0.7013305425643921, -0.04548037797212601, -1.7918407917022705, -1.8147650957107544, 1.3067104816436768, 1.1928244829177856, 2.366503953933716, 0.5740844011306763, 0.39516961574554443, -0.7714876532554626, -0.8262544274330139, 0.25526389479637146, -0.9002631306648254, -0.6871918439865112, 0.12261158227920532, 2.3185465335845947, 1.9374796152114868, -0.6660999655723572, -0.3075175881385803, -0.8442531228065491, 1.178252935409546, -0.26593223214149475, 0.2825552225112915, 2.037632703781128, -0.3532123863697052, -0.9759485721588135, 1.3713823556900024, -2.4370436668395996, 0.29180821776390076, 2.0564486980438232, 0.32305198907852173, 0.20693427324295044, -1.4628100395202637, -0.662458062171936, -0.3218095898628235, -0.5119830369949341, -1.267594337463379, 0.6135894060134888, -0.3044750988483429, -0.9704420566558838, -1.4392178058624268, 0.05393463373184204, -1.1291394233703613, -1.7276644706726074, 0.4340512454509735, 1.9422540664672852, 2.15049409866333, -0.8482136130332947, 1.3473724126815796, -0.2698673903942108, 0.01500999741256237, 1.2961472272872925, 1.44448983669281, 3.034043312072754, 1.8294364213943481, -1.2473342418670654, 0.7719606757164001, -0.24618667364120483, -0.5133056044578552, 1.1870923042297363, -1.0944011211395264, 0.961627721786499, -0.28853651881217957, -1.252837896347046, -1.1805698871612549, 1.0575087070465088, 0.5110746622085571, 0.009682774543762207, -0.559158980846405, 1.309502363204956, 0.07048308104276657, 1.2991701364517212, 0.6316542625427246, -0.5217132568359375, 0.4211452305316925, -0.35266146063804626, -0.5830138325691223, 1.6916818618774414, 0.05840107053518295, -1.5468780994415283, -2.376464605331421, -0.17282839119434357, -0.9750375747680664, -0.051502667367458344, -0.6280070543289185, -1.0461407899856567, 1.630173921585083, 0.4461442232131958, -1.1620795726776123, -0.293351411819458, -0.35992178320884705, -0.4308170676231384, 2.6444406509399414, -1.2912144660949707, -0.21702638268470764, -0.9525944590568542, -0.41561728715896606, 1.6415047645568848, -1.1722866296768188, -0.1972012221813202, -1.078072190284729, -0.7603164315223694, -1.339919090270996, -0.46240395307540894, -0.008437849581241608, -0.8345192074775696, 0.7598178386688232, 0.15917493402957916, -1.0814454555511475, -0.24572207033634186, -0.9908379912376404, 1.0686229467391968, -0.17265532910823822, 0.22967039048671722, 1.8679572343826294, 0.27830928564071655, -0.4922586977481842, 0.7279759049415588, 1.3069016933441162, 0.6313452124595642, -0.6829984188079834, -0.013405273668467999, -0.6228224635124207, 0.4335103929042816, -1.4996625185012817, 0.10808328539133072, -3.050750970840454, 0.8540022373199463, -0.14590708911418915, -0.169737309217453, -0.11620517075061798, -1.2644062042236328, 1.1022299528121948, 2.570763349533081, -1.2269343137741089, 0.41159433126449585, 0.49775803089141846, 1.1354360580444336, -1.5477259159088135, 0.15837326645851135, -0.518415093421936, 2.042638063430786, 0.07863138616085052, 1.2618293762207031, -0.5370393991470337, -2.064974069595337, 0.6684971451759338, -1.1470962762832642, -0.9319380521774292, 0.815837025642395, -0.915064811706543, 0.3864271342754364, -1.5084148645401, -0.10433229058980942, -1.005266547203064, -1.2572507858276367, 0.7901540398597717, 0.07226093858480453, 0.2829829156398773, -0.5561901926994324, 0.413760244846344, -2.1168863773345947, -1.3992524147033691, -0.12247753143310547, -1.061444640159607, 0.5971159338951111, -0.4355452060699463, 0.5174747705459595, 0.07270441949367523, 0.12877219915390015, 0.2488880157470703, 1.427308201789856, 3.3753716945648193, 0.11713355779647827, 0.19991761445999146, -0.07929348200559616, -1.0453441143035889, 1.4412440061569214, 0.9680407643318176, -0.08757530152797699, -0.48967981338500977, -1.0059535503387451, 1.4492688179016113, 1.99704909324646, 1.2420318126678467, 0.15701864659786224, -0.9396369457244873, -0.7645467519760132, 0.05250544846057892, 0.24224457144737244, 0.4994087219238281, 0.9816969037055969, -0.09423035383224487, 0.11448143422603607, 1.3823806047439575, 1.1474804878234863, -0.27725329995155334, 0.4441049098968506, -0.9998530149459839, -0.3405264616012573, 0.37484386563301086, 0.1650666445493698, 0.11702927947044373, 0.5362592339515686, -1.0864161252975464, -0.2683333158493042, -0.19291788339614868, -0.7706242203712463, -0.6831967234611511, -0.4217267334461212, -0.3885324001312256, 1.5072838068008423, 0.08844935148954391, -0.5376978516578674, 0.10521672666072845, -0.6690524816513062, -0.11430573463439941, -1.0973860025405884, 0.09169603884220123, -0.11973889172077179, -0.08291957527399063, -0.24157752096652985, 1.5751166343688965, -0.911612331867218, -2.135021924972534, 0.11459223926067352, 0.4850245416164398, -0.40863439440727234, 0.20273993909358978, 1.6986665725708008, 0.5344459414482117, 1.3314931392669678, 1.2982686758041382, 0.994533360004425, -0.5592256188392639, -1.1097776889801025, 0.7037567496299744, 0.9037555456161499, -1.3066561222076416, 1.0011399984359741, -0.3041820228099823, -0.5730090737342834, 0.6914390325546265, 1.4057544469833374, 0.385755717754364, -1.963050365447998, 0.954291045665741, -0.8931469917297363, 0.7975976467132568, 0.6600309610366821, 0.8881970643997192, 0.3427375853061676, 0.9010483026504517, -1.2686160802841187, -1.1591061353683472, -0.7345713973045349, -0.5749954581260681, 1.8437126874923706, -0.1981138437986374, 0.5475021600723267, -0.21562142670154572, -1.1212916374206543, -0.13128958642482758, 0.8200570344924927, 0.3586278557777405, -0.35410210490226746, 0.9910857081413269, -0.5860104560852051, -0.9444340467453003, -1.205928087234497, -0.42489945888519287, -0.9766121506690979, -0.8374645709991455, 1.01987886428833, 0.7694979310035706, 0.5366144180297852, 2.011429786682129, 0.5257236957550049, 0.2970118820667267, -2.5143606662750244, 0.8577268123626709, 0.310787171125412, 0.039934009313583374, 0.8839455246925354, 0.26131412386894226, 1.3218657970428467, -0.03015829250216484, 0.604749321937561, -2.2677838802337646, 2.1218419075012207, -0.1635805070400238, 0.6072900891304016, -0.02606981247663498, -0.17075215280056, 1.1347683668136597, 0.5949164628982544, 0.5764990448951721, -1.1059658527374268, 0.7944180965423584, -0.5871594548225403, 1.0536850690841675, 0.9964296221733093, -0.9170206785202026, 0.14833153784275055, 1.3830962181091309, 0.4739205241203308, -0.44081345200538635, -1.031831979751587, -0.7428030967712402, 1.0710632801055908, 1.6827744245529175, 0.03418833762407303, 0.02271430380642414, 0.8860000371932983, 0.6414245963096619, -1.2294609546661377, -0.008082610554993153, -0.6544274091720581, -0.6215163469314575, 1.8142476081848145, 1.9088350534439087, -0.13631176948547363, -0.18113884329795837, -0.7335491180419922, -1.2876002788543701, 0.6921383738517761, -0.07579275965690613, 0.027377979829907417, 0.798923909664154, -0.7391893863677979, 1.09955632686615, 0.5145204067230225, 0.8972749710083008, -0.13289038836956024, 0.37714970111846924, 0.43048253655433655, -0.40368232131004333, -1.1852633953094482, -0.4271412789821625, -1.0908684730529785, -2.546679735183716, 0.4025777578353882, -0.26996177434921265, -1.430268406867981, 0.03086673654615879, -1.0566229820251465, 0.9702942967414856, -0.5841946005821228, -1.1023014783859253, -1.3600962162017822, 0.4304024875164032, -0.16310112178325653, 0.868311882019043, -1.6279993057250977, -0.23219558596611023, 1.235815405845642, 0.8758074045181274, -0.5579129457473755, 0.9616100192070007, 0.2986762523651123, 0.9332368969917297, 0.7273702025413513, -0.39927759766578674, 0.5553388595581055, -0.03728044778108597, -1.3250346183776855, 0.38141199946403503, 1.2520776987075806, 0.21219247579574585, 1.3425723314285278, -0.40623900294303894, 0.15488497912883759, 0.4368601143360138, -0.6711005568504333, -0.5796352028846741, -0.4239506125450134, 0.6698201894760132, 0.04929843544960022, -1.0725266933441162, -0.245993971824646, -0.15676671266555786, -0.2898140549659729, 0.2146027535200119, -1.4638721942901611, -0.3279684782028198, -0.37032774090766907, -0.33196938037872314, -1.290643572807312, 0.11689701676368713, 1.28717041015625, -0.8287950754165649, -0.31853678822517395, 0.49459755420684814, 0.3656759262084961, 0.5996425151824951, 0.524585485458374, -0.7717669010162354, -0.20099206268787384, -0.39851704239845276, -0.2794254720211029, 0.23099443316459656, 1.1272767782211304, -0.06919152289628983, -1.085112452507019, 0.6471480131149292, -0.3608035445213318, 0.13948093354701996, 2.0308046340942383, -0.0028399680741131306, -0.7063446640968323, 0.3661494851112366, -0.674111545085907, 1.623882532119751, 1.6625334024429321, 1.260269045829773, -0.1374368816614151, -0.678687334060669, 0.5536158680915833, -0.24575412273406982, -0.33036333322525024, 0.8846817016601562, 0.4015200138092041, -0.24021229147911072, -1.5128592252731323, 0.508347749710083, 1.321362018585205, -0.7726930379867554, -0.6879484057426453, 0.09487634897232056, -0.9349000453948975, 1.2416284084320068, 0.582444965839386, 0.2859421372413635, 0.2847909927368164, 1.5412689447402954, 0.682103157043457, -0.47703152894973755, 0.3864686191082001, 0.5651518106460571, -0.2714337706565857, -2.0748038291931152, -1.0282338857650757, 0.20744024217128754, -0.4095441699028015, -1.6067970991134644, 1.2130002975463867, -1.134972333908081, -1.0394333600997925, 0.5041540861129761, 0.1674036830663681, 1.185861349105835, 0.34636732935905457, 1.688722014427185, 2.1370999813079834, 0.8305449485778809, 0.3132503628730774, 1.1499015092849731, -0.030684133991599083, -0.3811642825603485, 1.8834757804870605, -0.39082616567611694, 0.6047833561897278, 0.9708345532417297, -0.377816379070282, -1.104926347732544, -0.8507455587387085, -1.201594352722168, -0.6492767930030823, 1.2066364288330078, 0.13352525234222412, -1.120329737663269, 0.15452411770820618, 1.5240148305892944, 0.1189722865819931, -0.24279753863811493, 0.735278308391571, 0.41596826910972595, -0.687404990196228, 0.00991317443549633, -0.8766892552375793, 0.5186488032341003, -0.08521895110607147, -0.25865352153778076, 0.19318439066410065, 0.6062679886817932, 1.3488069772720337, -0.023630257695913315, 0.20102554559707642, 1.2204917669296265, -1.250807523727417, 1.5771698951721191, -0.5889635682106018, 0.3218457102775574, -2.5799813270568848, 1.3911793231964111, -0.7671913504600525, 1.9812883138656616, -2.522433042526245, 0.42028436064720154, -0.5304840207099915, -0.45781439542770386, 0.33667486906051636, -0.4611990451812744, 0.0699196606874466, -0.073411725461483, -0.9196041822433472, 0.10182065516710281, -0.6803687214851379, 0.5346898436546326, 1.2302833795547485, 1.4639406204223633, -1.1219202280044556, -0.2788693606853485, -1.808442234992981, -0.14367316663265228, -0.8218575716018677, 0.43017151951789856, -2.0037896633148193, -0.2169038951396942, -1.9452846050262451, -2.3145763874053955, -1.4183573722839355, -0.8393747806549072, 1.0314509868621826, 0.13910067081451416, -0.9930553436279297, 1.1637893915176392, -0.38921645283699036, -1.7552976608276367, 1.0418591499328613, -2.238765001296997 ]
https://github.com/huggingface/datasets/issues/3960
Load local dataset error
> Thanks for rerunning the code to record the output. Is it the `"Resolving data files"` part on your machine that takes a long time to complete, or is it `"Loading cached processed dataset at ..."˙`? We plan to speed up the latter by splitting bigger Arrow files into smaller ones, but your dataset doesn't seem that big, so not sure if that's the issue. Sounds good! The main position, which costs long time, is from program starting to `"Resolving data files"`. I hope you can solve it early, thanks!
When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this: ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']} >>> ds = load_dataset('nateraw/image-folder', data_files=data_files, cache_dir='./', task='image-classification') [] https://huggingface.co/datasets/nateraw/image-folder/resolve/main/ /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1671, in load_dataset **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1521, in load_dataset_builder **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 1031, in __init__ super().__init__(*args, **kwargs) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 255, in __init__ sanitize_patterns(data_files), base_path=base_path, use_auth_token=use_auth_token File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 584, in from_local_or_remote if not isinstance(patterns_for_key, DataFilesList) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 546, in from_local_or_remote data_files = resolve_patterns_locally_or_by_urls(base_path, patterns, allowed_extensions) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 196, in resolve_patterns_locally_or_by_urls for path in _resolve_single_pattern_locally(base_path, pattern, allowed_extensions): File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 146, in _resolve_single_pattern_locally raise FileNotFoundError(error_msg) FileNotFoundError: Unable to find '/ssd/datasets/imagenet/pytorch/train' at /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` I need some help to solve the problem, thanks!
875
90
Load local dataset error When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this: ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']} >>> ds = load_dataset('nateraw/image-folder', data_files=data_files, cache_dir='./', task='image-classification') [] https://huggingface.co/datasets/nateraw/image-folder/resolve/main/ /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1671, in load_dataset **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1521, in load_dataset_builder **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 1031, in __init__ super().__init__(*args, **kwargs) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 255, in __init__ sanitize_patterns(data_files), base_path=base_path, use_auth_token=use_auth_token File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 584, in from_local_or_remote if not isinstance(patterns_for_key, DataFilesList) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 546, in from_local_or_remote data_files = resolve_patterns_locally_or_by_urls(base_path, patterns, allowed_extensions) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 196, in resolve_patterns_locally_or_by_urls for path in _resolve_single_pattern_locally(base_path, pattern, allowed_extensions): File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 146, in _resolve_single_pattern_locally raise FileNotFoundError(error_msg) FileNotFoundError: Unable to find '/ssd/datasets/imagenet/pytorch/train' at /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` I need some help to solve the problem, thanks! > Thanks for rerunning the code to record the output. Is it the `"Resolving data files"` part on your machine that takes a long time to complete, or is it `"Loading cached processed dataset at ..."˙`? We plan to speed up the latter by splitting bigger Arrow files into smaller ones, but your dataset doesn't seem that big, so not sure if that's the issue. Sounds good! The main position, which costs long time, is from program starting to `"Resolving data files"`. I hope you can solve it early, thanks!
[ -1.207528829574585, -0.9701337218284607, -0.7928412556648254, 1.3184934854507446, -0.10560372471809387, -1.3390069007873535, 0.09672825783491135, -1.0209842920303345, 1.5425015687942505, -0.6776458024978638, 0.17437316477298737, -1.726853370666504, -0.24187348783016205, -0.5899266600608826, -0.711350679397583, -0.8643127083778381, -0.34338027238845825, -0.9136003255844116, 0.9924539923667908, 2.4815104007720947, 1.3189308643341064, -1.297760009765625, 2.8932807445526123, 0.7193644642829895, -0.22631648182868958, -1.003702998161316, 0.5854151248931885, -0.04699177294969559, -1.1820601224899292, -0.5108678936958313, -0.9042526483535767, 0.06802508980035782, -0.6130844354629517, -0.37578722834587097, 0.11527521908283234, 0.42887231707572937, -0.26260852813720703, -0.22790993750095367, -0.7020912170410156, -0.6616514921188354, 0.471530944108963, -0.3405846655368805, 1.0018888711929321, -0.32249611616134644, 1.651899814605713, -0.5634865164756775, 0.28482118248939514, 0.6820297241210938, 1.2995131015777588, 0.17748023569583893, 0.1493748426437378, 0.2395777404308319, 0.23092316091060638, -0.04917242377996445, 0.6238452792167664, 1.339795470237732, 0.5716745853424072, 0.49373018741607666, 0.691685676574707, -2.2474050521850586, 1.263312816619873, -0.8644827604293823, 0.29945945739746094, 1.3727766275405884, -0.7834214568138123, 0.3633880317211151, -1.824187994003296, -0.04448608309030533, 0.6739946603775024, -2.3489468097686768, 0.2665894329547882, -1.2430472373962402, -0.5165116190910339, 0.8026397228240967, 0.3029327392578125, -1.2653402090072632, 0.24033817648887634, -0.5392549633979797, 1.1280640363693237, 0.515282154083252, 1.1593321561813354, -1.7004414796829224, 0.008698668330907822, -0.09136790037155151, 0.08300093561410904, -1.2657644748687744, -1.7138499021530151, 0.5707083940505981, 0.5422394275665283, 0.7686678767204285, -0.09368667006492615, 1.0240364074707031, -1.0649163722991943, 0.7924526929855347, -0.9301970601081848, -1.5372092723846436, -1.4141888618469238, -2.441061496734619, -2.239694356918335, 0.7951302528381348, -0.5601117014884949, -0.4904126226902008, 1.9361655712127686, -0.9340954422950745, -1.84653639793396, 0.9983311295509338, 0.3907771408557892, 0.13381248712539673, 2.3606531620025635, 0.26118290424346924, -0.7848421931266785, 0.4362173080444336, -0.6946799755096436, 0.8552590608596802, -0.2225625365972519, 1.3900763988494873, 0.49974387884140015, -0.8902368545532227, 1.7143528461456299, -0.5722930431365967, 0.6067995429039001, -0.674263596534729, -0.4867730736732483, -0.8926899433135986, 0.252000629901886, 1.8172054290771484, -0.36671555042266846, 1.583909511566162, -0.34284403920173645, -1.6025828123092651, -1.6012659072875977, 0.780291736125946, 0.4980784058570862, -0.9339868426322937, 0.05343034118413925, -0.5161754488945007, 0.2248087227344513, 0.03949805349111557, 1.116297721862793, 1.160731315612793, 0.6094004511833191, -0.2885153889656067, -0.8476375937461853, 0.27782687544822693, -0.14261889457702637, -0.7116512060165405, -1.8636242151260376, -0.30317139625549316, 0.34239864349365234, 0.6470516920089722, -1.293697476387024, 1.8051741123199463, 0.8418681025505066, 2.1264967918395996, 0.93654865026474, -0.4101339280605316, 1.4526621103286743, -0.04001660272479057, 1.8069535493850708, -0.5941004157066345, 0.5893980264663696, -0.30003243684768677, -1.1138640642166138, 0.9000013470649719, -0.47666439414024353, -2.002927541732788, -0.822783887386322, -0.7868990898132324, -0.17489425837993622, -0.6914815902709961, 0.8266828656196594, -0.3777218759059906, -1.4257545471191406, 0.07274767756462097, -0.6654995679855347, 0.14822889864444733, -1.2958731651306152, 0.0620044469833374, 0.7764599919319153, -0.7258098721504211, -0.1533789336681366, -0.2760060727596283, -1.3103578090667725, -0.4751476049423218, 0.30741721391677856, 2.066683530807495, -0.5465802550315857, 0.9178639650344849, 0.9711793065071106, -0.7938008904457092, 0.21145163476467133, 0.2158678025007248, -0.24913665652275085, 0.7607453465461731, -1.1329306364059448, -0.4505683183670044, 1.1014732122421265, -0.1703476905822754, -0.6966395974159241, 1.5023795366287231, 0.926374614238739, -1.1887340545654297, -0.28603631258010864, -0.2483939677476883, -0.79522705078125, -0.03723888844251633, -1.4757956266403198, -0.18641091883182526, 0.3030402362346649, -1.459323763847351, -0.39940425753593445, -0.20762358605861664, 1.3971043825149536, -0.20587493479251862, 1.4482457637786865, -0.26590660214424133, -0.18025130033493042, -0.2894853353500366, -0.578942060470581, 0.2106286734342575, -0.19378484785556793, -0.6974561214447021, 0.18816785514354706, -0.8679786920547485, 0.27382686734199524, 1.5679187774658203, 0.34196534752845764, 0.07060587406158447, 0.5153854489326477, 1.1217410564422607, 0.40376004576683044, 0.024971382692456245, -0.8804401755332947, -1.5293885469436646, 1.9623754024505615, -1.4187355041503906, 1.8249961137771606, 0.7013305425643921, -0.04548037797212601, -1.7918407917022705, -1.8147650957107544, 1.3067104816436768, 1.1928244829177856, 2.366503953933716, 0.5740844011306763, 0.39516961574554443, -0.7714876532554626, -0.8262544274330139, 0.25526389479637146, -0.9002631306648254, -0.6871918439865112, 0.12261158227920532, 2.3185465335845947, 1.9374796152114868, -0.6660999655723572, -0.3075175881385803, -0.8442531228065491, 1.178252935409546, -0.26593223214149475, 0.2825552225112915, 2.037632703781128, -0.3532123863697052, -0.9759485721588135, 1.3713823556900024, -2.4370436668395996, 0.29180821776390076, 2.0564486980438232, 0.32305198907852173, 0.20693427324295044, -1.4628100395202637, -0.662458062171936, -0.3218095898628235, -0.5119830369949341, -1.267594337463379, 0.6135894060134888, -0.3044750988483429, -0.9704420566558838, -1.4392178058624268, 0.05393463373184204, -1.1291394233703613, -1.7276644706726074, 0.4340512454509735, 1.9422540664672852, 2.15049409866333, -0.8482136130332947, 1.3473724126815796, -0.2698673903942108, 0.01500999741256237, 1.2961472272872925, 1.44448983669281, 3.034043312072754, 1.8294364213943481, -1.2473342418670654, 0.7719606757164001, -0.24618667364120483, -0.5133056044578552, 1.1870923042297363, -1.0944011211395264, 0.961627721786499, -0.28853651881217957, -1.252837896347046, -1.1805698871612549, 1.0575087070465088, 0.5110746622085571, 0.009682774543762207, -0.559158980846405, 1.309502363204956, 0.07048308104276657, 1.2991701364517212, 0.6316542625427246, -0.5217132568359375, 0.4211452305316925, -0.35266146063804626, -0.5830138325691223, 1.6916818618774414, 0.05840107053518295, -1.5468780994415283, -2.376464605331421, -0.17282839119434357, -0.9750375747680664, -0.051502667367458344, -0.6280070543289185, -1.0461407899856567, 1.630173921585083, 0.4461442232131958, -1.1620795726776123, -0.293351411819458, -0.35992178320884705, -0.4308170676231384, 2.6444406509399414, -1.2912144660949707, -0.21702638268470764, -0.9525944590568542, -0.41561728715896606, 1.6415047645568848, -1.1722866296768188, -0.1972012221813202, -1.078072190284729, -0.7603164315223694, -1.339919090270996, -0.46240395307540894, -0.008437849581241608, -0.8345192074775696, 0.7598178386688232, 0.15917493402957916, -1.0814454555511475, -0.24572207033634186, -0.9908379912376404, 1.0686229467391968, -0.17265532910823822, 0.22967039048671722, 1.8679572343826294, 0.27830928564071655, -0.4922586977481842, 0.7279759049415588, 1.3069016933441162, 0.6313452124595642, -0.6829984188079834, -0.013405273668467999, -0.6228224635124207, 0.4335103929042816, -1.4996625185012817, 0.10808328539133072, -3.050750970840454, 0.8540022373199463, -0.14590708911418915, -0.169737309217453, -0.11620517075061798, -1.2644062042236328, 1.1022299528121948, 2.570763349533081, -1.2269343137741089, 0.41159433126449585, 0.49775803089141846, 1.1354360580444336, -1.5477259159088135, 0.15837326645851135, -0.518415093421936, 2.042638063430786, 0.07863138616085052, 1.2618293762207031, -0.5370393991470337, -2.064974069595337, 0.6684971451759338, -1.1470962762832642, -0.9319380521774292, 0.815837025642395, -0.915064811706543, 0.3864271342754364, -1.5084148645401, -0.10433229058980942, -1.005266547203064, -1.2572507858276367, 0.7901540398597717, 0.07226093858480453, 0.2829829156398773, -0.5561901926994324, 0.413760244846344, -2.1168863773345947, -1.3992524147033691, -0.12247753143310547, -1.061444640159607, 0.5971159338951111, -0.4355452060699463, 0.5174747705459595, 0.07270441949367523, 0.12877219915390015, 0.2488880157470703, 1.427308201789856, 3.3753716945648193, 0.11713355779647827, 0.19991761445999146, -0.07929348200559616, -1.0453441143035889, 1.4412440061569214, 0.9680407643318176, -0.08757530152797699, -0.48967981338500977, -1.0059535503387451, 1.4492688179016113, 1.99704909324646, 1.2420318126678467, 0.15701864659786224, -0.9396369457244873, -0.7645467519760132, 0.05250544846057892, 0.24224457144737244, 0.4994087219238281, 0.9816969037055969, -0.09423035383224487, 0.11448143422603607, 1.3823806047439575, 1.1474804878234863, -0.27725329995155334, 0.4441049098968506, -0.9998530149459839, -0.3405264616012573, 0.37484386563301086, 0.1650666445493698, 0.11702927947044373, 0.5362592339515686, -1.0864161252975464, -0.2683333158493042, -0.19291788339614868, -0.7706242203712463, -0.6831967234611511, -0.4217267334461212, -0.3885324001312256, 1.5072838068008423, 0.08844935148954391, -0.5376978516578674, 0.10521672666072845, -0.6690524816513062, -0.11430573463439941, -1.0973860025405884, 0.09169603884220123, -0.11973889172077179, -0.08291957527399063, -0.24157752096652985, 1.5751166343688965, -0.911612331867218, -2.135021924972534, 0.11459223926067352, 0.4850245416164398, -0.40863439440727234, 0.20273993909358978, 1.6986665725708008, 0.5344459414482117, 1.3314931392669678, 1.2982686758041382, 0.994533360004425, -0.5592256188392639, -1.1097776889801025, 0.7037567496299744, 0.9037555456161499, -1.3066561222076416, 1.0011399984359741, -0.3041820228099823, -0.5730090737342834, 0.6914390325546265, 1.4057544469833374, 0.385755717754364, -1.963050365447998, 0.954291045665741, -0.8931469917297363, 0.7975976467132568, 0.6600309610366821, 0.8881970643997192, 0.3427375853061676, 0.9010483026504517, -1.2686160802841187, -1.1591061353683472, -0.7345713973045349, -0.5749954581260681, 1.8437126874923706, -0.1981138437986374, 0.5475021600723267, -0.21562142670154572, -1.1212916374206543, -0.13128958642482758, 0.8200570344924927, 0.3586278557777405, -0.35410210490226746, 0.9910857081413269, -0.5860104560852051, -0.9444340467453003, -1.205928087234497, -0.42489945888519287, -0.9766121506690979, -0.8374645709991455, 1.01987886428833, 0.7694979310035706, 0.5366144180297852, 2.011429786682129, 0.5257236957550049, 0.2970118820667267, -2.5143606662750244, 0.8577268123626709, 0.310787171125412, 0.039934009313583374, 0.8839455246925354, 0.26131412386894226, 1.3218657970428467, -0.03015829250216484, 0.604749321937561, -2.2677838802337646, 2.1218419075012207, -0.1635805070400238, 0.6072900891304016, -0.02606981247663498, -0.17075215280056, 1.1347683668136597, 0.5949164628982544, 0.5764990448951721, -1.1059658527374268, 0.7944180965423584, -0.5871594548225403, 1.0536850690841675, 0.9964296221733093, -0.9170206785202026, 0.14833153784275055, 1.3830962181091309, 0.4739205241203308, -0.44081345200538635, -1.031831979751587, -0.7428030967712402, 1.0710632801055908, 1.6827744245529175, 0.03418833762407303, 0.02271430380642414, 0.8860000371932983, 0.6414245963096619, -1.2294609546661377, -0.008082610554993153, -0.6544274091720581, -0.6215163469314575, 1.8142476081848145, 1.9088350534439087, -0.13631176948547363, -0.18113884329795837, -0.7335491180419922, -1.2876002788543701, 0.6921383738517761, -0.07579275965690613, 0.027377979829907417, 0.798923909664154, -0.7391893863677979, 1.09955632686615, 0.5145204067230225, 0.8972749710083008, -0.13289038836956024, 0.37714970111846924, 0.43048253655433655, -0.40368232131004333, -1.1852633953094482, -0.4271412789821625, -1.0908684730529785, -2.546679735183716, 0.4025777578353882, -0.26996177434921265, -1.430268406867981, 0.03086673654615879, -1.0566229820251465, 0.9702942967414856, -0.5841946005821228, -1.1023014783859253, -1.3600962162017822, 0.4304024875164032, -0.16310112178325653, 0.868311882019043, -1.6279993057250977, -0.23219558596611023, 1.235815405845642, 0.8758074045181274, -0.5579129457473755, 0.9616100192070007, 0.2986762523651123, 0.9332368969917297, 0.7273702025413513, -0.39927759766578674, 0.5553388595581055, -0.03728044778108597, -1.3250346183776855, 0.38141199946403503, 1.2520776987075806, 0.21219247579574585, 1.3425723314285278, -0.40623900294303894, 0.15488497912883759, 0.4368601143360138, -0.6711005568504333, -0.5796352028846741, -0.4239506125450134, 0.6698201894760132, 0.04929843544960022, -1.0725266933441162, -0.245993971824646, -0.15676671266555786, -0.2898140549659729, 0.2146027535200119, -1.4638721942901611, -0.3279684782028198, -0.37032774090766907, -0.33196938037872314, -1.290643572807312, 0.11689701676368713, 1.28717041015625, -0.8287950754165649, -0.31853678822517395, 0.49459755420684814, 0.3656759262084961, 0.5996425151824951, 0.524585485458374, -0.7717669010162354, -0.20099206268787384, -0.39851704239845276, -0.2794254720211029, 0.23099443316459656, 1.1272767782211304, -0.06919152289628983, -1.085112452507019, 0.6471480131149292, -0.3608035445213318, 0.13948093354701996, 2.0308046340942383, -0.0028399680741131306, -0.7063446640968323, 0.3661494851112366, -0.674111545085907, 1.623882532119751, 1.6625334024429321, 1.260269045829773, -0.1374368816614151, -0.678687334060669, 0.5536158680915833, -0.24575412273406982, -0.33036333322525024, 0.8846817016601562, 0.4015200138092041, -0.24021229147911072, -1.5128592252731323, 0.508347749710083, 1.321362018585205, -0.7726930379867554, -0.6879484057426453, 0.09487634897232056, -0.9349000453948975, 1.2416284084320068, 0.582444965839386, 0.2859421372413635, 0.2847909927368164, 1.5412689447402954, 0.682103157043457, -0.47703152894973755, 0.3864686191082001, 0.5651518106460571, -0.2714337706565857, -2.0748038291931152, -1.0282338857650757, 0.20744024217128754, -0.4095441699028015, -1.6067970991134644, 1.2130002975463867, -1.134972333908081, -1.0394333600997925, 0.5041540861129761, 0.1674036830663681, 1.185861349105835, 0.34636732935905457, 1.688722014427185, 2.1370999813079834, 0.8305449485778809, 0.3132503628730774, 1.1499015092849731, -0.030684133991599083, -0.3811642825603485, 1.8834757804870605, -0.39082616567611694, 0.6047833561897278, 0.9708345532417297, -0.377816379070282, -1.104926347732544, -0.8507455587387085, -1.201594352722168, -0.6492767930030823, 1.2066364288330078, 0.13352525234222412, -1.120329737663269, 0.15452411770820618, 1.5240148305892944, 0.1189722865819931, -0.24279753863811493, 0.735278308391571, 0.41596826910972595, -0.687404990196228, 0.00991317443549633, -0.8766892552375793, 0.5186488032341003, -0.08521895110607147, -0.25865352153778076, 0.19318439066410065, 0.6062679886817932, 1.3488069772720337, -0.023630257695913315, 0.20102554559707642, 1.2204917669296265, -1.250807523727417, 1.5771698951721191, -0.5889635682106018, 0.3218457102775574, -2.5799813270568848, 1.3911793231964111, -0.7671913504600525, 1.9812883138656616, -2.522433042526245, 0.42028436064720154, -0.5304840207099915, -0.45781439542770386, 0.33667486906051636, -0.4611990451812744, 0.0699196606874466, -0.073411725461483, -0.9196041822433472, 0.10182065516710281, -0.6803687214851379, 0.5346898436546326, 1.2302833795547485, 1.4639406204223633, -1.1219202280044556, -0.2788693606853485, -1.808442234992981, -0.14367316663265228, -0.8218575716018677, 0.43017151951789856, -2.0037896633148193, -0.2169038951396942, -1.9452846050262451, -2.3145763874053955, -1.4183573722839355, -0.8393747806549072, 1.0314509868621826, 0.13910067081451416, -0.9930553436279297, 1.1637893915176392, -0.38921645283699036, -1.7552976608276367, 1.0418591499328613, -2.238765001296997 ]
https://github.com/huggingface/datasets/issues/3960
Load local dataset error
I'm getting this problem. Script has been stuck at this part for the past 15 or so minutes: `Resolving data files: 100%|█████████████████████████████████████████| 107/107 [00:00<00:00, 472.74it/s]` I had everything working fine on an AWS EC2 node with a single GPU. Then I created an image based on the single GPU machine, and spun up a new one with 4 GPUs, so I got all of the training data ready at .cache. Turned off all checks with `verification_mode='no_checks'`. Logged in with huggingface-cli again just to be sure. Interrupting shows the code is stuck here: ``` File "/opt/conda/envs/pytorch/lib/python3.10/site-packages/datasets/arrow_reader.py", line 200, in _read_files pa_table: Table = self._get_table_from_filename(f_dict, in_memory=in_memory) File "/opt/conda/envs/pytorch/lib/python3.10/site-packages/datasets/arrow_reader.py", line 336, in _get_table_from_filename table = ArrowReader.read_table(filename, in_memory=in_memory) File "/opt/conda/envs/pytorch/lib/python3.10/site-packages/datasets/arrow_reader.py", line 357, in read_table return table_cls.from_file(filename) File "/opt/conda/envs/pytorch/lib/python3.10/site-packages/datasets/table.py", line 1059, in from_file table = _memory_mapped_arrow_table_from_file(filename) File "/opt/conda/envs/pytorch/lib/python3.10/site-packages/datasets/table.py", line 66, in _memory_mapped_arrow_table_from_file pa_table = opened_stream.read_all() ``` Is it just going to take a while or am I going to run out of money? :sweat_smile: edit: ping @mariosasko
When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this: ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']} >>> ds = load_dataset('nateraw/image-folder', data_files=data_files, cache_dir='./', task='image-classification') [] https://huggingface.co/datasets/nateraw/image-folder/resolve/main/ /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1671, in load_dataset **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1521, in load_dataset_builder **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 1031, in __init__ super().__init__(*args, **kwargs) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 255, in __init__ sanitize_patterns(data_files), base_path=base_path, use_auth_token=use_auth_token File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 584, in from_local_or_remote if not isinstance(patterns_for_key, DataFilesList) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 546, in from_local_or_remote data_files = resolve_patterns_locally_or_by_urls(base_path, patterns, allowed_extensions) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 196, in resolve_patterns_locally_or_by_urls for path in _resolve_single_pattern_locally(base_path, pattern, allowed_extensions): File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 146, in _resolve_single_pattern_locally raise FileNotFoundError(error_msg) FileNotFoundError: Unable to find '/ssd/datasets/imagenet/pytorch/train' at /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` I need some help to solve the problem, thanks!
875
162
Load local dataset error When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this: ``` >>> from datasets import load_dataset >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']} >>> ds = load_dataset('nateraw/image-folder', data_files=data_files, cache_dir='./', task='image-classification') [] https://huggingface.co/datasets/nateraw/image-folder/resolve/main/ /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1671, in load_dataset **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/load.py", line 1521, in load_dataset_builder **config_kwargs, File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 1031, in __init__ super().__init__(*args, **kwargs) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/builder.py", line 255, in __init__ sanitize_patterns(data_files), base_path=base_path, use_auth_token=use_auth_token File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 584, in from_local_or_remote if not isinstance(patterns_for_key, DataFilesList) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 546, in from_local_or_remote data_files = resolve_patterns_locally_or_by_urls(base_path, patterns, allowed_extensions) File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 196, in resolve_patterns_locally_or_by_urls for path in _resolve_single_pattern_locally(base_path, pattern, allowed_extensions): File "/gf3/home/txacs/gv3/anaconda3/envs/txacs/lib/python3.6/site-packages/datasets/data_files.py", line 146, in _resolve_single_pattern_locally raise FileNotFoundError(error_msg) FileNotFoundError: Unable to find '/ssd/datasets/imagenet/pytorch/train' at /dat/txacs/git/txacs/examples/image-classification/https:/huggingface.co/datasets/nateraw/image-folder/resolve/main ``` I need some help to solve the problem, thanks! I'm getting this problem. Script has been stuck at this part for the past 15 or so minutes: `Resolving data files: 100%|█████████████████████████████████████████| 107/107 [00:00<00:00, 472.74it/s]` I had everything working fine on an AWS EC2 node with a single GPU. Then I created an image based on the single GPU machine, and spun up a new one with 4 GPUs, so I got all of the training data ready at .cache. Turned off all checks with `verification_mode='no_checks'`. Logged in with huggingface-cli again just to be sure. Interrupting shows the code is stuck here: ``` File "/opt/conda/envs/pytorch/lib/python3.10/site-packages/datasets/arrow_reader.py", line 200, in _read_files pa_table: Table = self._get_table_from_filename(f_dict, in_memory=in_memory) File "/opt/conda/envs/pytorch/lib/python3.10/site-packages/datasets/arrow_reader.py", line 336, in _get_table_from_filename table = ArrowReader.read_table(filename, in_memory=in_memory) File "/opt/conda/envs/pytorch/lib/python3.10/site-packages/datasets/arrow_reader.py", line 357, in read_table return table_cls.from_file(filename) File "/opt/conda/envs/pytorch/lib/python3.10/site-packages/datasets/table.py", line 1059, in from_file table = _memory_mapped_arrow_table_from_file(filename) File "/opt/conda/envs/pytorch/lib/python3.10/site-packages/datasets/table.py", line 66, in _memory_mapped_arrow_table_from_file pa_table = opened_stream.read_all() ``` Is it just going to take a while or am I going to run out of money? :sweat_smile: edit: ping @mariosasko
[ -1.207528829574585, -0.9701337218284607, -0.7928412556648254, 1.3184934854507446, -0.10560372471809387, -1.3390069007873535, 0.09672825783491135, -1.0209842920303345, 1.5425015687942505, -0.6776458024978638, 0.17437316477298737, -1.726853370666504, -0.24187348783016205, -0.5899266600608826, -0.711350679397583, -0.8643127083778381, -0.34338027238845825, -0.9136003255844116, 0.9924539923667908, 2.4815104007720947, 1.3189308643341064, -1.297760009765625, 2.8932807445526123, 0.7193644642829895, -0.22631648182868958, -1.003702998161316, 0.5854151248931885, -0.04699177294969559, -1.1820601224899292, -0.5108678936958313, -0.9042526483535767, 0.06802508980035782, -0.6130844354629517, -0.37578722834587097, 0.11527521908283234, 0.42887231707572937, -0.26260852813720703, -0.22790993750095367, -0.7020912170410156, -0.6616514921188354, 0.471530944108963, -0.3405846655368805, 1.0018888711929321, -0.32249611616134644, 1.651899814605713, -0.5634865164756775, 0.28482118248939514, 0.6820297241210938, 1.2995131015777588, 0.17748023569583893, 0.1493748426437378, 0.2395777404308319, 0.23092316091060638, -0.04917242377996445, 0.6238452792167664, 1.339795470237732, 0.5716745853424072, 0.49373018741607666, 0.691685676574707, -2.2474050521850586, 1.263312816619873, -0.8644827604293823, 0.29945945739746094, 1.3727766275405884, -0.7834214568138123, 0.3633880317211151, -1.824187994003296, -0.04448608309030533, 0.6739946603775024, -2.3489468097686768, 0.2665894329547882, -1.2430472373962402, -0.5165116190910339, 0.8026397228240967, 0.3029327392578125, -1.2653402090072632, 0.24033817648887634, -0.5392549633979797, 1.1280640363693237, 0.515282154083252, 1.1593321561813354, -1.7004414796829224, 0.008698668330907822, -0.09136790037155151, 0.08300093561410904, -1.2657644748687744, -1.7138499021530151, 0.5707083940505981, 0.5422394275665283, 0.7686678767204285, -0.09368667006492615, 1.0240364074707031, -1.0649163722991943, 0.7924526929855347, -0.9301970601081848, -1.5372092723846436, -1.4141888618469238, -2.441061496734619, -2.239694356918335, 0.7951302528381348, -0.5601117014884949, -0.4904126226902008, 1.9361655712127686, -0.9340954422950745, -1.84653639793396, 0.9983311295509338, 0.3907771408557892, 0.13381248712539673, 2.3606531620025635, 0.26118290424346924, -0.7848421931266785, 0.4362173080444336, -0.6946799755096436, 0.8552590608596802, -0.2225625365972519, 1.3900763988494873, 0.49974387884140015, -0.8902368545532227, 1.7143528461456299, -0.5722930431365967, 0.6067995429039001, -0.674263596534729, -0.4867730736732483, -0.8926899433135986, 0.252000629901886, 1.8172054290771484, -0.36671555042266846, 1.583909511566162, -0.34284403920173645, -1.6025828123092651, -1.6012659072875977, 0.780291736125946, 0.4980784058570862, -0.9339868426322937, 0.05343034118413925, -0.5161754488945007, 0.2248087227344513, 0.03949805349111557, 1.116297721862793, 1.160731315612793, 0.6094004511833191, -0.2885153889656067, -0.8476375937461853, 0.27782687544822693, -0.14261889457702637, -0.7116512060165405, -1.8636242151260376, -0.30317139625549316, 0.34239864349365234, 0.6470516920089722, -1.293697476387024, 1.8051741123199463, 0.8418681025505066, 2.1264967918395996, 0.93654865026474, -0.4101339280605316, 1.4526621103286743, -0.04001660272479057, 1.8069535493850708, -0.5941004157066345, 0.5893980264663696, -0.30003243684768677, -1.1138640642166138, 0.9000013470649719, -0.47666439414024353, -2.002927541732788, -0.822783887386322, -0.7868990898132324, -0.17489425837993622, -0.6914815902709961, 0.8266828656196594, -0.3777218759059906, -1.4257545471191406, 0.07274767756462097, -0.6654995679855347, 0.14822889864444733, -1.2958731651306152, 0.0620044469833374, 0.7764599919319153, -0.7258098721504211, -0.1533789336681366, -0.2760060727596283, -1.3103578090667725, -0.4751476049423218, 0.30741721391677856, 2.066683530807495, -0.5465802550315857, 0.9178639650344849, 0.9711793065071106, -0.7938008904457092, 0.21145163476467133, 0.2158678025007248, -0.24913665652275085, 0.7607453465461731, -1.1329306364059448, -0.4505683183670044, 1.1014732122421265, -0.1703476905822754, -0.6966395974159241, 1.5023795366287231, 0.926374614238739, -1.1887340545654297, -0.28603631258010864, -0.2483939677476883, -0.79522705078125, -0.03723888844251633, -1.4757956266403198, -0.18641091883182526, 0.3030402362346649, -1.459323763847351, -0.39940425753593445, -0.20762358605861664, 1.3971043825149536, -0.20587493479251862, 1.4482457637786865, -0.26590660214424133, -0.18025130033493042, -0.2894853353500366, -0.578942060470581, 0.2106286734342575, -0.19378484785556793, -0.6974561214447021, 0.18816785514354706, -0.8679786920547485, 0.27382686734199524, 1.5679187774658203, 0.34196534752845764, 0.07060587406158447, 0.5153854489326477, 1.1217410564422607, 0.40376004576683044, 0.024971382692456245, -0.8804401755332947, -1.5293885469436646, 1.9623754024505615, -1.4187355041503906, 1.8249961137771606, 0.7013305425643921, -0.04548037797212601, -1.7918407917022705, -1.8147650957107544, 1.3067104816436768, 1.1928244829177856, 2.366503953933716, 0.5740844011306763, 0.39516961574554443, -0.7714876532554626, -0.8262544274330139, 0.25526389479637146, -0.9002631306648254, -0.6871918439865112, 0.12261158227920532, 2.3185465335845947, 1.9374796152114868, -0.6660999655723572, -0.3075175881385803, -0.8442531228065491, 1.178252935409546, -0.26593223214149475, 0.2825552225112915, 2.037632703781128, -0.3532123863697052, -0.9759485721588135, 1.3713823556900024, -2.4370436668395996, 0.29180821776390076, 2.0564486980438232, 0.32305198907852173, 0.20693427324295044, -1.4628100395202637, -0.662458062171936, -0.3218095898628235, -0.5119830369949341, -1.267594337463379, 0.6135894060134888, -0.3044750988483429, -0.9704420566558838, -1.4392178058624268, 0.05393463373184204, -1.1291394233703613, -1.7276644706726074, 0.4340512454509735, 1.9422540664672852, 2.15049409866333, -0.8482136130332947, 1.3473724126815796, -0.2698673903942108, 0.01500999741256237, 1.2961472272872925, 1.44448983669281, 3.034043312072754, 1.8294364213943481, -1.2473342418670654, 0.7719606757164001, -0.24618667364120483, -0.5133056044578552, 1.1870923042297363, -1.0944011211395264, 0.961627721786499, -0.28853651881217957, -1.252837896347046, -1.1805698871612549, 1.0575087070465088, 0.5110746622085571, 0.009682774543762207, -0.559158980846405, 1.309502363204956, 0.07048308104276657, 1.2991701364517212, 0.6316542625427246, -0.5217132568359375, 0.4211452305316925, -0.35266146063804626, -0.5830138325691223, 1.6916818618774414, 0.05840107053518295, -1.5468780994415283, -2.376464605331421, -0.17282839119434357, -0.9750375747680664, -0.051502667367458344, -0.6280070543289185, -1.0461407899856567, 1.630173921585083, 0.4461442232131958, -1.1620795726776123, -0.293351411819458, -0.35992178320884705, -0.4308170676231384, 2.6444406509399414, -1.2912144660949707, -0.21702638268470764, -0.9525944590568542, -0.41561728715896606, 1.6415047645568848, -1.1722866296768188, -0.1972012221813202, -1.078072190284729, -0.7603164315223694, -1.339919090270996, -0.46240395307540894, -0.008437849581241608, -0.8345192074775696, 0.7598178386688232, 0.15917493402957916, -1.0814454555511475, -0.24572207033634186, -0.9908379912376404, 1.0686229467391968, -0.17265532910823822, 0.22967039048671722, 1.8679572343826294, 0.27830928564071655, -0.4922586977481842, 0.7279759049415588, 1.3069016933441162, 0.6313452124595642, -0.6829984188079834, -0.013405273668467999, -0.6228224635124207, 0.4335103929042816, -1.4996625185012817, 0.10808328539133072, -3.050750970840454, 0.8540022373199463, -0.14590708911418915, -0.169737309217453, -0.11620517075061798, -1.2644062042236328, 1.1022299528121948, 2.570763349533081, -1.2269343137741089, 0.41159433126449585, 0.49775803089141846, 1.1354360580444336, -1.5477259159088135, 0.15837326645851135, -0.518415093421936, 2.042638063430786, 0.07863138616085052, 1.2618293762207031, -0.5370393991470337, -2.064974069595337, 0.6684971451759338, -1.1470962762832642, -0.9319380521774292, 0.815837025642395, -0.915064811706543, 0.3864271342754364, -1.5084148645401, -0.10433229058980942, -1.005266547203064, -1.2572507858276367, 0.7901540398597717, 0.07226093858480453, 0.2829829156398773, -0.5561901926994324, 0.413760244846344, -2.1168863773345947, -1.3992524147033691, -0.12247753143310547, -1.061444640159607, 0.5971159338951111, -0.4355452060699463, 0.5174747705459595, 0.07270441949367523, 0.12877219915390015, 0.2488880157470703, 1.427308201789856, 3.3753716945648193, 0.11713355779647827, 0.19991761445999146, -0.07929348200559616, -1.0453441143035889, 1.4412440061569214, 0.9680407643318176, -0.08757530152797699, -0.48967981338500977, -1.0059535503387451, 1.4492688179016113, 1.99704909324646, 1.2420318126678467, 0.15701864659786224, -0.9396369457244873, -0.7645467519760132, 0.05250544846057892, 0.24224457144737244, 0.4994087219238281, 0.9816969037055969, -0.09423035383224487, 0.11448143422603607, 1.3823806047439575, 1.1474804878234863, -0.27725329995155334, 0.4441049098968506, -0.9998530149459839, -0.3405264616012573, 0.37484386563301086, 0.1650666445493698, 0.11702927947044373, 0.5362592339515686, -1.0864161252975464, -0.2683333158493042, -0.19291788339614868, -0.7706242203712463, -0.6831967234611511, -0.4217267334461212, -0.3885324001312256, 1.5072838068008423, 0.08844935148954391, -0.5376978516578674, 0.10521672666072845, -0.6690524816513062, -0.11430573463439941, -1.0973860025405884, 0.09169603884220123, -0.11973889172077179, -0.08291957527399063, -0.24157752096652985, 1.5751166343688965, -0.911612331867218, -2.135021924972534, 0.11459223926067352, 0.4850245416164398, -0.40863439440727234, 0.20273993909358978, 1.6986665725708008, 0.5344459414482117, 1.3314931392669678, 1.2982686758041382, 0.994533360004425, -0.5592256188392639, -1.1097776889801025, 0.7037567496299744, 0.9037555456161499, -1.3066561222076416, 1.0011399984359741, -0.3041820228099823, -0.5730090737342834, 0.6914390325546265, 1.4057544469833374, 0.385755717754364, -1.963050365447998, 0.954291045665741, -0.8931469917297363, 0.7975976467132568, 0.6600309610366821, 0.8881970643997192, 0.3427375853061676, 0.9010483026504517, -1.2686160802841187, -1.1591061353683472, -0.7345713973045349, -0.5749954581260681, 1.8437126874923706, -0.1981138437986374, 0.5475021600723267, -0.21562142670154572, -1.1212916374206543, -0.13128958642482758, 0.8200570344924927, 0.3586278557777405, -0.35410210490226746, 0.9910857081413269, -0.5860104560852051, -0.9444340467453003, -1.205928087234497, -0.42489945888519287, -0.9766121506690979, -0.8374645709991455, 1.01987886428833, 0.7694979310035706, 0.5366144180297852, 2.011429786682129, 0.5257236957550049, 0.2970118820667267, -2.5143606662750244, 0.8577268123626709, 0.310787171125412, 0.039934009313583374, 0.8839455246925354, 0.26131412386894226, 1.3218657970428467, -0.03015829250216484, 0.604749321937561, -2.2677838802337646, 2.1218419075012207, -0.1635805070400238, 0.6072900891304016, -0.02606981247663498, -0.17075215280056, 1.1347683668136597, 0.5949164628982544, 0.5764990448951721, -1.1059658527374268, 0.7944180965423584, -0.5871594548225403, 1.0536850690841675, 0.9964296221733093, -0.9170206785202026, 0.14833153784275055, 1.3830962181091309, 0.4739205241203308, -0.44081345200538635, -1.031831979751587, -0.7428030967712402, 1.0710632801055908, 1.6827744245529175, 0.03418833762407303, 0.02271430380642414, 0.8860000371932983, 0.6414245963096619, -1.2294609546661377, -0.008082610554993153, -0.6544274091720581, -0.6215163469314575, 1.8142476081848145, 1.9088350534439087, -0.13631176948547363, -0.18113884329795837, -0.7335491180419922, -1.2876002788543701, 0.6921383738517761, -0.07579275965690613, 0.027377979829907417, 0.798923909664154, -0.7391893863677979, 1.09955632686615, 0.5145204067230225, 0.8972749710083008, -0.13289038836956024, 0.37714970111846924, 0.43048253655433655, -0.40368232131004333, -1.1852633953094482, -0.4271412789821625, -1.0908684730529785, -2.546679735183716, 0.4025777578353882, -0.26996177434921265, -1.430268406867981, 0.03086673654615879, -1.0566229820251465, 0.9702942967414856, -0.5841946005821228, -1.1023014783859253, -1.3600962162017822, 0.4304024875164032, -0.16310112178325653, 0.868311882019043, -1.6279993057250977, -0.23219558596611023, 1.235815405845642, 0.8758074045181274, -0.5579129457473755, 0.9616100192070007, 0.2986762523651123, 0.9332368969917297, 0.7273702025413513, -0.39927759766578674, 0.5553388595581055, -0.03728044778108597, -1.3250346183776855, 0.38141199946403503, 1.2520776987075806, 0.21219247579574585, 1.3425723314285278, -0.40623900294303894, 0.15488497912883759, 0.4368601143360138, -0.6711005568504333, -0.5796352028846741, -0.4239506125450134, 0.6698201894760132, 0.04929843544960022, -1.0725266933441162, -0.245993971824646, -0.15676671266555786, -0.2898140549659729, 0.2146027535200119, -1.4638721942901611, -0.3279684782028198, -0.37032774090766907, -0.33196938037872314, -1.290643572807312, 0.11689701676368713, 1.28717041015625, -0.8287950754165649, -0.31853678822517395, 0.49459755420684814, 0.3656759262084961, 0.5996425151824951, 0.524585485458374, -0.7717669010162354, -0.20099206268787384, -0.39851704239845276, -0.2794254720211029, 0.23099443316459656, 1.1272767782211304, -0.06919152289628983, -1.085112452507019, 0.6471480131149292, -0.3608035445213318, 0.13948093354701996, 2.0308046340942383, -0.0028399680741131306, -0.7063446640968323, 0.3661494851112366, -0.674111545085907, 1.623882532119751, 1.6625334024429321, 1.260269045829773, -0.1374368816614151, -0.678687334060669, 0.5536158680915833, -0.24575412273406982, -0.33036333322525024, 0.8846817016601562, 0.4015200138092041, -0.24021229147911072, -1.5128592252731323, 0.508347749710083, 1.321362018585205, -0.7726930379867554, -0.6879484057426453, 0.09487634897232056, -0.9349000453948975, 1.2416284084320068, 0.582444965839386, 0.2859421372413635, 0.2847909927368164, 1.5412689447402954, 0.682103157043457, -0.47703152894973755, 0.3864686191082001, 0.5651518106460571, -0.2714337706565857, -2.0748038291931152, -1.0282338857650757, 0.20744024217128754, -0.4095441699028015, -1.6067970991134644, 1.2130002975463867, -1.134972333908081, -1.0394333600997925, 0.5041540861129761, 0.1674036830663681, 1.185861349105835, 0.34636732935905457, 1.688722014427185, 2.1370999813079834, 0.8305449485778809, 0.3132503628730774, 1.1499015092849731, -0.030684133991599083, -0.3811642825603485, 1.8834757804870605, -0.39082616567611694, 0.6047833561897278, 0.9708345532417297, -0.377816379070282, -1.104926347732544, -0.8507455587387085, -1.201594352722168, -0.6492767930030823, 1.2066364288330078, 0.13352525234222412, -1.120329737663269, 0.15452411770820618, 1.5240148305892944, 0.1189722865819931, -0.24279753863811493, 0.735278308391571, 0.41596826910972595, -0.687404990196228, 0.00991317443549633, -0.8766892552375793, 0.5186488032341003, -0.08521895110607147, -0.25865352153778076, 0.19318439066410065, 0.6062679886817932, 1.3488069772720337, -0.023630257695913315, 0.20102554559707642, 1.2204917669296265, -1.250807523727417, 1.5771698951721191, -0.5889635682106018, 0.3218457102775574, -2.5799813270568848, 1.3911793231964111, -0.7671913504600525, 1.9812883138656616, -2.522433042526245, 0.42028436064720154, -0.5304840207099915, -0.45781439542770386, 0.33667486906051636, -0.4611990451812744, 0.0699196606874466, -0.073411725461483, -0.9196041822433472, 0.10182065516710281, -0.6803687214851379, 0.5346898436546326, 1.2302833795547485, 1.4639406204223633, -1.1219202280044556, -0.2788693606853485, -1.808442234992981, -0.14367316663265228, -0.8218575716018677, 0.43017151951789856, -2.0037896633148193, -0.2169038951396942, -1.9452846050262451, -2.3145763874053955, -1.4183573722839355, -0.8393747806549072, 1.0314509868621826, 0.13910067081451416, -0.9930553436279297, 1.1637893915176392, -0.38921645283699036, -1.7552976608276367, 1.0418591499328613, -2.238765001296997 ]
https://github.com/huggingface/datasets/issues/3959
Medium-sized dataset conversion from pandas causes a crash
Hi ! It looks like an issue with pyarrow, could you try updating pyarrow and try again ?
Hi, I am suffering from the following issue: ## Describe the bug Conversion to arrow dataset from pandas dataframe of a certain size deterministically causes the following crash: ``` File "/home/datasets_crash.py", line 7, in <module> arrow=datasets.Dataset.from_pandas(d) File "/home/.conda/envs/tools/lib/python3.9/site-packages/datasets/arrow_dataset.py", line 783, in from_pandas table = InMemoryTable.from_pandas( File "/home/.conda/envs/tools/lib/python3.9/site-packages/datasets/table.py", line 379, in from_pandas return cls(pa.Table.from_pandas(*args, **kwargs)) File "pyarrow/table.pxi", line 1487, in pyarrow.lib.Table.from_pandas File "pyarrow/table.pxi", line 1532, in pyarrow.lib.Table.from_arrays File "pyarrow/table.pxi", line 1181, in pyarrow.lib.Table.validate File "pyarrow/error.pxi", line 84, in pyarrow.lib.check_status pyarrow.lib.ArrowInvalid: Column 1: In chunk 0: Invalid: List child array invalid: Invalid: Struct child array #1 has length smaller than expected for struct array (1192457 < 1192458) ``` ## Steps to reproduce the bug I have a dataset made from replicated single example mocking a dict representation of a publication. I copy over this example 140k times and create a pandas frame. I use 'Dataset.from_pandas' and boom ```python # Sample code to reproduce the bug import copy import datasets import pandas # serialized dict is quite long to be realistic representation of a publication content paper_as_dict=eval("{'article_id': '2020-11-05T14:25:05.321Z02bc3286-91b7-486a-9c74-4f457fbc586a', 'sections': [{'section_id': 'body.0', 'paragraphs': [{'sentences': ['11010111001000000011010011110011101110111011000100001010011100101001111010110111101011101111101010101110001111011110111010111', '1101100110110010010101010100110011000111001100100000011100010111010000011100001101111000000011010111001111001010101111110011010010111011000110100110010', '101011011000010100000010011001011011000000110011011110000101001110110000010001100110111100011100110101010010110000101', '1101101110101010101000000010101011111001111000101000110001110100111000100000011001110100110000110100111011001010110011101001001110']}]}, {'section_id': 'body.1', 'paragraphs': [{'sentences': ['11111100100100111000101001011110100110011001011011001001100110100111011010000110011000010001010100101110001001101011110111110101111100001001001000011110110010110011100110110111110011100011111000101010111010101011001110000100000001001010010010011101111100011010', '10101000110000110111110011101111000101010010001001010000001111001100000010001000001110111110010011101000000111011', '111010011111101111110011111110110001000111100101001000100110101111110000111000111111110000101001101000110011010111011101001010110110001000100000001110001111100110110001110001001100011010100110100010100111000110110100010010100101011110000110000101010010001110101100000']}, {'sentences': ['111110011110110110001111001101011110010110100011101010110101011001101110110111100000111101010110011110111101001111000101110001001010010101100111111001001000011101000100110000101', '011101101101111101001100101010000010111101100101110100101000001100010100110011010010100001101001110111100011010011011111000111111101110001010111010011010110001000010101100110000100010110101110110011001010011001100111101100001001', '1110001011011010101001100001110001110001000111111111101110100001011101101001110100000110000011010001101010101110101110101101001010100100010000000010110010010010', '11101111000111111100111110010000111101110010010101001111011001111110011000011100110001010010000100101010', '111000110110110010101100010010100001100100110010101000001000011101000100101011011010000011001011011111001101100001110010100001111110111001001010101100100110001011011100000101010010000000001100010000101100110110111101110010100010011101110110111010011011000011001010111011100000000010101001011000100000011010100011101001011001010010011110100100']}, {'sentences': ['001101111100001101001001001110000110010101011101001001111111011000111001111011101011110111000000100001110110101110001010001111110100010', '0000110010110101001100011011000011001101001110001000000110010101000011101011110110000000100111000001010000101011111011110001001100001110101010101110101011111000000011001111011110001010010111010000100100000001111001011100101111010101111001001101100101001101111000111011010110010001010010010111010000001101101111100101000111101011001000101', '00000101100101100111101010000101011100101100001100011001100100001100001010001010010011001001111001000010100010000110100111110000001000101000111100010111110011000100000111100010000100010111100010101', '111100110010100110000010010101010101110011110100000101110000000111010101111001011110010101001110000001001000010110010010011110111110010110100101110011001101110111001111100011100100011110010010100101011111111']}, {'sentences': ['1100001110101111000001011001100110001011100011110110010011001000101000011110010101010011011000111010000101010011010000000111011001000010100101000011111101000000000101111000', '1110101000100110001111000011000101110111001100101010011001100011010011111111111010101011010101010011000101001100100000110010100110110110110001101100', '00010001100100101100100111111110111111101000100110101111101111110101110001010001011100000000000011010101101001111010001110101101110011001011111101110100010000111101', '011100011101011001000110010110100100000010100010010110011000000010101110011111111101010010010001100110101010010001100010110011110001011011101010111111100100110110010111101001100101010111001', '10111000011010101111110110011010101011111001000001010010111111010010111111100100010100110100101101110100110011001000110100000111000100110000001000111010', '0010011111111011100111010001111001011101001010000010110000010111000101001101000011101110100100000000100100010010101010100011100101001000100110110000010111111110000011011101111000111010']}]}, {'section_id': 'body.2.0', 'paragraphs': [{'sentences': ['110010010011001110100100011001111100010011110111101011011011001010010010010011101011', '000110101110011011101011000000100011111000001100011011110101101011000110011010001010001101101100000111100101001011111001001101111', '1000011100100000100100100010010000111011000100110010000011110111100110110001101001010100011111010100101000111', '11110111111000110010000000000100010010110001100010001010000111011000101100011010010101110110011010110101001101110011101011101100000001000100101011010110110100101011101010010101101000011110000010101011001011000001000000001010110000100010000100011110101001111100001000100000111000001010011111111110101010100011011000010000111000110', '1001000111011000111110001111111001100001000000101000111011101101100101010110001101000000001111010111100011111000000100001001110', '100110010111010101111010100000010001110101111001010010001100001110100100100101110011010101001000100101000100100011001110001100111000010010011011000010011010010000110001000000100011110010110110011010001100111010111110011']}, {'sentences': ['10010101011100010111011111001001001010100011001001111101101001000000001111101110000111101011000001001011101110101001100010010001101111001110000100010010001001101111011111110010011011110011', '110001110010110000101111000000110010010010100000010100001111101101000101100000000110000000011111011001111000010110110001011010011011101100100110011000100110101010111010111111000111001111010110010001001110100001011011000110000000111101110000001111011011101110100000100010000110001000000110100000', '101010000000010000110110111000110000100111000001110100101101101010001010010010101010100111010110001001000101011110010011001001001110111001101101100100011110011011110101100010110111001010000001000110100000001010011111111110111010011110001001110100011011000101011000110110011011010110100100011111111011100111110110000110011011110110110011101010101111001101010110101000000001100101111010000101110', '1010100110111111111000110110111110010100000100001110101110111001011000010001110110001111111110000101001001110010001110000111010101111010111111011100100011100111111101101111000010001100101000010001100110110100110111111100100011001011000001111110010100110111000010011110111011001101100000101011111110101000011000010', '00000001110000101001110101110011101001110011000111111101111101111000010011100000101000001011001110', '101000111010010000011010011010011010010010100010110100011100100111011101010100101110100111010001000000', '01101000110001101011001101100010100011011010000000001010101000010101000110100010000000110001110001010010000000101101000011000100000110011101100001010100011111101010010110001101110101010111101100001110000011001101', '0010010111000011110010011110001010100000111100001011010100100010101010010011101101100110001001111001000110000111011110010000110101010110111111010110100000011010001001010001000110001101101000101110001011110000101101110000110010110010111001100010011011100011', '00110111110000000100110111101011000100100110001000001001101011001000010100100001100111100110000110110101111010000010101000000101000011001011101001', '0100100001000111001110110110000001000100111001101101110100100111010111110001110010110111100110011111001001000011101110100101111011000110100000111010011101']}, {'sentences': ['100001001011101111111100110111011110001101111101100001000110110000100101011000000100000', '10101001001111110101001010100110011110101101001']}]}, {'section_id': 'body.2.0.0', 'paragraphs': [{'sentences': ['1110101100001100011000101000010000100010101101010110101011100101110110110111010101001100100000000111011001000100011110101011111010100101001010000010001001101010100011110010101110011001100010000100110011000011101010001000111001000001100', '101000000011001001110101000100101010000111000111100010010001111111100110001100000100011010011010010101101111010101010000110011101001111001111011111001110001010000110101101011101111010000001100', '01100001011110010100000101001101111101010011100010011001011110110010010011100101000', '0011100111000101111000010001111100000111000101110001111010001100001000111010000101100001110101100111111', '00001100000011110001011010010110000000111110110001111000110000011011001110000000100011001010110000010000010001101010101100000010011011000101011111100010010', '1011101011101111000001100100111000011000010010011110011000110111010010111100111101100110011010000110000111000110111110101111000001000010011101111000110000100011110101101101001101000110010000001000010011011010101100', '1000010011100011100000010011011111111110101101111011101010010111000000101011000000110101111000010011', '01100000110011001110101111101101011001011101000010001100101010100011010101010100111011011110100010100111', '011011010100011011110010101000110001111110110']}]}, {'section_id': 'body.2.0.1', 'paragraphs': [{'sentences': ['00111011011101000100100111000001101001011000111100100010101001010011001011000010011111001100000100010001100101110011001000110001101011010111011111011000010011010010111010011111101000110111011100010011100111111110110111011', '011011010101101101010000001011010110011111011110100111010101010110001101000010011111000011100', '110001000110010000000111101110111110101110111000101000010001110101000101001000111000010001011101010000110001010001101001001110111110111010111010011101000101101010000', '001000111110100110000001111100000111001110111001110111001000111010001001100111001101000001001001010111000111011100001111011001111110001011000111110011111101011101000100101001111011100001000110101010101111111110011111111011000101110001000000000100111011111011001100111', '11010101100010010100010010010101001011001011000001100010101111111101001101110011001010010100000111010101', '01110000110011111000110010011010000011100000010010001111100010010100100001011011111110001100', '011101111100011101100111110101111001101010010001001110101100001101000000111000']}]}, {'section_id': 'body.2.0.2', 'paragraphs': [{'sentences': ['0111011000110100110000001011001110111000011110100111011000000001000010001111111001101111011100101110101101000111000101000010000111011010110000011101111110111110100111000111000011', '00100110111000110101100111000110100010011010010101001010011000000101000110100110011010011111000100000011000000010001010000100111101011111111101010001111010000001011100001110100000101001101101010011011101000', '000001110001010010100101010100010101001100011001001101101101110111011111101010010111010110110111011110101100001000011110111011001', '0001110010111110100110110011000001111100100100110101011010010101010100101000010101000100101000011011', '1000010010010101001100101110010111010100000110101110000000111001111111001011111010000011110001011001001001000101', '0001111100111010010100010111010110011011000000001111010010110001000011010001100111101110001110000011010101111100001000011010110100000100100001111011110110000000101000010001111001010010110101110111101101110111000100', '1000101100001000100001101110111110000100000001000010101111010011010010010111011010100011001000100100001010001100110']}]}, {'section_id': 'body.2.0.3', 'paragraphs': [{'sentences': ['1010100111100011110110101011100001011010011010100100010011000110111000001010010110111001001101111000010100100110101001010001010001000110010000001', '100010101010100111000011111101010100101110011000100011100100100111000010000011001010010111011010000101010011011110111001010110', '0110000110110110110011011000011010010000001010011000010001011110110010000100011111010100110111111010010111000101111', '10100100000011100010110110011111011011101101111000001001010100001001011010000011001010101100000', '1011111111100001001100000010000100110010101000010100111111110010110011101110000101101011101', '10001111110000011100100000101100000000010000100000011100110000011110111010011101010111101001111000100000000110000011010010001100110111100001001011101011001111110010100111001001010001010011010010010111001101110101110000101011', '101101111111101101010010000110111110000110000111001001010011111101011001011010101100010100110101101011100111100100110010001011110001110010000011101100100100001001110010000010011111100110101']}]}, {'section_id': 'body.2.1', 'paragraphs': [{'sentences': ['1010010011010011001111111001000110010001101111101011001011011000101001010101010001000110100011110101110001110110111010010010100100111000101100100101111110100000011111001101010111101010100101011011110111111110', '000010101101111100000110010110011001111100001101011101000100010001001001000000101101000001110000011010111100000010010000010101110101100010011000101110110111111001000101000111000110100001001100001010101010100011', '0000000011101110111100100010111100101010110001111101110110010000100100010000101001101111001111001001100110010011010000101001110010000000100101011101001010100100011101101001011000010111110100101010110110011001110000110010010111110110101100001011101001100111010001000010111010001010000100010010011110111100110011100011111101101000011100111110101010100110001100100000100011011010111000111110010110100010111101001001101000001100100010000111110000011101111100111101000000000']}, {'sentences': ['01011000010110011000000101101000110101011010100111011001001001100001101101111101111001101111100101111001101011011001011110110110110100001100111111010100101110111111101000101100101010110011111011100101101010100110111001111100100011001110011101000110100000001100001100110001110101001000011010000110101011010000001111100100000100101110011000001001010011011101100011000001100000011', '1001100000101000000011110100110001100001101001100011010000111111010110101111001000100111000011010100100000110110001', '10010011000110110111010110000010010000000111101000100101100111101101001100111110101001001111100001110011110000010101000001000000010100011011110011000100110101001100110111111001101000011010100110000000011110001000101010101000110010010']}]}, {'section_id': 'body.2.2', 'paragraphs': [{'sentences': ['000011000000010011000001101111000101000111111111111010001011110000011001010111010101010110001111110000010', '10101001101011101010001111011000110100000100011110010001100111111101101100010010111110110101101011000011000001101110010111011111100111110000000101110010111', '100001011110010111010110001101101001100000000001000010110101011001111100101101101111010010111111000000111001111010011111000100010001111011110001010000110010101010111110100101011011100001010101000001011011111111101', '1000110111111011101000110101001111111111000100011001000011010100001010011110001111010011011111000111011100101001011111001000010101110110101000111011111111010010001101001010110111000011110101011000010000110', '1011100000100000010101101111001001100110111000010001011010111111000000001010101001111011101011010101101001111101101100101001011101000011011010001001101100100111101111111100010011010101111011100001100001000100101100100110101000010000011000000011001100000110000001', '0001001101111001111111010000001101010110110110100110110100000100110101101010010101011000010010111011000010111110000001110101110111000010011000100110111001000111011000100101110111111', '0110010010011000011010001111001100101001100001001000010100101100010110000000101010110001001010001100111101010001110010010000111011100101101010111111101001100010001011100110010100110111010101000100001110000101110011111011111000010101010110101100010010111100100010010100111110111100101010100011101001110110010000011110001010101010000100010000100111001111011101', '000001010000010001100000101011000000110101000100010111111100101111111000110111001001110110101111110011100001001000011001010000011011', '0101101001010101001101010100011000111011001000100001110100110011100000001001010110001101010110011100111111100101101111101111011001111111110010111010011011011111011011110000101011010', '11000001110111000001100100001110000111001010000101011011101010111001011100010010010111111111000011111110010111100011100110001001100011111010100111110111001110010', '0100010110100001010101110111100011100100010111111011101001100101111110101011010010101111001000101001111000001110001100011001110010100110101100110100100000001010101101011110011001000101100111001001001110100', '100000100010011111001101010000100110011110001100000010010110110100000111111011010100101111010111001110101000100001111101001110000011010110000010100', '00100110000011100101000110110001000011101000011010101000010001111011100001111111001011100111101000001000000110110001000101111010010010001100111', '0110110100011001110011001111100010101001011111011001011001101101010010101101110101010100001000100100000111101110001001110111000110011101101010100000101', '0011111010010011011101010110100110000011000011100100101011011001110110001110001111000011010111011000110100111111011101110111000010010000011011010011011100000011101100110110100100000010110101110100110101001100111011101001010111011011110100110101110010011011010001010111110011001000010100010101010010110010010110000100110001000011010011000100101011010100100111010']}]}]}") d=pandas.DataFrame.from_records(copy.deepcopy(paper_as_dict) for _ in range(140_100)) arrow=datasets.Dataset.from_pandas(d) ``` ## Expected results The dataset should be converted without error. ## Actual results Error `pyarrow.lib.ArrowInvalid: Column 1: In chunk 0: Invalid: List child array invalid: Invalid: Struct child array #1 has length smaller than expected for struct array (1192457 < 1192458)` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: datasets==1.18.4 pandas==1.3.5 - Platform: macOS 11.6 or CentOS Linux 7 (Core) - Python version: Python 3.9.7 - PyArrow version: pyarrow==3.0.0
876
18
Medium-sized dataset conversion from pandas causes a crash Hi, I am suffering from the following issue: ## Describe the bug Conversion to arrow dataset from pandas dataframe of a certain size deterministically causes the following crash: ``` File "/home/datasets_crash.py", line 7, in <module> arrow=datasets.Dataset.from_pandas(d) File "/home/.conda/envs/tools/lib/python3.9/site-packages/datasets/arrow_dataset.py", line 783, in from_pandas table = InMemoryTable.from_pandas( File "/home/.conda/envs/tools/lib/python3.9/site-packages/datasets/table.py", line 379, in from_pandas return cls(pa.Table.from_pandas(*args, **kwargs)) File "pyarrow/table.pxi", line 1487, in pyarrow.lib.Table.from_pandas File "pyarrow/table.pxi", line 1532, in pyarrow.lib.Table.from_arrays File "pyarrow/table.pxi", line 1181, in pyarrow.lib.Table.validate File "pyarrow/error.pxi", line 84, in pyarrow.lib.check_status pyarrow.lib.ArrowInvalid: Column 1: In chunk 0: Invalid: List child array invalid: Invalid: Struct child array #1 has length smaller than expected for struct array (1192457 < 1192458) ``` ## Steps to reproduce the bug I have a dataset made from replicated single example mocking a dict representation of a publication. I copy over this example 140k times and create a pandas frame. I use 'Dataset.from_pandas' and boom ```python # Sample code to reproduce the bug import copy import datasets import pandas # serialized dict is quite long to be realistic representation of a publication content paper_as_dict=eval("{'article_id': '2020-11-05T14:25:05.321Z02bc3286-91b7-486a-9c74-4f457fbc586a', 'sections': [{'section_id': 'body.0', 'paragraphs': [{'sentences': ['11010111001000000011010011110011101110111011000100001010011100101001111010110111101011101111101010101110001111011110111010111', '1101100110110010010101010100110011000111001100100000011100010111010000011100001101111000000011010111001111001010101111110011010010111011000110100110010', '101011011000010100000010011001011011000000110011011110000101001110110000010001100110111100011100110101010010110000101', '1101101110101010101000000010101011111001111000101000110001110100111000100000011001110100110000110100111011001010110011101001001110']}]}, {'section_id': 'body.1', 'paragraphs': [{'sentences': ['11111100100100111000101001011110100110011001011011001001100110100111011010000110011000010001010100101110001001101011110111110101111100001001001000011110110010110011100110110111110011100011111000101010111010101011001110000100000001001010010010011101111100011010', '10101000110000110111110011101111000101010010001001010000001111001100000010001000001110111110010011101000000111011', '111010011111101111110011111110110001000111100101001000100110101111110000111000111111110000101001101000110011010111011101001010110110001000100000001110001111100110110001110001001100011010100110100010100111000110110100010010100101011110000110000101010010001110101100000']}, {'sentences': ['111110011110110110001111001101011110010110100011101010110101011001101110110111100000111101010110011110111101001111000101110001001010010101100111111001001000011101000100110000101', '011101101101111101001100101010000010111101100101110100101000001100010100110011010010100001101001110111100011010011011111000111111101110001010111010011010110001000010101100110000100010110101110110011001010011001100111101100001001', '1110001011011010101001100001110001110001000111111111101110100001011101101001110100000110000011010001101010101110101110101101001010100100010000000010110010010010', '11101111000111111100111110010000111101110010010101001111011001111110011000011100110001010010000100101010', '111000110110110010101100010010100001100100110010101000001000011101000100101011011010000011001011011111001101100001110010100001111110111001001010101100100110001011011100000101010010000000001100010000101100110110111101110010100010011101110110111010011011000011001010111011100000000010101001011000100000011010100011101001011001010010011110100100']}, {'sentences': ['001101111100001101001001001110000110010101011101001001111111011000111001111011101011110111000000100001110110101110001010001111110100010', '0000110010110101001100011011000011001101001110001000000110010101000011101011110110000000100111000001010000101011111011110001001100001110101010101110101011111000000011001111011110001010010111010000100100000001111001011100101111010101111001001101100101001101111000111011010110010001010010010111010000001101101111100101000111101011001000101', '00000101100101100111101010000101011100101100001100011001100100001100001010001010010011001001111001000010100010000110100111110000001000101000111100010111110011000100000111100010000100010111100010101', '111100110010100110000010010101010101110011110100000101110000000111010101111001011110010101001110000001001000010110010010011110111110010110100101110011001101110111001111100011100100011110010010100101011111111']}, {'sentences': ['1100001110101111000001011001100110001011100011110110010011001000101000011110010101010011011000111010000101010011010000000111011001000010100101000011111101000000000101111000', '1110101000100110001111000011000101110111001100101010011001100011010011111111111010101011010101010011000101001100100000110010100110110110110001101100', '00010001100100101100100111111110111111101000100110101111101111110101110001010001011100000000000011010101101001111010001110101101110011001011111101110100010000111101', '011100011101011001000110010110100100000010100010010110011000000010101110011111111101010010010001100110101010010001100010110011110001011011101010111111100100110110010111101001100101010111001', '10111000011010101111110110011010101011111001000001010010111111010010111111100100010100110100101101110100110011001000110100000111000100110000001000111010', '0010011111111011100111010001111001011101001010000010110000010111000101001101000011101110100100000000100100010010101010100011100101001000100110110000010111111110000011011101111000111010']}]}, {'section_id': 'body.2.0', 'paragraphs': [{'sentences': ['110010010011001110100100011001111100010011110111101011011011001010010010010011101011', '000110101110011011101011000000100011111000001100011011110101101011000110011010001010001101101100000111100101001011111001001101111', '1000011100100000100100100010010000111011000100110010000011110111100110110001101001010100011111010100101000111', '11110111111000110010000000000100010010110001100010001010000111011000101100011010010101110110011010110101001101110011101011101100000001000100101011010110110100101011101010010101101000011110000010101011001011000001000000001010110000100010000100011110101001111100001000100000111000001010011111111110101010100011011000010000111000110', '1001000111011000111110001111111001100001000000101000111011101101100101010110001101000000001111010111100011111000000100001001110', '100110010111010101111010100000010001110101111001010010001100001110100100100101110011010101001000100101000100100011001110001100111000010010011011000010011010010000110001000000100011110010110110011010001100111010111110011']}, {'sentences': ['10010101011100010111011111001001001010100011001001111101101001000000001111101110000111101011000001001011101110101001100010010001101111001110000100010010001001101111011111110010011011110011', '110001110010110000101111000000110010010010100000010100001111101101000101100000000110000000011111011001111000010110110001011010011011101100100110011000100110101010111010111111000111001111010110010001001110100001011011000110000000111101110000001111011011101110100000100010000110001000000110100000', '101010000000010000110110111000110000100111000001110100101101101010001010010010101010100111010110001001000101011110010011001001001110111001101101100100011110011011110101100010110111001010000001000110100000001010011111111110111010011110001001110100011011000101011000110110011011010110100100011111111011100111110110000110011011110110110011101010101111001101010110101000000001100101111010000101110', '1010100110111111111000110110111110010100000100001110101110111001011000010001110110001111111110000101001001110010001110000111010101111010111111011100100011100111111101101111000010001100101000010001100110110100110111111100100011001011000001111110010100110111000010011110111011001101100000101011111110101000011000010', '00000001110000101001110101110011101001110011000111111101111101111000010011100000101000001011001110', '101000111010010000011010011010011010010010100010110100011100100111011101010100101110100111010001000000', '01101000110001101011001101100010100011011010000000001010101000010101000110100010000000110001110001010010000000101101000011000100000110011101100001010100011111101010010110001101110101010111101100001110000011001101', '0010010111000011110010011110001010100000111100001011010100100010101010010011101101100110001001111001000110000111011110010000110101010110111111010110100000011010001001010001000110001101101000101110001011110000101101110000110010110010111001100010011011100011', '00110111110000000100110111101011000100100110001000001001101011001000010100100001100111100110000110110101111010000010101000000101000011001011101001', '0100100001000111001110110110000001000100111001101101110100100111010111110001110010110111100110011111001001000011101110100101111011000110100000111010011101']}, {'sentences': ['100001001011101111111100110111011110001101111101100001000110110000100101011000000100000', '10101001001111110101001010100110011110101101001']}]}, {'section_id': 'body.2.0.0', 'paragraphs': [{'sentences': ['1110101100001100011000101000010000100010101101010110101011100101110110110111010101001100100000000111011001000100011110101011111010100101001010000010001001101010100011110010101110011001100010000100110011000011101010001000111001000001100', '101000000011001001110101000100101010000111000111100010010001111111100110001100000100011010011010010101101111010101010000110011101001111001111011111001110001010000110101101011101111010000001100', '01100001011110010100000101001101111101010011100010011001011110110010010011100101000', '0011100111000101111000010001111100000111000101110001111010001100001000111010000101100001110101100111111', '00001100000011110001011010010110000000111110110001111000110000011011001110000000100011001010110000010000010001101010101100000010011011000101011111100010010', '1011101011101111000001100100111000011000010010011110011000110111010010111100111101100110011010000110000111000110111110101111000001000010011101111000110000100011110101101101001101000110010000001000010011011010101100', '1000010011100011100000010011011111111110101101111011101010010111000000101011000000110101111000010011', '01100000110011001110101111101101011001011101000010001100101010100011010101010100111011011110100010100111', '011011010100011011110010101000110001111110110']}]}, {'section_id': 'body.2.0.1', 'paragraphs': [{'sentences': ['00111011011101000100100111000001101001011000111100100010101001010011001011000010011111001100000100010001100101110011001000110001101011010111011111011000010011010010111010011111101000110111011100010011100111111110110111011', '011011010101101101010000001011010110011111011110100111010101010110001101000010011111000011100', '110001000110010000000111101110111110101110111000101000010001110101000101001000111000010001011101010000110001010001101001001110111110111010111010011101000101101010000', '001000111110100110000001111100000111001110111001110111001000111010001001100111001101000001001001010111000111011100001111011001111110001011000111110011111101011101000100101001111011100001000110101010101111111110011111111011000101110001000000000100111011111011001100111', '11010101100010010100010010010101001011001011000001100010101111111101001101110011001010010100000111010101', '01110000110011111000110010011010000011100000010010001111100010010100100001011011111110001100', '011101111100011101100111110101111001101010010001001110101100001101000000111000']}]}, {'section_id': 'body.2.0.2', 'paragraphs': [{'sentences': ['0111011000110100110000001011001110111000011110100111011000000001000010001111111001101111011100101110101101000111000101000010000111011010110000011101111110111110100111000111000011', '00100110111000110101100111000110100010011010010101001010011000000101000110100110011010011111000100000011000000010001010000100111101011111111101010001111010000001011100001110100000101001101101010011011101000', '000001110001010010100101010100010101001100011001001101101101110111011111101010010111010110110111011110101100001000011110111011001', '0001110010111110100110110011000001111100100100110101011010010101010100101000010101000100101000011011', '1000010010010101001100101110010111010100000110101110000000111001111111001011111010000011110001011001001001000101', '0001111100111010010100010111010110011011000000001111010010110001000011010001100111101110001110000011010101111100001000011010110100000100100001111011110110000000101000010001111001010010110101110111101101110111000100', '1000101100001000100001101110111110000100000001000010101111010011010010010111011010100011001000100100001010001100110']}]}, {'section_id': 'body.2.0.3', 'paragraphs': [{'sentences': ['1010100111100011110110101011100001011010011010100100010011000110111000001010010110111001001101111000010100100110101001010001010001000110010000001', '100010101010100111000011111101010100101110011000100011100100100111000010000011001010010111011010000101010011011110111001010110', '0110000110110110110011011000011010010000001010011000010001011110110010000100011111010100110111111010010111000101111', '10100100000011100010110110011111011011101101111000001001010100001001011010000011001010101100000', '1011111111100001001100000010000100110010101000010100111111110010110011101110000101101011101', '10001111110000011100100000101100000000010000100000011100110000011110111010011101010111101001111000100000000110000011010010001100110111100001001011101011001111110010100111001001010001010011010010010111001101110101110000101011', '101101111111101101010010000110111110000110000111001001010011111101011001011010101100010100110101101011100111100100110010001011110001110010000011101100100100001001110010000010011111100110101']}]}, {'section_id': 'body.2.1', 'paragraphs': [{'sentences': ['1010010011010011001111111001000110010001101111101011001011011000101001010101010001000110100011110101110001110110111010010010100100111000101100100101111110100000011111001101010111101010100101011011110111111110', '000010101101111100000110010110011001111100001101011101000100010001001001000000101101000001110000011010111100000010010000010101110101100010011000101110110111111001000101000111000110100001001100001010101010100011', '0000000011101110111100100010111100101010110001111101110110010000100100010000101001101111001111001001100110010011010000101001110010000000100101011101001010100100011101101001011000010111110100101010110110011001110000110010010111110110101100001011101001100111010001000010111010001010000100010010011110111100110011100011111101101000011100111110101010100110001100100000100011011010111000111110010110100010111101001001101000001100100010000111110000011101111100111101000000000']}, {'sentences': ['01011000010110011000000101101000110101011010100111011001001001100001101101111101111001101111100101111001101011011001011110110110110100001100111111010100101110111111101000101100101010110011111011100101101010100110111001111100100011001110011101000110100000001100001100110001110101001000011010000110101011010000001111100100000100101110011000001001010011011101100011000001100000011', '1001100000101000000011110100110001100001101001100011010000111111010110101111001000100111000011010100100000110110001', '10010011000110110111010110000010010000000111101000100101100111101101001100111110101001001111100001110011110000010101000001000000010100011011110011000100110101001100110111111001101000011010100110000000011110001000101010101000110010010']}]}, {'section_id': 'body.2.2', 'paragraphs': [{'sentences': ['000011000000010011000001101111000101000111111111111010001011110000011001010111010101010110001111110000010', '10101001101011101010001111011000110100000100011110010001100111111101101100010010111110110101101011000011000001101110010111011111100111110000000101110010111', '100001011110010111010110001101101001100000000001000010110101011001111100101101101111010010111111000000111001111010011111000100010001111011110001010000110010101010111110100101011011100001010101000001011011111111101', '1000110111111011101000110101001111111111000100011001000011010100001010011110001111010011011111000111011100101001011111001000010101110110101000111011111111010010001101001010110111000011110101011000010000110', '1011100000100000010101101111001001100110111000010001011010111111000000001010101001111011101011010101101001111101101100101001011101000011011010001001101100100111101111111100010011010101111011100001100001000100101100100110101000010000011000000011001100000110000001', '0001001101111001111111010000001101010110110110100110110100000100110101101010010101011000010010111011000010111110000001110101110111000010011000100110111001000111011000100101110111111', '0110010010011000011010001111001100101001100001001000010100101100010110000000101010110001001010001100111101010001110010010000111011100101101010111111101001100010001011100110010100110111010101000100001110000101110011111011111000010101010110101100010010111100100010010100111110111100101010100011101001110110010000011110001010101010000100010000100111001111011101', '000001010000010001100000101011000000110101000100010111111100101111111000110111001001110110101111110011100001001000011001010000011011', '0101101001010101001101010100011000111011001000100001110100110011100000001001010110001101010110011100111111100101101111101111011001111111110010111010011011011111011011110000101011010', '11000001110111000001100100001110000111001010000101011011101010111001011100010010010111111111000011111110010111100011100110001001100011111010100111110111001110010', '0100010110100001010101110111100011100100010111111011101001100101111110101011010010101111001000101001111000001110001100011001110010100110101100110100100000001010101101011110011001000101100111001001001110100', '100000100010011111001101010000100110011110001100000010010110110100000111111011010100101111010111001110101000100001111101001110000011010110000010100', '00100110000011100101000110110001000011101000011010101000010001111011100001111111001011100111101000001000000110110001000101111010010010001100111', '0110110100011001110011001111100010101001011111011001011001101101010010101101110101010100001000100100000111101110001001110111000110011101101010100000101', '0011111010010011011101010110100110000011000011100100101011011001110110001110001111000011010111011000110100111111011101110111000010010000011011010011011100000011101100110110100100000010110101110100110101001100111011101001010111011011110100110101110010011011010001010111110011001000010100010101010010110010010110000100110001000011010011000100101011010100100111010']}]}]}") d=pandas.DataFrame.from_records(copy.deepcopy(paper_as_dict) for _ in range(140_100)) arrow=datasets.Dataset.from_pandas(d) ``` ## Expected results The dataset should be converted without error. ## Actual results Error `pyarrow.lib.ArrowInvalid: Column 1: In chunk 0: Invalid: List child array invalid: Invalid: Struct child array #1 has length smaller than expected for struct array (1192457 < 1192458)` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: datasets==1.18.4 pandas==1.3.5 - Platform: macOS 11.6 or CentOS Linux 7 (Core) - Python version: Python 3.9.7 - PyArrow version: pyarrow==3.0.0 Hi ! It looks like an issue with pyarrow, could you try updating pyarrow and try again ?
[ -1.1457599401474, -0.8943801522254944, -0.6632125973701477, 1.427625298500061, -0.1471705287694931, -1.3287885189056396, 0.025831475853919983, -1.164322018623352, 1.6340746879577637, -0.7126736640930176, 0.22264385223388672, -1.633040428161621, 0.020832743495702744, -0.5315749049186707, -0.7494450807571411, -0.9293989539146423, -0.3744177222251892, -0.8587398529052734, 1.0630364418029785, 2.495328187942505, 1.2850909233093262, -1.434547781944275, 2.7018821239471436, 0.7030465602874756, -0.2617838382720947, -1.0232434272766113, 0.5935736894607544, 0.04115339741110802, -1.3435367345809937, -0.48203909397125244, -0.922823429107666, -0.039109013974666595, -0.549697995185852, -0.4992602467536926, 0.07880278676748276, 0.37639832496643066, -0.3313738703727722, -0.3761354088783264, -0.6137182712554932, -0.7387059926986694, 0.44337916374206543, -0.29858148097991943, 1.0219295024871826, -0.4084426760673523, 1.7530441284179688, -0.613507091999054, 0.4193505644798279, 0.7693553566932678, 1.3120805025100708, 0.14443615078926086, 0.0289282388985157, 0.31833910942077637, 0.30194830894470215, -0.03562554717063904, 0.5252082943916321, 1.0924397706985474, 0.6566181182861328, 0.4297062158584595, 0.7388349175453186, -2.145589590072632, 1.3387528657913208, -0.9268784523010254, 0.22871248424053192, 1.3636934757232666, -0.9238095283508301, 0.3560788631439209, -1.731009602546692, -0.10195236653089523, 0.5611032843589783, -2.2700815200805664, 0.3258766531944275, -1.2084450721740723, -0.46387559175491333, 0.9769812226295471, 0.322021484375, -1.1052428483963013, 0.18346428871154785, -0.5392648577690125, 0.9834020733833313, 0.5126168131828308, 1.1407591104507446, -1.6394083499908447, -0.05850382149219513, -0.23046736419200897, 0.035923585295677185, -1.2281641960144043, -1.5593292713165283, 0.563618540763855, 0.6325693726539612, 0.580539345741272, -0.06546001136302948, 0.9998580813407898, -1.0332927703857422, 0.7845859527587891, -0.914804220199585, -1.5697226524353027, -1.411082148551941, -2.3958969116210938, -2.302264451980591, 0.8438934683799744, -0.4921402931213379, -0.5250413417816162, 2.0728402137756348, -0.95526123046875, -1.7758526802062988, 1.0423005819320679, 0.2849917411804199, 0.0465603731572628, 2.3602309226989746, 0.21988576650619507, -0.7676367163658142, 0.41097337007522583, -0.678583562374115, 0.7628976702690125, -0.3688642978668213, 1.326854944229126, 0.44729912281036377, -1.0083378553390503, 1.5600987672805786, -0.40250372886657715, 0.5898298621177673, -0.6137464046478271, -0.4836752414703369, -0.8023589849472046, 0.3107507824897766, 1.802220106124878, -0.278026819229126, 1.4761158227920532, -0.2943410277366638, -1.562875747680664, -1.5904278755187988, 0.773372232913971, 0.5316997170448303, -0.7754441499710083, 0.07016529142856598, -0.44732606410980225, 0.11868028342723846, -0.007751963101327419, 1.1110481023788452, 1.2395938634872437, 0.7480375170707703, -0.33126676082611084, -0.8717149496078491, 0.1555926352739334, -0.1882171928882599, -0.7610986232757568, -1.8770227432250977, -0.3563423752784729, 0.1743360161781311, 0.6234309077262878, -1.2502059936523438, 1.7228538990020752, 0.9909893870353699, 1.9863460063934326, 0.938849687576294, -0.4102937579154968, 1.487007975578308, 0.055895380675792694, 1.8836047649383545, -0.4791964888572693, 0.6491035223007202, -0.3113594055175781, -1.18817138671875, 0.8626238703727722, -0.4075338840484619, -2.0213065147399902, -0.7864611744880676, -0.7399776577949524, -0.11750376224517822, -0.7266587615013123, 0.9468722939491272, -0.24349038302898407, -1.3723243474960327, 0.1746109575033188, -0.7474008798599243, 0.1859780102968216, -1.2404063940048218, 0.18274176120758057, 0.670825183391571, -0.6461604833602905, 0.016408264636993408, -0.30794447660446167, -1.3241404294967651, -0.5037349462509155, 0.2581692337989807, 1.8743008375167847, -0.7861183285713196, 1.0163018703460693, 1.0314732789993286, -0.6677423715591431, 0.09755631536245346, 0.2528001666069031, -0.36799776554107666, 0.8410739302635193, -1.1601552963256836, -0.3849790096282959, 1.1353610754013062, -0.1977584958076477, -0.5686176419258118, 1.4539670944213867, 0.8144748210906982, -1.0350748300552368, -0.1904015988111496, -0.2235686331987381, -0.9269073605537415, -0.010849938727915287, -1.5386369228363037, -0.1184859499335289, 0.38791143894195557, -1.5292630195617676, -0.36384040117263794, -0.17605391144752502, 1.3433915376663208, -0.1530035436153412, 1.3949205875396729, -0.3713652491569519, -0.1729513257741928, -0.26486825942993164, -0.32779091596603394, 0.1755152940750122, -0.2237265408039093, -0.5737900733947754, 0.2828264832496643, -0.8250197768211365, 0.29136478900909424, 1.5198884010314941, 0.41137754917144775, 0.05899932235479355, 0.5486019253730774, 1.0690785646438599, 0.3247288465499878, -0.06836974620819092, -0.7820838689804077, -1.551577091217041, 2.0100204944610596, -1.4714328050613403, 1.9593240022659302, 0.810775637626648, 0.003940930590033531, -1.7725143432617188, -1.8955183029174805, 1.2913615703582764, 1.1466805934906006, 2.3399159908294678, 0.5613774657249451, 0.41205334663391113, -0.7782692313194275, -0.6902045011520386, 0.30612367391586304, -1.020709753036499, -0.6723546385765076, 0.22552287578582764, 2.3464035987854004, 1.7152279615402222, -0.4513041377067566, -0.25170403718948364, -0.9134826064109802, 1.410021424293518, -0.24672648310661316, 0.1658303588628769, 2.1091737747192383, -0.16168232262134552, -1.0560882091522217, 1.3379992246627808, -2.451521873474121, 0.22905556857585907, 2.023355007171631, 0.31599968671798706, 0.12960770726203918, -1.454498052597046, -0.7059637308120728, -0.3681684732437134, -0.4222220778465271, -1.1808586120605469, 0.5683693289756775, -0.30444538593292236, -0.8020467162132263, -1.4979804754257202, 0.09785846620798111, -1.2180616855621338, -1.8159699440002441, 0.23495706915855408, 1.947654366493225, 2.071211814880371, -0.7289689183235168, 1.490967869758606, -0.2481202632188797, 0.0622381865978241, 1.2672420740127563, 1.2520726919174194, 3.086432933807373, 1.8098889589309692, -1.3069164752960205, 0.6712098717689514, -0.1271175593137741, -0.4755677580833435, 1.0811288356781006, -1.211612582206726, 1.0913448333740234, -0.10927020758390427, -1.1859996318817139, -1.195677399635315, 0.9991553425788879, 0.4945695996284485, 0.05188547819852829, -0.4426484704017639, 1.2791987657546997, 0.04111022502183914, 1.3199172019958496, 0.5487444996833801, -0.3093417286872864, 0.5338205099105835, -0.3365377187728882, -0.5472261905670166, 1.592951774597168, 0.21944807469844818, -1.4903349876403809, -2.3180811405181885, -0.3154178261756897, -0.8401904702186584, -0.08117616176605225, -0.6029890775680542, -1.0189703702926636, 1.6158403158187866, 0.4492252469062805, -1.2306839227676392, -0.24662351608276367, -0.23572470247745514, -0.5319650769233704, 2.6926088333129883, -1.244157314300537, -0.17067575454711914, -0.8525528311729431, -0.5139387249946594, 1.6082524061203003, -1.2167929410934448, -0.29961299896240234, -1.111070990562439, -0.5751526355743408, -1.298889398574829, -0.583863377571106, 0.01842619478702545, -0.9621303081512451, 0.7954142093658447, 0.24545924365520477, -1.1363427639007568, -0.30408626794815063, -0.9217448830604553, 1.0063202381134033, -0.029978903010487556, 0.20649191737174988, 1.889294981956482, 0.4283738136291504, -0.4041558504104614, 0.7126668691635132, 1.1816636323928833, 0.6545581221580505, -0.639375627040863, 0.0590754896402359, -0.6944934129714966, 0.2940112352371216, -1.4002166986465454, 0.264384388923645, -2.9156198501586914, 0.6652159690856934, -0.13248297572135925, -0.07050599157810211, -0.09663984924554825, -1.2958492040634155, 1.1052910089492798, 2.649113416671753, -1.0707343816757202, 0.5094743371009827, 0.34138643741607666, 1.1849411725997925, -1.645522117614746, 0.4229854345321655, -0.369875967502594, 2.111859083175659, 0.17600609362125397, 1.2736743688583374, -0.4517552852630615, -2.3138580322265625, 0.6698586344718933, -1.2966022491455078, -1.1063041687011719, 0.7493459582328796, -0.8118860721588135, 0.20091460645198822, -1.4436455965042114, -0.12143909931182861, -0.7816334366798401, -1.2489290237426758, 0.6679192781448364, 0.0938192829489708, 0.37485307455062866, -0.5680978894233704, 0.36188095808029175, -2.1523544788360596, -1.3471531867980957, -0.21723119914531708, -0.9528348445892334, 0.6177135109901428, -0.3630669116973877, 0.716683030128479, -0.1552543342113495, 0.014341762289404869, 0.33268362283706665, 1.5283597707748413, 3.4413998126983643, 0.13297371566295624, 0.28426122665405273, -0.08774977177381516, -0.9297120571136475, 1.4230269193649292, 0.8570080995559692, -0.22252260148525238, -0.6599478125572205, -1.088404893875122, 1.2347577810287476, 2.0144035816192627, 1.0796709060668945, 0.06630124896764755, -0.8054007887840271, -0.8162936568260193, 0.05192526802420616, 0.17947150766849518, 0.5669966340065002, 0.9003592729568481, 0.04269532486796379, -0.0409373864531517, 1.5173542499542236, 1.1836485862731934, -0.3647151589393616, 0.38598138093948364, -0.9646554589271545, -0.4835679531097412, 0.4302094578742981, 0.23660136759281158, 0.022019799798727036, 0.40264296531677246, -1.0058187246322632, -0.2108173817396164, -0.300273060798645, -0.8710901141166687, -0.7596461772918701, -0.4019588232040405, -0.3512837886810303, 1.7362574338912964, 0.09578818082809448, -0.5279291272163391, -0.036291591823101044, -0.641722559928894, -0.07481645047664642, -1.0853930711746216, 0.2869322896003723, -0.11766880750656128, -0.07005330920219421, -0.10554730892181396, 1.7355674505233765, -0.9163976311683655, -2.0812973976135254, 0.16544102132320404, 0.28691864013671875, -0.29913657903671265, 0.22537213563919067, 1.7178560495376587, 0.5401357412338257, 1.3971699476242065, 1.3562439680099487, 0.8997811675071716, -0.6527363061904907, -1.2770904302597046, 0.6879071593284607, 0.9530266523361206, -1.3604776859283447, 0.8416656255722046, -0.123102568089962, -0.5222961902618408, 0.634696900844574, 1.405496597290039, 0.4900488257408142, -2.0963408946990967, 0.9326769709587097, -0.9008051156997681, 0.7524721026420593, 0.714633047580719, 0.7566602230072021, 0.2033834606409073, 0.7907569408416748, -1.3136223554611206, -1.154510498046875, -0.7787579894065857, -0.6993390321731567, 1.8861799240112305, -0.2536206543445587, 0.5454286336898804, -0.255449503660202, -1.332212209701538, -0.14459580183029175, 0.6885908842086792, 0.32686829566955566, -0.44518715143203735, 0.873924732208252, -0.7243767976760864, -1.082845687866211, -1.3477803468704224, -0.4355581998825073, -1.0667611360549927, -0.837295651435852, 1.0051356554031372, 0.7900680899620056, 0.3133583068847656, 1.8771573305130005, 0.58348149061203, 0.2546955943107605, -2.6171364784240723, 0.8669740557670593, 0.24080981314182281, -0.03583279997110367, 0.8412842750549316, 0.224118173122406, 1.0829296112060547, -0.053737543523311615, 0.5473577976226807, -2.426851987838745, 2.221287727355957, -0.21334116160869598, 0.6442729830741882, 0.08758193999528885, -0.26618701219558716, 1.1332002878189087, 0.6524217128753662, 0.5884632468223572, -1.054184913635254, 0.6674579381942749, -0.5837875008583069, 1.2115137577056885, 0.8694451451301575, -0.8421274423599243, 0.007395392283797264, 1.2798917293548584, 0.47631150484085083, -0.4524638056755066, -0.9984000325202942, -0.9579110145568848, 0.9614185094833374, 1.742106556892395, -0.11218702793121338, -0.01984127052128315, 0.7414887547492981, 0.6395817399024963, -1.2449570894241333, 0.03983023390173912, -0.7890565991401672, -0.747561514377594, 1.7209526300430298, 2.0820233821868896, -0.20717421174049377, -0.2689465284347534, -0.6738264560699463, -1.2409136295318604, 0.7936389446258545, -0.15114420652389526, 0.1508079171180725, 0.5917587876319885, -0.6207776665687561, 1.120989203453064, 0.7939198613166809, 1.050308108329773, 0.04198126867413521, 0.2874067425727844, 0.2907267212867737, -0.332111120223999, -1.167596697807312, -0.23658636212348938, -1.0873857736587524, -2.535834789276123, 0.45481353998184204, -0.2669104337692261, -1.5539770126342773, 0.03494494408369064, -1.0376856327056885, 0.967997133731842, -0.5106950402259827, -1.0906282663345337, -1.4487850666046143, 0.2621173858642578, -0.15894204378128052, 0.9658493399620056, -1.6194475889205933, -0.14134082198143005, 1.3478223085403442, 0.8149513006210327, -0.6542996764183044, 1.0026720762252808, 0.16032512485980988, 1.04195237159729, 0.8141298890113831, -0.34691131114959717, 0.5466004610061646, 0.0646895095705986, -1.3071966171264648, 0.3792657256126404, 1.156103491783142, 0.1703222244977951, 1.4302845001220703, -0.5393339991569519, 0.09467126429080963, 0.3636201024055481, -0.601365864276886, -0.4548037052154541, -0.4323663115501404, 0.7675423622131348, 0.01643241196870804, -0.9920870661735535, -0.06806108355522156, -0.08041444420814514, -0.36639559268951416, 0.13894003629684448, -1.4310778379440308, -0.32367563247680664, -0.3442648649215698, -0.46813422441482544, -1.294872760772705, -0.0034843399189412594, 1.2752211093902588, -0.7268433570861816, -0.27275335788726807, 0.3955046534538269, 0.3638589382171631, 0.5803288817405701, 0.6823213696479797, -0.7255440950393677, -0.3533819317817688, -0.2520652711391449, -0.3423895239830017, 0.2667577266693115, 1.284637212753296, 0.020691214129328728, -0.9268277287483215, 0.6374446749687195, -0.36697059869766235, 0.08497191220521927, 1.9989252090454102, 0.02882162109017372, -0.7392033934593201, 0.3395566940307617, -0.6948265433311462, 1.8541276454925537, 1.7963924407958984, 1.2361860275268555, -0.14675010740756989, -0.9408521056175232, 0.5822774767875671, -0.33905357122421265, -0.3654516339302063, 0.9252347946166992, 0.502770185470581, -0.18755745887756348, -1.410538911819458, 0.6720724105834961, 1.2767192125320435, -0.7756146788597107, -0.7878397107124329, 0.0652272179722786, -0.8273931741714478, 1.1528499126434326, 0.6946746706962585, 0.417533278465271, 0.2699032425880432, 1.601805329322815, 0.7838310599327087, -0.547308623790741, 0.568504810333252, 0.5042678713798523, -0.20660626888275146, -2.0578458309173584, -1.037115454673767, 0.29087668657302856, -0.44346892833709717, -1.5970659255981445, 1.3969008922576904, -1.1004095077514648, -0.8717325925827026, 0.5983203649520874, 0.048271652311086655, 1.3618963956832886, 0.3982623815536499, 1.5855436325073242, 2.096780300140381, 0.9089443683624268, 0.28710198402404785, 1.2053064107894897, -0.08205647766590118, -0.5074884295463562, 1.8527601957321167, -0.3868141174316406, 0.5446096062660217, 1.0784286260604858, -0.38718700408935547, -1.0393162965774536, -0.8318314552307129, -1.1128334999084473, -0.6584846377372742, 1.2028356790542603, 0.11534404754638672, -1.141660451889038, 0.24989821016788483, 1.589011549949646, 0.09202896803617477, -0.33108192682266235, 0.618972659111023, 0.38078802824020386, -0.8898933529853821, -0.13480117917060852, -0.9038069844245911, 0.5120249390602112, -0.196970134973526, -0.34925734996795654, 0.344468891620636, 0.5009844303131104, 1.3596148490905762, -0.04013606905937195, 0.17873334884643555, 1.1047437191009521, -1.4706932306289673, 1.4883203506469727, -0.6855449080467224, 0.36190301179885864, -2.3262999057769775, 1.4061723947525024, -0.7685801982879639, 1.9608867168426514, -2.6005256175994873, 0.4375159740447998, -0.5034689903259277, -0.4840880036354065, 0.21897545456886292, -0.44539207220077515, 0.1536554992198944, -0.16025421023368835, -1.0452755689620972, 0.004635697230696678, -0.7197191119194031, 0.621208667755127, 1.1688215732574463, 1.393816351890564, -1.130420446395874, -0.270624041557312, -1.6516612768173218, -0.257385790348053, -0.7622987627983093, 0.3676474094390869, -1.8773207664489746, -0.17383193969726562, -1.9488604068756104, -2.363912343978882, -1.3676201105117798, -0.9073569178581238, 1.1083097457885742, 0.1858709454536438, -0.9448347687721252, 1.1512118577957153, -0.34403377771377563, -1.7691476345062256, 1.1791282892227173, -2.2025012969970703 ]
https://github.com/huggingface/datasets/issues/3959
Medium-sized dataset conversion from pandas causes a crash
I´m getting the same problem with some files, @albertvillanova did you find a solution to this?
Hi, I am suffering from the following issue: ## Describe the bug Conversion to arrow dataset from pandas dataframe of a certain size deterministically causes the following crash: ``` File "/home/datasets_crash.py", line 7, in <module> arrow=datasets.Dataset.from_pandas(d) File "/home/.conda/envs/tools/lib/python3.9/site-packages/datasets/arrow_dataset.py", line 783, in from_pandas table = InMemoryTable.from_pandas( File "/home/.conda/envs/tools/lib/python3.9/site-packages/datasets/table.py", line 379, in from_pandas return cls(pa.Table.from_pandas(*args, **kwargs)) File "pyarrow/table.pxi", line 1487, in pyarrow.lib.Table.from_pandas File "pyarrow/table.pxi", line 1532, in pyarrow.lib.Table.from_arrays File "pyarrow/table.pxi", line 1181, in pyarrow.lib.Table.validate File "pyarrow/error.pxi", line 84, in pyarrow.lib.check_status pyarrow.lib.ArrowInvalid: Column 1: In chunk 0: Invalid: List child array invalid: Invalid: Struct child array #1 has length smaller than expected for struct array (1192457 < 1192458) ``` ## Steps to reproduce the bug I have a dataset made from replicated single example mocking a dict representation of a publication. I copy over this example 140k times and create a pandas frame. I use 'Dataset.from_pandas' and boom ```python # Sample code to reproduce the bug import copy import datasets import pandas # serialized dict is quite long to be realistic representation of a publication content paper_as_dict=eval("{'article_id': '2020-11-05T14:25:05.321Z02bc3286-91b7-486a-9c74-4f457fbc586a', 'sections': [{'section_id': 'body.0', 'paragraphs': [{'sentences': ['11010111001000000011010011110011101110111011000100001010011100101001111010110111101011101111101010101110001111011110111010111', '1101100110110010010101010100110011000111001100100000011100010111010000011100001101111000000011010111001111001010101111110011010010111011000110100110010', '101011011000010100000010011001011011000000110011011110000101001110110000010001100110111100011100110101010010110000101', '1101101110101010101000000010101011111001111000101000110001110100111000100000011001110100110000110100111011001010110011101001001110']}]}, {'section_id': 'body.1', 'paragraphs': [{'sentences': ['11111100100100111000101001011110100110011001011011001001100110100111011010000110011000010001010100101110001001101011110111110101111100001001001000011110110010110011100110110111110011100011111000101010111010101011001110000100000001001010010010011101111100011010', '10101000110000110111110011101111000101010010001001010000001111001100000010001000001110111110010011101000000111011', '111010011111101111110011111110110001000111100101001000100110101111110000111000111111110000101001101000110011010111011101001010110110001000100000001110001111100110110001110001001100011010100110100010100111000110110100010010100101011110000110000101010010001110101100000']}, {'sentences': ['111110011110110110001111001101011110010110100011101010110101011001101110110111100000111101010110011110111101001111000101110001001010010101100111111001001000011101000100110000101', '011101101101111101001100101010000010111101100101110100101000001100010100110011010010100001101001110111100011010011011111000111111101110001010111010011010110001000010101100110000100010110101110110011001010011001100111101100001001', '1110001011011010101001100001110001110001000111111111101110100001011101101001110100000110000011010001101010101110101110101101001010100100010000000010110010010010', '11101111000111111100111110010000111101110010010101001111011001111110011000011100110001010010000100101010', '111000110110110010101100010010100001100100110010101000001000011101000100101011011010000011001011011111001101100001110010100001111110111001001010101100100110001011011100000101010010000000001100010000101100110110111101110010100010011101110110111010011011000011001010111011100000000010101001011000100000011010100011101001011001010010011110100100']}, {'sentences': ['001101111100001101001001001110000110010101011101001001111111011000111001111011101011110111000000100001110110101110001010001111110100010', '0000110010110101001100011011000011001101001110001000000110010101000011101011110110000000100111000001010000101011111011110001001100001110101010101110101011111000000011001111011110001010010111010000100100000001111001011100101111010101111001001101100101001101111000111011010110010001010010010111010000001101101111100101000111101011001000101', '00000101100101100111101010000101011100101100001100011001100100001100001010001010010011001001111001000010100010000110100111110000001000101000111100010111110011000100000111100010000100010111100010101', '111100110010100110000010010101010101110011110100000101110000000111010101111001011110010101001110000001001000010110010010011110111110010110100101110011001101110111001111100011100100011110010010100101011111111']}, {'sentences': ['1100001110101111000001011001100110001011100011110110010011001000101000011110010101010011011000111010000101010011010000000111011001000010100101000011111101000000000101111000', '1110101000100110001111000011000101110111001100101010011001100011010011111111111010101011010101010011000101001100100000110010100110110110110001101100', '00010001100100101100100111111110111111101000100110101111101111110101110001010001011100000000000011010101101001111010001110101101110011001011111101110100010000111101', '011100011101011001000110010110100100000010100010010110011000000010101110011111111101010010010001100110101010010001100010110011110001011011101010111111100100110110010111101001100101010111001', '10111000011010101111110110011010101011111001000001010010111111010010111111100100010100110100101101110100110011001000110100000111000100110000001000111010', '0010011111111011100111010001111001011101001010000010110000010111000101001101000011101110100100000000100100010010101010100011100101001000100110110000010111111110000011011101111000111010']}]}, {'section_id': 'body.2.0', 'paragraphs': [{'sentences': ['110010010011001110100100011001111100010011110111101011011011001010010010010011101011', '000110101110011011101011000000100011111000001100011011110101101011000110011010001010001101101100000111100101001011111001001101111', '1000011100100000100100100010010000111011000100110010000011110111100110110001101001010100011111010100101000111', '11110111111000110010000000000100010010110001100010001010000111011000101100011010010101110110011010110101001101110011101011101100000001000100101011010110110100101011101010010101101000011110000010101011001011000001000000001010110000100010000100011110101001111100001000100000111000001010011111111110101010100011011000010000111000110', '1001000111011000111110001111111001100001000000101000111011101101100101010110001101000000001111010111100011111000000100001001110', '100110010111010101111010100000010001110101111001010010001100001110100100100101110011010101001000100101000100100011001110001100111000010010011011000010011010010000110001000000100011110010110110011010001100111010111110011']}, {'sentences': ['10010101011100010111011111001001001010100011001001111101101001000000001111101110000111101011000001001011101110101001100010010001101111001110000100010010001001101111011111110010011011110011', '110001110010110000101111000000110010010010100000010100001111101101000101100000000110000000011111011001111000010110110001011010011011101100100110011000100110101010111010111111000111001111010110010001001110100001011011000110000000111101110000001111011011101110100000100010000110001000000110100000', '101010000000010000110110111000110000100111000001110100101101101010001010010010101010100111010110001001000101011110010011001001001110111001101101100100011110011011110101100010110111001010000001000110100000001010011111111110111010011110001001110100011011000101011000110110011011010110100100011111111011100111110110000110011011110110110011101010101111001101010110101000000001100101111010000101110', '1010100110111111111000110110111110010100000100001110101110111001011000010001110110001111111110000101001001110010001110000111010101111010111111011100100011100111111101101111000010001100101000010001100110110100110111111100100011001011000001111110010100110111000010011110111011001101100000101011111110101000011000010', '00000001110000101001110101110011101001110011000111111101111101111000010011100000101000001011001110', '101000111010010000011010011010011010010010100010110100011100100111011101010100101110100111010001000000', '01101000110001101011001101100010100011011010000000001010101000010101000110100010000000110001110001010010000000101101000011000100000110011101100001010100011111101010010110001101110101010111101100001110000011001101', '0010010111000011110010011110001010100000111100001011010100100010101010010011101101100110001001111001000110000111011110010000110101010110111111010110100000011010001001010001000110001101101000101110001011110000101101110000110010110010111001100010011011100011', '00110111110000000100110111101011000100100110001000001001101011001000010100100001100111100110000110110101111010000010101000000101000011001011101001', '0100100001000111001110110110000001000100111001101101110100100111010111110001110010110111100110011111001001000011101110100101111011000110100000111010011101']}, {'sentences': ['100001001011101111111100110111011110001101111101100001000110110000100101011000000100000', '10101001001111110101001010100110011110101101001']}]}, {'section_id': 'body.2.0.0', 'paragraphs': [{'sentences': ['1110101100001100011000101000010000100010101101010110101011100101110110110111010101001100100000000111011001000100011110101011111010100101001010000010001001101010100011110010101110011001100010000100110011000011101010001000111001000001100', '101000000011001001110101000100101010000111000111100010010001111111100110001100000100011010011010010101101111010101010000110011101001111001111011111001110001010000110101101011101111010000001100', '01100001011110010100000101001101111101010011100010011001011110110010010011100101000', '0011100111000101111000010001111100000111000101110001111010001100001000111010000101100001110101100111111', '00001100000011110001011010010110000000111110110001111000110000011011001110000000100011001010110000010000010001101010101100000010011011000101011111100010010', '1011101011101111000001100100111000011000010010011110011000110111010010111100111101100110011010000110000111000110111110101111000001000010011101111000110000100011110101101101001101000110010000001000010011011010101100', '1000010011100011100000010011011111111110101101111011101010010111000000101011000000110101111000010011', '01100000110011001110101111101101011001011101000010001100101010100011010101010100111011011110100010100111', '011011010100011011110010101000110001111110110']}]}, {'section_id': 'body.2.0.1', 'paragraphs': [{'sentences': ['00111011011101000100100111000001101001011000111100100010101001010011001011000010011111001100000100010001100101110011001000110001101011010111011111011000010011010010111010011111101000110111011100010011100111111110110111011', '011011010101101101010000001011010110011111011110100111010101010110001101000010011111000011100', '110001000110010000000111101110111110101110111000101000010001110101000101001000111000010001011101010000110001010001101001001110111110111010111010011101000101101010000', '001000111110100110000001111100000111001110111001110111001000111010001001100111001101000001001001010111000111011100001111011001111110001011000111110011111101011101000100101001111011100001000110101010101111111110011111111011000101110001000000000100111011111011001100111', '11010101100010010100010010010101001011001011000001100010101111111101001101110011001010010100000111010101', '01110000110011111000110010011010000011100000010010001111100010010100100001011011111110001100', '011101111100011101100111110101111001101010010001001110101100001101000000111000']}]}, {'section_id': 'body.2.0.2', 'paragraphs': [{'sentences': ['0111011000110100110000001011001110111000011110100111011000000001000010001111111001101111011100101110101101000111000101000010000111011010110000011101111110111110100111000111000011', '00100110111000110101100111000110100010011010010101001010011000000101000110100110011010011111000100000011000000010001010000100111101011111111101010001111010000001011100001110100000101001101101010011011101000', '000001110001010010100101010100010101001100011001001101101101110111011111101010010111010110110111011110101100001000011110111011001', '0001110010111110100110110011000001111100100100110101011010010101010100101000010101000100101000011011', '1000010010010101001100101110010111010100000110101110000000111001111111001011111010000011110001011001001001000101', '0001111100111010010100010111010110011011000000001111010010110001000011010001100111101110001110000011010101111100001000011010110100000100100001111011110110000000101000010001111001010010110101110111101101110111000100', '1000101100001000100001101110111110000100000001000010101111010011010010010111011010100011001000100100001010001100110']}]}, {'section_id': 'body.2.0.3', 'paragraphs': [{'sentences': ['1010100111100011110110101011100001011010011010100100010011000110111000001010010110111001001101111000010100100110101001010001010001000110010000001', '100010101010100111000011111101010100101110011000100011100100100111000010000011001010010111011010000101010011011110111001010110', '0110000110110110110011011000011010010000001010011000010001011110110010000100011111010100110111111010010111000101111', '10100100000011100010110110011111011011101101111000001001010100001001011010000011001010101100000', '1011111111100001001100000010000100110010101000010100111111110010110011101110000101101011101', '10001111110000011100100000101100000000010000100000011100110000011110111010011101010111101001111000100000000110000011010010001100110111100001001011101011001111110010100111001001010001010011010010010111001101110101110000101011', '101101111111101101010010000110111110000110000111001001010011111101011001011010101100010100110101101011100111100100110010001011110001110010000011101100100100001001110010000010011111100110101']}]}, {'section_id': 'body.2.1', 'paragraphs': [{'sentences': ['1010010011010011001111111001000110010001101111101011001011011000101001010101010001000110100011110101110001110110111010010010100100111000101100100101111110100000011111001101010111101010100101011011110111111110', '000010101101111100000110010110011001111100001101011101000100010001001001000000101101000001110000011010111100000010010000010101110101100010011000101110110111111001000101000111000110100001001100001010101010100011', '0000000011101110111100100010111100101010110001111101110110010000100100010000101001101111001111001001100110010011010000101001110010000000100101011101001010100100011101101001011000010111110100101010110110011001110000110010010111110110101100001011101001100111010001000010111010001010000100010010011110111100110011100011111101101000011100111110101010100110001100100000100011011010111000111110010110100010111101001001101000001100100010000111110000011101111100111101000000000']}, {'sentences': ['01011000010110011000000101101000110101011010100111011001001001100001101101111101111001101111100101111001101011011001011110110110110100001100111111010100101110111111101000101100101010110011111011100101101010100110111001111100100011001110011101000110100000001100001100110001110101001000011010000110101011010000001111100100000100101110011000001001010011011101100011000001100000011', '1001100000101000000011110100110001100001101001100011010000111111010110101111001000100111000011010100100000110110001', '10010011000110110111010110000010010000000111101000100101100111101101001100111110101001001111100001110011110000010101000001000000010100011011110011000100110101001100110111111001101000011010100110000000011110001000101010101000110010010']}]}, {'section_id': 'body.2.2', 'paragraphs': [{'sentences': ['000011000000010011000001101111000101000111111111111010001011110000011001010111010101010110001111110000010', '10101001101011101010001111011000110100000100011110010001100111111101101100010010111110110101101011000011000001101110010111011111100111110000000101110010111', '100001011110010111010110001101101001100000000001000010110101011001111100101101101111010010111111000000111001111010011111000100010001111011110001010000110010101010111110100101011011100001010101000001011011111111101', '1000110111111011101000110101001111111111000100011001000011010100001010011110001111010011011111000111011100101001011111001000010101110110101000111011111111010010001101001010110111000011110101011000010000110', '1011100000100000010101101111001001100110111000010001011010111111000000001010101001111011101011010101101001111101101100101001011101000011011010001001101100100111101111111100010011010101111011100001100001000100101100100110101000010000011000000011001100000110000001', '0001001101111001111111010000001101010110110110100110110100000100110101101010010101011000010010111011000010111110000001110101110111000010011000100110111001000111011000100101110111111', '0110010010011000011010001111001100101001100001001000010100101100010110000000101010110001001010001100111101010001110010010000111011100101101010111111101001100010001011100110010100110111010101000100001110000101110011111011111000010101010110101100010010111100100010010100111110111100101010100011101001110110010000011110001010101010000100010000100111001111011101', '000001010000010001100000101011000000110101000100010111111100101111111000110111001001110110101111110011100001001000011001010000011011', '0101101001010101001101010100011000111011001000100001110100110011100000001001010110001101010110011100111111100101101111101111011001111111110010111010011011011111011011110000101011010', '11000001110111000001100100001110000111001010000101011011101010111001011100010010010111111111000011111110010111100011100110001001100011111010100111110111001110010', '0100010110100001010101110111100011100100010111111011101001100101111110101011010010101111001000101001111000001110001100011001110010100110101100110100100000001010101101011110011001000101100111001001001110100', '100000100010011111001101010000100110011110001100000010010110110100000111111011010100101111010111001110101000100001111101001110000011010110000010100', '00100110000011100101000110110001000011101000011010101000010001111011100001111111001011100111101000001000000110110001000101111010010010001100111', '0110110100011001110011001111100010101001011111011001011001101101010010101101110101010100001000100100000111101110001001110111000110011101101010100000101', '0011111010010011011101010110100110000011000011100100101011011001110110001110001111000011010111011000110100111111011101110111000010010000011011010011011100000011101100110110100100000010110101110100110101001100111011101001010111011011110100110101110010011011010001010111110011001000010100010101010010110010010110000100110001000011010011000100101011010100100111010']}]}]}") d=pandas.DataFrame.from_records(copy.deepcopy(paper_as_dict) for _ in range(140_100)) arrow=datasets.Dataset.from_pandas(d) ``` ## Expected results The dataset should be converted without error. ## Actual results Error `pyarrow.lib.ArrowInvalid: Column 1: In chunk 0: Invalid: List child array invalid: Invalid: Struct child array #1 has length smaller than expected for struct array (1192457 < 1192458)` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: datasets==1.18.4 pandas==1.3.5 - Platform: macOS 11.6 or CentOS Linux 7 (Core) - Python version: Python 3.9.7 - PyArrow version: pyarrow==3.0.0
876
16
Medium-sized dataset conversion from pandas causes a crash Hi, I am suffering from the following issue: ## Describe the bug Conversion to arrow dataset from pandas dataframe of a certain size deterministically causes the following crash: ``` File "/home/datasets_crash.py", line 7, in <module> arrow=datasets.Dataset.from_pandas(d) File "/home/.conda/envs/tools/lib/python3.9/site-packages/datasets/arrow_dataset.py", line 783, in from_pandas table = InMemoryTable.from_pandas( File "/home/.conda/envs/tools/lib/python3.9/site-packages/datasets/table.py", line 379, in from_pandas return cls(pa.Table.from_pandas(*args, **kwargs)) File "pyarrow/table.pxi", line 1487, in pyarrow.lib.Table.from_pandas File "pyarrow/table.pxi", line 1532, in pyarrow.lib.Table.from_arrays File "pyarrow/table.pxi", line 1181, in pyarrow.lib.Table.validate File "pyarrow/error.pxi", line 84, in pyarrow.lib.check_status pyarrow.lib.ArrowInvalid: Column 1: In chunk 0: Invalid: List child array invalid: Invalid: Struct child array #1 has length smaller than expected for struct array (1192457 < 1192458) ``` ## Steps to reproduce the bug I have a dataset made from replicated single example mocking a dict representation of a publication. I copy over this example 140k times and create a pandas frame. I use 'Dataset.from_pandas' and boom ```python # Sample code to reproduce the bug import copy import datasets import pandas # serialized dict is quite long to be realistic representation of a publication content paper_as_dict=eval("{'article_id': '2020-11-05T14:25:05.321Z02bc3286-91b7-486a-9c74-4f457fbc586a', 'sections': [{'section_id': 'body.0', 'paragraphs': [{'sentences': ['11010111001000000011010011110011101110111011000100001010011100101001111010110111101011101111101010101110001111011110111010111', '1101100110110010010101010100110011000111001100100000011100010111010000011100001101111000000011010111001111001010101111110011010010111011000110100110010', '101011011000010100000010011001011011000000110011011110000101001110110000010001100110111100011100110101010010110000101', '1101101110101010101000000010101011111001111000101000110001110100111000100000011001110100110000110100111011001010110011101001001110']}]}, {'section_id': 'body.1', 'paragraphs': [{'sentences': ['11111100100100111000101001011110100110011001011011001001100110100111011010000110011000010001010100101110001001101011110111110101111100001001001000011110110010110011100110110111110011100011111000101010111010101011001110000100000001001010010010011101111100011010', '10101000110000110111110011101111000101010010001001010000001111001100000010001000001110111110010011101000000111011', '111010011111101111110011111110110001000111100101001000100110101111110000111000111111110000101001101000110011010111011101001010110110001000100000001110001111100110110001110001001100011010100110100010100111000110110100010010100101011110000110000101010010001110101100000']}, {'sentences': ['111110011110110110001111001101011110010110100011101010110101011001101110110111100000111101010110011110111101001111000101110001001010010101100111111001001000011101000100110000101', '011101101101111101001100101010000010111101100101110100101000001100010100110011010010100001101001110111100011010011011111000111111101110001010111010011010110001000010101100110000100010110101110110011001010011001100111101100001001', '1110001011011010101001100001110001110001000111111111101110100001011101101001110100000110000011010001101010101110101110101101001010100100010000000010110010010010', '11101111000111111100111110010000111101110010010101001111011001111110011000011100110001010010000100101010', '111000110110110010101100010010100001100100110010101000001000011101000100101011011010000011001011011111001101100001110010100001111110111001001010101100100110001011011100000101010010000000001100010000101100110110111101110010100010011101110110111010011011000011001010111011100000000010101001011000100000011010100011101001011001010010011110100100']}, {'sentences': ['001101111100001101001001001110000110010101011101001001111111011000111001111011101011110111000000100001110110101110001010001111110100010', '0000110010110101001100011011000011001101001110001000000110010101000011101011110110000000100111000001010000101011111011110001001100001110101010101110101011111000000011001111011110001010010111010000100100000001111001011100101111010101111001001101100101001101111000111011010110010001010010010111010000001101101111100101000111101011001000101', '00000101100101100111101010000101011100101100001100011001100100001100001010001010010011001001111001000010100010000110100111110000001000101000111100010111110011000100000111100010000100010111100010101', '111100110010100110000010010101010101110011110100000101110000000111010101111001011110010101001110000001001000010110010010011110111110010110100101110011001101110111001111100011100100011110010010100101011111111']}, {'sentences': ['1100001110101111000001011001100110001011100011110110010011001000101000011110010101010011011000111010000101010011010000000111011001000010100101000011111101000000000101111000', '1110101000100110001111000011000101110111001100101010011001100011010011111111111010101011010101010011000101001100100000110010100110110110110001101100', '00010001100100101100100111111110111111101000100110101111101111110101110001010001011100000000000011010101101001111010001110101101110011001011111101110100010000111101', '011100011101011001000110010110100100000010100010010110011000000010101110011111111101010010010001100110101010010001100010110011110001011011101010111111100100110110010111101001100101010111001', '10111000011010101111110110011010101011111001000001010010111111010010111111100100010100110100101101110100110011001000110100000111000100110000001000111010', '0010011111111011100111010001111001011101001010000010110000010111000101001101000011101110100100000000100100010010101010100011100101001000100110110000010111111110000011011101111000111010']}]}, {'section_id': 'body.2.0', 'paragraphs': [{'sentences': ['110010010011001110100100011001111100010011110111101011011011001010010010010011101011', '000110101110011011101011000000100011111000001100011011110101101011000110011010001010001101101100000111100101001011111001001101111', '1000011100100000100100100010010000111011000100110010000011110111100110110001101001010100011111010100101000111', '11110111111000110010000000000100010010110001100010001010000111011000101100011010010101110110011010110101001101110011101011101100000001000100101011010110110100101011101010010101101000011110000010101011001011000001000000001010110000100010000100011110101001111100001000100000111000001010011111111110101010100011011000010000111000110', '1001000111011000111110001111111001100001000000101000111011101101100101010110001101000000001111010111100011111000000100001001110', '100110010111010101111010100000010001110101111001010010001100001110100100100101110011010101001000100101000100100011001110001100111000010010011011000010011010010000110001000000100011110010110110011010001100111010111110011']}, {'sentences': ['10010101011100010111011111001001001010100011001001111101101001000000001111101110000111101011000001001011101110101001100010010001101111001110000100010010001001101111011111110010011011110011', '110001110010110000101111000000110010010010100000010100001111101101000101100000000110000000011111011001111000010110110001011010011011101100100110011000100110101010111010111111000111001111010110010001001110100001011011000110000000111101110000001111011011101110100000100010000110001000000110100000', '101010000000010000110110111000110000100111000001110100101101101010001010010010101010100111010110001001000101011110010011001001001110111001101101100100011110011011110101100010110111001010000001000110100000001010011111111110111010011110001001110100011011000101011000110110011011010110100100011111111011100111110110000110011011110110110011101010101111001101010110101000000001100101111010000101110', '1010100110111111111000110110111110010100000100001110101110111001011000010001110110001111111110000101001001110010001110000111010101111010111111011100100011100111111101101111000010001100101000010001100110110100110111111100100011001011000001111110010100110111000010011110111011001101100000101011111110101000011000010', '00000001110000101001110101110011101001110011000111111101111101111000010011100000101000001011001110', '101000111010010000011010011010011010010010100010110100011100100111011101010100101110100111010001000000', '01101000110001101011001101100010100011011010000000001010101000010101000110100010000000110001110001010010000000101101000011000100000110011101100001010100011111101010010110001101110101010111101100001110000011001101', '0010010111000011110010011110001010100000111100001011010100100010101010010011101101100110001001111001000110000111011110010000110101010110111111010110100000011010001001010001000110001101101000101110001011110000101101110000110010110010111001100010011011100011', '00110111110000000100110111101011000100100110001000001001101011001000010100100001100111100110000110110101111010000010101000000101000011001011101001', '0100100001000111001110110110000001000100111001101101110100100111010111110001110010110111100110011111001001000011101110100101111011000110100000111010011101']}, {'sentences': ['100001001011101111111100110111011110001101111101100001000110110000100101011000000100000', '10101001001111110101001010100110011110101101001']}]}, {'section_id': 'body.2.0.0', 'paragraphs': [{'sentences': ['1110101100001100011000101000010000100010101101010110101011100101110110110111010101001100100000000111011001000100011110101011111010100101001010000010001001101010100011110010101110011001100010000100110011000011101010001000111001000001100', '101000000011001001110101000100101010000111000111100010010001111111100110001100000100011010011010010101101111010101010000110011101001111001111011111001110001010000110101101011101111010000001100', '01100001011110010100000101001101111101010011100010011001011110110010010011100101000', '0011100111000101111000010001111100000111000101110001111010001100001000111010000101100001110101100111111', '00001100000011110001011010010110000000111110110001111000110000011011001110000000100011001010110000010000010001101010101100000010011011000101011111100010010', '1011101011101111000001100100111000011000010010011110011000110111010010111100111101100110011010000110000111000110111110101111000001000010011101111000110000100011110101101101001101000110010000001000010011011010101100', '1000010011100011100000010011011111111110101101111011101010010111000000101011000000110101111000010011', '01100000110011001110101111101101011001011101000010001100101010100011010101010100111011011110100010100111', '011011010100011011110010101000110001111110110']}]}, {'section_id': 'body.2.0.1', 'paragraphs': [{'sentences': ['00111011011101000100100111000001101001011000111100100010101001010011001011000010011111001100000100010001100101110011001000110001101011010111011111011000010011010010111010011111101000110111011100010011100111111110110111011', '011011010101101101010000001011010110011111011110100111010101010110001101000010011111000011100', '110001000110010000000111101110111110101110111000101000010001110101000101001000111000010001011101010000110001010001101001001110111110111010111010011101000101101010000', '001000111110100110000001111100000111001110111001110111001000111010001001100111001101000001001001010111000111011100001111011001111110001011000111110011111101011101000100101001111011100001000110101010101111111110011111111011000101110001000000000100111011111011001100111', '11010101100010010100010010010101001011001011000001100010101111111101001101110011001010010100000111010101', '01110000110011111000110010011010000011100000010010001111100010010100100001011011111110001100', '011101111100011101100111110101111001101010010001001110101100001101000000111000']}]}, {'section_id': 'body.2.0.2', 'paragraphs': [{'sentences': ['0111011000110100110000001011001110111000011110100111011000000001000010001111111001101111011100101110101101000111000101000010000111011010110000011101111110111110100111000111000011', '00100110111000110101100111000110100010011010010101001010011000000101000110100110011010011111000100000011000000010001010000100111101011111111101010001111010000001011100001110100000101001101101010011011101000', '000001110001010010100101010100010101001100011001001101101101110111011111101010010111010110110111011110101100001000011110111011001', '0001110010111110100110110011000001111100100100110101011010010101010100101000010101000100101000011011', '1000010010010101001100101110010111010100000110101110000000111001111111001011111010000011110001011001001001000101', '0001111100111010010100010111010110011011000000001111010010110001000011010001100111101110001110000011010101111100001000011010110100000100100001111011110110000000101000010001111001010010110101110111101101110111000100', '1000101100001000100001101110111110000100000001000010101111010011010010010111011010100011001000100100001010001100110']}]}, {'section_id': 'body.2.0.3', 'paragraphs': [{'sentences': ['1010100111100011110110101011100001011010011010100100010011000110111000001010010110111001001101111000010100100110101001010001010001000110010000001', '100010101010100111000011111101010100101110011000100011100100100111000010000011001010010111011010000101010011011110111001010110', '0110000110110110110011011000011010010000001010011000010001011110110010000100011111010100110111111010010111000101111', '10100100000011100010110110011111011011101101111000001001010100001001011010000011001010101100000', '1011111111100001001100000010000100110010101000010100111111110010110011101110000101101011101', '10001111110000011100100000101100000000010000100000011100110000011110111010011101010111101001111000100000000110000011010010001100110111100001001011101011001111110010100111001001010001010011010010010111001101110101110000101011', '101101111111101101010010000110111110000110000111001001010011111101011001011010101100010100110101101011100111100100110010001011110001110010000011101100100100001001110010000010011111100110101']}]}, {'section_id': 'body.2.1', 'paragraphs': [{'sentences': ['1010010011010011001111111001000110010001101111101011001011011000101001010101010001000110100011110101110001110110111010010010100100111000101100100101111110100000011111001101010111101010100101011011110111111110', '000010101101111100000110010110011001111100001101011101000100010001001001000000101101000001110000011010111100000010010000010101110101100010011000101110110111111001000101000111000110100001001100001010101010100011', '0000000011101110111100100010111100101010110001111101110110010000100100010000101001101111001111001001100110010011010000101001110010000000100101011101001010100100011101101001011000010111110100101010110110011001110000110010010111110110101100001011101001100111010001000010111010001010000100010010011110111100110011100011111101101000011100111110101010100110001100100000100011011010111000111110010110100010111101001001101000001100100010000111110000011101111100111101000000000']}, {'sentences': ['01011000010110011000000101101000110101011010100111011001001001100001101101111101111001101111100101111001101011011001011110110110110100001100111111010100101110111111101000101100101010110011111011100101101010100110111001111100100011001110011101000110100000001100001100110001110101001000011010000110101011010000001111100100000100101110011000001001010011011101100011000001100000011', '1001100000101000000011110100110001100001101001100011010000111111010110101111001000100111000011010100100000110110001', '10010011000110110111010110000010010000000111101000100101100111101101001100111110101001001111100001110011110000010101000001000000010100011011110011000100110101001100110111111001101000011010100110000000011110001000101010101000110010010']}]}, {'section_id': 'body.2.2', 'paragraphs': [{'sentences': ['000011000000010011000001101111000101000111111111111010001011110000011001010111010101010110001111110000010', '10101001101011101010001111011000110100000100011110010001100111111101101100010010111110110101101011000011000001101110010111011111100111110000000101110010111', '100001011110010111010110001101101001100000000001000010110101011001111100101101101111010010111111000000111001111010011111000100010001111011110001010000110010101010111110100101011011100001010101000001011011111111101', '1000110111111011101000110101001111111111000100011001000011010100001010011110001111010011011111000111011100101001011111001000010101110110101000111011111111010010001101001010110111000011110101011000010000110', '1011100000100000010101101111001001100110111000010001011010111111000000001010101001111011101011010101101001111101101100101001011101000011011010001001101100100111101111111100010011010101111011100001100001000100101100100110101000010000011000000011001100000110000001', '0001001101111001111111010000001101010110110110100110110100000100110101101010010101011000010010111011000010111110000001110101110111000010011000100110111001000111011000100101110111111', '0110010010011000011010001111001100101001100001001000010100101100010110000000101010110001001010001100111101010001110010010000111011100101101010111111101001100010001011100110010100110111010101000100001110000101110011111011111000010101010110101100010010111100100010010100111110111100101010100011101001110110010000011110001010101010000100010000100111001111011101', '000001010000010001100000101011000000110101000100010111111100101111111000110111001001110110101111110011100001001000011001010000011011', '0101101001010101001101010100011000111011001000100001110100110011100000001001010110001101010110011100111111100101101111101111011001111111110010111010011011011111011011110000101011010', '11000001110111000001100100001110000111001010000101011011101010111001011100010010010111111111000011111110010111100011100110001001100011111010100111110111001110010', '0100010110100001010101110111100011100100010111111011101001100101111110101011010010101111001000101001111000001110001100011001110010100110101100110100100000001010101101011110011001000101100111001001001110100', '100000100010011111001101010000100110011110001100000010010110110100000111111011010100101111010111001110101000100001111101001110000011010110000010100', '00100110000011100101000110110001000011101000011010101000010001111011100001111111001011100111101000001000000110110001000101111010010010001100111', '0110110100011001110011001111100010101001011111011001011001101101010010101101110101010100001000100100000111101110001001110111000110011101101010100000101', '0011111010010011011101010110100110000011000011100100101011011001110110001110001111000011010111011000110100111111011101110111000010010000011011010011011100000011101100110110100100000010110101110100110101001100111011101001010111011011110100110101110010011011010001010111110011001000010100010101010010110010010110000100110001000011010011000100101011010100100111010']}]}]}") d=pandas.DataFrame.from_records(copy.deepcopy(paper_as_dict) for _ in range(140_100)) arrow=datasets.Dataset.from_pandas(d) ``` ## Expected results The dataset should be converted without error. ## Actual results Error `pyarrow.lib.ArrowInvalid: Column 1: In chunk 0: Invalid: List child array invalid: Invalid: Struct child array #1 has length smaller than expected for struct array (1192457 < 1192458)` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: datasets==1.18.4 pandas==1.3.5 - Platform: macOS 11.6 or CentOS Linux 7 (Core) - Python version: Python 3.9.7 - PyArrow version: pyarrow==3.0.0 I´m getting the same problem with some files, @albertvillanova did you find a solution to this?
[ -1.1457599401474, -0.8943801522254944, -0.6632125973701477, 1.427625298500061, -0.1471705287694931, -1.3287885189056396, 0.025831475853919983, -1.164322018623352, 1.6340746879577637, -0.7126736640930176, 0.22264385223388672, -1.633040428161621, 0.020832743495702744, -0.5315749049186707, -0.7494450807571411, -0.9293989539146423, -0.3744177222251892, -0.8587398529052734, 1.0630364418029785, 2.495328187942505, 1.2850909233093262, -1.434547781944275, 2.7018821239471436, 0.7030465602874756, -0.2617838382720947, -1.0232434272766113, 0.5935736894607544, 0.04115339741110802, -1.3435367345809937, -0.48203909397125244, -0.922823429107666, -0.039109013974666595, -0.549697995185852, -0.4992602467536926, 0.07880278676748276, 0.37639832496643066, -0.3313738703727722, -0.3761354088783264, -0.6137182712554932, -0.7387059926986694, 0.44337916374206543, -0.29858148097991943, 1.0219295024871826, -0.4084426760673523, 1.7530441284179688, -0.613507091999054, 0.4193505644798279, 0.7693553566932678, 1.3120805025100708, 0.14443615078926086, 0.0289282388985157, 0.31833910942077637, 0.30194830894470215, -0.03562554717063904, 0.5252082943916321, 1.0924397706985474, 0.6566181182861328, 0.4297062158584595, 0.7388349175453186, -2.145589590072632, 1.3387528657913208, -0.9268784523010254, 0.22871248424053192, 1.3636934757232666, -0.9238095283508301, 0.3560788631439209, -1.731009602546692, -0.10195236653089523, 0.5611032843589783, -2.2700815200805664, 0.3258766531944275, -1.2084450721740723, -0.46387559175491333, 0.9769812226295471, 0.322021484375, -1.1052428483963013, 0.18346428871154785, -0.5392648577690125, 0.9834020733833313, 0.5126168131828308, 1.1407591104507446, -1.6394083499908447, -0.05850382149219513, -0.23046736419200897, 0.035923585295677185, -1.2281641960144043, -1.5593292713165283, 0.563618540763855, 0.6325693726539612, 0.580539345741272, -0.06546001136302948, 0.9998580813407898, -1.0332927703857422, 0.7845859527587891, -0.914804220199585, -1.5697226524353027, -1.411082148551941, -2.3958969116210938, -2.302264451980591, 0.8438934683799744, -0.4921402931213379, -0.5250413417816162, 2.0728402137756348, -0.95526123046875, -1.7758526802062988, 1.0423005819320679, 0.2849917411804199, 0.0465603731572628, 2.3602309226989746, 0.21988576650619507, -0.7676367163658142, 0.41097337007522583, -0.678583562374115, 0.7628976702690125, -0.3688642978668213, 1.326854944229126, 0.44729912281036377, -1.0083378553390503, 1.5600987672805786, -0.40250372886657715, 0.5898298621177673, -0.6137464046478271, -0.4836752414703369, -0.8023589849472046, 0.3107507824897766, 1.802220106124878, -0.278026819229126, 1.4761158227920532, -0.2943410277366638, -1.562875747680664, -1.5904278755187988, 0.773372232913971, 0.5316997170448303, -0.7754441499710083, 0.07016529142856598, -0.44732606410980225, 0.11868028342723846, -0.007751963101327419, 1.1110481023788452, 1.2395938634872437, 0.7480375170707703, -0.33126676082611084, -0.8717149496078491, 0.1555926352739334, -0.1882171928882599, -0.7610986232757568, -1.8770227432250977, -0.3563423752784729, 0.1743360161781311, 0.6234309077262878, -1.2502059936523438, 1.7228538990020752, 0.9909893870353699, 1.9863460063934326, 0.938849687576294, -0.4102937579154968, 1.487007975578308, 0.055895380675792694, 1.8836047649383545, -0.4791964888572693, 0.6491035223007202, -0.3113594055175781, -1.18817138671875, 0.8626238703727722, -0.4075338840484619, -2.0213065147399902, -0.7864611744880676, -0.7399776577949524, -0.11750376224517822, -0.7266587615013123, 0.9468722939491272, -0.24349038302898407, -1.3723243474960327, 0.1746109575033188, -0.7474008798599243, 0.1859780102968216, -1.2404063940048218, 0.18274176120758057, 0.670825183391571, -0.6461604833602905, 0.016408264636993408, -0.30794447660446167, -1.3241404294967651, -0.5037349462509155, 0.2581692337989807, 1.8743008375167847, -0.7861183285713196, 1.0163018703460693, 1.0314732789993286, -0.6677423715591431, 0.09755631536245346, 0.2528001666069031, -0.36799776554107666, 0.8410739302635193, -1.1601552963256836, -0.3849790096282959, 1.1353610754013062, -0.1977584958076477, -0.5686176419258118, 1.4539670944213867, 0.8144748210906982, -1.0350748300552368, -0.1904015988111496, -0.2235686331987381, -0.9269073605537415, -0.010849938727915287, -1.5386369228363037, -0.1184859499335289, 0.38791143894195557, -1.5292630195617676, -0.36384040117263794, -0.17605391144752502, 1.3433915376663208, -0.1530035436153412, 1.3949205875396729, -0.3713652491569519, -0.1729513257741928, -0.26486825942993164, -0.32779091596603394, 0.1755152940750122, -0.2237265408039093, -0.5737900733947754, 0.2828264832496643, -0.8250197768211365, 0.29136478900909424, 1.5198884010314941, 0.41137754917144775, 0.05899932235479355, 0.5486019253730774, 1.0690785646438599, 0.3247288465499878, -0.06836974620819092, -0.7820838689804077, -1.551577091217041, 2.0100204944610596, -1.4714328050613403, 1.9593240022659302, 0.810775637626648, 0.003940930590033531, -1.7725143432617188, -1.8955183029174805, 1.2913615703582764, 1.1466805934906006, 2.3399159908294678, 0.5613774657249451, 0.41205334663391113, -0.7782692313194275, -0.6902045011520386, 0.30612367391586304, -1.020709753036499, -0.6723546385765076, 0.22552287578582764, 2.3464035987854004, 1.7152279615402222, -0.4513041377067566, -0.25170403718948364, -0.9134826064109802, 1.410021424293518, -0.24672648310661316, 0.1658303588628769, 2.1091737747192383, -0.16168232262134552, -1.0560882091522217, 1.3379992246627808, -2.451521873474121, 0.22905556857585907, 2.023355007171631, 0.31599968671798706, 0.12960770726203918, -1.454498052597046, -0.7059637308120728, -0.3681684732437134, -0.4222220778465271, -1.1808586120605469, 0.5683693289756775, -0.30444538593292236, -0.8020467162132263, -1.4979804754257202, 0.09785846620798111, -1.2180616855621338, -1.8159699440002441, 0.23495706915855408, 1.947654366493225, 2.071211814880371, -0.7289689183235168, 1.490967869758606, -0.2481202632188797, 0.0622381865978241, 1.2672420740127563, 1.2520726919174194, 3.086432933807373, 1.8098889589309692, -1.3069164752960205, 0.6712098717689514, -0.1271175593137741, -0.4755677580833435, 1.0811288356781006, -1.211612582206726, 1.0913448333740234, -0.10927020758390427, -1.1859996318817139, -1.195677399635315, 0.9991553425788879, 0.4945695996284485, 0.05188547819852829, -0.4426484704017639, 1.2791987657546997, 0.04111022502183914, 1.3199172019958496, 0.5487444996833801, -0.3093417286872864, 0.5338205099105835, -0.3365377187728882, -0.5472261905670166, 1.592951774597168, 0.21944807469844818, -1.4903349876403809, -2.3180811405181885, -0.3154178261756897, -0.8401904702186584, -0.08117616176605225, -0.6029890775680542, -1.0189703702926636, 1.6158403158187866, 0.4492252469062805, -1.2306839227676392, -0.24662351608276367, -0.23572470247745514, -0.5319650769233704, 2.6926088333129883, -1.244157314300537, -0.17067575454711914, -0.8525528311729431, -0.5139387249946594, 1.6082524061203003, -1.2167929410934448, -0.29961299896240234, -1.111070990562439, -0.5751526355743408, -1.298889398574829, -0.583863377571106, 0.01842619478702545, -0.9621303081512451, 0.7954142093658447, 0.24545924365520477, -1.1363427639007568, -0.30408626794815063, -0.9217448830604553, 1.0063202381134033, -0.029978903010487556, 0.20649191737174988, 1.889294981956482, 0.4283738136291504, -0.4041558504104614, 0.7126668691635132, 1.1816636323928833, 0.6545581221580505, -0.639375627040863, 0.0590754896402359, -0.6944934129714966, 0.2940112352371216, -1.4002166986465454, 0.264384388923645, -2.9156198501586914, 0.6652159690856934, -0.13248297572135925, -0.07050599157810211, -0.09663984924554825, -1.2958492040634155, 1.1052910089492798, 2.649113416671753, -1.0707343816757202, 0.5094743371009827, 0.34138643741607666, 1.1849411725997925, -1.645522117614746, 0.4229854345321655, -0.369875967502594, 2.111859083175659, 0.17600609362125397, 1.2736743688583374, -0.4517552852630615, -2.3138580322265625, 0.6698586344718933, -1.2966022491455078, -1.1063041687011719, 0.7493459582328796, -0.8118860721588135, 0.20091460645198822, -1.4436455965042114, -0.12143909931182861, -0.7816334366798401, -1.2489290237426758, 0.6679192781448364, 0.0938192829489708, 0.37485307455062866, -0.5680978894233704, 0.36188095808029175, -2.1523544788360596, -1.3471531867980957, -0.21723119914531708, -0.9528348445892334, 0.6177135109901428, -0.3630669116973877, 0.716683030128479, -0.1552543342113495, 0.014341762289404869, 0.33268362283706665, 1.5283597707748413, 3.4413998126983643, 0.13297371566295624, 0.28426122665405273, -0.08774977177381516, -0.9297120571136475, 1.4230269193649292, 0.8570080995559692, -0.22252260148525238, -0.6599478125572205, -1.088404893875122, 1.2347577810287476, 2.0144035816192627, 1.0796709060668945, 0.06630124896764755, -0.8054007887840271, -0.8162936568260193, 0.05192526802420616, 0.17947150766849518, 0.5669966340065002, 0.9003592729568481, 0.04269532486796379, -0.0409373864531517, 1.5173542499542236, 1.1836485862731934, -0.3647151589393616, 0.38598138093948364, -0.9646554589271545, -0.4835679531097412, 0.4302094578742981, 0.23660136759281158, 0.022019799798727036, 0.40264296531677246, -1.0058187246322632, -0.2108173817396164, -0.300273060798645, -0.8710901141166687, -0.7596461772918701, -0.4019588232040405, -0.3512837886810303, 1.7362574338912964, 0.09578818082809448, -0.5279291272163391, -0.036291591823101044, -0.641722559928894, -0.07481645047664642, -1.0853930711746216, 0.2869322896003723, -0.11766880750656128, -0.07005330920219421, -0.10554730892181396, 1.7355674505233765, -0.9163976311683655, -2.0812973976135254, 0.16544102132320404, 0.28691864013671875, -0.29913657903671265, 0.22537213563919067, 1.7178560495376587, 0.5401357412338257, 1.3971699476242065, 1.3562439680099487, 0.8997811675071716, -0.6527363061904907, -1.2770904302597046, 0.6879071593284607, 0.9530266523361206, -1.3604776859283447, 0.8416656255722046, -0.123102568089962, -0.5222961902618408, 0.634696900844574, 1.405496597290039, 0.4900488257408142, -2.0963408946990967, 0.9326769709587097, -0.9008051156997681, 0.7524721026420593, 0.714633047580719, 0.7566602230072021, 0.2033834606409073, 0.7907569408416748, -1.3136223554611206, -1.154510498046875, -0.7787579894065857, -0.6993390321731567, 1.8861799240112305, -0.2536206543445587, 0.5454286336898804, -0.255449503660202, -1.332212209701538, -0.14459580183029175, 0.6885908842086792, 0.32686829566955566, -0.44518715143203735, 0.873924732208252, -0.7243767976760864, -1.082845687866211, -1.3477803468704224, -0.4355581998825073, -1.0667611360549927, -0.837295651435852, 1.0051356554031372, 0.7900680899620056, 0.3133583068847656, 1.8771573305130005, 0.58348149061203, 0.2546955943107605, -2.6171364784240723, 0.8669740557670593, 0.24080981314182281, -0.03583279997110367, 0.8412842750549316, 0.224118173122406, 1.0829296112060547, -0.053737543523311615, 0.5473577976226807, -2.426851987838745, 2.221287727355957, -0.21334116160869598, 0.6442729830741882, 0.08758193999528885, -0.26618701219558716, 1.1332002878189087, 0.6524217128753662, 0.5884632468223572, -1.054184913635254, 0.6674579381942749, -0.5837875008583069, 1.2115137577056885, 0.8694451451301575, -0.8421274423599243, 0.007395392283797264, 1.2798917293548584, 0.47631150484085083, -0.4524638056755066, -0.9984000325202942, -0.9579110145568848, 0.9614185094833374, 1.742106556892395, -0.11218702793121338, -0.01984127052128315, 0.7414887547492981, 0.6395817399024963, -1.2449570894241333, 0.03983023390173912, -0.7890565991401672, -0.747561514377594, 1.7209526300430298, 2.0820233821868896, -0.20717421174049377, -0.2689465284347534, -0.6738264560699463, -1.2409136295318604, 0.7936389446258545, -0.15114420652389526, 0.1508079171180725, 0.5917587876319885, -0.6207776665687561, 1.120989203453064, 0.7939198613166809, 1.050308108329773, 0.04198126867413521, 0.2874067425727844, 0.2907267212867737, -0.332111120223999, -1.167596697807312, -0.23658636212348938, -1.0873857736587524, -2.535834789276123, 0.45481353998184204, -0.2669104337692261, -1.5539770126342773, 0.03494494408369064, -1.0376856327056885, 0.967997133731842, -0.5106950402259827, -1.0906282663345337, -1.4487850666046143, 0.2621173858642578, -0.15894204378128052, 0.9658493399620056, -1.6194475889205933, -0.14134082198143005, 1.3478223085403442, 0.8149513006210327, -0.6542996764183044, 1.0026720762252808, 0.16032512485980988, 1.04195237159729, 0.8141298890113831, -0.34691131114959717, 0.5466004610061646, 0.0646895095705986, -1.3071966171264648, 0.3792657256126404, 1.156103491783142, 0.1703222244977951, 1.4302845001220703, -0.5393339991569519, 0.09467126429080963, 0.3636201024055481, -0.601365864276886, -0.4548037052154541, -0.4323663115501404, 0.7675423622131348, 0.01643241196870804, -0.9920870661735535, -0.06806108355522156, -0.08041444420814514, -0.36639559268951416, 0.13894003629684448, -1.4310778379440308, -0.32367563247680664, -0.3442648649215698, -0.46813422441482544, -1.294872760772705, -0.0034843399189412594, 1.2752211093902588, -0.7268433570861816, -0.27275335788726807, 0.3955046534538269, 0.3638589382171631, 0.5803288817405701, 0.6823213696479797, -0.7255440950393677, -0.3533819317817688, -0.2520652711391449, -0.3423895239830017, 0.2667577266693115, 1.284637212753296, 0.020691214129328728, -0.9268277287483215, 0.6374446749687195, -0.36697059869766235, 0.08497191220521927, 1.9989252090454102, 0.02882162109017372, -0.7392033934593201, 0.3395566940307617, -0.6948265433311462, 1.8541276454925537, 1.7963924407958984, 1.2361860275268555, -0.14675010740756989, -0.9408521056175232, 0.5822774767875671, -0.33905357122421265, -0.3654516339302063, 0.9252347946166992, 0.502770185470581, -0.18755745887756348, -1.410538911819458, 0.6720724105834961, 1.2767192125320435, -0.7756146788597107, -0.7878397107124329, 0.0652272179722786, -0.8273931741714478, 1.1528499126434326, 0.6946746706962585, 0.417533278465271, 0.2699032425880432, 1.601805329322815, 0.7838310599327087, -0.547308623790741, 0.568504810333252, 0.5042678713798523, -0.20660626888275146, -2.0578458309173584, -1.037115454673767, 0.29087668657302856, -0.44346892833709717, -1.5970659255981445, 1.3969008922576904, -1.1004095077514648, -0.8717325925827026, 0.5983203649520874, 0.048271652311086655, 1.3618963956832886, 0.3982623815536499, 1.5855436325073242, 2.096780300140381, 0.9089443683624268, 0.28710198402404785, 1.2053064107894897, -0.08205647766590118, -0.5074884295463562, 1.8527601957321167, -0.3868141174316406, 0.5446096062660217, 1.0784286260604858, -0.38718700408935547, -1.0393162965774536, -0.8318314552307129, -1.1128334999084473, -0.6584846377372742, 1.2028356790542603, 0.11534404754638672, -1.141660451889038, 0.24989821016788483, 1.589011549949646, 0.09202896803617477, -0.33108192682266235, 0.618972659111023, 0.38078802824020386, -0.8898933529853821, -0.13480117917060852, -0.9038069844245911, 0.5120249390602112, -0.196970134973526, -0.34925734996795654, 0.344468891620636, 0.5009844303131104, 1.3596148490905762, -0.04013606905937195, 0.17873334884643555, 1.1047437191009521, -1.4706932306289673, 1.4883203506469727, -0.6855449080467224, 0.36190301179885864, -2.3262999057769775, 1.4061723947525024, -0.7685801982879639, 1.9608867168426514, -2.6005256175994873, 0.4375159740447998, -0.5034689903259277, -0.4840880036354065, 0.21897545456886292, -0.44539207220077515, 0.1536554992198944, -0.16025421023368835, -1.0452755689620972, 0.004635697230696678, -0.7197191119194031, 0.621208667755127, 1.1688215732574463, 1.393816351890564, -1.130420446395874, -0.270624041557312, -1.6516612768173218, -0.257385790348053, -0.7622987627983093, 0.3676474094390869, -1.8773207664489746, -0.17383193969726562, -1.9488604068756104, -2.363912343978882, -1.3676201105117798, -0.9073569178581238, 1.1083097457885742, 0.1858709454536438, -0.9448347687721252, 1.1512118577957153, -0.34403377771377563, -1.7691476345062256, 1.1791282892227173, -2.2025012969970703 ]
https://github.com/huggingface/datasets/issues/3956
TypeError: __init__() missing 1 required positional argument: 'scheme'
Hi @amirj, thanks for reporting. At first sight, your issue seems a version incompatibility between your Elasticsearch client and your Elasticsearch server. Feel free to have a look at Elasticsearch client docs: https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/overview.html#_compatibility > Language clients are forward compatible; meaning that clients support communicating with greater or equal minor versions of Elasticsearch. Elasticsearch language clients are only backwards compatible with default distributions and without guarantees made.
## Describe the bug Based on [this tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) the provided code should add Elasticsearch index but raised the following error, probably the new Elasticsearch version is not compatible though the tutorial doesn't provide any information about the supporting Elasticsearch version. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from datasets import load_dataset squad = load_dataset('squad', split='validation') squad.add_elasticsearch_index("context", host="localhost", port="9200") ``` ## Expected results [Creating an elastic index based on the provided tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) ## Actual results ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-6-8fb51aa33961> in <module> 1 from datasets import load_dataset 2 squad = load_dataset('squad', split='validation') ----> 3 squad.add_elasticsearch_index("context", host="localhost", port="9200") ~/opt/anaconda3/lib/python3.8/site-packages/datasets/arrow_dataset.py in add_elasticsearch_index(self, column, index_name, host, port, es_client, es_index_name, es_index_config) 3777 """ 3778 with self.formatted_as(type=None, columns=[column]): -> 3779 super().add_elasticsearch_index( 3780 column=column, 3781 index_name=index_name, ~/opt/anaconda3/lib/python3.8/site-packages/datasets/search.py in add_elasticsearch_index(self, column, index_name, host, port, es_client, es_index_name, es_index_config) 587 """ 588 index_name = index_name if index_name is not None else column --> 589 es_index = ElasticSearchIndex( 590 host=host, port=port, es_client=es_client, es_index_name=es_index_name, es_index_config=es_index_config 591 ) ~/opt/anaconda3/lib/python3.8/site-packages/datasets/search.py in __init__(self, host, port, es_client, es_index_name, es_index_config) 123 from elasticsearch import Elasticsearch # noqa: F811 124 --> 125 self.es_client = es_client if es_client is not None else Elasticsearch([{"host": host, "port": str(port)}]) 126 self.es_index_name = ( 127 es_index_name ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/__init__.py in __init__(self, hosts, cloud_id, api_key, basic_auth, bearer_auth, opaque_id, headers, connections_per_node, http_compress, verify_certs, ca_certs, client_cert, client_key, ssl_assert_hostname, ssl_assert_fingerprint, ssl_version, ssl_context, ssl_show_warn, transport_class, request_timeout, node_class, node_pool_class, randomize_nodes_in_pool, node_selector_class, dead_node_backoff_factor, max_dead_node_backoff, serializer, serializers, default_mimetype, max_retries, retry_on_status, retry_on_timeout, sniff_on_start, sniff_before_requests, sniff_on_node_failure, sniff_timeout, min_delay_between_sniffing, sniffed_node_callback, meta_header, timeout, randomize_hosts, host_info_callback, sniffer_timeout, sniff_on_connection_fail, http_auth, maxsize, _transport) 310 311 if _transport is None: --> 312 node_configs = client_node_configs( 313 hosts, 314 cloud_id=cloud_id, ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in client_node_configs(hosts, cloud_id, **kwargs) 99 else: 100 assert hosts is not None --> 101 node_configs = hosts_to_node_configs(hosts) 102 103 # Remove all values which are 'DEFAULT' to avoid overwriting actual defaults. ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in hosts_to_node_configs(hosts) 142 143 elif isinstance(host, Mapping): --> 144 node_configs.append(host_mapping_to_node_config(host)) 145 else: 146 raise ValueError( ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in host_mapping_to_node_config(host) 209 options["path_prefix"] = options.pop("url_prefix") 210 --> 211 return NodeConfig(**options) # type: ignore 212 213 TypeError: __init__() missing 1 required positional argument: 'scheme' ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: Mac - Python version: 3.8.0 - PyArrow version: 7.0.0 - ElaticSearch Info: { "name" : "byname", "cluster_name" : "elasticsearch_brew", "cluster_uuid" : "9xkjrltiQIG0J95ciWhqRA", "version" : { "number" : "7.10.2-SNAPSHOT", "build_flavor" : "oss", "build_type" : "tar", "build_hash" : "unknown", "build_date" : "2021-01-16T01:41:27.115673Z", "build_snapshot" : true, "lucene_version" : "8.7.0", "minimum_wire_compatibility_version" : "6.8.0", "minimum_index_compatibility_version" : "6.0.0-beta1" }, "tagline" : "You Know, for Search" }
877
66
TypeError: __init__() missing 1 required positional argument: 'scheme' ## Describe the bug Based on [this tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) the provided code should add Elasticsearch index but raised the following error, probably the new Elasticsearch version is not compatible though the tutorial doesn't provide any information about the supporting Elasticsearch version. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from datasets import load_dataset squad = load_dataset('squad', split='validation') squad.add_elasticsearch_index("context", host="localhost", port="9200") ``` ## Expected results [Creating an elastic index based on the provided tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) ## Actual results ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-6-8fb51aa33961> in <module> 1 from datasets import load_dataset 2 squad = load_dataset('squad', split='validation') ----> 3 squad.add_elasticsearch_index("context", host="localhost", port="9200") ~/opt/anaconda3/lib/python3.8/site-packages/datasets/arrow_dataset.py in add_elasticsearch_index(self, column, index_name, host, port, es_client, es_index_name, es_index_config) 3777 """ 3778 with self.formatted_as(type=None, columns=[column]): -> 3779 super().add_elasticsearch_index( 3780 column=column, 3781 index_name=index_name, ~/opt/anaconda3/lib/python3.8/site-packages/datasets/search.py in add_elasticsearch_index(self, column, index_name, host, port, es_client, es_index_name, es_index_config) 587 """ 588 index_name = index_name if index_name is not None else column --> 589 es_index = ElasticSearchIndex( 590 host=host, port=port, es_client=es_client, es_index_name=es_index_name, es_index_config=es_index_config 591 ) ~/opt/anaconda3/lib/python3.8/site-packages/datasets/search.py in __init__(self, host, port, es_client, es_index_name, es_index_config) 123 from elasticsearch import Elasticsearch # noqa: F811 124 --> 125 self.es_client = es_client if es_client is not None else Elasticsearch([{"host": host, "port": str(port)}]) 126 self.es_index_name = ( 127 es_index_name ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/__init__.py in __init__(self, hosts, cloud_id, api_key, basic_auth, bearer_auth, opaque_id, headers, connections_per_node, http_compress, verify_certs, ca_certs, client_cert, client_key, ssl_assert_hostname, ssl_assert_fingerprint, ssl_version, ssl_context, ssl_show_warn, transport_class, request_timeout, node_class, node_pool_class, randomize_nodes_in_pool, node_selector_class, dead_node_backoff_factor, max_dead_node_backoff, serializer, serializers, default_mimetype, max_retries, retry_on_status, retry_on_timeout, sniff_on_start, sniff_before_requests, sniff_on_node_failure, sniff_timeout, min_delay_between_sniffing, sniffed_node_callback, meta_header, timeout, randomize_hosts, host_info_callback, sniffer_timeout, sniff_on_connection_fail, http_auth, maxsize, _transport) 310 311 if _transport is None: --> 312 node_configs = client_node_configs( 313 hosts, 314 cloud_id=cloud_id, ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in client_node_configs(hosts, cloud_id, **kwargs) 99 else: 100 assert hosts is not None --> 101 node_configs = hosts_to_node_configs(hosts) 102 103 # Remove all values which are 'DEFAULT' to avoid overwriting actual defaults. ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in hosts_to_node_configs(hosts) 142 143 elif isinstance(host, Mapping): --> 144 node_configs.append(host_mapping_to_node_config(host)) 145 else: 146 raise ValueError( ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in host_mapping_to_node_config(host) 209 options["path_prefix"] = options.pop("url_prefix") 210 --> 211 return NodeConfig(**options) # type: ignore 212 213 TypeError: __init__() missing 1 required positional argument: 'scheme' ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: Mac - Python version: 3.8.0 - PyArrow version: 7.0.0 - ElaticSearch Info: { "name" : "byname", "cluster_name" : "elasticsearch_brew", "cluster_uuid" : "9xkjrltiQIG0J95ciWhqRA", "version" : { "number" : "7.10.2-SNAPSHOT", "build_flavor" : "oss", "build_type" : "tar", "build_hash" : "unknown", "build_date" : "2021-01-16T01:41:27.115673Z", "build_snapshot" : true, "lucene_version" : "8.7.0", "minimum_wire_compatibility_version" : "6.8.0", "minimum_index_compatibility_version" : "6.0.0-beta1" }, "tagline" : "You Know, for Search" } Hi @amirj, thanks for reporting. At first sight, your issue seems a version incompatibility between your Elasticsearch client and your Elasticsearch server. Feel free to have a look at Elasticsearch client docs: https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/overview.html#_compatibility > Language clients are forward compatible; meaning that clients support communicating with greater or equal minor versions of Elasticsearch. Elasticsearch language clients are only backwards compatible with default distributions and without guarantees made.
[ -1.2576981782913208, -0.8072288036346436, -0.5764096975326538, 1.4736487865447998, 0.004407837986946106, -1.3325319290161133, 0.08641734719276428, -0.8813815116882324, 1.577204942703247, -0.8625599145889282, 0.3448003828525543, -1.6538548469543457, 0.0732506513595581, -0.6694484353065491, -0.6252675652503967, -0.6805681586265564, -0.280646950006485, -0.7015061974525452, 1.186315894126892, 2.378892421722412, 1.203363299369812, -1.3638910055160522, 2.876934766769409, 0.6466245055198669, -0.2279382199048996, -0.811314046382904, 0.35859057307243347, -0.05005841329693794, -1.4741947650909424, -0.32061871886253357, -1.056270718574524, 0.018889354541897774, -0.6512167453765869, -0.4369593560695648, 0.09366953372955322, 0.46502578258514404, -0.25117427110671997, -0.4633427560329437, -0.4807637631893158, -0.8033264875411987, 0.5112529993057251, -0.23762506246566772, 0.8471649885177612, -0.3028804659843445, 1.785325527191162, -0.5938990116119385, 0.5093380808830261, 0.5228193402290344, 1.2418123483657837, 0.27969470620155334, -0.01870383694767952, 0.4009333550930023, 0.21133680641651154, 0.04867001622915268, 0.6442546248435974, 1.2380867004394531, 0.6498757600784302, 0.5133215188980103, 0.7508530616760254, -2.1735517978668213, 1.3534032106399536, -0.8826646208763123, 0.157446950674057, 1.4664478302001953, -1.0944629907608032, 0.5021654367446899, -1.8586491346359253, -0.08516320586204529, 0.4510643184185028, -2.2784082889556885, 0.20682208240032196, -1.2890024185180664, -0.5711563229560852, 0.9873194098472595, 0.41546106338500977, -1.201809048652649, -0.011819140985608101, -0.43936988711357117, 0.9475224018096924, 0.3492538630962372, 1.1408758163452148, -1.6756112575531006, 0.059192027896642685, -0.2411164492368698, 0.3372863829135895, -1.185683250427246, -1.6204129457473755, 0.6286637783050537, 0.6924406290054321, 0.5885799527168274, -0.14799931645393372, 0.9703158140182495, -1.1334494352340698, 0.8201001882553101, -1.026416540145874, -1.7738378047943115, -1.3408247232437134, -2.47098445892334, -2.3393821716308594, 0.7734863758087158, -0.4756622016429901, -0.4049420654773712, 2.203855037689209, -1.1391586065292358, -1.6644772291183472, 1.0845911502838135, 0.310917466878891, -0.03427531570196152, 2.464937925338745, 0.2237100601196289, -0.9480352997779846, 0.7346763014793396, -0.8279320001602173, 0.6603686809539795, -0.36244577169418335, 1.2492042779922485, 0.3878471255302429, -0.996985673904419, 1.5592409372329712, -0.3344995081424713, 0.479290634393692, -0.6344566345214844, -0.4082843065261841, -0.5627636909484863, 0.1742834597826004, 1.9987188577651978, -0.13478605449199677, 1.4804362058639526, -0.14384295046329498, -1.4534764289855957, -1.38595712184906, 0.8045244216918945, 0.43166422843933105, -0.8941285014152527, 0.2116323858499527, -0.44937947392463684, 0.19990669190883636, 0.07373778522014618, 1.1466144323349, 1.3972073793411255, 0.7613734006881714, -0.18876643478870392, -0.918705940246582, 0.011142781004309654, -0.05957236886024475, -0.6191026568412781, -1.6780046224594116, -0.26851344108581543, 0.11729271709918976, 0.6141262650489807, -1.2419952154159546, 1.9310963153839111, 0.8854358196258545, 2.0212278366088867, 0.9780790209770203, -0.3330829441547394, 1.5649455785751343, 0.12551337480545044, 1.8520869016647339, -0.41436269879341125, 0.6526353359222412, -0.5544806122779846, -1.1841381788253784, 0.7164215445518494, -0.4183993935585022, -1.8848930597305298, -0.39603039622306824, -0.8199189901351929, -0.1745901256799698, -0.8991385102272034, 1.0603294372558594, -0.16061699390411377, -1.3953953981399536, 0.2021474391222, -0.6981779336929321, 0.14785632491111755, -1.3462393283843994, 0.27900633215904236, 0.7602750062942505, -0.7032198309898376, 0.050116922706365585, -0.46298155188560486, -1.3457090854644775, -0.5954039692878723, 0.45999205112457275, 1.7700060606002808, -0.6189888715744019, 0.9891635179519653, 1.0510629415512085, -0.6324391961097717, -0.037488438189029694, 0.49836406111717224, -0.34805628657341003, 0.8542826771736145, -1.0273247957229614, -0.4828934967517853, 1.1913707256317139, -0.3764112889766693, -0.5268889665603638, 1.3104441165924072, 0.6885562539100647, -1.024302363395691, -0.3319060504436493, -0.042225152254104614, -0.862841784954071, 0.12095384299755096, -1.5783103704452515, -0.07599307596683502, 0.35210365056991577, -1.5205233097076416, -0.4382261335849762, -0.01446889340877533, 1.2600677013397217, -0.060919225215911865, 1.3913695812225342, -0.2005368024110794, -0.06611762940883636, -0.4529862105846405, -0.5385030508041382, 0.11066664755344391, -0.0911150872707367, -0.6148586869239807, 0.2406170666217804, -0.753884494304657, 0.17523826658725739, 1.5034458637237549, 0.23629017174243927, 0.07095500826835632, 0.502960741519928, 1.1666654348373413, 0.32748058438301086, -0.15972986817359924, -0.8970924615859985, -1.7251956462860107, 1.9579132795333862, -1.5519555807113647, 2.002728223800659, 0.8145361542701721, -0.0743672102689743, -1.7634124755859375, -1.8828901052474976, 1.4752672910690308, 1.0761065483093262, 2.490300178527832, 0.4621955156326294, 0.4245360791683197, -0.7816901206970215, -0.6904053688049316, 0.4960896670818329, -0.7359126806259155, -0.8628441691398621, 0.1483488380908966, 2.3594043254852295, 1.7184147834777832, -0.3175768256187439, -0.19551293551921844, -0.9023655652999878, 1.3131587505340576, -0.34408897161483765, 0.25265994668006897, 1.8571584224700928, -0.41819992661476135, -1.0232642889022827, 1.3067190647125244, -2.444049119949341, 0.2791430354118347, 2.1052656173706055, 0.3197441101074219, 0.04114226624369621, -1.1736838817596436, -0.7507808208465576, -0.16669268906116486, -0.4077398478984833, -1.278632402420044, 0.37522611021995544, -0.2414078563451767, -0.7733492851257324, -1.3605642318725586, 0.04182157292962074, -1.1791980266571045, -1.6586551666259766, 0.2600225508213043, 1.8200104236602783, 2.160301446914673, -0.7808058857917786, 1.3097800016403198, -0.3365591764450073, 0.23355643451213837, 1.0934031009674072, 1.3122457265853882, 3.2122843265533447, 1.8443392515182495, -1.2604243755340576, 0.6870942711830139, -0.12154582142829895, -0.4853091835975647, 1.2279913425445557, -1.0336265563964844, 1.201690435409546, -0.2014462947845459, -1.328241229057312, -1.191022515296936, 0.8769748210906982, 0.45559433102607727, -0.14334827661514282, -0.5481489300727844, 1.1369285583496094, 0.16521307826042175, 1.2972944974899292, 0.6339111328125, -0.37901628017425537, 0.5453433990478516, -0.3721069097518921, -0.5455264449119568, 1.5761054754257202, 0.05134591832756996, -1.5319799184799194, -2.287844657897949, -0.14016824960708618, -0.9664561748504639, 0.07352320849895477, -0.9090663194656372, -1.010351300239563, 1.554779291152954, 0.39641454815864563, -0.9484376311302185, -0.1614084541797638, -0.3758501708507538, -0.5289410352706909, 2.6604726314544678, -1.3135048151016235, -0.2281586229801178, -0.9897049069404602, -0.6024956703186035, 1.520324945449829, -1.140077829360962, -0.24922382831573486, -1.0617629289627075, -0.46214547753334045, -1.2974419593811035, -0.40797141194343567, -0.01235964521765709, -0.8155885934829712, 0.7158579230308533, -0.014223496429622173, -1.3727370500564575, -0.3228529095649719, -1.0943248271942139, 0.8977158069610596, -0.27920079231262207, 0.025111835449934006, 1.6980611085891724, 0.20518988370895386, -0.44007769227027893, 0.873844563961029, 1.2450308799743652, 0.6670446395874023, -0.5233621001243591, 0.16781029105186462, -0.5745524168014526, 0.5840692520141602, -1.2161808013916016, 0.3683977723121643, -2.993762254714966, 0.6297990679740906, -0.014158818870782852, -0.04945879429578781, -0.09429392218589783, -1.471510648727417, 0.9920427799224854, 2.409146547317505, -1.1186261177062988, 0.655952513217926, 0.2973964214324951, 1.1907879114151, -1.6884942054748535, 0.04008958488702774, -0.703203558921814, 2.068044424057007, -0.03352087363600731, 1.0293625593185425, -0.5488252639770508, -2.392489194869995, 0.5366116166114807, -1.2461440563201904, -0.9043400883674622, 0.7930947542190552, -0.8875174522399902, 0.27414482831954956, -1.22794508934021, -0.19417987763881683, -0.8687049150466919, -1.0880624055862427, 0.5221344232559204, 0.026828106492757797, 0.5882548689842224, -0.5763663053512573, 0.2935221791267395, -2.312561511993408, -1.3522489070892334, -0.07502616941928864, -0.9229534268379211, 0.5036904811859131, -0.5179582834243774, 0.7199719548225403, -0.16464829444885254, 0.018810752779245377, 0.25878337025642395, 1.5174291133880615, 3.215587854385376, 0.0025932742282748222, 0.31268227100372314, -0.2939121723175049, -1.0224241018295288, 1.6175563335418701, 0.9106044173240662, -0.24698680639266968, -0.6571955680847168, -0.9652020931243896, 1.45853853225708, 1.9008020162582397, 0.9759053587913513, 0.04757625609636307, -0.93788743019104, -0.7784609794616699, 0.09328612685203552, 0.08631958067417145, 0.42985066771507263, 0.9996925592422485, 0.15314996242523193, 0.16117289662361145, 1.3645479679107666, 1.040818691253662, -0.3163003921508789, 0.4822081923484802, -0.8561972975730896, -0.36006900668144226, 0.5942813754081726, 0.3306243121623993, -0.03899170458316803, 0.30109745264053345, -0.9798250198364258, -0.2400199919939041, -0.2764907479286194, -0.7941582202911377, -0.7048530578613281, -0.3642634153366089, -0.3941567838191986, 1.7741578817367554, 0.03252717852592468, -0.5205633640289307, 0.009745554998517036, -0.8076561093330383, -0.09330414235591888, -1.0925225019454956, 0.2863142490386963, -0.09936754405498505, 0.05953677371144295, -0.2409437894821167, 1.675399899482727, -0.954409658908844, -2.20487117767334, 0.0882003903388977, 0.27332672476768494, -0.25968673825263977, -0.11719678342342377, 1.8700523376464844, 0.48243436217308044, 1.4529930353164673, 1.5562747716903687, 1.091658353805542, -0.6069671511650085, -1.3252921104431152, 0.7579898834228516, 0.9115175604820251, -1.3375084400177002, 0.9727765917778015, -0.22793644666671753, -0.6607006788253784, 0.5094518661499023, 1.2801566123962402, 0.45548900961875916, -1.8986265659332275, 0.9252803325653076, -1.1865382194519043, 0.9332611560821533, 0.825367271900177, 0.8338567614555359, 0.13701282441616058, 0.9494165778160095, -1.1896525621414185, -1.054762601852417, -0.5080923438072205, -0.6501471996307373, 1.8695423603057861, -0.31980443000793457, 0.3318856656551361, -0.274421364068985, -1.2443236112594604, 0.10130079090595245, 0.6557726263999939, 0.29200488328933716, -0.27377432584762573, 0.7628269195556641, -0.7644239068031311, -1.1512802839279175, -1.3526090383529663, -0.5194311141967773, -1.0680341720581055, -0.8584799766540527, 1.033483624458313, 0.7211427092552185, 0.49124065041542053, 1.9856188297271729, 0.6701003909111023, 0.20218037068843842, -2.54093599319458, 0.821354329586029, 0.358681321144104, -0.14044295251369476, 0.8474218845367432, 0.3077726662158966, 1.2895610332489014, -0.1192786693572998, 0.5380801558494568, -2.3189594745635986, 2.204768657684326, -0.21352382004261017, 0.7901655435562134, 0.039257943630218506, -0.005632518325001001, 0.941978394985199, 0.5417252779006958, 0.5436633825302124, -1.041405439376831, 0.8185021281242371, -0.6151819229125977, 1.1156232357025146, 0.8843666315078735, -0.8982020020484924, 0.1354859322309494, 1.2178006172180176, 0.34306541085243225, -0.626262366771698, -1.0163178443908691, -0.7936036586761475, 0.9122476577758789, 1.6642131805419922, 0.09915240108966827, 0.11448952555656433, 0.8009278774261475, 0.7581748366355896, -1.214816927909851, -0.017927847802639008, -0.5147958397865295, -0.653186023235321, 1.8094234466552734, 2.053831100463867, -0.000667705200612545, -0.037009771913290024, -0.6609246730804443, -1.462446689605713, 0.8130121231079102, 0.09580202400684357, -0.04103293642401695, 0.7648857235908508, -0.6682485938072205, 1.0884050130844116, 0.7222028970718384, 0.8617985248565674, 0.21964207291603088, 0.01983613707125187, 0.3769875466823578, -0.3398151099681854, -1.2389094829559326, -0.33429789543151855, -1.0289560556411743, -2.598792552947998, 0.4270857870578766, -0.2808430790901184, -1.4207196235656738, 0.13825899362564087, -0.9383878707885742, 0.7603096961975098, -0.46612903475761414, -1.2065718173980713, -1.3079367876052856, 0.24332782626152039, -0.13439391553401947, 0.8020354509353638, -1.64395272731781, -0.22810475528240204, 1.1088865995407104, 0.9449654221534729, -0.6617723107337952, 0.8587184548377991, 0.2573762834072113, 0.9129475951194763, 0.9502392411231995, -0.385066956281662, 0.4801604151725769, 0.23166950047016144, -1.3909811973571777, 0.40865129232406616, 1.3751723766326904, 0.16442374885082245, 1.3816226720809937, -0.3578421175479889, -0.04935219883918762, 0.4249430000782013, -0.3556530475616455, -0.49635836482048035, -0.7084792256355286, 0.6061995029449463, -0.10460366308689117, -0.9116037487983704, -0.2229519635438919, 0.008819876238703728, -0.2309899628162384, 0.20034371316432953, -1.525915265083313, -0.08043041825294495, -0.4410664439201355, -0.5792482495307922, -1.483328938484192, -0.07838290929794312, 1.35288667678833, -0.853393018245697, -0.10190998017787933, 0.6039646863937378, 0.22365520894527435, 0.47097399830818176, 0.6852783560752869, -0.759315550327301, -0.1943635642528534, -0.09171800315380096, -0.4479729235172272, 0.3145489990711212, 1.2999401092529297, -0.09635789692401886, -0.9354215860366821, 0.4397202432155609, -0.17915940284729004, 0.14223967492580414, 1.8682596683502197, -0.005674300249665976, -0.8649542927742004, 0.35622522234916687, -0.7773424386978149, 1.8862918615341187, 1.6018403768539429, 1.313437819480896, -0.1791684627532959, -0.9377517104148865, 0.6760738492012024, -0.4075044095516205, -0.3715440034866333, 0.812352180480957, 0.37556740641593933, -0.3053818643093109, -1.4464470148086548, 0.794497013092041, 1.1276440620422363, -0.7917150259017944, -0.7658486366271973, 0.12581592798233032, -0.8344114422798157, 1.2437396049499512, 0.6154724359512329, 0.34451666474342346, 0.26594415307044983, 1.742562174797058, 0.7119697332382202, -0.6076027750968933, 0.46137529611587524, 0.5372198224067688, -0.18968559801578522, -2.010594367980957, -1.1109678745269775, 0.2462446391582489, -0.4667971432209015, -1.450943112373352, 1.4692487716674805, -1.1665890216827393, -1.0042271614074707, 0.4428679645061493, 0.07628697156906128, 1.2424225807189941, 0.34056368470191956, 1.7166696786880493, 2.001270055770874, 0.8812390565872192, 0.503689706325531, 1.126932144165039, -0.289204478263855, -0.2281801998615265, 1.6786985397338867, -0.44640275835990906, 0.6329084634780884, 0.9942721128463745, -0.4771541953086853, -1.2414709329605103, -0.8111013174057007, -1.2474597692489624, -0.7803864479064941, 1.0184345245361328, 0.11345979571342468, -1.0796051025390625, 0.32228022813796997, 1.6055759191513062, 0.003362515941262245, -0.0649627149105072, 0.7773729562759399, 0.39554333686828613, -0.6798092126846313, -0.07890628278255463, -1.0369282960891724, 0.6474351286888123, -0.35576289892196655, -0.4250253736972809, 0.14294974505901337, 0.6200045347213745, 1.3206055164337158, 0.15619541704654694, 0.16095346212387085, 1.3284916877746582, -1.4040640592575073, 1.2326524257659912, -1.0348877906799316, 0.3833959996700287, -2.305197238922119, 1.4463528394699097, -0.9536036849021912, 1.986215353012085, -2.703399896621704, 0.4930313527584076, -0.4591880440711975, -0.6723495125770569, 0.1753479689359665, -0.18128573894500732, 0.08366112411022186, -0.03327249735593796, -1.0277600288391113, -0.07463280856609344, -0.8014342784881592, 0.49104830622673035, 1.2548967599868774, 1.3880349397659302, -0.9211845993995667, -0.25221413373947144, -1.6599440574645996, -0.13299115002155304, -0.5031676292419434, 0.1515895426273346, -1.8089988231658936, -0.19882890582084656, -2.078073263168335, -2.466806650161743, -1.3421961069107056, -0.9497886300086975, 1.3676618337631226, 0.1754540652036667, -0.9654746055603027, 1.2253221273422241, -0.31052127480506897, -1.7265793085098267, 1.2031952142715454, -2.1161539554595947 ]
https://github.com/huggingface/datasets/issues/3956
TypeError: __init__() missing 1 required positional argument: 'scheme'
@albertvillanova It doesn't seem a version incompatibility between the client and server, since the following code is working: ``` from elasticsearch import Elasticsearch es_client = Elasticsearch("http://localhost:9200") dataset.add_elasticsearch_index(column="e1", es_client=es_client, es_index_name="e1_index") ```
## Describe the bug Based on [this tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) the provided code should add Elasticsearch index but raised the following error, probably the new Elasticsearch version is not compatible though the tutorial doesn't provide any information about the supporting Elasticsearch version. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from datasets import load_dataset squad = load_dataset('squad', split='validation') squad.add_elasticsearch_index("context", host="localhost", port="9200") ``` ## Expected results [Creating an elastic index based on the provided tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) ## Actual results ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-6-8fb51aa33961> in <module> 1 from datasets import load_dataset 2 squad = load_dataset('squad', split='validation') ----> 3 squad.add_elasticsearch_index("context", host="localhost", port="9200") ~/opt/anaconda3/lib/python3.8/site-packages/datasets/arrow_dataset.py in add_elasticsearch_index(self, column, index_name, host, port, es_client, es_index_name, es_index_config) 3777 """ 3778 with self.formatted_as(type=None, columns=[column]): -> 3779 super().add_elasticsearch_index( 3780 column=column, 3781 index_name=index_name, ~/opt/anaconda3/lib/python3.8/site-packages/datasets/search.py in add_elasticsearch_index(self, column, index_name, host, port, es_client, es_index_name, es_index_config) 587 """ 588 index_name = index_name if index_name is not None else column --> 589 es_index = ElasticSearchIndex( 590 host=host, port=port, es_client=es_client, es_index_name=es_index_name, es_index_config=es_index_config 591 ) ~/opt/anaconda3/lib/python3.8/site-packages/datasets/search.py in __init__(self, host, port, es_client, es_index_name, es_index_config) 123 from elasticsearch import Elasticsearch # noqa: F811 124 --> 125 self.es_client = es_client if es_client is not None else Elasticsearch([{"host": host, "port": str(port)}]) 126 self.es_index_name = ( 127 es_index_name ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/__init__.py in __init__(self, hosts, cloud_id, api_key, basic_auth, bearer_auth, opaque_id, headers, connections_per_node, http_compress, verify_certs, ca_certs, client_cert, client_key, ssl_assert_hostname, ssl_assert_fingerprint, ssl_version, ssl_context, ssl_show_warn, transport_class, request_timeout, node_class, node_pool_class, randomize_nodes_in_pool, node_selector_class, dead_node_backoff_factor, max_dead_node_backoff, serializer, serializers, default_mimetype, max_retries, retry_on_status, retry_on_timeout, sniff_on_start, sniff_before_requests, sniff_on_node_failure, sniff_timeout, min_delay_between_sniffing, sniffed_node_callback, meta_header, timeout, randomize_hosts, host_info_callback, sniffer_timeout, sniff_on_connection_fail, http_auth, maxsize, _transport) 310 311 if _transport is None: --> 312 node_configs = client_node_configs( 313 hosts, 314 cloud_id=cloud_id, ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in client_node_configs(hosts, cloud_id, **kwargs) 99 else: 100 assert hosts is not None --> 101 node_configs = hosts_to_node_configs(hosts) 102 103 # Remove all values which are 'DEFAULT' to avoid overwriting actual defaults. ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in hosts_to_node_configs(hosts) 142 143 elif isinstance(host, Mapping): --> 144 node_configs.append(host_mapping_to_node_config(host)) 145 else: 146 raise ValueError( ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in host_mapping_to_node_config(host) 209 options["path_prefix"] = options.pop("url_prefix") 210 --> 211 return NodeConfig(**options) # type: ignore 212 213 TypeError: __init__() missing 1 required positional argument: 'scheme' ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: Mac - Python version: 3.8.0 - PyArrow version: 7.0.0 - ElaticSearch Info: { "name" : "byname", "cluster_name" : "elasticsearch_brew", "cluster_uuid" : "9xkjrltiQIG0J95ciWhqRA", "version" : { "number" : "7.10.2-SNAPSHOT", "build_flavor" : "oss", "build_type" : "tar", "build_hash" : "unknown", "build_date" : "2021-01-16T01:41:27.115673Z", "build_snapshot" : true, "lucene_version" : "8.7.0", "minimum_wire_compatibility_version" : "6.8.0", "minimum_index_compatibility_version" : "6.0.0-beta1" }, "tagline" : "You Know, for Search" }
877
30
TypeError: __init__() missing 1 required positional argument: 'scheme' ## Describe the bug Based on [this tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) the provided code should add Elasticsearch index but raised the following error, probably the new Elasticsearch version is not compatible though the tutorial doesn't provide any information about the supporting Elasticsearch version. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from datasets import load_dataset squad = load_dataset('squad', split='validation') squad.add_elasticsearch_index("context", host="localhost", port="9200") ``` ## Expected results [Creating an elastic index based on the provided tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) ## Actual results ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-6-8fb51aa33961> in <module> 1 from datasets import load_dataset 2 squad = load_dataset('squad', split='validation') ----> 3 squad.add_elasticsearch_index("context", host="localhost", port="9200") ~/opt/anaconda3/lib/python3.8/site-packages/datasets/arrow_dataset.py in add_elasticsearch_index(self, column, index_name, host, port, es_client, es_index_name, es_index_config) 3777 """ 3778 with self.formatted_as(type=None, columns=[column]): -> 3779 super().add_elasticsearch_index( 3780 column=column, 3781 index_name=index_name, ~/opt/anaconda3/lib/python3.8/site-packages/datasets/search.py in add_elasticsearch_index(self, column, index_name, host, port, es_client, es_index_name, es_index_config) 587 """ 588 index_name = index_name if index_name is not None else column --> 589 es_index = ElasticSearchIndex( 590 host=host, port=port, es_client=es_client, es_index_name=es_index_name, es_index_config=es_index_config 591 ) ~/opt/anaconda3/lib/python3.8/site-packages/datasets/search.py in __init__(self, host, port, es_client, es_index_name, es_index_config) 123 from elasticsearch import Elasticsearch # noqa: F811 124 --> 125 self.es_client = es_client if es_client is not None else Elasticsearch([{"host": host, "port": str(port)}]) 126 self.es_index_name = ( 127 es_index_name ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/__init__.py in __init__(self, hosts, cloud_id, api_key, basic_auth, bearer_auth, opaque_id, headers, connections_per_node, http_compress, verify_certs, ca_certs, client_cert, client_key, ssl_assert_hostname, ssl_assert_fingerprint, ssl_version, ssl_context, ssl_show_warn, transport_class, request_timeout, node_class, node_pool_class, randomize_nodes_in_pool, node_selector_class, dead_node_backoff_factor, max_dead_node_backoff, serializer, serializers, default_mimetype, max_retries, retry_on_status, retry_on_timeout, sniff_on_start, sniff_before_requests, sniff_on_node_failure, sniff_timeout, min_delay_between_sniffing, sniffed_node_callback, meta_header, timeout, randomize_hosts, host_info_callback, sniffer_timeout, sniff_on_connection_fail, http_auth, maxsize, _transport) 310 311 if _transport is None: --> 312 node_configs = client_node_configs( 313 hosts, 314 cloud_id=cloud_id, ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in client_node_configs(hosts, cloud_id, **kwargs) 99 else: 100 assert hosts is not None --> 101 node_configs = hosts_to_node_configs(hosts) 102 103 # Remove all values which are 'DEFAULT' to avoid overwriting actual defaults. ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in hosts_to_node_configs(hosts) 142 143 elif isinstance(host, Mapping): --> 144 node_configs.append(host_mapping_to_node_config(host)) 145 else: 146 raise ValueError( ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in host_mapping_to_node_config(host) 209 options["path_prefix"] = options.pop("url_prefix") 210 --> 211 return NodeConfig(**options) # type: ignore 212 213 TypeError: __init__() missing 1 required positional argument: 'scheme' ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: Mac - Python version: 3.8.0 - PyArrow version: 7.0.0 - ElaticSearch Info: { "name" : "byname", "cluster_name" : "elasticsearch_brew", "cluster_uuid" : "9xkjrltiQIG0J95ciWhqRA", "version" : { "number" : "7.10.2-SNAPSHOT", "build_flavor" : "oss", "build_type" : "tar", "build_hash" : "unknown", "build_date" : "2021-01-16T01:41:27.115673Z", "build_snapshot" : true, "lucene_version" : "8.7.0", "minimum_wire_compatibility_version" : "6.8.0", "minimum_index_compatibility_version" : "6.0.0-beta1" }, "tagline" : "You Know, for Search" } @albertvillanova It doesn't seem a version incompatibility between the client and server, since the following code is working: ``` from elasticsearch import Elasticsearch es_client = Elasticsearch("http://localhost:9200") dataset.add_elasticsearch_index(column="e1", es_client=es_client, es_index_name="e1_index") ```
[ -1.2576981782913208, -0.8072288036346436, -0.5764096975326538, 1.4736487865447998, 0.004407837986946106, -1.3325319290161133, 0.08641734719276428, -0.8813815116882324, 1.577204942703247, -0.8625599145889282, 0.3448003828525543, -1.6538548469543457, 0.0732506513595581, -0.6694484353065491, -0.6252675652503967, -0.6805681586265564, -0.280646950006485, -0.7015061974525452, 1.186315894126892, 2.378892421722412, 1.203363299369812, -1.3638910055160522, 2.876934766769409, 0.6466245055198669, -0.2279382199048996, -0.811314046382904, 0.35859057307243347, -0.05005841329693794, -1.4741947650909424, -0.32061871886253357, -1.056270718574524, 0.018889354541897774, -0.6512167453765869, -0.4369593560695648, 0.09366953372955322, 0.46502578258514404, -0.25117427110671997, -0.4633427560329437, -0.4807637631893158, -0.8033264875411987, 0.5112529993057251, -0.23762506246566772, 0.8471649885177612, -0.3028804659843445, 1.785325527191162, -0.5938990116119385, 0.5093380808830261, 0.5228193402290344, 1.2418123483657837, 0.27969470620155334, -0.01870383694767952, 0.4009333550930023, 0.21133680641651154, 0.04867001622915268, 0.6442546248435974, 1.2380867004394531, 0.6498757600784302, 0.5133215188980103, 0.7508530616760254, -2.1735517978668213, 1.3534032106399536, -0.8826646208763123, 0.157446950674057, 1.4664478302001953, -1.0944629907608032, 0.5021654367446899, -1.8586491346359253, -0.08516320586204529, 0.4510643184185028, -2.2784082889556885, 0.20682208240032196, -1.2890024185180664, -0.5711563229560852, 0.9873194098472595, 0.41546106338500977, -1.201809048652649, -0.011819140985608101, -0.43936988711357117, 0.9475224018096924, 0.3492538630962372, 1.1408758163452148, -1.6756112575531006, 0.059192027896642685, -0.2411164492368698, 0.3372863829135895, -1.185683250427246, -1.6204129457473755, 0.6286637783050537, 0.6924406290054321, 0.5885799527168274, -0.14799931645393372, 0.9703158140182495, -1.1334494352340698, 0.8201001882553101, -1.026416540145874, -1.7738378047943115, -1.3408247232437134, -2.47098445892334, -2.3393821716308594, 0.7734863758087158, -0.4756622016429901, -0.4049420654773712, 2.203855037689209, -1.1391586065292358, -1.6644772291183472, 1.0845911502838135, 0.310917466878891, -0.03427531570196152, 2.464937925338745, 0.2237100601196289, -0.9480352997779846, 0.7346763014793396, -0.8279320001602173, 0.6603686809539795, -0.36244577169418335, 1.2492042779922485, 0.3878471255302429, -0.996985673904419, 1.5592409372329712, -0.3344995081424713, 0.479290634393692, -0.6344566345214844, -0.4082843065261841, -0.5627636909484863, 0.1742834597826004, 1.9987188577651978, -0.13478605449199677, 1.4804362058639526, -0.14384295046329498, -1.4534764289855957, -1.38595712184906, 0.8045244216918945, 0.43166422843933105, -0.8941285014152527, 0.2116323858499527, -0.44937947392463684, 0.19990669190883636, 0.07373778522014618, 1.1466144323349, 1.3972073793411255, 0.7613734006881714, -0.18876643478870392, -0.918705940246582, 0.011142781004309654, -0.05957236886024475, -0.6191026568412781, -1.6780046224594116, -0.26851344108581543, 0.11729271709918976, 0.6141262650489807, -1.2419952154159546, 1.9310963153839111, 0.8854358196258545, 2.0212278366088867, 0.9780790209770203, -0.3330829441547394, 1.5649455785751343, 0.12551337480545044, 1.8520869016647339, -0.41436269879341125, 0.6526353359222412, -0.5544806122779846, -1.1841381788253784, 0.7164215445518494, -0.4183993935585022, -1.8848930597305298, -0.39603039622306824, -0.8199189901351929, -0.1745901256799698, -0.8991385102272034, 1.0603294372558594, -0.16061699390411377, -1.3953953981399536, 0.2021474391222, -0.6981779336929321, 0.14785632491111755, -1.3462393283843994, 0.27900633215904236, 0.7602750062942505, -0.7032198309898376, 0.050116922706365585, -0.46298155188560486, -1.3457090854644775, -0.5954039692878723, 0.45999205112457275, 1.7700060606002808, -0.6189888715744019, 0.9891635179519653, 1.0510629415512085, -0.6324391961097717, -0.037488438189029694, 0.49836406111717224, -0.34805628657341003, 0.8542826771736145, -1.0273247957229614, -0.4828934967517853, 1.1913707256317139, -0.3764112889766693, -0.5268889665603638, 1.3104441165924072, 0.6885562539100647, -1.024302363395691, -0.3319060504436493, -0.042225152254104614, -0.862841784954071, 0.12095384299755096, -1.5783103704452515, -0.07599307596683502, 0.35210365056991577, -1.5205233097076416, -0.4382261335849762, -0.01446889340877533, 1.2600677013397217, -0.060919225215911865, 1.3913695812225342, -0.2005368024110794, -0.06611762940883636, -0.4529862105846405, -0.5385030508041382, 0.11066664755344391, -0.0911150872707367, -0.6148586869239807, 0.2406170666217804, -0.753884494304657, 0.17523826658725739, 1.5034458637237549, 0.23629017174243927, 0.07095500826835632, 0.502960741519928, 1.1666654348373413, 0.32748058438301086, -0.15972986817359924, -0.8970924615859985, -1.7251956462860107, 1.9579132795333862, -1.5519555807113647, 2.002728223800659, 0.8145361542701721, -0.0743672102689743, -1.7634124755859375, -1.8828901052474976, 1.4752672910690308, 1.0761065483093262, 2.490300178527832, 0.4621955156326294, 0.4245360791683197, -0.7816901206970215, -0.6904053688049316, 0.4960896670818329, -0.7359126806259155, -0.8628441691398621, 0.1483488380908966, 2.3594043254852295, 1.7184147834777832, -0.3175768256187439, -0.19551293551921844, -0.9023655652999878, 1.3131587505340576, -0.34408897161483765, 0.25265994668006897, 1.8571584224700928, -0.41819992661476135, -1.0232642889022827, 1.3067190647125244, -2.444049119949341, 0.2791430354118347, 2.1052656173706055, 0.3197441101074219, 0.04114226624369621, -1.1736838817596436, -0.7507808208465576, -0.16669268906116486, -0.4077398478984833, -1.278632402420044, 0.37522611021995544, -0.2414078563451767, -0.7733492851257324, -1.3605642318725586, 0.04182157292962074, -1.1791980266571045, -1.6586551666259766, 0.2600225508213043, 1.8200104236602783, 2.160301446914673, -0.7808058857917786, 1.3097800016403198, -0.3365591764450073, 0.23355643451213837, 1.0934031009674072, 1.3122457265853882, 3.2122843265533447, 1.8443392515182495, -1.2604243755340576, 0.6870942711830139, -0.12154582142829895, -0.4853091835975647, 1.2279913425445557, -1.0336265563964844, 1.201690435409546, -0.2014462947845459, -1.328241229057312, -1.191022515296936, 0.8769748210906982, 0.45559433102607727, -0.14334827661514282, -0.5481489300727844, 1.1369285583496094, 0.16521307826042175, 1.2972944974899292, 0.6339111328125, -0.37901628017425537, 0.5453433990478516, -0.3721069097518921, -0.5455264449119568, 1.5761054754257202, 0.05134591832756996, -1.5319799184799194, -2.287844657897949, -0.14016824960708618, -0.9664561748504639, 0.07352320849895477, -0.9090663194656372, -1.010351300239563, 1.554779291152954, 0.39641454815864563, -0.9484376311302185, -0.1614084541797638, -0.3758501708507538, -0.5289410352706909, 2.6604726314544678, -1.3135048151016235, -0.2281586229801178, -0.9897049069404602, -0.6024956703186035, 1.520324945449829, -1.140077829360962, -0.24922382831573486, -1.0617629289627075, -0.46214547753334045, -1.2974419593811035, -0.40797141194343567, -0.01235964521765709, -0.8155885934829712, 0.7158579230308533, -0.014223496429622173, -1.3727370500564575, -0.3228529095649719, -1.0943248271942139, 0.8977158069610596, -0.27920079231262207, 0.025111835449934006, 1.6980611085891724, 0.20518988370895386, -0.44007769227027893, 0.873844563961029, 1.2450308799743652, 0.6670446395874023, -0.5233621001243591, 0.16781029105186462, -0.5745524168014526, 0.5840692520141602, -1.2161808013916016, 0.3683977723121643, -2.993762254714966, 0.6297990679740906, -0.014158818870782852, -0.04945879429578781, -0.09429392218589783, -1.471510648727417, 0.9920427799224854, 2.409146547317505, -1.1186261177062988, 0.655952513217926, 0.2973964214324951, 1.1907879114151, -1.6884942054748535, 0.04008958488702774, -0.703203558921814, 2.068044424057007, -0.03352087363600731, 1.0293625593185425, -0.5488252639770508, -2.392489194869995, 0.5366116166114807, -1.2461440563201904, -0.9043400883674622, 0.7930947542190552, -0.8875174522399902, 0.27414482831954956, -1.22794508934021, -0.19417987763881683, -0.8687049150466919, -1.0880624055862427, 0.5221344232559204, 0.026828106492757797, 0.5882548689842224, -0.5763663053512573, 0.2935221791267395, -2.312561511993408, -1.3522489070892334, -0.07502616941928864, -0.9229534268379211, 0.5036904811859131, -0.5179582834243774, 0.7199719548225403, -0.16464829444885254, 0.018810752779245377, 0.25878337025642395, 1.5174291133880615, 3.215587854385376, 0.0025932742282748222, 0.31268227100372314, -0.2939121723175049, -1.0224241018295288, 1.6175563335418701, 0.9106044173240662, -0.24698680639266968, -0.6571955680847168, -0.9652020931243896, 1.45853853225708, 1.9008020162582397, 0.9759053587913513, 0.04757625609636307, -0.93788743019104, -0.7784609794616699, 0.09328612685203552, 0.08631958067417145, 0.42985066771507263, 0.9996925592422485, 0.15314996242523193, 0.16117289662361145, 1.3645479679107666, 1.040818691253662, -0.3163003921508789, 0.4822081923484802, -0.8561972975730896, -0.36006900668144226, 0.5942813754081726, 0.3306243121623993, -0.03899170458316803, 0.30109745264053345, -0.9798250198364258, -0.2400199919939041, -0.2764907479286194, -0.7941582202911377, -0.7048530578613281, -0.3642634153366089, -0.3941567838191986, 1.7741578817367554, 0.03252717852592468, -0.5205633640289307, 0.009745554998517036, -0.8076561093330383, -0.09330414235591888, -1.0925225019454956, 0.2863142490386963, -0.09936754405498505, 0.05953677371144295, -0.2409437894821167, 1.675399899482727, -0.954409658908844, -2.20487117767334, 0.0882003903388977, 0.27332672476768494, -0.25968673825263977, -0.11719678342342377, 1.8700523376464844, 0.48243436217308044, 1.4529930353164673, 1.5562747716903687, 1.091658353805542, -0.6069671511650085, -1.3252921104431152, 0.7579898834228516, 0.9115175604820251, -1.3375084400177002, 0.9727765917778015, -0.22793644666671753, -0.6607006788253784, 0.5094518661499023, 1.2801566123962402, 0.45548900961875916, -1.8986265659332275, 0.9252803325653076, -1.1865382194519043, 0.9332611560821533, 0.825367271900177, 0.8338567614555359, 0.13701282441616058, 0.9494165778160095, -1.1896525621414185, -1.054762601852417, -0.5080923438072205, -0.6501471996307373, 1.8695423603057861, -0.31980443000793457, 0.3318856656551361, -0.274421364068985, -1.2443236112594604, 0.10130079090595245, 0.6557726263999939, 0.29200488328933716, -0.27377432584762573, 0.7628269195556641, -0.7644239068031311, -1.1512802839279175, -1.3526090383529663, -0.5194311141967773, -1.0680341720581055, -0.8584799766540527, 1.033483624458313, 0.7211427092552185, 0.49124065041542053, 1.9856188297271729, 0.6701003909111023, 0.20218037068843842, -2.54093599319458, 0.821354329586029, 0.358681321144104, -0.14044295251369476, 0.8474218845367432, 0.3077726662158966, 1.2895610332489014, -0.1192786693572998, 0.5380801558494568, -2.3189594745635986, 2.204768657684326, -0.21352382004261017, 0.7901655435562134, 0.039257943630218506, -0.005632518325001001, 0.941978394985199, 0.5417252779006958, 0.5436633825302124, -1.041405439376831, 0.8185021281242371, -0.6151819229125977, 1.1156232357025146, 0.8843666315078735, -0.8982020020484924, 0.1354859322309494, 1.2178006172180176, 0.34306541085243225, -0.626262366771698, -1.0163178443908691, -0.7936036586761475, 0.9122476577758789, 1.6642131805419922, 0.09915240108966827, 0.11448952555656433, 0.8009278774261475, 0.7581748366355896, -1.214816927909851, -0.017927847802639008, -0.5147958397865295, -0.653186023235321, 1.8094234466552734, 2.053831100463867, -0.000667705200612545, -0.037009771913290024, -0.6609246730804443, -1.462446689605713, 0.8130121231079102, 0.09580202400684357, -0.04103293642401695, 0.7648857235908508, -0.6682485938072205, 1.0884050130844116, 0.7222028970718384, 0.8617985248565674, 0.21964207291603088, 0.01983613707125187, 0.3769875466823578, -0.3398151099681854, -1.2389094829559326, -0.33429789543151855, -1.0289560556411743, -2.598792552947998, 0.4270857870578766, -0.2808430790901184, -1.4207196235656738, 0.13825899362564087, -0.9383878707885742, 0.7603096961975098, -0.46612903475761414, -1.2065718173980713, -1.3079367876052856, 0.24332782626152039, -0.13439391553401947, 0.8020354509353638, -1.64395272731781, -0.22810475528240204, 1.1088865995407104, 0.9449654221534729, -0.6617723107337952, 0.8587184548377991, 0.2573762834072113, 0.9129475951194763, 0.9502392411231995, -0.385066956281662, 0.4801604151725769, 0.23166950047016144, -1.3909811973571777, 0.40865129232406616, 1.3751723766326904, 0.16442374885082245, 1.3816226720809937, -0.3578421175479889, -0.04935219883918762, 0.4249430000782013, -0.3556530475616455, -0.49635836482048035, -0.7084792256355286, 0.6061995029449463, -0.10460366308689117, -0.9116037487983704, -0.2229519635438919, 0.008819876238703728, -0.2309899628162384, 0.20034371316432953, -1.525915265083313, -0.08043041825294495, -0.4410664439201355, -0.5792482495307922, -1.483328938484192, -0.07838290929794312, 1.35288667678833, -0.853393018245697, -0.10190998017787933, 0.6039646863937378, 0.22365520894527435, 0.47097399830818176, 0.6852783560752869, -0.759315550327301, -0.1943635642528534, -0.09171800315380096, -0.4479729235172272, 0.3145489990711212, 1.2999401092529297, -0.09635789692401886, -0.9354215860366821, 0.4397202432155609, -0.17915940284729004, 0.14223967492580414, 1.8682596683502197, -0.005674300249665976, -0.8649542927742004, 0.35622522234916687, -0.7773424386978149, 1.8862918615341187, 1.6018403768539429, 1.313437819480896, -0.1791684627532959, -0.9377517104148865, 0.6760738492012024, -0.4075044095516205, -0.3715440034866333, 0.812352180480957, 0.37556740641593933, -0.3053818643093109, -1.4464470148086548, 0.794497013092041, 1.1276440620422363, -0.7917150259017944, -0.7658486366271973, 0.12581592798233032, -0.8344114422798157, 1.2437396049499512, 0.6154724359512329, 0.34451666474342346, 0.26594415307044983, 1.742562174797058, 0.7119697332382202, -0.6076027750968933, 0.46137529611587524, 0.5372198224067688, -0.18968559801578522, -2.010594367980957, -1.1109678745269775, 0.2462446391582489, -0.4667971432209015, -1.450943112373352, 1.4692487716674805, -1.1665890216827393, -1.0042271614074707, 0.4428679645061493, 0.07628697156906128, 1.2424225807189941, 0.34056368470191956, 1.7166696786880493, 2.001270055770874, 0.8812390565872192, 0.503689706325531, 1.126932144165039, -0.289204478263855, -0.2281801998615265, 1.6786985397338867, -0.44640275835990906, 0.6329084634780884, 0.9942721128463745, -0.4771541953086853, -1.2414709329605103, -0.8111013174057007, -1.2474597692489624, -0.7803864479064941, 1.0184345245361328, 0.11345979571342468, -1.0796051025390625, 0.32228022813796997, 1.6055759191513062, 0.003362515941262245, -0.0649627149105072, 0.7773729562759399, 0.39554333686828613, -0.6798092126846313, -0.07890628278255463, -1.0369282960891724, 0.6474351286888123, -0.35576289892196655, -0.4250253736972809, 0.14294974505901337, 0.6200045347213745, 1.3206055164337158, 0.15619541704654694, 0.16095346212387085, 1.3284916877746582, -1.4040640592575073, 1.2326524257659912, -1.0348877906799316, 0.3833959996700287, -2.305197238922119, 1.4463528394699097, -0.9536036849021912, 1.986215353012085, -2.703399896621704, 0.4930313527584076, -0.4591880440711975, -0.6723495125770569, 0.1753479689359665, -0.18128573894500732, 0.08366112411022186, -0.03327249735593796, -1.0277600288391113, -0.07463280856609344, -0.8014342784881592, 0.49104830622673035, 1.2548967599868774, 1.3880349397659302, -0.9211845993995667, -0.25221413373947144, -1.6599440574645996, -0.13299115002155304, -0.5031676292419434, 0.1515895426273346, -1.8089988231658936, -0.19882890582084656, -2.078073263168335, -2.466806650161743, -1.3421961069107056, -0.9497886300086975, 1.3676618337631226, 0.1754540652036667, -0.9654746055603027, 1.2253221273422241, -0.31052127480506897, -1.7265793085098267, 1.2031952142715454, -2.1161539554595947 ]
https://github.com/huggingface/datasets/issues/3956
TypeError: __init__() missing 1 required positional argument: 'scheme'
Hi @amirj, I really think it is a version incompatibility issue between your Elasticsearch client and server: - Your Elasticsearch server NodeConfig expects a positional argument named 'scheme' - Whereas your Elasticsearch client passes only keyword arguments: `NodeConfig(**options)` Moreover: - Looking at your stack trace, I deduce you are using Elasticsearch client **"8"** major version: - the Elasticsearch file "elasticsearch/_sync/client/utils.py" was created in version "8.0.0a1": https://github.com/elastic/elasticsearch-py/commit/21fa13b0f03b7b27ace9e19a1f763d40bd2e2ba4 - you can check your Elasticsearch client version by running this Python code: ```python import elasticsearch print(elasticsearch.__version__) ``` - However, in the *Environment info*, you informed that the major version of your Eleasticsearch cluster server is **"7"** ("7.10.2-SNAPSHOT") Could you please align the Elasticsearch client/server major versions (as pointed out in Elasticsearch docs) and check if the problem persists?
## Describe the bug Based on [this tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) the provided code should add Elasticsearch index but raised the following error, probably the new Elasticsearch version is not compatible though the tutorial doesn't provide any information about the supporting Elasticsearch version. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from datasets import load_dataset squad = load_dataset('squad', split='validation') squad.add_elasticsearch_index("context", host="localhost", port="9200") ``` ## Expected results [Creating an elastic index based on the provided tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) ## Actual results ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-6-8fb51aa33961> in <module> 1 from datasets import load_dataset 2 squad = load_dataset('squad', split='validation') ----> 3 squad.add_elasticsearch_index("context", host="localhost", port="9200") ~/opt/anaconda3/lib/python3.8/site-packages/datasets/arrow_dataset.py in add_elasticsearch_index(self, column, index_name, host, port, es_client, es_index_name, es_index_config) 3777 """ 3778 with self.formatted_as(type=None, columns=[column]): -> 3779 super().add_elasticsearch_index( 3780 column=column, 3781 index_name=index_name, ~/opt/anaconda3/lib/python3.8/site-packages/datasets/search.py in add_elasticsearch_index(self, column, index_name, host, port, es_client, es_index_name, es_index_config) 587 """ 588 index_name = index_name if index_name is not None else column --> 589 es_index = ElasticSearchIndex( 590 host=host, port=port, es_client=es_client, es_index_name=es_index_name, es_index_config=es_index_config 591 ) ~/opt/anaconda3/lib/python3.8/site-packages/datasets/search.py in __init__(self, host, port, es_client, es_index_name, es_index_config) 123 from elasticsearch import Elasticsearch # noqa: F811 124 --> 125 self.es_client = es_client if es_client is not None else Elasticsearch([{"host": host, "port": str(port)}]) 126 self.es_index_name = ( 127 es_index_name ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/__init__.py in __init__(self, hosts, cloud_id, api_key, basic_auth, bearer_auth, opaque_id, headers, connections_per_node, http_compress, verify_certs, ca_certs, client_cert, client_key, ssl_assert_hostname, ssl_assert_fingerprint, ssl_version, ssl_context, ssl_show_warn, transport_class, request_timeout, node_class, node_pool_class, randomize_nodes_in_pool, node_selector_class, dead_node_backoff_factor, max_dead_node_backoff, serializer, serializers, default_mimetype, max_retries, retry_on_status, retry_on_timeout, sniff_on_start, sniff_before_requests, sniff_on_node_failure, sniff_timeout, min_delay_between_sniffing, sniffed_node_callback, meta_header, timeout, randomize_hosts, host_info_callback, sniffer_timeout, sniff_on_connection_fail, http_auth, maxsize, _transport) 310 311 if _transport is None: --> 312 node_configs = client_node_configs( 313 hosts, 314 cloud_id=cloud_id, ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in client_node_configs(hosts, cloud_id, **kwargs) 99 else: 100 assert hosts is not None --> 101 node_configs = hosts_to_node_configs(hosts) 102 103 # Remove all values which are 'DEFAULT' to avoid overwriting actual defaults. ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in hosts_to_node_configs(hosts) 142 143 elif isinstance(host, Mapping): --> 144 node_configs.append(host_mapping_to_node_config(host)) 145 else: 146 raise ValueError( ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in host_mapping_to_node_config(host) 209 options["path_prefix"] = options.pop("url_prefix") 210 --> 211 return NodeConfig(**options) # type: ignore 212 213 TypeError: __init__() missing 1 required positional argument: 'scheme' ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: Mac - Python version: 3.8.0 - PyArrow version: 7.0.0 - ElaticSearch Info: { "name" : "byname", "cluster_name" : "elasticsearch_brew", "cluster_uuid" : "9xkjrltiQIG0J95ciWhqRA", "version" : { "number" : "7.10.2-SNAPSHOT", "build_flavor" : "oss", "build_type" : "tar", "build_hash" : "unknown", "build_date" : "2021-01-16T01:41:27.115673Z", "build_snapshot" : true, "lucene_version" : "8.7.0", "minimum_wire_compatibility_version" : "6.8.0", "minimum_index_compatibility_version" : "6.0.0-beta1" }, "tagline" : "You Know, for Search" }
877
125
TypeError: __init__() missing 1 required positional argument: 'scheme' ## Describe the bug Based on [this tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) the provided code should add Elasticsearch index but raised the following error, probably the new Elasticsearch version is not compatible though the tutorial doesn't provide any information about the supporting Elasticsearch version. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from datasets import load_dataset squad = load_dataset('squad', split='validation') squad.add_elasticsearch_index("context", host="localhost", port="9200") ``` ## Expected results [Creating an elastic index based on the provided tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) ## Actual results ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-6-8fb51aa33961> in <module> 1 from datasets import load_dataset 2 squad = load_dataset('squad', split='validation') ----> 3 squad.add_elasticsearch_index("context", host="localhost", port="9200") ~/opt/anaconda3/lib/python3.8/site-packages/datasets/arrow_dataset.py in add_elasticsearch_index(self, column, index_name, host, port, es_client, es_index_name, es_index_config) 3777 """ 3778 with self.formatted_as(type=None, columns=[column]): -> 3779 super().add_elasticsearch_index( 3780 column=column, 3781 index_name=index_name, ~/opt/anaconda3/lib/python3.8/site-packages/datasets/search.py in add_elasticsearch_index(self, column, index_name, host, port, es_client, es_index_name, es_index_config) 587 """ 588 index_name = index_name if index_name is not None else column --> 589 es_index = ElasticSearchIndex( 590 host=host, port=port, es_client=es_client, es_index_name=es_index_name, es_index_config=es_index_config 591 ) ~/opt/anaconda3/lib/python3.8/site-packages/datasets/search.py in __init__(self, host, port, es_client, es_index_name, es_index_config) 123 from elasticsearch import Elasticsearch # noqa: F811 124 --> 125 self.es_client = es_client if es_client is not None else Elasticsearch([{"host": host, "port": str(port)}]) 126 self.es_index_name = ( 127 es_index_name ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/__init__.py in __init__(self, hosts, cloud_id, api_key, basic_auth, bearer_auth, opaque_id, headers, connections_per_node, http_compress, verify_certs, ca_certs, client_cert, client_key, ssl_assert_hostname, ssl_assert_fingerprint, ssl_version, ssl_context, ssl_show_warn, transport_class, request_timeout, node_class, node_pool_class, randomize_nodes_in_pool, node_selector_class, dead_node_backoff_factor, max_dead_node_backoff, serializer, serializers, default_mimetype, max_retries, retry_on_status, retry_on_timeout, sniff_on_start, sniff_before_requests, sniff_on_node_failure, sniff_timeout, min_delay_between_sniffing, sniffed_node_callback, meta_header, timeout, randomize_hosts, host_info_callback, sniffer_timeout, sniff_on_connection_fail, http_auth, maxsize, _transport) 310 311 if _transport is None: --> 312 node_configs = client_node_configs( 313 hosts, 314 cloud_id=cloud_id, ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in client_node_configs(hosts, cloud_id, **kwargs) 99 else: 100 assert hosts is not None --> 101 node_configs = hosts_to_node_configs(hosts) 102 103 # Remove all values which are 'DEFAULT' to avoid overwriting actual defaults. ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in hosts_to_node_configs(hosts) 142 143 elif isinstance(host, Mapping): --> 144 node_configs.append(host_mapping_to_node_config(host)) 145 else: 146 raise ValueError( ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in host_mapping_to_node_config(host) 209 options["path_prefix"] = options.pop("url_prefix") 210 --> 211 return NodeConfig(**options) # type: ignore 212 213 TypeError: __init__() missing 1 required positional argument: 'scheme' ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: Mac - Python version: 3.8.0 - PyArrow version: 7.0.0 - ElaticSearch Info: { "name" : "byname", "cluster_name" : "elasticsearch_brew", "cluster_uuid" : "9xkjrltiQIG0J95ciWhqRA", "version" : { "number" : "7.10.2-SNAPSHOT", "build_flavor" : "oss", "build_type" : "tar", "build_hash" : "unknown", "build_date" : "2021-01-16T01:41:27.115673Z", "build_snapshot" : true, "lucene_version" : "8.7.0", "minimum_wire_compatibility_version" : "6.8.0", "minimum_index_compatibility_version" : "6.0.0-beta1" }, "tagline" : "You Know, for Search" } Hi @amirj, I really think it is a version incompatibility issue between your Elasticsearch client and server: - Your Elasticsearch server NodeConfig expects a positional argument named 'scheme' - Whereas your Elasticsearch client passes only keyword arguments: `NodeConfig(**options)` Moreover: - Looking at your stack trace, I deduce you are using Elasticsearch client **"8"** major version: - the Elasticsearch file "elasticsearch/_sync/client/utils.py" was created in version "8.0.0a1": https://github.com/elastic/elasticsearch-py/commit/21fa13b0f03b7b27ace9e19a1f763d40bd2e2ba4 - you can check your Elasticsearch client version by running this Python code: ```python import elasticsearch print(elasticsearch.__version__) ``` - However, in the *Environment info*, you informed that the major version of your Eleasticsearch cluster server is **"7"** ("7.10.2-SNAPSHOT") Could you please align the Elasticsearch client/server major versions (as pointed out in Elasticsearch docs) and check if the problem persists?
[ -1.2576981782913208, -0.8072288036346436, -0.5764096975326538, 1.4736487865447998, 0.004407837986946106, -1.3325319290161133, 0.08641734719276428, -0.8813815116882324, 1.577204942703247, -0.8625599145889282, 0.3448003828525543, -1.6538548469543457, 0.0732506513595581, -0.6694484353065491, -0.6252675652503967, -0.6805681586265564, -0.280646950006485, -0.7015061974525452, 1.186315894126892, 2.378892421722412, 1.203363299369812, -1.3638910055160522, 2.876934766769409, 0.6466245055198669, -0.2279382199048996, -0.811314046382904, 0.35859057307243347, -0.05005841329693794, -1.4741947650909424, -0.32061871886253357, -1.056270718574524, 0.018889354541897774, -0.6512167453765869, -0.4369593560695648, 0.09366953372955322, 0.46502578258514404, -0.25117427110671997, -0.4633427560329437, -0.4807637631893158, -0.8033264875411987, 0.5112529993057251, -0.23762506246566772, 0.8471649885177612, -0.3028804659843445, 1.785325527191162, -0.5938990116119385, 0.5093380808830261, 0.5228193402290344, 1.2418123483657837, 0.27969470620155334, -0.01870383694767952, 0.4009333550930023, 0.21133680641651154, 0.04867001622915268, 0.6442546248435974, 1.2380867004394531, 0.6498757600784302, 0.5133215188980103, 0.7508530616760254, -2.1735517978668213, 1.3534032106399536, -0.8826646208763123, 0.157446950674057, 1.4664478302001953, -1.0944629907608032, 0.5021654367446899, -1.8586491346359253, -0.08516320586204529, 0.4510643184185028, -2.2784082889556885, 0.20682208240032196, -1.2890024185180664, -0.5711563229560852, 0.9873194098472595, 0.41546106338500977, -1.201809048652649, -0.011819140985608101, -0.43936988711357117, 0.9475224018096924, 0.3492538630962372, 1.1408758163452148, -1.6756112575531006, 0.059192027896642685, -0.2411164492368698, 0.3372863829135895, -1.185683250427246, -1.6204129457473755, 0.6286637783050537, 0.6924406290054321, 0.5885799527168274, -0.14799931645393372, 0.9703158140182495, -1.1334494352340698, 0.8201001882553101, -1.026416540145874, -1.7738378047943115, -1.3408247232437134, -2.47098445892334, -2.3393821716308594, 0.7734863758087158, -0.4756622016429901, -0.4049420654773712, 2.203855037689209, -1.1391586065292358, -1.6644772291183472, 1.0845911502838135, 0.310917466878891, -0.03427531570196152, 2.464937925338745, 0.2237100601196289, -0.9480352997779846, 0.7346763014793396, -0.8279320001602173, 0.6603686809539795, -0.36244577169418335, 1.2492042779922485, 0.3878471255302429, -0.996985673904419, 1.5592409372329712, -0.3344995081424713, 0.479290634393692, -0.6344566345214844, -0.4082843065261841, -0.5627636909484863, 0.1742834597826004, 1.9987188577651978, -0.13478605449199677, 1.4804362058639526, -0.14384295046329498, -1.4534764289855957, -1.38595712184906, 0.8045244216918945, 0.43166422843933105, -0.8941285014152527, 0.2116323858499527, -0.44937947392463684, 0.19990669190883636, 0.07373778522014618, 1.1466144323349, 1.3972073793411255, 0.7613734006881714, -0.18876643478870392, -0.918705940246582, 0.011142781004309654, -0.05957236886024475, -0.6191026568412781, -1.6780046224594116, -0.26851344108581543, 0.11729271709918976, 0.6141262650489807, -1.2419952154159546, 1.9310963153839111, 0.8854358196258545, 2.0212278366088867, 0.9780790209770203, -0.3330829441547394, 1.5649455785751343, 0.12551337480545044, 1.8520869016647339, -0.41436269879341125, 0.6526353359222412, -0.5544806122779846, -1.1841381788253784, 0.7164215445518494, -0.4183993935585022, -1.8848930597305298, -0.39603039622306824, -0.8199189901351929, -0.1745901256799698, -0.8991385102272034, 1.0603294372558594, -0.16061699390411377, -1.3953953981399536, 0.2021474391222, -0.6981779336929321, 0.14785632491111755, -1.3462393283843994, 0.27900633215904236, 0.7602750062942505, -0.7032198309898376, 0.050116922706365585, -0.46298155188560486, -1.3457090854644775, -0.5954039692878723, 0.45999205112457275, 1.7700060606002808, -0.6189888715744019, 0.9891635179519653, 1.0510629415512085, -0.6324391961097717, -0.037488438189029694, 0.49836406111717224, -0.34805628657341003, 0.8542826771736145, -1.0273247957229614, -0.4828934967517853, 1.1913707256317139, -0.3764112889766693, -0.5268889665603638, 1.3104441165924072, 0.6885562539100647, -1.024302363395691, -0.3319060504436493, -0.042225152254104614, -0.862841784954071, 0.12095384299755096, -1.5783103704452515, -0.07599307596683502, 0.35210365056991577, -1.5205233097076416, -0.4382261335849762, -0.01446889340877533, 1.2600677013397217, -0.060919225215911865, 1.3913695812225342, -0.2005368024110794, -0.06611762940883636, -0.4529862105846405, -0.5385030508041382, 0.11066664755344391, -0.0911150872707367, -0.6148586869239807, 0.2406170666217804, -0.753884494304657, 0.17523826658725739, 1.5034458637237549, 0.23629017174243927, 0.07095500826835632, 0.502960741519928, 1.1666654348373413, 0.32748058438301086, -0.15972986817359924, -0.8970924615859985, -1.7251956462860107, 1.9579132795333862, -1.5519555807113647, 2.002728223800659, 0.8145361542701721, -0.0743672102689743, -1.7634124755859375, -1.8828901052474976, 1.4752672910690308, 1.0761065483093262, 2.490300178527832, 0.4621955156326294, 0.4245360791683197, -0.7816901206970215, -0.6904053688049316, 0.4960896670818329, -0.7359126806259155, -0.8628441691398621, 0.1483488380908966, 2.3594043254852295, 1.7184147834777832, -0.3175768256187439, -0.19551293551921844, -0.9023655652999878, 1.3131587505340576, -0.34408897161483765, 0.25265994668006897, 1.8571584224700928, -0.41819992661476135, -1.0232642889022827, 1.3067190647125244, -2.444049119949341, 0.2791430354118347, 2.1052656173706055, 0.3197441101074219, 0.04114226624369621, -1.1736838817596436, -0.7507808208465576, -0.16669268906116486, -0.4077398478984833, -1.278632402420044, 0.37522611021995544, -0.2414078563451767, -0.7733492851257324, -1.3605642318725586, 0.04182157292962074, -1.1791980266571045, -1.6586551666259766, 0.2600225508213043, 1.8200104236602783, 2.160301446914673, -0.7808058857917786, 1.3097800016403198, -0.3365591764450073, 0.23355643451213837, 1.0934031009674072, 1.3122457265853882, 3.2122843265533447, 1.8443392515182495, -1.2604243755340576, 0.6870942711830139, -0.12154582142829895, -0.4853091835975647, 1.2279913425445557, -1.0336265563964844, 1.201690435409546, -0.2014462947845459, -1.328241229057312, -1.191022515296936, 0.8769748210906982, 0.45559433102607727, -0.14334827661514282, -0.5481489300727844, 1.1369285583496094, 0.16521307826042175, 1.2972944974899292, 0.6339111328125, -0.37901628017425537, 0.5453433990478516, -0.3721069097518921, -0.5455264449119568, 1.5761054754257202, 0.05134591832756996, -1.5319799184799194, -2.287844657897949, -0.14016824960708618, -0.9664561748504639, 0.07352320849895477, -0.9090663194656372, -1.010351300239563, 1.554779291152954, 0.39641454815864563, -0.9484376311302185, -0.1614084541797638, -0.3758501708507538, -0.5289410352706909, 2.6604726314544678, -1.3135048151016235, -0.2281586229801178, -0.9897049069404602, -0.6024956703186035, 1.520324945449829, -1.140077829360962, -0.24922382831573486, -1.0617629289627075, -0.46214547753334045, -1.2974419593811035, -0.40797141194343567, -0.01235964521765709, -0.8155885934829712, 0.7158579230308533, -0.014223496429622173, -1.3727370500564575, -0.3228529095649719, -1.0943248271942139, 0.8977158069610596, -0.27920079231262207, 0.025111835449934006, 1.6980611085891724, 0.20518988370895386, -0.44007769227027893, 0.873844563961029, 1.2450308799743652, 0.6670446395874023, -0.5233621001243591, 0.16781029105186462, -0.5745524168014526, 0.5840692520141602, -1.2161808013916016, 0.3683977723121643, -2.993762254714966, 0.6297990679740906, -0.014158818870782852, -0.04945879429578781, -0.09429392218589783, -1.471510648727417, 0.9920427799224854, 2.409146547317505, -1.1186261177062988, 0.655952513217926, 0.2973964214324951, 1.1907879114151, -1.6884942054748535, 0.04008958488702774, -0.703203558921814, 2.068044424057007, -0.03352087363600731, 1.0293625593185425, -0.5488252639770508, -2.392489194869995, 0.5366116166114807, -1.2461440563201904, -0.9043400883674622, 0.7930947542190552, -0.8875174522399902, 0.27414482831954956, -1.22794508934021, -0.19417987763881683, -0.8687049150466919, -1.0880624055862427, 0.5221344232559204, 0.026828106492757797, 0.5882548689842224, -0.5763663053512573, 0.2935221791267395, -2.312561511993408, -1.3522489070892334, -0.07502616941928864, -0.9229534268379211, 0.5036904811859131, -0.5179582834243774, 0.7199719548225403, -0.16464829444885254, 0.018810752779245377, 0.25878337025642395, 1.5174291133880615, 3.215587854385376, 0.0025932742282748222, 0.31268227100372314, -0.2939121723175049, -1.0224241018295288, 1.6175563335418701, 0.9106044173240662, -0.24698680639266968, -0.6571955680847168, -0.9652020931243896, 1.45853853225708, 1.9008020162582397, 0.9759053587913513, 0.04757625609636307, -0.93788743019104, -0.7784609794616699, 0.09328612685203552, 0.08631958067417145, 0.42985066771507263, 0.9996925592422485, 0.15314996242523193, 0.16117289662361145, 1.3645479679107666, 1.040818691253662, -0.3163003921508789, 0.4822081923484802, -0.8561972975730896, -0.36006900668144226, 0.5942813754081726, 0.3306243121623993, -0.03899170458316803, 0.30109745264053345, -0.9798250198364258, -0.2400199919939041, -0.2764907479286194, -0.7941582202911377, -0.7048530578613281, -0.3642634153366089, -0.3941567838191986, 1.7741578817367554, 0.03252717852592468, -0.5205633640289307, 0.009745554998517036, -0.8076561093330383, -0.09330414235591888, -1.0925225019454956, 0.2863142490386963, -0.09936754405498505, 0.05953677371144295, -0.2409437894821167, 1.675399899482727, -0.954409658908844, -2.20487117767334, 0.0882003903388977, 0.27332672476768494, -0.25968673825263977, -0.11719678342342377, 1.8700523376464844, 0.48243436217308044, 1.4529930353164673, 1.5562747716903687, 1.091658353805542, -0.6069671511650085, -1.3252921104431152, 0.7579898834228516, 0.9115175604820251, -1.3375084400177002, 0.9727765917778015, -0.22793644666671753, -0.6607006788253784, 0.5094518661499023, 1.2801566123962402, 0.45548900961875916, -1.8986265659332275, 0.9252803325653076, -1.1865382194519043, 0.9332611560821533, 0.825367271900177, 0.8338567614555359, 0.13701282441616058, 0.9494165778160095, -1.1896525621414185, -1.054762601852417, -0.5080923438072205, -0.6501471996307373, 1.8695423603057861, -0.31980443000793457, 0.3318856656551361, -0.274421364068985, -1.2443236112594604, 0.10130079090595245, 0.6557726263999939, 0.29200488328933716, -0.27377432584762573, 0.7628269195556641, -0.7644239068031311, -1.1512802839279175, -1.3526090383529663, -0.5194311141967773, -1.0680341720581055, -0.8584799766540527, 1.033483624458313, 0.7211427092552185, 0.49124065041542053, 1.9856188297271729, 0.6701003909111023, 0.20218037068843842, -2.54093599319458, 0.821354329586029, 0.358681321144104, -0.14044295251369476, 0.8474218845367432, 0.3077726662158966, 1.2895610332489014, -0.1192786693572998, 0.5380801558494568, -2.3189594745635986, 2.204768657684326, -0.21352382004261017, 0.7901655435562134, 0.039257943630218506, -0.005632518325001001, 0.941978394985199, 0.5417252779006958, 0.5436633825302124, -1.041405439376831, 0.8185021281242371, -0.6151819229125977, 1.1156232357025146, 0.8843666315078735, -0.8982020020484924, 0.1354859322309494, 1.2178006172180176, 0.34306541085243225, -0.626262366771698, -1.0163178443908691, -0.7936036586761475, 0.9122476577758789, 1.6642131805419922, 0.09915240108966827, 0.11448952555656433, 0.8009278774261475, 0.7581748366355896, -1.214816927909851, -0.017927847802639008, -0.5147958397865295, -0.653186023235321, 1.8094234466552734, 2.053831100463867, -0.000667705200612545, -0.037009771913290024, -0.6609246730804443, -1.462446689605713, 0.8130121231079102, 0.09580202400684357, -0.04103293642401695, 0.7648857235908508, -0.6682485938072205, 1.0884050130844116, 0.7222028970718384, 0.8617985248565674, 0.21964207291603088, 0.01983613707125187, 0.3769875466823578, -0.3398151099681854, -1.2389094829559326, -0.33429789543151855, -1.0289560556411743, -2.598792552947998, 0.4270857870578766, -0.2808430790901184, -1.4207196235656738, 0.13825899362564087, -0.9383878707885742, 0.7603096961975098, -0.46612903475761414, -1.2065718173980713, -1.3079367876052856, 0.24332782626152039, -0.13439391553401947, 0.8020354509353638, -1.64395272731781, -0.22810475528240204, 1.1088865995407104, 0.9449654221534729, -0.6617723107337952, 0.8587184548377991, 0.2573762834072113, 0.9129475951194763, 0.9502392411231995, -0.385066956281662, 0.4801604151725769, 0.23166950047016144, -1.3909811973571777, 0.40865129232406616, 1.3751723766326904, 0.16442374885082245, 1.3816226720809937, -0.3578421175479889, -0.04935219883918762, 0.4249430000782013, -0.3556530475616455, -0.49635836482048035, -0.7084792256355286, 0.6061995029449463, -0.10460366308689117, -0.9116037487983704, -0.2229519635438919, 0.008819876238703728, -0.2309899628162384, 0.20034371316432953, -1.525915265083313, -0.08043041825294495, -0.4410664439201355, -0.5792482495307922, -1.483328938484192, -0.07838290929794312, 1.35288667678833, -0.853393018245697, -0.10190998017787933, 0.6039646863937378, 0.22365520894527435, 0.47097399830818176, 0.6852783560752869, -0.759315550327301, -0.1943635642528534, -0.09171800315380096, -0.4479729235172272, 0.3145489990711212, 1.2999401092529297, -0.09635789692401886, -0.9354215860366821, 0.4397202432155609, -0.17915940284729004, 0.14223967492580414, 1.8682596683502197, -0.005674300249665976, -0.8649542927742004, 0.35622522234916687, -0.7773424386978149, 1.8862918615341187, 1.6018403768539429, 1.313437819480896, -0.1791684627532959, -0.9377517104148865, 0.6760738492012024, -0.4075044095516205, -0.3715440034866333, 0.812352180480957, 0.37556740641593933, -0.3053818643093109, -1.4464470148086548, 0.794497013092041, 1.1276440620422363, -0.7917150259017944, -0.7658486366271973, 0.12581592798233032, -0.8344114422798157, 1.2437396049499512, 0.6154724359512329, 0.34451666474342346, 0.26594415307044983, 1.742562174797058, 0.7119697332382202, -0.6076027750968933, 0.46137529611587524, 0.5372198224067688, -0.18968559801578522, -2.010594367980957, -1.1109678745269775, 0.2462446391582489, -0.4667971432209015, -1.450943112373352, 1.4692487716674805, -1.1665890216827393, -1.0042271614074707, 0.4428679645061493, 0.07628697156906128, 1.2424225807189941, 0.34056368470191956, 1.7166696786880493, 2.001270055770874, 0.8812390565872192, 0.503689706325531, 1.126932144165039, -0.289204478263855, -0.2281801998615265, 1.6786985397338867, -0.44640275835990906, 0.6329084634780884, 0.9942721128463745, -0.4771541953086853, -1.2414709329605103, -0.8111013174057007, -1.2474597692489624, -0.7803864479064941, 1.0184345245361328, 0.11345979571342468, -1.0796051025390625, 0.32228022813796997, 1.6055759191513062, 0.003362515941262245, -0.0649627149105072, 0.7773729562759399, 0.39554333686828613, -0.6798092126846313, -0.07890628278255463, -1.0369282960891724, 0.6474351286888123, -0.35576289892196655, -0.4250253736972809, 0.14294974505901337, 0.6200045347213745, 1.3206055164337158, 0.15619541704654694, 0.16095346212387085, 1.3284916877746582, -1.4040640592575073, 1.2326524257659912, -1.0348877906799316, 0.3833959996700287, -2.305197238922119, 1.4463528394699097, -0.9536036849021912, 1.986215353012085, -2.703399896621704, 0.4930313527584076, -0.4591880440711975, -0.6723495125770569, 0.1753479689359665, -0.18128573894500732, 0.08366112411022186, -0.03327249735593796, -1.0277600288391113, -0.07463280856609344, -0.8014342784881592, 0.49104830622673035, 1.2548967599868774, 1.3880349397659302, -0.9211845993995667, -0.25221413373947144, -1.6599440574645996, -0.13299115002155304, -0.5031676292419434, 0.1515895426273346, -1.8089988231658936, -0.19882890582084656, -2.078073263168335, -2.466806650161743, -1.3421961069107056, -0.9497886300086975, 1.3676618337631226, 0.1754540652036667, -0.9654746055603027, 1.2253221273422241, -0.31052127480506897, -1.7265793085098267, 1.2031952142715454, -2.1161539554595947 ]
https://github.com/huggingface/datasets/issues/3956
TypeError: __init__() missing 1 required positional argument: 'scheme'
``` from elasticsearch import Elasticsearch es = Elasticsearch([{'host': 'localhost', 'port': 9200}]) ``` ``` TypeError Traceback (most recent call last) <ipython-input-8-675c6ffe5293> in <module> 1 #es = Elasticsearch([{'host':'localhost', 'port':9200}]) 2 from elasticsearch import Elasticsearch ----> 3 es = Elasticsearch([{'host': 'localhost', 'port': 9200}]) C:\ProgramData\Anaconda3\lib\site-packages\elasticsearch\_sync\client\__init__.py in __init__(self, hosts, cloud_id, api_key, basic_auth, bearer_auth, opaque_id, headers, connections_per_node, http_compress, verify_certs, ca_certs, client_cert, client_key, ssl_assert_hostname, ssl_assert_fingerprint, ssl_version, ssl_context, ssl_show_warn, transport_class, request_timeout, node_class, node_pool_class, randomize_nodes_in_pool, node_selector_class, dead_node_backoff_factor, max_dead_node_backoff, serializer, serializers, default_mimetype, max_retries, retry_on_status, retry_on_timeout, sniff_on_start, sniff_before_requests, sniff_on_node_failure, sniff_timeout, min_delay_between_sniffing, sniffed_node_callback, meta_header, timeout, randomize_hosts, host_info_callback, sniffer_timeout, sniff_on_connection_fail, http_auth, maxsize, _transport) 310 311 if _transport is None: --> 312 node_configs = client_node_configs( 313 hosts, 314 cloud_id=cloud_id, C:\ProgramData\Anaconda3\lib\site-packages\elasticsearch\_sync\client\utils.py in client_node_configs(hosts, cloud_id, **kwargs) 99 else: 100 assert hosts is not None --> 101 node_configs = hosts_to_node_configs(hosts) 102 103 # Remove all values which are 'DEFAULT' to avoid overwriting actual defaults. C:\ProgramData\Anaconda3\lib\site-packages\elasticsearch\_sync\client\utils.py in hosts_to_node_configs(hosts) 142 143 elif isinstance(host, Mapping): --> 144 node_configs.append(host_mapping_to_node_config(host)) 145 else: 146 raise ValueError( C:\ProgramData\Anaconda3\lib\site-packages\elasticsearch\_sync\client\utils.py in host_mapping_to_node_config(host) 209 options["path_prefix"] = options.pop("url_prefix") 210 --> 211 return NodeConfig(**options) # type: ignore 212 213 TypeError: __init__() missing 1 required positional argument: 'scheme' ```
## Describe the bug Based on [this tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) the provided code should add Elasticsearch index but raised the following error, probably the new Elasticsearch version is not compatible though the tutorial doesn't provide any information about the supporting Elasticsearch version. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from datasets import load_dataset squad = load_dataset('squad', split='validation') squad.add_elasticsearch_index("context", host="localhost", port="9200") ``` ## Expected results [Creating an elastic index based on the provided tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) ## Actual results ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-6-8fb51aa33961> in <module> 1 from datasets import load_dataset 2 squad = load_dataset('squad', split='validation') ----> 3 squad.add_elasticsearch_index("context", host="localhost", port="9200") ~/opt/anaconda3/lib/python3.8/site-packages/datasets/arrow_dataset.py in add_elasticsearch_index(self, column, index_name, host, port, es_client, es_index_name, es_index_config) 3777 """ 3778 with self.formatted_as(type=None, columns=[column]): -> 3779 super().add_elasticsearch_index( 3780 column=column, 3781 index_name=index_name, ~/opt/anaconda3/lib/python3.8/site-packages/datasets/search.py in add_elasticsearch_index(self, column, index_name, host, port, es_client, es_index_name, es_index_config) 587 """ 588 index_name = index_name if index_name is not None else column --> 589 es_index = ElasticSearchIndex( 590 host=host, port=port, es_client=es_client, es_index_name=es_index_name, es_index_config=es_index_config 591 ) ~/opt/anaconda3/lib/python3.8/site-packages/datasets/search.py in __init__(self, host, port, es_client, es_index_name, es_index_config) 123 from elasticsearch import Elasticsearch # noqa: F811 124 --> 125 self.es_client = es_client if es_client is not None else Elasticsearch([{"host": host, "port": str(port)}]) 126 self.es_index_name = ( 127 es_index_name ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/__init__.py in __init__(self, hosts, cloud_id, api_key, basic_auth, bearer_auth, opaque_id, headers, connections_per_node, http_compress, verify_certs, ca_certs, client_cert, client_key, ssl_assert_hostname, ssl_assert_fingerprint, ssl_version, ssl_context, ssl_show_warn, transport_class, request_timeout, node_class, node_pool_class, randomize_nodes_in_pool, node_selector_class, dead_node_backoff_factor, max_dead_node_backoff, serializer, serializers, default_mimetype, max_retries, retry_on_status, retry_on_timeout, sniff_on_start, sniff_before_requests, sniff_on_node_failure, sniff_timeout, min_delay_between_sniffing, sniffed_node_callback, meta_header, timeout, randomize_hosts, host_info_callback, sniffer_timeout, sniff_on_connection_fail, http_auth, maxsize, _transport) 310 311 if _transport is None: --> 312 node_configs = client_node_configs( 313 hosts, 314 cloud_id=cloud_id, ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in client_node_configs(hosts, cloud_id, **kwargs) 99 else: 100 assert hosts is not None --> 101 node_configs = hosts_to_node_configs(hosts) 102 103 # Remove all values which are 'DEFAULT' to avoid overwriting actual defaults. ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in hosts_to_node_configs(hosts) 142 143 elif isinstance(host, Mapping): --> 144 node_configs.append(host_mapping_to_node_config(host)) 145 else: 146 raise ValueError( ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in host_mapping_to_node_config(host) 209 options["path_prefix"] = options.pop("url_prefix") 210 --> 211 return NodeConfig(**options) # type: ignore 212 213 TypeError: __init__() missing 1 required positional argument: 'scheme' ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: Mac - Python version: 3.8.0 - PyArrow version: 7.0.0 - ElaticSearch Info: { "name" : "byname", "cluster_name" : "elasticsearch_brew", "cluster_uuid" : "9xkjrltiQIG0J95ciWhqRA", "version" : { "number" : "7.10.2-SNAPSHOT", "build_flavor" : "oss", "build_type" : "tar", "build_hash" : "unknown", "build_date" : "2021-01-16T01:41:27.115673Z", "build_snapshot" : true, "lucene_version" : "8.7.0", "minimum_wire_compatibility_version" : "6.8.0", "minimum_index_compatibility_version" : "6.0.0-beta1" }, "tagline" : "You Know, for Search" }
877
179
TypeError: __init__() missing 1 required positional argument: 'scheme' ## Describe the bug Based on [this tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) the provided code should add Elasticsearch index but raised the following error, probably the new Elasticsearch version is not compatible though the tutorial doesn't provide any information about the supporting Elasticsearch version. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from datasets import load_dataset squad = load_dataset('squad', split='validation') squad.add_elasticsearch_index("context", host="localhost", port="9200") ``` ## Expected results [Creating an elastic index based on the provided tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) ## Actual results ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-6-8fb51aa33961> in <module> 1 from datasets import load_dataset 2 squad = load_dataset('squad', split='validation') ----> 3 squad.add_elasticsearch_index("context", host="localhost", port="9200") ~/opt/anaconda3/lib/python3.8/site-packages/datasets/arrow_dataset.py in add_elasticsearch_index(self, column, index_name, host, port, es_client, es_index_name, es_index_config) 3777 """ 3778 with self.formatted_as(type=None, columns=[column]): -> 3779 super().add_elasticsearch_index( 3780 column=column, 3781 index_name=index_name, ~/opt/anaconda3/lib/python3.8/site-packages/datasets/search.py in add_elasticsearch_index(self, column, index_name, host, port, es_client, es_index_name, es_index_config) 587 """ 588 index_name = index_name if index_name is not None else column --> 589 es_index = ElasticSearchIndex( 590 host=host, port=port, es_client=es_client, es_index_name=es_index_name, es_index_config=es_index_config 591 ) ~/opt/anaconda3/lib/python3.8/site-packages/datasets/search.py in __init__(self, host, port, es_client, es_index_name, es_index_config) 123 from elasticsearch import Elasticsearch # noqa: F811 124 --> 125 self.es_client = es_client if es_client is not None else Elasticsearch([{"host": host, "port": str(port)}]) 126 self.es_index_name = ( 127 es_index_name ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/__init__.py in __init__(self, hosts, cloud_id, api_key, basic_auth, bearer_auth, opaque_id, headers, connections_per_node, http_compress, verify_certs, ca_certs, client_cert, client_key, ssl_assert_hostname, ssl_assert_fingerprint, ssl_version, ssl_context, ssl_show_warn, transport_class, request_timeout, node_class, node_pool_class, randomize_nodes_in_pool, node_selector_class, dead_node_backoff_factor, max_dead_node_backoff, serializer, serializers, default_mimetype, max_retries, retry_on_status, retry_on_timeout, sniff_on_start, sniff_before_requests, sniff_on_node_failure, sniff_timeout, min_delay_between_sniffing, sniffed_node_callback, meta_header, timeout, randomize_hosts, host_info_callback, sniffer_timeout, sniff_on_connection_fail, http_auth, maxsize, _transport) 310 311 if _transport is None: --> 312 node_configs = client_node_configs( 313 hosts, 314 cloud_id=cloud_id, ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in client_node_configs(hosts, cloud_id, **kwargs) 99 else: 100 assert hosts is not None --> 101 node_configs = hosts_to_node_configs(hosts) 102 103 # Remove all values which are 'DEFAULT' to avoid overwriting actual defaults. ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in hosts_to_node_configs(hosts) 142 143 elif isinstance(host, Mapping): --> 144 node_configs.append(host_mapping_to_node_config(host)) 145 else: 146 raise ValueError( ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in host_mapping_to_node_config(host) 209 options["path_prefix"] = options.pop("url_prefix") 210 --> 211 return NodeConfig(**options) # type: ignore 212 213 TypeError: __init__() missing 1 required positional argument: 'scheme' ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: Mac - Python version: 3.8.0 - PyArrow version: 7.0.0 - ElaticSearch Info: { "name" : "byname", "cluster_name" : "elasticsearch_brew", "cluster_uuid" : "9xkjrltiQIG0J95ciWhqRA", "version" : { "number" : "7.10.2-SNAPSHOT", "build_flavor" : "oss", "build_type" : "tar", "build_hash" : "unknown", "build_date" : "2021-01-16T01:41:27.115673Z", "build_snapshot" : true, "lucene_version" : "8.7.0", "minimum_wire_compatibility_version" : "6.8.0", "minimum_index_compatibility_version" : "6.0.0-beta1" }, "tagline" : "You Know, for Search" } ``` from elasticsearch import Elasticsearch es = Elasticsearch([{'host': 'localhost', 'port': 9200}]) ``` ``` TypeError Traceback (most recent call last) <ipython-input-8-675c6ffe5293> in <module> 1 #es = Elasticsearch([{'host':'localhost', 'port':9200}]) 2 from elasticsearch import Elasticsearch ----> 3 es = Elasticsearch([{'host': 'localhost', 'port': 9200}]) C:\ProgramData\Anaconda3\lib\site-packages\elasticsearch\_sync\client\__init__.py in __init__(self, hosts, cloud_id, api_key, basic_auth, bearer_auth, opaque_id, headers, connections_per_node, http_compress, verify_certs, ca_certs, client_cert, client_key, ssl_assert_hostname, ssl_assert_fingerprint, ssl_version, ssl_context, ssl_show_warn, transport_class, request_timeout, node_class, node_pool_class, randomize_nodes_in_pool, node_selector_class, dead_node_backoff_factor, max_dead_node_backoff, serializer, serializers, default_mimetype, max_retries, retry_on_status, retry_on_timeout, sniff_on_start, sniff_before_requests, sniff_on_node_failure, sniff_timeout, min_delay_between_sniffing, sniffed_node_callback, meta_header, timeout, randomize_hosts, host_info_callback, sniffer_timeout, sniff_on_connection_fail, http_auth, maxsize, _transport) 310 311 if _transport is None: --> 312 node_configs = client_node_configs( 313 hosts, 314 cloud_id=cloud_id, C:\ProgramData\Anaconda3\lib\site-packages\elasticsearch\_sync\client\utils.py in client_node_configs(hosts, cloud_id, **kwargs) 99 else: 100 assert hosts is not None --> 101 node_configs = hosts_to_node_configs(hosts) 102 103 # Remove all values which are 'DEFAULT' to avoid overwriting actual defaults. C:\ProgramData\Anaconda3\lib\site-packages\elasticsearch\_sync\client\utils.py in hosts_to_node_configs(hosts) 142 143 elif isinstance(host, Mapping): --> 144 node_configs.append(host_mapping_to_node_config(host)) 145 else: 146 raise ValueError( C:\ProgramData\Anaconda3\lib\site-packages\elasticsearch\_sync\client\utils.py in host_mapping_to_node_config(host) 209 options["path_prefix"] = options.pop("url_prefix") 210 --> 211 return NodeConfig(**options) # type: ignore 212 213 TypeError: __init__() missing 1 required positional argument: 'scheme' ```
[ -1.2576981782913208, -0.8072288036346436, -0.5764096975326538, 1.4736487865447998, 0.004407837986946106, -1.3325319290161133, 0.08641734719276428, -0.8813815116882324, 1.577204942703247, -0.8625599145889282, 0.3448003828525543, -1.6538548469543457, 0.0732506513595581, -0.6694484353065491, -0.6252675652503967, -0.6805681586265564, -0.280646950006485, -0.7015061974525452, 1.186315894126892, 2.378892421722412, 1.203363299369812, -1.3638910055160522, 2.876934766769409, 0.6466245055198669, -0.2279382199048996, -0.811314046382904, 0.35859057307243347, -0.05005841329693794, -1.4741947650909424, -0.32061871886253357, -1.056270718574524, 0.018889354541897774, -0.6512167453765869, -0.4369593560695648, 0.09366953372955322, 0.46502578258514404, -0.25117427110671997, -0.4633427560329437, -0.4807637631893158, -0.8033264875411987, 0.5112529993057251, -0.23762506246566772, 0.8471649885177612, -0.3028804659843445, 1.785325527191162, -0.5938990116119385, 0.5093380808830261, 0.5228193402290344, 1.2418123483657837, 0.27969470620155334, -0.01870383694767952, 0.4009333550930023, 0.21133680641651154, 0.04867001622915268, 0.6442546248435974, 1.2380867004394531, 0.6498757600784302, 0.5133215188980103, 0.7508530616760254, -2.1735517978668213, 1.3534032106399536, -0.8826646208763123, 0.157446950674057, 1.4664478302001953, -1.0944629907608032, 0.5021654367446899, -1.8586491346359253, -0.08516320586204529, 0.4510643184185028, -2.2784082889556885, 0.20682208240032196, -1.2890024185180664, -0.5711563229560852, 0.9873194098472595, 0.41546106338500977, -1.201809048652649, -0.011819140985608101, -0.43936988711357117, 0.9475224018096924, 0.3492538630962372, 1.1408758163452148, -1.6756112575531006, 0.059192027896642685, -0.2411164492368698, 0.3372863829135895, -1.185683250427246, -1.6204129457473755, 0.6286637783050537, 0.6924406290054321, 0.5885799527168274, -0.14799931645393372, 0.9703158140182495, -1.1334494352340698, 0.8201001882553101, -1.026416540145874, -1.7738378047943115, -1.3408247232437134, -2.47098445892334, -2.3393821716308594, 0.7734863758087158, -0.4756622016429901, -0.4049420654773712, 2.203855037689209, -1.1391586065292358, -1.6644772291183472, 1.0845911502838135, 0.310917466878891, -0.03427531570196152, 2.464937925338745, 0.2237100601196289, -0.9480352997779846, 0.7346763014793396, -0.8279320001602173, 0.6603686809539795, -0.36244577169418335, 1.2492042779922485, 0.3878471255302429, -0.996985673904419, 1.5592409372329712, -0.3344995081424713, 0.479290634393692, -0.6344566345214844, -0.4082843065261841, -0.5627636909484863, 0.1742834597826004, 1.9987188577651978, -0.13478605449199677, 1.4804362058639526, -0.14384295046329498, -1.4534764289855957, -1.38595712184906, 0.8045244216918945, 0.43166422843933105, -0.8941285014152527, 0.2116323858499527, -0.44937947392463684, 0.19990669190883636, 0.07373778522014618, 1.1466144323349, 1.3972073793411255, 0.7613734006881714, -0.18876643478870392, -0.918705940246582, 0.011142781004309654, -0.05957236886024475, -0.6191026568412781, -1.6780046224594116, -0.26851344108581543, 0.11729271709918976, 0.6141262650489807, -1.2419952154159546, 1.9310963153839111, 0.8854358196258545, 2.0212278366088867, 0.9780790209770203, -0.3330829441547394, 1.5649455785751343, 0.12551337480545044, 1.8520869016647339, -0.41436269879341125, 0.6526353359222412, -0.5544806122779846, -1.1841381788253784, 0.7164215445518494, -0.4183993935585022, -1.8848930597305298, -0.39603039622306824, -0.8199189901351929, -0.1745901256799698, -0.8991385102272034, 1.0603294372558594, -0.16061699390411377, -1.3953953981399536, 0.2021474391222, -0.6981779336929321, 0.14785632491111755, -1.3462393283843994, 0.27900633215904236, 0.7602750062942505, -0.7032198309898376, 0.050116922706365585, -0.46298155188560486, -1.3457090854644775, -0.5954039692878723, 0.45999205112457275, 1.7700060606002808, -0.6189888715744019, 0.9891635179519653, 1.0510629415512085, -0.6324391961097717, -0.037488438189029694, 0.49836406111717224, -0.34805628657341003, 0.8542826771736145, -1.0273247957229614, -0.4828934967517853, 1.1913707256317139, -0.3764112889766693, -0.5268889665603638, 1.3104441165924072, 0.6885562539100647, -1.024302363395691, -0.3319060504436493, -0.042225152254104614, -0.862841784954071, 0.12095384299755096, -1.5783103704452515, -0.07599307596683502, 0.35210365056991577, -1.5205233097076416, -0.4382261335849762, -0.01446889340877533, 1.2600677013397217, -0.060919225215911865, 1.3913695812225342, -0.2005368024110794, -0.06611762940883636, -0.4529862105846405, -0.5385030508041382, 0.11066664755344391, -0.0911150872707367, -0.6148586869239807, 0.2406170666217804, -0.753884494304657, 0.17523826658725739, 1.5034458637237549, 0.23629017174243927, 0.07095500826835632, 0.502960741519928, 1.1666654348373413, 0.32748058438301086, -0.15972986817359924, -0.8970924615859985, -1.7251956462860107, 1.9579132795333862, -1.5519555807113647, 2.002728223800659, 0.8145361542701721, -0.0743672102689743, -1.7634124755859375, -1.8828901052474976, 1.4752672910690308, 1.0761065483093262, 2.490300178527832, 0.4621955156326294, 0.4245360791683197, -0.7816901206970215, -0.6904053688049316, 0.4960896670818329, -0.7359126806259155, -0.8628441691398621, 0.1483488380908966, 2.3594043254852295, 1.7184147834777832, -0.3175768256187439, -0.19551293551921844, -0.9023655652999878, 1.3131587505340576, -0.34408897161483765, 0.25265994668006897, 1.8571584224700928, -0.41819992661476135, -1.0232642889022827, 1.3067190647125244, -2.444049119949341, 0.2791430354118347, 2.1052656173706055, 0.3197441101074219, 0.04114226624369621, -1.1736838817596436, -0.7507808208465576, -0.16669268906116486, -0.4077398478984833, -1.278632402420044, 0.37522611021995544, -0.2414078563451767, -0.7733492851257324, -1.3605642318725586, 0.04182157292962074, -1.1791980266571045, -1.6586551666259766, 0.2600225508213043, 1.8200104236602783, 2.160301446914673, -0.7808058857917786, 1.3097800016403198, -0.3365591764450073, 0.23355643451213837, 1.0934031009674072, 1.3122457265853882, 3.2122843265533447, 1.8443392515182495, -1.2604243755340576, 0.6870942711830139, -0.12154582142829895, -0.4853091835975647, 1.2279913425445557, -1.0336265563964844, 1.201690435409546, -0.2014462947845459, -1.328241229057312, -1.191022515296936, 0.8769748210906982, 0.45559433102607727, -0.14334827661514282, -0.5481489300727844, 1.1369285583496094, 0.16521307826042175, 1.2972944974899292, 0.6339111328125, -0.37901628017425537, 0.5453433990478516, -0.3721069097518921, -0.5455264449119568, 1.5761054754257202, 0.05134591832756996, -1.5319799184799194, -2.287844657897949, -0.14016824960708618, -0.9664561748504639, 0.07352320849895477, -0.9090663194656372, -1.010351300239563, 1.554779291152954, 0.39641454815864563, -0.9484376311302185, -0.1614084541797638, -0.3758501708507538, -0.5289410352706909, 2.6604726314544678, -1.3135048151016235, -0.2281586229801178, -0.9897049069404602, -0.6024956703186035, 1.520324945449829, -1.140077829360962, -0.24922382831573486, -1.0617629289627075, -0.46214547753334045, -1.2974419593811035, -0.40797141194343567, -0.01235964521765709, -0.8155885934829712, 0.7158579230308533, -0.014223496429622173, -1.3727370500564575, -0.3228529095649719, -1.0943248271942139, 0.8977158069610596, -0.27920079231262207, 0.025111835449934006, 1.6980611085891724, 0.20518988370895386, -0.44007769227027893, 0.873844563961029, 1.2450308799743652, 0.6670446395874023, -0.5233621001243591, 0.16781029105186462, -0.5745524168014526, 0.5840692520141602, -1.2161808013916016, 0.3683977723121643, -2.993762254714966, 0.6297990679740906, -0.014158818870782852, -0.04945879429578781, -0.09429392218589783, -1.471510648727417, 0.9920427799224854, 2.409146547317505, -1.1186261177062988, 0.655952513217926, 0.2973964214324951, 1.1907879114151, -1.6884942054748535, 0.04008958488702774, -0.703203558921814, 2.068044424057007, -0.03352087363600731, 1.0293625593185425, -0.5488252639770508, -2.392489194869995, 0.5366116166114807, -1.2461440563201904, -0.9043400883674622, 0.7930947542190552, -0.8875174522399902, 0.27414482831954956, -1.22794508934021, -0.19417987763881683, -0.8687049150466919, -1.0880624055862427, 0.5221344232559204, 0.026828106492757797, 0.5882548689842224, -0.5763663053512573, 0.2935221791267395, -2.312561511993408, -1.3522489070892334, -0.07502616941928864, -0.9229534268379211, 0.5036904811859131, -0.5179582834243774, 0.7199719548225403, -0.16464829444885254, 0.018810752779245377, 0.25878337025642395, 1.5174291133880615, 3.215587854385376, 0.0025932742282748222, 0.31268227100372314, -0.2939121723175049, -1.0224241018295288, 1.6175563335418701, 0.9106044173240662, -0.24698680639266968, -0.6571955680847168, -0.9652020931243896, 1.45853853225708, 1.9008020162582397, 0.9759053587913513, 0.04757625609636307, -0.93788743019104, -0.7784609794616699, 0.09328612685203552, 0.08631958067417145, 0.42985066771507263, 0.9996925592422485, 0.15314996242523193, 0.16117289662361145, 1.3645479679107666, 1.040818691253662, -0.3163003921508789, 0.4822081923484802, -0.8561972975730896, -0.36006900668144226, 0.5942813754081726, 0.3306243121623993, -0.03899170458316803, 0.30109745264053345, -0.9798250198364258, -0.2400199919939041, -0.2764907479286194, -0.7941582202911377, -0.7048530578613281, -0.3642634153366089, -0.3941567838191986, 1.7741578817367554, 0.03252717852592468, -0.5205633640289307, 0.009745554998517036, -0.8076561093330383, -0.09330414235591888, -1.0925225019454956, 0.2863142490386963, -0.09936754405498505, 0.05953677371144295, -0.2409437894821167, 1.675399899482727, -0.954409658908844, -2.20487117767334, 0.0882003903388977, 0.27332672476768494, -0.25968673825263977, -0.11719678342342377, 1.8700523376464844, 0.48243436217308044, 1.4529930353164673, 1.5562747716903687, 1.091658353805542, -0.6069671511650085, -1.3252921104431152, 0.7579898834228516, 0.9115175604820251, -1.3375084400177002, 0.9727765917778015, -0.22793644666671753, -0.6607006788253784, 0.5094518661499023, 1.2801566123962402, 0.45548900961875916, -1.8986265659332275, 0.9252803325653076, -1.1865382194519043, 0.9332611560821533, 0.825367271900177, 0.8338567614555359, 0.13701282441616058, 0.9494165778160095, -1.1896525621414185, -1.054762601852417, -0.5080923438072205, -0.6501471996307373, 1.8695423603057861, -0.31980443000793457, 0.3318856656551361, -0.274421364068985, -1.2443236112594604, 0.10130079090595245, 0.6557726263999939, 0.29200488328933716, -0.27377432584762573, 0.7628269195556641, -0.7644239068031311, -1.1512802839279175, -1.3526090383529663, -0.5194311141967773, -1.0680341720581055, -0.8584799766540527, 1.033483624458313, 0.7211427092552185, 0.49124065041542053, 1.9856188297271729, 0.6701003909111023, 0.20218037068843842, -2.54093599319458, 0.821354329586029, 0.358681321144104, -0.14044295251369476, 0.8474218845367432, 0.3077726662158966, 1.2895610332489014, -0.1192786693572998, 0.5380801558494568, -2.3189594745635986, 2.204768657684326, -0.21352382004261017, 0.7901655435562134, 0.039257943630218506, -0.005632518325001001, 0.941978394985199, 0.5417252779006958, 0.5436633825302124, -1.041405439376831, 0.8185021281242371, -0.6151819229125977, 1.1156232357025146, 0.8843666315078735, -0.8982020020484924, 0.1354859322309494, 1.2178006172180176, 0.34306541085243225, -0.626262366771698, -1.0163178443908691, -0.7936036586761475, 0.9122476577758789, 1.6642131805419922, 0.09915240108966827, 0.11448952555656433, 0.8009278774261475, 0.7581748366355896, -1.214816927909851, -0.017927847802639008, -0.5147958397865295, -0.653186023235321, 1.8094234466552734, 2.053831100463867, -0.000667705200612545, -0.037009771913290024, -0.6609246730804443, -1.462446689605713, 0.8130121231079102, 0.09580202400684357, -0.04103293642401695, 0.7648857235908508, -0.6682485938072205, 1.0884050130844116, 0.7222028970718384, 0.8617985248565674, 0.21964207291603088, 0.01983613707125187, 0.3769875466823578, -0.3398151099681854, -1.2389094829559326, -0.33429789543151855, -1.0289560556411743, -2.598792552947998, 0.4270857870578766, -0.2808430790901184, -1.4207196235656738, 0.13825899362564087, -0.9383878707885742, 0.7603096961975098, -0.46612903475761414, -1.2065718173980713, -1.3079367876052856, 0.24332782626152039, -0.13439391553401947, 0.8020354509353638, -1.64395272731781, -0.22810475528240204, 1.1088865995407104, 0.9449654221534729, -0.6617723107337952, 0.8587184548377991, 0.2573762834072113, 0.9129475951194763, 0.9502392411231995, -0.385066956281662, 0.4801604151725769, 0.23166950047016144, -1.3909811973571777, 0.40865129232406616, 1.3751723766326904, 0.16442374885082245, 1.3816226720809937, -0.3578421175479889, -0.04935219883918762, 0.4249430000782013, -0.3556530475616455, -0.49635836482048035, -0.7084792256355286, 0.6061995029449463, -0.10460366308689117, -0.9116037487983704, -0.2229519635438919, 0.008819876238703728, -0.2309899628162384, 0.20034371316432953, -1.525915265083313, -0.08043041825294495, -0.4410664439201355, -0.5792482495307922, -1.483328938484192, -0.07838290929794312, 1.35288667678833, -0.853393018245697, -0.10190998017787933, 0.6039646863937378, 0.22365520894527435, 0.47097399830818176, 0.6852783560752869, -0.759315550327301, -0.1943635642528534, -0.09171800315380096, -0.4479729235172272, 0.3145489990711212, 1.2999401092529297, -0.09635789692401886, -0.9354215860366821, 0.4397202432155609, -0.17915940284729004, 0.14223967492580414, 1.8682596683502197, -0.005674300249665976, -0.8649542927742004, 0.35622522234916687, -0.7773424386978149, 1.8862918615341187, 1.6018403768539429, 1.313437819480896, -0.1791684627532959, -0.9377517104148865, 0.6760738492012024, -0.4075044095516205, -0.3715440034866333, 0.812352180480957, 0.37556740641593933, -0.3053818643093109, -1.4464470148086548, 0.794497013092041, 1.1276440620422363, -0.7917150259017944, -0.7658486366271973, 0.12581592798233032, -0.8344114422798157, 1.2437396049499512, 0.6154724359512329, 0.34451666474342346, 0.26594415307044983, 1.742562174797058, 0.7119697332382202, -0.6076027750968933, 0.46137529611587524, 0.5372198224067688, -0.18968559801578522, -2.010594367980957, -1.1109678745269775, 0.2462446391582489, -0.4667971432209015, -1.450943112373352, 1.4692487716674805, -1.1665890216827393, -1.0042271614074707, 0.4428679645061493, 0.07628697156906128, 1.2424225807189941, 0.34056368470191956, 1.7166696786880493, 2.001270055770874, 0.8812390565872192, 0.503689706325531, 1.126932144165039, -0.289204478263855, -0.2281801998615265, 1.6786985397338867, -0.44640275835990906, 0.6329084634780884, 0.9942721128463745, -0.4771541953086853, -1.2414709329605103, -0.8111013174057007, -1.2474597692489624, -0.7803864479064941, 1.0184345245361328, 0.11345979571342468, -1.0796051025390625, 0.32228022813796997, 1.6055759191513062, 0.003362515941262245, -0.0649627149105072, 0.7773729562759399, 0.39554333686828613, -0.6798092126846313, -0.07890628278255463, -1.0369282960891724, 0.6474351286888123, -0.35576289892196655, -0.4250253736972809, 0.14294974505901337, 0.6200045347213745, 1.3206055164337158, 0.15619541704654694, 0.16095346212387085, 1.3284916877746582, -1.4040640592575073, 1.2326524257659912, -1.0348877906799316, 0.3833959996700287, -2.305197238922119, 1.4463528394699097, -0.9536036849021912, 1.986215353012085, -2.703399896621704, 0.4930313527584076, -0.4591880440711975, -0.6723495125770569, 0.1753479689359665, -0.18128573894500732, 0.08366112411022186, -0.03327249735593796, -1.0277600288391113, -0.07463280856609344, -0.8014342784881592, 0.49104830622673035, 1.2548967599868774, 1.3880349397659302, -0.9211845993995667, -0.25221413373947144, -1.6599440574645996, -0.13299115002155304, -0.5031676292419434, 0.1515895426273346, -1.8089988231658936, -0.19882890582084656, -2.078073263168335, -2.466806650161743, -1.3421961069107056, -0.9497886300086975, 1.3676618337631226, 0.1754540652036667, -0.9654746055603027, 1.2253221273422241, -0.31052127480506897, -1.7265793085098267, 1.2031952142715454, -2.1161539554595947 ]
https://github.com/huggingface/datasets/issues/3956
TypeError: __init__() missing 1 required positional argument: 'scheme'
@raj713335, thanks for reporting. Please note that in your code example, you are not using our `datasets` library. Thus, I think you should report that issue to `elasticsearch` library: https://github.com/elastic/elasticsearch-py
## Describe the bug Based on [this tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) the provided code should add Elasticsearch index but raised the following error, probably the new Elasticsearch version is not compatible though the tutorial doesn't provide any information about the supporting Elasticsearch version. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from datasets import load_dataset squad = load_dataset('squad', split='validation') squad.add_elasticsearch_index("context", host="localhost", port="9200") ``` ## Expected results [Creating an elastic index based on the provided tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) ## Actual results ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-6-8fb51aa33961> in <module> 1 from datasets import load_dataset 2 squad = load_dataset('squad', split='validation') ----> 3 squad.add_elasticsearch_index("context", host="localhost", port="9200") ~/opt/anaconda3/lib/python3.8/site-packages/datasets/arrow_dataset.py in add_elasticsearch_index(self, column, index_name, host, port, es_client, es_index_name, es_index_config) 3777 """ 3778 with self.formatted_as(type=None, columns=[column]): -> 3779 super().add_elasticsearch_index( 3780 column=column, 3781 index_name=index_name, ~/opt/anaconda3/lib/python3.8/site-packages/datasets/search.py in add_elasticsearch_index(self, column, index_name, host, port, es_client, es_index_name, es_index_config) 587 """ 588 index_name = index_name if index_name is not None else column --> 589 es_index = ElasticSearchIndex( 590 host=host, port=port, es_client=es_client, es_index_name=es_index_name, es_index_config=es_index_config 591 ) ~/opt/anaconda3/lib/python3.8/site-packages/datasets/search.py in __init__(self, host, port, es_client, es_index_name, es_index_config) 123 from elasticsearch import Elasticsearch # noqa: F811 124 --> 125 self.es_client = es_client if es_client is not None else Elasticsearch([{"host": host, "port": str(port)}]) 126 self.es_index_name = ( 127 es_index_name ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/__init__.py in __init__(self, hosts, cloud_id, api_key, basic_auth, bearer_auth, opaque_id, headers, connections_per_node, http_compress, verify_certs, ca_certs, client_cert, client_key, ssl_assert_hostname, ssl_assert_fingerprint, ssl_version, ssl_context, ssl_show_warn, transport_class, request_timeout, node_class, node_pool_class, randomize_nodes_in_pool, node_selector_class, dead_node_backoff_factor, max_dead_node_backoff, serializer, serializers, default_mimetype, max_retries, retry_on_status, retry_on_timeout, sniff_on_start, sniff_before_requests, sniff_on_node_failure, sniff_timeout, min_delay_between_sniffing, sniffed_node_callback, meta_header, timeout, randomize_hosts, host_info_callback, sniffer_timeout, sniff_on_connection_fail, http_auth, maxsize, _transport) 310 311 if _transport is None: --> 312 node_configs = client_node_configs( 313 hosts, 314 cloud_id=cloud_id, ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in client_node_configs(hosts, cloud_id, **kwargs) 99 else: 100 assert hosts is not None --> 101 node_configs = hosts_to_node_configs(hosts) 102 103 # Remove all values which are 'DEFAULT' to avoid overwriting actual defaults. ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in hosts_to_node_configs(hosts) 142 143 elif isinstance(host, Mapping): --> 144 node_configs.append(host_mapping_to_node_config(host)) 145 else: 146 raise ValueError( ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in host_mapping_to_node_config(host) 209 options["path_prefix"] = options.pop("url_prefix") 210 --> 211 return NodeConfig(**options) # type: ignore 212 213 TypeError: __init__() missing 1 required positional argument: 'scheme' ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: Mac - Python version: 3.8.0 - PyArrow version: 7.0.0 - ElaticSearch Info: { "name" : "byname", "cluster_name" : "elasticsearch_brew", "cluster_uuid" : "9xkjrltiQIG0J95ciWhqRA", "version" : { "number" : "7.10.2-SNAPSHOT", "build_flavor" : "oss", "build_type" : "tar", "build_hash" : "unknown", "build_date" : "2021-01-16T01:41:27.115673Z", "build_snapshot" : true, "lucene_version" : "8.7.0", "minimum_wire_compatibility_version" : "6.8.0", "minimum_index_compatibility_version" : "6.0.0-beta1" }, "tagline" : "You Know, for Search" }
877
30
TypeError: __init__() missing 1 required positional argument: 'scheme' ## Describe the bug Based on [this tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) the provided code should add Elasticsearch index but raised the following error, probably the new Elasticsearch version is not compatible though the tutorial doesn't provide any information about the supporting Elasticsearch version. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from datasets import load_dataset squad = load_dataset('squad', split='validation') squad.add_elasticsearch_index("context", host="localhost", port="9200") ``` ## Expected results [Creating an elastic index based on the provided tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) ## Actual results ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-6-8fb51aa33961> in <module> 1 from datasets import load_dataset 2 squad = load_dataset('squad', split='validation') ----> 3 squad.add_elasticsearch_index("context", host="localhost", port="9200") ~/opt/anaconda3/lib/python3.8/site-packages/datasets/arrow_dataset.py in add_elasticsearch_index(self, column, index_name, host, port, es_client, es_index_name, es_index_config) 3777 """ 3778 with self.formatted_as(type=None, columns=[column]): -> 3779 super().add_elasticsearch_index( 3780 column=column, 3781 index_name=index_name, ~/opt/anaconda3/lib/python3.8/site-packages/datasets/search.py in add_elasticsearch_index(self, column, index_name, host, port, es_client, es_index_name, es_index_config) 587 """ 588 index_name = index_name if index_name is not None else column --> 589 es_index = ElasticSearchIndex( 590 host=host, port=port, es_client=es_client, es_index_name=es_index_name, es_index_config=es_index_config 591 ) ~/opt/anaconda3/lib/python3.8/site-packages/datasets/search.py in __init__(self, host, port, es_client, es_index_name, es_index_config) 123 from elasticsearch import Elasticsearch # noqa: F811 124 --> 125 self.es_client = es_client if es_client is not None else Elasticsearch([{"host": host, "port": str(port)}]) 126 self.es_index_name = ( 127 es_index_name ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/__init__.py in __init__(self, hosts, cloud_id, api_key, basic_auth, bearer_auth, opaque_id, headers, connections_per_node, http_compress, verify_certs, ca_certs, client_cert, client_key, ssl_assert_hostname, ssl_assert_fingerprint, ssl_version, ssl_context, ssl_show_warn, transport_class, request_timeout, node_class, node_pool_class, randomize_nodes_in_pool, node_selector_class, dead_node_backoff_factor, max_dead_node_backoff, serializer, serializers, default_mimetype, max_retries, retry_on_status, retry_on_timeout, sniff_on_start, sniff_before_requests, sniff_on_node_failure, sniff_timeout, min_delay_between_sniffing, sniffed_node_callback, meta_header, timeout, randomize_hosts, host_info_callback, sniffer_timeout, sniff_on_connection_fail, http_auth, maxsize, _transport) 310 311 if _transport is None: --> 312 node_configs = client_node_configs( 313 hosts, 314 cloud_id=cloud_id, ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in client_node_configs(hosts, cloud_id, **kwargs) 99 else: 100 assert hosts is not None --> 101 node_configs = hosts_to_node_configs(hosts) 102 103 # Remove all values which are 'DEFAULT' to avoid overwriting actual defaults. ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in hosts_to_node_configs(hosts) 142 143 elif isinstance(host, Mapping): --> 144 node_configs.append(host_mapping_to_node_config(host)) 145 else: 146 raise ValueError( ~/opt/anaconda3/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py in host_mapping_to_node_config(host) 209 options["path_prefix"] = options.pop("url_prefix") 210 --> 211 return NodeConfig(**options) # type: ignore 212 213 TypeError: __init__() missing 1 required positional argument: 'scheme' ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: Mac - Python version: 3.8.0 - PyArrow version: 7.0.0 - ElaticSearch Info: { "name" : "byname", "cluster_name" : "elasticsearch_brew", "cluster_uuid" : "9xkjrltiQIG0J95ciWhqRA", "version" : { "number" : "7.10.2-SNAPSHOT", "build_flavor" : "oss", "build_type" : "tar", "build_hash" : "unknown", "build_date" : "2021-01-16T01:41:27.115673Z", "build_snapshot" : true, "lucene_version" : "8.7.0", "minimum_wire_compatibility_version" : "6.8.0", "minimum_index_compatibility_version" : "6.0.0-beta1" }, "tagline" : "You Know, for Search" } @raj713335, thanks for reporting. Please note that in your code example, you are not using our `datasets` library. Thus, I think you should report that issue to `elasticsearch` library: https://github.com/elastic/elasticsearch-py
[ -1.2576981782913208, -0.8072288036346436, -0.5764096975326538, 1.4736487865447998, 0.004407837986946106, -1.3325319290161133, 0.08641734719276428, -0.8813815116882324, 1.577204942703247, -0.8625599145889282, 0.3448003828525543, -1.6538548469543457, 0.0732506513595581, -0.6694484353065491, -0.6252675652503967, -0.6805681586265564, -0.280646950006485, -0.7015061974525452, 1.186315894126892, 2.378892421722412, 1.203363299369812, -1.3638910055160522, 2.876934766769409, 0.6466245055198669, -0.2279382199048996, -0.811314046382904, 0.35859057307243347, -0.05005841329693794, -1.4741947650909424, -0.32061871886253357, -1.056270718574524, 0.018889354541897774, -0.6512167453765869, -0.4369593560695648, 0.09366953372955322, 0.46502578258514404, -0.25117427110671997, -0.4633427560329437, -0.4807637631893158, -0.8033264875411987, 0.5112529993057251, -0.23762506246566772, 0.8471649885177612, -0.3028804659843445, 1.785325527191162, -0.5938990116119385, 0.5093380808830261, 0.5228193402290344, 1.2418123483657837, 0.27969470620155334, -0.01870383694767952, 0.4009333550930023, 0.21133680641651154, 0.04867001622915268, 0.6442546248435974, 1.2380867004394531, 0.6498757600784302, 0.5133215188980103, 0.7508530616760254, -2.1735517978668213, 1.3534032106399536, -0.8826646208763123, 0.157446950674057, 1.4664478302001953, -1.0944629907608032, 0.5021654367446899, -1.8586491346359253, -0.08516320586204529, 0.4510643184185028, -2.2784082889556885, 0.20682208240032196, -1.2890024185180664, -0.5711563229560852, 0.9873194098472595, 0.41546106338500977, -1.201809048652649, -0.011819140985608101, -0.43936988711357117, 0.9475224018096924, 0.3492538630962372, 1.1408758163452148, -1.6756112575531006, 0.059192027896642685, -0.2411164492368698, 0.3372863829135895, -1.185683250427246, -1.6204129457473755, 0.6286637783050537, 0.6924406290054321, 0.5885799527168274, -0.14799931645393372, 0.9703158140182495, -1.1334494352340698, 0.8201001882553101, -1.026416540145874, -1.7738378047943115, -1.3408247232437134, -2.47098445892334, -2.3393821716308594, 0.7734863758087158, -0.4756622016429901, -0.4049420654773712, 2.203855037689209, -1.1391586065292358, -1.6644772291183472, 1.0845911502838135, 0.310917466878891, -0.03427531570196152, 2.464937925338745, 0.2237100601196289, -0.9480352997779846, 0.7346763014793396, -0.8279320001602173, 0.6603686809539795, -0.36244577169418335, 1.2492042779922485, 0.3878471255302429, -0.996985673904419, 1.5592409372329712, -0.3344995081424713, 0.479290634393692, -0.6344566345214844, -0.4082843065261841, -0.5627636909484863, 0.1742834597826004, 1.9987188577651978, -0.13478605449199677, 1.4804362058639526, -0.14384295046329498, -1.4534764289855957, -1.38595712184906, 0.8045244216918945, 0.43166422843933105, -0.8941285014152527, 0.2116323858499527, -0.44937947392463684, 0.19990669190883636, 0.07373778522014618, 1.1466144323349, 1.3972073793411255, 0.7613734006881714, -0.18876643478870392, -0.918705940246582, 0.011142781004309654, -0.05957236886024475, -0.6191026568412781, -1.6780046224594116, -0.26851344108581543, 0.11729271709918976, 0.6141262650489807, -1.2419952154159546, 1.9310963153839111, 0.8854358196258545, 2.0212278366088867, 0.9780790209770203, -0.3330829441547394, 1.5649455785751343, 0.12551337480545044, 1.8520869016647339, -0.41436269879341125, 0.6526353359222412, -0.5544806122779846, -1.1841381788253784, 0.7164215445518494, -0.4183993935585022, -1.8848930597305298, -0.39603039622306824, -0.8199189901351929, -0.1745901256799698, -0.8991385102272034, 1.0603294372558594, -0.16061699390411377, -1.3953953981399536, 0.2021474391222, -0.6981779336929321, 0.14785632491111755, -1.3462393283843994, 0.27900633215904236, 0.7602750062942505, -0.7032198309898376, 0.050116922706365585, -0.46298155188560486, -1.3457090854644775, -0.5954039692878723, 0.45999205112457275, 1.7700060606002808, -0.6189888715744019, 0.9891635179519653, 1.0510629415512085, -0.6324391961097717, -0.037488438189029694, 0.49836406111717224, -0.34805628657341003, 0.8542826771736145, -1.0273247957229614, -0.4828934967517853, 1.1913707256317139, -0.3764112889766693, -0.5268889665603638, 1.3104441165924072, 0.6885562539100647, -1.024302363395691, -0.3319060504436493, -0.042225152254104614, -0.862841784954071, 0.12095384299755096, -1.5783103704452515, -0.07599307596683502, 0.35210365056991577, -1.5205233097076416, -0.4382261335849762, -0.01446889340877533, 1.2600677013397217, -0.060919225215911865, 1.3913695812225342, -0.2005368024110794, -0.06611762940883636, -0.4529862105846405, -0.5385030508041382, 0.11066664755344391, -0.0911150872707367, -0.6148586869239807, 0.2406170666217804, -0.753884494304657, 0.17523826658725739, 1.5034458637237549, 0.23629017174243927, 0.07095500826835632, 0.502960741519928, 1.1666654348373413, 0.32748058438301086, -0.15972986817359924, -0.8970924615859985, -1.7251956462860107, 1.9579132795333862, -1.5519555807113647, 2.002728223800659, 0.8145361542701721, -0.0743672102689743, -1.7634124755859375, -1.8828901052474976, 1.4752672910690308, 1.0761065483093262, 2.490300178527832, 0.4621955156326294, 0.4245360791683197, -0.7816901206970215, -0.6904053688049316, 0.4960896670818329, -0.7359126806259155, -0.8628441691398621, 0.1483488380908966, 2.3594043254852295, 1.7184147834777832, -0.3175768256187439, -0.19551293551921844, -0.9023655652999878, 1.3131587505340576, -0.34408897161483765, 0.25265994668006897, 1.8571584224700928, -0.41819992661476135, -1.0232642889022827, 1.3067190647125244, -2.444049119949341, 0.2791430354118347, 2.1052656173706055, 0.3197441101074219, 0.04114226624369621, -1.1736838817596436, -0.7507808208465576, -0.16669268906116486, -0.4077398478984833, -1.278632402420044, 0.37522611021995544, -0.2414078563451767, -0.7733492851257324, -1.3605642318725586, 0.04182157292962074, -1.1791980266571045, -1.6586551666259766, 0.2600225508213043, 1.8200104236602783, 2.160301446914673, -0.7808058857917786, 1.3097800016403198, -0.3365591764450073, 0.23355643451213837, 1.0934031009674072, 1.3122457265853882, 3.2122843265533447, 1.8443392515182495, -1.2604243755340576, 0.6870942711830139, -0.12154582142829895, -0.4853091835975647, 1.2279913425445557, -1.0336265563964844, 1.201690435409546, -0.2014462947845459, -1.328241229057312, -1.191022515296936, 0.8769748210906982, 0.45559433102607727, -0.14334827661514282, -0.5481489300727844, 1.1369285583496094, 0.16521307826042175, 1.2972944974899292, 0.6339111328125, -0.37901628017425537, 0.5453433990478516, -0.3721069097518921, -0.5455264449119568, 1.5761054754257202, 0.05134591832756996, -1.5319799184799194, -2.287844657897949, -0.14016824960708618, -0.9664561748504639, 0.07352320849895477, -0.9090663194656372, -1.010351300239563, 1.554779291152954, 0.39641454815864563, -0.9484376311302185, -0.1614084541797638, -0.3758501708507538, -0.5289410352706909, 2.6604726314544678, -1.3135048151016235, -0.2281586229801178, -0.9897049069404602, -0.6024956703186035, 1.520324945449829, -1.140077829360962, -0.24922382831573486, -1.0617629289627075, -0.46214547753334045, -1.2974419593811035, -0.40797141194343567, -0.01235964521765709, -0.8155885934829712, 0.7158579230308533, -0.014223496429622173, -1.3727370500564575, -0.3228529095649719, -1.0943248271942139, 0.8977158069610596, -0.27920079231262207, 0.025111835449934006, 1.6980611085891724, 0.20518988370895386, -0.44007769227027893, 0.873844563961029, 1.2450308799743652, 0.6670446395874023, -0.5233621001243591, 0.16781029105186462, -0.5745524168014526, 0.5840692520141602, -1.2161808013916016, 0.3683977723121643, -2.993762254714966, 0.6297990679740906, -0.014158818870782852, -0.04945879429578781, -0.09429392218589783, -1.471510648727417, 0.9920427799224854, 2.409146547317505, -1.1186261177062988, 0.655952513217926, 0.2973964214324951, 1.1907879114151, -1.6884942054748535, 0.04008958488702774, -0.703203558921814, 2.068044424057007, -0.03352087363600731, 1.0293625593185425, -0.5488252639770508, -2.392489194869995, 0.5366116166114807, -1.2461440563201904, -0.9043400883674622, 0.7930947542190552, -0.8875174522399902, 0.27414482831954956, -1.22794508934021, -0.19417987763881683, -0.8687049150466919, -1.0880624055862427, 0.5221344232559204, 0.026828106492757797, 0.5882548689842224, -0.5763663053512573, 0.2935221791267395, -2.312561511993408, -1.3522489070892334, -0.07502616941928864, -0.9229534268379211, 0.5036904811859131, -0.5179582834243774, 0.7199719548225403, -0.16464829444885254, 0.018810752779245377, 0.25878337025642395, 1.5174291133880615, 3.215587854385376, 0.0025932742282748222, 0.31268227100372314, -0.2939121723175049, -1.0224241018295288, 1.6175563335418701, 0.9106044173240662, -0.24698680639266968, -0.6571955680847168, -0.9652020931243896, 1.45853853225708, 1.9008020162582397, 0.9759053587913513, 0.04757625609636307, -0.93788743019104, -0.7784609794616699, 0.09328612685203552, 0.08631958067417145, 0.42985066771507263, 0.9996925592422485, 0.15314996242523193, 0.16117289662361145, 1.3645479679107666, 1.040818691253662, -0.3163003921508789, 0.4822081923484802, -0.8561972975730896, -0.36006900668144226, 0.5942813754081726, 0.3306243121623993, -0.03899170458316803, 0.30109745264053345, -0.9798250198364258, -0.2400199919939041, -0.2764907479286194, -0.7941582202911377, -0.7048530578613281, -0.3642634153366089, -0.3941567838191986, 1.7741578817367554, 0.03252717852592468, -0.5205633640289307, 0.009745554998517036, -0.8076561093330383, -0.09330414235591888, -1.0925225019454956, 0.2863142490386963, -0.09936754405498505, 0.05953677371144295, -0.2409437894821167, 1.675399899482727, -0.954409658908844, -2.20487117767334, 0.0882003903388977, 0.27332672476768494, -0.25968673825263977, -0.11719678342342377, 1.8700523376464844, 0.48243436217308044, 1.4529930353164673, 1.5562747716903687, 1.091658353805542, -0.6069671511650085, -1.3252921104431152, 0.7579898834228516, 0.9115175604820251, -1.3375084400177002, 0.9727765917778015, -0.22793644666671753, -0.6607006788253784, 0.5094518661499023, 1.2801566123962402, 0.45548900961875916, -1.8986265659332275, 0.9252803325653076, -1.1865382194519043, 0.9332611560821533, 0.825367271900177, 0.8338567614555359, 0.13701282441616058, 0.9494165778160095, -1.1896525621414185, -1.054762601852417, -0.5080923438072205, -0.6501471996307373, 1.8695423603057861, -0.31980443000793457, 0.3318856656551361, -0.274421364068985, -1.2443236112594604, 0.10130079090595245, 0.6557726263999939, 0.29200488328933716, -0.27377432584762573, 0.7628269195556641, -0.7644239068031311, -1.1512802839279175, -1.3526090383529663, -0.5194311141967773, -1.0680341720581055, -0.8584799766540527, 1.033483624458313, 0.7211427092552185, 0.49124065041542053, 1.9856188297271729, 0.6701003909111023, 0.20218037068843842, -2.54093599319458, 0.821354329586029, 0.358681321144104, -0.14044295251369476, 0.8474218845367432, 0.3077726662158966, 1.2895610332489014, -0.1192786693572998, 0.5380801558494568, -2.3189594745635986, 2.204768657684326, -0.21352382004261017, 0.7901655435562134, 0.039257943630218506, -0.005632518325001001, 0.941978394985199, 0.5417252779006958, 0.5436633825302124, -1.041405439376831, 0.8185021281242371, -0.6151819229125977, 1.1156232357025146, 0.8843666315078735, -0.8982020020484924, 0.1354859322309494, 1.2178006172180176, 0.34306541085243225, -0.626262366771698, -1.0163178443908691, -0.7936036586761475, 0.9122476577758789, 1.6642131805419922, 0.09915240108966827, 0.11448952555656433, 0.8009278774261475, 0.7581748366355896, -1.214816927909851, -0.017927847802639008, -0.5147958397865295, -0.653186023235321, 1.8094234466552734, 2.053831100463867, -0.000667705200612545, -0.037009771913290024, -0.6609246730804443, -1.462446689605713, 0.8130121231079102, 0.09580202400684357, -0.04103293642401695, 0.7648857235908508, -0.6682485938072205, 1.0884050130844116, 0.7222028970718384, 0.8617985248565674, 0.21964207291603088, 0.01983613707125187, 0.3769875466823578, -0.3398151099681854, -1.2389094829559326, -0.33429789543151855, -1.0289560556411743, -2.598792552947998, 0.4270857870578766, -0.2808430790901184, -1.4207196235656738, 0.13825899362564087, -0.9383878707885742, 0.7603096961975098, -0.46612903475761414, -1.2065718173980713, -1.3079367876052856, 0.24332782626152039, -0.13439391553401947, 0.8020354509353638, -1.64395272731781, -0.22810475528240204, 1.1088865995407104, 0.9449654221534729, -0.6617723107337952, 0.8587184548377991, 0.2573762834072113, 0.9129475951194763, 0.9502392411231995, -0.385066956281662, 0.4801604151725769, 0.23166950047016144, -1.3909811973571777, 0.40865129232406616, 1.3751723766326904, 0.16442374885082245, 1.3816226720809937, -0.3578421175479889, -0.04935219883918762, 0.4249430000782013, -0.3556530475616455, -0.49635836482048035, -0.7084792256355286, 0.6061995029449463, -0.10460366308689117, -0.9116037487983704, -0.2229519635438919, 0.008819876238703728, -0.2309899628162384, 0.20034371316432953, -1.525915265083313, -0.08043041825294495, -0.4410664439201355, -0.5792482495307922, -1.483328938484192, -0.07838290929794312, 1.35288667678833, -0.853393018245697, -0.10190998017787933, 0.6039646863937378, 0.22365520894527435, 0.47097399830818176, 0.6852783560752869, -0.759315550327301, -0.1943635642528534, -0.09171800315380096, -0.4479729235172272, 0.3145489990711212, 1.2999401092529297, -0.09635789692401886, -0.9354215860366821, 0.4397202432155609, -0.17915940284729004, 0.14223967492580414, 1.8682596683502197, -0.005674300249665976, -0.8649542927742004, 0.35622522234916687, -0.7773424386978149, 1.8862918615341187, 1.6018403768539429, 1.313437819480896, -0.1791684627532959, -0.9377517104148865, 0.6760738492012024, -0.4075044095516205, -0.3715440034866333, 0.812352180480957, 0.37556740641593933, -0.3053818643093109, -1.4464470148086548, 0.794497013092041, 1.1276440620422363, -0.7917150259017944, -0.7658486366271973, 0.12581592798233032, -0.8344114422798157, 1.2437396049499512, 0.6154724359512329, 0.34451666474342346, 0.26594415307044983, 1.742562174797058, 0.7119697332382202, -0.6076027750968933, 0.46137529611587524, 0.5372198224067688, -0.18968559801578522, -2.010594367980957, -1.1109678745269775, 0.2462446391582489, -0.4667971432209015, -1.450943112373352, 1.4692487716674805, -1.1665890216827393, -1.0042271614074707, 0.4428679645061493, 0.07628697156906128, 1.2424225807189941, 0.34056368470191956, 1.7166696786880493, 2.001270055770874, 0.8812390565872192, 0.503689706325531, 1.126932144165039, -0.289204478263855, -0.2281801998615265, 1.6786985397338867, -0.44640275835990906, 0.6329084634780884, 0.9942721128463745, -0.4771541953086853, -1.2414709329605103, -0.8111013174057007, -1.2474597692489624, -0.7803864479064941, 1.0184345245361328, 0.11345979571342468, -1.0796051025390625, 0.32228022813796997, 1.6055759191513062, 0.003362515941262245, -0.0649627149105072, 0.7773729562759399, 0.39554333686828613, -0.6798092126846313, -0.07890628278255463, -1.0369282960891724, 0.6474351286888123, -0.35576289892196655, -0.4250253736972809, 0.14294974505901337, 0.6200045347213745, 1.3206055164337158, 0.15619541704654694, 0.16095346212387085, 1.3284916877746582, -1.4040640592575073, 1.2326524257659912, -1.0348877906799316, 0.3833959996700287, -2.305197238922119, 1.4463528394699097, -0.9536036849021912, 1.986215353012085, -2.703399896621704, 0.4930313527584076, -0.4591880440711975, -0.6723495125770569, 0.1753479689359665, -0.18128573894500732, 0.08366112411022186, -0.03327249735593796, -1.0277600288391113, -0.07463280856609344, -0.8014342784881592, 0.49104830622673035, 1.2548967599868774, 1.3880349397659302, -0.9211845993995667, -0.25221413373947144, -1.6599440574645996, -0.13299115002155304, -0.5031676292419434, 0.1515895426273346, -1.8089988231658936, -0.19882890582084656, -2.078073263168335, -2.466806650161743, -1.3421961069107056, -0.9497886300086975, 1.3676618337631226, 0.1754540652036667, -0.9654746055603027, 1.2253221273422241, -0.31052127480506897, -1.7265793085098267, 1.2031952142715454, -2.1161539554595947 ]
https://github.com/huggingface/datasets/issues/3954
The dataset preview is not available for tdklab/Hebrew_Squad_v1.1 dataset
Hi @MatanBenChorin, thanks for reporting. Please, take into account that the preview may take some time until it properly renders (we are working to reduce this time). Maybe @severo can give more details on this.
## Dataset viewer issue for 'tdklab/Hebrew_Squad_v1.1' **Link:** https://huggingface.co/api/datasets/tdklab/Hebrew_Squad_v1.1?full=true The dataset preview is not available for this dataset. Am I the one who added this dataset ? Yes
878
35
The dataset preview is not available for tdklab/Hebrew_Squad_v1.1 dataset ## Dataset viewer issue for 'tdklab/Hebrew_Squad_v1.1' **Link:** https://huggingface.co/api/datasets/tdklab/Hebrew_Squad_v1.1?full=true The dataset preview is not available for this dataset. Am I the one who added this dataset ? Yes Hi @MatanBenChorin, thanks for reporting. Please, take into account that the preview may take some time until it properly renders (we are working to reduce this time). Maybe @severo can give more details on this.
[ -1.277979850769043, -1.0010462999343872, -0.7539002895355225, 1.4491286277770996, -0.23795634508132935, -1.3040691614151, 0.1292847990989685, -1.0620851516723633, 1.621179461479187, -0.695432722568512, 0.20382557809352875, -1.5904628038406372, -0.04339827969670296, -0.461945116519928, -0.731906533241272, -0.9130650162696838, -0.5131619572639465, -0.7373886704444885, 1.105817437171936, 2.4465832710266113, 1.3313109874725342, -1.256334662437439, 2.7091684341430664, 0.6566544771194458, -0.29558703303337097, -1.1843043565750122, 0.5721170902252197, 0.0164988674223423, -1.2176090478897095, -0.4018653333187103, -0.8950247168540955, -0.017836082726716995, -0.4878770709037781, -0.4071601927280426, 0.03259028121829033, 0.35315316915512085, -0.2595381438732147, -0.2634921073913574, -0.5524625778198242, -0.7184368371963501, 0.4489750862121582, -0.2738058865070343, 0.8906881213188171, -0.3975289762020111, 1.8191310167312622, -0.6073100566864014, 0.28285688161849976, 0.7009772658348083, 1.3167500495910645, 0.11507842689752579, -0.029070649296045303, 0.2481362670660019, 0.32385578751564026, -0.053175169974565506, 0.4109248220920563, 1.1707748174667358, 0.5992639064788818, 0.5051054954528809, 0.6290746927261353, -2.247650384902954, 1.29974365234375, -1.0572816133499146, 0.2228863388299942, 1.495341420173645, -1.0845307111740112, 0.40658092498779297, -1.7402117252349854, -0.013624514453113079, 0.5721835494041443, -2.3079607486724854, 0.16093942523002625, -1.2440550327301025, -0.5790824890136719, 0.8976090550422668, 0.2617455720901489, -1.3226890563964844, 0.13814519345760345, -0.46679601073265076, 1.0657382011413574, 0.5938335061073303, 1.0988713502883911, -1.733345866203308, 0.04429931193590164, -0.28978824615478516, 0.10234607756137848, -1.4911656379699707, -1.5079236030578613, 0.5883781909942627, 0.5346326231956482, 0.7515308260917664, 0.014843526296317577, 0.8565868139266968, -1.0556031465530396, 0.801076352596283, -1.0560368299484253, -1.549896240234375, -1.4651157855987549, -2.5410542488098145, -2.3032796382904053, 0.8337510824203491, -0.4938596487045288, -0.5691778063774109, 1.8025108575820923, -1.084723949432373, -1.7644609212875366, 1.1515583992004395, 0.2582932412624359, -0.008240604773163795, 2.497910976409912, 0.26122763752937317, -0.6962385773658752, 0.4106229543685913, -0.7430652976036072, 0.7697257399559021, -0.2798093557357788, 1.4740098714828491, 0.585218071937561, -0.9817028045654297, 1.6058986186981201, -0.4352843165397644, 0.5291399955749512, -0.5889460444450378, -0.5608964562416077, -0.9733323454856873, 0.30365368723869324, 1.7824676036834717, -0.26695236563682556, 1.5789811611175537, -0.40144625306129456, -1.591521978378296, -1.5776695013046265, 0.8692322969436646, 0.5319538712501526, -0.8389027118682861, 0.21062232553958893, -0.4082395136356354, 0.02935507893562317, -0.10425157845020294, 1.1602013111114502, 1.191841721534729, 0.6058121919631958, -0.38203397393226624, -0.8690661787986755, 0.19997280836105347, 0.007349683903157711, -0.7635914087295532, -1.835521936416626, -0.36963021755218506, 0.12051817029714584, 0.6371006965637207, -1.1684752702713013, 1.6566327810287476, 0.8804820775985718, 1.9826909303665161, 0.9966375827789307, -0.274939626455307, 1.4140206575393677, 0.024747230112552643, 1.7066513299942017, -0.6595131158828735, 0.7614325881004333, -0.2747710347175598, -1.0613902807235718, 0.7923049926757812, -0.40868479013442993, -1.946609616279602, -0.8457415103912354, -0.9289522171020508, -0.16387328505516052, -0.689866304397583, 0.9936283826828003, -0.24237044155597687, -1.3792186975479126, 0.17358940839767456, -0.628842294216156, 0.0836457684636116, -1.2477657794952393, 0.2851402163505554, 0.7027215361595154, -0.6384798288345337, -0.08366262912750244, -0.21840116381645203, -1.2956212759017944, -0.504418134689331, 0.2017383575439453, 1.8551536798477173, -0.7133594155311584, 0.9368770122528076, 0.869209885597229, -0.6908047199249268, 0.08596684783697128, 0.27200058102607727, -0.21539965271949768, 0.7952011823654175, -0.9197704195976257, -0.4328477680683136, 1.1468539237976074, -0.19143129885196686, -0.6829952597618103, 1.5164786577224731, 0.7927835583686829, -0.9609034061431885, -0.19563230872154236, -0.2721250355243683, -0.8587952256202698, -0.069197878241539, -1.6111507415771484, -0.13895095884799957, 0.16628167033195496, -1.4127269983291626, -0.43688729405403137, -0.20439183712005615, 1.331471562385559, -0.16466328501701355, 1.345245361328125, -0.29339414834976196, -0.24126087129116058, -0.47364044189453125, -0.521186113357544, 0.23828215897083282, -0.10823981463909149, -0.45520931482315063, 0.1872893124818802, -0.9504914283752441, 0.33219361305236816, 1.5160967111587524, 0.34984052181243896, 0.15619076788425446, 0.5028578639030457, 1.0567389726638794, 0.3983992040157318, -0.13023045659065247, -0.8777144551277161, -1.543041706085205, 2.0086443424224854, -1.4519602060317993, 1.9879010915756226, 0.7370786666870117, -0.26245903968811035, -1.7681890726089478, -1.8534079790115356, 1.3108372688293457, 1.2914732694625854, 2.3478524684906006, 0.5146174430847168, 0.34312573075294495, -0.8135815262794495, -0.6984023451805115, 0.23918366432189941, -1.1017873287200928, -0.6749794483184814, 0.08893566578626633, 2.238651990890503, 1.827762484550476, -0.6353880763053894, -0.2333943247795105, -0.9743630290031433, 1.226209044456482, -0.08246678113937378, 0.30231666564941406, 1.9978735446929932, -0.32376396656036377, -0.9680505394935608, 1.2858303785324097, -2.3101701736450195, 0.13982534408569336, 2.035762310028076, 0.4014430344104767, 0.20602265000343323, -1.4920949935913086, -0.648620069026947, -0.32356539368629456, -0.4097442328929901, -1.3453466892242432, 0.6337675452232361, -0.41197049617767334, -0.9673119187355042, -1.4907097816467285, 0.166990727186203, -1.0743459463119507, -1.6961559057235718, 0.5136919021606445, 1.8373931646347046, 2.0490195751190186, -0.8201285004615784, 1.3093781471252441, -0.10064105689525604, 0.12119289487600327, 1.2733041048049927, 1.19265878200531, 2.939326047897339, 1.939934492111206, -1.222050428390503, 0.7865663170814514, -0.19058381021022797, -0.5248124599456787, 1.2004393339157104, -1.0738428831100464, 1.2505511045455933, -0.17593814432621002, -1.1681585311889648, -1.268104910850525, 1.0016555786132812, 0.49489107728004456, 0.06079860404133797, -0.5158271193504333, 1.306504487991333, 0.0671929195523262, 1.362776279449463, 0.524566113948822, -0.41524243354797363, 0.6704986691474915, -0.4903661012649536, -0.5497756004333496, 1.594962239265442, 0.24309398233890533, -1.542272686958313, -2.282933473587036, -0.2519161105155945, -0.7976745367050171, -0.05318727344274521, -0.48371168971061707, -0.9949604868888855, 1.6430134773254395, 0.48819440603256226, -1.3655624389648438, -0.23579733073711395, -0.3182300329208374, -0.5757740139961243, 2.7139663696289062, -1.2888747453689575, -0.11824366450309753, -1.041854739189148, -0.49068933725357056, 1.7040506601333618, -1.1057075262069702, -0.08564764261245728, -1.059853434562683, -0.6249063014984131, -1.369889497756958, -0.5204563140869141, 0.06841250509023666, -0.9134308099746704, 0.7774233818054199, 0.06472543627023697, -1.1125364303588867, -0.359440416097641, -0.8275032043457031, 0.8939381837844849, -0.14167089760303497, 0.29981741309165955, 1.9215192794799805, 0.30355823040008545, -0.40204861760139465, 0.7787978053092957, 1.040910005569458, 0.5935446619987488, -0.7446955442428589, 0.136918842792511, -0.5951913595199585, 0.29018959403038025, -1.3531278371810913, 0.2285660058259964, -2.990217447280884, 0.6372336745262146, -0.022759467363357544, -0.12715768814086914, -0.014982892200350761, -1.332782506942749, 1.2138944864273071, 2.4779927730560303, -1.191131353378296, 0.5136483311653137, 0.3806917071342468, 1.0912818908691406, -1.545324683189392, 0.3305383324623108, -0.449354350566864, 2.1755354404449463, 0.25285977125167847, 1.2540667057037354, -0.6337208151817322, -2.1426734924316406, 0.6672340631484985, -1.2148170471191406, -1.1621795892715454, 0.6871190667152405, -0.9361836910247803, 0.21613524854183197, -1.6139634847640991, -0.13725817203521729, -0.8966000080108643, -1.3367170095443726, 0.7620284557342529, 0.1735738068819046, 0.4427530765533447, -0.6287142038345337, 0.44342154264450073, -2.122758626937866, -1.3205851316452026, -0.19351568818092346, -0.9417673349380493, 0.532622754573822, -0.3437662720680237, 0.6076293587684631, -0.08951526135206223, 0.13632988929748535, 0.23764215409755707, 1.2998909950256348, 3.4494175910949707, 0.21602144837379456, 0.2319139689207077, 0.006058640778064728, -0.9311600923538208, 1.5766977071762085, 1.1038419008255005, -0.0507015623152256, -0.5311349630355835, -0.9369152784347534, 1.3306944370269775, 1.908310890197754, 1.00616455078125, 0.09038569778203964, -0.8947775363922119, -0.6062527894973755, 0.036015816032886505, 0.35385438799858093, 0.49569234251976013, 0.9686411023139954, -0.045693475753068924, 0.12403092533349991, 1.5097633600234985, 1.2152562141418457, -0.4585256278514862, 0.5150243639945984, -1.007607102394104, -0.5469185709953308, 0.4518894553184509, 0.34953635931015015, -0.07052931189537048, 0.5559354424476624, -1.0292800664901733, -0.341525137424469, -0.2431589514017105, -0.9816763401031494, -0.6419513821601868, -0.4674321115016937, -0.5228893756866455, 1.5569173097610474, 0.12044546753168106, -0.4698656499385834, -0.022843429818749428, -0.7960919737815857, -0.17541517317295074, -1.0619637966156006, 0.2741229832172394, -0.0877424106001854, -0.016861673444509506, -0.16588100790977478, 1.8887088298797607, -0.9239975810050964, -2.114136219024658, 0.31264132261276245, 0.4659539759159088, -0.3901750147342682, 0.18540853261947632, 1.5501391887664795, 0.4096505343914032, 1.4566885232925415, 1.2119189500808716, 1.0860384702682495, -0.5816765427589417, -1.3886393308639526, 0.666019856929779, 0.9661552906036377, -1.4316141605377197, 0.8536093831062317, -0.12151620537042618, -0.5174551010131836, 0.7073825597763062, 1.1490041017532349, 0.5161471962928772, -1.8532986640930176, 0.9300990700721741, -0.9076391458511353, 0.8780518174171448, 0.7695108652114868, 0.8210111260414124, 0.31876900792121887, 0.8867754936218262, -1.2670342922210693, -1.1138839721679688, -0.8243941068649292, -0.6816854476928711, 1.8076426982879639, -0.2124437540769577, 0.6717056632041931, -0.11502961069345474, -1.144659161567688, -0.07818625867366791, 0.6765947937965393, 0.3556511104106903, -0.19559763371944427, 0.915016233921051, -0.654237687587738, -1.0592429637908936, -1.3641844987869263, -0.36512452363967896, -0.980164647102356, -0.8712435960769653, 1.0416110754013062, 0.8793111443519592, 0.3992763161659241, 1.8264695405960083, 0.48176947236061096, 0.37738731503486633, -2.7069060802459717, 0.9686951637268066, 0.19506371021270752, 0.1405572146177292, 0.8164463639259338, 0.31702762842178345, 1.0732167959213257, -0.050942469388246536, 0.41443705558776855, -2.3830654621124268, 2.2390031814575195, -0.2361418902873993, 0.5846494436264038, 0.06724157184362411, -0.2271215170621872, 1.189924716949463, 0.6522804498672485, 0.5241451263427734, -1.0282204151153564, 0.8000121712684631, -0.4501398801803589, 1.2665575742721558, 0.9975534677505493, -0.8143154382705688, -0.07650269567966461, 1.2843331098556519, 0.579408586025238, -0.4348742365837097, -0.8602626323699951, -0.7484878897666931, 0.7903504371643066, 1.6507500410079956, -0.04473306983709335, 0.0053836992010474205, 0.7804449796676636, 0.6935157179832458, -1.2738951444625854, 0.07907416671514511, -0.7559991478919983, -0.6747228503227234, 1.6402835845947266, 2.1063332557678223, -0.028228219598531723, -0.06774517148733139, -0.6642143130302429, -1.139886498451233, 0.7245403528213501, 0.012654243968427181, 0.15081787109375, 0.7335199117660522, -0.5708770751953125, 1.0993983745574951, 0.6872571110725403, 0.9274547100067139, 0.05409308150410652, 0.39644894003868103, 0.3297552168369293, -0.24256183207035065, -1.2684420347213745, -0.3534131348133087, -1.207531213760376, -2.5114614963531494, 0.36973538994789124, -0.2711794972419739, -1.3659592866897583, 0.024763278663158417, -1.1352461576461792, 0.9552417397499084, -0.6102989912033081, -1.0990642309188843, -1.5235930681228638, 0.16422498226165771, -0.17111392319202423, 0.8492535352706909, -1.7275272607803345, -0.09214996546506882, 1.3226704597473145, 0.8472445011138916, -0.6256144046783447, 1.101100206375122, 0.29344967007637024, 1.0471550226211548, 0.7820915579795837, -0.3516995906829834, 0.5689414143562317, 0.14463888108730316, -1.5688650608062744, 0.5168359875679016, 1.0587010383605957, 0.22439977526664734, 1.5075334310531616, -0.4520151913166046, 0.12209562212228775, 0.5363279581069946, -0.6641485691070557, -0.4395684003829956, -0.39512062072753906, 0.774835467338562, 0.17047806084156036, -0.9831770062446594, -0.09416177123785019, -0.16564114391803741, -0.26669925451278687, 0.17387013137340546, -1.5480064153671265, -0.28929397463798523, -0.4871070683002472, -0.5072026252746582, -1.329871654510498, -0.02331254631280899, 1.4849625825881958, -0.8289846181869507, -0.1906866729259491, 0.4757978022098541, 0.39128562808036804, 0.5752385854721069, 0.7524032592773438, -0.6543138027191162, -0.32408034801483154, -0.32829850912094116, -0.26266714930534363, 0.397858202457428, 1.2282849550247192, -0.16427607834339142, -1.0467894077301025, 0.7363365292549133, -0.26863858103752136, -0.06191769614815712, 1.9778780937194824, 0.1040583923459053, -0.7734259366989136, 0.24723343551158905, -0.6581021547317505, 1.908722162246704, 1.5062798261642456, 1.4195055961608887, -0.2292749136686325, -0.8044337034225464, 0.5255265235900879, -0.2155352085828781, -0.395256370306015, 0.8199021220207214, 0.5398266911506653, -0.20047615468502045, -1.3856542110443115, 0.5745953917503357, 1.3458441495895386, -0.9702796339988708, -0.7080641984939575, 0.03871830180287361, -0.8656013011932373, 1.0766860246658325, 0.6705198287963867, 0.37636566162109375, 0.2978362739086151, 1.5780075788497925, 0.6498969197273254, -0.43376368284225464, 0.406406044960022, 0.5351511836051941, -0.20721060037612915, -2.0836710929870605, -1.038541316986084, 0.39440885186195374, -0.4664266109466553, -1.5044747591018677, 1.3153371810913086, -1.1810630559921265, -0.9614161252975464, 0.4388323724269867, 0.033156488090753555, 1.4189224243164062, 0.3608351945877075, 1.6789157390594482, 2.0656826496124268, 0.9696208238601685, 0.2257733792066574, 1.4823355674743652, -0.04761175066232681, -0.4948454797267914, 1.7623460292816162, -0.3641956150531769, 0.5220860242843628, 1.0483603477478027, -0.37891584634780884, -1.064668893814087, -0.7675985097885132, -1.1397864818572998, -0.4278400242328644, 1.1821569204330444, 0.19652365148067474, -1.1998145580291748, 0.171375572681427, 1.505505084991455, 0.1758328676223755, -0.25858253240585327, 0.5907925963401794, 0.5288131237030029, -0.7527681589126587, 0.06656768172979355, -0.9340265393257141, 0.4785556495189667, -0.28234240412712097, -0.37361225485801697, 0.17147494852542877, 0.4729677140712738, 1.2210361957550049, -0.2268081158399582, 0.194988414645195, 1.2187659740447998, -1.3450344800949097, 1.4977402687072754, -0.6173254251480103, 0.20043040812015533, -2.4582576751708984, 1.4075376987457275, -0.6716872453689575, 1.9562186002731323, -2.666956901550293, 0.3453361690044403, -0.6380059719085693, -0.4894360303878784, 0.3649899959564209, -0.45173949003219604, 0.0687917023897171, -0.1280546635389328, -1.1286842823028564, 0.07966011762619019, -0.8016640543937683, 0.5868523120880127, 1.0812921524047852, 1.3339197635650635, -1.0821338891983032, -0.23762890696525574, -1.7031781673431396, -0.13653574883937836, -0.8155397176742554, 0.37225541472435, -2.1448769569396973, -0.21597228944301605, -1.982211947441101, -2.2916109561920166, -1.2980680465698242, -0.8294941186904907, 1.111754059791565, 0.1198737844824791, -0.8673815131187439, 1.0626156330108643, -0.2839519679546356, -1.797723412513733, 1.0494948625564575, -2.105491876602173 ]
https://github.com/huggingface/datasets/issues/3954
The dataset preview is not available for tdklab/Hebrew_Squad_v1.1 dataset
I imagine the dataset has been moved to https://huggingface.co/datasets/tdklab/Hebrew_Squad_v1, which still has an issue: ``` Server Error Status code: 400 Exception: NameError Message: name 'HebrewSquad' is not defined ```
## Dataset viewer issue for 'tdklab/Hebrew_Squad_v1.1' **Link:** https://huggingface.co/api/datasets/tdklab/Hebrew_Squad_v1.1?full=true The dataset preview is not available for this dataset. Am I the one who added this dataset ? Yes
878
29
The dataset preview is not available for tdklab/Hebrew_Squad_v1.1 dataset ## Dataset viewer issue for 'tdklab/Hebrew_Squad_v1.1' **Link:** https://huggingface.co/api/datasets/tdklab/Hebrew_Squad_v1.1?full=true The dataset preview is not available for this dataset. Am I the one who added this dataset ? Yes I imagine the dataset has been moved to https://huggingface.co/datasets/tdklab/Hebrew_Squad_v1, which still has an issue: ``` Server Error Status code: 400 Exception: NameError Message: name 'HebrewSquad' is not defined ```
[ -1.1525921821594238, -0.9893866181373596, -0.8565760254859924, 1.4254974126815796, -0.18307623267173767, -1.2884353399276733, 0.05908761918544769, -1.080731749534607, 1.6345525979995728, -0.6469842791557312, 0.1950887143611908, -1.6583842039108276, -0.11907057464122772, -0.49580615758895874, -0.7367805242538452, -0.8936829566955566, -0.39418312907218933, -0.8005176186561584, 1.0491971969604492, 2.387637138366699, 1.366645336151123, -1.3344645500183105, 2.723869562149048, 0.6619657278060913, -0.28940531611442566, -1.1638380289077759, 0.5890151858329773, -0.05710090696811676, -1.1390600204467773, -0.40718889236450195, -0.8624051213264465, 0.0031930599361658096, -0.5696674585342407, -0.474689245223999, 0.030081160366535187, 0.4438410699367523, -0.30423203110694885, -0.26176273822784424, -0.54183429479599, -0.7998895049095154, 0.3948323726654053, -0.2936193645000458, 0.8716393709182739, -0.4759024381637573, 1.7669665813446045, -0.5857154130935669, 0.1773988902568817, 0.7180438041687012, 1.3738535642623901, 0.11894577741622925, -0.028260182589292526, 0.24277617037296295, 0.2667417824268341, 0.03766649216413498, 0.4050101339817047, 1.209280252456665, 0.5675145983695984, 0.4992195665836334, 0.6222565770149231, -2.3083531856536865, 1.304369568824768, -0.9712393283843994, 0.21328163146972656, 1.4709001779556274, -1.095890998840332, 0.32209792733192444, -1.7530968189239502, -0.010029556229710579, 0.5553635358810425, -2.289246082305908, 0.2747630476951599, -1.2684519290924072, -0.5610873103141785, 0.9481438994407654, 0.31159815192222595, -1.252956748008728, 0.10959815979003906, -0.3940325975418091, 1.0825971364974976, 0.5850602388381958, 1.1103920936584473, -1.7550448179244995, 0.07760192453861237, -0.29310375452041626, 0.07649319618940353, -1.491752028465271, -1.5459794998168945, 0.576691210269928, 0.6354138255119324, 0.776366651058197, -0.0438622310757637, 0.8593287467956543, -1.0310447216033936, 0.7626251578330994, -1.0554916858673096, -1.616074800491333, -1.3909389972686768, -2.39949893951416, -2.2988245487213135, 0.7853359580039978, -0.4891400933265686, -0.5474030375480652, 1.8778016567230225, -0.9902859330177307, -1.7983715534210205, 1.1070263385772705, 0.25529712438583374, 0.08483149111270905, 2.412263870239258, 0.3188105821609497, -0.7236897945404053, 0.3461853265762329, -0.7750599980354309, 0.8053414225578308, -0.21131649613380432, 1.478332281112671, 0.6658741235733032, -0.9645200371742249, 1.671595573425293, -0.48513263463974, 0.5735838413238525, -0.6021420955657959, -0.5155578851699829, -0.8857793211936951, 0.27541595697402954, 1.8442449569702148, -0.3735867142677307, 1.5453022718429565, -0.35465508699417114, -1.6297235488891602, -1.5354564189910889, 0.8678348064422607, 0.4627481698989868, -0.8359063863754272, 0.22578001022338867, -0.4587431848049164, 0.059922002255916595, -0.12133237719535828, 1.1988935470581055, 1.142255187034607, 0.5704373717308044, -0.3923133313655853, -0.9117464423179626, 0.2485528439283371, 0.07583840936422348, -0.7974478602409363, -1.8457218408584595, -0.3263760209083557, 0.2212291806936264, 0.6120168566703796, -1.1803394556045532, 1.6634550094604492, 0.7932001948356628, 2.0111372470855713, 0.9052627682685852, -0.23342980444431305, 1.3952895402908325, -0.0845131129026413, 1.753589391708374, -0.5821530222892761, 0.6672616004943848, -0.24445633590221405, -1.0951632261276245, 0.9107925295829773, -0.4277380108833313, -1.9957903623580933, -0.8801084756851196, -0.9794328212738037, -0.12465459853410721, -0.6651598215103149, 0.9633654356002808, -0.22230371832847595, -1.4342538118362427, 0.14231795072555542, -0.6626282930374146, 0.11124231666326523, -1.3007094860076904, 0.2011145055294037, 0.6949701309204102, -0.6539111137390137, -0.11815162003040314, -0.19821587204933167, -1.2637722492218018, -0.4953024983406067, 0.2995769679546356, 1.948042392730713, -0.647495687007904, 0.948681652545929, 0.9012265801429749, -0.6881723403930664, 0.1400182545185089, 0.23682565987110138, -0.243881955742836, 0.7655410766601562, -0.9896671772003174, -0.4517136812210083, 1.122078776359558, -0.11123078316450119, -0.8054627180099487, 1.586305022239685, 0.8346508741378784, -1.0234203338623047, -0.2156991809606552, -0.32246607542037964, -0.7912455201148987, -0.03483673930168152, -1.6111549139022827, -0.1174328625202179, 0.16803036630153656, -1.398120403289795, -0.4766666889190674, -0.21333323419094086, 1.3616116046905518, -0.18228960037231445, 1.2315621376037598, -0.26872390508651733, -0.27961719036102295, -0.39362767338752747, -0.4642382562160492, 0.137992262840271, -0.09219777584075928, -0.5128004550933838, 0.14186851680278778, -1.0601654052734375, 0.329172283411026, 1.4592602252960205, 0.3620733320713043, 0.09685982018709183, 0.4747968018054962, 1.1303069591522217, 0.4033738672733307, -0.08802243322134018, -0.9462293386459351, -1.5184962749481201, 1.960923194885254, -1.415671467781067, 1.9518808126449585, 0.7837469577789307, -0.14199267327785492, -1.8069137334823608, -1.8634006977081299, 1.3955602645874023, 1.290852427482605, 2.293057680130005, 0.5591695308685303, 0.42269882559776306, -0.8690289855003357, -0.7299866676330566, 0.3188621699810028, -1.05806303024292, -0.6147862672805786, 0.08709381520748138, 2.2772247791290283, 1.9061836004257202, -0.5691049098968506, -0.2773658037185669, -0.916366457939148, 1.1976311206817627, -0.14662373065948486, 0.27093926072120667, 2.0476813316345215, -0.3204212486743927, -0.925315260887146, 1.2777360677719116, -2.3167288303375244, 0.16205133497714996, 2.0683646202087402, 0.2719324231147766, 0.1843118816614151, -1.4660953283309937, -0.704115092754364, -0.2934814989566803, -0.4197191894054413, -1.3188163042068481, 0.5620167851448059, -0.3722124397754669, -0.9466926455497742, -1.4568246603012085, 0.21671634912490845, -1.0392712354660034, -1.7320419549942017, 0.4714919924736023, 1.9145660400390625, 2.0068702697753906, -0.8310725688934326, 1.4326896667480469, -0.18112750351428986, 0.13391682505607605, 1.3398264646530151, 1.1923613548278809, 2.936579942703247, 1.830441951751709, -1.280441164970398, 0.8247919678688049, -0.1323276162147522, -0.5512180328369141, 1.2483521699905396, -1.044404149055481, 1.1605051755905151, -0.3267461955547333, -1.1942821741104126, -1.2868499755859375, 1.0004115104675293, 0.5381365418434143, 0.04731887951493263, -0.5216871500015259, 1.3219826221466064, 0.0601041316986084, 1.3371671438217163, 0.5474097728729248, -0.43418562412261963, 0.6188941597938538, -0.4581087529659271, -0.510397732257843, 1.5880358219146729, 0.23877225816249847, -1.4829009771347046, -2.311096429824829, -0.29328060150146484, -0.7947392463684082, -0.0803338959813118, -0.5318668484687805, -1.037705659866333, 1.6184495687484741, 0.45133233070373535, -1.3253376483917236, -0.3425135314464569, -0.3800188899040222, -0.5236131548881531, 2.6602425575256348, -1.275002121925354, -0.06219935789704323, -1.0196926593780518, -0.4905669093132019, 1.8072477579116821, -1.137674331665039, -0.09935884922742844, -1.1581435203552246, -0.6213916540145874, -1.360602855682373, -0.576330304145813, 0.10597168654203415, -0.8969807028770447, 0.7795540690422058, -0.024831708520650864, -0.9963497519493103, -0.3035520911216736, -0.8468084335327148, 0.9576480984687805, -0.19668063521385193, 0.23625949025154114, 1.95172119140625, 0.2974797785282135, -0.3990515470504761, 0.7321280837059021, 1.006304383277893, 0.569172203540802, -0.7259948253631592, 0.19769616425037384, -0.575709342956543, 0.275052934885025, -1.4366071224212646, 0.16368086636066437, -3.0326175689697266, 0.6658099889755249, 0.03750503063201904, -0.034583449363708496, -0.03767438232898712, -1.3365143537521362, 1.149878978729248, 2.5286762714385986, -1.343024492263794, 0.42603838443756104, 0.3602944314479828, 1.068795919418335, -1.6165943145751953, 0.2944755256175995, -0.44312331080436707, 2.1332554817199707, 0.14732134342193604, 1.3538357019424438, -0.5395517945289612, -2.0988993644714355, 0.6302137970924377, -1.182233452796936, -1.1285266876220703, 0.7026761174201965, -0.86395263671875, 0.20005209743976593, -1.6631866693496704, -0.14105170965194702, -0.9534298181533813, -1.3382571935653687, 0.8513878583908081, 0.13616615533828735, 0.4334270656108856, -0.6110349297523499, 0.43760594725608826, -2.106060028076172, -1.417925477027893, -0.12555429339408875, -0.9172784686088562, 0.5403986573219299, -0.3097298741340637, 0.5111468434333801, -0.0872209221124649, 0.1506047397851944, 0.2761354148387909, 1.3303568363189697, 3.4891088008880615, 0.23860377073287964, 0.16448591649532318, 0.03642180189490318, -0.9742248058319092, 1.515080451965332, 1.0814268589019775, 0.06484364718198776, -0.44921407103538513, -0.9013814926147461, 1.3377058506011963, 2.026747465133667, 1.017534852027893, 0.12152808904647827, -0.8509441614151001, -0.6346737146377563, -0.025192096829414368, 0.32386747002601624, 0.5622687935829163, 0.8546973466873169, -0.010720634832978249, 0.07150736451148987, 1.4337478876113892, 1.1610591411590576, -0.37245360016822815, 0.5460573434829712, -1.0584172010421753, -0.4879385232925415, 0.4617654085159302, 0.29997220635414124, 0.025510981678962708, 0.572732150554657, -1.041316270828247, -0.35387149453163147, -0.24335801601409912, -0.9136075973510742, -0.6660366654396057, -0.5442277789115906, -0.5050278306007385, 1.4481313228607178, 0.09492937475442886, -0.5076830983161926, -0.04067857563495636, -0.8071563839912415, -0.16448397934436798, -1.0628283023834229, 0.2263335883617401, -0.1533009260892868, -0.05072003975510597, -0.2936836779117584, 1.7321077585220337, -0.9970017671585083, -2.0739214420318604, 0.32384687662124634, 0.5192455053329468, -0.4448592960834503, 0.1720428317785263, 1.6621378660202026, 0.4760628044605255, 1.4126302003860474, 1.1914550065994263, 1.0696322917938232, -0.6374598741531372, -1.2920459508895874, 0.5888542532920837, 1.0420528650283813, -1.3797415494918823, 0.8590353727340698, -0.08813746273517609, -0.5340912938117981, 0.7116662859916687, 1.2227253913879395, 0.5370028018951416, -1.9074230194091797, 0.8490554094314575, -0.8374438285827637, 0.8333703875541687, 0.7311291098594666, 0.7719112038612366, 0.2596316933631897, 0.91608726978302, -1.1831387281417847, -1.0639718770980835, -0.832151472568512, -0.6892592310905457, 1.781821608543396, -0.23034095764160156, 0.6562952399253845, -0.17366880178451538, -1.1817034482955933, -0.10942672193050385, 0.7633780837059021, 0.45684778690338135, -0.3079543709754944, 0.8794955015182495, -0.6067758202552795, -0.9726279973983765, -1.2452771663665771, -0.3817988932132721, -0.9275151491165161, -0.9112080931663513, 0.9697200059890747, 0.8184314966201782, 0.4302605092525482, 1.8634406328201294, 0.5340303182601929, 0.26974713802337646, -2.6511189937591553, 0.9468058347702026, 0.2861434519290924, 0.17025317251682281, 0.8536750078201294, 0.28796085715293884, 1.1233192682266235, -0.09901052713394165, 0.49933627247810364, -2.252056121826172, 2.2000207901000977, -0.1780702769756317, 0.5118167400360107, 0.02655675634741783, -0.27996939420700073, 1.1810871362686157, 0.592422366142273, 0.4880850911140442, -1.0935784578323364, 0.7924601435661316, -0.4829714000225067, 1.177353858947754, 1.018928050994873, -0.7916055917739868, -0.037040598690509796, 1.3740990161895752, 0.5463039875030518, -0.4913838803768158, -0.9194851517677307, -0.6892224550247192, 0.8713605403900146, 1.5483258962631226, -0.03929821774363518, -0.006014110986143351, 0.8410740494728088, 0.7312484979629517, -1.2385485172271729, 0.06315257400274277, -0.7095717787742615, -0.6356043219566345, 1.675209403038025, 2.0360159873962402, -0.11741054058074951, -0.007520047947764397, -0.7946740984916687, -1.076305866241455, 0.7254256010055542, -0.022272026166319847, 0.0017581693828105927, 0.7782829403877258, -0.5463488101959229, 1.1662198305130005, 0.6285572648048401, 0.9453261494636536, -0.009352010674774647, 0.44667574763298035, 0.34204810857772827, -0.2679026424884796, -1.2877062559127808, -0.38323071599006653, -1.186661958694458, -2.446150064468384, 0.42523297667503357, -0.27410176396369934, -1.361967921257019, -0.07208187878131866, -1.1399997472763062, 1.075201153755188, -0.658503532409668, -1.0004854202270508, -1.4641612768173218, 0.2527715563774109, -0.10381732881069183, 0.8697611093521118, -1.732316493988037, -0.05383487045764923, 1.3397659063339233, 0.8166508674621582, -0.6687004566192627, 1.0665308237075806, 0.2574138045310974, 1.1230337619781494, 0.7739129066467285, -0.35915571451187134, 0.6492362022399902, 0.18902525305747986, -1.511345386505127, 0.5094126462936401, 1.0491901636123657, 0.16352665424346924, 1.5535707473754883, -0.3608700633049011, 0.13224102556705475, 0.5677628517150879, -0.6722285151481628, -0.46809935569763184, -0.47920045256614685, 0.7832365036010742, 0.14665992558002472, -1.0916401147842407, -0.014618568122386932, -0.10473760962486267, -0.14361891150474548, 0.2843083143234253, -1.5469858646392822, -0.32577627897262573, -0.35467830300331116, -0.47023579478263855, -1.3283319473266602, -0.022450163960456848, 1.4104050397872925, -0.7468814849853516, -0.27732500433921814, 0.5179404020309448, 0.35926419496536255, 0.5681770443916321, 0.6516392230987549, -0.6735281944274902, -0.29783034324645996, -0.3899019956588745, -0.27514806389808655, 0.35421279072761536, 1.2326215505599976, -0.12430249154567719, -1.1051652431488037, 0.7543876767158508, -0.361630380153656, -0.0021481262519955635, 2.031834602355957, 0.07959668338298798, -0.8472329378128052, 0.2857661545276642, -0.641595184803009, 1.8465187549591064, 1.6031723022460938, 1.3581287860870361, -0.12550729513168335, -0.7740679383277893, 0.548708975315094, -0.21032829582691193, -0.405092716217041, 0.8610249161720276, 0.5170692801475525, -0.16455288231372833, -1.3400918245315552, 0.4545661509037018, 1.380316138267517, -0.9643585085868835, -0.7963719367980957, 0.10737037658691406, -0.8606840372085571, 1.090052604675293, 0.7055017948150635, 0.3284592628479004, 0.2378319501876831, 1.53203547000885, 0.6179662942886353, -0.4002821147441864, 0.45388343930244446, 0.4895252585411072, -0.18305833637714386, -2.0370092391967773, -1.075599193572998, 0.3926485776901245, -0.4946175217628479, -1.5862610340118408, 1.3237770795822144, -1.1987059116363525, -0.913818895816803, 0.4217230975627899, 0.05370701849460602, 1.3875311613082886, 0.2910662889480591, 1.6573010683059692, 2.056112289428711, 0.9265002608299255, 0.2848447263240814, 1.439130187034607, -0.0524599552154541, -0.4311077296733856, 1.7379380464553833, -0.49832412600517273, 0.5760045051574707, 1.063236951828003, -0.40701064467430115, -1.0911818742752075, -0.8430965542793274, -1.1484147310256958, -0.5214084386825562, 1.2391135692596436, 0.2253350466489792, -1.2854619026184082, 0.14534205198287964, 1.5349518060684204, 0.20073257386684418, -0.26545828580856323, 0.6773034930229187, 0.5013729333877563, -0.8595046997070312, 0.07625236362218857, -0.8884167671203613, 0.47092244029045105, -0.22344934940338135, -0.25271257758140564, 0.22625048458576202, 0.5151055455207825, 1.2704521417617798, -0.18519103527069092, 0.16764132678508759, 1.2250268459320068, -1.2376821041107178, 1.5561811923980713, -0.5694531202316284, 0.18406327068805695, -2.488417625427246, 1.35134756565094, -0.7010433077812195, 1.9288409948349, -2.665374517440796, 0.33098599314689636, -0.6148762702941895, -0.4482409954071045, 0.2954203188419342, -0.5245056748390198, 0.08139055222272873, -0.09962186217308044, -1.061069130897522, 0.12397308647632599, -0.7886790037155151, 0.6530624032020569, 1.1873013973236084, 1.4572397470474243, -1.1043696403503418, -0.27278390526771545, -1.816316843032837, -0.20622631907463074, -0.8659747242927551, 0.43702980875968933, -2.117867946624756, -0.12172083556652069, -1.9648839235305786, -2.4015097618103027, -1.3345680236816406, -0.8315137028694153, 1.0316455364227295, 0.1384083479642868, -0.8445302248001099, 1.0055615901947021, -0.22409486770629883, -1.6977940797805786, 1.0675435066223145, -2.0179967880249023 ]
https://github.com/huggingface/datasets/issues/3954
The dataset preview is not available for tdklab/Hebrew_Squad_v1.1 dataset
The issue is not related to the dataset viewer but to the loading script (cc @albertvillanova @lhoestq @mariosasko) ```python >>> import datasets as ds >>> hf_token = "hf_..." # <- required because the dataset is gated >>> d = ds.load_dataset('tdklab/Hebrew_Squad_v1', use_auth_token=hf_token) ... NameError: name 'HebrewSquad' is not defined ```
## Dataset viewer issue for 'tdklab/Hebrew_Squad_v1.1' **Link:** https://huggingface.co/api/datasets/tdklab/Hebrew_Squad_v1.1?full=true The dataset preview is not available for this dataset. Am I the one who added this dataset ? Yes
878
49
The dataset preview is not available for tdklab/Hebrew_Squad_v1.1 dataset ## Dataset viewer issue for 'tdklab/Hebrew_Squad_v1.1' **Link:** https://huggingface.co/api/datasets/tdklab/Hebrew_Squad_v1.1?full=true The dataset preview is not available for this dataset. Am I the one who added this dataset ? Yes The issue is not related to the dataset viewer but to the loading script (cc @albertvillanova @lhoestq @mariosasko) ```python >>> import datasets as ds >>> hf_token = "hf_..." # <- required because the dataset is gated >>> d = ds.load_dataset('tdklab/Hebrew_Squad_v1', use_auth_token=hf_token) ... NameError: name 'HebrewSquad' is not defined ```
[ -1.214503288269043, -0.9863343834877014, -0.7096260786056519, 1.4518793821334839, -0.23406460881233215, -1.2177029848098755, 0.11907560378313065, -1.1182085275650024, 1.6563655138015747, -0.7442794442176819, 0.1766427457332611, -1.6709063053131104, -0.1339707374572754, -0.5000531673431396, -0.7265655398368835, -0.8994793891906738, -0.36142951250076294, -0.759884238243103, 1.047520637512207, 2.4650542736053467, 1.3117542266845703, -1.2598925828933716, 2.7074711322784424, 0.6350531578063965, -0.22306247055530548, -1.1096241474151611, 0.5359551906585693, -0.021786436438560486, -1.2176430225372314, -0.4607500433921814, -0.9089292883872986, -0.018255380913615227, -0.6410297155380249, -0.5077060461044312, 0.06761971861124039, 0.3574014902114868, -0.3598412871360779, -0.24420861899852753, -0.6083283424377441, -0.8463811278343201, 0.35718002915382385, -0.3325771987438202, 0.8941827416419983, -0.41718992590904236, 1.8284488916397095, -0.5931397080421448, 0.35017141699790955, 0.7053669095039368, 1.3190175294876099, 0.18089289963245392, -0.08123595267534256, 0.3031618595123291, 0.30239859223365784, 0.045067206025123596, 0.3902725577354431, 1.0749425888061523, 0.5655680894851685, 0.4152369797229767, 0.6424596905708313, -2.300210952758789, 1.3912246227264404, -0.9865948557853699, 0.1329203099012375, 1.4714244604110718, -1.0389635562896729, 0.3645603358745575, -1.729927659034729, 0.03654482215642929, 0.6720163226127625, -2.3199822902679443, 0.20844678580760956, -1.4014718532562256, -0.5799757838249207, 0.9535840153694153, 0.3289947807788849, -1.2730735540390015, 0.00849655270576477, -0.462159126996994, 1.0691133737564087, 0.5865192413330078, 1.0977534055709839, -1.8936371803283691, -0.03263797610998154, -0.2188727706670761, 0.1798233985900879, -1.4477781057357788, -1.5954720973968506, 0.628181517124176, 0.6245461702346802, 0.7081489562988281, -0.057114847004413605, 0.8896026015281677, -1.0354959964752197, 0.7314255237579346, -0.9919032454490662, -1.6182277202606201, -1.4147042036056519, -2.3647193908691406, -2.2904603481292725, 0.6360453963279724, -0.5094649791717529, -0.570071280002594, 1.9053345918655396, -1.0517202615737915, -1.7491635084152222, 1.0915119647979736, 0.18493303656578064, 0.06276334822177887, 2.4537911415100098, 0.26493996381759644, -0.6709691882133484, 0.30979111790657043, -0.7786784172058105, 0.7256702184677124, -0.2590443789958954, 1.45973801612854, 0.5588607788085938, -1.0088958740234375, 1.6468923091888428, -0.43089932203292847, 0.5487731099128723, -0.6051722764968872, -0.513441801071167, -0.8371157646179199, 0.200516477227211, 1.9030803442001343, -0.31974780559539795, 1.6125599145889282, -0.37467411160469055, -1.5741164684295654, -1.606238842010498, 0.9420846104621887, 0.4536374509334564, -0.8788976669311523, 0.22491304576396942, -0.46956223249435425, 0.11257833242416382, -0.11210431158542633, 1.1606671810150146, 1.2640098333358765, 0.6179276704788208, -0.3658235967159271, -0.8713685870170593, 0.1936434954404831, -0.007543141022324562, -0.7603680491447449, -1.8797051906585693, -0.30471310019493103, 0.09298057854175568, 0.7449293732643127, -1.1563999652862549, 1.6122592687606812, 0.8016616106033325, 1.8848932981491089, 1.0070985555648804, -0.23552046716213226, 1.3429572582244873, 0.04049811512231827, 1.7186944484710693, -0.6922885775566101, 0.732330858707428, -0.3355499505996704, -0.9959447383880615, 0.8424513936042786, -0.3273961842060089, -1.9021310806274414, -0.8124428391456604, -0.8542541265487671, -0.2030608355998993, -0.7334999442100525, 0.9046900868415833, -0.23724238574504852, -1.4079850912094116, 0.3056465685367584, -0.7142035365104675, 0.13614585995674133, -1.2336864471435547, 0.34261637926101685, 0.7313046455383301, -0.6323524117469788, -0.025127634406089783, -0.24792329967021942, -1.2710503339767456, -0.5286299586296082, 0.2519680857658386, 1.9641883373260498, -0.6562889218330383, 0.9309396147727966, 0.8845980763435364, -0.728230357170105, 0.04322855919599533, 0.2620342969894409, -0.20117701590061188, 0.7384065985679626, -1.0213426351547241, -0.3429924547672272, 1.188158392906189, -0.2863939106464386, -0.6761834025382996, 1.5118465423583984, 0.7254672646522522, -0.9971495866775513, -0.19397546350955963, -0.2987721264362335, -0.7668716311454773, 0.050222501158714294, -1.6484551429748535, -0.15016727149486542, 0.26730555295944214, -1.4945820569992065, -0.502659022808075, -0.18447788059711456, 1.451830506324768, -0.16499081254005432, 1.315053939819336, -0.294719398021698, -0.21060380339622498, -0.4139472544193268, -0.3984144330024719, 0.1320238560438156, -0.0982898473739624, -0.4948813021183014, 0.14235442876815796, -0.9562522768974304, 0.3183567225933075, 1.4819070100784302, 0.3630266785621643, 0.0019883736968040466, 0.4564298987388611, 1.097496747970581, 0.3456173837184906, -0.10732422769069672, -0.8973861336708069, -1.5877963304519653, 1.9346824884414673, -1.4261351823806763, 2.0100812911987305, 0.6861220598220825, -0.1483294665813446, -1.7936363220214844, -1.9463379383087158, 1.3100004196166992, 1.2431626319885254, 2.2684340476989746, 0.5862306356430054, 0.3810967803001404, -0.7752753496170044, -0.6754865646362305, 0.28817203640937805, -0.9989233613014221, -0.670739471912384, 0.14247684180736542, 2.285663366317749, 1.7302167415618896, -0.594002902507782, -0.18880605697631836, -0.9770252704620361, 1.2487032413482666, -0.10180935263633728, 0.27908557653427124, 1.980013370513916, -0.2882174253463745, -1.062059760093689, 1.2349467277526855, -2.23807430267334, 0.15489690005779266, 2.0029561519622803, 0.2328595519065857, 0.2079649716615677, -1.3671377897262573, -0.7078707218170166, -0.33477041125297546, -0.39981094002723694, -1.3359075784683228, 0.49719223380088806, -0.3880831301212311, -0.8799439072608948, -1.525436282157898, 0.1816166192293167, -1.046690821647644, -1.6423629522323608, 0.36246076226234436, 1.9417877197265625, 1.943151831626892, -0.7475472092628479, 1.4482409954071045, -0.1814836710691452, 0.10028000921010971, 1.3271738290786743, 1.258797526359558, 3.0084733963012695, 1.921223759651184, -1.2786591053009033, 0.7725744247436523, -0.12653787434101105, -0.4684300124645233, 1.3041902780532837, -1.142589807510376, 1.2205485105514526, -0.2515202760696411, -1.2180277109146118, -1.3380963802337646, 0.9922237992286682, 0.524554967880249, -0.023645758628845215, -0.4607580900192261, 1.331451416015625, -0.043217435479164124, 1.4242169857025146, 0.5474036931991577, -0.4157249331474304, 0.6936347484588623, -0.553288996219635, -0.47976723313331604, 1.5960931777954102, 0.25222355127334595, -1.4743403196334839, -2.309662103652954, -0.2535014748573303, -0.7914606928825378, -0.013512845151126385, -0.5057035088539124, -1.054632544517517, 1.642290711402893, 0.45146092772483826, -1.2717291116714478, -0.26880165934562683, -0.4125916063785553, -0.5596327781677246, 2.6702144145965576, -1.2457374334335327, -0.11293783783912659, -1.0308912992477417, -0.5738421082496643, 1.6973109245300293, -1.221967101097107, -0.15737615525722504, -1.0939717292785645, -0.5232189297676086, -1.3562288284301758, -0.5402700901031494, 0.02051457390189171, -0.9382354021072388, 0.7528858780860901, 0.10625141859054565, -1.105938196182251, -0.3502795398235321, -0.8119661808013916, 0.9316365122795105, -0.13926424086093903, 0.2660714089870453, 1.9466338157653809, 0.28227943181991577, -0.40792185068130493, 0.7101123332977295, 1.0368716716766357, 0.5542177557945251, -0.6877239942550659, 0.16987013816833496, -0.5870444178581238, 0.3029172718524933, -1.3816801309585571, 0.20883575081825256, -2.978067636489868, 0.6885698437690735, 0.008921660482883453, -0.04693920165300369, 0.01177750714123249, -1.3866229057312012, 1.1037817001342773, 2.6135952472686768, -1.3042224645614624, 0.4721011817455292, 0.3029858469963074, 1.097437858581543, -1.6714279651641846, 0.3468761146068573, -0.4797171354293823, 2.1781396865844727, 0.28323203325271606, 1.277275800704956, -0.45543622970581055, -2.260377883911133, 0.6096171736717224, -1.0904418230056763, -1.1963149309158325, 0.7418497204780579, -0.9011320471763611, 0.12172994762659073, -1.5758886337280273, -0.18086132407188416, -0.9185777306556702, -1.2709250450134277, 0.8168260455131531, 0.08761926740407944, 0.49107274413108826, -0.6224983334541321, 0.40553033351898193, -2.179682970046997, -1.3208800554275513, -0.13174284994602203, -0.9120320677757263, 0.5735456943511963, -0.32985273003578186, 0.6193526983261108, -0.1782068908214569, 0.19430051743984222, 0.37545379996299744, 1.4178497791290283, 3.5156679153442383, 0.1884225457906723, 0.16665422916412354, -0.12536703050136566, -0.9339733719825745, 1.4885673522949219, 1.0015867948532104, -0.013954319059848785, -0.48094743490219116, -0.9782391786575317, 1.2933876514434814, 1.987521767616272, 0.8984653949737549, 0.13953600823879242, -0.7960306406021118, -0.5656372308731079, -0.03130564093589783, 0.26026293635368347, 0.5056124925613403, 0.8962332606315613, 0.06880413740873337, 0.1151026114821434, 1.414932131767273, 1.2458020448684692, -0.36451801657676697, 0.47667258977890015, -0.9435067176818848, -0.4762352705001831, 0.5754927396774292, 0.2826120853424072, -0.0514112263917923, 0.4332675635814667, -0.9311048984527588, -0.22847537696361542, -0.32099634408950806, -0.9631770849227905, -0.6881116032600403, -0.456455260515213, -0.4167206287384033, 1.5217448472976685, 0.11736763268709183, -0.5213327407836914, -0.08165331929922104, -0.7975803017616272, -0.1359870582818985, -1.0731369256973267, 0.2562948763370514, -0.0948353186249733, -0.10624385625123978, -0.2061128318309784, 1.697708010673523, -0.9676178097724915, -2.1067349910736084, 0.2760070264339447, 0.41769716143608093, -0.44775086641311646, 0.22565528750419617, 1.6949708461761475, 0.49085989594459534, 1.4888356924057007, 1.2742379903793335, 1.074157476425171, -0.6190383434295654, -1.279861330986023, 0.5748389959335327, 0.8833011388778687, -1.3909337520599365, 0.9071373343467712, -0.043891020119190216, -0.5626665353775024, 0.641457200050354, 1.2368491888046265, 0.6048771142959595, -1.8103063106536865, 0.8412042260169983, -0.9045314192771912, 0.7995668649673462, 0.7691705226898193, 0.8419145941734314, 0.24121923744678497, 0.958285927772522, -1.1568487882614136, -1.0815181732177734, -0.7649552822113037, -0.6840443015098572, 1.8312641382217407, -0.2621617019176483, 0.6098510026931763, -0.22687266767024994, -1.1766561269760132, -0.06728295981884003, 0.7720282673835754, 0.38248130679130554, -0.317439466714859, 0.9074342250823975, -0.6222414374351501, -1.0418635606765747, -1.268464207649231, -0.3831866383552551, -0.9571166038513184, -0.9187257885932922, 1.0364806652069092, 0.8518825173377991, 0.3692336082458496, 1.862091302871704, 0.4593682885169983, 0.28104373812675476, -2.678938150405884, 0.8862839341163635, 0.2600390911102295, 0.057601042091846466, 0.9814535975456238, 0.32691848278045654, 1.167934775352478, -0.10803976655006409, 0.5035621523857117, -2.2878456115722656, 2.2433085441589355, -0.2604503631591797, 0.6290656924247742, 0.030502570793032646, -0.1538245677947998, 1.0971735715866089, 0.629409670829773, 0.5150080919265747, -1.0941617488861084, 0.8704779744148254, -0.5263195037841797, 1.1478455066680908, 0.9992510676383972, -0.8369289636611938, -0.011408637277781963, 1.3631234169006348, 0.4812036454677582, -0.5985934734344482, -0.890863835811615, -0.808466374874115, 0.7944341897964478, 1.6253725290298462, -0.08780710399150848, -0.027766140177845955, 0.7173227071762085, 0.7441996932029724, -1.234288215637207, 0.14002975821495056, -0.7144657969474792, -0.667430579662323, 1.6385467052459717, 2.01311993598938, -0.09378104656934738, -0.10472838580608368, -0.6689227223396301, -1.1224794387817383, 0.7256100177764893, 0.08289030939340591, 0.03321635723114014, 0.7052710652351379, -0.5457850694656372, 1.030219554901123, 0.6979530453681946, 1.021545171737671, 0.10311786085367203, 0.4919368326663971, 0.44520390033721924, -0.2509115934371948, -1.2122772932052612, -0.29646408557891846, -1.2066373825073242, -2.481515407562256, 0.5003814101219177, -0.31994470953941345, -1.3669499158859253, 0.016490155830979347, -1.0695171356201172, 1.0068168640136719, -0.6114285588264465, -1.0954163074493408, -1.4821618795394897, 0.09171488136053085, -0.099664106965065, 0.9163946509361267, -1.6642814874649048, -0.04143091291189194, 1.338684320449829, 0.8595253229141235, -0.6578238010406494, 1.1095490455627441, 0.33944615721702576, 1.1392381191253662, 0.8148719668388367, -0.3910103440284729, 0.5958057045936584, 0.05136856436729431, -1.414642333984375, 0.5271525382995605, 1.0649012327194214, 0.2724793255329132, 1.5188708305358887, -0.4234570860862732, 0.06302333623170853, 0.482983261346817, -0.6230422258377075, -0.44766879081726074, -0.4030431807041168, 0.7352893948554993, 0.0829959288239479, -0.9275791049003601, -0.06528563797473907, -0.14969098567962646, -0.18599368631839752, 0.17299415171146393, -1.5599957704544067, -0.19632233679294586, -0.41940343379974365, -0.4537886381149292, -1.2893613576889038, -0.1818680316209793, 1.4721347093582153, -0.7812933325767517, -0.23411127924919128, 0.46984395384788513, 0.39727893471717834, 0.5422316193580627, 0.644938051700592, -0.6386347413063049, -0.34169718623161316, -0.3648121953010559, -0.31676286458969116, 0.322685569524765, 1.1932517290115356, -0.20796699821949005, -1.1227394342422485, 0.7280882000923157, -0.29797297716140747, 0.06916794925928116, 1.9324169158935547, 0.01809292659163475, -0.763717770576477, 0.1698344349861145, -0.6330539584159851, 1.909316062927246, 1.656038522720337, 1.4103012084960938, -0.18502874672412872, -0.9427666068077087, 0.5969680547714233, -0.2842479348182678, -0.46108338236808777, 0.8467594385147095, 0.5336727499961853, -0.20041310787200928, -1.2845591306686401, 0.5736414790153503, 1.2715855836868286, -0.9276993274688721, -0.7062580585479736, 0.07529700547456741, -0.8059369325637817, 1.042832851409912, 0.6145838499069214, 0.30971598625183105, 0.2698061764240265, 1.6019850969314575, 0.569486677646637, -0.4812574088573456, 0.4961490333080292, 0.4366290867328644, -0.24919891357421875, -2.043253183364868, -1.169037938117981, 0.410110741853714, -0.5024284720420837, -1.6060956716537476, 1.3467813730239868, -1.2030524015426636, -0.9494811296463013, 0.39778342843055725, 0.13586626946926117, 1.3983745574951172, 0.2660718560218811, 1.739892601966858, 2.0983080863952637, 0.8774513602256775, 0.36193275451660156, 1.3896386623382568, -0.02836342714726925, -0.43868812918663025, 1.6828829050064087, -0.44248679280281067, 0.535931408405304, 1.1602991819381714, -0.37146636843681335, -1.0525152683258057, -0.8709486126899719, -1.1375184059143066, -0.57472825050354, 1.169711947441101, 0.19487929344177246, -1.2429169416427612, 0.132222980260849, 1.5492277145385742, 0.16431479156017303, -0.25543102622032166, 0.6851828694343567, 0.4508891999721527, -0.754119336605072, 0.002111390233039856, -0.9273838996887207, 0.5249249935150146, -0.25807318091392517, -0.3489619493484497, 0.27846670150756836, 0.420412540435791, 1.2717515230178833, -0.11275309324264526, 0.17939846217632294, 1.320819616317749, -1.2738286256790161, 1.500112771987915, -0.6134970188140869, 0.1750335842370987, -2.4305431842803955, 1.4124410152435303, -0.701637864112854, 1.971101999282837, -2.6439173221588135, 0.3902796506881714, -0.6092760562896729, -0.3815707266330719, 0.30327656865119934, -0.35779672861099243, 0.16266348958015442, -0.1529279202222824, -1.0603548288345337, 0.029407432302832603, -0.7453471422195435, 0.6257331371307373, 1.1248750686645508, 1.429242730140686, -1.1735833883285522, -0.15722547471523285, -1.7910853624343872, -0.16802819073200226, -0.8324070572853088, 0.38215941190719604, -2.0893590450286865, -0.18603341281414032, -1.9695557355880737, -2.509636402130127, -1.3002265691757202, -0.7161887288093567, 1.0483149290084839, 0.07059739530086517, -0.8095338940620422, 1.1845059394836426, -0.21799445152282715, -1.7744091749191284, 1.0990073680877686, -2.047151803970337 ]
https://github.com/huggingface/datasets/issues/3954
The dataset preview is not available for tdklab/Hebrew_Squad_v1.1 dataset
Yes indeed there is an error in [Hebrew_Squad_v1.py:L40](https://huggingface.co/datasets/tdklab/Hebrew_Squad_v1/blob/main/Hebrew_Squad_v1.py#L40) Here is the fix @MatanBenChorin : ```diff - HebrewSquad( + HebrewSquadConfig( ```
## Dataset viewer issue for 'tdklab/Hebrew_Squad_v1.1' **Link:** https://huggingface.co/api/datasets/tdklab/Hebrew_Squad_v1.1?full=true The dataset preview is not available for this dataset. Am I the one who added this dataset ? Yes
878
20
The dataset preview is not available for tdklab/Hebrew_Squad_v1.1 dataset ## Dataset viewer issue for 'tdklab/Hebrew_Squad_v1.1' **Link:** https://huggingface.co/api/datasets/tdklab/Hebrew_Squad_v1.1?full=true The dataset preview is not available for this dataset. Am I the one who added this dataset ? Yes Yes indeed there is an error in [Hebrew_Squad_v1.py:L40](https://huggingface.co/datasets/tdklab/Hebrew_Squad_v1/blob/main/Hebrew_Squad_v1.py#L40) Here is the fix @MatanBenChorin : ```diff - HebrewSquad( + HebrewSquadConfig( ```
[ -1.2449672222137451, -0.9398610591888428, -0.7536816596984863, 1.4689351320266724, -0.11458813399076462, -1.3179064989089966, 0.12094063311815262, -1.0468823909759521, 1.619125247001648, -0.6898211240768433, 0.2796749174594879, -1.5810762643814087, -0.09628701955080032, -0.4922206699848175, -0.756897509098053, -0.8731759786605835, -0.3945501446723938, -0.7089724540710449, 1.0918159484863281, 2.410155773162842, 1.4314773082733154, -1.2580690383911133, 2.729041814804077, 0.6559010148048401, -0.2990509867668152, -1.103284478187561, 0.5555348992347717, -0.041644275188446045, -1.1851531267166138, -0.41414082050323486, -0.8736876249313354, -0.011486250907182693, -0.49575650691986084, -0.4269291162490845, 0.04581140726804733, 0.3616804778575897, -0.34074097871780396, -0.24438118934631348, -0.6135406494140625, -0.8501601219177246, 0.3642255961894989, -0.2923896014690399, 0.8729691505432129, -0.4102112948894501, 1.7883996963500977, -0.639591634273529, 0.24130243062973022, 0.6911974549293518, 1.351304531097412, 0.051345907151699066, -0.00006002560257911682, 0.32395225763320923, 0.3050733804702759, 0.05372577905654907, 0.47693464159965515, 1.2030658721923828, 0.5961771607398987, 0.42794182896614075, 0.6293651461601257, -2.28444766998291, 1.3400241136550903, -1.0280612707138062, 0.11212285608053207, 1.4295238256454468, -1.0522657632827759, 0.3014961779117584, -1.7144675254821777, -0.05317471921443939, 0.5527358651161194, -2.3461432456970215, 0.2190098762512207, -1.268994927406311, -0.6150590181350708, 0.8763095736503601, 0.29213160276412964, -1.2678196430206299, 0.05985111743211746, -0.46423932909965515, 1.0280362367630005, 0.5702553987503052, 1.0409929752349854, -1.7761934995651245, 0.010820336639881134, -0.24005645513534546, 0.11600708216428757, -1.4625375270843506, -1.5873733758926392, 0.5720199346542358, 0.6234043836593628, 0.7442806363105774, -0.005824990104883909, 0.899999737739563, -1.1056487560272217, 0.8130146265029907, -1.054097056388855, -1.6179518699645996, -1.4739439487457275, -2.4878013134002686, -2.186295509338379, 0.7657783031463623, -0.47151151299476624, -0.6163634657859802, 1.901391863822937, -1.0406533479690552, -1.7620137929916382, 1.0548019409179688, 0.19505448639392853, 0.04879917949438095, 2.464773416519165, 0.26594120264053345, -0.7070253491401672, 0.28891170024871826, -0.751253068447113, 0.761065661907196, -0.2574254274368286, 1.466618299484253, 0.651788592338562, -0.9841546416282654, 1.5564608573913574, -0.47770217061042786, 0.5082535743713379, -0.6162193417549133, -0.45484083890914917, -0.8499099016189575, 0.25661948323249817, 1.8148276805877686, -0.3222910463809967, 1.5264443159103394, -0.3679916560649872, -1.561881422996521, -1.5472753047943115, 0.8892009854316711, 0.5016546845436096, -0.7941020131111145, 0.1898902952671051, -0.4716244637966156, 0.07399418950080872, -0.1310863345861435, 1.2271499633789062, 1.133439064025879, 0.5651133060455322, -0.4078601002693176, -0.8582862019538879, 0.2209363430738449, 0.010666079819202423, -0.8515781164169312, -1.8796416521072388, -0.3416481912136078, 0.2322651594877243, 0.5792484879493713, -1.213578462600708, 1.6968462467193604, 0.7952899932861328, 1.9694321155548096, 0.945353090763092, -0.1807725578546524, 1.4077954292297363, -0.014829268679022789, 1.736706018447876, -0.6399215459823608, 0.6977562308311462, -0.2716296315193176, -1.0733275413513184, 0.8611717820167542, -0.4421994686126709, -1.9858503341674805, -0.856492280960083, -0.9412949085235596, -0.07487883418798447, -0.6769028902053833, 0.9451861381530762, -0.291477233171463, -1.408259391784668, 0.10784143209457397, -0.7203468680381775, 0.0797734186053276, -1.2404950857162476, 0.15875539183616638, 0.7231391072273254, -0.6792557835578918, -0.08606413751840591, -0.20420077443122864, -1.2366878986358643, -0.4945445954799652, 0.29503899812698364, 1.9712022542953491, -0.6770907044410706, 0.9211047887802124, 0.9139028787612915, -0.6929861903190613, 0.1568513810634613, 0.2656461298465729, -0.30900201201438904, 0.7536860108375549, -0.9357568621635437, -0.45070770382881165, 1.1632249355316162, -0.107319675385952, -0.8481733202934265, 1.5521841049194336, 0.8515035510063171, -1.0351817607879639, -0.233085036277771, -0.28069770336151123, -0.858078122138977, 0.030262762680649757, -1.6094821691513062, -0.14865826070308685, 0.23963060975074768, -1.3882662057876587, -0.41865772008895874, -0.2296619564294815, 1.3612288236618042, -0.1856032758951187, 1.3234056234359741, -0.2726705074310303, -0.20339928567409515, -0.42827099561691284, -0.46629899740219116, 0.17461903393268585, -0.0384240597486496, -0.518719494342804, 0.15085889399051666, -0.9492180943489075, 0.34000837802886963, 1.4580473899841309, 0.34289467334747314, 0.1388271152973175, 0.48399198055267334, 1.0796360969543457, 0.3343435227870941, -0.12014462798833847, -0.9601628184318542, -1.6051524877548218, 1.9638676643371582, -1.399746298789978, 1.9989051818847656, 0.7999824285507202, -0.18964338302612305, -1.7804094552993774, -1.9149177074432373, 1.3066751956939697, 1.252246379852295, 2.2644400596618652, 0.5152211785316467, 0.3799803555011749, -0.8010177612304688, -0.7557099461555481, 0.28692829608917236, -1.0578922033309937, -0.6254528164863586, 0.0939767062664032, 2.279304027557373, 1.9272172451019287, -0.5510557293891907, -0.259935587644577, -0.9740030169487, 1.227928876876831, -0.1842413991689682, 0.21521595120429993, 2.0216562747955322, -0.3160721957683563, -0.9170457124710083, 1.2636655569076538, -2.3065333366394043, 0.20773738622665405, 2.0256497859954834, 0.31671446561813354, 0.12797114253044128, -1.4160181283950806, -0.6701872944831848, -0.3907430171966553, -0.38537320494651794, -1.3110013008117676, 0.562232255935669, -0.4020629823207855, -0.9874661564826965, -1.4659711122512817, 0.20811855792999268, -1.0236082077026367, -1.7815760374069214, 0.5190439820289612, 1.8852667808532715, 2.033928155899048, -0.8128268718719482, 1.369323492050171, -0.1927856057882309, 0.11782030016183853, 1.3290166854858398, 1.24754798412323, 2.966420888900757, 1.8897907733917236, -1.3213717937469482, 0.7928482294082642, -0.18151256442070007, -0.564012885093689, 1.3033013343811035, -1.109470009803772, 1.1599438190460205, -0.1684785634279251, -1.1948223114013672, -1.2716398239135742, 1.0746374130249023, 0.5536840558052063, 0.025447262451052666, -0.5356451272964478, 1.3275792598724365, 0.06476736068725586, 1.4055991172790527, 0.5184210538864136, -0.3681807219982147, 0.6286541223526001, -0.40215200185775757, -0.5189049243927002, 1.6358282566070557, 0.17075079679489136, -1.5484782457351685, -2.2937393188476562, -0.2766064405441284, -0.8369815945625305, -0.015923883765935898, -0.5502574443817139, -1.0605952739715576, 1.669654369354248, 0.43162408471107483, -1.3760371208190918, -0.2604654133319855, -0.38310304284095764, -0.4998898208141327, 2.7164785861968994, -1.2612146139144897, -0.037743471562862396, -1.0891048908233643, -0.48080798983573914, 1.7347493171691895, -1.1422629356384277, -0.08254657685756683, -1.1264346837997437, -0.5667216777801514, -1.3551193475723267, -0.5290509462356567, 0.09788856655359268, -0.9464831352233887, 0.7597975134849548, 0.015445355325937271, -1.0491877794265747, -0.4207629859447479, -0.8168641924858093, 0.9890503287315369, -0.1880335807800293, 0.24074238538742065, 1.8746631145477295, 0.3321388065814972, -0.4433949589729309, 0.7480250000953674, 1.062110424041748, 0.5712346434593201, -0.6878470182418823, 0.12804777920246124, -0.543612003326416, 0.2837531566619873, -1.389103651046753, 0.21042686700820923, -3.0247421264648438, 0.6706197261810303, -0.026168745011091232, -0.10600851476192474, -0.0629565417766571, -1.356776237487793, 1.1731783151626587, 2.560521125793457, -1.2990587949752808, 0.4233332872390747, 0.349956214427948, 0.9951168894767761, -1.625030517578125, 0.34405794739723206, -0.43949809670448303, 2.0622353553771973, 0.18008781969547272, 1.3648933172225952, -0.5886739492416382, -2.1246957778930664, 0.6627590656280518, -1.185035228729248, -1.0921704769134521, 0.7597436904907227, -0.8579139113426208, 0.2905519902706146, -1.546593189239502, -0.18144667148590088, -0.913629412651062, -1.2535901069641113, 0.7406615614891052, 0.13663573563098907, 0.4579947292804718, -0.6687488555908203, 0.44877931475639343, -2.0846378803253174, -1.347448468208313, -0.11296044290065765, -0.9244310855865479, 0.6236242055892944, -0.35130950808525085, 0.5132294297218323, -0.09739519655704498, 0.15150263905525208, 0.3594416677951813, 1.3793697357177734, 3.5038938522338867, 0.25402379035949707, 0.19334423542022705, -0.025362782180309296, -0.9553929567337036, 1.4843120574951172, 0.993528425693512, 0.024179255589842796, -0.4003596603870392, -0.9395132660865784, 1.3567670583724976, 1.9945311546325684, 1.0123400688171387, 0.07903022319078445, -0.8373409509658813, -0.6978415250778198, -0.009237196296453476, 0.33724308013916016, 0.4944482445716858, 0.8897159695625305, -0.005644597578793764, 0.054150328040122986, 1.430620551109314, 1.2255631685256958, -0.45546916127204895, 0.5535048246383667, -1.0384677648544312, -0.4993608593940735, 0.4745917320251465, 0.28655871748924255, -0.1112813651561737, 0.5399460792541504, -0.9905255436897278, -0.38626089692115784, -0.25096482038497925, -0.8705870509147644, -0.6924471855163574, -0.4403887987136841, -0.5121155977249146, 1.476740837097168, 0.08210742473602295, -0.4239436984062195, 0.013018632307648659, -0.7508713603019714, -0.19491533935070038, -1.0353834629058838, 0.21184860169887543, -0.11833266168832779, -0.04922813922166824, -0.2678832411766052, 1.759009838104248, -0.9707951545715332, -2.0755507946014404, 0.32939720153808594, 0.4133143723011017, -0.4583457112312317, 0.2598237693309784, 1.6858470439910889, 0.45691511034965515, 1.384565830230713, 1.165113091468811, 1.0633243322372437, -0.627937912940979, -1.2769092321395874, 0.6490042209625244, 0.953734815120697, -1.4759976863861084, 0.8987755179405212, -0.16904336214065552, -0.5189977288246155, 0.7429711222648621, 1.1971256732940674, 0.5612334609031677, -1.7984495162963867, 0.8720776438713074, -0.9116983413696289, 0.8493525981903076, 0.779058575630188, 0.7573797106742859, 0.2551914155483246, 0.9291055798530579, -1.202373743057251, -1.1064718961715698, -0.8490061163902283, -0.678699791431427, 1.736769437789917, -0.2446179986000061, 0.641097366809845, -0.1572067141532898, -1.191609501838684, -0.058585479855537415, 0.7444396615028381, 0.40421757102012634, -0.2899462580680847, 0.9192745685577393, -0.6484081745147705, -0.9779569506645203, -1.2715299129486084, -0.3795086741447449, -0.981359601020813, -0.9084261655807495, 0.9788093566894531, 0.8256823420524597, 0.4547174572944641, 1.876319169998169, 0.5219336748123169, 0.32734066247940063, -2.6359477043151855, 0.9832714200019836, 0.23904220759868622, 0.1426282376050949, 0.850102424621582, 0.252360463142395, 1.1550259590148926, -0.08528030663728714, 0.470926970243454, -2.2912564277648926, 2.2229926586151123, -0.16520245373249054, 0.5642614960670471, -0.00044496264308691025, -0.26783013343811035, 1.1507682800292969, 0.6399068832397461, 0.5059303045272827, -1.1040210723876953, 0.8068404197692871, -0.4762240946292877, 1.243310570716858, 0.9690783619880676, -0.8469411730766296, -0.05087486654520035, 1.4358404874801636, 0.5502551198005676, -0.48815199732780457, -0.8583862781524658, -0.7323701977729797, 0.841860294342041, 1.5494718551635742, -0.02625143527984619, -0.05716411769390106, 0.8089308142662048, 0.7701876163482666, -1.2107213735580444, 0.10767754167318344, -0.7592335939407349, -0.6335394382476807, 1.7169426679611206, 2.1277480125427246, -0.11823395639657974, -0.0434587225317955, -0.7129464745521545, -1.0574572086334229, 0.7440809607505798, -0.035437535494565964, 0.0014893943443894386, 0.7577821612358093, -0.5096496343612671, 1.1097509860992432, 0.6535227298736572, 0.949076771736145, 0.05652397871017456, 0.41704654693603516, 0.3245188593864441, -0.2790435552597046, -1.3133373260498047, -0.4361012279987335, -1.2939064502716064, -2.5188045501708984, 0.4195985198020935, -0.2936021089553833, -1.3813409805297852, 0.016751043498516083, -1.1319297552108765, 0.9744929075241089, -0.6139905452728271, -1.0192192792892456, -1.4261020421981812, 0.24176141619682312, -0.11189717799425125, 0.8942664861679077, -1.7298802137374878, -0.08729782700538635, 1.3642631769180298, 0.7636468410491943, -0.5656160116195679, 1.0158648490905762, 0.22971150279045105, 1.1386427879333496, 0.826694905757904, -0.32853493094444275, 0.6156691312789917, 0.12115336209535599, -1.5177909135818481, 0.4863138794898987, 1.0489643812179565, 0.2146763801574707, 1.56705641746521, -0.28081291913986206, 0.12899313867092133, 0.5022717714309692, -0.7106308937072754, -0.42111286520957947, -0.3972039520740509, 0.7841724753379822, 0.08311014622449875, -1.0385228395462036, -0.05844852328300476, -0.1173623651266098, -0.2240915149450302, 0.23795413970947266, -1.5910555124282837, -0.24474941194057465, -0.3276003897190094, -0.5516221523284912, -1.3397481441497803, -0.036502912640571594, 1.4314525127410889, -0.8663206696510315, -0.2437785267829895, 0.47883281111717224, 0.32286161184310913, 0.6233431696891785, 0.7609319090843201, -0.7067739963531494, -0.33989888429641724, -0.40584683418273926, -0.23968856036663055, 0.4179353415966034, 1.229302167892456, -0.10139847546815872, -1.0645626783370972, 0.7105113863945007, -0.3597099483013153, 0.08308874815702438, 2.0022730827331543, 0.07183140516281128, -0.771820068359375, 0.2936352491378784, -0.6502829194068909, 1.8539974689483643, 1.5798498392105103, 1.3395991325378418, -0.13016057014465332, -0.8097863793373108, 0.5707165002822876, -0.2569812536239624, -0.4121132791042328, 0.8437661528587341, 0.4648345410823822, -0.18353170156478882, -1.285258173942566, 0.49721091985702515, 1.3676245212554932, -0.9235372543334961, -0.7755676507949829, 0.05966952443122864, -0.9264988303184509, 1.110338807106018, 0.6732580065727234, 0.27885982394218445, 0.2882063090801239, 1.5612391233444214, 0.6774235367774963, -0.414711058139801, 0.43063926696777344, 0.542551577091217, -0.24724861979484558, -2.084192991256714, -0.9913825392723083, 0.3526567220687866, -0.45313358306884766, -1.5412956476211548, 1.290513038635254, -1.1931005716323853, -0.9225025177001953, 0.4688178300857544, 0.06450298428535461, 1.3813103437423706, 0.22788450121879578, 1.731192708015442, 2.0813231468200684, 0.8879619836807251, 0.3132009208202362, 1.418756127357483, -0.03927887976169586, -0.4734797775745392, 1.6630756855010986, -0.4571170210838318, 0.56541907787323, 1.0104039907455444, -0.40756672620773315, -1.08439040184021, -0.8879997730255127, -1.0906286239624023, -0.5277127623558044, 1.3084022998809814, 0.16679278016090393, -1.2149658203125, 0.13275757431983948, 1.5084335803985596, 0.2469811737537384, -0.23953400552272797, 0.6740267872810364, 0.5072828531265259, -0.7657285332679749, 0.011180637404322624, -0.8811352252960205, 0.4831782579421997, -0.18895958364009857, -0.2554919123649597, 0.1841074526309967, 0.4750743806362152, 1.1995187997817993, -0.21221211552619934, 0.18187125027179718, 1.2325416803359985, -1.267473578453064, 1.47747802734375, -0.5655601024627686, 0.22758810222148895, -2.509829044342041, 1.3955825567245483, -0.7496377229690552, 1.9420602321624756, -2.6279296875, 0.37988537549972534, -0.6060149669647217, -0.4506596028804779, 0.25540491938591003, -0.49162542819976807, 0.07650364935398102, -0.09203138947486877, -1.084431529045105, 0.06850384920835495, -0.837051272392273, 0.6802087426185608, 1.1975935697555542, 1.4719512462615967, -1.088544249534607, -0.19190865755081177, -1.7647923231124878, -0.1263723224401474, -0.8895016312599182, 0.4113689363002777, -2.1010019779205322, -0.11548888683319092, -2.001539945602417, -2.39715838432312, -1.3149648904800415, -0.7724117636680603, 1.032104253768921, 0.1601359099149704, -0.7806206941604614, 1.0267390012741089, -0.23618417978286743, -1.7408396005630493, 1.100901484489441, -2.054957389831543 ]
https://github.com/huggingface/datasets/issues/3952
Checksum error for glue sst2, stsb, rte etc datasets
Hi, @ravindra-ut. I'm sorry but I can't reproduce your problem: ```python In [1]: from datasets import load_dataset In [2]: ds = load_dataset("glue", "sst2") Downloading builder script: 28.8kB [00:00, 11.6MB/s] Downloading metadata: 28.7kB [00:00, 12.9MB/s] Downloading and preparing dataset glue/sst2 (download: 7.09 MiB, generated: 4.81 MiB, post-processed: Unknown size, total: 11.90 MiB) to .../.cache/huggingface/datasets/glue/sst2/1.0.0/dacbe3125aa31d7f70367a07a8a9e72a5a0bfeb5fc42e75c9db75b96da6053ad... Downloading data: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 7.44M/7.44M [00:01<00:00, 5.82MB/s] Dataset glue downloaded and prepared to .../.cache/huggingface/datasets/glue/sst2/1.0.0/dacbe3125aa31d7f70367a07a8a9e72a5a0bfeb5fc42e75c9db75b96da6053ad. Subsequent calls will reuse this data. 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 3/3 [00:00<00:00, 895.96it/s] In [3]: ds Out[2]: DatasetDict({ train: Dataset({ features: ['sentence', 'label', 'idx'], num_rows: 67349 }) validation: Dataset({ features: ['sentence', 'label', 'idx'], num_rows: 872 }) test: Dataset({ features: ['sentence', 'label', 'idx'], num_rows: 1821 }) }) ``` Moreover, I see in your traceback that your error was for an URL at https://firebasestorage.googleapis.com However, the URLs were updated on Sep 16, 2020 (`datasets` version 1.0.2) to https://dl.fbaipublicfiles.com: https://github.com/huggingface/datasets/commit/2f03041a21c03abaececb911760c3fe4f420c229 Could you please try to update `datasets` ```shell pip install -U datasets ``` and then force redownload ```python ds = load_dataset("glue", "sst2", download_mode="force_redownload") ``` to update the cache? Please, feel free to reopen this issue if the problem persists.
## Describe the bug Checksum error for glue sst2, stsb, rte etc datasets ## Steps to reproduce the bug ```python >>> nlp.load_dataset('glue', 'sst2') Downloading and preparing dataset glue/sst2 (download: 7.09 MiB, generated: 4.81 MiB, post-processed: Unknown sizetotal: 11.90 MiB) to Downloading: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 73.0/73.0 [00:00<00:00, 18.2kB/s] Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Python/3.8/lib/python/site-packages/nlp/load.py", line 548, in load_dataset builder_instance.download_and_prepare( File "/Library/Python/3.8/lib/python/site-packages/nlp/builder.py", line 462, in download_and_prepare self._download_and_prepare( File "/Library/Python/3.8/lib/python/site-packages/nlp/builder.py", line 521, in _download_and_prepare verify_checksums( File "/Library/Python/3.8/lib/python/site-packages/nlp/utils/info_utils.py", line 38, in verify_checksums raise NonMatchingChecksumError(error_msg + str(bad_urls)) nlp.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://firebasestorage.googleapis.com/v0/b/mtl-sentence-representations.appspot.com/o/data%2FSST-2.zip?alt=media&token=aabc5f6b-e466-44a2-b9b4-cf6337f84ac8'] ``` ## Expected results dataset load should succeed without checksum error. ## Actual results ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Python/3.8/lib/python/site-packages/nlp/load.py", line 548, in load_dataset builder_instance.download_and_prepare( File "/Library/Python/3.8/lib/python/site-packages/nlp/builder.py", line 462, in download_and_prepare self._download_and_prepare( File "/Library/Python/3.8/lib/python/site-packages/nlp/builder.py", line 521, in _download_and_prepare verify_checksums( File "/Library/Python/3.8/lib/python/site-packages/nlp/utils/info_utils.py", line 38, in verify_checksums raise NonMatchingChecksumError(error_msg + str(bad_urls)) nlp.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://firebasestorage.googleapis.com/v0/b/mtl-sentence-representations.appspot.com/o/data%2FSST-2.zip?alt=media&token=aabc5f6b-e466-44a2-b9b4-cf6337f84ac8'] ``` ## Environment info - `datasets` version: '1.18.3' - Platform: Mac OS - Python version: Python 3.8.9 - PyArrow version: '7.0.0'
880
179
Checksum error for glue sst2, stsb, rte etc datasets ## Describe the bug Checksum error for glue sst2, stsb, rte etc datasets ## Steps to reproduce the bug ```python >>> nlp.load_dataset('glue', 'sst2') Downloading and preparing dataset glue/sst2 (download: 7.09 MiB, generated: 4.81 MiB, post-processed: Unknown sizetotal: 11.90 MiB) to Downloading: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 73.0/73.0 [00:00<00:00, 18.2kB/s] Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Python/3.8/lib/python/site-packages/nlp/load.py", line 548, in load_dataset builder_instance.download_and_prepare( File "/Library/Python/3.8/lib/python/site-packages/nlp/builder.py", line 462, in download_and_prepare self._download_and_prepare( File "/Library/Python/3.8/lib/python/site-packages/nlp/builder.py", line 521, in _download_and_prepare verify_checksums( File "/Library/Python/3.8/lib/python/site-packages/nlp/utils/info_utils.py", line 38, in verify_checksums raise NonMatchingChecksumError(error_msg + str(bad_urls)) nlp.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://firebasestorage.googleapis.com/v0/b/mtl-sentence-representations.appspot.com/o/data%2FSST-2.zip?alt=media&token=aabc5f6b-e466-44a2-b9b4-cf6337f84ac8'] ``` ## Expected results dataset load should succeed without checksum error. ## Actual results ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Python/3.8/lib/python/site-packages/nlp/load.py", line 548, in load_dataset builder_instance.download_and_prepare( File "/Library/Python/3.8/lib/python/site-packages/nlp/builder.py", line 462, in download_and_prepare self._download_and_prepare( File "/Library/Python/3.8/lib/python/site-packages/nlp/builder.py", line 521, in _download_and_prepare verify_checksums( File "/Library/Python/3.8/lib/python/site-packages/nlp/utils/info_utils.py", line 38, in verify_checksums raise NonMatchingChecksumError(error_msg + str(bad_urls)) nlp.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://firebasestorage.googleapis.com/v0/b/mtl-sentence-representations.appspot.com/o/data%2FSST-2.zip?alt=media&token=aabc5f6b-e466-44a2-b9b4-cf6337f84ac8'] ``` ## Environment info - `datasets` version: '1.18.3' - Platform: Mac OS - Python version: Python 3.8.9 - PyArrow version: '7.0.0' Hi, @ravindra-ut. I'm sorry but I can't reproduce your problem: ```python In [1]: from datasets import load_dataset In [2]: ds = load_dataset("glue", "sst2") Downloading builder script: 28.8kB [00:00, 11.6MB/s] Downloading metadata: 28.7kB [00:00, 12.9MB/s] Downloading and preparing dataset glue/sst2 (download: 7.09 MiB, generated: 4.81 MiB, post-processed: Unknown size, total: 11.90 MiB) to .../.cache/huggingface/datasets/glue/sst2/1.0.0/dacbe3125aa31d7f70367a07a8a9e72a5a0bfeb5fc42e75c9db75b96da6053ad... Downloading data: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 7.44M/7.44M [00:01<00:00, 5.82MB/s] Dataset glue downloaded and prepared to .../.cache/huggingface/datasets/glue/sst2/1.0.0/dacbe3125aa31d7f70367a07a8a9e72a5a0bfeb5fc42e75c9db75b96da6053ad. Subsequent calls will reuse this data. 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 3/3 [00:00<00:00, 895.96it/s] In [3]: ds Out[2]: DatasetDict({ train: Dataset({ features: ['sentence', 'label', 'idx'], num_rows: 67349 }) validation: Dataset({ features: ['sentence', 'label', 'idx'], num_rows: 872 }) test: Dataset({ features: ['sentence', 'label', 'idx'], num_rows: 1821 }) }) ``` Moreover, I see in your traceback that your error was for an URL at https://firebasestorage.googleapis.com However, the URLs were updated on Sep 16, 2020 (`datasets` version 1.0.2) to https://dl.fbaipublicfiles.com: https://github.com/huggingface/datasets/commit/2f03041a21c03abaececb911760c3fe4f420c229 Could you please try to update `datasets` ```shell pip install -U datasets ``` and then force redownload ```python ds = load_dataset("glue", "sst2", download_mode="force_redownload") ``` to update the cache? Please, feel free to reopen this issue if the problem persists.
[ -1.2285505533218384, -0.8707451820373535, -0.6638529300689697, 1.4192416667938232, -0.162251815199852, -1.2077122926712036, 0.13093575835227966, -1.019928216934204, 1.4533547163009644, -0.7234539985656738, 0.2441585659980774, -1.644726276397705, -0.10026387125253677, -0.5382788777351379, -0.638321042060852, -0.8942242860794067, -0.33853626251220703, -0.8598085641860962, 1.0351697206497192, 2.5493438243865967, 1.3058233261108398, -1.357267141342163, 2.744734525680542, 0.6529224514961243, -0.2813430428504944, -1.0281258821487427, 0.5772191286087036, 0.031287625432014465, -1.2776356935501099, -0.3974648714065552, -0.9516149759292603, -0.009785476140677929, -0.5893178582191467, -0.35739588737487793, 0.10245150327682495, 0.4559943377971649, -0.24477103352546692, -0.3097939193248749, -0.6191902756690979, -0.7304332852363586, 0.5826714634895325, -0.37323909997940063, 0.9238888621330261, -0.2682918310165405, 1.7322230339050293, -0.5925077795982361, 0.40055274963378906, 0.6986420750617981, 1.2902361154556274, 0.1653168499469757, 0.13375231623649597, 0.29076942801475525, 0.35233625769615173, 0.06487559527158737, 0.5296925902366638, 1.2248218059539795, 0.5851670503616333, 0.44774866104125977, 0.6494947671890259, -2.212024211883545, 1.2317261695861816, -0.9469737410545349, 0.2976352870464325, 1.331275224685669, -0.8766752481460571, 0.3846020996570587, -1.8353655338287354, -0.05435949191451073, 0.6258692145347595, -2.2818987369537354, 0.2620481550693512, -1.3469399213790894, -0.5601006150245667, 0.8801018595695496, 0.37013766169548035, -1.2106431722640991, 0.1731117218732834, -0.5119573473930359, 1.1070243120193481, 0.3960101008415222, 1.0805659294128418, -1.6542097330093384, -0.0822824016213417, -0.147255539894104, 0.12067201733589172, -1.2816698551177979, -1.6685463190078735, 0.5697635412216187, 0.6061476469039917, 0.6273996829986572, -0.106636181473732, 0.9608017206192017, -1.134194254875183, 0.8046171069145203, -0.9659791588783264, -1.648587942123413, -1.4448899030685425, -2.401339054107666, -2.3029470443725586, 0.7869041562080383, -0.4917694628238678, -0.4350506663322449, 1.9863861799240112, -0.9584208130836487, -1.8300265073776245, 1.0796293020248413, 0.31066372990608215, -0.0029880553483963013, 2.3231096267700195, 0.1892475038766861, -0.8174406886100769, 0.43269824981689453, -0.8289831280708313, 0.8303040266036987, -0.2974150776863098, 1.3058160543441772, 0.5093263387680054, -0.9657198190689087, 1.5827093124389648, -0.4890802502632141, 0.541206955909729, -0.6337740421295166, -0.4869387447834015, -0.7951651811599731, 0.2594434916973114, 1.893226981163025, -0.3658725619316101, 1.5726861953735352, -0.23986661434173584, -1.5758342742919922, -1.5334265232086182, 0.8525620698928833, 0.5266766548156738, -0.8537514209747314, 0.03276590630412102, -0.4468724727630615, 0.20943813025951385, -0.012205766513943672, 1.1263883113861084, 1.2531280517578125, 0.7823774814605713, -0.2894657850265503, -0.8358880281448364, 0.22878454625606537, -0.18198086321353912, -0.6880611777305603, -1.8376893997192383, -0.2777343690395355, 0.14968881011009216, 0.6569529175758362, -1.1886159181594849, 1.8132344484329224, 0.8695018887519836, 1.968988299369812, 0.9182897806167603, -0.4786566197872162, 1.5427345037460327, -0.004273216240108013, 1.8909724950790405, -0.5576163530349731, 0.632389485836029, -0.4117155969142914, -1.1289105415344238, 0.845669150352478, -0.2993677258491516, -1.9693996906280518, -0.7179022431373596, -0.7718105316162109, -0.25735872983932495, -0.7622680068016052, 0.8714380860328674, -0.32880425453186035, -1.4827704429626465, 0.09307418763637543, -0.726803719997406, 0.11926878988742828, -1.2219346761703491, 0.2333221733570099, 0.7304386496543884, -0.6715490818023682, -0.026636406779289246, -0.2845926582813263, -1.2818504571914673, -0.47955965995788574, 0.2938847243785858, 1.8961443901062012, -0.6021172404289246, 0.9755239486694336, 1.0000754594802856, -0.7281924486160278, 0.12415099143981934, 0.24786728620529175, -0.31299155950546265, 0.7916802763938904, -1.0941522121429443, -0.47529080510139465, 1.1809718608856201, -0.20336993038654327, -0.6480897068977356, 1.3559620380401611, 0.8311690092086792, -1.0558291673660278, -0.27708375453948975, -0.18456852436065674, -0.7752755880355835, 0.023466311395168304, -1.5466032028198242, -0.18183518946170807, 0.43972116708755493, -1.4919512271881104, -0.3991512656211853, -0.20305532217025757, 1.3576064109802246, -0.1920485496520996, 1.5137847661972046, -0.29578495025634766, -0.14824335277080536, -0.3403581380844116, -0.4787822365760803, 0.22615601122379303, -0.19739051163196564, -0.5401058197021484, 0.18182213604450226, -0.8315821290016174, 0.2660375237464905, 1.4618854522705078, 0.26173505187034607, 0.054774098098278046, 0.45642367005348206, 1.1221281290054321, 0.4359784424304962, -0.06645500659942627, -0.9174864888191223, -1.4993553161621094, 1.9775829315185547, -1.4793622493743896, 1.9357898235321045, 0.8507331609725952, -0.041190434247255325, -1.8259774446487427, -1.9013971090316772, 1.2283686399459839, 1.1184329986572266, 2.4439315795898438, 0.5149605870246887, 0.4921000003814697, -0.8321762681007385, -0.7109434008598328, 0.3555701971054077, -0.9939135313034058, -0.6694180965423584, 0.1366414576768875, 2.3474693298339844, 1.8037196397781372, -0.5677992105484009, -0.2514081597328186, -0.906598687171936, 1.3314684629440308, -0.1615479737520218, 0.2568252980709076, 2.0399882793426514, -0.2955220937728882, -1.0503394603729248, 1.3189493417739868, -2.366636276245117, 0.25209841132164, 2.073723554611206, 0.26651903986930847, 0.13220815360546112, -1.4243830442428589, -0.6857448220252991, -0.25246578454971313, -0.4537150263786316, -1.2826077938079834, 0.6031994819641113, -0.23099200427532196, -0.8436293601989746, -1.4757940769195557, 0.03548826277256012, -1.1835651397705078, -1.808436632156372, 0.2642025947570801, 1.913787841796875, 2.056302785873413, -0.8139200806617737, 1.3952229022979736, -0.2874676287174225, 0.049468446522951126, 1.2585039138793945, 1.3056834936141968, 3.1249148845672607, 1.9056127071380615, -1.3011536598205566, 0.7636032104492188, -0.2334381490945816, -0.4748079478740692, 1.1068390607833862, -1.0949194431304932, 1.1246198415756226, -0.238521546125412, -1.2260700464248657, -1.1969289779663086, 1.0230579376220703, 0.47467055916786194, 0.012690781615674496, -0.43695613741874695, 1.2364319562911987, 0.1497737169265747, 1.3806487321853638, 0.6255924105644226, -0.3498210906982422, 0.5843678116798401, -0.368865042924881, -0.5072790384292603, 1.704535722732544, 0.20764562487602234, -1.433221697807312, -2.3676724433898926, -0.3005446791648865, -0.9681348204612732, -0.027685705572366714, -0.6094153523445129, -1.080306053161621, 1.6131352186203003, 0.4089715778827667, -1.214410424232483, -0.24079538881778717, -0.34594011306762695, -0.5644097328186035, 2.5960559844970703, -1.3392081260681152, -0.09477461129426956, -0.9449440240859985, -0.5570200085639954, 1.5628139972686768, -1.206683874130249, -0.21078915894031525, -1.0221312046051025, -0.5549921989440918, -1.292359471321106, -0.5264378190040588, 0.022746454924345016, -0.8936676979064941, 0.7225319743156433, 0.16822104156017303, -1.1148576736450195, -0.32529178261756897, -0.8440393209457397, 1.0286006927490234, -0.03420113027095795, 0.23522402346134186, 1.868839979171753, 0.32578617334365845, -0.3395021855831146, 0.7673214673995972, 1.1680989265441895, 0.5897412300109863, -0.6790116429328918, 0.0713459849357605, -0.7267616391181946, 0.3583747148513794, -1.3810145854949951, 0.1880911886692047, -2.9593698978424072, 0.7727878093719482, -0.17620068788528442, -0.11932820826768875, -0.08898258209228516, -1.363474726676941, 1.0834022760391235, 2.589972496032715, -1.1877877712249756, 0.4860132336616516, 0.38632816076278687, 1.2027082443237305, -1.5904229879379272, 0.2430517077445984, -0.4375095069408417, 2.111402988433838, 0.19993312656879425, 1.1915810108184814, -0.5069568753242493, -2.272145986557007, 0.5703598856925964, -1.2338618040084839, -1.0626115798950195, 0.8174342513084412, -0.8673896193504333, 0.19908425211906433, -1.4700596332550049, -0.1917298138141632, -0.9132100343704224, -1.24398672580719, 0.6749556064605713, 0.05291219800710678, 0.43469393253326416, -0.5531036853790283, 0.3742857277393341, -2.1840972900390625, -1.3984266519546509, -0.17614910006523132, -0.9699525237083435, 0.5094471573829651, -0.3385971188545227, 0.6758319735527039, -0.049191512167453766, 0.0543842539191246, 0.24369284510612488, 1.4393125772476196, 3.4208438396453857, 0.07397042214870453, 0.2384635955095291, -0.13895025849342346, -1.0570331811904907, 1.4447983503341675, 0.9224243760108948, -0.16502395272254944, -0.6469279527664185, -0.9948302507400513, 1.2974778413772583, 2.0161590576171875, 1.0825104713439941, 0.12916648387908936, -0.8181574940681458, -0.7140569090843201, 0.04248933121562004, 0.1732596755027771, 0.5742824673652649, 0.9683786630630493, -0.027267497032880783, 0.11254633963108063, 1.3399771451950073, 1.2069792747497559, -0.29561734199523926, 0.3640185594558716, -0.9423688054084778, -0.4480729103088379, 0.4037766754627228, 0.13875813782215118, 0.027793917804956436, 0.4467446208000183, -1.0857051610946655, -0.3194512128829956, -0.34267938137054443, -0.8749748468399048, -0.7290440797805786, -0.4056445360183716, -0.43297332525253296, 1.5900726318359375, 0.12609809637069702, -0.5283347368240356, 0.08450891822576523, -0.662082850933075, -0.16067282855510712, -1.1421623229980469, 0.20528289675712585, -0.15030129253864288, -0.026092592626810074, -0.13536453247070312, 1.7162415981292725, -0.912691056728363, -2.120130777359009, 0.18099911510944366, 0.31791287660598755, -0.34365114569664, 0.18829676508903503, 1.7602298259735107, 0.5707418322563171, 1.3336108922958374, 1.262757420539856, 0.9881930351257324, -0.5840350389480591, -1.2455006837844849, 0.7913509607315063, 1.0018162727355957, -1.3677093982696533, 0.8803754448890686, -0.15397752821445465, -0.5231164693832397, 0.6707797050476074, 1.2874077558517456, 0.37311118841171265, -2.0852084159851074, 0.902327299118042, -0.9324567914009094, 0.7326375842094421, 0.6895659565925598, 0.7141832709312439, 0.20598344504833221, 0.8374290466308594, -1.2416901588439941, -1.0676790475845337, -0.6512430310249329, -0.6375146508216858, 1.9538708925247192, -0.24074608087539673, 0.4986899495124817, -0.16661964356899261, -1.1953572034835815, -0.13432496786117554, 0.7508300542831421, 0.3476269543170929, -0.4109438955783844, 0.9011475443840027, -0.6462269425392151, -0.997294008731842, -1.2864577770233154, -0.4255223870277405, -1.025665044784546, -0.8954475522041321, 1.0292527675628662, 0.7970106601715088, 0.4994446635246277, 1.9209425449371338, 0.598119854927063, 0.22916929423809052, -2.665158987045288, 0.8695194125175476, 0.25645509362220764, -0.04982658103108406, 0.9613842964172363, 0.2413296103477478, 1.1453238725662231, -0.031614020466804504, 0.5593248605728149, -2.344571590423584, 2.2269365787506104, -0.1937076896429062, 0.7150897979736328, 0.013769716955721378, -0.09431348741054535, 1.0851624011993408, 0.5246018171310425, 0.6055045127868652, -1.076583743095398, 0.6682999134063721, -0.5089825391769409, 1.095907211303711, 0.9906957149505615, -0.905994176864624, 0.035715408623218536, 1.3899770975112915, 0.47350749373435974, -0.46637076139450073, -0.93406742811203, -0.8431050181388855, 0.9352430105209351, 1.7179207801818848, -0.10059969127178192, 0.04461713135242462, 0.7782480716705322, 0.6481229662895203, -1.2656067609786987, 0.01490116585046053, -0.6841062903404236, -0.6102137565612793, 1.7243962287902832, 2.0230929851531982, -0.10855060070753098, -0.22155971825122833, -0.7932501435279846, -1.4212199449539185, 0.7602101564407349, -0.08179613947868347, 0.13577568531036377, 0.6788263916969299, -0.7015135884284973, 1.0801202058792114, 0.6384963989257812, 1.014648675918579, 0.07037435472011566, 0.2993849515914917, 0.38480156660079956, -0.37241798639297485, -1.1469107866287231, -0.36145979166030884, -1.1329203844070435, -2.5716817378997803, 0.4688093364238739, -0.2320156991481781, -1.439565658569336, 0.019660040736198425, -0.9762012362480164, 0.8582716584205627, -0.6030312180519104, -1.0678932666778564, -1.4310665130615234, 0.3724183440208435, -0.14096778631210327, 0.9596365690231323, -1.686519742012024, -0.12930142879486084, 1.2779583930969238, 0.8978514075279236, -0.5644614100456238, 1.0401718616485596, 0.31416434049606323, 0.9978394508361816, 0.7658030390739441, -0.3561726212501526, 0.624238908290863, 0.02908722683787346, -1.339206337928772, 0.47556740045547485, 1.2205193042755127, 0.17295539379119873, 1.4228841066360474, -0.474722683429718, 0.09728813171386719, 0.439649373292923, -0.5931333899497986, -0.5163694024085999, -0.39726558327674866, 0.6946650743484497, 0.009424871765077114, -1.0357128381729126, -0.11721184849739075, -0.07658997178077698, -0.2430749237537384, 0.19232293963432312, -1.432144045829773, -0.2460525929927826, -0.41868236660957336, -0.4590425491333008, -1.3416666984558105, -0.018273353576660156, 1.3230078220367432, -0.765681266784668, -0.19138121604919434, 0.4520842134952545, 0.3617709279060364, 0.6045352816581726, 0.5817381739616394, -0.6766388416290283, -0.3151905834674835, -0.2935393452644348, -0.3608337938785553, 0.2980460822582245, 1.2950870990753174, -0.14059551060199738, -0.9640579223632812, 0.6691765785217285, -0.3385443091392517, 0.1771835833787918, 2.0019900798797607, 0.01638825610280037, -0.7072415351867676, 0.31688523292541504, -0.6735560894012451, 1.729487419128418, 1.7396563291549683, 1.242732048034668, -0.10982663184404373, -0.8012466430664062, 0.5514564514160156, -0.2987056076526642, -0.3087535500526428, 0.8583503365516663, 0.4121721088886261, -0.23025377094745636, -1.4770822525024414, 0.6401904225349426, 1.3342288732528687, -0.8836407661437988, -0.7421299815177917, 0.06809958815574646, -0.8932942748069763, 1.1854172945022583, 0.6233980655670166, 0.38853615522384644, 0.22029918432235718, 1.5753049850463867, 0.7578786015510559, -0.5077946186065674, 0.5430037975311279, 0.5056269764900208, -0.2393573820590973, -2.1568353176116943, -1.1173477172851562, 0.3315241038799286, -0.36943870782852173, -1.6285860538482666, 1.3656853437423706, -1.1305835247039795, -0.9874993562698364, 0.5360092520713806, 0.10997677594423294, 1.3402882814407349, 0.37558412551879883, 1.7125781774520874, 2.116318702697754, 0.9192265272140503, 0.3364086449146271, 1.2366122007369995, -0.11818642169237137, -0.47831395268440247, 1.8040006160736084, -0.43780946731567383, 0.46608054637908936, 1.0652048587799072, -0.41094890236854553, -1.107506513595581, -0.8084077835083008, -1.1980400085449219, -0.6321573257446289, 1.2095063924789429, 0.11917948722839355, -1.0728673934936523, 0.23211877048015594, 1.5956071615219116, 0.10140974074602127, -0.24783039093017578, 0.7635509967803955, 0.4533160924911499, -0.7736062407493591, -0.06009368970990181, -0.8926650285720825, 0.45921841263771057, -0.1522710919380188, -0.3114432394504547, 0.22954970598220825, 0.5458072423934937, 1.3432388305664062, -0.019679423421621323, 0.10153953731060028, 1.1251076459884644, -1.3749574422836304, 1.5100955963134766, -0.5912474393844604, 0.2792234420776367, -2.408106565475464, 1.3685683012008667, -0.7870262861251831, 1.9445339441299438, -2.5533034801483154, 0.44440481066703796, -0.5481982231140137, -0.41185590624809265, 0.25969064235687256, -0.3985537886619568, 0.1322009563446045, -0.17121917009353638, -0.9898397326469421, -0.10101322829723358, -0.7347056269645691, 0.6226385235786438, 1.1372275352478027, 1.4061675071716309, -1.1206505298614502, -0.25103703141212463, -1.696750521659851, -0.13210031390190125, -0.783720850944519, 0.21739017963409424, -1.987044334411621, -0.19274809956550598, -1.9603499174118042, -2.286379337310791, -1.3401260375976562, -0.8949986100196838, 1.0610460042953491, 0.2137977033853531, -0.8861774206161499, 1.1916886568069458, -0.3340924382209778, -1.8304767608642578, 1.1943846940994263, -2.177943706512451 ]
https://github.com/huggingface/datasets/issues/3951
Forked streaming datasets try to `open` data urls rather than use network
Thanks for reporting this second issue as well. We definitely want to make streaming datasets fully working in a distributed setup and with the best performance. Right now it only supports single process. In this issue it seems that the streaming capabilities that we offer to dataset builders are not transferred to the forked process (so it fails to open remote files and start streaming data from them). In particular `open` is supposed to be mocked by our `xopen` function that is an extended open that supports remote files. Let me try to fix this
## Describe the bug Building on #3950, if you bypass the pickling problem you still can't use the dataset. Somehow something gets confused and the forked processes try to `open` urls rather than anything else. ## Steps to reproduce the bug ```python from multiprocessing import freeze_support import transformers from transformers import Trainer, AutoModelForCausalLM, TrainingArguments import datasets import torch.utils.data # work around #3950 class TorchIterableDataset(datasets.IterableDataset, torch.utils.data.IterableDataset): pass def _ensure_format(v: datasets.IterableDataset) -> datasets.IterableDataset: return TorchIterableDataset(v._ex_iterable, v.info, v.split, "torch", v._shuffling) if __name__ == '__main__': freeze_support() ds = datasets.load_dataset('oscar', "unshuffled_deduplicated_en", split='train', streaming=True) ds = _ensure_format(ds) model = AutoModelForCausalLM.from_pretrained("distilgpt2") Trainer(model, train_dataset=ds, args=TrainingArguments("out", max_steps=1000, dataloader_num_workers=4)).train() ``` ## Expected results I'd expect the dataset to load the url correctly and produce examples. ## Actual results ``` warnings.warn( ***** Running training ***** Num examples = 8000 Num Epochs = 9223372036854775807 Instantaneous batch size per device = 8 Total train batch size (w. parallel, distributed & accumulation) = 8 Gradient Accumulation steps = 1 Total optimization steps = 1000 0%| | 0/1000 [00:00<?, ?it/s]Traceback (most recent call last): File "/Users/dlwh/src/mistral/src/stream_fork_crash.py", line 22, in <module> Trainer(model, train_dataset=ds, args=TrainingArguments("out", max_steps=1000, dataloader_num_workers=4)).train() File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/transformers/trainer.py", line 1339, in train for step, inputs in enumerate(epoch_iterator): File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 521, in __next__ data = self._next_data() File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1203, in _next_data return self._process_data(data) File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1229, in _process_data data.reraise() File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/torch/_utils.py", line 434, in reraise raise exception FileNotFoundError: Caught FileNotFoundError in DataLoader worker process 0. Original Traceback (most recent call last): File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/torch/utils/data/_utils/worker.py", line 287, in _worker_loop data = fetcher.fetch(index) File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 32, in fetch data.append(next(self.dataset_iter)) File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/datasets/iterable_dataset.py", line 497, in __iter__ for key, example in self._iter(): File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/datasets/iterable_dataset.py", line 494, in _iter yield from ex_iterable File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/datasets/iterable_dataset.py", line 87, in __iter__ yield from self.generate_examples_fn(**self.kwargs) File "/Users/dlwh/.cache/huggingface/modules/datasets_modules/datasets/oscar/84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2/oscar.py", line 358, in _generate_examples with gzip.open(open(filepath, "rb"), "rt", encoding="utf-8") as f: FileNotFoundError: [Errno 2] No such file or directory: 'https://s3.amazonaws.com/datasets.huggingface.co/oscar/1.0/unshuffled/deduplicated/en/en_part_1.txt.gz' Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/multiprocessing/popen_fork.py", line 27, in poll pid, sts = os.waitpid(self.pid, flag) File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/torch/utils/data/_utils/signal_handling.py", line 66, in handler _error_if_any_worker_fails() RuntimeError: DataLoader worker (pid 6932) is killed by signal: Terminated: 15. 0%| | 0/1000 [00:02<?, ?it/s] ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: macOS-12.2-arm64-arm-64bit - Python version: 3.8.12 - PyArrow version: 7.0.0 - Pandas version: 1.4.1
881
95
Forked streaming datasets try to `open` data urls rather than use network ## Describe the bug Building on #3950, if you bypass the pickling problem you still can't use the dataset. Somehow something gets confused and the forked processes try to `open` urls rather than anything else. ## Steps to reproduce the bug ```python from multiprocessing import freeze_support import transformers from transformers import Trainer, AutoModelForCausalLM, TrainingArguments import datasets import torch.utils.data # work around #3950 class TorchIterableDataset(datasets.IterableDataset, torch.utils.data.IterableDataset): pass def _ensure_format(v: datasets.IterableDataset) -> datasets.IterableDataset: return TorchIterableDataset(v._ex_iterable, v.info, v.split, "torch", v._shuffling) if __name__ == '__main__': freeze_support() ds = datasets.load_dataset('oscar', "unshuffled_deduplicated_en", split='train', streaming=True) ds = _ensure_format(ds) model = AutoModelForCausalLM.from_pretrained("distilgpt2") Trainer(model, train_dataset=ds, args=TrainingArguments("out", max_steps=1000, dataloader_num_workers=4)).train() ``` ## Expected results I'd expect the dataset to load the url correctly and produce examples. ## Actual results ``` warnings.warn( ***** Running training ***** Num examples = 8000 Num Epochs = 9223372036854775807 Instantaneous batch size per device = 8 Total train batch size (w. parallel, distributed & accumulation) = 8 Gradient Accumulation steps = 1 Total optimization steps = 1000 0%| | 0/1000 [00:00<?, ?it/s]Traceback (most recent call last): File "/Users/dlwh/src/mistral/src/stream_fork_crash.py", line 22, in <module> Trainer(model, train_dataset=ds, args=TrainingArguments("out", max_steps=1000, dataloader_num_workers=4)).train() File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/transformers/trainer.py", line 1339, in train for step, inputs in enumerate(epoch_iterator): File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 521, in __next__ data = self._next_data() File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1203, in _next_data return self._process_data(data) File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1229, in _process_data data.reraise() File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/torch/_utils.py", line 434, in reraise raise exception FileNotFoundError: Caught FileNotFoundError in DataLoader worker process 0. Original Traceback (most recent call last): File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/torch/utils/data/_utils/worker.py", line 287, in _worker_loop data = fetcher.fetch(index) File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 32, in fetch data.append(next(self.dataset_iter)) File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/datasets/iterable_dataset.py", line 497, in __iter__ for key, example in self._iter(): File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/datasets/iterable_dataset.py", line 494, in _iter yield from ex_iterable File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/datasets/iterable_dataset.py", line 87, in __iter__ yield from self.generate_examples_fn(**self.kwargs) File "/Users/dlwh/.cache/huggingface/modules/datasets_modules/datasets/oscar/84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2/oscar.py", line 358, in _generate_examples with gzip.open(open(filepath, "rb"), "rt", encoding="utf-8") as f: FileNotFoundError: [Errno 2] No such file or directory: 'https://s3.amazonaws.com/datasets.huggingface.co/oscar/1.0/unshuffled/deduplicated/en/en_part_1.txt.gz' Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/multiprocessing/popen_fork.py", line 27, in poll pid, sts = os.waitpid(self.pid, flag) File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/torch/utils/data/_utils/signal_handling.py", line 66, in handler _error_if_any_worker_fails() RuntimeError: DataLoader worker (pid 6932) is killed by signal: Terminated: 15. 0%| | 0/1000 [00:02<?, ?it/s] ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: macOS-12.2-arm64-arm-64bit - Python version: 3.8.12 - PyArrow version: 7.0.0 - Pandas version: 1.4.1 Thanks for reporting this second issue as well. We definitely want to make streaming datasets fully working in a distributed setup and with the best performance. Right now it only supports single process. In this issue it seems that the streaming capabilities that we offer to dataset builders are not transferred to the forked process (so it fails to open remote files and start streaming data from them). In particular `open` is supposed to be mocked by our `xopen` function that is an extended open that supports remote files. Let me try to fix this
[ -1.290002703666687, -1.0043857097625732, -0.6346855163574219, 1.4718910455703735, -0.2281016856431961, -1.167245626449585, 0.17532271146774292, -1.070841908454895, 1.611771583557129, -0.7778173685073853, 0.29888686537742615, -1.6096255779266357, 0.006460737437009811, -0.5225569009780884, -0.660857617855072, -0.9103806614875793, -0.4326359033584595, -0.8244897723197937, 1.1003670692443848, 2.5039448738098145, 1.2255496978759766, -1.338515281677246, 2.7291688919067383, 0.6886621117591858, -0.25581514835357666, -1.0610822439193726, 0.49245646595954895, -0.012026031501591206, -1.2603003978729248, -0.47533687949180603, -0.9248905181884766, -0.09990167617797852, -0.5485120415687561, -0.4693809151649475, 0.044550247490406036, 0.39145156741142273, -0.2339184731245041, -0.43824121356010437, -0.5559040307998657, -0.70513516664505, 0.5117571353912354, -0.43928712606430054, 0.9278873801231384, -0.3030840754508972, 1.7675381898880005, -0.5449118614196777, 0.543858528137207, 0.6950277090072632, 1.3496655225753784, 0.25577664375305176, -0.03713015094399452, 0.40154820680618286, 0.34591737389564514, -0.023015353828668594, 0.5155344009399414, 1.1570180654525757, 0.6757895350456238, 0.49809595942497253, 0.6756940484046936, -2.2141940593719482, 1.303460955619812, -1.0610852241516113, 0.3839828372001648, 1.3979183435440063, -0.9358431696891785, 0.3469989597797394, -1.7803641557693481, -0.054511137306690216, 0.6234992742538452, -2.240002393722534, 0.3077290952205658, -1.317012906074524, -0.5170205235481262, 1.0436630249023438, 0.4030057191848755, -1.2499324083328247, 0.17351895570755005, -0.47369420528411865, 1.0722583532333374, 0.4242776930332184, 1.0175197124481201, -1.6861001253128052, -0.07842173427343369, -0.2591569423675537, 0.10068325698375702, -1.2874842882156372, -1.5539923906326294, 0.6358696222305298, 0.5267829298973083, 0.6793739795684814, -0.11368893086910248, 1.0701647996902466, -1.0179187059402466, 0.7564669847488403, -1.0334669351577759, -1.7212074995040894, -1.4388624429702759, -2.2976937294006348, -2.2688589096069336, 0.7148180603981018, -0.44723522663116455, -0.5362850427627563, 2.077831506729126, -0.9560573697090149, -1.704420804977417, 1.1251939535140991, 0.2174331545829773, 0.040484003722667694, 2.3814873695373535, 0.1989605724811554, -0.7253888249397278, 0.44217076897621155, -0.7646141648292542, 0.820508599281311, -0.34791073203086853, 1.3760201930999756, 0.4329521954059601, -0.9741327166557312, 1.5557844638824463, -0.3455592393875122, 0.562430739402771, -0.5990444421768188, -0.5839501023292542, -0.8205273151397705, 0.28929001092910767, 1.9436520338058472, -0.2555271089076996, 1.5359973907470703, -0.3298030197620392, -1.5804176330566406, -1.578928828239441, 0.9034860134124756, 0.4363846778869629, -0.7893345952033997, 0.14748302102088928, -0.44238436222076416, 0.14401187002658844, -0.039560917764902115, 1.159656047821045, 1.2667906284332275, 0.674026370048523, -0.3808509111404419, -0.8791133761405945, 0.20433726906776428, -0.11888536065816879, -0.7436520457267761, -1.7518768310546875, -0.3605104684829712, 0.0621798112988472, 0.6448519229888916, -1.1897766590118408, 1.7069510221481323, 0.9384481906890869, 1.898175597190857, 1.0523345470428467, -0.32268625497817993, 1.4265344142913818, 0.10791195183992386, 1.828110694885254, -0.5343250036239624, 0.6243153214454651, -0.3677227795124054, -1.1269373893737793, 0.8568350672721863, -0.33888548612594604, -2.0810656547546387, -0.7731370329856873, -0.7501304745674133, -0.2350054234266281, -0.7536110877990723, 0.9054796099662781, -0.3276790380477905, -1.4630571603775024, 0.19700761139392853, -0.7196391820907593, 0.20613723993301392, -1.2209078073501587, 0.3089369833469391, 0.6966179609298706, -0.6053857207298279, 0.056842029094696045, -0.26346710324287415, -1.199665904045105, -0.476936936378479, 0.27142781019210815, 1.9135364294052124, -0.7092299461364746, 0.8954811096191406, 1.0410442352294922, -0.7241072654724121, 0.0026790527626872063, 0.2731420397758484, -0.2520413398742676, 0.8042821288108826, -1.0914909839630127, -0.4571763873100281, 1.240942358970642, -0.2639729678630829, -0.5713374614715576, 1.5157538652420044, 0.7051494121551514, -1.0663676261901855, -0.2320474088191986, -0.11992567777633667, -0.8787416815757751, 0.05843059718608856, -1.5830219984054565, -0.11955235153436661, 0.5082564949989319, -1.5689067840576172, -0.41735562682151794, -0.2277778834104538, 1.3013516664505005, -0.16915281116962433, 1.4585580825805664, -0.34435638785362244, -0.1882951259613037, -0.2358584702014923, -0.3938489854335785, 0.16990776360034943, -0.19821567833423615, -0.6145506501197815, 0.13355091214179993, -0.8089282512664795, 0.3946223855018616, 1.494424819946289, 0.329435259103775, 0.029182182624936104, 0.5108597278594971, 1.0836683511734009, 0.4085175693035126, -0.08713854104280472, -0.8587594032287598, -1.565026879310608, 1.9910801649093628, -1.4414441585540771, 1.974487066268921, 0.7887963652610779, -0.09322414547204971, -1.7453850507736206, -1.7641189098358154, 1.2639683485031128, 1.1677298545837402, 2.3834285736083984, 0.5394092202186584, 0.40419068932533264, -0.798586905002594, -0.7183201909065247, 0.2582893371582031, -1.0471137762069702, -0.6803733706474304, 0.18953463435173035, 2.3985378742218018, 1.8248088359832764, -0.4244650900363922, -0.17847493290901184, -0.9897935390472412, 1.41448974609375, -0.2719282805919647, 0.27245885133743286, 2.0091023445129395, -0.21766193211078644, -1.0596531629562378, 1.3525927066802979, -2.345669984817505, 0.21295447647571564, 2.10447359085083, 0.30522850155830383, 0.1259777992963791, -1.4157193899154663, -0.6130004525184631, -0.3313567638397217, -0.39202800393104553, -1.274062156677246, 0.4734104871749878, -0.2723655104637146, -0.723672091960907, -1.4394043684005737, 0.16957587003707886, -1.1257184743881226, -1.651212453842163, 0.2317267805337906, 1.9310436248779297, 2.042569875717163, -0.6856393218040466, 1.517918348312378, -0.36382150650024414, 0.13382548093795776, 1.2060842514038086, 1.2824736833572388, 3.0782651901245117, 1.9192768335342407, -1.256656527519226, 0.6712144017219543, -0.185814768075943, -0.5274681448936462, 1.084618091583252, -1.1942120790481567, 1.2615779638290405, -0.1349898725748062, -1.1572121381759644, -1.2288813591003418, 0.9814293384552002, 0.4815860390663147, 0.0310888160020113, -0.5609602928161621, 1.2365896701812744, 0.07002541422843933, 1.3039506673812866, 0.5443663597106934, -0.3683220148086548, 0.585311770439148, -0.40217283368110657, -0.5277600288391113, 1.5179623365402222, 0.20156823098659515, -1.4735660552978516, -2.303755760192871, -0.2042066901922226, -0.8641510605812073, 0.07487136870622635, -0.6285330653190613, -1.009773850440979, 1.6478580236434937, 0.2935538589954376, -1.2118843793869019, -0.2861231565475464, -0.2888382375240326, -0.5681917071342468, 2.71964693069458, -1.3058921098709106, -0.18206773698329926, -1.0520902872085571, -0.6894326210021973, 1.711593508720398, -1.2010889053344727, -0.22964048385620117, -1.0684927701950073, -0.5718744397163391, -1.186346173286438, -0.5132136344909668, 0.038902878761291504, -1.0004490613937378, 0.8563458919525146, 0.1539316624403, -1.163916826248169, -0.28830021619796753, -0.8427053093910217, 0.9794448614120483, -0.11837171763181686, 0.1213601753115654, 1.8515336513519287, 0.2982110381126404, -0.4198646545410156, 0.7425112724304199, 1.1630477905273438, 0.6164646148681641, -0.7293455600738525, 0.077464260160923, -0.6696473956108093, 0.37585198879241943, -1.3102062940597534, 0.312681645154953, -2.860649585723877, 0.6144757866859436, -0.09870532155036926, -0.04320136457681656, -0.01414998434484005, -1.3215641975402832, 1.0726314783096313, 2.5760674476623535, -1.2392481565475464, 0.5427849292755127, 0.3536195755004883, 1.1834659576416016, -1.6267882585525513, 0.33563748002052307, -0.4359875023365021, 2.066114902496338, 0.21115872263908386, 1.2554278373718262, -0.49242743849754333, -2.3352808952331543, 0.6802756190299988, -1.227460503578186, -1.2100976705551147, 0.7041386961936951, -0.9438052177429199, 0.14285516738891602, -1.4228723049163818, -0.2495872974395752, -0.8507033586502075, -1.1795235872268677, 0.6683128476142883, 0.14091716706752777, 0.3575400412082672, -0.5636008977890015, 0.34750306606292725, -2.2491681575775146, -1.39726722240448, -0.2313484102487564, -1.0023047924041748, 0.48954927921295166, -0.4640781283378601, 0.6573472023010254, -0.1607780158519745, 0.014806915074586868, 0.3279110789299011, 1.4899784326553345, 3.3748865127563477, 0.16914306581020355, 0.25040143728256226, -0.16923661530017853, -0.9504179358482361, 1.4692333936691284, 0.8885526657104492, -0.09795106202363968, -0.6239801645278931, -1.0546455383300781, 1.2362009286880493, 1.9615817070007324, 0.9647004008293152, 0.0055710673332214355, -0.8788976669311523, -0.6623216271400452, -0.03204761818051338, 0.24668775498867035, 0.46760261058807373, 0.9050062298774719, 0.1149435043334961, 0.10592297464609146, 1.4088754653930664, 1.1307923793792725, -0.4523509740829468, 0.3023662269115448, -0.814893364906311, -0.4684491455554962, 0.47609156370162964, 0.22798675298690796, -0.08177851140499115, 0.3960074484348297, -1.0422213077545166, -0.21664850413799286, -0.39534372091293335, -0.9216412901878357, -0.7271202802658081, -0.4141997694969177, -0.36699166893959045, 1.6260991096496582, 0.12505249679088593, -0.4748553931713104, -0.0461607500910759, -0.6886462569236755, -0.10966610163450241, -1.1662086248397827, 0.26096105575561523, -0.039563149213790894, -0.15446439385414124, -0.1603967845439911, 1.754301905632019, -0.8797923922538757, -2.068476676940918, 0.20220313966274261, 0.2778896987438202, -0.22042760252952576, 0.2181912362575531, 1.6678966283798218, 0.5374768376350403, 1.4554457664489746, 1.2969739437103271, 0.9274266958236694, -0.6246492266654968, -1.3392115831375122, 0.7029416561126709, 0.9907209873199463, -1.3696633577346802, 0.8187768459320068, -0.022724878042936325, -0.4935001730918884, 0.6324232220649719, 1.2775484323501587, 0.4661563038825989, -2.0040881633758545, 0.8682000041007996, -1.043100357055664, 0.8126236200332642, 0.7685175538063049, 0.6570083498954773, 0.2428942769765854, 0.8377528190612793, -1.2387384176254272, -1.138318657875061, -0.7442100644111633, -0.6806667447090149, 1.9851272106170654, -0.2899623513221741, 0.6931954026222229, -0.19528639316558838, -1.2762010097503662, -0.06320490688085556, 0.7327186465263367, 0.3665229380130768, -0.43197983503341675, 0.8634414672851562, -0.6544567942619324, -1.1227595806121826, -1.3435834646224976, -0.46710237860679626, -1.0402324199676514, -0.9212672710418701, 0.9986156225204468, 0.7309050559997559, 0.28297725319862366, 1.8767914772033691, 0.6589013934135437, 0.28692182898521423, -2.6428747177124023, 0.8924440145492554, 0.23208898305892944, -0.08237829804420471, 0.8928943872451782, 0.3014841079711914, 1.0632885694503784, 0.11291509866714478, 0.4666284918785095, -2.446676731109619, 2.2687289714813232, -0.1436745524406433, 0.7007966041564941, 0.03218376636505127, -0.1316589117050171, 1.091565489768982, 0.6343263387680054, 0.5375294089317322, -0.9911627173423767, 0.6710802316665649, -0.5867384672164917, 1.268367886543274, 0.8475229144096375, -0.8105002045631409, -0.05181150138378143, 1.3868581056594849, 0.42364266514778137, -0.539152979850769, -0.9999927878379822, -0.9331524968147278, 0.9366090297698975, 1.6793769598007202, -0.08512379974126816, -0.04133734107017517, 0.794031023979187, 0.6657140851020813, -1.2260522842407227, 0.052125319838523865, -0.6443048119544983, -0.7516271471977234, 1.6207925081253052, 2.090999126434326, -0.2015417218208313, -0.18870460987091064, -0.6548166275024414, -1.2648252248764038, 0.7249633073806763, -0.09960412979125977, 0.139811709523201, 0.6280021667480469, -0.5962855815887451, 1.0242116451263428, 0.8467259407043457, 0.9532108902931213, 0.15910762548446655, 0.282002717256546, 0.4234713912010193, -0.3725961744785309, -1.1699872016906738, -0.21051695942878723, -1.0626503229141235, -2.597651720046997, 0.4325849115848541, -0.1856020987033844, -1.3805266618728638, 0.10753801465034485, -1.034030795097351, 0.9720370769500732, -0.6074928045272827, -1.1121530532836914, -1.5469655990600586, 0.19266405701637268, -0.021424759179353714, 0.9840919375419617, -1.6463172435760498, -0.19566398859024048, 1.1679027080535889, 0.8538695573806763, -0.6734409332275391, 1.0250773429870605, 0.2522750198841095, 1.0034873485565186, 0.8125004172325134, -0.37265169620513916, 0.6157534718513489, 0.011454496532678604, -1.3558237552642822, 0.524752676486969, 1.2530461549758911, 0.19394752383232117, 1.4605921506881714, -0.551487147808075, 0.013545587658882141, 0.42296212911605835, -0.6627461910247803, -0.46134281158447266, -0.4516661465167999, 0.6663404107093811, 0.05327732115983963, -0.9273087978363037, -0.06239275634288788, -0.13407833874225616, -0.2801722288131714, 0.17537076771259308, -1.4837032556533813, -0.19066296517848969, -0.4342273473739624, -0.5619632005691528, -1.2491116523742676, -0.10573021322488785, 1.40248703956604, -0.79375821352005, -0.2263542264699936, 0.5170440673828125, 0.39054709672927856, 0.5527824759483337, 0.6522291898727417, -0.780410885810852, -0.24763865768909454, -0.2155829668045044, -0.319599986076355, 0.3015897572040558, 1.3970071077346802, -0.08971985429525375, -0.9998166561126709, 0.6588096618652344, -0.3436054587364197, 0.06902480125427246, 1.9172308444976807, 0.08554590493440628, -0.7674525380134583, 0.2725609838962555, -0.7412464022636414, 1.9265527725219727, 1.640397548675537, 1.3049657344818115, -0.19981276988983154, -0.9282065629959106, 0.585267961025238, -0.34077659249305725, -0.387304425239563, 0.7796981930732727, 0.4210592210292816, -0.26089704036712646, -1.3989272117614746, 0.7608343362808228, 1.2347536087036133, -0.8868851065635681, -0.8048627972602844, 0.169912651181221, -0.772900402545929, 1.1685595512390137, 0.5747811198234558, 0.31368088722229004, 0.24554963409900665, 1.692384123802185, 0.7830436825752258, -0.43994924426078796, 0.5307431817054749, 0.5212177634239197, -0.1661713719367981, -2.1191372871398926, -1.1389104127883911, 0.35571718215942383, -0.558997631072998, -1.5946027040481567, 1.3802441358566284, -1.0783623456954956, -0.9993422031402588, 0.6012514233589172, 0.09618750214576721, 1.4889254570007324, 0.4552765488624573, 1.5838104486465454, 2.085439443588257, 0.8859793543815613, 0.3840508759021759, 1.2673619985580444, -0.1223830133676529, -0.47026821970939636, 1.8048954010009766, -0.38873177766799927, 0.47537320852279663, 1.0980963706970215, -0.31005269289016724, -1.120200514793396, -0.7178536653518677, -1.278510570526123, -0.7044470906257629, 1.11955726146698, 0.07893054932355881, -1.0922155380249023, 0.28302523493766785, 1.5757039785385132, 0.11969249695539474, -0.22781531512737274, 0.6357665657997131, 0.39705511927604675, -0.8070374727249146, -0.07369338721036911, -0.8999424576759338, 0.4304015040397644, -0.22860369086265564, -0.36171162128448486, 0.27129843831062317, 0.5304057002067566, 1.3421372175216675, -0.07016368955373764, 0.12566177546977997, 1.0885822772979736, -1.4145286083221436, 1.506605625152588, -0.6904870271682739, 0.30437931418418884, -2.3743386268615723, 1.3257241249084473, -0.7406790256500244, 1.9573503732681274, -2.6341097354888916, 0.4455986022949219, -0.6038253307342529, -0.46509191393852234, 0.25262024998664856, -0.38490837812423706, 0.11817631870508194, -0.1070009097456932, -1.1237242221832275, -0.025081686675548553, -0.6496106386184692, 0.6028038859367371, 1.0735691785812378, 1.3601983785629272, -1.1331796646118164, -0.25987768173217773, -1.797539234161377, -0.12035536020994186, -0.7336443662643433, 0.34018856287002563, -1.9724534749984741, -0.20250408351421356, -1.9021190404891968, -2.338028907775879, -1.2368111610412598, -0.7712040543556213, 1.0821599960327148, 0.1354466676712036, -0.856857180595398, 1.2793381214141846, -0.31284892559051514, -1.785824179649353, 1.0711759328842163, -2.1425411701202393 ]
https://github.com/huggingface/datasets/issues/3950
Streaming Datasets don't work with Transformers Trainer when dataloader_num_workers>1
Hi, thanks for reporting. This could be related to https://github.com/huggingface/datasets/issues/3148 too We should definitely make `TorchIterableDataset` picklable by moving it in the main code instead of inside a function. If you'd like to contribute, feel free to open a Pull Request :) I'm also taking a look at your second issue, which is more technical
## Describe the bug Streaming Datasets can't be pickled, so any interaction between them and multiprocessing results in a crash. ## Steps to reproduce the bug ```python import transformers from transformers import Trainer, AutoModelForCausalLM, TrainingArguments import datasets ds = datasets.load_dataset('oscar', "unshuffled_deduplicated_en", split='train', streaming=True).with_format("torch") model = AutoModelForCausalLM.from_pretrained("distilgpt2") Trainer(model, train_dataset=ds, args=TrainingArguments("out", max_steps=1000, dataloader_num_workers=4)).train() ``` ## Expected results For this code I'd expect a crash related to not having preprocessed the data, but instead we get a pickling error. ## Actual results ``` 0%| | 0/1000 [00:00<?, ?it/s]Traceback (most recent call last): File "/Users/dlwh/src/mistral/src/stream_fork_crash.py", line 7, in <module> Trainer(model, train_dataset=ds, args=TrainingArguments("out", max_steps=1000, dataloader_num_workers=4)).train() File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/transformers/trainer.py", line 1339, in train for step, inputs in enumerate(epoch_iterator): File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 359, in __iter__ return self._get_iterator() File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 305, in _get_iterator return _MultiProcessingDataLoaderIter(self) File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 918, in __init__ w.start() File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/multiprocessing/process.py", line 121, in start self._popen = self._Popen(self) File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/multiprocessing/context.py", line 224, in _Popen return _default_context.get_context().Process._Popen(process_obj) File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/multiprocessing/context.py", line 284, in _Popen return Popen(process_obj) File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 32, in __init__ super().__init__(process_obj) File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/multiprocessing/popen_fork.py", line 19, in __init__ self._launch(process_obj) File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 47, in _launch reduction.dump(process_obj, fp) File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/multiprocessing/reduction.py", line 60, in dump ForkingPickler(file, protocol).dump(obj) AttributeError: Can't pickle local object 'iterable_dataset.<locals>.TorchIterableDataset' 0%| | 0/1000 [00:00<?, ?it/s] ``` This immediate crash can be fixed by not using a local class to make the `TorchIterableDataset` (Note that you have to do with_format("torch") or you get an exception because the dataset has no len) However, any lambdas etc used as maps will also trigger this crash. A more permanent fix would be to move away from multiprocessing and instead use something like pathos or multiprocessing_on_dill (https://stackoverflow.com/questions/19984152/what-can-multiprocessing-and-dill-do-together) Note that if you bypass this crash you get another crash. (I'll file a separate bug). ## Environment info - `datasets` version: 2.0.0 - Platform: macOS-12.2-arm64-arm-64bit - Python version: 3.8.12 - PyArrow version: 7.0.0 - Pandas version: 1.4.1
882
55
Streaming Datasets don't work with Transformers Trainer when dataloader_num_workers>1 ## Describe the bug Streaming Datasets can't be pickled, so any interaction between them and multiprocessing results in a crash. ## Steps to reproduce the bug ```python import transformers from transformers import Trainer, AutoModelForCausalLM, TrainingArguments import datasets ds = datasets.load_dataset('oscar', "unshuffled_deduplicated_en", split='train', streaming=True).with_format("torch") model = AutoModelForCausalLM.from_pretrained("distilgpt2") Trainer(model, train_dataset=ds, args=TrainingArguments("out", max_steps=1000, dataloader_num_workers=4)).train() ``` ## Expected results For this code I'd expect a crash related to not having preprocessed the data, but instead we get a pickling error. ## Actual results ``` 0%| | 0/1000 [00:00<?, ?it/s]Traceback (most recent call last): File "/Users/dlwh/src/mistral/src/stream_fork_crash.py", line 7, in <module> Trainer(model, train_dataset=ds, args=TrainingArguments("out", max_steps=1000, dataloader_num_workers=4)).train() File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/transformers/trainer.py", line 1339, in train for step, inputs in enumerate(epoch_iterator): File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 359, in __iter__ return self._get_iterator() File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 305, in _get_iterator return _MultiProcessingDataLoaderIter(self) File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 918, in __init__ w.start() File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/multiprocessing/process.py", line 121, in start self._popen = self._Popen(self) File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/multiprocessing/context.py", line 224, in _Popen return _default_context.get_context().Process._Popen(process_obj) File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/multiprocessing/context.py", line 284, in _Popen return Popen(process_obj) File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 32, in __init__ super().__init__(process_obj) File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/multiprocessing/popen_fork.py", line 19, in __init__ self._launch(process_obj) File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 47, in _launch reduction.dump(process_obj, fp) File "/Users/dlwh/.conda/envs/mistral/lib/python3.8/multiprocessing/reduction.py", line 60, in dump ForkingPickler(file, protocol).dump(obj) AttributeError: Can't pickle local object 'iterable_dataset.<locals>.TorchIterableDataset' 0%| | 0/1000 [00:00<?, ?it/s] ``` This immediate crash can be fixed by not using a local class to make the `TorchIterableDataset` (Note that you have to do with_format("torch") or you get an exception because the dataset has no len) However, any lambdas etc used as maps will also trigger this crash. A more permanent fix would be to move away from multiprocessing and instead use something like pathos or multiprocessing_on_dill (https://stackoverflow.com/questions/19984152/what-can-multiprocessing-and-dill-do-together) Note that if you bypass this crash you get another crash. (I'll file a separate bug). ## Environment info - `datasets` version: 2.0.0 - Platform: macOS-12.2-arm64-arm-64bit - Python version: 3.8.12 - PyArrow version: 7.0.0 - Pandas version: 1.4.1 Hi, thanks for reporting. This could be related to https://github.com/huggingface/datasets/issues/3148 too We should definitely make `TorchIterableDataset` picklable by moving it in the main code instead of inside a function. If you'd like to contribute, feel free to open a Pull Request :) I'm also taking a look at your second issue, which is more technical
[ -1.2605828046798706, -0.9711364507675171, -0.680344820022583, 1.4659059047698975, -0.18874795734882355, -1.1880536079406738, 0.168259397149086, -0.9889919757843018, 1.5424662828445435, -0.7888501882553101, 0.2857104539871216, -1.6626965999603271, -0.03672659397125244, -0.5716254711151123, -0.6734684705734253, -0.8824977874755859, -0.3249639868736267, -0.8847616314888, 1.1222679615020752, 2.5286595821380615, 1.3401976823806763, -1.3140857219696045, 2.767171621322632, 0.6698905229568481, -0.26479119062423706, -1.0592386722564697, 0.5407081246376038, -0.05921033397316933, -1.2129930257797241, -0.5129988193511963, -1.0159237384796143, -0.06324911117553711, -0.5696372389793396, -0.37873706221580505, 0.04121313616633415, 0.4551334083080292, -0.29045015573501587, -0.32163211703300476, -0.6227643489837646, -0.7291929721832275, 0.48132508993148804, -0.36385491490364075, 0.92864590883255, -0.34123343229293823, 1.7625863552093506, -0.6115858554840088, 0.46997132897377014, 0.6998608112335205, 1.3119337558746338, 0.2222425639629364, 0.0146322688087821, 0.27615752816200256, 0.3295511305332184, -0.08221198618412018, 0.6408742666244507, 1.2023481130599976, 0.6259140968322754, 0.5408257842063904, 0.6939079165458679, -2.211207866668701, 1.317151427268982, -0.9905905723571777, 0.2952870726585388, 1.3457823991775513, -0.8228527307510376, 0.3708652853965759, -1.7995551824569702, -0.08830665051937103, 0.6396364569664001, -2.22373366355896, 0.32178470492362976, -1.3332810401916504, -0.5180956721305847, 0.9663879871368408, 0.3795408308506012, -1.2223637104034424, 0.14360131323337555, -0.46024295687675476, 1.0972845554351807, 0.4324166476726532, 1.0460758209228516, -1.6368472576141357, -0.056720368564128876, -0.20015528798103333, 0.1294051855802536, -1.3258545398712158, -1.6601873636245728, 0.6219639182090759, 0.531649112701416, 0.6618468761444092, -0.12524102628231049, 1.0883640050888062, -1.0801221132278442, 0.7610369920730591, -0.9979826211929321, -1.6126892566680908, -1.4230482578277588, -2.3290843963623047, -2.2736153602600098, 0.7877339124679565, -0.48856300115585327, -0.5741721987724304, 2.1069650650024414, -0.9822584986686707, -1.7485965490341187, 1.110002875328064, 0.2820289731025696, 0.12369833886623383, 2.4687435626983643, 0.254814088344574, -0.7487331628799438, 0.5162237882614136, -0.7845016121864319, 0.7931700944900513, -0.3481546938419342, 1.3343371152877808, 0.4347429573535919, -0.9854121208190918, 1.6269757747650146, -0.40349575877189636, 0.5595714449882507, -0.6462129950523376, -0.542537271976471, -0.8017616868019104, 0.22089262306690216, 1.8848735094070435, -0.2933158576488495, 1.511724591255188, -0.26511266827583313, -1.5203460454940796, -1.5990610122680664, 0.8698256611824036, 0.41764187812805176, -0.904352605342865, 0.09746478497982025, -0.44987645745277405, 0.21806859970092773, -0.02405484765768051, 1.1520276069641113, 1.2462092638015747, 0.6621283292770386, -0.35349053144454956, -0.83821702003479, 0.22582820057868958, -0.16890142858028412, -0.6989191770553589, -1.7346234321594238, -0.3651691675186157, 0.1549399048089981, 0.6175405383110046, -1.1716687679290771, 1.8466342687606812, 0.9256523847579956, 1.944077730178833, 0.9835460782051086, -0.31889089941978455, 1.4659136533737183, 0.04804037883877754, 1.8585392236709595, -0.4886646270751953, 0.6016420722007751, -0.40168607234954834, -1.160837173461914, 0.8431226015090942, -0.407528281211853, -1.9762755632400513, -0.8556667566299438, -0.7353973388671875, -0.18260352313518524, -0.7756733298301697, 0.86782306432724, -0.3132151961326599, -1.449727177619934, 0.19089950621128082, -0.6992486119270325, 0.15432928502559662, -1.284009575843811, 0.26807987689971924, 0.6558462381362915, -0.6292309761047363, 0.034678902477025986, -0.28876036405563354, -1.2163623571395874, -0.5207250118255615, 0.288017600774765, 1.9912956953048706, -0.5932271480560303, 0.8820075392723083, 1.0280413627624512, -0.7656828165054321, 0.013390480540692806, 0.2555263042449951, -0.3201450705528259, 0.7346464991569519, -1.0825015306472778, -0.48730066418647766, 1.2307143211364746, -0.25954365730285645, -0.6967219114303589, 1.434338092803955, 0.7620947957038879, -1.1031079292297363, -0.2691722810268402, -0.18780678510665894, -0.8592279553413391, 0.026284266263246536, -1.5258969068527222, -0.19934460520744324, 0.5280789732933044, -1.4480174779891968, -0.3528915345668793, -0.1799142062664032, 1.3643571138381958, -0.23035910725593567, 1.4733070135116577, -0.38034653663635254, -0.17321211099624634, -0.2184852957725525, -0.457476943731308, 0.1455964595079422, -0.1738596111536026, -0.598793625831604, 0.1352287232875824, -0.8333922624588013, 0.29630571603775024, 1.551336407661438, 0.3359077572822571, 0.046030428260564804, 0.48106610774993896, 1.069909930229187, 0.42323216795921326, 0.019842933863401413, -0.8776832222938538, -1.5088945627212524, 1.9170234203338623, -1.3907721042633057, 1.9870928525924683, 0.8147508502006531, -0.07770765572786331, -1.7877354621887207, -1.7702151536941528, 1.2662317752838135, 1.1940275430679321, 2.392402410507202, 0.4842792749404907, 0.4036402404308319, -0.7997830510139465, -0.7737063765525818, 0.2608741819858551, -0.9949575662612915, -0.6452293992042542, 0.22369912266731262, 2.3877623081207275, 1.8345940113067627, -0.4807540774345398, -0.19642585515975952, -0.9220654368400574, 1.2874951362609863, -0.2551136910915375, 0.2803853452205658, 2.030062675476074, -0.265371710062027, -1.0155452489852905, 1.3094680309295654, -2.377171039581299, 0.19040440022945404, 2.1396677494049072, 0.23541119694709778, 0.10332698374986649, -1.3875062465667725, -0.6477115750312805, -0.33218613266944885, -0.47913697361946106, -1.2402042150497437, 0.571587324142456, -0.23600520193576813, -0.7710906267166138, -1.4441148042678833, 0.08540277928113937, -1.1106356382369995, -1.684900164604187, 0.2442702054977417, 1.9374924898147583, 2.1277730464935303, -0.8030638694763184, 1.4426958560943604, -0.28158050775527954, 0.002443736419081688, 1.2653543949127197, 1.3550856113433838, 3.059581995010376, 1.8742218017578125, -1.2549444437026978, 0.7137787342071533, -0.21802392601966858, -0.5008092522621155, 1.1508291959762573, -1.2112460136413574, 1.1757762432098389, -0.17141981422901154, -1.177068829536438, -1.2702789306640625, 0.9596037864685059, 0.4668612778186798, -0.028012551367282867, -0.4941231310367584, 1.2894463539123535, 0.11408773809671402, 1.3253222703933716, 0.621773898601532, -0.3487795293331146, 0.5464008450508118, -0.35386407375335693, -0.5577917695045471, 1.658213496208191, 0.15130627155303955, -1.5404177904129028, -2.3351778984069824, -0.21412552893161774, -0.935776948928833, 0.04244280606508255, -0.6427001953125, -0.9925938844680786, 1.6061495542526245, 0.324308305978775, -1.2074623107910156, -0.2614706754684448, -0.248384490609169, -0.5268778204917908, 2.7336230278015137, -1.294974684715271, -0.19549240171909332, -1.028051733970642, -0.5949740409851074, 1.680972933769226, -1.2281500101089478, -0.2236689031124115, -1.0102142095565796, -0.5915301442146301, -1.3011232614517212, -0.42654505372047424, 0.06014199182391167, -1.0323925018310547, 0.7939833998680115, 0.19336852431297302, -1.1722981929779053, -0.2733848989009857, -0.8975507616996765, 0.9921550750732422, -0.0497085303068161, 0.20657534897327423, 1.8752151727676392, 0.27750930190086365, -0.47562548518180847, 0.7499330043792725, 1.1836857795715332, 0.5415297746658325, -0.6405165791511536, 0.04816432297229767, -0.7063212394714355, 0.42517852783203125, -1.408646583557129, 0.220094233751297, -2.90970516204834, 0.7007939219474792, -0.16222280263900757, -0.1543959528207779, -0.06544677913188934, -1.3015917539596558, 1.0952094793319702, 2.5631721019744873, -1.1652016639709473, 0.5192716121673584, 0.4173753261566162, 1.2213915586471558, -1.6092464923858643, 0.28754785656929016, -0.4320191740989685, 2.018399953842163, 0.1806836724281311, 1.208853840827942, -0.4338669180870056, -2.2421834468841553, 0.6778647899627686, -1.238338828086853, -1.0878492593765259, 0.7578700184822083, -0.9369801878929138, 0.19806739687919617, -1.4004042148590088, -0.22493904829025269, -0.8551527857780457, -1.1730595827102661, 0.7374931573867798, 0.10417591780424118, 0.3798777461051941, -0.5244635939598083, 0.34877774119377136, -2.189584255218506, -1.4143877029418945, -0.18461011350154877, -0.9952808022499084, 0.47364726662635803, -0.42352452874183655, 0.6380941867828369, -0.13523979485034943, 0.09068688005208969, 0.3162662088871002, 1.5053155422210693, 3.366150140762329, 0.17748787999153137, 0.2556886374950409, -0.18232901394367218, -0.9815240502357483, 1.4843196868896484, 0.8371180891990662, -0.13452453911304474, -0.5583174228668213, -1.0779489278793335, 1.306111216545105, 1.9250824451446533, 1.0430220365524292, 0.10598661750555038, -0.8902686834335327, -0.7032892107963562, -0.05450853332877159, 0.19679483771324158, 0.45833173394203186, 0.9073339104652405, 0.021729636937379837, 0.0914965346455574, 1.382572054862976, 1.1863558292388916, -0.39023956656455994, 0.30531513690948486, -0.9023005962371826, -0.39482977986335754, 0.441780686378479, 0.15693572163581848, -0.028003230690956116, 0.45535919070243835, -0.9683194160461426, -0.27125856280326843, -0.33159250020980835, -0.9095163345336914, -0.7604292631149292, -0.3859083354473114, -0.324768602848053, 1.5765961408615112, 0.10123690962791443, -0.5090099573135376, 0.06689676642417908, -0.6952288746833801, -0.17872212827205658, -1.159740686416626, 0.08417484909296036, -0.050895724445581436, -0.137139230966568, -0.15091153979301453, 1.6653132438659668, -0.8732458353042603, -2.0884933471679688, 0.10481727868318558, 0.3511452376842499, -0.20159608125686646, 0.22448359429836273, 1.7459379434585571, 0.46769461035728455, 1.4657377004623413, 1.2738300561904907, 0.9707179665565491, -0.6093676686286926, -1.264029860496521, 0.757614016532898, 0.9386008977890015, -1.3483082056045532, 0.9154327511787415, -0.1265091449022293, -0.45687443017959595, 0.616418182849884, 1.232027530670166, 0.5074713826179504, -2.0001871585845947, 0.8487915396690369, -1.058229923248291, 0.7393826842308044, 0.6925137639045715, 0.7069191932678223, 0.3088688850402832, 0.8893418908119202, -1.189023494720459, -1.208500623703003, -0.6646932363510132, -0.6422225832939148, 1.9679313898086548, -0.2836860120296478, 0.6799995303153992, -0.15425430238246918, -1.2420141696929932, -0.12898030877113342, 0.7669609785079956, 0.34365904331207275, -0.4210723042488098, 0.8859943747520447, -0.66855788230896, -0.9959474205970764, -1.3099946975708008, -0.4281577467918396, -1.085247278213501, -0.9016048908233643, 1.0468071699142456, 0.7588205337524414, 0.32820335030555725, 1.9148316383361816, 0.6143854856491089, 0.35891762375831604, -2.5560061931610107, 0.9065057635307312, 0.22614942491054535, -0.05012739822268486, 0.8660064339637756, 0.3035276532173157, 1.1030051708221436, -0.0040950533002614975, 0.5128394365310669, -2.3830368518829346, 2.2562472820281982, -0.16666197776794434, 0.6045154929161072, 0.0019049625843763351, -0.16562187671661377, 1.1025723218917847, 0.5580087304115295, 0.5781894326210022, -1.0466198921203613, 0.6432499885559082, -0.555625855922699, 1.1720860004425049, 0.9161986708641052, -0.8663318157196045, 0.06056177243590355, 1.4201308488845825, 0.4285489618778229, -0.5339723229408264, -0.9972715377807617, -0.8817124366760254, 1.0376641750335693, 1.6630083322525024, -0.062077611684799194, -0.031756691634655, 0.8328310251235962, 0.6138175129890442, -1.2552028894424438, 0.0480150543153286, -0.6263259649276733, -0.7632040977478027, 1.7092485427856445, 2.102221727371216, -0.17831462621688843, -0.17806263267993927, -0.6541473865509033, -1.3175402879714966, 0.757330596446991, -0.10264048725366592, 0.08316411077976227, 0.6714925169944763, -0.6624829173088074, 0.9987118244171143, 0.6824675798416138, 0.9860447645187378, 0.14792387187480927, 0.2912418246269226, 0.44097256660461426, -0.4006764888763428, -1.1657700538635254, -0.22655877470970154, -1.0859767198562622, -2.608074903488159, 0.38600656390190125, -0.20961157977581024, -1.4023218154907227, 0.07411795854568481, -1.022394061088562, 0.902014970779419, -0.5612985491752625, -1.1225087642669678, -1.4511593580245972, 0.289101779460907, -0.10143793374300003, 0.9761863946914673, -1.7025917768478394, -0.19652356207370758, 1.1682556867599487, 0.8855571746826172, -0.6796852350234985, 0.9485366940498352, 0.29935818910598755, 0.99649977684021, 0.7799414992332458, -0.3634534180164337, 0.6465199589729309, -0.04973829537630081, -1.3706239461898804, 0.4452749788761139, 1.2928742170333862, 0.17936883866786957, 1.4334160089492798, -0.4797213077545166, 0.06421880424022675, 0.3820703327655792, -0.6443489193916321, -0.5277334451675415, -0.3599564731121063, 0.6633071899414062, 0.03889331594109535, -1.0431824922561646, -0.1774042844772339, -0.12556318938732147, -0.31738102436065674, 0.17884166538715363, -1.4912970066070557, -0.17198291420936584, -0.35737714171409607, -0.5319038033485413, -1.3201837539672852, -0.006937170401215553, 1.3865567445755005, -0.8344392776489258, -0.2297123819589615, 0.44042059779167175, 0.36549869179725647, 0.5555408000946045, 0.5492283701896667, -0.8314844965934753, -0.2608405649662018, -0.20792469382286072, -0.32413944602012634, 0.30397817492485046, 1.2848597764968872, -0.030521947890520096, -0.9926788806915283, 0.6663914322853088, -0.3218625783920288, 0.12929382920265198, 1.9688189029693604, 0.043479908257722855, -0.7421124577522278, 0.2755635380744934, -0.7435266375541687, 1.856044054031372, 1.7122464179992676, 1.2697290182113647, -0.0790150836110115, -0.8007878065109253, 0.6445224285125732, -0.3070567846298218, -0.35257357358932495, 0.8630411028862, 0.3393709361553192, -0.30678316950798035, -1.4574567079544067, 0.6784158945083618, 1.2099133729934692, -0.7750354409217834, -0.770269513130188, 0.09249725192785263, -0.8725619912147522, 1.227285623550415, 0.5594887733459473, 0.2874179184436798, 0.2884156107902527, 1.584773063659668, 0.8010520935058594, -0.4417760372161865, 0.49885669350624084, 0.5445531010627747, -0.13038887083530426, -2.1579277515411377, -1.0624750852584839, 0.28665003180503845, -0.4429469108581543, -1.5580434799194336, 1.378911018371582, -1.0593206882476807, -1.0029335021972656, 0.6183140277862549, 0.08789268881082535, 1.375219464302063, 0.37857159972190857, 1.5968918800354004, 2.1010985374450684, 0.8637614846229553, 0.3685901165008545, 1.215095043182373, -0.14543674886226654, -0.4680771827697754, 1.8368138074874878, -0.39530080556869507, 0.46340250968933105, 0.9905010461807251, -0.36212965846061707, -1.1535356044769287, -0.7844417691230774, -1.216971516609192, -0.6778501868247986, 1.190423607826233, 0.10570639371871948, -1.056343913078308, 0.20936338603496552, 1.5930123329162598, 0.11668998003005981, -0.2434554100036621, 0.6952634453773499, 0.45114293694496155, -0.7355222702026367, -0.0055518303997814655, -0.8455988764762878, 0.5171400308609009, -0.16695424914360046, -0.28813084959983826, 0.29312604665756226, 0.5059680938720703, 1.3726038932800293, -0.08426684886217117, 0.0991186574101448, 1.0894560813903809, -1.4331272840499878, 1.5246667861938477, -0.5983328223228455, 0.2923446595668793, -2.3925364017486572, 1.3381303548812866, -0.7438498735427856, 1.9900469779968262, -2.588165521621704, 0.4661409258842468, -0.6143695712089539, -0.5269647836685181, 0.2639593780040741, -0.4637714624404907, 0.06957326084375381, -0.08574862033128738, -1.0149881839752197, -0.0021605640649795532, -0.6391302943229675, 0.5759316086769104, 1.0955183506011963, 1.3862278461456299, -1.1268149614334106, -0.30298465490341187, -1.788361668586731, -0.15018266439437866, -0.7642125487327576, 0.30135223269462585, -2.005211114883423, -0.2286495566368103, -1.9715218544006348, -2.34063720703125, -1.30353581905365, -0.8102191090583801, 1.090946912765503, 0.15804392099380493, -0.9558111429214478, 1.2685898542404175, -0.3520410656929016, -1.8142753839492798, 1.1330684423446655, -2.151256799697876 ]
https://github.com/huggingface/datasets/issues/3942
reddit_tifu dataset: Checksums didn't match for dataset source files
Hi @XingxingZhang, We have already fixed this. You should update `datasets` version to at least 1.18.4: ```shell pip install -U datasets ``` And then force the redownload: ```python load_dataset("...", download_mode="force_redownload") ``` Duplicate of: - #3773
## Describe the bug When loading the reddit_tifu dataset, it throws the exception "Checksums didn't match for dataset source files" ## Steps to reproduce the bug ```python import datasets from datasets import load_dataset print(datasets.__version__) # load_dataset('billsum') load_dataset('reddit_tifu', 'short') ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.17.0 - Platform: mac os - Python version: Python 3.7.6 - PyArrow version: 3.0.0
883
35
reddit_tifu dataset: Checksums didn't match for dataset source files ## Describe the bug When loading the reddit_tifu dataset, it throws the exception "Checksums didn't match for dataset source files" ## Steps to reproduce the bug ```python import datasets from datasets import load_dataset print(datasets.__version__) # load_dataset('billsum') load_dataset('reddit_tifu', 'short') ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.17.0 - Platform: mac os - Python version: Python 3.7.6 - PyArrow version: 3.0.0 Hi @XingxingZhang, We have already fixed this. You should update `datasets` version to at least 1.18.4: ```shell pip install -U datasets ``` And then force the redownload: ```python load_dataset("...", download_mode="force_redownload") ``` Duplicate of: - #3773
[ -1.1284563541412354, -0.8388511538505554, -0.7026880383491516, 1.4629223346710205, -0.15064014494419098, -1.2832239866256714, 0.1205354779958725, -0.9885928630828857, 1.7817583084106445, -0.8756247758865356, 0.28391149640083313, -1.7126108407974243, 0.005919808521866798, -0.5827230215072632, -0.7883846163749695, -0.8675768375396729, -0.3836365044116974, -0.6824306845664978, 0.964576005935669, 2.3689725399017334, 1.2136207818984985, -1.342668890953064, 2.724552631378174, 0.6343371868133545, -0.10422337800264359, -0.9292997717857361, 0.4875304400920868, 0.005035714246332645, -1.2607483863830566, -0.29441919922828674, -0.9053548574447632, -0.07938876003026962, -0.6239405274391174, -0.6346753835678101, 0.01130896620452404, 0.44901543855667114, -0.401184618473053, -0.5338022112846375, -0.44455674290657043, -0.9073807001113892, 0.4507649838924408, -0.29627567529678345, 0.9103758335113525, -0.4762747585773468, 1.8787057399749756, -0.5939837694168091, 0.44699788093566895, 0.7112439870834351, 1.3450348377227783, 0.1401195228099823, 0.004259883426129818, 0.3401322662830353, 0.29753509163856506, 0.15150751173496246, 0.5190644264221191, 1.0389398336410522, 0.5286420583724976, 0.4844062626361847, 0.7067663073539734, -2.3189189434051514, 1.2845453023910522, -1.0404683351516724, 0.25926047563552856, 1.3151198625564575, -0.9500888586044312, 0.2611989676952362, -1.7222859859466553, 0.005061699077486992, 0.5388466715812683, -2.2391397953033447, 0.2771267294883728, -1.425898790359497, -0.4900690019130707, 1.0502790212631226, 0.4225309193134308, -1.1975769996643066, 0.07377314567565918, -0.3558225929737091, 1.0568794012069702, 0.5075237154960632, 1.1046018600463867, -1.713243842124939, -0.03582852706313133, -0.2626473605632782, 0.1342180371284485, -1.2747138738632202, -1.551068902015686, 0.5372754335403442, 0.6732624173164368, 0.6262519359588623, -0.1705164760351181, 0.9924755096435547, -0.9499696493148804, 0.7164034247398376, -1.0625752210617065, -1.8319865465164185, -1.3774725198745728, -2.23891019821167, -2.3340184688568115, 0.7213378548622131, -0.4654747247695923, -0.40376147627830505, 2.0353991985321045, -1.0176194906234741, -1.824018955230713, 1.174886703491211, 0.2846839725971222, -0.029098402708768845, 2.264681339263916, 0.24570824205875397, -0.7573017477989197, 0.5748234987258911, -0.8075755834579468, 0.6875946521759033, -0.3553571403026581, 1.3823890686035156, 0.4692281186580658, -1.1035501956939697, 1.547176718711853, -0.5029858350753784, 0.6391906142234802, -0.6187350749969482, -0.47870922088623047, -0.758806049823761, 0.24289001524448395, 1.8898519277572632, -0.2854638695716858, 1.5803302526474, -0.24275723099708557, -1.5571775436401367, -1.5148972272872925, 0.8531715869903564, 0.4418575167655945, -0.7001336812973022, 0.08558762818574905, -0.26236632466316223, 0.11713787913322449, -0.12248899787664413, 1.2091121673583984, 1.1795467138290405, 0.8260438442230225, -0.3073912560939789, -0.8264127373695374, 0.19897691905498505, 0.051469556987285614, -0.687585711479187, -1.7684251070022583, -0.3344743847846985, 0.15090449154376984, 0.6049045920372009, -1.1465147733688354, 1.673718810081482, 0.8864248991012573, 1.8936623334884644, 0.9756424427032471, -0.22228054702281952, 1.500916600227356, 0.0913250595331192, 2.0147829055786133, -0.4696196913719177, 0.6871462464332581, -0.4154079258441925, -1.2256313562393188, 0.7382240295410156, -0.3161888122558594, -2.0768868923187256, -0.7551125884056091, -0.9298901557922363, -0.13631018996238708, -0.7750976085662842, 0.9934147596359253, -0.30067741870880127, -1.4776184558868408, 0.2205774337053299, -0.7259267568588257, 0.12198668718338013, -1.2112793922424316, 0.2781427502632141, 0.7809639573097229, -0.5768692493438721, 0.048586100339889526, -0.30796509981155396, -1.2743070125579834, -0.4682029187679291, 0.41455334424972534, 1.8585911989212036, -0.7897317409515381, 1.0690650939941406, 1.0703035593032837, -0.7744476199150085, -0.01622937247157097, 0.23377162218093872, -0.2754860818386078, 0.8318994641304016, -1.066749095916748, -0.49728113412857056, 1.28562331199646, -0.19511514902114868, -0.6614212393760681, 1.492444396018982, 0.6777415871620178, -0.9662260413169861, -0.08929973095655441, -0.20800769329071045, -0.7555318474769592, -0.06663716584444046, -1.6233136653900146, -0.025920262560248375, 0.3858814835548401, -1.5001863241195679, -0.49139404296875, -0.16796785593032837, 1.2569878101348877, -0.16727618873119354, 1.3156640529632568, -0.31424862146377563, -0.2032315582036972, -0.4887744188308716, -0.382335364818573, 0.1515628695487976, -0.16823124885559082, -0.5980830788612366, 0.20312201976776123, -0.7430249452590942, 0.33645159006118774, 1.3666325807571411, 0.3019404411315918, 0.08587074279785156, 0.5413533449172974, 1.1548969745635986, 0.34177786111831665, -0.03059411607682705, -0.8481075763702393, -1.6578068733215332, 1.9539315700531006, -1.4303996562957764, 2.028639793395996, 0.5197245478630066, -0.09862082451581955, -1.8046417236328125, -1.9733189344406128, 1.4046918153762817, 1.063955307006836, 2.3077821731567383, 0.5885326862335205, 0.42176955938339233, -0.8756868839263916, -0.7092394828796387, 0.3327142596244812, -0.9776121973991394, -0.6636736392974854, 0.12715917825698853, 2.3328773975372314, 1.6721833944320679, -0.48756876587867737, -0.1376488357782364, -1.0659033060073853, 1.456398367881775, -0.2165093570947647, 0.28784796595573425, 1.9989906549453735, -0.3646117150783539, -1.0629262924194336, 1.288196325302124, -2.3160037994384766, 0.1495189517736435, 2.0734689235687256, 0.1798144429922104, 0.09697142988443375, -1.4030792713165283, -0.6677980422973633, -0.2717365324497223, -0.3997114896774292, -1.3236356973648071, 0.5514610409736633, -0.23707623779773712, -0.794862687587738, -1.3242216110229492, 0.1708974987268448, -1.0081150531768799, -1.7601960897445679, 0.2425660640001297, 1.9748789072036743, 1.9787684679031372, -0.6403517723083496, 1.605431079864502, -0.2957000732421875, 0.2761180102825165, 1.3795557022094727, 1.2704572677612305, 3.1749014854431152, 1.9151461124420166, -1.3140333890914917, 0.7475334405899048, 0.01193617470562458, -0.4349197447299957, 1.3685412406921387, -1.1481860876083374, 1.280890703201294, -0.22093282639980316, -1.2052582502365112, -1.2791404724121094, 0.901717483997345, 0.4995958209037781, 0.05960259586572647, -0.4941420257091522, 1.252627968788147, -0.0052583301439881325, 1.3459358215332031, 0.6084365844726562, -0.36438050866127014, 0.626349925994873, -0.43869704008102417, -0.5465997457504272, 1.4924888610839844, 0.24261753261089325, -1.3365161418914795, -2.3063745498657227, -0.23801837861537933, -0.8927199244499207, -0.0362522192299366, -0.5545082092285156, -0.9643553495407104, 1.627872347831726, 0.4243139922618866, -1.1586185693740845, -0.2590562105178833, -0.32696184515953064, -0.5455999970436096, 2.754589319229126, -1.364453673362732, -0.1872524619102478, -1.0166583061218262, -0.6302809119224548, 1.6583635807037354, -1.2552189826965332, -0.20904289186000824, -1.0367873907089233, -0.5819772481918335, -1.3796188831329346, -0.616067111492157, 0.012812059372663498, -0.9545570015907288, 0.9241517782211304, 0.15954165160655975, -1.243914246559143, -0.34158459305763245, -0.9814828038215637, 0.9392027258872986, -0.11750520020723343, 0.229373499751091, 1.831159234046936, 0.3820283114910126, -0.3481699824333191, 0.7655484080314636, 1.1236377954483032, 0.69724041223526, -0.6161776781082153, 0.3785604238510132, -0.6626935005187988, 0.29976728558540344, -1.3285855054855347, 0.2841939628124237, -2.9314730167388916, 0.6557165384292603, -0.11472219973802567, -0.1313987821340561, -0.10807320475578308, -1.3622444868087769, 0.9932345151901245, 2.5088868141174316, -1.268354058265686, 0.4623495936393738, 0.29966679215431213, 1.1911964416503906, -1.588119387626648, 0.2321813702583313, -0.5204601287841797, 2.132288932800293, 0.09138437360525131, 1.204393744468689, -0.35356059670448303, -2.2590994834899902, 0.6671057343482971, -1.3058485984802246, -1.1850882768630981, 0.876593291759491, -0.8345208168029785, 0.20324373245239258, -1.305494785308838, -0.18668563663959503, -0.8634522557258606, -1.268600344657898, 0.7169538140296936, 0.027378680184483528, 0.45643386244773865, -0.5208119750022888, 0.3851553499698639, -2.186711549758911, -1.3531813621520996, -0.2320343405008316, -0.940984308719635, 0.42451855540275574, -0.27472761273384094, 0.7010846734046936, -0.19104358553886414, 0.05658111721277237, 0.4056330919265747, 1.4005451202392578, 3.4020283222198486, 0.13029344379901886, 0.26113590598106384, -0.0718509703874588, -0.9908335208892822, 1.4227782487869263, 0.9841495156288147, -0.16221225261688232, -0.4746580421924591, -0.9428257942199707, 1.261227011680603, 1.94815194606781, 0.9827534556388855, 0.00157088041305542, -0.7454825043678284, -0.7295862436294556, 0.11931297183036804, 0.0874035581946373, 0.5510755777359009, 0.7705520987510681, 0.1604432463645935, 0.1449543833732605, 1.422650933265686, 1.1467796564102173, -0.25553303956985474, 0.3522990942001343, -0.8468000292778015, -0.49286094307899475, 0.6222004294395447, 0.3152540922164917, -0.007944049313664436, 0.2851838171482086, -1.0196349620819092, -0.285171777009964, -0.40367740392684937, -0.8783661127090454, -0.6707563400268555, -0.47551193833351135, -0.40320712327957153, 1.557452917098999, -0.0073574017733335495, -0.5610426664352417, -0.03491968661546707, -0.7760240435600281, -0.045580342411994934, -1.0676466226577759, 0.3785569965839386, -0.203281968832016, -0.061682820320129395, -0.1516929268836975, 1.6617798805236816, -1.052465796470642, -2.002755880355835, 0.19853445887565613, 0.2842796742916107, -0.35888686776161194, 0.13267356157302856, 1.6338295936584473, 0.5815998911857605, 1.3788343667984009, 1.4133825302124023, 0.9564538598060608, -0.6148127913475037, -1.2784260511398315, 0.6471803784370422, 0.911975085735321, -1.482470154762268, 0.7607720494270325, 0.019098710268735886, -0.5918521285057068, 0.6639584898948669, 1.2834855318069458, 0.5004919767379761, -1.8743795156478882, 0.6721168160438538, -0.9571961164474487, 0.8050955533981323, 0.7525154948234558, 0.8120488524436951, 0.14245030283927917, 0.889245331287384, -1.215516448020935, -1.097853183746338, -0.6836050748825073, -0.7135254144668579, 1.8826640844345093, -0.29577070474624634, 0.5008379817008972, -0.16080547869205475, -1.2817448377609253, -0.04084473103284836, 0.660554051399231, 0.36618244647979736, -0.4729817509651184, 0.855531632900238, -0.6439293026924133, -1.0319910049438477, -1.3321564197540283, -0.4668416678905487, -1.1175382137298584, -0.9724185466766357, 0.966346025466919, 0.9432759881019592, 0.38868334889411926, 1.7884595394134521, 0.6595127582550049, 0.26273787021636963, -2.6055314540863037, 0.8336324095726013, 0.2768941819667816, -0.08025078475475311, 0.7225654721260071, 0.3151152729988098, 1.0524120330810547, -0.12841376662254333, 0.5836000442504883, -2.33969783782959, 2.2790749073028564, -0.29861825704574585, 0.576583743095398, 0.021759705618023872, -0.11714755743741989, 1.0273785591125488, 0.516371488571167, 0.516118586063385, -1.0834999084472656, 0.7856119871139526, -0.6173635721206665, 1.2095637321472168, 0.9289273619651794, -0.8693878054618835, -0.11680009961128235, 1.4324688911437988, 0.5021912455558777, -0.5154535174369812, -0.908673882484436, -0.9455161690711975, 0.9399574995040894, 1.6170610189437866, -0.029495179653167725, -0.120778389275074, 0.9031257629394531, 0.6631438136100769, -1.3267192840576172, 0.12665894627571106, -0.7312497496604919, -0.6618798971176147, 1.7067575454711914, 1.9967328310012817, -0.12709671258926392, -0.11753802001476288, -0.8210333585739136, -1.2342313528060913, 0.7409399747848511, 0.0986328125, -0.09065806120634079, 0.620550811290741, -0.6082794070243835, 1.0441747903823853, 0.8765366673469543, 0.9426056146621704, 0.1268213987350464, 0.3192386329174042, 0.36899709701538086, -0.28676682710647583, -1.2294867038726807, -0.24711555242538452, -1.0177195072174072, -2.520930051803589, 0.5542921423912048, -0.2439320832490921, -1.4299808740615845, 0.06146372854709625, -1.0560994148254395, 0.9796460270881653, -0.5510299801826477, -1.140061616897583, -1.4063055515289307, 0.19929182529449463, 0.0074483975768089294, 0.8263911604881287, -1.5750442743301392, -0.0316806435585022, 1.34457266330719, 0.882252037525177, -0.7640905976295471, 1.001577615737915, 0.2653436064720154, 1.0539484024047852, 0.9065135717391968, -0.45768553018569946, 0.566183865070343, 0.11342381685972214, -1.4087064266204834, 0.5227933526039124, 1.1982029676437378, 0.1645369529724121, 1.506567120552063, -0.562436580657959, -0.01342714298516512, 0.3744342029094696, -0.5565387010574341, -0.48471739888191223, -0.6831222772598267, 0.6944292187690735, 0.056341223418712616, -0.8425481915473938, 0.10093240439891815, 0.046205535531044006, -0.23003293573856354, 0.24837039411067963, -1.5980230569839478, -0.19615291059017181, -0.3234080970287323, -0.6962464451789856, -1.2755789756774902, -0.12346087396144867, 1.3501105308532715, -0.7605308294296265, -0.17562350630760193, 0.5136572122573853, 0.2531149983406067, 0.5532741546630859, 0.6226516962051392, -0.6465407609939575, -0.32659339904785156, -0.3474617302417755, -0.367417573928833, 0.2702041566371918, 1.3457679748535156, -0.08658495545387268, -1.0509766340255737, 0.6823190450668335, -0.3811330795288086, 0.02856924571096897, 1.8893228769302368, 0.059885114431381226, -0.8283010125160217, 0.32226452231407166, -0.7941226959228516, 1.9066880941390991, 1.7381603717803955, 1.379483699798584, -0.05921407788991928, -0.9502987861633301, 0.6155602335929871, -0.3518344461917877, -0.4024887681007385, 0.9648112654685974, 0.49685657024383545, -0.21597568690776825, -1.2889331579208374, 0.8161339163780212, 1.2011566162109375, -0.9647315740585327, -0.8614140748977661, 0.2351171225309372, -0.7496820092201233, 1.0989893674850464, 0.7330477833747864, 0.42799338698387146, 0.3232073187828064, 1.5856971740722656, 0.7745667695999146, -0.4669699966907501, 0.5044565796852112, 0.5231358408927917, -0.10683348774909973, -2.0545356273651123, -1.1385598182678223, 0.46991413831710815, -0.570010781288147, -1.634117841720581, 1.414028286933899, -1.1235100030899048, -0.8571404814720154, 0.5737025141716003, 0.11032797396183014, 1.4238113164901733, 0.33423998951911926, 1.5968902111053467, 2.032668352127075, 0.8928897976875305, 0.4183957278728485, 1.3198249340057373, -0.16353201866149902, -0.38422414660453796, 1.6602234840393066, -0.5089961290359497, 0.5088567137718201, 1.0915158987045288, -0.3965764343738556, -1.1017292737960815, -0.83343106508255, -1.2547786235809326, -0.6517264246940613, 1.0878816843032837, 0.1469079852104187, -1.1485979557037354, 0.23691967129707336, 1.620247483253479, 0.09063342213630676, -0.2663680613040924, 0.7451134324073792, 0.2640751302242279, -0.8347355723381042, -0.09390604496002197, -1.019123911857605, 0.5019388198852539, -0.1646375060081482, -0.3346787095069885, 0.31188932061195374, 0.4607125222682953, 1.2934918403625488, 0.05739757418632507, 0.17962099611759186, 1.1623151302337646, -1.3733875751495361, 1.3991743326187134, -0.7997283339500427, 0.283615380525589, -2.406667947769165, 1.2835031747817993, -0.8001171946525574, 1.8933484554290771, -2.678556203842163, 0.4550606608390808, -0.5599815845489502, -0.4400372803211212, 0.2665550112724304, -0.3633370101451874, 0.09465731680393219, -0.11196813732385635, -1.1833713054656982, -0.01249643787741661, -0.7933573126792908, 0.6517178416252136, 1.1290366649627686, 1.409877061843872, -1.1873314380645752, -0.275498628616333, -1.7276217937469482, -0.12875455617904663, -0.6409671306610107, 0.40162670612335205, -1.9330289363861084, -0.08175104111433029, -1.868082880973816, -2.452821731567383, -1.2381296157836914, -0.7981934547424316, 1.138368844985962, 0.05515233427286148, -0.8239796161651611, 1.1594412326812744, -0.3199731707572937, -1.8617162704467773, 1.150901198387146, -2.1730711460113525 ]
https://github.com/huggingface/datasets/issues/3942
reddit_tifu dataset: Checksums didn't match for dataset source files
thanks @albertvillanova . by upgrading to 1.18.4 and using `load_dataset("...", download_mode="force_redownload")` fixed the bug. using the following as you suggested in another thread can also fixed the bug ``` pip install git+https://github.com/huggingface/datasets#egg=datasets ```
## Describe the bug When loading the reddit_tifu dataset, it throws the exception "Checksums didn't match for dataset source files" ## Steps to reproduce the bug ```python import datasets from datasets import load_dataset print(datasets.__version__) # load_dataset('billsum') load_dataset('reddit_tifu', 'short') ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.17.0 - Platform: mac os - Python version: Python 3.7.6 - PyArrow version: 3.0.0
883
33
reddit_tifu dataset: Checksums didn't match for dataset source files ## Describe the bug When loading the reddit_tifu dataset, it throws the exception "Checksums didn't match for dataset source files" ## Steps to reproduce the bug ```python import datasets from datasets import load_dataset print(datasets.__version__) # load_dataset('billsum') load_dataset('reddit_tifu', 'short') ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.17.0 - Platform: mac os - Python version: Python 3.7.6 - PyArrow version: 3.0.0 thanks @albertvillanova . by upgrading to 1.18.4 and using `load_dataset("...", download_mode="force_redownload")` fixed the bug. using the following as you suggested in another thread can also fixed the bug ``` pip install git+https://github.com/huggingface/datasets#egg=datasets ```
[ -1.1926610469818115, -0.8715494871139526, -0.7258997559547424, 1.470617651939392, -0.12979337573051453, -1.244860053062439, 0.10124453157186508, -1.0148847103118896, 1.7607855796813965, -0.8551002740859985, 0.2303069531917572, -1.7149523496627808, 0.007386860437691212, -0.5458452701568604, -0.797595739364624, -0.8926370143890381, -0.34717220067977905, -0.6862103939056396, 1.0153242349624634, 2.382295608520508, 1.2011960744857788, -1.3106962442398071, 2.757689952850342, 0.6370254755020142, -0.13252615928649902, -0.9436352849006653, 0.544031023979187, 0.035658180713653564, -1.2678357362747192, -0.3278869688510895, -0.8910664319992065, -0.07183122634887695, -0.5926653146743774, -0.6052386164665222, 0.046878665685653687, 0.4214361906051636, -0.3694416582584381, -0.48206499218940735, -0.4891291856765747, -0.895065188407898, 0.4204312264919281, -0.29505831003189087, 0.9034408330917358, -0.4703327715396881, 1.8563205003738403, -0.5966654419898987, 0.4498984217643738, 0.6976159811019897, 1.337200403213501, 0.14806851744651794, 0.016371004283428192, 0.33808594942092896, 0.30722567439079285, 0.1493854522705078, 0.5064905881881714, 1.0656578540802002, 0.5267496109008789, 0.48999518156051636, 0.7061192989349365, -2.272724151611328, 1.3086960315704346, -1.0272785425186157, 0.2258930802345276, 1.3355867862701416, -0.9539142847061157, 0.3508865237236023, -1.713792085647583, -0.04782669618725777, 0.5401579737663269, -2.282660484313965, 0.21806704998016357, -1.418872356414795, -0.5218509435653687, 1.0106977224349976, 0.39897510409355164, -1.2094308137893677, 0.07644054293632507, -0.38669657707214355, 1.0738189220428467, 0.5596136450767517, 1.1259952783584595, -1.6749969720840454, -0.03698249161243439, -0.2075546234846115, 0.11558147519826889, -1.341421365737915, -1.5663695335388184, 0.5648232698440552, 0.6963830590248108, 0.6365562081336975, -0.1792655736207962, 0.9765583276748657, -0.9644874930381775, 0.7670233249664307, -1.0048192739486694, -1.8124287128448486, -1.3887519836425781, -2.3260650634765625, -2.3540782928466797, 0.7646678686141968, -0.47835662961006165, -0.4169735312461853, 2.0471508502960205, -1.0151641368865967, -1.8575239181518555, 1.1728757619857788, 0.27734753489494324, -0.024573972448706627, 2.322082042694092, 0.22525610029697418, -0.7443166971206665, 0.5569246411323547, -0.7837342619895935, 0.7038590908050537, -0.3230944573879242, 1.3681484460830688, 0.4867304563522339, -1.049080729484558, 1.5610132217407227, -0.5104779601097107, 0.6159683465957642, -0.590091347694397, -0.4943079650402069, -0.7919357419013977, 0.21814164519309998, 1.9245121479034424, -0.29332733154296875, 1.6229407787322998, -0.24769429862499237, -1.5819981098175049, -1.5264877080917358, 0.8313828706741333, 0.4281480014324188, -0.7225260734558105, 0.0987962931394577, -0.26351693272590637, 0.08363793790340424, -0.08595913648605347, 1.2075141668319702, 1.2000576257705688, 0.7798974514007568, -0.35450708866119385, -0.7913984060287476, 0.21145325899124146, 0.03279585391283035, -0.6516619920730591, -1.7752346992492676, -0.32161134481430054, 0.18013447523117065, 0.6284652948379517, -1.165015697479248, 1.653281807899475, 0.9094738364219666, 1.8971202373504639, 0.9845796823501587, -0.27624309062957764, 1.4839025735855103, 0.05573829263448715, 1.9996907711029053, -0.4624062776565552, 0.7091198563575745, -0.4096091687679291, -1.2168864011764526, 0.7214539647102356, -0.301529198884964, -2.0287582874298096, -0.777695894241333, -0.9763996601104736, -0.1611906737089157, -0.7686364650726318, 0.9702020883560181, -0.32687827944755554, -1.4728628396987915, 0.20466969907283783, -0.7142105102539062, 0.16614022850990295, -1.2490489482879639, 0.26487287878990173, 0.7756816148757935, -0.6260104775428772, 0.012286326847970486, -0.2730559706687927, -1.2925671339035034, -0.47715312242507935, 0.39617258310317993, 1.8784781694412231, -0.7598103284835815, 1.0488969087600708, 1.0427669286727905, -0.8145807981491089, 0.019585639238357544, 0.23655937612056732, -0.2865082919597626, 0.8477880358695984, -1.028916358947754, -0.49071359634399414, 1.2941563129425049, -0.21333752572536469, -0.6647626161575317, 1.4932245016098022, 0.7145423889160156, -0.9610776901245117, -0.09826791286468506, -0.19480477273464203, -0.741296648979187, -0.08821545541286469, -1.6101487874984741, -0.09169244021177292, 0.37709149718284607, -1.4867937564849854, -0.5032267570495605, -0.20589765906333923, 1.2161856889724731, -0.16691410541534424, 1.3459596633911133, -0.2965031862258911, -0.20208190381526947, -0.48840224742889404, -0.4127499461174011, 0.15777181088924408, -0.1705586463212967, -0.6028468012809753, 0.22305645048618317, -0.7825810313224792, 0.31600937247276306, 1.3667702674865723, 0.3545171916484833, 0.09163419902324677, 0.5826184749603271, 1.1573237180709839, 0.35853418707847595, -0.08749008923768997, -0.8388245105743408, -1.6416056156158447, 1.9838355779647827, -1.4103527069091797, 1.986072063446045, 0.5432793498039246, -0.1435401737689972, -1.8435709476470947, -1.967067837715149, 1.366039514541626, 1.079684853553772, 2.321549415588379, 0.5640453100204468, 0.42476022243499756, -0.8380248546600342, -0.7599597573280334, 0.2896134853363037, -0.9530847072601318, -0.6938802003860474, 0.12018155306577682, 2.3173763751983643, 1.7078640460968018, -0.5245043039321899, -0.12627458572387695, -1.0413867235183716, 1.4115532636642456, -0.23153647780418396, 0.3150155544281006, 1.978068232536316, -0.3530939221382141, -1.0535870790481567, 1.2654427289962769, -2.2862067222595215, 0.18321770429611206, 2.049776554107666, 0.24567998945713043, 0.10415589064359665, -1.4328783750534058, -0.6674954295158386, -0.30450138449668884, -0.43151524662971497, -1.2969650030136108, 0.5410670042037964, -0.23876696825027466, -0.8210649490356445, -1.3413457870483398, 0.14270150661468506, -1.0375748872756958, -1.7832601070404053, 0.2422959953546524, 1.9611071348190308, 1.9720560312271118, -0.6482869386672974, 1.5497534275054932, -0.28780311346054077, 0.21013008058071136, 1.34688401222229, 1.23892343044281, 3.151942729949951, 1.8887006044387817, -1.2897834777832031, 0.7619295716285706, 0.001829654909670353, -0.41377872228622437, 1.34955894947052, -1.1353014707565308, 1.3001238107681274, -0.23397278785705566, -1.2280796766281128, -1.289332628250122, 0.9433135986328125, 0.477182000875473, 0.06343067437410355, -0.48477527499198914, 1.2671962976455688, -0.04340263456106186, 1.3628822565078735, 0.6164498329162598, -0.41024404764175415, 0.605445921421051, -0.4494040310382843, -0.5467752814292908, 1.4954148530960083, 0.20020830631256104, -1.4158886671066284, -2.2618603706359863, -0.26271718740463257, -0.8793132305145264, -0.06732255220413208, -0.5528939962387085, -0.9886199235916138, 1.5999479293823242, 0.45741546154022217, -1.1591317653656006, -0.28631243109703064, -0.34827423095703125, -0.5912631750106812, 2.7086257934570312, -1.3805662393569946, -0.15958590805530548, -1.0124818086624146, -0.6073608994483948, 1.6437398195266724, -1.2531496286392212, -0.21458423137664795, -1.0372552871704102, -0.5902953743934631, -1.4019302129745483, -0.6052377820014954, 0.010657851584255695, -0.9715242385864258, 0.8814556002616882, 0.12082219868898392, -1.1761006116867065, -0.31443169713020325, -0.9298404455184937, 0.9963420033454895, -0.09200941771268845, 0.19460061192512512, 1.8395869731903076, 0.3618582487106323, -0.3453547954559326, 0.798815906047821, 1.1328989267349243, 0.6717343926429749, -0.6560608148574829, 0.3307374119758606, -0.6582247614860535, 0.3463120758533478, -1.3740841150283813, 0.2461474984884262, -2.915703535079956, 0.6622663736343384, -0.13401304185390472, -0.17090843617916107, -0.05095665529370308, -1.3792163133621216, 1.0224348306655884, 2.5357303619384766, -1.2797905206680298, 0.4964149594306946, 0.28270530700683594, 1.1903483867645264, -1.598902940750122, 0.2834804654121399, -0.5070297718048096, 2.1084113121032715, 0.15322944521903992, 1.191752552986145, -0.3839893043041229, -2.180116891860962, 0.7010667324066162, -1.2602543830871582, -1.1943893432617188, 0.8810349106788635, -0.8715986609458923, 0.22000183165073395, -1.341072678565979, -0.15693186223506927, -0.8453174233436584, -1.2564117908477783, 0.7527102828025818, 0.04241099953651428, 0.46128836274147034, -0.4931877553462982, 0.3986598551273346, -2.2211079597473145, -1.3143805265426636, -0.22072084248065948, -0.9740910530090332, 0.47185617685317993, -0.31068551540374756, 0.6932492852210999, -0.10570786893367767, 0.07522262632846832, 0.38406363129615784, 1.3731483221054077, 3.4068243503570557, 0.11905542761087418, 0.24001164734363556, -0.06215452402830124, -1.0157172679901123, 1.4142498970031738, 0.9669190645217896, -0.19003497064113617, -0.46153461933135986, -0.9399017691612244, 1.2929884195327759, 1.911531686782837, 1.0184526443481445, 0.008924509398639202, -0.7814492583274841, -0.7232792377471924, 0.12590384483337402, 0.10222633183002472, 0.5634396076202393, 0.8219124674797058, 0.10453547537326813, 0.1605992317199707, 1.471889615058899, 1.2007877826690674, -0.24483127892017365, 0.3649600148200989, -0.8830594420433044, -0.5033940076828003, 0.5845626592636108, 0.309184193611145, -0.03318418934941292, 0.3219517767429352, -1.0405045747756958, -0.2792450487613678, -0.4033658802509308, -0.9013130068778992, -0.6796106100082397, -0.4337218105792999, -0.420737087726593, 1.5581905841827393, 0.030014894902706146, -0.5597249269485474, 0.011530769057571888, -0.7965880036354065, -0.07255113124847412, -1.0806901454925537, 0.38156113028526306, -0.17313748598098755, -0.09331017732620239, -0.1464460790157318, 1.6399459838867188, -1.0784446001052856, -2.0217223167419434, 0.2104010283946991, 0.25652313232421875, -0.3572906255722046, 0.09651662409305573, 1.6333990097045898, 0.554559051990509, 1.3934693336486816, 1.3897944688796997, 0.9387136101722717, -0.6427788734436035, -1.2869817018508911, 0.625897228717804, 0.8879455924034119, -1.447460412979126, 0.7712854146957397, -0.029092509299516678, -0.5925031304359436, 0.6696534752845764, 1.2934422492980957, 0.45363983511924744, -1.8598358631134033, 0.7506385445594788, -0.9685196280479431, 0.7698651552200317, 0.7349016070365906, 0.8172110915184021, 0.16547614336013794, 0.9058095216751099, -1.2254306077957153, -1.0820677280426025, -0.6968023777008057, -0.7057225108146667, 1.878237009048462, -0.26706796884536743, 0.47158724069595337, -0.1885491907596588, -1.2571380138397217, -0.05144617334008217, 0.6676459908485413, 0.3676011860370636, -0.4332408905029297, 0.8849678635597229, -0.664799153804779, -1.0392358303070068, -1.366599202156067, -0.4553638994693756, -1.0606977939605713, -0.9300753474235535, 0.972990095615387, 0.9360129833221436, 0.3668869733810425, 1.813929796218872, 0.5930193066596985, 0.2638327479362488, -2.6097307205200195, 0.8746703863143921, 0.2408745139837265, -0.05850993096828461, 0.7496581077575684, 0.30514803528785706, 1.058060646057129, -0.13450878858566284, 0.5386049151420593, -2.3035430908203125, 2.2341127395629883, -0.2819485068321228, 0.5785349011421204, 0.05386645346879959, -0.1338709145784378, 1.0346111059188843, 0.5863823294639587, 0.5747492909431458, -1.099306583404541, 0.7850390672683716, -0.5924937129020691, 1.1786725521087646, 0.9311921000480652, -0.8719650506973267, -0.05681094154715538, 1.4227875471115112, 0.5225146412849426, -0.5055037140846252, -0.9528620839118958, -0.8917677998542786, 0.9683265089988708, 1.611410140991211, -0.03705093637108803, -0.11696353554725647, 0.8735904097557068, 0.6279098987579346, -1.3428140878677368, 0.16672484576702118, -0.7294678092002869, -0.6243631839752197, 1.6874524354934692, 1.9929707050323486, -0.12056160718202591, -0.12764407694339752, -0.7657431960105896, -1.2365223169326782, 0.7306129336357117, 0.09250114858150482, -0.03422241657972336, 0.6773236989974976, -0.6325671672821045, 1.0523476600646973, 0.8498387932777405, 0.9595990777015686, 0.0812385156750679, 0.3484293520450592, 0.393550843000412, -0.27306032180786133, -1.2239940166473389, -0.2197273224592209, -0.9957413673400879, -2.5279314517974854, 0.5115635991096497, -0.2965083420276642, -1.4114030599594116, 0.07343609631061554, -1.02639901638031, 0.9823130965232849, -0.5828952193260193, -1.1333038806915283, -1.41703200340271, 0.1914612352848053, -0.030707772821187973, 0.826105535030365, -1.6023775339126587, -0.060206588357686996, 1.3683677911758423, 0.8816547989845276, -0.7066004276275635, 1.0377705097198486, 0.2849090099334717, 1.0659379959106445, 0.8489686846733093, -0.45634838938713074, 0.5577998161315918, 0.09965833276510239, -1.4003148078918457, 0.5080286264419556, 1.17703115940094, 0.20232221484184265, 1.4818249940872192, -0.5873687863349915, 0.0007498934864997864, 0.40358424186706543, -0.5765013694763184, -0.48245975375175476, -0.6206209063529968, 0.7108156681060791, 0.040074411779642105, -0.8865944147109985, 0.07070016860961914, -0.006732541136443615, -0.26314499974250793, 0.23828992247581482, -1.5739929676055908, -0.21078023314476013, -0.33221620321273804, -0.6701725721359253, -1.2606152296066284, -0.07944881170988083, 1.3475804328918457, -0.8228058815002441, -0.18506254255771637, 0.49309486150741577, 0.2854038178920746, 0.5490086078643799, 0.6480231285095215, -0.6615248918533325, -0.25895169377326965, -0.3494020104408264, -0.33069750666618347, 0.2286173552274704, 1.3083068132400513, -0.12321791052818298, -1.0651887655258179, 0.7086998820304871, -0.4069288671016693, 0.04588349163532257, 1.9064754247665405, 0.037581004202365875, -0.8257430195808411, 0.2707678973674774, -0.7860062718391418, 1.9020622968673706, 1.7201062440872192, 1.3884003162384033, -0.059456225484609604, -0.940110445022583, 0.5986214876174927, -0.3114809989929199, -0.3591957688331604, 0.9667361378669739, 0.5484403967857361, -0.21586674451828003, -1.2839382886886597, 0.7670099139213562, 1.2022385597229004, -0.9812614917755127, -0.7976894378662109, 0.17730508744716644, -0.7536669373512268, 1.1143656969070435, 0.7576406598091125, 0.42141300439834595, 0.31799936294555664, 1.591017723083496, 0.7522659301757812, -0.4832809567451477, 0.5332905054092407, 0.538497269153595, -0.136846661567688, -2.0442895889282227, -1.0873990058898926, 0.4188616871833801, -0.5588735342025757, -1.6135896444320679, 1.393264889717102, -1.1032968759536743, -0.8457672595977783, 0.5450887680053711, 0.14508776366710663, 1.4381139278411865, 0.3138127326965332, 1.6274564266204834, 2.0394551753997803, 0.8700065016746521, 0.3837217092514038, 1.3200474977493286, -0.1325182169675827, -0.40171176195144653, 1.6511287689208984, -0.48549434542655945, 0.5340868234634399, 1.052371621131897, -0.4355820119380951, -1.0467509031295776, -0.8204564452171326, -1.2264533042907715, -0.6144260764122009, 1.1093114614486694, 0.15294763445854187, -1.1265108585357666, 0.2014138549566269, 1.6060280799865723, 0.14628298580646515, -0.2654569745063782, 0.7203237414360046, 0.310541570186615, -0.8126928806304932, -0.0850520059466362, -1.0276278257369995, 0.4938380718231201, -0.15311233699321747, -0.3153972029685974, 0.29858240485191345, 0.4181402027606964, 1.318479299545288, 0.054827749729156494, 0.2009797841310501, 1.22930109500885, -1.330888032913208, 1.422702670097351, -0.7964460253715515, 0.2818935811519623, -2.411884069442749, 1.3193693161010742, -0.8249831199645996, 1.901233196258545, -2.6582987308502197, 0.5011561512947083, -0.594058632850647, -0.4000243544578552, 0.246877059340477, -0.3723386228084564, 0.08514727652072906, -0.11766257882118225, -1.133741855621338, 0.011807038448750973, -0.812314510345459, 0.6694689989089966, 1.1477752923965454, 1.3920602798461914, -1.1830285787582397, -0.2790728211402893, -1.751131296157837, -0.13725030422210693, -0.6881491541862488, 0.44048643112182617, -1.9431666135787964, -0.08237713575363159, -1.8646138906478882, -2.493431568145752, -1.2245543003082275, -0.8125882744789124, 1.1283365488052368, 0.0646740272641182, -0.831671416759491, 1.1790430545806885, -0.3446834683418274, -1.8663336038589478, 1.1555529832839966, -2.1867971420288086 ]
https://github.com/huggingface/datasets/issues/3942
reddit_tifu dataset: Checksums didn't match for dataset source files
The latter solution (installing from GitHub) was proposed because the fix was not released yet. But last week we made the 1.18.4 patch release (with the fix), so no longer necessary to install from GitHub. You can now install from PyPI, as usual: ```shell pip install -U datasets ```
## Describe the bug When loading the reddit_tifu dataset, it throws the exception "Checksums didn't match for dataset source files" ## Steps to reproduce the bug ```python import datasets from datasets import load_dataset print(datasets.__version__) # load_dataset('billsum') load_dataset('reddit_tifu', 'short') ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.17.0 - Platform: mac os - Python version: Python 3.7.6 - PyArrow version: 3.0.0
883
49
reddit_tifu dataset: Checksums didn't match for dataset source files ## Describe the bug When loading the reddit_tifu dataset, it throws the exception "Checksums didn't match for dataset source files" ## Steps to reproduce the bug ```python import datasets from datasets import load_dataset print(datasets.__version__) # load_dataset('billsum') load_dataset('reddit_tifu', 'short') ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.17.0 - Platform: mac os - Python version: Python 3.7.6 - PyArrow version: 3.0.0 The latter solution (installing from GitHub) was proposed because the fix was not released yet. But last week we made the 1.18.4 patch release (with the fix), so no longer necessary to install from GitHub. You can now install from PyPI, as usual: ```shell pip install -U datasets ```
[ -1.1725211143493652, -0.8735997676849365, -0.698442816734314, 1.4398491382598877, -0.1317586898803711, -1.3026965856552124, 0.05378136783838272, -1.0101505517959595, 1.7304701805114746, -0.8905667066574097, 0.26656416058540344, -1.750219464302063, 0.06533857434988022, -0.5527855157852173, -0.7951638102531433, -0.8282476663589478, -0.3949926793575287, -0.7177934050559998, 1.0189462900161743, 2.3594610691070557, 1.1881996393203735, -1.3330821990966797, 2.8177599906921387, 0.6385779976844788, -0.14461655914783478, -0.9803111553192139, 0.5313465595245361, -0.024257909506559372, -1.3090976476669312, -0.33655452728271484, -0.9326772093772888, -0.051614873111248016, -0.5526036620140076, -0.6113448143005371, 0.035230785608291626, 0.38875678181648254, -0.3261328339576721, -0.48244690895080566, -0.46332910656929016, -0.8907477259635925, 0.425978422164917, -0.26900747418403625, 0.9110648036003113, -0.4256933033466339, 1.9156773090362549, -0.5649094581604004, 0.4443928003311157, 0.6973185539245605, 1.3493616580963135, 0.15639309585094452, -0.0677456483244896, 0.3835008144378662, 0.27852222323417664, 0.08934159576892853, 0.499545156955719, 1.055747628211975, 0.5742824673652649, 0.5219849944114685, 0.7550967931747437, -2.2500863075256348, 1.352894902229309, -0.9964827299118042, 0.22656770050525665, 1.3076138496398926, -0.9859108328819275, 0.3278978765010834, -1.6799020767211914, 0.01863209158182144, 0.5104702115058899, -2.2672994136810303, 0.21168608963489532, -1.3977329730987549, -0.5041188597679138, 1.0880428552627563, 0.42358019948005676, -1.2080638408660889, 0.08727269619703293, -0.38373813033103943, 1.0144702196121216, 0.5231469869613647, 1.138972282409668, -1.6631900072097778, 0.01595662161707878, -0.20332416892051697, 0.11045203357934952, -1.3093384504318237, -1.591152310371399, 0.568188488483429, 0.6661810278892517, 0.6060769557952881, -0.206617534160614, 1.0094735622406006, -0.9203559756278992, 0.7587576508522034, -1.0146669149398804, -1.7948216199874878, -1.3740191459655762, -2.2881555557250977, -2.3152873516082764, 0.7555975914001465, -0.5258238315582275, -0.48038288950920105, 2.100980520248413, -1.082918405532837, -1.876201868057251, 1.2178288698196411, 0.23717162013053894, -0.02979947254061699, 2.2992093563079834, 0.19651803374290466, -0.7003347277641296, 0.5319196581840515, -0.7594512104988098, 0.7211415767669678, -0.35706332325935364, 1.404868483543396, 0.4894421398639679, -1.063206672668457, 1.5763170719146729, -0.4736635386943817, 0.590455949306488, -0.5903785824775696, -0.4523334205150604, -0.776953399181366, 0.2853846848011017, 1.9051541090011597, -0.3176271319389343, 1.5943348407745361, -0.30331870913505554, -1.5866338014602661, -1.5254243612289429, 0.8015109300613403, 0.4501367509365082, -0.7661019563674927, 0.11874565482139587, -0.279956191778183, 0.04550063982605934, -0.04743749648332596, 1.200670838356018, 1.251358985900879, 0.7663729190826416, -0.29930874705314636, -0.8251118063926697, 0.21098870038986206, 0.011624150909483433, -0.6271008253097534, -1.7527626752853394, -0.3716718256473541, 0.12843447923660278, 0.6473795175552368, -1.1605340242385864, 1.6458747386932373, 0.9313886761665344, 1.9035691022872925, 0.9979321360588074, -0.26680001616477966, 1.4766403436660767, 0.055213168263435364, 1.9761743545532227, -0.4961313307285309, 0.7086778283119202, -0.4268457293510437, -1.246616005897522, 0.7406450510025024, -0.3051730990409851, -2.0180141925811768, -0.778641939163208, -0.9564632177352905, -0.18753769993782043, -0.7961524724960327, 1.0081915855407715, -0.3336011469364166, -1.3932521343231201, 0.24493266642093658, -0.7364563345909119, 0.20432794094085693, -1.251578688621521, 0.2761531472206116, 0.7759107947349548, -0.6101774573326111, -0.014916274696588516, -0.2897545397281647, -1.3328909873962402, -0.47494229674339294, 0.394563227891922, 1.8510639667510986, -0.8051651120185852, 1.0575560331344604, 1.0260065793991089, -0.7598000168800354, -0.033365510404109955, 0.26119035482406616, -0.30537769198417664, 0.8536785244941711, -1.0509823560714722, -0.4799286723136902, 1.2541017532348633, -0.20394252240657806, -0.6076022386550903, 1.490722417831421, 0.7110491991043091, -0.9747216701507568, -0.13353168964385986, -0.1841844618320465, -0.8137710690498352, -0.07078355550765991, -1.6264593601226807, -0.117121621966362, 0.31157296895980835, -1.5266450643539429, -0.4640500545501709, -0.1626768410205841, 1.2497875690460205, -0.15999744832515717, 1.3459211587905884, -0.3550160527229309, -0.22570152580738068, -0.4975375235080719, -0.39370810985565186, 0.2320047914981842, -0.18370532989501953, -0.5981186628341675, 0.20518699288368225, -0.7558143138885498, 0.34179234504699707, 1.3618510961532593, 0.3481610417366028, 0.08692993968725204, 0.5663536787033081, 1.1779927015304565, 0.35602113604545593, -0.0689539983868599, -0.8533044457435608, -1.6831525564193726, 2.025379180908203, -1.4542126655578613, 1.9920966625213623, 0.572629451751709, -0.11379997432231903, -1.8161531686782837, -1.9216234683990479, 1.3734639883041382, 1.117926001548767, 2.2356960773468018, 0.595522940158844, 0.4319508969783783, -0.8765254020690918, -0.7168470621109009, 0.3432084321975708, -0.9969869256019592, -0.6837899088859558, 0.09354167431592941, 2.3327431678771973, 1.703351616859436, -0.4890775680541992, -0.14511427283287048, -1.019237995147705, 1.3877239227294922, -0.24382822215557098, 0.27657607197761536, 1.9604624509811401, -0.32149407267570496, -1.0753521919250488, 1.2411261796951294, -2.320462465286255, 0.20444481074810028, 2.058253765106201, 0.25341376662254333, 0.10033770650625229, -1.3881100416183472, -0.6696518063545227, -0.27251777052879333, -0.3965705335140228, -1.300326943397522, 0.5799371600151062, -0.2568037211894989, -0.8017700910568237, -1.3379310369491577, 0.14842918515205383, -1.087291955947876, -1.7540268898010254, 0.27669471502304077, 1.9583295583724976, 1.9973368644714355, -0.6327505707740784, 1.5692930221557617, -0.2851502001285553, 0.2633861005306244, 1.3334622383117676, 1.227942705154419, 3.164318561553955, 1.8882946968078613, -1.275768518447876, 0.7069649696350098, 0.03785129636526108, -0.4816453754901886, 1.364978551864624, -1.133076548576355, 1.302549123764038, -0.1862652450799942, -1.2647088766098022, -1.2682186365127563, 0.890798807144165, 0.4273083508014679, 0.05247180163860321, -0.4682290852069855, 1.288066029548645, -0.03734661266207695, 1.3402626514434814, 0.5855984091758728, -0.3982665538787842, 0.5985472202301025, -0.39856159687042236, -0.551535964012146, 1.4694807529449463, 0.18600903451442719, -1.4040045738220215, -2.251171350479126, -0.2710365056991577, -0.8437978029251099, -0.026438947767019272, -0.5580356121063232, -0.9609407186508179, 1.5698044300079346, 0.47231000661849976, -1.1859517097473145, -0.31416288018226624, -0.3679909408092499, -0.5430126786231995, 2.720771551132202, -1.4172190427780151, -0.20774982869625092, -1.0229730606079102, -0.5836805701255798, 1.643810749053955, -1.2852191925048828, -0.25603482127189636, -1.0033520460128784, -0.5444186925888062, -1.358965516090393, -0.5934495329856873, -0.05891021341085434, -0.9396898746490479, 0.8529894351959229, 0.1473274677991867, -1.175760269165039, -0.3372318148612976, -0.9282330870628357, 0.928277313709259, -0.15299391746520996, 0.2096492350101471, 1.822474718093872, 0.3946007490158081, -0.3596673607826233, 0.793440580368042, 1.141715168952942, 0.6635804176330566, -0.562403678894043, 0.346029669046402, -0.673015832901001, 0.36490675806999207, -1.371882438659668, 0.2835538685321808, -2.952298879623413, 0.6235741376876831, -0.10183112323284149, -0.15440025925636292, -0.1203354150056839, -1.4226311445236206, 1.0219331979751587, 2.5230298042297363, -1.286725401878357, 0.5107192397117615, 0.29660865664482117, 1.1720335483551025, -1.6532807350158691, 0.2481769174337387, -0.492169052362442, 2.13871431350708, 0.14887961745262146, 1.155651330947876, -0.3711284399032593, -2.2734427452087402, 0.6869779825210571, -1.3045426607131958, -1.1612375974655151, 0.8444696664810181, -0.8367058038711548, 0.17681574821472168, -1.336769700050354, -0.1575826108455658, -0.8477893471717834, -1.214491605758667, 0.6916482448577881, 0.028574656695127487, 0.41585636138916016, -0.5078641772270203, 0.3326168358325958, -2.1778159141540527, -1.3584136962890625, -0.16918271780014038, -0.9314274787902832, 0.46595707535743713, -0.352450430393219, 0.6916165351867676, -0.15142524242401123, 0.09027178585529327, 0.3919339179992676, 1.3925269842147827, 3.3862247467041016, 0.17009930312633514, 0.3119724690914154, -0.062014106661081314, -0.9571653008460999, 1.4105092287063599, 0.9892768859863281, -0.19856169819831848, -0.458258718252182, -0.9112831354141235, 1.3053200244903564, 1.9043238162994385, 0.9671947956085205, 0.004823639057576656, -0.7282664179801941, -0.7378985285758972, 0.12389013171195984, 0.09439148008823395, 0.5640340447425842, 0.84412682056427, 0.13672901690006256, 0.11110606044530869, 1.4721815586090088, 1.1590195894241333, -0.29317668080329895, 0.37224605679512024, -0.8316248655319214, -0.5186790227890015, 0.5991647839546204, 0.327399879693985, -0.05956390127539635, 0.3250475823879242, -0.9380236268043518, -0.26068371534347534, -0.34835103154182434, -0.8934279680252075, -0.7257944941520691, -0.40196657180786133, -0.3999709188938141, 1.5784251689910889, 0.013088471256196499, -0.6057887077331543, -0.046425431966781616, -0.7538866400718689, -0.03778037056326866, -1.071641445159912, 0.3509531617164612, -0.17206384241580963, -0.09449547529220581, -0.11435028165578842, 1.6358318328857422, -1.0731302499771118, -1.9921157360076904, 0.23278473317623138, 0.2805601954460144, -0.3461156487464905, 0.08724788576364517, 1.6101531982421875, 0.4870767593383789, 1.4311076402664185, 1.451574444770813, 0.9355769157409668, -0.6277574300765991, -1.2889518737792969, 0.6693334579467773, 0.8692958950996399, -1.4340554475784302, 0.768850564956665, -0.01902562379837036, -0.6028345823287964, 0.6395438313484192, 1.3519576787948608, 0.5389181971549988, -1.8826298713684082, 0.7711678743362427, -0.9775336384773254, 0.8179529309272766, 0.7948864102363586, 0.8092848062515259, 0.14328503608703613, 0.8849673271179199, -1.227547287940979, -1.1267893314361572, -0.6880267262458801, -0.7270586490631104, 1.9091495275497437, -0.31631627678871155, 0.5104930400848389, -0.1934014856815338, -1.293330430984497, -0.06528209894895554, 0.6347048282623291, 0.33829501271247864, -0.43967607617378235, 0.8473289608955383, -0.652293860912323, -1.107844591140747, -1.39921236038208, -0.4614558517932892, -1.0440632104873657, -0.9365373849868774, 0.9945864081382751, 0.9290173053741455, 0.30087611079216003, 1.7768388986587524, 0.586143434047699, 0.18174554407596588, -2.5774152278900146, 0.8492503762245178, 0.20814689993858337, -0.0699688047170639, 0.7601761221885681, 0.27773207426071167, 1.0304044485092163, -0.11702460795640945, 0.5228095054626465, -2.318052291870117, 2.268139600753784, -0.3416908085346222, 0.6293110251426697, -0.0034758751280605793, -0.12130196392536163, 1.1199042797088623, 0.5901023149490356, 0.57187819480896, -1.1205297708511353, 0.7638084292411804, -0.5706289410591125, 1.1935380697250366, 0.8910554647445679, -0.8758136034011841, -0.06771986186504364, 1.410090684890747, 0.49903494119644165, -0.5489212870597839, -0.912036120891571, -0.9563170075416565, 0.975200355052948, 1.6729234457015991, -0.020826194435358047, -0.06485894322395325, 0.8413512706756592, 0.7110393047332764, -1.3479259014129639, 0.14230722188949585, -0.6939412355422974, -0.6855669021606445, 1.6706219911575317, 2.0394561290740967, -0.10000715404748917, -0.1286081224679947, -0.78096604347229, -1.2202513217926025, 0.7429013848304749, 0.0861823558807373, -0.08239013701677322, 0.6816576719284058, -0.6059272885322571, 1.107991099357605, 0.8588388562202454, 0.9385015368461609, 0.1166558563709259, 0.3213953375816345, 0.3531194031238556, -0.23525498807430267, -1.18895423412323, -0.2270755022764206, -0.9949464201927185, -2.5080952644348145, 0.5101211071014404, -0.32213178277015686, -1.4266246557235718, 0.07590986043214798, -1.0234225988388062, 0.9762724041938782, -0.555448055267334, -1.1565192937850952, -1.4242464303970337, 0.1499897837638855, -0.022096002474427223, 0.8185707330703735, -1.5637139081954956, -0.0316583551466465, 1.3617055416107178, 0.8460649847984314, -0.7074318528175354, 1.0064451694488525, 0.2721777558326721, 1.0605759620666504, 0.864111602306366, -0.419452428817749, 0.5335593819618225, 0.10915416479110718, -1.3974798917770386, 0.5344585180282593, 1.212476134300232, 0.16374610364437103, 1.458933711051941, -0.5666186213493347, -0.005997120402753353, 0.39716506004333496, -0.5521116256713867, -0.4976770877838135, -0.6353428959846497, 0.74283367395401, 0.018340416252613068, -0.7893806099891663, 0.11416572332382202, -0.011236916296184063, -0.26716312766075134, 0.25451725721359253, -1.6201932430267334, -0.22565510869026184, -0.3636956810951233, -0.6767527461051941, -1.2790693044662476, -0.13680890202522278, 1.3888044357299805, -0.794062077999115, -0.1388804018497467, 0.5229785442352295, 0.3139376938343048, 0.5455411672592163, 0.6859674453735352, -0.6456922888755798, -0.31552350521087646, -0.2909238338470459, -0.371254563331604, 0.27029624581336975, 1.2667244672775269, -0.11589553207159042, -1.0448567867279053, 0.6500154733657837, -0.3634251058101654, 0.012920600362122059, 1.8616431951522827, 0.02253718674182892, -0.8221496939659119, 0.3265356719493866, -0.7995784282684326, 1.8865184783935547, 1.712270736694336, 1.3730642795562744, -0.0606532096862793, -0.9656601548194885, 0.6200536489486694, -0.26528242230415344, -0.33272668719291687, 0.9847022891044617, 0.5228398442268372, -0.21382667124271393, -1.2987767457962036, 0.786200225353241, 1.1825125217437744, -0.976458728313446, -0.8224803805351257, 0.1328362375497818, -0.7566397786140442, 1.108277678489685, 0.7098879218101501, 0.4424791932106018, 0.30859923362731934, 1.6283903121948242, 0.7417758703231812, -0.51643967628479, 0.5218214988708496, 0.5453779101371765, -0.12549784779548645, -2.033231735229492, -1.0899758338928223, 0.4139539301395416, -0.5210355520248413, -1.601295828819275, 1.3923442363739014, -1.1312631368637085, -0.8345776796340942, 0.5277356505393982, 0.1517292857170105, 1.420758843421936, 0.26810508966445923, 1.6336615085601807, 2.0211775302886963, 0.8510164022445679, 0.3571876585483551, 1.318005084991455, -0.11656980216503143, -0.35094788670539856, 1.6620179414749146, -0.4465133845806122, 0.5511941313743591, 1.0817968845367432, -0.4314197599887848, -1.0805584192276, -0.8350565433502197, -1.2059578895568848, -0.6682537198066711, 1.1019068956375122, 0.14052769541740417, -1.1665037870407104, 0.24488459527492523, 1.5902111530303955, 0.16502487659454346, -0.2338629961013794, 0.651843786239624, 0.3370590806007385, -0.781969428062439, -0.1234811395406723, -1.0167689323425293, 0.4583388566970825, -0.19995303452014923, -0.33189013600349426, 0.36530017852783203, 0.44854187965393066, 1.317452073097229, 0.07575369626283646, 0.16347245872020721, 1.195510983467102, -1.3820158243179321, 1.3750251531600952, -0.8206782937049866, 0.29198259115219116, -2.390796184539795, 1.3715729713439941, -0.7797908782958984, 1.937338948249817, -2.675860643386841, 0.4607328772544861, -0.6653611063957214, -0.45281898975372314, 0.2971228361129761, -0.29775765538215637, 0.11982671916484833, -0.1373584121465683, -1.124076247215271, -0.012963349930942059, -0.8128610849380493, 0.6575332283973694, 1.183290958404541, 1.389798641204834, -1.109492540359497, -0.2635405361652374, -1.7069021463394165, -0.1529996544122696, -0.6506299376487732, 0.4060231149196625, -1.9433200359344482, -0.10340876132249832, -1.9319193363189697, -2.4617385864257812, -1.2591307163238525, -0.8120965361595154, 1.1777979135513306, 0.07629664987325668, -0.8048093914985657, 1.176445484161377, -0.36260730028152466, -1.813745141029358, 1.2024513483047485, -2.1698670387268066 ]
https://github.com/huggingface/datasets/issues/3941
billsum dataset: Checksums didn't match for dataset source files:
Hi @XingxingZhang, thanks for reporting. This was due to a change in Google Drive service: - #3786 We have already fixed it: - #3787 You should update `datasets` version to at least 1.18.4: ```shell pip install -U datasets ``` And then force the redownload: ```python load_dataset("...", download_mode="force_redownload") ```
## Describe the bug When loading the `billsum` dataset, it throws the exception "Checksums didn't match for dataset source files" ``` File "virtualenv_projects/codex/lib/python3.7/site-packages/datasets/utils/info_utils.py", line 40, in verify_checksums raise NonMatchingChecksumError(error_msg + str(bad_urls)) datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.com/uc?export=download&id=1g89WgFHMRbr4QrvA0ngh26PY081Nv3lx'] ``` ## Steps to reproduce the bug ```python import datasets from datasets import load_dataset print(datasets.__version__) load_dataset('billsum') ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.17.0 - Platform: mac os - Python version: Python 3.7.6 - PyArrow version: 3.0.0
884
48
billsum dataset: Checksums didn't match for dataset source files: ## Describe the bug When loading the `billsum` dataset, it throws the exception "Checksums didn't match for dataset source files" ``` File "virtualenv_projects/codex/lib/python3.7/site-packages/datasets/utils/info_utils.py", line 40, in verify_checksums raise NonMatchingChecksumError(error_msg + str(bad_urls)) datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.com/uc?export=download&id=1g89WgFHMRbr4QrvA0ngh26PY081Nv3lx'] ``` ## Steps to reproduce the bug ```python import datasets from datasets import load_dataset print(datasets.__version__) load_dataset('billsum') ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.17.0 - Platform: mac os - Python version: Python 3.7.6 - PyArrow version: 3.0.0 Hi @XingxingZhang, thanks for reporting. This was due to a change in Google Drive service: - #3786 We have already fixed it: - #3787 You should update `datasets` version to at least 1.18.4: ```shell pip install -U datasets ``` And then force the redownload: ```python load_dataset("...", download_mode="force_redownload") ```
[ -1.1368833780288696, -0.8653295636177063, -0.6341891288757324, 1.475931167602539, -0.14770586788654327, -1.2538936138153076, 0.14389990270137787, -0.9891343712806702, 1.7174444198608398, -0.7884051203727722, 0.298392653465271, -1.6886953115463257, -0.028678417205810547, -0.5889228582382202, -0.72576504945755, -0.8043769598007202, -0.42355892062187195, -0.7188974618911743, 1.0020948648452759, 2.422146797180176, 1.2209515571594238, -1.3775299787521362, 2.6533756256103516, 0.6203707456588745, -0.21870239078998566, -0.9442066550254822, 0.49021539092063904, -0.03091873973608017, -1.305294156074524, -0.3341461718082428, -0.9118475914001465, -0.029156673699617386, -0.58795565366745, -0.5692119598388672, -0.0002610236406326294, 0.4953193962574005, -0.31600677967071533, -0.4766353964805603, -0.5246976613998413, -0.838576078414917, 0.44506725668907166, -0.33151206374168396, 0.9144007563591003, -0.35701656341552734, 1.8102418184280396, -0.5724509954452515, 0.457234263420105, 0.7330533862113953, 1.3147050142288208, 0.1533738374710083, 0.028008952736854553, 0.3141184151172638, 0.2985803782939911, 0.029993753880262375, 0.5262548923492432, 1.1365293264389038, 0.5859267711639404, 0.4540465772151947, 0.7035766839981079, -2.286876916885376, 1.2475671768188477, -1.023774266242981, 0.3500315546989441, 1.3016653060913086, -0.9351440668106079, 0.2696390151977539, -1.7995363473892212, 0.01313688699156046, 0.5238924026489258, -2.237062692642212, 0.3327160179615021, -1.3976719379425049, -0.4148309528827667, 1.041258454322815, 0.3731015920639038, -1.1941229104995728, 0.14207124710083008, -0.3933427631855011, 1.0804990530014038, 0.4360973834991455, 1.0985289812088013, -1.6990890502929688, -0.06278102844953537, -0.24990125000476837, 0.1199379488825798, -1.2335700988769531, -1.560165286064148, 0.5408048629760742, 0.6662356853485107, 0.5969623327255249, -0.15576867759227753, 1.0111485719680786, -0.9917789697647095, 0.7413501143455505, -1.0560616254806519, -1.8025412559509277, -1.388465404510498, -2.2667059898376465, -2.336087703704834, 0.7162240743637085, -0.4384269416332245, -0.4516128599643707, 2.079172372817993, -1.0155055522918701, -1.8131258487701416, 1.1872382164001465, 0.31657248735427856, -0.024458229541778564, 2.2417285442352295, 0.22826538980007172, -0.8127539753913879, 0.49575188755989075, -0.784787118434906, 0.7529242038726807, -0.31107866764068604, 1.342611312866211, 0.4890086054801941, -1.06487238407135, 1.5495154857635498, -0.37370333075523376, 0.6266162395477295, -0.6598871350288391, -0.4708976149559021, -0.734684944152832, 0.26190537214279175, 1.890063762664795, -0.36707836389541626, 1.5424890518188477, -0.3139408230781555, -1.57857346534729, -1.49918532371521, 0.8779847025871277, 0.5509693622589111, -0.7005136609077454, 0.05913509801030159, -0.3177434504032135, 0.18116936087608337, -0.08821817487478256, 1.1410280466079712, 1.2036195993423462, 0.8239759802818298, -0.3462854325771332, -0.8447783589363098, 0.1867184340953827, 0.01943608745932579, -0.7051069140434265, -1.7304595708847046, -0.32523977756500244, 0.17128033936023712, 0.5901510715484619, -1.1866557598114014, 1.7392613887786865, 0.8862259984016418, 1.9159343242645264, 0.9225919842720032, -0.3076290488243103, 1.5346674919128418, 0.07279995083808899, 1.9989360570907593, -0.46272316575050354, 0.6140806674957275, -0.3489222228527069, -1.2124290466308594, 0.8306657671928406, -0.2637229859828949, -2.0486176013946533, -0.7274172902107239, -0.8360313177108765, -0.1424119621515274, -0.7657309174537659, 0.9047853946685791, -0.2896575331687927, -1.4888564348220825, 0.18760812282562256, -0.7134072780609131, 0.13208943605422974, -1.2356749773025513, 0.24619849026203156, 0.746269166469574, -0.6278398036956787, 0.06381455808877945, -0.2863698899745941, -1.29105806350708, -0.47633764147758484, 0.36938443779945374, 1.8393465280532837, -0.7342058420181274, 1.039639949798584, 1.0850772857666016, -0.7784416675567627, 0.02168823778629303, 0.2561342120170593, -0.3112776577472687, 0.8730853199958801, -1.060646891593933, -0.4861219525337219, 1.1913481950759888, -0.14546331763267517, -0.664909303188324, 1.4587163925170898, 0.6877729892730713, -1.0186866521835327, -0.17717446386814117, -0.17653317749500275, -0.74444580078125, 0.002384101040661335, -1.6208277940750122, -0.07799183577299118, 0.40556979179382324, -1.5020666122436523, -0.4363720118999481, -0.1979343742132187, 1.2777290344238281, -0.18646709620952606, 1.3696932792663574, -0.29566410183906555, -0.1419726312160492, -0.4297342598438263, -0.4100085496902466, 0.1345449686050415, -0.17155764997005463, -0.6362808346748352, 0.25180432200431824, -0.7504600286483765, 0.364115834236145, 1.4041754007339478, 0.2970556318759918, 0.0005265232175588608, 0.517536461353302, 1.1309236288070679, 0.36735546588897705, -0.05807487294077873, -0.8836117386817932, -1.568520188331604, 1.95216965675354, -1.489470362663269, 1.9741371870040894, 0.628966748714447, -0.02805711328983307, -1.76280677318573, -1.9874792098999023, 1.3852903842926025, 1.112231969833374, 2.3686656951904297, 0.550919771194458, 0.4700392186641693, -0.8303030133247375, -0.659404993057251, 0.36384913325309753, -0.9919905066490173, -0.6700348258018494, 0.1697312593460083, 2.3720569610595703, 1.7272595167160034, -0.4274595379829407, -0.23026153445243835, -1.0286800861358643, 1.432745337486267, -0.1136033833026886, 0.2550600469112396, 1.9946380853652954, -0.2535442113876343, -1.0959692001342773, 1.2977136373519897, -2.3138999938964844, 0.2119169682264328, 2.0528929233551025, 0.17922385036945343, 0.1067223772406578, -1.3666107654571533, -0.6453540921211243, -0.2514192759990692, -0.45527154207229614, -1.2614327669143677, 0.6070545315742493, -0.21392561495304108, -0.7692928314208984, -1.3767117261886597, 0.1931445449590683, -1.080613136291504, -1.7696967124938965, 0.21112850308418274, 1.9549663066864014, 1.9915269613265991, -0.7312801480293274, 1.516187310218811, -0.3410836160182953, 0.20652428269386292, 1.2902847528457642, 1.2734853029251099, 3.144524097442627, 1.9291610717773438, -1.3722237348556519, 0.7259985208511353, -0.08765150606632233, -0.4840003252029419, 1.2611740827560425, -1.1415746212005615, 1.243737816810608, -0.2213088423013687, -1.200056791305542, -1.2551794052124023, 0.9393360614776611, 0.5309851765632629, 0.04218361899256706, -0.4810659885406494, 1.1748287677764893, 0.100627601146698, 1.3364453315734863, 0.5684609413146973, -0.38711750507354736, 0.6621592044830322, -0.3508469760417938, -0.49420228600502014, 1.5742789506912231, 0.19334962964057922, -1.34548020362854, -2.336282968521118, -0.27889010310173035, -0.8973829746246338, 0.019145600497722626, -0.6198126077651978, -0.9860792756080627, 1.570660948753357, 0.4134974479675293, -1.2549598217010498, -0.22466090321540833, -0.320843368768692, -0.5537503957748413, 2.6818149089813232, -1.3415945768356323, -0.12254095822572708, -1.0145387649536133, -0.6109395623207092, 1.610444188117981, -1.194268822669983, -0.2934212386608124, -1.0003511905670166, -0.5706268548965454, -1.309100866317749, -0.6445468068122864, 0.006374732591211796, -0.9157764315605164, 0.8384585976600647, 0.15505480766296387, -1.238048791885376, -0.3213590979576111, -0.9065175652503967, 0.977590024471283, -0.1356911063194275, 0.18137095868587494, 1.8275727033615112, 0.41735559701919556, -0.3305363953113556, 0.7334369421005249, 1.1210371255874634, 0.6726374626159668, -0.6189826726913452, 0.30340492725372314, -0.756683349609375, 0.28821200132369995, -1.3578628301620483, 0.2424839287996292, -2.9151957035064697, 0.668479323387146, -0.08637667447328568, -0.032594118267297745, -0.13374611735343933, -1.3547855615615845, 1.05009925365448, 2.557750701904297, -1.2084513902664185, 0.5017040967941284, 0.3587699830532074, 1.1365172863006592, -1.5792396068572998, 0.20584657788276672, -0.46153444051742554, 2.1360015869140625, 0.13236312568187714, 1.2454521656036377, -0.44332969188690186, -2.2840046882629395, 0.596943199634552, -1.274348497390747, -1.1667317152023315, 0.8364057540893555, -0.8562932014465332, 0.20434372127056122, -1.3736640214920044, -0.22933413088321686, -0.8466764092445374, -1.261330485343933, 0.7122564911842346, 0.04051843658089638, 0.44460195302963257, -0.6036697030067444, 0.40355515480041504, -2.1827831268310547, -1.3680119514465332, -0.26253220438957214, -0.9994978904724121, 0.463371217250824, -0.27854999899864197, 0.6860215663909912, -0.13083286583423615, 0.00852521788328886, 0.3338770568370819, 1.4141554832458496, 3.403146266937256, 0.1643899828195572, 0.2495691031217575, -0.08981257677078247, -1.0321825742721558, 1.4031977653503418, 0.9743507504463196, -0.18042601644992828, -0.5393906235694885, -1.0556432008743286, 1.239202618598938, 1.9980789422988892, 1.0268962383270264, 0.012750375084578991, -0.783545970916748, -0.7884550094604492, 0.0636555477976799, 0.10153093934059143, 0.5200648903846741, 0.8401238322257996, 0.15908190608024597, 0.11502348631620407, 1.3643181324005127, 1.1291470527648926, -0.33048215508461, 0.35588914155960083, -0.8679630756378174, -0.5236692428588867, 0.5250111818313599, 0.28803861141204834, 0.02271934226155281, 0.3269820809364319, -1.0460494756698608, -0.3110451400279999, -0.3614870309829712, -0.8573381304740906, -0.7200233340263367, -0.45610496401786804, -0.38212308287620544, 1.6111996173858643, -0.0042115007527172565, -0.5002897381782532, -0.021467406302690506, -0.729120135307312, -0.05434314161539078, -1.0834892988204956, 0.3351609408855438, -0.17916324734687805, -0.05976668745279312, -0.1300581991672516, 1.658400535583496, -0.9676946997642517, -1.9902756214141846, 0.2224530577659607, 0.28535789251327515, -0.35857507586479187, 0.17687244713306427, 1.687913179397583, 0.5688334107398987, 1.3511642217636108, 1.3536640405654907, 1.0100642442703247, -0.655098021030426, -1.2751768827438354, 0.6732639074325562, 0.9406426548957825, -1.4111735820770264, 0.7460858821868896, -0.031902387738227844, -0.5482169985771179, 0.6625337600708008, 1.330448865890503, 0.4914458692073822, -2.0273513793945312, 0.7679901123046875, -0.9458695650100708, 0.717612087726593, 0.7404744029045105, 0.8049319386482239, 0.14726774394512177, 0.8211022019386292, -1.2116129398345947, -1.0661283731460571, -0.6630504131317139, -0.6754883527755737, 1.9212743043899536, -0.29547008872032166, 0.487492173910141, -0.16328264772891998, -1.3049999475479126, -0.11166590452194214, 0.7295163869857788, 0.38246235251426697, -0.5436496138572693, 0.7919492125511169, -0.6023839712142944, -1.0389962196350098, -1.3391046524047852, -0.44318482279777527, -1.066375970840454, -0.9425917863845825, 0.9751394987106323, 0.8438275456428528, 0.3902990221977234, 1.8581058979034424, 0.6563876271247864, 0.280528724193573, -2.6166672706604004, 0.8792308568954468, 0.3618534207344055, -0.08377371728420258, 0.8180024027824402, 0.33095890283584595, 1.0678385496139526, -0.10284557193517685, 0.633845329284668, -2.359645366668701, 2.2952373027801514, -0.22994957864284515, 0.6375560164451599, 0.027803391218185425, -0.16250193119049072, 1.0763676166534424, 0.4489131569862366, 0.5573940873146057, -1.0976228713989258, 0.7472666501998901, -0.597584068775177, 1.161834955215454, 0.8737714290618896, -0.8799793124198914, -0.09935491532087326, 1.3423980474472046, 0.466566264629364, -0.46774518489837646, -0.8992807269096375, -0.9314035177230835, 0.9690461754798889, 1.7081708908081055, -0.08348781615495682, -0.05559803172945976, 0.9292905330657959, 0.6903958916664124, -1.3414571285247803, 0.05062286555767059, -0.7436454892158508, -0.6678030490875244, 1.6805216073989868, 2.029756546020508, -0.15907087922096252, -0.2556631863117218, -0.8373786211013794, -1.2328952550888062, 0.7597663998603821, -0.009640995413064957, 0.00612600427120924, 0.6244204044342041, -0.6412647366523743, 1.104048490524292, 0.8563406467437744, 0.9828144907951355, 0.11969689279794693, 0.2704208493232727, 0.3460174798965454, -0.2587907612323761, -1.2197672128677368, -0.24090522527694702, -1.0142197608947754, -2.565215826034546, 0.5110263228416443, -0.18553248047828674, -1.389258861541748, 0.048179056495428085, -1.0253074169158936, 0.8981781005859375, -0.5772578716278076, -1.1637184619903564, -1.4779373407363892, 0.22636108100414276, -0.09587065130472183, 0.8690822124481201, -1.632716178894043, -0.11302826553583145, 1.3087517023086548, 0.9332797527313232, -0.7505124807357788, 1.0171947479248047, 0.24916528165340424, 1.0152651071548462, 0.9369835257530212, -0.39675256609916687, 0.5748318433761597, 0.131032794713974, -1.3377350568771362, 0.465496689081192, 1.2122472524642944, 0.13951323926448822, 1.4783940315246582, -0.6087678670883179, 0.031036529690027237, 0.43493884801864624, -0.531377375125885, -0.5191056728363037, -0.6429234147071838, 0.7073706388473511, 0.010206137783825397, -0.9600085616111755, 0.054720569401979446, -0.00876283086836338, -0.17386656999588013, 0.20783790946006775, -1.5391489267349243, -0.20284047722816467, -0.32382932305336, -0.6519401669502258, -1.2479255199432373, -0.11885053664445877, 1.3469336032867432, -0.738422691822052, -0.21680375933647156, 0.4837508499622345, 0.3086581528186798, 0.5920964479446411, 0.6224425435066223, -0.622516930103302, -0.35682886838912964, -0.27370649576187134, -0.3872564733028412, 0.367288202047348, 1.3774120807647705, -0.04819338023662567, -1.0178128480911255, 0.6912527084350586, -0.4109277129173279, 0.09561293572187424, 1.9607092142105103, 0.05536658689379692, -0.7872129082679749, 0.3475303649902344, -0.7580960988998413, 1.8594532012939453, 1.773087501525879, 1.352478265762329, -0.08488215506076813, -1.0061286687850952, 0.642634928226471, -0.3561793565750122, -0.3792770206928253, 0.9786661267280579, 0.41948816180229187, -0.1808045208454132, -1.3769956827163696, 0.7253820896148682, 1.3457320928573608, -0.9223791360855103, -0.8546319007873535, 0.1481977105140686, -0.7707391381263733, 1.1058942079544067, 0.6886751055717468, 0.34677961468696594, 0.26291078329086304, 1.5772912502288818, 0.8145054578781128, -0.42683249711990356, 0.5462210178375244, 0.4955427944660187, -0.17021356523036957, -2.0883712768554688, -1.149816870689392, 0.43189048767089844, -0.4613569676876068, -1.6412588357925415, 1.4191665649414062, -1.1371039152145386, -0.9425367712974548, 0.5768567323684692, 0.047035541385412216, 1.4316835403442383, 0.3652941882610321, 1.611299753189087, 2.0781846046447754, 0.9021692276000977, 0.3773340880870819, 1.2819511890411377, -0.18314063549041748, -0.42701655626296997, 1.7183791399002075, -0.5494707226753235, 0.46467235684394836, 1.087433934211731, -0.33675915002822876, -1.1106926202774048, -0.8024817109107971, -1.2845230102539062, -0.7027546167373657, 1.1931772232055664, 0.08292505145072937, -1.15597665309906, 0.3203272521495819, 1.6067785024642944, 0.1047462522983551, -0.2767148017883301, 0.7834704518318176, 0.3225279450416565, -0.8434772491455078, -0.0814301148056984, -0.9619278907775879, 0.45357540249824524, -0.14769841730594635, -0.3302878439426422, 0.2682470679283142, 0.4777025580406189, 1.314467191696167, 0.07721098512411118, 0.11974521726369858, 1.1262470483779907, -1.3840924501419067, 1.4514927864074707, -0.7330334186553955, 0.3510993421077728, -2.4059176445007324, 1.3274716138839722, -0.8272461891174316, 1.8963762521743774, -2.6294453144073486, 0.42771822214126587, -0.49763187766075134, -0.3847312331199646, 0.22874443233013153, -0.358313649892807, 0.15402492880821228, -0.1278352290391922, -1.1892701387405396, -0.12303263694047928, -0.7670684456825256, 0.6776021718978882, 1.1151319742202759, 1.3917982578277588, -1.1581660509109497, -0.26447463035583496, -1.7267086505889893, -0.13900500535964966, -0.6271716356277466, 0.29763978719711304, -1.9231820106506348, -0.13860659301280975, -1.8901629447937012, -2.4068219661712646, -1.2428278923034668, -0.7952706217765808, 1.1021409034729004, 0.10410548746585846, -0.8520063757896423, 1.1197527647018433, -0.37006160616874695, -1.8578987121582031, 1.1729462146759033, -2.199488401412964 ]
https://github.com/huggingface/datasets/issues/3939
Source links broken
Thanks for reporting @qqaatw. @mishig25 @sgugger do you think this can be tweaked in the new doc framework? - From: https://github.com/huggingface/datasets/blob/v2.0.0/ - To: https://github.com/huggingface/datasets/blob/2.0.0/
## Describe the bug The source links of v2.0.0 docs are broken: For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0/src/datasets/features/features.py#L747` here, the `v2.0.0` should be `2.0.0`. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug ``` ## Expected results Redirecting to this link: `https://github.com/huggingface/datasets/blob/2.0.0/src/datasets/features/features.py#L747` ## Actual results Described above. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: - Platform: - Python version: - PyArrow version:
885
24
Source links broken ## Describe the bug The source links of v2.0.0 docs are broken: For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0/src/datasets/features/features.py#L747` here, the `v2.0.0` should be `2.0.0`. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug ``` ## Expected results Redirecting to this link: `https://github.com/huggingface/datasets/blob/2.0.0/src/datasets/features/features.py#L747` ## Actual results Described above. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: - Platform: - Python version: - PyArrow version: Thanks for reporting @qqaatw. @mishig25 @sgugger do you think this can be tweaked in the new doc framework? - From: https://github.com/huggingface/datasets/blob/v2.0.0/ - To: https://github.com/huggingface/datasets/blob/2.0.0/
[ -1.1428245306015015, -0.8501659631729126, -0.7299906611442566, 1.5175490379333496, -0.011585544794797897, -1.3253201246261597, 0.06867769360542297, -0.9366446137428284, 1.6445316076278687, -0.7233543395996094, 0.24919229745864868, -1.74870765209198, -0.06668060272932053, -0.48634734749794006, -0.7031926512718201, -0.8762285113334656, -0.412835955619812, -0.7291154265403748, 1.0135154724121094, 2.5546131134033203, 1.3137320280075073, -1.3041917085647583, 2.6767184734344482, 0.7209248542785645, -0.2853336036205292, -1.0194149017333984, 0.5927944779396057, 0.003681146539747715, -1.3770514726638794, -0.35340002179145813, -0.874546229839325, -0.002601752057671547, -0.5063216090202332, -0.5574100613594055, 0.06338771432638168, 0.4807029664516449, -0.2646907866001129, -0.3574696183204651, -0.5322425961494446, -0.8207405209541321, 0.42262667417526245, -0.3248467743396759, 0.8818099498748779, -0.351531445980072, 1.7669893503189087, -0.5677320957183838, 0.42654305696487427, 0.6059391498565674, 1.3260151147842407, 0.1036524698138237, 0.05277281999588013, 0.2098425179719925, 0.3589497208595276, 0.04901610314846039, 0.5324167013168335, 1.2125370502471924, 0.6448697447776794, 0.4463582932949066, 0.6245682239532471, -2.2238316535949707, 1.3385063409805298, -0.7976221442222595, 0.2370533049106598, 1.4138829708099365, -0.9634876847267151, 0.2904410660266876, -1.7542004585266113, -0.1009414866566658, 0.4649910628795624, -2.27451229095459, 0.1718442142009735, -1.3121542930603027, -0.5142289400100708, 0.9700015187263489, 0.24396300315856934, -1.2300117015838623, 0.1695152074098587, -0.36319151520729065, 1.0425149202346802, 0.5481759309768677, 1.1948412656784058, -1.6605298519134521, -0.04314392805099487, -0.21548305451869965, 0.043267957866191864, -1.2405716180801392, -1.6229699850082397, 0.4610064923763275, 0.7281522750854492, 0.7047762870788574, -0.06943390518426895, 0.9186998009681702, -0.8765552639961243, 0.7647527456283569, -0.8230397701263428, -1.7993977069854736, -1.3484323024749756, -2.3767249584198, -2.3455522060394287, 0.7768180966377258, -0.44547274708747864, -0.4427494406700134, 2.024660110473633, -1.0588397979736328, -1.9249753952026367, 0.9495116472244263, 0.4160134196281433, -0.02202298492193222, 2.3172643184661865, 0.2525271773338318, -0.716160774230957, 0.39997926354408264, -0.7701845765113831, 0.7369167804718018, -0.34707167744636536, 1.3278785943984985, 0.5298344492912292, -1.0822060108184814, 1.5498201847076416, -0.4947098195552826, 0.5542625188827515, -0.7557297348976135, -0.3118685185909271, -0.755200207233429, 0.2522607445716858, 1.8645637035369873, -0.4346909523010254, 1.5412342548370361, -0.18539534509181976, -1.4966181516647339, -1.4779924154281616, 0.6869076490402222, 0.5063813328742981, -0.7416011095046997, 0.10846439749002457, -0.40597912669181824, 0.05894612520933151, 0.014680629596114159, 1.0236666202545166, 1.1108280420303345, 0.6491541266441345, -0.3813129663467407, -0.8884041905403137, 0.3458697497844696, 0.004515535198152065, -0.6276245713233948, -1.805828332901001, -0.24621997773647308, 0.28598839044570923, 0.616109311580658, -1.185364842414856, 1.7520716190338135, 0.8145503401756287, 2.010417938232422, 0.9526363015174866, -0.48821505904197693, 1.5368443727493286, 0.003180825151503086, 1.9278919696807861, -0.4382759630680084, 0.674898087978363, -0.3600733280181885, -1.2123503684997559, 0.8787488341331482, -0.3821956515312195, -1.9520727396011353, -0.6680020093917847, -0.891424834728241, -0.11965601146221161, -0.7270858287811279, 1.0158106088638306, -0.1971437633037567, -1.358756422996521, 0.09118364006280899, -0.7493963837623596, 0.12611038982868195, -1.4184502363204956, 0.184537872672081, 0.8712236285209656, -0.6159578561782837, -0.08486967533826828, -0.29462113976478577, -1.305747628211975, -0.5100662112236023, 0.38088369369506836, 1.8288922309875488, -0.5867588520050049, 1.063545823097229, 1.007729172706604, -0.7760987281799316, 0.11085111647844315, 0.34854844212532043, -0.4003894031047821, 0.8772072196006775, -1.0382702350616455, -0.35323846340179443, 1.1655848026275635, -0.18302617967128754, -0.7890767455101013, 1.5349942445755005, 0.9108001589775085, -1.0433647632598877, -0.20413675904273987, -0.14406928420066833, -0.6875206232070923, 0.016177110373973846, -1.5927977561950684, -0.13044185936450958, 0.34818246960639954, -1.4771407842636108, -0.4979487359523773, -0.2486240267753601, 1.3714226484298706, -0.22623004019260406, 1.460312843322754, -0.24468684196472168, -0.2438119649887085, -0.523704469203949, -0.3914358615875244, 0.08738510310649872, -0.2018515169620514, -0.670488715171814, 0.37372830510139465, -0.8606962561607361, 0.3143325448036194, 1.4074856042861938, 0.3624848425388336, 0.11125785857439041, 0.5667667388916016, 1.0861705541610718, 0.3477795720100403, -0.17517109215259552, -0.9537440538406372, -1.65903902053833, 2.0536997318267822, -1.3369779586791992, 1.952614426612854, 0.7721565961837769, -0.07536469399929047, -1.7416568994522095, -1.9248032569885254, 1.4111003875732422, 1.0908699035644531, 2.405857801437378, 0.5663850903511047, 0.49078381061553955, -0.7992373108863831, -0.6946742534637451, 0.26464101672172546, -0.9675461649894714, -0.7870274186134338, 0.13913749158382416, 2.3689942359924316, 1.7664250135421753, -0.45863816142082214, -0.25818488001823425, -1.052347183227539, 1.3012436628341675, -0.18340662121772766, 0.15733028948307037, 1.9631562232971191, -0.27199673652648926, -0.8765198588371277, 1.2604882717132568, -2.312298059463501, 0.2629873752593994, 2.02878737449646, 0.19069291651248932, 0.0360490158200264, -1.4524459838867188, -0.703211784362793, -0.30788516998291016, -0.5041942000389099, -1.2128041982650757, 0.5763082504272461, -0.17704595625400543, -0.8732317090034485, -1.5040372610092163, 0.14617885649204254, -1.0963122844696045, -1.8488502502441406, 0.31982821226119995, 1.8543922901153564, 1.9244474172592163, -0.7709248661994934, 1.4805197715759277, -0.18749955296516418, 0.1412915587425232, 1.3180099725723267, 1.2820420265197754, 3.1794910430908203, 1.9421199560165405, -1.280900478363037, 0.8657863736152649, -0.0869482159614563, -0.49025413393974304, 1.2667560577392578, -1.1228511333465576, 1.1608240604400635, -0.3584354519844055, -1.383305549621582, -1.3195768594741821, 1.0172981023788452, 0.5348129272460938, 0.13199636340141296, -0.5527252554893494, 1.1877182722091675, 0.1379857063293457, 1.3241158723831177, 0.5837831497192383, -0.3328005373477936, 0.6058076024055481, -0.34816235303878784, -0.45156794786453247, 1.6031689643859863, 0.10594408214092255, -1.5118142366409302, -2.3792481422424316, -0.31879502534866333, -0.8910652995109558, -0.1616312861442566, -0.6311009526252747, -1.0149296522140503, 1.5918619632720947, 0.5788798928260803, -1.161774754524231, -0.2825661897659302, -0.33381086587905884, -0.6356475949287415, 2.633281946182251, -1.4198179244995117, -0.07321806997060776, -1.0483391284942627, -0.5097261071205139, 1.6096951961517334, -1.1502885818481445, -0.13299472630023956, -1.021446943283081, -0.6827313899993896, -1.361419677734375, -0.5481579899787903, 0.011318203061819077, -0.9206140637397766, 0.6718993782997131, -0.007411603350192308, -1.1380465030670166, -0.26304271817207336, -0.9424425363540649, 0.9931979179382324, -0.12067456543445587, 0.19127526879310608, 1.8955830335617065, 0.4967597723007202, -0.4277561902999878, 0.6713265776634216, 1.1031851768493652, 0.6045482754707336, -0.7274438142776489, 0.2518029510974884, -0.7118452191352844, 0.2856391370296478, -1.416578769683838, 0.21059292554855347, -2.8350396156311035, 0.6899329423904419, -0.08361534774303436, -0.10299824923276901, -0.05998352915048599, -1.200334072113037, 1.2110093832015991, 2.54089093208313, -1.2655638456344604, 0.5066158175468445, 0.3688232898712158, 1.1333411931991577, -1.491894245147705, 0.25953173637390137, -0.4374575614929199, 2.082852840423584, 0.030121242627501488, 1.2662172317504883, -0.4241102337837219, -2.1652631759643555, 0.5962197780609131, -1.2380659580230713, -1.01614248752594, 0.8857303261756897, -0.7963258028030396, 0.09385448694229126, -1.3403944969177246, -0.053927890956401825, -0.8722180724143982, -1.2907774448394775, 0.7328019738197327, -0.0652940571308136, 0.48163193464279175, -0.6374773383140564, 0.3836158812046051, -2.144300937652588, -1.3254483938217163, -0.2534489035606384, -0.9997378587722778, 0.42856842279434204, -0.3377966284751892, 0.6519674062728882, -0.09136200696229935, -0.00740975234657526, 0.30436399579048157, 1.3198153972625732, 3.3950889110565186, 0.2170388102531433, 0.35346657037734985, 0.009027624502778053, -1.0521175861358643, 1.4527595043182373, 0.9140847325325012, -0.17758895456790924, -0.4947505593299866, -0.8991925716400146, 1.2879154682159424, 1.9356188774108887, 1.3068883419036865, 0.09878283739089966, -0.9433963298797607, -0.9011358022689819, 0.077128566801548, 0.18243475258350372, 0.43588903546333313, 0.8770629167556763, 0.09307388216257095, 0.08347344398498535, 1.3687047958374023, 1.248905897140503, -0.32094159722328186, 0.4653063416481018, -0.8937311172485352, -0.38470911979675293, 0.43128201365470886, 0.3235151171684265, 0.07802332937717438, 0.4953347444534302, -1.1532270908355713, -0.31249192357063293, -0.3563325107097626, -0.8849001526832581, -0.7262904047966003, -0.4634997546672821, -0.3896137475967407, 1.6592055559158325, 0.0018847929313778877, -0.517060399055481, 0.06578832864761353, -0.8379622101783752, -0.036589737981557846, -1.0550639629364014, 0.2897970676422119, -0.19736948609352112, 0.05356582999229431, -0.12416888028383255, 1.67380690574646, -1.1071746349334717, -2.178283214569092, 0.3249567747116089, 0.2794766128063202, -0.4991510212421417, 0.16994328796863556, 1.7168818712234497, 0.5707046389579773, 1.3516008853912354, 1.3250938653945923, 1.0461971759796143, -0.6723982095718384, -1.2710124254226685, 0.6925982236862183, 1.012192964553833, -1.3564716577529907, 0.9268376231193542, -0.1067904680967331, -0.5350176692008972, 0.6287137269973755, 1.292365550994873, 0.29998624324798584, -1.9942854642868042, 0.7921518683433533, -0.7753974199295044, 0.7222116589546204, 0.6395163536071777, 0.788428544998169, 0.11373554915189743, 0.7187498807907104, -1.369331955909729, -1.0306354761123657, -0.6384321451187134, -0.5264878869056702, 1.8523725271224976, -0.18280147016048431, 0.5726476311683655, -0.1800093799829483, -1.2741483449935913, -0.0626264438033104, 0.7120609879493713, 0.3228004276752472, -0.5024130344390869, 0.953040361404419, -0.512414813041687, -1.0598654747009277, -1.2889223098754883, -0.5049765110015869, -0.9624941945075989, -0.8399900197982788, 0.97514408826828, 0.8221954703330994, 0.4226168990135193, 1.878074049949646, 0.5785171389579773, 0.23639795184135437, -2.7108652591705322, 0.9166173934936523, 0.2869533598423004, 0.023212501779198647, 0.8740929961204529, 0.20175489783287048, 1.143722414970398, -0.12443827837705612, 0.5492003560066223, -2.2516825199127197, 2.244523048400879, -0.18257535994052887, 0.6011025905609131, 0.08311935514211655, -0.16649067401885986, 1.0604749917984009, 0.5204089283943176, 0.6201856732368469, -1.246198296546936, 0.7959661483764648, -0.6565931439399719, 1.1881070137023926, 0.859822690486908, -0.9551146626472473, 0.003936181776225567, 1.3851181268692017, 0.5333989858627319, -0.35740140080451965, -1.0052284002304077, -0.9061557054519653, 1.0094192028045654, 1.6488975286483765, 0.016574854031205177, 0.07372470200061798, 0.9226449728012085, 0.7024290561676025, -1.351171612739563, 0.12868405878543854, -0.7179062366485596, -0.5435096025466919, 1.6965546607971191, 2.0585477352142334, 0.006140111014246941, -0.2351197451353073, -0.8936086297035217, -1.1564090251922607, 0.6982404589653015, -0.0024792104959487915, 0.08496010303497314, 0.8325858116149902, -0.7069750428199768, 1.1985365152359009, 0.7239243388175964, 0.9484258890151978, 0.05939745903015137, 0.2760539650917053, 0.3036920726299286, -0.3773786425590515, -1.2254550457000732, -0.29069486260414124, -1.0998051166534424, -2.5291266441345215, 0.4574718773365021, -0.2681252062320709, -1.4213148355484009, 0.033336058259010315, -1.159277319908142, 0.8473901748657227, -0.6104952096939087, -1.0377142429351807, -1.3739122152328491, 0.2508850693702698, -0.19545134902000427, 0.857946515083313, -1.548889398574829, -0.07079419493675232, 1.36147940158844, 0.8698922395706177, -0.6270545125007629, 1.0166438817977905, 0.1742740273475647, 0.9628366827964783, 0.8831138610839844, -0.30326247215270996, 0.5007444024085999, 0.1799984872341156, -1.3931453227996826, 0.37022003531455994, 1.1774756908416748, 0.24257045984268188, 1.3858267068862915, -0.6324350833892822, 0.16777998208999634, 0.45258140563964844, -0.44720157980918884, -0.6046434640884399, -0.5790650248527527, 0.7217766642570496, 0.07701807469129562, -1.0158843994140625, 0.09700920432806015, -0.11463271826505661, -0.07582058012485504, 0.22622787952423096, -1.5273544788360596, -0.19860078394412994, -0.209853857755661, -0.6028016805648804, -1.2464629411697388, 0.05385929346084595, 1.2859604358673096, -0.9108675122261047, -0.17199835181236267, 0.4423884153366089, 0.1617974042892456, 0.541062593460083, 0.5535451769828796, -0.6866557002067566, -0.282642662525177, -0.3560408055782318, -0.2611583471298218, 0.3227663040161133, 1.2326998710632324, -0.08633384853601456, -0.931545078754425, 0.6735721230506897, -0.4642057418823242, 0.1668209731578827, 2.1244771480560303, 0.01003110222518444, -0.8857225179672241, 0.33760160207748413, -0.5687021613121033, 1.803662896156311, 1.6945765018463135, 1.3410612344741821, -0.11581268161535263, -0.9553200006484985, 0.5650050044059753, -0.2623975872993469, -0.4054413437843323, 1.0183316469192505, 0.32450467348098755, -0.22072294354438782, -1.3908334970474243, 0.4925498962402344, 1.3458541631698608, -0.9308258891105652, -0.8459471464157104, 0.14826661348342896, -0.9194676876068115, 1.1602249145507812, 0.7093350291252136, 0.29719114303588867, 0.2459336221218109, 1.473641276359558, 0.6770870685577393, -0.4604017436504364, 0.4823174774646759, 0.43668171763420105, -0.16430023312568665, -1.9895589351654053, -0.8963181972503662, 0.2930983603000641, -0.4427616000175476, -1.5620818138122559, 1.2620309591293335, -1.3059552907943726, -0.903548002243042, 0.5242223739624023, 0.20590730011463165, 1.4768720865249634, 0.31836169958114624, 1.7041618824005127, 2.146152973175049, 0.9023734331130981, 0.19566982984542847, 1.2218501567840576, -0.09895005077123642, -0.43017393350601196, 1.6797088384628296, -0.5085842609405518, 0.557194709777832, 1.0572024583816528, -0.48669758439064026, -1.0793479681015015, -0.9006304740905762, -1.1937613487243652, -0.6097147464752197, 1.2733771800994873, 0.16064314544200897, -1.0882045030593872, 0.24774691462516785, 1.5158876180648804, 0.047333091497421265, -0.1580410748720169, 0.7439669370651245, 0.4380764365196228, -0.7918496131896973, -0.023628832772374153, -0.8559805154800415, 0.5289382338523865, -0.09194225817918777, -0.3000490963459015, 0.31158751249313354, 0.4953233003616333, 1.2583322525024414, 0.03881140053272247, 0.1238538920879364, 1.3319820165634155, -1.2640373706817627, 1.5923264026641846, -0.6818356513977051, 0.21316057443618774, -2.424318552017212, 1.4233968257904053, -0.8550894260406494, 1.7991747856140137, -2.6270875930786133, 0.33158421516418457, -0.4787698984146118, -0.45654135942459106, 0.23643043637275696, -0.5000765919685364, 0.08848728239536285, -0.21607089042663574, -1.0063637495040894, -0.2302459478378296, -0.8445729613304138, 0.537128746509552, 1.2140182256698608, 1.454302430152893, -1.0960978269577026, -0.3176515996456146, -1.8837080001831055, -0.17324315011501312, -0.6933380365371704, 0.49990278482437134, -1.8106648921966553, -0.19623830914497375, -1.9428166151046753, -2.5020768642425537, -1.3324304819107056, -0.8520435094833374, 0.9898412823677063, 0.13392522931098938, -0.807579755783081, 1.0107272863388062, -0.4037781059741974, -1.8003379106521606, 1.0550329685211182, -2.2407310009002686 ]
https://github.com/huggingface/datasets/issues/3939
Source links broken
@qqaatw thanks a lot for notifying about this issue! in comparison, transformers tags start with `v` like [this one](https://github.com/huggingface/transformers/blob/v4.17.0/src/transformers/models/bert/configuration_bert.py#L54). Therefore, we have to do one of 2 options below: 1. Make necessary changes on doc-builder side OR 2. Make [datasets tags](https://github.com/huggingface/datasets/tags) start with `v`, just like [transformers](https://github.com/huggingface/transformers/tags) (so that tag naming can be consistent amongst hf repos) I'll let you decide @albertvillanova @lhoestq @sgugger
## Describe the bug The source links of v2.0.0 docs are broken: For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0/src/datasets/features/features.py#L747` here, the `v2.0.0` should be `2.0.0`. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug ``` ## Expected results Redirecting to this link: `https://github.com/huggingface/datasets/blob/2.0.0/src/datasets/features/features.py#L747` ## Actual results Described above. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: - Platform: - Python version: - PyArrow version:
885
64
Source links broken ## Describe the bug The source links of v2.0.0 docs are broken: For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0/src/datasets/features/features.py#L747` here, the `v2.0.0` should be `2.0.0`. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug ``` ## Expected results Redirecting to this link: `https://github.com/huggingface/datasets/blob/2.0.0/src/datasets/features/features.py#L747` ## Actual results Described above. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: - Platform: - Python version: - PyArrow version: @qqaatw thanks a lot for notifying about this issue! in comparison, transformers tags start with `v` like [this one](https://github.com/huggingface/transformers/blob/v4.17.0/src/transformers/models/bert/configuration_bert.py#L54). Therefore, we have to do one of 2 options below: 1. Make necessary changes on doc-builder side OR 2. Make [datasets tags](https://github.com/huggingface/datasets/tags) start with `v`, just like [transformers](https://github.com/huggingface/transformers/tags) (so that tag naming can be consistent amongst hf repos) I'll let you decide @albertvillanova @lhoestq @sgugger
[ -1.1532609462738037, -0.8753166794776917, -0.7399726510047913, 1.5231469869613647, -0.043338753283023834, -1.2927786111831665, 0.12809433043003082, -0.9751517176628113, 1.6771315336227417, -0.6929699778556824, 0.26403895020484924, -1.7566813230514526, -0.0469605028629303, -0.5033721923828125, -0.7353984713554382, -0.8586406707763672, -0.39239615201950073, -0.7644802927970886, 1.0119054317474365, 2.545366048812866, 1.3187248706817627, -1.3012564182281494, 2.728931188583374, 0.703683614730835, -0.3017495274543762, -1.0324833393096924, 0.5817726254463196, -0.03654823452234268, -1.36618971824646, -0.4013131856918335, -0.8841491341590881, -0.003340685274451971, -0.5182521343231201, -0.5570873618125916, 0.06521131098270416, 0.4739397168159485, -0.2697877585887909, -0.3870156407356262, -0.532976508140564, -0.805136501789093, 0.44964730739593506, -0.3151237964630127, 0.8887665271759033, -0.301860511302948, 1.7790437936782837, -0.5978108644485474, 0.41227737069129944, 0.6405306458473206, 1.3497639894485474, 0.12462198734283447, 0.017616037279367447, 0.24000903964042664, 0.40266889333724976, 0.05388328433036804, 0.5681192278862, 1.236319899559021, 0.6659422516822815, 0.4653805196285248, 0.6506298780441284, -2.203906536102295, 1.3304638862609863, -0.8257200717926025, 0.27621397376060486, 1.3574556112289429, -0.9369927048683167, 0.29600444436073303, -1.7681095600128174, -0.10990803688764572, 0.5110449194908142, -2.254741907119751, 0.1492498815059662, -1.33305823802948, -0.5063180923461914, 0.971204936504364, 0.2734414339065552, -1.2578126192092896, 0.19257983565330505, -0.3839211165904999, 1.0648021697998047, 0.5243746638298035, 1.1843645572662354, -1.6641446352005005, -0.04999088495969772, -0.2137482613325119, 0.06246240437030792, -1.1932088136672974, -1.584846019744873, 0.5117123126983643, 0.7045623660087585, 0.684219241142273, -0.09853541851043701, 0.9518474340438843, -0.8925080895423889, 0.7737221121788025, -0.817001223564148, -1.8089810609817505, -1.3422605991363525, -2.3172972202301025, -2.2901806831359863, 0.7874243259429932, -0.48453277349472046, -0.4644603431224823, 2.0271637439727783, -1.0517874956130981, -1.91146719455719, 0.9516597986221313, 0.3944889008998871, -0.009802340529859066, 2.321150779724121, 0.2627217769622803, -0.7468134164810181, 0.40578120946884155, -0.7577918767929077, 0.7811665534973145, -0.3658198118209839, 1.3485625982284546, 0.5055838823318481, -1.0744740962982178, 1.5634273290634155, -0.4796223044395447, 0.5562394857406616, -0.7679765224456787, -0.3579997420310974, -0.7375041246414185, 0.29291900992393494, 1.8950066566467285, -0.45833826065063477, 1.5390392541885376, -0.2793688476085663, -1.5150727033615112, -1.5020095109939575, 0.7060286998748779, 0.5429000854492188, -0.7434917688369751, 0.0688113123178482, -0.4346044659614563, 0.07155118882656097, 0.047710128128528595, 1.0638434886932373, 1.1844887733459473, 0.6521449089050293, -0.36088913679122925, -0.8594653606414795, 0.31358015537261963, -0.007044547237455845, -0.6508946418762207, -1.8249324560165405, -0.25780487060546875, 0.26642823219299316, 0.6324847340583801, -1.2210416793823242, 1.7509856224060059, 0.8044084906578064, 1.9752010107040405, 0.9848999977111816, -0.46549907326698303, 1.5465741157531738, 0.011484452523291111, 1.8978052139282227, -0.44878363609313965, 0.6431246995925903, -0.39628398418426514, -1.2043852806091309, 0.8736962676048279, -0.3525574207305908, -1.9835498332977295, -0.6926248073577881, -0.8618908524513245, -0.11552804708480835, -0.7508935332298279, 0.957423746585846, -0.23311083018779755, -1.3594504594802856, 0.11988840997219086, -0.7805090546607971, 0.12520557641983032, -1.3740406036376953, 0.1792912632226944, 0.8245372176170349, -0.6260954141616821, -0.003759386483579874, -0.27518415451049805, -1.2929621934890747, -0.5390909910202026, 0.32289057970046997, 1.8501056432724, -0.6292939782142639, 1.0201681852340698, 1.0384798049926758, -0.7555588483810425, 0.07415986806154251, 0.36788269877433777, -0.37584754824638367, 0.8801112174987793, -1.0281606912612915, -0.3333527445793152, 1.1479939222335815, -0.1273668259382248, -0.7472963333129883, 1.4981553554534912, 0.8812435269355774, -1.0208479166030884, -0.22087876498699188, -0.11569985747337341, -0.7440429925918579, 0.017105937004089355, -1.6038310527801514, -0.14731574058532715, 0.3846036493778229, -1.4793217182159424, -0.467656672000885, -0.25080186128616333, 1.328565001487732, -0.188462495803833, 1.4541022777557373, -0.2871206998825073, -0.17930197715759277, -0.4352593719959259, -0.39414161443710327, 0.07588395476341248, -0.22180074453353882, -0.650519847869873, 0.33695778250694275, -0.8361613154411316, 0.3207823932170868, 1.4358093738555908, 0.37110650539398193, 0.08926866203546524, 0.5326800346374512, 1.1074590682983398, 0.3663848042488098, -0.15835049748420715, -0.9034767746925354, -1.6271228790283203, 2.0486981868743896, -1.3497158288955688, 1.9407572746276855, 0.809272825717926, -0.052462827414274216, -1.7399424314498901, -1.9492392539978027, 1.4109714031219482, 1.106415867805481, 2.420868396759033, 0.5832680463790894, 0.48083123564720154, -0.7714544534683228, -0.6684422492980957, 0.2719990015029907, -0.9707003831863403, -0.767737627029419, 0.15394309163093567, 2.368378162384033, 1.7887364625930786, -0.5042608976364136, -0.244043231010437, -1.0445945262908936, 1.3170318603515625, -0.2119438648223877, 0.1757209599018097, 1.9618914127349854, -0.27426406741142273, -0.9113035202026367, 1.276823878288269, -2.29061222076416, 0.24240297079086304, 2.0173513889312744, 0.1766085922718048, 0.024797841906547546, -1.452038049697876, -0.6582199335098267, -0.30068060755729675, -0.47588449716567993, -1.2125290632247925, 0.5775452256202698, -0.21098081767559052, -0.9065775275230408, -1.497137427330017, 0.1475905328989029, -1.1144639253616333, -1.819489598274231, 0.3034294843673706, 1.8984318971633911, 1.9605693817138672, -0.7889305353164673, 1.5036298036575317, -0.22183434665203094, 0.17794853448867798, 1.2922645807266235, 1.3044257164001465, 3.1436970233917236, 1.9432761669158936, -1.2765780687332153, 0.8218262195587158, -0.13921986520290375, -0.5076287984848022, 1.2164604663848877, -1.1393321752548218, 1.162095546722412, -0.2839139997959137, -1.3808683156967163, -1.3011316061019897, 1.0281713008880615, 0.5719399452209473, 0.0905204713344574, -0.5069780945777893, 1.1924991607666016, 0.11694410443305969, 1.2918051481246948, 0.5766936540603638, -0.2927006781101227, 0.6256101131439209, -0.2908678948879242, -0.45995789766311646, 1.541314721107483, 0.12786118686199188, -1.480891227722168, -2.3624706268310547, -0.2713545262813568, -0.8897277116775513, -0.1178901195526123, -0.6496827006340027, -1.0066996812820435, 1.6003586053848267, 0.5501574873924255, -1.2148507833480835, -0.28428420424461365, -0.33172884583473206, -0.5745209455490112, 2.5811281204223633, -1.37856924533844, -0.11046984791755676, -1.0373715162277222, -0.5116465091705322, 1.6140308380126953, -1.1445306539535522, -0.14431451261043549, -1.0052646398544312, -0.641679584980011, -1.3325098752975464, -0.5684241056442261, 0.02580123394727707, -0.9389145374298096, 0.681408703327179, 0.05385797470808029, -1.1317646503448486, -0.28580325841903687, -0.8980516791343689, 1.0005226135253906, -0.142966166138649, 0.1796671599149704, 1.942604899406433, 0.44723618030548096, -0.42640069127082825, 0.6665529012680054, 1.1234484910964966, 0.5870208740234375, -0.6611515879631042, 0.23829758167266846, -0.713778018951416, 0.28386762738227844, -1.4416255950927734, 0.24420469999313354, -2.8534703254699707, 0.6736497282981873, -0.1078777015209198, -0.13099372386932373, -0.05614354833960533, -1.2406567335128784, 1.168558120727539, 2.5769381523132324, -1.2105920314788818, 0.47826093435287476, 0.3608262836933136, 1.1787817478179932, -1.5054223537445068, 0.24738925695419312, -0.4184892177581787, 2.0481672286987305, 0.06690579652786255, 1.26690673828125, -0.4358431100845337, -2.16481876373291, 0.6095519661903381, -1.2304402589797974, -1.0334721803665161, 0.8341341614723206, -0.7912865877151489, 0.08013805001974106, -1.3630650043487549, -0.10323893278837204, -0.8856276273727417, -1.2381168603897095, 0.7315258383750916, 0.003988910466432571, 0.4545031487941742, -0.660192608833313, 0.3998289108276367, -2.131147623062134, -1.3360239267349243, -0.2100207507610321, -0.9597604870796204, 0.4644700586795807, -0.3192523419857025, 0.655722439289093, -0.13568726181983948, -0.03265038877725601, 0.31068459153175354, 1.3529778718948364, 3.413874387741089, 0.23237106204032898, 0.32983675599098206, -0.041136618703603745, -1.0187551975250244, 1.4470105171203613, 0.8950793147087097, -0.2382400929927826, -0.4984707832336426, -0.9375596642494202, 1.3111833333969116, 1.9807847738265991, 1.2282150983810425, 0.0931411013007164, -0.9226723313331604, -0.9045786261558533, 0.057984210550785065, 0.21207094192504883, 0.3971846401691437, 0.8687798976898193, 0.08947686105966568, 0.07722114026546478, 1.3510000705718994, 1.226062536239624, -0.3931000232696533, 0.5161941051483154, -0.8949965834617615, -0.42175984382629395, 0.41206321120262146, 0.30733951926231384, 0.056342944502830505, 0.43213003873825073, -1.1508331298828125, -0.3026627004146576, -0.33944380283355713, -0.8879637122154236, -0.7588852643966675, -0.4054260849952698, -0.3663683235645294, 1.617153286933899, 0.005860409699380398, -0.49627885222435, 0.06213386356830597, -0.8013072609901428, -0.08595569431781769, -1.023193120956421, 0.25117817521095276, -0.18862171471118927, 0.04686397686600685, -0.12904541194438934, 1.6878193616867065, -1.0242830514907837, -2.1267971992492676, 0.31361454725265503, 0.25039592385292053, -0.4398694932460785, 0.1939399391412735, 1.72348952293396, 0.6010595560073853, 1.3772727251052856, 1.3366259336471558, 0.9964956641197205, -0.634468674659729, -1.2688848972320557, 0.7023637294769287, 0.9889016151428223, -1.3771189451217651, 0.8702800273895264, -0.10329394787549973, -0.5289031863212585, 0.6490136981010437, 1.2851452827453613, 0.2921260595321655, -2.0542659759521484, 0.8195658326148987, -0.7873013615608215, 0.7435328364372253, 0.685422956943512, 0.77675861120224, 0.1707429438829422, 0.7391703724861145, -1.3718111515045166, -1.0878692865371704, -0.688984215259552, -0.5590314865112305, 1.845759630203247, -0.14602217078208923, 0.6081916093826294, -0.18433119356632233, -1.296721339225769, -0.13076288998126984, 0.6869672536849976, 0.3060378134250641, -0.5061971545219421, 0.8768163323402405, -0.5502179265022278, -1.043603539466858, -1.3066679239273071, -0.5090898275375366, -0.9909243583679199, -0.8925861120223999, 0.9242278933525085, 0.8360232710838318, 0.42460426688194275, 1.8701225519180298, 0.5670621991157532, 0.25374454259872437, -2.697199821472168, 0.9351730346679688, 0.33482789993286133, -0.030216515064239502, 0.8696266412734985, 0.2697778344154358, 1.0817322731018066, -0.09512762725353241, 0.5569882988929749, -2.262535810470581, 2.2556567192077637, -0.18032175302505493, 0.6089215278625488, 0.03207375109195709, -0.1878448873758316, 1.070910930633545, 0.5183402895927429, 0.6162561774253845, -1.1869093179702759, 0.7674442529678345, -0.6729251146316528, 1.2127838134765625, 0.8193086981773376, -0.9328940510749817, -0.019911611452698708, 1.4199267625808716, 0.5358278751373291, -0.38718506693840027, -0.9709289073944092, -0.9196043014526367, 0.9902724623680115, 1.7017942667007446, 0.0025737695395946503, 0.022518493235111237, 0.9089888334274292, 0.6795259714126587, -1.3549745082855225, 0.06756459921598434, -0.6893389821052551, -0.5941241979598999, 1.7193940877914429, 2.0800724029541016, -0.05215746909379959, -0.2200860232114792, -0.8490912914276123, -1.1892352104187012, 0.7390480041503906, -0.06179133802652359, 0.08968857675790787, 0.8185544013977051, -0.7149972319602966, 1.2217576503753662, 0.7231121063232422, 0.9736888408660889, 0.09697283804416656, 0.27886369824409485, 0.30338889360427856, -0.38831469416618347, -1.2080175876617432, -0.2980542480945587, -1.0945414304733276, -2.519416570663452, 0.42112454771995544, -0.2325316071510315, -1.430181622505188, 0.08137422055006027, -1.1184287071228027, 0.8405093550682068, -0.5992224812507629, -1.041770577430725, -1.3812919855117798, 0.28417453169822693, -0.18282796442508698, 0.8828346729278564, -1.5719627141952515, -0.03827064856886864, 1.3100407123565674, 0.9054998159408569, -0.6226922869682312, 1.0215067863464355, 0.18841198086738586, 0.9897667169570923, 0.916914165019989, -0.29382896423339844, 0.4881809651851654, 0.12419585883617401, -1.3431334495544434, 0.37865203619003296, 1.206416130065918, 0.21781103312969208, 1.3793209791183472, -0.6234464049339294, 0.15517747402191162, 0.4783065915107727, -0.48958781361579895, -0.5495052933692932, -0.534182608127594, 0.6713283658027649, 0.07960173487663269, -1.004782795906067, 0.03828023001551628, -0.11299167573451996, -0.12319584935903549, 0.23941032588481903, -1.542205572128296, -0.18178807199001312, -0.2606695294380188, -0.6032881140708923, -1.2509071826934814, 0.06116735190153122, 1.30751633644104, -0.8718392848968506, -0.18678037822246552, 0.4732268154621124, 0.18876081705093384, 0.5025952458381653, 0.6026495099067688, -0.7150577306747437, -0.32442817091941833, -0.32957616448402405, -0.31737539172172546, 0.30436035990715027, 1.2654516696929932, -0.06289585679769516, -0.9441753029823303, 0.6833117008209229, -0.47639691829681396, 0.13065756857395172, 2.0491833686828613, 0.02301020547747612, -0.8613673448562622, 0.2994970679283142, -0.6074618101119995, 1.8701457977294922, 1.7112505435943604, 1.3676462173461914, -0.09633227437734604, -0.9504950642585754, 0.5603663325309753, -0.2541763186454773, -0.3994174599647522, 1.0009726285934448, 0.30162519216537476, -0.22385671734809875, -1.3973153829574585, 0.5164928436279297, 1.3686591386795044, -0.9092189073562622, -0.8171949982643127, 0.09464407712221146, -0.9023209810256958, 1.1765140295028687, 0.702699601650238, 0.2584271728992462, 0.22290384769439697, 1.494266152381897, 0.7144383788108826, -0.43656280636787415, 0.5093506574630737, 0.43302908539772034, -0.11290418356657028, -2.0759737491607666, -0.9392845034599304, 0.28666678071022034, -0.3979032635688782, -1.5821682214736938, 1.2695282697677612, -1.2480295896530151, -0.9373472929000854, 0.5344520807266235, 0.16628755629062653, 1.4658342599868774, 0.3133179545402527, 1.677275538444519, 2.1321816444396973, 0.8885980248451233, 0.20165805518627167, 1.2234888076782227, -0.10952608287334442, -0.41605502367019653, 1.6956106424331665, -0.5156505703926086, 0.5753678679466248, 1.0246037244796753, -0.4672718346118927, -1.0837409496307373, -0.8944923877716064, -1.2259254455566406, -0.6469057202339172, 1.2621532678604126, 0.14270417392253876, -1.0796862840652466, 0.2824947237968445, 1.5152658224105835, 0.06210546940565109, -0.23152075707912445, 0.7294009327888489, 0.4313805401325226, -0.7486211061477661, -0.05110524967312813, -0.8292621970176697, 0.5515719652175903, -0.08723828941583633, -0.33094343543052673, 0.31977689266204834, 0.4721752107143402, 1.2223429679870605, 0.006135898642241955, 0.08338870853185654, 1.2659556865692139, -1.318917989730835, 1.5857586860656738, -0.69884192943573, 0.2550225257873535, -2.446913480758667, 1.4498977661132812, -0.8442251086235046, 1.8270436525344849, -2.628932237625122, 0.3746921122074127, -0.47922205924987793, -0.4769953489303589, 0.21322529017925262, -0.4395020008087158, 0.10450634360313416, -0.2115592062473297, -1.0536508560180664, -0.22232037782669067, -0.811535120010376, 0.5555741190910339, 1.1583787202835083, 1.4600909948349, -1.1180803775787354, -0.2849840521812439, -1.84861421585083, -0.15470731258392334, -0.671760082244873, 0.44581863284111023, -1.8731963634490967, -0.19562959671020508, -1.9900916814804077, -2.476529121398926, -1.3574793338775635, -0.819111704826355, 0.9749854207038879, 0.13530486822128296, -0.8161011934280396, 1.0603569746017456, -0.3978385627269745, -1.8292826414108276, 1.0079423189163208, -2.254178762435913 ]
https://github.com/huggingface/datasets/issues/3939
Source links broken
I think option 2 is the easiest and would provide harmony in the HF ecosystem but we can also add a doc config parameter to decide whether the default version has a v or not if `datasets` folks prefer their tags without a v :-)
## Describe the bug The source links of v2.0.0 docs are broken: For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0/src/datasets/features/features.py#L747` here, the `v2.0.0` should be `2.0.0`. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug ``` ## Expected results Redirecting to this link: `https://github.com/huggingface/datasets/blob/2.0.0/src/datasets/features/features.py#L747` ## Actual results Described above. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: - Platform: - Python version: - PyArrow version:
885
45
Source links broken ## Describe the bug The source links of v2.0.0 docs are broken: For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0/src/datasets/features/features.py#L747` here, the `v2.0.0` should be `2.0.0`. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug ``` ## Expected results Redirecting to this link: `https://github.com/huggingface/datasets/blob/2.0.0/src/datasets/features/features.py#L747` ## Actual results Described above. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: - Platform: - Python version: - PyArrow version: I think option 2 is the easiest and would provide harmony in the HF ecosystem but we can also add a doc config parameter to decide whether the default version has a v or not if `datasets` folks prefer their tags without a v :-)
[ -1.1518381834030151, -0.813531219959259, -0.7458224892616272, 1.5005195140838623, -0.018746227025985718, -1.3637317419052124, 0.07407315075397491, -1.0053671598434448, 1.6876215934753418, -0.7717432379722595, 0.28037601709365845, -1.7528635263442993, -0.01260385476052761, -0.5049944519996643, -0.6931307911872864, -0.8725457191467285, -0.40875184535980225, -0.7124173641204834, 0.9946261644363403, 2.549532413482666, 1.288303256034851, -1.3481380939483643, 2.644622802734375, 0.7553889751434326, -0.28242918848991394, -1.0087225437164307, 0.535076916217804, -0.03168914467096329, -1.3642913103103638, -0.36060428619384766, -0.8724735975265503, -0.02326352335512638, -0.5361425280570984, -0.6208075881004333, 0.023409906774759293, 0.45086902379989624, -0.2781822383403778, -0.3998161554336548, -0.4890998303890228, -0.8374512195587158, 0.4280911087989807, -0.3187018632888794, 0.8955296874046326, -0.3716299831867218, 1.7839537858963013, -0.5372925996780396, 0.43166181445121765, 0.6516814827919006, 1.3577066659927368, 0.11611747741699219, -0.0065906839445233345, 0.2594258487224579, 0.3238582909107208, 0.01359514519572258, 0.5375928282737732, 1.179286241531372, 0.6490732431411743, 0.4571751058101654, 0.6609330773353577, -2.211171865463257, 1.3549435138702393, -0.8636536598205566, 0.2683538794517517, 1.3933933973312378, -1.0013298988342285, 0.26934850215911865, -1.7353769540786743, -0.1039835512638092, 0.5086392164230347, -2.286081075668335, 0.16163162887096405, -1.30770742893219, -0.4813102185726166, 1.0040147304534912, 0.27326008677482605, -1.2220792770385742, 0.1239248514175415, -0.32995715737342834, 0.9914186000823975, 0.5360233783721924, 1.1929950714111328, -1.7110153436660767, -0.03626824915409088, -0.26622408628463745, 0.07913185656070709, -1.2641949653625488, -1.5804057121276855, 0.4690333902835846, 0.7378714084625244, 0.6762274503707886, -0.0672050416469574, 0.9520745873451233, -0.8517773151397705, 0.7428724765777588, -0.8094469904899597, -1.7775782346725464, -1.323407769203186, -2.342154026031494, -2.338994264602661, 0.7789158821105957, -0.4696957468986511, -0.47681522369384766, 2.067304849624634, -1.0761840343475342, -1.9061843156814575, 0.9577427506446838, 0.3787325918674469, -0.04414926469326019, 2.308208703994751, 0.23236030340194702, -0.7454504370689392, 0.4127683937549591, -0.7403185367584229, 0.7619143724441528, -0.4049556851387024, 1.2895777225494385, 0.5038049817085266, -1.1089669466018677, 1.5410903692245483, -0.509026050567627, 0.5852470397949219, -0.7593488097190857, -0.31344959139823914, -0.7794027924537659, 0.2768251597881317, 1.8528414964675903, -0.41128009557724, 1.5477769374847412, -0.20240314304828644, -1.4735239744186401, -1.5055434703826904, 0.7249457240104675, 0.4661332964897156, -0.7511653900146484, 0.14309747517108917, -0.3692454695701599, 0.07994711399078369, -0.008131311275064945, 1.0095385313034058, 1.1329401731491089, 0.6579726934432983, -0.3448423147201538, -0.8799842000007629, 0.3518391251564026, 0.02684028446674347, -0.676423966884613, -1.8227930068969727, -0.2465725839138031, 0.21821536123752594, 0.6214200854301453, -1.1785781383514404, 1.8204975128173828, 0.8137099742889404, 1.964684247970581, 0.9420890212059021, -0.4535030126571655, 1.5399330854415894, 0.00282212533056736, 1.926920771598816, -0.38642188906669617, 0.6956007480621338, -0.35768547654151917, -1.218943476676941, 0.8714127540588379, -0.3558163344860077, -2.002620220184326, -0.6706821918487549, -0.8857683539390564, -0.10409224033355713, -0.7184798717498779, 1.0001929998397827, -0.19920562207698822, -1.341557502746582, 0.14778102934360504, -0.7287010550498962, 0.13340425491333008, -1.4030095338821411, 0.21672092378139496, 0.8225663304328918, -0.615957498550415, -0.044340502470731735, -0.3112638592720032, -1.2935459613800049, -0.5105268359184265, 0.3177589476108551, 1.8118327856063843, -0.650387167930603, 1.0381444692611694, 0.9979583024978638, -0.7251400947570801, 0.03280312567949295, 0.36129313707351685, -0.32033103704452515, 0.902432382106781, -1.0569745302200317, -0.3430505692958832, 1.1822887659072876, -0.14684778451919556, -0.7756149768829346, 1.5482664108276367, 0.8484205603599548, -1.0415064096450806, -0.11406435072422028, -0.16366027295589447, -0.7515990138053894, 0.001923058182001114, -1.6232073307037354, -0.08894141018390656, 0.3745630979537964, -1.482836365699768, -0.5019848346710205, -0.2004515826702118, 1.3269317150115967, -0.178410604596138, 1.4548314809799194, -0.3354949951171875, -0.23659062385559082, -0.4865525960922241, -0.3433108627796173, 0.08514836430549622, -0.19472655653953552, -0.6619346141815186, 0.3137187361717224, -0.8096346855163574, 0.27621975541114807, 1.3957030773162842, 0.3564560115337372, 0.12209625542163849, 0.5984097123146057, 1.1132657527923584, 0.29420769214630127, -0.1799619048833847, -0.9142937660217285, -1.6172791719436646, 2.057421922683716, -1.312957763671875, 1.9679429531097412, 0.7990520000457764, -0.028133731335401535, -1.7443064451217651, -1.948380947113037, 1.435244083404541, 1.1196047067642212, 2.346511125564575, 0.603668212890625, 0.5032050609588623, -0.8597940802574158, -0.6760863661766052, 0.2905084192752838, -0.945859432220459, -0.7988325357437134, 0.112137570977211, 2.360813617706299, 1.7928627729415894, -0.42931416630744934, -0.2066076099872589, -1.0847362279891968, 1.352379322052002, -0.18573033809661865, 0.15835048258304596, 1.951227068901062, -0.29477816820144653, -0.9167107343673706, 1.263290524482727, -2.290412664413452, 0.2168481945991516, 2.018566846847534, 0.15435642004013062, 0.041350431740283966, -1.4043715000152588, -0.6936246156692505, -0.26471248269081116, -0.4872123897075653, -1.1977416276931763, 0.5356377959251404, -0.24417023360729218, -0.7757861018180847, -1.4738355875015259, 0.1789378672838211, -1.067423939704895, -1.8153249025344849, 0.29254963994026184, 1.8295704126358032, 1.948945164680481, -0.7332862615585327, 1.5327869653701782, -0.2172156274318695, 0.18270257115364075, 1.3196141719818115, 1.2657804489135742, 3.189298152923584, 1.948323369026184, -1.3354123830795288, 0.7751549482345581, -0.056111812591552734, -0.4672015905380249, 1.254030466079712, -1.1365567445755005, 1.1939647197723389, -0.30384621024131775, -1.3519638776779175, -1.289933681488037, 0.9599644541740417, 0.5016082525253296, 0.15371498465538025, -0.5556796789169312, 1.2190136909484863, 0.05908816680312157, 1.323459506034851, 0.5859938263893127, -0.3162025809288025, 0.5970457792282104, -0.3424436151981354, -0.45911505818367004, 1.581506609916687, 0.15530940890312195, -1.4532264471054077, -2.382925033569336, -0.30273017287254333, -0.8648156523704529, -0.08385467529296875, -0.6440374255180359, -0.9891639947891235, 1.6182379722595215, 0.5267720818519592, -1.1525814533233643, -0.3202149569988251, -0.35080671310424805, -0.6261111497879028, 2.631312131881714, -1.4592303037643433, -0.1306249499320984, -1.0694630146026611, -0.5314586758613586, 1.5971829891204834, -1.1820207834243774, -0.11139282584190369, -1.0486253499984741, -0.654633104801178, -1.3421016931533813, -0.5565171837806702, -0.03659772872924805, -0.9569026231765747, 0.7498814463615417, 0.03618213161826134, -1.1732916831970215, -0.25031644105911255, -0.9332758784294128, 0.9276382327079773, -0.14716480672359467, 0.229334756731987, 1.8538776636123657, 0.5028765201568604, -0.43142256140708923, 0.6571584343910217, 1.1302931308746338, 0.6135172247886658, -0.6850346922874451, 0.29876282811164856, -0.715863823890686, 0.31107231974601746, -1.3591701984405518, 0.20817966759204865, -2.8555126190185547, 0.6882172226905823, -0.10565905272960663, -0.04658379778265953, -0.07527519762516022, -1.2318669557571411, 1.1293189525604248, 2.5405430793762207, -1.2390177249908447, 0.5025647282600403, 0.3235827088356018, 1.1813503503799438, -1.515298843383789, 0.23805943131446838, -0.4396631717681885, 2.1122000217437744, 0.013131385669112206, 1.2318280935287476, -0.3905061185359955, -2.212897300720215, 0.5966698527336121, -1.2466014623641968, -1.074164628982544, 0.9131230115890503, -0.7657375931739807, 0.06256519258022308, -1.3458460569381714, -0.061281975358724594, -0.8323478698730469, -1.2461825609207153, 0.7415856122970581, -0.02049146220088005, 0.5023530125617981, -0.6648098826408386, 0.3480355143547058, -2.1520638465881348, -1.357990026473999, -0.2390419840812683, -0.9793426394462585, 0.4283614158630371, -0.34363171458244324, 0.6757922172546387, -0.15083275735378265, 0.005305837839841843, 0.31852585077285767, 1.3399745225906372, 3.380295753479004, 0.23862521350383759, 0.38894593715667725, -0.04298214986920357, -1.004173755645752, 1.4318798780441284, 0.8939321637153625, -0.21099147200584412, -0.5108978748321533, -0.9248992204666138, 1.290942907333374, 1.9371144771575928, 1.1946935653686523, 0.06458078324794769, -0.8918119072914124, -0.8162959218025208, 0.04753115028142929, 0.17301981151103973, 0.43432268500328064, 0.8662787079811096, 0.12213198840618134, 0.08020895719528198, 1.3905471563339233, 1.2443513870239258, -0.3443357050418854, 0.4885317087173462, -0.8123812675476074, -0.4224870204925537, 0.4911523461341858, 0.36526626348495483, 0.07858197391033173, 0.4477745294570923, -1.1062965393066406, -0.3035280704498291, -0.3758184313774109, -0.904378354549408, -0.7182131409645081, -0.49075666069984436, -0.3978542685508728, 1.6763094663619995, -0.022539008408784866, -0.5517604947090149, 0.02389828860759735, -0.8089241981506348, -0.05429175868630409, -1.065388560295105, 0.3114668130874634, -0.19366316497325897, 0.03192192688584328, -0.112678661942482, 1.6531633138656616, -1.0814281702041626, -2.134199857711792, 0.2881717383861542, 0.2642248272895813, -0.4375617206096649, 0.17876163125038147, 1.7173815965652466, 0.5793183445930481, 1.3829981088638306, 1.3871291875839233, 1.0002195835113525, -0.7417551279067993, -1.2356488704681396, 0.6718251705169678, 1.0130692720413208, -1.3943650722503662, 0.8768938779830933, -0.03707915171980858, -0.5972937941551208, 0.6446681618690491, 1.29930579662323, 0.347949743270874, -2.0101943016052246, 0.787452220916748, -0.8176688551902771, 0.7565031051635742, 0.6779168844223022, 0.7476727366447449, 0.12032505869865417, 0.7106057405471802, -1.3538014888763428, -1.0605578422546387, -0.6712571978569031, -0.5525563359260559, 1.8727935552597046, -0.20953606069087982, 0.5700144171714783, -0.16532711684703827, -1.301512598991394, -0.07810917496681213, 0.7457255721092224, 0.32368212938308716, -0.4567025899887085, 0.8846320509910583, -0.5363777875900269, -1.0425965785980225, -1.3477184772491455, -0.5265361666679382, -0.9947381615638733, -0.8322269916534424, 0.9891032576560974, 0.8449795842170715, 0.31631341576576233, 1.8446917533874512, 0.6416305899620056, 0.18316566944122314, -2.6525845527648926, 0.9180142879486084, 0.29440391063690186, -0.008098021149635315, 0.868408203125, 0.23527589440345764, 1.0628432035446167, -0.10620613396167755, 0.5602735877037048, -2.2660207748413086, 2.271726608276367, -0.23349879682064056, 0.5989989638328552, 0.049148138612508774, -0.18772616982460022, 1.074531078338623, 0.49759602546691895, 0.6282306909561157, -1.2039928436279297, 0.7703659534454346, -0.6587032079696655, 1.2290446758270264, 0.8558641076087952, -0.9411765336990356, -0.025760667398571968, 1.3632311820983887, 0.5109438300132751, -0.42342206835746765, -1.0228605270385742, -0.9729170799255371, 1.0004081726074219, 1.709944486618042, 0.011329371482133865, 0.0700569897890091, 0.8936613202095032, 0.7358322143554688, -1.3421188592910767, 0.16214972734451294, -0.7491475939750671, -0.6286180019378662, 1.6818679571151733, 2.0590977668762207, -0.03804325312376022, -0.20270363986492157, -0.9119377732276917, -1.1894724369049072, 0.7588495016098022, 0.01153748668730259, 0.06138603016734123, 0.82108473777771, -0.7090212106704712, 1.1876884698867798, 0.8133088946342468, 0.9262672662734985, 0.14254997670650482, 0.2450045794248581, 0.28637757897377014, -0.3309381306171417, -1.2006728649139404, -0.2380553036928177, -1.1003144979476929, -2.5133867263793945, 0.4858342409133911, -0.23943978548049927, -1.4453424215316772, 0.014518169686198235, -1.1144952774047852, 0.8838462233543396, -0.5580801963806152, -1.0336374044418335, -1.4082410335540771, 0.22201865911483765, -0.15229591727256775, 0.8547101020812988, -1.4891374111175537, -0.06342216581106186, 1.3658864498138428, 0.9097983241081238, -0.65754634141922, 1.030648946762085, 0.1599518358707428, 0.9650495648384094, 0.9144176244735718, -0.34922274947166443, 0.5106486082077026, 0.14440573751926422, -1.3945022821426392, 0.4099600613117218, 1.209415078163147, 0.2129436433315277, 1.414583444595337, -0.6126250624656677, 0.11931735277175903, 0.43078872561454773, -0.3874191641807556, -0.583129346370697, -0.6346953511238098, 0.7069267630577087, 0.06921538710594177, -0.9499369859695435, 0.10034655034542084, -0.07609234750270844, -0.12349244952201843, 0.21469388902187347, -1.5475304126739502, -0.17073501646518707, -0.2502287030220032, -0.6073833107948303, -1.2222334146499634, 0.023005150258541107, 1.333998680114746, -0.8398626446723938, -0.16387726366519928, 0.4645240306854248, 0.23183979094028473, 0.5441977977752686, 0.5744533538818359, -0.6439698934555054, -0.31760793924331665, -0.3523233234882355, -0.27683109045028687, 0.3584173023700714, 1.2375383377075195, -0.09366573393344879, -0.9548931121826172, 0.7023836970329285, -0.4265918731689453, 0.13220512866973877, 2.093871593475342, 0.05261354148387909, -0.8654676079750061, 0.3548022508621216, -0.6411381363868713, 1.8111435174942017, 1.7596677541732788, 1.339618444442749, -0.08770813047885895, -1.0241475105285645, 0.5781962275505066, -0.2921437621116638, -0.3927571177482605, 1.0209766626358032, 0.3244883120059967, -0.21909034252166748, -1.376495361328125, 0.5329472422599792, 1.2858355045318604, -0.8750876784324646, -0.8762053847312927, 0.08119156956672668, -0.877042829990387, 1.1295744180679321, 0.7405592799186707, 0.33568906784057617, 0.23320554196834564, 1.530070185661316, 0.6930466890335083, -0.4743903577327728, 0.49428343772888184, 0.42037084698677063, -0.14885522425174713, -1.9821600914001465, -0.9662814140319824, 0.30568039417266846, -0.456319659948349, -1.5809234380722046, 1.280802845954895, -1.2885886430740356, -0.884033739566803, 0.5357479453086853, 0.15646573901176453, 1.4829753637313843, 0.3180699348449707, 1.661579966545105, 2.1319687366485596, 0.9191304445266724, 0.20349112153053284, 1.244146466255188, -0.16005608439445496, -0.40213316679000854, 1.68461275100708, -0.48038098216056824, 0.4907717704772949, 1.0607186555862427, -0.4664738178253174, -1.063872218132019, -0.8661799430847168, -1.2385568618774414, -0.6517865061759949, 1.2206777334213257, 0.14027221500873566, -1.1100467443466187, 0.24219544231891632, 1.503881573677063, 0.05258685722947121, -0.2032044380903244, 0.7072685956954956, 0.4420650005340576, -0.8174951076507568, -0.06308434903621674, -0.8738588094711304, 0.5195962190628052, -0.11751098930835724, -0.3360329568386078, 0.38568392395973206, 0.4704087972640991, 1.2509995698928833, 0.06338274478912354, 0.14168225228786469, 1.3019089698791504, -1.298547387123108, 1.5314985513687134, -0.7255446910858154, 0.2025141566991806, -2.416468858718872, 1.4404488801956177, -0.8498150706291199, 1.8198273181915283, -2.649686336517334, 0.38179904222488403, -0.5022962689399719, -0.43861210346221924, 0.2923595607280731, -0.46844708919525146, 0.14083127677440643, -0.1911713182926178, -1.0612183809280396, -0.23669995367527008, -0.80539870262146, 0.5584719181060791, 1.1591514348983765, 1.4625571966171265, -1.095609426498413, -0.29167523980140686, -1.8290016651153564, -0.1604650914669037, -0.6811416149139404, 0.4770553410053253, -1.8612440824508667, -0.16582660377025604, -1.9645434617996216, -2.527369976043701, -1.3487344980239868, -0.83260577917099, 1.0301424264907837, 0.14398059248924255, -0.8210917711257935, 0.9991167783737183, -0.3970366418361664, -1.8018476963043213, 1.0881602764129639, -2.244495391845703 ]
https://github.com/huggingface/datasets/issues/3939
Source links broken
For me it is OK to conform to the rest of libraries and tag/release with a preceding "v", rather than adding an extra argument to the doc builder just for `datasets`. Let me know if it is also OK for you @lhoestq.
## Describe the bug The source links of v2.0.0 docs are broken: For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0/src/datasets/features/features.py#L747` here, the `v2.0.0` should be `2.0.0`. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug ``` ## Expected results Redirecting to this link: `https://github.com/huggingface/datasets/blob/2.0.0/src/datasets/features/features.py#L747` ## Actual results Described above. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: - Platform: - Python version: - PyArrow version:
885
42
Source links broken ## Describe the bug The source links of v2.0.0 docs are broken: For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0/src/datasets/features/features.py#L747` here, the `v2.0.0` should be `2.0.0`. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug ``` ## Expected results Redirecting to this link: `https://github.com/huggingface/datasets/blob/2.0.0/src/datasets/features/features.py#L747` ## Actual results Described above. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: - Platform: - Python version: - PyArrow version: For me it is OK to conform to the rest of libraries and tag/release with a preceding "v", rather than adding an extra argument to the doc builder just for `datasets`. Let me know if it is also OK for you @lhoestq.
[ -1.1721891164779663, -0.8275666236877441, -0.7471393942832947, 1.5187894105911255, -0.03591008111834526, -1.3053255081176758, 0.0754559189081192, -0.9980974793434143, 1.6924612522125244, -0.7848581671714783, 0.27055618166923523, -1.7362478971481323, -0.0036719017662107944, -0.5010054111480713, -0.6982215642929077, -0.841836154460907, -0.42304036021232605, -0.7161591053009033, 1.0038623809814453, 2.5596017837524414, 1.256380558013916, -1.3280540704727173, 2.6786563396453857, 0.7470846176147461, -0.2699204087257385, -1.0029724836349487, 0.5618778467178345, -0.03232130408287048, -1.3520890474319458, -0.3464609980583191, -0.8846592307090759, -0.04309169203042984, -0.5249514579772949, -0.6136040091514587, 0.03885782137513161, 0.4459163546562195, -0.297647088766098, -0.4017588198184967, -0.4923062324523926, -0.8354244828224182, 0.4278360605239868, -0.34825536608695984, 0.9010469913482666, -0.37144753336906433, 1.8134552240371704, -0.5267778038978577, 0.4514833688735962, 0.6390166282653809, 1.337339997291565, 0.09360649436712265, 0.03372599184513092, 0.23535022139549255, 0.3329123556613922, 0.0386008620262146, 0.5419727563858032, 1.1849663257598877, 0.6324450969696045, 0.4515983462333679, 0.6494110226631165, -2.213897943496704, 1.349631428718567, -0.8363996744155884, 0.2741645276546478, 1.4087036848068237, -0.9541450142860413, 0.2810552716255188, -1.7448807954788208, -0.08359959721565247, 0.48761671781539917, -2.2700393199920654, 0.17223671078681946, -1.290642261505127, -0.4887447953224182, 0.9938103556632996, 0.2585614323616028, -1.2620937824249268, 0.1533573567867279, -0.36212384700775146, 1.0000333786010742, 0.5405092239379883, 1.1506764888763428, -1.6952158212661743, -0.05021042376756668, -0.26202714443206787, 0.07245175540447235, -1.2819981575012207, -1.5810364484786987, 0.4821281135082245, 0.7449352145195007, 0.6682137250900269, -0.04895556718111038, 0.9240901470184326, -0.8618951439857483, 0.7762468457221985, -0.8576220273971558, -1.7891629934310913, -1.3134722709655762, -2.3302814960479736, -2.3419859409332275, 0.7755215167999268, -0.46018657088279724, -0.4766058325767517, 2.0206499099731445, -1.0338915586471558, -1.9072409868240356, 0.9830519556999207, 0.40998759865760803, -0.04063363000750542, 2.3351452350616455, 0.22558805346488953, -0.7041286826133728, 0.39701858162879944, -0.735595166683197, 0.746641993522644, -0.39378878474235535, 1.2994720935821533, 0.492647647857666, -1.1132383346557617, 1.562496542930603, -0.5121155381202698, 0.6003217101097107, -0.7735485434532166, -0.33077681064605713, -0.8061440587043762, 0.28918328881263733, 1.846278429031372, -0.40560945868492126, 1.545784592628479, -0.21833926439285278, -1.4529454708099365, -1.5176665782928467, 0.7274647355079651, 0.46091100573539734, -0.7169097661972046, 0.1291065812110901, -0.35132983326911926, 0.05926954746246338, -0.0006802966818213463, 0.9796146154403687, 1.1221615076065063, 0.6554221510887146, -0.327484130859375, -0.8945229053497314, 0.3514935374259949, 0.0052620237693190575, -0.6748772859573364, -1.8084832429885864, -0.2893756628036499, 0.23184406757354736, 0.6118114590644836, -1.1837940216064453, 1.7735546827316284, 0.8378385305404663, 1.9615848064422607, 0.9641527533531189, -0.43498799204826355, 1.5493149757385254, 0.010002891533076763, 1.9267469644546509, -0.4157414436340332, 0.7029416561126709, -0.36280348896980286, -1.2168556451797485, 0.8433644771575928, -0.35272523760795593, -2.0127065181732178, -0.7259947061538696, -0.8832738995552063, -0.12556405365467072, -0.7067644000053406, 0.9927923083305359, -0.24336355924606323, -1.3462861776351929, 0.13189223408699036, -0.7216272950172424, 0.11685298383235931, -1.4201772212982178, 0.2417088896036148, 0.8203223347663879, -0.6204191446304321, -0.039563871920108795, -0.2949082851409912, -1.287102460861206, -0.5044885277748108, 0.3203444480895996, 1.8392022848129272, -0.6235213279724121, 1.0101922750473022, 0.9944115281105042, -0.7773798704147339, 0.003258439712226391, 0.33903759717941284, -0.35760849714279175, 0.8817474842071533, -1.0461528301239014, -0.37630409002304077, 1.1889419555664062, -0.14281082153320312, -0.7797624468803406, 1.532152533531189, 0.839313268661499, -1.0500894784927368, -0.1462768018245697, -0.17069962620735168, -0.7315119504928589, 0.03074975684285164, -1.6151578426361084, -0.11212755739688873, 0.3584079444408417, -1.4855668544769287, -0.4846840798854828, -0.21402394771575928, 1.3058875799179077, -0.18847733736038208, 1.453680157661438, -0.3049728572368622, -0.25562843680381775, -0.46618229150772095, -0.3769742250442505, 0.06939861178398132, -0.20267769694328308, -0.6747891902923584, 0.3277048170566559, -0.8054546117782593, 0.32576000690460205, 1.41331946849823, 0.37415677309036255, 0.12388558685779572, 0.5861729383468628, 1.067469835281372, 0.32256263494491577, -0.16535979509353638, -0.9462330937385559, -1.6351183652877808, 2.0547468662261963, -1.3288639783859253, 1.9775078296661377, 0.7865614295005798, -0.08154162764549255, -1.7107312679290771, -1.9254695177078247, 1.4223897457122803, 1.1424816846847534, 2.3659794330596924, 0.6281646490097046, 0.49996691942214966, -0.8294618129730225, -0.6957218647003174, 0.24890540540218353, -0.972815215587616, -0.77890545129776, 0.12651988863945007, 2.3892319202423096, 1.7827705144882202, -0.4397057890892029, -0.19835339486598969, -1.068811058998108, 1.343798041343689, -0.1929038017988205, 0.16753867268562317, 1.9614920616149902, -0.3111844062805176, -0.9102098345756531, 1.2615141868591309, -2.277210235595703, 0.24263431131839752, 1.998780369758606, 0.17005406320095062, 0.03284198418259621, -1.4118144512176514, -0.6678318381309509, -0.2758089601993561, -0.45558562874794006, -1.2284855842590332, 0.5450624227523804, -0.202576145529747, -0.7847375869750977, -1.4766708612442017, 0.16137006878852844, -1.0917407274246216, -1.7821986675262451, 0.2810007631778717, 1.846290946006775, 1.943474292755127, -0.7254625558853149, 1.5071537494659424, -0.1832100749015808, 0.20537851750850677, 1.308985948562622, 1.2932515144348145, 3.1717121601104736, 1.941955327987671, -1.2906290292739868, 0.778264582157135, -0.09008259326219559, -0.47652414441108704, 1.2579553127288818, -1.139975666999817, 1.2012090682983398, -0.2943999767303467, -1.3434394598007202, -1.335000991821289, 0.9728829264640808, 0.524154782295227, 0.13623087108135223, -0.514741063117981, 1.2308937311172485, 0.1027713492512703, 1.3455299139022827, 0.5757439732551575, -0.3252755403518677, 0.6101881861686707, -0.3532567024230957, -0.44777658581733704, 1.5989644527435303, 0.1401985138654709, -1.4550288915634155, -2.379422187805176, -0.3017595112323761, -0.8837493658065796, -0.10900694131851196, -0.619196891784668, -1.021417260169983, 1.616042971611023, 0.5035914778709412, -1.1574970483779907, -0.30142199993133545, -0.33319851756095886, -0.6468468904495239, 2.6425538063049316, -1.4687782526016235, -0.13826850056648254, -1.0556049346923828, -0.5355690121650696, 1.5984388589859009, -1.1883797645568848, -0.11939499527215958, -1.0004897117614746, -0.6760057806968689, -1.3258453607559204, -0.5391467809677124, -0.018261130899190903, -0.967666506767273, 0.7751203179359436, 0.08129224926233292, -1.1527063846588135, -0.27552929520606995, -0.9410304427146912, 0.9366372227668762, -0.13074983656406403, 0.2304428219795227, 1.855839729309082, 0.5194929838180542, -0.40977412462234497, 0.6766992807388306, 1.1434227228164673, 0.6276208162307739, -0.7211518287658691, 0.2917536199092865, -0.7117918729782104, 0.302053302526474, -1.3655253648757935, 0.18825232982635498, -2.8474905490875244, 0.6653696894645691, -0.11261296272277832, -0.08915684372186661, -0.06801757961511612, -1.2073071002960205, 1.1523083448410034, 2.556851863861084, -1.2339792251586914, 0.5017462372779846, 0.36169084906578064, 1.1595252752304077, -1.5076314210891724, 0.23962804675102234, -0.44929802417755127, 2.0732522010803223, 0.026711132377386093, 1.2205088138580322, -0.44161131978034973, -2.2243525981903076, 0.6005169749259949, -1.2690643072128296, -1.0751172304153442, 0.8759467601776123, -0.8008472323417664, 0.05855969339609146, -1.3282548189163208, -0.07612259685993195, -0.8572314977645874, -1.2790257930755615, 0.7165222764015198, -0.03051743656396866, 0.47446632385253906, -0.628423810005188, 0.36543649435043335, -2.12353253364563, -1.3762370347976685, -0.2680736482143402, -0.9868940114974976, 0.43752777576446533, -0.3444999158382416, 0.694317102432251, -0.11749537289142609, 0.006845272146165371, 0.3162406384944916, 1.355096697807312, 3.3670759201049805, 0.24113915860652924, 0.38658344745635986, -0.03395911678671837, -1.0404499769210815, 1.4346492290496826, 0.9016071557998657, -0.17818664014339447, -0.4910483658313751, -0.8945000171661377, 1.3031492233276367, 1.9508918523788452, 1.2170249223709106, 0.07257047295570374, -0.9144684076309204, -0.8300618529319763, 0.04399939253926277, 0.17839372158050537, 0.40700623393058777, 0.8511735796928406, 0.12012045085430145, 0.1063365787267685, 1.3588440418243408, 1.2640408277511597, -0.3743452727794647, 0.43205785751342773, -0.7994394302368164, -0.4351751208305359, 0.4866848289966583, 0.3406822383403778, 0.07142572849988937, 0.4502396285533905, -1.1181633472442627, -0.2905811071395874, -0.3730267584323883, -0.9032021760940552, -0.7147184610366821, -0.4720052182674408, -0.39871522784233093, 1.6907471418380737, -0.03077590838074684, -0.5355261564254761, 0.028909288346767426, -0.8478760123252869, -0.03681317716836929, -1.0573149919509888, 0.27906304597854614, -0.19530396163463593, 0.007458665408194065, -0.11170855909585953, 1.692891240119934, -1.111295223236084, -2.1515591144561768, 0.27894309163093567, 0.26037633419036865, -0.40025535225868225, 0.16198092699050903, 1.6960079669952393, 0.5584299564361572, 1.414387822151184, 1.391355037689209, 1.0168612003326416, -0.7398795485496521, -1.249548316001892, 0.6704207062721252, 1.033307433128357, -1.3581360578536987, 0.9006496667861938, -0.05198562517762184, -0.5843452215194702, 0.6411901712417603, 1.2891594171524048, 0.3427424430847168, -1.9909242391586304, 0.7863991856575012, -0.8375838994979858, 0.7562273740768433, 0.6926472187042236, 0.7656062841415405, 0.14251737296581268, 0.7070916295051575, -1.3438348770141602, -1.0696969032287598, -0.6686777472496033, -0.5390222072601318, 1.885705590248108, -0.1841595470905304, 0.5792087316513062, -0.12745755910873413, -1.2923827171325684, -0.046308599412441254, 0.7297369241714478, 0.3368854820728302, -0.46781620383262634, 0.8841123580932617, -0.5377845168113708, -1.0347504615783691, -1.3738465309143066, -0.5171226859092712, -1.0025745630264282, -0.8648157715797424, 1.0076621770858765, 0.8448656797409058, 0.3638923168182373, 1.8495302200317383, 0.6456366777420044, 0.2266688495874405, -2.6759707927703857, 0.9125832915306091, 0.2934063971042633, -0.023718927055597305, 0.8594814538955688, 0.23992174863815308, 1.055857539176941, -0.10453667491674423, 0.5678367018699646, -2.250847578048706, 2.293142557144165, -0.20776152610778809, 0.5913317799568176, 0.0589921772480011, -0.14533792436122894, 1.0590400695800781, 0.4996904730796814, 0.5965288281440735, -1.2113677263259888, 0.7568049430847168, -0.6437221765518188, 1.250859022140503, 0.8310248255729675, -0.9364301562309265, -0.02535014972090721, 1.3635735511779785, 0.5393166542053223, -0.4078540802001953, -1.0107977390289307, -0.9534862637519836, 1.0042545795440674, 1.7073358297348022, -0.011785329319536686, 0.03620809316635132, 0.924651026725769, 0.6907123327255249, -1.346151351928711, 0.11264338344335556, -0.7422236800193787, -0.5998662710189819, 1.663618803024292, 2.0735251903533936, -0.04118731617927551, -0.23071269690990448, -0.8812624216079712, -1.1763153076171875, 0.7449410557746887, 0.01950683444738388, 0.07073569297790527, 0.8090077042579651, -0.7093703746795654, 1.1844547986984253, 0.7959439754486084, 0.9332762956619263, 0.11215571314096451, 0.26173725724220276, 0.2917020916938782, -0.3645807206630707, -1.1955163478851318, -0.21260914206504822, -1.0751242637634277, -2.6008427143096924, 0.4839721620082855, -0.24392949044704437, -1.4483494758605957, -0.005261815618723631, -1.1003919839859009, 0.8948663473129272, -0.5323857665061951, -1.0499347448349, -1.4021105766296387, 0.19900275766849518, -0.15744265913963318, 0.8512134552001953, -1.5389785766601562, -0.03690987825393677, 1.3478542566299438, 0.8993127942085266, -0.6744646430015564, 1.0323466062545776, 0.19594259560108185, 0.9778847694396973, 0.8931513428688049, -0.3265492618083954, 0.5128085613250732, 0.12883403897285461, -1.398046851158142, 0.3715522587299347, 1.1819180250167847, 0.20332978665828705, 1.401082158088684, -0.6426286101341248, 0.1345667988061905, 0.43335890769958496, -0.39751961827278137, -0.5769604444503784, -0.6172695755958557, 0.7035058736801147, 0.07019918411970139, -0.9481632709503174, 0.09088176488876343, -0.08731871098279953, -0.12318208813667297, 0.18473096191883087, -1.5334858894348145, -0.17560619115829468, -0.2699778378009796, -0.6327263712882996, -1.237391471862793, 0.06999781727790833, 1.3234302997589111, -0.848689615726471, -0.17536599934101105, 0.44364166259765625, 0.23145119845867157, 0.5315821170806885, 0.5614579916000366, -0.666811466217041, -0.3457735776901245, -0.34454667568206787, -0.26007160544395447, 0.3617976903915405, 1.2516577243804932, -0.10526677966117859, -0.9689728617668152, 0.7114870548248291, -0.4526197612285614, 0.12938497960567474, 2.079637050628662, 0.06505673378705978, -0.8630120754241943, 0.33574891090393066, -0.6509063839912415, 1.8173993825912476, 1.7127939462661743, 1.362207055091858, -0.08996030688285828, -0.9958966374397278, 0.6127622723579407, -0.27859604358673096, -0.3956611752510071, 1.0013962984085083, 0.3270983099937439, -0.21916663646697998, -1.39285409450531, 0.5203236937522888, 1.3058505058288574, -0.87167888879776, -0.8577076196670532, 0.12348790466785431, -0.8789304494857788, 1.1388263702392578, 0.7127350568771362, 0.3289107084274292, 0.24646030366420746, 1.5261129140853882, 0.7103573083877563, -0.46693840622901917, 0.5157022476196289, 0.439156711101532, -0.15130724012851715, -1.9786113500595093, -0.9539881348609924, 0.3147347867488861, -0.4658336043357849, -1.5599710941314697, 1.269558310508728, -1.2874648571014404, -0.9071029424667358, 0.5284839272499084, 0.179123193025589, 1.5163482427597046, 0.3368920683860779, 1.6659822463989258, 2.121753215789795, 0.9345229268074036, 0.23292610049247742, 1.2623445987701416, -0.14985063672065735, -0.4024161100387573, 1.6835298538208008, -0.502967119216919, 0.4922962784767151, 1.0519287586212158, -0.4337633550167084, -1.053647756576538, -0.8471058011054993, -1.2297790050506592, -0.6220498085021973, 1.2291431427001953, 0.14345373213291168, -1.088006854057312, 0.2661620080471039, 1.5383347272872925, 0.05537787079811096, -0.2140340954065323, 0.6907617449760437, 0.44704243540763855, -0.8217780590057373, -0.06595893204212189, -0.869671642780304, 0.5198197960853577, -0.1098119243979454, -0.29929882287979126, 0.33623504638671875, 0.4910585880279541, 1.264961838722229, 0.03569931909441948, 0.13371975719928741, 1.2984535694122314, -1.287144660949707, 1.5466080904006958, -0.7092688679695129, 0.2081332504749298, -2.4382975101470947, 1.447970986366272, -0.8303197026252747, 1.7930814027786255, -2.6210787296295166, 0.3780910074710846, -0.5010363459587097, -0.42040765285491943, 0.2847766876220703, -0.45298874378204346, 0.11109031736850739, -0.21221449971199036, -1.0566459894180298, -0.25345104932785034, -0.8164241313934326, 0.5428645610809326, 1.1742783784866333, 1.4191460609436035, -1.103330135345459, -0.30690643191337585, -1.8513240814208984, -0.1505776047706604, -0.6708855628967285, 0.4785434901714325, -1.8603225946426392, -0.21188530325889587, -1.9560514688491821, -2.497670888900757, -1.365660548210144, -0.8139795660972595, 1.0218324661254883, 0.12610109150409698, -0.81282639503479, 1.0219272375106812, -0.391369104385376, -1.81985604763031, 1.0693483352661133, -2.23895263671875 ]
https://github.com/huggingface/datasets/issues/3939
Source links broken
We could add a tag for each release without a 'v' but it could be confusing on github to see both tags `v2.0.0` and `2.0.0` IMO (not sure if many users check them though). Removing the tags without 'v' would break our versioning for github datasets: the library looks for dataset scripts at the URLs like `https://raw.githubusercontent.com/huggingface/datasets/{revision}/datasets/{path}/{name}` where `revision` is equal to `datasets.__version__` (which doesn't start with a 'v') for all released versions of `datasets`. I think we could just have a parameter for the documentation - and having different URLs schemes for the source links that the users don't even see (they simply click on a button) is probably fine
## Describe the bug The source links of v2.0.0 docs are broken: For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0/src/datasets/features/features.py#L747` here, the `v2.0.0` should be `2.0.0`. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug ``` ## Expected results Redirecting to this link: `https://github.com/huggingface/datasets/blob/2.0.0/src/datasets/features/features.py#L747` ## Actual results Described above. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: - Platform: - Python version: - PyArrow version:
885
111
Source links broken ## Describe the bug The source links of v2.0.0 docs are broken: For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0/src/datasets/features/features.py#L747` here, the `v2.0.0` should be `2.0.0`. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug ``` ## Expected results Redirecting to this link: `https://github.com/huggingface/datasets/blob/2.0.0/src/datasets/features/features.py#L747` ## Actual results Described above. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: - Platform: - Python version: - PyArrow version: We could add a tag for each release without a 'v' but it could be confusing on github to see both tags `v2.0.0` and `2.0.0` IMO (not sure if many users check them though). Removing the tags without 'v' would break our versioning for github datasets: the library looks for dataset scripts at the URLs like `https://raw.githubusercontent.com/huggingface/datasets/{revision}/datasets/{path}/{name}` where `revision` is equal to `datasets.__version__` (which doesn't start with a 'v') for all released versions of `datasets`. I think we could just have a parameter for the documentation - and having different URLs schemes for the source links that the users don't even see (they simply click on a button) is probably fine
[ -1.1880615949630737, -0.9024495482444763, -0.7313536405563354, 1.490214467048645, -0.04072919487953186, -1.340345025062561, 0.09766137599945068, -1.0016306638717651, 1.723492980003357, -0.7727822065353394, 0.2608615458011627, -1.7256578207015991, 0.012029106728732586, -0.527362585067749, -0.7348573207855225, -0.8347752094268799, -0.38753244280815125, -0.7736020684242249, 0.997602105140686, 2.519782543182373, 1.252105474472046, -1.3364795446395874, 2.699308395385742, 0.7598347067832947, -0.2569253146648407, -1.0034877061843872, 0.5657558441162109, -0.0809154286980629, -1.3471019268035889, -0.37325936555862427, -0.9017903208732605, 0.030693359673023224, -0.5435373783111572, -0.6110700964927673, 0.0536004975438118, 0.4652177095413208, -0.2723371684551239, -0.48438578844070435, -0.5717849135398865, -0.7935650944709778, 0.40121614933013916, -0.3188226521015167, 0.9290524125099182, -0.3570699095726013, 1.7861263751983643, -0.4884133040904999, 0.38317179679870605, 0.6171790361404419, 1.3910033702850342, 0.10633116215467453, 0.021655119955539703, 0.21766726672649384, 0.36790046095848083, 0.008508999831974506, 0.5217215418815613, 1.1812433004379272, 0.6656064391136169, 0.48240187764167786, 0.6766786575317383, -2.2402336597442627, 1.3714700937271118, -0.8820558190345764, 0.30126139521598816, 1.3612236976623535, -0.9300626516342163, 0.32191941142082214, -1.7515757083892822, -0.03718732297420502, 0.47223928570747375, -2.245302200317383, 0.16824759542942047, -1.321915864944458, -0.4320138096809387, 0.9919383525848389, 0.2777874171733856, -1.211462378501892, 0.19398240745067596, -0.33610787987709045, 1.0358175039291382, 0.5286370515823364, 1.1798933744430542, -1.671467900276184, -0.03309577330946922, -0.2445375621318817, 0.10499432682991028, -1.2139372825622559, -1.6338307857513428, 0.5082785487174988, 0.7223014235496521, 0.687479555606842, -0.13771916925907135, 1.0040977001190186, -0.9307496547698975, 0.723038375377655, -0.8473716974258423, -1.7932956218719482, -1.3301632404327393, -2.2930681705474854, -2.3424532413482666, 0.756456196308136, -0.4734104871749878, -0.44328203797340393, 2.0492568016052246, -1.0455584526062012, -1.901311993598938, 0.9767360091209412, 0.379560261964798, -0.017934449017047882, 2.277391195297241, 0.19610126316547394, -0.73162442445755, 0.40669673681259155, -0.7416820526123047, 0.7546389698982239, -0.37451523542404175, 1.3517687320709229, 0.47423624992370605, -1.0548782348632812, 1.533646583557129, -0.4622703194618225, 0.6194927096366882, -0.7086589932441711, -0.33511123061180115, -0.7879948019981384, 0.31216055154800415, 1.862959623336792, -0.3889503479003906, 1.5361948013305664, -0.30173438787460327, -1.5142083168029785, -1.5410337448120117, 0.7463672757148743, 0.5334888696670532, -0.7419814467430115, 0.1028088852763176, -0.3969677686691284, 0.08893866837024689, -0.05010223761200905, 1.0611557960510254, 1.133634328842163, 0.7212713956832886, -0.3438289165496826, -0.8737730383872986, 0.32761093974113464, 0.021120186895132065, -0.6660155653953552, -1.7881038188934326, -0.273002028465271, 0.26735278964042664, 0.6203833818435669, -1.1297073364257812, 1.7724887132644653, 0.8128042221069336, 1.986464262008667, 1.004615306854248, -0.4511522650718689, 1.5225932598114014, 0.04850074276328087, 1.8477234840393066, -0.46743419766426086, 0.6591449975967407, -0.3531961441040039, -1.234946608543396, 0.8517266511917114, -0.324148952960968, -1.9767836332321167, -0.6737152934074402, -0.8595757484436035, -0.13206548988819122, -0.710486650466919, 0.9513578414916992, -0.268528014421463, -1.3977776765823364, 0.11431187391281128, -0.6966336965560913, 0.14167341589927673, -1.3218169212341309, 0.24306264519691467, 0.8223475217819214, -0.6777989268302917, 0.012481826357543468, -0.2691243588924408, -1.2699111700057983, -0.49886539578437805, 0.332855224609375, 1.8010997772216797, -0.6760867834091187, 0.9610081315040588, 1.00994074344635, -0.7612746953964233, 0.05579160898923874, 0.3389723300933838, -0.31856006383895874, 0.8688310384750366, -1.0347344875335693, -0.3807835578918457, 1.2090339660644531, -0.17823399603366852, -0.7018062472343445, 1.4736264944076538, 0.7951372265815735, -1.0381741523742676, -0.1531979888677597, -0.14030586183071136, -0.8006306886672974, -0.007390232291072607, -1.5889290571212769, -0.1349569708108902, 0.3809596002101898, -1.5103815793991089, -0.5131158232688904, -0.29758065938949585, 1.2783429622650146, -0.17836818099021912, 1.389365553855896, -0.2931610345840454, -0.2019285261631012, -0.42634156346321106, -0.34956032037734985, 0.10031458735466003, -0.20450904965400696, -0.6608330607414246, 0.2848093509674072, -0.8495761156082153, 0.34662574529647827, 1.4160934686660767, 0.3250347971916199, 0.04771624505519867, 0.5526851415634155, 1.1249630451202393, 0.36305972933769226, -0.1370215266942978, -0.9133098721504211, -1.6019108295440674, 2.0204086303710938, -1.3555995225906372, 1.9292361736297607, 0.7687664031982422, -0.024607863277196884, -1.7604379653930664, -1.9163283109664917, 1.4088749885559082, 1.0973151922225952, 2.3723151683807373, 0.5745552182197571, 0.4623105823993683, -0.7981166839599609, -0.6966890692710876, 0.2919401228427887, -0.9482603669166565, -0.781740128993988, 0.0938023254275322, 2.3409557342529297, 1.7937297821044922, -0.48239588737487793, -0.28181466460227966, -1.0663957595825195, 1.3802603483200073, -0.20406821370124817, 0.2215069681406021, 1.9569408893585205, -0.31829413771629333, -0.8946263790130615, 1.3339502811431885, -2.3190581798553467, 0.271624356508255, 2.0008316040039062, 0.15097270905971527, 0.06386560201644897, -1.4259189367294312, -0.6854848861694336, -0.26228800415992737, -0.4522082507610321, -1.295986294746399, 0.5762929916381836, -0.23190028965473175, -0.7712119817733765, -1.542581558227539, 0.18761911988258362, -1.106118083000183, -1.7690516710281372, 0.3134675621986389, 1.9194185733795166, 1.9371227025985718, -0.7307946085929871, 1.5263315439224243, -0.2452712059020996, 0.19222280383110046, 1.3053340911865234, 1.2351778745651245, 3.1849193572998047, 1.9152567386627197, -1.2996951341629028, 0.7582675814628601, -0.10711152106523514, -0.4841654598712921, 1.2229852676391602, -1.1307438611984253, 1.1811606884002686, -0.2646442949771881, -1.303266167640686, -1.2656477689743042, 0.9483380317687988, 0.5452667474746704, 0.13494743406772614, -0.483121395111084, 1.1902045011520386, 0.05479656159877777, 1.3221604824066162, 0.5994740128517151, -0.3549973964691162, 0.6161209940910339, -0.2938072085380554, -0.47290319204330444, 1.530349850654602, 0.13048480451107025, -1.4213064908981323, -2.324571132659912, -0.28722289204597473, -0.8359965682029724, -0.036513470113277435, -0.6149577498435974, -0.9812295436859131, 1.587107539176941, 0.5067808032035828, -1.1865545511245728, -0.24355676770210266, -0.337284117937088, -0.567642331123352, 2.586458444595337, -1.3902608156204224, -0.1169128566980362, -1.0869914293289185, -0.5381739139556885, 1.591349482536316, -1.1684765815734863, -0.1508028209209442, -1.0403423309326172, -0.5788326263427734, -1.375846028327942, -0.5928539037704468, -0.008175699971616268, -0.8859061002731323, 0.7538816928863525, 0.10061954706907272, -1.1308743953704834, -0.29534462094306946, -0.9374724626541138, 0.9670950174331665, -0.16296149790287018, 0.1841207891702652, 1.9360277652740479, 0.48092618584632874, -0.3889111578464508, 0.7171548008918762, 1.0833786725997925, 0.5740898847579956, -0.6607397198677063, 0.2766367495059967, -0.6979191303253174, 0.3093128800392151, -1.4352813959121704, 0.22791939973831177, -2.853630542755127, 0.7416195869445801, -0.08742250502109528, -0.10048559308052063, -0.04800085350871086, -1.3176716566085815, 1.101455569267273, 2.5849225521087646, -1.2661657333374023, 0.5119749903678894, 0.36394983530044556, 1.1641440391540527, -1.5313124656677246, 0.2445363700389862, -0.3997364938259125, 2.084662675857544, 0.03942996636033058, 1.2558513879776, -0.4052127003669739, -2.2373929023742676, 0.5699931979179382, -1.2450041770935059, -1.0796313285827637, 0.8840885758399963, -0.8175398111343384, 0.04166294261813164, -1.3622101545333862, -0.1050235703587532, -0.876960813999176, -1.2522015571594238, 0.7361140251159668, -0.00011923909187316895, 0.45451048016548157, -0.7135223150253296, 0.38244426250457764, -2.115196466445923, -1.3441660404205322, -0.22046159207820892, -0.976514995098114, 0.44844457507133484, -0.3591168224811554, 0.6335114240646362, -0.11851514130830765, -0.029488570988178253, 0.30231374502182007, 1.3652691841125488, 3.409240961074829, 0.23070622980594635, 0.3277495205402374, -0.056821320205926895, -1.0440701246261597, 1.4307076930999756, 0.9114858508110046, -0.17975643277168274, -0.49415549635887146, -0.9963857531547546, 1.2840861082077026, 1.931877851486206, 1.164442777633667, 0.0478968545794487, -0.9071095585823059, -0.8382938504219055, 0.03673847019672394, 0.19695444405078888, 0.4467165768146515, 0.8735327124595642, 0.13657352328300476, 0.10189257562160492, 1.3735713958740234, 1.2224386930465698, -0.3328743577003479, 0.4591043293476105, -0.8368600606918335, -0.4549386501312256, 0.47486183047294617, 0.3345469832420349, 0.03212195634841919, 0.41119247674942017, -1.097448468208313, -0.2651156187057495, -0.42532384395599365, -0.9002181887626648, -0.6973730325698853, -0.4402334988117218, -0.3771449625492096, 1.6359789371490479, 0.0400979146361351, -0.5985172986984253, 0.009060562588274479, -0.7881028056144714, -0.07055053859949112, -0.9917916655540466, 0.29971256852149963, -0.1963374763727188, -0.023438282310962677, -0.11877232789993286, 1.6150015592575073, -1.0335326194763184, -2.1014244556427, 0.27763763070106506, 0.24129018187522888, -0.41831591725349426, 0.18371862173080444, 1.7335540056228638, 0.5454376935958862, 1.418843388557434, 1.4048795700073242, 0.9812290072441101, -0.696857213973999, -1.2763715982437134, 0.6652218699455261, 0.9566477537155151, -1.368850827217102, 0.8706485629081726, -0.011919965036213398, -0.5870370268821716, 0.6853935122489929, 1.3173747062683105, 0.36161237955093384, -2.033569574356079, 0.8113723397254944, -0.8524904847145081, 0.7242627739906311, 0.7364816069602966, 0.7582895159721375, 0.10454710572957993, 0.7233165502548218, -1.3158833980560303, -1.1014745235443115, -0.6512770056724548, -0.6041702032089233, 1.8949923515319824, -0.22226403653621674, 0.6276036500930786, -0.15621903538703918, -1.3105984926223755, -0.16067709028720856, 0.7358852028846741, 0.32935985922813416, -0.5398897528648376, 0.864181637763977, -0.589028000831604, -1.0244640111923218, -1.3509119749069214, -0.5373533964157104, -1.003579020500183, -0.8966643810272217, 0.9805542230606079, 0.8721341490745544, 0.36967703700065613, 1.8604655265808105, 0.6105673909187317, 0.19817869365215302, -2.6829609870910645, 0.8811243772506714, 0.3201776146888733, -0.02182016335427761, 0.8801750540733337, 0.25875529646873474, 1.032381296157837, -0.08029761165380478, 0.5788460373878479, -2.2396883964538574, 2.2683043479919434, -0.19446121156215668, 0.6349725127220154, -0.023649347946047783, -0.2019474357366562, 1.0987911224365234, 0.49306413531303406, 0.6298707723617554, -1.2227189540863037, 0.761873185634613, -0.6075099110603333, 1.2221685647964478, 0.8458083868026733, -0.9571594595909119, -0.05707687884569168, 1.3915104866027832, 0.5158787965774536, -0.46222126483917236, -1.0182911157608032, -0.9853997230529785, 0.9751200675964355, 1.7028069496154785, -0.005942900199443102, 0.02433430403470993, 0.9025964140892029, 0.7017977833747864, -1.3769668340682983, 0.12673617899417877, -0.6785938739776611, -0.5845015645027161, 1.6655385494232178, 2.0388219356536865, -0.03489334136247635, -0.2124231904745102, -0.8522140383720398, -1.178341269493103, 0.6895005702972412, 0.06503742188215256, 0.029214851558208466, 0.7997588515281677, -0.7150978446006775, 1.2119632959365845, 0.8096954822540283, 0.9038093686103821, 0.11361420154571533, 0.27937939763069153, 0.3357999622821808, -0.3722652792930603, -1.2090216875076294, -0.24169482290744781, -1.1096781492233276, -2.489392042160034, 0.44716134667396545, -0.1740991473197937, -1.4783053398132324, 0.016815759241580963, -1.085394024848938, 0.9145959615707397, -0.59587562084198, -1.0645432472229004, -1.3984131813049316, 0.25400790572166443, -0.099838025867939, 0.8425059914588928, -1.5564601421356201, -0.04662036895751953, 1.328971266746521, 0.9557774066925049, -0.6430566906929016, 1.0369629859924316, 0.19476638734340668, 0.9867590069770813, 0.8913363218307495, -0.38125374913215637, 0.48219430446624756, 0.10593298077583313, -1.3721822500228882, 0.3982399106025696, 1.1776448488235474, 0.24372833967208862, 1.404962182044983, -0.6022146940231323, 0.1503056436777115, 0.465498149394989, -0.48618507385253906, -0.5305330157279968, -0.5423999428749084, 0.6817479729652405, 0.08072637021541595, -0.9293146133422852, 0.06876377761363983, -0.06098417192697525, -0.14725463092327118, 0.23149017989635468, -1.5657761096954346, -0.20879672467708588, -0.2708372473716736, -0.6085983514785767, -1.198711633682251, 0.018821902573108673, 1.391086220741272, -0.8192835450172424, -0.23345640301704407, 0.5002539753913879, 0.2345845252275467, 0.5128912329673767, 0.5743464827537537, -0.7284446358680725, -0.2907038927078247, -0.33671802282333374, -0.33955132961273193, 0.28921055793762207, 1.3023289442062378, -0.08737345784902573, -0.9657856225967407, 0.6961730122566223, -0.43756401538848877, 0.09400518983602524, 2.0109167098999023, 0.034802213311195374, -0.879074215888977, 0.31414172053337097, -0.6666067242622375, 1.8308244943618774, 1.7694913148880005, 1.3669456243515015, -0.11049435287714005, -0.9809913039207458, 0.622917890548706, -0.3077486455440521, -0.36722689867019653, 1.03561270236969, 0.30504581332206726, -0.21098075807094574, -1.3686708211898804, 0.5711567401885986, 1.2935956716537476, -0.9215380549430847, -0.8641117215156555, 0.08797689527273178, -0.8886715769767761, 1.1696758270263672, 0.7045477032661438, 0.3303007483482361, 0.24361932277679443, 1.575537085533142, 0.7289557456970215, -0.38724708557128906, 0.5659633874893188, 0.4648418426513672, -0.21215282380580902, -2.0540413856506348, -0.9863372445106506, 0.2860783338546753, -0.4442460834980011, -1.6207857131958008, 1.329221487045288, -1.2732839584350586, -0.9199848175048828, 0.517403244972229, 0.15158626437187195, 1.478664755821228, 0.372306764125824, 1.6326980590820312, 2.137986183166504, 0.8993277549743652, 0.23191188275814056, 1.2462965250015259, -0.15873149037361145, -0.4119020402431488, 1.6963478326797485, -0.4933587312698364, 0.5321440100669861, 1.0669955015182495, -0.44404667615890503, -1.060422420501709, -0.8634769320487976, -1.2205101251602173, -0.6454930305480957, 1.2264355421066284, 0.11956342309713364, -1.106626033782959, 0.3100855350494385, 1.5604424476623535, 0.06216301769018173, -0.21312832832336426, 0.7294518351554871, 0.48953139781951904, -0.7737094163894653, -0.061522383242845535, -0.8234518766403198, 0.5133305191993713, -0.1731509417295456, -0.3156329393386841, 0.3849976062774658, 0.45797014236450195, 1.286708950996399, 0.024471748620271683, 0.09357606619596481, 1.255738377571106, -1.3330847024917603, 1.5439640283584595, -0.7303199768066406, 0.2537079155445099, -2.4931390285491943, 1.4579319953918457, -0.8447749614715576, 1.8977712392807007, -2.618528366088867, 0.4068678021430969, -0.503044605255127, -0.4458061456680298, 0.28266477584838867, -0.464080274105072, 0.08072858303785324, -0.18185074627399445, -1.0495305061340332, -0.19274316728115082, -0.803992509841919, 0.5804343223571777, 1.1775751113891602, 1.4447546005249023, -1.0847138166427612, -0.2837179899215698, -1.8231512308120728, -0.16258805990219116, -0.6929451823234558, 0.47692447900772095, -1.880418062210083, -0.2010500133037567, -1.9348669052124023, -2.5266902446746826, -1.2721977233886719, -0.7632675170898438, 1.0020604133605957, 0.1133352518081665, -0.7888118624687195, 1.109491229057312, -0.4093371629714966, -1.8525209426879883, 1.0797181129455566, -2.2289044857025146 ]
https://github.com/huggingface/datasets/issues/3939
Source links broken
This is done in #3943 to go along with [doc-builder#146](https://github.com/huggingface/doc-builder/pull/146). Note that this will only work for future versions, so once those two are merged, the actual v2.0.0 doc should be fixed. The easiest is to cherry-pick this commit on the v2.0.0 release branch (or on a new branch created from the 2.0.0 tag, with a name that triggers the doc building job, for instance v2.0.0-release)
## Describe the bug The source links of v2.0.0 docs are broken: For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0/src/datasets/features/features.py#L747` here, the `v2.0.0` should be `2.0.0`. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug ``` ## Expected results Redirecting to this link: `https://github.com/huggingface/datasets/blob/2.0.0/src/datasets/features/features.py#L747` ## Actual results Described above. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: - Platform: - Python version: - PyArrow version:
885
66
Source links broken ## Describe the bug The source links of v2.0.0 docs are broken: For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0/src/datasets/features/features.py#L747` here, the `v2.0.0` should be `2.0.0`. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug ``` ## Expected results Redirecting to this link: `https://github.com/huggingface/datasets/blob/2.0.0/src/datasets/features/features.py#L747` ## Actual results Described above. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: - Platform: - Python version: - PyArrow version: This is done in #3943 to go along with [doc-builder#146](https://github.com/huggingface/doc-builder/pull/146). Note that this will only work for future versions, so once those two are merged, the actual v2.0.0 doc should be fixed. The easiest is to cherry-pick this commit on the v2.0.0 release branch (or on a new branch created from the 2.0.0 tag, with a name that triggers the doc building job, for instance v2.0.0-release)
[ -1.1727135181427002, -0.8618509769439697, -0.7470154762268066, 1.496899962425232, -0.017738886177539825, -1.311511754989624, 0.0926058441400528, -0.9432381391525269, 1.683221459388733, -0.792560338973999, 0.28957492113113403, -1.7215080261230469, 0.022891957312822342, -0.4761720597743988, -0.7329409122467041, -0.8319047689437866, -0.4052017033100128, -0.7638270854949951, 1.0146976709365845, 2.559502124786377, 1.304605484008789, -1.3300682306289673, 2.671050548553467, 0.7576658129692078, -0.29682615399360657, -0.9846875071525574, 0.5431923866271973, -0.049391426146030426, -1.4139174222946167, -0.37662142515182495, -0.9053189754486084, 0.019604647532105446, -0.4765702188014984, -0.593882143497467, 0.008448097854852676, 0.42671316862106323, -0.2747845947742462, -0.4067338705062866, -0.5051084160804749, -0.8220784068107605, 0.4035632610321045, -0.33532819151878357, 0.9100149869918823, -0.3319721221923828, 1.806146264076233, -0.529471218585968, 0.4676089882850647, 0.632697582244873, 1.3266386985778809, 0.11252404749393463, -0.02408135123550892, 0.2270279824733734, 0.37117862701416016, 0.03827895596623421, 0.5531144142150879, 1.1963326930999756, 0.679884135723114, 0.4494248032569885, 0.6672112345695496, -2.2242684364318848, 1.3601350784301758, -0.8414505124092102, 0.2680792212486267, 1.4058148860931396, -0.9920397400856018, 0.28802064061164856, -1.754669189453125, -0.1264219433069229, 0.4810403287410736, -2.2901899814605713, 0.1687384396791458, -1.327441930770874, -0.5151697993278503, 0.9802877306938171, 0.26717647910118103, -1.2501827478408813, 0.1098136454820633, -0.3323385715484619, 0.9644806385040283, 0.517684817314148, 1.1761791706085205, -1.6614505052566528, -0.06683142483234406, -0.2626134753227234, 0.08066248893737793, -1.2296078205108643, -1.6142513751983643, 0.5052075386047363, 0.7287076115608215, 0.6596464514732361, -0.07924208045005798, 0.9747295379638672, -0.9240097999572754, 0.812691330909729, -0.8352437019348145, -1.8133834600448608, -1.319664478302002, -2.3942060470581055, -2.348172903060913, 0.7786844968795776, -0.4655464291572571, -0.5073039531707764, 2.088014602661133, -1.0990912914276123, -1.8988200426101685, 0.9871694445610046, 0.3895617127418518, -0.05836718529462814, 2.3367905616760254, 0.24630700051784515, -0.6916400194168091, 0.4175231456756592, -0.8038041591644287, 0.7883707880973816, -0.41613274812698364, 1.3073161840438843, 0.49660369753837585, -1.0886393785476685, 1.5341689586639404, -0.45392265915870667, 0.5523006916046143, -0.7630817294120789, -0.30320030450820923, -0.7768308520317078, 0.2629571855068207, 1.8542693853378296, -0.4223862886428833, 1.5305527448654175, -0.23556692898273468, -1.4574447870254517, -1.51422119140625, 0.7178211212158203, 0.506797194480896, -0.7478018403053284, 0.12897956371307373, -0.3886237144470215, 0.07695630192756653, 0.04108982905745506, 1.0313979387283325, 1.1631529331207275, 0.674036979675293, -0.36622878909111023, -0.9157436490058899, 0.3010636866092682, -0.019210468977689743, -0.6777284145355225, -1.7992427349090576, -0.251626193523407, 0.21023036539554596, 0.6133809089660645, -1.1759817600250244, 1.776413083076477, 0.8393288850784302, 2.0055389404296875, 0.9764915108680725, -0.47707048058509827, 1.5294408798217773, 0.042538609355688095, 1.8801814317703247, -0.44803252816200256, 0.7035171985626221, -0.40013036131858826, -1.2103620767593384, 0.8784241676330566, -0.31268826127052307, -1.9735270738601685, -0.6608679890632629, -0.8442312479019165, -0.17214247584342957, -0.7231934070587158, 0.9960222244262695, -0.2146400809288025, -1.3398796319961548, 0.13908380270004272, -0.7461861968040466, 0.1019710898399353, -1.4165806770324707, 0.24391792714595795, 0.8342249989509583, -0.6202348470687866, -0.011408617720007896, -0.29174429178237915, -1.2854063510894775, -0.498135507106781, 0.3540061414241791, 1.8097076416015625, -0.6069573760032654, 1.053062081336975, 1.0050421953201294, -0.7531378269195557, 0.0002604387700557709, 0.3565449118614197, -0.34909939765930176, 0.8950724601745605, -1.0112053155899048, -0.37896135449409485, 1.194136142730713, -0.17169038951396942, -0.7360954880714417, 1.5171034336090088, 0.7946003675460815, -1.0184385776519775, -0.18975971639156342, -0.1260480433702469, -0.750156819820404, 0.057479459792375565, -1.600434422492981, -0.13499034941196442, 0.37904345989227295, -1.5193166732788086, -0.48666056990623474, -0.23435384035110474, 1.324410319328308, -0.17878574132919312, 1.4481854438781738, -0.28859734535217285, -0.2467573881149292, -0.4503929913043976, -0.338327020406723, 0.08330237865447998, -0.17740853130817413, -0.6430326104164124, 0.3631078004837036, -0.8234460949897766, 0.30150845646858215, 1.4014344215393066, 0.3498362898826599, 0.1126994788646698, 0.5424119234085083, 1.0468971729278564, 0.35135146975517273, -0.19016596674919128, -0.9194790720939636, -1.6438647508621216, 2.0934898853302, -1.3528512716293335, 1.9543442726135254, 0.8433337211608887, -0.0319194495677948, -1.7459431886672974, -1.951852798461914, 1.4254015684127808, 1.0961601734161377, 2.3737072944641113, 0.5485402941703796, 0.47401222586631775, -0.7856327891349792, -0.6887670159339905, 0.309734582901001, -0.9577597975730896, -0.8132596015930176, 0.06543885171413422, 2.364884614944458, 1.7743061780929565, -0.41407087445259094, -0.2331007421016693, -1.0849225521087646, 1.3632075786590576, -0.13436758518218994, 0.15018953382968903, 1.944269061088562, -0.2963699698448181, -0.8768035769462585, 1.2412376403808594, -2.319296360015869, 0.25013914704322815, 2.013946533203125, 0.17416605353355408, 0.0011264290660619736, -1.4287362098693848, -0.6548519134521484, -0.2775767743587494, -0.48460981249809265, -1.1929107904434204, 0.5761722326278687, -0.22117647528648376, -0.8239786028862, -1.5355702638626099, 0.12065659463405609, -1.0983363389968872, -1.8153176307678223, 0.29347801208496094, 1.865533471107483, 1.9574955701828003, -0.7546534538269043, 1.5010337829589844, -0.20672792196273804, 0.15417075157165527, 1.2650195360183716, 1.2463613748550415, 3.171815872192383, 1.9702167510986328, -1.302005410194397, 0.75357586145401, -0.08521208167076111, -0.4672439694404602, 1.2462546825408936, -1.1317229270935059, 1.197615385055542, -0.27128931879997253, -1.3596471548080444, -1.304427981376648, 0.9882842302322388, 0.503521740436554, 0.13216440379619598, -0.5090471506118774, 1.2180728912353516, 0.14077076315879822, 1.3008145093917847, 0.6056475043296814, -0.27406445145606995, 0.6400399804115295, -0.3394780457019806, -0.4366089403629303, 1.6018861532211304, 0.13589654862880707, -1.4734892845153809, -2.320605754852295, -0.28852760791778564, -0.8875362277030945, -0.05995762720704079, -0.6287318468093872, -0.9983343482017517, 1.621429443359375, 0.52619469165802, -1.1808186769485474, -0.3009454905986786, -0.3401399552822113, -0.6446486711502075, 2.615330934524536, -1.4087320566177368, -0.1444765031337738, -1.0753796100616455, -0.5560021996498108, 1.5689271688461304, -1.2005424499511719, -0.12436065077781677, -1.0319103002548218, -0.6345021724700928, -1.3275249004364014, -0.5598629713058472, -0.03948460519313812, -0.9469889998435974, 0.7156186699867249, 0.04354635998606682, -1.136688470840454, -0.2516075074672699, -0.936370313167572, 0.9164369106292725, -0.10574612021446228, 0.2071467638015747, 1.8789334297180176, 0.49119314551353455, -0.41703349351882935, 0.6826674342155457, 1.1178998947143555, 0.6173481345176697, -0.6858276724815369, 0.2932974100112915, -0.660378634929657, 0.3516511023044586, -1.3238874673843384, 0.2648444175720215, -2.808493137359619, 0.6486729979515076, -0.12684272229671478, -0.07855275273323059, -0.05354960635304451, -1.1727832555770874, 1.1645307540893555, 2.508551597595215, -1.229927659034729, 0.5359624624252319, 0.3160255551338196, 1.1483376026153564, -1.497025966644287, 0.3010064363479614, -0.439522385597229, 2.1195034980773926, 0.0809977650642395, 1.2119488716125488, -0.43824800848960876, -2.222792387008667, 0.6255189180374146, -1.1960145235061646, -1.0489670038223267, 0.8709126710891724, -0.7627202868461609, 0.04070524871349335, -1.2962448596954346, -0.0818265974521637, -0.8515751361846924, -1.2702696323394775, 0.7041813135147095, -0.01627625897526741, 0.490253746509552, -0.67132169008255, 0.33072835206985474, -2.1688013076782227, -1.3316435813903809, -0.2508866786956787, -0.9864906072616577, 0.43963131308555603, -0.3428928256034851, 0.6536082625389099, -0.12887881696224213, -0.014486023224890232, 0.3170027434825897, 1.3455555438995361, 3.404515027999878, 0.2458178550004959, 0.407659113407135, -0.040081687271595, -1.0391721725463867, 1.461701512336731, 0.886731743812561, -0.17653799057006836, -0.516014039516449, -0.9654935002326965, 1.2862133979797363, 1.9236435890197754, 1.1846903562545776, 0.07882283627986908, -0.894432008266449, -0.8926453590393066, 0.05003708600997925, 0.1691153198480606, 0.40093061327934265, 0.9114046692848206, 0.1307058185338974, 0.11728882789611816, 1.3959133625030518, 1.2607364654541016, -0.3519299030303955, 0.4614563286304474, -0.818812906742096, -0.44961461424827576, 0.42994800209999084, 0.3667326271533966, 0.05640589818358421, 0.4370121955871582, -1.152543544769287, -0.3199279010295868, -0.3686492145061493, -0.8899287581443787, -0.6940950751304626, -0.3856627941131592, -0.38288962841033936, 1.674960970878601, 0.021227791905403137, -0.5134603381156921, 0.05879969522356987, -0.8394274711608887, -0.04476557672023773, -1.0405693054199219, 0.2979621887207031, -0.1882067322731018, 0.01680171489715576, -0.0792514979839325, 1.7040550708770752, -1.0491597652435303, -2.1831154823303223, 0.31066200137138367, 0.21560132503509521, -0.4174272119998932, 0.16457919776439667, 1.7007603645324707, 0.601186990737915, 1.3913133144378662, 1.3825503587722778, 0.9880436658859253, -0.7103369235992432, -1.2621676921844482, 0.7072718143463135, 0.9845249056816101, -1.3773174285888672, 0.8794087767601013, -0.06569170206785202, -0.5504338145256042, 0.6510745882987976, 1.2847111225128174, 0.3278409540653229, -2.028294086456299, 0.8277335166931152, -0.8336780667304993, 0.7422221899032593, 0.67945396900177, 0.7673836350440979, 0.12106147408485413, 0.7047356367111206, -1.3574278354644775, -1.0624704360961914, -0.6157959699630737, -0.5549729466438293, 1.8724778890609741, -0.21747560799121857, 0.6166228652000427, -0.1845615953207016, -1.310137391090393, -0.0480819009244442, 0.6883286833763123, 0.2832466959953308, -0.4781557321548462, 0.8743110299110413, -0.5394732356071472, -1.0876802206039429, -1.3684042692184448, -0.5223046541213989, -0.991978645324707, -0.8354558944702148, 0.9776658415794373, 0.824561357498169, 0.3659151494503021, 1.9093269109725952, 0.604209303855896, 0.2089114934206009, -2.719331979751587, 0.9171561598777771, 0.29203683137893677, -0.008860284462571144, 0.9145566821098328, 0.23490045964717865, 1.088198184967041, -0.111366406083107, 0.5571221113204956, -2.2756991386413574, 2.3058829307556152, -0.23085585236549377, 0.6613932847976685, 0.08536998927593231, -0.1657162755727768, 1.1008847951889038, 0.5519164204597473, 0.6569141149520874, -1.2100509405136108, 0.7631052732467651, -0.6555526852607727, 1.263414740562439, 0.8513234853744507, -0.8990075588226318, -0.027781931683421135, 1.377922534942627, 0.49968376755714417, -0.4054781198501587, -0.9715585112571716, -1.0043797492980957, 0.9518316984176636, 1.7195461988449097, 0.03424555063247681, 0.0630103200674057, 0.889006495475769, 0.7065684795379639, -1.3390611410140991, 0.0927257388830185, -0.7082266807556152, -0.603075385093689, 1.6685539484024048, 2.1044750213623047, -0.022127466276288033, -0.23389407992362976, -0.8678781390190125, -1.2069064378738403, 0.7212505340576172, -0.007085583172738552, 0.0885009765625, 0.8290605545043945, -0.7093155980110168, 1.17202627658844, 0.8108581304550171, 0.9427375197410583, 0.1396878957748413, 0.235441654920578, 0.2926875352859497, -0.37848085165023804, -1.1748615503311157, -0.2429937720298767, -1.108702301979065, -2.5539159774780273, 0.4518550932407379, -0.26457679271698, -1.4619743824005127, 0.04834738373756409, -1.138669490814209, 0.8588205575942993, -0.5698032379150391, -1.039108395576477, -1.3982536792755127, 0.16258873045444489, -0.18165022134780884, 0.8659766912460327, -1.5345916748046875, -0.062424834817647934, 1.3422777652740479, 0.8959816098213196, -0.636393666267395, 1.033705711364746, 0.1905725747346878, 0.9644402265548706, 0.874829113483429, -0.3182734251022339, 0.4797011911869049, 0.14661143720149994, -1.3994959592819214, 0.3302360475063324, 1.2039525508880615, 0.20637942850589752, 1.4032312631607056, -0.6351658701896667, 0.13662101328372955, 0.47587835788726807, -0.4202975034713745, -0.5738212466239929, -0.527524471282959, 0.6907617449760437, 0.040062349289655685, -0.9453346729278564, 0.09422677755355835, -0.07016481459140778, -0.1296594738960266, 0.19718897342681885, -1.521971344947815, -0.1841670423746109, -0.2704874873161316, -0.6318053007125854, -1.2840076684951782, 0.033039554953575134, 1.3513867855072021, -0.9032742977142334, -0.15028847754001617, 0.44442319869995117, 0.19409975409507751, 0.5174550414085388, 0.6139609813690186, -0.6437262296676636, -0.33859121799468994, -0.337868332862854, -0.26333722472190857, 0.3286496102809906, 1.2721019983291626, -0.07800643146038055, -0.9460833668708801, 0.6655318737030029, -0.43995046615600586, 0.1576867550611496, 2.0677695274353027, 0.028759315609931946, -0.8632150292396545, 0.37048012018203735, -0.5719395875930786, 1.8047653436660767, 1.6976211071014404, 1.3640048503875732, -0.10720641911029816, -1.0101854801177979, 0.5744101405143738, -0.26349973678588867, -0.39280733466148376, 0.9908740520477295, 0.2796158492565155, -0.20449943840503693, -1.3606516122817993, 0.5052255392074585, 1.296635389328003, -0.945516049861908, -0.870084285736084, 0.1501297652721405, -0.8853335380554199, 1.1749967336654663, 0.6997119188308716, 0.34105172753334045, 0.24132342636585236, 1.5191367864608765, 0.7171239852905273, -0.4808025658130646, 0.5289605855941772, 0.42042022943496704, -0.1735205203294754, -2.012868881225586, -0.9084664583206177, 0.2503582835197449, -0.4454514682292938, -1.5394548177719116, 1.2859305143356323, -1.2782788276672363, -0.91103595495224, 0.49253377318382263, 0.17256119847297668, 1.4750690460205078, 0.32828786969184875, 1.6722359657287598, 2.1414341926574707, 0.9211466908454895, 0.24474434554576874, 1.219185471534729, -0.1980755478143692, -0.4478012025356293, 1.6546295881271362, -0.5003721714019775, 0.5232588648796082, 1.0842247009277344, -0.45810794830322266, -1.0406376123428345, -0.8465407490730286, -1.171730875968933, -0.6421999931335449, 1.2590360641479492, 0.14719735085964203, -1.0804330110549927, 0.2717260718345642, 1.4908342361450195, 0.029680930078029633, -0.1922977864742279, 0.6563898921012878, 0.48814377188682556, -0.7812894582748413, -0.095156729221344, -0.8272896409034729, 0.537326991558075, -0.17359398305416107, -0.35344409942626953, 0.34626030921936035, 0.4874803125858307, 1.2245670557022095, -0.012909973971545696, 0.11804331839084625, 1.3146007061004639, -1.3082669973373413, 1.590079426765442, -0.6708785891532898, 0.18595954775810242, -2.3653082847595215, 1.4422101974487305, -0.8522341251373291, 1.8136625289916992, -2.6560981273651123, 0.35851895809173584, -0.4761671721935272, -0.47088760137557983, 0.24394412338733673, -0.44546395540237427, 0.1005692183971405, -0.2635255753993988, -1.0066381692886353, -0.2572288513183594, -0.7901590466499329, 0.5028230547904968, 1.1884175539016724, 1.4147961139678955, -1.0883283615112305, -0.28396934270858765, -1.838675618171692, -0.1441403478384018, -0.6985709071159363, 0.4313512444496155, -1.8539971113204956, -0.21749380230903625, -1.9666659832000732, -2.514054536819458, -1.326429843902588, -0.8863300681114197, 1.0030708312988281, 0.11277730762958527, -0.7529305815696716, 1.0018415451049805, -0.3639703691005707, -1.8335481882095337, 1.0562984943389893, -2.2232775688171387 ]
https://github.com/huggingface/datasets/issues/3937
Missing languages in lvwerra/github-code dataset
That seems to be an oversight - I originally planned to include them in the dataset and for some reason they were in the list of languages but not in the query. Since there is an issue with the deduplication step I'll rerun the pipeline anyway and will double check the query. Thanks for reporting this @Eytan-S!
Hi, I'm working with the github-code dataset. First of all, thank you for creating this amazing dataset! I've noticed that two languages are missing from the dataset: TypeScript and Scala. Looks like they're also omitted from the query you used to get the original code. Are there any plans to add them in the future? Thanks!
886
57
Missing languages in lvwerra/github-code dataset Hi, I'm working with the github-code dataset. First of all, thank you for creating this amazing dataset! I've noticed that two languages are missing from the dataset: TypeScript and Scala. Looks like they're also omitted from the query you used to get the original code. Are there any plans to add them in the future? Thanks! That seems to be an oversight - I originally planned to include them in the dataset and for some reason they were in the list of languages but not in the query. Since there is an issue with the deduplication step I'll rerun the pipeline anyway and will double check the query. Thanks for reporting this @Eytan-S!
[ -1.3723403215408325, -0.9876606464385986, -0.841261625289917, 1.505020022392273, -0.32864171266555786, -1.2894891500473022, 0.08443672209978104, -1.2375503778457642, 1.6406790018081665, -0.9720774292945862, 0.20483233034610748, -1.682626724243164, 0.0789802148938179, -0.47699758410453796, -0.7945603728294373, -0.9828205108642578, -0.41678640246391296, -0.7486136555671692, 1.0275250673294067, 2.386143684387207, 1.1617364883422852, -1.4093549251556396, 2.7738049030303955, 0.6240285634994507, -0.22685055434703827, -1.104444980621338, 0.6642745733261108, -0.005027630366384983, -1.2012617588043213, -0.4962581396102905, -1.0621780157089233, -0.0380711704492569, -0.49004408717155457, -0.4670190215110779, -0.039942316710948944, 0.4090372920036316, -0.20793651044368744, -0.405920147895813, -0.45116838812828064, -0.7605181932449341, 0.46161729097366333, -0.3079332709312439, 0.9107789993286133, -0.39608335494995117, 1.8526477813720703, -0.46328628063201904, 0.2911517024040222, 0.770278811454773, 1.4240198135375977, 0.10989726334810257, -0.07012392580509186, 0.09995738416910172, 0.49436089396476746, -0.038125865161418915, 0.3221915364265442, 1.1311709880828857, 0.5889760851860046, 0.5868385434150696, 0.7088902592658997, -2.1769444942474365, 1.3402429819107056, -1.0060837268829346, 0.3004781901836395, 1.4751936197280884, -1.1112812757492065, 0.45941710472106934, -1.852188229560852, 0.00289988424628973, 0.42190462350845337, -2.242354154586792, 0.14709436893463135, -1.1152949333190918, -0.5377053618431091, 0.9653978943824768, 0.23579010367393494, -1.22232985496521, 0.10967114567756653, -0.4545406401157379, 0.990863561630249, 0.6674164533615112, 1.11612069606781, -1.5150772333145142, 0.07855052500963211, -0.35696083307266235, 0.0721115693449974, -1.3797760009765625, -1.450588583946228, 0.577544093132019, 0.6617833971977234, 0.47402259707450867, -0.032787203788757324, 0.9735782742500305, -0.9494097828865051, 0.8604696989059448, -0.7690641283988953, -1.5642664432525635, -1.3507556915283203, -2.394681215286255, -2.304614305496216, 0.7466619610786438, -0.5254544019699097, -0.5833743810653687, 2.0027384757995605, -1.1514544486999512, -1.8838846683502197, 1.2832996845245361, 0.31766048073768616, 0.11736438423395157, 2.4679114818573, 0.18648067116737366, -0.6709147095680237, 0.4804828464984894, -0.6742268204689026, 0.8487100601196289, -0.6461268067359924, 1.4009565114974976, 0.5060203671455383, -0.9579846262931824, 1.6784297227859497, -0.39203503727912903, 0.5182237029075623, -0.6369175910949707, -0.5301386713981628, -0.9660636186599731, 0.4244554936885834, 1.7941699028015137, -0.3609115481376648, 1.5578129291534424, -0.3143012225627899, -1.4846376180648804, -1.5948219299316406, 0.9474432468414307, 0.535332441329956, -0.818120539188385, 0.1987239569425583, -0.35395440459251404, -0.04699188470840454, -0.05774505436420441, 1.040337324142456, 1.255192756652832, 0.7788744568824768, -0.3172670304775238, -0.9094261527061462, 0.22241482138633728, -0.1126457005739212, -0.6173011660575867, -1.8187795877456665, -0.3325912654399872, 0.05061841011047363, 0.7082643508911133, -1.1724172830581665, 1.64923894405365, 1.03705632686615, 1.8605540990829468, 0.9898287057876587, -0.3629501760005951, 1.4715596437454224, 0.07933396846055984, 1.8128033876419067, -0.47104862332344055, 0.7130432724952698, -0.3170277774333954, -1.252949833869934, 0.7306646108627319, -0.32415488362312317, -1.91836678981781, -0.8590953946113586, -1.0466548204421997, -0.2589923143386841, -0.6777161359786987, 1.0771445035934448, -0.3836909830570221, -1.3085322380065918, 0.23727545142173767, -0.4780816435813904, 0.1870000809431076, -1.2837380170822144, 0.4469819664955139, 0.7729579210281372, -0.6565483212471008, -0.10273123532533646, -0.2742719352245331, -1.258164405822754, -0.5986949801445007, 0.23354165256023407, 1.869691252708435, -0.8426562547683716, 0.9661612510681152, 0.9260410666465759, -0.7438544034957886, -0.040884338319301605, 0.32177621126174927, -0.30201655626296997, 0.8652535080909729, -0.9386943578720093, -0.5005935430526733, 1.1713978052139282, -0.32087403535842896, -0.6102316379547119, 1.4359767436981201, 0.7210341095924377, -0.8520621061325073, -0.2565459609031677, -0.28080853819847107, -0.9321558475494385, -0.12599939107894897, -1.5057669878005981, -0.12079078704118729, 0.15440714359283447, -1.5186588764190674, -0.5260851979255676, -0.22663164138793945, 1.306894302368164, -0.1319526731967926, 1.4893473386764526, -0.2718300223350525, -0.2985445261001587, -0.40680673718452454, -0.4233699142932892, 0.27818694710731506, -0.21603082120418549, -0.6227684020996094, 0.23224785923957825, -0.8003448247909546, 0.2752547264099121, 1.419301986694336, 0.4937731921672821, -0.021422259509563446, 0.6607825756072998, 1.0374394655227661, 0.34617334604263306, -0.05067749321460724, -0.8880408406257629, -1.508508563041687, 1.9436110258102417, -1.587296485900879, 1.9294298887252808, 0.6886203289031982, -0.08842892199754715, -1.7221620082855225, -1.8234528303146362, 1.463812232017517, 1.2408223152160645, 2.2510461807250977, 0.6212610602378845, 0.36209121346473694, -0.8281584978103638, -0.718224823474884, 0.3680034279823303, -1.0501760244369507, -0.7101776003837585, -0.0016527124680578709, 2.3121607303619385, 1.728621244430542, -0.5968537330627441, -0.22342506051063538, -0.9907434582710266, 1.28926420211792, -0.08054292947053909, 0.35769015550613403, 1.9413400888442993, -0.3474891483783722, -1.153969168663025, 1.2009246349334717, -2.353943109512329, 0.1214509978890419, 1.9799842834472656, 0.37895911931991577, 0.0001288149505853653, -1.3559879064559937, -0.5800281763076782, -0.14661748707294464, -0.5188423991203308, -1.3470072746276855, 0.5085999369621277, -0.34746605157852173, -0.7401889562606812, -1.4390026330947876, 0.13581937551498413, -1.2393379211425781, -1.48684561252594, 0.4177151024341583, 1.8624591827392578, 2.059997320175171, -0.697175920009613, 1.4947220087051392, -0.2502553164958954, 0.2048007696866989, 1.1236153841018677, 1.1243476867675781, 3.1013784408569336, 2.004190683364868, -1.207773208618164, 0.6892265677452087, -0.09801151603460312, -0.5434145927429199, 1.1612558364868164, -1.0020482540130615, 1.3763371706008911, -0.1670566350221634, -1.12603759765625, -1.2675213813781738, 0.8722570538520813, 0.41736268997192383, 0.1440153270959854, -0.5031047463417053, 1.2116882801055908, 0.13741999864578247, 1.2643471956253052, 0.4733308255672455, -0.31192535161972046, 0.5940099954605103, -0.45030340552330017, -0.5849093198776245, 1.5825644731521606, 0.12573662400245667, -1.4277229309082031, -2.2110471725463867, -0.27130573987960815, -0.7131380438804626, -0.03068399615585804, -0.5526669025421143, -0.9312499165534973, 1.6190922260284424, 0.49966803193092346, -1.1463768482208252, -0.3501243591308594, -0.40764865279197693, -0.7603446841239929, 2.541486978530884, -1.536232829093933, -0.24331168830394745, -0.8978378176689148, -0.581893801689148, 1.5725274085998535, -1.223655104637146, -0.0842662826180458, -1.0615181922912598, -0.5608611106872559, -1.4323416948318481, -0.5554231405258179, -0.052995577454566956, -0.9500547051429749, 0.770016610622406, 0.2540504038333893, -1.086983561515808, -0.3237789571285248, -0.7352399230003357, 0.8473494052886963, -0.075713150203228, 0.38678187131881714, 1.884350299835205, 0.45918336510658264, -0.4213942587375641, 0.7989524006843567, 1.1716293096542358, 0.6595303416252136, -0.5898253321647644, 0.3049871623516083, -0.7254801988601685, 0.33088168501853943, -1.233000636100769, 0.22337579727172852, -3.0226528644561768, 0.6248927116394043, -0.024466166272759438, -0.10974656045436859, 0.01708015613257885, -1.3601713180541992, 1.0999597311019897, 2.556457757949829, -1.1463861465454102, 0.4819968044757843, 0.27077800035476685, 1.3013041019439697, -1.5530409812927246, 0.3101678788661957, -0.4915446639060974, 2.127030372619629, 0.13783161342144012, 1.166780710220337, -0.5583113431930542, -2.2779757976531982, 0.6024848818778992, -1.1879909038543701, -1.2721214294433594, 0.7675361633300781, -0.8107771277427673, 0.03795655816793442, -1.4350742101669312, -0.1710018813610077, -0.9108152389526367, -1.342346429824829, 0.8641279935836792, 0.2279743105173111, 0.5141186714172363, -0.7189928889274597, 0.3536064922809601, -2.201793670654297, -1.42225182056427, -0.21541395783424377, -0.8265178799629211, 0.37087637186050415, -0.45045599341392517, 0.7696701884269714, -0.14222286641597748, 0.13351605832576752, 0.2575415372848511, 1.397205114364624, 3.3378028869628906, 0.19392406940460205, 0.46925437450408936, -0.0761120393872261, -0.9295686483383179, 1.6228266954421997, 1.0819785594940186, -0.1233307346701622, -0.5511086583137512, -0.9808560609817505, 1.199101448059082, 1.890804409980774, 0.856711208820343, 0.03530849516391754, -0.8045790791511536, -0.5516664981842041, -0.13872431218624115, 0.15421755611896515, 0.606329083442688, 0.9493935108184814, -0.10472358018159866, 0.19715292751789093, 1.4028348922729492, 1.2613694667816162, -0.4493277966976166, 0.40100565552711487, -0.7914527058601379, -0.5021326541900635, 0.5787805318832397, 0.4608801305294037, -0.10154403746128082, 0.4061354398727417, -0.9997037649154663, -0.20569762587547302, -0.3093978762626648, -1.0186834335327148, -0.5674774050712585, -0.3771190345287323, -0.39030182361602783, 1.6066946983337402, 0.1457468569278717, -0.5476748943328857, -0.042188629508018494, -0.8390209078788757, -0.03145957738161087, -1.1234893798828125, 0.16925273835659027, -0.18281109631061554, 0.011282842606306076, -0.08817088603973389, 1.880423665046692, -0.9640709161758423, -2.1818063259124756, 0.32613325119018555, 0.3060929477214813, -0.3761468827724457, 0.11332828551530838, 1.5573272705078125, 0.43481847643852234, 1.4673819541931152, 1.3954083919525146, 1.0742247104644775, -0.7212390899658203, -1.3521090745925903, 0.7033643126487732, 0.9061025381088257, -1.424491286277771, 0.8415734171867371, 0.012625511735677719, -0.6418706178665161, 0.6830907464027405, 1.2951059341430664, 0.38344472646713257, -2.0537009239196777, 0.9686345458030701, -0.9009431004524231, 0.7668454647064209, 0.7256354093551636, 0.8123900890350342, 0.23451504111289978, 0.927865743637085, -1.0783936977386475, -1.1959903240203857, -0.7911691665649414, -0.689022958278656, 1.93784499168396, -0.2837049961090088, 0.5680088400840759, -0.1333557367324829, -1.2097909450531006, -0.15687407553195953, 0.582258939743042, 0.27584952116012573, -0.09400638192892075, 0.800772488117218, -0.7511430978775024, -1.1891889572143555, -1.447263240814209, -0.4296621084213257, -1.0333945751190186, -0.9112160205841064, 1.0526123046875, 0.8592550754547119, 0.1981641948223114, 1.909654140472412, 0.572027325630188, 0.11850257962942123, -2.6397130489349365, 0.9133963584899902, 0.381193608045578, 0.01943509466946125, 0.849372148513794, 0.3098925054073334, 1.2103464603424072, 0.0769561380147934, 0.4360210597515106, -2.360771656036377, 2.2532780170440674, -0.31108006834983826, 0.7567074298858643, -0.048975326120853424, -0.1673133373260498, 1.1728456020355225, 0.6447861790657043, 0.6872164607048035, -1.212842345237732, 0.780909538269043, -0.6271005272865295, 1.1887544393539429, 0.9856389164924622, -0.7256171107292175, -0.023344404995441437, 1.340874433517456, 0.6573681831359863, -0.5545628666877747, -0.917350709438324, -0.7931795120239258, 0.8033727407455444, 1.8237584829330444, -0.011728968471288681, 0.1708296537399292, 0.7423781156539917, 0.6660491228103638, -1.2711365222930908, 0.07686517387628555, -0.7428632378578186, -0.7747286558151245, 1.657768726348877, 1.9329267740249634, -0.0610116645693779, -0.12778715789318085, -0.683542788028717, -1.2726737260818481, 0.7599664330482483, 0.02143424190580845, 0.1929946392774582, 0.6753507852554321, -0.7649041414260864, 1.0941777229309082, 0.8137258887290955, 0.9055560231208801, 0.07514110952615738, 0.33906039595603943, 0.3657717704772949, -0.14800050854682922, -1.0818281173706055, -0.08599545806646347, -1.0700322389602661, -2.5745978355407715, 0.33260440826416016, -0.3690416216850281, -1.4128313064575195, -0.02709435299038887, -0.978611171245575, 0.9063428044319153, -0.5768475532531738, -1.1773431301116943, -1.4728926420211792, 0.09138062596321106, -0.15458796918392181, 0.719760000705719, -1.6127320528030396, 0.0007806625217199326, 1.3687970638275146, 0.9452038407325745, -0.6693776845932007, 1.2367455959320068, 0.3790105879306793, 1.100187063217163, 0.7297040820121765, -0.45158523321151733, 0.39099958539009094, -0.047810956835746765, -1.322391390800476, 0.5093871355056763, 1.1042698621749878, 0.055448099970817566, 1.3660348653793335, -0.5531036257743835, -0.028687424957752228, 0.4906989634037018, -0.4684056043624878, -0.44779297709465027, -0.5123670101165771, 0.7603492736816406, -0.06936540454626083, -0.8221376538276672, 0.257560133934021, -0.20986142754554749, -0.29934293031692505, 0.2157185673713684, -1.500068187713623, -0.2711978554725647, -0.524157702922821, -0.44745564460754395, -1.4028700590133667, 0.14635765552520752, 1.4271788597106934, -0.7286600470542908, -0.19024628400802612, 0.5366917252540588, 0.40379494428634644, 0.49351194500923157, 0.6511494517326355, -0.6391963362693787, -0.26181846857070923, -0.29867279529571533, -0.3466947674751282, 0.24498946964740753, 1.2580411434173584, -0.300214946269989, -0.9221876859664917, 0.6100594401359558, -0.1442488729953766, -0.14069794118404388, 1.9181687831878662, 0.053591400384902954, -0.8053982853889465, 0.3369816243648529, -0.7372157573699951, 1.8937907218933105, 1.5846552848815918, 1.4605985879898071, -0.20266254246234894, -0.9186731576919556, 0.5160921216011047, -0.2240045964717865, -0.2594068646430969, 0.9183281660079956, 0.6087489128112793, -0.08057267963886261, -1.442692518234253, 0.5821443796157837, 1.1633211374282837, -0.9101637601852417, -0.5797329545021057, 0.012515636160969734, -0.7331194877624512, 1.1129173040390015, 0.762717604637146, 0.5005185604095459, 0.32152631878852844, 1.68246591091156, 0.715470016002655, -0.6163548827171326, 0.528499960899353, 0.6211643815040588, -0.09870070964097977, -1.9830082654953003, -1.0252444744110107, 0.3203621506690979, -0.3985029458999634, -1.5677368640899658, 1.3424471616744995, -1.1425830125808716, -0.904527485370636, 0.4849504828453064, 0.1318345069885254, 1.4317950010299683, 0.3190278708934784, 1.649409294128418, 2.0562868118286133, 0.9128155708312988, 0.36573275923728943, 1.4105312824249268, -0.13422030210494995, -0.42488282918930054, 1.8518025875091553, -0.44798120856285095, 0.373475581407547, 1.2480931282043457, -0.4644084870815277, -1.0218424797058105, -0.7480093240737915, -1.0625501871109009, -0.5239427089691162, 1.0546369552612305, 0.1143709197640419, -1.1112582683563232, 0.22640854120254517, 1.5255457162857056, 0.1516963392496109, -0.3301244080066681, 0.5800135731697083, 0.5505527853965759, -0.6893526315689087, -0.05046413838863373, -0.9324772357940674, 0.47679364681243896, -0.27662423253059387, -0.4434574842453003, 0.38977348804473877, 0.4559711217880249, 1.2292563915252686, -0.1196189597249031, 0.20753416419029236, 1.2917588949203491, -1.4482741355895996, 1.3178234100341797, -0.7092981338500977, 0.2082483470439911, -2.329137086868286, 1.4382892847061157, -0.7802996039390564, 1.9503467082977295, -2.6438891887664795, 0.37102773785591125, -0.7716959714889526, -0.40815651416778564, 0.37652966380119324, -0.4419533610343933, -0.0054413797333836555, -0.21360214054584503, -1.0282419919967651, -0.05697716027498245, -0.6995199918746948, 0.5734623670578003, 1.1522608995437622, 1.1923065185546875, -1.0416935682296753, -0.32400137186050415, -1.6701276302337646, -0.24899394810199738, -0.5655633211135864, 0.3917495906352997, -2.0785655975341797, -0.2950168550014496, -2.075645685195923, -2.2895827293395996, -1.3860934972763062, -0.9365586638450623, 1.1435154676437378, 0.1620328426361084, -0.9005448818206787, 1.1193534135818481, -0.28555765748023987, -1.8232561349868774, 1.166236400604248, -2.132636308670044 ]
https://github.com/huggingface/datasets/issues/3937
Missing languages in lvwerra/github-code dataset
Can confirm that the two languages are indeed missing from the dataset. Here are the file counts per language: ```Python {'Assembly': 82847, 'Batchfile': 236755, 'C': 14127969, 'C#': 6793439, 'C++': 7368473, 'CMake': 175076, 'CSS': 1733625, 'Dockerfile': 331966, 'FORTRAN': 141963, 'GO': 2259363, 'Haskell': 340521, 'HTML': 11165464, 'Java': 19515696, 'JavaScript': 11829024, 'Julia': 58177, 'Lua': 576279, 'Makefile': 679338, 'Markdown': 8454049, 'PHP': 11181930, 'Perl': 497490, 'PowerShell': 136827, 'Python': 7203553, 'Ruby': 4479767, 'Rust': 321765, 'SQL': 655657, 'Scala': 0, 'Shell': 1382786, 'TypeScript': 0, 'TeX': 250764, 'Visual Basic': 155371} ```
Hi, I'm working with the github-code dataset. First of all, thank you for creating this amazing dataset! I've noticed that two languages are missing from the dataset: TypeScript and Scala. Looks like they're also omitted from the query you used to get the original code. Are there any plans to add them in the future? Thanks!
886
82
Missing languages in lvwerra/github-code dataset Hi, I'm working with the github-code dataset. First of all, thank you for creating this amazing dataset! I've noticed that two languages are missing from the dataset: TypeScript and Scala. Looks like they're also omitted from the query you used to get the original code. Are there any plans to add them in the future? Thanks! Can confirm that the two languages are indeed missing from the dataset. Here are the file counts per language: ```Python {'Assembly': 82847, 'Batchfile': 236755, 'C': 14127969, 'C#': 6793439, 'C++': 7368473, 'CMake': 175076, 'CSS': 1733625, 'Dockerfile': 331966, 'FORTRAN': 141963, 'GO': 2259363, 'Haskell': 340521, 'HTML': 11165464, 'Java': 19515696, 'JavaScript': 11829024, 'Julia': 58177, 'Lua': 576279, 'Makefile': 679338, 'Markdown': 8454049, 'PHP': 11181930, 'Perl': 497490, 'PowerShell': 136827, 'Python': 7203553, 'Ruby': 4479767, 'Rust': 321765, 'SQL': 655657, 'Scala': 0, 'Shell': 1382786, 'TypeScript': 0, 'TeX': 250764, 'Visual Basic': 155371} ```
[ -1.1947910785675049, -1.0608611106872559, -0.9202685952186584, 1.6355687379837036, -0.27201810479164124, -1.0083602666854858, -0.07120086252689362, -1.0303478240966797, 1.5789155960083008, -0.6078921556472778, 0.03965446725487709, -1.7588356733322144, -0.07067832350730896, -0.7620158195495605, -0.6826571226119995, -0.7662228941917419, -0.3229731619358063, -0.8690210580825806, 1.0824291706085205, 2.441626787185669, 0.9875414967536926, -1.6771730184555054, 2.676687240600586, 0.7260767817497253, -0.04119990020990372, -1.126969337463379, 0.5770043730735779, -0.21067529916763306, -1.1084805727005005, -0.44013920426368713, -1.05238676071167, 0.027626320719718933, -0.6378963589668274, -0.4231465756893158, -0.03727853298187256, 0.49954602122306824, -0.22741496562957764, -0.4550328552722931, -0.4747004508972168, -0.6633343696594238, 0.409001886844635, -0.4079802632331848, 0.9181700944900513, -0.16403236985206604, 1.7171190977096558, -0.321863055229187, 0.2337481677532196, 0.7567083835601807, 1.4010037183761597, 0.178057461977005, 0.06056537479162216, 0.37607118487358093, 0.30090194940567017, -0.07861504703760147, 0.4177590608596802, 1.0360913276672363, 0.6619399785995483, 0.2716507315635681, 0.8275604248046875, -2.4382731914520264, 1.2552424669265747, -1.1572788953781128, 0.3350589871406555, 1.4612812995910645, -0.9019197821617126, 0.5558409094810486, -1.8940547704696655, 0.273672491312027, 0.5952379107475281, -2.0191657543182373, 0.5596954226493835, -1.1309281587600708, -0.39463621377944946, 1.0454624891281128, 0.398748517036438, -1.282045841217041, 0.17782559990882874, -0.28153595328330994, 1.1003172397613525, 0.4139922261238098, 1.01963210105896, -1.817823052406311, 0.12620267271995544, -0.2676829695701599, 0.1388261914253235, -1.2430481910705566, -1.4645565748214722, 0.458931028842926, 0.517074465751648, 0.7315919995307922, -0.11271284520626068, 0.9440738558769226, -1.1238856315612793, 0.6092353463172913, -1.0434609651565552, -1.5881788730621338, -1.3501482009887695, -2.261977434158325, -2.2657294273376465, 0.6635428071022034, -0.5229926705360413, -0.44149303436279297, 1.9975457191467285, -0.8625212907791138, -1.7337126731872559, 1.391863465309143, 0.6048538088798523, 0.065397709608078, 2.4326345920562744, 0.19685286283493042, -0.7464259266853333, 0.5397406220436096, -0.9766497611999512, 0.8823711276054382, -0.4187026917934418, 1.5342700481414795, 0.5422863364219666, -0.7798911929130554, 1.669925570487976, -0.4725590944290161, 0.5759177207946777, -0.608525812625885, -0.47392386198043823, -0.8733382225036621, 0.4584290385246277, 1.825640320777893, -0.20575347542762756, 1.3234626054763794, -0.4175407290458679, -1.5121787786483765, -1.4790294170379639, 1.1088898181915283, 0.40242838859558105, -1.0301305055618286, 0.2295244038105011, -0.3490951657295227, 0.1863391101360321, -0.3167956471443176, 1.0422718524932861, 1.245713233947754, 0.5698577761650085, -0.3310255706310272, -1.1148954629898071, 0.12193014472723007, -0.28056588768959045, -0.7004356980323792, -1.8459049463272095, -0.2752295732498169, 0.0773749127984047, 0.7582978010177612, -1.3666647672653198, 1.4805371761322021, 0.825951337814331, 1.937586784362793, 0.8754165768623352, -0.5590487122535706, 1.5503474473953247, 0.17669466137886047, 1.8551323413848877, -0.7236640453338623, 0.6467021703720093, -0.41094067692756653, -1.2442741394042969, 0.9780668616294861, -0.2782716751098633, -1.9622007608413696, -0.8415453433990479, -0.9377613067626953, -0.42554736137390137, -0.7279607057571411, 0.8807554244995117, -0.4406804144382477, -1.5371742248535156, 0.4245763421058655, -0.6940904855728149, 0.34845414757728577, -1.1680442094802856, 0.29658806324005127, 0.7157156467437744, -0.514708936214447, 0.014631226658821106, -0.26230111718177795, -1.328060507774353, -0.4910529553890228, 0.4612126052379608, 1.8702679872512817, -0.7406278848648071, 0.7823196053504944, 1.0605769157409668, -0.5763230323791504, -0.017287766560912132, 0.205547034740448, -0.1315264105796814, 0.8299809694290161, -1.032766580581665, -0.9046483635902405, 1.2071624994277954, -0.1505991816520691, -0.647682249546051, 1.359920859336853, 0.7909716367721558, -1.0388271808624268, -0.38175517320632935, -0.22120395302772522, -0.7601197957992554, -0.03931201249361038, -1.640848994255066, -0.09324898570775986, 0.43362176418304443, -1.5723708868026733, -0.4106932580471039, -0.38765785098075867, 1.2141531705856323, -0.22814488410949707, 1.3305959701538086, -0.4050024449825287, -0.06720024347305298, -0.20946469902992249, -0.47543153166770935, 0.35876670479774475, -0.2580009400844574, -0.5500381588935852, 0.07609933614730835, -0.8355427980422974, 0.4485519528388977, 1.3702166080474854, 0.41904279589653015, -0.04975750669836998, 0.46448183059692383, 1.1501269340515137, 0.5313556790351868, 0.3466753661632538, -0.9554219245910645, -1.4231852293014526, 1.9781850576400757, -1.740990400314331, 1.9524447917938232, 0.5760842561721802, 0.0978454053401947, -1.6824766397476196, -1.8379837274551392, 1.4775019884109497, 1.2144070863723755, 2.1369361877441406, 0.721464991569519, 0.40966394543647766, -1.0227161645889282, -0.6758497953414917, 0.2081676721572876, -0.8358688950538635, -0.6955918669700623, 0.16742455959320068, 2.5600545406341553, 1.7291027307510376, -0.43602699041366577, -0.23899173736572266, -0.8463467955589294, 1.4673420190811157, -0.17116212844848633, 0.38108325004577637, 2.1135425567626953, -0.10195683687925339, -1.1196281909942627, 1.2697666883468628, -2.5561606884002686, 0.1740517020225525, 2.040684461593628, 0.33945775032043457, 0.30654603242874146, -1.4085252285003662, -0.7785115242004395, -0.025747425854206085, -0.430563747882843, -1.2621806859970093, 0.5838573575019836, -0.3502520024776459, -0.7569746375083923, -1.5840213298797607, 0.3005066215991974, -1.1748906373977661, -1.44892156124115, 0.2571792006492615, 1.9635206460952759, 2.219877243041992, -0.9336881637573242, 1.6843868494033813, -0.15919998288154602, 0.3526972532272339, 1.2866771221160889, 1.1234862804412842, 2.872420072555542, 1.7499058246612549, -1.1818574666976929, 0.5687947273254395, -0.1657511293888092, -0.4871823489665985, 1.1731812953948975, -1.1089762449264526, 1.126818060874939, -0.18142461776733398, -0.9885611534118652, -1.1342813968658447, 0.8506457805633545, 0.45700541138648987, 0.06135811656713486, -0.45328089594841003, 1.1232563257217407, -0.06442451477050781, 1.1455360651016235, 0.6812811493873596, -0.3278776705265045, 0.3677268326282501, -0.4848440885543823, -0.6092938780784607, 1.5207066535949707, 0.052065081894397736, -1.4215128421783447, -2.1478497982025146, -0.3730451464653015, -0.7165740728378296, -0.007366606965661049, -0.48620256781578064, -1.0310777425765991, 1.529363989830017, 0.19181379675865173, -1.2057597637176514, -0.26947930455207825, -0.3294864594936371, -0.3814298212528229, 2.5643081665039062, -1.4198107719421387, -0.41992315649986267, -0.8862013816833496, -0.5344719886779785, 1.6476773023605347, -0.9905197024345398, -0.11194019764661789, -1.1335177421569824, -0.6177573204040527, -1.420568823814392, -0.521928071975708, -0.05860692262649536, -0.9018343091011047, 0.9539453983306885, 0.4717145264148712, -1.122746229171753, -0.32066142559051514, -0.9021260738372803, 0.8607727289199829, -0.1651337444782257, 0.3779875338077545, 1.9029160737991333, 0.47755491733551025, -0.2519706189632416, 0.8959949016571045, 1.081636905670166, 0.6690266132354736, -0.6003116965293884, 0.19024041295051575, -0.5154973268508911, 0.41790351271629333, -1.3250057697296143, 0.23492339253425598, -2.887202739715576, 0.6309283375740051, 0.08154595643281937, -0.10546258091926575, -0.043743014335632324, -1.3274964094161987, 1.2040629386901855, 2.4833550453186035, -1.3264799118041992, 0.5853214859962463, 0.3151910603046417, 1.3996165990829468, -1.753073811531067, 0.22471705079078674, -0.3804008960723877, 2.3223254680633545, -0.0730198323726654, 1.2147706747055054, -0.5110731720924377, -2.647984027862549, 0.4964819848537445, -1.381960391998291, -1.1279493570327759, 0.5390061140060425, -0.8793681263923645, 0.19038677215576172, -1.7045059204101562, -0.2707453668117523, -1.0402222871780396, -1.3656455278396606, 0.7697451114654541, 0.17795559763908386, 0.22810718417167664, -0.5740567445755005, 0.5218772292137146, -2.1934573650360107, -1.5398799180984497, -0.11808415502309799, -0.7987197637557983, 0.6050646901130676, -0.3860781192779541, 0.7583770751953125, -0.10293612629175186, 0.013491060584783554, 0.25246837735176086, 1.4117690324783325, 3.5603160858154297, 0.19473862648010254, 0.47202858328819275, -0.0691780298948288, -0.9256483316421509, 1.4285084009170532, 1.0801368951797485, -0.07347922772169113, -0.5709856748580933, -1.16836678981781, 1.4031262397766113, 2.1491830348968506, 0.8467177152633667, -0.10579328238964081, -0.5770502686500549, -0.5360031127929688, -0.01744779758155346, 0.1833094358444214, 0.5856402516365051, 0.7461636662483215, -0.03516221046447754, 0.011051306501030922, 1.3801931142807007, 1.1532812118530273, -0.3134111762046814, 0.28629451990127563, -0.8300149440765381, -0.45638665556907654, 0.5871886610984802, 0.1338590383529663, -0.07207845896482468, 0.4434289336204529, -1.094325065612793, -0.2808667719364166, -0.34904807806015015, -0.8863279223442078, -0.6381109952926636, -0.3793286085128784, -0.3693585991859436, 1.4715862274169922, 0.41714513301849365, -0.6435263752937317, -0.0721893310546875, -0.6337170004844666, 0.04123682156205177, -1.1531400680541992, 0.08297459036111832, -0.37958040833473206, -0.08758047223091125, -0.3593456745147705, 1.8358218669891357, -0.8702190518379211, -1.9489201307296753, -0.019055159762501717, 0.5047969222068787, -0.18027478456497192, 0.24993860721588135, 1.6818844079971313, 0.49989232420921326, 1.4452073574066162, 1.2533819675445557, 0.9945064783096313, -0.6865082383155823, -1.2663816213607788, 0.5755318999290466, 1.0886858701705933, -1.3158953189849854, 0.7838564515113831, -0.01849324442446232, -0.5702804923057556, 0.6742112040519714, 1.5866444110870361, 0.4974929988384247, -2.0415611267089844, 0.8006258606910706, -1.1179189682006836, 0.9193241596221924, 0.6879492998123169, 0.7796885967254639, 0.19726282358169556, 0.7731181383132935, -1.2352242469787598, -0.9908771514892578, -0.8703372478485107, -0.7666506171226501, 1.961051106452942, -0.3460445702075958, 0.476107656955719, 0.02481444925069809, -1.2380380630493164, -0.062398068606853485, 0.5963714718818665, 0.3758585453033447, -0.3217165470123291, 0.7764957547187805, -0.7096394896507263, -1.285858392715454, -1.3240199089050293, -0.568047821521759, -0.8458802103996277, -1.0438612699508667, 0.9373900890350342, 0.8359028100967407, 0.2369881272315979, 1.7734405994415283, 0.6709097623825073, 0.00525573268532753, -2.4517688751220703, 0.9353100657463074, 0.35188210010528564, -0.1661498248577118, 0.8179383873939514, 0.3451082706451416, 1.2149356603622437, 0.046679358929395676, 0.6024399399757385, -2.2268404960632324, 2.1920888423919678, -0.20932570099830627, 0.7750311493873596, -0.16786888241767883, -0.15060564875602722, 1.0433824062347412, 0.3948664367198944, 0.5531677603721619, -1.046409249305725, 0.5449233651161194, -0.5387874245643616, 1.2442876100540161, 1.044504165649414, -0.7141611576080322, -0.06539677083492279, 1.2172871828079224, 0.356401264667511, -0.7284046411514282, -0.9356881976127625, -0.7963050007820129, 0.9259779453277588, 1.7185397148132324, -0.30573809146881104, 0.07713203877210617, 0.8490329384803772, 0.6035932898521423, -1.299477219581604, -0.07022517174482346, -0.652866542339325, -0.6840587854385376, 1.7558635473251343, 2.00927734375, -0.34134483337402344, -0.09072207659482956, -0.6869615912437439, -1.355175256729126, 0.6568264365196228, -0.02126670628786087, 0.1487416923046112, 0.621832549571991, -0.5977939367294312, 0.8647842407226562, 0.6113116145133972, 0.9264488816261292, -0.0902179554104805, 0.3381923735141754, 0.42893117666244507, -0.45819294452667236, -1.0043418407440186, -0.2618334889411926, -1.2450839281082153, -2.457366466522217, 0.4311363101005554, -0.06243094429373741, -1.3296430110931396, 0.025848515331745148, -0.8968474864959717, 1.2228784561157227, -0.535841166973114, -1.2296802997589111, -1.2108100652694702, 0.27472248673439026, -0.03759603947401047, 0.8423559069633484, -1.748138666152954, -0.06886552274227142, 1.359499216079712, 0.9969168901443481, -0.8055107593536377, 1.0917567014694214, 0.29563993215560913, 1.1394920349121094, 0.6681522727012634, -0.28526023030281067, 0.5377122759819031, 0.006001243367791176, -1.2694544792175293, 0.5889007449150085, 1.184988021850586, 0.07578286528587341, 1.4258975982666016, -0.39078477025032043, -0.20649325847625732, 0.424263596534729, -0.6104564666748047, -0.36405113339424133, -0.38434088230133057, 0.5450966358184814, 0.10601035505533218, -0.7877941131591797, 0.18126511573791504, 0.10805460065603256, -0.18178138136863708, 0.14533093571662903, -1.5532772541046143, -0.36298075318336487, -0.39206966757774353, -0.3638398349285126, -1.2546426057815552, -0.14368054270744324, 1.3471451997756958, -0.4667927324771881, -0.3049170970916748, 0.6344193816184998, 0.42918574810028076, 0.4061717987060547, 0.6494961380958557, -0.6000354886054993, -0.5339125990867615, -0.19303542375564575, -0.3307333290576935, 0.2508038282394409, 1.3453501462936401, -0.13240347802639008, -1.0976229906082153, 0.7308348417282104, -0.3092849552631378, -0.014286262914538383, 1.6952810287475586, -0.056776419281959534, -0.9610952138900757, 0.36743736267089844, -0.6953967809677124, 1.9460047483444214, 1.6482315063476562, 1.2684941291809082, -0.4142295718193054, -0.8363037109375, 0.8022280335426331, -0.3304240107536316, -0.355389803647995, 0.8424771428108215, 0.4476682245731354, -0.15790393948554993, -1.4035053253173828, 0.6303421854972839, 1.2123764753341675, -0.9184173941612244, -0.8022417426109314, 0.23008078336715698, -0.7142167091369629, 1.1333495378494263, 0.6955650448799133, 0.4591221511363983, 0.22589623928070068, 1.7675057649612427, 0.7707312703132629, -0.6187989711761475, 0.6260929703712463, 0.5901764631271362, -0.32392460107803345, -2.058697462081909, -1.233094334602356, 0.09449481219053268, -0.416195273399353, -1.6943360567092896, 1.281746506690979, -0.9894033074378967, -0.8763033747673035, 0.5856747627258301, -0.0073774633929133415, 1.2083650827407837, 0.4359518885612488, 1.3633604049682617, 2.0386834144592285, 0.6210822463035583, 0.507331907749176, 1.2609972953796387, -0.2211349606513977, -0.5555985569953918, 1.925039291381836, -0.3976767361164093, 0.5377726554870605, 1.2471004724502563, -0.32795488834381104, -1.0775538682937622, -0.7551299333572388, -1.1824134588241577, -0.6421178579330444, 1.093735694885254, 0.11764628440141678, -1.2660555839538574, 0.2795140743255615, 1.648516058921814, 0.060774706304073334, -0.5189517140388489, 0.7566790580749512, 0.48479339480400085, -1.0006822347640991, -0.039963655173778534, -0.8730340003967285, 0.42766767740249634, -0.2702906131744385, -0.12962427735328674, 0.44605553150177, 0.4661078155040741, 1.3051716089248657, 0.04109654575586319, 0.19786480069160461, 0.9730893969535828, -1.386300802230835, 1.5835195779800415, -0.6916812062263489, 0.39311641454696655, -2.2654240131378174, 1.0993196964263916, -0.646246612071991, 2.058887004852295, -2.6740360260009766, 0.35383641719818115, -0.6673724055290222, -0.5335299372673035, 0.22820556163787842, -0.43045294284820557, 0.09642694145441055, -0.07822553813457489, -1.0095785856246948, -0.0048570288345217705, -0.5992029905319214, 0.44244635105133057, 1.1864255666732788, 1.3517429828643799, -1.0316537618637085, -0.17913681268692017, -1.6835994720458984, -0.26439034938812256, -0.6599063873291016, 0.3151625394821167, -2.100569725036621, -0.2792758047580719, -1.9078325033187866, -2.1146209239959717, -1.3210102319717407, -0.9603862166404724, 1.247667670249939, 0.03677185997366905, -0.9380787014961243, 1.2742395401000977, -0.20866790413856506, -1.688232421875, 1.079038381576538, -1.9066005945205688 ]
https://github.com/huggingface/datasets/issues/3937
Missing languages in lvwerra/github-code dataset
@Eytan-S check out v1.1 of the `github-code` dataset where issue should be fixed: | | Language |File Count| Size (GB)| |---:|:-------------|---------:|-------:| | 0 | Java | 19548190 | 107.7 | | 1 | C | 14143113 | 183.83 | | 2 | JavaScript | 11839883 | 87.82 | | 3 | HTML | 11178557 | 118.12 | | 4 | PHP | 11177610 | 61.41 | | 5 | Markdown | 8464626 | 23.09 | | 6 | C++ | 7380520 | 87.73 | | 7 | Python | 7226626 | 52.03 | | 8 | C# | 6811652 | 36.83 | | 9 | Ruby | 4473331 | 10.95 | | 10 | GO | 2265436 | 19.28 | | 11 | TypeScript | 1940406 | 24.59 | | 12 | CSS | 1734406 | 22.67 | | 13 | Shell | 1385648 | 3.01 | | 14 | Scala | 835755 | 3.87 | | 15 | Makefile | 679430 | 2.92 | | 16 | SQL | 656671 | 5.67 | | 17 | Lua | 578554 | 2.81 | | 18 | Perl | 497949 | 4.7 | | 19 | Dockerfile | 366505 | 0.71 | | 20 | Haskell | 340623 | 1.85 | | 21 | Rust | 322431 | 2.68 | | 22 | TeX | 251015 | 2.15 | | 23 | Batchfile | 236945 | 0.7 | | 24 | CMake | 175282 | 0.54 | | 25 | Visual Basic | 155652 | 1.91 | | 26 | FORTRAN | 142038 | 1.62 | | 27 | PowerShell | 136846 | 0.69 | | 28 | Assembly | 82905 | 0.78 | | 29 | Julia | 58317 | 0.29 |
Hi, I'm working with the github-code dataset. First of all, thank you for creating this amazing dataset! I've noticed that two languages are missing from the dataset: TypeScript and Scala. Looks like they're also omitted from the query you used to get the original code. Are there any plans to add them in the future? Thanks!
886
292
Missing languages in lvwerra/github-code dataset Hi, I'm working with the github-code dataset. First of all, thank you for creating this amazing dataset! I've noticed that two languages are missing from the dataset: TypeScript and Scala. Looks like they're also omitted from the query you used to get the original code. Are there any plans to add them in the future? Thanks! @Eytan-S check out v1.1 of the `github-code` dataset where issue should be fixed: | | Language |File Count| Size (GB)| |---:|:-------------|---------:|-------:| | 0 | Java | 19548190 | 107.7 | | 1 | C | 14143113 | 183.83 | | 2 | JavaScript | 11839883 | 87.82 | | 3 | HTML | 11178557 | 118.12 | | 4 | PHP | 11177610 | 61.41 | | 5 | Markdown | 8464626 | 23.09 | | 6 | C++ | 7380520 | 87.73 | | 7 | Python | 7226626 | 52.03 | | 8 | C# | 6811652 | 36.83 | | 9 | Ruby | 4473331 | 10.95 | | 10 | GO | 2265436 | 19.28 | | 11 | TypeScript | 1940406 | 24.59 | | 12 | CSS | 1734406 | 22.67 | | 13 | Shell | 1385648 | 3.01 | | 14 | Scala | 835755 | 3.87 | | 15 | Makefile | 679430 | 2.92 | | 16 | SQL | 656671 | 5.67 | | 17 | Lua | 578554 | 2.81 | | 18 | Perl | 497949 | 4.7 | | 19 | Dockerfile | 366505 | 0.71 | | 20 | Haskell | 340623 | 1.85 | | 21 | Rust | 322431 | 2.68 | | 22 | TeX | 251015 | 2.15 | | 23 | Batchfile | 236945 | 0.7 | | 24 | CMake | 175282 | 0.54 | | 25 | Visual Basic | 155652 | 1.91 | | 26 | FORTRAN | 142038 | 1.62 | | 27 | PowerShell | 136846 | 0.69 | | 28 | Assembly | 82905 | 0.78 | | 29 | Julia | 58317 | 0.29 |
[ -1.330032467842102, -0.695237398147583, -0.9950037598609924, 1.1800991296768188, -0.05587990581989288, -1.2483607530593872, 0.05506552755832672, -1.2532588243484497, 1.4997429847717285, -0.7829877734184265, 0.07451576739549637, -1.8722116947174072, 0.18918688595294952, -0.5966460704803467, -0.7936664819717407, -1.032874584197998, -0.2878541648387909, -0.5495820045471191, 1.0845794677734375, 2.5873422622680664, 1.3250820636749268, -1.4164516925811768, 2.864619255065918, 0.796816885471344, -0.06700801104307175, -0.6454624533653259, 0.6396920084953308, 0.2860487699508667, -1.096961259841919, -0.2978282868862152, -0.6171764731407166, -0.4529002904891968, -0.613373875617981, -0.5850145816802979, 0.20387804508209229, 0.4431104362010956, -0.3364863991737366, -0.5384473204612732, -0.6489638090133667, -0.4468758702278137, 0.5928171873092651, -0.44319117069244385, 1.018329381942749, -0.08203110843896866, 1.8553643226623535, -0.4625086188316345, 0.4043981730937958, 0.67376309633255, 1.170049786567688, 0.31746357679367065, 0.2068272978067398, 0.39924657344818115, -0.019470548257231712, 0.09130070358514786, 0.36132729053497314, 1.08119797706604, 0.9574102759361267, 0.5572363138198853, 0.8674376606941223, -1.7168679237365723, 1.4455580711364746, -1.2270797491073608, 0.47786691784858704, 1.421379804611206, -1.300480842590332, 0.6144358515739441, -1.8121404647827148, -0.24240800738334656, 0.5060281157493591, -2.2445757389068604, -0.013276234269142151, -1.2908446788787842, -0.4674147069454193, 1.0038846731185913, 0.06140489876270294, -0.9356823563575745, 0.5150965452194214, -0.33975914120674133, 1.102919101715088, 0.34087201952934265, 1.2160205841064453, -1.6873116493225098, 0.2032616138458252, -0.3290405869483948, -0.009700736030936241, -1.4458483457565308, -1.4945911169052124, 0.5140543580055237, 0.5936965942382812, 0.6520854234695435, -0.05875454843044281, 0.7921674847602844, -0.7822582721710205, 0.9617864489555359, -1.139338493347168, -1.5289279222488403, -1.119066596031189, -2.7556076049804688, -2.4542007446289062, 0.9991915225982666, 0.004574447870254517, -0.31279224157333374, 2.088960647583008, -0.855735719203949, -1.6733014583587646, 0.9240781664848328, 0.5044606924057007, -0.15358924865722656, 2.430250644683838, 0.21258844435214996, -0.9223219156265259, 0.6430112719535828, -0.9574266076087952, 0.682394802570343, -0.6280617117881775, 1.5444765090942383, 0.376504510641098, -0.7540768384933472, 1.6146444082260132, -0.37771761417388916, 0.5470060706138611, -0.8391661047935486, -0.4832913875579834, -0.9124600887298584, 0.5208259224891663, 2.0544893741607666, -0.11433953791856766, 1.6598788499832153, -0.41339147090911865, -1.483851432800293, -1.4415457248687744, 0.6681955456733704, 0.4646209478378296, -0.9357442259788513, 0.03860901668667793, -0.19558914005756378, 0.1536489576101303, 0.0740039199590683, 1.1053221225738525, 1.3055185079574585, 0.6407243013381958, -0.3429153859615326, -0.8282331228256226, 0.3507365584373474, -0.02709801122546196, -0.7889126539230347, -1.9802687168121338, -0.16668641567230225, 0.060235850512981415, 0.7659918665885925, -1.2029762268066406, 1.618127703666687, 1.0181876420974731, 1.7867318391799927, 0.940647304058075, -0.5369229912757874, 1.1471525430679321, 0.15117883682250977, 2.1180472373962402, -0.5363172292709351, 0.7537434101104736, -0.5107383131980896, -0.8473784923553467, 0.7563740015029907, -0.02322767861187458, -1.7814083099365234, -0.5516400933265686, -1.0764282941818237, -0.3149324059486389, -0.6470470428466797, 1.1616915464401245, -0.04392695054411888, -1.327042579650879, 0.28887566924095154, -0.6831544637680054, 0.001799941062927246, -1.1671078205108643, 0.07699764519929886, 0.6051355600357056, -0.2729925811290741, 0.057603657245635986, -0.3778395354747772, -1.4223124980926514, -0.4651983678340912, -0.007204377558082342, 1.900342345237732, -0.8429617285728455, 0.9589295387268066, 1.3301583528518677, -0.5943921208381653, 0.32776516675949097, 0.32048869132995605, -0.24755002558231354, 0.8434719443321228, -1.1340358257293701, -0.2181481420993805, 1.2474340200424194, -0.14298419654369354, 0.013442524708807468, 1.600701928138733, 0.6758930087089539, -0.928263783454895, -0.004306856542825699, -0.07907738536596298, -1.2901941537857056, -0.06804808974266052, -1.7247791290283203, -0.12164720147848129, 0.3190329074859619, -1.7121407985687256, -0.6246793866157532, -0.5216766595840454, 1.2061203718185425, 0.13149061799049377, 1.347947359085083, -0.14884549379348755, -0.27457112073898315, -0.4273521900177002, -0.38721218705177307, 0.1512904018163681, -0.3845668435096741, -0.5763908624649048, 0.2747782766819, -0.7058469653129578, -0.028971713036298752, 1.683454990386963, 0.11541248112916946, 0.2312261164188385, 0.6026066541671753, 1.0123831033706665, 0.28336307406425476, 0.09436112642288208, -0.37288954854011536, -1.560593605041504, 1.7840811014175415, -1.7620805501937866, 2.1200525760650635, 0.8299194574356079, 0.4120689034461975, -1.7360601425170898, -1.8954657316207886, 1.86395263671875, 0.8559368848800659, 2.496197462081909, 0.5438125133514404, 0.3045521676540375, -0.7598247528076172, -0.630942165851593, 0.17208392918109894, -0.9648799300193787, -0.6561056971549988, 0.09679695963859558, 2.1471664905548096, 1.6610387563705444, -0.9114159941673279, 0.015402046032249928, -0.6684373021125793, 1.3037467002868652, -0.0001755179837346077, 0.14923489093780518, 1.6785788536071777, -0.2141934037208557, -0.9978998303413391, 1.1537710428237915, -2.639310359954834, -0.19690494239330292, 1.887181043624878, 0.4273459017276764, -0.014826768077909946, -1.3290166854858398, -0.6870259046554565, -0.4244820773601532, -0.6357413530349731, -1.26292884349823, 0.25297895073890686, -0.20246340334415436, -0.7270246744155884, -1.6037042140960693, 0.048154640942811966, -1.087127923965454, -1.3313813209533691, 0.5901520252227783, 1.9488886594772339, 2.0752885341644287, -0.6279661059379578, 1.6414226293563843, -0.2528989613056183, 0.3570866882801056, 1.2912192344665527, 1.0906436443328857, 2.9344677925109863, 1.6272624731063843, -0.9433957934379578, 0.6170905828475952, -0.38709816336631775, -0.5686890482902527, 0.8236358761787415, -1.1067888736724854, 1.2422657012939453, 0.1949983835220337, -0.9897102117538452, -1.1899758577346802, 0.7925036549568176, 0.5529173016548157, 0.07005099952220917, -0.3443656861782074, 1.4365348815917969, -0.1903602033853531, 1.3100168704986572, 0.3964053988456726, -0.23296141624450684, 0.40061578154563904, -0.551100492477417, -0.6728612184524536, 1.4331889152526855, 0.17753936350345612, -1.382043480873108, -2.494668483734131, -0.18479801714420319, -0.8781009912490845, -0.19400091469287872, -0.8556938767433167, -1.189246416091919, 1.3332253694534302, 0.3929617702960968, -0.8052762150764465, -0.33757880330085754, -0.5653513073921204, -0.8483710289001465, 2.464028835296631, -1.8643479347229004, -0.3285999000072479, -0.9605576992034912, -0.5692918300628662, 1.6804025173187256, -1.207058310508728, -0.13388969004154205, -1.124031901359558, -0.5000801682472229, -1.323936104774475, -0.357144832611084, 0.1452615112066269, -0.8965216875076294, 0.808483362197876, 0.04770420491695404, -0.9599413871765137, -0.24944745004177094, -0.769508421421051, 0.6558123826980591, 0.3557223379611969, 0.29382723569869995, 1.7046728134155273, 0.26484209299087524, -0.3854231536388397, 0.7750691771507263, 0.9655280709266663, 0.5896432399749756, -0.6818323731422424, 0.08448632061481476, -0.5791884660720825, 0.6068881750106812, -1.2909010648727417, 0.3156720697879791, -2.9286882877349854, 0.6931736469268799, -0.3234490752220154, -0.15039102733135223, 0.10937012732028961, -1.4316846132278442, 1.1626161336898804, 2.6560702323913574, -1.0000938177108765, 0.7096086144447327, 0.06872063875198364, 1.3451128005981445, -1.168714165687561, 0.48911941051483154, -0.4695189297199249, 1.8954274654388428, -0.02546634152531624, 0.9136033058166504, -0.42970535159111023, -2.146484136581421, 0.4433303773403168, -1.0046041011810303, -1.387966275215149, 0.8225520849227905, -0.918781042098999, 0.12207572907209396, -1.2797566652297974, -0.29390954971313477, -0.9950069785118103, -1.1800910234451294, 0.6856774687767029, 0.13766244053840637, 0.4369005262851715, -0.706708550453186, 0.39077773690223694, -2.4642133712768555, -1.2844675779342651, 0.06457093358039856, -0.7899802327156067, 0.6119720339775085, -0.4430200755596161, 0.789862334728241, 0.0016239350661635399, 0.03117218241095543, 0.3418995440006256, 1.3979663848876953, 3.018813133239746, -0.21746735274791718, 0.5660593509674072, -0.18490050733089447, -0.9756066203117371, 1.4002587795257568, 0.7392928600311279, -0.14074665307998657, -0.6888090968132019, -1.061790108680725, 0.9187543392181396, 2.002622365951538, 0.9621182680130005, -0.44687262177467346, -0.5773929953575134, -0.45277178287506104, 0.3614625632762909, 0.34720346331596375, 0.4786731004714966, 1.1284369230270386, -0.3860355019569397, 0.24547208845615387, 1.3530956506729126, 1.318042278289795, -0.6173701286315918, 0.34030881524086, -0.8075790405273438, -0.48075297474861145, 0.4081174433231354, 0.5958260893821716, -0.20038163661956787, 0.1578282117843628, -1.006272315979004, 0.06130266189575195, -0.4021293818950653, -0.8140939474105835, -0.7205642461776733, -0.616353452205658, -0.39523711800575256, 1.6891847848892212, 0.1239311620593071, -0.6173689365386963, 0.32221540808677673, -0.7613503336906433, -0.055693551898002625, -1.1694998741149902, 0.2098904550075531, -0.22225713729858398, -0.1870412528514862, 0.05516529083251953, 1.8778040409088135, -1.0357924699783325, -2.0441513061523438, 0.3387129008769989, 0.1366599202156067, -0.427183598279953, -0.04571061208844185, 1.4614230394363403, 0.7618833184242249, 1.5874810218811035, 1.3755394220352173, 0.7270161509513855, -0.6918724775314331, -1.4883590936660767, 0.628014862537384, 0.9037624001502991, -1.136901617050171, 0.684005856513977, -0.03588371351361275, -0.48921993374824524, 0.5991479754447937, 1.3076914548873901, 0.38386937975883484, -2.135209321975708, 1.0651320219039917, -0.9915223121643066, 0.72911137342453, 0.6626463532447815, 0.5771672129631042, 0.39894071221351624, 0.7359746694564819, -1.002712368965149, -1.1602106094360352, -0.7397563457489014, -0.7240471839904785, 1.9141844511032104, 0.31684818863868713, 0.6601789593696594, -0.2582301199436188, -1.3431408405303955, 0.005442445166409016, 0.6206340193748474, 0.5186706781387329, -0.20049944519996643, 0.5920211672782898, -0.7687827348709106, -1.298550009727478, -1.5903925895690918, -0.6693196892738342, -1.1738946437835693, -0.8292695879936218, 0.8339985013008118, 0.4693218171596527, 0.03389320150017738, 1.8544104099273682, 0.6131759881973267, 0.05018135532736778, -2.770456075668335, 0.8757695555686951, 0.29224491119384766, -0.11065591871738434, 0.8980807662010193, 0.5328561067581177, 1.173993706703186, 0.24756090342998505, 0.3252500891685486, -2.388249158859253, 2.4389891624450684, -0.34930315613746643, 0.6905362010002136, -0.24718748033046722, -0.26594722270965576, 0.9677167534828186, 0.6009959578514099, 0.5418077707290649, -0.7618393301963806, 0.7171987891197205, -1.0868459939956665, 1.1770128011703491, 0.9457486867904663, -0.6168661117553711, -0.11957013607025146, 1.3314526081085205, 0.6003847718238831, -0.4416774809360504, -1.0437827110290527, -1.2173112630844116, 0.6122031807899475, 1.8060611486434937, -0.10626004636287689, 0.10437288135290146, 0.4717038571834564, 0.544066846370697, -1.184608817100525, 0.02945445105433464, -0.951652467250824, -0.8337849378585815, 1.7251909971237183, 1.885859727859497, 0.1381775438785553, 0.020291078835725784, -0.873893678188324, -1.1116920709609985, 0.6896539926528931, 0.07133336365222931, 0.2562210261821747, 0.628332257270813, -0.7434859871864319, 1.3228747844696045, 0.7007532119750977, 0.5912842154502869, 0.210010826587677, 0.2883045971393585, 0.41347795724868774, -0.19878771901130676, -0.9028440117835999, -0.15688835084438324, -1.2648591995239258, -2.484766960144043, 0.5645185112953186, 0.04258478060364723, -1.6889739036560059, 0.11069119721651077, -0.8737738728523254, 1.029761791229248, -0.24684934318065643, -1.227696418762207, -1.4773448705673218, 0.1307992935180664, -0.1502353399991989, 1.2621616125106812, -1.7158011198043823, -0.06306895613670349, 1.1338802576065063, 0.9428301453590393, -0.6351033449172974, 1.0795323848724365, 0.3242739140987396, 0.8865062594413757, 0.7621488571166992, -0.41300442814826965, 0.32511377334594727, -0.11807881295681, -1.3497233390808105, 0.6763883233070374, 1.2409512996673584, -0.08844798058271408, 1.2473081350326538, -0.7089389562606812, -0.023090500384569168, 0.3152010142803192, -0.2770642042160034, -0.2619384229183197, -0.5764714479446411, 0.6970248222351074, 0.09221585094928741, -0.8707123398780823, -0.04840940609574318, -0.18747380375862122, -0.13960000872612, 0.0002753389999270439, -1.7347016334533691, -0.17849154770374298, -0.6060889959335327, -0.7061545848846436, -1.0729093551635742, 0.29774144291877747, 1.336854100227356, -0.735906183719635, 0.020635493099689484, 0.39986279606819153, 0.8307291865348816, 0.46219363808631897, 0.7594606280326843, -0.7276866436004639, -0.3569578528404236, -0.2904702126979828, -0.29231587052345276, -0.03834547847509384, 1.1782985925674438, -0.4485454857349396, -1.1320539712905884, 0.625288724899292, -0.4008235037326813, -0.10343026369810104, 1.746765375137329, -0.06969545036554337, -0.9230349063873291, 0.45399510860443115, -0.5406475067138672, 1.9316048622131348, 1.9528074264526367, 1.417801022529602, -0.13242286443710327, -1.0417263507843018, 0.4335812032222748, -0.5581955313682556, -0.07879125326871872, 1.0273844003677368, 0.567356288433075, -0.21547536551952362, -1.2594550848007202, 0.17839695513248444, 1.3730117082595825, -0.6915804147720337, -0.5723623633384705, 0.04117002338171005, -0.9225432872772217, 1.0107495784759521, 1.1150376796722412, 0.5550172924995422, 0.4237009882926941, 1.599353313446045, 0.5006678104400635, -0.8091748356819153, 0.8804411292076111, 0.18148545920848846, -0.33093103766441345, -2.0425519943237305, -1.130651593208313, 0.2130642980337143, -0.461110919713974, -1.537322998046875, 1.5377329587936401, -0.7935823798179626, -0.7649980187416077, 0.3530290424823761, -0.269564151763916, 1.5202968120574951, 0.5056543946266174, 1.5008747577667236, 1.946790099143982, 0.9835051894187927, 0.3089679181575775, 1.2059251070022583, -0.21926534175872803, -0.5525444746017456, 1.666081428527832, -0.5289260149002075, 0.415351003408432, 1.167102336883545, -0.5463916659355164, -0.519656777381897, -0.6135431528091431, -1.218835711479187, -0.4906206727027893, 0.9612410068511963, 0.26485675573349, -1.0741479396820068, 0.5192815661430359, 1.8943233489990234, 0.21725545823574066, -0.5793125033378601, 0.6148427724838257, 0.47905081510543823, -0.7242060303688049, -0.2172389030456543, -1.0313562154769897, 0.5020721554756165, -0.36880287528038025, -0.34383776783943176, 0.36242660880088806, 0.5267969369888306, 1.2609623670578003, -0.08522927761077881, 0.3696393370628357, 1.381129264831543, -1.5957696437835693, 1.618358850479126, -0.488023042678833, 0.31686240434646606, -1.9324439764022827, 1.3270697593688965, -0.500176191329956, 1.9148650169372559, -2.821683645248413, 0.35298600792884827, -0.657067060470581, -0.5401301383972168, 0.2809848487377167, -0.337665855884552, 0.257995069026947, -0.05809357389807701, -1.2688891887664795, -0.2647401988506317, -0.8606299757957458, 0.426198273897171, 1.1418030261993408, 1.1794800758361816, -0.584274172782898, -0.21819931268692017, -1.282350778579712, -0.08589601516723633, -0.23845084011554718, 0.4920618534088135, -2.2545793056488037, -0.35142582654953003, -2.0315682888031006, -2.426571846008301, -1.5716181993484497, -1.096917748451233, 1.2646267414093018, 0.0917738601565361, -1.2335010766983032, 0.9378531575202942, -0.5740082859992981, -1.7342748641967773, 1.0249862670898438, -2.1190946102142334 ]
https://github.com/huggingface/datasets/issues/3929
Load a local dataset twice
Hi @caush, thanks for reporting: In order to load local CSV files, you can use our "csv" loading script: https://huggingface.co/docs/datasets/loading#csv ```python dataset = load_dataset("csv", data_files=["data/file1.csv", "data/file2.csv"]) ``` OR: ```python dataset = load_dataset("csv", data_dir="data") ``` Alternatively, you may also use: ```python dataset = load_dataset("data")
## Describe the bug Load a local "dataset" composed of two csv files twice. ## Steps to reproduce the bug Put the two joined files in a repository named "Data". Then in python: import datasets as ds ds.load_dataset('Data', data_files = {'file1.csv', 'file2.csv'}) ## Expected results Should give something like (because files have only one data row): Title, clicks Truc et astuce, 123 Machin, 12 ## Actual results Gives Title, clicks Truc et astuce, 123 Machin, 12 Truc et astuce, 123 Machin, 12 ## Environment info [file1.csv](https://github.com/huggingface/datasets/files/8256322/file1.csv) [file2.csv](https://github.com/huggingface/datasets/files/8256323/file2.csv) - `datasets` version: 2.0.0 - Platform: Linux-5.4.0-65-generic-x86_64-with-glibc2.10 - Python version: 3.8.12 - PyArrow version: 7.0.0 - Pandas version: 1.4.1
887
43
Load a local dataset twice ## Describe the bug Load a local "dataset" composed of two csv files twice. ## Steps to reproduce the bug Put the two joined files in a repository named "Data". Then in python: import datasets as ds ds.load_dataset('Data', data_files = {'file1.csv', 'file2.csv'}) ## Expected results Should give something like (because files have only one data row): Title, clicks Truc et astuce, 123 Machin, 12 ## Actual results Gives Title, clicks Truc et astuce, 123 Machin, 12 Truc et astuce, 123 Machin, 12 ## Environment info [file1.csv](https://github.com/huggingface/datasets/files/8256322/file1.csv) [file2.csv](https://github.com/huggingface/datasets/files/8256323/file2.csv) - `datasets` version: 2.0.0 - Platform: Linux-5.4.0-65-generic-x86_64-with-glibc2.10 - Python version: 3.8.12 - PyArrow version: 7.0.0 - Pandas version: 1.4.1 Hi @caush, thanks for reporting: In order to load local CSV files, you can use our "csv" loading script: https://huggingface.co/docs/datasets/loading#csv ```python dataset = load_dataset("csv", data_files=["data/file1.csv", "data/file2.csv"]) ``` OR: ```python dataset = load_dataset("csv", data_dir="data") ``` Alternatively, you may also use: ```python dataset = load_dataset("data")
[ -1.0745576620101929, -0.9107452034950256, -0.7500185370445251, 1.4479392766952515, -0.16858342289924622, -1.189994215965271, 0.14357799291610718, -0.9862384796142578, 1.6548926830291748, -0.7168537974357605, 0.3166731297969818, -1.7473180294036865, -0.07067650556564331, -0.5822993516921997, -0.6863130331039429, -0.9267135858535767, -0.382895827293396, -0.7441329956054688, 1.0597684383392334, 2.46303653717041, 1.1648582220077515, -1.3690016269683838, 2.6358089447021484, 0.7522715330123901, -0.13205747306346893, -0.9672005772590637, 0.6143866181373596, 0.07350023835897446, -1.2862118482589722, -0.3047620952129364, -0.9387688040733337, -0.09236016869544983, -0.5360300540924072, -0.48504093289375305, 0.06272715330123901, 0.40592220425605774, -0.28408128023147583, -0.40821632742881775, -0.6272417902946472, -0.6904046535491943, 0.507253885269165, -0.4193689227104187, 0.9685571789741516, -0.31930819153785706, 1.8376282453536987, -0.6090885996818542, 0.4484185576438904, 0.7544363141059875, 1.270467758178711, 0.24180173873901367, 0.07324545085430145, 0.37852612137794495, 0.3816412687301636, 0.04964069277048111, 0.5367569327354431, 1.1780571937561035, 0.5599352717399597, 0.4147416651248932, 0.7998791337013245, -2.2632808685302734, 1.2816474437713623, -0.9908871054649353, 0.2736828625202179, 1.3642293214797974, -0.8934470415115356, 0.3664776086807251, -1.760164737701416, -0.11026725172996521, 0.5123053789138794, -2.2393057346343994, 0.2950843572616577, -1.3743880987167358, -0.5410370230674744, 0.9503807425498962, 0.40216681361198425, -1.2782059907913208, 0.14600807428359985, -0.3746766448020935, 0.8994595408439636, 0.3965763747692108, 1.148101568222046, -1.7365026473999023, -0.02947434037923813, -0.2995741069316864, 0.09391779452562332, -1.2581676244735718, -1.5365691184997559, 0.5278606414794922, 0.6656525135040283, 0.6116200685501099, -0.19796058535575867, 0.9289029836654663, -1.1236834526062012, 0.7929280996322632, -0.97775799036026, -1.7523921728134155, -1.3861000537872314, -2.3005123138427734, -2.384351968765259, 0.8273583054542542, -0.5522529482841492, -0.4102189540863037, 1.9971249103546143, -1.0389388799667358, -1.6725776195526123, 1.1406445503234863, 0.26734933257102966, -0.08052369952201843, 2.3082494735717773, 0.27133533358573914, -0.7147229909896851, 0.43665197491645813, -0.8275177478790283, 0.7947516441345215, -0.2513345777988434, 1.311690092086792, 0.4933145046234131, -1.0747679471969604, 1.6484057903289795, -0.40729787945747375, 0.5454087853431702, -0.6220824122428894, -0.4177326261997223, -0.7328781485557556, 0.27906665205955505, 1.9022902250289917, -0.2958977520465851, 1.5740889310836792, -0.2528495192527771, -1.6491655111312866, -1.4961727857589722, 0.8524876832962036, 0.5025213956832886, -0.7265377044677734, 0.1072157472372055, -0.24814334511756897, 0.14894503355026245, -0.005669067148119211, 1.151410460472107, 1.1823606491088867, 0.7385985851287842, -0.3933436870574951, -0.8244475722312927, 0.17233574390411377, -0.07066687196493149, -0.7401015162467957, -1.7929972410202026, -0.3493707478046417, 0.20385316014289856, 0.6013790369033813, -1.2460641860961914, 1.8144201040267944, 0.8467993140220642, 1.9481537342071533, 0.9422290921211243, -0.37646400928497314, 1.4585996866226196, -0.05175173655152321, 1.949758529663086, -0.469791978597641, 0.6010444760322571, -0.4586227834224701, -1.2606866359710693, 0.8121171593666077, -0.33613598346710205, -1.9788455963134766, -0.7666084170341492, -0.8622597455978394, -0.2020919919013977, -0.6967322826385498, 0.9943508505821228, -0.3287864327430725, -1.4179188013076782, 0.1345449686050415, -0.7356335520744324, 0.10908043384552002, -1.3033409118652344, 0.17764729261398315, 0.6984248757362366, -0.7508777379989624, 0.040390536189079285, -0.20499277114868164, -1.2961223125457764, -0.4111444056034088, 0.2976200580596924, 1.8061003684997559, -0.741994321346283, 0.9832385182380676, 1.0050159692764282, -0.8400563597679138, 0.04850868880748749, 0.2860121726989746, -0.3626779019832611, 0.7956556677818298, -1.0506863594055176, -0.4456115961074829, 1.1774083375930786, -0.039262667298316956, -0.6658424735069275, 1.440030813217163, 0.7293908596038818, -1.0712836980819702, -0.27408814430236816, -0.1993294358253479, -0.7723656892776489, 0.06278500705957413, -1.5901479721069336, -0.07895957678556442, 0.384212851524353, -1.5392361879348755, -0.45404794812202454, -0.245253324508667, 1.1891921758651733, -0.12005258351564407, 1.39400315284729, -0.28884872794151306, -0.22361859679222107, -0.45940613746643066, -0.5131992101669312, 0.21094462275505066, -0.18474695086479187, -0.6405253410339355, 0.298565149307251, -0.7997757196426392, 0.30631551146507263, 1.432868242263794, 0.2696937918663025, 0.047611627727746964, 0.5584049820899963, 1.0631141662597656, 0.43008238077163696, -0.10174482315778732, -0.9324811100959778, -1.5646400451660156, 2.020439863204956, -1.4474718570709229, 1.9212274551391602, 0.7273039221763611, -0.028152819722890854, -1.9198569059371948, -1.9454072713851929, 1.3681304454803467, 1.2278019189834595, 2.4140188694000244, 0.5215510129928589, 0.48499205708503723, -0.8510401248931885, -0.6961626410484314, 0.3321816027164459, -1.0276018381118774, -0.6509948968887329, 0.20954719185829163, 2.3893795013427734, 1.7253296375274658, -0.5486900210380554, -0.19813519716262817, -1.0647010803222656, 1.3440159559249878, -0.18851500749588013, 0.2887555956840515, 2.060957431793213, -0.3332144320011139, -1.0194275379180908, 1.2958537340164185, -2.3376729488372803, 0.12603959441184998, 1.975906252861023, 0.20666679739952087, 0.1776289939880371, -1.374565839767456, -0.7340174317359924, -0.25056326389312744, -0.5286926031112671, -1.187726616859436, 0.6149643063545227, -0.2079123556613922, -0.859633207321167, -1.3874921798706055, 0.1741669476032257, -1.130934476852417, -1.763569951057434, 0.2503766715526581, 1.7777626514434814, 2.033573865890503, -0.9030414819717407, 1.4271856546401978, -0.23801636695861816, 0.20193225145339966, 1.280118465423584, 1.2014436721801758, 3.100245237350464, 1.8854126930236816, -1.2287317514419556, 0.7418129444122314, -0.12217559665441513, -0.40086960792541504, 1.2619160413742065, -1.103979468345642, 1.2064660787582397, -0.21896088123321533, -1.263985514640808, -1.1502740383148193, 0.9945234656333923, 0.46605271100997925, 0.11001259088516235, -0.4625687301158905, 1.2166780233383179, 0.07041288912296295, 1.317531704902649, 0.6346357464790344, -0.36172959208488464, 0.5994113087654114, -0.4257684350013733, -0.47262123227119446, 1.671828031539917, 0.18635421991348267, -1.3634282350540161, -2.3247647285461426, -0.2822152078151703, -0.9594151973724365, -0.02197093889117241, -0.5662961006164551, -0.9429163336753845, 1.5438312292099, 0.39560553431510925, -1.2172794342041016, -0.261495977640152, -0.3702547252178192, -0.5544337034225464, 2.714062452316284, -1.4601545333862305, -0.12003418058156967, -1.0082416534423828, -0.5859465003013611, 1.6861332654953003, -1.083749532699585, -0.20474982261657715, -1.0565115213394165, -0.4874705970287323, -1.3928767442703247, -0.5871755480766296, 0.04811576008796692, -0.9487411975860596, 0.8371867537498474, 0.08100482076406479, -1.1484547853469849, -0.278125137090683, -0.891933023929596, 0.9582539796829224, -0.08027812838554382, 0.25855299830436707, 1.8365919589996338, 0.38743144273757935, -0.3023425042629242, 0.7038037180900574, 1.165318250656128, 0.6798504590988159, -0.6932166814804077, 0.23685380816459656, -0.7155398726463318, 0.20013883709907532, -1.4278903007507324, 0.1234404519200325, -2.8141744136810303, 0.6564901471138, -0.14015740156173706, -0.10244067013263702, 0.037943284958601, -1.2667038440704346, 1.124039649963379, 2.5445175170898438, -1.2615329027175903, 0.4063977003097534, 0.35792213678359985, 1.20047926902771, -1.4378560781478882, 0.23124971985816956, -0.4331008493900299, 2.0386173725128174, 0.111720010638237, 1.151608943939209, -0.42658349871635437, -2.2031948566436768, 0.6441742777824402, -1.3265140056610107, -1.127156138420105, 0.8957740664482117, -0.9054432511329651, 0.2195984125137329, -1.4177539348602295, -0.15064549446105957, -0.8162400722503662, -1.2818374633789062, 0.6900275945663452, 0.07490256428718567, 0.3943438231945038, -0.5436688661575317, 0.36157771944999695, -2.1802170276641846, -1.3512680530548096, -0.2878049314022064, -0.9626755118370056, 0.4913718104362488, -0.23862770199775696, 0.7268827557563782, -0.21314072608947754, 0.09465105831623077, 0.3103400766849518, 1.3684498071670532, 3.496567964553833, 0.09219449758529663, 0.2820385992527008, -0.0884827971458435, -1.0250208377838135, 1.4691444635391235, 1.0543900728225708, -0.17303475737571716, -0.5727424025535583, -1.1099516153335571, 1.2839837074279785, 1.988494873046875, 1.1455466747283936, 0.057201601564884186, -0.8122018575668335, -0.7133951783180237, 0.07117306441068649, 0.21570035815238953, 0.5062254071235657, 0.8400408625602722, 0.06105056405067444, 0.014605848118662834, 1.4690778255462646, 1.1553597450256348, -0.3201909363269806, 0.2892173230648041, -0.8607974052429199, -0.4529259502887726, 0.5601151585578918, 0.2652968466281891, 0.1473628282546997, 0.43277886509895325, -1.1455602645874023, -0.39487308263778687, -0.35300880670547485, -0.9521230459213257, -0.7204800248146057, -0.4747834801673889, -0.4229476749897003, 1.619718074798584, 0.04073386639356613, -0.47974300384521484, -0.015457758679986, -0.6876819133758545, -0.05752282962203026, -1.0633739233016968, 0.3185752034187317, -0.1513829231262207, 0.007248749956488609, -0.23668649792671204, 1.7828028202056885, -1.0595275163650513, -2.062624454498291, 0.23252108693122864, 0.3076540529727936, -0.33043545484542847, 0.16206806898117065, 1.6415117979049683, 0.5483874082565308, 1.4005682468414307, 1.2967092990875244, 1.0039867162704468, -0.6410275101661682, -1.2772811651229858, 0.5713332295417786, 1.0688564777374268, -1.420837163925171, 0.750596284866333, -0.05349895358085632, -0.5597299337387085, 0.5457134246826172, 1.2764447927474976, 0.4117324948310852, -2.0114731788635254, 0.753993809223175, -0.8921640515327454, 0.7567026019096375, 0.6759028434753418, 0.8478288054466248, 0.1055595874786377, 0.7695877552032471, -1.2577780485153198, -1.0979682207107544, -0.7903881669044495, -0.6155704855918884, 1.936780571937561, -0.18901386857032776, 0.49851876497268677, -0.20810383558273315, -1.2165426015853882, -0.0031168218702077866, 0.7458934187889099, 0.36170700192451477, -0.5288880467414856, 0.9237820506095886, -0.5610035061836243, -1.0706356763839722, -1.3966946601867676, -0.4069017469882965, -1.03352952003479, -0.8280797004699707, 1.0754908323287964, 0.7816413640975952, 0.39201539754867554, 1.9058332443237305, 0.7052041888237, 0.3096638321876526, -2.6576178073883057, 0.9724052548408508, 0.17924821376800537, -0.00932520255446434, 0.8494912981987, 0.29109570384025574, 1.0886530876159668, -0.1956160068511963, 0.5591907501220703, -2.3835577964782715, 2.26391863822937, -0.19793716073036194, 0.5439114570617676, 0.014345945790410042, -0.13940945267677307, 1.0286773443222046, 0.5617300271987915, 0.5462592244148254, -1.084027886390686, 0.599101185798645, -0.5684142112731934, 1.1236332654953003, 0.8762894868850708, -0.8924770951271057, -0.003016398288309574, 1.3530702590942383, 0.5277199149131775, -0.39109599590301514, -0.9482007622718811, -0.9213206171989441, 0.988578736782074, 1.7419205904006958, -0.10933821648359299, -0.04456455633044243, 0.8958960175514221, 0.5567023158073425, -1.3616312742233276, 0.019889704883098602, -0.6831362843513489, -0.6603557467460632, 1.6536133289337158, 2.006207227706909, -0.12543544173240662, -0.16673290729522705, -0.8023123145103455, -1.1954982280731201, 0.7636743783950806, 0.02541365474462509, 0.14056026935577393, 0.8185496926307678, -0.6824185848236084, 1.1377969980239868, 0.7696706056594849, 0.8964517116546631, 0.237598717212677, 0.28277942538261414, 0.3229031264781952, -0.2680138349533081, -1.2295101881027222, -0.34074318408966064, -0.9898428916931152, -2.5564157962799072, 0.5232294797897339, -0.22460290789604187, -1.455115795135498, 0.01770755648612976, -1.0332247018814087, 0.9952399134635925, -0.48071038722991943, -1.0173008441925049, -1.478674292564392, 0.24188998341560364, -0.13314864039421082, 1.0296449661254883, -1.6162093877792358, -0.10631914436817169, 1.2712348699569702, 1.0169836282730103, -0.6897135972976685, 1.0197490453720093, 0.28529447317123413, 0.9748420715332031, 0.8087460994720459, -0.32030534744262695, 0.566176176071167, 0.11104029417037964, -1.373484492301941, 0.4311279356479645, 1.1921979188919067, 0.159637451171875, 1.388487458229065, -0.5568551421165466, 0.023604240268468857, 0.47564730048179626, -0.5410287380218506, -0.5038468837738037, -0.5720605850219727, 0.6620849967002869, 0.10361982136964798, -1.0200715065002441, -0.06014057621359825, -0.018229085952043533, -0.20075911283493042, 0.23104697465896606, -1.4613019227981567, -0.22867459058761597, -0.3903990685939789, -0.5782338380813599, -1.2027782201766968, -0.07020816206932068, 1.2766385078430176, -0.7934404611587524, -0.15502238273620605, 0.5582131743431091, 0.24882638454437256, 0.530583918094635, 0.548701822757721, -0.670819878578186, -0.321310818195343, -0.3024143874645233, -0.3391553461551666, 0.30599015951156616, 1.3473297357559204, -0.09333695471286774, -1.0735169649124146, 0.799815833568573, -0.3274902105331421, 0.1438646912574768, 2.0975730419158936, 0.11283619701862335, -0.8887119889259338, 0.2773831784725189, -0.6629353165626526, 1.8013536930084229, 1.704206943511963, 1.2909871339797974, -0.05291042476892471, -0.8897170424461365, 0.5879570245742798, -0.29145511984825134, -0.3515482246875763, 0.8975096940994263, 0.36014342308044434, -0.21903428435325623, -1.3946397304534912, 0.6724207997322083, 1.3841086626052856, -0.894592821598053, -0.7778198719024658, 0.16843721270561218, -0.8457889556884766, 1.0987534523010254, 0.7266257405281067, 0.3723467290401459, 0.22747421264648438, 1.5195021629333496, 0.8001784086227417, -0.42185086011886597, 0.49910908937454224, 0.5479762554168701, -0.09698650985956192, -2.003807783126831, -1.1189903020858765, 0.37223300337791443, -0.512694239616394, -1.6441948413848877, 1.338905930519104, -1.2030354738235474, -0.9453609585762024, 0.6178508996963501, 0.03686118125915527, 1.401483178138733, 0.41430559754371643, 1.6071197986602783, 2.0782485008239746, 0.8629903197288513, 0.2993007302284241, 1.2973495721817017, -0.10252738744020462, -0.4491656720638275, 1.7775883674621582, -0.48914992809295654, 0.5335485935211182, 1.0522215366363525, -0.26962053775787354, -1.023361086845398, -0.7788414359092712, -1.1938810348510742, -0.696728527545929, 1.164321780204773, 0.04482081159949303, -1.0485070943832397, 0.2705693542957306, 1.583152413368225, 0.1074342429637909, -0.34654271602630615, 0.7315754890441895, 0.2662595212459564, -0.8551411032676697, -0.06548778712749481, -0.9115855693817139, 0.4461251497268677, -0.08917739242315292, -0.2744629681110382, 0.32788074016571045, 0.4672876298427582, 1.292766809463501, -0.0045266603119671345, 0.1715417206287384, 1.2614959478378296, -1.3395700454711914, 1.6400766372680664, -0.6724531650543213, 0.24546658992767334, -2.4122512340545654, 1.4031977653503418, -0.8357933163642883, 1.8415157794952393, -2.6255736351013184, 0.4539707899093628, -0.43037888407707214, -0.5152729749679565, 0.18865805864334106, -0.39381659030914307, 0.17125347256660461, -0.10836635529994965, -1.143454909324646, -0.09762220829725266, -0.7535825371742249, 0.5549783706665039, 1.1573692560195923, 1.4353617429733276, -1.1334642171859741, -0.3472040891647339, -1.771533489227295, -0.14047354459762573, -0.6960822343826294, 0.3767938017845154, -1.9577603340148926, -0.19854193925857544, -1.7895960807800293, -2.400944471359253, -1.3401391506195068, -0.9095422625541687, 1.1816866397857666, 0.1002233475446701, -0.9345883727073669, 1.0955252647399902, -0.40823620557785034, -1.8950687646865845, 1.1209346055984497, -2.223637819290161 ]
https://github.com/huggingface/datasets/issues/3928
Frugal score deprecations
Hi @Ierezell, thanks for reporting. I'm making a PR to suppress those logs from the terminal.
## Describe the bug The frugal score returns a really verbose output with warnings that can be easily changed. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from datasets.load import load_metric frugal = load_metric("frugalscore") frugal.compute(predictions=["Do you like spinachis"], references=["Do you like spinach"]) ``` ## Expected results A clear and concise description of the expected results. ``` {'scores': [0.9946]} ``` ## Actual results Specify the actual results or traceback. ``` PyTorch: setting up devices The default value for the training argument `--report_to` will change in v5 (from all installed integrations to none). In v5, you will need to use `--report_to all` to get the same behavior as now. You should start updating your code and make this info disappear :-). 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 864.09ba/s] Using amp half precision backend The following columns in the test set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: sentence2, sentence1. If sentence2, sentence1 are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message. ***** Running Prediction ***** Num examples = 1 Batch size = 64 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 4644.85it/s] {'scores': [0.9946]} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.17.0 - Platform: Linux-5.13.0-30-generic-x86_64-with-glibc2.29 - Python version: 3.8.10 - PyArrow version: 7.0.0
888
16
Frugal score deprecations ## Describe the bug The frugal score returns a really verbose output with warnings that can be easily changed. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from datasets.load import load_metric frugal = load_metric("frugalscore") frugal.compute(predictions=["Do you like spinachis"], references=["Do you like spinach"]) ``` ## Expected results A clear and concise description of the expected results. ``` {'scores': [0.9946]} ``` ## Actual results Specify the actual results or traceback. ``` PyTorch: setting up devices The default value for the training argument `--report_to` will change in v5 (from all installed integrations to none). In v5, you will need to use `--report_to all` to get the same behavior as now. You should start updating your code and make this info disappear :-). 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 864.09ba/s] Using amp half precision backend The following columns in the test set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: sentence2, sentence1. If sentence2, sentence1 are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message. ***** Running Prediction ***** Num examples = 1 Batch size = 64 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 4644.85it/s] {'scores': [0.9946]} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.17.0 - Platform: Linux-5.13.0-30-generic-x86_64-with-glibc2.29 - Python version: 3.8.10 - PyArrow version: 7.0.0 Hi @Ierezell, thanks for reporting. I'm making a PR to suppress those logs from the terminal.
[ -1.2102868556976318, -0.9228300452232361, -0.7271279692649841, 1.415847659111023, -0.17408248782157898, -1.2891275882720947, 0.19492115080356598, -1.1123600006103516, 1.7718563079833984, -0.7425959706306458, 0.3587568700313568, -1.6080660820007324, 0.09453452378511429, -0.618134617805481, -0.827683687210083, -0.7803952097892761, -0.399056077003479, -0.7382253408432007, 1.0075126886367798, 2.492682933807373, 1.1582790613174438, -1.3456825017929077, 2.700392723083496, 0.7563357949256897, -0.15410803258419037, -0.955528974533081, 0.48616719245910645, -0.01065338309854269, -1.3712831735610962, -0.37742453813552856, -0.91829913854599, -0.12129857391119003, -0.5736818909645081, -0.5757243037223816, 0.01668127439916134, 0.4028530716896057, -0.29829153418540955, -0.5279994606971741, -0.4786217212677002, -0.7722652554512024, 0.4461662471294403, -0.4420795440673828, 0.9614350199699402, -0.3726607859134674, 1.7388230562210083, -0.6606935262680054, 0.5210803151130676, 0.7098984718322754, 1.307984709739685, 0.26729995012283325, 0.007222378626465797, 0.3983154892921448, 0.4237770140171051, -0.03378981724381447, 0.4843132495880127, 1.1847177743911743, 0.6772045493125916, 0.4476245939731598, 0.8495773077011108, -2.15934157371521, 1.2833905220031738, -1.0089926719665527, 0.3061757981777191, 1.3143858909606934, -0.9196053147315979, 0.34622159600257874, -1.7945314645767212, -0.0863666906952858, 0.49958840012550354, -2.241415023803711, 0.2771202027797699, -1.3061772584915161, -0.5495520234107971, 0.9613066911697388, 0.34939417243003845, -1.2724120616912842, 0.05796550214290619, -0.41431406140327454, 0.9277680516242981, 0.3439914882183075, 1.0741592645645142, -1.6886231899261475, -0.05872434377670288, -0.32858696579933167, 0.17938362061977386, -1.246843934059143, -1.4903489351272583, 0.6143140196800232, 0.6422992944717407, 0.5589030981063843, -0.15384496748447418, 1.019345760345459, -1.0108106136322021, 0.8751502633094788, -1.0104788541793823, -1.883780598640442, -1.390360713005066, -2.2690069675445557, -2.175631284713745, 0.7746291160583496, -0.4354351758956909, -0.5065793991088867, 2.0674612522125244, -0.9846221208572388, -1.7343921661376953, 1.0853949785232544, 0.32388660311698914, -0.03802984580397606, 2.3469228744506836, 0.18621107935905457, -0.7540464997291565, 0.5194805264472961, -0.7827121615409851, 0.7070600986480713, -0.4530389606952667, 1.3461520671844482, 0.33813828229904175, -0.9818146824836731, 1.5664007663726807, -0.42816632986068726, 0.5968967080116272, -0.757850706577301, -0.4352143704891205, -0.7540903091430664, 0.3634164035320282, 1.970263123512268, -0.27375370264053345, 1.520766258239746, -0.2891692817211151, -1.5576627254486084, -1.5119773149490356, 0.818206787109375, 0.5192720890045166, -0.6976787447929382, 0.1711321473121643, -0.28280118107795715, 0.094767265021801, -0.022116534411907196, 1.1051461696624756, 1.3164910078048706, 0.8239007592201233, -0.2756993770599365, -0.9085431098937988, 0.18811100721359253, -0.1436592936515808, -0.8290857672691345, -1.7377378940582275, -0.34165892004966736, 0.12848857045173645, 0.6256597638130188, -1.2118314504623413, 1.797228455543518, 0.864936113357544, 1.9859530925750732, 1.0294806957244873, -0.3445248603820801, 1.4708271026611328, 0.14620238542556763, 1.9564439058303833, -0.4942823052406311, 0.710024356842041, -0.44505733251571655, -1.0763472318649292, 0.8662970662117004, -0.3565002977848053, -2.0848042964935303, -0.5823172926902771, -0.8949556350708008, -0.21828140318393707, -0.7502511739730835, 0.9242589473724365, -0.2617121636867523, -1.3800501823425293, 0.2864592969417572, -0.7797418832778931, 0.030770035460591316, -1.2499887943267822, 0.3317149579524994, 0.7604092955589294, -0.6014735698699951, 0.13722291588783264, -0.27726900577545166, -1.3248051404953003, -0.5431606769561768, 0.31831130385398865, 1.8178831338882446, -0.7993364930152893, 0.9567716717720032, 1.0363354682922363, -0.7009936571121216, -0.04500656574964523, 0.48210057616233826, -0.39218559861183167, 0.823022723197937, -1.1173406839370728, -0.3902679979801178, 1.0978429317474365, -0.08738682419061661, -0.5135080814361572, 1.4357514381408691, 0.6701235771179199, -1.020872712135315, -0.1624753177165985, -0.10660792142152786, -0.8259270787239075, 0.06665406376123428, -1.648371934890747, -0.0801323726773262, 0.3971159756183624, -1.529378056526184, -0.5562187433242798, -0.16614510118961334, 1.1548703908920288, -0.08503314107656479, 1.3774077892303467, -0.31023266911506653, -0.1687006801366806, -0.43820443749427795, -0.3600017726421356, 0.061875566840171814, -0.31446385383605957, -0.6157406568527222, 0.24177643656730652, -0.6697525978088379, 0.3578290343284607, 1.3988125324249268, 0.2466280162334442, 0.030118001624941826, 0.5479820370674133, 1.0713695287704468, 0.29275399446487427, -0.05279914289712906, -0.8325590491294861, -1.5800700187683105, 2.014718532562256, -1.5010889768600464, 1.9683529138565063, 0.762567400932312, 0.01851198449730873, -1.8213157653808594, -1.922836422920227, 1.454034447669983, 1.0953508615493774, 2.3612382411956787, 0.6368186473846436, 0.44934195280075073, -0.7904056310653687, -0.6665191650390625, 0.3092113137245178, -0.9875682592391968, -0.7722977995872498, 0.07036853581666946, 2.420076847076416, 1.7152369022369385, -0.4477452337741852, -0.12647521495819092, -1.00089430809021, 1.5247746706008911, -0.1117517352104187, 0.19071710109710693, 1.9964853525161743, -0.1870725303888321, -1.0475218296051025, 1.282392144203186, -2.28448748588562, 0.19568683207035065, 1.9747000932693481, 0.27997368574142456, 0.0990542471408844, -1.2909976243972778, -0.6270288825035095, -0.2840771973133087, -0.4035378694534302, -1.2083300352096558, 0.45478564500808716, -0.21360725164413452, -0.7745512127876282, -1.4586845636367798, 0.1695464849472046, -1.0864577293395996, -1.6342676877975464, 0.18136660754680634, 1.8712947368621826, 2.01914381980896, -0.6921244263648987, 1.6062753200531006, -0.2764951288700104, 0.20663481950759888, 1.2013218402862549, 1.1144163608551025, 3.177323341369629, 2.021517276763916, -1.2379728555679321, 0.6549913287162781, -0.15492665767669678, -0.41880759596824646, 1.1568750143051147, -1.1683721542358398, 1.265527367591858, -0.15548494458198547, -1.2261099815368652, -1.1800445318222046, 0.9459279775619507, 0.49561837315559387, 0.054806843400001526, -0.45380452275276184, 1.1191120147705078, 0.06660296022891998, 1.3179956674575806, 0.5559899806976318, -0.21770590543746948, 0.6449901461601257, -0.371669739484787, -0.46098262071609497, 1.609804630279541, 0.25339001417160034, -1.2837369441986084, -2.34344744682312, -0.20699454843997955, -0.8952131271362305, 0.1072857454419136, -0.7180888652801514, -1.0313564538955688, 1.6774818897247314, 0.4146837890148163, -1.1735261678695679, -0.2516801357269287, -0.306561678647995, -0.6734784245491028, 2.6730451583862305, -1.4820530414581299, -0.2360522747039795, -1.0211130380630493, -0.5778510570526123, 1.5890722274780273, -1.2561914920806885, -0.25734156370162964, -1.1243517398834229, -0.44217604398727417, -1.1335750818252563, -0.583428680896759, -0.09178846329450607, -0.8051398396492004, 0.8853561878204346, 0.1906462162733078, -1.2811334133148193, -0.3353261947631836, -1.0080983638763428, 0.8333955407142639, -0.08220044523477554, 0.16505303978919983, 1.824018955230713, 0.37384167313575745, -0.3233276605606079, 0.7112902402877808, 1.162969708442688, 0.6244816184043884, -0.6496571898460388, 0.26011911034584045, -0.6397380828857422, 0.32899901270866394, -1.2801576852798462, 0.2739514708518982, -2.784656286239624, 0.6484236717224121, -0.00838841125369072, -0.0723491683602333, -0.04119711369276047, -1.3655486106872559, 1.12139093875885, 2.6041312217712402, -1.1044572591781616, 0.5580472350120544, 0.226761594414711, 1.236106276512146, -1.5875684022903442, 0.2476876974105835, -0.4460265338420868, 2.1293671131134033, 0.10219018161296844, 1.1600016355514526, -0.5155938267707825, -2.383671522140503, 0.6131154894828796, -1.2001042366027832, -1.1979732513427734, 0.7426663637161255, -0.810544490814209, 0.0784657746553421, -1.3511230945587158, -0.21593323349952698, -0.884065568447113, -1.1456040143966675, 0.6799048185348511, 0.0792989656329155, 0.48935267329216003, -0.6583305597305298, 0.3062593340873718, -2.251328468322754, -1.3743906021118164, -0.22928746044635773, -0.9021801352500916, 0.45466673374176025, -0.30005958676338196, 0.746127724647522, -0.13065212965011597, -0.0542406290769577, 0.30702415108680725, 1.4371509552001953, 3.3381168842315674, 0.09917918592691422, 0.4120450019836426, -0.24277950823307037, -0.948506772518158, 1.3549295663833618, 0.9183087944984436, -0.15727150440216064, -0.6089187264442444, -1.0391680002212524, 1.246591567993164, 1.974766492843628, 0.9513363242149353, 0.05030110478401184, -0.8624259233474731, -0.7460356950759888, 0.007742909714579582, 0.1948356032371521, 0.45913606882095337, 0.9839499592781067, 0.14202308654785156, 0.051519058644771576, 1.4749932289123535, 1.1305058002471924, -0.4311424493789673, 0.385783851146698, -0.7961152195930481, -0.4556548595428467, 0.5075353384017944, 0.43112900853157043, -0.0290187057107687, 0.2141745388507843, -1.0503073930740356, -0.23246678709983826, -0.3485391438007355, -0.8866098523139954, -0.7280696630477905, -0.44157692790031433, -0.3510898947715759, 1.7349969148635864, 0.03719861060380936, -0.4909670352935791, -0.05275952070951462, -0.7673519253730774, 0.05628100782632828, -1.0421726703643799, 0.3001837134361267, -0.20348834991455078, -0.08028104901313782, -0.07554534077644348, 1.8000472784042358, -0.9384486079216003, -1.974066138267517, 0.2409779131412506, 0.2265930026769638, -0.38535550236701965, 0.2077992707490921, 1.6574336290359497, 0.6535891890525818, 1.4301164150238037, 1.4402661323547363, 0.9755791425704956, -0.7025812268257141, -1.3408101797103882, 0.5584688186645508, 0.9943865537643433, -1.387506127357483, 0.7095599174499512, 0.13633447885513306, -0.5053415298461914, 0.6282691359519958, 1.350409984588623, 0.4119294285774231, -2.072075128555298, 0.8079266548156738, -0.9329254031181335, 0.8517455458641052, 0.7550398111343384, 0.6880595088005066, 0.22089792788028717, 0.7495039105415344, -1.254195213317871, -1.0893452167510986, -0.8365756869316101, -0.6786155104637146, 1.9521557092666626, -0.31111639738082886, 0.5000292658805847, -0.19085468351840973, -1.3888529539108276, -0.0745500922203064, 0.6535499095916748, 0.4189508557319641, -0.4656343162059784, 0.721479058265686, -0.6339669227600098, -1.1875760555267334, -1.3313692808151245, -0.5150620341300964, -1.0619412660598755, -0.9284443855285645, 0.9888734817504883, 0.8397913575172424, 0.43454065918922424, 1.89694344997406, 0.7571096420288086, 0.21804408729076385, -2.5807979106903076, 0.877367377281189, 0.32566869258880615, -0.07485812902450562, 0.8335120677947998, 0.3766627311706543, 1.0255461931228638, -0.08859915286302567, 0.554056704044342, -2.4395549297332764, 2.293431282043457, -0.22574514150619507, 0.7132412195205688, -0.03403353691101074, -0.15645556151866913, 1.0436681509017944, 0.5423187017440796, 0.5261344909667969, -1.0615171194076538, 0.6344259977340698, -0.6744692921638489, 1.332593321800232, 0.7802233695983887, -0.7971840500831604, -0.00460351025685668, 1.2753912210464478, 0.379376083612442, -0.5631576180458069, -1.0067577362060547, -1.007270336151123, 0.9284177422523499, 1.7729320526123047, -0.055236756801605225, 0.03455020487308502, 0.8273487687110901, 0.7010415196418762, -1.3410210609436035, 0.06513219326734543, -0.8120772838592529, -0.8009045720100403, 1.7014744281768799, 2.079540967941284, -0.13467392325401306, -0.13093909621238708, -0.7857829928398132, -1.3222941160202026, 0.7789574265480042, 0.09653101116418839, 0.047981083393096924, 0.6343356966972351, -0.6014665365219116, 1.1619545221328735, 0.9411734342575073, 0.9523568153381348, 0.18353566527366638, 0.314251184463501, 0.3013906180858612, -0.3899983763694763, -1.1916989088058472, -0.2567442059516907, -1.0204222202301025, -2.5250072479248047, 0.5185714364051819, -0.14535628259181976, -1.4887423515319824, 0.01545526459813118, -0.9807218313217163, 0.8917084336280823, -0.5404927134513855, -1.1106919050216675, -1.516075849533081, 0.21614782512187958, -0.06861577183008194, 0.9047293066978455, -1.5637437105178833, -0.07373412698507309, 1.2140710353851318, 0.9497995376586914, -0.6781118512153625, 1.0100680589675903, 0.27413246035575867, 1.0316264629364014, 0.9356366991996765, -0.3790356516838074, 0.39507126808166504, 0.07981207966804504, -1.30839204788208, 0.4766007363796234, 1.2698466777801514, 0.16513364017009735, 1.5042749643325806, -0.6291693449020386, 0.015857752412557602, 0.3218331038951874, -0.4193629026412964, -0.4167432487010956, -0.7055186629295349, 0.6790160536766052, 0.023090412840247154, -0.9234693646430969, -0.03682943433523178, -0.028945768252015114, -0.1657232642173767, 0.18728257715702057, -1.4887133836746216, -0.07831845432519913, -0.326049268245697, -0.6601852774620056, -1.1637719869613647, -0.05064111202955246, 1.3546220064163208, -0.7421941161155701, -0.1635744422674179, 0.49046561121940613, 0.2941341698169708, 0.5426129102706909, 0.6628873348236084, -0.6486824154853821, -0.4479978680610657, -0.23322467505931854, -0.4035007059574127, 0.28296464681625366, 1.3912773132324219, -0.04756578803062439, -0.9640434384346008, 0.6505536437034607, -0.4140440821647644, 0.03881695121526718, 1.8877202272415161, 0.05519900470972061, -0.8656822443008423, 0.3316369950771332, -0.7076160311698914, 1.97505521774292, 1.7234539985656738, 1.2889375686645508, -0.07696828991174698, -1.0415273904800415, 0.6595023274421692, -0.3594808876514435, -0.38101446628570557, 0.8903709053993225, 0.45424652099609375, -0.2766267955303192, -1.329674243927002, 0.6520668864250183, 1.3218082189559937, -0.9111522436141968, -0.9004192352294922, 0.10996464639902115, -0.7315446138381958, 1.1008663177490234, 0.7784023880958557, 0.4032577872276306, 0.3122813403606415, 1.6670856475830078, 0.8283807039260864, -0.5645087361335754, 0.6382572650909424, 0.5202909708023071, -0.14222443103790283, -2.024768352508545, -1.143139362335205, 0.34739893674850464, -0.4671306014060974, -1.6460354328155518, 1.4079928398132324, -1.166823387145996, -0.8994215130805969, 0.5604901909828186, 0.10522256046533585, 1.4216006994247437, 0.38548097014427185, 1.5827196836471558, 1.9988380670547485, 0.8868953585624695, 0.37487465143203735, 1.2371505498886108, -0.2013305127620697, -0.45917806029319763, 1.7887794971466064, -0.5152871608734131, 0.4995323717594147, 1.1362384557724, -0.34348925948143005, -1.1368037462234497, -0.7743298411369324, -1.2039096355438232, -0.7865322232246399, 1.1419647932052612, 0.07901035994291306, -1.117606282234192, 0.32723113894462585, 1.6024895906448364, 0.04557454586029053, -0.3570890426635742, 0.6369098424911499, 0.3747897148132324, -0.8305982947349548, -0.12379323691129684, -0.9717748165130615, 0.5299709439277649, -0.173533633351326, -0.3653135895729065, 0.3332817554473877, 0.4906409680843353, 1.2923583984375, 0.007426736876368523, 0.04716961085796356, 1.184661865234375, -1.4638206958770752, 1.4803661108016968, -0.8118264079093933, 0.2591286897659302, -2.329963445663452, 1.4330286979675293, -0.7896409034729004, 1.875028133392334, -2.6962709426879883, 0.40279150009155273, -0.5982481837272644, -0.46444588899612427, 0.21617984771728516, -0.2619422674179077, 0.1759316623210907, -0.14374667406082153, -1.201300859451294, -0.1262979507446289, -0.7883743047714233, 0.5281829237937927, 1.1072877645492554, 1.307041883468628, -1.106877326965332, -0.24558743834495544, -1.6953567266464233, -0.12179215252399445, -0.6231905817985535, 0.3256690204143524, -1.910862922668457, -0.13951797783374786, -1.9509681463241577, -2.2574691772460938, -1.356092095375061, -0.887607216835022, 1.0803675651550293, 0.09238320589065552, -0.9030084609985352, 1.1131154298782349, -0.37381821870803833, -1.8119479417800903, 1.112969160079956, -2.1956567764282227 ]
https://github.com/huggingface/datasets/issues/3920
'datasets.features' is not a package
Hi @Arij-Aladel, You are using a very old version of our library `datasets`: 1.8.0 Current version is 2.0.0 (and the previous one was 1.18.4) Please, try to update `datasets` library and check if the problem persists: ```shell /env/bin/pip install -U datasets
@albertvillanova python 3.9 os: ubuntu 20.04 In conda environment torch installed by ```/env/bin/pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html``` datasets package is installed by ``` /env/bin/pip install datasets==1.8.0 ``` During runing the code I have this error ``` [6]<stderr>: File "/home/arij/Memory-transformer-with-hierarchical-attention_MLM/env/lib/python3.9/site-packages/torch/serialization.py", line 875, in find_class [6]<stderr>: return super().find_class(mod_name, name) [6]<stderr>:ModuleNotFoundError: No module named 'datasets.features.features'; 'datasets.features' is not a package ``` precisely this error appears when torch.load('data_file.pt') ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/arij/Memory-transformer-with-hierarchical-attention_MLM/env/lib/python3.9/site-packages/torch/serialization.py", line 607, in load return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args) File "/home/arij/Memory-transformer-with-hierarchical-attention_MLM/env/lib/python3.9/site-packages/torch/serialization.py", line 882, in _load result = unpickler.load() File "/home/arij/Memory-transformer-with-hierarchical-attention_MLM/env/lib/python3.9/site-packages/torch/serialization.py", line 875, in find_class return super().find_class(mod_name, name) ModuleNotFoundError: No module named 'datasets.features.features'; 'datasets.features' is not a package ``` Why I am getting this error?
889
41
'datasets.features' is not a package @albertvillanova python 3.9 os: ubuntu 20.04 In conda environment torch installed by ```/env/bin/pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html``` datasets package is installed by ``` /env/bin/pip install datasets==1.8.0 ``` During runing the code I have this error ``` [6]<stderr>: File "/home/arij/Memory-transformer-with-hierarchical-attention_MLM/env/lib/python3.9/site-packages/torch/serialization.py", line 875, in find_class [6]<stderr>: return super().find_class(mod_name, name) [6]<stderr>:ModuleNotFoundError: No module named 'datasets.features.features'; 'datasets.features' is not a package ``` precisely this error appears when torch.load('data_file.pt') ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/arij/Memory-transformer-with-hierarchical-attention_MLM/env/lib/python3.9/site-packages/torch/serialization.py", line 607, in load return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args) File "/home/arij/Memory-transformer-with-hierarchical-attention_MLM/env/lib/python3.9/site-packages/torch/serialization.py", line 882, in _load result = unpickler.load() File "/home/arij/Memory-transformer-with-hierarchical-attention_MLM/env/lib/python3.9/site-packages/torch/serialization.py", line 875, in find_class return super().find_class(mod_name, name) ModuleNotFoundError: No module named 'datasets.features.features'; 'datasets.features' is not a package ``` Why I am getting this error? Hi @Arij-Aladel, You are using a very old version of our library `datasets`: 1.8.0 Current version is 2.0.0 (and the previous one was 1.18.4) Please, try to update `datasets` library and check if the problem persists: ```shell /env/bin/pip install -U datasets
[ -1.144170880317688, -0.906259298324585, -0.657737135887146, 1.4728937149047852, -0.10437148064374924, -1.213576078414917, 0.15358619391918182, -0.9804967641830444, 1.5766850709915161, -0.7099618315696716, 0.3281504213809967, -1.6832873821258545, -0.14774122834205627, -0.4955398142337799, -0.7391092777252197, -0.8485087752342224, -0.28122052550315857, -0.8147030472755432, 1.0146564245224, 2.484665870666504, 1.2805004119873047, -1.3709046840667725, 2.7355966567993164, 0.6192641258239746, -0.3170543611049652, -1.0462290048599243, 0.5627181529998779, -0.03310489282011986, -1.2406634092330933, -0.4113085865974426, -0.9652120471000671, -0.03639637678861618, -0.6304270029067993, -0.4229549765586853, 0.1343427151441574, 0.4012342393398285, -0.21788783371448517, -0.29642170667648315, -0.5652586817741394, -0.7666739225387573, 0.4771689772605896, -0.391690731048584, 0.933973491191864, -0.26984861493110657, 1.7004026174545288, -0.6743006706237793, 0.43918049335479736, 0.7321970462799072, 1.2838590145111084, 0.18854786455631256, 0.01195644959807396, 0.2992020547389984, 0.36060723662376404, 0.014447560533881187, 0.6426385641098022, 1.2562856674194336, 0.5605624318122864, 0.5000880360603333, 0.6656859517097473, -2.2592062950134277, 1.2989327907562256, -0.8799275159835815, 0.1897951364517212, 1.2690608501434326, -0.8393954038619995, 0.3573015332221985, -1.8863564729690552, -0.10719078779220581, 0.5914922952651978, -2.310934543609619, 0.20968133211135864, -1.3896385431289673, -0.5698494911193848, 0.9215431213378906, 0.3292883634567261, -1.2403743267059326, 0.13369344174861908, -0.3837803304195404, 1.033645749092102, 0.40384846925735474, 1.1416609287261963, -1.644078254699707, -0.012838679365813732, -0.19575969874858856, 0.23068273067474365, -1.2083275318145752, -1.6388198137283325, 0.6335343718528748, 0.6068437099456787, 0.6482315063476562, -0.1673591285943985, 1.058337926864624, -1.078355073928833, 0.8561394810676575, -0.9995486736297607, -1.7487373352050781, -1.4312212467193604, -2.3384175300598145, -2.2907543182373047, 0.7764201760292053, -0.5115330815315247, -0.4349571168422699, 2.026014804840088, -0.9961615800857544, -1.770910620689392, 1.0186419486999512, 0.29022878408432007, 0.04284480959177017, 2.3709325790405273, 0.2247997373342514, -0.7557498216629028, 0.43917933106422424, -0.8104285597801208, 0.7411018013954163, -0.28337252140045166, 1.3269556760787964, 0.44871488213539124, -0.9798281192779541, 1.605616807937622, -0.4341679811477661, 0.5027471780776978, -0.7133774757385254, -0.43264979124069214, -0.6838499307632446, 0.245478093624115, 1.9069639444351196, -0.31335243582725525, 1.5318865776062012, -0.24861380457878113, -1.5134780406951904, -1.503596305847168, 0.7901250720024109, 0.5301162004470825, -0.8838717341423035, 0.09492333978414536, -0.4019663631916046, 0.2239675223827362, 0.04131948575377464, 1.1593574285507202, 1.2765287160873413, 0.7547978758811951, -0.22317104041576385, -0.8483529686927795, 0.1950480341911316, -0.11569366604089737, -0.6533022522926331, -1.8513057231903076, -0.33966970443725586, 0.18771515786647797, 0.6930789947509766, -1.2535232305526733, 1.8413845300674438, 0.8794552087783813, 2.0379257202148438, 0.9347656965255737, -0.45302510261535645, 1.5494160652160645, 0.011836322024464607, 1.8681379556655884, -0.41239193081855774, 0.5856186747550964, -0.5053764581680298, -1.1167511940002441, 0.8463580012321472, -0.303702712059021, -1.9040672779083252, -0.6442093253135681, -0.8649086356163025, -0.12935243546962738, -0.8010156750679016, 0.8897836208343506, -0.24523302912712097, -1.4521371126174927, 0.1377267986536026, -0.7289011478424072, 0.062458813190460205, -1.2818472385406494, 0.22961369156837463, 0.7071791887283325, -0.7030597925186157, -0.005590417422354221, -0.3859284222126007, -1.2376798391342163, -0.5934711694717407, 0.34182047843933105, 1.9265304803848267, -0.640446662902832, 0.9485304355621338, 0.9679582715034485, -0.7394807934761047, 0.06734567880630493, 0.28284046053886414, -0.31875079870224, 0.737885057926178, -1.0930544137954712, -0.4182356297969818, 1.1189957857131958, -0.14703616499900818, -0.6984701156616211, 1.3881727457046509, 0.793565034866333, -1.1107699871063232, -0.2530418336391449, -0.28365224599838257, -0.79358971118927, 0.027800358831882477, -1.622806429862976, -0.19743217527866364, 0.36296218633651733, -1.4627373218536377, -0.3499162793159485, -0.21314705908298492, 1.333966612815857, -0.15357705950737, 1.4672050476074219, -0.2724837064743042, -0.21044403314590454, -0.37525901198387146, -0.4612543284893036, 0.09651122987270355, -0.20300698280334473, -0.633599579334259, 0.3167247474193573, -0.8665878176689148, 0.2570888102054596, 1.5331165790557861, 0.26383963227272034, 0.05370097607374191, 0.4671803414821625, 1.128212571144104, 0.394049733877182, 0.019287843257188797, -0.9792661070823669, -1.524420976638794, 2.0037875175476074, -1.4804919958114624, 1.9336209297180176, 0.7763583660125732, -0.018214808776974678, -1.8411442041397095, -1.863356113433838, 1.3293137550354004, 1.1302871704101562, 2.473705768585205, 0.5824988484382629, 0.436105877161026, -0.7210235595703125, -0.6087085008621216, 0.3805956542491913, -0.9351544380187988, -0.7627363801002502, 0.2037345916032791, 2.3888440132141113, 1.7652759552001953, -0.5326992869377136, -0.26118963956832886, -0.8414545059204102, 1.3355311155319214, -0.18784992396831512, 0.2932540774345398, 2.0886101722717285, -0.28627339005470276, -1.022349238395691, 1.2790995836257935, -2.351733684539795, 0.25359413027763367, 2.0748376846313477, 0.19131730496883392, 0.14621469378471375, -1.4290567636489868, -0.6525450348854065, -0.237699955701828, -0.5225884318351746, -1.2791404724121094, 0.5006943345069885, -0.2565624713897705, -0.8689775466918945, -1.4581849575042725, 0.10461398214101791, -1.1478925943374634, -1.769727110862732, 0.30601373314857483, 1.9724397659301758, 2.0867981910705566, -0.8406904935836792, 1.3854535818099976, -0.2956655025482178, 0.0006224941462278366, 1.2715529203414917, 1.2586348056793213, 3.0620741844177246, 1.9578216075897217, -1.2143895626068115, 0.7555723786354065, -0.27667316794395447, -0.507184624671936, 1.1507304906845093, -1.1208850145339966, 1.0071041584014893, -0.25593364238739014, -1.219085454940796, -1.181981086730957, 1.0406131744384766, 0.4774515926837921, -0.05565708503127098, -0.5069910883903503, 1.25228750705719, 0.18826733529567719, 1.3455681800842285, 0.6260669827461243, -0.3014347553253174, 0.5623279213905334, -0.3445444107055664, -0.48784345388412476, 1.699175477027893, 0.18298017978668213, -1.4456301927566528, -2.41158390045166, -0.18890441954135895, -1.0019958019256592, 0.030778512358665466, -0.6166985034942627, -1.029093861579895, 1.5904114246368408, 0.38456517457962036, -1.1482279300689697, -0.20267774164676666, -0.40057000517845154, -0.5402690768241882, 2.6158394813537598, -1.3302809000015259, -0.13723663985729218, -1.0009453296661377, -0.50562584400177, 1.611162781715393, -1.1636708974838257, -0.20805157721042633, -1.0181728601455688, -0.5646385550498962, -1.3464860916137695, -0.4742756485939026, 0.0489015206694603, -0.860069990158081, 0.760429859161377, 0.22198139131069183, -1.191925287246704, -0.3526983857154846, -0.9519283771514893, 0.9534804821014404, -0.08912111073732376, 0.17295271158218384, 1.8805593252182007, 0.3140948414802551, -0.4249860942363739, 0.7916807532310486, 1.144445776939392, 0.5805965065956116, -0.5839934349060059, 0.22248411178588867, -0.6776701211929321, 0.3144373595714569, -1.4101701974868774, 0.23073798418045044, -2.8942699432373047, 0.7580565214157104, -0.0866086333990097, -0.10786676406860352, -0.12506291270256042, -1.2814100980758667, 1.1024913787841797, 2.5762276649475098, -1.1434123516082764, 0.5280605554580688, 0.36550578474998474, 1.169018268585205, -1.5736461877822876, 0.23838292062282562, -0.4755772054195404, 2.080848217010498, 0.15086263418197632, 1.2182739973068237, -0.47168299555778503, -2.293139934539795, 0.6214333176612854, -1.1899820566177368, -0.9736286997795105, 0.811866283416748, -0.8402770757675171, 0.18782752752304077, -1.3842482566833496, -0.15741540491580963, -0.9053164124488831, -1.2412693500518799, 0.7921544909477234, 0.08512526005506516, 0.47854021191596985, -0.5976872444152832, 0.37332475185394287, -2.2029876708984375, -1.4744199514389038, -0.2162376195192337, -0.9939209222793579, 0.5293911695480347, -0.390855997800827, 0.6610573530197144, -0.11274544149637222, 0.04211911931633949, 0.28275254368782043, 1.4210355281829834, 3.3723349571228027, 0.12175649404525757, 0.3070541024208069, -0.21455436944961548, -1.0222710371017456, 1.49777352809906, 0.8594659566879272, -0.16365094482898712, -0.5605899691581726, -1.1247068643569946, 1.259304404258728, 1.9720205068588257, 1.1003755331039429, 0.15683230757713318, -0.897983968257904, -0.7768910527229309, -0.0017699627205729485, 0.20688937604427338, 0.5768940448760986, 0.997004508972168, 0.02861856296658516, 0.10516342520713806, 1.316452145576477, 1.1513923406600952, -0.3061729371547699, 0.452080637216568, -0.9915863871574402, -0.39798280596733093, 0.40521878004074097, 0.22290760278701782, 0.03458220139145851, 0.38791751861572266, -1.0021437406539917, -0.3290153741836548, -0.28318217396736145, -0.8738422989845276, -0.8203871250152588, -0.38424456119537354, -0.3627951443195343, 1.6636991500854492, 0.012084510177373886, -0.49166229367256165, 0.051557354629039764, -0.6707382798194885, -0.05232810974121094, -1.0725834369659424, 0.14474935829639435, -0.0662640929222107, -0.03616972267627716, -0.144254669547081, 1.6780786514282227, -0.8564759492874146, -2.0605998039245605, 0.22150470316410065, 0.35843712091445923, -0.3917192816734314, 0.1835220903158188, 1.7892087697982788, 0.5536383986473083, 1.2970612049102783, 1.3712953329086304, 1.0061371326446533, -0.5132073760032654, -1.2545204162597656, 0.640076220035553, 0.9163148403167725, -1.3851468563079834, 0.9106751680374146, -0.1711837202310562, -0.4434660077095032, 0.5930354595184326, 1.3000823259353638, 0.4333353638648987, -2.078197479248047, 0.8763951659202576, -0.9047144055366516, 0.8064730763435364, 0.75133216381073, 0.8390757441520691, 0.20875543355941772, 0.848460853099823, -1.1838045120239258, -1.1015764474868774, -0.6918953061103821, -0.6029589772224426, 1.8905175924301147, -0.20189248025417328, 0.4750792384147644, -0.14450223743915558, -1.2814528942108154, -0.11423782259225845, 0.7249414324760437, 0.3741720914840698, -0.48084738850593567, 0.8430724740028381, -0.5878161191940308, -0.9781955480575562, -1.2698783874511719, -0.48841649293899536, -1.0496704578399658, -0.9177278876304626, 1.0251749753952026, 0.8567962050437927, 0.46784093976020813, 1.9499938488006592, 0.582700252532959, 0.24040862917900085, -2.6262712478637695, 0.9250577688217163, 0.3298196494579315, -0.06476195156574249, 0.8986605405807495, 0.2497330904006958, 1.1461807489395142, -0.21558111906051636, 0.6397055387496948, -2.375603199005127, 2.2728986740112305, -0.20656457543373108, 0.6831842064857483, 0.07800276577472687, -0.16251473128795624, 1.0089366436004639, 0.5326755046844482, 0.6129796504974365, -1.0860942602157593, 0.7066680788993835, -0.674159824848175, 1.1555230617523193, 0.8936601281166077, -0.8913573026657104, 0.05607113987207413, 1.3629200458526611, 0.4082390367984772, -0.5423877835273743, -0.932519257068634, -0.9369672536849976, 0.9305107593536377, 1.715955138206482, -0.06082010641694069, 0.008604999631643295, 0.8809514045715332, 0.6275310516357422, -1.223618507385254, 0.05360140651464462, -0.6420220136642456, -0.6675229072570801, 1.6934690475463867, 2.0661368370056152, -0.16433057188987732, -0.17578591406345367, -0.7152752876281738, -1.2680636644363403, 0.747913122177124, 0.050204772502183914, 0.09371843934059143, 0.7642754912376404, -0.6489789485931396, 1.167548656463623, 0.6151439547538757, 0.98604416847229, 0.16250371932983398, 0.3055785298347473, 0.29681825637817383, -0.3772404193878174, -1.1781986951828003, -0.35486629605293274, -1.1024730205535889, -2.5486631393432617, 0.48729532957077026, -0.20550943911075592, -1.3754489421844482, 0.04431840404868126, -1.0020779371261597, 0.7900350689888, -0.6088141798973083, -1.117225170135498, -1.3581260442733765, 0.24722304940223694, -0.23628562688827515, 0.9095543622970581, -1.7399722337722778, -0.1394222527742386, 1.2679330110549927, 0.998276948928833, -0.6679481863975525, 0.9175450205802917, 0.2537674605846405, 1.010704755783081, 0.875802755355835, -0.322327584028244, 0.5654239058494568, 0.04403819516301155, -1.2652089595794678, 0.3499270975589752, 1.2204883098602295, 0.20011542737483978, 1.3557900190353394, -0.5367832779884338, 0.06432944536209106, 0.4008684754371643, -0.5081667304039001, -0.5047796368598938, -0.5272428393363953, 0.7178218364715576, 0.00362381711602211, -1.0844806432724, -0.0633229985833168, -0.06567473709583282, -0.11854267120361328, 0.1764422059059143, -1.4994243383407593, -0.22560249269008636, -0.2895672023296356, -0.43991297483444214, -1.339328646659851, -0.022062528878450394, 1.2728139162063599, -0.7898226380348206, -0.20149530470371246, 0.39576128125190735, 0.270779013633728, 0.5612885355949402, 0.5430256128311157, -0.7268060445785522, -0.42034879326820374, -0.24029798805713654, -0.3250422477722168, 0.3325709402561188, 1.2969005107879639, -0.0827663317322731, -1.03316330909729, 0.6139199137687683, -0.36125579476356506, 0.16694161295890808, 2.0164566040039062, -0.046933308243751526, -0.8105707764625549, 0.30430737137794495, -0.6620854139328003, 1.7175801992416382, 1.7070398330688477, 1.2710248231887817, -0.10281895846128464, -0.846757173538208, 0.6153402328491211, -0.36962199211120605, -0.378107488155365, 0.8755752444267273, 0.4072466790676117, -0.24984672665596008, -1.3996872901916504, 0.6187240481376648, 1.333602786064148, -0.7799999713897705, -0.8543038964271545, 0.055414944887161255, -0.8115798234939575, 1.1874017715454102, 0.6119273900985718, 0.268502414226532, 0.23579062521457672, 1.521264672279358, 0.7876384258270264, -0.47999778389930725, 0.5634582042694092, 0.43841275572776794, -0.1744755357503891, -2.146754741668701, -1.0635615587234497, 0.30125904083251953, -0.3333110809326172, -1.6072860956192017, 1.367350459098816, -1.2036195993423462, -0.9689865112304688, 0.618431568145752, 0.14024876058101654, 1.3656972646713257, 0.38587263226509094, 1.7180681228637695, 2.078207492828369, 0.855885922908783, 0.4280380308628082, 1.2034249305725098, -0.13029175996780396, -0.49777889251708984, 1.823440670967102, -0.4750688076019287, 0.5747473835945129, 0.9847864508628845, -0.2996070981025696, -1.1179008483886719, -0.9177237749099731, -1.2840256690979004, -0.642829418182373, 1.2050784826278687, 0.11285953223705292, -1.1386480331420898, 0.26059970259666443, 1.6484649181365967, 0.06122007966041565, -0.2389146238565445, 0.7299620509147644, 0.3617456555366516, -0.745904266834259, -0.030919907614588737, -0.8605892658233643, 0.5178931951522827, -0.11602415144443512, -0.3238656222820282, 0.28302276134490967, 0.5110385417938232, 1.3136813640594482, 0.04732516407966614, 0.06905849277973175, 1.2286863327026367, -1.3878369331359863, 1.5456976890563965, -0.6559885144233704, 0.3578277826309204, -2.4028868675231934, 1.3973259925842285, -0.8573417067527771, 1.9668012857437134, -2.6430397033691406, 0.4471202790737152, -0.4944674074649811, -0.5318507552146912, 0.17832331359386444, -0.3293185234069824, 0.12099850177764893, -0.1428731083869934, -1.044429898262024, -0.08845506608486176, -0.8136128783226013, 0.48165246844291687, 1.119160771369934, 1.4306130409240723, -1.0677213668823242, -0.296831876039505, -1.8484212160110474, -0.13226862251758575, -0.6816243529319763, 0.3685086965560913, -1.92221200466156, -0.20302772521972656, -2.033967971801758, -2.2885499000549316, -1.4113118648529053, -0.9012266397476196, 1.038048505783081, 0.07552704960107803, -0.8733682036399841, 1.0900615453720093, -0.3137919306755066, -1.8221019506454468, 1.110872745513916, -2.1378564834594727 ]
https://github.com/huggingface/datasets/issues/3920
'datasets.features' is not a package
The problem I can no I have build my project on this version and old version on transformers. I have preprocessed the data again to use it. Thank for your reply
@albertvillanova python 3.9 os: ubuntu 20.04 In conda environment torch installed by ```/env/bin/pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html``` datasets package is installed by ``` /env/bin/pip install datasets==1.8.0 ``` During runing the code I have this error ``` [6]<stderr>: File "/home/arij/Memory-transformer-with-hierarchical-attention_MLM/env/lib/python3.9/site-packages/torch/serialization.py", line 875, in find_class [6]<stderr>: return super().find_class(mod_name, name) [6]<stderr>:ModuleNotFoundError: No module named 'datasets.features.features'; 'datasets.features' is not a package ``` precisely this error appears when torch.load('data_file.pt') ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/arij/Memory-transformer-with-hierarchical-attention_MLM/env/lib/python3.9/site-packages/torch/serialization.py", line 607, in load return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args) File "/home/arij/Memory-transformer-with-hierarchical-attention_MLM/env/lib/python3.9/site-packages/torch/serialization.py", line 882, in _load result = unpickler.load() File "/home/arij/Memory-transformer-with-hierarchical-attention_MLM/env/lib/python3.9/site-packages/torch/serialization.py", line 875, in find_class return super().find_class(mod_name, name) ModuleNotFoundError: No module named 'datasets.features.features'; 'datasets.features' is not a package ``` Why I am getting this error?
889
31
'datasets.features' is not a package @albertvillanova python 3.9 os: ubuntu 20.04 In conda environment torch installed by ```/env/bin/pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html``` datasets package is installed by ``` /env/bin/pip install datasets==1.8.0 ``` During runing the code I have this error ``` [6]<stderr>: File "/home/arij/Memory-transformer-with-hierarchical-attention_MLM/env/lib/python3.9/site-packages/torch/serialization.py", line 875, in find_class [6]<stderr>: return super().find_class(mod_name, name) [6]<stderr>:ModuleNotFoundError: No module named 'datasets.features.features'; 'datasets.features' is not a package ``` precisely this error appears when torch.load('data_file.pt') ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/arij/Memory-transformer-with-hierarchical-attention_MLM/env/lib/python3.9/site-packages/torch/serialization.py", line 607, in load return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args) File "/home/arij/Memory-transformer-with-hierarchical-attention_MLM/env/lib/python3.9/site-packages/torch/serialization.py", line 882, in _load result = unpickler.load() File "/home/arij/Memory-transformer-with-hierarchical-attention_MLM/env/lib/python3.9/site-packages/torch/serialization.py", line 875, in find_class return super().find_class(mod_name, name) ModuleNotFoundError: No module named 'datasets.features.features'; 'datasets.features' is not a package ``` Why I am getting this error? The problem I can no I have build my project on this version and old version on transformers. I have preprocessed the data again to use it. Thank for your reply
[ -1.144170880317688, -0.906259298324585, -0.657737135887146, 1.4728937149047852, -0.10437148064374924, -1.213576078414917, 0.15358619391918182, -0.9804967641830444, 1.5766850709915161, -0.7099618315696716, 0.3281504213809967, -1.6832873821258545, -0.14774122834205627, -0.4955398142337799, -0.7391092777252197, -0.8485087752342224, -0.28122052550315857, -0.8147030472755432, 1.0146564245224, 2.484665870666504, 1.2805004119873047, -1.3709046840667725, 2.7355966567993164, 0.6192641258239746, -0.3170543611049652, -1.0462290048599243, 0.5627181529998779, -0.03310489282011986, -1.2406634092330933, -0.4113085865974426, -0.9652120471000671, -0.03639637678861618, -0.6304270029067993, -0.4229549765586853, 0.1343427151441574, 0.4012342393398285, -0.21788783371448517, -0.29642170667648315, -0.5652586817741394, -0.7666739225387573, 0.4771689772605896, -0.391690731048584, 0.933973491191864, -0.26984861493110657, 1.7004026174545288, -0.6743006706237793, 0.43918049335479736, 0.7321970462799072, 1.2838590145111084, 0.18854786455631256, 0.01195644959807396, 0.2992020547389984, 0.36060723662376404, 0.014447560533881187, 0.6426385641098022, 1.2562856674194336, 0.5605624318122864, 0.5000880360603333, 0.6656859517097473, -2.2592062950134277, 1.2989327907562256, -0.8799275159835815, 0.1897951364517212, 1.2690608501434326, -0.8393954038619995, 0.3573015332221985, -1.8863564729690552, -0.10719078779220581, 0.5914922952651978, -2.310934543609619, 0.20968133211135864, -1.3896385431289673, -0.5698494911193848, 0.9215431213378906, 0.3292883634567261, -1.2403743267059326, 0.13369344174861908, -0.3837803304195404, 1.033645749092102, 0.40384846925735474, 1.1416609287261963, -1.644078254699707, -0.012838679365813732, -0.19575969874858856, 0.23068273067474365, -1.2083275318145752, -1.6388198137283325, 0.6335343718528748, 0.6068437099456787, 0.6482315063476562, -0.1673591285943985, 1.058337926864624, -1.078355073928833, 0.8561394810676575, -0.9995486736297607, -1.7487373352050781, -1.4312212467193604, -2.3384175300598145, -2.2907543182373047, 0.7764201760292053, -0.5115330815315247, -0.4349571168422699, 2.026014804840088, -0.9961615800857544, -1.770910620689392, 1.0186419486999512, 0.29022878408432007, 0.04284480959177017, 2.3709325790405273, 0.2247997373342514, -0.7557498216629028, 0.43917933106422424, -0.8104285597801208, 0.7411018013954163, -0.28337252140045166, 1.3269556760787964, 0.44871488213539124, -0.9798281192779541, 1.605616807937622, -0.4341679811477661, 0.5027471780776978, -0.7133774757385254, -0.43264979124069214, -0.6838499307632446, 0.245478093624115, 1.9069639444351196, -0.31335243582725525, 1.5318865776062012, -0.24861380457878113, -1.5134780406951904, -1.503596305847168, 0.7901250720024109, 0.5301162004470825, -0.8838717341423035, 0.09492333978414536, -0.4019663631916046, 0.2239675223827362, 0.04131948575377464, 1.1593574285507202, 1.2765287160873413, 0.7547978758811951, -0.22317104041576385, -0.8483529686927795, 0.1950480341911316, -0.11569366604089737, -0.6533022522926331, -1.8513057231903076, -0.33966970443725586, 0.18771515786647797, 0.6930789947509766, -1.2535232305526733, 1.8413845300674438, 0.8794552087783813, 2.0379257202148438, 0.9347656965255737, -0.45302510261535645, 1.5494160652160645, 0.011836322024464607, 1.8681379556655884, -0.41239193081855774, 0.5856186747550964, -0.5053764581680298, -1.1167511940002441, 0.8463580012321472, -0.303702712059021, -1.9040672779083252, -0.6442093253135681, -0.8649086356163025, -0.12935243546962738, -0.8010156750679016, 0.8897836208343506, -0.24523302912712097, -1.4521371126174927, 0.1377267986536026, -0.7289011478424072, 0.062458813190460205, -1.2818472385406494, 0.22961369156837463, 0.7071791887283325, -0.7030597925186157, -0.005590417422354221, -0.3859284222126007, -1.2376798391342163, -0.5934711694717407, 0.34182047843933105, 1.9265304803848267, -0.640446662902832, 0.9485304355621338, 0.9679582715034485, -0.7394807934761047, 0.06734567880630493, 0.28284046053886414, -0.31875079870224, 0.737885057926178, -1.0930544137954712, -0.4182356297969818, 1.1189957857131958, -0.14703616499900818, -0.6984701156616211, 1.3881727457046509, 0.793565034866333, -1.1107699871063232, -0.2530418336391449, -0.28365224599838257, -0.79358971118927, 0.027800358831882477, -1.622806429862976, -0.19743217527866364, 0.36296218633651733, -1.4627373218536377, -0.3499162793159485, -0.21314705908298492, 1.333966612815857, -0.15357705950737, 1.4672050476074219, -0.2724837064743042, -0.21044403314590454, -0.37525901198387146, -0.4612543284893036, 0.09651122987270355, -0.20300698280334473, -0.633599579334259, 0.3167247474193573, -0.8665878176689148, 0.2570888102054596, 1.5331165790557861, 0.26383963227272034, 0.05370097607374191, 0.4671803414821625, 1.128212571144104, 0.394049733877182, 0.019287843257188797, -0.9792661070823669, -1.524420976638794, 2.0037875175476074, -1.4804919958114624, 1.9336209297180176, 0.7763583660125732, -0.018214808776974678, -1.8411442041397095, -1.863356113433838, 1.3293137550354004, 1.1302871704101562, 2.473705768585205, 0.5824988484382629, 0.436105877161026, -0.7210235595703125, -0.6087085008621216, 0.3805956542491913, -0.9351544380187988, -0.7627363801002502, 0.2037345916032791, 2.3888440132141113, 1.7652759552001953, -0.5326992869377136, -0.26118963956832886, -0.8414545059204102, 1.3355311155319214, -0.18784992396831512, 0.2932540774345398, 2.0886101722717285, -0.28627339005470276, -1.022349238395691, 1.2790995836257935, -2.351733684539795, 0.25359413027763367, 2.0748376846313477, 0.19131730496883392, 0.14621469378471375, -1.4290567636489868, -0.6525450348854065, -0.237699955701828, -0.5225884318351746, -1.2791404724121094, 0.5006943345069885, -0.2565624713897705, -0.8689775466918945, -1.4581849575042725, 0.10461398214101791, -1.1478925943374634, -1.769727110862732, 0.30601373314857483, 1.9724397659301758, 2.0867981910705566, -0.8406904935836792, 1.3854535818099976, -0.2956655025482178, 0.0006224941462278366, 1.2715529203414917, 1.2586348056793213, 3.0620741844177246, 1.9578216075897217, -1.2143895626068115, 0.7555723786354065, -0.27667316794395447, -0.507184624671936, 1.1507304906845093, -1.1208850145339966, 1.0071041584014893, -0.25593364238739014, -1.219085454940796, -1.181981086730957, 1.0406131744384766, 0.4774515926837921, -0.05565708503127098, -0.5069910883903503, 1.25228750705719, 0.18826733529567719, 1.3455681800842285, 0.6260669827461243, -0.3014347553253174, 0.5623279213905334, -0.3445444107055664, -0.48784345388412476, 1.699175477027893, 0.18298017978668213, -1.4456301927566528, -2.41158390045166, -0.18890441954135895, -1.0019958019256592, 0.030778512358665466, -0.6166985034942627, -1.029093861579895, 1.5904114246368408, 0.38456517457962036, -1.1482279300689697, -0.20267774164676666, -0.40057000517845154, -0.5402690768241882, 2.6158394813537598, -1.3302809000015259, -0.13723663985729218, -1.0009453296661377, -0.50562584400177, 1.611162781715393, -1.1636708974838257, -0.20805157721042633, -1.0181728601455688, -0.5646385550498962, -1.3464860916137695, -0.4742756485939026, 0.0489015206694603, -0.860069990158081, 0.760429859161377, 0.22198139131069183, -1.191925287246704, -0.3526983857154846, -0.9519283771514893, 0.9534804821014404, -0.08912111073732376, 0.17295271158218384, 1.8805593252182007, 0.3140948414802551, -0.4249860942363739, 0.7916807532310486, 1.144445776939392, 0.5805965065956116, -0.5839934349060059, 0.22248411178588867, -0.6776701211929321, 0.3144373595714569, -1.4101701974868774, 0.23073798418045044, -2.8942699432373047, 0.7580565214157104, -0.0866086333990097, -0.10786676406860352, -0.12506291270256042, -1.2814100980758667, 1.1024913787841797, 2.5762276649475098, -1.1434123516082764, 0.5280605554580688, 0.36550578474998474, 1.169018268585205, -1.5736461877822876, 0.23838292062282562, -0.4755772054195404, 2.080848217010498, 0.15086263418197632, 1.2182739973068237, -0.47168299555778503, -2.293139934539795, 0.6214333176612854, -1.1899820566177368, -0.9736286997795105, 0.811866283416748, -0.8402770757675171, 0.18782752752304077, -1.3842482566833496, -0.15741540491580963, -0.9053164124488831, -1.2412693500518799, 0.7921544909477234, 0.08512526005506516, 0.47854021191596985, -0.5976872444152832, 0.37332475185394287, -2.2029876708984375, -1.4744199514389038, -0.2162376195192337, -0.9939209222793579, 0.5293911695480347, -0.390855997800827, 0.6610573530197144, -0.11274544149637222, 0.04211911931633949, 0.28275254368782043, 1.4210355281829834, 3.3723349571228027, 0.12175649404525757, 0.3070541024208069, -0.21455436944961548, -1.0222710371017456, 1.49777352809906, 0.8594659566879272, -0.16365094482898712, -0.5605899691581726, -1.1247068643569946, 1.259304404258728, 1.9720205068588257, 1.1003755331039429, 0.15683230757713318, -0.897983968257904, -0.7768910527229309, -0.0017699627205729485, 0.20688937604427338, 0.5768940448760986, 0.997004508972168, 0.02861856296658516, 0.10516342520713806, 1.316452145576477, 1.1513923406600952, -0.3061729371547699, 0.452080637216568, -0.9915863871574402, -0.39798280596733093, 0.40521878004074097, 0.22290760278701782, 0.03458220139145851, 0.38791751861572266, -1.0021437406539917, -0.3290153741836548, -0.28318217396736145, -0.8738422989845276, -0.8203871250152588, -0.38424456119537354, -0.3627951443195343, 1.6636991500854492, 0.012084510177373886, -0.49166229367256165, 0.051557354629039764, -0.6707382798194885, -0.05232810974121094, -1.0725834369659424, 0.14474935829639435, -0.0662640929222107, -0.03616972267627716, -0.144254669547081, 1.6780786514282227, -0.8564759492874146, -2.0605998039245605, 0.22150470316410065, 0.35843712091445923, -0.3917192816734314, 0.1835220903158188, 1.7892087697982788, 0.5536383986473083, 1.2970612049102783, 1.3712953329086304, 1.0061371326446533, -0.5132073760032654, -1.2545204162597656, 0.640076220035553, 0.9163148403167725, -1.3851468563079834, 0.9106751680374146, -0.1711837202310562, -0.4434660077095032, 0.5930354595184326, 1.3000823259353638, 0.4333353638648987, -2.078197479248047, 0.8763951659202576, -0.9047144055366516, 0.8064730763435364, 0.75133216381073, 0.8390757441520691, 0.20875543355941772, 0.848460853099823, -1.1838045120239258, -1.1015764474868774, -0.6918953061103821, -0.6029589772224426, 1.8905175924301147, -0.20189248025417328, 0.4750792384147644, -0.14450223743915558, -1.2814528942108154, -0.11423782259225845, 0.7249414324760437, 0.3741720914840698, -0.48084738850593567, 0.8430724740028381, -0.5878161191940308, -0.9781955480575562, -1.2698783874511719, -0.48841649293899536, -1.0496704578399658, -0.9177278876304626, 1.0251749753952026, 0.8567962050437927, 0.46784093976020813, 1.9499938488006592, 0.582700252532959, 0.24040862917900085, -2.6262712478637695, 0.9250577688217163, 0.3298196494579315, -0.06476195156574249, 0.8986605405807495, 0.2497330904006958, 1.1461807489395142, -0.21558111906051636, 0.6397055387496948, -2.375603199005127, 2.2728986740112305, -0.20656457543373108, 0.6831842064857483, 0.07800276577472687, -0.16251473128795624, 1.0089366436004639, 0.5326755046844482, 0.6129796504974365, -1.0860942602157593, 0.7066680788993835, -0.674159824848175, 1.1555230617523193, 0.8936601281166077, -0.8913573026657104, 0.05607113987207413, 1.3629200458526611, 0.4082390367984772, -0.5423877835273743, -0.932519257068634, -0.9369672536849976, 0.9305107593536377, 1.715955138206482, -0.06082010641694069, 0.008604999631643295, 0.8809514045715332, 0.6275310516357422, -1.223618507385254, 0.05360140651464462, -0.6420220136642456, -0.6675229072570801, 1.6934690475463867, 2.0661368370056152, -0.16433057188987732, -0.17578591406345367, -0.7152752876281738, -1.2680636644363403, 0.747913122177124, 0.050204772502183914, 0.09371843934059143, 0.7642754912376404, -0.6489789485931396, 1.167548656463623, 0.6151439547538757, 0.98604416847229, 0.16250371932983398, 0.3055785298347473, 0.29681825637817383, -0.3772404193878174, -1.1781986951828003, -0.35486629605293274, -1.1024730205535889, -2.5486631393432617, 0.48729532957077026, -0.20550943911075592, -1.3754489421844482, 0.04431840404868126, -1.0020779371261597, 0.7900350689888, -0.6088141798973083, -1.117225170135498, -1.3581260442733765, 0.24722304940223694, -0.23628562688827515, 0.9095543622970581, -1.7399722337722778, -0.1394222527742386, 1.2679330110549927, 0.998276948928833, -0.6679481863975525, 0.9175450205802917, 0.2537674605846405, 1.010704755783081, 0.875802755355835, -0.322327584028244, 0.5654239058494568, 0.04403819516301155, -1.2652089595794678, 0.3499270975589752, 1.2204883098602295, 0.20011542737483978, 1.3557900190353394, -0.5367832779884338, 0.06432944536209106, 0.4008684754371643, -0.5081667304039001, -0.5047796368598938, -0.5272428393363953, 0.7178218364715576, 0.00362381711602211, -1.0844806432724, -0.0633229985833168, -0.06567473709583282, -0.11854267120361328, 0.1764422059059143, -1.4994243383407593, -0.22560249269008636, -0.2895672023296356, -0.43991297483444214, -1.339328646659851, -0.022062528878450394, 1.2728139162063599, -0.7898226380348206, -0.20149530470371246, 0.39576128125190735, 0.270779013633728, 0.5612885355949402, 0.5430256128311157, -0.7268060445785522, -0.42034879326820374, -0.24029798805713654, -0.3250422477722168, 0.3325709402561188, 1.2969005107879639, -0.0827663317322731, -1.03316330909729, 0.6139199137687683, -0.36125579476356506, 0.16694161295890808, 2.0164566040039062, -0.046933308243751526, -0.8105707764625549, 0.30430737137794495, -0.6620854139328003, 1.7175801992416382, 1.7070398330688477, 1.2710248231887817, -0.10281895846128464, -0.846757173538208, 0.6153402328491211, -0.36962199211120605, -0.378107488155365, 0.8755752444267273, 0.4072466790676117, -0.24984672665596008, -1.3996872901916504, 0.6187240481376648, 1.333602786064148, -0.7799999713897705, -0.8543038964271545, 0.055414944887161255, -0.8115798234939575, 1.1874017715454102, 0.6119273900985718, 0.268502414226532, 0.23579062521457672, 1.521264672279358, 0.7876384258270264, -0.47999778389930725, 0.5634582042694092, 0.43841275572776794, -0.1744755357503891, -2.146754741668701, -1.0635615587234497, 0.30125904083251953, -0.3333110809326172, -1.6072860956192017, 1.367350459098816, -1.2036195993423462, -0.9689865112304688, 0.618431568145752, 0.14024876058101654, 1.3656972646713257, 0.38587263226509094, 1.7180681228637695, 2.078207492828369, 0.855885922908783, 0.4280380308628082, 1.2034249305725098, -0.13029175996780396, -0.49777889251708984, 1.823440670967102, -0.4750688076019287, 0.5747473835945129, 0.9847864508628845, -0.2996070981025696, -1.1179008483886719, -0.9177237749099731, -1.2840256690979004, -0.642829418182373, 1.2050784826278687, 0.11285953223705292, -1.1386480331420898, 0.26059970259666443, 1.6484649181365967, 0.06122007966041565, -0.2389146238565445, 0.7299620509147644, 0.3617456555366516, -0.745904266834259, -0.030919907614588737, -0.8605892658233643, 0.5178931951522827, -0.11602415144443512, -0.3238656222820282, 0.28302276134490967, 0.5110385417938232, 1.3136813640594482, 0.04732516407966614, 0.06905849277973175, 1.2286863327026367, -1.3878369331359863, 1.5456976890563965, -0.6559885144233704, 0.3578277826309204, -2.4028868675231934, 1.3973259925842285, -0.8573417067527771, 1.9668012857437134, -2.6430397033691406, 0.4471202790737152, -0.4944674074649811, -0.5318507552146912, 0.17832331359386444, -0.3293185234069824, 0.12099850177764893, -0.1428731083869934, -1.044429898262024, -0.08845506608486176, -0.8136128783226013, 0.48165246844291687, 1.119160771369934, 1.4306130409240723, -1.0677213668823242, -0.296831876039505, -1.8484212160110474, -0.13226862251758575, -0.6816243529319763, 0.3685086965560913, -1.92221200466156, -0.20302772521972656, -2.033967971801758, -2.2885499000549316, -1.4113118648529053, -0.9012266397476196, 1.038048505783081, 0.07552704960107803, -0.8733682036399841, 1.0900615453720093, -0.3137919306755066, -1.8221019506454468, 1.110872745513916, -2.1378564834594727 ]
https://github.com/huggingface/datasets/issues/3919
AttributeError: 'DatasetDict' object has no attribute 'features'
You are likely trying to get the `features` from a `DatasetDict`, a dictionary containing `Datasets`. You probably first want to index into a particular split from your `DatasetDict` i.e. `dataset['train'].features`. For example ```python ds = load_dataset('mnist') ds.features ``` Returns ```python --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) [<ipython-input-39-791c1f9df6c2>](https://localhost:8080/#) in <module>() ----> 1 ds.features AttributeError: 'DatasetDict' object has no attribute 'features' ``` If we look at the dataset variable, we see it is a `DatasetDict`: ```python print(ds) DatasetDict({ train: Dataset({ features: ['image', 'label'], num_rows: 60000 }) test: Dataset({ features: ['image', 'label'], num_rows: 10000 }) }) ``` We can grab the features from a split by indexing into `train`: ```python ds['train'].features {'image': Image(decode=True, id=None), 'label': ClassLabel(num_classes=10, names=['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], id=None)} ``` Hope that helps
## Describe the bug Receiving the error when trying to check for Dataset features ## Steps to reproduce the bug from datasets import Dataset dataset = Dataset.from_pandas(df[['id', 'words', 'bboxes', 'ner_tags', 'image_path']]) dataset.features ## Expected results A clear and concise description of the expected results. ## Actual results Getting the following errror AttributeError: 'DatasetDict' object has no attribute 'features' ## Environment info Copy-and-paste the text below in your GitHub issue. - `datasets` version: 1.18.4 - Platform: Linux-4.14.252-131.483.amzn1.x86_64-x86_64-with-glibc2.9 - Python version: 3.6.13 - PyArrow version: 6.0.1
890
129
AttributeError: 'DatasetDict' object has no attribute 'features' ## Describe the bug Receiving the error when trying to check for Dataset features ## Steps to reproduce the bug from datasets import Dataset dataset = Dataset.from_pandas(df[['id', 'words', 'bboxes', 'ner_tags', 'image_path']]) dataset.features ## Expected results A clear and concise description of the expected results. ## Actual results Getting the following errror AttributeError: 'DatasetDict' object has no attribute 'features' ## Environment info Copy-and-paste the text below in your GitHub issue. - `datasets` version: 1.18.4 - Platform: Linux-4.14.252-131.483.amzn1.x86_64-x86_64-with-glibc2.9 - Python version: 3.6.13 - PyArrow version: 6.0.1 You are likely trying to get the `features` from a `DatasetDict`, a dictionary containing `Datasets`. You probably first want to index into a particular split from your `DatasetDict` i.e. `dataset['train'].features`. For example ```python ds = load_dataset('mnist') ds.features ``` Returns ```python --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) [<ipython-input-39-791c1f9df6c2>](https://localhost:8080/#) in <module>() ----> 1 ds.features AttributeError: 'DatasetDict' object has no attribute 'features' ``` If we look at the dataset variable, we see it is a `DatasetDict`: ```python print(ds) DatasetDict({ train: Dataset({ features: ['image', 'label'], num_rows: 60000 }) test: Dataset({ features: ['image', 'label'], num_rows: 10000 }) }) ``` We can grab the features from a split by indexing into `train`: ```python ds['train'].features {'image': Image(decode=True, id=None), 'label': ClassLabel(num_classes=10, names=['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], id=None)} ``` Hope that helps
[ -1.1706851720809937, -0.8158400058746338, -0.616905927658081, 1.4343822002410889, -0.012097821570932865, -1.388821005821228, 0.05192132666707039, -0.8693704009056091, 1.7435004711151123, -0.8247573971748352, 0.3007237911224365, -1.787278413772583, 0.07099819928407669, -0.6636015772819519, -0.705170750617981, -0.6223393678665161, -0.3050113320350647, -0.6222886443138123, 1.148603081703186, 2.370959758758545, 1.109261155128479, -1.3521487712860107, 2.821099281311035, 0.7020764350891113, -0.20239101350307465, -0.8632375597953796, 0.4048357605934143, -0.04025135189294815, -1.5097228288650513, -0.18300089240074158, -0.9574165344238281, -0.008010568097233772, -0.7239301204681396, -0.6636027693748474, 0.029700201004743576, 0.4944896399974823, -0.22261255979537964, -0.5664046406745911, -0.2993466556072235, -0.7636038661003113, 0.5046572089195251, -0.2723328769207001, 0.8574041724205017, -0.27690234780311584, 1.7423198223114014, -0.5544669032096863, 0.46361875534057617, 0.5130165815353394, 1.1846301555633545, 0.23377135396003723, -0.08414889127016068, 0.4586803615093231, 0.26760444045066833, 0.0794016644358635, 0.5800185799598694, 1.2496278285980225, 0.5876368880271912, 0.47077101469039917, 0.8422242403030396, -2.28438663482666, 1.3408257961273193, -0.7997310161590576, 0.24726787209510803, 1.27405846118927, -1.1180163621902466, 0.5030665397644043, -1.834926724433899, -0.1250484138727188, 0.3900093734264374, -2.187561511993408, 0.1564488708972931, -1.332478642463684, -0.5357635021209717, 1.0220056772232056, 0.36033880710601807, -1.206968903541565, -0.04334082826972008, -0.3545788526535034, 0.9416002631187439, 0.3772968351840973, 1.1763008832931519, -1.6837196350097656, 0.050351694226264954, -0.31679168343544006, 0.3719826638698578, -1.1735217571258545, -1.5505815744400024, 0.5862327814102173, 0.8163001537322998, 0.7019975781440735, -0.21048268675804138, 0.8857650756835938, -1.0601134300231934, 0.7111736536026001, -0.9485608339309692, -1.926559567451477, -1.242222547531128, -2.334144115447998, -2.419461965560913, 0.7469717264175415, -0.4070588946342468, -0.3993900716304779, 2.183983087539673, -1.0893499851226807, -1.8521170616149902, 1.09555983543396, 0.3796844184398651, -0.12033513933420181, 2.3383445739746094, 0.1750584989786148, -0.9573625922203064, 0.7481607794761658, -0.8437353372573853, 0.5962530374526978, -0.3438814878463745, 1.29459810256958, 0.3855379819869995, -1.0206856727600098, 1.6105207204818726, -0.42906615138053894, 0.5834348797798157, -0.7617353200912476, -0.3076511323451996, -0.5417999029159546, 0.20244958996772766, 1.9570581912994385, -0.1679239720106125, 1.4876023530960083, -0.19698747992515564, -1.4702715873718262, -1.3739030361175537, 0.7078418731689453, 0.4896405041217804, -0.764862060546875, 0.21398745477199554, -0.30578067898750305, 0.11993932723999023, 0.14809340238571167, 1.0977718830108643, 1.2752323150634766, 0.8007861375808716, -0.14436101913452148, -0.9692513942718506, 0.12486760318279266, 0.008485621772706509, -0.5959519743919373, -1.7236077785491943, -0.21041156351566315, 0.1416081339120865, 0.6700533032417297, -1.1890400648117065, 1.851183295249939, 0.8311923146247864, 2.104139566421509, 0.9563218951225281, -0.32038217782974243, 1.5590171813964844, 0.13501258194446564, 1.9396041631698608, -0.2768057882785797, 0.6986743211746216, -0.5002681016921997, -1.138582706451416, 0.6619482636451721, -0.32951098680496216, -2.0023181438446045, -0.29426488280296326, -0.9910898208618164, -0.09964831918478012, -0.8857162594795227, 1.0076181888580322, -0.12818937003612518, -1.4118050336837769, 0.3007715940475464, -0.7293877005577087, 0.18727630376815796, -1.4192174673080444, 0.24123048782348633, 0.72750324010849, -0.6719287037849426, 0.14460241794586182, -0.4509376883506775, -1.4926198720932007, -0.6069799661636353, 0.5055241584777832, 1.6485384702682495, -0.7582313418388367, 0.9718680381774902, 1.079153299331665, -0.5764685869216919, -0.19311726093292236, 0.4803868532180786, -0.3062056005001068, 0.8946619033813477, -1.0318794250488281, -0.47563478350639343, 1.0711913108825684, -0.24480444192886353, -0.5127314925193787, 1.304508090019226, 0.6882411241531372, -0.9667798280715942, -0.2722458243370056, -0.09609610587358475, -0.8082904815673828, 0.00010034721344709396, -1.6732083559036255, -0.10677383095026016, 0.27793970704078674, -1.5147185325622559, -0.4882284700870514, -0.13860058784484863, 1.2081338167190552, 0.04316782206296921, 1.3179523944854736, -0.2184762954711914, -0.11791886389255524, -0.5234420895576477, -0.5122973918914795, 0.12674309313297272, -0.16924579441547394, -0.6441739797592163, 0.26869913935661316, -0.7219493985176086, 0.19107578694820404, 1.4595736265182495, 0.2656891644001007, 0.12926968932151794, 0.5712367296218872, 1.2395836114883423, 0.3068886995315552, -0.15456324815750122, -0.8201639652252197, -1.7378721237182617, 2.0335733890533447, -1.5824528932571411, 1.9642324447631836, 0.7036100029945374, 0.05286245420575142, -1.8911759853363037, -1.9029189348220825, 1.579058289527893, 1.0935249328613281, 2.4954710006713867, 0.6377545595169067, 0.409490168094635, -0.8575750589370728, -0.6370916962623596, 0.388597309589386, -0.6400638818740845, -0.9377651214599609, 0.15064571797847748, 2.339755058288574, 1.708546757698059, -0.30193111300468445, -0.15477509796619415, -0.9915247559547424, 1.4091466665267944, -0.2506362795829773, 0.30429959297180176, 1.8222122192382812, -0.41836366057395935, -1.0284079313278198, 1.343256950378418, -2.3832714557647705, 0.2770838439464569, 1.9864689111709595, 0.234673872590065, 0.0660429447889328, -1.1461166143417358, -0.7816722989082336, -0.13385061919689178, -0.4333334267139435, -1.2608377933502197, 0.36245661973953247, -0.24464595317840576, -0.7890111207962036, -1.434022068977356, 0.10001230984926224, -1.1221299171447754, -1.6654876470565796, 0.23806467652320862, 1.7997395992279053, 2.1520605087280273, -0.7720588445663452, 1.3923215866088867, -0.22863805294036865, 0.41801273822784424, 1.2084540128707886, 1.1804871559143066, 3.2063112258911133, 1.9067063331604004, -1.285313606262207, 0.7111661434173584, -0.07615049183368683, -0.5323200225830078, 1.2912204265594482, -1.0618655681610107, 1.2082582712173462, -0.29674938321113586, -1.3620940446853638, -1.1698843240737915, 0.8230884671211243, 0.4530829191207886, -0.026011228561401367, -0.46392446756362915, 1.0706349611282349, 0.07799375057220459, 1.2694271802902222, 0.6303918957710266, -0.29640623927116394, 0.571723222732544, -0.30229973793029785, -0.5419665575027466, 1.4791978597640991, 0.0322471484541893, -1.4215037822723389, -2.2857911586761475, -0.17665518820285797, -0.9597097635269165, -0.024047818034887314, -0.8660877346992493, -1.0205531120300293, 1.5054374933242798, 0.4802131950855255, -0.9256876111030579, -0.06474889069795609, -0.36586660146713257, -0.5822042226791382, 2.6197097301483154, -1.4117093086242676, -0.32032105326652527, -1.0193290710449219, -0.616821825504303, 1.538164734840393, -1.1256494522094727, -0.248878613114357, -1.0788185596466064, -0.49228018522262573, -1.3324929475784302, -0.5145556330680847, -0.0797344297170639, -0.7452656030654907, 0.8504294753074646, 0.044226136058568954, -1.3548692464828491, -0.23225149512290955, -1.1512326002120972, 0.8124575614929199, -0.3498089611530304, 0.048982247710227966, 1.8075803518295288, 0.2909681797027588, -0.3691275417804718, 0.7482832074165344, 1.192387580871582, 0.6302035450935364, -0.5377889275550842, 0.3328295648097992, -0.6544988751411438, 0.491658478975296, -1.251329779624939, 0.34683841466903687, -2.888201951980591, 0.5957058668136597, 0.12614142894744873, 0.030424095690250397, -0.11298928409814835, -1.482857346534729, 0.9060168266296387, 2.46543288230896, -1.131484031677246, 0.6718283295631409, 0.24020320177078247, 1.2905402183532715, -1.6118693351745605, -0.02989702671766281, -0.6212831139564514, 2.1155571937561035, -0.034891292452812195, 1.0553497076034546, -0.4920755922794342, -2.4149770736694336, 0.5595648884773254, -1.1929830312728882, -0.9511739611625671, 0.7354293465614319, -0.9363012313842773, 0.22536954283714294, -1.1716670989990234, -0.12847459316253662, -0.9016935229301453, -1.0903775691986084, 0.5399441719055176, 0.08348225802183151, 0.6806076169013977, -0.7044269442558289, 0.29062536358833313, -2.234039068222046, -1.3721563816070557, -0.17219993472099304, -0.925163984298706, 0.5145733952522278, -0.26535066962242126, 0.6891801357269287, -0.15545929968357086, -0.0545198880136013, 0.23944523930549622, 1.4483124017715454, 3.185364007949829, 0.05196663364768028, 0.3723534643650055, -0.2099112719297409, -1.0262233018875122, 1.4994889497756958, 0.9075525403022766, -0.2765927016735077, -0.5609646439552307, -0.9958603978157043, 1.38321053981781, 1.895824670791626, 1.0118050575256348, 0.03889451175928116, -0.8440114855766296, -0.8617674708366394, 0.23266887664794922, 0.1433297097682953, 0.46827083826065063, 0.9300985336303711, 0.3044641613960266, 0.19259873032569885, 1.372656226158142, 1.0501551628112793, -0.3482975959777832, 0.5075979232788086, -0.8787617087364197, -0.4495416283607483, 0.5962144732475281, 0.39684784412384033, 0.0009610019624233246, 0.2018599510192871, -1.1126562356948853, -0.1884472370147705, -0.27249136567115784, -0.8412929773330688, -0.7629584670066833, -0.3102450370788574, -0.37989717721939087, 1.7526472806930542, -0.06188612058758736, -0.625537633895874, -0.043514057993888855, -0.7902376055717468, -0.0015152785927057266, -0.870627224445343, 0.35274240374565125, -0.24066638946533203, 0.0862022414803505, -0.10819032788276672, 1.6433613300323486, -0.9533698558807373, -2.146897554397583, 0.12885074317455292, 0.2672543525695801, -0.3768632709980011, -0.07954887300729752, 1.809800148010254, 0.5807391405105591, 1.478657603263855, 1.6477130651474, 1.1159889698028564, -0.6744856238365173, -1.3261631727218628, 0.6666969060897827, 0.8938406705856323, -1.2896255254745483, 0.8817342519760132, -0.07448079437017441, -0.6523298025131226, 0.5168229937553406, 1.3915616273880005, 0.46513062715530396, -2.026231527328491, 0.8134984970092773, -1.1161643266677856, 0.8557394742965698, 0.8501971364021301, 0.9172134399414062, 0.09191729128360748, 0.7991935014724731, -1.287620186805725, -1.0011427402496338, -0.6674712300300598, -0.6431325078010559, 1.764766812324524, -0.26422011852264404, 0.3283657729625702, -0.2971404194831848, -1.330506682395935, 0.12762190401554108, 0.6299500465393066, 0.34922370314598083, -0.3718443810939789, 0.6753891706466675, -0.7226547002792358, -1.1807072162628174, -1.3322604894638062, -0.5434319972991943, -0.9753578901290894, -0.8277607560157776, 0.9242557287216187, 0.799754798412323, 0.48797735571861267, 1.8923888206481934, 0.7130096554756165, 0.08778463304042816, -2.565443754196167, 0.8246563076972961, 0.327904611825943, -0.07261192053556442, 0.7074254155158997, 0.2699092626571655, 1.1368573904037476, -0.19171810150146484, 0.5844982862472534, -2.27133846282959, 2.181405782699585, -0.30135801434516907, 0.7600778341293335, 0.029075846076011658, 0.004355238750576973, 0.8668342232704163, 0.45468881726264954, 0.5792849659919739, -1.084261178970337, 0.9379895329475403, -0.7102321982383728, 1.2280488014221191, 0.8602311015129089, -0.866165041923523, 0.12731032073497772, 1.18016517162323, 0.33040493726730347, -0.6095306277275085, -1.0252110958099365, -0.9219204187393188, 0.9459708333015442, 1.784607172012329, 0.02084025740623474, 0.043242763727903366, 0.8676435947418213, 0.789580225944519, -1.3073827028274536, -0.03192586079239845, -0.5772804617881775, -0.5922984480857849, 1.8250353336334229, 1.993435025215149, -0.08859714865684509, -0.041081033647060394, -0.7378025650978088, -1.4069205522537231, 0.7661551237106323, 0.2389223575592041, -0.09969667345285416, 0.8658884763717651, -0.6794431209564209, 1.2440580129623413, 0.8650054931640625, 0.7577163577079773, 0.2662839889526367, 0.0817931666970253, 0.21791651844978333, -0.29381364583969116, -1.2620755434036255, -0.2579539716243744, -0.9210774898529053, -2.4639220237731934, 0.43036091327667236, -0.160167396068573, -1.4868907928466797, 0.16147011518478394, -0.9629209637641907, 0.7639954686164856, -0.5124883055686951, -1.1880866289138794, -1.3076931238174438, 0.26310664415359497, -0.10831411927938461, 0.6999281048774719, -1.6030150651931763, -0.07367035001516342, 1.1741808652877808, 1.0518978834152222, -0.7473112344741821, 0.9480609893798828, 0.30499473214149475, 0.985077440738678, 1.0971145629882812, -0.37533801794052124, 0.4005109965801239, 0.24051427841186523, -1.2905620336532593, 0.36340826749801636, 1.3577322959899902, 0.1888742297887802, 1.3409115076065063, -0.4742647111415863, -0.107030488550663, 0.4021568298339844, -0.20798982679843903, -0.5057438611984253, -0.8715910911560059, 0.6114876866340637, -0.15363946557044983, -0.822466254234314, -0.0707983523607254, 0.1476578265428543, -0.10323690623044968, 0.3599318265914917, -1.5531768798828125, -0.04336397722363472, -0.3115653395652771, -0.7123587727546692, -1.306498646736145, -0.08341950178146362, 1.3709959983825684, -0.8392155170440674, -0.14196307957172394, 0.5661988854408264, 0.14994753897190094, 0.4622761607170105, 0.6577603220939636, -0.724239706993103, -0.21600459516048431, -0.08033135533332825, -0.44110244512557983, 0.294473260641098, 1.3013676404953003, -0.09874042868614197, -1.0101507902145386, 0.5437385439872742, -0.32218533754348755, 0.07912012189626694, 1.886419653892517, 0.02527863159775734, -0.9787089228630066, 0.2675503194332123, -0.7826620936393738, 1.9322484731674194, 1.720993995666504, 1.3756375312805176, -0.08390702307224274, -1.051049828529358, 0.6224802136421204, -0.35507437586784363, -0.3833048343658447, 0.9169449806213379, 0.3912566602230072, -0.2568884789943695, -1.2855943441390991, 0.742091953754425, 1.279091715812683, -0.8379156589508057, -0.8451371192932129, 0.11257899552583694, -0.7884219884872437, 1.221818208694458, 0.7675231099128723, 0.2862909734249115, 0.2652651369571686, 1.6564950942993164, 0.7088678479194641, -0.49821314215660095, 0.5447186231613159, 0.4782164692878723, -0.16413021087646484, -1.960623025894165, -1.1461323499679565, 0.19303753972053528, -0.419295996427536, -1.56742262840271, 1.399407982826233, -1.3314489126205444, -0.9022136926651001, 0.5044191479682922, 0.16128185391426086, 1.3827500343322754, 0.3191865384578705, 1.6261239051818848, 1.954342246055603, 0.9244301915168762, 0.48534053564071655, 1.1915618181228638, -0.31164833903312683, -0.24212314188480377, 1.6492748260498047, -0.5178768038749695, 0.7219270467758179, 1.0474231243133545, -0.4294784963130951, -1.231030821800232, -0.8231805562973022, -1.2684242725372314, -0.7936385869979858, 1.0246065855026245, 0.14008095860481262, -1.1649889945983887, 0.4041186273097992, 1.5694231986999512, -0.021696899086236954, -0.2126394659280777, 0.7382969856262207, 0.3577856421470642, -0.7574790716171265, -0.10739927738904953, -1.0915969610214233, 0.6083080768585205, -0.34632253646850586, -0.3769577741622925, 0.24528124928474426, 0.5333731770515442, 1.217441201210022, 0.26577940583229065, 0.14649318158626556, 1.4368139505386353, -1.310107946395874, 1.2055281400680542, -1.0996626615524292, 0.3749515414237976, -2.323282480239868, 1.447737693786621, -0.9985625147819519, 1.9592845439910889, -2.7304277420043945, 0.5198235511779785, -0.48180538415908813, -0.5592808127403259, 0.18519175052642822, -0.16569608449935913, 0.046631693840026855, 0.033743616193532944, -1.1296426057815552, -0.12110458314418793, -0.931717574596405, 0.43259674310684204, 1.2513526678085327, 1.3381699323654175, -0.9485885500907898, -0.3024679720401764, -1.6348377466201782, -0.2430179864168167, -0.4453394412994385, 0.2660609483718872, -1.7909135818481445, -0.1357850730419159, -1.9762605428695679, -2.5676777362823486, -1.278895616531372, -1.010522484779358, 1.2907288074493408, 0.06434518098831177, -0.9302304983139038, 1.13162100315094, -0.4295714497566223, -1.784087061882019, 1.2286345958709717, -2.1772518157958984 ]
https://github.com/huggingface/datasets/issues/3918
datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files
Hi @willowdong! These issues were fixed on master. We will have a new release of `datasets` later today. In the meantime, you can avoid these issues by installing `datasets` from master as follows: ```bash pip install git+https://github.com/huggingface/datasets.git ```
## Describe the bug Can't load the dataset ## Steps to reproduce the bug ```python # Sample code to reproduce the bug ``` from datasets import load_dataset dataset = load_dataset('multi_news') dataset_2=load_dataset("reddit_tifu", "long") ## Actual results raise NonMatchingChecksumError(error_msg + str(bad_urls)) datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.com/uc?export=download&id=1ffWfITKFMJeqjT8loC8aiCLRNJpc_XnF'] ## Environment info - `datasets` version: 1.18.4 - Platform: macOS-10.16-x86_64-i386-64bit - Python version: 3.8.0 - PyArrow version: 6.0.1
891
38
datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files ## Describe the bug Can't load the dataset ## Steps to reproduce the bug ```python # Sample code to reproduce the bug ``` from datasets import load_dataset dataset = load_dataset('multi_news') dataset_2=load_dataset("reddit_tifu", "long") ## Actual results raise NonMatchingChecksumError(error_msg + str(bad_urls)) datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.com/uc?export=download&id=1ffWfITKFMJeqjT8loC8aiCLRNJpc_XnF'] ## Environment info - `datasets` version: 1.18.4 - Platform: macOS-10.16-x86_64-i386-64bit - Python version: 3.8.0 - PyArrow version: 6.0.1 Hi @willowdong! These issues were fixed on master. We will have a new release of `datasets` later today. In the meantime, you can avoid these issues by installing `datasets` from master as follows: ```bash pip install git+https://github.com/huggingface/datasets.git ```
[ -1.1992835998535156, -0.9001390337944031, -0.6692425012588501, 1.4684988260269165, -0.18180426955223083, -1.2333229780197144, 0.15205474197864532, -1.010611891746521, 1.716037631034851, -0.7932630181312561, 0.27385804057121277, -1.705778956413269, -0.038033150136470795, -0.5833461880683899, -0.7083417177200317, -0.8812486529350281, -0.3675932288169861, -0.679813027381897, 1.0481292009353638, 2.482353448867798, 1.1153490543365479, -1.3540858030319214, 2.695462703704834, 0.6400721073150635, -0.24104657769203186, -1.0034252405166626, 0.4835794270038605, 0.026191923767328262, -1.284571647644043, -0.39823806285858154, -0.9297251105308533, -0.026204554364085197, -0.5502508878707886, -0.5107242465019226, 0.08958601951599121, 0.37854084372520447, -0.3030669391155243, -0.4640718996524811, -0.5276628732681274, -0.8198017477989197, 0.42155736684799194, -0.3583761155605316, 0.8882821798324585, -0.32000815868377686, 1.8187055587768555, -0.5639685392379761, 0.46410509943962097, 0.7306845188140869, 1.3176133632659912, 0.1974697709083557, 0.06298200786113739, 0.3525345027446747, 0.3213096857070923, 0.020716289058327675, 0.5209673643112183, 1.111505150794983, 0.5739597082138062, 0.439182847738266, 0.6790805459022522, -2.2512924671173096, 1.211092233657837, -1.0006455183029175, 0.34639832377433777, 1.3862428665161133, -0.9487131237983704, 0.37167027592658997, -1.7925812005996704, 0.03388194739818573, 0.5693690776824951, -2.2586326599121094, 0.28247883915901184, -1.348662257194519, -0.4609358012676239, 1.0519365072250366, 0.3524802327156067, -1.1869122982025146, 0.1692008674144745, -0.3987186849117279, 1.1085172891616821, 0.44408372044563293, 1.1049370765686035, -1.6656187772750854, -0.03174479305744171, -0.24129416048526764, 0.06478431820869446, -1.2891420125961304, -1.5186012983322144, 0.5148600935935974, 0.6679137945175171, 0.6216068267822266, -0.17248304188251495, 1.000406265258789, -0.9732083082199097, 0.7385680079460144, -1.0178048610687256, -1.7351036071777344, -1.4552791118621826, -2.304399013519287, -2.4039559364318848, 0.7491409182548523, -0.4494403302669525, -0.44066423177719116, 2.039105176925659, -0.9996232390403748, -1.8037805557250977, 1.193099021911621, 0.31428784132003784, -0.012548488564789295, 2.3059780597686768, 0.2527991831302643, -0.7558782696723938, 0.45682787895202637, -0.7696323394775391, 0.7452161908149719, -0.3170722723007202, 1.3568882942199707, 0.504849910736084, -1.071065902709961, 1.5412122011184692, -0.38694125413894653, 0.5740708708763123, -0.6649232506752014, -0.48651593923568726, -0.796284019947052, 0.2533910274505615, 1.919572353363037, -0.33776864409446716, 1.5750889778137207, -0.27518537640571594, -1.5355628728866577, -1.5255638360977173, 0.8763204216957092, 0.5476665496826172, -0.6731340289115906, 0.06563958525657654, -0.33321526646614075, 0.12922006845474243, -0.05319049954414368, 1.0693916082382202, 1.1913039684295654, 0.711932897567749, -0.3789776563644409, -0.8223296403884888, 0.2282216101884842, 0.02151450514793396, -0.7172119617462158, -1.7986805438995361, -0.33177661895751953, 0.14026027917861938, 0.597916841506958, -1.2710721492767334, 1.7016733884811401, 0.8437449336051941, 1.8841928243637085, 0.9576464891433716, -0.37349992990493774, 1.5805433988571167, 0.07345522940158844, 1.9041866064071655, -0.4655705392360687, 0.6801945567131042, -0.25361067056655884, -1.1915899515151978, 0.7174679040908813, -0.3046371638774872, -2.0933339595794678, -0.7920661568641663, -0.8354114294052124, -0.16213543713092804, -0.7437229156494141, 0.8764829039573669, -0.2968222498893738, -1.5207452774047852, 0.20499970018863678, -0.7063999176025391, 0.1623714119195938, -1.300416111946106, 0.28420260548591614, 0.7477027177810669, -0.6117245554924011, 0.028601840138435364, -0.23430027067661285, -1.2747527360916138, -0.4275571405887604, 0.30570554733276367, 1.8392398357391357, -0.817977786064148, 1.006330132484436, 1.0498466491699219, -0.7795029878616333, 0.02649153769016266, 0.2578519880771637, -0.33301687240600586, 0.91706782579422, -1.019773006439209, -0.4461451470851898, 1.2522430419921875, -0.15262995660305023, -0.6139181852340698, 1.456986904144287, 0.7988302707672119, -0.9940290451049805, -0.20486748218536377, -0.19939546287059784, -0.742988646030426, -0.004826766438782215, -1.6774632930755615, -0.1269981563091278, 0.36964714527130127, -1.4589293003082275, -0.41940876841545105, -0.25850313901901245, 1.3210252523422241, -0.20786575973033905, 1.419572353363037, -0.32855144143104553, -0.22618943452835083, -0.39461585879325867, -0.4128081798553467, 0.21574167907238007, -0.25593024492263794, -0.6461435556411743, 0.21667756140232086, -0.7562577724456787, 0.3757983446121216, 1.3724157810211182, 0.3690703213214874, 0.039235953241586685, 0.5367779731750488, 1.1334102153778076, 0.33678486943244934, -0.07840104401111603, -0.8820769190788269, -1.6031335592269897, 1.9789021015167236, -1.400573492050171, 1.9766861200332642, 0.623751699924469, -0.059393610805273056, -1.766116738319397, -1.9203585386276245, 1.303821086883545, 1.154256820678711, 2.4157233238220215, 0.497730553150177, 0.4437103867530823, -0.8487693667411804, -0.6976145505905151, 0.28515195846557617, -0.9637764096260071, -0.6589792370796204, 0.1862097978591919, 2.393608570098877, 1.7706577777862549, -0.43191036581993103, -0.22428910434246063, -1.0294417142868042, 1.46239173412323, -0.18963861465454102, 0.27592042088508606, 2.02392840385437, -0.2325696498155594, -1.1152098178863525, 1.2701078653335571, -2.345479965209961, 0.18546660244464874, 1.9970507621765137, 0.20974969863891602, 0.06262828409671783, -1.431867241859436, -0.7366483211517334, -0.3040803372859955, -0.44337570667266846, -1.2594373226165771, 0.5658102631568909, -0.20889189839363098, -0.781583845615387, -1.3807616233825684, 0.1308925896883011, -1.0986906290054321, -1.7210584878921509, 0.21423441171646118, 1.909238338470459, 1.9382930994033813, -0.7494180202484131, 1.4767552614212036, -0.3154120147228241, 0.21990306675434113, 1.318858027458191, 1.2150980234146118, 3.102491617202759, 1.9178617000579834, -1.354833960533142, 0.7357631921768188, -0.10365310311317444, -0.46634548902511597, 1.1965135335922241, -1.1282366514205933, 1.271843671798706, -0.18594616651535034, -1.201371669769287, -1.2760089635849, 0.9136344790458679, 0.4939102530479431, 0.06200001761317253, -0.48762768507003784, 1.1622589826583862, 0.03436686471104622, 1.3887617588043213, 0.5814717411994934, -0.430440753698349, 0.6476428508758545, -0.38186439871788025, -0.5216634273529053, 1.5412614345550537, 0.15116170048713684, -1.3946901559829712, -2.3181662559509277, -0.3447418212890625, -0.8704749941825867, -0.05914023146033287, -0.6123731136322021, -1.0299818515777588, 1.5512124300003052, 0.4543212056159973, -1.2878673076629639, -0.286490261554718, -0.29375165700912476, -0.5170871019363403, 2.7344348430633545, -1.386353850364685, -0.16745887696743011, -0.9924006462097168, -0.5648608803749084, 1.6083860397338867, -1.0848360061645508, -0.24816367030143738, -1.0489717721939087, -0.5882113575935364, -1.3531643152236938, -0.5952678322792053, -0.00890708900988102, -0.9106424450874329, 0.8203803300857544, 0.11777195334434509, -1.1914809942245483, -0.3289167284965515, -0.9089488983154297, 0.9857475757598877, -0.06144474446773529, 0.19632400572299957, 1.8640738725662231, 0.4535250961780548, -0.28999945521354675, 0.7451958656311035, 1.118420958518982, 0.6548845171928406, -0.6858246922492981, 0.2960749566555023, -0.733731746673584, 0.28021135926246643, -1.3426363468170166, 0.20834089815616608, -2.9268088340759277, 0.7108127474784851, -0.07240505516529083, -0.07851392030715942, -0.07929906249046326, -1.3651574850082397, 1.1005260944366455, 2.592353105545044, -1.23338782787323, 0.48481354117393494, 0.3789363503456116, 1.188213586807251, -1.6290299892425537, 0.21302291750907898, -0.4258081316947937, 2.12713360786438, 0.179559126496315, 1.265053153038025, -0.4294617772102356, -2.2584774494171143, 0.594543993473053, -1.2802497148513794, -1.1875288486480713, 0.8729627132415771, -0.895810067653656, 0.14115986227989197, -1.4474737644195557, -0.21073448657989502, -0.8020792007446289, -1.2798858880996704, 0.7042070031166077, 0.10720084607601166, 0.48959583044052124, -0.5500467419624329, 0.377461701631546, -2.2194135189056396, -1.3255776166915894, -0.23369088768959045, -0.9651747345924377, 0.449025422334671, -0.2584998607635498, 0.7060689926147461, -0.11922851204872131, 0.034871987998485565, 0.36233091354370117, 1.4300864934921265, 3.401819944381714, 0.16244223713874817, 0.28750842809677124, -0.05503193289041519, -0.9641987085342407, 1.405211329460144, 0.9692413210868835, -0.1552438586950302, -0.5449556708335876, -1.0250418186187744, 1.1828259229660034, 1.9593292474746704, 1.0693756341934204, 0.006553681567311287, -0.7928970456123352, -0.7095889449119568, 0.06112593039870262, 0.17141979932785034, 0.4703744649887085, 0.8757585287094116, 0.11960263550281525, 0.12594644725322723, 1.4090464115142822, 1.1808298826217651, -0.38560184836387634, 0.37635019421577454, -0.8358779549598694, -0.538858950138092, 0.5329030752182007, 0.2462526559829712, -0.005966974422335625, 0.34928563237190247, -1.0918490886688232, -0.2566620111465454, -0.3909805715084076, -0.9063287973403931, -0.7343078255653381, -0.46989014744758606, -0.41920801997184753, 1.54751455783844, 0.0703066885471344, -0.448029100894928, -0.05972520262002945, -0.7379512190818787, -0.14667682349681854, -1.0668851137161255, 0.31455522775650024, -0.1941029280424118, -0.03277777135372162, -0.1475345492362976, 1.692122220993042, -0.9702113270759583, -1.998092532157898, 0.2075536847114563, 0.3135830760002136, -0.30297422409057617, 0.13744677603244781, 1.7106436491012573, 0.5325318574905396, 1.385023593902588, 1.3087692260742188, 0.9562140107154846, -0.6342494487762451, -1.2685517072677612, 0.6852877736091614, 0.9605490565299988, -1.3367935419082642, 0.7667669057846069, -0.01073173526674509, -0.5103980898857117, 0.6321498155593872, 1.3493059873580933, 0.4008336365222931, -1.9564329385757446, 0.8134099841117859, -0.9235897064208984, 0.6897194385528564, 0.7205167412757874, 0.7913637161254883, 0.13888172805309296, 0.8322858214378357, -1.2407561540603638, -1.0865931510925293, -0.6690295934677124, -0.6170588135719299, 1.9838777780532837, -0.23991155624389648, 0.5135889053344727, -0.18119214475154877, -1.316310167312622, -0.05367410182952881, 0.7178091406822205, 0.39193740487098694, -0.5167636275291443, 0.8315879702568054, -0.6512792706489563, -1.0712919235229492, -1.374778151512146, -0.40714889764785767, -1.07004976272583, -0.9551184773445129, 1.0110493898391724, 0.8620589375495911, 0.3465879261493683, 1.7827647924423218, 0.6425951719284058, 0.2498871088027954, -2.668769359588623, 0.8867287635803223, 0.27429279685020447, -0.07989132404327393, 0.8059552907943726, 0.2850017845630646, 1.073239803314209, -0.022100578993558884, 0.5487884879112244, -2.3636810779571533, 2.260950803756714, -0.19303932785987854, 0.6580734848976135, -0.0793718695640564, -0.13890261948108673, 1.0914106369018555, 0.4929056763648987, 0.5776097774505615, -1.0700395107269287, 0.7759540677070618, -0.5147898197174072, 1.1927690505981445, 0.8904169797897339, -0.843838632106781, -0.06300227344036102, 1.36150324344635, 0.5011425018310547, -0.4585135877132416, -0.9046769142150879, -0.8948560953140259, 0.9586771130561829, 1.7525349855422974, -0.09015597403049469, -0.06793893128633499, 0.9001489877700806, 0.7134225368499756, -1.3355011940002441, 0.055946070700883865, -0.7185152769088745, -0.6752633452415466, 1.6833057403564453, 2.0442941188812256, -0.12900832295417786, -0.2616918087005615, -0.778757631778717, -1.2117981910705566, 0.7534377574920654, -0.009686578996479511, 0.06308998167514801, 0.6496449708938599, -0.6634814143180847, 1.1275047063827515, 0.8400935530662537, 0.9191763997077942, 0.15762600302696228, 0.27280575037002563, 0.31649264693260193, -0.2702089548110962, -1.2720717191696167, -0.28703758120536804, -1.0433958768844604, -2.5391921997070312, 0.5112888813018799, -0.28303301334381104, -1.3740488290786743, 0.05649038031697273, -1.030976414680481, 0.9150152802467346, -0.6282702088356018, -1.1128798723220825, -1.4768590927124023, 0.23382100462913513, -0.11855541169643402, 0.8225165605545044, -1.6035703420639038, -0.038522109389305115, 1.319854974746704, 0.8609710931777954, -0.6631544828414917, 1.0123893022537231, 0.2713214159011841, 1.018081545829773, 0.8984975814819336, -0.378271222114563, 0.5213549137115479, 0.1151563972234726, -1.387983798980713, 0.5251010060310364, 1.1482973098754883, 0.2544355094432831, 1.5109180212020874, -0.6345717906951904, 0.061888437718153, 0.38605380058288574, -0.5393379926681519, -0.45806995034217834, -0.6505076289176941, 0.728631317615509, 0.014254160225391388, -0.9445086717605591, 0.06009800359606743, -0.06134955585002899, -0.20318323373794556, 0.193231999874115, -1.4692902565002441, -0.16881127655506134, -0.2873440086841583, -0.6258837580680847, -1.2106223106384277, -0.09400120377540588, 1.394142985343933, -0.8050674796104431, -0.18548758327960968, 0.4963751435279846, 0.30999547243118286, 0.6374687552452087, 0.6760396361351013, -0.6238618493080139, -0.31238824129104614, -0.27169594168663025, -0.35168924927711487, 0.32252225279808044, 1.3675744533538818, -0.11920782923698425, -1.036991000175476, 0.7148082256317139, -0.39417991042137146, 0.1274298131465912, 1.9716793298721313, 0.09507344663143158, -0.8217052817344666, 0.3336401879787445, -0.7257303595542908, 1.9189131259918213, 1.8179041147232056, 1.3864518404006958, -0.10390719771385193, -0.988205075263977, 0.5773499011993408, -0.3700867295265198, -0.3678373396396637, 0.9559077024459839, 0.4974520206451416, -0.14690105617046356, -1.3637526035308838, 0.679763913154602, 1.3334732055664062, -0.9272132515907288, -0.7976869344711304, 0.15404106676578522, -0.7962770462036133, 1.096243977546692, 0.6992572546005249, 0.34682750701904297, 0.23807330429553986, 1.5469797849655151, 0.7642168402671814, -0.4210141599178314, 0.5104594826698303, 0.4942830204963684, -0.22634416818618774, -2.06483793258667, -1.17180597782135, 0.4280279576778412, -0.4727010726928711, -1.6201214790344238, 1.370296597480774, -1.0940190553665161, -0.9131484627723694, 0.5825229287147522, 0.0934540331363678, 1.4353952407836914, 0.3898477554321289, 1.5921920537948608, 2.112692356109619, 0.9039189219474792, 0.3161676526069641, 1.3026443719863892, -0.14348381757736206, -0.4097690284252167, 1.7391537427902222, -0.47703391313552856, 0.45412933826446533, 1.0609561204910278, -0.36352065205574036, -1.072453260421753, -0.8391895890235901, -1.214232087135315, -0.6470543146133423, 1.2023887634277344, 0.14535367488861084, -1.1372205018997192, 0.25639480352401733, 1.591113805770874, 0.08761318027973175, -0.3323148488998413, 0.7772113680839539, 0.29060468077659607, -0.7924576997756958, -0.006756540387868881, -1.0018134117126465, 0.3905990719795227, -0.21890878677368164, -0.26359817385673523, 0.25449150800704956, 0.5093474388122559, 1.3026286363601685, 0.025781214237213135, 0.10065478086471558, 1.1680845022201538, -1.3399372100830078, 1.4131736755371094, -0.7156181335449219, 0.3490901589393616, -2.385591983795166, 1.3451718091964722, -0.8601318001747131, 1.8376421928405762, -2.637613534927368, 0.49986618757247925, -0.4666919410228729, -0.41968050599098206, 0.22752487659454346, -0.38779354095458984, 0.20844045281410217, -0.10513585805892944, -1.1885968446731567, -0.12941524386405945, -0.7977988719940186, 0.6426228284835815, 1.1071418523788452, 1.3309732675552368, -1.2019482851028442, -0.30775782465934753, -1.718245029449463, -0.20351871848106384, -0.6712090969085693, 0.37700727581977844, -1.9327760934829712, -0.17398793995380402, -1.8493051528930664, -2.429443359375, -1.2150704860687256, -0.8227543234825134, 1.1102490425109863, 0.10353444516658783, -0.8789029717445374, 1.1181318759918213, -0.37547269463539124, -1.8577052354812622, 1.1515809297561646, -2.218475341796875 ]
https://github.com/huggingface/datasets/issues/3909
Error loading file audio when downloading the Common Voice dataset directly from the Hub
Hi ! It could an issue with torchaudio, which version of torchaudio are you using ? Can you also try updating `datasets` to 2.0.0 and see if it works ?
## Describe the bug When loading the Common_Voice dataset, by downloading it directly from the Hugging Face hub, some files can not be opened. ## Steps to reproduce the bug ```python import torch import torchaudio from datasets import load_dataset, load_metric from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor import re test_dataset = load_dataset("common_voice", "it", split="test") #test_dataset = load_dataset('csv', data_files = {'test': '/workspace/Dataset/Common_Voice/cv-corpus80/it/test.csv'}) wer = load_metric("wer") processor = Wav2Vec2Processor.from_pretrained("joorock12/wav2vec2-large-xlsr-italian") model = Wav2Vec2ForCTC.from_pretrained("joorock12/wav2vec2-large-xlsr-italian") model.to("cuda") chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\'\�]' resampler = torchaudio.transforms.Resample(48_000, 16_000) ``` ## Expected results The common voice dataset downloaded and correctly loaded whit the use of the hugging face datasets library. ## Actual results The error is: ```python 0ex [00:00, ?ex/s] --------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) <ipython-input-48-ef87f4129e6e> in <module> 7 return batch 8 ----> 9 test_dataset = test_dataset.map(speech_file_to_array_fn) /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in map(self, function, with_indices, with_rank, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc, suffix_template, new_fingerprint, desc) 2107 2108 if num_proc is None or num_proc == 1: -> 2109 return self._map_single( 2110 function=function, 2111 with_indices=with_indices, /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in wrapper(*args, **kwargs) 516 self: "Dataset" = kwargs.pop("self") 517 # apply actual function --> 518 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 519 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 520 for dataset in datasets: /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in wrapper(*args, **kwargs) 483 } 484 # apply actual function --> 485 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 486 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 487 # re-apply format to the output /opt/conda/lib/python3.8/site-packages/datasets/fingerprint.py in wrapper(*args, **kwargs) 411 # Call actual function 412 --> 413 out = func(self, *args, **kwargs) 414 415 # Update fingerprint of in-place transforms + update in-place history of transforms /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in _map_single(self, function, with_indices, with_rank, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, new_fingerprint, rank, offset, disable_tqdm, desc, cache_only) 2465 if not batched: 2466 for i, example in enumerate(pbar): -> 2467 example = apply_function_on_filtered_inputs(example, i, offset=offset) 2468 if update_data: 2469 if i == 0: /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in apply_function_on_filtered_inputs(inputs, indices, check_same_num_examples, offset) 2372 if with_rank: 2373 additional_args += (rank,) -> 2374 processed_inputs = function(*fn_args, *additional_args, **fn_kwargs) 2375 if update_data is None: 2376 # Check if the function returns updated examples /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in decorated(item, *args, **kwargs) 2067 ) 2068 # Use the LazyDict internally, while mapping the function -> 2069 result = f(decorated_item, *args, **kwargs) 2070 # Return a standard dict 2071 return result.data if isinstance(result, LazyDict) else result <ipython-input-48-ef87f4129e6e> in speech_file_to_array_fn(batch) 3 def speech_file_to_array_fn(batch): 4 batch["sentence"] = re.sub(chars_to_ignore_regex, '', batch["sentence"]).lower() ----> 5 speech_array, sampling_rate = torchaudio.load(batch["path"]) 6 batch["speech"] = resampler(speech_array).squeeze().numpy() 7 return batch /opt/conda/lib/python3.8/site-packages/torchaudio/backend/sox_io_backend.py in load(filepath, frame_offset, num_frames, normalize, channels_first, format) 150 filepath, frame_offset, num_frames, normalize, channels_first, format) 151 filepath = os.fspath(filepath) --> 152 return torch.ops.torchaudio.sox_io_load_audio_file( 153 filepath, frame_offset, num_frames, normalize, channels_first, format) 154 RuntimeError: Error loading audio file: failed to open file common_voice_it_17415776.mp3 ``` ## Environment info - `datasets` version: 1.18.4 - Platform: Linux-5.4.0-x86_64-with-glibc2.10 - Python version: 3.8.5 - PyArrow version: 7.0.0
892
30
Error loading file audio when downloading the Common Voice dataset directly from the Hub ## Describe the bug When loading the Common_Voice dataset, by downloading it directly from the Hugging Face hub, some files can not be opened. ## Steps to reproduce the bug ```python import torch import torchaudio from datasets import load_dataset, load_metric from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor import re test_dataset = load_dataset("common_voice", "it", split="test") #test_dataset = load_dataset('csv', data_files = {'test': '/workspace/Dataset/Common_Voice/cv-corpus80/it/test.csv'}) wer = load_metric("wer") processor = Wav2Vec2Processor.from_pretrained("joorock12/wav2vec2-large-xlsr-italian") model = Wav2Vec2ForCTC.from_pretrained("joorock12/wav2vec2-large-xlsr-italian") model.to("cuda") chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\'\�]' resampler = torchaudio.transforms.Resample(48_000, 16_000) ``` ## Expected results The common voice dataset downloaded and correctly loaded whit the use of the hugging face datasets library. ## Actual results The error is: ```python 0ex [00:00, ?ex/s] --------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) <ipython-input-48-ef87f4129e6e> in <module> 7 return batch 8 ----> 9 test_dataset = test_dataset.map(speech_file_to_array_fn) /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in map(self, function, with_indices, with_rank, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc, suffix_template, new_fingerprint, desc) 2107 2108 if num_proc is None or num_proc == 1: -> 2109 return self._map_single( 2110 function=function, 2111 with_indices=with_indices, /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in wrapper(*args, **kwargs) 516 self: "Dataset" = kwargs.pop("self") 517 # apply actual function --> 518 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 519 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 520 for dataset in datasets: /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in wrapper(*args, **kwargs) 483 } 484 # apply actual function --> 485 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 486 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 487 # re-apply format to the output /opt/conda/lib/python3.8/site-packages/datasets/fingerprint.py in wrapper(*args, **kwargs) 411 # Call actual function 412 --> 413 out = func(self, *args, **kwargs) 414 415 # Update fingerprint of in-place transforms + update in-place history of transforms /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in _map_single(self, function, with_indices, with_rank, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, new_fingerprint, rank, offset, disable_tqdm, desc, cache_only) 2465 if not batched: 2466 for i, example in enumerate(pbar): -> 2467 example = apply_function_on_filtered_inputs(example, i, offset=offset) 2468 if update_data: 2469 if i == 0: /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in apply_function_on_filtered_inputs(inputs, indices, check_same_num_examples, offset) 2372 if with_rank: 2373 additional_args += (rank,) -> 2374 processed_inputs = function(*fn_args, *additional_args, **fn_kwargs) 2375 if update_data is None: 2376 # Check if the function returns updated examples /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in decorated(item, *args, **kwargs) 2067 ) 2068 # Use the LazyDict internally, while mapping the function -> 2069 result = f(decorated_item, *args, **kwargs) 2070 # Return a standard dict 2071 return result.data if isinstance(result, LazyDict) else result <ipython-input-48-ef87f4129e6e> in speech_file_to_array_fn(batch) 3 def speech_file_to_array_fn(batch): 4 batch["sentence"] = re.sub(chars_to_ignore_regex, '', batch["sentence"]).lower() ----> 5 speech_array, sampling_rate = torchaudio.load(batch["path"]) 6 batch["speech"] = resampler(speech_array).squeeze().numpy() 7 return batch /opt/conda/lib/python3.8/site-packages/torchaudio/backend/sox_io_backend.py in load(filepath, frame_offset, num_frames, normalize, channels_first, format) 150 filepath, frame_offset, num_frames, normalize, channels_first, format) 151 filepath = os.fspath(filepath) --> 152 return torch.ops.torchaudio.sox_io_load_audio_file( 153 filepath, frame_offset, num_frames, normalize, channels_first, format) 154 RuntimeError: Error loading audio file: failed to open file common_voice_it_17415776.mp3 ``` ## Environment info - `datasets` version: 1.18.4 - Platform: Linux-5.4.0-x86_64-with-glibc2.10 - Python version: 3.8.5 - PyArrow version: 7.0.0 Hi ! It could an issue with torchaudio, which version of torchaudio are you using ? Can you also try updating `datasets` to 2.0.0 and see if it works ?
[ -1.2060142755508423, -0.7468000650405884, -0.5914407968521118, 1.501941204071045, 0.0038217073306441307, -1.3023878335952759, 0.08678487688302994, -0.8381357192993164, 1.5659903287887573, -0.9296989440917969, 0.3711884021759033, -1.705107569694519, 0.07468905299901962, -0.6525754332542419, -0.60527503490448, -0.6568711996078491, -0.34966832399368286, -0.5765936374664307, 1.1687922477722168, 2.3735337257385254, 1.2010605335235596, -1.2601077556610107, 2.867570638656616, 0.6805363893508911, -0.3035360276699066, -0.8840884566307068, 0.40471911430358887, 0.07546015828847885, -1.4034186601638794, -0.3036603033542633, -0.9482632875442505, -0.0119029451161623, -0.6415696740150452, -0.5220664143562317, 0.054436370730400085, 0.5058248043060303, -0.2254016250371933, -0.42514780163764954, -0.43290087580680847, -0.7440735101699829, 0.5211509466171265, -0.2758849561214447, 0.8590861558914185, -0.34360671043395996, 1.8092173337936401, -0.6169735193252563, 0.4960310459136963, 0.5398848652839661, 1.1646472215652466, 0.25102242827415466, -0.062125541269779205, 0.4085317552089691, 0.22187718749046326, 0.027696439996361732, 0.6698179841041565, 1.2401620149612427, 0.5826370120048523, 0.5406072735786438, 0.7704460024833679, -2.18941593170166, 1.4077762365341187, -0.8301652669906616, 0.2563609182834625, 1.3709306716918945, -1.1040544509887695, 0.47915419936180115, -1.8106725215911865, -0.16112369298934937, 0.32127419114112854, -2.2584786415100098, 0.1053343415260315, -1.233113169670105, -0.6168479919433594, 1.0007550716400146, 0.3526681661605835, -1.197143316268921, -0.04430884122848511, -0.4037033021450043, 0.9507128596305847, 0.33467355370521545, 1.0955857038497925, -1.5949403047561646, 0.0396316722035408, -0.23593798279762268, 0.3618701994419098, -1.3101513385772705, -1.6556172370910645, 0.6679706573486328, 0.698013186454773, 0.6347925066947937, -0.14024779200553894, 0.9570881724357605, -1.1320514678955078, 0.8246835470199585, -1.003329873085022, -1.8227941989898682, -1.3088515996932983, -2.4673991203308105, -2.3725531101226807, 0.7699702978134155, -0.45590904355049133, -0.46067607402801514, 2.193880558013916, -1.14022696018219, -1.7454664707183838, 1.1061888933181763, 0.27733033895492554, -0.08034858107566833, 2.416884183883667, 0.22158461809158325, -0.9295092225074768, 0.6881393790245056, -0.8093123435974121, 0.7133726477622986, -0.35124680399894714, 1.2478939294815063, 0.35157063603401184, -1.106127142906189, 1.5416538715362549, -0.3698579967021942, 0.5353255271911621, -0.6751458644866943, -0.3630942702293396, -0.572091281414032, 0.176500603556633, 1.9838532209396362, -0.16405634582042694, 1.5722488164901733, -0.17633521556854248, -1.429996371269226, -1.438605785369873, 0.7078502774238586, 0.47472766041755676, -0.7667200565338135, 0.2260662168264389, -0.3777054250240326, 0.14284443855285645, 0.1541730910539627, 1.1042919158935547, 1.2817074060440063, 0.7885661125183105, -0.15852780640125275, -0.8367622494697571, 0.08427083492279053, -0.08359062671661377, -0.5184425711631775, -1.6737310886383057, -0.24742768704891205, 0.11697550117969513, 0.6837111711502075, -1.187652826309204, 1.9802055358886719, 0.9365473389625549, 1.9914531707763672, 1.0285234451293945, -0.30835801362991333, 1.5245327949523926, 0.16685199737548828, 1.8552753925323486, -0.3090141713619232, 0.6615654826164246, -0.5642023086547852, -1.1316734552383423, 0.6592733860015869, -0.3453868627548218, -1.9866187572479248, -0.39428436756134033, -0.9559264779090881, -0.11849308013916016, -0.8832535743713379, 1.0336604118347168, -0.2481072098016739, -1.3320809602737427, 0.18042872846126556, -0.6447784900665283, 0.20902803540229797, -1.4273000955581665, 0.2648603618144989, 0.7845832109451294, -0.7524600028991699, 0.0846991240978241, -0.4463849365711212, -1.4305360317230225, -0.5793980956077576, 0.4580512046813965, 1.7118613719940186, -0.6402822136878967, 0.9860492944717407, 1.0562578439712524, -0.6195639371871948, -0.08859134465456009, 0.5015378594398499, -0.35062721371650696, 0.8326516151428223, -0.9292819499969482, -0.5038155913352966, 1.0810036659240723, -0.3440289795398712, -0.5332053899765015, 1.3153859376907349, 0.7280009984970093, -1.0551170110702515, -0.3377382755279541, -0.1202731654047966, -0.8909582495689392, 0.06985972821712494, -1.5667927265167236, -0.10353381186723709, 0.3123663067817688, -1.5407214164733887, -0.4603153169155121, -0.1065867617726326, 1.166709303855896, -0.0682968869805336, 1.3771333694458008, -0.28910428285598755, -0.09252407401800156, -0.47360140085220337, -0.6465054750442505, 0.12815755605697632, -0.07630797475576401, -0.6647247672080994, 0.2575409710407257, -0.746655285358429, 0.1870768815279007, 1.4878804683685303, 0.28729817271232605, 0.08924272656440735, 0.5447902679443359, 1.2516969442367554, 0.273742139339447, -0.22486113011837006, -0.8310738205909729, -1.71074640750885, 2.057856321334839, -1.6299772262573242, 1.9833648204803467, 0.8411312699317932, -0.02047136053442955, -1.872960090637207, -1.7718241214752197, 1.4958138465881348, 1.171873688697815, 2.453934669494629, 0.4952136278152466, 0.42684370279312134, -0.804507315158844, -0.6992505192756653, 0.4205838441848755, -0.7650003433227539, -0.864025354385376, 0.1302490383386612, 2.331272840499878, 1.745320439338684, -0.3527897596359253, -0.13909286260604858, -0.8556962013244629, 1.3708525896072388, -0.31232866644859314, 0.2761886417865753, 1.852317214012146, -0.4258439540863037, -1.0258055925369263, 1.3348751068115234, -2.3893954753875732, 0.30137160420417786, 2.0218148231506348, 0.30838391184806824, 0.020794544368982315, -1.1376405954360962, -0.7106205821037292, -0.2311142534017563, -0.368431955575943, -1.313621163368225, 0.364732563495636, -0.23694084584712982, -0.7805874943733215, -1.4060862064361572, 0.027585802599787712, -1.245236873626709, -1.6625707149505615, 0.3970566987991333, 1.7683218717575073, 2.1568779945373535, -0.8002633452415466, 1.259489893913269, -0.24669204652309418, 0.28306466341018677, 1.0993708372116089, 1.2618573904037476, 3.229590892791748, 1.9220845699310303, -1.2206473350524902, 0.6126818656921387, -0.146537646651268, -0.5415434837341309, 1.2471071481704712, -1.0439826250076294, 1.1713461875915527, -0.1800149530172348, -1.3606665134429932, -1.21255624294281, 0.8953648805618286, 0.40274640917778015, -0.03216207027435303, -0.4421593248844147, 1.1159530878067017, 0.14524370431900024, 1.3545384407043457, 0.6572715044021606, -0.292182981967926, 0.46122002601623535, -0.42114341259002686, -0.5355597138404846, 1.573757290840149, -0.00033254269510507584, -1.5732077360153198, -2.1956541538238525, -0.16378864645957947, -0.9557263851165771, 0.08655916154384613, -0.9164945483207703, -0.9893969893455505, 1.4692511558532715, 0.46558403968811035, -0.9361976385116577, -0.08621113747358322, -0.44882023334503174, -0.6448020339012146, 2.675194025039673, -1.4119654893875122, -0.2245154082775116, -1.0429494380950928, -0.6941235065460205, 1.5155503749847412, -1.155072808265686, -0.2542608678340912, -1.0461399555206299, -0.4772455096244812, -1.2392942905426025, -0.4580323100090027, -0.09822462499141693, -0.7982324361801147, 0.7561962604522705, 0.029424576088786125, -1.2437255382537842, -0.31419074535369873, -1.1140071153640747, 0.8843243718147278, -0.3227844834327698, 0.01155327819287777, 1.6550347805023193, 0.24408438801765442, -0.42703017592430115, 0.8547835946083069, 1.3107540607452393, 0.6626495122909546, -0.5577841997146606, 0.1331436187028885, -0.6423032283782959, 0.4561420977115631, -1.2243596315383911, 0.36705464124679565, -2.8789680004119873, 0.6111445426940918, 0.030275845900177956, -0.06049995869398117, -0.1411435306072235, -1.4418834447860718, 0.9390219449996948, 2.487635850906372, -1.0899555683135986, 0.6190043687820435, 0.31627246737480164, 1.2993931770324707, -1.651540756225586, 0.026369379833340645, -0.7466691136360168, 2.02474308013916, 0.049848735332489014, 1.0200198888778687, -0.6023624539375305, -2.4212350845336914, 0.6250444054603577, -1.2488459348678589, -0.9290661215782166, 0.8279331922531128, -0.8296239376068115, 0.2376071810722351, -1.08807373046875, -0.19188831746578217, -0.9085906744003296, -1.0407201051712036, 0.48719245195388794, 0.08273446559906006, 0.6507287621498108, -0.6213300228118896, 0.18546664714813232, -2.3234143257141113, -1.3701050281524658, -0.18309500813484192, -0.9401830434799194, 0.5096277594566345, -0.45717835426330566, 0.646726131439209, -0.07313699275255203, -0.01312327478080988, 0.2422589361667633, 1.5328178405761719, 3.1861071586608887, 0.06842943280935287, 0.352447509765625, -0.27023032307624817, -1.054278016090393, 1.5659739971160889, 0.8783432245254517, -0.2433558702468872, -0.5928929448127747, -1.0008373260498047, 1.3254871368408203, 1.8449362516403198, 1.084837794303894, -0.023799804970622063, -0.9375959038734436, -0.8757354617118835, 0.09452451765537262, 0.1821984499692917, 0.4840061664581299, 0.9605700969696045, 0.197422057390213, 0.24911415576934814, 1.348750114440918, 1.112959384918213, -0.3622956871986389, 0.3359704911708832, -0.8225518465042114, -0.39456304907798767, 0.5672224760055542, 0.3438207507133484, -0.0810551643371582, 0.28788086771965027, -1.011770486831665, -0.2680448293685913, -0.22334614396095276, -0.7955061197280884, -0.7060340046882629, -0.37202996015548706, -0.40493959188461304, 1.792779803276062, -0.06414268165826797, -0.5724142789840698, -0.04238898307085037, -0.8075208067893982, -0.15064166486263275, -1.0556786060333252, 0.32304781675338745, -0.1570073366165161, -0.012241346761584282, -0.16567808389663696, 1.7182468175888062, -1.0137639045715332, -2.2658162117004395, 0.13722947239875793, 0.24033361673355103, -0.22490130364894867, -0.15282145142555237, 1.771284818649292, 0.5162642598152161, 1.3863528966903687, 1.5906338691711426, 1.0810461044311523, -0.6715306043624878, -1.3512557744979858, 0.6572627425193787, 0.9583734273910522, -1.2804113626480103, 0.8689904808998108, -0.20813071727752686, -0.6067044734954834, 0.5173076391220093, 1.3331104516983032, 0.46074432134628296, -1.9160058498382568, 0.9071279764175415, -1.198958158493042, 0.9112540483474731, 0.8725759387016296, 0.8238207697868347, 0.13946393132209778, 0.9002092480659485, -1.230850338935852, -1.0618810653686523, -0.6267867684364319, -0.6391610503196716, 1.740682601928711, -0.32299694418907166, 0.382728636264801, -0.27949902415275574, -1.2333039045333862, 0.18114283680915833, 0.6959552764892578, 0.2738364040851593, -0.2930980324745178, 0.7715290188789368, -0.742447555065155, -1.1236066818237305, -1.3800358772277832, -0.4698302745819092, -0.98259037733078, -0.8807595372200012, 1.0690349340438843, 0.7491082549095154, 0.4654850959777832, 1.9837785959243774, 0.7521800994873047, 0.2351955622434616, -2.58432936668396, 0.8313776850700378, 0.299992173910141, -0.07271642237901688, 0.7790318727493286, 0.34923630952835083, 1.244742512702942, -0.11160629242658615, 0.49834346771240234, -2.336491346359253, 2.2644734382629395, -0.27414804697036743, 0.8096131086349487, 0.02374846301972866, 0.022428175434470177, 1.002200961112976, 0.622782289981842, 0.5201240181922913, -1.0304410457611084, 0.9145917296409607, -0.6038742065429688, 1.158327579498291, 0.8576107621192932, -0.8702108263969421, 0.23750737309455872, 1.1894111633300781, 0.34006035327911377, -0.6576264500617981, -1.0386258363723755, -0.9130390286445618, 0.9351406097412109, 1.8159992694854736, 0.0814114585518837, 0.06666986644268036, 0.8322600722312927, 0.7444308996200562, -1.1949446201324463, 0.008165096864104271, -0.4410719871520996, -0.6832765340805054, 1.807400107383728, 1.9946398735046387, 0.003334278240799904, -0.007971931248903275, -0.7428396344184875, -1.3755924701690674, 0.772363007068634, 0.20606452226638794, -0.042119428515434265, 0.8513126373291016, -0.6956866979598999, 1.179125189781189, 0.8584202527999878, 0.8158634305000305, 0.29019638895988464, 0.07178615778684616, 0.31011348962783813, -0.25283554196357727, -1.244189977645874, -0.32137617468833923, -0.9620162844657898, -2.6464014053344727, 0.4012324810028076, -0.3124966323375702, -1.5125621557235718, 0.14292657375335693, -0.9200745820999146, 0.7279245257377625, -0.5207687020301819, -1.1948107481002808, -1.4125434160232544, 0.20217996835708618, -0.14045025408267975, 0.7601975798606873, -1.6059958934783936, -0.18494126200675964, 1.0998891592025757, 0.9891974329948425, -0.5611967444419861, 0.9300363063812256, 0.27712830901145935, 0.9593231678009033, 0.9476959705352783, -0.42166462540626526, 0.5049864649772644, 0.2479029893875122, -1.3965582847595215, 0.318550705909729, 1.3767147064208984, 0.152792289853096, 1.3366448879241943, -0.40249186754226685, -0.04745015501976013, 0.4887876808643341, -0.2431999146938324, -0.5568085312843323, -0.6801236271858215, 0.6256842017173767, -0.13332277536392212, -0.9065929055213928, -0.13350535929203033, 0.008324826136231422, -0.24294844269752502, 0.350966215133667, -1.5205222368240356, -0.05045940726995468, -0.49196040630340576, -0.6888384222984314, -1.3906644582748413, -0.09069593995809555, 1.3856594562530518, -0.8969227075576782, -0.09303776919841766, 0.5334415435791016, 0.1025947779417038, 0.4859350919723511, 0.6683991551399231, -0.8306555151939392, -0.20606772601604462, -0.11820922046899796, -0.38379454612731934, 0.34525060653686523, 1.2597324848175049, -0.12308008968830109, -1.001184105873108, 0.47216713428497314, -0.20056484639644623, 0.22747062146663666, 1.9990801811218262, 0.0757693201303482, -0.8615142107009888, 0.35376179218292236, -0.821640133857727, 1.8772813081741333, 1.5906214714050293, 1.3215159177780151, -0.1135542020201683, -0.9872899055480957, 0.6450287103652954, -0.3592233955860138, -0.31925782561302185, 0.7923814058303833, 0.32032039761543274, -0.30513834953308105, -1.386060118675232, 0.8134315609931946, 1.2585484981536865, -0.7794482707977295, -0.7444913983345032, 0.12466712296009064, -0.8437495827674866, 1.2499281167984009, 0.6047582626342773, 0.24123886227607727, 0.3117673695087433, 1.6840083599090576, 0.7490688562393188, -0.550247848033905, 0.5338058471679688, 0.4961246848106384, -0.15196643769741058, -1.9580365419387817, -1.0606979131698608, 0.24922996759414673, -0.45925381779670715, -1.5151324272155762, 1.5018517971038818, -1.282657265663147, -0.9568142890930176, 0.5660973191261292, 0.1526847630739212, 1.3683377504348755, 0.2877959609031677, 1.6728869676589966, 1.9676159620285034, 0.8454402089118958, 0.5205433368682861, 1.1374750137329102, -0.3292942941188812, -0.3234280049800873, 1.6833120584487915, -0.5384924411773682, 0.633285641670227, 1.1075572967529297, -0.44993460178375244, -1.230669617652893, -0.7981318831443787, -1.20718252658844, -0.8016089200973511, 1.0809168815612793, 0.11567912995815277, -1.1039466857910156, 0.3461190164089203, 1.5720610618591309, 0.04539138823747635, -0.13594643771648407, 0.6215989589691162, 0.37183788418769836, -0.6790204644203186, -0.15085288882255554, -1.0751034021377563, 0.6319918036460876, -0.3437527120113373, -0.3539067208766937, 0.18394967913627625, 0.5441755056381226, 1.1822782754898071, 0.2163136601448059, 0.1682724505662918, 1.37215256690979, -1.3572664260864258, 1.2358232736587524, -1.0318681001663208, 0.3842323422431946, -2.365816593170166, 1.526501178741455, -0.980986475944519, 1.9317982196807861, -2.6330513954162598, 0.5257582068443298, -0.5210422873497009, -0.5787703990936279, 0.2383284568786621, -0.2006240040063858, 0.02727282978594303, 0.0029972735792398453, -1.046550989151001, -0.09638329595327377, -0.8793564438819885, 0.5032746195793152, 1.261088490486145, 1.331210970878601, -0.9245308041572571, -0.2893064320087433, -1.5627849102020264, -0.15427029132843018, -0.4651596248149872, 0.1573915183544159, -1.7573553323745728, -0.23316217958927155, -2.0722475051879883, -2.4991960525512695, -1.3129583597183228, -1.0114513635635376, 1.3409978151321411, 0.14418797194957733, -0.9089741706848145, 1.2049890756607056, -0.4100933074951172, -1.7207016944885254, 1.262323021888733, -2.093595504760742 ]
https://github.com/huggingface/datasets/issues/3909
Error loading file audio when downloading the Common Voice dataset directly from the Hub
I _might_ have a similar issue. I'm trying to use the librispeech_asr dataset and read it with soundfile. ```python from datasets import load_dataset, load_metric from transformers import Speech2TextForConditionalGeneration, Speech2TextProcessor import soundfile as sf librispeech_eval = load_dataset("librispeech_asr", "clean", split="test") # change to "other" for other test dataset wer = load_metric("wer") model = Speech2TextForConditionalGeneration.from_pretrained("facebook/s2t-small-librispeech-asr").to("cuda") processor = Speech2TextProcessor.from_pretrained("facebook/s2t-small-librispeech-asr", do_upper_case=True) def map_to_array(batch): speech, _ = sf.read(batch["file"]) batch["speech"] = speech return batch librispeech_eval = librispeech_eval.map(map_to_array) def map_to_pred(batch): features = processor(batch["speech"], sampling_rate=16000, padding=True, return_tensors="pt") input_features = features.input_features.to("cuda") attention_mask = features.attention_mask.to("cuda") gen_tokens = model.generate(input_ids=input_features, attention_mask=attention_mask) batch["transcription"] = processor.batch_decode(gen_tokens, skip_special_tokens=True) return batch result = librispeech_eval.map(map_to_pred, batched=True, batch_size=8, remove_columns=["speech"]) print("WER:", wer(predictions=result["transcription"], references=result["text"])) ``` The code is taken directly from "https://huggingface.co/facebook/s2t-small-librispeech-asr". The short error code is "RuntimeError: Error opening '6930-75918-0000.flac': System error." (it can't find the first file), and I agree, I can't find the file either. The dataset has downloaded correctly (it says), but on the location, there are only ".arrow" files, no ".flac" files. **Error message:** ```python RuntimeError Traceback (most recent call last) Input In [15], in <cell line: 16>() 13 batch["speech"] = speech 14 return batch ---> 16 librispeech_eval = librispeech_eval.map(map_to_array) 18 def map_to_pred(batch): 19 features = processor(batch["speech"], sampling_rate=16000, padding=True, return_tensors="pt") File C:\ProgramData\Miniconda3\envs\noise_cancel\lib\site-packages\datasets\arrow_dataset.py:1953, in Dataset.map(self, function, with_indices, with_rank, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc, suffix_template, new_fingerprint, desc) 1950 disable_tqdm = not logging.is_progress_bar_enabled() 1952 if num_proc is None or num_proc == 1: -> 1953 return self._map_single( 1954 function=function, 1955 with_indices=with_indices, 1956 with_rank=with_rank, 1957 input_columns=input_columns, 1958 batched=batched, 1959 batch_size=batch_size, 1960 drop_last_batch=drop_last_batch, 1961 remove_columns=remove_columns, 1962 keep_in_memory=keep_in_memory, 1963 load_from_cache_file=load_from_cache_file, 1964 cache_file_name=cache_file_name, 1965 writer_batch_size=writer_batch_size, 1966 features=features, 1967 disable_nullable=disable_nullable, 1968 fn_kwargs=fn_kwargs, 1969 new_fingerprint=new_fingerprint, 1970 disable_tqdm=disable_tqdm, 1971 desc=desc, 1972 ) 1973 else: 1975 def format_cache_file_name(cache_file_name, rank): File C:\ProgramData\Miniconda3\envs\noise_cancel\lib\site-packages\datasets\arrow_dataset.py:519, in transmit_tasks.<locals>.wrapper(*args, **kwargs) 517 self: "Dataset" = kwargs.pop("self") 518 # apply actual function --> 519 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 520 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 521 for dataset in datasets: 522 # Remove task templates if a column mapping of the template is no longer valid File C:\ProgramData\Miniconda3\envs\noise_cancel\lib\site-packages\datasets\arrow_dataset.py:486, in transmit_format.<locals>.wrapper(*args, **kwargs) 479 self_format = { 480 "type": self._format_type, 481 "format_kwargs": self._format_kwargs, 482 "columns": self._format_columns, 483 "output_all_columns": self._output_all_columns, 484 } 485 # apply actual function --> 486 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 487 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 488 # re-apply format to the output File C:\ProgramData\Miniconda3\envs\noise_cancel\lib\site-packages\datasets\fingerprint.py:458, in fingerprint_transform.<locals>._fingerprint.<locals>.wrapper(*args, **kwargs) 452 kwargs[fingerprint_name] = update_fingerprint( 453 self._fingerprint, transform, kwargs_for_fingerprint 454 ) 456 # Call actual function --> 458 out = func(self, *args, **kwargs) 460 # Update fingerprint of in-place transforms + update in-place history of transforms 462 if inplace: # update after calling func so that the fingerprint doesn't change if the function fails File C:\ProgramData\Miniconda3\envs\noise_cancel\lib\site-packages\datasets\arrow_dataset.py:2318, in Dataset._map_single(self, function, with_indices, with_rank, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, new_fingerprint, rank, offset, disable_tqdm, desc, cache_only) 2316 if not batched: 2317 for i, example in enumerate(pbar): -> 2318 example = apply_function_on_filtered_inputs(example, i, offset=offset) 2319 if update_data: 2320 if i == 0: File C:\ProgramData\Miniconda3\envs\noise_cancel\lib\site-packages\datasets\arrow_dataset.py:2218, in Dataset._map_single.<locals>.apply_function_on_filtered_inputs(inputs, indices, check_same_num_examples, offset) 2216 if with_rank: 2217 additional_args += (rank,) -> 2218 processed_inputs = function(*fn_args, *additional_args, **fn_kwargs) 2219 if update_data is None: 2220 # Check if the function returns updated examples 2221 update_data = isinstance(processed_inputs, (Mapping, pa.Table)) File C:\ProgramData\Miniconda3\envs\noise_cancel\lib\site-packages\datasets\arrow_dataset.py:1913, in Dataset.map.<locals>.decorate.<locals>.decorated(item, *args, **kwargs) 1909 decorated_item = ( 1910 Example(item, features=self.features) if not batched else Batch(item, features=self.features) 1911 ) 1912 # Use the LazyDict internally, while mapping the function -> 1913 result = f(decorated_item, *args, **kwargs) 1914 # Return a standard dict 1915 return result.data if isinstance(result, LazyDict) else result Input In [15], in map_to_array(batch) 11 def map_to_array(batch): ---> 12 speech, _ = sf.read(batch["file"]) 13 batch["speech"] = speech 14 return batch File C:\ProgramData\Miniconda3\envs\noise_cancel\lib\site-packages\soundfile.py:256, in read(file, frames, start, stop, dtype, always_2d, fill_value, out, samplerate, channels, format, subtype, endian, closefd) 170 def read(file, frames=-1, start=0, stop=None, dtype='float64', always_2d=False, 171 fill_value=None, out=None, samplerate=None, channels=None, 172 format=None, subtype=None, endian=None, closefd=True): 173 """Provide audio data from a sound file as NumPy array. 174 175 By default, the whole file is read from the beginning, but the (...) 254 255 """ --> 256 with SoundFile(file, 'r', samplerate, channels, 257 subtype, endian, format, closefd) as f: 258 frames = f._prepare_read(start, stop, frames) 259 data = f.read(frames, dtype, always_2d, fill_value, out) File C:\ProgramData\Miniconda3\envs\noise_cancel\lib\site-packages\soundfile.py:629, in SoundFile.__init__(self, file, mode, samplerate, channels, subtype, endian, format, closefd) 626 self._mode = mode 627 self._info = _create_info_struct(file, mode, samplerate, channels, 628 format, subtype, endian) --> 629 self._file = self._open(file, mode_int, closefd) 630 if set(mode).issuperset('r+') and self.seekable(): 631 # Move write position to 0 (like in Python file objects) 632 self.seek(0) File C:\ProgramData\Miniconda3\envs\noise_cancel\lib\site-packages\soundfile.py:1183, in SoundFile._open(self, file, mode_int, closefd) 1181 else: 1182 raise TypeError("Invalid file: {0!r}".format(self.name)) -> 1183 _error_check(_snd.sf_error(file_ptr), 1184 "Error opening {0!r}: ".format(self.name)) 1185 if mode_int == _snd.SFM_WRITE: 1186 # Due to a bug in libsndfile version <= 1.0.25, frames != 0 1187 # when opening a named pipe in SFM_WRITE mode. 1188 # See http://github.com/erikd/libsndfile/issues/77. 1189 self._info.frames = 0 File C:\ProgramData\Miniconda3\envs\noise_cancel\lib\site-packages\soundfile.py:1357, in _error_check(err, prefix) 1355 if err != 0: 1356 err_str = _snd.sf_error_number(err) -> 1357 raise RuntimeError(prefix + _ffi.string(err_str).decode('utf-8', 'replace')) RuntimeError: Error opening '6930-75918-0000.flac': System error. ``` **Package versions:** ```python python: 3.9 transformers: 4.17.0 datasets: 2.0.0 SoundFile: 0.10.3.post1 ```
## Describe the bug When loading the Common_Voice dataset, by downloading it directly from the Hugging Face hub, some files can not be opened. ## Steps to reproduce the bug ```python import torch import torchaudio from datasets import load_dataset, load_metric from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor import re test_dataset = load_dataset("common_voice", "it", split="test") #test_dataset = load_dataset('csv', data_files = {'test': '/workspace/Dataset/Common_Voice/cv-corpus80/it/test.csv'}) wer = load_metric("wer") processor = Wav2Vec2Processor.from_pretrained("joorock12/wav2vec2-large-xlsr-italian") model = Wav2Vec2ForCTC.from_pretrained("joorock12/wav2vec2-large-xlsr-italian") model.to("cuda") chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\'\�]' resampler = torchaudio.transforms.Resample(48_000, 16_000) ``` ## Expected results The common voice dataset downloaded and correctly loaded whit the use of the hugging face datasets library. ## Actual results The error is: ```python 0ex [00:00, ?ex/s] --------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) <ipython-input-48-ef87f4129e6e> in <module> 7 return batch 8 ----> 9 test_dataset = test_dataset.map(speech_file_to_array_fn) /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in map(self, function, with_indices, with_rank, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc, suffix_template, new_fingerprint, desc) 2107 2108 if num_proc is None or num_proc == 1: -> 2109 return self._map_single( 2110 function=function, 2111 with_indices=with_indices, /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in wrapper(*args, **kwargs) 516 self: "Dataset" = kwargs.pop("self") 517 # apply actual function --> 518 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 519 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 520 for dataset in datasets: /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in wrapper(*args, **kwargs) 483 } 484 # apply actual function --> 485 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 486 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 487 # re-apply format to the output /opt/conda/lib/python3.8/site-packages/datasets/fingerprint.py in wrapper(*args, **kwargs) 411 # Call actual function 412 --> 413 out = func(self, *args, **kwargs) 414 415 # Update fingerprint of in-place transforms + update in-place history of transforms /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in _map_single(self, function, with_indices, with_rank, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, new_fingerprint, rank, offset, disable_tqdm, desc, cache_only) 2465 if not batched: 2466 for i, example in enumerate(pbar): -> 2467 example = apply_function_on_filtered_inputs(example, i, offset=offset) 2468 if update_data: 2469 if i == 0: /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in apply_function_on_filtered_inputs(inputs, indices, check_same_num_examples, offset) 2372 if with_rank: 2373 additional_args += (rank,) -> 2374 processed_inputs = function(*fn_args, *additional_args, **fn_kwargs) 2375 if update_data is None: 2376 # Check if the function returns updated examples /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in decorated(item, *args, **kwargs) 2067 ) 2068 # Use the LazyDict internally, while mapping the function -> 2069 result = f(decorated_item, *args, **kwargs) 2070 # Return a standard dict 2071 return result.data if isinstance(result, LazyDict) else result <ipython-input-48-ef87f4129e6e> in speech_file_to_array_fn(batch) 3 def speech_file_to_array_fn(batch): 4 batch["sentence"] = re.sub(chars_to_ignore_regex, '', batch["sentence"]).lower() ----> 5 speech_array, sampling_rate = torchaudio.load(batch["path"]) 6 batch["speech"] = resampler(speech_array).squeeze().numpy() 7 return batch /opt/conda/lib/python3.8/site-packages/torchaudio/backend/sox_io_backend.py in load(filepath, frame_offset, num_frames, normalize, channels_first, format) 150 filepath, frame_offset, num_frames, normalize, channels_first, format) 151 filepath = os.fspath(filepath) --> 152 return torch.ops.torchaudio.sox_io_load_audio_file( 153 filepath, frame_offset, num_frames, normalize, channels_first, format) 154 RuntimeError: Error loading audio file: failed to open file common_voice_it_17415776.mp3 ``` ## Environment info - `datasets` version: 1.18.4 - Platform: Linux-5.4.0-x86_64-with-glibc2.10 - Python version: 3.8.5 - PyArrow version: 7.0.0
892
854
Error loading file audio when downloading the Common Voice dataset directly from the Hub ## Describe the bug When loading the Common_Voice dataset, by downloading it directly from the Hugging Face hub, some files can not be opened. ## Steps to reproduce the bug ```python import torch import torchaudio from datasets import load_dataset, load_metric from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor import re test_dataset = load_dataset("common_voice", "it", split="test") #test_dataset = load_dataset('csv', data_files = {'test': '/workspace/Dataset/Common_Voice/cv-corpus80/it/test.csv'}) wer = load_metric("wer") processor = Wav2Vec2Processor.from_pretrained("joorock12/wav2vec2-large-xlsr-italian") model = Wav2Vec2ForCTC.from_pretrained("joorock12/wav2vec2-large-xlsr-italian") model.to("cuda") chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\'\�]' resampler = torchaudio.transforms.Resample(48_000, 16_000) ``` ## Expected results The common voice dataset downloaded and correctly loaded whit the use of the hugging face datasets library. ## Actual results The error is: ```python 0ex [00:00, ?ex/s] --------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) <ipython-input-48-ef87f4129e6e> in <module> 7 return batch 8 ----> 9 test_dataset = test_dataset.map(speech_file_to_array_fn) /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in map(self, function, with_indices, with_rank, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc, suffix_template, new_fingerprint, desc) 2107 2108 if num_proc is None or num_proc == 1: -> 2109 return self._map_single( 2110 function=function, 2111 with_indices=with_indices, /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in wrapper(*args, **kwargs) 516 self: "Dataset" = kwargs.pop("self") 517 # apply actual function --> 518 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 519 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 520 for dataset in datasets: /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in wrapper(*args, **kwargs) 483 } 484 # apply actual function --> 485 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 486 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 487 # re-apply format to the output /opt/conda/lib/python3.8/site-packages/datasets/fingerprint.py in wrapper(*args, **kwargs) 411 # Call actual function 412 --> 413 out = func(self, *args, **kwargs) 414 415 # Update fingerprint of in-place transforms + update in-place history of transforms /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in _map_single(self, function, with_indices, with_rank, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, new_fingerprint, rank, offset, disable_tqdm, desc, cache_only) 2465 if not batched: 2466 for i, example in enumerate(pbar): -> 2467 example = apply_function_on_filtered_inputs(example, i, offset=offset) 2468 if update_data: 2469 if i == 0: /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in apply_function_on_filtered_inputs(inputs, indices, check_same_num_examples, offset) 2372 if with_rank: 2373 additional_args += (rank,) -> 2374 processed_inputs = function(*fn_args, *additional_args, **fn_kwargs) 2375 if update_data is None: 2376 # Check if the function returns updated examples /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in decorated(item, *args, **kwargs) 2067 ) 2068 # Use the LazyDict internally, while mapping the function -> 2069 result = f(decorated_item, *args, **kwargs) 2070 # Return a standard dict 2071 return result.data if isinstance(result, LazyDict) else result <ipython-input-48-ef87f4129e6e> in speech_file_to_array_fn(batch) 3 def speech_file_to_array_fn(batch): 4 batch["sentence"] = re.sub(chars_to_ignore_regex, '', batch["sentence"]).lower() ----> 5 speech_array, sampling_rate = torchaudio.load(batch["path"]) 6 batch["speech"] = resampler(speech_array).squeeze().numpy() 7 return batch /opt/conda/lib/python3.8/site-packages/torchaudio/backend/sox_io_backend.py in load(filepath, frame_offset, num_frames, normalize, channels_first, format) 150 filepath, frame_offset, num_frames, normalize, channels_first, format) 151 filepath = os.fspath(filepath) --> 152 return torch.ops.torchaudio.sox_io_load_audio_file( 153 filepath, frame_offset, num_frames, normalize, channels_first, format) 154 RuntimeError: Error loading audio file: failed to open file common_voice_it_17415776.mp3 ``` ## Environment info - `datasets` version: 1.18.4 - Platform: Linux-5.4.0-x86_64-with-glibc2.10 - Python version: 3.8.5 - PyArrow version: 7.0.0 I _might_ have a similar issue. I'm trying to use the librispeech_asr dataset and read it with soundfile. ```python from datasets import load_dataset, load_metric from transformers import Speech2TextForConditionalGeneration, Speech2TextProcessor import soundfile as sf librispeech_eval = load_dataset("librispeech_asr", "clean", split="test") # change to "other" for other test dataset wer = load_metric("wer") model = Speech2TextForConditionalGeneration.from_pretrained("facebook/s2t-small-librispeech-asr").to("cuda") processor = Speech2TextProcessor.from_pretrained("facebook/s2t-small-librispeech-asr", do_upper_case=True) def map_to_array(batch): speech, _ = sf.read(batch["file"]) batch["speech"] = speech return batch librispeech_eval = librispeech_eval.map(map_to_array) def map_to_pred(batch): features = processor(batch["speech"], sampling_rate=16000, padding=True, return_tensors="pt") input_features = features.input_features.to("cuda") attention_mask = features.attention_mask.to("cuda") gen_tokens = model.generate(input_ids=input_features, attention_mask=attention_mask) batch["transcription"] = processor.batch_decode(gen_tokens, skip_special_tokens=True) return batch result = librispeech_eval.map(map_to_pred, batched=True, batch_size=8, remove_columns=["speech"]) print("WER:", wer(predictions=result["transcription"], references=result["text"])) ``` The code is taken directly from "https://huggingface.co/facebook/s2t-small-librispeech-asr". The short error code is "RuntimeError: Error opening '6930-75918-0000.flac': System error." (it can't find the first file), and I agree, I can't find the file either. The dataset has downloaded correctly (it says), but on the location, there are only ".arrow" files, no ".flac" files. **Error message:** ```python RuntimeError Traceback (most recent call last) Input In [15], in <cell line: 16>() 13 batch["speech"] = speech 14 return batch ---> 16 librispeech_eval = librispeech_eval.map(map_to_array) 18 def map_to_pred(batch): 19 features = processor(batch["speech"], sampling_rate=16000, padding=True, return_tensors="pt") File C:\ProgramData\Miniconda3\envs\noise_cancel\lib\site-packages\datasets\arrow_dataset.py:1953, in Dataset.map(self, function, with_indices, with_rank, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc, suffix_template, new_fingerprint, desc) 1950 disable_tqdm = not logging.is_progress_bar_enabled() 1952 if num_proc is None or num_proc == 1: -> 1953 return self._map_single( 1954 function=function, 1955 with_indices=with_indices, 1956 with_rank=with_rank, 1957 input_columns=input_columns, 1958 batched=batched, 1959 batch_size=batch_size, 1960 drop_last_batch=drop_last_batch, 1961 remove_columns=remove_columns, 1962 keep_in_memory=keep_in_memory, 1963 load_from_cache_file=load_from_cache_file, 1964 cache_file_name=cache_file_name, 1965 writer_batch_size=writer_batch_size, 1966 features=features, 1967 disable_nullable=disable_nullable, 1968 fn_kwargs=fn_kwargs, 1969 new_fingerprint=new_fingerprint, 1970 disable_tqdm=disable_tqdm, 1971 desc=desc, 1972 ) 1973 else: 1975 def format_cache_file_name(cache_file_name, rank): File C:\ProgramData\Miniconda3\envs\noise_cancel\lib\site-packages\datasets\arrow_dataset.py:519, in transmit_tasks.<locals>.wrapper(*args, **kwargs) 517 self: "Dataset" = kwargs.pop("self") 518 # apply actual function --> 519 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 520 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 521 for dataset in datasets: 522 # Remove task templates if a column mapping of the template is no longer valid File C:\ProgramData\Miniconda3\envs\noise_cancel\lib\site-packages\datasets\arrow_dataset.py:486, in transmit_format.<locals>.wrapper(*args, **kwargs) 479 self_format = { 480 "type": self._format_type, 481 "format_kwargs": self._format_kwargs, 482 "columns": self._format_columns, 483 "output_all_columns": self._output_all_columns, 484 } 485 # apply actual function --> 486 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 487 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 488 # re-apply format to the output File C:\ProgramData\Miniconda3\envs\noise_cancel\lib\site-packages\datasets\fingerprint.py:458, in fingerprint_transform.<locals>._fingerprint.<locals>.wrapper(*args, **kwargs) 452 kwargs[fingerprint_name] = update_fingerprint( 453 self._fingerprint, transform, kwargs_for_fingerprint 454 ) 456 # Call actual function --> 458 out = func(self, *args, **kwargs) 460 # Update fingerprint of in-place transforms + update in-place history of transforms 462 if inplace: # update after calling func so that the fingerprint doesn't change if the function fails File C:\ProgramData\Miniconda3\envs\noise_cancel\lib\site-packages\datasets\arrow_dataset.py:2318, in Dataset._map_single(self, function, with_indices, with_rank, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, new_fingerprint, rank, offset, disable_tqdm, desc, cache_only) 2316 if not batched: 2317 for i, example in enumerate(pbar): -> 2318 example = apply_function_on_filtered_inputs(example, i, offset=offset) 2319 if update_data: 2320 if i == 0: File C:\ProgramData\Miniconda3\envs\noise_cancel\lib\site-packages\datasets\arrow_dataset.py:2218, in Dataset._map_single.<locals>.apply_function_on_filtered_inputs(inputs, indices, check_same_num_examples, offset) 2216 if with_rank: 2217 additional_args += (rank,) -> 2218 processed_inputs = function(*fn_args, *additional_args, **fn_kwargs) 2219 if update_data is None: 2220 # Check if the function returns updated examples 2221 update_data = isinstance(processed_inputs, (Mapping, pa.Table)) File C:\ProgramData\Miniconda3\envs\noise_cancel\lib\site-packages\datasets\arrow_dataset.py:1913, in Dataset.map.<locals>.decorate.<locals>.decorated(item, *args, **kwargs) 1909 decorated_item = ( 1910 Example(item, features=self.features) if not batched else Batch(item, features=self.features) 1911 ) 1912 # Use the LazyDict internally, while mapping the function -> 1913 result = f(decorated_item, *args, **kwargs) 1914 # Return a standard dict 1915 return result.data if isinstance(result, LazyDict) else result Input In [15], in map_to_array(batch) 11 def map_to_array(batch): ---> 12 speech, _ = sf.read(batch["file"]) 13 batch["speech"] = speech 14 return batch File C:\ProgramData\Miniconda3\envs\noise_cancel\lib\site-packages\soundfile.py:256, in read(file, frames, start, stop, dtype, always_2d, fill_value, out, samplerate, channels, format, subtype, endian, closefd) 170 def read(file, frames=-1, start=0, stop=None, dtype='float64', always_2d=False, 171 fill_value=None, out=None, samplerate=None, channels=None, 172 format=None, subtype=None, endian=None, closefd=True): 173 """Provide audio data from a sound file as NumPy array. 174 175 By default, the whole file is read from the beginning, but the (...) 254 255 """ --> 256 with SoundFile(file, 'r', samplerate, channels, 257 subtype, endian, format, closefd) as f: 258 frames = f._prepare_read(start, stop, frames) 259 data = f.read(frames, dtype, always_2d, fill_value, out) File C:\ProgramData\Miniconda3\envs\noise_cancel\lib\site-packages\soundfile.py:629, in SoundFile.__init__(self, file, mode, samplerate, channels, subtype, endian, format, closefd) 626 self._mode = mode 627 self._info = _create_info_struct(file, mode, samplerate, channels, 628 format, subtype, endian) --> 629 self._file = self._open(file, mode_int, closefd) 630 if set(mode).issuperset('r+') and self.seekable(): 631 # Move write position to 0 (like in Python file objects) 632 self.seek(0) File C:\ProgramData\Miniconda3\envs\noise_cancel\lib\site-packages\soundfile.py:1183, in SoundFile._open(self, file, mode_int, closefd) 1181 else: 1182 raise TypeError("Invalid file: {0!r}".format(self.name)) -> 1183 _error_check(_snd.sf_error(file_ptr), 1184 "Error opening {0!r}: ".format(self.name)) 1185 if mode_int == _snd.SFM_WRITE: 1186 # Due to a bug in libsndfile version <= 1.0.25, frames != 0 1187 # when opening a named pipe in SFM_WRITE mode. 1188 # See http://github.com/erikd/libsndfile/issues/77. 1189 self._info.frames = 0 File C:\ProgramData\Miniconda3\envs\noise_cancel\lib\site-packages\soundfile.py:1357, in _error_check(err, prefix) 1355 if err != 0: 1356 err_str = _snd.sf_error_number(err) -> 1357 raise RuntimeError(prefix + _ffi.string(err_str).decode('utf-8', 'replace')) RuntimeError: Error opening '6930-75918-0000.flac': System error. ``` **Package versions:** ```python python: 3.9 transformers: 4.17.0 datasets: 2.0.0 SoundFile: 0.10.3.post1 ```
[ -1.2060142755508423, -0.7468000650405884, -0.5914407968521118, 1.501941204071045, 0.0038217073306441307, -1.3023878335952759, 0.08678487688302994, -0.8381357192993164, 1.5659903287887573, -0.9296989440917969, 0.3711884021759033, -1.705107569694519, 0.07468905299901962, -0.6525754332542419, -0.60527503490448, -0.6568711996078491, -0.34966832399368286, -0.5765936374664307, 1.1687922477722168, 2.3735337257385254, 1.2010605335235596, -1.2601077556610107, 2.867570638656616, 0.6805363893508911, -0.3035360276699066, -0.8840884566307068, 0.40471911430358887, 0.07546015828847885, -1.4034186601638794, -0.3036603033542633, -0.9482632875442505, -0.0119029451161623, -0.6415696740150452, -0.5220664143562317, 0.054436370730400085, 0.5058248043060303, -0.2254016250371933, -0.42514780163764954, -0.43290087580680847, -0.7440735101699829, 0.5211509466171265, -0.2758849561214447, 0.8590861558914185, -0.34360671043395996, 1.8092173337936401, -0.6169735193252563, 0.4960310459136963, 0.5398848652839661, 1.1646472215652466, 0.25102242827415466, -0.062125541269779205, 0.4085317552089691, 0.22187718749046326, 0.027696439996361732, 0.6698179841041565, 1.2401620149612427, 0.5826370120048523, 0.5406072735786438, 0.7704460024833679, -2.18941593170166, 1.4077762365341187, -0.8301652669906616, 0.2563609182834625, 1.3709306716918945, -1.1040544509887695, 0.47915419936180115, -1.8106725215911865, -0.16112369298934937, 0.32127419114112854, -2.2584786415100098, 0.1053343415260315, -1.233113169670105, -0.6168479919433594, 1.0007550716400146, 0.3526681661605835, -1.197143316268921, -0.04430884122848511, -0.4037033021450043, 0.9507128596305847, 0.33467355370521545, 1.0955857038497925, -1.5949403047561646, 0.0396316722035408, -0.23593798279762268, 0.3618701994419098, -1.3101513385772705, -1.6556172370910645, 0.6679706573486328, 0.698013186454773, 0.6347925066947937, -0.14024779200553894, 0.9570881724357605, -1.1320514678955078, 0.8246835470199585, -1.003329873085022, -1.8227941989898682, -1.3088515996932983, -2.4673991203308105, -2.3725531101226807, 0.7699702978134155, -0.45590904355049133, -0.46067607402801514, 2.193880558013916, -1.14022696018219, -1.7454664707183838, 1.1061888933181763, 0.27733033895492554, -0.08034858107566833, 2.416884183883667, 0.22158461809158325, -0.9295092225074768, 0.6881393790245056, -0.8093123435974121, 0.7133726477622986, -0.35124680399894714, 1.2478939294815063, 0.35157063603401184, -1.106127142906189, 1.5416538715362549, -0.3698579967021942, 0.5353255271911621, -0.6751458644866943, -0.3630942702293396, -0.572091281414032, 0.176500603556633, 1.9838532209396362, -0.16405634582042694, 1.5722488164901733, -0.17633521556854248, -1.429996371269226, -1.438605785369873, 0.7078502774238586, 0.47472766041755676, -0.7667200565338135, 0.2260662168264389, -0.3777054250240326, 0.14284443855285645, 0.1541730910539627, 1.1042919158935547, 1.2817074060440063, 0.7885661125183105, -0.15852780640125275, -0.8367622494697571, 0.08427083492279053, -0.08359062671661377, -0.5184425711631775, -1.6737310886383057, -0.24742768704891205, 0.11697550117969513, 0.6837111711502075, -1.187652826309204, 1.9802055358886719, 0.9365473389625549, 1.9914531707763672, 1.0285234451293945, -0.30835801362991333, 1.5245327949523926, 0.16685199737548828, 1.8552753925323486, -0.3090141713619232, 0.6615654826164246, -0.5642023086547852, -1.1316734552383423, 0.6592733860015869, -0.3453868627548218, -1.9866187572479248, -0.39428436756134033, -0.9559264779090881, -0.11849308013916016, -0.8832535743713379, 1.0336604118347168, -0.2481072098016739, -1.3320809602737427, 0.18042872846126556, -0.6447784900665283, 0.20902803540229797, -1.4273000955581665, 0.2648603618144989, 0.7845832109451294, -0.7524600028991699, 0.0846991240978241, -0.4463849365711212, -1.4305360317230225, -0.5793980956077576, 0.4580512046813965, 1.7118613719940186, -0.6402822136878967, 0.9860492944717407, 1.0562578439712524, -0.6195639371871948, -0.08859134465456009, 0.5015378594398499, -0.35062721371650696, 0.8326516151428223, -0.9292819499969482, -0.5038155913352966, 1.0810036659240723, -0.3440289795398712, -0.5332053899765015, 1.3153859376907349, 0.7280009984970093, -1.0551170110702515, -0.3377382755279541, -0.1202731654047966, -0.8909582495689392, 0.06985972821712494, -1.5667927265167236, -0.10353381186723709, 0.3123663067817688, -1.5407214164733887, -0.4603153169155121, -0.1065867617726326, 1.166709303855896, -0.0682968869805336, 1.3771333694458008, -0.28910428285598755, -0.09252407401800156, -0.47360140085220337, -0.6465054750442505, 0.12815755605697632, -0.07630797475576401, -0.6647247672080994, 0.2575409710407257, -0.746655285358429, 0.1870768815279007, 1.4878804683685303, 0.28729817271232605, 0.08924272656440735, 0.5447902679443359, 1.2516969442367554, 0.273742139339447, -0.22486113011837006, -0.8310738205909729, -1.71074640750885, 2.057856321334839, -1.6299772262573242, 1.9833648204803467, 0.8411312699317932, -0.02047136053442955, -1.872960090637207, -1.7718241214752197, 1.4958138465881348, 1.171873688697815, 2.453934669494629, 0.4952136278152466, 0.42684370279312134, -0.804507315158844, -0.6992505192756653, 0.4205838441848755, -0.7650003433227539, -0.864025354385376, 0.1302490383386612, 2.331272840499878, 1.745320439338684, -0.3527897596359253, -0.13909286260604858, -0.8556962013244629, 1.3708525896072388, -0.31232866644859314, 0.2761886417865753, 1.852317214012146, -0.4258439540863037, -1.0258055925369263, 1.3348751068115234, -2.3893954753875732, 0.30137160420417786, 2.0218148231506348, 0.30838391184806824, 0.020794544368982315, -1.1376405954360962, -0.7106205821037292, -0.2311142534017563, -0.368431955575943, -1.313621163368225, 0.364732563495636, -0.23694084584712982, -0.7805874943733215, -1.4060862064361572, 0.027585802599787712, -1.245236873626709, -1.6625707149505615, 0.3970566987991333, 1.7683218717575073, 2.1568779945373535, -0.8002633452415466, 1.259489893913269, -0.24669204652309418, 0.28306466341018677, 1.0993708372116089, 1.2618573904037476, 3.229590892791748, 1.9220845699310303, -1.2206473350524902, 0.6126818656921387, -0.146537646651268, -0.5415434837341309, 1.2471071481704712, -1.0439826250076294, 1.1713461875915527, -0.1800149530172348, -1.3606665134429932, -1.21255624294281, 0.8953648805618286, 0.40274640917778015, -0.03216207027435303, -0.4421593248844147, 1.1159530878067017, 0.14524370431900024, 1.3545384407043457, 0.6572715044021606, -0.292182981967926, 0.46122002601623535, -0.42114341259002686, -0.5355597138404846, 1.573757290840149, -0.00033254269510507584, -1.5732077360153198, -2.1956541538238525, -0.16378864645957947, -0.9557263851165771, 0.08655916154384613, -0.9164945483207703, -0.9893969893455505, 1.4692511558532715, 0.46558403968811035, -0.9361976385116577, -0.08621113747358322, -0.44882023334503174, -0.6448020339012146, 2.675194025039673, -1.4119654893875122, -0.2245154082775116, -1.0429494380950928, -0.6941235065460205, 1.5155503749847412, -1.155072808265686, -0.2542608678340912, -1.0461399555206299, -0.4772455096244812, -1.2392942905426025, -0.4580323100090027, -0.09822462499141693, -0.7982324361801147, 0.7561962604522705, 0.029424576088786125, -1.2437255382537842, -0.31419074535369873, -1.1140071153640747, 0.8843243718147278, -0.3227844834327698, 0.01155327819287777, 1.6550347805023193, 0.24408438801765442, -0.42703017592430115, 0.8547835946083069, 1.3107540607452393, 0.6626495122909546, -0.5577841997146606, 0.1331436187028885, -0.6423032283782959, 0.4561420977115631, -1.2243596315383911, 0.36705464124679565, -2.8789680004119873, 0.6111445426940918, 0.030275845900177956, -0.06049995869398117, -0.1411435306072235, -1.4418834447860718, 0.9390219449996948, 2.487635850906372, -1.0899555683135986, 0.6190043687820435, 0.31627246737480164, 1.2993931770324707, -1.651540756225586, 0.026369379833340645, -0.7466691136360168, 2.02474308013916, 0.049848735332489014, 1.0200198888778687, -0.6023624539375305, -2.4212350845336914, 0.6250444054603577, -1.2488459348678589, -0.9290661215782166, 0.8279331922531128, -0.8296239376068115, 0.2376071810722351, -1.08807373046875, -0.19188831746578217, -0.9085906744003296, -1.0407201051712036, 0.48719245195388794, 0.08273446559906006, 0.6507287621498108, -0.6213300228118896, 0.18546664714813232, -2.3234143257141113, -1.3701050281524658, -0.18309500813484192, -0.9401830434799194, 0.5096277594566345, -0.45717835426330566, 0.646726131439209, -0.07313699275255203, -0.01312327478080988, 0.2422589361667633, 1.5328178405761719, 3.1861071586608887, 0.06842943280935287, 0.352447509765625, -0.27023032307624817, -1.054278016090393, 1.5659739971160889, 0.8783432245254517, -0.2433558702468872, -0.5928929448127747, -1.0008373260498047, 1.3254871368408203, 1.8449362516403198, 1.084837794303894, -0.023799804970622063, -0.9375959038734436, -0.8757354617118835, 0.09452451765537262, 0.1821984499692917, 0.4840061664581299, 0.9605700969696045, 0.197422057390213, 0.24911415576934814, 1.348750114440918, 1.112959384918213, -0.3622956871986389, 0.3359704911708832, -0.8225518465042114, -0.39456304907798767, 0.5672224760055542, 0.3438207507133484, -0.0810551643371582, 0.28788086771965027, -1.011770486831665, -0.2680448293685913, -0.22334614396095276, -0.7955061197280884, -0.7060340046882629, -0.37202996015548706, -0.40493959188461304, 1.792779803276062, -0.06414268165826797, -0.5724142789840698, -0.04238898307085037, -0.8075208067893982, -0.15064166486263275, -1.0556786060333252, 0.32304781675338745, -0.1570073366165161, -0.012241346761584282, -0.16567808389663696, 1.7182468175888062, -1.0137639045715332, -2.2658162117004395, 0.13722947239875793, 0.24033361673355103, -0.22490130364894867, -0.15282145142555237, 1.771284818649292, 0.5162642598152161, 1.3863528966903687, 1.5906338691711426, 1.0810461044311523, -0.6715306043624878, -1.3512557744979858, 0.6572627425193787, 0.9583734273910522, -1.2804113626480103, 0.8689904808998108, -0.20813071727752686, -0.6067044734954834, 0.5173076391220093, 1.3331104516983032, 0.46074432134628296, -1.9160058498382568, 0.9071279764175415, -1.198958158493042, 0.9112540483474731, 0.8725759387016296, 0.8238207697868347, 0.13946393132209778, 0.9002092480659485, -1.230850338935852, -1.0618810653686523, -0.6267867684364319, -0.6391610503196716, 1.740682601928711, -0.32299694418907166, 0.382728636264801, -0.27949902415275574, -1.2333039045333862, 0.18114283680915833, 0.6959552764892578, 0.2738364040851593, -0.2930980324745178, 0.7715290188789368, -0.742447555065155, -1.1236066818237305, -1.3800358772277832, -0.4698302745819092, -0.98259037733078, -0.8807595372200012, 1.0690349340438843, 0.7491082549095154, 0.4654850959777832, 1.9837785959243774, 0.7521800994873047, 0.2351955622434616, -2.58432936668396, 0.8313776850700378, 0.299992173910141, -0.07271642237901688, 0.7790318727493286, 0.34923630952835083, 1.244742512702942, -0.11160629242658615, 0.49834346771240234, -2.336491346359253, 2.2644734382629395, -0.27414804697036743, 0.8096131086349487, 0.02374846301972866, 0.022428175434470177, 1.002200961112976, 0.622782289981842, 0.5201240181922913, -1.0304410457611084, 0.9145917296409607, -0.6038742065429688, 1.158327579498291, 0.8576107621192932, -0.8702108263969421, 0.23750737309455872, 1.1894111633300781, 0.34006035327911377, -0.6576264500617981, -1.0386258363723755, -0.9130390286445618, 0.9351406097412109, 1.8159992694854736, 0.0814114585518837, 0.06666986644268036, 0.8322600722312927, 0.7444308996200562, -1.1949446201324463, 0.008165096864104271, -0.4410719871520996, -0.6832765340805054, 1.807400107383728, 1.9946398735046387, 0.003334278240799904, -0.007971931248903275, -0.7428396344184875, -1.3755924701690674, 0.772363007068634, 0.20606452226638794, -0.042119428515434265, 0.8513126373291016, -0.6956866979598999, 1.179125189781189, 0.8584202527999878, 0.8158634305000305, 0.29019638895988464, 0.07178615778684616, 0.31011348962783813, -0.25283554196357727, -1.244189977645874, -0.32137617468833923, -0.9620162844657898, -2.6464014053344727, 0.4012324810028076, -0.3124966323375702, -1.5125621557235718, 0.14292657375335693, -0.9200745820999146, 0.7279245257377625, -0.5207687020301819, -1.1948107481002808, -1.4125434160232544, 0.20217996835708618, -0.14045025408267975, 0.7601975798606873, -1.6059958934783936, -0.18494126200675964, 1.0998891592025757, 0.9891974329948425, -0.5611967444419861, 0.9300363063812256, 0.27712830901145935, 0.9593231678009033, 0.9476959705352783, -0.42166462540626526, 0.5049864649772644, 0.2479029893875122, -1.3965582847595215, 0.318550705909729, 1.3767147064208984, 0.152792289853096, 1.3366448879241943, -0.40249186754226685, -0.04745015501976013, 0.4887876808643341, -0.2431999146938324, -0.5568085312843323, -0.6801236271858215, 0.6256842017173767, -0.13332277536392212, -0.9065929055213928, -0.13350535929203033, 0.008324826136231422, -0.24294844269752502, 0.350966215133667, -1.5205222368240356, -0.05045940726995468, -0.49196040630340576, -0.6888384222984314, -1.3906644582748413, -0.09069593995809555, 1.3856594562530518, -0.8969227075576782, -0.09303776919841766, 0.5334415435791016, 0.1025947779417038, 0.4859350919723511, 0.6683991551399231, -0.8306555151939392, -0.20606772601604462, -0.11820922046899796, -0.38379454612731934, 0.34525060653686523, 1.2597324848175049, -0.12308008968830109, -1.001184105873108, 0.47216713428497314, -0.20056484639644623, 0.22747062146663666, 1.9990801811218262, 0.0757693201303482, -0.8615142107009888, 0.35376179218292236, -0.821640133857727, 1.8772813081741333, 1.5906214714050293, 1.3215159177780151, -0.1135542020201683, -0.9872899055480957, 0.6450287103652954, -0.3592233955860138, -0.31925782561302185, 0.7923814058303833, 0.32032039761543274, -0.30513834953308105, -1.386060118675232, 0.8134315609931946, 1.2585484981536865, -0.7794482707977295, -0.7444913983345032, 0.12466712296009064, -0.8437495827674866, 1.2499281167984009, 0.6047582626342773, 0.24123886227607727, 0.3117673695087433, 1.6840083599090576, 0.7490688562393188, -0.550247848033905, 0.5338058471679688, 0.4961246848106384, -0.15196643769741058, -1.9580365419387817, -1.0606979131698608, 0.24922996759414673, -0.45925381779670715, -1.5151324272155762, 1.5018517971038818, -1.282657265663147, -0.9568142890930176, 0.5660973191261292, 0.1526847630739212, 1.3683377504348755, 0.2877959609031677, 1.6728869676589966, 1.9676159620285034, 0.8454402089118958, 0.5205433368682861, 1.1374750137329102, -0.3292942941188812, -0.3234280049800873, 1.6833120584487915, -0.5384924411773682, 0.633285641670227, 1.1075572967529297, -0.44993460178375244, -1.230669617652893, -0.7981318831443787, -1.20718252658844, -0.8016089200973511, 1.0809168815612793, 0.11567912995815277, -1.1039466857910156, 0.3461190164089203, 1.5720610618591309, 0.04539138823747635, -0.13594643771648407, 0.6215989589691162, 0.37183788418769836, -0.6790204644203186, -0.15085288882255554, -1.0751034021377563, 0.6319918036460876, -0.3437527120113373, -0.3539067208766937, 0.18394967913627625, 0.5441755056381226, 1.1822782754898071, 0.2163136601448059, 0.1682724505662918, 1.37215256690979, -1.3572664260864258, 1.2358232736587524, -1.0318681001663208, 0.3842323422431946, -2.365816593170166, 1.526501178741455, -0.980986475944519, 1.9317982196807861, -2.6330513954162598, 0.5257582068443298, -0.5210422873497009, -0.5787703990936279, 0.2383284568786621, -0.2006240040063858, 0.02727282978594303, 0.0029972735792398453, -1.046550989151001, -0.09638329595327377, -0.8793564438819885, 0.5032746195793152, 1.261088490486145, 1.331210970878601, -0.9245308041572571, -0.2893064320087433, -1.5627849102020264, -0.15427029132843018, -0.4651596248149872, 0.1573915183544159, -1.7573553323745728, -0.23316217958927155, -2.0722475051879883, -2.4991960525512695, -1.3129583597183228, -1.0114513635635376, 1.3409978151321411, 0.14418797194957733, -0.9089741706848145, 1.2049890756607056, -0.4100933074951172, -1.7207016944885254, 1.262323021888733, -2.093595504760742 ]
https://github.com/huggingface/datasets/issues/3909
Error loading file audio when downloading the Common Voice dataset directly from the Hub
Hi ! In `datasets` 2.0 can access the audio array with `librispeech_eval[0]["audio"]["array"]` already, no need to use `map_to_array`. See our documentation on [how to process audio data](https://huggingface.co/docs/datasets/audio_process) :) cc @patrickvonplaten we will need to update the readme at [facebook/s2t-small-librispeech-asr](https://huggingface.co/facebook/s2t-small-librispeech-asr) as well as https://huggingface.co/docs/transformers/model_doc/speech_to_text
## Describe the bug When loading the Common_Voice dataset, by downloading it directly from the Hugging Face hub, some files can not be opened. ## Steps to reproduce the bug ```python import torch import torchaudio from datasets import load_dataset, load_metric from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor import re test_dataset = load_dataset("common_voice", "it", split="test") #test_dataset = load_dataset('csv', data_files = {'test': '/workspace/Dataset/Common_Voice/cv-corpus80/it/test.csv'}) wer = load_metric("wer") processor = Wav2Vec2Processor.from_pretrained("joorock12/wav2vec2-large-xlsr-italian") model = Wav2Vec2ForCTC.from_pretrained("joorock12/wav2vec2-large-xlsr-italian") model.to("cuda") chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\'\�]' resampler = torchaudio.transforms.Resample(48_000, 16_000) ``` ## Expected results The common voice dataset downloaded and correctly loaded whit the use of the hugging face datasets library. ## Actual results The error is: ```python 0ex [00:00, ?ex/s] --------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) <ipython-input-48-ef87f4129e6e> in <module> 7 return batch 8 ----> 9 test_dataset = test_dataset.map(speech_file_to_array_fn) /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in map(self, function, with_indices, with_rank, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc, suffix_template, new_fingerprint, desc) 2107 2108 if num_proc is None or num_proc == 1: -> 2109 return self._map_single( 2110 function=function, 2111 with_indices=with_indices, /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in wrapper(*args, **kwargs) 516 self: "Dataset" = kwargs.pop("self") 517 # apply actual function --> 518 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 519 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 520 for dataset in datasets: /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in wrapper(*args, **kwargs) 483 } 484 # apply actual function --> 485 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 486 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 487 # re-apply format to the output /opt/conda/lib/python3.8/site-packages/datasets/fingerprint.py in wrapper(*args, **kwargs) 411 # Call actual function 412 --> 413 out = func(self, *args, **kwargs) 414 415 # Update fingerprint of in-place transforms + update in-place history of transforms /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in _map_single(self, function, with_indices, with_rank, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, new_fingerprint, rank, offset, disable_tqdm, desc, cache_only) 2465 if not batched: 2466 for i, example in enumerate(pbar): -> 2467 example = apply_function_on_filtered_inputs(example, i, offset=offset) 2468 if update_data: 2469 if i == 0: /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in apply_function_on_filtered_inputs(inputs, indices, check_same_num_examples, offset) 2372 if with_rank: 2373 additional_args += (rank,) -> 2374 processed_inputs = function(*fn_args, *additional_args, **fn_kwargs) 2375 if update_data is None: 2376 # Check if the function returns updated examples /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in decorated(item, *args, **kwargs) 2067 ) 2068 # Use the LazyDict internally, while mapping the function -> 2069 result = f(decorated_item, *args, **kwargs) 2070 # Return a standard dict 2071 return result.data if isinstance(result, LazyDict) else result <ipython-input-48-ef87f4129e6e> in speech_file_to_array_fn(batch) 3 def speech_file_to_array_fn(batch): 4 batch["sentence"] = re.sub(chars_to_ignore_regex, '', batch["sentence"]).lower() ----> 5 speech_array, sampling_rate = torchaudio.load(batch["path"]) 6 batch["speech"] = resampler(speech_array).squeeze().numpy() 7 return batch /opt/conda/lib/python3.8/site-packages/torchaudio/backend/sox_io_backend.py in load(filepath, frame_offset, num_frames, normalize, channels_first, format) 150 filepath, frame_offset, num_frames, normalize, channels_first, format) 151 filepath = os.fspath(filepath) --> 152 return torch.ops.torchaudio.sox_io_load_audio_file( 153 filepath, frame_offset, num_frames, normalize, channels_first, format) 154 RuntimeError: Error loading audio file: failed to open file common_voice_it_17415776.mp3 ``` ## Environment info - `datasets` version: 1.18.4 - Platform: Linux-5.4.0-x86_64-with-glibc2.10 - Python version: 3.8.5 - PyArrow version: 7.0.0
892
43
Error loading file audio when downloading the Common Voice dataset directly from the Hub ## Describe the bug When loading the Common_Voice dataset, by downloading it directly from the Hugging Face hub, some files can not be opened. ## Steps to reproduce the bug ```python import torch import torchaudio from datasets import load_dataset, load_metric from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor import re test_dataset = load_dataset("common_voice", "it", split="test") #test_dataset = load_dataset('csv', data_files = {'test': '/workspace/Dataset/Common_Voice/cv-corpus80/it/test.csv'}) wer = load_metric("wer") processor = Wav2Vec2Processor.from_pretrained("joorock12/wav2vec2-large-xlsr-italian") model = Wav2Vec2ForCTC.from_pretrained("joorock12/wav2vec2-large-xlsr-italian") model.to("cuda") chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\'\�]' resampler = torchaudio.transforms.Resample(48_000, 16_000) ``` ## Expected results The common voice dataset downloaded and correctly loaded whit the use of the hugging face datasets library. ## Actual results The error is: ```python 0ex [00:00, ?ex/s] --------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) <ipython-input-48-ef87f4129e6e> in <module> 7 return batch 8 ----> 9 test_dataset = test_dataset.map(speech_file_to_array_fn) /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in map(self, function, with_indices, with_rank, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc, suffix_template, new_fingerprint, desc) 2107 2108 if num_proc is None or num_proc == 1: -> 2109 return self._map_single( 2110 function=function, 2111 with_indices=with_indices, /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in wrapper(*args, **kwargs) 516 self: "Dataset" = kwargs.pop("self") 517 # apply actual function --> 518 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 519 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 520 for dataset in datasets: /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in wrapper(*args, **kwargs) 483 } 484 # apply actual function --> 485 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 486 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 487 # re-apply format to the output /opt/conda/lib/python3.8/site-packages/datasets/fingerprint.py in wrapper(*args, **kwargs) 411 # Call actual function 412 --> 413 out = func(self, *args, **kwargs) 414 415 # Update fingerprint of in-place transforms + update in-place history of transforms /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in _map_single(self, function, with_indices, with_rank, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, new_fingerprint, rank, offset, disable_tqdm, desc, cache_only) 2465 if not batched: 2466 for i, example in enumerate(pbar): -> 2467 example = apply_function_on_filtered_inputs(example, i, offset=offset) 2468 if update_data: 2469 if i == 0: /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in apply_function_on_filtered_inputs(inputs, indices, check_same_num_examples, offset) 2372 if with_rank: 2373 additional_args += (rank,) -> 2374 processed_inputs = function(*fn_args, *additional_args, **fn_kwargs) 2375 if update_data is None: 2376 # Check if the function returns updated examples /opt/conda/lib/python3.8/site-packages/datasets/arrow_dataset.py in decorated(item, *args, **kwargs) 2067 ) 2068 # Use the LazyDict internally, while mapping the function -> 2069 result = f(decorated_item, *args, **kwargs) 2070 # Return a standard dict 2071 return result.data if isinstance(result, LazyDict) else result <ipython-input-48-ef87f4129e6e> in speech_file_to_array_fn(batch) 3 def speech_file_to_array_fn(batch): 4 batch["sentence"] = re.sub(chars_to_ignore_regex, '', batch["sentence"]).lower() ----> 5 speech_array, sampling_rate = torchaudio.load(batch["path"]) 6 batch["speech"] = resampler(speech_array).squeeze().numpy() 7 return batch /opt/conda/lib/python3.8/site-packages/torchaudio/backend/sox_io_backend.py in load(filepath, frame_offset, num_frames, normalize, channels_first, format) 150 filepath, frame_offset, num_frames, normalize, channels_first, format) 151 filepath = os.fspath(filepath) --> 152 return torch.ops.torchaudio.sox_io_load_audio_file( 153 filepath, frame_offset, num_frames, normalize, channels_first, format) 154 RuntimeError: Error loading audio file: failed to open file common_voice_it_17415776.mp3 ``` ## Environment info - `datasets` version: 1.18.4 - Platform: Linux-5.4.0-x86_64-with-glibc2.10 - Python version: 3.8.5 - PyArrow version: 7.0.0 Hi ! In `datasets` 2.0 can access the audio array with `librispeech_eval[0]["audio"]["array"]` already, no need to use `map_to_array`. See our documentation on [how to process audio data](https://huggingface.co/docs/datasets/audio_process) :) cc @patrickvonplaten we will need to update the readme at [facebook/s2t-small-librispeech-asr](https://huggingface.co/facebook/s2t-small-librispeech-asr) as well as https://huggingface.co/docs/transformers/model_doc/speech_to_text
[ -1.2060142755508423, -0.7468000650405884, -0.5914407968521118, 1.501941204071045, 0.0038217073306441307, -1.3023878335952759, 0.08678487688302994, -0.8381357192993164, 1.5659903287887573, -0.9296989440917969, 0.3711884021759033, -1.705107569694519, 0.07468905299901962, -0.6525754332542419, -0.60527503490448, -0.6568711996078491, -0.34966832399368286, -0.5765936374664307, 1.1687922477722168, 2.3735337257385254, 1.2010605335235596, -1.2601077556610107, 2.867570638656616, 0.6805363893508911, -0.3035360276699066, -0.8840884566307068, 0.40471911430358887, 0.07546015828847885, -1.4034186601638794, -0.3036603033542633, -0.9482632875442505, -0.0119029451161623, -0.6415696740150452, -0.5220664143562317, 0.054436370730400085, 0.5058248043060303, -0.2254016250371933, -0.42514780163764954, -0.43290087580680847, -0.7440735101699829, 0.5211509466171265, -0.2758849561214447, 0.8590861558914185, -0.34360671043395996, 1.8092173337936401, -0.6169735193252563, 0.4960310459136963, 0.5398848652839661, 1.1646472215652466, 0.25102242827415466, -0.062125541269779205, 0.4085317552089691, 0.22187718749046326, 0.027696439996361732, 0.6698179841041565, 1.2401620149612427, 0.5826370120048523, 0.5406072735786438, 0.7704460024833679, -2.18941593170166, 1.4077762365341187, -0.8301652669906616, 0.2563609182834625, 1.3709306716918945, -1.1040544509887695, 0.47915419936180115, -1.8106725215911865, -0.16112369298934937, 0.32127419114112854, -2.2584786415100098, 0.1053343415260315, -1.233113169670105, -0.6168479919433594, 1.0007550716400146, 0.3526681661605835, -1.197143316268921, -0.04430884122848511, -0.4037033021450043, 0.9507128596305847, 0.33467355370521545, 1.0955857038497925, -1.5949403047561646, 0.0396316722035408, -0.23593798279762268, 0.3618701994419098, -1.3101513385772705, -1.6556172370910645, 0.6679706573486328, 0.698013186454773, 0.6347925066947937, -0.14024779200553894, 0.9570881724357605, -1.1320514678955078, 0.8246835470199585, -1.003329873085022, -1.8227941989898682, -1.3088515996932983, -2.4673991203308105, -2.3725531101226807, 0.7699702978134155, -0.45590904355049133, -0.46067607402801514, 2.193880558013916, -1.14022696018219, -1.7454664707183838, 1.1061888933181763, 0.27733033895492554, -0.08034858107566833, 2.416884183883667, 0.22158461809158325, -0.9295092225074768, 0.6881393790245056, -0.8093123435974121, 0.7133726477622986, -0.35124680399894714, 1.2478939294815063, 0.35157063603401184, -1.106127142906189, 1.5416538715362549, -0.3698579967021942, 0.5353255271911621, -0.6751458644866943, -0.3630942702293396, -0.572091281414032, 0.176500603556633, 1.9838532209396362, -0.16405634582042694, 1.5722488164901733, -0.17633521556854248, -1.429996371269226, -1.438605785369873, 0.7078502774238586, 0.47472766041755676, -0.7667200565338135, 0.2260662168264389, -0.3777054250240326, 0.14284443855285645, 0.1541730910539627, 1.1042919158935547, 1.2817074060440063, 0.7885661125183105, -0.15852780640125275, -0.8367622494697571, 0.08427083492279053, -0.08359062671661377, -0.5184425711631775, -1.6737310886383057, -0.24742768704891205, 0.11697550117969513, 0.6837111711502075, -1.187652826309204, 1.9802055358886719, 0.9365473389625549, 1.9914531707763672, 1.0285234451293945, -0.30835801362991333, 1.5245327949523926, 0.16685199737548828, 1.8552753925323486, -0.3090141713619232, 0.6615654826164246, -0.5642023086547852, -1.1316734552383423, 0.6592733860015869, -0.3453868627548218, -1.9866187572479248, -0.39428436756134033, -0.9559264779090881, -0.11849308013916016, -0.8832535743713379, 1.0336604118347168, -0.2481072098016739, -1.3320809602737427, 0.18042872846126556, -0.6447784900665283, 0.20902803540229797, -1.4273000955581665, 0.2648603618144989, 0.7845832109451294, -0.7524600028991699, 0.0846991240978241, -0.4463849365711212, -1.4305360317230225, -0.5793980956077576, 0.4580512046813965, 1.7118613719940186, -0.6402822136878967, 0.9860492944717407, 1.0562578439712524, -0.6195639371871948, -0.08859134465456009, 0.5015378594398499, -0.35062721371650696, 0.8326516151428223, -0.9292819499969482, -0.5038155913352966, 1.0810036659240723, -0.3440289795398712, -0.5332053899765015, 1.3153859376907349, 0.7280009984970093, -1.0551170110702515, -0.3377382755279541, -0.1202731654047966, -0.8909582495689392, 0.06985972821712494, -1.5667927265167236, -0.10353381186723709, 0.3123663067817688, -1.5407214164733887, -0.4603153169155121, -0.1065867617726326, 1.166709303855896, -0.0682968869805336, 1.3771333694458008, -0.28910428285598755, -0.09252407401800156, -0.47360140085220337, -0.6465054750442505, 0.12815755605697632, -0.07630797475576401, -0.6647247672080994, 0.2575409710407257, -0.746655285358429, 0.1870768815279007, 1.4878804683685303, 0.28729817271232605, 0.08924272656440735, 0.5447902679443359, 1.2516969442367554, 0.273742139339447, -0.22486113011837006, -0.8310738205909729, -1.71074640750885, 2.057856321334839, -1.6299772262573242, 1.9833648204803467, 0.8411312699317932, -0.02047136053442955, -1.872960090637207, -1.7718241214752197, 1.4958138465881348, 1.171873688697815, 2.453934669494629, 0.4952136278152466, 0.42684370279312134, -0.804507315158844, -0.6992505192756653, 0.4205838441848755, -0.7650003433227539, -0.864025354385376, 0.1302490383386612, 2.331272840499878, 1.745320439338684, -0.3527897596359253, -0.13909286260604858, -0.8556962013244629, 1.3708525896072388, -0.31232866644859314, 0.2761886417865753, 1.852317214012146, -0.4258439540863037, -1.0258055925369263, 1.3348751068115234, -2.3893954753875732, 0.30137160420417786, 2.0218148231506348, 0.30838391184806824, 0.020794544368982315, -1.1376405954360962, -0.7106205821037292, -0.2311142534017563, -0.368431955575943, -1.313621163368225, 0.364732563495636, -0.23694084584712982, -0.7805874943733215, -1.4060862064361572, 0.027585802599787712, -1.245236873626709, -1.6625707149505615, 0.3970566987991333, 1.7683218717575073, 2.1568779945373535, -0.8002633452415466, 1.259489893913269, -0.24669204652309418, 0.28306466341018677, 1.0993708372116089, 1.2618573904037476, 3.229590892791748, 1.9220845699310303, -1.2206473350524902, 0.6126818656921387, -0.146537646651268, -0.5415434837341309, 1.2471071481704712, -1.0439826250076294, 1.1713461875915527, -0.1800149530172348, -1.3606665134429932, -1.21255624294281, 0.8953648805618286, 0.40274640917778015, -0.03216207027435303, -0.4421593248844147, 1.1159530878067017, 0.14524370431900024, 1.3545384407043457, 0.6572715044021606, -0.292182981967926, 0.46122002601623535, -0.42114341259002686, -0.5355597138404846, 1.573757290840149, -0.00033254269510507584, -1.5732077360153198, -2.1956541538238525, -0.16378864645957947, -0.9557263851165771, 0.08655916154384613, -0.9164945483207703, -0.9893969893455505, 1.4692511558532715, 0.46558403968811035, -0.9361976385116577, -0.08621113747358322, -0.44882023334503174, -0.6448020339012146, 2.675194025039673, -1.4119654893875122, -0.2245154082775116, -1.0429494380950928, -0.6941235065460205, 1.5155503749847412, -1.155072808265686, -0.2542608678340912, -1.0461399555206299, -0.4772455096244812, -1.2392942905426025, -0.4580323100090027, -0.09822462499141693, -0.7982324361801147, 0.7561962604522705, 0.029424576088786125, -1.2437255382537842, -0.31419074535369873, -1.1140071153640747, 0.8843243718147278, -0.3227844834327698, 0.01155327819287777, 1.6550347805023193, 0.24408438801765442, -0.42703017592430115, 0.8547835946083069, 1.3107540607452393, 0.6626495122909546, -0.5577841997146606, 0.1331436187028885, -0.6423032283782959, 0.4561420977115631, -1.2243596315383911, 0.36705464124679565, -2.8789680004119873, 0.6111445426940918, 0.030275845900177956, -0.06049995869398117, -0.1411435306072235, -1.4418834447860718, 0.9390219449996948, 2.487635850906372, -1.0899555683135986, 0.6190043687820435, 0.31627246737480164, 1.2993931770324707, -1.651540756225586, 0.026369379833340645, -0.7466691136360168, 2.02474308013916, 0.049848735332489014, 1.0200198888778687, -0.6023624539375305, -2.4212350845336914, 0.6250444054603577, -1.2488459348678589, -0.9290661215782166, 0.8279331922531128, -0.8296239376068115, 0.2376071810722351, -1.08807373046875, -0.19188831746578217, -0.9085906744003296, -1.0407201051712036, 0.48719245195388794, 0.08273446559906006, 0.6507287621498108, -0.6213300228118896, 0.18546664714813232, -2.3234143257141113, -1.3701050281524658, -0.18309500813484192, -0.9401830434799194, 0.5096277594566345, -0.45717835426330566, 0.646726131439209, -0.07313699275255203, -0.01312327478080988, 0.2422589361667633, 1.5328178405761719, 3.1861071586608887, 0.06842943280935287, 0.352447509765625, -0.27023032307624817, -1.054278016090393, 1.5659739971160889, 0.8783432245254517, -0.2433558702468872, -0.5928929448127747, -1.0008373260498047, 1.3254871368408203, 1.8449362516403198, 1.084837794303894, -0.023799804970622063, -0.9375959038734436, -0.8757354617118835, 0.09452451765537262, 0.1821984499692917, 0.4840061664581299, 0.9605700969696045, 0.197422057390213, 0.24911415576934814, 1.348750114440918, 1.112959384918213, -0.3622956871986389, 0.3359704911708832, -0.8225518465042114, -0.39456304907798767, 0.5672224760055542, 0.3438207507133484, -0.0810551643371582, 0.28788086771965027, -1.011770486831665, -0.2680448293685913, -0.22334614396095276, -0.7955061197280884, -0.7060340046882629, -0.37202996015548706, -0.40493959188461304, 1.792779803276062, -0.06414268165826797, -0.5724142789840698, -0.04238898307085037, -0.8075208067893982, -0.15064166486263275, -1.0556786060333252, 0.32304781675338745, -0.1570073366165161, -0.012241346761584282, -0.16567808389663696, 1.7182468175888062, -1.0137639045715332, -2.2658162117004395, 0.13722947239875793, 0.24033361673355103, -0.22490130364894867, -0.15282145142555237, 1.771284818649292, 0.5162642598152161, 1.3863528966903687, 1.5906338691711426, 1.0810461044311523, -0.6715306043624878, -1.3512557744979858, 0.6572627425193787, 0.9583734273910522, -1.2804113626480103, 0.8689904808998108, -0.20813071727752686, -0.6067044734954834, 0.5173076391220093, 1.3331104516983032, 0.46074432134628296, -1.9160058498382568, 0.9071279764175415, -1.198958158493042, 0.9112540483474731, 0.8725759387016296, 0.8238207697868347, 0.13946393132209778, 0.9002092480659485, -1.230850338935852, -1.0618810653686523, -0.6267867684364319, -0.6391610503196716, 1.740682601928711, -0.32299694418907166, 0.382728636264801, -0.27949902415275574, -1.2333039045333862, 0.18114283680915833, 0.6959552764892578, 0.2738364040851593, -0.2930980324745178, 0.7715290188789368, -0.742447555065155, -1.1236066818237305, -1.3800358772277832, -0.4698302745819092, -0.98259037733078, -0.8807595372200012, 1.0690349340438843, 0.7491082549095154, 0.4654850959777832, 1.9837785959243774, 0.7521800994873047, 0.2351955622434616, -2.58432936668396, 0.8313776850700378, 0.299992173910141, -0.07271642237901688, 0.7790318727493286, 0.34923630952835083, 1.244742512702942, -0.11160629242658615, 0.49834346771240234, -2.336491346359253, 2.2644734382629395, -0.27414804697036743, 0.8096131086349487, 0.02374846301972866, 0.022428175434470177, 1.002200961112976, 0.622782289981842, 0.5201240181922913, -1.0304410457611084, 0.9145917296409607, -0.6038742065429688, 1.158327579498291, 0.8576107621192932, -0.8702108263969421, 0.23750737309455872, 1.1894111633300781, 0.34006035327911377, -0.6576264500617981, -1.0386258363723755, -0.9130390286445618, 0.9351406097412109, 1.8159992694854736, 0.0814114585518837, 0.06666986644268036, 0.8322600722312927, 0.7444308996200562, -1.1949446201324463, 0.008165096864104271, -0.4410719871520996, -0.6832765340805054, 1.807400107383728, 1.9946398735046387, 0.003334278240799904, -0.007971931248903275, -0.7428396344184875, -1.3755924701690674, 0.772363007068634, 0.20606452226638794, -0.042119428515434265, 0.8513126373291016, -0.6956866979598999, 1.179125189781189, 0.8584202527999878, 0.8158634305000305, 0.29019638895988464, 0.07178615778684616, 0.31011348962783813, -0.25283554196357727, -1.244189977645874, -0.32137617468833923, -0.9620162844657898, -2.6464014053344727, 0.4012324810028076, -0.3124966323375702, -1.5125621557235718, 0.14292657375335693, -0.9200745820999146, 0.7279245257377625, -0.5207687020301819, -1.1948107481002808, -1.4125434160232544, 0.20217996835708618, -0.14045025408267975, 0.7601975798606873, -1.6059958934783936, -0.18494126200675964, 1.0998891592025757, 0.9891974329948425, -0.5611967444419861, 0.9300363063812256, 0.27712830901145935, 0.9593231678009033, 0.9476959705352783, -0.42166462540626526, 0.5049864649772644, 0.2479029893875122, -1.3965582847595215, 0.318550705909729, 1.3767147064208984, 0.152792289853096, 1.3366448879241943, -0.40249186754226685, -0.04745015501976013, 0.4887876808643341, -0.2431999146938324, -0.5568085312843323, -0.6801236271858215, 0.6256842017173767, -0.13332277536392212, -0.9065929055213928, -0.13350535929203033, 0.008324826136231422, -0.24294844269752502, 0.350966215133667, -1.5205222368240356, -0.05045940726995468, -0.49196040630340576, -0.6888384222984314, -1.3906644582748413, -0.09069593995809555, 1.3856594562530518, -0.8969227075576782, -0.09303776919841766, 0.5334415435791016, 0.1025947779417038, 0.4859350919723511, 0.6683991551399231, -0.8306555151939392, -0.20606772601604462, -0.11820922046899796, -0.38379454612731934, 0.34525060653686523, 1.2597324848175049, -0.12308008968830109, -1.001184105873108, 0.47216713428497314, -0.20056484639644623, 0.22747062146663666, 1.9990801811218262, 0.0757693201303482, -0.8615142107009888, 0.35376179218292236, -0.821640133857727, 1.8772813081741333, 1.5906214714050293, 1.3215159177780151, -0.1135542020201683, -0.9872899055480957, 0.6450287103652954, -0.3592233955860138, -0.31925782561302185, 0.7923814058303833, 0.32032039761543274, -0.30513834953308105, -1.386060118675232, 0.8134315609931946, 1.2585484981536865, -0.7794482707977295, -0.7444913983345032, 0.12466712296009064, -0.8437495827674866, 1.2499281167984009, 0.6047582626342773, 0.24123886227607727, 0.3117673695087433, 1.6840083599090576, 0.7490688562393188, -0.550247848033905, 0.5338058471679688, 0.4961246848106384, -0.15196643769741058, -1.9580365419387817, -1.0606979131698608, 0.24922996759414673, -0.45925381779670715, -1.5151324272155762, 1.5018517971038818, -1.282657265663147, -0.9568142890930176, 0.5660973191261292, 0.1526847630739212, 1.3683377504348755, 0.2877959609031677, 1.6728869676589966, 1.9676159620285034, 0.8454402089118958, 0.5205433368682861, 1.1374750137329102, -0.3292942941188812, -0.3234280049800873, 1.6833120584487915, -0.5384924411773682, 0.633285641670227, 1.1075572967529297, -0.44993460178375244, -1.230669617652893, -0.7981318831443787, -1.20718252658844, -0.8016089200973511, 1.0809168815612793, 0.11567912995815277, -1.1039466857910156, 0.3461190164089203, 1.5720610618591309, 0.04539138823747635, -0.13594643771648407, 0.6215989589691162, 0.37183788418769836, -0.6790204644203186, -0.15085288882255554, -1.0751034021377563, 0.6319918036460876, -0.3437527120113373, -0.3539067208766937, 0.18394967913627625, 0.5441755056381226, 1.1822782754898071, 0.2163136601448059, 0.1682724505662918, 1.37215256690979, -1.3572664260864258, 1.2358232736587524, -1.0318681001663208, 0.3842323422431946, -2.365816593170166, 1.526501178741455, -0.980986475944519, 1.9317982196807861, -2.6330513954162598, 0.5257582068443298, -0.5210422873497009, -0.5787703990936279, 0.2383284568786621, -0.2006240040063858, 0.02727282978594303, 0.0029972735792398453, -1.046550989151001, -0.09638329595327377, -0.8793564438819885, 0.5032746195793152, 1.261088490486145, 1.331210970878601, -0.9245308041572571, -0.2893064320087433, -1.5627849102020264, -0.15427029132843018, -0.4651596248149872, 0.1573915183544159, -1.7573553323745728, -0.23316217958927155, -2.0722475051879883, -2.4991960525512695, -1.3129583597183228, -1.0114513635635376, 1.3409978151321411, 0.14418797194957733, -0.9089741706848145, 1.2049890756607056, -0.4100933074951172, -1.7207016944885254, 1.262323021888733, -2.093595504760742 ]