html_url
stringlengths
51
51
title
stringlengths
6
280
comments
stringlengths
63
141k
body
stringlengths
18
58.6k
comment_length
int64
16
10.8k
text
stringlengths
6
280
embeddings
listlengths
768
768
https://github.com/huggingface/datasets/issues/2161
any possibility to download part of large datasets only?
Hi ! Streaming is available on `master` only right now. We'll make a new release 1.9.0 on Monday :)
Hi Some of the datasets I need like cc100 are very large, and then I wonder if I can download first X samples of the shuffled/unshuffled data without going through first downloading the whole data then sampling? thanks
19
any possibility to download part of large datasets only?
[ -0.5164613127708435, 0.01674460433423519, -0.2895768880844116, 0.2692464292049408, -0.07541868090629578, 0.2113526612520218, -0.09322147816419601, 0.6230628490447998, -0.003443585941568017, 0.2585667669773102, -0.4474884569644928, -0.19838735461235046, -0.1973884105682373, 0.2996545433998108, 0.11865279078483582, 0.06078588217496872, -0.14974986016750336, 0.3622376322746277, -0.2596433162689209, -0.2000127136707306, 0.009106162935495377, -0.21079081296920776, 0.11559657752513885, -0.13382074236869812, 0.30736038088798523, -0.04524904862046242, 0.1639791578054428, -0.1698404997587204, -0.3202555775642395, 0.03620138764381409, -0.022605448961257935, 0.015796419233083725, 0.16307459771633148, 0.0658908560872078, -0.00010486058454262093, -0.1462060809135437, -0.10496354848146439, -0.09619010984897614, -0.3614945709705353, 0.09319209307432175, -0.29662561416625977, -0.08729524910449982, -0.10471059381961823, -0.4239000082015991, 0.2139597237110138, 0.045048460364341736, 0.1145755872130394, 0.0040275766514241695, 0.3813396692276001, 0.1735626757144928, 0.3449546992778778, 0.07226071506738663, -0.07205692678689957, -0.033609844744205475, 0.21451203525066376, -0.12817078828811646, 0.023439308628439903, 0.21486833691596985, 0.45098188519477844, 0.2888915240764618, 0.08415679633617401, 0.2060314267873764, 0.01282720360904932, 0.23640769720077515, -0.23692741990089417, -0.1405520737171173, 0.02038474753499031, -0.5098349452018738, 0.36821436882019043, 0.40133553743362427, 0.31187543272972107, -0.02385897934436798, -0.3465106189250946, -0.22599263489246368, -0.003819121979176998, -0.2682879567146301, -0.2741965055465698, 0.6338961720466614, -0.33175817131996155, 0.2303112894296646, -0.2706291973590851, -0.3253735303878784, -0.15749411284923553, 0.1291516274213791, -0.2142917364835739, 0.022458497434854507, -0.06393031030893326, -0.07740945369005203, 0.15802371501922607, 0.07686340808868408, -0.06001653894782066, 0.04734188690781593, 0.026329895481467247, 0.14472107589244843, -0.06840912252664566, -0.3317646086215973, -0.2633333206176758, 0.032081302255392075, 0.45891302824020386, 0.07384396344423294, 0.08962994813919067, 0.21550986170768738, 0.11904457956552505, -0.055941712111234665, 0.31158745288848877, -0.29005444049835205, -0.28009188175201416, -0.014505685307085514, 0.31014442443847656, -0.12396255135536194, 0.050070926547050476, 0.09075222909450531, -0.13212884962558746, 0.11577614396810532, -0.28570327162742615, 0.03491808474063873, -0.19718310236930847, -0.25325608253479004, -0.1120811477303505, -0.09578432887792587, 0.20621588826179504, 0.05250287428498268, -0.2600052058696747, 0.27030637860298157, 0.03161821886897087, -0.013104149140417576, -0.10106948763132095, -0.06891093403100967, 0.11526759713888168, -0.4302910268306732, -0.17048439383506775, 0.22647885978221893, 0.23310300707817078, -0.10629327595233917, 0.21730472147464752, -0.13962216675281525, 0.11365385353565216, -0.357848584651947, -0.0780390128493309, 0.004906234797090292, 0.0020217576529830694, -0.35890042781829834, 0.05133189260959625, 0.16663525998592377, 0.13058242201805115, 0.18270018696784973, -0.12048523873090744, 0.27071240544319153, -0.19290363788604736, 0.13388478755950928, -0.04256051033735275, -0.132285013794899, 0.14729537069797516, 0.23979370296001434, -0.09797738492488861, -0.04061032086610794, -0.14081718027591705, 0.17813740670681, -0.09979292750358582, -0.058420006185770035, -0.09653223305940628, 0.3299591541290283, -0.19258522987365723, -0.050271157175302505, 0.1604183316230774, 0.2853817641735077, -0.10106584429740906, -0.1568663865327835, -0.016839681193232536, -0.27573809027671814, 0.2370194047689438, 0.379000723361969, -0.10360106080770493, -0.040002550929784775, -0.0716475173830986, 0.08215561509132385, 0.5079103708267212, 0.05603307485580444, -0.5426387190818787, 0.4304245710372925, -0.17434906959533691, -0.4008110463619232, 0.09830302745103836, 0.37634143233299255, 0.47282564640045166, -0.10531153529882431, -0.07468301057815552, 0.3979344964027405, -0.018155165016651154, 0.11252215504646301, -0.0062570045702159405, -0.5173815488815308, -0.24134132266044617, 0.2773667871952057, 0.39163169264793396, 0.3428660035133362, 0.26880398392677307, -0.08572591841220856, 0.413030207157135, -0.049735184758901596, 0.28611570596694946, 0.26358866691589355, 0.023745611310005188, -0.1618790477514267, -0.3643455505371094, -0.40222153067588806, -0.16995932161808014, 0.07307499647140503, 0.000911372946575284, -0.46031367778778076, 0.037606608122587204, -0.09742864221334457, -0.16423442959785461, -0.173587366938591, 0.45387160778045654, 0.17650894820690155, 0.16070912778377533, -0.13840094208717346, 0.28549546003341675, 0.05324440449476242, -0.2343073934316635, 0.02965223789215088, -0.03933058679103851, -0.003655144013464451, 0.03364173322916031, 0.06506745517253876, 0.17301784455776215, 0.191510409116745, 0.4317861795425415, -0.2795974314212799, 0.015526621602475643, -0.1357763111591339, 0.2582015097141266, -0.010644608177244663, -0.23610979318618774, 0.01499014813452959, 0.1065312996506691, 0.08807821571826935, 0.09444794058799744, -0.025193465873599052, -0.009672666899859905, 0.030301660299301147, 0.22921298444271088, 0.18260282278060913, -0.2622597813606262, 0.17035174369812012, 0.04189487174153328, 0.01919458992779255, 0.2927432358264923, 0.06354543566703796, 0.4363323748111725, -0.3200452923774719, 0.2332780808210373, -0.25613266229629517, 0.19714011251926422, 0.05612888187170029, 0.0684003233909607, 0.0841827392578125, -0.299562007188797, -0.08209781348705292, 0.22896265983581543, -0.13041111826896667, 0.25185826420783997, 0.18184037506580353, -0.21391133964061737, 0.12812821567058563, 0.055797696113586426, 0.2947588562965393, 0.14389346539974213, 0.2919166386127472, 0.5020671486854553, -0.05787501856684685, 0.4327150881290436, -0.07268428802490234, 0.03483377769589424, 0.04505382105708122, -0.1987631618976593, 0.13622507452964783, 0.027383778244256973, -0.04038141295313835, -0.1504562497138977, -0.012533511035144329, 0.17456543445587158, -0.07442968338727951, 0.17185357213020325, -0.34273862838745117, -0.2910558879375458, -0.4412775933742523, 0.03731474280357361, 0.22389274835586548, 0.13880132138729095, -0.11194419115781784, 0.14810387790203094, 0.2667495012283325, -0.25575828552246094, -0.00369520066305995, -0.26171866059303284, 0.2613801956176758, 0.06940235942602158, 0.043159570544958115, 0.07435698062181473, -0.11645784229040146, 0.17367559671401978, 0.26613980531692505, 0.07652663439512253, 0.10260510444641113, 0.3998182415962219, -0.1678522825241089, -0.26136186718940735, -0.5997964143753052, 0.1469661295413971, 0.1020057201385498, 0.3105963170528412, -0.2721955180168152, -0.13244940340518951, 0.4124753177165985, 0.056154441088438034, -0.010660979896783829, -0.1786738485097885, -0.12888723611831665, -0.17575398087501526, -0.07505115121603012, 0.08353281021118164, 0.21773940324783325, -0.0676729828119278, -0.09896598756313324, -0.5232558250427246, -0.46027544140815735, 0.536063551902771, 0.2613391578197479, 0.28069546818733215, -0.30025190114974976, -0.004611692391335964, -0.13417081534862518, -0.23428046703338623, 0.05979049950838089, -0.020694570615887642, -0.13053472340106964, 0.38413432240486145, -0.05866328626871109, -0.3403083086013794, -0.10746817290782928, 0.10794926434755325, -0.13716252148151398, 0.36240917444229126, -0.4732556939125061, -0.007147920783609152, -0.2944728136062622, 0.0028892483096569777, -0.07344676554203033, 0.1257813274860382, -0.09417068958282471, -0.4497155547142029, -0.22822698950767517, 0.13324344158172607, 0.2438989281654358, -0.1324622929096222, -0.09482534229755402, -0.11393103003501892, -0.24898485839366913, 0.17619098722934723, 0.21970264613628387, 0.4135845899581909, 0.08707030117511749, 0.046965569257736206, 0.16295473277568817, 0.017575614154338837, 0.13269081711769104, -0.0079908836632967, 0.0013068643165752292, 0.2229606807231903, -0.08315803110599518, -0.003362188581377268, 0.2313048541545868, -0.13454915583133698, -0.16521784663200378, -0.17336846888065338, -0.21460367739200592, -0.3277505934238434, -0.2488347589969635, -0.010496845468878746, 0.20804432034492493, 0.11841703951358795, 0.1577674299478531, -0.11023720353841782, -0.07025003433227539, -0.03676478937268257, 0.1746678203344345, -0.17472010850906372, 0.14676164090633392, -0.09540987014770508, -0.18281236290931702, 0.10757845640182495, -0.41955387592315674, 0.030584322288632393, -0.12990209460258484, -0.1023300364613533, 0.015331014059484005, -0.06434102356433868, -0.09597285091876984, 0.030818844214081764, 0.3942485749721527, 0.20808880031108856, 0.35622185468673706, -0.1701505482196808, -0.2667134702205658, -0.24208678305149078, 0.1753675639629364, -0.10059203207492828, -0.023913651704788208, 0.3729771077632904, -0.06800716370344162, -0.5442940592765808, 0.27107691764831543, 0.3019632399082184, 0.39875125885009766, -0.03492399677634239, 0.09704200178384781, 0.24344056844711304, -0.17716380953788757, -0.41306114196777344, 0.20744110643863678, 0.0535828061401844, -0.17948408424854279, 0.13269485533237457, -0.20311897993087769, -0.20042766630649567, -0.007111666724085808, 0.0028166593983769417, -0.03263230621814728, -0.07432489842176437, 0.07595957815647125, 0.4050045311450958, -0.2329189032316208, 0.08079545199871063, 0.3044503629207611, 0.495783269405365, 0.08000165224075317, -0.08929450064897537, 0.1650964319705963, -0.10059047490358353, 0.033110082149505615, 0.27853429317474365, 0.023025669157505035, 0.264663964509964, 0.1165686771273613, 0.29852935671806335, -0.07547736912965775, 0.15281376242637634, -0.32090145349502563, -0.15930618345737457, -0.3022630214691162, -0.21745556592941284, 0.41304001212120056, 0.09641920775175095, -0.03861920163035393, 0.08102375268936157, -0.1260961890220642, 0.06894728541374207, -0.24305474758148193, -0.0049890209920704365, 0.7875773310661316, -0.13238073885440826, 0.19423675537109375, -0.30192339420318604, -0.12222778797149658, 0.5235981941223145, -0.0270066000521183, -0.017202354967594147, -0.14704832434654236, -0.4114272892475128, -0.0696963518857956, -0.016576115041971207, -0.25454577803611755, 0.1999559998512268, 0.06042284145951271, 0.23178374767303467, -0.05365012213587761, 0.18113815784454346, 0.10648871213197708, 0.1487032175064087, -0.34181681275367737, -0.09578340500593185, -0.022867143154144287, 0.19536690413951874, 0.07765419036149979, 0.04997064918279648, -0.03900808468461037, -0.10289964824914932, 0.015089146792888641, 0.06922613829374313, -0.14943037927150726, 0.08844411373138428, -0.2853318452835083, 0.22694574296474457, -0.4122275412082672, -0.12700696289539337, -0.15628527104854584, -0.1104804128408432, -0.17478640377521515, 0.21091164648532867, -0.1932552605867386, 0.05905824154615402, -0.16880014538764954, -0.009736506268382072, -0.04501654952764511, 0.1671912670135498, -0.23317494988441467, -0.0929671972990036, 0.05071292817592621, 0.23339669406414032, -0.019189167767763138, -0.10660404711961746, 0.14062826335430145, 0.25683796405792236, -0.031130516901612282, 0.016768209636211395, -0.22795182466506958, -0.06443066149950027, -0.11536827683448792, -0.25453951954841614, 0.17193254828453064, 0.1850491315126419, -0.1079157143831253, 0.22189173102378845, 0.12293076515197754, -0.22649158537387848, -0.324255108833313, 0.6595109105110168, -0.027246614918112755, -0.04293625056743622, 0.19235530495643616, -0.2554589509963989, -0.28163570165634155, -0.3677677810192108, -0.08677461743354797, -0.2391122430562973, -0.2076534926891327, 0.12386538833379745, -0.45183244347572327, 0.07459493726491928, -0.20318196713924408, -0.06381621211767197, 0.23280897736549377, 0.06103979051113129, -0.07218735665082932, -0.3480593264102936, -0.20900867879390717, 0.25273430347442627, 0.05776281654834747, 0.1699487268924713, -0.07707078754901886, -0.04342307522892952, -0.17198731005191803, 0.3332325518131256, -0.38247814774513245, 0.2778500020503998, -0.2017413079738617, 0.18508172035217285, 0.297846257686615, 0.18670476973056793, -0.04358789697289467, 0.1415262222290039, 0.21810230612754822, 0.34962281584739685, -0.09853233397006989, -0.33193835616111755, -0.10220501571893692, 0.09269900619983673, -0.14956194162368774, -0.10995474457740784, 0.24647118151187897, -0.2327509969472885, -0.15570789575576782, 0.0542416051030159, 0.11987495422363281, 0.08413596451282501, 0.21500898897647858, -0.28375962376594543, 0.48602381348609924, -0.09169860184192657, -0.3666270971298218, 0.29368987679481506, -0.20328661799430847, 0.20087622106075287, -0.015680978074669838, 0.36112019419670105, 0.175111323595047, 0.027768468484282494, -0.1887451708316803, -0.2604216933250427, 0.39903390407562256, -0.24558144807815552, 0.2146676927804947, 0.22892408072948456, 0.023191142827272415, 0.3235442638397217, 0.20418626070022583, 0.4967449903488159, -0.06786710768938065, 0.1435011923313141, 0.27032193541526794, 0.34414172172546387, -0.26990440487861633, -0.24447450041770935, 0.033131275326013565, -0.3001727759838104, 0.24154125154018402, 0.1951114982366562, -0.0659533217549324, -0.23292286694049835, 0.11664634943008423, -0.3182126581668854, 0.19744975864887238, 0.2662661075592041, -0.1563260406255722, 0.5767971277236938, 0.28159263730049133, -0.19157527387142181, -0.16800889372825623, 0.3795035779476166, 0.4236961007118225, 0.36693277955055237, -0.21145713329315186, 0.14948371052742004, -0.06241719797253609, -0.046147674322128296, -0.23328010737895966, -0.44809234142303467, -0.005820292513817549, 0.38855284452438354, -0.005411058664321899, 0.08593463897705078, -0.13602839410305023, -0.22823722660541534, 0.19718237221240997, 0.13955174386501312, -0.17642754316329956, 0.3624625504016876, 0.2975601255893707, 0.019113117828965187, 0.022479252889752388, -0.1712789386510849, -0.0014470467576757073, 0.23274648189544678, 0.11649627983570099, -0.5298469066619873, 0.19021743535995483, 0.28424957394599915, 0.05256359651684761, -0.1425573229789734, 0.028827957808971405, 0.07583226263523102, -0.09584818035364151, -0.43961429595947266, -0.15008260309696198, -0.019906822592020035, 0.1259521096944809, 0.069203220307827, 0.07905768603086472, -0.07635463029146194, -0.036723289638757706, 0.37846413254737854, -0.10771531611680984, 0.18762610852718353, -0.03104959987103939, -0.5165870785713196, -0.03409948945045471, 0.24007858335971832, 0.2828553020954132, 0.5737729668617249, 0.2184896320104599, -0.29016703367233276, 0.10688824206590652, 0.002956787124276161, -0.23261962831020355, -0.4717673659324646, -0.06355990469455719, 0.21236194670200348, -0.20925010740756989, -0.10619767755270004, -0.11839412897825241, -0.11803331971168518, 0.016868343576788902, -0.18522894382476807, -0.42014873027801514, 0.250451922416687, 0.3232353925704956, 0.11700538545846939, -0.1952112466096878, 0.3825214207172394, 0.15788009762763977, 0.2623538672924042, -0.12646660208702087, -0.33185848593711853, -0.22999916970729828, 0.11676060408353806, -0.2848546802997589, -0.07106426358222961, -0.07204876095056534, 0.3407008945941925, 0.18231019377708435, 0.31091195344924927, -0.05401451140642166, 0.2583227753639221, -0.020257817581295967, 0.29477232694625854, -0.17196732759475708, -0.20004379749298096, 0.17431631684303284, 0.4366302788257599, 0.1089877039194107, -0.4899705946445465, 0.3238481879234314, -0.1155225858092308, 0.2249937504529953, 0.2568027675151825, -0.19442208111286163, -0.03615207597613335, -0.024457648396492004, 0.5402953624725342, -0.2178969383239746, 0.24720190465450287, -0.3413129448890686, -0.07503064721822739, 0.033734992146492004, -0.028023410588502884, -0.18123699724674225, 0.146253302693367, 0.32367756962776184, -0.08873287588357925, -0.19817835092544556, 0.2706508934497833, 0.10330819338560104, 0.08329411596059799, -0.1363804191350937, 0.28445830941200256, 0.21836256980895996, -0.16748058795928955, 0.029586151242256165, 0.15358054637908936, 0.13771334290504456, 0.03602689504623413, -0.3187694549560547, -0.26313352584838867, -0.15905602276325226, -0.1308964043855667, 0.3064955174922943, -0.045326896011829376, -0.09743593633174896, -0.20894722640514374, 0.3542238175868988, 0.07061491906642914, 0.13370098173618317, -0.06720452755689621, 0.14287349581718445, 0.3947151303291321, -0.2406417727470398, -0.17293263971805573, 0.10428499430418015, -0.056723710149526596, -0.20802780985832214, -0.008529664017260075, 0.37805619835853577, 0.1406690776348114, -0.46073272824287415, -0.2434752881526947, -0.40969306230545044 ]
https://github.com/huggingface/datasets/issues/2160
data_args.preprocessing_num_workers almost freezes
Hi. I cannot always reproduce this issue, and on later runs I did not see it so far. Sometimes also I set 8 processes but I see less being showed, is this normal, here only 5 are shown for 8 being set, thanks ``` #3: 11%|███████████████▊ | 172/1583 [00:46<06:21, 3.70ba/s] #4: 9%|█████████████▏ | 143/1583 [00:46<07:46, 3.09ba/s] #7: 6%|█████████ | 98/1583 [00:45<11:34, 2.14ba/s] #5: 8%|███████████▍ | 124/1583 [00:46<09:03, 2.68ba/s] #6: 7%|██████████▏ ```
Hi @lhoestq I am running this code from huggingface transformers https://github.com/huggingface/transformers/blob/master/examples/language-modeling/run_mlm.py to speed up tokenization, since I am running on multiple datasets, I am using data_args.preprocessing_num_workers = 4 with opus100 corpus but this moves on till a point and then this freezes almost for sometime during tokenization steps and then this is back again, overall to me taking more time than normal case, I appreciate your advice on how I can use this option properly to speed up. thanks
71
data_args.preprocessing_num_workers almost freezes
[ -0.4835803508758545, 0.04915718361735344, -0.33656343817710876, -0.027894984930753708, 0.1959284245967865, -0.22245991230010986, 0.3434657156467438, 0.22079476714134216, -0.28637757897377014, 0.4199047088623047, 0.26485905051231384, 0.3157876133918762, -0.2055744230747223, -0.13203613460063934, -0.13953809440135956, 0.4428638517856598, -0.07367964088916779, -0.06630383431911469, -0.15597528219223022, 0.20323355495929718, -0.26724767684936523, 0.27129682898521423, -0.05704546347260475, -0.07544465363025665, -0.35482257604599, 0.00647297129034996, 0.32329997420310974, 0.40015479922294617, 0.1047421544790268, -0.11102411895990372, -0.05031989514827728, 0.12761592864990234, -0.30223941802978516, 0.39859187602996826, -0.00010615748033160344, -0.009563477709889412, 0.30644717812538147, 0.4410076141357422, -0.44419941306114197, 0.3439806401729584, 0.04715760052204132, -0.3169005513191223, -0.10792015492916107, 0.09462494403123856, 0.14911504089832306, 0.135351300239563, 0.05667659640312195, -0.22273629903793335, 0.3633553385734558, 0.1889503449201584, 0.21830417215824127, 0.11347004026174545, -0.19084127247333527, -0.005784222390502691, -0.050028037279844284, -0.13585253059864044, -0.13609573245048523, 0.30463749170303345, 0.33882999420166016, 0.18944668769836426, 0.1750464290380478, 0.0960645005106926, -0.1377171128988266, -0.16634076833724976, -0.3748173117637634, -0.06591881811618805, 0.38995012640953064, -0.1784209907054901, 0.3570542335510254, 0.05225096270442009, -0.33851441740989685, 0.07276651263237, 0.12639230489730835, -0.16853885352611542, -0.1332755982875824, -0.2298201620578766, -0.006765939295291901, -0.2839457392692566, -0.16780120134353638, 0.027248449623584747, 0.04566814377903938, -0.08917214721441269, -0.03135253116488457, -0.07787475734949112, 0.08202463388442993, 0.21739798784255981, -0.2495201975107193, 0.04097331315279007, 0.4620210528373718, 0.016481222584843636, 0.19115197658538818, 0.0884968638420105, 0.07645470649003983, -0.13645462691783905, -0.16465461254119873, 0.044978756457567215, 0.06746163219213486, -0.05501238629221916, 0.03653671219944954, -0.13763953745365143, 0.21264158189296722, 0.5913903117179871, 0.38123705983161926, -0.07809965312480927, -0.0728786364197731, -0.3781873881816864, -0.03613061085343361, -0.41695839166641235, 0.6119316220283508, 0.1416947990655899, -0.11412094533443451, 0.20682603120803833, 0.016835441812872887, -0.7229968309402466, 0.3713628947734833, 0.1156482994556427, 0.18383975327014923, 0.005668383091688156, -0.048103053122758865, 0.40956971049308777, 0.29196760058403015, 0.10280175507068634, 0.165044367313385, 0.16497090458869934, -0.04912879690527916, 0.30556049942970276, -0.0713803619146347, -0.26113906502723694, -0.43044811487197876, -0.21749094128608704, -0.3326391279697418, -0.2855103313922882, -0.04851213097572327, -0.06227496638894081, 0.28819993138313293, 0.03186437487602234, 0.13481788337230682, 0.08046122640371323, 0.45875126123428345, -0.18426154553890228, 0.18682150542736053, -0.05124720185995102, 0.06664536893367767, 0.28991785645484924, -0.10057596117258072, 0.26249733567237854, -0.13423454761505127, 0.24242186546325684, -0.03227100148797035, 0.07522132992744446, 0.16594669222831726, -0.13048595190048218, 0.14751313626766205, 0.2373569905757904, 0.038671672344207764, 0.34267815947532654, 0.3068481385707855, -0.06961745768785477, 0.32319119572639465, 0.16665886342525482, -0.016613122075796127, -0.2955121695995331, -0.274543434381485, -0.06467896699905396, 0.07728848606348038, 0.4403029978275299, 0.2563771605491638, 0.33093708753585815, -0.09774690866470337, -0.08337584137916565, 0.42406871914863586, -0.09089946001768112, 0.09279102832078934, -0.27823004126548767, -0.0018485879991203547, -0.03282490372657776, 0.14782282710075378, 0.3355790674686432, 0.1160125881433487, 0.3954794406890869, -0.06576056778430939, -0.20533280074596405, 0.09845804423093796, 0.09568347781896591, -0.41336265206336975, -0.12581153213977814, 0.22617939114570618, 0.155193030834198, -0.01923285983502865, -0.032586000859737396, -0.27045971155166626, 0.04709818214178085, -0.26666104793548584, 0.19873970746994019, -0.046932246536016464, -0.24187561869621277, -0.21849244832992554, -0.32453060150146484, -0.003603405086323619, 0.09263467788696289, -0.0006935331621207297, 0.07198970764875412, -0.2100771814584732, -0.17731229960918427, 0.11689010262489319, -0.3398669958114624, -0.3228490352630615, 0.05298226699233055, 0.13414525985717773, -0.0650591179728508, 0.13005122542381287, 0.039821822196245193, -0.05061165615916252, 0.3701670467853546, 0.12872765958309174, 0.11326243728399277, 0.14619073271751404, -0.09379801899194717, -0.09618403762578964, 0.01612038165330887, -0.051102135330438614, 0.2636943757534027, -0.2484215646982193, -0.03868448734283447, -0.16175763309001923, -0.1875218152999878, -0.12288534641265869, -0.3344919681549072, -0.05493834614753723, 0.029629414901137352, -0.14436651766300201, -0.05105030536651611, 0.11984387785196304, 0.26745691895484924, 0.3009054660797119, 0.03751959651708603, -0.2587398588657379, 0.24518032371997833, -0.05903756245970726, 0.37217795848846436, -0.0401390977203846, -0.05690080672502518, -0.04083807393908501, -0.05668312683701515, 0.28828006982803345, 0.3186967670917511, -0.5838891863822937, 0.13872428238391876, 0.1732497364282608, -0.10833681374788284, 0.249872624874115, 0.19093924760818481, -0.08327053487300873, 0.10169248282909393, 0.3568139374256134, -0.07374279946088791, 0.14879734814167023, 0.13550780713558197, -0.42678388953208923, 0.42042696475982666, 0.1819358617067337, -0.07748505473136902, 0.046253908425569534, -0.1154114305973053, 0.09316352754831314, -0.14786837995052338, -0.25534290075302124, -0.04278598353266716, 0.3212452530860901, 0.1303633749485016, 0.26344987750053406, -0.10285232216119766, -0.3240754306316376, -0.3368188440799713, 0.12254197150468826, 0.25156521797180176, 0.1438043862581253, 0.2673756182193756, -0.22769534587860107, -0.15639638900756836, -0.1986900120973587, -0.2223787158727646, -0.045957278460264206, 0.27991732954978943, -0.13823413848876953, 0.1504976451396942, -0.3069625794887543, 0.16269946098327637, 0.04022759571671486, -0.010020827874541283, -0.10826024413108826, -0.38582319021224976, -0.07021687924861908, 0.2149963527917862, -0.30017632246017456, 0.10226116329431534, -0.23232366144657135, 0.16864974796772003, 0.05867515131831169, 0.3463321626186371, -0.18111644685268402, -0.03617586940526962, -0.06436045467853546, 0.020965678617358208, 0.45956769585609436, 0.13703653216362, 0.10826607793569565, 0.04332418367266655, -0.08685474842786789, 0.13663405179977417, -0.13744083046913147, -0.030900994315743446, 0.20354647934436798, 0.48261967301368713, 0.2392861694097519, 0.3203006684780121, 0.05929896607995033, 0.10699883848428726, 0.03447484225034714, -0.34231337904930115, -0.07269599288702011, 0.029441798105835915, 0.09437579661607742, -0.1638011634349823, -0.47329220175743103, -0.029057282954454422, -0.050619937479496, -0.2632853090763092, -0.09585296362638474, -0.061468228697776794, 0.06082708016037941, 0.11480756103992462, 0.38505926728248596, 0.10609623044729233, 0.2570628225803375, 0.00635160505771637, -0.3082403242588043, 0.0042181918397545815, 0.1747274100780487, -0.058105163276195526, -0.22998617589473724, -0.11397504806518555, -0.058384720236063004, 0.137956440448761, -0.08861265331506729, -0.07280035316944122, 0.04288706183433533, -0.33398106694221497, -0.021595925092697144, -0.31365442276000977, -0.013131579384207726, 0.30049318075180054, 0.23531225323677063, -0.337746798992157, -0.09724657982587814, -0.23352102935314178, 0.29804545640945435, -0.09203551709651947, -0.5602277517318726, -0.09240790456533432, 0.21265721321105957, -0.2083493024110794, 0.41075244545936584, -0.2740308344364166, -0.32855096459388733, -0.14047139883041382, -0.044506896287202835, 0.16675882041454315, 0.0790070965886116, -0.029303427785634995, 0.05950029566884041, 0.24002745747566223, -0.19380927085876465, 0.13574934005737305, -0.11260316520929337, -0.1648537963628769, 0.050014689564704895, 0.12358167767524719, 0.14032508432865143, -0.27691027522087097, 0.3792949914932251, 0.05796313285827637, 0.06764817982912064, 0.14560307562351227, 0.10998205840587616, -0.1210453137755394, 0.0329609252512455, -0.25491318106651306, -0.06274651736021042, -0.007376923691481352, -0.232285737991333, -0.14966504275798798, 0.11509384214878082, -0.3273385167121887, 0.17472082376480103, 0.17004118859767914, 0.4847189784049988, 0.10788901895284653, -0.3212938904762268, 0.10595369338989258, -0.350531667470932, 0.4532499611377716, -0.1063266322016716, 0.1642625331878662, 0.3095936179161072, -0.23354147374629974, 0.04655198007822037, 0.045789703726768494, 0.0409993901848793, 0.16911332309246063, 0.2373458296060562, 0.440665066242218, -0.08613225072622299, -0.3705972731113434, 0.07057495415210724, -0.12651018798351288, -0.06087611988186836, -0.2519504427909851, -0.30503740906715393, -0.13323438167572021, 0.04854213818907738, 0.32421591877937317, 0.17488005757331848, -0.10857528448104858, -0.2156575471162796, -0.14223361015319824, -0.13274642825126648, -0.044430334120988846, 0.2765083909034729, 0.3147239685058594, -0.313048392534256, -0.2978042662143707, 0.2856583893299103, 0.026722582057118416, -0.05533817782998085, -0.17723941802978516, -0.09032843261957169, -0.083317331969738, 0.1384442001581192, 0.4814392328262329, -0.036165762692689896, 0.4059213101863861, 0.4543098509311676, -0.013221412897109985, -0.03702607378363609, 0.19159360229969025, 0.369394987821579, -0.0921991765499115, 0.2750289738178253, 0.18812114000320435, 0.35138484835624695, -0.2486495077610016, -0.21728293597698212, 0.07363376766443253, 0.17512767016887665, -0.014380493201315403, 0.008810781873762608, -0.40951675176620483, 0.08250467479228973, 0.0036772426683455706, 0.3322376012802124, 0.9198789000511169, -0.08278480172157288, 0.27250760793685913, -0.04223012924194336, -0.16708779335021973, 0.28458577394485474, -0.054897647351026535, 0.09701596200466156, -0.2721986174583435, -0.21836529672145844, 0.27233850955963135, -0.22903026640415192, 0.17299659550189972, -0.11137087643146515, -0.09619072079658508, -0.06631620228290558, -0.19074396789073944, 0.04977114498615265, -0.25024786591529846, 0.13072949647903442, 0.0012688562273979187, -0.20373186469078064, 0.1103687509894371, 0.19455036520957947, -0.0020278380252420902, -0.3299015462398529, -0.22329601645469666, -0.1832837611436844, 0.01543533056974411, 0.17557457089424133, 0.1523348093032837, -0.02347797527909279, -0.14956440031528473, 0.04270106181502342, 0.28570929169654846, 0.00283483462408185, -0.08326751738786697, -0.38671863079071045, 0.35109803080558777, 0.18938016891479492, 0.17895852029323578, -0.058861687779426575, -0.18994511663913727, 0.00028002625913359225, 0.0542943999171257, 0.035427194088697433, 0.22543194890022278, -0.24684274196624756, 0.10964230448007584, -0.22810250520706177, 0.1314096748828888, -0.037516407668590546, -0.2600952088832855, 0.15766045451164246, -0.26573702692985535, -0.17149420082569122, -0.1949574500322342, 0.26564157009124756, -0.1626250147819519, -0.1883394420146942, 0.21979936957359314, 0.16391608119010925, -0.2154168337583542, 0.4406014084815979, 0.0006975550786592066, -0.2572121024131775, -0.1726788580417633, 0.12506622076034546, -0.04984717443585396, 0.00484213512390852, 0.32555583119392395, 0.18218815326690674, -0.2545298635959625, -0.40115615725517273, -0.2884538471698761, -0.009697748348116875, -0.4857252240180969, 0.3830924928188324, 0.07638271152973175, -0.40175363421440125, 0.18181335926055908, -0.3540108799934387, -0.14711089432239532, -0.044553354382514954, -0.14901182055473328, -0.23282741010189056, -0.3527924716472626, -0.2593551278114319, 0.06486693024635315, 0.2935664653778076, -0.22914539277553558, -0.07621176540851593, -0.48517853021621704, 0.03726617619395256, -0.38375046849250793, -0.08261414617300034, -0.27732181549072266, -0.02231828309595585, -0.1300145387649536, -0.5230897068977356, -0.009857830591499805, -0.07104362547397614, 0.24503979086875916, 0.2788768708705902, -0.3552962839603424, -0.3494846820831299, -0.0786127895116806, 0.1122879683971405, -0.34089547395706177, -0.09137092530727386, 0.2757405936717987, 0.21538279950618744, -0.20357127487659454, 0.04680598899722099, -0.0716891884803772, -0.2652226984500885, -0.15133929252624512, -0.2685506045818329, -0.014500115998089314, 0.6370439529418945, 0.360807329416275, 0.3390774726867676, -0.09587782621383667, 0.2534393072128296, -0.026838330551981926, 0.21994318068027496, 0.11742080003023148, -0.14982935786247253, 0.39046382904052734, 0.09032364189624786, 0.18482035398483276, -0.2978247106075287, 0.21018554270267487, -0.2715047299861908, -0.2520996332168579, 0.2302151918411255, 0.17083965241909027, 0.6695501208305359, 0.09589037299156189, -0.30063945055007935, 0.2624856233596802, 0.25200343132019043, -0.17853067815303802, -0.015132226049900055, 0.2051924765110016, 0.028161220252513885, 0.11004918068647385, 0.3220190703868866, 0.06538654118776321, -0.20746828615665436, 0.16136899590492249, 0.36652040481567383, 0.013209525495767593, -0.5348191261291504, -0.35904017090797424, 0.09754287451505661, 0.015384560450911522, -0.03807744011282921, 0.41108882427215576, 0.40688356757164, 0.3422347903251648, 0.36659932136535645, 0.13048836588859558, 0.35617396235466003, 0.24117551743984222, 0.2996142506599426, -0.14055152237415314, -0.25126293301582336, -0.31653305888175964, 0.7200543880462646, -0.21249531209468842, 0.2592536509037018, 0.038045864552259445, 0.20524974167346954, -0.2746760845184326, 0.022322174161672592, -0.24483615159988403, 0.09562209248542786, -0.3368220627307892, -0.13338875770568848, 0.11035032570362091, 0.03244338929653168, -0.4349941909313202, -0.06751640141010284, 0.0626344382762909, 0.06984291225671768, 0.3238092362880707, 0.015447943471372128, -0.038916658610105515, 0.10175469517707825, -0.13856936991214752, -0.3503988981246948, -0.0034888219088315964, -0.09530774503946304, 0.023312050849199295, 0.18774110078811646, -0.04771362245082855, -0.0776536762714386, 0.1024971529841423, 0.4925526976585388, 0.33146652579307556, -0.3716142177581787, -0.02713008038699627, -0.12386331707239151, 0.017539605498313904, -0.4606541395187378, 0.32672014832496643, 0.09767665714025497, 0.4541720747947693, 0.19904565811157227, 0.08866696804761887, -0.27054670453071594, -0.3317318558692932, 0.2142767608165741, -0.07433278113603592, 0.15904776751995087, 0.28026169538497925, 0.13703422248363495, -0.12060416489839554, -0.11562829464673996, 0.17028376460075378, -0.2573155462741852, -0.3759261965751648, 0.22765807807445526, -0.22746869921684265, 0.1322021484375, -0.039770230650901794, 0.13913437724113464, -0.036700040102005005, 0.7415072321891785, -0.09769540280103683, 0.09819839894771576, -0.042402200400829315, -0.11709162592887878, -0.5130584836006165, 0.10437535494565964, 0.3406620919704437, 0.13171301782131195, 0.06438276916742325, 0.07357615977525711, 0.20915156602859497, -0.07007259875535965, 0.04655340686440468, -0.21230149269104004, 0.1606999933719635, 0.2747766375541687, -0.4037255346775055, 0.20409928262233734, -0.13476908206939697, -0.41953399777412415, 0.1759076863527298, -0.17293214797973633, 0.1750391274690628, -0.21295814216136932, 0.21899375319480896, -0.04589035362005234, -0.1095968708395958, -0.13917306065559387, 0.4816679358482361, 0.23747442662715912, 0.20910924673080444, -0.16636808216571808, -0.15054196119308472, -0.06482543051242828, -0.22460423409938812, 0.1380118876695633, 0.1550193727016449, 0.035141024738550186, 0.2770920991897583, -0.40945354104042053, -0.16748708486557007, 0.2790990471839905, -0.113077312707901, 0.013931773602962494, -0.05754464864730835, 0.4047200083732605, 0.16027289628982544, -0.022727737203240395, -0.0398668609559536, 0.15067243576049805, 0.12369347363710403, 0.30298399925231934, 0.034461259841918945, -0.05377605929970741, -0.2305830419063568, -0.1256358027458191, 0.3494832217693329, 0.3010120689868927, -0.5901443958282471, -0.625022292137146, 0.1660197675228119, -0.07435116171836853, 0.15774725377559662, 0.04392054304480553, 0.03695405647158623, -0.05513526499271393, -0.11140324175357819, -0.24930550158023834, 0.461946040391922, -0.33931800723075867, -0.19431079924106598, -0.014027498662471771, 0.18620578944683075, 0.12845122814178467, 0.19316785037517548, -0.04712490364909172, -0.30528777837753296 ]
https://github.com/huggingface/datasets/issues/2158
viewer "fake_news_english" error
Thanks for reporting ! The viewer doesn't have all the dependencies of the datasets. We may add openpyxl to be able to show this dataset properly
When I visit the [Huggingface - viewer](https://huggingface.co/datasets/viewer/) web site, under the dataset "fake_news_english" I've got this error: > ImportError: To be able to use this dataset, you need to install the following dependencies['openpyxl'] using 'pip install # noqa: requires this pandas optional dependency for reading xlsx files' for instance' as well as the error Traceback.
26
viewer "fake_news_english" error
[ -0.22876596450805664, 0.03635597974061966, -0.07711994647979736, 0.1789814978837967, 0.30394628643989563, 0.05617130547761917, 0.23642218112945557, 0.3691963851451874, -0.030409395694732666, 0.3069521486759186, 0.009630410000681877, -0.13521578907966614, -0.0919347032904625, -0.01877317763864994, -0.2315002679824829, -0.09673185646533966, 0.2258732169866562, -0.0718332827091217, 0.16267186403274536, -0.22723077237606049, -0.06258170306682587, 0.26618847250938416, -0.16809359192848206, -0.02677667699754238, -0.20037096738815308, 0.11542462557554245, 0.24708932638168335, -0.03177187591791153, 0.01239172276109457, -0.11365123093128204, -0.1719146966934204, -0.11946304142475128, -0.15438099205493927, 0.3245491087436676, -0.00010163820115849376, 0.09883253276348114, 0.4142414927482605, 0.15277020633220673, -0.1185193806886673, 0.22040919959545135, 0.33006250858306885, -0.20960085093975067, -0.11758799105882645, -0.059520818293094635, -0.20292265713214874, -0.4287554621696472, 0.21051228046417236, -0.013432852923870087, 0.21774327754974365, 0.5673781633377075, 0.31871166825294495, 0.03297613561153412, 0.05381416901946068, -0.027559150010347366, 0.08854953944683075, -0.04874363914132118, -0.009678293019533157, 0.06956327706575394, -0.32716357707977295, 0.19949360191822052, -0.0728287324309349, 0.46017202734947205, -0.04168567806482315, -0.23875615000724792, -0.4572192132472992, -0.2055816352367401, 0.0388413742184639, 0.026690645143389702, 0.25145214796066284, -0.09266183525323868, -0.030424799770116806, 0.04339839518070221, -0.012018662877380848, 0.19205696880817413, 0.0952209085226059, 0.3207889497280121, 0.403796523809433, 0.277730792760849, -0.23024322092533112, 0.17893996834754944, 0.29158300161361694, -0.36698850989341736, -0.053702544420957565, 0.1745292991399765, -0.048920441418886185, 0.5535805225372314, 0.11113374680280685, 0.22968646883964539, 0.18908841907978058, -0.0714581087231636, 0.4765755832195282, -0.12478683143854141, -0.07879690825939178, -0.15020588040351868, 0.11064626276493073, 0.0752696543931961, 0.13274677097797394, 0.0994296669960022, -0.30100899934768677, -0.5852640271186829, -0.2559337019920349, 0.2195664942264557, 0.19680163264274597, 0.1686273217201233, -0.15946190059185028, -0.04366645961999893, -0.06910697370767593, 0.34991931915283203, 0.08295463770627975, 0.11956848949193954, -0.10827279835939407, 0.29003554582595825, -0.1185147687792778, -0.39297986030578613, -0.37671181559562683, -0.020897984504699707, 0.012868273071944714, -0.004027789458632469, -0.1917337328195572, 0.40872249007225037, -0.07213213294744492, -0.05861653760075569, -0.2532811164855957, 0.08448934555053711, 0.08161942660808563, 0.5601386427879333, 0.2272568941116333, 0.04506348446011543, -0.24221858382225037, -0.40358370542526245, -0.19767482578754425, 0.36737871170043945, -0.1686144769191742, -0.19454021751880646, 0.030588896945118904, -0.4149572253227234, -0.0435689315199852, 0.0367373563349247, 0.050466179847717285, -0.3567018508911133, -0.21379689872264862, 0.01714923232793808, -0.09985947608947754, 0.013705545105040073, 0.03153597190976143, 0.04189572110772133, 0.33260035514831543, -0.28454384207725525, 0.07195031642913818, 0.4122885763645172, 0.0901828333735466, -0.12227536737918854, -0.47785788774490356, 0.3052632510662079, 0.06569748371839523, 0.02340342290699482, 0.7318602204322815, 0.4188327193260193, 0.08268158882856369, -0.18918748199939728, -0.05258785933256149, -0.03720391169190407, -0.043561793863773346, 0.18289496004581451, -0.028418589383363724, 0.37524330615997314, -0.4480416774749756, -0.2023884803056717, -0.08761577308177948, -0.15875275433063507, 0.24343812465667725, 0.06153115630149841, -0.07033686339855194, 0.050818443298339844, -0.05229580029845238, -0.17847280204296112, 0.21909652650356293, -0.2957136631011963, -0.10255800187587738, 0.011219656094908714, -0.0128386365249753, 0.04531753435730934, 0.2327268123626709, -0.04138139262795448, -0.2646869122982025, 0.24926137924194336, -0.21052037179470062, 0.06443831324577332, 0.08163938671350479, -0.024527644738554955, -0.4772862195968628, -0.07489993423223495, 0.21114835143089294, 0.21652808785438538, 0.2775091826915741, -0.08931302279233932, 0.078687384724617, -0.04743945226073265, 0.2235497385263443, 0.14933918416500092, 0.011669785715639591, -0.07099884748458862, -0.11720789968967438, 0.010642629116773605, 0.21509172022342682, 0.22387433052062988, 0.23830249905586243, -0.3007213771343231, 0.09610474854707718, 0.45486751198768616, 0.13513313233852386, -0.07250960916280746, -0.3010897934436798, 0.017935965210199356, -0.15548375248908997, -0.14731356501579285, 0.33387085795402527, 0.3062421977519989, -0.5353667140007019, 0.32336434721946716, -0.07732515037059784, -0.0955006554722786, -0.3255893588066101, -0.118733249604702, -0.07830187678337097, 0.16087380051612854, -0.5720455050468445, -0.0884336605668068, -0.21974214911460876, -0.11389699578285217, 0.2560389041900635, 0.1001426950097084, -0.11247266829013824, 0.0015338564990088344, -0.010089274495840073, 0.2148301899433136, 0.12416577339172363, -0.15373896062374115, 0.1815890222787857, -0.7613873481750488, 0.16502830386161804, 0.41978415846824646, 0.09562196582555771, 0.13702519237995148, 0.06885568052530289, 0.04057423397898674, 0.165551096200943, -0.2624931335449219, -0.21782448887825012, 0.04968373849987984, 0.31298068165779114, 0.2376803457736969, 0.30967435240745544, -0.4384661316871643, 0.4105658531188965, 0.13493496179580688, -0.06098251789808273, -0.25123539566993713, 0.09125950187444687, -0.03419962897896767, 0.29879310727119446, 0.15793463587760925, 0.02020304463803768, 0.26196804642677307, 0.13881777226924896, -0.16059713065624237, 0.03830758109688759, 0.10850727558135986, -0.05712892487645149, 0.05562915652990341, -0.01473193522542715, 0.44045937061309814, 0.0338960662484169, -0.3172862231731415, 0.27227962017059326, -0.08009587973356247, -0.025232184678316116, 0.3065205216407776, -0.09424854815006256, -0.11265755444765091, -0.539106011390686, 0.12728406488895416, 0.160492405295372, 0.11198840290307999, -0.25606733560562134, -0.192604199051857, -0.09043383598327637, -0.25377222895622253, -0.15758192539215088, 0.01123996265232563, -0.05639258399605751, -0.2584121823310852, 0.14832942187786102, 0.0046417261473834515, -0.4312897324562073, 0.26041752099990845, -0.037061624228954315, 0.2341436892747879, 0.18336941301822662, 0.44194892048835754, -0.13544492423534393, -0.17564569413661957, -0.2163979560136795, 0.21277101337909698, 0.19036832451820374, -0.07188686728477478, -0.1229180246591568, -0.45503124594688416, -0.03055175207555294, -0.3191796541213989, -0.38865455985069275, 0.16686853766441345, -0.059734199196100235, 0.36331707239151, -0.013324127532541752, -0.17315153777599335, -0.10232875496149063, -0.2809123694896698, 0.13091936707496643, -0.019068358466029167, 0.19386135041713715, 0.24979864060878754, 0.05670516937971115, -0.18685296177864075, -0.08065511286258698, -0.3752698600292206, -0.15229955315589905, -0.24920654296875, -0.30227988958358765, -0.19216303527355194, 0.3563183844089508, -0.16769757866859436, 0.16605441272258759, -0.0932726338505745, -0.0019880379550158978, 0.291145920753479, -0.3035522699356079, -0.12616311013698578, 0.2362716645002365, -0.26974308490753174, -0.23067164421081543, 0.1532924473285675, 0.12118344753980637, -0.03493107855319977, -0.30921709537506104, -0.5753991603851318, 0.015473008155822754, 0.049009956419467926, -0.2222786843776703, -0.14671610295772552, -0.0997588261961937, 0.18602001667022705, 0.08878962695598602, -0.15663748979568481, -0.09675098210573196, -0.148830845952034, -0.022493191063404083, -0.274679958820343, -0.09439551085233688, -0.19359110295772552, 0.3959016501903534, 0.1589915156364441, 0.21796220541000366, 0.10906392335891724, 0.1744123101234436, 0.3593398928642273, 0.11581484973430634, 0.5053361058235168, -0.17980527877807617, -0.09793919324874878, 0.3480587899684906, 0.1953151524066925, -0.21696467697620392, 0.4636648893356323, -0.11100829392671585, -0.27375271916389465, -0.3561624586582184, -0.11773017793893814, -0.35301491618156433, -0.19370554387569427, 0.050822291523218155, -0.21005859971046448, 0.16111929714679718, 0.013984115794301033, 0.19210022687911987, 0.23894880712032318, -0.2081962674856186, 0.0981139987707138, 0.18172992765903473, -0.11793257296085358, -0.0997425764799118, 0.05897042527794838, -0.1640179604291916, -0.20075643062591553, 0.10937873274087906, -0.015550603158771992, 0.3620222508907318, -0.37675735354423523, 0.07211736589670181, 0.235612690448761, -0.06818491220474243, 0.42011672258377075, -0.16554108262062073, 0.018134940415620804, 0.02868465520441532, 0.403164267539978, 0.04388656094670296, -0.21053797006607056, -0.20285773277282715, -0.308088481426239, -0.13396479189395905, -0.22012807428836823, -0.08113772422075272, 0.14848095178604126, 0.23172436654567719, -0.19929468631744385, -0.15268965065479279, -0.16981607675552368, -0.04522096738219261, -0.03777794912457466, -0.26541373133659363, 0.014107592403888702, 0.11469956487417221, 0.20440010726451874, -0.21468567848205566, 0.18364277482032776, 0.08270354568958282, 0.32052722573280334, 0.04508266597986221, 0.018124505877494812, -0.048735372722148895, 0.06239239498972893, -0.08447150141000748, 0.11538445204496384, 0.021717065945267677, -0.29596251249313354, 0.39464494585990906, 0.22333265841007233, -0.5575407147407532, -0.06452184915542603, -0.015701845288276672, -0.10848712176084518, 0.379131555557251, 0.13632433116436005, -0.043387867510318756, 0.3719821572303772, -0.04774819687008858, 0.2267495095729828, 0.25406014919281006, 0.257742702960968, 0.07249408215284348, -0.03432941436767578, 0.06884594261646271, 0.00905429944396019, -0.2153247743844986, 0.15222783386707306, 0.10425657033920288, 0.048553332686424255, -0.13147470355033875, 0.42729127407073975, 0.05538926273584366, 0.9073308706283569, 0.24787043035030365, 0.19634227454662323, 0.22981247305870056, -0.39432114362716675, -0.10335080325603485, -0.16083553433418274, -0.042694613337516785, -0.22187219560146332, -0.27447691559791565, 0.009118873625993729, 0.17470072209835052, 0.23247037827968597, 0.02567351423203945, -0.36136502027511597, -0.0392620712518692, -0.20969165861606598, -0.03404489904642105, 0.28044024109840393, 0.13890068233013153, -0.2692581117153168, 0.11303334683179855, 0.23772482573986053, 0.24072220921516418, -0.15099677443504333, -0.042796771973371506, -0.16594788432121277, 0.172024205327034, 0.43726176023483276, -0.1185295432806015, -0.36716434359550476, 0.29459500312805176, 0.07725339382886887, -0.1104297861456871, -0.13400688767433167, -0.10967760533094406, 0.06655535846948624, 0.0969344973564148, 0.15926145017147064, 0.21898603439331055, 0.0033725942485034466, 0.3488912880420685, 0.2585710883140564, -0.18697983026504517, 0.04629914090037346, 0.09439854323863983, 0.21673981845378876, -0.06344848871231079, -0.493539035320282, 0.31485673785209656, 0.049654971808195114, -0.07659489661455154, 0.010738222859799862, -0.16628338396549225, 0.45591050386428833, -0.08069221675395966, -0.13553889095783234, -0.10734309256076813, -0.2258661389350891, -0.24518027901649475, 0.34023359417915344, -0.3487095832824707, -0.23438426852226257, -0.18698953092098236, 0.14787468314170837, -0.23259337246418, -0.11346134543418884, 0.24484284222126007, 0.08565203100442886, -0.1970326155424118, 0.25582194328308105, 0.2941790223121643, -0.5445011258125305, -0.27427443861961365, -0.001466347137466073, -0.19641485810279846, -0.11294139921665192, -0.2980102002620697, 0.025794759392738342, -0.36136141419410706, -0.016718758270144463, -0.13179261982440948, -0.021870113909244537, 0.32150813937187195, -0.04878408834338188, -0.3227909207344055, 0.24966546893119812, -0.04943834990262985, 0.10436698794364929, -0.03189123049378395, 0.17727865278720856, -0.12464899569749832, 0.04557764157652855, 0.1053178533911705, -0.432753324508667, 0.02679911069571972, -0.05401264503598213, 0.06364461779594421, -0.5497188568115234, 0.026808861643075943, -0.017141524702310562, 0.08079597353935242, 0.242726132273674, 0.08843754231929779, -0.10440175980329514, -0.34315237402915955, 0.020373521372675896, 0.06910858303308487, 0.38580599427223206, -0.3976384401321411, 0.04996447265148163, -0.18978503346443176, -0.04065227881073952, 0.024825425818562508, -0.20253786444664001, 0.16559718549251556, -0.17681625485420227, 0.24948161840438843, 0.052180320024490356, 0.039452023804187775, 0.31958767771720886, -0.0943421795964241, -0.10929129272699356, 0.35924336314201355, -0.09119176119565964, -0.02530543878674507, 0.0457686185836792, -0.06632691621780396, -0.03731126710772514, 0.05850234255194664, 0.1786130666732788, 0.374345988035202, 0.08931419998407364, -0.16613677144050598, -0.058577246963977814, -0.04833138734102249, 0.16389667987823486, 0.0579700767993927, -0.4784124791622162, -0.30390653014183044, 0.451639324426651, 0.3030940294265747, -0.34011539816856384, 0.004216017667204142, 0.07321686297655106, -0.1716536283493042, 0.10031978040933609, -0.21968352794647217, 0.05125672370195389, -0.28192275762557983, 0.18638044595718384, 0.25398385524749756, 0.029622526839375496, -0.3794749677181244, 0.15286174416542053, 0.25508856773376465, -0.13035689294338226, 0.08884969353675842, 0.05733403563499451, -0.2177281677722931, 0.02059916965663433, 0.31141042709350586, -0.1654035449028015, 0.022668203338980675, 0.09959009289741516, 0.12782126665115356, -0.08306843787431717, 0.028878387063741684, 0.4472743272781372, 0.15007251501083374, -0.09984268248081207, 0.09902650117874146, 0.08445746451616287, -0.07055506855249405, 0.07566064596176147, 0.09753294289112091, -0.30185747146606445, 0.25630074739456177, -0.07584850490093231, 0.17967630922794342, -0.10949248820543289, 0.023378362879157066, -0.34949755668640137, 0.04520616680383682, 0.10553501546382904, 0.15966303646564484, -0.09951423853635788, 0.20537152886390686, -0.40948596596717834, 0.15655004978179932, 0.14893345534801483, -0.1528702825307846, 0.1867045909166336, -0.20632728934288025, 0.5382636189460754, 0.3466678261756897, 0.12923932075500488, 0.23043256998062134, 0.4580443203449249, 0.31537383794784546, 0.20534570515155792, -0.25187838077545166, 0.04217485710978508, -0.07181645929813385, -0.049260951578617096, 0.1399911344051361, 0.29194286465644836, 0.22346678376197815, 0.23559550940990448, 0.14622732996940613, 0.2355181872844696, -0.34162625670433044, -0.03469282016158104, 0.28508883714675903, -0.12436319887638092, 0.09764520823955536, -0.17901647090911865, -0.1272180825471878, 0.2384675294160843, -0.2665979266166687, -0.13681690394878387, -0.49420812726020813, -0.028970999643206596, 0.3438897132873535, -0.177072674036026, 0.09462592005729675, -0.1220429465174675, 0.1520802229642868, 0.17518606781959534, 0.3075092136859894, 0.19889046251773834, -0.00014030697639100254, -0.17803485691547394, -0.320069819688797, -0.2683098614215851, 0.619239091873169, 0.15861175954341888, -0.1470007300376892, -0.2361743450164795, -0.27692967653274536, 0.05805279314517975, 0.03612551465630531, -0.05473029240965843, 0.27178898453712463, -0.2631678283214569, 0.19093003869056702, -0.15621915459632874, -0.019265545532107353, 0.15511244535446167, 0.052010469138622284, -0.12741222977638245, -0.23226036131381989, 0.2540256381034851, 0.06251297146081924, 0.2543763220310211, 0.17873311042785645, -0.4589187204837799, -0.1817675232887268, 0.10830779373645782, 0.27849215269088745, 0.1918361634016037, 0.4076686501502991, -0.48081889748573303, 0.15876202285289764, 0.026866815984249115, -0.2578369677066803, -0.13003288209438324, 0.2520497739315033, 0.027047527953982353, -0.024027034640312195, -0.07192511111497879, -0.10932153463363647, 0.16714157164096832, 0.29419979453086853, -0.10554070770740509, 0.018792476505041122, -0.29560157656669617, 0.05185049772262573, 0.009861386381089687, 0.06984390318393707, -0.08100496232509613, 0.20800518989562988, 0.14866407215595245, -0.02146320976316929, -0.2619077265262604, -0.16773316264152527, 0.36338672041893005, 0.03320896998047829, -0.250484824180603, -0.05089957267045975, 0.0542457178235054, 0.016360340639948845, -0.0581342838704586, -0.20506061613559723, 0.1222512274980545, 0.010675564408302307, 0.008262453600764275, 0.26869916915893555, 0.01901986077427864, -0.210745170712471, -0.1295497864484787, 0.0007961962255649269, -0.057539768517017365, 0.34882229566574097, -0.04111580550670624, -0.018748555332422256, -0.1266084611415863 ]
https://github.com/huggingface/datasets/issues/2158
viewer "fake_news_english" error
This viewer tool is deprecated now and the new viewer at https://huggingface.co/datasets/fake_news_english works fine, so I'm closing this issue
When I visit the [Huggingface - viewer](https://huggingface.co/datasets/viewer/) web site, under the dataset "fake_news_english" I've got this error: > ImportError: To be able to use this dataset, you need to install the following dependencies['openpyxl'] using 'pip install # noqa: requires this pandas optional dependency for reading xlsx files' for instance' as well as the error Traceback.
19
viewer "fake_news_english" error
[ -0.22876596450805664, 0.03635597974061966, -0.07711994647979736, 0.1789814978837967, 0.30394628643989563, 0.05617130547761917, 0.23642218112945557, 0.3691963851451874, -0.030409395694732666, 0.3069521486759186, 0.009630410000681877, -0.13521578907966614, -0.0919347032904625, -0.01877317763864994, -0.2315002679824829, -0.09673185646533966, 0.2258732169866562, -0.0718332827091217, 0.16267186403274536, -0.22723077237606049, -0.06258170306682587, 0.26618847250938416, -0.16809359192848206, -0.02677667699754238, -0.20037096738815308, 0.11542462557554245, 0.24708932638168335, -0.03177187591791153, 0.01239172276109457, -0.11365123093128204, -0.1719146966934204, -0.11946304142475128, -0.15438099205493927, 0.3245491087436676, -0.00010163820115849376, 0.09883253276348114, 0.4142414927482605, 0.15277020633220673, -0.1185193806886673, 0.22040919959545135, 0.33006250858306885, -0.20960085093975067, -0.11758799105882645, -0.059520818293094635, -0.20292265713214874, -0.4287554621696472, 0.21051228046417236, -0.013432852923870087, 0.21774327754974365, 0.5673781633377075, 0.31871166825294495, 0.03297613561153412, 0.05381416901946068, -0.027559150010347366, 0.08854953944683075, -0.04874363914132118, -0.009678293019533157, 0.06956327706575394, -0.32716357707977295, 0.19949360191822052, -0.0728287324309349, 0.46017202734947205, -0.04168567806482315, -0.23875615000724792, -0.4572192132472992, -0.2055816352367401, 0.0388413742184639, 0.026690645143389702, 0.25145214796066284, -0.09266183525323868, -0.030424799770116806, 0.04339839518070221, -0.012018662877380848, 0.19205696880817413, 0.0952209085226059, 0.3207889497280121, 0.403796523809433, 0.277730792760849, -0.23024322092533112, 0.17893996834754944, 0.29158300161361694, -0.36698850989341736, -0.053702544420957565, 0.1745292991399765, -0.048920441418886185, 0.5535805225372314, 0.11113374680280685, 0.22968646883964539, 0.18908841907978058, -0.0714581087231636, 0.4765755832195282, -0.12478683143854141, -0.07879690825939178, -0.15020588040351868, 0.11064626276493073, 0.0752696543931961, 0.13274677097797394, 0.0994296669960022, -0.30100899934768677, -0.5852640271186829, -0.2559337019920349, 0.2195664942264557, 0.19680163264274597, 0.1686273217201233, -0.15946190059185028, -0.04366645961999893, -0.06910697370767593, 0.34991931915283203, 0.08295463770627975, 0.11956848949193954, -0.10827279835939407, 0.29003554582595825, -0.1185147687792778, -0.39297986030578613, -0.37671181559562683, -0.020897984504699707, 0.012868273071944714, -0.004027789458632469, -0.1917337328195572, 0.40872249007225037, -0.07213213294744492, -0.05861653760075569, -0.2532811164855957, 0.08448934555053711, 0.08161942660808563, 0.5601386427879333, 0.2272568941116333, 0.04506348446011543, -0.24221858382225037, -0.40358370542526245, -0.19767482578754425, 0.36737871170043945, -0.1686144769191742, -0.19454021751880646, 0.030588896945118904, -0.4149572253227234, -0.0435689315199852, 0.0367373563349247, 0.050466179847717285, -0.3567018508911133, -0.21379689872264862, 0.01714923232793808, -0.09985947608947754, 0.013705545105040073, 0.03153597190976143, 0.04189572110772133, 0.33260035514831543, -0.28454384207725525, 0.07195031642913818, 0.4122885763645172, 0.0901828333735466, -0.12227536737918854, -0.47785788774490356, 0.3052632510662079, 0.06569748371839523, 0.02340342290699482, 0.7318602204322815, 0.4188327193260193, 0.08268158882856369, -0.18918748199939728, -0.05258785933256149, -0.03720391169190407, -0.043561793863773346, 0.18289496004581451, -0.028418589383363724, 0.37524330615997314, -0.4480416774749756, -0.2023884803056717, -0.08761577308177948, -0.15875275433063507, 0.24343812465667725, 0.06153115630149841, -0.07033686339855194, 0.050818443298339844, -0.05229580029845238, -0.17847280204296112, 0.21909652650356293, -0.2957136631011963, -0.10255800187587738, 0.011219656094908714, -0.0128386365249753, 0.04531753435730934, 0.2327268123626709, -0.04138139262795448, -0.2646869122982025, 0.24926137924194336, -0.21052037179470062, 0.06443831324577332, 0.08163938671350479, -0.024527644738554955, -0.4772862195968628, -0.07489993423223495, 0.21114835143089294, 0.21652808785438538, 0.2775091826915741, -0.08931302279233932, 0.078687384724617, -0.04743945226073265, 0.2235497385263443, 0.14933918416500092, 0.011669785715639591, -0.07099884748458862, -0.11720789968967438, 0.010642629116773605, 0.21509172022342682, 0.22387433052062988, 0.23830249905586243, -0.3007213771343231, 0.09610474854707718, 0.45486751198768616, 0.13513313233852386, -0.07250960916280746, -0.3010897934436798, 0.017935965210199356, -0.15548375248908997, -0.14731356501579285, 0.33387085795402527, 0.3062421977519989, -0.5353667140007019, 0.32336434721946716, -0.07732515037059784, -0.0955006554722786, -0.3255893588066101, -0.118733249604702, -0.07830187678337097, 0.16087380051612854, -0.5720455050468445, -0.0884336605668068, -0.21974214911460876, -0.11389699578285217, 0.2560389041900635, 0.1001426950097084, -0.11247266829013824, 0.0015338564990088344, -0.010089274495840073, 0.2148301899433136, 0.12416577339172363, -0.15373896062374115, 0.1815890222787857, -0.7613873481750488, 0.16502830386161804, 0.41978415846824646, 0.09562196582555771, 0.13702519237995148, 0.06885568052530289, 0.04057423397898674, 0.165551096200943, -0.2624931335449219, -0.21782448887825012, 0.04968373849987984, 0.31298068165779114, 0.2376803457736969, 0.30967435240745544, -0.4384661316871643, 0.4105658531188965, 0.13493496179580688, -0.06098251789808273, -0.25123539566993713, 0.09125950187444687, -0.03419962897896767, 0.29879310727119446, 0.15793463587760925, 0.02020304463803768, 0.26196804642677307, 0.13881777226924896, -0.16059713065624237, 0.03830758109688759, 0.10850727558135986, -0.05712892487645149, 0.05562915652990341, -0.01473193522542715, 0.44045937061309814, 0.0338960662484169, -0.3172862231731415, 0.27227962017059326, -0.08009587973356247, -0.025232184678316116, 0.3065205216407776, -0.09424854815006256, -0.11265755444765091, -0.539106011390686, 0.12728406488895416, 0.160492405295372, 0.11198840290307999, -0.25606733560562134, -0.192604199051857, -0.09043383598327637, -0.25377222895622253, -0.15758192539215088, 0.01123996265232563, -0.05639258399605751, -0.2584121823310852, 0.14832942187786102, 0.0046417261473834515, -0.4312897324562073, 0.26041752099990845, -0.037061624228954315, 0.2341436892747879, 0.18336941301822662, 0.44194892048835754, -0.13544492423534393, -0.17564569413661957, -0.2163979560136795, 0.21277101337909698, 0.19036832451820374, -0.07188686728477478, -0.1229180246591568, -0.45503124594688416, -0.03055175207555294, -0.3191796541213989, -0.38865455985069275, 0.16686853766441345, -0.059734199196100235, 0.36331707239151, -0.013324127532541752, -0.17315153777599335, -0.10232875496149063, -0.2809123694896698, 0.13091936707496643, -0.019068358466029167, 0.19386135041713715, 0.24979864060878754, 0.05670516937971115, -0.18685296177864075, -0.08065511286258698, -0.3752698600292206, -0.15229955315589905, -0.24920654296875, -0.30227988958358765, -0.19216303527355194, 0.3563183844089508, -0.16769757866859436, 0.16605441272258759, -0.0932726338505745, -0.0019880379550158978, 0.291145920753479, -0.3035522699356079, -0.12616311013698578, 0.2362716645002365, -0.26974308490753174, -0.23067164421081543, 0.1532924473285675, 0.12118344753980637, -0.03493107855319977, -0.30921709537506104, -0.5753991603851318, 0.015473008155822754, 0.049009956419467926, -0.2222786843776703, -0.14671610295772552, -0.0997588261961937, 0.18602001667022705, 0.08878962695598602, -0.15663748979568481, -0.09675098210573196, -0.148830845952034, -0.022493191063404083, -0.274679958820343, -0.09439551085233688, -0.19359110295772552, 0.3959016501903534, 0.1589915156364441, 0.21796220541000366, 0.10906392335891724, 0.1744123101234436, 0.3593398928642273, 0.11581484973430634, 0.5053361058235168, -0.17980527877807617, -0.09793919324874878, 0.3480587899684906, 0.1953151524066925, -0.21696467697620392, 0.4636648893356323, -0.11100829392671585, -0.27375271916389465, -0.3561624586582184, -0.11773017793893814, -0.35301491618156433, -0.19370554387569427, 0.050822291523218155, -0.21005859971046448, 0.16111929714679718, 0.013984115794301033, 0.19210022687911987, 0.23894880712032318, -0.2081962674856186, 0.0981139987707138, 0.18172992765903473, -0.11793257296085358, -0.0997425764799118, 0.05897042527794838, -0.1640179604291916, -0.20075643062591553, 0.10937873274087906, -0.015550603158771992, 0.3620222508907318, -0.37675735354423523, 0.07211736589670181, 0.235612690448761, -0.06818491220474243, 0.42011672258377075, -0.16554108262062073, 0.018134940415620804, 0.02868465520441532, 0.403164267539978, 0.04388656094670296, -0.21053797006607056, -0.20285773277282715, -0.308088481426239, -0.13396479189395905, -0.22012807428836823, -0.08113772422075272, 0.14848095178604126, 0.23172436654567719, -0.19929468631744385, -0.15268965065479279, -0.16981607675552368, -0.04522096738219261, -0.03777794912457466, -0.26541373133659363, 0.014107592403888702, 0.11469956487417221, 0.20440010726451874, -0.21468567848205566, 0.18364277482032776, 0.08270354568958282, 0.32052722573280334, 0.04508266597986221, 0.018124505877494812, -0.048735372722148895, 0.06239239498972893, -0.08447150141000748, 0.11538445204496384, 0.021717065945267677, -0.29596251249313354, 0.39464494585990906, 0.22333265841007233, -0.5575407147407532, -0.06452184915542603, -0.015701845288276672, -0.10848712176084518, 0.379131555557251, 0.13632433116436005, -0.043387867510318756, 0.3719821572303772, -0.04774819687008858, 0.2267495095729828, 0.25406014919281006, 0.257742702960968, 0.07249408215284348, -0.03432941436767578, 0.06884594261646271, 0.00905429944396019, -0.2153247743844986, 0.15222783386707306, 0.10425657033920288, 0.048553332686424255, -0.13147470355033875, 0.42729127407073975, 0.05538926273584366, 0.9073308706283569, 0.24787043035030365, 0.19634227454662323, 0.22981247305870056, -0.39432114362716675, -0.10335080325603485, -0.16083553433418274, -0.042694613337516785, -0.22187219560146332, -0.27447691559791565, 0.009118873625993729, 0.17470072209835052, 0.23247037827968597, 0.02567351423203945, -0.36136502027511597, -0.0392620712518692, -0.20969165861606598, -0.03404489904642105, 0.28044024109840393, 0.13890068233013153, -0.2692581117153168, 0.11303334683179855, 0.23772482573986053, 0.24072220921516418, -0.15099677443504333, -0.042796771973371506, -0.16594788432121277, 0.172024205327034, 0.43726176023483276, -0.1185295432806015, -0.36716434359550476, 0.29459500312805176, 0.07725339382886887, -0.1104297861456871, -0.13400688767433167, -0.10967760533094406, 0.06655535846948624, 0.0969344973564148, 0.15926145017147064, 0.21898603439331055, 0.0033725942485034466, 0.3488912880420685, 0.2585710883140564, -0.18697983026504517, 0.04629914090037346, 0.09439854323863983, 0.21673981845378876, -0.06344848871231079, -0.493539035320282, 0.31485673785209656, 0.049654971808195114, -0.07659489661455154, 0.010738222859799862, -0.16628338396549225, 0.45591050386428833, -0.08069221675395966, -0.13553889095783234, -0.10734309256076813, -0.2258661389350891, -0.24518027901649475, 0.34023359417915344, -0.3487095832824707, -0.23438426852226257, -0.18698953092098236, 0.14787468314170837, -0.23259337246418, -0.11346134543418884, 0.24484284222126007, 0.08565203100442886, -0.1970326155424118, 0.25582194328308105, 0.2941790223121643, -0.5445011258125305, -0.27427443861961365, -0.001466347137466073, -0.19641485810279846, -0.11294139921665192, -0.2980102002620697, 0.025794759392738342, -0.36136141419410706, -0.016718758270144463, -0.13179261982440948, -0.021870113909244537, 0.32150813937187195, -0.04878408834338188, -0.3227909207344055, 0.24966546893119812, -0.04943834990262985, 0.10436698794364929, -0.03189123049378395, 0.17727865278720856, -0.12464899569749832, 0.04557764157652855, 0.1053178533911705, -0.432753324508667, 0.02679911069571972, -0.05401264503598213, 0.06364461779594421, -0.5497188568115234, 0.026808861643075943, -0.017141524702310562, 0.08079597353935242, 0.242726132273674, 0.08843754231929779, -0.10440175980329514, -0.34315237402915955, 0.020373521372675896, 0.06910858303308487, 0.38580599427223206, -0.3976384401321411, 0.04996447265148163, -0.18978503346443176, -0.04065227881073952, 0.024825425818562508, -0.20253786444664001, 0.16559718549251556, -0.17681625485420227, 0.24948161840438843, 0.052180320024490356, 0.039452023804187775, 0.31958767771720886, -0.0943421795964241, -0.10929129272699356, 0.35924336314201355, -0.09119176119565964, -0.02530543878674507, 0.0457686185836792, -0.06632691621780396, -0.03731126710772514, 0.05850234255194664, 0.1786130666732788, 0.374345988035202, 0.08931419998407364, -0.16613677144050598, -0.058577246963977814, -0.04833138734102249, 0.16389667987823486, 0.0579700767993927, -0.4784124791622162, -0.30390653014183044, 0.451639324426651, 0.3030940294265747, -0.34011539816856384, 0.004216017667204142, 0.07321686297655106, -0.1716536283493042, 0.10031978040933609, -0.21968352794647217, 0.05125672370195389, -0.28192275762557983, 0.18638044595718384, 0.25398385524749756, 0.029622526839375496, -0.3794749677181244, 0.15286174416542053, 0.25508856773376465, -0.13035689294338226, 0.08884969353675842, 0.05733403563499451, -0.2177281677722931, 0.02059916965663433, 0.31141042709350586, -0.1654035449028015, 0.022668203338980675, 0.09959009289741516, 0.12782126665115356, -0.08306843787431717, 0.028878387063741684, 0.4472743272781372, 0.15007251501083374, -0.09984268248081207, 0.09902650117874146, 0.08445746451616287, -0.07055506855249405, 0.07566064596176147, 0.09753294289112091, -0.30185747146606445, 0.25630074739456177, -0.07584850490093231, 0.17967630922794342, -0.10949248820543289, 0.023378362879157066, -0.34949755668640137, 0.04520616680383682, 0.10553501546382904, 0.15966303646564484, -0.09951423853635788, 0.20537152886390686, -0.40948596596717834, 0.15655004978179932, 0.14893345534801483, -0.1528702825307846, 0.1867045909166336, -0.20632728934288025, 0.5382636189460754, 0.3466678261756897, 0.12923932075500488, 0.23043256998062134, 0.4580443203449249, 0.31537383794784546, 0.20534570515155792, -0.25187838077545166, 0.04217485710978508, -0.07181645929813385, -0.049260951578617096, 0.1399911344051361, 0.29194286465644836, 0.22346678376197815, 0.23559550940990448, 0.14622732996940613, 0.2355181872844696, -0.34162625670433044, -0.03469282016158104, 0.28508883714675903, -0.12436319887638092, 0.09764520823955536, -0.17901647090911865, -0.1272180825471878, 0.2384675294160843, -0.2665979266166687, -0.13681690394878387, -0.49420812726020813, -0.028970999643206596, 0.3438897132873535, -0.177072674036026, 0.09462592005729675, -0.1220429465174675, 0.1520802229642868, 0.17518606781959534, 0.3075092136859894, 0.19889046251773834, -0.00014030697639100254, -0.17803485691547394, -0.320069819688797, -0.2683098614215851, 0.619239091873169, 0.15861175954341888, -0.1470007300376892, -0.2361743450164795, -0.27692967653274536, 0.05805279314517975, 0.03612551465630531, -0.05473029240965843, 0.27178898453712463, -0.2631678283214569, 0.19093003869056702, -0.15621915459632874, -0.019265545532107353, 0.15511244535446167, 0.052010469138622284, -0.12741222977638245, -0.23226036131381989, 0.2540256381034851, 0.06251297146081924, 0.2543763220310211, 0.17873311042785645, -0.4589187204837799, -0.1817675232887268, 0.10830779373645782, 0.27849215269088745, 0.1918361634016037, 0.4076686501502991, -0.48081889748573303, 0.15876202285289764, 0.026866815984249115, -0.2578369677066803, -0.13003288209438324, 0.2520497739315033, 0.027047527953982353, -0.024027034640312195, -0.07192511111497879, -0.10932153463363647, 0.16714157164096832, 0.29419979453086853, -0.10554070770740509, 0.018792476505041122, -0.29560157656669617, 0.05185049772262573, 0.009861386381089687, 0.06984390318393707, -0.08100496232509613, 0.20800518989562988, 0.14866407215595245, -0.02146320976316929, -0.2619077265262604, -0.16773316264152527, 0.36338672041893005, 0.03320896998047829, -0.250484824180603, -0.05089957267045975, 0.0542457178235054, 0.016360340639948845, -0.0581342838704586, -0.20506061613559723, 0.1222512274980545, 0.010675564408302307, 0.008262453600764275, 0.26869916915893555, 0.01901986077427864, -0.210745170712471, -0.1295497864484787, 0.0007961962255649269, -0.057539768517017365, 0.34882229566574097, -0.04111580550670624, -0.018748555332422256, -0.1266084611415863 ]
https://github.com/huggingface/datasets/issues/2153
load_dataset ignoring features
Nice question which helped me a lot! I have wasted a lot of time to the `DatasetDict` creation from a csv file. Hope the document of this module add some simple examples.
First of all, I'm sorry if it is a repeated issue or the changes are already in master, I searched and I didn't find anything. I'm using datasets 1.5.0 ![image](https://user-images.githubusercontent.com/37592763/113114369-8f376580-920b-11eb-900d-94365b59f04b.png) As you can see, when I load the dataset, the ClassLabels are ignored, I have to cast the dataset in order to make it work. Code to reproduce: ```python import datasets data_location = "/data/prueba_multiclase" features = datasets.Features( {"texto": datasets.Value("string"), "label": datasets.features.ClassLabel(names=["false", "true"])} ) dataset = datasets.load_dataset( "csv", data_files=data_location, delimiter="\t", features=features ) ``` Dataset I used: [prueba_multiclase.zip](https://github.com/huggingface/datasets/files/6235022/prueba_multiclase.zip) (it has to be unzipped) Thank you! ❤️
32
load_dataset ignoring features
[ -0.49913981556892395, -0.17572349309921265, -0.2232932597398758, 0.3528239130973816, 0.2159503698348999, -0.0010397317819297314, 0.6336661577224731, 0.13747942447662354, 0.3596338629722595, -0.060824740678071976, 0.1646219789981842, 0.405144602060318, 0.07409891486167908, 0.4922388792037964, -0.033348198980093, 0.16756658256053925, 0.0915491133928299, 0.3796246349811554, -0.13951806724071503, -0.2639005482196808, -0.21794670820236206, 0.10410317778587341, -0.21567799150943756, -0.1811368763446808, -0.35468992590904236, 0.2925051748752594, 0.2583119571208954, 0.3055676817893982, -0.1266442984342575, -0.11216211318969727, 0.10782875865697861, 0.3257741928100586, 0.08082161098718643, 0.1757088601589203, -0.00010533942986512557, 0.007339367642998695, 0.23499959707260132, -0.2130279690027237, -0.29513218998908997, 0.07429558783769608, -0.38505157828330994, -0.196738138794899, 0.19281093776226044, -0.19496724009513855, -0.13795608282089233, -0.06687451153993607, -0.19897553324699402, -0.11455441266298294, 0.04814988374710083, 0.06454814970493317, 0.3026907742023468, 0.10166048258543015, -0.21780529618263245, -0.1721440702676773, 0.22159719467163086, 0.28173497319221497, -0.16398729383945465, 0.12590578198432922, 0.14294426143169403, -0.22268112003803253, -0.30810683965682983, 0.22771285474300385, -0.17289011180400848, -0.10236571729183197, 0.27208057045936584, -0.127144917845726, 0.12852877378463745, 0.1409168392419815, 0.11534291505813599, -0.035084232687950134, 0.5668553709983826, 0.09736799448728561, -0.07325813174247742, -0.20832987129688263, -0.324351042509079, -0.2059345245361328, 0.12938757240772247, -0.26358944177627563, -0.054246943444013596, 0.10037845373153687, -0.22536058723926544, -0.141416534781456, 0.032359782606363297, 0.08201248198747635, -0.21264015138149261, 0.03165922686457634, -0.12352349609136581, 0.06427997350692749, -0.027426553890109062, 0.1822955459356308, 0.19892866909503937, -0.10320895165205002, 0.16525182127952576, -0.026973647996783257, -0.21378326416015625, 0.06236585974693298, 0.3107607960700989, -0.06766132265329361, 0.24229970574378967, 0.3011847138404846, 0.22931411862373352, 0.40855470299720764, -0.04504001885652542, 0.004263375885784626, 0.2897203862667084, -0.04274006187915802, 0.3534854054450989, -0.14227190613746643, 0.11395063251256943, 0.054103631526231766, -0.29440295696258545, -0.12154187262058258, 0.015027515590190887, -0.04620927572250366, 0.15401002764701843, -0.17363964021205902, 0.23096193373203278, -0.19683803617954254, -0.2018566131591797, 0.0100657157599926, 0.388334721326828, -0.23123903572559357, -0.12082386016845703, 0.3996841013431549, 0.17931480705738068, 0.34463024139404297, -0.13089928030967712, 0.3535536527633667, -0.2734874188899994, -0.26353684067726135, -0.45171865820884705, -0.21875423192977905, -0.13922131061553955, -0.04220900312066078, 0.3202284574508667, -0.00918965507298708, 0.42571941018104553, -0.10041888803243637, -0.1020648330450058, -0.12911763787269592, 0.027693359181284904, -0.006255679298192263, 0.04552581533789635, 0.08287205547094345, 0.02257918380200863, 0.020697833970189095, 0.28164342045783997, 0.1286449134349823, 0.06049755588173866, 0.22250455617904663, -0.14419662952423096, -0.18148505687713623, 0.1984361708164215, 0.3411302864551544, -0.21511103212833405, 0.06733795255422592, -0.14643438160419464, 0.39274102449417114, 0.06428834050893784, -0.3328505754470825, -0.08641652017831802, -0.042280830442905426, -0.2211553007364273, -0.20972129702568054, 0.18766918778419495, 0.44016745686531067, -0.26614734530448914, -0.19146226346492767, 0.017181023955345154, -0.16698648035526276, 0.14398936927318573, -0.18919812142848969, -0.32992368936538696, 0.06430648267269135, -0.2031676173210144, 0.11948129534721375, 0.48728999495506287, 0.07801930606365204, -0.348323792219162, 0.21136809885501862, 0.030621012672781944, 0.05819889158010483, 0.0769478976726532, 0.24899142980575562, -0.06381851434707642, 0.13605643808841705, 0.046678390353918076, 0.24727262556552887, 0.13211935758590698, -0.12568114697933197, -0.07796602696180344, -0.10006459057331085, 0.3887093961238861, 0.1681853085756302, 0.04537857696413994, 0.4106104075908661, 0.24075938761234283, -0.05756236985325813, 0.3260592818260193, 0.055180151015520096, -0.13115517795085907, 0.34755074977874756, -0.1463174670934677, 0.09496677666902542, -0.039234086871147156, -0.07150500267744064, -0.5292360782623291, 0.02685636095702648, 0.2948104739189148, -0.12182676792144775, 0.14521095156669617, -0.006993264891207218, -0.34821003675460815, 0.09503928571939468, -0.2315245121717453, -0.09695582091808319, 0.20357687771320343, 0.33074626326560974, -0.3421792984008789, -0.11497966945171356, -0.26361894607543945, 0.2339714914560318, -0.11395232379436493, 0.0032985731959342957, -0.3523779511451721, 0.30599114298820496, 0.2300104945898056, -0.16949999332427979, -0.029972655698657036, 0.11547478288412094, 0.20255623757839203, -0.06503165513277054, -0.12583023309707642, 0.13070634007453918, 0.07513374835252762, 0.04563645273447037, 0.03375570476055145, 0.13743281364440918, -0.08961042016744614, -0.14466971158981323, 0.13046780228614807, -0.14810045063495636, 0.36574476957321167, -0.2191081941127777, -0.14331035315990448, 0.20966936647891998, -0.03136434406042099, -0.09945622831583023, 0.11000904440879822, -0.21774031221866608, 0.27890315651893616, -0.10356283187866211, -0.017476912587881088, -0.17338034510612488, 0.10533031076192856, 0.13979588449001312, 0.12326563149690628, 0.22572924196720123, -0.28561267256736755, 0.17913340032100677, 0.32604655623435974, 0.1061580702662468, 0.11507328599691391, -0.08729501813650131, -0.11982434242963791, -0.16430920362472534, 0.28086307644844055, -0.33729609847068787, 0.4532400667667389, 0.3220018744468689, 0.10298248380422592, -0.09103648364543915, 0.1317463368177414, -0.10986685752868652, 0.15585194528102875, -0.1625126302242279, 0.06642390787601471, 0.22042402625083923, 0.23889054358005524, -0.24690945446491241, -0.4901881515979767, 0.2617018222808838, 0.15817894041538239, -0.11581970006227493, -0.415842741727829, 0.009069735184311867, -0.19774794578552246, 0.1760619431734085, 0.1283036321401596, -0.05331463739275932, -0.22755739092826843, -0.25662919878959656, -0.12155233323574066, 0.3284139037132263, 0.02921673096716404, 0.03722642362117767, -0.4263511896133423, 0.17184597253799438, 0.310759037733078, -0.46887168288230896, -0.06678377836942673, -0.00961370300501585, -0.2830042839050293, 0.15125232934951782, -0.19478602707386017, 0.28465384244918823, 0.11834538727998734, -0.1215951144695282, -0.015635740011930466, -0.036199022084474564, -0.1427355855703354, 0.21801453828811646, -0.06659232825040817, 0.0856141746044159, -0.07972604036331177, 0.2847978174686432, 0.12386420369148254, 0.1550695151090622, 0.34629762172698975, -0.14292053878307343, -0.03531254455447197, 0.19758908450603485, 0.19208557903766632, 0.12169057130813599, -0.11406312882900238, -0.4976600706577301, 0.1215197965502739, -0.4128111004829407, -0.1487099975347519, 0.23856624960899353, -0.1068577989935875, 0.1638467162847519, 0.21890950202941895, -0.12745927274227142, 0.19591306149959564, -0.011292827315628529, -0.46442312002182007, -0.2015283703804016, 0.3782484829425812, -0.04947467893362045, -0.24348793923854828, -0.14948512613773346, -0.026413077488541603, -0.009644102305173874, 0.4548487365245819, -0.3576454520225525, 0.019201306626200676, -0.016825834289193153, 0.33131515979766846, -0.12254519760608673, 0.00907945353537798, 0.23333020508289337, 0.003193663666024804, -0.10541833937168121, -0.2522384822368622, -0.21006691455841064, 0.3384780287742615, -0.005544700659811497, 0.018662838265299797, -0.1903577595949173, 0.09962824732065201, -0.3702937960624695, 0.23971252143383026, -0.28282034397125244, 0.019318334758281708, 0.5023507475852966, -0.2857409715652466, 0.5463951230049133, -0.3214329183101654, -0.24655833840370178, -0.09912123531103134, -0.036948297172784805, 0.04133347421884537, 0.30550718307495117, -0.08936607092618942, -0.11734417825937271, -0.3615320324897766, -0.0788232758641243, -0.17841686308383942, -0.14537303149700165, 0.1323138326406479, 0.05800589174032211, 0.06421136111021042, 0.24893149733543396, 0.38796257972717285, -0.2472490668296814, -0.026200106367468834, -0.04294675588607788, 0.06128475442528725, 0.06754976511001587, -0.031328000128269196, -0.491120308637619, 0.2984766364097595, -0.16068792343139648, 0.11856178194284439, -0.28220975399017334, 0.15004152059555054, 0.010774415917694569, -0.45672962069511414, -0.058794647455215454, 0.024048123508691788, 0.6230576634407043, -0.03967954218387604, 0.21909146010875702, 0.017789527773857117, -0.1755797564983368, -0.15852971374988556, -0.09833218157291412, -0.06804662197828293, 0.2650773823261261, -0.22334657609462738, 0.39739617705345154, -0.13557001948356628, -0.05431516841053963, 0.1085171326994896, 0.2503083050251007, -0.2357427477836609, -0.23275037109851837, -0.40917056798934937, -0.029459455981850624, -0.16759257018566132, -0.3171301484107971, 0.061002954840660095, 0.18612831830978394, -0.12396527081727982, -0.14795342087745667, -0.24517260491847992, -0.09501905739307404, 0.2181357890367508, 0.3639294505119324, 0.3210797905921936, -0.08448142558336258, 0.12213822454214096, 0.14027465879917145, 0.2852742075920105, -0.008146780543029308, 0.7927443981170654, 0.006524981465190649, -0.42463159561157227, 0.2394438236951828, -0.459259033203125, 0.3642891049385071, 0.25937744975090027, 0.02823811024427414, -0.08676350861787796, -0.11185222864151001, -0.25713905692100525, -0.5001829862594604, 0.3746729791164398, 0.0844956636428833, -0.0537247397005558, 0.006130564492195845, -0.45377951860427856, 0.3568238317966461, -0.3677566349506378, -0.11387511342763901, 0.16650061309337616, -0.2904346287250519, -0.23088319599628448, 0.3984767198562622, -0.24473066627979279, 0.7030481696128845, 0.1372060924768448, 0.19283726811408997, 0.26889753341674805, 0.3083086311817169, 0.01882961019873619, -0.19662676751613617, 0.10260502249002457, -0.27114638686180115, -0.4814453721046448, -0.007825835607945919, -0.12447972595691681, 0.12311746180057526, 0.5306801795959473, 0.10364954173564911, 0.27915525436401367, -0.21738481521606445, 0.18615490198135376, -0.0003142483183182776, 0.061599086970090866, 0.23596632480621338, -0.0053823296912014484, -0.3293006122112274, 0.16198885440826416, 0.08119919151067734, 0.09571553021669388, -0.07195162773132324, 0.029102062806487083, -0.13083334267139435, -0.3215903639793396, 0.32317301630973816, 0.2429850697517395, -0.17396289110183716, 0.10478944331407547, -0.07902338355779648, -0.31580060720443726, -0.23235660791397095, -0.033746909350156784, -0.24480785429477692, 0.06494402140378952, -0.02557784877717495, 0.027809062972664833, 0.11355715990066528, 0.21217860281467438, -0.21938841044902802, -0.022231487557291985, 0.2210708111524582, -0.021397599950432777, -0.180515319108963, 0.06151274964213371, -0.16858138144016266, -0.130619615316391, -0.019112056121230125, -0.01282534934580326, 0.043143317103385925, -0.6993804574012756, -0.30419155955314636, 0.04578205570578575, 0.3533598482608795, -0.271255761384964, 0.21488989889621735, 0.18281610310077667, 0.06153460592031479, 0.01616046205163002, 0.27885958552360535, -0.2649606168270111, -0.2786257863044739, 0.3172427713871002, -0.017751028761267662, -0.13557903468608856, 0.4079234004020691, 0.04748959094285965, -0.02003747597336769, -0.2982083261013031, -0.015141036361455917, 0.5610123872756958, -0.2894042730331421, 0.01850064843893051, -0.021027686074376106, -0.2400643229484558, 0.01976766064763069, 0.3145758807659149, -0.1814614087343216, -0.0576937161386013, 0.12093029916286469, -0.419574499130249, -0.3239394724369049, 0.05816033482551575, 0.03826764598488808, 0.10972115397453308, 0.23926106095314026, -0.16987434029579163, -0.07548120617866516, 0.17645010352134705, -0.43209004402160645, -0.2452535331249237, 0.06484378129243851, 0.054146505892276764, 0.2821299731731415, 0.07920902222394943, 0.17664946615695953, -0.02477736957371235, 0.33742401003837585, -0.2287558615207672, -0.08032294362783432, -0.36517441272735596, -0.11910286545753479, 0.0970238447189331, -0.06346733123064041, 0.2463868409395218, -0.23373918235301971, -0.25911960005760193, -0.2903508245944977, -0.220077782869339, 0.18923741579055786, 0.09011603891849518, 0.04752868786454201, 0.29362860321998596, -0.14684540033340454, 0.17002156376838684, -0.24069859087467194, 0.05749432370066643, -0.040677510201931, 0.21177536249160767, -0.03587731346487999, -0.1453908085823059, 0.01006332878023386, 0.006792084313929081, -0.03275218978524208, -0.06217944249510765, -0.010102956555783749, 0.06176615133881569, 0.16239610314369202, -0.21600164473056793, 0.181886687874794, 0.032630592584609985, 0.1808200627565384, 0.47823306918144226, -0.07687336951494217, -0.037528906017541885, -0.033813752233982086, 0.3532389998435974, -0.4574950635433197, -0.16486667096614838, 0.3623757064342499, -0.1261788010597229, 0.23058359324932098, 0.3105067312717438, 0.1672678291797638, -0.11368321627378464, -0.02535831928253174, 0.023770911619067192, 0.25758349895477295, 0.16419154405593872, -0.0680350586771965, 0.3138887882232666, -0.15570467710494995, 0.11442055553197861, 0.07088512927293777, 0.4805043935775757, 0.02815120294690132, 0.569746196269989, 0.18187281489372253, 0.27225160598754883, -0.05004994943737984, 0.11218440532684326, -0.3312138319015503, -0.6695402264595032, 0.11876731365919113, 0.15177540481090546, -0.19405964016914368, 0.14840838313102722, 0.002723702695220709, 0.10714306682348251, -0.06077052280306816, -0.0048706261441111565, 0.004238651134073734, -0.10578365623950958, -0.24416324496269226, -0.036831870675086975, -0.11650007963180542, -0.3592498004436493, -0.3430626392364502, -0.0331571102142334, -0.10490361601114273, 0.016406238079071045, 0.25306436419487, -0.13202914595603943, 0.13051296770572662, -0.14795204997062683, 0.28274160623550415, 0.01591155119240284, -0.20957820117473602, -0.09442681074142456, 0.23580069839954376, 0.05418219417333603, 0.003818738041445613, 0.5962677001953125, -0.026574254035949707, 0.08647604286670685, 0.09457163512706757, 0.14845268428325653, -0.07238871604204178, -0.0017786029493436217, -0.24815286695957184, -0.4550745487213135, 0.19766239821910858, 0.15904298424720764, 0.4047810733318329, 0.3519235849380493, 0.24382971227169037, -0.24640654027462006, 0.057252705097198486, 0.36751747131347656, -0.12663601338863373, -0.42959555983543396, 0.21082445979118347, 0.09545206278562546, -0.2979632318019867, -0.11793337017297745, -0.09124395251274109, -0.17415815591812134, -0.2569783627986908, 0.42932236194610596, 0.1390635222196579, 0.2699599266052246, 0.049640920013189316, 0.14083275198936462, -0.13153865933418274, 0.42214223742485046, -0.10705529898405075, 0.0675182044506073, -0.08189625293016434, 0.04217043146491051, -0.7541335225105286, 0.3699508309364319, 0.2965027689933777, -0.058974768966436386, 0.26582151651382446, 0.12629707157611847, 0.6655081510543823, 0.05930621176958084, -0.06220158934593201, -0.07014776021242142, 0.3731922209262848, 0.007262523751705885, -0.17786352336406708, -0.3556228280067444, -0.16678331792354584, 0.19599369168281555, -0.1668330281972885, -0.3127327263355255, 0.15563665330410004, -0.13082917034626007, 0.19427673518657684, -0.14070233702659607, -0.24799177050590515, 0.023472564294934273, 0.17451883852481842, 0.40347498655319214, -0.07215584069490433, 0.5388157963752747, -0.23185062408447266, 0.14309857785701752, -0.07258664816617966, -0.16329798102378845, -0.042732611298561096, 0.2427002489566803, 0.07446473091840744, 0.04426267743110657, -0.09439519792795181, 0.3213998079299927, -0.1859206259250641, 0.16721653938293457, 0.16221848130226135, -0.1442946046590805, -0.17457932233810425, 0.18352578580379486, -0.06927216798067093, -0.04838729277253151, 0.1478590965270996, 0.16153550148010254, -0.06175263226032257, -0.10712119936943054, -0.0061408900655806065, -0.1934642344713211, 0.2563749849796295, -0.20097339153289795, -0.5161163806915283, -0.20535193383693695, 0.17990946769714355, 0.18236087262630463, 0.08748216181993484, -0.44933316111564636, 0.09172440320253372, 0.2857709527015686, -0.10230284184217453, -0.016305355355143547, 0.3264305889606476, -0.3018815815448761, 0.03526358678936958, -0.05792446434497833, 0.1731506884098053, 0.07343941181898117, -0.1297490894794464, -0.16556544601917267, -0.18831376731395721 ]
https://github.com/huggingface/datasets/issues/2148
Add configurable options to `seqeval` metric
Hi @marrodion. Thanks for pointing this out. It would be great to incorporate this metric-specific enhancement. Another possibility would be to require the user to input the scheme as a string `mode="strict", scheme="IOB2"` and then dynamically import the corresponding module using Python `importlib`: ```python if scheme: scheme = importlib.import_module(f"seqeval.scheme.{scheme}") ``` Feel free to create a Pull Request to make this contribution.
Right now `load_metric("seqeval")` only works in the default mode of evaluation (equivalent to conll evaluation). However, seqeval library [supports](https://github.com/chakki-works/seqeval#support-features) different evaluation schemes (IOB1, IOB2, etc.), which can be plugged in just by supporting additional kwargs in `Seqeval._compute` https://github.com/huggingface/datasets/blob/85cf7ff920c90ca2e12bedca12b36d2a043c3da2/metrics/seqeval/seqeval.py#L109 Things that would be relevant are, for example, supporting `mode="strict", scheme=IOB2` to count only full entity match as a true positive and omit partial matches. The only problem I see is that the spirit of `metrics` seems to not require additional imports from user. `seqeval` only supports schemes as objects, without any string aliases. It can be solved naively with mapping like `{"IOB2": seqeval.scheme.IOB2}`. Or just left as is and require user to explicitly import scheme from `seqeval` if he wants to configure it past the default implementation. If that makes sense, I am happy to implement the change.
61
Add configurable options to `seqeval` metric
[ -0.4614723026752472, 0.2381007969379425, -0.15554027259349823, -0.31558582186698914, 0.21700185537338257, -0.051741499453783035, 0.1005864292383194, 0.05923394113779068, -0.2229211926460266, 0.33251452445983887, -0.2611754536628723, 0.3732545077800751, -0.08919922262430191, 0.11762748658657074, 0.03063925914466381, 0.30294087529182434, -0.2866862416267395, -0.09233392030000687, -0.0013728856574743986, 0.001924400799907744, -0.5654107332229614, 0.06068262830376625, -0.07517971098423004, -0.14019644260406494, 0.19214852154254913, 0.16621795296669006, 0.044586848467588425, -0.1593037098646164, -0.29473674297332764, -0.30991992354393005, -0.20176318287849426, 0.4694697856903076, -0.32198143005371094, -0.2500748932361603, -0.000114582602691371, -0.18689876794815063, 0.021986404433846474, -0.30078303813934326, -0.3276715874671936, 0.07618498057126999, -0.6328446865081787, -0.3216913640499115, 0.11869639158248901, -0.18699954450130463, 0.10186520218849182, 0.027869660407304764, 0.09252940118312836, -0.26878345012664795, -0.1547975391149521, 0.30528524518013, 0.20535336434841156, -0.004032703582197428, -0.2948804795742035, -0.28895094990730286, -0.18462063372135162, 0.23822255432605743, -0.2363130897283554, 0.3320094645023346, -0.060710467398166656, 0.3573654592037201, -0.07684268057346344, 0.00403765682131052, 0.1605248898267746, -0.3155299723148346, 0.10582458972930908, -0.12190200388431549, 0.49632707238197327, 0.08683121204376221, 0.18255625665187836, 0.11375714093446732, 0.2675538659095764, -0.3100075125694275, -0.07331406325101852, 0.0362502783536911, 0.16930712759494781, -0.545570969581604, 0.05106864869594574, -0.03853346034884453, 0.18101656436920166, -0.17725251615047455, -0.21395538747310638, -0.431611567735672, -0.29860082268714905, 0.11556506901979446, -0.14983369410037994, 0.5210424065589905, -0.10433205217123032, -0.0014283891068771482, 0.181497260928154, -0.05756191164255142, -0.2985057234764099, 0.07013198733329773, 0.09648802131414413, -0.06780564039945602, -0.3372898995876312, 0.052081625908613205, -0.009179512970149517, -0.2193283587694168, 0.16491621732711792, 0.1671108901500702, 0.15910841524600983, 0.1125296801328659, 0.5761657953262329, 0.025312639772892, -0.2628560960292816, 0.5165613293647766, 0.3150588870048523, 0.20440445840358734, 0.03809969499707222, 0.1537487655878067, 0.16997578740119934, -0.029992830008268356, 0.16658760607242584, -0.6634166240692139, -0.04399561509490013, 0.21900387108325958, -0.05949714407324791, -0.0692686215043068, -0.42134514451026917, -0.037035610526800156, -0.11202549189329147, -0.2012929618358612, 0.2869817018508911, -0.03584960103034973, -0.062415819615125656, -0.49364107847213745, 0.051665496081113815, 0.5513247847557068, 0.08476664125919342, 0.11028053611516953, -0.11513980478048325, 0.05129830911755562, 0.11499013751745224, 0.2524992525577545, 0.10539891570806503, 0.14263765513896942, 0.008300773799419403, -0.08177459985017776, 0.38301828503608704, -0.13797146081924438, 0.145167738199234, 0.33903589844703674, -0.2563742399215698, 0.08651240170001984, -0.04057978466153145, -0.2470083385705948, -0.09490443021059036, -0.06903943419456482, -0.42225542664527893, -0.11873812973499298, -0.05229293555021286, -0.46831801533699036, 0.20242886245250702, 0.2147451490163803, -0.21070462465286255, -0.20627106726169586, 0.2843732535839081, 0.8281565308570862, -0.12716320157051086, 0.02028590813279152, 0.12659478187561035, 0.17540377378463745, -0.21387477219104767, -0.008044044487178326, 0.25838565826416016, 0.21947045624256134, -0.5387980341911316, -0.41234779357910156, -0.22335246205329895, -0.04898868501186371, 0.09788286685943604, -0.24024105072021484, 0.026163654401898384, 0.12052954733371735, 0.09967388212680817, 0.2340642213821411, 0.828038215637207, -0.18497250974178314, -0.022972505539655685, -0.04552801698446274, 0.009802361950278282, -0.45661577582359314, 0.19798101484775543, -0.1740235984325409, 0.5084076523780823, 0.2684793472290039, 0.17515689134597778, -0.05785271152853966, 0.028377246111631393, -0.38789042830467224, -0.18421626091003418, -0.22718878090381622, -0.17033998668193817, 0.0864357203245163, 0.4160320460796356, 0.29834309220314026, 0.33052077889442444, 0.10652495920658112, -0.33634039759635925, 0.10194146633148193, 0.1845548003911972, 0.1161637082695961, 0.40597495436668396, -0.35695916414260864, -0.0027363623958081007, -0.08876372128725052, -0.055216144770383835, -0.22935369610786438, -0.11917342990636826, 0.24167795479297638, 0.22256872057914734, -0.05399419367313385, -0.46785488724708557, -0.08315436542034149, 0.019390808418393135, 0.1322934776544571, 0.21160228550434113, -0.015058581717312336, -0.1669447422027588, 0.06636975705623627, -0.035775963217020035, -0.004252483602613211, 0.1394936442375183, -0.038752637803554535, 0.13402795791625977, -0.153677836060524, 0.04834699258208275, -0.0873868465423584, 0.17340204119682312, 0.36561596393585205, 0.07925856858491898, 0.3143065571784973, -0.019737601280212402, 0.22795453667640686, -0.3502413034439087, 0.11833149194717407, 0.31231245398521423, 0.7141744494438171, 0.09597373008728027, -0.07053785026073456, 0.08971238881349564, -0.3617318570613861, -0.29128924012184143, 0.0206147488206625, -0.139288067817688, 0.3715795576572418, 0.04859564080834389, 0.09814465790987015, -0.3505019545555115, 0.1382882446050644, 0.15143506228923798, -0.019269315525889397, -0.5533518195152283, -0.4494398534297943, 0.08791109174489975, -0.08072121441364288, 0.2898651659488678, -0.09869538992643356, 0.09904541820287704, 0.03779840096831322, -0.06795360147953033, 0.07149457931518555, 0.09131929278373718, 0.04131007567048073, 0.1819116175174713, -0.09013631194829941, 0.03362104669213295, -0.22581955790519714, 0.25047534704208374, 0.2587183713912964, 0.10642226040363312, 0.05315519496798515, -0.4745800495147705, -0.3107340931892395, 0.2186383605003357, 0.131242573261261, -0.03792485594749451, 0.34156107902526855, 0.1454663723707199, -0.18865948915481567, -0.27038106322288513, -0.12043770402669907, 0.08312104642391205, -0.10461465269327164, -0.18645264208316803, -0.0673595443367958, -0.26360443234443665, 0.33230918645858765, 0.2636267840862274, 0.042808450758457184, -0.19321227073669434, -0.39239054918289185, 0.4922909438610077, -0.15869247913360596, -0.2678494155406952, 0.44590550661087036, -0.0931934118270874, 0.7022345066070557, 0.12144961953163147, -0.21355602145195007, -0.12512776255607605, -0.08036487549543381, 0.2799951136112213, 0.07736477255821228, -0.4379512369632721, -0.09224866330623627, 0.32895466685295105, -0.0405508354306221, 0.5420467257499695, -0.13400694727897644, -0.4433671534061432, 0.12785805761814117, 0.2874871492385864, 0.6775463819503784, 0.23866671323776245, -0.34268197417259216, -0.00019448362581897527, 0.007466326467692852, 0.14572452008724213, 0.5850353837013245, 0.06808968633413315, 0.013674170710146427, -0.3270273506641388, 0.2604259252548218, -0.2350931614637375, -0.16826173663139343, 0.10081233829259872, -0.418203741312027, 0.03478001430630684, 0.06256601214408875, -0.06861568987369537, 0.1430899053812027, 0.13557782769203186, -0.12191847711801529, -0.07733846455812454, 0.2364591807126999, -0.20826299488544464, 0.23691904544830322, 0.49516236782073975, -0.3122299313545227, 0.26597264409065247, -0.0003228961431887001, -0.18518124520778656, 0.5710130929946899, 0.16545222699642181, -0.18826183676719666, -0.24544593691825867, 0.13523803651332855, 0.14568114280700684, -0.06679771095514297, -0.2874118685722351, 0.30499395728111267, 0.07911026477813721, -0.01732754148542881, -0.16658885776996613, -0.44270506501197815, 0.4337487518787384, 0.5016420483589172, 0.21771018207073212, -0.2716482877731323, 0.4261002838611603, -0.037265513092279434, 0.3151974380016327, -0.2911774218082428, 0.309100866317749, 0.15858465433120728, -0.16535696387290955, 0.4147120416164398, 0.3330814838409424, 0.024293774738907814, 0.34727779030799866, 0.5691536664962769, -0.16520489752292633, 0.3008708357810974, 0.0939331129193306, 0.09412223845720291, 0.10890799760818481, 0.11340324580669403, 0.09926348924636841, -0.26401227712631226, 0.05184980109333992, -0.08778691291809082, 0.36174458265304565, 0.015916308388113976, -0.14682282507419586, -0.37235337495803833, 0.035863276571035385, 0.11851084232330322, 0.2744121849536896, 0.04646274819970131, -0.030730945989489555, 0.20348721742630005, 0.14363551139831543, -0.155018612742424, 0.06152589991688728, -0.35352569818496704, -0.18610605597496033, -0.2153163105249405, -0.2037779688835144, 0.08973769843578339, 0.08872638642787933, 0.33093026280403137, -0.16019563376903534, -0.5397270321846008, 0.1758975386619568, -0.02944895066320896, -0.2859250009059906, -0.0011704073986038566, 0.01652482897043228, -0.22930362820625305, 0.35315996408462524, 0.3001156151294708, -0.602057695388794, 0.23625577986240387, -0.044525258243083954, 0.07201436161994934, -0.19243237376213074, -0.1611357480287552, 0.06883544474840164, -0.06123784929513931, -0.152404323220253, 0.1925414353609085, -0.2154812514781952, 0.2785308063030243, 0.263729065656662, 0.04936739429831505, -0.06525973975658417, -0.41964155435562134, 0.05466973036527634, 0.14670774340629578, 0.0025892555713653564, -0.20971865952014923, -0.023449303582310677, -0.10042975097894669, -0.1509479135274887, -0.06875919550657272, -0.09709028899669647, 0.05885593965649605, -0.1134805977344513, 0.42723315954208374, -0.2142162173986435, 0.30525797605514526, 0.1149902194738388, -0.13764351606369019, 0.04360275715589523, 0.004550333600491285, 0.3245438039302826, -0.23539915680885315, 0.17441554367542267, 0.12197838723659515, -0.11725267022848129, 0.29962626099586487, 0.026181161403656006, 0.18349239230155945, -0.11148322373628616, -0.21579383313655853, -0.35623621940612793, 0.014189500361680984, -0.21129962801933289, -0.07733726501464844, 0.6185315847396851, 0.8131070733070374, -0.05912759155035019, -0.390960156917572, 0.1774066835641861, 0.026302438229322433, 0.082475945353508, -0.30052492022514343, 0.19941143691539764, -0.09904374927282333, 0.3321205675601959, 0.18052706122398376, -0.012606280855834484, 0.016263626515865326, -0.016109975054860115, -0.4066550135612488, -0.026679420843720436, -0.03788742050528526, -0.19149969518184662, -0.17255912721157074, -0.31976842880249023, -0.16902098059654236, -0.17290924489498138, -0.033664096146821976, 0.10729630291461945, 0.050322383642196655, -0.07466570287942886, 0.033827368170022964, -0.03640527278184891, 0.16795994341373444, 0.08776789903640747, -0.030350210145115852, -0.38889825344085693, -0.0095786452293396, -0.1302812099456787, -0.07974705100059509, 0.16986404359340668, -0.23286627233028412, 0.037790555506944656, 0.4223199486732483, 0.10911253094673157, -0.22294996678829193, 0.1065944954752922, 0.006870335899293423, 0.2069101780653, 0.0311515461653471, 0.037036698311567307, 0.042806439101696014, -0.28925561904907227, 0.03693776577711105, 0.07866611331701279, 0.18459266424179077, -0.38522735238075256, -0.28525659441947937, -0.05427069589495659, -0.09158918261528015, -0.2664641737937927, 0.33099260926246643, -0.13182629644870758, 0.26295244693756104, -0.29469597339630127, 0.15107490122318268, 0.07964129745960236, 0.25511834025382996, 0.47896808385849, 0.01562650129199028, -0.18715612590312958, -0.31289058923721313, 0.11306329071521759, -0.15901225805282593, 0.05598781630396843, -0.14594405889511108, -0.5031105875968933, -0.1868845671415329, -0.22831860184669495, -0.23971983790397644, -0.26676297187805176, -0.45014676451683044, 0.16210268437862396, 0.05120063200592995, -0.40299469232559204, -0.09718696027994156, 0.29480600357055664, 0.3375563323497772, 0.20474381744861603, -0.05646437779068947, -0.10101048648357391, -0.14364759624004364, 0.21898198127746582, -0.0645417720079422, 0.18990524113178253, -0.23341558873653412, 0.04853813722729683, -0.3168407678604126, 0.13744215667247772, -0.3488788306713104, -0.29023435711860657, -0.20644773542881012, 0.03438757359981537, -0.1664057821035385, 0.16933050751686096, 0.020230703055858612, 0.2918265163898468, 0.116752989590168, -0.3586575388908386, -0.31523650884628296, -0.13616175949573517, -0.3003244996070862, 0.06791306287050247, 0.03657545521855354, 0.2400466650724411, -0.020513879135251045, 0.09639184921979904, -0.35505545139312744, -0.15128420293331146, -0.09396562725305557, 0.18155159056186676, -0.13046081364154816, -0.02116195112466812, -0.234353169798851, 0.030599215999245644, 0.3019547760486603, 0.02742580696940422, 0.41688278317451477, 0.22819393873214722, -0.11920695751905441, 0.3744250535964966, -0.44044604897499084, -0.0614674836397171, 0.2088155448436737, 0.2831880748271942, 0.09479763358831406, -0.0983584001660347, -0.014641113579273224, 0.4279116094112396, -0.0618194043636322, 0.14457248151302338, 0.09949398785829544, 0.1756671965122223, 0.13117438554763794, -0.13874725997447968, -0.17390967905521393, 0.19578060507774353, -0.04518981650471687, 0.1260644942522049, -0.28299832344055176, 0.04074685275554657, 0.4336240887641907, 0.32507145404815674, 0.31730666756629944, -0.22007544338703156, 0.9085809588432312, -0.1028299555182457, -0.07154115289449692, -0.056656576693058014, 0.03785678744316101, 0.05286381021142006, -0.017756490036845207, 0.3559199571609497, 0.5344461798667908, 0.08529249578714371, 0.27196353673934937, -0.218624085187912, -0.0929483100771904, -0.05607053264975548, 0.0023709333036094904, 0.15947562456130981, 0.1733241230249405, 0.11287792772054672, 0.147291898727417, -0.14276248216629028, -0.1710047572851181, 0.03391328081488609, 0.09571203589439392, 0.08582715690135956, -0.05193796008825302, 0.10772466659545898, -0.13491712510585785, 0.15955041348934174, -0.1412251591682434, -0.25024086236953735, -0.26697972416877747, -0.4522400200366974, -0.08252392709255219, -0.18702144920825958, 0.17671816051006317, 0.09095675498247147, -0.06163535267114639, -0.3992193937301636, 0.4145730137825012, 0.006615857128053904, 0.08875399827957153, 0.10036735236644745, -0.17362822592258453, -0.0360713005065918, 0.04797399044036865, -0.02714034728705883, 0.12242903560400009, 0.4041784703731537, 0.34715113043785095, -0.1215953379869461, -0.12825119495391846, 0.24603037536144257, -0.28977760672569275, 0.0783325731754303, -0.02194148674607277, -0.19988128542900085, 0.03340592980384827, 0.3802359104156494, -0.3501325845718384, 0.28133782744407654, 0.200649693608284, -0.21435829997062683, 0.47065627574920654, -0.2097223699092865, 0.006185038480907679, -0.12677457928657532, -0.08877196162939072, 0.39107903838157654, 0.059725940227508545, 0.19578835368156433, -0.29786428809165955, -0.005363278090953827, -0.14273051917552948, -0.24107924103736877, -0.2637357711791992, 0.16939325630664825, -0.07661916315555573, 0.09029398113489151, -0.0018757156794890761, -0.0025674495846033096, -0.1117759421467781, -0.4103437066078186, 0.09072719514369965, 0.2251330465078354, -0.3240250051021576, 0.09061143547296524, 0.42986026406288147, 0.026598691940307617, -0.04807146266102791, 0.25731006264686584, 0.07568415999412537, 0.06494418531656265, 0.012603538110852242, -0.41936320066452026, 0.26708856225013733, -0.2971118092536926, -0.30589306354522705, 0.003873302834108472, 0.3520490527153015, 0.05714031308889389, 0.008477699011564255, 0.3350641429424286, 0.026339948177337646, -0.171708345413208, 0.14640499651432037, -0.16787214577198029, -0.2181568592786789, 0.011990264989435673, 0.4935383200645447, 0.15815699100494385, 0.044336576014757156, 0.1389176845550537, -0.3824787139892578, 0.2090219259262085, -0.08786945044994354, -0.011862251907587051, 0.1277521252632141, -0.23310419917106628, -0.18943743407726288, 0.07986098527908325, -0.04240380972623825, -0.018372703343629837, -0.017645100131630898, 0.3645279109477997, 0.01185975968837738, -0.2924095094203949, 0.27131661772727966, 0.34830763936042786, 0.06401889771223068, -0.06550682336091995, -0.04847673699259758, 0.06439338624477386, 0.20972393453121185, 0.41734832525253296, 0.19004292786121368, -0.22738517820835114, 0.26732131838798523, 0.21550582349300385, -0.15373025834560394, -0.10863944888114929, 0.12649480998516083, 0.6220990419387817, 0.1796925961971283, -0.016479479148983955, -0.198134645819664, 0.37979012727737427, 0.13615655899047852, 0.3316381275653839, 0.41490858793258667, -0.025294087827205658, -0.062218405306339264, -0.021568577736616135, -0.029240643605589867, 0.2371823936700821, 0.16002102196216583, -0.34008732438087463, -0.20331475138664246 ]
https://github.com/huggingface/datasets/issues/2146
Dataset file size on disk is very large with 3D Array
Hi ! In the arrow file we store all the integers as uint8. So your arrow file should weigh around `height x width x n_channels x n_images` bytes. What feature type do your TFDS dataset have ? If it uses a `tfds.features.Image` type, then what is stored is the encoded data (as png or jpg for example). Since these encodings are made for compression, the resulting tfrecord is smaller that the arrow file. We are working on adding a similar feature in `datasets`: the ability to store the encoded data instead of the raw integers for images, but also for audio data. This way, arrow files will have similar sizes as tfrecords for images.
Hi, I have created my own dataset using the provided dataset loading script. It is an image dataset where images are stored as 3D Array with dtype=uint8. The actual size on disk is surprisingly large. It takes 520 MB. Here is some info from `dataset_info.json`. `{ "description": "", "citation": "", "homepage": "", "license": "", "features": { "image": { "shape": [224, 224, 3], "dtype": "uint8", "id": null, "_type": "Array3D", } }, "post_processed": null, "supervised_keys": null, "builder_name": "shot_type_image_dataset", "config_name": "default", "version": { "version_str": "0.0.0", "description": null, "major": 0, "minor": 0, "patch": 0, }, "splits": { "train": { "name": "train", "num_bytes": 520803408, "num_examples": 1479, "dataset_name": "shot_type_image_dataset", } }, "download_checksums": { "": { "num_bytes": 16940447118, "checksum": "5854035705efe08b0ed8f3cf3da7b4d29cba9055c2d2d702c79785350d72ee03", } }, "download_size": 16940447118, "post_processing_size": null, "dataset_size": 520803408, "size_in_bytes": 17461250526, }` I have created the same dataset with tensorflow_dataset and it takes only 125MB on disk. I am wondering, is it normal behavior ? I understand `Datasets` uses Arrow for serialization wheres tf uses TF Records. This might be a problem for large dataset. Thanks for your help.
114
Dataset file size on disk is very large with 3D Array
[ -0.30969154834747314, -0.26155519485473633, -0.300947368144989, 0.3339998424053192, 0.15253198146820068, 0.10520775616168976, 0.23678866028785706, 0.28482383489608765, 0.03541994094848633, 0.316911518573761, -0.15202835202217102, 0.05686163902282715, -0.18953640758991241, 0.4509965777397156, -0.018239445984363556, 0.030143750831484795, 0.0007481902721337974, 0.3227694034576416, -0.21703778207302094, -0.07729223370552063, 0.006408787332475185, 0.16818808019161224, 0.006385094486176968, -0.24776150286197662, -0.09089257568120956, -0.4154113829135895, 0.03764241933822632, 0.17858687043190002, -0.20923690497875214, -0.036062974482774734, -0.085969477891922, -0.08480885624885559, -0.019399624317884445, 0.21204082667827606, -0.00010276842658640817, -0.146839439868927, -0.05743468180298805, -0.13731203973293304, 0.09467911720275879, 0.5956470370292664, 0.011510392650961876, -0.40312841534614563, -0.19317488372325897, -0.3667956590652466, 0.16207529604434967, -0.24089300632476807, -0.3464867174625397, -0.059074562042951584, 0.18419644236564636, 0.06474296748638153, 0.3272935152053833, -0.06895079463720322, 0.07620184868574142, 0.12877804040908813, 0.24297383427619934, 0.19627128541469574, -0.0024643689393997192, 0.041673339903354645, 0.21401245892047882, 0.26041290163993835, -0.19038037955760956, 0.2984190285205841, 0.08133301883935928, 0.2774949073791504, 0.24198825657367706, -0.1570611149072647, 0.29508623480796814, 0.12537936866283417, 0.1730007529258728, 0.18522010743618011, 0.6623428463935852, -0.21243639290332794, -0.03896814212203026, -0.17457787692546844, -0.03892633691430092, -0.030941829085350037, -0.039443179965019226, 0.2731590270996094, -0.0911828801035881, -0.06890600174665451, -0.45297008752822876, -0.08583500981330872, -0.37788787484169006, 0.07750479131937027, -0.1246166005730629, -0.20936010777950287, -0.1745615452528, -0.12671439349651337, 0.19110415875911713, -0.24273265898227692, 0.2633930742740631, 0.08137021213769913, 0.03725089877843857, -0.25464576482772827, -0.046313825994729996, -0.3141372799873352, -0.1607048511505127, -0.11148449778556824, 0.2911950349807739, -0.22565867006778717, 0.12985286116600037, 0.05053095892071724, 0.06802581250667572, -0.02540944144129753, 0.15566007792949677, 0.22923578321933746, -0.450125515460968, -0.25877484679222107, 0.05955374613404274, -0.04702717810869217, 0.13640627264976501, -0.06165340915322304, 0.0007348940707743168, -0.1980227380990982, 0.009874166920781136, -0.22957538068294525, 0.002671106019988656, -0.12375559657812119, -0.011143133975565434, 0.030552970245480537, 0.2278883159160614, 0.1056942343711853, -0.05033764988183975, 0.27560991048812866, 0.1598467081785202, 0.08314822614192963, -0.2654819190502167, -0.0977926105260849, -0.050365839153528214, -0.13309191167354584, -0.18070870637893677, 0.0796678438782692, 0.1191696971654892, -0.22351336479187012, 0.2270161509513855, 0.44358453154563904, 0.08752572536468506, -0.14373473823070526, 0.14189842343330383, 0.06938665360212326, 0.07900667935609818, -0.3324440121650696, 0.4606004059314728, 0.19425925612449646, 0.08945227414369583, -0.019481996074318886, -0.26406869292259216, 0.1362655907869339, -0.11706323176622391, 0.08268241584300995, -0.28426966071128845, 0.00036157737486064434, -0.3651089668273926, 0.25495997071266174, -0.04276135191321373, 0.11899390816688538, -0.16331423819065094, -0.09212132543325424, 0.022273017093539238, -0.24948522448539734, -0.12769563496112823, -0.08144692331552505, -0.09143933653831482, -0.115382619202137, -0.1207449808716774, -0.016240322962403297, -0.5046858787536621, 0.3684030771255493, -0.18765871226787567, 0.013074410147964954, 0.0662211999297142, 0.43137046694755554, -0.017066873610019684, 0.028143083676695824, -0.35084268450737, -0.014600813388824463, 0.10058968514204025, -0.07976171374320984, -0.6476002931594849, 0.3425687551498413, 0.09015735983848572, -0.18332691490650177, 0.27280187606811523, 0.22961238026618958, 0.0888427346944809, -0.013466537930071354, -0.1360415667295456, 0.27110984921455383, 0.08933386206626892, 0.16912789642810822, -0.25827351212501526, -0.27740955352783203, -0.22868335247039795, 0.18568019568920135, -0.08832289278507233, -0.18844714760780334, 0.33177801966667175, -0.050390567630529404, 0.2828305959701538, -0.2695133686065674, 0.14457494020462036, 0.30998730659484863, 0.2622441053390503, -0.28098589181900024, -0.0038223667070269585, -0.13262172043323517, -0.49561986327171326, -0.06324604898691177, 0.031038697808980942, -0.36786240339279175, 0.05122679844498634, -0.1312621384859085, -0.14364269375801086, -0.26962295174598694, -0.00850143376737833, 0.1968611776828766, 0.23467405140399933, 0.1040249615907669, 0.08833132684230804, -0.03822170943021774, 0.17188596725463867, -0.2610481381416321, 0.19061583280563354, -0.3405485153198242, -0.3999067544937134, 0.15931151807308197, -0.0673116073012352, -0.18379463255405426, 0.24216701090335846, -0.0023076978977769613, -0.047684118151664734, -0.2966128885746002, 0.03822195529937744, -0.010857980698347092, 0.11179225146770477, -0.007141865324229002, 0.16566479206085205, 0.4294593632221222, -0.009028222411870956, 0.10420048236846924, 0.4140216112136841, -0.09455718845129013, 0.14923720061779022, 0.09906788915395737, -0.22709333896636963, 0.18537580966949463, -0.23159395158290863, -0.1068526953458786, 0.07860534638166428, -0.1514328122138977, 0.41937392950057983, -0.008794549852609634, 0.3377600312232971, -0.49297237396240234, -0.02337612956762314, 0.07372922450304031, 0.14987578988075256, 0.07207135111093521, 0.19575293362140656, 0.11994033306837082, 0.5793231129646301, -0.1428750902414322, 0.23464806377887726, 0.17763368785381317, 0.09922445565462112, -0.07147584855556488, 0.051740631461143494, 0.4698048233985901, 0.18773949146270752, 0.43968239426612854, 0.05199522152543068, -0.06768593937158585, 0.3061405122280121, -0.1778700053691864, 0.0920768529176712, -0.010556207038462162, 0.2919071912765503, 0.44647133350372314, 0.13293153047561646, -0.33586591482162476, -0.3294259309768677, -0.3004111051559448, 0.2342192679643631, 0.21642042696475983, -0.05935308337211609, 0.026130616664886475, -0.1535233110189438, -0.30464789271354675, -0.12841136753559113, 0.09838929027318954, -0.0755528062582016, 0.041348494589328766, -0.15046942234039307, -0.009297516196966171, -0.18419668078422546, -0.07052388787269592, 0.3434937000274658, 0.09512343257665634, 0.3912658989429474, 0.16561169922351837, 0.19884809851646423, 0.14973869919776917, 0.08250194042921066, 0.22823326289653778, 0.2516961097717285, -0.0058485777117311954, 0.2602538764476776, -0.2473946362733841, 0.31101280450820923, -0.24789556860923767, 0.04208013787865639, 0.03931090980768204, 0.28888216614723206, 0.2210560142993927, 0.11368605494499207, 0.1833987832069397, -0.14554741978645325, -0.03832485154271126, -0.06293067336082458, -0.16433238983154297, -0.23903127014636993, 0.1270926296710968, -0.028519507497549057, -0.13382813334465027, -0.17841161787509918, -0.11331503093242645, -0.2182006686925888, -0.32354822754859924, 0.1827896386384964, 0.05668868124485016, 0.2686908543109894, 0.1534121334552765, 0.20361270010471344, 0.14810016751289368, 0.04410131275653839, 0.1806458830833435, -0.2049357146024704, -0.3045889735221863, 0.1547214537858963, -0.033572133630514145, -0.2665097415447235, 0.02195291593670845, -0.11256413906812668, 0.2236177623271942, 0.1281520575284958, -0.44524574279785156, -0.23968257009983063, -0.28699547052383423, -0.095740906894207, -0.23522140085697174, 0.04011904448270798, 0.17791347205638885, -0.1825028508901596, -0.2072678804397583, 0.051720380783081055, -0.08312807977199554, 0.012937070801854134, 0.2929430603981018, 0.052082501351833344, -0.217071533203125, 0.3628605008125305, 0.19752338528633118, 0.19196707010269165, 0.005201993975788355, -0.08325713127851486, 0.2833710312843323, 0.1112896129488945, 0.32329750061035156, -0.08920171856880188, -0.04806215688586235, 0.16635966300964355, 0.0774606391787529, -0.08016123622655869, 0.059601351618766785, -0.13293853402137756, -0.17373570799827576, 0.285042941570282, -0.10404304414987564, -0.057858385145664215, 0.03136412426829338, 0.2135307341814041, 0.14850330352783203, -0.05048619210720062, -0.05674852430820465, -0.1313919574022293, -0.14776688814163208, -0.1855701357126236, -0.09337331354618073, 0.004766202997416258, -0.019934676587581635, 0.023248819634318352, -0.2192552536725998, -0.24835991859436035, -0.1409575194120407, 0.21962887048721313, 0.08443861454725266, 0.2750367224216461, -0.16167908906936646, 0.08977293968200684, 0.12079092115163803, -0.06289102137088776, 1.0360971689224243, 0.03313542157411575, 0.33843570947647095, 0.010296378284692764, -0.02915637195110321, -0.35364672541618347, 0.02999940514564514, -0.3425895571708679, -0.06705474108457565, 0.16876359283924103, 0.4953954517841339, 0.06749463081359863, 0.1175890788435936, -0.09008508920669556, 0.27289092540740967, -0.16397899389266968, -0.09989460557699203, -0.28686264157295227, -0.15806905925273895, -0.2705816924571991, -0.1356566697359085, 0.017781414091587067, -0.01719864271581173, 0.20270271599292755, -0.37407803535461426, -0.07555363327264786, -0.36671435832977295, -0.1295057237148285, 0.1469457894563675, 0.4723215401172638, 0.17708081007003784, 0.017906635999679565, -0.1916498988866806, 0.34221693873405457, 0.3138890266418457, 0.07821247726678848, 0.0968514233827591, 0.49068617820739746, 0.25754523277282715, -0.36677202582359314, 0.19393940269947052, 0.06911905109882355, 0.08595786243677139, -0.14569857716560364, -0.1390181928873062, 0.336442768573761, -0.28530609607696533, 0.10398628562688828, 0.02611379511654377, -0.07416242361068726, 0.053029052913188934, -0.03167591616511345, 0.05912597104907036, -0.12991642951965332, 0.06882964074611664, -0.15875034034252167, 0.00890044029802084, 0.04412655159831047, 0.10414537042379379, 0.16523377597332, 0.4378596842288971, -0.07567109912633896, 0.23626816272735596, 0.0513116791844368, -0.11916203051805496, -0.25388047099113464, -0.06516849249601364, 0.059499334543943405, -0.16107702255249023, -0.38688018918037415, 0.083431176841259, -0.06621468812227249, 0.12360425293445587, 0.29877912998199463, -0.11661513149738312, 0.09186526387929916, 0.39251571893692017, -0.20161738991737366, -0.30994898080825806, 0.284399151802063, 0.013222403824329376, -0.06680852919816971, -0.36125892400741577, 0.16840048134326935, -0.20704339444637299, -0.38700777292251587, -0.1281486302614212, -0.09539745002985, 0.03091340884566307, 0.14942029118537903, 0.21129581332206726, -0.1175723448395729, -0.004100151360034943, 0.3778766989707947, -0.21064068377017975, -0.3179495632648468, -0.0858226865530014, 0.08331576734781265, -0.4311671555042267, 0.26188820600509644, -0.10625480860471725, 0.017844680696725845, 0.06425844132900238, -0.028540512546896935, -0.11775059998035431, -0.024389801546931267, -0.10572506487369537, -0.1420397311449051, -0.08380845934152603, -0.14289167523384094, 0.23947355151176453, -0.11057822406291962, 0.07403258979320526, 0.21177613735198975, -0.07099497318267822, -0.21688233315944672, -0.3088914752006531, -0.4183988869190216, -0.2672419548034668, 0.08681602030992508, 0.23574455082416534, 0.06466040015220642, -0.10420437902212143, 0.42645037174224854, 0.26094990968704224, -0.31589508056640625, -0.21800149977207184, 0.41025787591934204, 0.0882461741566658, 0.27095577120780945, 0.24679234623908997, -0.18669849634170532, -0.12521892786026, -0.3496646583080292, 0.4015355706214905, -0.06183815374970436, -0.0896967202425003, 0.07633005082607269, -0.03837433457374573, -0.15626852214336395, 0.006760984193533659, -0.4389948844909668, 0.29212042689323425, 0.08972809463739395, -0.2779044210910797, -0.25829920172691345, -0.31809094548225403, -0.004685357213020325, -0.024974802508950233, 0.1278335154056549, 0.22142885625362396, -0.29194438457489014, -0.10002279281616211, 0.14181935787200928, -0.38615351915359497, 0.3262507915496826, -0.087774857878685, 0.09584464132785797, -0.3878037631511688, -0.35209622979164124, -0.09026135504245758, -0.1961420327425003, 0.10944124311208725, -0.17186897993087769, -0.2905910015106201, -0.37087559700012207, 0.2080005556344986, -0.011206798255443573, -0.11341490596532822, -0.05533543974161148, 0.14162476360797882, -0.2030090093612671, -0.3735940754413605, -0.1132817491889, 0.10061758011579514, -0.15295758843421936, 0.08319656550884247, 0.1084776520729065, 0.04021081700921059, -0.34459322690963745, 0.248006209731102, -0.1342584639787674, -0.006193375214934349, -0.05842302367091179, 0.011401908472180367, 0.09219535440206528, -0.054063357412815094, -0.06894028931856155, -0.12022368609905243, 0.14071491360664368, -0.0528104193508625, -0.10153727978467941, 0.2034790813922882, -0.057217638939619064, -0.07075521349906921, 0.4689769446849823, 0.4083784520626068, 0.03432167321443558, -0.24908122420310974, -0.20169979333877563, 0.06692132353782654, 0.35962316393852234, -0.13085506856441498, -0.4421582818031311, 0.20506589114665985, 0.02440941520035267, 0.20050515234470367, 0.25417035818099976, 0.24243035912513733, -0.23070088028907776, -0.06952746212482452, 0.1828034520149231, 0.4166067838668823, -0.008587406948208809, -0.20462195575237274, 0.328527569770813, -0.0552353635430336, -0.1230836883187294, 0.18762154877185822, 0.37456193566322327, 0.4323230981826782, 1.0719358921051025, 0.08900588750839233, 0.1401316523551941, 0.21856491267681122, 0.077707938849926, -0.32115474343299866, -0.3553757965564728, 0.05100619047880173, 0.3628831207752228, 0.035670019686222076, 0.2242438942193985, 0.14787329733371735, -0.2952662408351898, 0.02977006882429123, -0.342098593711853, -0.40104982256889343, -0.16631869971752167, -0.3352973461151123, 0.2478891760110855, 0.30723121762275696, -0.026919106021523476, 0.0956130176782608, 0.2593352198600769, -0.28477367758750916, -0.06126648932695389, 0.04579821228981018, -0.09387244284152985, -0.10103879868984222, 0.17033171653747559, 0.45739132165908813, 0.12805746495723724, -0.04090007394552231, -0.20381374657154083, 0.27677491307258606, 0.307582825422287, 0.07707725465297699, -0.04841490089893341, 0.010833879932761192, 0.30427995324134827, 0.08519457280635834, 0.1693340390920639, 0.06266075372695923, 0.022612804546952248, -0.2182355374097824, -0.38886773586273193, -0.10188344120979309, 0.07550813257694244, 0.3824693560600281, 0.24293391406536102, 0.23150230944156647, -0.19771520793437958, -0.06004224345088005, 0.24173933267593384, -0.03362280875444412, -0.12138697504997253, -0.20363765954971313, -0.2956176698207855, -0.21466021239757538, -0.1302288919687271, -0.12782655656337738, -0.6295871734619141, -0.2674054205417633, 0.21846641600131989, -0.383011132478714, 0.30040866136550903, 0.10717093199491501, 0.15843571722507477, -0.47880256175994873, 0.6124034523963928, 0.047624122351408005, -0.07473176717758179, -0.04119953513145447, -0.02767183631658554, -0.38464781641960144, 0.046289049088954926, -0.03265941143035889, 0.025522129610180855, 0.10393363237380981, 0.3317469358444214, 0.023287659510970116, -0.08748502284288406, 0.15033240616321564, 0.29172205924987793, -0.0932367816567421, -0.10178421437740326, -0.42950183153152466, -0.04156789928674698, 0.07388798147439957, 0.042097851634025574, 0.05570313334465027, -0.3171684145927429, 0.36398476362228394, 0.07263409346342087, 0.17752224206924438, 0.16282334923744202, 0.201152503490448, -0.29316380620002747, 0.48449650406837463, 0.03535031899809837, -0.07750241458415985, 0.22754275798797607, -0.24051032960414886, 0.08255881071090698, 0.06303224712610245, 0.13377130031585693, 0.05741121619939804, 0.36099115014076233, 0.3650144636631012, 0.23837648332118988, -0.16847990453243256, 0.18672676384449005, 0.244968980550766, 0.375410795211792, 0.02678600326180458, 0.2890009582042694, 0.10195120424032211, 0.15273532271385193, -0.05496496707201004, -0.08690470457077026, 0.05756211653351784, 0.00373555114492774, 0.014267869293689728, -0.15155747532844543, 0.06203191354870796, -0.0992165133357048, 0.3110025227069855, 0.2854669392108917, -0.20489883422851562, 0.0500410795211792, 0.10930769145488739, -0.08094149082899094, -0.11947271972894669, -0.18391403555870056, 0.1738395243883133, 0.22049567103385925, 0.021313929930329323, -0.016924289986491203, 0.4494015574455261, -0.44229790568351746, -0.21874311566352844, 0.08898729085922241, 0.705487847328186, 0.1837768405675888, -0.4509845972061157, -0.02065773494541645, 0.0046380930580198765 ]
https://github.com/huggingface/datasets/issues/2146
Dataset file size on disk is very large with 3D Array
Thanks for the prompt response. You're right about the encoding, I have the `tfds.features.Image` feature type you mentioned. However, as described in the `dataset_info.json`, my dataset is made of 1479 (224x224x3) images. 1479 x 224 x 224 x 3 = 222630912 bytes which is far from the actual size 520803408 bytes. Anyway I look forward to the Image feature type in `datasets`.
Hi, I have created my own dataset using the provided dataset loading script. It is an image dataset where images are stored as 3D Array with dtype=uint8. The actual size on disk is surprisingly large. It takes 520 MB. Here is some info from `dataset_info.json`. `{ "description": "", "citation": "", "homepage": "", "license": "", "features": { "image": { "shape": [224, 224, 3], "dtype": "uint8", "id": null, "_type": "Array3D", } }, "post_processed": null, "supervised_keys": null, "builder_name": "shot_type_image_dataset", "config_name": "default", "version": { "version_str": "0.0.0", "description": null, "major": 0, "minor": 0, "patch": 0, }, "splits": { "train": { "name": "train", "num_bytes": 520803408, "num_examples": 1479, "dataset_name": "shot_type_image_dataset", } }, "download_checksums": { "": { "num_bytes": 16940447118, "checksum": "5854035705efe08b0ed8f3cf3da7b4d29cba9055c2d2d702c79785350d72ee03", } }, "download_size": 16940447118, "post_processing_size": null, "dataset_size": 520803408, "size_in_bytes": 17461250526, }` I have created the same dataset with tensorflow_dataset and it takes only 125MB on disk. I am wondering, is it normal behavior ? I understand `Datasets` uses Arrow for serialization wheres tf uses TF Records. This might be a problem for large dataset. Thanks for your help.
62
Dataset file size on disk is very large with 3D Array
[ -0.30969154834747314, -0.26155519485473633, -0.300947368144989, 0.3339998424053192, 0.15253198146820068, 0.10520775616168976, 0.23678866028785706, 0.28482383489608765, 0.03541994094848633, 0.316911518573761, -0.15202835202217102, 0.05686163902282715, -0.18953640758991241, 0.4509965777397156, -0.018239445984363556, 0.030143750831484795, 0.0007481902721337974, 0.3227694034576416, -0.21703778207302094, -0.07729223370552063, 0.006408787332475185, 0.16818808019161224, 0.006385094486176968, -0.24776150286197662, -0.09089257568120956, -0.4154113829135895, 0.03764241933822632, 0.17858687043190002, -0.20923690497875214, -0.036062974482774734, -0.085969477891922, -0.08480885624885559, -0.019399624317884445, 0.21204082667827606, -0.00010276842658640817, -0.146839439868927, -0.05743468180298805, -0.13731203973293304, 0.09467911720275879, 0.5956470370292664, 0.011510392650961876, -0.40312841534614563, -0.19317488372325897, -0.3667956590652466, 0.16207529604434967, -0.24089300632476807, -0.3464867174625397, -0.059074562042951584, 0.18419644236564636, 0.06474296748638153, 0.3272935152053833, -0.06895079463720322, 0.07620184868574142, 0.12877804040908813, 0.24297383427619934, 0.19627128541469574, -0.0024643689393997192, 0.041673339903354645, 0.21401245892047882, 0.26041290163993835, -0.19038037955760956, 0.2984190285205841, 0.08133301883935928, 0.2774949073791504, 0.24198825657367706, -0.1570611149072647, 0.29508623480796814, 0.12537936866283417, 0.1730007529258728, 0.18522010743618011, 0.6623428463935852, -0.21243639290332794, -0.03896814212203026, -0.17457787692546844, -0.03892633691430092, -0.030941829085350037, -0.039443179965019226, 0.2731590270996094, -0.0911828801035881, -0.06890600174665451, -0.45297008752822876, -0.08583500981330872, -0.37788787484169006, 0.07750479131937027, -0.1246166005730629, -0.20936010777950287, -0.1745615452528, -0.12671439349651337, 0.19110415875911713, -0.24273265898227692, 0.2633930742740631, 0.08137021213769913, 0.03725089877843857, -0.25464576482772827, -0.046313825994729996, -0.3141372799873352, -0.1607048511505127, -0.11148449778556824, 0.2911950349807739, -0.22565867006778717, 0.12985286116600037, 0.05053095892071724, 0.06802581250667572, -0.02540944144129753, 0.15566007792949677, 0.22923578321933746, -0.450125515460968, -0.25877484679222107, 0.05955374613404274, -0.04702717810869217, 0.13640627264976501, -0.06165340915322304, 0.0007348940707743168, -0.1980227380990982, 0.009874166920781136, -0.22957538068294525, 0.002671106019988656, -0.12375559657812119, -0.011143133975565434, 0.030552970245480537, 0.2278883159160614, 0.1056942343711853, -0.05033764988183975, 0.27560991048812866, 0.1598467081785202, 0.08314822614192963, -0.2654819190502167, -0.0977926105260849, -0.050365839153528214, -0.13309191167354584, -0.18070870637893677, 0.0796678438782692, 0.1191696971654892, -0.22351336479187012, 0.2270161509513855, 0.44358453154563904, 0.08752572536468506, -0.14373473823070526, 0.14189842343330383, 0.06938665360212326, 0.07900667935609818, -0.3324440121650696, 0.4606004059314728, 0.19425925612449646, 0.08945227414369583, -0.019481996074318886, -0.26406869292259216, 0.1362655907869339, -0.11706323176622391, 0.08268241584300995, -0.28426966071128845, 0.00036157737486064434, -0.3651089668273926, 0.25495997071266174, -0.04276135191321373, 0.11899390816688538, -0.16331423819065094, -0.09212132543325424, 0.022273017093539238, -0.24948522448539734, -0.12769563496112823, -0.08144692331552505, -0.09143933653831482, -0.115382619202137, -0.1207449808716774, -0.016240322962403297, -0.5046858787536621, 0.3684030771255493, -0.18765871226787567, 0.013074410147964954, 0.0662211999297142, 0.43137046694755554, -0.017066873610019684, 0.028143083676695824, -0.35084268450737, -0.014600813388824463, 0.10058968514204025, -0.07976171374320984, -0.6476002931594849, 0.3425687551498413, 0.09015735983848572, -0.18332691490650177, 0.27280187606811523, 0.22961238026618958, 0.0888427346944809, -0.013466537930071354, -0.1360415667295456, 0.27110984921455383, 0.08933386206626892, 0.16912789642810822, -0.25827351212501526, -0.27740955352783203, -0.22868335247039795, 0.18568019568920135, -0.08832289278507233, -0.18844714760780334, 0.33177801966667175, -0.050390567630529404, 0.2828305959701538, -0.2695133686065674, 0.14457494020462036, 0.30998730659484863, 0.2622441053390503, -0.28098589181900024, -0.0038223667070269585, -0.13262172043323517, -0.49561986327171326, -0.06324604898691177, 0.031038697808980942, -0.36786240339279175, 0.05122679844498634, -0.1312621384859085, -0.14364269375801086, -0.26962295174598694, -0.00850143376737833, 0.1968611776828766, 0.23467405140399933, 0.1040249615907669, 0.08833132684230804, -0.03822170943021774, 0.17188596725463867, -0.2610481381416321, 0.19061583280563354, -0.3405485153198242, -0.3999067544937134, 0.15931151807308197, -0.0673116073012352, -0.18379463255405426, 0.24216701090335846, -0.0023076978977769613, -0.047684118151664734, -0.2966128885746002, 0.03822195529937744, -0.010857980698347092, 0.11179225146770477, -0.007141865324229002, 0.16566479206085205, 0.4294593632221222, -0.009028222411870956, 0.10420048236846924, 0.4140216112136841, -0.09455718845129013, 0.14923720061779022, 0.09906788915395737, -0.22709333896636963, 0.18537580966949463, -0.23159395158290863, -0.1068526953458786, 0.07860534638166428, -0.1514328122138977, 0.41937392950057983, -0.008794549852609634, 0.3377600312232971, -0.49297237396240234, -0.02337612956762314, 0.07372922450304031, 0.14987578988075256, 0.07207135111093521, 0.19575293362140656, 0.11994033306837082, 0.5793231129646301, -0.1428750902414322, 0.23464806377887726, 0.17763368785381317, 0.09922445565462112, -0.07147584855556488, 0.051740631461143494, 0.4698048233985901, 0.18773949146270752, 0.43968239426612854, 0.05199522152543068, -0.06768593937158585, 0.3061405122280121, -0.1778700053691864, 0.0920768529176712, -0.010556207038462162, 0.2919071912765503, 0.44647133350372314, 0.13293153047561646, -0.33586591482162476, -0.3294259309768677, -0.3004111051559448, 0.2342192679643631, 0.21642042696475983, -0.05935308337211609, 0.026130616664886475, -0.1535233110189438, -0.30464789271354675, -0.12841136753559113, 0.09838929027318954, -0.0755528062582016, 0.041348494589328766, -0.15046942234039307, -0.009297516196966171, -0.18419668078422546, -0.07052388787269592, 0.3434937000274658, 0.09512343257665634, 0.3912658989429474, 0.16561169922351837, 0.19884809851646423, 0.14973869919776917, 0.08250194042921066, 0.22823326289653778, 0.2516961097717285, -0.0058485777117311954, 0.2602538764476776, -0.2473946362733841, 0.31101280450820923, -0.24789556860923767, 0.04208013787865639, 0.03931090980768204, 0.28888216614723206, 0.2210560142993927, 0.11368605494499207, 0.1833987832069397, -0.14554741978645325, -0.03832485154271126, -0.06293067336082458, -0.16433238983154297, -0.23903127014636993, 0.1270926296710968, -0.028519507497549057, -0.13382813334465027, -0.17841161787509918, -0.11331503093242645, -0.2182006686925888, -0.32354822754859924, 0.1827896386384964, 0.05668868124485016, 0.2686908543109894, 0.1534121334552765, 0.20361270010471344, 0.14810016751289368, 0.04410131275653839, 0.1806458830833435, -0.2049357146024704, -0.3045889735221863, 0.1547214537858963, -0.033572133630514145, -0.2665097415447235, 0.02195291593670845, -0.11256413906812668, 0.2236177623271942, 0.1281520575284958, -0.44524574279785156, -0.23968257009983063, -0.28699547052383423, -0.095740906894207, -0.23522140085697174, 0.04011904448270798, 0.17791347205638885, -0.1825028508901596, -0.2072678804397583, 0.051720380783081055, -0.08312807977199554, 0.012937070801854134, 0.2929430603981018, 0.052082501351833344, -0.217071533203125, 0.3628605008125305, 0.19752338528633118, 0.19196707010269165, 0.005201993975788355, -0.08325713127851486, 0.2833710312843323, 0.1112896129488945, 0.32329750061035156, -0.08920171856880188, -0.04806215688586235, 0.16635966300964355, 0.0774606391787529, -0.08016123622655869, 0.059601351618766785, -0.13293853402137756, -0.17373570799827576, 0.285042941570282, -0.10404304414987564, -0.057858385145664215, 0.03136412426829338, 0.2135307341814041, 0.14850330352783203, -0.05048619210720062, -0.05674852430820465, -0.1313919574022293, -0.14776688814163208, -0.1855701357126236, -0.09337331354618073, 0.004766202997416258, -0.019934676587581635, 0.023248819634318352, -0.2192552536725998, -0.24835991859436035, -0.1409575194120407, 0.21962887048721313, 0.08443861454725266, 0.2750367224216461, -0.16167908906936646, 0.08977293968200684, 0.12079092115163803, -0.06289102137088776, 1.0360971689224243, 0.03313542157411575, 0.33843570947647095, 0.010296378284692764, -0.02915637195110321, -0.35364672541618347, 0.02999940514564514, -0.3425895571708679, -0.06705474108457565, 0.16876359283924103, 0.4953954517841339, 0.06749463081359863, 0.1175890788435936, -0.09008508920669556, 0.27289092540740967, -0.16397899389266968, -0.09989460557699203, -0.28686264157295227, -0.15806905925273895, -0.2705816924571991, -0.1356566697359085, 0.017781414091587067, -0.01719864271581173, 0.20270271599292755, -0.37407803535461426, -0.07555363327264786, -0.36671435832977295, -0.1295057237148285, 0.1469457894563675, 0.4723215401172638, 0.17708081007003784, 0.017906635999679565, -0.1916498988866806, 0.34221693873405457, 0.3138890266418457, 0.07821247726678848, 0.0968514233827591, 0.49068617820739746, 0.25754523277282715, -0.36677202582359314, 0.19393940269947052, 0.06911905109882355, 0.08595786243677139, -0.14569857716560364, -0.1390181928873062, 0.336442768573761, -0.28530609607696533, 0.10398628562688828, 0.02611379511654377, -0.07416242361068726, 0.053029052913188934, -0.03167591616511345, 0.05912597104907036, -0.12991642951965332, 0.06882964074611664, -0.15875034034252167, 0.00890044029802084, 0.04412655159831047, 0.10414537042379379, 0.16523377597332, 0.4378596842288971, -0.07567109912633896, 0.23626816272735596, 0.0513116791844368, -0.11916203051805496, -0.25388047099113464, -0.06516849249601364, 0.059499334543943405, -0.16107702255249023, -0.38688018918037415, 0.083431176841259, -0.06621468812227249, 0.12360425293445587, 0.29877912998199463, -0.11661513149738312, 0.09186526387929916, 0.39251571893692017, -0.20161738991737366, -0.30994898080825806, 0.284399151802063, 0.013222403824329376, -0.06680852919816971, -0.36125892400741577, 0.16840048134326935, -0.20704339444637299, -0.38700777292251587, -0.1281486302614212, -0.09539745002985, 0.03091340884566307, 0.14942029118537903, 0.21129581332206726, -0.1175723448395729, -0.004100151360034943, 0.3778766989707947, -0.21064068377017975, -0.3179495632648468, -0.0858226865530014, 0.08331576734781265, -0.4311671555042267, 0.26188820600509644, -0.10625480860471725, 0.017844680696725845, 0.06425844132900238, -0.028540512546896935, -0.11775059998035431, -0.024389801546931267, -0.10572506487369537, -0.1420397311449051, -0.08380845934152603, -0.14289167523384094, 0.23947355151176453, -0.11057822406291962, 0.07403258979320526, 0.21177613735198975, -0.07099497318267822, -0.21688233315944672, -0.3088914752006531, -0.4183988869190216, -0.2672419548034668, 0.08681602030992508, 0.23574455082416534, 0.06466040015220642, -0.10420437902212143, 0.42645037174224854, 0.26094990968704224, -0.31589508056640625, -0.21800149977207184, 0.41025787591934204, 0.0882461741566658, 0.27095577120780945, 0.24679234623908997, -0.18669849634170532, -0.12521892786026, -0.3496646583080292, 0.4015355706214905, -0.06183815374970436, -0.0896967202425003, 0.07633005082607269, -0.03837433457374573, -0.15626852214336395, 0.006760984193533659, -0.4389948844909668, 0.29212042689323425, 0.08972809463739395, -0.2779044210910797, -0.25829920172691345, -0.31809094548225403, -0.004685357213020325, -0.024974802508950233, 0.1278335154056549, 0.22142885625362396, -0.29194438457489014, -0.10002279281616211, 0.14181935787200928, -0.38615351915359497, 0.3262507915496826, -0.087774857878685, 0.09584464132785797, -0.3878037631511688, -0.35209622979164124, -0.09026135504245758, -0.1961420327425003, 0.10944124311208725, -0.17186897993087769, -0.2905910015106201, -0.37087559700012207, 0.2080005556344986, -0.011206798255443573, -0.11341490596532822, -0.05533543974161148, 0.14162476360797882, -0.2030090093612671, -0.3735940754413605, -0.1132817491889, 0.10061758011579514, -0.15295758843421936, 0.08319656550884247, 0.1084776520729065, 0.04021081700921059, -0.34459322690963745, 0.248006209731102, -0.1342584639787674, -0.006193375214934349, -0.05842302367091179, 0.011401908472180367, 0.09219535440206528, -0.054063357412815094, -0.06894028931856155, -0.12022368609905243, 0.14071491360664368, -0.0528104193508625, -0.10153727978467941, 0.2034790813922882, -0.057217638939619064, -0.07075521349906921, 0.4689769446849823, 0.4083784520626068, 0.03432167321443558, -0.24908122420310974, -0.20169979333877563, 0.06692132353782654, 0.35962316393852234, -0.13085506856441498, -0.4421582818031311, 0.20506589114665985, 0.02440941520035267, 0.20050515234470367, 0.25417035818099976, 0.24243035912513733, -0.23070088028907776, -0.06952746212482452, 0.1828034520149231, 0.4166067838668823, -0.008587406948208809, -0.20462195575237274, 0.328527569770813, -0.0552353635430336, -0.1230836883187294, 0.18762154877185822, 0.37456193566322327, 0.4323230981826782, 1.0719358921051025, 0.08900588750839233, 0.1401316523551941, 0.21856491267681122, 0.077707938849926, -0.32115474343299866, -0.3553757965564728, 0.05100619047880173, 0.3628831207752228, 0.035670019686222076, 0.2242438942193985, 0.14787329733371735, -0.2952662408351898, 0.02977006882429123, -0.342098593711853, -0.40104982256889343, -0.16631869971752167, -0.3352973461151123, 0.2478891760110855, 0.30723121762275696, -0.026919106021523476, 0.0956130176782608, 0.2593352198600769, -0.28477367758750916, -0.06126648932695389, 0.04579821228981018, -0.09387244284152985, -0.10103879868984222, 0.17033171653747559, 0.45739132165908813, 0.12805746495723724, -0.04090007394552231, -0.20381374657154083, 0.27677491307258606, 0.307582825422287, 0.07707725465297699, -0.04841490089893341, 0.010833879932761192, 0.30427995324134827, 0.08519457280635834, 0.1693340390920639, 0.06266075372695923, 0.022612804546952248, -0.2182355374097824, -0.38886773586273193, -0.10188344120979309, 0.07550813257694244, 0.3824693560600281, 0.24293391406536102, 0.23150230944156647, -0.19771520793437958, -0.06004224345088005, 0.24173933267593384, -0.03362280875444412, -0.12138697504997253, -0.20363765954971313, -0.2956176698207855, -0.21466021239757538, -0.1302288919687271, -0.12782655656337738, -0.6295871734619141, -0.2674054205417633, 0.21846641600131989, -0.383011132478714, 0.30040866136550903, 0.10717093199491501, 0.15843571722507477, -0.47880256175994873, 0.6124034523963928, 0.047624122351408005, -0.07473176717758179, -0.04119953513145447, -0.02767183631658554, -0.38464781641960144, 0.046289049088954926, -0.03265941143035889, 0.025522129610180855, 0.10393363237380981, 0.3317469358444214, 0.023287659510970116, -0.08748502284288406, 0.15033240616321564, 0.29172205924987793, -0.0932367816567421, -0.10178421437740326, -0.42950183153152466, -0.04156789928674698, 0.07388798147439957, 0.042097851634025574, 0.05570313334465027, -0.3171684145927429, 0.36398476362228394, 0.07263409346342087, 0.17752224206924438, 0.16282334923744202, 0.201152503490448, -0.29316380620002747, 0.48449650406837463, 0.03535031899809837, -0.07750241458415985, 0.22754275798797607, -0.24051032960414886, 0.08255881071090698, 0.06303224712610245, 0.13377130031585693, 0.05741121619939804, 0.36099115014076233, 0.3650144636631012, 0.23837648332118988, -0.16847990453243256, 0.18672676384449005, 0.244968980550766, 0.375410795211792, 0.02678600326180458, 0.2890009582042694, 0.10195120424032211, 0.15273532271385193, -0.05496496707201004, -0.08690470457077026, 0.05756211653351784, 0.00373555114492774, 0.014267869293689728, -0.15155747532844543, 0.06203191354870796, -0.0992165133357048, 0.3110025227069855, 0.2854669392108917, -0.20489883422851562, 0.0500410795211792, 0.10930769145488739, -0.08094149082899094, -0.11947271972894669, -0.18391403555870056, 0.1738395243883133, 0.22049567103385925, 0.021313929930329323, -0.016924289986491203, 0.4494015574455261, -0.44229790568351746, -0.21874311566352844, 0.08898729085922241, 0.705487847328186, 0.1837768405675888, -0.4509845972061157, -0.02065773494541645, 0.0046380930580198765 ]
https://github.com/huggingface/datasets/issues/2146
Dataset file size on disk is very large with 3D Array
@lhoestq I changed the data structure so I have a 2D Array feature type instead of a 3D Array by grouping the two last dimensions ( a 224x672 2D Array instead of a 224x224x3 3D Array). The file size is now 223973964 bytes, nearly half the previous size! Which is around of what I would expect. I found similar behavior in existing `datasets` collection, when comparing black and white vs color image, for example MNIST vs CIFAR.
Hi, I have created my own dataset using the provided dataset loading script. It is an image dataset where images are stored as 3D Array with dtype=uint8. The actual size on disk is surprisingly large. It takes 520 MB. Here is some info from `dataset_info.json`. `{ "description": "", "citation": "", "homepage": "", "license": "", "features": { "image": { "shape": [224, 224, 3], "dtype": "uint8", "id": null, "_type": "Array3D", } }, "post_processed": null, "supervised_keys": null, "builder_name": "shot_type_image_dataset", "config_name": "default", "version": { "version_str": "0.0.0", "description": null, "major": 0, "minor": 0, "patch": 0, }, "splits": { "train": { "name": "train", "num_bytes": 520803408, "num_examples": 1479, "dataset_name": "shot_type_image_dataset", } }, "download_checksums": { "": { "num_bytes": 16940447118, "checksum": "5854035705efe08b0ed8f3cf3da7b4d29cba9055c2d2d702c79785350d72ee03", } }, "download_size": 16940447118, "post_processing_size": null, "dataset_size": 520803408, "size_in_bytes": 17461250526, }` I have created the same dataset with tensorflow_dataset and it takes only 125MB on disk. I am wondering, is it normal behavior ? I understand `Datasets` uses Arrow for serialization wheres tf uses TF Records. This might be a problem for large dataset. Thanks for your help.
77
Dataset file size on disk is very large with 3D Array
[ -0.30969154834747314, -0.26155519485473633, -0.300947368144989, 0.3339998424053192, 0.15253198146820068, 0.10520775616168976, 0.23678866028785706, 0.28482383489608765, 0.03541994094848633, 0.316911518573761, -0.15202835202217102, 0.05686163902282715, -0.18953640758991241, 0.4509965777397156, -0.018239445984363556, 0.030143750831484795, 0.0007481902721337974, 0.3227694034576416, -0.21703778207302094, -0.07729223370552063, 0.006408787332475185, 0.16818808019161224, 0.006385094486176968, -0.24776150286197662, -0.09089257568120956, -0.4154113829135895, 0.03764241933822632, 0.17858687043190002, -0.20923690497875214, -0.036062974482774734, -0.085969477891922, -0.08480885624885559, -0.019399624317884445, 0.21204082667827606, -0.00010276842658640817, -0.146839439868927, -0.05743468180298805, -0.13731203973293304, 0.09467911720275879, 0.5956470370292664, 0.011510392650961876, -0.40312841534614563, -0.19317488372325897, -0.3667956590652466, 0.16207529604434967, -0.24089300632476807, -0.3464867174625397, -0.059074562042951584, 0.18419644236564636, 0.06474296748638153, 0.3272935152053833, -0.06895079463720322, 0.07620184868574142, 0.12877804040908813, 0.24297383427619934, 0.19627128541469574, -0.0024643689393997192, 0.041673339903354645, 0.21401245892047882, 0.26041290163993835, -0.19038037955760956, 0.2984190285205841, 0.08133301883935928, 0.2774949073791504, 0.24198825657367706, -0.1570611149072647, 0.29508623480796814, 0.12537936866283417, 0.1730007529258728, 0.18522010743618011, 0.6623428463935852, -0.21243639290332794, -0.03896814212203026, -0.17457787692546844, -0.03892633691430092, -0.030941829085350037, -0.039443179965019226, 0.2731590270996094, -0.0911828801035881, -0.06890600174665451, -0.45297008752822876, -0.08583500981330872, -0.37788787484169006, 0.07750479131937027, -0.1246166005730629, -0.20936010777950287, -0.1745615452528, -0.12671439349651337, 0.19110415875911713, -0.24273265898227692, 0.2633930742740631, 0.08137021213769913, 0.03725089877843857, -0.25464576482772827, -0.046313825994729996, -0.3141372799873352, -0.1607048511505127, -0.11148449778556824, 0.2911950349807739, -0.22565867006778717, 0.12985286116600037, 0.05053095892071724, 0.06802581250667572, -0.02540944144129753, 0.15566007792949677, 0.22923578321933746, -0.450125515460968, -0.25877484679222107, 0.05955374613404274, -0.04702717810869217, 0.13640627264976501, -0.06165340915322304, 0.0007348940707743168, -0.1980227380990982, 0.009874166920781136, -0.22957538068294525, 0.002671106019988656, -0.12375559657812119, -0.011143133975565434, 0.030552970245480537, 0.2278883159160614, 0.1056942343711853, -0.05033764988183975, 0.27560991048812866, 0.1598467081785202, 0.08314822614192963, -0.2654819190502167, -0.0977926105260849, -0.050365839153528214, -0.13309191167354584, -0.18070870637893677, 0.0796678438782692, 0.1191696971654892, -0.22351336479187012, 0.2270161509513855, 0.44358453154563904, 0.08752572536468506, -0.14373473823070526, 0.14189842343330383, 0.06938665360212326, 0.07900667935609818, -0.3324440121650696, 0.4606004059314728, 0.19425925612449646, 0.08945227414369583, -0.019481996074318886, -0.26406869292259216, 0.1362655907869339, -0.11706323176622391, 0.08268241584300995, -0.28426966071128845, 0.00036157737486064434, -0.3651089668273926, 0.25495997071266174, -0.04276135191321373, 0.11899390816688538, -0.16331423819065094, -0.09212132543325424, 0.022273017093539238, -0.24948522448539734, -0.12769563496112823, -0.08144692331552505, -0.09143933653831482, -0.115382619202137, -0.1207449808716774, -0.016240322962403297, -0.5046858787536621, 0.3684030771255493, -0.18765871226787567, 0.013074410147964954, 0.0662211999297142, 0.43137046694755554, -0.017066873610019684, 0.028143083676695824, -0.35084268450737, -0.014600813388824463, 0.10058968514204025, -0.07976171374320984, -0.6476002931594849, 0.3425687551498413, 0.09015735983848572, -0.18332691490650177, 0.27280187606811523, 0.22961238026618958, 0.0888427346944809, -0.013466537930071354, -0.1360415667295456, 0.27110984921455383, 0.08933386206626892, 0.16912789642810822, -0.25827351212501526, -0.27740955352783203, -0.22868335247039795, 0.18568019568920135, -0.08832289278507233, -0.18844714760780334, 0.33177801966667175, -0.050390567630529404, 0.2828305959701538, -0.2695133686065674, 0.14457494020462036, 0.30998730659484863, 0.2622441053390503, -0.28098589181900024, -0.0038223667070269585, -0.13262172043323517, -0.49561986327171326, -0.06324604898691177, 0.031038697808980942, -0.36786240339279175, 0.05122679844498634, -0.1312621384859085, -0.14364269375801086, -0.26962295174598694, -0.00850143376737833, 0.1968611776828766, 0.23467405140399933, 0.1040249615907669, 0.08833132684230804, -0.03822170943021774, 0.17188596725463867, -0.2610481381416321, 0.19061583280563354, -0.3405485153198242, -0.3999067544937134, 0.15931151807308197, -0.0673116073012352, -0.18379463255405426, 0.24216701090335846, -0.0023076978977769613, -0.047684118151664734, -0.2966128885746002, 0.03822195529937744, -0.010857980698347092, 0.11179225146770477, -0.007141865324229002, 0.16566479206085205, 0.4294593632221222, -0.009028222411870956, 0.10420048236846924, 0.4140216112136841, -0.09455718845129013, 0.14923720061779022, 0.09906788915395737, -0.22709333896636963, 0.18537580966949463, -0.23159395158290863, -0.1068526953458786, 0.07860534638166428, -0.1514328122138977, 0.41937392950057983, -0.008794549852609634, 0.3377600312232971, -0.49297237396240234, -0.02337612956762314, 0.07372922450304031, 0.14987578988075256, 0.07207135111093521, 0.19575293362140656, 0.11994033306837082, 0.5793231129646301, -0.1428750902414322, 0.23464806377887726, 0.17763368785381317, 0.09922445565462112, -0.07147584855556488, 0.051740631461143494, 0.4698048233985901, 0.18773949146270752, 0.43968239426612854, 0.05199522152543068, -0.06768593937158585, 0.3061405122280121, -0.1778700053691864, 0.0920768529176712, -0.010556207038462162, 0.2919071912765503, 0.44647133350372314, 0.13293153047561646, -0.33586591482162476, -0.3294259309768677, -0.3004111051559448, 0.2342192679643631, 0.21642042696475983, -0.05935308337211609, 0.026130616664886475, -0.1535233110189438, -0.30464789271354675, -0.12841136753559113, 0.09838929027318954, -0.0755528062582016, 0.041348494589328766, -0.15046942234039307, -0.009297516196966171, -0.18419668078422546, -0.07052388787269592, 0.3434937000274658, 0.09512343257665634, 0.3912658989429474, 0.16561169922351837, 0.19884809851646423, 0.14973869919776917, 0.08250194042921066, 0.22823326289653778, 0.2516961097717285, -0.0058485777117311954, 0.2602538764476776, -0.2473946362733841, 0.31101280450820923, -0.24789556860923767, 0.04208013787865639, 0.03931090980768204, 0.28888216614723206, 0.2210560142993927, 0.11368605494499207, 0.1833987832069397, -0.14554741978645325, -0.03832485154271126, -0.06293067336082458, -0.16433238983154297, -0.23903127014636993, 0.1270926296710968, -0.028519507497549057, -0.13382813334465027, -0.17841161787509918, -0.11331503093242645, -0.2182006686925888, -0.32354822754859924, 0.1827896386384964, 0.05668868124485016, 0.2686908543109894, 0.1534121334552765, 0.20361270010471344, 0.14810016751289368, 0.04410131275653839, 0.1806458830833435, -0.2049357146024704, -0.3045889735221863, 0.1547214537858963, -0.033572133630514145, -0.2665097415447235, 0.02195291593670845, -0.11256413906812668, 0.2236177623271942, 0.1281520575284958, -0.44524574279785156, -0.23968257009983063, -0.28699547052383423, -0.095740906894207, -0.23522140085697174, 0.04011904448270798, 0.17791347205638885, -0.1825028508901596, -0.2072678804397583, 0.051720380783081055, -0.08312807977199554, 0.012937070801854134, 0.2929430603981018, 0.052082501351833344, -0.217071533203125, 0.3628605008125305, 0.19752338528633118, 0.19196707010269165, 0.005201993975788355, -0.08325713127851486, 0.2833710312843323, 0.1112896129488945, 0.32329750061035156, -0.08920171856880188, -0.04806215688586235, 0.16635966300964355, 0.0774606391787529, -0.08016123622655869, 0.059601351618766785, -0.13293853402137756, -0.17373570799827576, 0.285042941570282, -0.10404304414987564, -0.057858385145664215, 0.03136412426829338, 0.2135307341814041, 0.14850330352783203, -0.05048619210720062, -0.05674852430820465, -0.1313919574022293, -0.14776688814163208, -0.1855701357126236, -0.09337331354618073, 0.004766202997416258, -0.019934676587581635, 0.023248819634318352, -0.2192552536725998, -0.24835991859436035, -0.1409575194120407, 0.21962887048721313, 0.08443861454725266, 0.2750367224216461, -0.16167908906936646, 0.08977293968200684, 0.12079092115163803, -0.06289102137088776, 1.0360971689224243, 0.03313542157411575, 0.33843570947647095, 0.010296378284692764, -0.02915637195110321, -0.35364672541618347, 0.02999940514564514, -0.3425895571708679, -0.06705474108457565, 0.16876359283924103, 0.4953954517841339, 0.06749463081359863, 0.1175890788435936, -0.09008508920669556, 0.27289092540740967, -0.16397899389266968, -0.09989460557699203, -0.28686264157295227, -0.15806905925273895, -0.2705816924571991, -0.1356566697359085, 0.017781414091587067, -0.01719864271581173, 0.20270271599292755, -0.37407803535461426, -0.07555363327264786, -0.36671435832977295, -0.1295057237148285, 0.1469457894563675, 0.4723215401172638, 0.17708081007003784, 0.017906635999679565, -0.1916498988866806, 0.34221693873405457, 0.3138890266418457, 0.07821247726678848, 0.0968514233827591, 0.49068617820739746, 0.25754523277282715, -0.36677202582359314, 0.19393940269947052, 0.06911905109882355, 0.08595786243677139, -0.14569857716560364, -0.1390181928873062, 0.336442768573761, -0.28530609607696533, 0.10398628562688828, 0.02611379511654377, -0.07416242361068726, 0.053029052913188934, -0.03167591616511345, 0.05912597104907036, -0.12991642951965332, 0.06882964074611664, -0.15875034034252167, 0.00890044029802084, 0.04412655159831047, 0.10414537042379379, 0.16523377597332, 0.4378596842288971, -0.07567109912633896, 0.23626816272735596, 0.0513116791844368, -0.11916203051805496, -0.25388047099113464, -0.06516849249601364, 0.059499334543943405, -0.16107702255249023, -0.38688018918037415, 0.083431176841259, -0.06621468812227249, 0.12360425293445587, 0.29877912998199463, -0.11661513149738312, 0.09186526387929916, 0.39251571893692017, -0.20161738991737366, -0.30994898080825806, 0.284399151802063, 0.013222403824329376, -0.06680852919816971, -0.36125892400741577, 0.16840048134326935, -0.20704339444637299, -0.38700777292251587, -0.1281486302614212, -0.09539745002985, 0.03091340884566307, 0.14942029118537903, 0.21129581332206726, -0.1175723448395729, -0.004100151360034943, 0.3778766989707947, -0.21064068377017975, -0.3179495632648468, -0.0858226865530014, 0.08331576734781265, -0.4311671555042267, 0.26188820600509644, -0.10625480860471725, 0.017844680696725845, 0.06425844132900238, -0.028540512546896935, -0.11775059998035431, -0.024389801546931267, -0.10572506487369537, -0.1420397311449051, -0.08380845934152603, -0.14289167523384094, 0.23947355151176453, -0.11057822406291962, 0.07403258979320526, 0.21177613735198975, -0.07099497318267822, -0.21688233315944672, -0.3088914752006531, -0.4183988869190216, -0.2672419548034668, 0.08681602030992508, 0.23574455082416534, 0.06466040015220642, -0.10420437902212143, 0.42645037174224854, 0.26094990968704224, -0.31589508056640625, -0.21800149977207184, 0.41025787591934204, 0.0882461741566658, 0.27095577120780945, 0.24679234623908997, -0.18669849634170532, -0.12521892786026, -0.3496646583080292, 0.4015355706214905, -0.06183815374970436, -0.0896967202425003, 0.07633005082607269, -0.03837433457374573, -0.15626852214336395, 0.006760984193533659, -0.4389948844909668, 0.29212042689323425, 0.08972809463739395, -0.2779044210910797, -0.25829920172691345, -0.31809094548225403, -0.004685357213020325, -0.024974802508950233, 0.1278335154056549, 0.22142885625362396, -0.29194438457489014, -0.10002279281616211, 0.14181935787200928, -0.38615351915359497, 0.3262507915496826, -0.087774857878685, 0.09584464132785797, -0.3878037631511688, -0.35209622979164124, -0.09026135504245758, -0.1961420327425003, 0.10944124311208725, -0.17186897993087769, -0.2905910015106201, -0.37087559700012207, 0.2080005556344986, -0.011206798255443573, -0.11341490596532822, -0.05533543974161148, 0.14162476360797882, -0.2030090093612671, -0.3735940754413605, -0.1132817491889, 0.10061758011579514, -0.15295758843421936, 0.08319656550884247, 0.1084776520729065, 0.04021081700921059, -0.34459322690963745, 0.248006209731102, -0.1342584639787674, -0.006193375214934349, -0.05842302367091179, 0.011401908472180367, 0.09219535440206528, -0.054063357412815094, -0.06894028931856155, -0.12022368609905243, 0.14071491360664368, -0.0528104193508625, -0.10153727978467941, 0.2034790813922882, -0.057217638939619064, -0.07075521349906921, 0.4689769446849823, 0.4083784520626068, 0.03432167321443558, -0.24908122420310974, -0.20169979333877563, 0.06692132353782654, 0.35962316393852234, -0.13085506856441498, -0.4421582818031311, 0.20506589114665985, 0.02440941520035267, 0.20050515234470367, 0.25417035818099976, 0.24243035912513733, -0.23070088028907776, -0.06952746212482452, 0.1828034520149231, 0.4166067838668823, -0.008587406948208809, -0.20462195575237274, 0.328527569770813, -0.0552353635430336, -0.1230836883187294, 0.18762154877185822, 0.37456193566322327, 0.4323230981826782, 1.0719358921051025, 0.08900588750839233, 0.1401316523551941, 0.21856491267681122, 0.077707938849926, -0.32115474343299866, -0.3553757965564728, 0.05100619047880173, 0.3628831207752228, 0.035670019686222076, 0.2242438942193985, 0.14787329733371735, -0.2952662408351898, 0.02977006882429123, -0.342098593711853, -0.40104982256889343, -0.16631869971752167, -0.3352973461151123, 0.2478891760110855, 0.30723121762275696, -0.026919106021523476, 0.0956130176782608, 0.2593352198600769, -0.28477367758750916, -0.06126648932695389, 0.04579821228981018, -0.09387244284152985, -0.10103879868984222, 0.17033171653747559, 0.45739132165908813, 0.12805746495723724, -0.04090007394552231, -0.20381374657154083, 0.27677491307258606, 0.307582825422287, 0.07707725465297699, -0.04841490089893341, 0.010833879932761192, 0.30427995324134827, 0.08519457280635834, 0.1693340390920639, 0.06266075372695923, 0.022612804546952248, -0.2182355374097824, -0.38886773586273193, -0.10188344120979309, 0.07550813257694244, 0.3824693560600281, 0.24293391406536102, 0.23150230944156647, -0.19771520793437958, -0.06004224345088005, 0.24173933267593384, -0.03362280875444412, -0.12138697504997253, -0.20363765954971313, -0.2956176698207855, -0.21466021239757538, -0.1302288919687271, -0.12782655656337738, -0.6295871734619141, -0.2674054205417633, 0.21846641600131989, -0.383011132478714, 0.30040866136550903, 0.10717093199491501, 0.15843571722507477, -0.47880256175994873, 0.6124034523963928, 0.047624122351408005, -0.07473176717758179, -0.04119953513145447, -0.02767183631658554, -0.38464781641960144, 0.046289049088954926, -0.03265941143035889, 0.025522129610180855, 0.10393363237380981, 0.3317469358444214, 0.023287659510970116, -0.08748502284288406, 0.15033240616321564, 0.29172205924987793, -0.0932367816567421, -0.10178421437740326, -0.42950183153152466, -0.04156789928674698, 0.07388798147439957, 0.042097851634025574, 0.05570313334465027, -0.3171684145927429, 0.36398476362228394, 0.07263409346342087, 0.17752224206924438, 0.16282334923744202, 0.201152503490448, -0.29316380620002747, 0.48449650406837463, 0.03535031899809837, -0.07750241458415985, 0.22754275798797607, -0.24051032960414886, 0.08255881071090698, 0.06303224712610245, 0.13377130031585693, 0.05741121619939804, 0.36099115014076233, 0.3650144636631012, 0.23837648332118988, -0.16847990453243256, 0.18672676384449005, 0.244968980550766, 0.375410795211792, 0.02678600326180458, 0.2890009582042694, 0.10195120424032211, 0.15273532271385193, -0.05496496707201004, -0.08690470457077026, 0.05756211653351784, 0.00373555114492774, 0.014267869293689728, -0.15155747532844543, 0.06203191354870796, -0.0992165133357048, 0.3110025227069855, 0.2854669392108917, -0.20489883422851562, 0.0500410795211792, 0.10930769145488739, -0.08094149082899094, -0.11947271972894669, -0.18391403555870056, 0.1738395243883133, 0.22049567103385925, 0.021313929930329323, -0.016924289986491203, 0.4494015574455261, -0.44229790568351746, -0.21874311566352844, 0.08898729085922241, 0.705487847328186, 0.1837768405675888, -0.4509845972061157, -0.02065773494541645, 0.0046380930580198765 ]
https://github.com/huggingface/datasets/issues/2146
Dataset file size on disk is very large with 3D Array
Interesting ! This may be because of the offsets that are stored with the array data. Currently the offsets are stored even if the `shape` of the arrays is fixed. This was needed because of some issues with pyarrow a few months ago. I think these issues have been addressed now, so we can probably try to remove them to make the file lighter. Ideally in your case the floats data should be 220 MB for both Array2D and Array3D
Hi, I have created my own dataset using the provided dataset loading script. It is an image dataset where images are stored as 3D Array with dtype=uint8. The actual size on disk is surprisingly large. It takes 520 MB. Here is some info from `dataset_info.json`. `{ "description": "", "citation": "", "homepage": "", "license": "", "features": { "image": { "shape": [224, 224, 3], "dtype": "uint8", "id": null, "_type": "Array3D", } }, "post_processed": null, "supervised_keys": null, "builder_name": "shot_type_image_dataset", "config_name": "default", "version": { "version_str": "0.0.0", "description": null, "major": 0, "minor": 0, "patch": 0, }, "splits": { "train": { "name": "train", "num_bytes": 520803408, "num_examples": 1479, "dataset_name": "shot_type_image_dataset", } }, "download_checksums": { "": { "num_bytes": 16940447118, "checksum": "5854035705efe08b0ed8f3cf3da7b4d29cba9055c2d2d702c79785350d72ee03", } }, "download_size": 16940447118, "post_processing_size": null, "dataset_size": 520803408, "size_in_bytes": 17461250526, }` I have created the same dataset with tensorflow_dataset and it takes only 125MB on disk. I am wondering, is it normal behavior ? I understand `Datasets` uses Arrow for serialization wheres tf uses TF Records. This might be a problem for large dataset. Thanks for your help.
80
Dataset file size on disk is very large with 3D Array
[ -0.30969154834747314, -0.26155519485473633, -0.300947368144989, 0.3339998424053192, 0.15253198146820068, 0.10520775616168976, 0.23678866028785706, 0.28482383489608765, 0.03541994094848633, 0.316911518573761, -0.15202835202217102, 0.05686163902282715, -0.18953640758991241, 0.4509965777397156, -0.018239445984363556, 0.030143750831484795, 0.0007481902721337974, 0.3227694034576416, -0.21703778207302094, -0.07729223370552063, 0.006408787332475185, 0.16818808019161224, 0.006385094486176968, -0.24776150286197662, -0.09089257568120956, -0.4154113829135895, 0.03764241933822632, 0.17858687043190002, -0.20923690497875214, -0.036062974482774734, -0.085969477891922, -0.08480885624885559, -0.019399624317884445, 0.21204082667827606, -0.00010276842658640817, -0.146839439868927, -0.05743468180298805, -0.13731203973293304, 0.09467911720275879, 0.5956470370292664, 0.011510392650961876, -0.40312841534614563, -0.19317488372325897, -0.3667956590652466, 0.16207529604434967, -0.24089300632476807, -0.3464867174625397, -0.059074562042951584, 0.18419644236564636, 0.06474296748638153, 0.3272935152053833, -0.06895079463720322, 0.07620184868574142, 0.12877804040908813, 0.24297383427619934, 0.19627128541469574, -0.0024643689393997192, 0.041673339903354645, 0.21401245892047882, 0.26041290163993835, -0.19038037955760956, 0.2984190285205841, 0.08133301883935928, 0.2774949073791504, 0.24198825657367706, -0.1570611149072647, 0.29508623480796814, 0.12537936866283417, 0.1730007529258728, 0.18522010743618011, 0.6623428463935852, -0.21243639290332794, -0.03896814212203026, -0.17457787692546844, -0.03892633691430092, -0.030941829085350037, -0.039443179965019226, 0.2731590270996094, -0.0911828801035881, -0.06890600174665451, -0.45297008752822876, -0.08583500981330872, -0.37788787484169006, 0.07750479131937027, -0.1246166005730629, -0.20936010777950287, -0.1745615452528, -0.12671439349651337, 0.19110415875911713, -0.24273265898227692, 0.2633930742740631, 0.08137021213769913, 0.03725089877843857, -0.25464576482772827, -0.046313825994729996, -0.3141372799873352, -0.1607048511505127, -0.11148449778556824, 0.2911950349807739, -0.22565867006778717, 0.12985286116600037, 0.05053095892071724, 0.06802581250667572, -0.02540944144129753, 0.15566007792949677, 0.22923578321933746, -0.450125515460968, -0.25877484679222107, 0.05955374613404274, -0.04702717810869217, 0.13640627264976501, -0.06165340915322304, 0.0007348940707743168, -0.1980227380990982, 0.009874166920781136, -0.22957538068294525, 0.002671106019988656, -0.12375559657812119, -0.011143133975565434, 0.030552970245480537, 0.2278883159160614, 0.1056942343711853, -0.05033764988183975, 0.27560991048812866, 0.1598467081785202, 0.08314822614192963, -0.2654819190502167, -0.0977926105260849, -0.050365839153528214, -0.13309191167354584, -0.18070870637893677, 0.0796678438782692, 0.1191696971654892, -0.22351336479187012, 0.2270161509513855, 0.44358453154563904, 0.08752572536468506, -0.14373473823070526, 0.14189842343330383, 0.06938665360212326, 0.07900667935609818, -0.3324440121650696, 0.4606004059314728, 0.19425925612449646, 0.08945227414369583, -0.019481996074318886, -0.26406869292259216, 0.1362655907869339, -0.11706323176622391, 0.08268241584300995, -0.28426966071128845, 0.00036157737486064434, -0.3651089668273926, 0.25495997071266174, -0.04276135191321373, 0.11899390816688538, -0.16331423819065094, -0.09212132543325424, 0.022273017093539238, -0.24948522448539734, -0.12769563496112823, -0.08144692331552505, -0.09143933653831482, -0.115382619202137, -0.1207449808716774, -0.016240322962403297, -0.5046858787536621, 0.3684030771255493, -0.18765871226787567, 0.013074410147964954, 0.0662211999297142, 0.43137046694755554, -0.017066873610019684, 0.028143083676695824, -0.35084268450737, -0.014600813388824463, 0.10058968514204025, -0.07976171374320984, -0.6476002931594849, 0.3425687551498413, 0.09015735983848572, -0.18332691490650177, 0.27280187606811523, 0.22961238026618958, 0.0888427346944809, -0.013466537930071354, -0.1360415667295456, 0.27110984921455383, 0.08933386206626892, 0.16912789642810822, -0.25827351212501526, -0.27740955352783203, -0.22868335247039795, 0.18568019568920135, -0.08832289278507233, -0.18844714760780334, 0.33177801966667175, -0.050390567630529404, 0.2828305959701538, -0.2695133686065674, 0.14457494020462036, 0.30998730659484863, 0.2622441053390503, -0.28098589181900024, -0.0038223667070269585, -0.13262172043323517, -0.49561986327171326, -0.06324604898691177, 0.031038697808980942, -0.36786240339279175, 0.05122679844498634, -0.1312621384859085, -0.14364269375801086, -0.26962295174598694, -0.00850143376737833, 0.1968611776828766, 0.23467405140399933, 0.1040249615907669, 0.08833132684230804, -0.03822170943021774, 0.17188596725463867, -0.2610481381416321, 0.19061583280563354, -0.3405485153198242, -0.3999067544937134, 0.15931151807308197, -0.0673116073012352, -0.18379463255405426, 0.24216701090335846, -0.0023076978977769613, -0.047684118151664734, -0.2966128885746002, 0.03822195529937744, -0.010857980698347092, 0.11179225146770477, -0.007141865324229002, 0.16566479206085205, 0.4294593632221222, -0.009028222411870956, 0.10420048236846924, 0.4140216112136841, -0.09455718845129013, 0.14923720061779022, 0.09906788915395737, -0.22709333896636963, 0.18537580966949463, -0.23159395158290863, -0.1068526953458786, 0.07860534638166428, -0.1514328122138977, 0.41937392950057983, -0.008794549852609634, 0.3377600312232971, -0.49297237396240234, -0.02337612956762314, 0.07372922450304031, 0.14987578988075256, 0.07207135111093521, 0.19575293362140656, 0.11994033306837082, 0.5793231129646301, -0.1428750902414322, 0.23464806377887726, 0.17763368785381317, 0.09922445565462112, -0.07147584855556488, 0.051740631461143494, 0.4698048233985901, 0.18773949146270752, 0.43968239426612854, 0.05199522152543068, -0.06768593937158585, 0.3061405122280121, -0.1778700053691864, 0.0920768529176712, -0.010556207038462162, 0.2919071912765503, 0.44647133350372314, 0.13293153047561646, -0.33586591482162476, -0.3294259309768677, -0.3004111051559448, 0.2342192679643631, 0.21642042696475983, -0.05935308337211609, 0.026130616664886475, -0.1535233110189438, -0.30464789271354675, -0.12841136753559113, 0.09838929027318954, -0.0755528062582016, 0.041348494589328766, -0.15046942234039307, -0.009297516196966171, -0.18419668078422546, -0.07052388787269592, 0.3434937000274658, 0.09512343257665634, 0.3912658989429474, 0.16561169922351837, 0.19884809851646423, 0.14973869919776917, 0.08250194042921066, 0.22823326289653778, 0.2516961097717285, -0.0058485777117311954, 0.2602538764476776, -0.2473946362733841, 0.31101280450820923, -0.24789556860923767, 0.04208013787865639, 0.03931090980768204, 0.28888216614723206, 0.2210560142993927, 0.11368605494499207, 0.1833987832069397, -0.14554741978645325, -0.03832485154271126, -0.06293067336082458, -0.16433238983154297, -0.23903127014636993, 0.1270926296710968, -0.028519507497549057, -0.13382813334465027, -0.17841161787509918, -0.11331503093242645, -0.2182006686925888, -0.32354822754859924, 0.1827896386384964, 0.05668868124485016, 0.2686908543109894, 0.1534121334552765, 0.20361270010471344, 0.14810016751289368, 0.04410131275653839, 0.1806458830833435, -0.2049357146024704, -0.3045889735221863, 0.1547214537858963, -0.033572133630514145, -0.2665097415447235, 0.02195291593670845, -0.11256413906812668, 0.2236177623271942, 0.1281520575284958, -0.44524574279785156, -0.23968257009983063, -0.28699547052383423, -0.095740906894207, -0.23522140085697174, 0.04011904448270798, 0.17791347205638885, -0.1825028508901596, -0.2072678804397583, 0.051720380783081055, -0.08312807977199554, 0.012937070801854134, 0.2929430603981018, 0.052082501351833344, -0.217071533203125, 0.3628605008125305, 0.19752338528633118, 0.19196707010269165, 0.005201993975788355, -0.08325713127851486, 0.2833710312843323, 0.1112896129488945, 0.32329750061035156, -0.08920171856880188, -0.04806215688586235, 0.16635966300964355, 0.0774606391787529, -0.08016123622655869, 0.059601351618766785, -0.13293853402137756, -0.17373570799827576, 0.285042941570282, -0.10404304414987564, -0.057858385145664215, 0.03136412426829338, 0.2135307341814041, 0.14850330352783203, -0.05048619210720062, -0.05674852430820465, -0.1313919574022293, -0.14776688814163208, -0.1855701357126236, -0.09337331354618073, 0.004766202997416258, -0.019934676587581635, 0.023248819634318352, -0.2192552536725998, -0.24835991859436035, -0.1409575194120407, 0.21962887048721313, 0.08443861454725266, 0.2750367224216461, -0.16167908906936646, 0.08977293968200684, 0.12079092115163803, -0.06289102137088776, 1.0360971689224243, 0.03313542157411575, 0.33843570947647095, 0.010296378284692764, -0.02915637195110321, -0.35364672541618347, 0.02999940514564514, -0.3425895571708679, -0.06705474108457565, 0.16876359283924103, 0.4953954517841339, 0.06749463081359863, 0.1175890788435936, -0.09008508920669556, 0.27289092540740967, -0.16397899389266968, -0.09989460557699203, -0.28686264157295227, -0.15806905925273895, -0.2705816924571991, -0.1356566697359085, 0.017781414091587067, -0.01719864271581173, 0.20270271599292755, -0.37407803535461426, -0.07555363327264786, -0.36671435832977295, -0.1295057237148285, 0.1469457894563675, 0.4723215401172638, 0.17708081007003784, 0.017906635999679565, -0.1916498988866806, 0.34221693873405457, 0.3138890266418457, 0.07821247726678848, 0.0968514233827591, 0.49068617820739746, 0.25754523277282715, -0.36677202582359314, 0.19393940269947052, 0.06911905109882355, 0.08595786243677139, -0.14569857716560364, -0.1390181928873062, 0.336442768573761, -0.28530609607696533, 0.10398628562688828, 0.02611379511654377, -0.07416242361068726, 0.053029052913188934, -0.03167591616511345, 0.05912597104907036, -0.12991642951965332, 0.06882964074611664, -0.15875034034252167, 0.00890044029802084, 0.04412655159831047, 0.10414537042379379, 0.16523377597332, 0.4378596842288971, -0.07567109912633896, 0.23626816272735596, 0.0513116791844368, -0.11916203051805496, -0.25388047099113464, -0.06516849249601364, 0.059499334543943405, -0.16107702255249023, -0.38688018918037415, 0.083431176841259, -0.06621468812227249, 0.12360425293445587, 0.29877912998199463, -0.11661513149738312, 0.09186526387929916, 0.39251571893692017, -0.20161738991737366, -0.30994898080825806, 0.284399151802063, 0.013222403824329376, -0.06680852919816971, -0.36125892400741577, 0.16840048134326935, -0.20704339444637299, -0.38700777292251587, -0.1281486302614212, -0.09539745002985, 0.03091340884566307, 0.14942029118537903, 0.21129581332206726, -0.1175723448395729, -0.004100151360034943, 0.3778766989707947, -0.21064068377017975, -0.3179495632648468, -0.0858226865530014, 0.08331576734781265, -0.4311671555042267, 0.26188820600509644, -0.10625480860471725, 0.017844680696725845, 0.06425844132900238, -0.028540512546896935, -0.11775059998035431, -0.024389801546931267, -0.10572506487369537, -0.1420397311449051, -0.08380845934152603, -0.14289167523384094, 0.23947355151176453, -0.11057822406291962, 0.07403258979320526, 0.21177613735198975, -0.07099497318267822, -0.21688233315944672, -0.3088914752006531, -0.4183988869190216, -0.2672419548034668, 0.08681602030992508, 0.23574455082416534, 0.06466040015220642, -0.10420437902212143, 0.42645037174224854, 0.26094990968704224, -0.31589508056640625, -0.21800149977207184, 0.41025787591934204, 0.0882461741566658, 0.27095577120780945, 0.24679234623908997, -0.18669849634170532, -0.12521892786026, -0.3496646583080292, 0.4015355706214905, -0.06183815374970436, -0.0896967202425003, 0.07633005082607269, -0.03837433457374573, -0.15626852214336395, 0.006760984193533659, -0.4389948844909668, 0.29212042689323425, 0.08972809463739395, -0.2779044210910797, -0.25829920172691345, -0.31809094548225403, -0.004685357213020325, -0.024974802508950233, 0.1278335154056549, 0.22142885625362396, -0.29194438457489014, -0.10002279281616211, 0.14181935787200928, -0.38615351915359497, 0.3262507915496826, -0.087774857878685, 0.09584464132785797, -0.3878037631511688, -0.35209622979164124, -0.09026135504245758, -0.1961420327425003, 0.10944124311208725, -0.17186897993087769, -0.2905910015106201, -0.37087559700012207, 0.2080005556344986, -0.011206798255443573, -0.11341490596532822, -0.05533543974161148, 0.14162476360797882, -0.2030090093612671, -0.3735940754413605, -0.1132817491889, 0.10061758011579514, -0.15295758843421936, 0.08319656550884247, 0.1084776520729065, 0.04021081700921059, -0.34459322690963745, 0.248006209731102, -0.1342584639787674, -0.006193375214934349, -0.05842302367091179, 0.011401908472180367, 0.09219535440206528, -0.054063357412815094, -0.06894028931856155, -0.12022368609905243, 0.14071491360664368, -0.0528104193508625, -0.10153727978467941, 0.2034790813922882, -0.057217638939619064, -0.07075521349906921, 0.4689769446849823, 0.4083784520626068, 0.03432167321443558, -0.24908122420310974, -0.20169979333877563, 0.06692132353782654, 0.35962316393852234, -0.13085506856441498, -0.4421582818031311, 0.20506589114665985, 0.02440941520035267, 0.20050515234470367, 0.25417035818099976, 0.24243035912513733, -0.23070088028907776, -0.06952746212482452, 0.1828034520149231, 0.4166067838668823, -0.008587406948208809, -0.20462195575237274, 0.328527569770813, -0.0552353635430336, -0.1230836883187294, 0.18762154877185822, 0.37456193566322327, 0.4323230981826782, 1.0719358921051025, 0.08900588750839233, 0.1401316523551941, 0.21856491267681122, 0.077707938849926, -0.32115474343299866, -0.3553757965564728, 0.05100619047880173, 0.3628831207752228, 0.035670019686222076, 0.2242438942193985, 0.14787329733371735, -0.2952662408351898, 0.02977006882429123, -0.342098593711853, -0.40104982256889343, -0.16631869971752167, -0.3352973461151123, 0.2478891760110855, 0.30723121762275696, -0.026919106021523476, 0.0956130176782608, 0.2593352198600769, -0.28477367758750916, -0.06126648932695389, 0.04579821228981018, -0.09387244284152985, -0.10103879868984222, 0.17033171653747559, 0.45739132165908813, 0.12805746495723724, -0.04090007394552231, -0.20381374657154083, 0.27677491307258606, 0.307582825422287, 0.07707725465297699, -0.04841490089893341, 0.010833879932761192, 0.30427995324134827, 0.08519457280635834, 0.1693340390920639, 0.06266075372695923, 0.022612804546952248, -0.2182355374097824, -0.38886773586273193, -0.10188344120979309, 0.07550813257694244, 0.3824693560600281, 0.24293391406536102, 0.23150230944156647, -0.19771520793437958, -0.06004224345088005, 0.24173933267593384, -0.03362280875444412, -0.12138697504997253, -0.20363765954971313, -0.2956176698207855, -0.21466021239757538, -0.1302288919687271, -0.12782655656337738, -0.6295871734619141, -0.2674054205417633, 0.21846641600131989, -0.383011132478714, 0.30040866136550903, 0.10717093199491501, 0.15843571722507477, -0.47880256175994873, 0.6124034523963928, 0.047624122351408005, -0.07473176717758179, -0.04119953513145447, -0.02767183631658554, -0.38464781641960144, 0.046289049088954926, -0.03265941143035889, 0.025522129610180855, 0.10393363237380981, 0.3317469358444214, 0.023287659510970116, -0.08748502284288406, 0.15033240616321564, 0.29172205924987793, -0.0932367816567421, -0.10178421437740326, -0.42950183153152466, -0.04156789928674698, 0.07388798147439957, 0.042097851634025574, 0.05570313334465027, -0.3171684145927429, 0.36398476362228394, 0.07263409346342087, 0.17752224206924438, 0.16282334923744202, 0.201152503490448, -0.29316380620002747, 0.48449650406837463, 0.03535031899809837, -0.07750241458415985, 0.22754275798797607, -0.24051032960414886, 0.08255881071090698, 0.06303224712610245, 0.13377130031585693, 0.05741121619939804, 0.36099115014076233, 0.3650144636631012, 0.23837648332118988, -0.16847990453243256, 0.18672676384449005, 0.244968980550766, 0.375410795211792, 0.02678600326180458, 0.2890009582042694, 0.10195120424032211, 0.15273532271385193, -0.05496496707201004, -0.08690470457077026, 0.05756211653351784, 0.00373555114492774, 0.014267869293689728, -0.15155747532844543, 0.06203191354870796, -0.0992165133357048, 0.3110025227069855, 0.2854669392108917, -0.20489883422851562, 0.0500410795211792, 0.10930769145488739, -0.08094149082899094, -0.11947271972894669, -0.18391403555870056, 0.1738395243883133, 0.22049567103385925, 0.021313929930329323, -0.016924289986491203, 0.4494015574455261, -0.44229790568351746, -0.21874311566352844, 0.08898729085922241, 0.705487847328186, 0.1837768405675888, -0.4509845972061157, -0.02065773494541645, 0.0046380930580198765 ]
https://github.com/huggingface/datasets/issues/2146
Dataset file size on disk is very large with 3D Array
Yeah for sure, can you be a bit more specific about where the offset is stored in the code base ? And any reference to pyarrow issues if you have some. I would be very interested in contributing to `datasets` by trying to fix this issue.
Hi, I have created my own dataset using the provided dataset loading script. It is an image dataset where images are stored as 3D Array with dtype=uint8. The actual size on disk is surprisingly large. It takes 520 MB. Here is some info from `dataset_info.json`. `{ "description": "", "citation": "", "homepage": "", "license": "", "features": { "image": { "shape": [224, 224, 3], "dtype": "uint8", "id": null, "_type": "Array3D", } }, "post_processed": null, "supervised_keys": null, "builder_name": "shot_type_image_dataset", "config_name": "default", "version": { "version_str": "0.0.0", "description": null, "major": 0, "minor": 0, "patch": 0, }, "splits": { "train": { "name": "train", "num_bytes": 520803408, "num_examples": 1479, "dataset_name": "shot_type_image_dataset", } }, "download_checksums": { "": { "num_bytes": 16940447118, "checksum": "5854035705efe08b0ed8f3cf3da7b4d29cba9055c2d2d702c79785350d72ee03", } }, "download_size": 16940447118, "post_processing_size": null, "dataset_size": 520803408, "size_in_bytes": 17461250526, }` I have created the same dataset with tensorflow_dataset and it takes only 125MB on disk. I am wondering, is it normal behavior ? I understand `Datasets` uses Arrow for serialization wheres tf uses TF Records. This might be a problem for large dataset. Thanks for your help.
46
Dataset file size on disk is very large with 3D Array
[ -0.30969154834747314, -0.26155519485473633, -0.300947368144989, 0.3339998424053192, 0.15253198146820068, 0.10520775616168976, 0.23678866028785706, 0.28482383489608765, 0.03541994094848633, 0.316911518573761, -0.15202835202217102, 0.05686163902282715, -0.18953640758991241, 0.4509965777397156, -0.018239445984363556, 0.030143750831484795, 0.0007481902721337974, 0.3227694034576416, -0.21703778207302094, -0.07729223370552063, 0.006408787332475185, 0.16818808019161224, 0.006385094486176968, -0.24776150286197662, -0.09089257568120956, -0.4154113829135895, 0.03764241933822632, 0.17858687043190002, -0.20923690497875214, -0.036062974482774734, -0.085969477891922, -0.08480885624885559, -0.019399624317884445, 0.21204082667827606, -0.00010276842658640817, -0.146839439868927, -0.05743468180298805, -0.13731203973293304, 0.09467911720275879, 0.5956470370292664, 0.011510392650961876, -0.40312841534614563, -0.19317488372325897, -0.3667956590652466, 0.16207529604434967, -0.24089300632476807, -0.3464867174625397, -0.059074562042951584, 0.18419644236564636, 0.06474296748638153, 0.3272935152053833, -0.06895079463720322, 0.07620184868574142, 0.12877804040908813, 0.24297383427619934, 0.19627128541469574, -0.0024643689393997192, 0.041673339903354645, 0.21401245892047882, 0.26041290163993835, -0.19038037955760956, 0.2984190285205841, 0.08133301883935928, 0.2774949073791504, 0.24198825657367706, -0.1570611149072647, 0.29508623480796814, 0.12537936866283417, 0.1730007529258728, 0.18522010743618011, 0.6623428463935852, -0.21243639290332794, -0.03896814212203026, -0.17457787692546844, -0.03892633691430092, -0.030941829085350037, -0.039443179965019226, 0.2731590270996094, -0.0911828801035881, -0.06890600174665451, -0.45297008752822876, -0.08583500981330872, -0.37788787484169006, 0.07750479131937027, -0.1246166005730629, -0.20936010777950287, -0.1745615452528, -0.12671439349651337, 0.19110415875911713, -0.24273265898227692, 0.2633930742740631, 0.08137021213769913, 0.03725089877843857, -0.25464576482772827, -0.046313825994729996, -0.3141372799873352, -0.1607048511505127, -0.11148449778556824, 0.2911950349807739, -0.22565867006778717, 0.12985286116600037, 0.05053095892071724, 0.06802581250667572, -0.02540944144129753, 0.15566007792949677, 0.22923578321933746, -0.450125515460968, -0.25877484679222107, 0.05955374613404274, -0.04702717810869217, 0.13640627264976501, -0.06165340915322304, 0.0007348940707743168, -0.1980227380990982, 0.009874166920781136, -0.22957538068294525, 0.002671106019988656, -0.12375559657812119, -0.011143133975565434, 0.030552970245480537, 0.2278883159160614, 0.1056942343711853, -0.05033764988183975, 0.27560991048812866, 0.1598467081785202, 0.08314822614192963, -0.2654819190502167, -0.0977926105260849, -0.050365839153528214, -0.13309191167354584, -0.18070870637893677, 0.0796678438782692, 0.1191696971654892, -0.22351336479187012, 0.2270161509513855, 0.44358453154563904, 0.08752572536468506, -0.14373473823070526, 0.14189842343330383, 0.06938665360212326, 0.07900667935609818, -0.3324440121650696, 0.4606004059314728, 0.19425925612449646, 0.08945227414369583, -0.019481996074318886, -0.26406869292259216, 0.1362655907869339, -0.11706323176622391, 0.08268241584300995, -0.28426966071128845, 0.00036157737486064434, -0.3651089668273926, 0.25495997071266174, -0.04276135191321373, 0.11899390816688538, -0.16331423819065094, -0.09212132543325424, 0.022273017093539238, -0.24948522448539734, -0.12769563496112823, -0.08144692331552505, -0.09143933653831482, -0.115382619202137, -0.1207449808716774, -0.016240322962403297, -0.5046858787536621, 0.3684030771255493, -0.18765871226787567, 0.013074410147964954, 0.0662211999297142, 0.43137046694755554, -0.017066873610019684, 0.028143083676695824, -0.35084268450737, -0.014600813388824463, 0.10058968514204025, -0.07976171374320984, -0.6476002931594849, 0.3425687551498413, 0.09015735983848572, -0.18332691490650177, 0.27280187606811523, 0.22961238026618958, 0.0888427346944809, -0.013466537930071354, -0.1360415667295456, 0.27110984921455383, 0.08933386206626892, 0.16912789642810822, -0.25827351212501526, -0.27740955352783203, -0.22868335247039795, 0.18568019568920135, -0.08832289278507233, -0.18844714760780334, 0.33177801966667175, -0.050390567630529404, 0.2828305959701538, -0.2695133686065674, 0.14457494020462036, 0.30998730659484863, 0.2622441053390503, -0.28098589181900024, -0.0038223667070269585, -0.13262172043323517, -0.49561986327171326, -0.06324604898691177, 0.031038697808980942, -0.36786240339279175, 0.05122679844498634, -0.1312621384859085, -0.14364269375801086, -0.26962295174598694, -0.00850143376737833, 0.1968611776828766, 0.23467405140399933, 0.1040249615907669, 0.08833132684230804, -0.03822170943021774, 0.17188596725463867, -0.2610481381416321, 0.19061583280563354, -0.3405485153198242, -0.3999067544937134, 0.15931151807308197, -0.0673116073012352, -0.18379463255405426, 0.24216701090335846, -0.0023076978977769613, -0.047684118151664734, -0.2966128885746002, 0.03822195529937744, -0.010857980698347092, 0.11179225146770477, -0.007141865324229002, 0.16566479206085205, 0.4294593632221222, -0.009028222411870956, 0.10420048236846924, 0.4140216112136841, -0.09455718845129013, 0.14923720061779022, 0.09906788915395737, -0.22709333896636963, 0.18537580966949463, -0.23159395158290863, -0.1068526953458786, 0.07860534638166428, -0.1514328122138977, 0.41937392950057983, -0.008794549852609634, 0.3377600312232971, -0.49297237396240234, -0.02337612956762314, 0.07372922450304031, 0.14987578988075256, 0.07207135111093521, 0.19575293362140656, 0.11994033306837082, 0.5793231129646301, -0.1428750902414322, 0.23464806377887726, 0.17763368785381317, 0.09922445565462112, -0.07147584855556488, 0.051740631461143494, 0.4698048233985901, 0.18773949146270752, 0.43968239426612854, 0.05199522152543068, -0.06768593937158585, 0.3061405122280121, -0.1778700053691864, 0.0920768529176712, -0.010556207038462162, 0.2919071912765503, 0.44647133350372314, 0.13293153047561646, -0.33586591482162476, -0.3294259309768677, -0.3004111051559448, 0.2342192679643631, 0.21642042696475983, -0.05935308337211609, 0.026130616664886475, -0.1535233110189438, -0.30464789271354675, -0.12841136753559113, 0.09838929027318954, -0.0755528062582016, 0.041348494589328766, -0.15046942234039307, -0.009297516196966171, -0.18419668078422546, -0.07052388787269592, 0.3434937000274658, 0.09512343257665634, 0.3912658989429474, 0.16561169922351837, 0.19884809851646423, 0.14973869919776917, 0.08250194042921066, 0.22823326289653778, 0.2516961097717285, -0.0058485777117311954, 0.2602538764476776, -0.2473946362733841, 0.31101280450820923, -0.24789556860923767, 0.04208013787865639, 0.03931090980768204, 0.28888216614723206, 0.2210560142993927, 0.11368605494499207, 0.1833987832069397, -0.14554741978645325, -0.03832485154271126, -0.06293067336082458, -0.16433238983154297, -0.23903127014636993, 0.1270926296710968, -0.028519507497549057, -0.13382813334465027, -0.17841161787509918, -0.11331503093242645, -0.2182006686925888, -0.32354822754859924, 0.1827896386384964, 0.05668868124485016, 0.2686908543109894, 0.1534121334552765, 0.20361270010471344, 0.14810016751289368, 0.04410131275653839, 0.1806458830833435, -0.2049357146024704, -0.3045889735221863, 0.1547214537858963, -0.033572133630514145, -0.2665097415447235, 0.02195291593670845, -0.11256413906812668, 0.2236177623271942, 0.1281520575284958, -0.44524574279785156, -0.23968257009983063, -0.28699547052383423, -0.095740906894207, -0.23522140085697174, 0.04011904448270798, 0.17791347205638885, -0.1825028508901596, -0.2072678804397583, 0.051720380783081055, -0.08312807977199554, 0.012937070801854134, 0.2929430603981018, 0.052082501351833344, -0.217071533203125, 0.3628605008125305, 0.19752338528633118, 0.19196707010269165, 0.005201993975788355, -0.08325713127851486, 0.2833710312843323, 0.1112896129488945, 0.32329750061035156, -0.08920171856880188, -0.04806215688586235, 0.16635966300964355, 0.0774606391787529, -0.08016123622655869, 0.059601351618766785, -0.13293853402137756, -0.17373570799827576, 0.285042941570282, -0.10404304414987564, -0.057858385145664215, 0.03136412426829338, 0.2135307341814041, 0.14850330352783203, -0.05048619210720062, -0.05674852430820465, -0.1313919574022293, -0.14776688814163208, -0.1855701357126236, -0.09337331354618073, 0.004766202997416258, -0.019934676587581635, 0.023248819634318352, -0.2192552536725998, -0.24835991859436035, -0.1409575194120407, 0.21962887048721313, 0.08443861454725266, 0.2750367224216461, -0.16167908906936646, 0.08977293968200684, 0.12079092115163803, -0.06289102137088776, 1.0360971689224243, 0.03313542157411575, 0.33843570947647095, 0.010296378284692764, -0.02915637195110321, -0.35364672541618347, 0.02999940514564514, -0.3425895571708679, -0.06705474108457565, 0.16876359283924103, 0.4953954517841339, 0.06749463081359863, 0.1175890788435936, -0.09008508920669556, 0.27289092540740967, -0.16397899389266968, -0.09989460557699203, -0.28686264157295227, -0.15806905925273895, -0.2705816924571991, -0.1356566697359085, 0.017781414091587067, -0.01719864271581173, 0.20270271599292755, -0.37407803535461426, -0.07555363327264786, -0.36671435832977295, -0.1295057237148285, 0.1469457894563675, 0.4723215401172638, 0.17708081007003784, 0.017906635999679565, -0.1916498988866806, 0.34221693873405457, 0.3138890266418457, 0.07821247726678848, 0.0968514233827591, 0.49068617820739746, 0.25754523277282715, -0.36677202582359314, 0.19393940269947052, 0.06911905109882355, 0.08595786243677139, -0.14569857716560364, -0.1390181928873062, 0.336442768573761, -0.28530609607696533, 0.10398628562688828, 0.02611379511654377, -0.07416242361068726, 0.053029052913188934, -0.03167591616511345, 0.05912597104907036, -0.12991642951965332, 0.06882964074611664, -0.15875034034252167, 0.00890044029802084, 0.04412655159831047, 0.10414537042379379, 0.16523377597332, 0.4378596842288971, -0.07567109912633896, 0.23626816272735596, 0.0513116791844368, -0.11916203051805496, -0.25388047099113464, -0.06516849249601364, 0.059499334543943405, -0.16107702255249023, -0.38688018918037415, 0.083431176841259, -0.06621468812227249, 0.12360425293445587, 0.29877912998199463, -0.11661513149738312, 0.09186526387929916, 0.39251571893692017, -0.20161738991737366, -0.30994898080825806, 0.284399151802063, 0.013222403824329376, -0.06680852919816971, -0.36125892400741577, 0.16840048134326935, -0.20704339444637299, -0.38700777292251587, -0.1281486302614212, -0.09539745002985, 0.03091340884566307, 0.14942029118537903, 0.21129581332206726, -0.1175723448395729, -0.004100151360034943, 0.3778766989707947, -0.21064068377017975, -0.3179495632648468, -0.0858226865530014, 0.08331576734781265, -0.4311671555042267, 0.26188820600509644, -0.10625480860471725, 0.017844680696725845, 0.06425844132900238, -0.028540512546896935, -0.11775059998035431, -0.024389801546931267, -0.10572506487369537, -0.1420397311449051, -0.08380845934152603, -0.14289167523384094, 0.23947355151176453, -0.11057822406291962, 0.07403258979320526, 0.21177613735198975, -0.07099497318267822, -0.21688233315944672, -0.3088914752006531, -0.4183988869190216, -0.2672419548034668, 0.08681602030992508, 0.23574455082416534, 0.06466040015220642, -0.10420437902212143, 0.42645037174224854, 0.26094990968704224, -0.31589508056640625, -0.21800149977207184, 0.41025787591934204, 0.0882461741566658, 0.27095577120780945, 0.24679234623908997, -0.18669849634170532, -0.12521892786026, -0.3496646583080292, 0.4015355706214905, -0.06183815374970436, -0.0896967202425003, 0.07633005082607269, -0.03837433457374573, -0.15626852214336395, 0.006760984193533659, -0.4389948844909668, 0.29212042689323425, 0.08972809463739395, -0.2779044210910797, -0.25829920172691345, -0.31809094548225403, -0.004685357213020325, -0.024974802508950233, 0.1278335154056549, 0.22142885625362396, -0.29194438457489014, -0.10002279281616211, 0.14181935787200928, -0.38615351915359497, 0.3262507915496826, -0.087774857878685, 0.09584464132785797, -0.3878037631511688, -0.35209622979164124, -0.09026135504245758, -0.1961420327425003, 0.10944124311208725, -0.17186897993087769, -0.2905910015106201, -0.37087559700012207, 0.2080005556344986, -0.011206798255443573, -0.11341490596532822, -0.05533543974161148, 0.14162476360797882, -0.2030090093612671, -0.3735940754413605, -0.1132817491889, 0.10061758011579514, -0.15295758843421936, 0.08319656550884247, 0.1084776520729065, 0.04021081700921059, -0.34459322690963745, 0.248006209731102, -0.1342584639787674, -0.006193375214934349, -0.05842302367091179, 0.011401908472180367, 0.09219535440206528, -0.054063357412815094, -0.06894028931856155, -0.12022368609905243, 0.14071491360664368, -0.0528104193508625, -0.10153727978467941, 0.2034790813922882, -0.057217638939619064, -0.07075521349906921, 0.4689769446849823, 0.4083784520626068, 0.03432167321443558, -0.24908122420310974, -0.20169979333877563, 0.06692132353782654, 0.35962316393852234, -0.13085506856441498, -0.4421582818031311, 0.20506589114665985, 0.02440941520035267, 0.20050515234470367, 0.25417035818099976, 0.24243035912513733, -0.23070088028907776, -0.06952746212482452, 0.1828034520149231, 0.4166067838668823, -0.008587406948208809, -0.20462195575237274, 0.328527569770813, -0.0552353635430336, -0.1230836883187294, 0.18762154877185822, 0.37456193566322327, 0.4323230981826782, 1.0719358921051025, 0.08900588750839233, 0.1401316523551941, 0.21856491267681122, 0.077707938849926, -0.32115474343299866, -0.3553757965564728, 0.05100619047880173, 0.3628831207752228, 0.035670019686222076, 0.2242438942193985, 0.14787329733371735, -0.2952662408351898, 0.02977006882429123, -0.342098593711853, -0.40104982256889343, -0.16631869971752167, -0.3352973461151123, 0.2478891760110855, 0.30723121762275696, -0.026919106021523476, 0.0956130176782608, 0.2593352198600769, -0.28477367758750916, -0.06126648932695389, 0.04579821228981018, -0.09387244284152985, -0.10103879868984222, 0.17033171653747559, 0.45739132165908813, 0.12805746495723724, -0.04090007394552231, -0.20381374657154083, 0.27677491307258606, 0.307582825422287, 0.07707725465297699, -0.04841490089893341, 0.010833879932761192, 0.30427995324134827, 0.08519457280635834, 0.1693340390920639, 0.06266075372695923, 0.022612804546952248, -0.2182355374097824, -0.38886773586273193, -0.10188344120979309, 0.07550813257694244, 0.3824693560600281, 0.24293391406536102, 0.23150230944156647, -0.19771520793437958, -0.06004224345088005, 0.24173933267593384, -0.03362280875444412, -0.12138697504997253, -0.20363765954971313, -0.2956176698207855, -0.21466021239757538, -0.1302288919687271, -0.12782655656337738, -0.6295871734619141, -0.2674054205417633, 0.21846641600131989, -0.383011132478714, 0.30040866136550903, 0.10717093199491501, 0.15843571722507477, -0.47880256175994873, 0.6124034523963928, 0.047624122351408005, -0.07473176717758179, -0.04119953513145447, -0.02767183631658554, -0.38464781641960144, 0.046289049088954926, -0.03265941143035889, 0.025522129610180855, 0.10393363237380981, 0.3317469358444214, 0.023287659510970116, -0.08748502284288406, 0.15033240616321564, 0.29172205924987793, -0.0932367816567421, -0.10178421437740326, -0.42950183153152466, -0.04156789928674698, 0.07388798147439957, 0.042097851634025574, 0.05570313334465027, -0.3171684145927429, 0.36398476362228394, 0.07263409346342087, 0.17752224206924438, 0.16282334923744202, 0.201152503490448, -0.29316380620002747, 0.48449650406837463, 0.03535031899809837, -0.07750241458415985, 0.22754275798797607, -0.24051032960414886, 0.08255881071090698, 0.06303224712610245, 0.13377130031585693, 0.05741121619939804, 0.36099115014076233, 0.3650144636631012, 0.23837648332118988, -0.16847990453243256, 0.18672676384449005, 0.244968980550766, 0.375410795211792, 0.02678600326180458, 0.2890009582042694, 0.10195120424032211, 0.15273532271385193, -0.05496496707201004, -0.08690470457077026, 0.05756211653351784, 0.00373555114492774, 0.014267869293689728, -0.15155747532844543, 0.06203191354870796, -0.0992165133357048, 0.3110025227069855, 0.2854669392108917, -0.20489883422851562, 0.0500410795211792, 0.10930769145488739, -0.08094149082899094, -0.11947271972894669, -0.18391403555870056, 0.1738395243883133, 0.22049567103385925, 0.021313929930329323, -0.016924289986491203, 0.4494015574455261, -0.44229790568351746, -0.21874311566352844, 0.08898729085922241, 0.705487847328186, 0.1837768405675888, -0.4509845972061157, -0.02065773494541645, 0.0046380930580198765 ]
https://github.com/huggingface/datasets/issues/2146
Dataset file size on disk is very large with 3D Array
Pyarrow has two types of lists: variable length lists and fixed size lists. Currently we store the ArrayXD data as variable length lists. They take more disk space because they must store both actual data and offsets. In the `datasets` code this is done here: https://github.com/huggingface/nlp/blob/dbac87c8a083f806467f5afc4ec9b401a7e4c15c/src/datasets/features.py#L346-L352 To use a fixed length list, one should use the `list_size` argument of `pyarrow.list_()`. I believe this would work directly modulo some changes in the numpy conversion here: https://github.com/huggingface/nlp/blob/dbac87c8a083f806467f5afc4ec9b401a7e4c15c/src/datasets/features.py#L381-L395
Hi, I have created my own dataset using the provided dataset loading script. It is an image dataset where images are stored as 3D Array with dtype=uint8. The actual size on disk is surprisingly large. It takes 520 MB. Here is some info from `dataset_info.json`. `{ "description": "", "citation": "", "homepage": "", "license": "", "features": { "image": { "shape": [224, 224, 3], "dtype": "uint8", "id": null, "_type": "Array3D", } }, "post_processed": null, "supervised_keys": null, "builder_name": "shot_type_image_dataset", "config_name": "default", "version": { "version_str": "0.0.0", "description": null, "major": 0, "minor": 0, "patch": 0, }, "splits": { "train": { "name": "train", "num_bytes": 520803408, "num_examples": 1479, "dataset_name": "shot_type_image_dataset", } }, "download_checksums": { "": { "num_bytes": 16940447118, "checksum": "5854035705efe08b0ed8f3cf3da7b4d29cba9055c2d2d702c79785350d72ee03", } }, "download_size": 16940447118, "post_processing_size": null, "dataset_size": 520803408, "size_in_bytes": 17461250526, }` I have created the same dataset with tensorflow_dataset and it takes only 125MB on disk. I am wondering, is it normal behavior ? I understand `Datasets` uses Arrow for serialization wheres tf uses TF Records. This might be a problem for large dataset. Thanks for your help.
75
Dataset file size on disk is very large with 3D Array
[ -0.30969154834747314, -0.26155519485473633, -0.300947368144989, 0.3339998424053192, 0.15253198146820068, 0.10520775616168976, 0.23678866028785706, 0.28482383489608765, 0.03541994094848633, 0.316911518573761, -0.15202835202217102, 0.05686163902282715, -0.18953640758991241, 0.4509965777397156, -0.018239445984363556, 0.030143750831484795, 0.0007481902721337974, 0.3227694034576416, -0.21703778207302094, -0.07729223370552063, 0.006408787332475185, 0.16818808019161224, 0.006385094486176968, -0.24776150286197662, -0.09089257568120956, -0.4154113829135895, 0.03764241933822632, 0.17858687043190002, -0.20923690497875214, -0.036062974482774734, -0.085969477891922, -0.08480885624885559, -0.019399624317884445, 0.21204082667827606, -0.00010276842658640817, -0.146839439868927, -0.05743468180298805, -0.13731203973293304, 0.09467911720275879, 0.5956470370292664, 0.011510392650961876, -0.40312841534614563, -0.19317488372325897, -0.3667956590652466, 0.16207529604434967, -0.24089300632476807, -0.3464867174625397, -0.059074562042951584, 0.18419644236564636, 0.06474296748638153, 0.3272935152053833, -0.06895079463720322, 0.07620184868574142, 0.12877804040908813, 0.24297383427619934, 0.19627128541469574, -0.0024643689393997192, 0.041673339903354645, 0.21401245892047882, 0.26041290163993835, -0.19038037955760956, 0.2984190285205841, 0.08133301883935928, 0.2774949073791504, 0.24198825657367706, -0.1570611149072647, 0.29508623480796814, 0.12537936866283417, 0.1730007529258728, 0.18522010743618011, 0.6623428463935852, -0.21243639290332794, -0.03896814212203026, -0.17457787692546844, -0.03892633691430092, -0.030941829085350037, -0.039443179965019226, 0.2731590270996094, -0.0911828801035881, -0.06890600174665451, -0.45297008752822876, -0.08583500981330872, -0.37788787484169006, 0.07750479131937027, -0.1246166005730629, -0.20936010777950287, -0.1745615452528, -0.12671439349651337, 0.19110415875911713, -0.24273265898227692, 0.2633930742740631, 0.08137021213769913, 0.03725089877843857, -0.25464576482772827, -0.046313825994729996, -0.3141372799873352, -0.1607048511505127, -0.11148449778556824, 0.2911950349807739, -0.22565867006778717, 0.12985286116600037, 0.05053095892071724, 0.06802581250667572, -0.02540944144129753, 0.15566007792949677, 0.22923578321933746, -0.450125515460968, -0.25877484679222107, 0.05955374613404274, -0.04702717810869217, 0.13640627264976501, -0.06165340915322304, 0.0007348940707743168, -0.1980227380990982, 0.009874166920781136, -0.22957538068294525, 0.002671106019988656, -0.12375559657812119, -0.011143133975565434, 0.030552970245480537, 0.2278883159160614, 0.1056942343711853, -0.05033764988183975, 0.27560991048812866, 0.1598467081785202, 0.08314822614192963, -0.2654819190502167, -0.0977926105260849, -0.050365839153528214, -0.13309191167354584, -0.18070870637893677, 0.0796678438782692, 0.1191696971654892, -0.22351336479187012, 0.2270161509513855, 0.44358453154563904, 0.08752572536468506, -0.14373473823070526, 0.14189842343330383, 0.06938665360212326, 0.07900667935609818, -0.3324440121650696, 0.4606004059314728, 0.19425925612449646, 0.08945227414369583, -0.019481996074318886, -0.26406869292259216, 0.1362655907869339, -0.11706323176622391, 0.08268241584300995, -0.28426966071128845, 0.00036157737486064434, -0.3651089668273926, 0.25495997071266174, -0.04276135191321373, 0.11899390816688538, -0.16331423819065094, -0.09212132543325424, 0.022273017093539238, -0.24948522448539734, -0.12769563496112823, -0.08144692331552505, -0.09143933653831482, -0.115382619202137, -0.1207449808716774, -0.016240322962403297, -0.5046858787536621, 0.3684030771255493, -0.18765871226787567, 0.013074410147964954, 0.0662211999297142, 0.43137046694755554, -0.017066873610019684, 0.028143083676695824, -0.35084268450737, -0.014600813388824463, 0.10058968514204025, -0.07976171374320984, -0.6476002931594849, 0.3425687551498413, 0.09015735983848572, -0.18332691490650177, 0.27280187606811523, 0.22961238026618958, 0.0888427346944809, -0.013466537930071354, -0.1360415667295456, 0.27110984921455383, 0.08933386206626892, 0.16912789642810822, -0.25827351212501526, -0.27740955352783203, -0.22868335247039795, 0.18568019568920135, -0.08832289278507233, -0.18844714760780334, 0.33177801966667175, -0.050390567630529404, 0.2828305959701538, -0.2695133686065674, 0.14457494020462036, 0.30998730659484863, 0.2622441053390503, -0.28098589181900024, -0.0038223667070269585, -0.13262172043323517, -0.49561986327171326, -0.06324604898691177, 0.031038697808980942, -0.36786240339279175, 0.05122679844498634, -0.1312621384859085, -0.14364269375801086, -0.26962295174598694, -0.00850143376737833, 0.1968611776828766, 0.23467405140399933, 0.1040249615907669, 0.08833132684230804, -0.03822170943021774, 0.17188596725463867, -0.2610481381416321, 0.19061583280563354, -0.3405485153198242, -0.3999067544937134, 0.15931151807308197, -0.0673116073012352, -0.18379463255405426, 0.24216701090335846, -0.0023076978977769613, -0.047684118151664734, -0.2966128885746002, 0.03822195529937744, -0.010857980698347092, 0.11179225146770477, -0.007141865324229002, 0.16566479206085205, 0.4294593632221222, -0.009028222411870956, 0.10420048236846924, 0.4140216112136841, -0.09455718845129013, 0.14923720061779022, 0.09906788915395737, -0.22709333896636963, 0.18537580966949463, -0.23159395158290863, -0.1068526953458786, 0.07860534638166428, -0.1514328122138977, 0.41937392950057983, -0.008794549852609634, 0.3377600312232971, -0.49297237396240234, -0.02337612956762314, 0.07372922450304031, 0.14987578988075256, 0.07207135111093521, 0.19575293362140656, 0.11994033306837082, 0.5793231129646301, -0.1428750902414322, 0.23464806377887726, 0.17763368785381317, 0.09922445565462112, -0.07147584855556488, 0.051740631461143494, 0.4698048233985901, 0.18773949146270752, 0.43968239426612854, 0.05199522152543068, -0.06768593937158585, 0.3061405122280121, -0.1778700053691864, 0.0920768529176712, -0.010556207038462162, 0.2919071912765503, 0.44647133350372314, 0.13293153047561646, -0.33586591482162476, -0.3294259309768677, -0.3004111051559448, 0.2342192679643631, 0.21642042696475983, -0.05935308337211609, 0.026130616664886475, -0.1535233110189438, -0.30464789271354675, -0.12841136753559113, 0.09838929027318954, -0.0755528062582016, 0.041348494589328766, -0.15046942234039307, -0.009297516196966171, -0.18419668078422546, -0.07052388787269592, 0.3434937000274658, 0.09512343257665634, 0.3912658989429474, 0.16561169922351837, 0.19884809851646423, 0.14973869919776917, 0.08250194042921066, 0.22823326289653778, 0.2516961097717285, -0.0058485777117311954, 0.2602538764476776, -0.2473946362733841, 0.31101280450820923, -0.24789556860923767, 0.04208013787865639, 0.03931090980768204, 0.28888216614723206, 0.2210560142993927, 0.11368605494499207, 0.1833987832069397, -0.14554741978645325, -0.03832485154271126, -0.06293067336082458, -0.16433238983154297, -0.23903127014636993, 0.1270926296710968, -0.028519507497549057, -0.13382813334465027, -0.17841161787509918, -0.11331503093242645, -0.2182006686925888, -0.32354822754859924, 0.1827896386384964, 0.05668868124485016, 0.2686908543109894, 0.1534121334552765, 0.20361270010471344, 0.14810016751289368, 0.04410131275653839, 0.1806458830833435, -0.2049357146024704, -0.3045889735221863, 0.1547214537858963, -0.033572133630514145, -0.2665097415447235, 0.02195291593670845, -0.11256413906812668, 0.2236177623271942, 0.1281520575284958, -0.44524574279785156, -0.23968257009983063, -0.28699547052383423, -0.095740906894207, -0.23522140085697174, 0.04011904448270798, 0.17791347205638885, -0.1825028508901596, -0.2072678804397583, 0.051720380783081055, -0.08312807977199554, 0.012937070801854134, 0.2929430603981018, 0.052082501351833344, -0.217071533203125, 0.3628605008125305, 0.19752338528633118, 0.19196707010269165, 0.005201993975788355, -0.08325713127851486, 0.2833710312843323, 0.1112896129488945, 0.32329750061035156, -0.08920171856880188, -0.04806215688586235, 0.16635966300964355, 0.0774606391787529, -0.08016123622655869, 0.059601351618766785, -0.13293853402137756, -0.17373570799827576, 0.285042941570282, -0.10404304414987564, -0.057858385145664215, 0.03136412426829338, 0.2135307341814041, 0.14850330352783203, -0.05048619210720062, -0.05674852430820465, -0.1313919574022293, -0.14776688814163208, -0.1855701357126236, -0.09337331354618073, 0.004766202997416258, -0.019934676587581635, 0.023248819634318352, -0.2192552536725998, -0.24835991859436035, -0.1409575194120407, 0.21962887048721313, 0.08443861454725266, 0.2750367224216461, -0.16167908906936646, 0.08977293968200684, 0.12079092115163803, -0.06289102137088776, 1.0360971689224243, 0.03313542157411575, 0.33843570947647095, 0.010296378284692764, -0.02915637195110321, -0.35364672541618347, 0.02999940514564514, -0.3425895571708679, -0.06705474108457565, 0.16876359283924103, 0.4953954517841339, 0.06749463081359863, 0.1175890788435936, -0.09008508920669556, 0.27289092540740967, -0.16397899389266968, -0.09989460557699203, -0.28686264157295227, -0.15806905925273895, -0.2705816924571991, -0.1356566697359085, 0.017781414091587067, -0.01719864271581173, 0.20270271599292755, -0.37407803535461426, -0.07555363327264786, -0.36671435832977295, -0.1295057237148285, 0.1469457894563675, 0.4723215401172638, 0.17708081007003784, 0.017906635999679565, -0.1916498988866806, 0.34221693873405457, 0.3138890266418457, 0.07821247726678848, 0.0968514233827591, 0.49068617820739746, 0.25754523277282715, -0.36677202582359314, 0.19393940269947052, 0.06911905109882355, 0.08595786243677139, -0.14569857716560364, -0.1390181928873062, 0.336442768573761, -0.28530609607696533, 0.10398628562688828, 0.02611379511654377, -0.07416242361068726, 0.053029052913188934, -0.03167591616511345, 0.05912597104907036, -0.12991642951965332, 0.06882964074611664, -0.15875034034252167, 0.00890044029802084, 0.04412655159831047, 0.10414537042379379, 0.16523377597332, 0.4378596842288971, -0.07567109912633896, 0.23626816272735596, 0.0513116791844368, -0.11916203051805496, -0.25388047099113464, -0.06516849249601364, 0.059499334543943405, -0.16107702255249023, -0.38688018918037415, 0.083431176841259, -0.06621468812227249, 0.12360425293445587, 0.29877912998199463, -0.11661513149738312, 0.09186526387929916, 0.39251571893692017, -0.20161738991737366, -0.30994898080825806, 0.284399151802063, 0.013222403824329376, -0.06680852919816971, -0.36125892400741577, 0.16840048134326935, -0.20704339444637299, -0.38700777292251587, -0.1281486302614212, -0.09539745002985, 0.03091340884566307, 0.14942029118537903, 0.21129581332206726, -0.1175723448395729, -0.004100151360034943, 0.3778766989707947, -0.21064068377017975, -0.3179495632648468, -0.0858226865530014, 0.08331576734781265, -0.4311671555042267, 0.26188820600509644, -0.10625480860471725, 0.017844680696725845, 0.06425844132900238, -0.028540512546896935, -0.11775059998035431, -0.024389801546931267, -0.10572506487369537, -0.1420397311449051, -0.08380845934152603, -0.14289167523384094, 0.23947355151176453, -0.11057822406291962, 0.07403258979320526, 0.21177613735198975, -0.07099497318267822, -0.21688233315944672, -0.3088914752006531, -0.4183988869190216, -0.2672419548034668, 0.08681602030992508, 0.23574455082416534, 0.06466040015220642, -0.10420437902212143, 0.42645037174224854, 0.26094990968704224, -0.31589508056640625, -0.21800149977207184, 0.41025787591934204, 0.0882461741566658, 0.27095577120780945, 0.24679234623908997, -0.18669849634170532, -0.12521892786026, -0.3496646583080292, 0.4015355706214905, -0.06183815374970436, -0.0896967202425003, 0.07633005082607269, -0.03837433457374573, -0.15626852214336395, 0.006760984193533659, -0.4389948844909668, 0.29212042689323425, 0.08972809463739395, -0.2779044210910797, -0.25829920172691345, -0.31809094548225403, -0.004685357213020325, -0.024974802508950233, 0.1278335154056549, 0.22142885625362396, -0.29194438457489014, -0.10002279281616211, 0.14181935787200928, -0.38615351915359497, 0.3262507915496826, -0.087774857878685, 0.09584464132785797, -0.3878037631511688, -0.35209622979164124, -0.09026135504245758, -0.1961420327425003, 0.10944124311208725, -0.17186897993087769, -0.2905910015106201, -0.37087559700012207, 0.2080005556344986, -0.011206798255443573, -0.11341490596532822, -0.05533543974161148, 0.14162476360797882, -0.2030090093612671, -0.3735940754413605, -0.1132817491889, 0.10061758011579514, -0.15295758843421936, 0.08319656550884247, 0.1084776520729065, 0.04021081700921059, -0.34459322690963745, 0.248006209731102, -0.1342584639787674, -0.006193375214934349, -0.05842302367091179, 0.011401908472180367, 0.09219535440206528, -0.054063357412815094, -0.06894028931856155, -0.12022368609905243, 0.14071491360664368, -0.0528104193508625, -0.10153727978467941, 0.2034790813922882, -0.057217638939619064, -0.07075521349906921, 0.4689769446849823, 0.4083784520626068, 0.03432167321443558, -0.24908122420310974, -0.20169979333877563, 0.06692132353782654, 0.35962316393852234, -0.13085506856441498, -0.4421582818031311, 0.20506589114665985, 0.02440941520035267, 0.20050515234470367, 0.25417035818099976, 0.24243035912513733, -0.23070088028907776, -0.06952746212482452, 0.1828034520149231, 0.4166067838668823, -0.008587406948208809, -0.20462195575237274, 0.328527569770813, -0.0552353635430336, -0.1230836883187294, 0.18762154877185822, 0.37456193566322327, 0.4323230981826782, 1.0719358921051025, 0.08900588750839233, 0.1401316523551941, 0.21856491267681122, 0.077707938849926, -0.32115474343299866, -0.3553757965564728, 0.05100619047880173, 0.3628831207752228, 0.035670019686222076, 0.2242438942193985, 0.14787329733371735, -0.2952662408351898, 0.02977006882429123, -0.342098593711853, -0.40104982256889343, -0.16631869971752167, -0.3352973461151123, 0.2478891760110855, 0.30723121762275696, -0.026919106021523476, 0.0956130176782608, 0.2593352198600769, -0.28477367758750916, -0.06126648932695389, 0.04579821228981018, -0.09387244284152985, -0.10103879868984222, 0.17033171653747559, 0.45739132165908813, 0.12805746495723724, -0.04090007394552231, -0.20381374657154083, 0.27677491307258606, 0.307582825422287, 0.07707725465297699, -0.04841490089893341, 0.010833879932761192, 0.30427995324134827, 0.08519457280635834, 0.1693340390920639, 0.06266075372695923, 0.022612804546952248, -0.2182355374097824, -0.38886773586273193, -0.10188344120979309, 0.07550813257694244, 0.3824693560600281, 0.24293391406536102, 0.23150230944156647, -0.19771520793437958, -0.06004224345088005, 0.24173933267593384, -0.03362280875444412, -0.12138697504997253, -0.20363765954971313, -0.2956176698207855, -0.21466021239757538, -0.1302288919687271, -0.12782655656337738, -0.6295871734619141, -0.2674054205417633, 0.21846641600131989, -0.383011132478714, 0.30040866136550903, 0.10717093199491501, 0.15843571722507477, -0.47880256175994873, 0.6124034523963928, 0.047624122351408005, -0.07473176717758179, -0.04119953513145447, -0.02767183631658554, -0.38464781641960144, 0.046289049088954926, -0.03265941143035889, 0.025522129610180855, 0.10393363237380981, 0.3317469358444214, 0.023287659510970116, -0.08748502284288406, 0.15033240616321564, 0.29172205924987793, -0.0932367816567421, -0.10178421437740326, -0.42950183153152466, -0.04156789928674698, 0.07388798147439957, 0.042097851634025574, 0.05570313334465027, -0.3171684145927429, 0.36398476362228394, 0.07263409346342087, 0.17752224206924438, 0.16282334923744202, 0.201152503490448, -0.29316380620002747, 0.48449650406837463, 0.03535031899809837, -0.07750241458415985, 0.22754275798797607, -0.24051032960414886, 0.08255881071090698, 0.06303224712610245, 0.13377130031585693, 0.05741121619939804, 0.36099115014076233, 0.3650144636631012, 0.23837648332118988, -0.16847990453243256, 0.18672676384449005, 0.244968980550766, 0.375410795211792, 0.02678600326180458, 0.2890009582042694, 0.10195120424032211, 0.15273532271385193, -0.05496496707201004, -0.08690470457077026, 0.05756211653351784, 0.00373555114492774, 0.014267869293689728, -0.15155747532844543, 0.06203191354870796, -0.0992165133357048, 0.3110025227069855, 0.2854669392108917, -0.20489883422851562, 0.0500410795211792, 0.10930769145488739, -0.08094149082899094, -0.11947271972894669, -0.18391403555870056, 0.1738395243883133, 0.22049567103385925, 0.021313929930329323, -0.016924289986491203, 0.4494015574455261, -0.44229790568351746, -0.21874311566352844, 0.08898729085922241, 0.705487847328186, 0.1837768405675888, -0.4509845972061157, -0.02065773494541645, 0.0046380930580198765 ]
https://github.com/huggingface/datasets/issues/2144
Loading wikipedia 20200501.en throws pyarrow related error
That's how I loaded the dataset ```python from datasets import load_dataset ds = load_dataset('wikipedia', '20200501.en', cache_dir='/usr/local/workspace/NAS_NLP/cache') ```
**Problem description** I am getting the following error when trying to load wikipedia/20200501.en dataset. **Error log** Downloading and preparing dataset wikipedia/20200501.en (download: 16.99 GiB, generated: 17.07 GiB, post-processed: Unknown size, total: 34.06 GiB) to /usr/local/workspace/NAS_NLP/cache/wikipedia/20200501.en/1.0.0/50aa706aa417bb77d910ad61211cc672c0ef3e0f224225a5e0a18277ade8b931... Downloading: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 14.6k/14.6k [00:00<00:00, 5.41MB/s] Downloading: 59%|███████████████████████████████████████████████████████████████████████████████████████▊ | 10.7G/18.3G [11:30<08:08, 15.5MB/s] Dataset wikipedia downloaded and prepared to /usr/local/workspace/NAS_NLP/cache/wikipedia/20200501.en/1.0.0/50aa706aa417bb77d910ad61211cc672c0ef3e0f224225a5e0a18277ade8b931. Subsequent calls will reuse this data. Traceback (most recent call last): File "load_wiki.py", line 2, in <module> ds = load_dataset('wikipedia', '20200501.en', cache_dir='/usr/local/workspace/NAS_NLP/cache') File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 751, in load_dataset ds = builder_instance.as_dataset(split=split, ignore_verifications=ignore_verifications, in_memory=keep_in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/builder.py", line 746, in as_dataset map_tuple=True, File "/usr/local/lib/python3.6/dist-packages/datasets/utils/py_utils.py", line 204, in map_nested _single_map_nested((function, obj, types, None, True)) for obj in tqdm(iterable, disable=disable_tqdm) File "/usr/local/lib/python3.6/dist-packages/datasets/utils/py_utils.py", line 204, in <listcomp> _single_map_nested((function, obj, types, None, True)) for obj in tqdm(iterable, disable=disable_tqdm) File "/usr/local/lib/python3.6/dist-packages/datasets/utils/py_utils.py", line 142, in _single_map_nested return function(data_struct) File "/usr/local/lib/python3.6/dist-packages/datasets/builder.py", line 763, in _build_single_dataset in_memory=in_memory, File "/usr/local/lib/python3.6/dist-packages/datasets/builder.py", line 835, in _as_dataset in_memory=in_memory, File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 215, in read return self.read_files(files=files, original_instructions=instructions, in_memory=in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 236, in read_files pa_table = self._read_files(files, in_memory=in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 171, in _read_files pa_table: pa.Table = self._get_dataset_from_filename(f_dict, in_memory=in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 302, in _get_dataset_from_filename pa_table = ArrowReader.read_table(filename, in_memory=in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 324, in read_table pa_table = f.read_all() File "pyarrow/ipc.pxi", line 544, in pyarrow.lib.RecordBatchReader.read_all File "pyarrow/error.pxi", line 99, in pyarrow.lib.check_status OSError: Expected to be able to read 9176784 bytes for message body, got 4918712 **Detailed version info** datasets==1.5.0 - dataclasses [required: Any, installed: 0.8] - dill [required: Any, installed: 0.3.3] - fsspec [required: Any, installed: 0.8.7] - importlib-metadata [required: Any, installed: 1.7.0] - zipp [required: >=0.5, installed: 3.1.0] - huggingface-hub [required: <0.1.0, installed: 0.0.7] - filelock [required: Any, installed: 3.0.12] - importlib-metadata [required: Any, installed: 1.7.0] - zipp [required: >=0.5, installed: 3.1.0] - requests [required: Any, installed: 2.24.0] - certifi [required: >=2017.4.17, installed: 2020.6.20] - chardet [required: >=3.0.2,<4, installed: 3.0.4] - idna [required: >=2.5,<3, installed: 2.6] - urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.10] - tqdm [required: Any, installed: 4.49.0] - importlib-metadata [required: Any, installed: 1.7.0] - zipp [required: >=0.5, installed: 3.1.0] - multiprocess [required: Any, installed: 0.70.11.1] - dill [required: >=0.3.3, installed: 0.3.3] - numpy [required: >=1.17, installed: 1.17.0] - pandas [required: Any, installed: 1.1.5] - numpy [required: >=1.15.4, installed: 1.17.0] - python-dateutil [required: >=2.7.3, installed: 2.8.0] - six [required: >=1.5, installed: 1.15.0] - pytz [required: >=2017.2, installed: 2020.1] - pyarrow [required: >=0.17.1, installed: 3.0.0] - numpy [required: >=1.16.6, installed: 1.17.0] - requests [required: >=2.19.0, installed: 2.24.0] - certifi [required: >=2017.4.17, installed: 2020.6.20] - chardet [required: >=3.0.2,<4, installed: 3.0.4] - idna [required: >=2.5,<3, installed: 2.6] - urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.10] - tqdm [required: >=4.27,<4.50.0, installed: 4.49.0] - xxhash [required: Any, installed: 2.0.0]
17
Loading wikipedia 20200501.en throws pyarrow related error
[ -0.032954469323158264, 0.17994898557662964, -0.10841347277164459, 0.1074313148856163, 0.16550607979297638, -0.00740303099155426, 0.11883269995450974, 0.3750694990158081, 0.11225422471761703, 0.09606831520795822, 0.04252804443240166, 0.4776451587677002, 0.21631203591823578, -0.10413283854722977, 0.06792208552360535, -0.20503632724285126, 0.20949482917785645, 0.18519265949726105, -0.05867883563041687, 0.06330746412277222, -0.23451237380504608, 0.22007374465465546, -0.2532670795917511, 0.2828524112701416, -0.2824955880641937, 0.15130050480365753, 0.1611681878566742, 0.16680407524108887, 0.028241602703928947, -0.4608975946903229, 0.17809344828128815, -0.05987786501646042, 0.1419299989938736, 0.12243889272212982, -0.00010355615086155012, 0.11131787300109863, 0.5784373879432678, 0.1368299275636673, -0.16412895917892456, 0.11349652707576752, 0.16845422983169556, 0.11003179103136063, 0.2908715605735779, -0.39768996834754944, 0.02746966853737831, -0.21837517619132996, 0.22245651483535767, 0.3462494909763336, 0.1094527468085289, 0.05696024000644684, 0.29715579748153687, 0.05735592916607857, 0.29083800315856934, -0.02919846959412098, 0.7570096254348755, -0.34881022572517395, 0.1309332698583603, 0.24810418486595154, -0.015536095947027206, -0.22197431325912476, -0.25934067368507385, 0.3310054540634155, -0.16148005425930023, -0.1498047560453415, 0.2257189303636551, -0.15704800188541412, 0.3067924678325653, -0.1786835640668869, 0.2631194293498993, 0.05696059763431549, 0.3903398811817169, -0.19269797205924988, 0.19320285320281982, 0.17360427975654602, -0.08384978026151657, -0.03779557719826698, 0.4122454524040222, 0.06196913495659828, -0.17995204031467438, -0.013352112844586372, 0.515321671962738, -0.241240993142128, -0.337295800447464, 0.2665022015571594, -0.18702565133571625, 0.49079862236976624, 0.21571403741836548, 0.16575577855110168, 0.13177615404129028, -0.12359209358692169, 0.11322925239801407, 0.19976438581943512, 0.09744908660650253, 0.24112409353256226, 0.03109086863696575, 0.10882385075092316, 0.15727584064006805, 0.1853717863559723, 0.22897778451442719, -0.172315314412117, -0.08099435269832611, 0.305558443069458, 0.22779764235019684, 0.21367378532886505, 0.14030680060386658, -0.23442573845386505, -0.2084752768278122, -0.2574187219142914, 0.597995936870575, 0.3546556532382965, -0.15981727838516235, 0.2114787995815277, -0.054083798080682755, -0.3300359547138214, -0.013032812625169754, -0.023364143446087837, 0.2546117901802063, -0.11618530750274658, 0.19609245657920837, 0.13537609577178955, -0.24781256914138794, -0.06067923456430435, -0.33647146821022034, 0.26187998056411743, -0.2131543904542923, -0.06630776822566986, 0.028964906930923462, 0.021138302981853485, -0.3904573321342468, -0.06426490098237991, -0.0699210837483406, 0.3137396574020386, -0.06512439996004105, 0.03390306979417801, 0.200832799077034, -0.17707453668117523, 0.12381426990032196, 0.13107849657535553, -0.06728187203407288, -0.17100226879119873, 0.025099873542785645, 0.230662539601326, -0.3233497440814972, 0.3305476903915405, 0.21368446946144104, 0.06042831763625145, -0.03437941521406174, -0.20292088389396667, -0.011544588021934032, 0.30795788764953613, -0.17214789986610413, -0.3393257260322571, -0.2181253433227539, 0.2481987625360489, 0.11466149985790253, 0.03181643411517143, 0.26120102405548096, -0.1314479112625122, 0.17593036592006683, -0.43379074335098267, -0.1764230579137802, -0.02947988174855709, 0.005094686057418585, -0.2945079505443573, 0.2181619107723236, 0.05877874791622162, -0.28610584139823914, 0.05184829235076904, 0.18805436789989471, -0.004581168759614229, 0.16198056936264038, 0.29406896233558655, -0.21177127957344055, 0.05926075205206871, -0.13920214772224426, 0.2846665382385254, -0.0026634475216269493, -0.1381099969148636, -0.28314509987831116, 0.08785217255353928, -0.17268581688404083, 0.006542190909385681, -0.034320998936891556, 0.09602402150630951, -0.06665036827325821, 0.29199865460395813, 0.2335154265165329, 0.22307032346725464, 0.20013421773910522, 0.12940266728401184, -0.41303616762161255, -0.21831920742988586, 0.21330416202545166, 0.0693068876862526, 0.2085280567407608, -0.19960062205791473, 0.06513874977827072, 0.09008211642503738, 0.1333826184272766, -0.27653074264526367, -0.04129860922694206, 0.10483453422784805, 0.09269066900014877, -0.009269255213439465, 0.3288385272026062, -0.13767461478710175, -0.1803591400384903, -0.02073129639029503, -0.31245338916778564, 0.3481394648551941, -0.31790146231651306, -0.14901790022850037, -0.4259376525878906, 0.1369718462228775, -0.19048412144184113, -0.14714346826076508, 0.29326069355010986, -0.09102462977170944, 0.02647555060684681, 0.5186883211135864, 0.13276877999305725, -0.34900686144828796, -0.12953735888004303, 0.09212225675582886, -0.26526379585266113, 0.3254292905330658, -0.5818994641304016, -0.05341343954205513, -0.07939016073942184, 0.15934884548187256, 0.18433232605457306, -0.011257524602115154, 0.03115847148001194, 0.03438115492463112, 0.0806441456079483, 0.0855773389339447, -0.17917190492153168, -0.06474074721336365, 0.2346343845129013, -0.5695430040359497, -0.08171333372592926, 0.37058717012405396, 0.12268512696027756, 0.06662406772375107, 0.09427504986524582, 0.2174609750509262, 0.06845777481794357, 0.08769837021827698, 0.05094807595014572, -0.09349286556243896, 0.34422677755355835, 0.07752696424722672, 0.17664101719856262, -0.052207015454769135, 0.1103530079126358, 0.501117467880249, -0.13008233904838562, -0.05698345974087715, -0.09728105366230011, -0.21541133522987366, 0.26155078411102295, -0.01922362856566906, 0.1972554475069046, 0.11069630831480026, -0.1401664912700653, -0.14616486430168152, 0.23727378249168396, -0.4087134003639221, -0.2597796618938446, 0.1396244615316391, -0.092380590736866, 0.09105230867862701, -0.22254952788352966, -0.24502669274806976, 0.1978527456521988, -0.05161600932478905, 0.32061055302619934, 0.2085639089345932, 0.20831610262393951, 0.03793954476714134, -0.4012283384799957, -0.1099230945110321, -0.06728114187717438, 0.2019769251346588, -0.34450843930244446, -0.017027704045176506, -0.09540246427059174, -0.4426722228527069, 0.26243048906326294, 0.0068359640426933765, -0.23256784677505493, -0.2286776453256607, 0.19808806478977203, 0.4453795850276947, -0.18812550604343414, 0.2934193015098572, 0.07679367810487747, -0.03442110866308212, 0.19172202050685883, -0.0864090621471405, -0.07691816985607147, -0.5967099070549011, -0.3783147633075714, 0.1452171355485916, 0.1264197826385498, -0.16210800409317017, 0.06962306797504425, -0.11545968055725098, -0.28676241636276245, -0.3677314221858978, -0.5962648391723633, 0.14263340830802917, -0.14114055037498474, 0.04939214512705803, 0.03332584723830223, 0.2871361970901489, -0.046245209872722626, -0.37266579270362854, 0.33892080187797546, -0.06525258719921112, -0.057336241006851196, 0.2618943452835083, -0.19221438467502594, 0.045992396771907806, -0.14376333355903625, -0.3216771185398102, 0.05704173445701599, -0.192069873213768, 0.0813474953174591, 0.10864824056625366, 0.21834245324134827, 0.2701728045940399, 0.1873292773962021, 0.007915245369076729, 0.2395165115594864, 0.02775677479803562, -0.057118114084005356, 0.15431202948093414, 0.3436409831047058, -0.26803556084632874, -0.44911280274391174, 0.23535573482513428, -0.1115051880478859, -0.0682595744729042, 0.09343271702528, -0.3769053816795349, -0.11995306611061096, 0.1750728338956833, 0.3584780693054199, 0.0426485575735569, -0.08434176445007324, 0.21835340559482574, 0.13477446138858795, -0.16472159326076508, 0.07482833415269852, -0.08975766599178314, -0.05877735838294029, -0.06892026215791702, 0.015084496699273586, 0.12184286117553711, 0.1822681576013565, -0.051765892654657364, 0.7411169409751892, -0.3927482068538666, 0.28708958625793457, 0.32426995038986206, -0.23988014459609985, -0.0601324588060379, -0.12002157419919968, 0.0085370521992445, -0.09364521503448486, -0.2508558928966522, -0.13874956965446472, 0.25638440251350403, -0.1191379576921463, -0.5117632150650024, -0.2059815526008606, -0.2570590674877167, -0.16283102333545685, -0.28618985414505005, -0.0385332815349102, 0.23443222045898438, 0.19141966104507446, 0.10976049304008484, 0.04359611123800278, -0.095204658806324, -0.2061469554901123, 0.26871737837791443, 0.09562855213880539, -0.0606788694858551, -0.11649694293737411, 0.043039824813604355, -0.2194909006357193, -0.33699285984039307, 0.25989872217178345, 0.25217849016189575, -0.09442612528800964, -0.18748055398464203, -0.17275501787662506, 0.352777361869812, -0.330223947763443, 0.42722687125205994, -0.06059785559773445, 0.14767144620418549, 0.2242620438337326, 0.17476999759674072, -0.4999033212661743, -0.10270601511001587, 0.005711399484425783, 0.039172835648059845, 0.24736417829990387, -0.1326998770236969, -0.36881935596466064, 0.12625767290592194, 0.2690642774105072, -0.06424903869628906, 0.03190579637885094, -0.07406648248434067, -0.3199642300605774, -0.332521915435791, -0.41540461778640747, -0.04580016806721687, -0.03882959857583046, 0.1509431004524231, -0.10615893453359604, 0.017464444041252136, 0.16403347253799438, 0.029669202864170074, -0.24197325110435486, 0.37887465953826904, 0.03204584866762161, -0.04776086285710335, -0.19169221818447113, -0.11882751435041428, 0.09419848769903183, 0.08789447695016861, 0.07387267798185349, 0.13754843175411224, -0.18891610205173492, -0.07023017108440399, -0.05856535583734512, -0.07533871382474899, 0.05828167870640755, -0.03480685502290726, -0.01464782003313303, 0.22292274236679077, -0.2334725707769394, 0.14751866459846497, -0.07995524257421494, 0.20127065479755402, -0.1663190871477127, -0.2138110250234604, 0.10044853389263153, 0.6166428327560425, 0.05083965137600899, -0.09416845440864563, -0.009614410810172558, 0.238743394613266, -0.20645643770694733, 0.27465352416038513, 0.1208556741476059, 0.6306126713752747, -0.006361293140798807, 0.3525364100933075, 0.5068601369857788, -0.13242360949516296, 0.45916569232940674, -0.13978594541549683, 0.2460457980632782, -0.4624263644218445, 0.27249401807785034, -0.01790788397192955, 0.0029890909790992737, -0.17196772992610931, -0.18634383380413055, -0.20280037820339203, -0.0224875770509243, -0.07089997828006744, 0.13913218677043915, 0.12461982667446136, 0.26065146923065186, 0.20241352915763855, 0.04855426773428917, -0.0874907523393631, 0.16046233475208282, -0.07077578455209732, 0.29510021209716797, -0.22951966524124146, -0.08899011462926865, -0.031092826277017593, -0.23908467590808868, -0.14451341331005096, 0.2710984945297241, -0.04911898449063301, 0.4470316469669342, -0.08531160652637482, -0.35885050892829895, -0.0054058535024523735, 0.06059517338871956, -0.08775482326745987, -0.06617042422294617, -0.2594728469848633, 0.13254676759243011, -0.02640700154006481, -0.4157346189022064, -0.18026290833950043, 0.22305366396903992, 0.055943600833415985, -0.2658258080482483, -0.32666507363319397, 0.2756097614765167, -0.17508725821971893, -0.2677910327911377, -0.14220550656318665, 0.14925310015678406, 0.09044533967971802, 0.06154363602399826, -0.10818341374397278, -0.22742897272109985, -0.1228320375084877, -0.2734667658805847, 0.24317744374275208, -0.4549412131309509, 0.09650572389364243, -0.15537722408771515, 0.32308775186538696, -0.19687581062316895, 0.022687891498208046, 0.30522751808166504, 0.035787519067525864, 0.29838013648986816, 0.4919072091579437, 0.4394451379776001, -0.3519117832183838, -0.18307290971279144, -0.4844774901866913, -0.32236987352371216, -0.2364642322063446, -0.11282368004322052, 0.19595381617546082, 0.16438095271587372, -0.2103092223405838, 0.3016353249549866, 0.19417604804039001, -0.0780639573931694, 0.15919993817806244, -0.22535772621631622, -0.10348100960254669, 0.2829435169696808, -0.14410535991191864, -0.060322437435388565, 0.5179268717765808, 0.16348762810230255, 0.2212667018175125, -0.07050809264183044, -0.36967718601226807, 0.1330840289592743, -0.14279800653457642, 0.10305753350257874, -0.08333338052034378, -0.19565998017787933, -0.2896912097930908, 0.055006880313158035, 0.27725616097450256, -0.10839416831731796, -0.0499800369143486, -0.3291985094547272, 0.006488557904958725, 0.05225159227848053, 0.04795876145362854, -0.24254338443279266, 0.004728241823613644, -0.2291436344385147, 0.04819269850850105, 0.13799916207790375, 0.15372227132320404, -0.10233087837696075, -0.07667659223079681, 0.14152061939239502, 0.14852695167064667, 0.2039637565612793, -0.27787619829177856, 0.29521629214286804, -0.3112974762916565, 0.42663899064064026, 0.05702776834368706, 0.08531751483678818, -0.05697416514158249, -0.0511920303106308, -0.0446007214486599, 0.05618838593363762, 0.09656426310539246, -0.027050981298089027, 0.17744246125221252, -0.3523215055465698, -0.1779695600271225, -0.07322760671377182, 0.05648418515920639, 0.15071693062782288, -0.184862419962883, -0.06853709369897842, 0.043547168374061584, 0.2791585922241211, -0.31024879217147827, -0.04846649616956711, 0.32883113622665405, -0.32669535279273987, -0.05618288367986679, -0.07022098451852798, 0.40409019589424133, -0.21532480418682098, 0.21530316770076752, 0.2958682179450989, 0.09152273833751678, -0.10033467411994934, -0.09789340198040009, 0.0844150111079216, 0.005163425114005804, 0.02158161625266075, -0.09924444556236267, 0.17130935192108154, 0.06728045642375946, 0.17243008315563202, -0.04759163782000542, -0.16133585572242737, 0.033485621213912964, 0.13897569477558136, -0.12215586751699448, -0.1906508505344391, 0.16090989112854004, 0.16830012202262878, 0.13667403161525726, -0.19950434565544128, 0.3194390833377838, 0.32444050908088684, 0.5986112952232361, 0.2129264622926712, -0.1993483006954193, 0.3054339587688446, -0.06545142829418182, -0.16811628639698029, -0.3775692880153656, -0.2766534090042114, 0.29579389095306396, 0.1102006584405899, -0.1573491096496582, -0.08195332437753677, 0.07936804741621017, 0.24682995676994324, -0.18912841379642487, -0.33672353625297546, 0.5062373280525208, -0.023270098492503166, 0.1921185553073883, -0.029500581324100494, 0.15191322565078735, 0.05712732672691345, -0.17828062176704407, -0.08627146482467651, 0.012766724452376366, 0.4925367832183838, 0.20241549611091614, -0.8113409876823425, -0.15535400807857513, -0.17647120356559753, 0.04070955514907837, 0.015009619295597076, 0.019610673189163208, 0.37068283557891846, 0.06357637047767639, 0.28402817249298096, 0.18340656161308289, -0.23334233462810516, -0.07827963680028915, 0.45634910464286804, 0.053778402507305145, 0.1957341432571411, -0.5552564859390259, -0.04118267819285393, -0.07919307053089142, -0.04713790863752365, -0.0007561902748420835, -0.3256831467151642, 0.20131009817123413, 0.12517960369586945, 0.14922425150871277, 0.09099166840314865, -0.06037018075585365, 0.14700517058372498, -0.1295299530029297, 0.5080748796463013, 0.29174941778182983, 0.3753795623779297, -0.14966590702533722, -0.178898423910141, -0.43894824385643005, 0.488786906003952, -0.3516939878463745, -0.06323988735675812, 0.1821759194135666, 0.12421248853206635, -0.16693836450576782, 0.04609336331486702, -0.061378877609968185, -0.2370162010192871, -0.16575847566127777, 0.2100117951631546, -0.24872466921806335, 0.10841996967792511, -0.010287481360137463, -0.24509777128696442, -0.37073850631713867, -0.1155354231595993, 0.17038677632808685, -0.24387624859809875, 0.1955506056547165, -0.14950960874557495, -0.1498841494321823, 0.01142107043415308, 0.22711898386478424, 0.40354594588279724, -0.018185416236519814, 0.6228744983673096, -0.125030517578125, 0.011062231846153736, -0.016886763274669647, -0.1052900180220604, 0.12102451175451279, 0.35231688618659973, 0.15361745655536652, -0.0407063327729702, 0.16226953268051147, -0.25241875648498535, -0.033028244972229004, 0.7562212944030762, 0.01457809004932642, 0.03407888859510422, -0.11571141332387924, -0.14691931009292603, 0.20228669047355652, 0.1126997321844101, -0.3055201470851898, -0.08227108418941498, -0.04695462808012962, 0.021106764674186707, -0.2632746696472168, -0.6123051643371582, 0.2348872870206833, -0.44332557916641235, -0.35386621952056885, -0.022721081972122192, 0.13409890234470367, -0.11962471902370453, 0.05356913059949875, -0.05054359510540962, -0.025035008788108826, 0.19689275324344635, -0.05357951298356056, -0.23250986635684967, -0.08805934339761734, -0.03675341606140137, -0.10179595649242401, -0.1866438388824463, -0.04421136528253555, 0.05221736058592796, -0.14955252408981323, -0.43080636858940125, -0.38330504298210144 ]
https://github.com/huggingface/datasets/issues/2144
Loading wikipedia 20200501.en throws pyarrow related error
Hi ! It looks like the arrow file in the folder `/usr/local/workspace/NAS_NLP/cache/wikipedia/20200501.en/1.0.0/50aa706aa417bb77d910ad61211cc672c0ef3e0f224225a5e0a18277ade8b931` is corrupted. Can you take a look and check that it's 18.3GB ? If not, then maybe you need to redownload it: ```python from datasets import load_dataset ds = load_dataset('wikipedia', '20200501.en', cache_dir='/usr/local/workspace/NAS_NLP/cache', download_mode="force_redownload") ```
**Problem description** I am getting the following error when trying to load wikipedia/20200501.en dataset. **Error log** Downloading and preparing dataset wikipedia/20200501.en (download: 16.99 GiB, generated: 17.07 GiB, post-processed: Unknown size, total: 34.06 GiB) to /usr/local/workspace/NAS_NLP/cache/wikipedia/20200501.en/1.0.0/50aa706aa417bb77d910ad61211cc672c0ef3e0f224225a5e0a18277ade8b931... Downloading: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 14.6k/14.6k [00:00<00:00, 5.41MB/s] Downloading: 59%|███████████████████████████████████████████████████████████████████████████████████████▊ | 10.7G/18.3G [11:30<08:08, 15.5MB/s] Dataset wikipedia downloaded and prepared to /usr/local/workspace/NAS_NLP/cache/wikipedia/20200501.en/1.0.0/50aa706aa417bb77d910ad61211cc672c0ef3e0f224225a5e0a18277ade8b931. Subsequent calls will reuse this data. Traceback (most recent call last): File "load_wiki.py", line 2, in <module> ds = load_dataset('wikipedia', '20200501.en', cache_dir='/usr/local/workspace/NAS_NLP/cache') File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 751, in load_dataset ds = builder_instance.as_dataset(split=split, ignore_verifications=ignore_verifications, in_memory=keep_in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/builder.py", line 746, in as_dataset map_tuple=True, File "/usr/local/lib/python3.6/dist-packages/datasets/utils/py_utils.py", line 204, in map_nested _single_map_nested((function, obj, types, None, True)) for obj in tqdm(iterable, disable=disable_tqdm) File "/usr/local/lib/python3.6/dist-packages/datasets/utils/py_utils.py", line 204, in <listcomp> _single_map_nested((function, obj, types, None, True)) for obj in tqdm(iterable, disable=disable_tqdm) File "/usr/local/lib/python3.6/dist-packages/datasets/utils/py_utils.py", line 142, in _single_map_nested return function(data_struct) File "/usr/local/lib/python3.6/dist-packages/datasets/builder.py", line 763, in _build_single_dataset in_memory=in_memory, File "/usr/local/lib/python3.6/dist-packages/datasets/builder.py", line 835, in _as_dataset in_memory=in_memory, File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 215, in read return self.read_files(files=files, original_instructions=instructions, in_memory=in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 236, in read_files pa_table = self._read_files(files, in_memory=in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 171, in _read_files pa_table: pa.Table = self._get_dataset_from_filename(f_dict, in_memory=in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 302, in _get_dataset_from_filename pa_table = ArrowReader.read_table(filename, in_memory=in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 324, in read_table pa_table = f.read_all() File "pyarrow/ipc.pxi", line 544, in pyarrow.lib.RecordBatchReader.read_all File "pyarrow/error.pxi", line 99, in pyarrow.lib.check_status OSError: Expected to be able to read 9176784 bytes for message body, got 4918712 **Detailed version info** datasets==1.5.0 - dataclasses [required: Any, installed: 0.8] - dill [required: Any, installed: 0.3.3] - fsspec [required: Any, installed: 0.8.7] - importlib-metadata [required: Any, installed: 1.7.0] - zipp [required: >=0.5, installed: 3.1.0] - huggingface-hub [required: <0.1.0, installed: 0.0.7] - filelock [required: Any, installed: 3.0.12] - importlib-metadata [required: Any, installed: 1.7.0] - zipp [required: >=0.5, installed: 3.1.0] - requests [required: Any, installed: 2.24.0] - certifi [required: >=2017.4.17, installed: 2020.6.20] - chardet [required: >=3.0.2,<4, installed: 3.0.4] - idna [required: >=2.5,<3, installed: 2.6] - urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.10] - tqdm [required: Any, installed: 4.49.0] - importlib-metadata [required: Any, installed: 1.7.0] - zipp [required: >=0.5, installed: 3.1.0] - multiprocess [required: Any, installed: 0.70.11.1] - dill [required: >=0.3.3, installed: 0.3.3] - numpy [required: >=1.17, installed: 1.17.0] - pandas [required: Any, installed: 1.1.5] - numpy [required: >=1.15.4, installed: 1.17.0] - python-dateutil [required: >=2.7.3, installed: 2.8.0] - six [required: >=1.5, installed: 1.15.0] - pytz [required: >=2017.2, installed: 2020.1] - pyarrow [required: >=0.17.1, installed: 3.0.0] - numpy [required: >=1.16.6, installed: 1.17.0] - requests [required: >=2.19.0, installed: 2.24.0] - certifi [required: >=2017.4.17, installed: 2020.6.20] - chardet [required: >=3.0.2,<4, installed: 3.0.4] - idna [required: >=2.5,<3, installed: 2.6] - urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.10] - tqdm [required: >=4.27,<4.50.0, installed: 4.49.0] - xxhash [required: Any, installed: 2.0.0]
46
Loading wikipedia 20200501.en throws pyarrow related error
[ -0.032954469323158264, 0.17994898557662964, -0.10841347277164459, 0.1074313148856163, 0.16550607979297638, -0.00740303099155426, 0.11883269995450974, 0.3750694990158081, 0.11225422471761703, 0.09606831520795822, 0.04252804443240166, 0.4776451587677002, 0.21631203591823578, -0.10413283854722977, 0.06792208552360535, -0.20503632724285126, 0.20949482917785645, 0.18519265949726105, -0.05867883563041687, 0.06330746412277222, -0.23451237380504608, 0.22007374465465546, -0.2532670795917511, 0.2828524112701416, -0.2824955880641937, 0.15130050480365753, 0.1611681878566742, 0.16680407524108887, 0.028241602703928947, -0.4608975946903229, 0.17809344828128815, -0.05987786501646042, 0.1419299989938736, 0.12243889272212982, -0.00010355615086155012, 0.11131787300109863, 0.5784373879432678, 0.1368299275636673, -0.16412895917892456, 0.11349652707576752, 0.16845422983169556, 0.11003179103136063, 0.2908715605735779, -0.39768996834754944, 0.02746966853737831, -0.21837517619132996, 0.22245651483535767, 0.3462494909763336, 0.1094527468085289, 0.05696024000644684, 0.29715579748153687, 0.05735592916607857, 0.29083800315856934, -0.02919846959412098, 0.7570096254348755, -0.34881022572517395, 0.1309332698583603, 0.24810418486595154, -0.015536095947027206, -0.22197431325912476, -0.25934067368507385, 0.3310054540634155, -0.16148005425930023, -0.1498047560453415, 0.2257189303636551, -0.15704800188541412, 0.3067924678325653, -0.1786835640668869, 0.2631194293498993, 0.05696059763431549, 0.3903398811817169, -0.19269797205924988, 0.19320285320281982, 0.17360427975654602, -0.08384978026151657, -0.03779557719826698, 0.4122454524040222, 0.06196913495659828, -0.17995204031467438, -0.013352112844586372, 0.515321671962738, -0.241240993142128, -0.337295800447464, 0.2665022015571594, -0.18702565133571625, 0.49079862236976624, 0.21571403741836548, 0.16575577855110168, 0.13177615404129028, -0.12359209358692169, 0.11322925239801407, 0.19976438581943512, 0.09744908660650253, 0.24112409353256226, 0.03109086863696575, 0.10882385075092316, 0.15727584064006805, 0.1853717863559723, 0.22897778451442719, -0.172315314412117, -0.08099435269832611, 0.305558443069458, 0.22779764235019684, 0.21367378532886505, 0.14030680060386658, -0.23442573845386505, -0.2084752768278122, -0.2574187219142914, 0.597995936870575, 0.3546556532382965, -0.15981727838516235, 0.2114787995815277, -0.054083798080682755, -0.3300359547138214, -0.013032812625169754, -0.023364143446087837, 0.2546117901802063, -0.11618530750274658, 0.19609245657920837, 0.13537609577178955, -0.24781256914138794, -0.06067923456430435, -0.33647146821022034, 0.26187998056411743, -0.2131543904542923, -0.06630776822566986, 0.028964906930923462, 0.021138302981853485, -0.3904573321342468, -0.06426490098237991, -0.0699210837483406, 0.3137396574020386, -0.06512439996004105, 0.03390306979417801, 0.200832799077034, -0.17707453668117523, 0.12381426990032196, 0.13107849657535553, -0.06728187203407288, -0.17100226879119873, 0.025099873542785645, 0.230662539601326, -0.3233497440814972, 0.3305476903915405, 0.21368446946144104, 0.06042831763625145, -0.03437941521406174, -0.20292088389396667, -0.011544588021934032, 0.30795788764953613, -0.17214789986610413, -0.3393257260322571, -0.2181253433227539, 0.2481987625360489, 0.11466149985790253, 0.03181643411517143, 0.26120102405548096, -0.1314479112625122, 0.17593036592006683, -0.43379074335098267, -0.1764230579137802, -0.02947988174855709, 0.005094686057418585, -0.2945079505443573, 0.2181619107723236, 0.05877874791622162, -0.28610584139823914, 0.05184829235076904, 0.18805436789989471, -0.004581168759614229, 0.16198056936264038, 0.29406896233558655, -0.21177127957344055, 0.05926075205206871, -0.13920214772224426, 0.2846665382385254, -0.0026634475216269493, -0.1381099969148636, -0.28314509987831116, 0.08785217255353928, -0.17268581688404083, 0.006542190909385681, -0.034320998936891556, 0.09602402150630951, -0.06665036827325821, 0.29199865460395813, 0.2335154265165329, 0.22307032346725464, 0.20013421773910522, 0.12940266728401184, -0.41303616762161255, -0.21831920742988586, 0.21330416202545166, 0.0693068876862526, 0.2085280567407608, -0.19960062205791473, 0.06513874977827072, 0.09008211642503738, 0.1333826184272766, -0.27653074264526367, -0.04129860922694206, 0.10483453422784805, 0.09269066900014877, -0.009269255213439465, 0.3288385272026062, -0.13767461478710175, -0.1803591400384903, -0.02073129639029503, -0.31245338916778564, 0.3481394648551941, -0.31790146231651306, -0.14901790022850037, -0.4259376525878906, 0.1369718462228775, -0.19048412144184113, -0.14714346826076508, 0.29326069355010986, -0.09102462977170944, 0.02647555060684681, 0.5186883211135864, 0.13276877999305725, -0.34900686144828796, -0.12953735888004303, 0.09212225675582886, -0.26526379585266113, 0.3254292905330658, -0.5818994641304016, -0.05341343954205513, -0.07939016073942184, 0.15934884548187256, 0.18433232605457306, -0.011257524602115154, 0.03115847148001194, 0.03438115492463112, 0.0806441456079483, 0.0855773389339447, -0.17917190492153168, -0.06474074721336365, 0.2346343845129013, -0.5695430040359497, -0.08171333372592926, 0.37058717012405396, 0.12268512696027756, 0.06662406772375107, 0.09427504986524582, 0.2174609750509262, 0.06845777481794357, 0.08769837021827698, 0.05094807595014572, -0.09349286556243896, 0.34422677755355835, 0.07752696424722672, 0.17664101719856262, -0.052207015454769135, 0.1103530079126358, 0.501117467880249, -0.13008233904838562, -0.05698345974087715, -0.09728105366230011, -0.21541133522987366, 0.26155078411102295, -0.01922362856566906, 0.1972554475069046, 0.11069630831480026, -0.1401664912700653, -0.14616486430168152, 0.23727378249168396, -0.4087134003639221, -0.2597796618938446, 0.1396244615316391, -0.092380590736866, 0.09105230867862701, -0.22254952788352966, -0.24502669274806976, 0.1978527456521988, -0.05161600932478905, 0.32061055302619934, 0.2085639089345932, 0.20831610262393951, 0.03793954476714134, -0.4012283384799957, -0.1099230945110321, -0.06728114187717438, 0.2019769251346588, -0.34450843930244446, -0.017027704045176506, -0.09540246427059174, -0.4426722228527069, 0.26243048906326294, 0.0068359640426933765, -0.23256784677505493, -0.2286776453256607, 0.19808806478977203, 0.4453795850276947, -0.18812550604343414, 0.2934193015098572, 0.07679367810487747, -0.03442110866308212, 0.19172202050685883, -0.0864090621471405, -0.07691816985607147, -0.5967099070549011, -0.3783147633075714, 0.1452171355485916, 0.1264197826385498, -0.16210800409317017, 0.06962306797504425, -0.11545968055725098, -0.28676241636276245, -0.3677314221858978, -0.5962648391723633, 0.14263340830802917, -0.14114055037498474, 0.04939214512705803, 0.03332584723830223, 0.2871361970901489, -0.046245209872722626, -0.37266579270362854, 0.33892080187797546, -0.06525258719921112, -0.057336241006851196, 0.2618943452835083, -0.19221438467502594, 0.045992396771907806, -0.14376333355903625, -0.3216771185398102, 0.05704173445701599, -0.192069873213768, 0.0813474953174591, 0.10864824056625366, 0.21834245324134827, 0.2701728045940399, 0.1873292773962021, 0.007915245369076729, 0.2395165115594864, 0.02775677479803562, -0.057118114084005356, 0.15431202948093414, 0.3436409831047058, -0.26803556084632874, -0.44911280274391174, 0.23535573482513428, -0.1115051880478859, -0.0682595744729042, 0.09343271702528, -0.3769053816795349, -0.11995306611061096, 0.1750728338956833, 0.3584780693054199, 0.0426485575735569, -0.08434176445007324, 0.21835340559482574, 0.13477446138858795, -0.16472159326076508, 0.07482833415269852, -0.08975766599178314, -0.05877735838294029, -0.06892026215791702, 0.015084496699273586, 0.12184286117553711, 0.1822681576013565, -0.051765892654657364, 0.7411169409751892, -0.3927482068538666, 0.28708958625793457, 0.32426995038986206, -0.23988014459609985, -0.0601324588060379, -0.12002157419919968, 0.0085370521992445, -0.09364521503448486, -0.2508558928966522, -0.13874956965446472, 0.25638440251350403, -0.1191379576921463, -0.5117632150650024, -0.2059815526008606, -0.2570590674877167, -0.16283102333545685, -0.28618985414505005, -0.0385332815349102, 0.23443222045898438, 0.19141966104507446, 0.10976049304008484, 0.04359611123800278, -0.095204658806324, -0.2061469554901123, 0.26871737837791443, 0.09562855213880539, -0.0606788694858551, -0.11649694293737411, 0.043039824813604355, -0.2194909006357193, -0.33699285984039307, 0.25989872217178345, 0.25217849016189575, -0.09442612528800964, -0.18748055398464203, -0.17275501787662506, 0.352777361869812, -0.330223947763443, 0.42722687125205994, -0.06059785559773445, 0.14767144620418549, 0.2242620438337326, 0.17476999759674072, -0.4999033212661743, -0.10270601511001587, 0.005711399484425783, 0.039172835648059845, 0.24736417829990387, -0.1326998770236969, -0.36881935596466064, 0.12625767290592194, 0.2690642774105072, -0.06424903869628906, 0.03190579637885094, -0.07406648248434067, -0.3199642300605774, -0.332521915435791, -0.41540461778640747, -0.04580016806721687, -0.03882959857583046, 0.1509431004524231, -0.10615893453359604, 0.017464444041252136, 0.16403347253799438, 0.029669202864170074, -0.24197325110435486, 0.37887465953826904, 0.03204584866762161, -0.04776086285710335, -0.19169221818447113, -0.11882751435041428, 0.09419848769903183, 0.08789447695016861, 0.07387267798185349, 0.13754843175411224, -0.18891610205173492, -0.07023017108440399, -0.05856535583734512, -0.07533871382474899, 0.05828167870640755, -0.03480685502290726, -0.01464782003313303, 0.22292274236679077, -0.2334725707769394, 0.14751866459846497, -0.07995524257421494, 0.20127065479755402, -0.1663190871477127, -0.2138110250234604, 0.10044853389263153, 0.6166428327560425, 0.05083965137600899, -0.09416845440864563, -0.009614410810172558, 0.238743394613266, -0.20645643770694733, 0.27465352416038513, 0.1208556741476059, 0.6306126713752747, -0.006361293140798807, 0.3525364100933075, 0.5068601369857788, -0.13242360949516296, 0.45916569232940674, -0.13978594541549683, 0.2460457980632782, -0.4624263644218445, 0.27249401807785034, -0.01790788397192955, 0.0029890909790992737, -0.17196772992610931, -0.18634383380413055, -0.20280037820339203, -0.0224875770509243, -0.07089997828006744, 0.13913218677043915, 0.12461982667446136, 0.26065146923065186, 0.20241352915763855, 0.04855426773428917, -0.0874907523393631, 0.16046233475208282, -0.07077578455209732, 0.29510021209716797, -0.22951966524124146, -0.08899011462926865, -0.031092826277017593, -0.23908467590808868, -0.14451341331005096, 0.2710984945297241, -0.04911898449063301, 0.4470316469669342, -0.08531160652637482, -0.35885050892829895, -0.0054058535024523735, 0.06059517338871956, -0.08775482326745987, -0.06617042422294617, -0.2594728469848633, 0.13254676759243011, -0.02640700154006481, -0.4157346189022064, -0.18026290833950043, 0.22305366396903992, 0.055943600833415985, -0.2658258080482483, -0.32666507363319397, 0.2756097614765167, -0.17508725821971893, -0.2677910327911377, -0.14220550656318665, 0.14925310015678406, 0.09044533967971802, 0.06154363602399826, -0.10818341374397278, -0.22742897272109985, -0.1228320375084877, -0.2734667658805847, 0.24317744374275208, -0.4549412131309509, 0.09650572389364243, -0.15537722408771515, 0.32308775186538696, -0.19687581062316895, 0.022687891498208046, 0.30522751808166504, 0.035787519067525864, 0.29838013648986816, 0.4919072091579437, 0.4394451379776001, -0.3519117832183838, -0.18307290971279144, -0.4844774901866913, -0.32236987352371216, -0.2364642322063446, -0.11282368004322052, 0.19595381617546082, 0.16438095271587372, -0.2103092223405838, 0.3016353249549866, 0.19417604804039001, -0.0780639573931694, 0.15919993817806244, -0.22535772621631622, -0.10348100960254669, 0.2829435169696808, -0.14410535991191864, -0.060322437435388565, 0.5179268717765808, 0.16348762810230255, 0.2212667018175125, -0.07050809264183044, -0.36967718601226807, 0.1330840289592743, -0.14279800653457642, 0.10305753350257874, -0.08333338052034378, -0.19565998017787933, -0.2896912097930908, 0.055006880313158035, 0.27725616097450256, -0.10839416831731796, -0.0499800369143486, -0.3291985094547272, 0.006488557904958725, 0.05225159227848053, 0.04795876145362854, -0.24254338443279266, 0.004728241823613644, -0.2291436344385147, 0.04819269850850105, 0.13799916207790375, 0.15372227132320404, -0.10233087837696075, -0.07667659223079681, 0.14152061939239502, 0.14852695167064667, 0.2039637565612793, -0.27787619829177856, 0.29521629214286804, -0.3112974762916565, 0.42663899064064026, 0.05702776834368706, 0.08531751483678818, -0.05697416514158249, -0.0511920303106308, -0.0446007214486599, 0.05618838593363762, 0.09656426310539246, -0.027050981298089027, 0.17744246125221252, -0.3523215055465698, -0.1779695600271225, -0.07322760671377182, 0.05648418515920639, 0.15071693062782288, -0.184862419962883, -0.06853709369897842, 0.043547168374061584, 0.2791585922241211, -0.31024879217147827, -0.04846649616956711, 0.32883113622665405, -0.32669535279273987, -0.05618288367986679, -0.07022098451852798, 0.40409019589424133, -0.21532480418682098, 0.21530316770076752, 0.2958682179450989, 0.09152273833751678, -0.10033467411994934, -0.09789340198040009, 0.0844150111079216, 0.005163425114005804, 0.02158161625266075, -0.09924444556236267, 0.17130935192108154, 0.06728045642375946, 0.17243008315563202, -0.04759163782000542, -0.16133585572242737, 0.033485621213912964, 0.13897569477558136, -0.12215586751699448, -0.1906508505344391, 0.16090989112854004, 0.16830012202262878, 0.13667403161525726, -0.19950434565544128, 0.3194390833377838, 0.32444050908088684, 0.5986112952232361, 0.2129264622926712, -0.1993483006954193, 0.3054339587688446, -0.06545142829418182, -0.16811628639698029, -0.3775692880153656, -0.2766534090042114, 0.29579389095306396, 0.1102006584405899, -0.1573491096496582, -0.08195332437753677, 0.07936804741621017, 0.24682995676994324, -0.18912841379642487, -0.33672353625297546, 0.5062373280525208, -0.023270098492503166, 0.1921185553073883, -0.029500581324100494, 0.15191322565078735, 0.05712732672691345, -0.17828062176704407, -0.08627146482467651, 0.012766724452376366, 0.4925367832183838, 0.20241549611091614, -0.8113409876823425, -0.15535400807857513, -0.17647120356559753, 0.04070955514907837, 0.015009619295597076, 0.019610673189163208, 0.37068283557891846, 0.06357637047767639, 0.28402817249298096, 0.18340656161308289, -0.23334233462810516, -0.07827963680028915, 0.45634910464286804, 0.053778402507305145, 0.1957341432571411, -0.5552564859390259, -0.04118267819285393, -0.07919307053089142, -0.04713790863752365, -0.0007561902748420835, -0.3256831467151642, 0.20131009817123413, 0.12517960369586945, 0.14922425150871277, 0.09099166840314865, -0.06037018075585365, 0.14700517058372498, -0.1295299530029297, 0.5080748796463013, 0.29174941778182983, 0.3753795623779297, -0.14966590702533722, -0.178898423910141, -0.43894824385643005, 0.488786906003952, -0.3516939878463745, -0.06323988735675812, 0.1821759194135666, 0.12421248853206635, -0.16693836450576782, 0.04609336331486702, -0.061378877609968185, -0.2370162010192871, -0.16575847566127777, 0.2100117951631546, -0.24872466921806335, 0.10841996967792511, -0.010287481360137463, -0.24509777128696442, -0.37073850631713867, -0.1155354231595993, 0.17038677632808685, -0.24387624859809875, 0.1955506056547165, -0.14950960874557495, -0.1498841494321823, 0.01142107043415308, 0.22711898386478424, 0.40354594588279724, -0.018185416236519814, 0.6228744983673096, -0.125030517578125, 0.011062231846153736, -0.016886763274669647, -0.1052900180220604, 0.12102451175451279, 0.35231688618659973, 0.15361745655536652, -0.0407063327729702, 0.16226953268051147, -0.25241875648498535, -0.033028244972229004, 0.7562212944030762, 0.01457809004932642, 0.03407888859510422, -0.11571141332387924, -0.14691931009292603, 0.20228669047355652, 0.1126997321844101, -0.3055201470851898, -0.08227108418941498, -0.04695462808012962, 0.021106764674186707, -0.2632746696472168, -0.6123051643371582, 0.2348872870206833, -0.44332557916641235, -0.35386621952056885, -0.022721081972122192, 0.13409890234470367, -0.11962471902370453, 0.05356913059949875, -0.05054359510540962, -0.025035008788108826, 0.19689275324344635, -0.05357951298356056, -0.23250986635684967, -0.08805934339761734, -0.03675341606140137, -0.10179595649242401, -0.1866438388824463, -0.04421136528253555, 0.05221736058592796, -0.14955252408981323, -0.43080636858940125, -0.38330504298210144 ]
https://github.com/huggingface/datasets/issues/2144
Loading wikipedia 20200501.en throws pyarrow related error
> Hi ! It looks like the arrow file in the folder > `/usr/local/workspace/NAS_NLP/cache/wikipedia/20200501.en/1.0.0/50aa706aa417bb77d910ad61211cc672c0ef3e0f224225a5e0a18277ade8b931` is corrupted. > > Can you take a look and check that it's 18.3GB ? > > If not, then maybe you need to redownload it: > > ```python > from datasets import load_dataset > ds = load_dataset('wikipedia', '20200501.en', cache_dir='/usr/local/workspace/NAS_NLP/cache', download_mode="force_redownload") > ``` Hi Ihoestq, thanks for the reply! Actually i think my issue is i couldn't download the dataset beyond 10.7G. It feels like the whole dataset is split into different volumes and after the first one was downloaded it crashed before proceeding to the next one. I did try 'force_redownload' mode but still got the same issue.
**Problem description** I am getting the following error when trying to load wikipedia/20200501.en dataset. **Error log** Downloading and preparing dataset wikipedia/20200501.en (download: 16.99 GiB, generated: 17.07 GiB, post-processed: Unknown size, total: 34.06 GiB) to /usr/local/workspace/NAS_NLP/cache/wikipedia/20200501.en/1.0.0/50aa706aa417bb77d910ad61211cc672c0ef3e0f224225a5e0a18277ade8b931... Downloading: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 14.6k/14.6k [00:00<00:00, 5.41MB/s] Downloading: 59%|███████████████████████████████████████████████████████████████████████████████████████▊ | 10.7G/18.3G [11:30<08:08, 15.5MB/s] Dataset wikipedia downloaded and prepared to /usr/local/workspace/NAS_NLP/cache/wikipedia/20200501.en/1.0.0/50aa706aa417bb77d910ad61211cc672c0ef3e0f224225a5e0a18277ade8b931. Subsequent calls will reuse this data. Traceback (most recent call last): File "load_wiki.py", line 2, in <module> ds = load_dataset('wikipedia', '20200501.en', cache_dir='/usr/local/workspace/NAS_NLP/cache') File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 751, in load_dataset ds = builder_instance.as_dataset(split=split, ignore_verifications=ignore_verifications, in_memory=keep_in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/builder.py", line 746, in as_dataset map_tuple=True, File "/usr/local/lib/python3.6/dist-packages/datasets/utils/py_utils.py", line 204, in map_nested _single_map_nested((function, obj, types, None, True)) for obj in tqdm(iterable, disable=disable_tqdm) File "/usr/local/lib/python3.6/dist-packages/datasets/utils/py_utils.py", line 204, in <listcomp> _single_map_nested((function, obj, types, None, True)) for obj in tqdm(iterable, disable=disable_tqdm) File "/usr/local/lib/python3.6/dist-packages/datasets/utils/py_utils.py", line 142, in _single_map_nested return function(data_struct) File "/usr/local/lib/python3.6/dist-packages/datasets/builder.py", line 763, in _build_single_dataset in_memory=in_memory, File "/usr/local/lib/python3.6/dist-packages/datasets/builder.py", line 835, in _as_dataset in_memory=in_memory, File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 215, in read return self.read_files(files=files, original_instructions=instructions, in_memory=in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 236, in read_files pa_table = self._read_files(files, in_memory=in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 171, in _read_files pa_table: pa.Table = self._get_dataset_from_filename(f_dict, in_memory=in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 302, in _get_dataset_from_filename pa_table = ArrowReader.read_table(filename, in_memory=in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 324, in read_table pa_table = f.read_all() File "pyarrow/ipc.pxi", line 544, in pyarrow.lib.RecordBatchReader.read_all File "pyarrow/error.pxi", line 99, in pyarrow.lib.check_status OSError: Expected to be able to read 9176784 bytes for message body, got 4918712 **Detailed version info** datasets==1.5.0 - dataclasses [required: Any, installed: 0.8] - dill [required: Any, installed: 0.3.3] - fsspec [required: Any, installed: 0.8.7] - importlib-metadata [required: Any, installed: 1.7.0] - zipp [required: >=0.5, installed: 3.1.0] - huggingface-hub [required: <0.1.0, installed: 0.0.7] - filelock [required: Any, installed: 3.0.12] - importlib-metadata [required: Any, installed: 1.7.0] - zipp [required: >=0.5, installed: 3.1.0] - requests [required: Any, installed: 2.24.0] - certifi [required: >=2017.4.17, installed: 2020.6.20] - chardet [required: >=3.0.2,<4, installed: 3.0.4] - idna [required: >=2.5,<3, installed: 2.6] - urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.10] - tqdm [required: Any, installed: 4.49.0] - importlib-metadata [required: Any, installed: 1.7.0] - zipp [required: >=0.5, installed: 3.1.0] - multiprocess [required: Any, installed: 0.70.11.1] - dill [required: >=0.3.3, installed: 0.3.3] - numpy [required: >=1.17, installed: 1.17.0] - pandas [required: Any, installed: 1.1.5] - numpy [required: >=1.15.4, installed: 1.17.0] - python-dateutil [required: >=2.7.3, installed: 2.8.0] - six [required: >=1.5, installed: 1.15.0] - pytz [required: >=2017.2, installed: 2020.1] - pyarrow [required: >=0.17.1, installed: 3.0.0] - numpy [required: >=1.16.6, installed: 1.17.0] - requests [required: >=2.19.0, installed: 2.24.0] - certifi [required: >=2017.4.17, installed: 2020.6.20] - chardet [required: >=3.0.2,<4, installed: 3.0.4] - idna [required: >=2.5,<3, installed: 2.6] - urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.10] - tqdm [required: >=4.27,<4.50.0, installed: 4.49.0] - xxhash [required: Any, installed: 2.0.0]
113
Loading wikipedia 20200501.en throws pyarrow related error
[ -0.032954469323158264, 0.17994898557662964, -0.10841347277164459, 0.1074313148856163, 0.16550607979297638, -0.00740303099155426, 0.11883269995450974, 0.3750694990158081, 0.11225422471761703, 0.09606831520795822, 0.04252804443240166, 0.4776451587677002, 0.21631203591823578, -0.10413283854722977, 0.06792208552360535, -0.20503632724285126, 0.20949482917785645, 0.18519265949726105, -0.05867883563041687, 0.06330746412277222, -0.23451237380504608, 0.22007374465465546, -0.2532670795917511, 0.2828524112701416, -0.2824955880641937, 0.15130050480365753, 0.1611681878566742, 0.16680407524108887, 0.028241602703928947, -0.4608975946903229, 0.17809344828128815, -0.05987786501646042, 0.1419299989938736, 0.12243889272212982, -0.00010355615086155012, 0.11131787300109863, 0.5784373879432678, 0.1368299275636673, -0.16412895917892456, 0.11349652707576752, 0.16845422983169556, 0.11003179103136063, 0.2908715605735779, -0.39768996834754944, 0.02746966853737831, -0.21837517619132996, 0.22245651483535767, 0.3462494909763336, 0.1094527468085289, 0.05696024000644684, 0.29715579748153687, 0.05735592916607857, 0.29083800315856934, -0.02919846959412098, 0.7570096254348755, -0.34881022572517395, 0.1309332698583603, 0.24810418486595154, -0.015536095947027206, -0.22197431325912476, -0.25934067368507385, 0.3310054540634155, -0.16148005425930023, -0.1498047560453415, 0.2257189303636551, -0.15704800188541412, 0.3067924678325653, -0.1786835640668869, 0.2631194293498993, 0.05696059763431549, 0.3903398811817169, -0.19269797205924988, 0.19320285320281982, 0.17360427975654602, -0.08384978026151657, -0.03779557719826698, 0.4122454524040222, 0.06196913495659828, -0.17995204031467438, -0.013352112844586372, 0.515321671962738, -0.241240993142128, -0.337295800447464, 0.2665022015571594, -0.18702565133571625, 0.49079862236976624, 0.21571403741836548, 0.16575577855110168, 0.13177615404129028, -0.12359209358692169, 0.11322925239801407, 0.19976438581943512, 0.09744908660650253, 0.24112409353256226, 0.03109086863696575, 0.10882385075092316, 0.15727584064006805, 0.1853717863559723, 0.22897778451442719, -0.172315314412117, -0.08099435269832611, 0.305558443069458, 0.22779764235019684, 0.21367378532886505, 0.14030680060386658, -0.23442573845386505, -0.2084752768278122, -0.2574187219142914, 0.597995936870575, 0.3546556532382965, -0.15981727838516235, 0.2114787995815277, -0.054083798080682755, -0.3300359547138214, -0.013032812625169754, -0.023364143446087837, 0.2546117901802063, -0.11618530750274658, 0.19609245657920837, 0.13537609577178955, -0.24781256914138794, -0.06067923456430435, -0.33647146821022034, 0.26187998056411743, -0.2131543904542923, -0.06630776822566986, 0.028964906930923462, 0.021138302981853485, -0.3904573321342468, -0.06426490098237991, -0.0699210837483406, 0.3137396574020386, -0.06512439996004105, 0.03390306979417801, 0.200832799077034, -0.17707453668117523, 0.12381426990032196, 0.13107849657535553, -0.06728187203407288, -0.17100226879119873, 0.025099873542785645, 0.230662539601326, -0.3233497440814972, 0.3305476903915405, 0.21368446946144104, 0.06042831763625145, -0.03437941521406174, -0.20292088389396667, -0.011544588021934032, 0.30795788764953613, -0.17214789986610413, -0.3393257260322571, -0.2181253433227539, 0.2481987625360489, 0.11466149985790253, 0.03181643411517143, 0.26120102405548096, -0.1314479112625122, 0.17593036592006683, -0.43379074335098267, -0.1764230579137802, -0.02947988174855709, 0.005094686057418585, -0.2945079505443573, 0.2181619107723236, 0.05877874791622162, -0.28610584139823914, 0.05184829235076904, 0.18805436789989471, -0.004581168759614229, 0.16198056936264038, 0.29406896233558655, -0.21177127957344055, 0.05926075205206871, -0.13920214772224426, 0.2846665382385254, -0.0026634475216269493, -0.1381099969148636, -0.28314509987831116, 0.08785217255353928, -0.17268581688404083, 0.006542190909385681, -0.034320998936891556, 0.09602402150630951, -0.06665036827325821, 0.29199865460395813, 0.2335154265165329, 0.22307032346725464, 0.20013421773910522, 0.12940266728401184, -0.41303616762161255, -0.21831920742988586, 0.21330416202545166, 0.0693068876862526, 0.2085280567407608, -0.19960062205791473, 0.06513874977827072, 0.09008211642503738, 0.1333826184272766, -0.27653074264526367, -0.04129860922694206, 0.10483453422784805, 0.09269066900014877, -0.009269255213439465, 0.3288385272026062, -0.13767461478710175, -0.1803591400384903, -0.02073129639029503, -0.31245338916778564, 0.3481394648551941, -0.31790146231651306, -0.14901790022850037, -0.4259376525878906, 0.1369718462228775, -0.19048412144184113, -0.14714346826076508, 0.29326069355010986, -0.09102462977170944, 0.02647555060684681, 0.5186883211135864, 0.13276877999305725, -0.34900686144828796, -0.12953735888004303, 0.09212225675582886, -0.26526379585266113, 0.3254292905330658, -0.5818994641304016, -0.05341343954205513, -0.07939016073942184, 0.15934884548187256, 0.18433232605457306, -0.011257524602115154, 0.03115847148001194, 0.03438115492463112, 0.0806441456079483, 0.0855773389339447, -0.17917190492153168, -0.06474074721336365, 0.2346343845129013, -0.5695430040359497, -0.08171333372592926, 0.37058717012405396, 0.12268512696027756, 0.06662406772375107, 0.09427504986524582, 0.2174609750509262, 0.06845777481794357, 0.08769837021827698, 0.05094807595014572, -0.09349286556243896, 0.34422677755355835, 0.07752696424722672, 0.17664101719856262, -0.052207015454769135, 0.1103530079126358, 0.501117467880249, -0.13008233904838562, -0.05698345974087715, -0.09728105366230011, -0.21541133522987366, 0.26155078411102295, -0.01922362856566906, 0.1972554475069046, 0.11069630831480026, -0.1401664912700653, -0.14616486430168152, 0.23727378249168396, -0.4087134003639221, -0.2597796618938446, 0.1396244615316391, -0.092380590736866, 0.09105230867862701, -0.22254952788352966, -0.24502669274806976, 0.1978527456521988, -0.05161600932478905, 0.32061055302619934, 0.2085639089345932, 0.20831610262393951, 0.03793954476714134, -0.4012283384799957, -0.1099230945110321, -0.06728114187717438, 0.2019769251346588, -0.34450843930244446, -0.017027704045176506, -0.09540246427059174, -0.4426722228527069, 0.26243048906326294, 0.0068359640426933765, -0.23256784677505493, -0.2286776453256607, 0.19808806478977203, 0.4453795850276947, -0.18812550604343414, 0.2934193015098572, 0.07679367810487747, -0.03442110866308212, 0.19172202050685883, -0.0864090621471405, -0.07691816985607147, -0.5967099070549011, -0.3783147633075714, 0.1452171355485916, 0.1264197826385498, -0.16210800409317017, 0.06962306797504425, -0.11545968055725098, -0.28676241636276245, -0.3677314221858978, -0.5962648391723633, 0.14263340830802917, -0.14114055037498474, 0.04939214512705803, 0.03332584723830223, 0.2871361970901489, -0.046245209872722626, -0.37266579270362854, 0.33892080187797546, -0.06525258719921112, -0.057336241006851196, 0.2618943452835083, -0.19221438467502594, 0.045992396771907806, -0.14376333355903625, -0.3216771185398102, 0.05704173445701599, -0.192069873213768, 0.0813474953174591, 0.10864824056625366, 0.21834245324134827, 0.2701728045940399, 0.1873292773962021, 0.007915245369076729, 0.2395165115594864, 0.02775677479803562, -0.057118114084005356, 0.15431202948093414, 0.3436409831047058, -0.26803556084632874, -0.44911280274391174, 0.23535573482513428, -0.1115051880478859, -0.0682595744729042, 0.09343271702528, -0.3769053816795349, -0.11995306611061096, 0.1750728338956833, 0.3584780693054199, 0.0426485575735569, -0.08434176445007324, 0.21835340559482574, 0.13477446138858795, -0.16472159326076508, 0.07482833415269852, -0.08975766599178314, -0.05877735838294029, -0.06892026215791702, 0.015084496699273586, 0.12184286117553711, 0.1822681576013565, -0.051765892654657364, 0.7411169409751892, -0.3927482068538666, 0.28708958625793457, 0.32426995038986206, -0.23988014459609985, -0.0601324588060379, -0.12002157419919968, 0.0085370521992445, -0.09364521503448486, -0.2508558928966522, -0.13874956965446472, 0.25638440251350403, -0.1191379576921463, -0.5117632150650024, -0.2059815526008606, -0.2570590674877167, -0.16283102333545685, -0.28618985414505005, -0.0385332815349102, 0.23443222045898438, 0.19141966104507446, 0.10976049304008484, 0.04359611123800278, -0.095204658806324, -0.2061469554901123, 0.26871737837791443, 0.09562855213880539, -0.0606788694858551, -0.11649694293737411, 0.043039824813604355, -0.2194909006357193, -0.33699285984039307, 0.25989872217178345, 0.25217849016189575, -0.09442612528800964, -0.18748055398464203, -0.17275501787662506, 0.352777361869812, -0.330223947763443, 0.42722687125205994, -0.06059785559773445, 0.14767144620418549, 0.2242620438337326, 0.17476999759674072, -0.4999033212661743, -0.10270601511001587, 0.005711399484425783, 0.039172835648059845, 0.24736417829990387, -0.1326998770236969, -0.36881935596466064, 0.12625767290592194, 0.2690642774105072, -0.06424903869628906, 0.03190579637885094, -0.07406648248434067, -0.3199642300605774, -0.332521915435791, -0.41540461778640747, -0.04580016806721687, -0.03882959857583046, 0.1509431004524231, -0.10615893453359604, 0.017464444041252136, 0.16403347253799438, 0.029669202864170074, -0.24197325110435486, 0.37887465953826904, 0.03204584866762161, -0.04776086285710335, -0.19169221818447113, -0.11882751435041428, 0.09419848769903183, 0.08789447695016861, 0.07387267798185349, 0.13754843175411224, -0.18891610205173492, -0.07023017108440399, -0.05856535583734512, -0.07533871382474899, 0.05828167870640755, -0.03480685502290726, -0.01464782003313303, 0.22292274236679077, -0.2334725707769394, 0.14751866459846497, -0.07995524257421494, 0.20127065479755402, -0.1663190871477127, -0.2138110250234604, 0.10044853389263153, 0.6166428327560425, 0.05083965137600899, -0.09416845440864563, -0.009614410810172558, 0.238743394613266, -0.20645643770694733, 0.27465352416038513, 0.1208556741476059, 0.6306126713752747, -0.006361293140798807, 0.3525364100933075, 0.5068601369857788, -0.13242360949516296, 0.45916569232940674, -0.13978594541549683, 0.2460457980632782, -0.4624263644218445, 0.27249401807785034, -0.01790788397192955, 0.0029890909790992737, -0.17196772992610931, -0.18634383380413055, -0.20280037820339203, -0.0224875770509243, -0.07089997828006744, 0.13913218677043915, 0.12461982667446136, 0.26065146923065186, 0.20241352915763855, 0.04855426773428917, -0.0874907523393631, 0.16046233475208282, -0.07077578455209732, 0.29510021209716797, -0.22951966524124146, -0.08899011462926865, -0.031092826277017593, -0.23908467590808868, -0.14451341331005096, 0.2710984945297241, -0.04911898449063301, 0.4470316469669342, -0.08531160652637482, -0.35885050892829895, -0.0054058535024523735, 0.06059517338871956, -0.08775482326745987, -0.06617042422294617, -0.2594728469848633, 0.13254676759243011, -0.02640700154006481, -0.4157346189022064, -0.18026290833950043, 0.22305366396903992, 0.055943600833415985, -0.2658258080482483, -0.32666507363319397, 0.2756097614765167, -0.17508725821971893, -0.2677910327911377, -0.14220550656318665, 0.14925310015678406, 0.09044533967971802, 0.06154363602399826, -0.10818341374397278, -0.22742897272109985, -0.1228320375084877, -0.2734667658805847, 0.24317744374275208, -0.4549412131309509, 0.09650572389364243, -0.15537722408771515, 0.32308775186538696, -0.19687581062316895, 0.022687891498208046, 0.30522751808166504, 0.035787519067525864, 0.29838013648986816, 0.4919072091579437, 0.4394451379776001, -0.3519117832183838, -0.18307290971279144, -0.4844774901866913, -0.32236987352371216, -0.2364642322063446, -0.11282368004322052, 0.19595381617546082, 0.16438095271587372, -0.2103092223405838, 0.3016353249549866, 0.19417604804039001, -0.0780639573931694, 0.15919993817806244, -0.22535772621631622, -0.10348100960254669, 0.2829435169696808, -0.14410535991191864, -0.060322437435388565, 0.5179268717765808, 0.16348762810230255, 0.2212667018175125, -0.07050809264183044, -0.36967718601226807, 0.1330840289592743, -0.14279800653457642, 0.10305753350257874, -0.08333338052034378, -0.19565998017787933, -0.2896912097930908, 0.055006880313158035, 0.27725616097450256, -0.10839416831731796, -0.0499800369143486, -0.3291985094547272, 0.006488557904958725, 0.05225159227848053, 0.04795876145362854, -0.24254338443279266, 0.004728241823613644, -0.2291436344385147, 0.04819269850850105, 0.13799916207790375, 0.15372227132320404, -0.10233087837696075, -0.07667659223079681, 0.14152061939239502, 0.14852695167064667, 0.2039637565612793, -0.27787619829177856, 0.29521629214286804, -0.3112974762916565, 0.42663899064064026, 0.05702776834368706, 0.08531751483678818, -0.05697416514158249, -0.0511920303106308, -0.0446007214486599, 0.05618838593363762, 0.09656426310539246, -0.027050981298089027, 0.17744246125221252, -0.3523215055465698, -0.1779695600271225, -0.07322760671377182, 0.05648418515920639, 0.15071693062782288, -0.184862419962883, -0.06853709369897842, 0.043547168374061584, 0.2791585922241211, -0.31024879217147827, -0.04846649616956711, 0.32883113622665405, -0.32669535279273987, -0.05618288367986679, -0.07022098451852798, 0.40409019589424133, -0.21532480418682098, 0.21530316770076752, 0.2958682179450989, 0.09152273833751678, -0.10033467411994934, -0.09789340198040009, 0.0844150111079216, 0.005163425114005804, 0.02158161625266075, -0.09924444556236267, 0.17130935192108154, 0.06728045642375946, 0.17243008315563202, -0.04759163782000542, -0.16133585572242737, 0.033485621213912964, 0.13897569477558136, -0.12215586751699448, -0.1906508505344391, 0.16090989112854004, 0.16830012202262878, 0.13667403161525726, -0.19950434565544128, 0.3194390833377838, 0.32444050908088684, 0.5986112952232361, 0.2129264622926712, -0.1993483006954193, 0.3054339587688446, -0.06545142829418182, -0.16811628639698029, -0.3775692880153656, -0.2766534090042114, 0.29579389095306396, 0.1102006584405899, -0.1573491096496582, -0.08195332437753677, 0.07936804741621017, 0.24682995676994324, -0.18912841379642487, -0.33672353625297546, 0.5062373280525208, -0.023270098492503166, 0.1921185553073883, -0.029500581324100494, 0.15191322565078735, 0.05712732672691345, -0.17828062176704407, -0.08627146482467651, 0.012766724452376366, 0.4925367832183838, 0.20241549611091614, -0.8113409876823425, -0.15535400807857513, -0.17647120356559753, 0.04070955514907837, 0.015009619295597076, 0.019610673189163208, 0.37068283557891846, 0.06357637047767639, 0.28402817249298096, 0.18340656161308289, -0.23334233462810516, -0.07827963680028915, 0.45634910464286804, 0.053778402507305145, 0.1957341432571411, -0.5552564859390259, -0.04118267819285393, -0.07919307053089142, -0.04713790863752365, -0.0007561902748420835, -0.3256831467151642, 0.20131009817123413, 0.12517960369586945, 0.14922425150871277, 0.09099166840314865, -0.06037018075585365, 0.14700517058372498, -0.1295299530029297, 0.5080748796463013, 0.29174941778182983, 0.3753795623779297, -0.14966590702533722, -0.178898423910141, -0.43894824385643005, 0.488786906003952, -0.3516939878463745, -0.06323988735675812, 0.1821759194135666, 0.12421248853206635, -0.16693836450576782, 0.04609336331486702, -0.061378877609968185, -0.2370162010192871, -0.16575847566127777, 0.2100117951631546, -0.24872466921806335, 0.10841996967792511, -0.010287481360137463, -0.24509777128696442, -0.37073850631713867, -0.1155354231595993, 0.17038677632808685, -0.24387624859809875, 0.1955506056547165, -0.14950960874557495, -0.1498841494321823, 0.01142107043415308, 0.22711898386478424, 0.40354594588279724, -0.018185416236519814, 0.6228744983673096, -0.125030517578125, 0.011062231846153736, -0.016886763274669647, -0.1052900180220604, 0.12102451175451279, 0.35231688618659973, 0.15361745655536652, -0.0407063327729702, 0.16226953268051147, -0.25241875648498535, -0.033028244972229004, 0.7562212944030762, 0.01457809004932642, 0.03407888859510422, -0.11571141332387924, -0.14691931009292603, 0.20228669047355652, 0.1126997321844101, -0.3055201470851898, -0.08227108418941498, -0.04695462808012962, 0.021106764674186707, -0.2632746696472168, -0.6123051643371582, 0.2348872870206833, -0.44332557916641235, -0.35386621952056885, -0.022721081972122192, 0.13409890234470367, -0.11962471902370453, 0.05356913059949875, -0.05054359510540962, -0.025035008788108826, 0.19689275324344635, -0.05357951298356056, -0.23250986635684967, -0.08805934339761734, -0.03675341606140137, -0.10179595649242401, -0.1866438388824463, -0.04421136528253555, 0.05221736058592796, -0.14955252408981323, -0.43080636858940125, -0.38330504298210144 ]
https://github.com/huggingface/datasets/issues/2144
Loading wikipedia 20200501.en throws pyarrow related error
I just tried on my side and got no issues. When downloading the dataset again, did it crash at 10.7GB as well ?
**Problem description** I am getting the following error when trying to load wikipedia/20200501.en dataset. **Error log** Downloading and preparing dataset wikipedia/20200501.en (download: 16.99 GiB, generated: 17.07 GiB, post-processed: Unknown size, total: 34.06 GiB) to /usr/local/workspace/NAS_NLP/cache/wikipedia/20200501.en/1.0.0/50aa706aa417bb77d910ad61211cc672c0ef3e0f224225a5e0a18277ade8b931... Downloading: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 14.6k/14.6k [00:00<00:00, 5.41MB/s] Downloading: 59%|███████████████████████████████████████████████████████████████████████████████████████▊ | 10.7G/18.3G [11:30<08:08, 15.5MB/s] Dataset wikipedia downloaded and prepared to /usr/local/workspace/NAS_NLP/cache/wikipedia/20200501.en/1.0.0/50aa706aa417bb77d910ad61211cc672c0ef3e0f224225a5e0a18277ade8b931. Subsequent calls will reuse this data. Traceback (most recent call last): File "load_wiki.py", line 2, in <module> ds = load_dataset('wikipedia', '20200501.en', cache_dir='/usr/local/workspace/NAS_NLP/cache') File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 751, in load_dataset ds = builder_instance.as_dataset(split=split, ignore_verifications=ignore_verifications, in_memory=keep_in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/builder.py", line 746, in as_dataset map_tuple=True, File "/usr/local/lib/python3.6/dist-packages/datasets/utils/py_utils.py", line 204, in map_nested _single_map_nested((function, obj, types, None, True)) for obj in tqdm(iterable, disable=disable_tqdm) File "/usr/local/lib/python3.6/dist-packages/datasets/utils/py_utils.py", line 204, in <listcomp> _single_map_nested((function, obj, types, None, True)) for obj in tqdm(iterable, disable=disable_tqdm) File "/usr/local/lib/python3.6/dist-packages/datasets/utils/py_utils.py", line 142, in _single_map_nested return function(data_struct) File "/usr/local/lib/python3.6/dist-packages/datasets/builder.py", line 763, in _build_single_dataset in_memory=in_memory, File "/usr/local/lib/python3.6/dist-packages/datasets/builder.py", line 835, in _as_dataset in_memory=in_memory, File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 215, in read return self.read_files(files=files, original_instructions=instructions, in_memory=in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 236, in read_files pa_table = self._read_files(files, in_memory=in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 171, in _read_files pa_table: pa.Table = self._get_dataset_from_filename(f_dict, in_memory=in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 302, in _get_dataset_from_filename pa_table = ArrowReader.read_table(filename, in_memory=in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 324, in read_table pa_table = f.read_all() File "pyarrow/ipc.pxi", line 544, in pyarrow.lib.RecordBatchReader.read_all File "pyarrow/error.pxi", line 99, in pyarrow.lib.check_status OSError: Expected to be able to read 9176784 bytes for message body, got 4918712 **Detailed version info** datasets==1.5.0 - dataclasses [required: Any, installed: 0.8] - dill [required: Any, installed: 0.3.3] - fsspec [required: Any, installed: 0.8.7] - importlib-metadata [required: Any, installed: 1.7.0] - zipp [required: >=0.5, installed: 3.1.0] - huggingface-hub [required: <0.1.0, installed: 0.0.7] - filelock [required: Any, installed: 3.0.12] - importlib-metadata [required: Any, installed: 1.7.0] - zipp [required: >=0.5, installed: 3.1.0] - requests [required: Any, installed: 2.24.0] - certifi [required: >=2017.4.17, installed: 2020.6.20] - chardet [required: >=3.0.2,<4, installed: 3.0.4] - idna [required: >=2.5,<3, installed: 2.6] - urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.10] - tqdm [required: Any, installed: 4.49.0] - importlib-metadata [required: Any, installed: 1.7.0] - zipp [required: >=0.5, installed: 3.1.0] - multiprocess [required: Any, installed: 0.70.11.1] - dill [required: >=0.3.3, installed: 0.3.3] - numpy [required: >=1.17, installed: 1.17.0] - pandas [required: Any, installed: 1.1.5] - numpy [required: >=1.15.4, installed: 1.17.0] - python-dateutil [required: >=2.7.3, installed: 2.8.0] - six [required: >=1.5, installed: 1.15.0] - pytz [required: >=2017.2, installed: 2020.1] - pyarrow [required: >=0.17.1, installed: 3.0.0] - numpy [required: >=1.16.6, installed: 1.17.0] - requests [required: >=2.19.0, installed: 2.24.0] - certifi [required: >=2017.4.17, installed: 2020.6.20] - chardet [required: >=3.0.2,<4, installed: 3.0.4] - idna [required: >=2.5,<3, installed: 2.6] - urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.10] - tqdm [required: >=4.27,<4.50.0, installed: 4.49.0] - xxhash [required: Any, installed: 2.0.0]
23
Loading wikipedia 20200501.en throws pyarrow related error
[ -0.032954469323158264, 0.17994898557662964, -0.10841347277164459, 0.1074313148856163, 0.16550607979297638, -0.00740303099155426, 0.11883269995450974, 0.3750694990158081, 0.11225422471761703, 0.09606831520795822, 0.04252804443240166, 0.4776451587677002, 0.21631203591823578, -0.10413283854722977, 0.06792208552360535, -0.20503632724285126, 0.20949482917785645, 0.18519265949726105, -0.05867883563041687, 0.06330746412277222, -0.23451237380504608, 0.22007374465465546, -0.2532670795917511, 0.2828524112701416, -0.2824955880641937, 0.15130050480365753, 0.1611681878566742, 0.16680407524108887, 0.028241602703928947, -0.4608975946903229, 0.17809344828128815, -0.05987786501646042, 0.1419299989938736, 0.12243889272212982, -0.00010355615086155012, 0.11131787300109863, 0.5784373879432678, 0.1368299275636673, -0.16412895917892456, 0.11349652707576752, 0.16845422983169556, 0.11003179103136063, 0.2908715605735779, -0.39768996834754944, 0.02746966853737831, -0.21837517619132996, 0.22245651483535767, 0.3462494909763336, 0.1094527468085289, 0.05696024000644684, 0.29715579748153687, 0.05735592916607857, 0.29083800315856934, -0.02919846959412098, 0.7570096254348755, -0.34881022572517395, 0.1309332698583603, 0.24810418486595154, -0.015536095947027206, -0.22197431325912476, -0.25934067368507385, 0.3310054540634155, -0.16148005425930023, -0.1498047560453415, 0.2257189303636551, -0.15704800188541412, 0.3067924678325653, -0.1786835640668869, 0.2631194293498993, 0.05696059763431549, 0.3903398811817169, -0.19269797205924988, 0.19320285320281982, 0.17360427975654602, -0.08384978026151657, -0.03779557719826698, 0.4122454524040222, 0.06196913495659828, -0.17995204031467438, -0.013352112844586372, 0.515321671962738, -0.241240993142128, -0.337295800447464, 0.2665022015571594, -0.18702565133571625, 0.49079862236976624, 0.21571403741836548, 0.16575577855110168, 0.13177615404129028, -0.12359209358692169, 0.11322925239801407, 0.19976438581943512, 0.09744908660650253, 0.24112409353256226, 0.03109086863696575, 0.10882385075092316, 0.15727584064006805, 0.1853717863559723, 0.22897778451442719, -0.172315314412117, -0.08099435269832611, 0.305558443069458, 0.22779764235019684, 0.21367378532886505, 0.14030680060386658, -0.23442573845386505, -0.2084752768278122, -0.2574187219142914, 0.597995936870575, 0.3546556532382965, -0.15981727838516235, 0.2114787995815277, -0.054083798080682755, -0.3300359547138214, -0.013032812625169754, -0.023364143446087837, 0.2546117901802063, -0.11618530750274658, 0.19609245657920837, 0.13537609577178955, -0.24781256914138794, -0.06067923456430435, -0.33647146821022034, 0.26187998056411743, -0.2131543904542923, -0.06630776822566986, 0.028964906930923462, 0.021138302981853485, -0.3904573321342468, -0.06426490098237991, -0.0699210837483406, 0.3137396574020386, -0.06512439996004105, 0.03390306979417801, 0.200832799077034, -0.17707453668117523, 0.12381426990032196, 0.13107849657535553, -0.06728187203407288, -0.17100226879119873, 0.025099873542785645, 0.230662539601326, -0.3233497440814972, 0.3305476903915405, 0.21368446946144104, 0.06042831763625145, -0.03437941521406174, -0.20292088389396667, -0.011544588021934032, 0.30795788764953613, -0.17214789986610413, -0.3393257260322571, -0.2181253433227539, 0.2481987625360489, 0.11466149985790253, 0.03181643411517143, 0.26120102405548096, -0.1314479112625122, 0.17593036592006683, -0.43379074335098267, -0.1764230579137802, -0.02947988174855709, 0.005094686057418585, -0.2945079505443573, 0.2181619107723236, 0.05877874791622162, -0.28610584139823914, 0.05184829235076904, 0.18805436789989471, -0.004581168759614229, 0.16198056936264038, 0.29406896233558655, -0.21177127957344055, 0.05926075205206871, -0.13920214772224426, 0.2846665382385254, -0.0026634475216269493, -0.1381099969148636, -0.28314509987831116, 0.08785217255353928, -0.17268581688404083, 0.006542190909385681, -0.034320998936891556, 0.09602402150630951, -0.06665036827325821, 0.29199865460395813, 0.2335154265165329, 0.22307032346725464, 0.20013421773910522, 0.12940266728401184, -0.41303616762161255, -0.21831920742988586, 0.21330416202545166, 0.0693068876862526, 0.2085280567407608, -0.19960062205791473, 0.06513874977827072, 0.09008211642503738, 0.1333826184272766, -0.27653074264526367, -0.04129860922694206, 0.10483453422784805, 0.09269066900014877, -0.009269255213439465, 0.3288385272026062, -0.13767461478710175, -0.1803591400384903, -0.02073129639029503, -0.31245338916778564, 0.3481394648551941, -0.31790146231651306, -0.14901790022850037, -0.4259376525878906, 0.1369718462228775, -0.19048412144184113, -0.14714346826076508, 0.29326069355010986, -0.09102462977170944, 0.02647555060684681, 0.5186883211135864, 0.13276877999305725, -0.34900686144828796, -0.12953735888004303, 0.09212225675582886, -0.26526379585266113, 0.3254292905330658, -0.5818994641304016, -0.05341343954205513, -0.07939016073942184, 0.15934884548187256, 0.18433232605457306, -0.011257524602115154, 0.03115847148001194, 0.03438115492463112, 0.0806441456079483, 0.0855773389339447, -0.17917190492153168, -0.06474074721336365, 0.2346343845129013, -0.5695430040359497, -0.08171333372592926, 0.37058717012405396, 0.12268512696027756, 0.06662406772375107, 0.09427504986524582, 0.2174609750509262, 0.06845777481794357, 0.08769837021827698, 0.05094807595014572, -0.09349286556243896, 0.34422677755355835, 0.07752696424722672, 0.17664101719856262, -0.052207015454769135, 0.1103530079126358, 0.501117467880249, -0.13008233904838562, -0.05698345974087715, -0.09728105366230011, -0.21541133522987366, 0.26155078411102295, -0.01922362856566906, 0.1972554475069046, 0.11069630831480026, -0.1401664912700653, -0.14616486430168152, 0.23727378249168396, -0.4087134003639221, -0.2597796618938446, 0.1396244615316391, -0.092380590736866, 0.09105230867862701, -0.22254952788352966, -0.24502669274806976, 0.1978527456521988, -0.05161600932478905, 0.32061055302619934, 0.2085639089345932, 0.20831610262393951, 0.03793954476714134, -0.4012283384799957, -0.1099230945110321, -0.06728114187717438, 0.2019769251346588, -0.34450843930244446, -0.017027704045176506, -0.09540246427059174, -0.4426722228527069, 0.26243048906326294, 0.0068359640426933765, -0.23256784677505493, -0.2286776453256607, 0.19808806478977203, 0.4453795850276947, -0.18812550604343414, 0.2934193015098572, 0.07679367810487747, -0.03442110866308212, 0.19172202050685883, -0.0864090621471405, -0.07691816985607147, -0.5967099070549011, -0.3783147633075714, 0.1452171355485916, 0.1264197826385498, -0.16210800409317017, 0.06962306797504425, -0.11545968055725098, -0.28676241636276245, -0.3677314221858978, -0.5962648391723633, 0.14263340830802917, -0.14114055037498474, 0.04939214512705803, 0.03332584723830223, 0.2871361970901489, -0.046245209872722626, -0.37266579270362854, 0.33892080187797546, -0.06525258719921112, -0.057336241006851196, 0.2618943452835083, -0.19221438467502594, 0.045992396771907806, -0.14376333355903625, -0.3216771185398102, 0.05704173445701599, -0.192069873213768, 0.0813474953174591, 0.10864824056625366, 0.21834245324134827, 0.2701728045940399, 0.1873292773962021, 0.007915245369076729, 0.2395165115594864, 0.02775677479803562, -0.057118114084005356, 0.15431202948093414, 0.3436409831047058, -0.26803556084632874, -0.44911280274391174, 0.23535573482513428, -0.1115051880478859, -0.0682595744729042, 0.09343271702528, -0.3769053816795349, -0.11995306611061096, 0.1750728338956833, 0.3584780693054199, 0.0426485575735569, -0.08434176445007324, 0.21835340559482574, 0.13477446138858795, -0.16472159326076508, 0.07482833415269852, -0.08975766599178314, -0.05877735838294029, -0.06892026215791702, 0.015084496699273586, 0.12184286117553711, 0.1822681576013565, -0.051765892654657364, 0.7411169409751892, -0.3927482068538666, 0.28708958625793457, 0.32426995038986206, -0.23988014459609985, -0.0601324588060379, -0.12002157419919968, 0.0085370521992445, -0.09364521503448486, -0.2508558928966522, -0.13874956965446472, 0.25638440251350403, -0.1191379576921463, -0.5117632150650024, -0.2059815526008606, -0.2570590674877167, -0.16283102333545685, -0.28618985414505005, -0.0385332815349102, 0.23443222045898438, 0.19141966104507446, 0.10976049304008484, 0.04359611123800278, -0.095204658806324, -0.2061469554901123, 0.26871737837791443, 0.09562855213880539, -0.0606788694858551, -0.11649694293737411, 0.043039824813604355, -0.2194909006357193, -0.33699285984039307, 0.25989872217178345, 0.25217849016189575, -0.09442612528800964, -0.18748055398464203, -0.17275501787662506, 0.352777361869812, -0.330223947763443, 0.42722687125205994, -0.06059785559773445, 0.14767144620418549, 0.2242620438337326, 0.17476999759674072, -0.4999033212661743, -0.10270601511001587, 0.005711399484425783, 0.039172835648059845, 0.24736417829990387, -0.1326998770236969, -0.36881935596466064, 0.12625767290592194, 0.2690642774105072, -0.06424903869628906, 0.03190579637885094, -0.07406648248434067, -0.3199642300605774, -0.332521915435791, -0.41540461778640747, -0.04580016806721687, -0.03882959857583046, 0.1509431004524231, -0.10615893453359604, 0.017464444041252136, 0.16403347253799438, 0.029669202864170074, -0.24197325110435486, 0.37887465953826904, 0.03204584866762161, -0.04776086285710335, -0.19169221818447113, -0.11882751435041428, 0.09419848769903183, 0.08789447695016861, 0.07387267798185349, 0.13754843175411224, -0.18891610205173492, -0.07023017108440399, -0.05856535583734512, -0.07533871382474899, 0.05828167870640755, -0.03480685502290726, -0.01464782003313303, 0.22292274236679077, -0.2334725707769394, 0.14751866459846497, -0.07995524257421494, 0.20127065479755402, -0.1663190871477127, -0.2138110250234604, 0.10044853389263153, 0.6166428327560425, 0.05083965137600899, -0.09416845440864563, -0.009614410810172558, 0.238743394613266, -0.20645643770694733, 0.27465352416038513, 0.1208556741476059, 0.6306126713752747, -0.006361293140798807, 0.3525364100933075, 0.5068601369857788, -0.13242360949516296, 0.45916569232940674, -0.13978594541549683, 0.2460457980632782, -0.4624263644218445, 0.27249401807785034, -0.01790788397192955, 0.0029890909790992737, -0.17196772992610931, -0.18634383380413055, -0.20280037820339203, -0.0224875770509243, -0.07089997828006744, 0.13913218677043915, 0.12461982667446136, 0.26065146923065186, 0.20241352915763855, 0.04855426773428917, -0.0874907523393631, 0.16046233475208282, -0.07077578455209732, 0.29510021209716797, -0.22951966524124146, -0.08899011462926865, -0.031092826277017593, -0.23908467590808868, -0.14451341331005096, 0.2710984945297241, -0.04911898449063301, 0.4470316469669342, -0.08531160652637482, -0.35885050892829895, -0.0054058535024523735, 0.06059517338871956, -0.08775482326745987, -0.06617042422294617, -0.2594728469848633, 0.13254676759243011, -0.02640700154006481, -0.4157346189022064, -0.18026290833950043, 0.22305366396903992, 0.055943600833415985, -0.2658258080482483, -0.32666507363319397, 0.2756097614765167, -0.17508725821971893, -0.2677910327911377, -0.14220550656318665, 0.14925310015678406, 0.09044533967971802, 0.06154363602399826, -0.10818341374397278, -0.22742897272109985, -0.1228320375084877, -0.2734667658805847, 0.24317744374275208, -0.4549412131309509, 0.09650572389364243, -0.15537722408771515, 0.32308775186538696, -0.19687581062316895, 0.022687891498208046, 0.30522751808166504, 0.035787519067525864, 0.29838013648986816, 0.4919072091579437, 0.4394451379776001, -0.3519117832183838, -0.18307290971279144, -0.4844774901866913, -0.32236987352371216, -0.2364642322063446, -0.11282368004322052, 0.19595381617546082, 0.16438095271587372, -0.2103092223405838, 0.3016353249549866, 0.19417604804039001, -0.0780639573931694, 0.15919993817806244, -0.22535772621631622, -0.10348100960254669, 0.2829435169696808, -0.14410535991191864, -0.060322437435388565, 0.5179268717765808, 0.16348762810230255, 0.2212667018175125, -0.07050809264183044, -0.36967718601226807, 0.1330840289592743, -0.14279800653457642, 0.10305753350257874, -0.08333338052034378, -0.19565998017787933, -0.2896912097930908, 0.055006880313158035, 0.27725616097450256, -0.10839416831731796, -0.0499800369143486, -0.3291985094547272, 0.006488557904958725, 0.05225159227848053, 0.04795876145362854, -0.24254338443279266, 0.004728241823613644, -0.2291436344385147, 0.04819269850850105, 0.13799916207790375, 0.15372227132320404, -0.10233087837696075, -0.07667659223079681, 0.14152061939239502, 0.14852695167064667, 0.2039637565612793, -0.27787619829177856, 0.29521629214286804, -0.3112974762916565, 0.42663899064064026, 0.05702776834368706, 0.08531751483678818, -0.05697416514158249, -0.0511920303106308, -0.0446007214486599, 0.05618838593363762, 0.09656426310539246, -0.027050981298089027, 0.17744246125221252, -0.3523215055465698, -0.1779695600271225, -0.07322760671377182, 0.05648418515920639, 0.15071693062782288, -0.184862419962883, -0.06853709369897842, 0.043547168374061584, 0.2791585922241211, -0.31024879217147827, -0.04846649616956711, 0.32883113622665405, -0.32669535279273987, -0.05618288367986679, -0.07022098451852798, 0.40409019589424133, -0.21532480418682098, 0.21530316770076752, 0.2958682179450989, 0.09152273833751678, -0.10033467411994934, -0.09789340198040009, 0.0844150111079216, 0.005163425114005804, 0.02158161625266075, -0.09924444556236267, 0.17130935192108154, 0.06728045642375946, 0.17243008315563202, -0.04759163782000542, -0.16133585572242737, 0.033485621213912964, 0.13897569477558136, -0.12215586751699448, -0.1906508505344391, 0.16090989112854004, 0.16830012202262878, 0.13667403161525726, -0.19950434565544128, 0.3194390833377838, 0.32444050908088684, 0.5986112952232361, 0.2129264622926712, -0.1993483006954193, 0.3054339587688446, -0.06545142829418182, -0.16811628639698029, -0.3775692880153656, -0.2766534090042114, 0.29579389095306396, 0.1102006584405899, -0.1573491096496582, -0.08195332437753677, 0.07936804741621017, 0.24682995676994324, -0.18912841379642487, -0.33672353625297546, 0.5062373280525208, -0.023270098492503166, 0.1921185553073883, -0.029500581324100494, 0.15191322565078735, 0.05712732672691345, -0.17828062176704407, -0.08627146482467651, 0.012766724452376366, 0.4925367832183838, 0.20241549611091614, -0.8113409876823425, -0.15535400807857513, -0.17647120356559753, 0.04070955514907837, 0.015009619295597076, 0.019610673189163208, 0.37068283557891846, 0.06357637047767639, 0.28402817249298096, 0.18340656161308289, -0.23334233462810516, -0.07827963680028915, 0.45634910464286804, 0.053778402507305145, 0.1957341432571411, -0.5552564859390259, -0.04118267819285393, -0.07919307053089142, -0.04713790863752365, -0.0007561902748420835, -0.3256831467151642, 0.20131009817123413, 0.12517960369586945, 0.14922425150871277, 0.09099166840314865, -0.06037018075585365, 0.14700517058372498, -0.1295299530029297, 0.5080748796463013, 0.29174941778182983, 0.3753795623779297, -0.14966590702533722, -0.178898423910141, -0.43894824385643005, 0.488786906003952, -0.3516939878463745, -0.06323988735675812, 0.1821759194135666, 0.12421248853206635, -0.16693836450576782, 0.04609336331486702, -0.061378877609968185, -0.2370162010192871, -0.16575847566127777, 0.2100117951631546, -0.24872466921806335, 0.10841996967792511, -0.010287481360137463, -0.24509777128696442, -0.37073850631713867, -0.1155354231595993, 0.17038677632808685, -0.24387624859809875, 0.1955506056547165, -0.14950960874557495, -0.1498841494321823, 0.01142107043415308, 0.22711898386478424, 0.40354594588279724, -0.018185416236519814, 0.6228744983673096, -0.125030517578125, 0.011062231846153736, -0.016886763274669647, -0.1052900180220604, 0.12102451175451279, 0.35231688618659973, 0.15361745655536652, -0.0407063327729702, 0.16226953268051147, -0.25241875648498535, -0.033028244972229004, 0.7562212944030762, 0.01457809004932642, 0.03407888859510422, -0.11571141332387924, -0.14691931009292603, 0.20228669047355652, 0.1126997321844101, -0.3055201470851898, -0.08227108418941498, -0.04695462808012962, 0.021106764674186707, -0.2632746696472168, -0.6123051643371582, 0.2348872870206833, -0.44332557916641235, -0.35386621952056885, -0.022721081972122192, 0.13409890234470367, -0.11962471902370453, 0.05356913059949875, -0.05054359510540962, -0.025035008788108826, 0.19689275324344635, -0.05357951298356056, -0.23250986635684967, -0.08805934339761734, -0.03675341606140137, -0.10179595649242401, -0.1866438388824463, -0.04421136528253555, 0.05221736058592796, -0.14955252408981323, -0.43080636858940125, -0.38330504298210144 ]
https://github.com/huggingface/datasets/issues/2144
Loading wikipedia 20200501.en throws pyarrow related error
> I just tried on my side and got no issues. > When downloading the dataset again, did it crash at 10.7GB as well ? Yes i have tried it multiple times on different machines. I am wondering if you could share the screenshot of your dependency versions and i will try to make them the same as yours?
**Problem description** I am getting the following error when trying to load wikipedia/20200501.en dataset. **Error log** Downloading and preparing dataset wikipedia/20200501.en (download: 16.99 GiB, generated: 17.07 GiB, post-processed: Unknown size, total: 34.06 GiB) to /usr/local/workspace/NAS_NLP/cache/wikipedia/20200501.en/1.0.0/50aa706aa417bb77d910ad61211cc672c0ef3e0f224225a5e0a18277ade8b931... Downloading: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 14.6k/14.6k [00:00<00:00, 5.41MB/s] Downloading: 59%|███████████████████████████████████████████████████████████████████████████████████████▊ | 10.7G/18.3G [11:30<08:08, 15.5MB/s] Dataset wikipedia downloaded and prepared to /usr/local/workspace/NAS_NLP/cache/wikipedia/20200501.en/1.0.0/50aa706aa417bb77d910ad61211cc672c0ef3e0f224225a5e0a18277ade8b931. Subsequent calls will reuse this data. Traceback (most recent call last): File "load_wiki.py", line 2, in <module> ds = load_dataset('wikipedia', '20200501.en', cache_dir='/usr/local/workspace/NAS_NLP/cache') File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 751, in load_dataset ds = builder_instance.as_dataset(split=split, ignore_verifications=ignore_verifications, in_memory=keep_in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/builder.py", line 746, in as_dataset map_tuple=True, File "/usr/local/lib/python3.6/dist-packages/datasets/utils/py_utils.py", line 204, in map_nested _single_map_nested((function, obj, types, None, True)) for obj in tqdm(iterable, disable=disable_tqdm) File "/usr/local/lib/python3.6/dist-packages/datasets/utils/py_utils.py", line 204, in <listcomp> _single_map_nested((function, obj, types, None, True)) for obj in tqdm(iterable, disable=disable_tqdm) File "/usr/local/lib/python3.6/dist-packages/datasets/utils/py_utils.py", line 142, in _single_map_nested return function(data_struct) File "/usr/local/lib/python3.6/dist-packages/datasets/builder.py", line 763, in _build_single_dataset in_memory=in_memory, File "/usr/local/lib/python3.6/dist-packages/datasets/builder.py", line 835, in _as_dataset in_memory=in_memory, File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 215, in read return self.read_files(files=files, original_instructions=instructions, in_memory=in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 236, in read_files pa_table = self._read_files(files, in_memory=in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 171, in _read_files pa_table: pa.Table = self._get_dataset_from_filename(f_dict, in_memory=in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 302, in _get_dataset_from_filename pa_table = ArrowReader.read_table(filename, in_memory=in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 324, in read_table pa_table = f.read_all() File "pyarrow/ipc.pxi", line 544, in pyarrow.lib.RecordBatchReader.read_all File "pyarrow/error.pxi", line 99, in pyarrow.lib.check_status OSError: Expected to be able to read 9176784 bytes for message body, got 4918712 **Detailed version info** datasets==1.5.0 - dataclasses [required: Any, installed: 0.8] - dill [required: Any, installed: 0.3.3] - fsspec [required: Any, installed: 0.8.7] - importlib-metadata [required: Any, installed: 1.7.0] - zipp [required: >=0.5, installed: 3.1.0] - huggingface-hub [required: <0.1.0, installed: 0.0.7] - filelock [required: Any, installed: 3.0.12] - importlib-metadata [required: Any, installed: 1.7.0] - zipp [required: >=0.5, installed: 3.1.0] - requests [required: Any, installed: 2.24.0] - certifi [required: >=2017.4.17, installed: 2020.6.20] - chardet [required: >=3.0.2,<4, installed: 3.0.4] - idna [required: >=2.5,<3, installed: 2.6] - urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.10] - tqdm [required: Any, installed: 4.49.0] - importlib-metadata [required: Any, installed: 1.7.0] - zipp [required: >=0.5, installed: 3.1.0] - multiprocess [required: Any, installed: 0.70.11.1] - dill [required: >=0.3.3, installed: 0.3.3] - numpy [required: >=1.17, installed: 1.17.0] - pandas [required: Any, installed: 1.1.5] - numpy [required: >=1.15.4, installed: 1.17.0] - python-dateutil [required: >=2.7.3, installed: 2.8.0] - six [required: >=1.5, installed: 1.15.0] - pytz [required: >=2017.2, installed: 2020.1] - pyarrow [required: >=0.17.1, installed: 3.0.0] - numpy [required: >=1.16.6, installed: 1.17.0] - requests [required: >=2.19.0, installed: 2.24.0] - certifi [required: >=2017.4.17, installed: 2020.6.20] - chardet [required: >=3.0.2,<4, installed: 3.0.4] - idna [required: >=2.5,<3, installed: 2.6] - urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.10] - tqdm [required: >=4.27,<4.50.0, installed: 4.49.0] - xxhash [required: Any, installed: 2.0.0]
59
Loading wikipedia 20200501.en throws pyarrow related error
[ -0.032954469323158264, 0.17994898557662964, -0.10841347277164459, 0.1074313148856163, 0.16550607979297638, -0.00740303099155426, 0.11883269995450974, 0.3750694990158081, 0.11225422471761703, 0.09606831520795822, 0.04252804443240166, 0.4776451587677002, 0.21631203591823578, -0.10413283854722977, 0.06792208552360535, -0.20503632724285126, 0.20949482917785645, 0.18519265949726105, -0.05867883563041687, 0.06330746412277222, -0.23451237380504608, 0.22007374465465546, -0.2532670795917511, 0.2828524112701416, -0.2824955880641937, 0.15130050480365753, 0.1611681878566742, 0.16680407524108887, 0.028241602703928947, -0.4608975946903229, 0.17809344828128815, -0.05987786501646042, 0.1419299989938736, 0.12243889272212982, -0.00010355615086155012, 0.11131787300109863, 0.5784373879432678, 0.1368299275636673, -0.16412895917892456, 0.11349652707576752, 0.16845422983169556, 0.11003179103136063, 0.2908715605735779, -0.39768996834754944, 0.02746966853737831, -0.21837517619132996, 0.22245651483535767, 0.3462494909763336, 0.1094527468085289, 0.05696024000644684, 0.29715579748153687, 0.05735592916607857, 0.29083800315856934, -0.02919846959412098, 0.7570096254348755, -0.34881022572517395, 0.1309332698583603, 0.24810418486595154, -0.015536095947027206, -0.22197431325912476, -0.25934067368507385, 0.3310054540634155, -0.16148005425930023, -0.1498047560453415, 0.2257189303636551, -0.15704800188541412, 0.3067924678325653, -0.1786835640668869, 0.2631194293498993, 0.05696059763431549, 0.3903398811817169, -0.19269797205924988, 0.19320285320281982, 0.17360427975654602, -0.08384978026151657, -0.03779557719826698, 0.4122454524040222, 0.06196913495659828, -0.17995204031467438, -0.013352112844586372, 0.515321671962738, -0.241240993142128, -0.337295800447464, 0.2665022015571594, -0.18702565133571625, 0.49079862236976624, 0.21571403741836548, 0.16575577855110168, 0.13177615404129028, -0.12359209358692169, 0.11322925239801407, 0.19976438581943512, 0.09744908660650253, 0.24112409353256226, 0.03109086863696575, 0.10882385075092316, 0.15727584064006805, 0.1853717863559723, 0.22897778451442719, -0.172315314412117, -0.08099435269832611, 0.305558443069458, 0.22779764235019684, 0.21367378532886505, 0.14030680060386658, -0.23442573845386505, -0.2084752768278122, -0.2574187219142914, 0.597995936870575, 0.3546556532382965, -0.15981727838516235, 0.2114787995815277, -0.054083798080682755, -0.3300359547138214, -0.013032812625169754, -0.023364143446087837, 0.2546117901802063, -0.11618530750274658, 0.19609245657920837, 0.13537609577178955, -0.24781256914138794, -0.06067923456430435, -0.33647146821022034, 0.26187998056411743, -0.2131543904542923, -0.06630776822566986, 0.028964906930923462, 0.021138302981853485, -0.3904573321342468, -0.06426490098237991, -0.0699210837483406, 0.3137396574020386, -0.06512439996004105, 0.03390306979417801, 0.200832799077034, -0.17707453668117523, 0.12381426990032196, 0.13107849657535553, -0.06728187203407288, -0.17100226879119873, 0.025099873542785645, 0.230662539601326, -0.3233497440814972, 0.3305476903915405, 0.21368446946144104, 0.06042831763625145, -0.03437941521406174, -0.20292088389396667, -0.011544588021934032, 0.30795788764953613, -0.17214789986610413, -0.3393257260322571, -0.2181253433227539, 0.2481987625360489, 0.11466149985790253, 0.03181643411517143, 0.26120102405548096, -0.1314479112625122, 0.17593036592006683, -0.43379074335098267, -0.1764230579137802, -0.02947988174855709, 0.005094686057418585, -0.2945079505443573, 0.2181619107723236, 0.05877874791622162, -0.28610584139823914, 0.05184829235076904, 0.18805436789989471, -0.004581168759614229, 0.16198056936264038, 0.29406896233558655, -0.21177127957344055, 0.05926075205206871, -0.13920214772224426, 0.2846665382385254, -0.0026634475216269493, -0.1381099969148636, -0.28314509987831116, 0.08785217255353928, -0.17268581688404083, 0.006542190909385681, -0.034320998936891556, 0.09602402150630951, -0.06665036827325821, 0.29199865460395813, 0.2335154265165329, 0.22307032346725464, 0.20013421773910522, 0.12940266728401184, -0.41303616762161255, -0.21831920742988586, 0.21330416202545166, 0.0693068876862526, 0.2085280567407608, -0.19960062205791473, 0.06513874977827072, 0.09008211642503738, 0.1333826184272766, -0.27653074264526367, -0.04129860922694206, 0.10483453422784805, 0.09269066900014877, -0.009269255213439465, 0.3288385272026062, -0.13767461478710175, -0.1803591400384903, -0.02073129639029503, -0.31245338916778564, 0.3481394648551941, -0.31790146231651306, -0.14901790022850037, -0.4259376525878906, 0.1369718462228775, -0.19048412144184113, -0.14714346826076508, 0.29326069355010986, -0.09102462977170944, 0.02647555060684681, 0.5186883211135864, 0.13276877999305725, -0.34900686144828796, -0.12953735888004303, 0.09212225675582886, -0.26526379585266113, 0.3254292905330658, -0.5818994641304016, -0.05341343954205513, -0.07939016073942184, 0.15934884548187256, 0.18433232605457306, -0.011257524602115154, 0.03115847148001194, 0.03438115492463112, 0.0806441456079483, 0.0855773389339447, -0.17917190492153168, -0.06474074721336365, 0.2346343845129013, -0.5695430040359497, -0.08171333372592926, 0.37058717012405396, 0.12268512696027756, 0.06662406772375107, 0.09427504986524582, 0.2174609750509262, 0.06845777481794357, 0.08769837021827698, 0.05094807595014572, -0.09349286556243896, 0.34422677755355835, 0.07752696424722672, 0.17664101719856262, -0.052207015454769135, 0.1103530079126358, 0.501117467880249, -0.13008233904838562, -0.05698345974087715, -0.09728105366230011, -0.21541133522987366, 0.26155078411102295, -0.01922362856566906, 0.1972554475069046, 0.11069630831480026, -0.1401664912700653, -0.14616486430168152, 0.23727378249168396, -0.4087134003639221, -0.2597796618938446, 0.1396244615316391, -0.092380590736866, 0.09105230867862701, -0.22254952788352966, -0.24502669274806976, 0.1978527456521988, -0.05161600932478905, 0.32061055302619934, 0.2085639089345932, 0.20831610262393951, 0.03793954476714134, -0.4012283384799957, -0.1099230945110321, -0.06728114187717438, 0.2019769251346588, -0.34450843930244446, -0.017027704045176506, -0.09540246427059174, -0.4426722228527069, 0.26243048906326294, 0.0068359640426933765, -0.23256784677505493, -0.2286776453256607, 0.19808806478977203, 0.4453795850276947, -0.18812550604343414, 0.2934193015098572, 0.07679367810487747, -0.03442110866308212, 0.19172202050685883, -0.0864090621471405, -0.07691816985607147, -0.5967099070549011, -0.3783147633075714, 0.1452171355485916, 0.1264197826385498, -0.16210800409317017, 0.06962306797504425, -0.11545968055725098, -0.28676241636276245, -0.3677314221858978, -0.5962648391723633, 0.14263340830802917, -0.14114055037498474, 0.04939214512705803, 0.03332584723830223, 0.2871361970901489, -0.046245209872722626, -0.37266579270362854, 0.33892080187797546, -0.06525258719921112, -0.057336241006851196, 0.2618943452835083, -0.19221438467502594, 0.045992396771907806, -0.14376333355903625, -0.3216771185398102, 0.05704173445701599, -0.192069873213768, 0.0813474953174591, 0.10864824056625366, 0.21834245324134827, 0.2701728045940399, 0.1873292773962021, 0.007915245369076729, 0.2395165115594864, 0.02775677479803562, -0.057118114084005356, 0.15431202948093414, 0.3436409831047058, -0.26803556084632874, -0.44911280274391174, 0.23535573482513428, -0.1115051880478859, -0.0682595744729042, 0.09343271702528, -0.3769053816795349, -0.11995306611061096, 0.1750728338956833, 0.3584780693054199, 0.0426485575735569, -0.08434176445007324, 0.21835340559482574, 0.13477446138858795, -0.16472159326076508, 0.07482833415269852, -0.08975766599178314, -0.05877735838294029, -0.06892026215791702, 0.015084496699273586, 0.12184286117553711, 0.1822681576013565, -0.051765892654657364, 0.7411169409751892, -0.3927482068538666, 0.28708958625793457, 0.32426995038986206, -0.23988014459609985, -0.0601324588060379, -0.12002157419919968, 0.0085370521992445, -0.09364521503448486, -0.2508558928966522, -0.13874956965446472, 0.25638440251350403, -0.1191379576921463, -0.5117632150650024, -0.2059815526008606, -0.2570590674877167, -0.16283102333545685, -0.28618985414505005, -0.0385332815349102, 0.23443222045898438, 0.19141966104507446, 0.10976049304008484, 0.04359611123800278, -0.095204658806324, -0.2061469554901123, 0.26871737837791443, 0.09562855213880539, -0.0606788694858551, -0.11649694293737411, 0.043039824813604355, -0.2194909006357193, -0.33699285984039307, 0.25989872217178345, 0.25217849016189575, -0.09442612528800964, -0.18748055398464203, -0.17275501787662506, 0.352777361869812, -0.330223947763443, 0.42722687125205994, -0.06059785559773445, 0.14767144620418549, 0.2242620438337326, 0.17476999759674072, -0.4999033212661743, -0.10270601511001587, 0.005711399484425783, 0.039172835648059845, 0.24736417829990387, -0.1326998770236969, -0.36881935596466064, 0.12625767290592194, 0.2690642774105072, -0.06424903869628906, 0.03190579637885094, -0.07406648248434067, -0.3199642300605774, -0.332521915435791, -0.41540461778640747, -0.04580016806721687, -0.03882959857583046, 0.1509431004524231, -0.10615893453359604, 0.017464444041252136, 0.16403347253799438, 0.029669202864170074, -0.24197325110435486, 0.37887465953826904, 0.03204584866762161, -0.04776086285710335, -0.19169221818447113, -0.11882751435041428, 0.09419848769903183, 0.08789447695016861, 0.07387267798185349, 0.13754843175411224, -0.18891610205173492, -0.07023017108440399, -0.05856535583734512, -0.07533871382474899, 0.05828167870640755, -0.03480685502290726, -0.01464782003313303, 0.22292274236679077, -0.2334725707769394, 0.14751866459846497, -0.07995524257421494, 0.20127065479755402, -0.1663190871477127, -0.2138110250234604, 0.10044853389263153, 0.6166428327560425, 0.05083965137600899, -0.09416845440864563, -0.009614410810172558, 0.238743394613266, -0.20645643770694733, 0.27465352416038513, 0.1208556741476059, 0.6306126713752747, -0.006361293140798807, 0.3525364100933075, 0.5068601369857788, -0.13242360949516296, 0.45916569232940674, -0.13978594541549683, 0.2460457980632782, -0.4624263644218445, 0.27249401807785034, -0.01790788397192955, 0.0029890909790992737, -0.17196772992610931, -0.18634383380413055, -0.20280037820339203, -0.0224875770509243, -0.07089997828006744, 0.13913218677043915, 0.12461982667446136, 0.26065146923065186, 0.20241352915763855, 0.04855426773428917, -0.0874907523393631, 0.16046233475208282, -0.07077578455209732, 0.29510021209716797, -0.22951966524124146, -0.08899011462926865, -0.031092826277017593, -0.23908467590808868, -0.14451341331005096, 0.2710984945297241, -0.04911898449063301, 0.4470316469669342, -0.08531160652637482, -0.35885050892829895, -0.0054058535024523735, 0.06059517338871956, -0.08775482326745987, -0.06617042422294617, -0.2594728469848633, 0.13254676759243011, -0.02640700154006481, -0.4157346189022064, -0.18026290833950043, 0.22305366396903992, 0.055943600833415985, -0.2658258080482483, -0.32666507363319397, 0.2756097614765167, -0.17508725821971893, -0.2677910327911377, -0.14220550656318665, 0.14925310015678406, 0.09044533967971802, 0.06154363602399826, -0.10818341374397278, -0.22742897272109985, -0.1228320375084877, -0.2734667658805847, 0.24317744374275208, -0.4549412131309509, 0.09650572389364243, -0.15537722408771515, 0.32308775186538696, -0.19687581062316895, 0.022687891498208046, 0.30522751808166504, 0.035787519067525864, 0.29838013648986816, 0.4919072091579437, 0.4394451379776001, -0.3519117832183838, -0.18307290971279144, -0.4844774901866913, -0.32236987352371216, -0.2364642322063446, -0.11282368004322052, 0.19595381617546082, 0.16438095271587372, -0.2103092223405838, 0.3016353249549866, 0.19417604804039001, -0.0780639573931694, 0.15919993817806244, -0.22535772621631622, -0.10348100960254669, 0.2829435169696808, -0.14410535991191864, -0.060322437435388565, 0.5179268717765808, 0.16348762810230255, 0.2212667018175125, -0.07050809264183044, -0.36967718601226807, 0.1330840289592743, -0.14279800653457642, 0.10305753350257874, -0.08333338052034378, -0.19565998017787933, -0.2896912097930908, 0.055006880313158035, 0.27725616097450256, -0.10839416831731796, -0.0499800369143486, -0.3291985094547272, 0.006488557904958725, 0.05225159227848053, 0.04795876145362854, -0.24254338443279266, 0.004728241823613644, -0.2291436344385147, 0.04819269850850105, 0.13799916207790375, 0.15372227132320404, -0.10233087837696075, -0.07667659223079681, 0.14152061939239502, 0.14852695167064667, 0.2039637565612793, -0.27787619829177856, 0.29521629214286804, -0.3112974762916565, 0.42663899064064026, 0.05702776834368706, 0.08531751483678818, -0.05697416514158249, -0.0511920303106308, -0.0446007214486599, 0.05618838593363762, 0.09656426310539246, -0.027050981298089027, 0.17744246125221252, -0.3523215055465698, -0.1779695600271225, -0.07322760671377182, 0.05648418515920639, 0.15071693062782288, -0.184862419962883, -0.06853709369897842, 0.043547168374061584, 0.2791585922241211, -0.31024879217147827, -0.04846649616956711, 0.32883113622665405, -0.32669535279273987, -0.05618288367986679, -0.07022098451852798, 0.40409019589424133, -0.21532480418682098, 0.21530316770076752, 0.2958682179450989, 0.09152273833751678, -0.10033467411994934, -0.09789340198040009, 0.0844150111079216, 0.005163425114005804, 0.02158161625266075, -0.09924444556236267, 0.17130935192108154, 0.06728045642375946, 0.17243008315563202, -0.04759163782000542, -0.16133585572242737, 0.033485621213912964, 0.13897569477558136, -0.12215586751699448, -0.1906508505344391, 0.16090989112854004, 0.16830012202262878, 0.13667403161525726, -0.19950434565544128, 0.3194390833377838, 0.32444050908088684, 0.5986112952232361, 0.2129264622926712, -0.1993483006954193, 0.3054339587688446, -0.06545142829418182, -0.16811628639698029, -0.3775692880153656, -0.2766534090042114, 0.29579389095306396, 0.1102006584405899, -0.1573491096496582, -0.08195332437753677, 0.07936804741621017, 0.24682995676994324, -0.18912841379642487, -0.33672353625297546, 0.5062373280525208, -0.023270098492503166, 0.1921185553073883, -0.029500581324100494, 0.15191322565078735, 0.05712732672691345, -0.17828062176704407, -0.08627146482467651, 0.012766724452376366, 0.4925367832183838, 0.20241549611091614, -0.8113409876823425, -0.15535400807857513, -0.17647120356559753, 0.04070955514907837, 0.015009619295597076, 0.019610673189163208, 0.37068283557891846, 0.06357637047767639, 0.28402817249298096, 0.18340656161308289, -0.23334233462810516, -0.07827963680028915, 0.45634910464286804, 0.053778402507305145, 0.1957341432571411, -0.5552564859390259, -0.04118267819285393, -0.07919307053089142, -0.04713790863752365, -0.0007561902748420835, -0.3256831467151642, 0.20131009817123413, 0.12517960369586945, 0.14922425150871277, 0.09099166840314865, -0.06037018075585365, 0.14700517058372498, -0.1295299530029297, 0.5080748796463013, 0.29174941778182983, 0.3753795623779297, -0.14966590702533722, -0.178898423910141, -0.43894824385643005, 0.488786906003952, -0.3516939878463745, -0.06323988735675812, 0.1821759194135666, 0.12421248853206635, -0.16693836450576782, 0.04609336331486702, -0.061378877609968185, -0.2370162010192871, -0.16575847566127777, 0.2100117951631546, -0.24872466921806335, 0.10841996967792511, -0.010287481360137463, -0.24509777128696442, -0.37073850631713867, -0.1155354231595993, 0.17038677632808685, -0.24387624859809875, 0.1955506056547165, -0.14950960874557495, -0.1498841494321823, 0.01142107043415308, 0.22711898386478424, 0.40354594588279724, -0.018185416236519814, 0.6228744983673096, -0.125030517578125, 0.011062231846153736, -0.016886763274669647, -0.1052900180220604, 0.12102451175451279, 0.35231688618659973, 0.15361745655536652, -0.0407063327729702, 0.16226953268051147, -0.25241875648498535, -0.033028244972229004, 0.7562212944030762, 0.01457809004932642, 0.03407888859510422, -0.11571141332387924, -0.14691931009292603, 0.20228669047355652, 0.1126997321844101, -0.3055201470851898, -0.08227108418941498, -0.04695462808012962, 0.021106764674186707, -0.2632746696472168, -0.6123051643371582, 0.2348872870206833, -0.44332557916641235, -0.35386621952056885, -0.022721081972122192, 0.13409890234470367, -0.11962471902370453, 0.05356913059949875, -0.05054359510540962, -0.025035008788108826, 0.19689275324344635, -0.05357951298356056, -0.23250986635684967, -0.08805934339761734, -0.03675341606140137, -0.10179595649242401, -0.1866438388824463, -0.04421136528253555, 0.05221736058592796, -0.14955252408981323, -0.43080636858940125, -0.38330504298210144 ]
https://github.com/huggingface/datasets/issues/2144
Loading wikipedia 20200501.en throws pyarrow related error
I tried using `datasets` from `master` on macos with python 3.7.2 I also have `requests==2.23.0` and `tqdm==4.45.0`.
**Problem description** I am getting the following error when trying to load wikipedia/20200501.en dataset. **Error log** Downloading and preparing dataset wikipedia/20200501.en (download: 16.99 GiB, generated: 17.07 GiB, post-processed: Unknown size, total: 34.06 GiB) to /usr/local/workspace/NAS_NLP/cache/wikipedia/20200501.en/1.0.0/50aa706aa417bb77d910ad61211cc672c0ef3e0f224225a5e0a18277ade8b931... Downloading: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 14.6k/14.6k [00:00<00:00, 5.41MB/s] Downloading: 59%|███████████████████████████████████████████████████████████████████████████████████████▊ | 10.7G/18.3G [11:30<08:08, 15.5MB/s] Dataset wikipedia downloaded and prepared to /usr/local/workspace/NAS_NLP/cache/wikipedia/20200501.en/1.0.0/50aa706aa417bb77d910ad61211cc672c0ef3e0f224225a5e0a18277ade8b931. Subsequent calls will reuse this data. Traceback (most recent call last): File "load_wiki.py", line 2, in <module> ds = load_dataset('wikipedia', '20200501.en', cache_dir='/usr/local/workspace/NAS_NLP/cache') File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 751, in load_dataset ds = builder_instance.as_dataset(split=split, ignore_verifications=ignore_verifications, in_memory=keep_in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/builder.py", line 746, in as_dataset map_tuple=True, File "/usr/local/lib/python3.6/dist-packages/datasets/utils/py_utils.py", line 204, in map_nested _single_map_nested((function, obj, types, None, True)) for obj in tqdm(iterable, disable=disable_tqdm) File "/usr/local/lib/python3.6/dist-packages/datasets/utils/py_utils.py", line 204, in <listcomp> _single_map_nested((function, obj, types, None, True)) for obj in tqdm(iterable, disable=disable_tqdm) File "/usr/local/lib/python3.6/dist-packages/datasets/utils/py_utils.py", line 142, in _single_map_nested return function(data_struct) File "/usr/local/lib/python3.6/dist-packages/datasets/builder.py", line 763, in _build_single_dataset in_memory=in_memory, File "/usr/local/lib/python3.6/dist-packages/datasets/builder.py", line 835, in _as_dataset in_memory=in_memory, File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 215, in read return self.read_files(files=files, original_instructions=instructions, in_memory=in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 236, in read_files pa_table = self._read_files(files, in_memory=in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 171, in _read_files pa_table: pa.Table = self._get_dataset_from_filename(f_dict, in_memory=in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 302, in _get_dataset_from_filename pa_table = ArrowReader.read_table(filename, in_memory=in_memory) File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 324, in read_table pa_table = f.read_all() File "pyarrow/ipc.pxi", line 544, in pyarrow.lib.RecordBatchReader.read_all File "pyarrow/error.pxi", line 99, in pyarrow.lib.check_status OSError: Expected to be able to read 9176784 bytes for message body, got 4918712 **Detailed version info** datasets==1.5.0 - dataclasses [required: Any, installed: 0.8] - dill [required: Any, installed: 0.3.3] - fsspec [required: Any, installed: 0.8.7] - importlib-metadata [required: Any, installed: 1.7.0] - zipp [required: >=0.5, installed: 3.1.0] - huggingface-hub [required: <0.1.0, installed: 0.0.7] - filelock [required: Any, installed: 3.0.12] - importlib-metadata [required: Any, installed: 1.7.0] - zipp [required: >=0.5, installed: 3.1.0] - requests [required: Any, installed: 2.24.0] - certifi [required: >=2017.4.17, installed: 2020.6.20] - chardet [required: >=3.0.2,<4, installed: 3.0.4] - idna [required: >=2.5,<3, installed: 2.6] - urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.10] - tqdm [required: Any, installed: 4.49.0] - importlib-metadata [required: Any, installed: 1.7.0] - zipp [required: >=0.5, installed: 3.1.0] - multiprocess [required: Any, installed: 0.70.11.1] - dill [required: >=0.3.3, installed: 0.3.3] - numpy [required: >=1.17, installed: 1.17.0] - pandas [required: Any, installed: 1.1.5] - numpy [required: >=1.15.4, installed: 1.17.0] - python-dateutil [required: >=2.7.3, installed: 2.8.0] - six [required: >=1.5, installed: 1.15.0] - pytz [required: >=2017.2, installed: 2020.1] - pyarrow [required: >=0.17.1, installed: 3.0.0] - numpy [required: >=1.16.6, installed: 1.17.0] - requests [required: >=2.19.0, installed: 2.24.0] - certifi [required: >=2017.4.17, installed: 2020.6.20] - chardet [required: >=3.0.2,<4, installed: 3.0.4] - idna [required: >=2.5,<3, installed: 2.6] - urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.10] - tqdm [required: >=4.27,<4.50.0, installed: 4.49.0] - xxhash [required: Any, installed: 2.0.0]
17
Loading wikipedia 20200501.en throws pyarrow related error
[ -0.032954469323158264, 0.17994898557662964, -0.10841347277164459, 0.1074313148856163, 0.16550607979297638, -0.00740303099155426, 0.11883269995450974, 0.3750694990158081, 0.11225422471761703, 0.09606831520795822, 0.04252804443240166, 0.4776451587677002, 0.21631203591823578, -0.10413283854722977, 0.06792208552360535, -0.20503632724285126, 0.20949482917785645, 0.18519265949726105, -0.05867883563041687, 0.06330746412277222, -0.23451237380504608, 0.22007374465465546, -0.2532670795917511, 0.2828524112701416, -0.2824955880641937, 0.15130050480365753, 0.1611681878566742, 0.16680407524108887, 0.028241602703928947, -0.4608975946903229, 0.17809344828128815, -0.05987786501646042, 0.1419299989938736, 0.12243889272212982, -0.00010355615086155012, 0.11131787300109863, 0.5784373879432678, 0.1368299275636673, -0.16412895917892456, 0.11349652707576752, 0.16845422983169556, 0.11003179103136063, 0.2908715605735779, -0.39768996834754944, 0.02746966853737831, -0.21837517619132996, 0.22245651483535767, 0.3462494909763336, 0.1094527468085289, 0.05696024000644684, 0.29715579748153687, 0.05735592916607857, 0.29083800315856934, -0.02919846959412098, 0.7570096254348755, -0.34881022572517395, 0.1309332698583603, 0.24810418486595154, -0.015536095947027206, -0.22197431325912476, -0.25934067368507385, 0.3310054540634155, -0.16148005425930023, -0.1498047560453415, 0.2257189303636551, -0.15704800188541412, 0.3067924678325653, -0.1786835640668869, 0.2631194293498993, 0.05696059763431549, 0.3903398811817169, -0.19269797205924988, 0.19320285320281982, 0.17360427975654602, -0.08384978026151657, -0.03779557719826698, 0.4122454524040222, 0.06196913495659828, -0.17995204031467438, -0.013352112844586372, 0.515321671962738, -0.241240993142128, -0.337295800447464, 0.2665022015571594, -0.18702565133571625, 0.49079862236976624, 0.21571403741836548, 0.16575577855110168, 0.13177615404129028, -0.12359209358692169, 0.11322925239801407, 0.19976438581943512, 0.09744908660650253, 0.24112409353256226, 0.03109086863696575, 0.10882385075092316, 0.15727584064006805, 0.1853717863559723, 0.22897778451442719, -0.172315314412117, -0.08099435269832611, 0.305558443069458, 0.22779764235019684, 0.21367378532886505, 0.14030680060386658, -0.23442573845386505, -0.2084752768278122, -0.2574187219142914, 0.597995936870575, 0.3546556532382965, -0.15981727838516235, 0.2114787995815277, -0.054083798080682755, -0.3300359547138214, -0.013032812625169754, -0.023364143446087837, 0.2546117901802063, -0.11618530750274658, 0.19609245657920837, 0.13537609577178955, -0.24781256914138794, -0.06067923456430435, -0.33647146821022034, 0.26187998056411743, -0.2131543904542923, -0.06630776822566986, 0.028964906930923462, 0.021138302981853485, -0.3904573321342468, -0.06426490098237991, -0.0699210837483406, 0.3137396574020386, -0.06512439996004105, 0.03390306979417801, 0.200832799077034, -0.17707453668117523, 0.12381426990032196, 0.13107849657535553, -0.06728187203407288, -0.17100226879119873, 0.025099873542785645, 0.230662539601326, -0.3233497440814972, 0.3305476903915405, 0.21368446946144104, 0.06042831763625145, -0.03437941521406174, -0.20292088389396667, -0.011544588021934032, 0.30795788764953613, -0.17214789986610413, -0.3393257260322571, -0.2181253433227539, 0.2481987625360489, 0.11466149985790253, 0.03181643411517143, 0.26120102405548096, -0.1314479112625122, 0.17593036592006683, -0.43379074335098267, -0.1764230579137802, -0.02947988174855709, 0.005094686057418585, -0.2945079505443573, 0.2181619107723236, 0.05877874791622162, -0.28610584139823914, 0.05184829235076904, 0.18805436789989471, -0.004581168759614229, 0.16198056936264038, 0.29406896233558655, -0.21177127957344055, 0.05926075205206871, -0.13920214772224426, 0.2846665382385254, -0.0026634475216269493, -0.1381099969148636, -0.28314509987831116, 0.08785217255353928, -0.17268581688404083, 0.006542190909385681, -0.034320998936891556, 0.09602402150630951, -0.06665036827325821, 0.29199865460395813, 0.2335154265165329, 0.22307032346725464, 0.20013421773910522, 0.12940266728401184, -0.41303616762161255, -0.21831920742988586, 0.21330416202545166, 0.0693068876862526, 0.2085280567407608, -0.19960062205791473, 0.06513874977827072, 0.09008211642503738, 0.1333826184272766, -0.27653074264526367, -0.04129860922694206, 0.10483453422784805, 0.09269066900014877, -0.009269255213439465, 0.3288385272026062, -0.13767461478710175, -0.1803591400384903, -0.02073129639029503, -0.31245338916778564, 0.3481394648551941, -0.31790146231651306, -0.14901790022850037, -0.4259376525878906, 0.1369718462228775, -0.19048412144184113, -0.14714346826076508, 0.29326069355010986, -0.09102462977170944, 0.02647555060684681, 0.5186883211135864, 0.13276877999305725, -0.34900686144828796, -0.12953735888004303, 0.09212225675582886, -0.26526379585266113, 0.3254292905330658, -0.5818994641304016, -0.05341343954205513, -0.07939016073942184, 0.15934884548187256, 0.18433232605457306, -0.011257524602115154, 0.03115847148001194, 0.03438115492463112, 0.0806441456079483, 0.0855773389339447, -0.17917190492153168, -0.06474074721336365, 0.2346343845129013, -0.5695430040359497, -0.08171333372592926, 0.37058717012405396, 0.12268512696027756, 0.06662406772375107, 0.09427504986524582, 0.2174609750509262, 0.06845777481794357, 0.08769837021827698, 0.05094807595014572, -0.09349286556243896, 0.34422677755355835, 0.07752696424722672, 0.17664101719856262, -0.052207015454769135, 0.1103530079126358, 0.501117467880249, -0.13008233904838562, -0.05698345974087715, -0.09728105366230011, -0.21541133522987366, 0.26155078411102295, -0.01922362856566906, 0.1972554475069046, 0.11069630831480026, -0.1401664912700653, -0.14616486430168152, 0.23727378249168396, -0.4087134003639221, -0.2597796618938446, 0.1396244615316391, -0.092380590736866, 0.09105230867862701, -0.22254952788352966, -0.24502669274806976, 0.1978527456521988, -0.05161600932478905, 0.32061055302619934, 0.2085639089345932, 0.20831610262393951, 0.03793954476714134, -0.4012283384799957, -0.1099230945110321, -0.06728114187717438, 0.2019769251346588, -0.34450843930244446, -0.017027704045176506, -0.09540246427059174, -0.4426722228527069, 0.26243048906326294, 0.0068359640426933765, -0.23256784677505493, -0.2286776453256607, 0.19808806478977203, 0.4453795850276947, -0.18812550604343414, 0.2934193015098572, 0.07679367810487747, -0.03442110866308212, 0.19172202050685883, -0.0864090621471405, -0.07691816985607147, -0.5967099070549011, -0.3783147633075714, 0.1452171355485916, 0.1264197826385498, -0.16210800409317017, 0.06962306797504425, -0.11545968055725098, -0.28676241636276245, -0.3677314221858978, -0.5962648391723633, 0.14263340830802917, -0.14114055037498474, 0.04939214512705803, 0.03332584723830223, 0.2871361970901489, -0.046245209872722626, -0.37266579270362854, 0.33892080187797546, -0.06525258719921112, -0.057336241006851196, 0.2618943452835083, -0.19221438467502594, 0.045992396771907806, -0.14376333355903625, -0.3216771185398102, 0.05704173445701599, -0.192069873213768, 0.0813474953174591, 0.10864824056625366, 0.21834245324134827, 0.2701728045940399, 0.1873292773962021, 0.007915245369076729, 0.2395165115594864, 0.02775677479803562, -0.057118114084005356, 0.15431202948093414, 0.3436409831047058, -0.26803556084632874, -0.44911280274391174, 0.23535573482513428, -0.1115051880478859, -0.0682595744729042, 0.09343271702528, -0.3769053816795349, -0.11995306611061096, 0.1750728338956833, 0.3584780693054199, 0.0426485575735569, -0.08434176445007324, 0.21835340559482574, 0.13477446138858795, -0.16472159326076508, 0.07482833415269852, -0.08975766599178314, -0.05877735838294029, -0.06892026215791702, 0.015084496699273586, 0.12184286117553711, 0.1822681576013565, -0.051765892654657364, 0.7411169409751892, -0.3927482068538666, 0.28708958625793457, 0.32426995038986206, -0.23988014459609985, -0.0601324588060379, -0.12002157419919968, 0.0085370521992445, -0.09364521503448486, -0.2508558928966522, -0.13874956965446472, 0.25638440251350403, -0.1191379576921463, -0.5117632150650024, -0.2059815526008606, -0.2570590674877167, -0.16283102333545685, -0.28618985414505005, -0.0385332815349102, 0.23443222045898438, 0.19141966104507446, 0.10976049304008484, 0.04359611123800278, -0.095204658806324, -0.2061469554901123, 0.26871737837791443, 0.09562855213880539, -0.0606788694858551, -0.11649694293737411, 0.043039824813604355, -0.2194909006357193, -0.33699285984039307, 0.25989872217178345, 0.25217849016189575, -0.09442612528800964, -0.18748055398464203, -0.17275501787662506, 0.352777361869812, -0.330223947763443, 0.42722687125205994, -0.06059785559773445, 0.14767144620418549, 0.2242620438337326, 0.17476999759674072, -0.4999033212661743, -0.10270601511001587, 0.005711399484425783, 0.039172835648059845, 0.24736417829990387, -0.1326998770236969, -0.36881935596466064, 0.12625767290592194, 0.2690642774105072, -0.06424903869628906, 0.03190579637885094, -0.07406648248434067, -0.3199642300605774, -0.332521915435791, -0.41540461778640747, -0.04580016806721687, -0.03882959857583046, 0.1509431004524231, -0.10615893453359604, 0.017464444041252136, 0.16403347253799438, 0.029669202864170074, -0.24197325110435486, 0.37887465953826904, 0.03204584866762161, -0.04776086285710335, -0.19169221818447113, -0.11882751435041428, 0.09419848769903183, 0.08789447695016861, 0.07387267798185349, 0.13754843175411224, -0.18891610205173492, -0.07023017108440399, -0.05856535583734512, -0.07533871382474899, 0.05828167870640755, -0.03480685502290726, -0.01464782003313303, 0.22292274236679077, -0.2334725707769394, 0.14751866459846497, -0.07995524257421494, 0.20127065479755402, -0.1663190871477127, -0.2138110250234604, 0.10044853389263153, 0.6166428327560425, 0.05083965137600899, -0.09416845440864563, -0.009614410810172558, 0.238743394613266, -0.20645643770694733, 0.27465352416038513, 0.1208556741476059, 0.6306126713752747, -0.006361293140798807, 0.3525364100933075, 0.5068601369857788, -0.13242360949516296, 0.45916569232940674, -0.13978594541549683, 0.2460457980632782, -0.4624263644218445, 0.27249401807785034, -0.01790788397192955, 0.0029890909790992737, -0.17196772992610931, -0.18634383380413055, -0.20280037820339203, -0.0224875770509243, -0.07089997828006744, 0.13913218677043915, 0.12461982667446136, 0.26065146923065186, 0.20241352915763855, 0.04855426773428917, -0.0874907523393631, 0.16046233475208282, -0.07077578455209732, 0.29510021209716797, -0.22951966524124146, -0.08899011462926865, -0.031092826277017593, -0.23908467590808868, -0.14451341331005096, 0.2710984945297241, -0.04911898449063301, 0.4470316469669342, -0.08531160652637482, -0.35885050892829895, -0.0054058535024523735, 0.06059517338871956, -0.08775482326745987, -0.06617042422294617, -0.2594728469848633, 0.13254676759243011, -0.02640700154006481, -0.4157346189022064, -0.18026290833950043, 0.22305366396903992, 0.055943600833415985, -0.2658258080482483, -0.32666507363319397, 0.2756097614765167, -0.17508725821971893, -0.2677910327911377, -0.14220550656318665, 0.14925310015678406, 0.09044533967971802, 0.06154363602399826, -0.10818341374397278, -0.22742897272109985, -0.1228320375084877, -0.2734667658805847, 0.24317744374275208, -0.4549412131309509, 0.09650572389364243, -0.15537722408771515, 0.32308775186538696, -0.19687581062316895, 0.022687891498208046, 0.30522751808166504, 0.035787519067525864, 0.29838013648986816, 0.4919072091579437, 0.4394451379776001, -0.3519117832183838, -0.18307290971279144, -0.4844774901866913, -0.32236987352371216, -0.2364642322063446, -0.11282368004322052, 0.19595381617546082, 0.16438095271587372, -0.2103092223405838, 0.3016353249549866, 0.19417604804039001, -0.0780639573931694, 0.15919993817806244, -0.22535772621631622, -0.10348100960254669, 0.2829435169696808, -0.14410535991191864, -0.060322437435388565, 0.5179268717765808, 0.16348762810230255, 0.2212667018175125, -0.07050809264183044, -0.36967718601226807, 0.1330840289592743, -0.14279800653457642, 0.10305753350257874, -0.08333338052034378, -0.19565998017787933, -0.2896912097930908, 0.055006880313158035, 0.27725616097450256, -0.10839416831731796, -0.0499800369143486, -0.3291985094547272, 0.006488557904958725, 0.05225159227848053, 0.04795876145362854, -0.24254338443279266, 0.004728241823613644, -0.2291436344385147, 0.04819269850850105, 0.13799916207790375, 0.15372227132320404, -0.10233087837696075, -0.07667659223079681, 0.14152061939239502, 0.14852695167064667, 0.2039637565612793, -0.27787619829177856, 0.29521629214286804, -0.3112974762916565, 0.42663899064064026, 0.05702776834368706, 0.08531751483678818, -0.05697416514158249, -0.0511920303106308, -0.0446007214486599, 0.05618838593363762, 0.09656426310539246, -0.027050981298089027, 0.17744246125221252, -0.3523215055465698, -0.1779695600271225, -0.07322760671377182, 0.05648418515920639, 0.15071693062782288, -0.184862419962883, -0.06853709369897842, 0.043547168374061584, 0.2791585922241211, -0.31024879217147827, -0.04846649616956711, 0.32883113622665405, -0.32669535279273987, -0.05618288367986679, -0.07022098451852798, 0.40409019589424133, -0.21532480418682098, 0.21530316770076752, 0.2958682179450989, 0.09152273833751678, -0.10033467411994934, -0.09789340198040009, 0.0844150111079216, 0.005163425114005804, 0.02158161625266075, -0.09924444556236267, 0.17130935192108154, 0.06728045642375946, 0.17243008315563202, -0.04759163782000542, -0.16133585572242737, 0.033485621213912964, 0.13897569477558136, -0.12215586751699448, -0.1906508505344391, 0.16090989112854004, 0.16830012202262878, 0.13667403161525726, -0.19950434565544128, 0.3194390833377838, 0.32444050908088684, 0.5986112952232361, 0.2129264622926712, -0.1993483006954193, 0.3054339587688446, -0.06545142829418182, -0.16811628639698029, -0.3775692880153656, -0.2766534090042114, 0.29579389095306396, 0.1102006584405899, -0.1573491096496582, -0.08195332437753677, 0.07936804741621017, 0.24682995676994324, -0.18912841379642487, -0.33672353625297546, 0.5062373280525208, -0.023270098492503166, 0.1921185553073883, -0.029500581324100494, 0.15191322565078735, 0.05712732672691345, -0.17828062176704407, -0.08627146482467651, 0.012766724452376366, 0.4925367832183838, 0.20241549611091614, -0.8113409876823425, -0.15535400807857513, -0.17647120356559753, 0.04070955514907837, 0.015009619295597076, 0.019610673189163208, 0.37068283557891846, 0.06357637047767639, 0.28402817249298096, 0.18340656161308289, -0.23334233462810516, -0.07827963680028915, 0.45634910464286804, 0.053778402507305145, 0.1957341432571411, -0.5552564859390259, -0.04118267819285393, -0.07919307053089142, -0.04713790863752365, -0.0007561902748420835, -0.3256831467151642, 0.20131009817123413, 0.12517960369586945, 0.14922425150871277, 0.09099166840314865, -0.06037018075585365, 0.14700517058372498, -0.1295299530029297, 0.5080748796463013, 0.29174941778182983, 0.3753795623779297, -0.14966590702533722, -0.178898423910141, -0.43894824385643005, 0.488786906003952, -0.3516939878463745, -0.06323988735675812, 0.1821759194135666, 0.12421248853206635, -0.16693836450576782, 0.04609336331486702, -0.061378877609968185, -0.2370162010192871, -0.16575847566127777, 0.2100117951631546, -0.24872466921806335, 0.10841996967792511, -0.010287481360137463, -0.24509777128696442, -0.37073850631713867, -0.1155354231595993, 0.17038677632808685, -0.24387624859809875, 0.1955506056547165, -0.14950960874557495, -0.1498841494321823, 0.01142107043415308, 0.22711898386478424, 0.40354594588279724, -0.018185416236519814, 0.6228744983673096, -0.125030517578125, 0.011062231846153736, -0.016886763274669647, -0.1052900180220604, 0.12102451175451279, 0.35231688618659973, 0.15361745655536652, -0.0407063327729702, 0.16226953268051147, -0.25241875648498535, -0.033028244972229004, 0.7562212944030762, 0.01457809004932642, 0.03407888859510422, -0.11571141332387924, -0.14691931009292603, 0.20228669047355652, 0.1126997321844101, -0.3055201470851898, -0.08227108418941498, -0.04695462808012962, 0.021106764674186707, -0.2632746696472168, -0.6123051643371582, 0.2348872870206833, -0.44332557916641235, -0.35386621952056885, -0.022721081972122192, 0.13409890234470367, -0.11962471902370453, 0.05356913059949875, -0.05054359510540962, -0.025035008788108826, 0.19689275324344635, -0.05357951298356056, -0.23250986635684967, -0.08805934339761734, -0.03675341606140137, -0.10179595649242401, -0.1866438388824463, -0.04421136528253555, 0.05221736058592796, -0.14955252408981323, -0.43080636858940125, -0.38330504298210144 ]
https://github.com/huggingface/datasets/issues/2139
TypeError when using save_to_disk in a dataset loaded with ReadInstruction split
Hi ! I think this has been fixed recently on `master`. Can you try again by installing `datasets` from `master` ? ``` pip install git+https://github.com/huggingface/datasets.git ```
Hi, Loading a dataset with `load_dataset` using a split defined via `ReadInstruction` and then saving it to disk results in the following error: `TypeError: Object of type ReadInstruction is not JSON serializable`. Here is the minimal reproducible example: ```python from datasets import load_dataset from datasets import ReadInstruction data_1 = load_dataset( "wikiann", "en", split="validation", ) data_1.save_to_disk("temporary_path_1") print("Save with regular split works.") data_2 = load_dataset( "wikiann", "en", split=ReadInstruction("validation", to=50, unit="%"), ) data_2.save_to_disk("temporary_path_2") ``` and the corresponding output: ``` Reusing dataset wikiann (/xxxxx/.cache/huggingface/datasets/wikiann/en/1.1.0/0b11a6fb31eea02f38ca17610657bfba3206100685283014daceb8da291c3be9) Save with regular split works. Reusing dataset wikiann (/xxxxx/.cache/huggingface/datasets/wikiann/en/1.1.0/0b11a6fb31eea02f38ca17610657bfba3206100685283014daceb8da291c3be9) Traceback (most recent call last): File "bug.py", line 20, in <module> data_2.save_to_disk("temporary_path_2") File "/xxxxx/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 645, in save_to_disk json.dump(state, state_file, indent=2, sort_keys=True) File "/usr/lib/python3.7/json/__init__.py", line 179, in dump for chunk in iterable: File "/usr/lib/python3.7/json/encoder.py", line 431, in _iterencode yield from _iterencode_dict(o, _current_indent_level) File "/usr/lib/python3.7/json/encoder.py", line 405, in _iterencode_dict yield from chunks File "/usr/lib/python3.7/json/encoder.py", line 438, in _iterencode o = _default(o) File "/usr/lib/python3.7/json/encoder.py", line 179, in default raise TypeError(f'Object of type {o.__class__.__name__} ' TypeError: Object of type ReadInstruction is not JSON serializable ``` Let me know if there is some misuse from my end. Thanks in advance.
26
TypeError when using save_to_disk in a dataset loaded with ReadInstruction split
[ -0.4401465356349945, 0.09347005933523178, -0.07586518675088882, 0.17020680010318756, 0.3500309884548187, 0.1895471066236496, 0.3021191954612732, 0.30653658509254456, 0.16643986105918884, 0.1296575963497162, -0.1871108114719391, 0.11912250518798828, -0.24599191546440125, 0.53739994764328, -0.4100373089313507, -0.0033107255585491657, 0.14186985790729523, 0.22164344787597656, -0.0018896596739068627, 0.07679375261068344, -0.30717089772224426, 0.37379559874534607, -0.1976950466632843, 0.01603602059185505, -0.23026806116104126, -0.2793157696723938, -0.07376126199960709, 0.3575385510921478, -0.08766187727451324, -0.13637937605381012, 0.31554874777793884, -0.010591105557978153, 0.11452928185462952, 0.3526381254196167, -0.00010322060552425683, 0.12191033363342285, 0.07294689863920212, -0.3115686774253845, -0.3500707149505615, 0.07823774218559265, -0.14039678871631622, -0.10155242681503296, -0.008259084075689316, -0.4046112895011902, 0.11527911573648453, 0.12006133794784546, 0.13744932413101196, -0.24553647637367249, 0.29503104090690613, 0.0528656430542469, 0.3261590898036957, 0.02274947613477707, -0.012262290343642235, -0.26154595613479614, 0.08449024707078934, 0.4382244050502777, -0.12881121039390564, -0.07510105520486832, -0.15193083882331848, 0.06104707717895508, -0.120525062084198, 0.32345420122146606, -0.007073424756526947, 0.017340466380119324, -0.0016763146268203855, 0.0976630225777626, 0.14342939853668213, -0.09343349933624268, -0.1125587746500969, -0.16688114404678345, 0.44184407591819763, -0.2693469524383545, -0.2761119306087494, -0.2847006022930145, -0.2477787286043167, -0.09323686361312866, 0.18850092589855194, -0.04147673398256302, -0.018175486475229263, 0.14043857157230377, -0.12100115418434143, -0.14639902114868164, -0.22025291621685028, -0.031032368540763855, -0.03254051133990288, -0.25296247005462646, -0.26224350929260254, 0.13008105754852295, 0.4263969361782074, 0.048000309616327286, 0.21307584643363953, 0.07441414147615433, -0.020571205765008926, -0.3008778393268585, -0.04145374521613121, -0.29749736189842224, -0.3084472417831421, 0.13612207770347595, 0.005027135834097862, 0.18072350323200226, -0.02852746844291687, 0.04355573281645775, 0.038234829902648926, 0.15451112389564514, 0.47891995310783386, -0.02143866755068302, 0.24201428890228271, 0.29618358612060547, 0.21200865507125854, 0.10345526039600372, -0.1316201388835907, -0.05864810571074486, 0.2343629151582718, -0.16001546382904053, 0.31189411878585815, 0.09038643538951874, 0.10663869231939316, -0.08160454034805298, -0.4895347058773041, -0.00205731438472867, 0.1932077407836914, -0.06527411937713623, -0.12330913543701172, 0.3513472378253937, 0.33280739188194275, -0.14677391946315765, 0.23919834196567535, 0.25582680106163025, -0.198241725564003, 0.04176944121718407, -0.2707314193248749, 0.20659667253494263, 0.03626932203769684, 0.01652906835079193, 0.12506577372550964, 0.19345656037330627, 0.12866917252540588, -0.18190281093120575, -0.3480648994445801, -0.13289162516593933, 0.07572085410356522, -0.4336199462413788, 0.24337103962898254, 0.2084452509880066, 0.33134758472442627, 0.04261726513504982, 0.22217299044132233, -0.25614485144615173, -0.12357372790575027, 0.21532274782657623, 0.0039715091697871685, -0.22671617567539215, -0.030795063823461533, 0.2968863844871521, -0.035351671278476715, 0.1186695471405983, -0.14716482162475586, 0.014851571060717106, 0.4764711856842041, -0.35913026332855225, -0.24013152718544006, -0.1508764773607254, -0.08327546715736389, -0.25084027647972107, -0.04937351867556572, 0.429589182138443, -0.33639541268348694, 0.0838480293750763, -0.20768272876739502, -0.39288708567619324, 0.2586977183818817, 0.389955073595047, 0.14983132481575012, 0.2797924876213074, -0.2618069052696228, 0.5999045372009277, 0.314431756734848, -0.11765412986278534, -0.053250543773174286, 0.42299288511276245, -0.11285161226987839, -0.32275721430778503, -0.08588699251413345, 0.15054810047149658, 0.3819161057472229, -0.19385197758674622, 0.00782410055398941, 0.10405252128839493, -0.11773139983415604, 0.08948106318712234, -0.21614176034927368, -0.09170804917812347, -0.14225633442401886, 0.08402273058891296, 0.09295779466629028, 0.03765629604458809, 0.22886404395103455, 0.17823456227779388, 0.19742394983768463, -0.07097048312425613, 0.29941678047180176, 0.3030742406845093, 0.2482166439294815, -0.14948099851608276, -0.16857261955738068, -0.14420653879642487, -0.32123634219169617, -0.16070556640625, 0.30270513892173767, -0.07901596277952194, -0.10941234976053238, -0.10197076201438904, -0.3731216788291931, 0.16173793375492096, -0.16168779134750366, 0.1720123291015625, 0.2305402159690857, 0.17698290944099426, -0.18356789648532867, 0.2274862676858902, -0.0060088662430644035, 0.19301101565361023, -0.21209487318992615, 0.07660403847694397, -0.15971943736076355, 0.34299176931381226, -0.2925068736076355, -0.3927850127220154, 0.09206964820623398, -0.0771314799785614, 0.17786110937595367, -0.11603894084692001, 0.08585897088050842, 0.4020082354545593, 0.17147287726402283, 0.057243820279836655, -0.2442321628332138, -0.19332154095172882, 0.020080897957086563, -0.13623182475566864, -0.08150134235620499, -0.13660433888435364, 0.36132025718688965, -0.18040546774864197, -0.29941338300704956, 0.22829721868038177, -0.0210296418517828, -0.06180807948112488, 0.1316058486700058, 0.16865378618240356, 0.030584638938307762, -0.06931104511022568, 0.3046351373195648, -0.5153138637542725, -0.013772465288639069, -0.08852288126945496, -0.18414384126663208, -0.2760186493396759, 0.12637659907341003, 0.12628233432769775, 0.6067780256271362, -0.002594893565401435, 0.3000846207141876, 0.050003137439489365, 0.10191269963979721, -0.03515547513961792, 0.01693534664809704, 0.46459829807281494, 0.46159398555755615, 0.12952423095703125, 0.2352021038532257, -0.14373566210269928, 0.022669143974781036, -0.13513801991939545, 0.23126322031021118, -0.0038003248628228903, 0.12519769370555878, 0.32200875878334045, -0.10898078978061676, -0.27817314863204956, -0.3051135838031769, 0.13757650554180145, 0.02836471050977707, 0.21079076826572418, -0.24294686317443848, -0.007005678489804268, -0.05570756644010544, 0.12730489671230316, -0.05308013781905174, -0.07177112996578217, 0.1571793556213379, -0.6153007745742798, -0.1423107087612152, 0.4037538170814514, -0.2748757302761078, 0.07023382931947708, 0.0190096665173769, 0.08169586956501007, 0.20192895829677582, 0.13240545988082886, 0.037780072540044785, -0.006229720544070005, -0.19289779663085938, 0.14483357965946198, 0.1581321656703949, 0.03148418664932251, 0.29820671677589417, -0.1338232308626175, 0.09391030669212341, -0.18116573989391327, 0.042058635503053665, 0.17313089966773987, -0.24342910945415497, 0.11396870017051697, 0.27870973944664, 0.2473859041929245, 0.06514772027730942, -0.4737553894519806, 0.09969097375869751, -0.13042333722114563, -0.28471025824546814, -0.007768898271024227, 0.18586823344230652, -0.14606453478336334, -0.2922891676425934, -0.36992326378822327, -0.19904616475105286, -0.46450135111808777, 0.22773334383964539, -0.05779695883393288, -0.027186909690499306, -0.1651172935962677, 0.09481345862150192, 0.037604786455631256, 0.35482344031333923, -0.32583433389663696, -0.3020922839641571, 0.05313734710216522, 0.2987293601036072, -0.19742821156978607, -0.1753046065568924, 0.19241075217723846, 0.00838547945022583, -0.117952860891819, 0.09126148372888565, -0.39171475172042847, 0.15546251833438873, -0.08653787523508072, -0.02206849493086338, 0.03454127907752991, 0.0338532030582428, 0.3100038766860962, 0.09351270645856857, -0.11292648315429688, -0.10389336943626404, -0.47970709204673767, 0.4443044364452362, -0.19657602906227112, 0.05219297483563423, -0.41933998465538025, 0.31550857424736023, 0.21504224836826324, 0.0973752811551094, -0.18147405982017517, 0.23484621942043304, 0.278682678937912, 0.20034821331501007, 0.28538933396339417, -0.10834867507219315, -0.1544407159090042, 0.11669901013374329, -0.18635737895965576, -0.24361076951026917, 0.06868747621774673, -0.06804104149341583, -0.46342402696609497, 0.01448975782841444, -0.1866372972726822, -0.12880083918571472, -0.4038514196872711, -0.033394623547792435, 0.46332848072052, 0.17776216566562653, -0.11651663482189178, 0.21900729835033417, 0.0445764884352684, 0.15965653955936432, 0.06151394173502922, 0.26460781693458557, 0.0945369228720665, -0.1518443375825882, -0.37057653069496155, -0.06634840369224548, -0.15532055497169495, 0.16642190515995026, 0.13068325817584991, 0.22235840559005737, -0.20278970897197723, -0.40938201546669006, -0.01431822869926691, -0.10462009161710739, 0.5436679720878601, -0.1826504021883011, 0.04353729262948036, 0.113472580909729, 0.0029931317549198866, -0.06711433082818985, 0.03793642669916153, -0.05950329825282097, 0.32362088561058044, 0.0959634929895401, 0.4299955666065216, -0.2882108688354492, 0.04012807831168175, 0.20556600391864777, -0.08483204990625381, -0.22597195208072662, -0.10157977789640427, 0.08578899502754211, -0.5037748217582703, -0.37009891867637634, 0.12339024990797043, 0.22998325526714325, -0.01827537827193737, 0.011199764907360077, 0.04748721793293953, -0.17381498217582703, -0.2655039429664612, 0.0008044376154430211, -0.0401579774916172, 0.2542564272880554, -0.21465229988098145, -0.049688681960105896, 0.048274923115968704, 0.0004060336505062878, 0.3699122667312622, 0.3515072762966156, -0.28993967175483704, -0.03404807671904564, 0.49016302824020386, -0.2926916778087616, 0.026656128466129303, 0.2454007863998413, 0.09655243903398514, -0.2235759049654007, -0.02431795559823513, -0.04627390205860138, -0.30130812525749207, 0.030669929459691048, 0.04447333887219429, -0.22751766443252563, -0.3289901614189148, 0.033937547355890274, 0.08101829886436462, -0.04887813329696655, 0.06511127948760986, -0.08455865830183029, 0.2229156792163849, -0.23292478919029236, 0.4084305167198181, 0.10915113240480423, 0.598868191242218, -0.028830643743276596, 0.18772947788238525, 0.47894227504730225, -0.22632019221782684, -0.20110109448432922, -0.06679929792881012, 0.07530927658081055, -0.460323691368103, -0.012342700734734535, 0.00225385301746428, 0.07881392538547516, 0.06305934488773346, 0.018781691789627075, -0.39034509658813477, -0.2039065808057785, -0.06618401408195496, -0.15204837918281555, -0.15352024137973785, -0.05102047696709633, -0.4230606257915497, -0.33375537395477295, -0.055675167590379715, 0.27930375933647156, 0.11881069839000702, -0.038611575961112976, 0.05740853026509285, -0.15180085599422455, 0.15828624367713928, -0.08334251493215561, -0.18049848079681396, 0.055577151477336884, -0.14936155080795288, 0.3709472417831421, -0.4082965552806854, -0.16758489608764648, 0.10705772787332535, 0.30700206756591797, 0.4743309020996094, 0.09510650485754013, -0.07260087132453918, -0.062139108777046204, -0.05682612583041191, 0.007366452366113663, -0.17887555062770844, -0.052087150514125824, 0.4629369080066681, 0.019775114953517914, 0.15373124182224274, -0.24729765951633453, -0.06858950108289719, -0.14604496955871582, -0.02987191453576088, 0.18544572591781616, -0.2307593822479248, -0.6719372868537903, -0.24665306508541107, -0.15890562534332275, -0.07072901725769043, -0.2463236004114151, 0.1840542107820511, 0.1013667955994606, -0.07284904271364212, 0.17377983033657074, -0.20189982652664185, -0.17755724489688873, -0.04916498810052872, 0.44558510184288025, 0.20430175960063934, 0.17756393551826477, 0.563711404800415, -0.10878625512123108, -0.2646840810775757, -0.46751174330711365, 0.36831653118133545, 0.060681287199258804, -0.10832938551902771, 0.5137521624565125, -0.3917844593524933, -0.14233139157295227, 0.012032079510390759, 0.19160254299640656, 0.12417613714933395, -0.028090402483940125, -0.033682361245155334, -0.2911607623100281, -0.4274945557117462, 0.014463507570326328, -0.04146140068769455, 0.20686985552310944, 0.20828711986541748, 0.12297424674034119, -0.05077695846557617, -0.058854490518569946, -0.40386340022087097, 0.10281454026699066, -0.3156048655509949, -0.011217114515602589, 0.1250150203704834, -0.2218293994665146, 0.1717177927494049, 0.021480107679963112, 0.2226995825767517, 0.32472074031829834, -0.11969708651304245, -0.22579890489578247, 0.019194742664694786, 0.04799725487828255, -0.03203288093209267, 0.10793117433786392, -0.18112821877002716, -0.1511063575744629, -0.11938515305519104, -0.08104927092790604, 0.06870867311954498, 0.2000114917755127, -0.08810566365718842, 0.17666323482990265, 0.12582628428936005, 0.2037263661623001, -0.0029909468721598387, 0.07640258967876434, -0.07156823575496674, 0.06844781339168549, -0.1539587676525116, 0.05562407150864601, -0.28057101368904114, -0.12652616202831268, 0.21771878004074097, 0.04563065245747566, 0.1608174592256546, 0.34473809599876404, 0.20058603584766388, -0.4358161687850952, -0.1685289442539215, -0.018933158367872238, 0.34479090571403503, 0.1614922285079956, -0.19247134029865265, -0.15643996000289917, -0.04436769708991051, 0.2903941869735718, 0.14586657285690308, -0.059469886124134064, 0.3784414529800415, -0.45524486899375916, -0.04976064711809158, 0.31690070033073425, 0.016894852742552757, 0.0566525012254715, -0.3142099380493164, 0.19825677573680878, 0.46057623624801636, -0.10344749689102173, 0.07722547650337219, 0.4119865596294403, -0.3978463113307953, 0.22755581140518188, 0.0657150149345398, -0.03492409363389015, 0.32410818338394165, 0.29601961374282837, -0.05869997292757034, 0.3924950063228607, 0.006386518944054842, -0.017100416123867035, -0.12760241329669952, -0.48071566224098206, 0.14513075351715088, -0.060168396681547165, 0.0016171185998246074, 0.2999119758605957, -0.10824037343263626, 0.0680806040763855, -0.5319664478302002, -0.08465354889631271, -0.2039482146501541, 0.049269914627075195, -0.44507479667663574, 0.008693218231201172, 0.06151692569255829, -0.1660466194152832, -0.16575679183006287, -0.0996599942445755, -0.1287606805562973, -0.06030483916401863, 0.1370021104812622, -0.025398924946784973, 0.23820452392101288, 0.21955758333206177, 0.026114393025636673, -0.08228431642055511, -0.012146534398198128, -0.37318459153175354, 0.10128408670425415, 0.04094460979104042, 0.047481968998909, 0.0665413960814476, -0.024226557463407516, 0.46767091751098633, 0.16851885616779327, -0.13277633488178253, -0.2540440857410431, 0.10076219588518143, -0.1856977939605713, -0.017490919679403305, 0.19552096724510193, -0.09406361728906631, 0.4529462158679962, 0.5887992978096008, 0.22572322189807892, -0.16835300624370575, 0.08333110064268112, 0.23992884159088135, 0.06935955584049225, 0.10696279257535934, 0.02628365531563759, -0.07117580622434616, -0.19168086349964142, -0.02855248935520649, -0.25668951869010925, -0.2065831869840622, -0.2758178412914276, 0.2053743302822113, -0.35701411962509155, 0.4656316936016083, 0.22413256764411926, 0.1483486294746399, 0.10366647690534592, 0.42792344093322754, 0.1174716129899025, -0.4204685091972351, -0.18666285276412964, -0.05392343923449516, -0.20051981508731842, -0.03399278223514557, 0.12603075802326202, 0.029174696654081345, -0.2054361253976822, 0.2544402480125427, 0.2852645218372345, -0.07001413404941559, -0.11153199523687363, 0.046296536922454834, 0.09767940640449524, 0.3299553394317627, -0.13428708910942078, -0.1896013766527176, 0.24842427670955658, -0.26382237672805786, 0.07926635444164276, -0.39228910207748413, 0.20869413018226624, 0.45696449279785156, 0.2135077267885208, 0.06880448013544083, -0.046268973499536514, -0.10294071584939957, 0.05495495721697807, 0.0038967737928032875, 0.1942211538553238, 0.3041030466556549, -0.26441890001296997, -0.0697639063000679, 0.19862735271453857, -0.05473562702536583, -0.04760728031396866, -0.022437244653701782, 0.3738561272621155, 0.7201497554779053, -0.32679757475852966, 0.2740825116634369, -0.17068873345851898, 0.1664959043264389, 0.11776941269636154, 0.43563351035118103, -0.3005310297012329, 0.2776145339012146, -0.05054987594485283, -0.016289222985506058, 0.3711424469947815, 0.11136767268180847, 0.10659479349851608, 0.19984252750873566, -0.20870596170425415, -0.34063073992729187, 0.3207397758960724, 0.18130162358283997, -0.3510497510433197, 0.21590770781040192, -0.005924080032855272, 0.47808676958084106, 0.20326119661331177, -0.6508185863494873, -0.06795649975538254, 0.21798135340213776, -0.2359474003314972, -0.24546508491039276, 0.17649014294147491, -0.05035030469298363, -0.2025500237941742, 0.13088469207286835, 0.4818008244037628, 0.19942639768123627, -0.4203815758228302, 0.14418001472949982, -0.1004687175154686 ]
https://github.com/huggingface/datasets/issues/2135
en language data from MLQA dataset is missing
Hi ! Indeed only the languages of the `translate-train` data are included... I can't find a link to download the english train set on https://github.com/facebookresearch/MLQA though, do you know where we can download it ?
Hi I need mlqa-translate-train.en dataset, but it is missing from the MLQA dataset. could you have a look please? @lhoestq thank you for your help to fix this issue.
35
en language data from MLQA dataset is missing
[ -0.04681582376360893, 0.09215499460697174, -0.23926448822021484, 0.26045942306518555, 0.005004319828003645, 0.16276191174983978, 0.13137134909629822, -0.05315788835287094, -0.09431038051843643, 0.26354748010635376, 0.3005234897136688, 0.15453331172466278, 0.11039384454488754, 0.4087677299976349, 0.20215098559856415, 0.08073151856660843, -0.10700513422489166, 0.0943274199962616, -0.14191703498363495, -0.4275670349597931, 0.06031525507569313, 0.35825368762016296, -0.04867551848292351, 0.03508709371089935, -0.16449236869812012, 0.07968886196613312, -0.23647211492061615, 0.16506056487560272, -0.025269491598010063, 0.0019429490203037858, 0.014852878637611866, -0.2956080734729767, 0.023728415369987488, -0.3568974435329437, -0.00010456568270456046, -0.00776088098064065, 0.10494876652956009, -0.254848837852478, -0.3499116003513336, 0.08200599998235703, -0.31035909056663513, -0.28103551268577576, -0.16039715707302094, -0.24319195747375488, -0.2401653677225113, -0.15021555125713348, 0.11493436992168427, -0.4562148451805115, -0.013218891806900501, 0.26386719942092896, 0.2561347484588623, 0.12936384975910187, -0.05082258582115173, -0.08417091518640518, 0.027942277491092682, 0.04342593997716904, 0.26577794551849365, 0.04971565306186676, 0.2494928240776062, 0.05144328996539116, 0.10253945738077164, 0.5749057531356812, 0.240341454744339, -0.12190932035446167, -0.3064897656440735, 0.1763339340686798, 0.3887593448162079, -0.3564862906932831, 0.30674752593040466, 0.13787007331848145, 0.3304208517074585, -0.07595209032297134, -0.30162423849105835, -0.08880005031824112, 0.1666599065065384, -0.12628503143787384, 0.18913844227790833, 0.2994749844074249, -0.021282868459820747, 0.16283844411373138, 0.1820630431175232, -0.133018359541893, -0.030433693900704384, 0.09657355397939682, -0.403896301984787, 0.35753849148750305, -0.014895840547978878, -0.11006442457437515, -0.28785941004753113, 0.11900978535413742, 0.23929870128631592, 0.10421473532915115, -0.29794302582740784, 0.0633402094244957, -0.003797556972131133, -0.0497906319797039, 0.2737446427345276, 0.1682022511959076, -0.0377570241689682, -0.4041215181350708, -0.27368447184562683, 0.19518812000751495, 0.002262261463329196, 0.08588919788599014, 0.09415954351425171, -0.1191057413816452, 0.03547460585832596, -0.1565806120634079, 0.0856882780790329, -0.45050960779190063, 0.023001184687018394, -0.2322077602148056, -0.0005852741887792945, 0.06595274806022644, -0.4475065767765045, 0.24362881481647491, 0.01408922765403986, -0.23334728181362152, -0.4733337163925171, 0.04081878438591957, -0.41946014761924744, -0.08078151941299438, -0.0014764320803806186, 0.15438693761825562, 0.14114950597286224, -0.04606211930513382, -0.13852150738239288, 0.18791848421096802, -0.37759262323379517, -0.5216241478919983, -0.3438926041126251, 0.14760062098503113, -0.036011893302202225, -0.34802332520484924, 0.078324094414711, 0.25738558173179626, 0.36794012784957886, -0.10280795395374298, 0.0181274376809597, 0.015372447669506073, 0.15826338529586792, -0.11831554025411606, 0.2543443739414215, 0.11703409999608994, 0.19109301269054413, 0.16068436205387115, 0.09810320287942886, -0.24075843393802643, -0.0006689789588563144, 0.11494645476341248, -0.18889549374580383, -0.033285487443208694, -0.3069574236869812, 0.31517294049263, 0.04207179322838783, -0.09733247011899948, 0.5553781986236572, 0.3728463053703308, 0.19156159460544586, -0.1951969712972641, 0.14435730874538422, -0.02877875044941902, 0.07565931975841522, 0.006022161338478327, 0.13910432159900665, 0.46618983149528503, -0.5569353103637695, -0.2530704438686371, 0.09648050367832184, -0.09851858019828796, 0.26700088381767273, 0.1823464035987854, -0.23970003426074982, 0.08994849771261215, -0.3589463233947754, 0.044138725847005844, -0.012243231758475304, -0.19651365280151367, -0.5380953550338745, 0.07147421687841415, 0.15394054353237152, -0.23010286688804626, 0.177067369222641, 0.1865442395210266, 0.06595966964960098, -0.005335124675184488, 0.33983519673347473, 0.16166725754737854, -0.013728929683566093, -0.08515224605798721, -0.18026186525821686, -0.09510108083486557, 0.20502504706382751, 0.15899178385734558, -0.022519754245877266, -0.14070002734661102, 0.20299571752548218, -0.051975104957818985, 0.22790105640888214, -0.3180725872516632, 0.16802185773849487, 0.4884979724884033, -0.10173219442367554, -0.16002508997917175, 0.03277413174510002, 0.15888960659503937, -0.07342612743377686, -0.07591468840837479, -0.6564948558807373, 0.26502636075019836, -0.31073617935180664, 0.05358654260635376, 0.027517808601260185, 0.04578305408358574, -0.20247840881347656, -0.22335055470466614, 0.28678232431411743, 0.1891022026538849, -0.26061171293258667, 0.5311120748519897, 0.12736853957176208, -0.002098977565765381, 0.10489081591367722, -0.17648184299468994, -0.29755935072898865, 0.41982802748680115, -0.15393859148025513, -0.036009304225444794, 0.20572014153003693, 0.5542095303535461, 0.09608340263366699, -0.04423658549785614, 0.049300067126750946, -0.08197474479675293, -0.026407990604639053, 0.21101361513137817, -0.0009125999640673399, -0.041965384036302567, 0.50691157579422, -0.2504107654094696, 0.36393871903419495, 0.21379512548446655, 0.18272089958190918, 0.24027472734451294, -0.19102661311626434, 0.3834734559059143, 0.1945083737373352, -0.26550543308258057, 0.09056985378265381, 0.21271030604839325, 0.41575610637664795, -0.14670580625534058, -0.07435484975576401, -0.4988519847393036, 0.2555457055568695, 0.02150711975991726, -0.03397678583860397, 0.15110057592391968, -0.2211417257785797, 0.3844856023788452, 0.689305305480957, 0.22001022100448608, 0.21734990179538727, -0.1550632268190384, -0.4249664843082428, -0.14800165593624115, 0.3550984859466553, 0.16046157479286194, 0.12950003147125244, 0.22076302766799927, 0.2706880271434784, -0.17331604659557343, 0.16514089703559875, -0.2886001169681549, 0.1348782777786255, 0.11369851976633072, -0.05278749391436577, 0.04974742233753204, 0.16210073232650757, -0.10462412238121033, -0.5385134220123291, 0.18172414600849152, 0.26796960830688477, 0.05183786898851395, 0.08245984464883804, 0.320540189743042, -0.35560157895088196, -0.6796614527702332, 0.03307652473449707, -0.4083859622478485, -0.1021476536989212, -0.2913733422756195, 0.21580763161182404, -0.4637472927570343, -0.13785265386104584, 0.1719318926334381, 0.29442861676216125, -0.2212619185447693, -0.06947533041238785, 0.1964503824710846, -0.11613428592681885, -0.21407286822795868, -0.36005786061286926, 0.19528794288635254, -0.20283976197242737, 0.2453971654176712, 0.12078925967216492, -0.15703663229942322, 0.0287930890917778, -0.25385499000549316, -0.47244423627853394, 0.24154406785964966, 0.25209841132164, 0.2872316837310791, -0.008692537434399128, -0.12287049740552902, -0.40282124280929565, 0.01719270460307598, 0.11290144175291061, 0.22830761969089508, -0.2078540027141571, 0.09844595938920975, -0.2734004557132721, -0.1007675975561142, -0.1875210702419281, -0.44787684082984924, -0.6948840022087097, -0.07911738753318787, -0.2763242721557617, 0.0938917025923729, 0.09809118509292603, 0.02587250992655754, -0.295886367559433, -0.06539455056190491, -0.06697145849466324, -0.028174353763461113, -0.4188028872013092, -0.02981734089553356, 0.18924865126609802, -0.19740980863571167, -0.4436499774456024, 0.18458007276058197, -0.18675315380096436, 0.5229350328445435, -0.08613701164722443, -0.32208019495010376, -0.21926791965961456, 0.14345763623714447, -0.029710253700613976, -0.19707512855529785, -0.06160791590809822, 0.41711699962615967, 0.12400510162115097, -0.10005902498960495, -0.19291569292545319, -0.11034796386957169, 0.03323378413915634, 0.1275910884141922, 0.3606376349925995, -0.49333009123802185, 0.4674279987812042, 0.1980419158935547, -0.013259030878543854, 0.1952849179506302, 0.07887290418148041, 0.34757325053215027, -0.004205743782222271, 0.37133896350860596, -0.050649456679821014, -0.061718717217445374, 0.33648645877838135, 0.09892524778842926, 0.0009207807015627623, 0.450581431388855, -0.058942876756191254, -0.1906973123550415, -0.03462318703532219, -0.006638339255005121, -0.21567302942276, -0.19710354506969452, -0.027841994538903236, -0.26870355010032654, 0.47042104601860046, 0.42046919465065, 0.3366919159889221, -0.023367542773485184, -0.10142812132835388, -0.042118415236473083, -0.016293009743094444, 0.1497097611427307, 0.03815842792391777, -0.5256183743476868, -0.49770814180374146, -0.34558922052383423, 0.08119293302297592, -0.12754304707050323, 0.3844112455844879, -0.1643027663230896, 0.022123146802186966, 0.211950421333313, 0.008611537516117096, 0.37514233589172363, -0.21254335343837738, -0.18369054794311523, 0.004429253283888102, 0.13645124435424805, -0.08398743718862534, 0.07459139823913574, -0.1571909636259079, 0.2889432907104492, 0.35066309571266174, -0.07052638381719589, -0.2127670794725418, 0.09145871549844742, 0.06340842694044113, 0.17409303784370422, -0.23756609857082367, 0.1416465789079666, -0.14212779700756073, -0.2968582212924957, -0.24960041046142578, 0.07279691845178604, -0.01468583568930626, -0.061021339148283005, 0.18955470621585846, -0.24400103092193604, -0.029131218791007996, 0.11381102353334427, -0.0016237508971244097, 0.17258916795253754, 0.4017636179924011, -0.031072527170181274, 0.030601562932133675, -0.11169065535068512, 0.38438647985458374, 0.08830976486206055, 0.3451341688632965, 0.060571908950805664, -0.1726808249950409, 0.31230130791664124, -0.46791890263557434, 0.49435174465179443, 0.1918145716190338, 0.06493409723043442, 0.1337171196937561, 0.3685298264026642, -0.23910817503929138, 0.0018246937543153763, -0.08059922605752945, 0.19309231638908386, 0.18535584211349487, -0.1942644566297531, -0.07434644550085068, -0.1209431067109108, -0.22142887115478516, -0.03422315791249275, -0.3230259120464325, -0.055518101900815964, -0.2375258058309555, 0.30804452300071716, -0.021528689190745354, 0.6418846845626831, 0.17462487518787384, 0.3108847737312317, 0.08072331547737122, -0.06453517824411392, 0.23997707664966583, 0.017962686717510223, 0.22772520780563354, -0.14420683681964874, 0.00732702249661088, -0.08338239789009094, 0.13412250578403473, 0.15691998600959778, 0.23815178871154785, -0.14453235268592834, 0.2807873487472534, 0.42037561535835266, -0.19497831165790558, 0.17027802765369415, -0.18903978168964386, 0.09382909536361694, -0.14676015079021454, -0.3043121099472046, 0.10283278673887253, 0.11523571610450745, 0.28211072087287903, -0.13777866959571838, -0.1641964465379715, 0.0350981242954731, -0.1866517961025238, 0.018869657069444656, 0.07711981981992722, -0.36674708127975464, 0.16351182758808136, -0.03698624670505524, -0.6222391724586487, -0.03519122675061226, 0.1712401807308197, 0.3543006479740143, 0.38735339045524597, -0.21094602346420288, 0.405722975730896, 0.03022191859781742, 0.0005711432895623147, 0.20844820141792297, 0.08604349941015244, 0.1032276451587677, -0.19351959228515625, -0.24936515092849731, 0.17598459124565125, -0.13348588347434998, 0.11678139120340347, -0.3032432198524475, 0.16899093985557556, 0.035503141582012177, 0.18418751657009125, -0.008441025391221046, 0.08460083603858948, 0.13275089859962463, -0.28853747248649597, 0.17759473621845245, 0.23336246609687805, -0.04333927482366562, 0.15260225534439087, -0.13192808628082275, -0.10519718378782272, -0.3623273968696594, 0.3114246726036072, 0.20315605401992798, 0.14261466264724731, 0.6312799453735352, 0.05310044437646866, -0.05133329704403877, -0.23511889576911926, -0.1907874345779419, -0.035327132791280746, -0.18387006223201752, -0.226044699549675, 0.2824942171573639, -0.05212697014212608, -0.052003730088472366, -0.00825940165668726, -0.08990386128425598, -0.20703057944774628, -0.17642684280872345, -0.5230036377906799, -0.20920193195343018, 0.27544116973876953, 0.04681835323572159, -0.2367953509092331, 0.2507093548774719, 0.06581619381904602, 0.1560073047876358, 0.12080664932727814, -0.35710930824279785, 0.11560439318418503, -0.25272515416145325, 0.23505651950836182, -0.06628746539354324, -0.1679362952709198, 0.2622244358062744, 0.05481499806046486, 0.24071358144283295, -0.23600269854068756, 0.10476231575012207, -0.23676984012126923, 0.06787999719381332, 0.029128272086381912, 0.05883313715457916, 0.1576571762561798, 0.13064448535442352, -0.17542120814323425, -0.10441666841506958, 0.15105463564395905, -0.09112522751092911, -0.0852508470416069, -0.051172662526369095, 0.2376021146774292, -0.18285316228866577, 0.14475305378437042, -0.029773907735943794, 0.03657430410385132, 0.1433107554912567, -0.15769973397254944, 0.113092802464962, 0.2621903121471405, 0.08387394994497299, -0.013467122800648212, -0.013793708756566048, -0.13135316967964172, -0.10826227813959122, 0.04128837585449219, 0.3170904517173767, -0.26999011635780334, 0.01564168557524681, 0.07688911259174347, -0.04635370150208473, -0.07071493566036224, -0.14920344948768616, 0.06150843948125839, 0.19354262948036194, 0.27837660908699036, -0.5849502086639404, -0.10700643807649612, -0.04980543255805969, -0.17530785501003265, 0.1705956608057022, 0.022696752101182938, 0.5271773338317871, -0.09213287383317947, 0.5367223024368286, 0.09770260006189346, 0.03568405658006668, -0.35391369462013245, -0.23033621907234192, 0.18825538456439972, 0.0038194505032151937, 0.26833006739616394, 0.19875897467136383, 0.07099901884794235, 0.0015428503975272179, 0.7694043517112732, 0.1673632711172104, 0.22097620368003845, 0.29238957166671753, 0.14401541650295258, -0.15259867906570435, -0.1878228485584259, -0.037498921155929565, 0.04468955844640732, 0.03004378452897072, 0.025317607447504997, 0.18339578807353973, 0.06855706870555878, 0.1387784481048584, -0.020413920283317566, -0.24079366028308868, 0.1800295114517212, -0.3707484304904938, -0.0898178294301033, 0.05184551328420639, -0.08801694214344025, 0.26346856355667114, -0.13904769718647003, 0.04216468334197998, 0.13787133991718292, -0.08302387595176697, 0.13401412963867188, -0.08300454169511795, -0.2016942799091339, 0.048508383333683014, 0.16574473679065704, -0.3990126848220825, -0.09889580309391022, 0.4323030114173889, 0.10585064440965652, -0.038651641458272934, -0.008460787124931812, 0.0631958469748497, 0.04637463390827179, -0.26476699113845825, -0.20726051926612854, 0.047993723303079605, 0.010714461095631123, -0.30640843510627747, -0.37226229906082153, 0.28607213497161865, 0.46727752685546875, 0.3484222888946533, 0.2432241290807724, 0.1975911557674408, -0.15843267738819122, 0.047057922929525375, 0.2520275413990021, -0.17353259027004242, -0.04981409013271332, 0.008228516206145287, -0.11890693008899689, -0.10570704191923141, -0.3124563694000244, -0.22145584225654602, -0.4838574230670929, -0.1747780442237854, -0.04465865343809128, -0.046349648386240005, -0.01723760925233364, -0.11307370662689209, 0.1404392123222351, -0.20135660469532013, 0.22153340280056, 0.324209600687027, 0.2217310667037964, -0.05785529688000679, -0.3483488857746124, -0.56354820728302, 0.06714556366205215, -0.004010005388408899, 0.04373902454972267, -0.19768305122852325, 0.17780393362045288, 0.34074661135673523, -0.10274282097816467, -0.056957751512527466, 0.22785240411758423, -0.013679352588951588, -0.11127308011054993, -0.5286287665367126, -0.3276302218437195, -0.06482292711734772, 0.19480793178081512, -0.10221223533153534, -0.07606329768896103, 0.19639170169830322, 0.2364240437746048, 0.1867848038673401, -0.32263725996017456, -0.03797318786382675, -0.2827630043029785, 0.1872357577085495, 0.33189910650253296, 0.41100817918777466, 0.2571391761302948, -0.25095850229263306, -0.11645863205194473, 0.15364061295986176, -0.22474563121795654, 0.11551561951637268, 0.4890097379684448, 0.22761988639831543, 0.13483552634716034, 0.014133552089333534, -0.1252041906118393, 0.16076920926570892, 0.2522563934326172, 0.13519573211669922, -0.12206315249204636, -0.20091815292835236, 0.48086342215538025, 0.020726187154650688, 0.05182775855064392, 0.03819408267736435, 0.13654911518096924, 0.11530646681785583, -0.17960451543331146, -0.11233820766210556, -0.06339354813098907, -0.09292077273130417, -0.24681158363819122, -0.023415319621562958, -0.3867541551589966, 0.16885347664356232, -0.20789434015750885, -0.04668053612112999, 0.0552787110209465, 0.13854528963565826, 0.40805017948150635, -0.1719498634338379, 0.04509586840867996, 0.26275819540023804, 0.2257905751466751, -0.03639775887131691, -0.126002237200737, 0.41154175996780396, 0.37108078598976135, -0.32499581575393677, 0.2025127112865448, -0.10447458177804947 ]
https://github.com/huggingface/datasets/issues/2135
en language data from MLQA dataset is missing
Hi @lhoestq thank you very much for coming back to me, now I see, you are right, in the link you sent I see split of {split}-context-{context_language}-question-{question_language}.json with context_language=question_language=en, TFDS most probably has extracted english ones from these files as en language files, but translate-train/test do not have en indeed. thanks a lot for the great explanations
Hi I need mlqa-translate-train.en dataset, but it is missing from the MLQA dataset. could you have a look please? @lhoestq thank you for your help to fix this issue.
57
en language data from MLQA dataset is missing
[ -0.04681582376360893, 0.09215499460697174, -0.23926448822021484, 0.26045942306518555, 0.005004319828003645, 0.16276191174983978, 0.13137134909629822, -0.05315788835287094, -0.09431038051843643, 0.26354748010635376, 0.3005234897136688, 0.15453331172466278, 0.11039384454488754, 0.4087677299976349, 0.20215098559856415, 0.08073151856660843, -0.10700513422489166, 0.0943274199962616, -0.14191703498363495, -0.4275670349597931, 0.06031525507569313, 0.35825368762016296, -0.04867551848292351, 0.03508709371089935, -0.16449236869812012, 0.07968886196613312, -0.23647211492061615, 0.16506056487560272, -0.025269491598010063, 0.0019429490203037858, 0.014852878637611866, -0.2956080734729767, 0.023728415369987488, -0.3568974435329437, -0.00010456568270456046, -0.00776088098064065, 0.10494876652956009, -0.254848837852478, -0.3499116003513336, 0.08200599998235703, -0.31035909056663513, -0.28103551268577576, -0.16039715707302094, -0.24319195747375488, -0.2401653677225113, -0.15021555125713348, 0.11493436992168427, -0.4562148451805115, -0.013218891806900501, 0.26386719942092896, 0.2561347484588623, 0.12936384975910187, -0.05082258582115173, -0.08417091518640518, 0.027942277491092682, 0.04342593997716904, 0.26577794551849365, 0.04971565306186676, 0.2494928240776062, 0.05144328996539116, 0.10253945738077164, 0.5749057531356812, 0.240341454744339, -0.12190932035446167, -0.3064897656440735, 0.1763339340686798, 0.3887593448162079, -0.3564862906932831, 0.30674752593040466, 0.13787007331848145, 0.3304208517074585, -0.07595209032297134, -0.30162423849105835, -0.08880005031824112, 0.1666599065065384, -0.12628503143787384, 0.18913844227790833, 0.2994749844074249, -0.021282868459820747, 0.16283844411373138, 0.1820630431175232, -0.133018359541893, -0.030433693900704384, 0.09657355397939682, -0.403896301984787, 0.35753849148750305, -0.014895840547978878, -0.11006442457437515, -0.28785941004753113, 0.11900978535413742, 0.23929870128631592, 0.10421473532915115, -0.29794302582740784, 0.0633402094244957, -0.003797556972131133, -0.0497906319797039, 0.2737446427345276, 0.1682022511959076, -0.0377570241689682, -0.4041215181350708, -0.27368447184562683, 0.19518812000751495, 0.002262261463329196, 0.08588919788599014, 0.09415954351425171, -0.1191057413816452, 0.03547460585832596, -0.1565806120634079, 0.0856882780790329, -0.45050960779190063, 0.023001184687018394, -0.2322077602148056, -0.0005852741887792945, 0.06595274806022644, -0.4475065767765045, 0.24362881481647491, 0.01408922765403986, -0.23334728181362152, -0.4733337163925171, 0.04081878438591957, -0.41946014761924744, -0.08078151941299438, -0.0014764320803806186, 0.15438693761825562, 0.14114950597286224, -0.04606211930513382, -0.13852150738239288, 0.18791848421096802, -0.37759262323379517, -0.5216241478919983, -0.3438926041126251, 0.14760062098503113, -0.036011893302202225, -0.34802332520484924, 0.078324094414711, 0.25738558173179626, 0.36794012784957886, -0.10280795395374298, 0.0181274376809597, 0.015372447669506073, 0.15826338529586792, -0.11831554025411606, 0.2543443739414215, 0.11703409999608994, 0.19109301269054413, 0.16068436205387115, 0.09810320287942886, -0.24075843393802643, -0.0006689789588563144, 0.11494645476341248, -0.18889549374580383, -0.033285487443208694, -0.3069574236869812, 0.31517294049263, 0.04207179322838783, -0.09733247011899948, 0.5553781986236572, 0.3728463053703308, 0.19156159460544586, -0.1951969712972641, 0.14435730874538422, -0.02877875044941902, 0.07565931975841522, 0.006022161338478327, 0.13910432159900665, 0.46618983149528503, -0.5569353103637695, -0.2530704438686371, 0.09648050367832184, -0.09851858019828796, 0.26700088381767273, 0.1823464035987854, -0.23970003426074982, 0.08994849771261215, -0.3589463233947754, 0.044138725847005844, -0.012243231758475304, -0.19651365280151367, -0.5380953550338745, 0.07147421687841415, 0.15394054353237152, -0.23010286688804626, 0.177067369222641, 0.1865442395210266, 0.06595966964960098, -0.005335124675184488, 0.33983519673347473, 0.16166725754737854, -0.013728929683566093, -0.08515224605798721, -0.18026186525821686, -0.09510108083486557, 0.20502504706382751, 0.15899178385734558, -0.022519754245877266, -0.14070002734661102, 0.20299571752548218, -0.051975104957818985, 0.22790105640888214, -0.3180725872516632, 0.16802185773849487, 0.4884979724884033, -0.10173219442367554, -0.16002508997917175, 0.03277413174510002, 0.15888960659503937, -0.07342612743377686, -0.07591468840837479, -0.6564948558807373, 0.26502636075019836, -0.31073617935180664, 0.05358654260635376, 0.027517808601260185, 0.04578305408358574, -0.20247840881347656, -0.22335055470466614, 0.28678232431411743, 0.1891022026538849, -0.26061171293258667, 0.5311120748519897, 0.12736853957176208, -0.002098977565765381, 0.10489081591367722, -0.17648184299468994, -0.29755935072898865, 0.41982802748680115, -0.15393859148025513, -0.036009304225444794, 0.20572014153003693, 0.5542095303535461, 0.09608340263366699, -0.04423658549785614, 0.049300067126750946, -0.08197474479675293, -0.026407990604639053, 0.21101361513137817, -0.0009125999640673399, -0.041965384036302567, 0.50691157579422, -0.2504107654094696, 0.36393871903419495, 0.21379512548446655, 0.18272089958190918, 0.24027472734451294, -0.19102661311626434, 0.3834734559059143, 0.1945083737373352, -0.26550543308258057, 0.09056985378265381, 0.21271030604839325, 0.41575610637664795, -0.14670580625534058, -0.07435484975576401, -0.4988519847393036, 0.2555457055568695, 0.02150711975991726, -0.03397678583860397, 0.15110057592391968, -0.2211417257785797, 0.3844856023788452, 0.689305305480957, 0.22001022100448608, 0.21734990179538727, -0.1550632268190384, -0.4249664843082428, -0.14800165593624115, 0.3550984859466553, 0.16046157479286194, 0.12950003147125244, 0.22076302766799927, 0.2706880271434784, -0.17331604659557343, 0.16514089703559875, -0.2886001169681549, 0.1348782777786255, 0.11369851976633072, -0.05278749391436577, 0.04974742233753204, 0.16210073232650757, -0.10462412238121033, -0.5385134220123291, 0.18172414600849152, 0.26796960830688477, 0.05183786898851395, 0.08245984464883804, 0.320540189743042, -0.35560157895088196, -0.6796614527702332, 0.03307652473449707, -0.4083859622478485, -0.1021476536989212, -0.2913733422756195, 0.21580763161182404, -0.4637472927570343, -0.13785265386104584, 0.1719318926334381, 0.29442861676216125, -0.2212619185447693, -0.06947533041238785, 0.1964503824710846, -0.11613428592681885, -0.21407286822795868, -0.36005786061286926, 0.19528794288635254, -0.20283976197242737, 0.2453971654176712, 0.12078925967216492, -0.15703663229942322, 0.0287930890917778, -0.25385499000549316, -0.47244423627853394, 0.24154406785964966, 0.25209841132164, 0.2872316837310791, -0.008692537434399128, -0.12287049740552902, -0.40282124280929565, 0.01719270460307598, 0.11290144175291061, 0.22830761969089508, -0.2078540027141571, 0.09844595938920975, -0.2734004557132721, -0.1007675975561142, -0.1875210702419281, -0.44787684082984924, -0.6948840022087097, -0.07911738753318787, -0.2763242721557617, 0.0938917025923729, 0.09809118509292603, 0.02587250992655754, -0.295886367559433, -0.06539455056190491, -0.06697145849466324, -0.028174353763461113, -0.4188028872013092, -0.02981734089553356, 0.18924865126609802, -0.19740980863571167, -0.4436499774456024, 0.18458007276058197, -0.18675315380096436, 0.5229350328445435, -0.08613701164722443, -0.32208019495010376, -0.21926791965961456, 0.14345763623714447, -0.029710253700613976, -0.19707512855529785, -0.06160791590809822, 0.41711699962615967, 0.12400510162115097, -0.10005902498960495, -0.19291569292545319, -0.11034796386957169, 0.03323378413915634, 0.1275910884141922, 0.3606376349925995, -0.49333009123802185, 0.4674279987812042, 0.1980419158935547, -0.013259030878543854, 0.1952849179506302, 0.07887290418148041, 0.34757325053215027, -0.004205743782222271, 0.37133896350860596, -0.050649456679821014, -0.061718717217445374, 0.33648645877838135, 0.09892524778842926, 0.0009207807015627623, 0.450581431388855, -0.058942876756191254, -0.1906973123550415, -0.03462318703532219, -0.006638339255005121, -0.21567302942276, -0.19710354506969452, -0.027841994538903236, -0.26870355010032654, 0.47042104601860046, 0.42046919465065, 0.3366919159889221, -0.023367542773485184, -0.10142812132835388, -0.042118415236473083, -0.016293009743094444, 0.1497097611427307, 0.03815842792391777, -0.5256183743476868, -0.49770814180374146, -0.34558922052383423, 0.08119293302297592, -0.12754304707050323, 0.3844112455844879, -0.1643027663230896, 0.022123146802186966, 0.211950421333313, 0.008611537516117096, 0.37514233589172363, -0.21254335343837738, -0.18369054794311523, 0.004429253283888102, 0.13645124435424805, -0.08398743718862534, 0.07459139823913574, -0.1571909636259079, 0.2889432907104492, 0.35066309571266174, -0.07052638381719589, -0.2127670794725418, 0.09145871549844742, 0.06340842694044113, 0.17409303784370422, -0.23756609857082367, 0.1416465789079666, -0.14212779700756073, -0.2968582212924957, -0.24960041046142578, 0.07279691845178604, -0.01468583568930626, -0.061021339148283005, 0.18955470621585846, -0.24400103092193604, -0.029131218791007996, 0.11381102353334427, -0.0016237508971244097, 0.17258916795253754, 0.4017636179924011, -0.031072527170181274, 0.030601562932133675, -0.11169065535068512, 0.38438647985458374, 0.08830976486206055, 0.3451341688632965, 0.060571908950805664, -0.1726808249950409, 0.31230130791664124, -0.46791890263557434, 0.49435174465179443, 0.1918145716190338, 0.06493409723043442, 0.1337171196937561, 0.3685298264026642, -0.23910817503929138, 0.0018246937543153763, -0.08059922605752945, 0.19309231638908386, 0.18535584211349487, -0.1942644566297531, -0.07434644550085068, -0.1209431067109108, -0.22142887115478516, -0.03422315791249275, -0.3230259120464325, -0.055518101900815964, -0.2375258058309555, 0.30804452300071716, -0.021528689190745354, 0.6418846845626831, 0.17462487518787384, 0.3108847737312317, 0.08072331547737122, -0.06453517824411392, 0.23997707664966583, 0.017962686717510223, 0.22772520780563354, -0.14420683681964874, 0.00732702249661088, -0.08338239789009094, 0.13412250578403473, 0.15691998600959778, 0.23815178871154785, -0.14453235268592834, 0.2807873487472534, 0.42037561535835266, -0.19497831165790558, 0.17027802765369415, -0.18903978168964386, 0.09382909536361694, -0.14676015079021454, -0.3043121099472046, 0.10283278673887253, 0.11523571610450745, 0.28211072087287903, -0.13777866959571838, -0.1641964465379715, 0.0350981242954731, -0.1866517961025238, 0.018869657069444656, 0.07711981981992722, -0.36674708127975464, 0.16351182758808136, -0.03698624670505524, -0.6222391724586487, -0.03519122675061226, 0.1712401807308197, 0.3543006479740143, 0.38735339045524597, -0.21094602346420288, 0.405722975730896, 0.03022191859781742, 0.0005711432895623147, 0.20844820141792297, 0.08604349941015244, 0.1032276451587677, -0.19351959228515625, -0.24936515092849731, 0.17598459124565125, -0.13348588347434998, 0.11678139120340347, -0.3032432198524475, 0.16899093985557556, 0.035503141582012177, 0.18418751657009125, -0.008441025391221046, 0.08460083603858948, 0.13275089859962463, -0.28853747248649597, 0.17759473621845245, 0.23336246609687805, -0.04333927482366562, 0.15260225534439087, -0.13192808628082275, -0.10519718378782272, -0.3623273968696594, 0.3114246726036072, 0.20315605401992798, 0.14261466264724731, 0.6312799453735352, 0.05310044437646866, -0.05133329704403877, -0.23511889576911926, -0.1907874345779419, -0.035327132791280746, -0.18387006223201752, -0.226044699549675, 0.2824942171573639, -0.05212697014212608, -0.052003730088472366, -0.00825940165668726, -0.08990386128425598, -0.20703057944774628, -0.17642684280872345, -0.5230036377906799, -0.20920193195343018, 0.27544116973876953, 0.04681835323572159, -0.2367953509092331, 0.2507093548774719, 0.06581619381904602, 0.1560073047876358, 0.12080664932727814, -0.35710930824279785, 0.11560439318418503, -0.25272515416145325, 0.23505651950836182, -0.06628746539354324, -0.1679362952709198, 0.2622244358062744, 0.05481499806046486, 0.24071358144283295, -0.23600269854068756, 0.10476231575012207, -0.23676984012126923, 0.06787999719381332, 0.029128272086381912, 0.05883313715457916, 0.1576571762561798, 0.13064448535442352, -0.17542120814323425, -0.10441666841506958, 0.15105463564395905, -0.09112522751092911, -0.0852508470416069, -0.051172662526369095, 0.2376021146774292, -0.18285316228866577, 0.14475305378437042, -0.029773907735943794, 0.03657430410385132, 0.1433107554912567, -0.15769973397254944, 0.113092802464962, 0.2621903121471405, 0.08387394994497299, -0.013467122800648212, -0.013793708756566048, -0.13135316967964172, -0.10826227813959122, 0.04128837585449219, 0.3170904517173767, -0.26999011635780334, 0.01564168557524681, 0.07688911259174347, -0.04635370150208473, -0.07071493566036224, -0.14920344948768616, 0.06150843948125839, 0.19354262948036194, 0.27837660908699036, -0.5849502086639404, -0.10700643807649612, -0.04980543255805969, -0.17530785501003265, 0.1705956608057022, 0.022696752101182938, 0.5271773338317871, -0.09213287383317947, 0.5367223024368286, 0.09770260006189346, 0.03568405658006668, -0.35391369462013245, -0.23033621907234192, 0.18825538456439972, 0.0038194505032151937, 0.26833006739616394, 0.19875897467136383, 0.07099901884794235, 0.0015428503975272179, 0.7694043517112732, 0.1673632711172104, 0.22097620368003845, 0.29238957166671753, 0.14401541650295258, -0.15259867906570435, -0.1878228485584259, -0.037498921155929565, 0.04468955844640732, 0.03004378452897072, 0.025317607447504997, 0.18339578807353973, 0.06855706870555878, 0.1387784481048584, -0.020413920283317566, -0.24079366028308868, 0.1800295114517212, -0.3707484304904938, -0.0898178294301033, 0.05184551328420639, -0.08801694214344025, 0.26346856355667114, -0.13904769718647003, 0.04216468334197998, 0.13787133991718292, -0.08302387595176697, 0.13401412963867188, -0.08300454169511795, -0.2016942799091339, 0.048508383333683014, 0.16574473679065704, -0.3990126848220825, -0.09889580309391022, 0.4323030114173889, 0.10585064440965652, -0.038651641458272934, -0.008460787124931812, 0.0631958469748497, 0.04637463390827179, -0.26476699113845825, -0.20726051926612854, 0.047993723303079605, 0.010714461095631123, -0.30640843510627747, -0.37226229906082153, 0.28607213497161865, 0.46727752685546875, 0.3484222888946533, 0.2432241290807724, 0.1975911557674408, -0.15843267738819122, 0.047057922929525375, 0.2520275413990021, -0.17353259027004242, -0.04981409013271332, 0.008228516206145287, -0.11890693008899689, -0.10570704191923141, -0.3124563694000244, -0.22145584225654602, -0.4838574230670929, -0.1747780442237854, -0.04465865343809128, -0.046349648386240005, -0.01723760925233364, -0.11307370662689209, 0.1404392123222351, -0.20135660469532013, 0.22153340280056, 0.324209600687027, 0.2217310667037964, -0.05785529688000679, -0.3483488857746124, -0.56354820728302, 0.06714556366205215, -0.004010005388408899, 0.04373902454972267, -0.19768305122852325, 0.17780393362045288, 0.34074661135673523, -0.10274282097816467, -0.056957751512527466, 0.22785240411758423, -0.013679352588951588, -0.11127308011054993, -0.5286287665367126, -0.3276302218437195, -0.06482292711734772, 0.19480793178081512, -0.10221223533153534, -0.07606329768896103, 0.19639170169830322, 0.2364240437746048, 0.1867848038673401, -0.32263725996017456, -0.03797318786382675, -0.2827630043029785, 0.1872357577085495, 0.33189910650253296, 0.41100817918777466, 0.2571391761302948, -0.25095850229263306, -0.11645863205194473, 0.15364061295986176, -0.22474563121795654, 0.11551561951637268, 0.4890097379684448, 0.22761988639831543, 0.13483552634716034, 0.014133552089333534, -0.1252041906118393, 0.16076920926570892, 0.2522563934326172, 0.13519573211669922, -0.12206315249204636, -0.20091815292835236, 0.48086342215538025, 0.020726187154650688, 0.05182775855064392, 0.03819408267736435, 0.13654911518096924, 0.11530646681785583, -0.17960451543331146, -0.11233820766210556, -0.06339354813098907, -0.09292077273130417, -0.24681158363819122, -0.023415319621562958, -0.3867541551589966, 0.16885347664356232, -0.20789434015750885, -0.04668053612112999, 0.0552787110209465, 0.13854528963565826, 0.40805017948150635, -0.1719498634338379, 0.04509586840867996, 0.26275819540023804, 0.2257905751466751, -0.03639775887131691, -0.126002237200737, 0.41154175996780396, 0.37108078598976135, -0.32499581575393677, 0.2025127112865448, -0.10447458177804947 ]
https://github.com/huggingface/datasets/issues/2135
en language data from MLQA dataset is missing
I close the ticket, since I do not see any en existing, they have trained on "SQuAD V1.1" instead. Thanks.
Hi I need mlqa-translate-train.en dataset, but it is missing from the MLQA dataset. could you have a look please? @lhoestq thank you for your help to fix this issue.
20
en language data from MLQA dataset is missing
[ -0.04681582376360893, 0.09215499460697174, -0.23926448822021484, 0.26045942306518555, 0.005004319828003645, 0.16276191174983978, 0.13137134909629822, -0.05315788835287094, -0.09431038051843643, 0.26354748010635376, 0.3005234897136688, 0.15453331172466278, 0.11039384454488754, 0.4087677299976349, 0.20215098559856415, 0.08073151856660843, -0.10700513422489166, 0.0943274199962616, -0.14191703498363495, -0.4275670349597931, 0.06031525507569313, 0.35825368762016296, -0.04867551848292351, 0.03508709371089935, -0.16449236869812012, 0.07968886196613312, -0.23647211492061615, 0.16506056487560272, -0.025269491598010063, 0.0019429490203037858, 0.014852878637611866, -0.2956080734729767, 0.023728415369987488, -0.3568974435329437, -0.00010456568270456046, -0.00776088098064065, 0.10494876652956009, -0.254848837852478, -0.3499116003513336, 0.08200599998235703, -0.31035909056663513, -0.28103551268577576, -0.16039715707302094, -0.24319195747375488, -0.2401653677225113, -0.15021555125713348, 0.11493436992168427, -0.4562148451805115, -0.013218891806900501, 0.26386719942092896, 0.2561347484588623, 0.12936384975910187, -0.05082258582115173, -0.08417091518640518, 0.027942277491092682, 0.04342593997716904, 0.26577794551849365, 0.04971565306186676, 0.2494928240776062, 0.05144328996539116, 0.10253945738077164, 0.5749057531356812, 0.240341454744339, -0.12190932035446167, -0.3064897656440735, 0.1763339340686798, 0.3887593448162079, -0.3564862906932831, 0.30674752593040466, 0.13787007331848145, 0.3304208517074585, -0.07595209032297134, -0.30162423849105835, -0.08880005031824112, 0.1666599065065384, -0.12628503143787384, 0.18913844227790833, 0.2994749844074249, -0.021282868459820747, 0.16283844411373138, 0.1820630431175232, -0.133018359541893, -0.030433693900704384, 0.09657355397939682, -0.403896301984787, 0.35753849148750305, -0.014895840547978878, -0.11006442457437515, -0.28785941004753113, 0.11900978535413742, 0.23929870128631592, 0.10421473532915115, -0.29794302582740784, 0.0633402094244957, -0.003797556972131133, -0.0497906319797039, 0.2737446427345276, 0.1682022511959076, -0.0377570241689682, -0.4041215181350708, -0.27368447184562683, 0.19518812000751495, 0.002262261463329196, 0.08588919788599014, 0.09415954351425171, -0.1191057413816452, 0.03547460585832596, -0.1565806120634079, 0.0856882780790329, -0.45050960779190063, 0.023001184687018394, -0.2322077602148056, -0.0005852741887792945, 0.06595274806022644, -0.4475065767765045, 0.24362881481647491, 0.01408922765403986, -0.23334728181362152, -0.4733337163925171, 0.04081878438591957, -0.41946014761924744, -0.08078151941299438, -0.0014764320803806186, 0.15438693761825562, 0.14114950597286224, -0.04606211930513382, -0.13852150738239288, 0.18791848421096802, -0.37759262323379517, -0.5216241478919983, -0.3438926041126251, 0.14760062098503113, -0.036011893302202225, -0.34802332520484924, 0.078324094414711, 0.25738558173179626, 0.36794012784957886, -0.10280795395374298, 0.0181274376809597, 0.015372447669506073, 0.15826338529586792, -0.11831554025411606, 0.2543443739414215, 0.11703409999608994, 0.19109301269054413, 0.16068436205387115, 0.09810320287942886, -0.24075843393802643, -0.0006689789588563144, 0.11494645476341248, -0.18889549374580383, -0.033285487443208694, -0.3069574236869812, 0.31517294049263, 0.04207179322838783, -0.09733247011899948, 0.5553781986236572, 0.3728463053703308, 0.19156159460544586, -0.1951969712972641, 0.14435730874538422, -0.02877875044941902, 0.07565931975841522, 0.006022161338478327, 0.13910432159900665, 0.46618983149528503, -0.5569353103637695, -0.2530704438686371, 0.09648050367832184, -0.09851858019828796, 0.26700088381767273, 0.1823464035987854, -0.23970003426074982, 0.08994849771261215, -0.3589463233947754, 0.044138725847005844, -0.012243231758475304, -0.19651365280151367, -0.5380953550338745, 0.07147421687841415, 0.15394054353237152, -0.23010286688804626, 0.177067369222641, 0.1865442395210266, 0.06595966964960098, -0.005335124675184488, 0.33983519673347473, 0.16166725754737854, -0.013728929683566093, -0.08515224605798721, -0.18026186525821686, -0.09510108083486557, 0.20502504706382751, 0.15899178385734558, -0.022519754245877266, -0.14070002734661102, 0.20299571752548218, -0.051975104957818985, 0.22790105640888214, -0.3180725872516632, 0.16802185773849487, 0.4884979724884033, -0.10173219442367554, -0.16002508997917175, 0.03277413174510002, 0.15888960659503937, -0.07342612743377686, -0.07591468840837479, -0.6564948558807373, 0.26502636075019836, -0.31073617935180664, 0.05358654260635376, 0.027517808601260185, 0.04578305408358574, -0.20247840881347656, -0.22335055470466614, 0.28678232431411743, 0.1891022026538849, -0.26061171293258667, 0.5311120748519897, 0.12736853957176208, -0.002098977565765381, 0.10489081591367722, -0.17648184299468994, -0.29755935072898865, 0.41982802748680115, -0.15393859148025513, -0.036009304225444794, 0.20572014153003693, 0.5542095303535461, 0.09608340263366699, -0.04423658549785614, 0.049300067126750946, -0.08197474479675293, -0.026407990604639053, 0.21101361513137817, -0.0009125999640673399, -0.041965384036302567, 0.50691157579422, -0.2504107654094696, 0.36393871903419495, 0.21379512548446655, 0.18272089958190918, 0.24027472734451294, -0.19102661311626434, 0.3834734559059143, 0.1945083737373352, -0.26550543308258057, 0.09056985378265381, 0.21271030604839325, 0.41575610637664795, -0.14670580625534058, -0.07435484975576401, -0.4988519847393036, 0.2555457055568695, 0.02150711975991726, -0.03397678583860397, 0.15110057592391968, -0.2211417257785797, 0.3844856023788452, 0.689305305480957, 0.22001022100448608, 0.21734990179538727, -0.1550632268190384, -0.4249664843082428, -0.14800165593624115, 0.3550984859466553, 0.16046157479286194, 0.12950003147125244, 0.22076302766799927, 0.2706880271434784, -0.17331604659557343, 0.16514089703559875, -0.2886001169681549, 0.1348782777786255, 0.11369851976633072, -0.05278749391436577, 0.04974742233753204, 0.16210073232650757, -0.10462412238121033, -0.5385134220123291, 0.18172414600849152, 0.26796960830688477, 0.05183786898851395, 0.08245984464883804, 0.320540189743042, -0.35560157895088196, -0.6796614527702332, 0.03307652473449707, -0.4083859622478485, -0.1021476536989212, -0.2913733422756195, 0.21580763161182404, -0.4637472927570343, -0.13785265386104584, 0.1719318926334381, 0.29442861676216125, -0.2212619185447693, -0.06947533041238785, 0.1964503824710846, -0.11613428592681885, -0.21407286822795868, -0.36005786061286926, 0.19528794288635254, -0.20283976197242737, 0.2453971654176712, 0.12078925967216492, -0.15703663229942322, 0.0287930890917778, -0.25385499000549316, -0.47244423627853394, 0.24154406785964966, 0.25209841132164, 0.2872316837310791, -0.008692537434399128, -0.12287049740552902, -0.40282124280929565, 0.01719270460307598, 0.11290144175291061, 0.22830761969089508, -0.2078540027141571, 0.09844595938920975, -0.2734004557132721, -0.1007675975561142, -0.1875210702419281, -0.44787684082984924, -0.6948840022087097, -0.07911738753318787, -0.2763242721557617, 0.0938917025923729, 0.09809118509292603, 0.02587250992655754, -0.295886367559433, -0.06539455056190491, -0.06697145849466324, -0.028174353763461113, -0.4188028872013092, -0.02981734089553356, 0.18924865126609802, -0.19740980863571167, -0.4436499774456024, 0.18458007276058197, -0.18675315380096436, 0.5229350328445435, -0.08613701164722443, -0.32208019495010376, -0.21926791965961456, 0.14345763623714447, -0.029710253700613976, -0.19707512855529785, -0.06160791590809822, 0.41711699962615967, 0.12400510162115097, -0.10005902498960495, -0.19291569292545319, -0.11034796386957169, 0.03323378413915634, 0.1275910884141922, 0.3606376349925995, -0.49333009123802185, 0.4674279987812042, 0.1980419158935547, -0.013259030878543854, 0.1952849179506302, 0.07887290418148041, 0.34757325053215027, -0.004205743782222271, 0.37133896350860596, -0.050649456679821014, -0.061718717217445374, 0.33648645877838135, 0.09892524778842926, 0.0009207807015627623, 0.450581431388855, -0.058942876756191254, -0.1906973123550415, -0.03462318703532219, -0.006638339255005121, -0.21567302942276, -0.19710354506969452, -0.027841994538903236, -0.26870355010032654, 0.47042104601860046, 0.42046919465065, 0.3366919159889221, -0.023367542773485184, -0.10142812132835388, -0.042118415236473083, -0.016293009743094444, 0.1497097611427307, 0.03815842792391777, -0.5256183743476868, -0.49770814180374146, -0.34558922052383423, 0.08119293302297592, -0.12754304707050323, 0.3844112455844879, -0.1643027663230896, 0.022123146802186966, 0.211950421333313, 0.008611537516117096, 0.37514233589172363, -0.21254335343837738, -0.18369054794311523, 0.004429253283888102, 0.13645124435424805, -0.08398743718862534, 0.07459139823913574, -0.1571909636259079, 0.2889432907104492, 0.35066309571266174, -0.07052638381719589, -0.2127670794725418, 0.09145871549844742, 0.06340842694044113, 0.17409303784370422, -0.23756609857082367, 0.1416465789079666, -0.14212779700756073, -0.2968582212924957, -0.24960041046142578, 0.07279691845178604, -0.01468583568930626, -0.061021339148283005, 0.18955470621585846, -0.24400103092193604, -0.029131218791007996, 0.11381102353334427, -0.0016237508971244097, 0.17258916795253754, 0.4017636179924011, -0.031072527170181274, 0.030601562932133675, -0.11169065535068512, 0.38438647985458374, 0.08830976486206055, 0.3451341688632965, 0.060571908950805664, -0.1726808249950409, 0.31230130791664124, -0.46791890263557434, 0.49435174465179443, 0.1918145716190338, 0.06493409723043442, 0.1337171196937561, 0.3685298264026642, -0.23910817503929138, 0.0018246937543153763, -0.08059922605752945, 0.19309231638908386, 0.18535584211349487, -0.1942644566297531, -0.07434644550085068, -0.1209431067109108, -0.22142887115478516, -0.03422315791249275, -0.3230259120464325, -0.055518101900815964, -0.2375258058309555, 0.30804452300071716, -0.021528689190745354, 0.6418846845626831, 0.17462487518787384, 0.3108847737312317, 0.08072331547737122, -0.06453517824411392, 0.23997707664966583, 0.017962686717510223, 0.22772520780563354, -0.14420683681964874, 0.00732702249661088, -0.08338239789009094, 0.13412250578403473, 0.15691998600959778, 0.23815178871154785, -0.14453235268592834, 0.2807873487472534, 0.42037561535835266, -0.19497831165790558, 0.17027802765369415, -0.18903978168964386, 0.09382909536361694, -0.14676015079021454, -0.3043121099472046, 0.10283278673887253, 0.11523571610450745, 0.28211072087287903, -0.13777866959571838, -0.1641964465379715, 0.0350981242954731, -0.1866517961025238, 0.018869657069444656, 0.07711981981992722, -0.36674708127975464, 0.16351182758808136, -0.03698624670505524, -0.6222391724586487, -0.03519122675061226, 0.1712401807308197, 0.3543006479740143, 0.38735339045524597, -0.21094602346420288, 0.405722975730896, 0.03022191859781742, 0.0005711432895623147, 0.20844820141792297, 0.08604349941015244, 0.1032276451587677, -0.19351959228515625, -0.24936515092849731, 0.17598459124565125, -0.13348588347434998, 0.11678139120340347, -0.3032432198524475, 0.16899093985557556, 0.035503141582012177, 0.18418751657009125, -0.008441025391221046, 0.08460083603858948, 0.13275089859962463, -0.28853747248649597, 0.17759473621845245, 0.23336246609687805, -0.04333927482366562, 0.15260225534439087, -0.13192808628082275, -0.10519718378782272, -0.3623273968696594, 0.3114246726036072, 0.20315605401992798, 0.14261466264724731, 0.6312799453735352, 0.05310044437646866, -0.05133329704403877, -0.23511889576911926, -0.1907874345779419, -0.035327132791280746, -0.18387006223201752, -0.226044699549675, 0.2824942171573639, -0.05212697014212608, -0.052003730088472366, -0.00825940165668726, -0.08990386128425598, -0.20703057944774628, -0.17642684280872345, -0.5230036377906799, -0.20920193195343018, 0.27544116973876953, 0.04681835323572159, -0.2367953509092331, 0.2507093548774719, 0.06581619381904602, 0.1560073047876358, 0.12080664932727814, -0.35710930824279785, 0.11560439318418503, -0.25272515416145325, 0.23505651950836182, -0.06628746539354324, -0.1679362952709198, 0.2622244358062744, 0.05481499806046486, 0.24071358144283295, -0.23600269854068756, 0.10476231575012207, -0.23676984012126923, 0.06787999719381332, 0.029128272086381912, 0.05883313715457916, 0.1576571762561798, 0.13064448535442352, -0.17542120814323425, -0.10441666841506958, 0.15105463564395905, -0.09112522751092911, -0.0852508470416069, -0.051172662526369095, 0.2376021146774292, -0.18285316228866577, 0.14475305378437042, -0.029773907735943794, 0.03657430410385132, 0.1433107554912567, -0.15769973397254944, 0.113092802464962, 0.2621903121471405, 0.08387394994497299, -0.013467122800648212, -0.013793708756566048, -0.13135316967964172, -0.10826227813959122, 0.04128837585449219, 0.3170904517173767, -0.26999011635780334, 0.01564168557524681, 0.07688911259174347, -0.04635370150208473, -0.07071493566036224, -0.14920344948768616, 0.06150843948125839, 0.19354262948036194, 0.27837660908699036, -0.5849502086639404, -0.10700643807649612, -0.04980543255805969, -0.17530785501003265, 0.1705956608057022, 0.022696752101182938, 0.5271773338317871, -0.09213287383317947, 0.5367223024368286, 0.09770260006189346, 0.03568405658006668, -0.35391369462013245, -0.23033621907234192, 0.18825538456439972, 0.0038194505032151937, 0.26833006739616394, 0.19875897467136383, 0.07099901884794235, 0.0015428503975272179, 0.7694043517112732, 0.1673632711172104, 0.22097620368003845, 0.29238957166671753, 0.14401541650295258, -0.15259867906570435, -0.1878228485584259, -0.037498921155929565, 0.04468955844640732, 0.03004378452897072, 0.025317607447504997, 0.18339578807353973, 0.06855706870555878, 0.1387784481048584, -0.020413920283317566, -0.24079366028308868, 0.1800295114517212, -0.3707484304904938, -0.0898178294301033, 0.05184551328420639, -0.08801694214344025, 0.26346856355667114, -0.13904769718647003, 0.04216468334197998, 0.13787133991718292, -0.08302387595176697, 0.13401412963867188, -0.08300454169511795, -0.2016942799091339, 0.048508383333683014, 0.16574473679065704, -0.3990126848220825, -0.09889580309391022, 0.4323030114173889, 0.10585064440965652, -0.038651641458272934, -0.008460787124931812, 0.0631958469748497, 0.04637463390827179, -0.26476699113845825, -0.20726051926612854, 0.047993723303079605, 0.010714461095631123, -0.30640843510627747, -0.37226229906082153, 0.28607213497161865, 0.46727752685546875, 0.3484222888946533, 0.2432241290807724, 0.1975911557674408, -0.15843267738819122, 0.047057922929525375, 0.2520275413990021, -0.17353259027004242, -0.04981409013271332, 0.008228516206145287, -0.11890693008899689, -0.10570704191923141, -0.3124563694000244, -0.22145584225654602, -0.4838574230670929, -0.1747780442237854, -0.04465865343809128, -0.046349648386240005, -0.01723760925233364, -0.11307370662689209, 0.1404392123222351, -0.20135660469532013, 0.22153340280056, 0.324209600687027, 0.2217310667037964, -0.05785529688000679, -0.3483488857746124, -0.56354820728302, 0.06714556366205215, -0.004010005388408899, 0.04373902454972267, -0.19768305122852325, 0.17780393362045288, 0.34074661135673523, -0.10274282097816467, -0.056957751512527466, 0.22785240411758423, -0.013679352588951588, -0.11127308011054993, -0.5286287665367126, -0.3276302218437195, -0.06482292711734772, 0.19480793178081512, -0.10221223533153534, -0.07606329768896103, 0.19639170169830322, 0.2364240437746048, 0.1867848038673401, -0.32263725996017456, -0.03797318786382675, -0.2827630043029785, 0.1872357577085495, 0.33189910650253296, 0.41100817918777466, 0.2571391761302948, -0.25095850229263306, -0.11645863205194473, 0.15364061295986176, -0.22474563121795654, 0.11551561951637268, 0.4890097379684448, 0.22761988639831543, 0.13483552634716034, 0.014133552089333534, -0.1252041906118393, 0.16076920926570892, 0.2522563934326172, 0.13519573211669922, -0.12206315249204636, -0.20091815292835236, 0.48086342215538025, 0.020726187154650688, 0.05182775855064392, 0.03819408267736435, 0.13654911518096924, 0.11530646681785583, -0.17960451543331146, -0.11233820766210556, -0.06339354813098907, -0.09292077273130417, -0.24681158363819122, -0.023415319621562958, -0.3867541551589966, 0.16885347664356232, -0.20789434015750885, -0.04668053612112999, 0.0552787110209465, 0.13854528963565826, 0.40805017948150635, -0.1719498634338379, 0.04509586840867996, 0.26275819540023804, 0.2257905751466751, -0.03639775887131691, -0.126002237200737, 0.41154175996780396, 0.37108078598976135, -0.32499581575393677, 0.2025127112865448, -0.10447458177804947 ]
https://github.com/huggingface/datasets/issues/2134
Saving large in-memory datasets with save_to_disk crashes because of pickling
Hi ! Indeed `save_to_disk` doesn't call pickle anymore. Though the `OverflowError` can still appear for in-memory datasets bigger than 4GB. This happens when doing this for example: ```python import pyarrow as pa import pickle arr = pa.array([0] * ((4 * 8 << 30) // 64)) table = pa.Table.from_arrays([a], names=["foo"]) pickle.dumps(table) # fails with an OverflowError pickle.dumps(table, 4) # works ! ``` We'll do the change to use `protocol=4`. Moreover I've also seen other users complain about this error ``` struct.error: 'I' format requires 0 <= number <= 4294967295 ``` It looks like something related to the 4GB limit as well but I'm not able to reproduce on my side. Do you think you can provide a script that reproduces the issue ? How big is your dataset ? (number of bytes, number of rows)
Using Datasets 1.5.0 on Python 3.7. Recently I've been working on medium to large size datasets (pretokenized raw text sizes from few gigabytes to low tens of gigabytes), and have found out that several preprocessing steps are massively faster when done in memory, and I have the ability to requisition a lot of RAM, so I decided to do these steps completely out of the datasets library. So my workflow is to do several .map() on datasets object, then for the operation which is faster in memory to extract the necessary columns from the dataset and then drop it whole, do the transformation in memory, and then create a fresh Dataset object using .from_dict() or other method. When I then try to call save_to_disk(path) on the dataset, it crashes because of pickling, which appears to be because of using old pickle protocol which doesn't support large files (over 4 GiB). ``` Traceback (most recent call last): File "./tokenize_and_chunkify_in_memory.py", line 80, in <module> main() File "./tokenize_and_chunkify_in_memory.py", line 75, in main tokenize_and_chunkify(config) File "./tokenize_and_chunkify_in_memory.py", line 60, in tokenize_and_chunkify contexts_dataset.save_to_disk(chunked_path) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 457, in save_to_disk self = pickle.loads(pickle.dumps(self)) OverflowError: cannot serialize a bytes object larger than 4 GiB ``` From what I've seen this issue may be possibly fixed, as the line `self = pickle.loads(pickle.dumps(self))` does not appear to be present in the current state of the repository. To save these datasets to disk, I've resorted to calling .map() over them with `function=None` and specifying the .arrow cache file, and then creating a new dataset using the .from_file() method, which I can then safely save to disk. Additional issue when working with these large in-memory datasets is when using multiprocessing, is again to do with pickling. I've tried to speed up the mapping with function=None by specifying num_proc to the available cpu count, and I again get issues with transferring the dataset, with the following traceback. I am not sure if I should open a separate issue for that. ``` Traceback (most recent call last): File "./tokenize_and_chunkify_in_memory.py", line 94, in <module> main() File "./tokenize_and_chunkify_in_memory.py", line 89, in main tokenize_and_chunkify(config) File "./tokenize_and_chunkify_in_memory.py", line 67, in tokenize_and_chunkify contexts_dataset.map(function=None, cache_file_name=str(output_dir_path / "tmp.arrow"), writer_batch_size=50000, num_proc=config.threads) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in map transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in <listcomp> transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 657, in get raise self._value File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 431, in _handle_tasks put(task) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/connection.py", line 209, in send self._send_bytes(_ForkingPickler.dumps(obj)) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/reduction.py", line 54, in dumps cls(buf, protocol, *args, **kwds).dump(obj) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 454, in dump StockPickler.dump(self, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 437, in dump self.save(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 662, in save_reduce save(state) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 732, in save_bytes self._write_large_bytes(BINBYTES + pack("<I", n), obj) struct.error: 'I' format requires 0 <= number <= 4294967295Traceback (most recent call last): File "./tokenize_and_chunkify_in_memory.py", line 94, in <module> main() File "./tokenize_and_chunkify_in_memory.py", line 89, in main tokenize_and_chunkify(config) File "./tokenize_and_chunkify_in_memory.py", line 67, in tokenize_and_chunkify contexts_dataset.map(function=None, cache_file_name=str(output_dir_path / "tmp.arrow"), writer_batch_size=50000, num_proc=config.threads) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in map transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in <listcomp> transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 657, in get raise self._value File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 431, in _handle_tasks put(task) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/connection.py", line 209, in send self._send_bytes(_ForkingPickler.dumps(obj)) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/reduction.py", line 54, in dumps cls(buf, protocol, *args, **kwds).dump(obj) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 454, in dump StockPickler.dump(self, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 437, in dump self.save(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 662, in save_reduce save(state) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 732, in save_bytes self._write_large_bytes(BINBYTES + pack("<I", n), obj) struct.error: 'I' format requires 0 <= number <= 4294967295 ```
134
Saving large in-memory datasets with save_to_disk crashes because of pickling
[ -0.47028133273124695, 0.04299506917595863, -0.02533515729010105, 0.38846656680107117, 0.28594857454299927, 0.15465252101421356, -0.3634234368801117, 0.42886465787887573, 0.22270482778549194, 0.4055977761745453, -0.10037802904844284, 0.3144632577896118, -0.31835922598838806, 0.25428342819213867, -0.18184591829776764, 0.0832781121134758, 0.21366433799266815, -0.006549126468598843, -0.1463450938463211, -0.03790971636772156, -0.12316311150789261, 0.15749742090702057, 0.12700003385543823, -0.3050132691860199, -0.16774943470954895, -0.2677780091762543, 0.04462641105055809, 0.4591274857521057, -0.16462329030036926, -0.024509115144610405, -0.13377279043197632, -0.23787921667099, 0.05111059918999672, 0.30133751034736633, -0.00010682541324058548, 0.03767404332756996, -0.0242097619920969, -0.18568433821201324, -0.41383251547813416, 0.2777244448661804, 0.10179001837968826, -0.364240825176239, -0.2645151913166046, -0.06213723123073578, 0.2846622169017792, 0.14715833961963654, 0.13976211845874786, -0.3668946623802185, 0.20887865126132965, -0.1275068074464798, 0.2956237196922302, 0.28532540798187256, 0.010336240753531456, -0.1603265106678009, -0.0495566800236702, 0.12637226283550262, -0.22360222041606903, 0.15430848300457, 0.2214699685573578, 0.05420653149485588, -0.21918721497058868, 0.14535146951675415, -0.08238493651151657, -0.24456006288528442, -0.1824854016304016, -0.0471792034804821, -0.46218037605285645, -0.05669378861784935, 0.19785134494304657, -0.09098939597606659, -0.10050411522388458, -0.35620978474617004, -0.23944558203220367, -0.3149605095386505, -0.3174799382686615, -0.32396817207336426, 0.04157501459121704, 0.17845629155635834, -0.20088423788547516, 0.025644127279520035, 0.11221228539943695, -0.3175181448459625, -0.0694158598780632, -0.12482631206512451, 0.3774929344654083, -0.2858908772468567, -0.09482430666685104, 0.1175924614071846, 0.5754807591438293, -0.11380285769701004, -0.2575092017650604, 0.030694423243403435, -0.10412683337926865, -0.2402367740869522, -0.046954356133937836, -0.26674792170524597, 0.11143054813146591, -0.13019053637981415, 0.3500913083553314, 0.0460597462952137, 0.154497891664505, 0.366193562746048, 0.052853651344776154, 0.026369448751211166, 0.4193706512451172, -0.1801287680864334, -0.1618775576353073, 0.1188976988196373, 0.4265749454498291, -0.05674171447753906, 0.020696159452199936, 0.10168080031871796, 0.2328408807516098, 0.004917707294225693, 0.2646903395652771, -0.3588631749153137, -0.0984255000948906, -0.21977439522743225, -0.1678362935781479, 0.3340180814266205, -0.008023868314921856, 0.32159388065338135, -0.13916495442390442, 0.3742304742336273, -0.027369169518351555, -0.08853073418140411, -0.12917709350585938, 0.018880711868405342, -0.22394756972789764, 0.15208882093429565, -0.26292935013771057, 0.11687399446964264, 0.059603605419397354, 0.2430838644504547, 0.31216689944267273, 0.08026772737503052, 0.06798525154590607, -0.1639220416545868, -0.11329060792922974, -0.07207097858190536, 0.038744546473026276, -0.2852689325809479, 0.04176060110330582, 0.27347445487976074, 0.10523416101932526, 0.12883587181568146, 0.038579657673835754, -0.21967871487140656, -0.16842201352119446, 0.13716988265514374, 0.13728663325309753, -0.13155706226825714, -0.05045785382390022, 0.2569875419139862, 0.019997544586658478, 0.042486533522605896, -0.24045442044734955, 0.04285687208175659, 0.170869380235672, -0.06536204367876053, -0.20520086586475372, -0.012593120336532593, 0.02040080912411213, -0.2696208357810974, -0.17452873289585114, 0.4484320282936096, -0.24971771240234375, 0.23598253726959229, 0.10640318691730499, -0.13556170463562012, 0.401940256357193, 0.5355959534645081, 0.13916902244091034, -0.36409568786621094, -0.14621704816818237, 0.4867933690547943, 0.12372062355279922, 0.09781406074762344, -0.4758894443511963, 0.31348663568496704, -0.06367924064397812, -0.1490389108657837, -0.03910445049405098, 0.3549339473247528, -0.03645345941185951, -0.0771673321723938, 0.14846278727054596, 0.15799377858638763, -0.08419980853796005, 0.20597858726978302, -0.424715518951416, -0.08582491427659988, -0.36254775524139404, 0.1967063546180725, -0.08389997482299805, -0.03987845778465271, 0.10181444138288498, -0.19698402285575867, 0.24315616488456726, -0.19787967205047607, 0.10243387520313263, 0.33148542046546936, 0.3022734820842743, -0.07210296392440796, -0.32908788323402405, -0.03171911835670471, -0.5210965275764465, 0.1492803394794464, 0.08931167423725128, -0.07847151160240173, -0.1832261085510254, -0.10240283608436584, 0.033694565296173096, 0.20231594145298004, -0.029825635254383087, 0.21365542709827423, 0.15510760247707367, -0.005228763911873102, 0.013447839766740799, 0.23984108865261078, -0.003297260031104088, -0.023306483402848244, -0.32731056213378906, 0.03425758332014084, -0.19941891729831696, 0.03615984693169594, -0.11640048772096634, -0.5677859783172607, 0.05529564991593361, -0.08530644327402115, 0.025111103430390358, -0.11948399245738983, 0.07478046417236328, 0.11081242561340332, 0.11293027549982071, 0.01158115640282631, 0.07104362547397614, 0.05511076748371124, 0.013037540018558502, 0.0014543437864631414, 0.04681573435664177, 0.06480943411588669, 0.1993546336889267, -0.14612799882888794, -0.2570841610431671, 0.1508571356534958, -0.02901826985180378, -0.09752873331308365, 0.28809618949890137, -0.09489946067333221, 0.15416885912418365, -0.016641011461615562, 0.29132115840911865, -0.2767162024974823, 0.008380821906030178, 0.11200913041830063, 0.18324828147888184, -0.09511245787143707, -0.6047795414924622, 0.063255675137043, 0.2721153497695923, 0.005244576837867498, 0.41409045457839966, 0.10549943149089813, 0.1829594075679779, -0.04267604649066925, 0.07878968864679337, 0.24981796741485596, 0.4032474160194397, 0.1690097600221634, 0.30356836318969727, -0.086231529712677, -0.08055334538221359, -0.18200190365314484, 0.007348911836743355, -0.023610975593328476, -0.018150338903069496, 0.3251948654651642, 0.1444644182920456, -0.10279927402734756, -0.6042327880859375, -0.00896755512803793, -0.15283823013305664, 0.14254926145076752, 0.08194480836391449, 0.05433424562215805, -0.17173992097377777, -0.07518991827964783, -0.07453761249780655, 0.13249251246452332, 0.06755757331848145, -0.3846830427646637, 0.012338507920503616, 0.6221529841423035, -0.4987172484397888, 0.0038806768134236336, -0.004973223432898521, 0.32824644446372986, 0.1978091299533844, 0.08048871904611588, 0.13482405245304108, 0.10946216434240341, -0.13228458166122437, 0.08459293842315674, 0.35166165232658386, -0.1311081498861313, 0.5121675729751587, 0.3124130964279175, -0.09705375880002975, -0.41502663493156433, -0.002303984947502613, 0.08143122494220734, -0.03788621723651886, 0.28056830167770386, 0.033923227339982986, 0.33244645595550537, -0.03868458420038223, -0.15723058581352234, -0.004996500909328461, 0.09113386273384094, -0.12125842273235321, 0.017779111862182617, 0.17730778455734253, 0.01214697677642107, -0.2721993327140808, -0.11818811297416687, -0.24025972187519073, -0.4257951080799103, 0.26390278339385986, -0.04645685479044914, 0.08752796053886414, 0.22622206807136536, 0.3794938325881958, -0.09512919932603836, 0.2356138825416565, -0.1833656281232834, -0.18991312384605408, -0.004948489833623171, 0.23856747150421143, -0.1470043808221817, -0.392633855342865, -0.13699911534786224, 0.1549653857946396, -0.19955405592918396, 0.1390685886144638, -0.46695059537887573, 0.19302980601787567, -0.34437060356140137, 0.15339310467243195, -0.14700692892074585, 0.005125715862959623, 0.25390753149986267, 0.06831279397010803, -0.21483473479747772, 0.08057442307472229, -0.15929067134857178, 0.16464640200138092, 0.035728659480810165, 0.12027279287576675, -0.36226126551628113, 0.1590442955493927, 0.2317248433828354, 0.3770785629749298, 0.05713489651679993, -0.014806952327489853, 0.48315247893333435, 0.24938459694385529, 0.48254916071891785, -0.20548121631145477, -0.02561887912452221, -0.05370580404996872, -0.15582327544689178, -0.3212580978870392, -0.1259728968143463, -0.06248185783624649, -0.3207181692123413, 0.133065328001976, 0.17652232944965363, 0.32277345657348633, -0.22187568247318268, 0.3981386125087738, 0.23954784870147705, -0.0657903328537941, -0.0680014118552208, 0.1259259432554245, 0.13324058055877686, 0.14503800868988037, 0.0972563698887825, -0.1343761682510376, 0.2643468379974365, -0.10629071295261383, -0.08276698738336563, 0.030212165787816048, -0.4822233319282532, -0.01810162141919136, -0.014168333262205124, 0.2574150264263153, -0.163547083735466, -0.4806899130344391, -0.02588042803108692, -0.057894036173820496, 0.4494566321372986, 0.028743082657456398, 0.10425588488578796, 0.10763829946517944, -0.10423608869314194, -0.1321561336517334, 0.2026505321264267, -0.030740225687623024, 0.2220459133386612, 0.06136708706617355, 0.4541999399662018, -0.22748638689517975, 0.035219013690948486, -0.011770559474825859, 0.27105724811553955, -0.13513682782649994, 0.011981640011072159, -0.025783583521842957, -0.31127095222473145, -0.15511730313301086, 0.10362394899129868, 0.02875433675944805, -0.08112151175737381, -0.012193884700536728, -0.06067662313580513, -0.16656973958015442, -0.13620677590370178, 0.04993627592921257, -0.03427383676171303, 0.17673343420028687, -0.3024294078350067, 0.26809895038604736, -0.28269946575164795, 0.1529659479856491, 0.3016491234302521, 0.3831442594528198, -0.09847715497016907, 0.15434619784355164, 0.15801110863685608, 0.13623973727226257, 0.09777071326971054, 0.300137996673584, 0.05751403421163559, 0.011159790679812431, -0.10872743278741837, 0.13705646991729736, -0.3869149386882782, 0.17454886436462402, -0.07881855219602585, -0.06681676208972931, -0.2016698569059372, 0.20793522894382477, 0.5048606395721436, 0.023843705654144287, 0.13900496065616608, 0.08659869432449341, -0.1100015640258789, -0.042984798550605774, 0.3134933114051819, 0.16590616106987, 0.6817291378974915, -0.01108731608837843, 0.43173062801361084, 0.18168649077415466, -0.17756451666355133, 0.018806684762239456, 0.09152057021856308, 0.09074163436889648, -0.37283098697662354, -0.11381305754184723, 0.18381871283054352, -0.003799652447924018, 0.01723816804587841, -0.16453438997268677, -0.15660636126995087, 0.011430814862251282, -0.15728311240673065, -0.35499101877212524, -0.22856007516384125, 0.06966130435466766, -0.47336652874946594, -0.363626092672348, -0.06470979750156403, 0.2597445845603943, 0.12964032590389252, -0.0238996222615242, -0.058520808815956116, -0.11751412600278854, -0.08119978755712509, 0.1009552925825119, -0.1896129548549652, -0.05210596323013306, -0.02128412202000618, 0.4697228670120239, -0.16935324668884277, -0.22469951212406158, -0.2143663614988327, -0.04066743329167366, -0.07995235174894333, 0.27201753854751587, -0.035961978137493134, -0.10037633776664734, -0.010649872943758965, -0.06665042042732239, -0.047465741634368896, -0.06075482442975044, 0.29878464341163635, 0.04016602784395218, 0.18651777505874634, -0.01660880073904991, -0.0657247006893158, -0.2371736615896225, -0.29056045413017273, 0.04262235760688782, -0.3063066601753235, -0.19866536557674408, -0.4877398908138275, -0.07470794022083282, -0.28062769770622253, -0.20163007080554962, 0.18774963915348053, 0.20599572360515594, 0.1752019077539444, 0.36436986923217773, -0.038123078644275665, -0.044058408588171005, -0.25966280698776245, 0.48310360312461853, -0.05769149586558342, 0.14932546019554138, 0.2029242068529129, 0.12670093774795532, -0.21091178059577942, -0.3302527666091919, 0.09772796183824539, -0.059515513479709625, 0.22750943899154663, 0.5049907565116882, -0.26696115732192993, -0.2150220274925232, -0.0878140777349472, 0.23200830817222595, 0.2221977412700653, -0.06434476375579834, -0.17603182792663574, -0.08675293624401093, -0.5476608276367188, 0.024559617042541504, 0.2650947570800781, 0.3843470513820648, -0.21661196649074554, -0.02181962877511978, -0.29047027230262756, 0.125147745013237, -0.36115172505378723, 0.07738053053617477, -0.40139496326446533, -0.0394163616001606, 0.24646693468093872, 0.03511810675263405, 0.07773240655660629, 0.000859416148159653, 0.1415737420320511, 0.27316969633102417, -0.1481144279241562, -0.25899434089660645, 0.040156442672014236, 0.0184757299721241, 0.034437328577041626, 0.1693781018257141, -0.1266651600599289, -0.1417386382818222, 0.11131724715232849, -0.09231959283351898, 0.20730501413345337, 0.1606341153383255, -0.17903101444244385, -0.1418299823999405, 0.07386806607246399, 0.24284633994102478, 0.31327545642852783, 0.14033888280391693, 0.11317994445562363, 0.19686073064804077, 0.05715659633278847, -0.07280237227678299, -0.04448236897587776, -0.28608182072639465, 0.011837093159556389, 0.05969903990626335, 0.1801319122314453, -0.022929910570383072, 0.23410746455192566, -0.24157853424549103, -0.3699062168598175, 0.36762019991874695, 0.1556585133075714, 0.427592933177948, -0.02217351645231247, -0.30553093552589417, 0.05474384129047394, 0.3033558428287506, 0.14632569253444672, -0.38230133056640625, -0.10114645957946777, -0.22656066715717316, 0.029561085626482964, 0.20417042076587677, -0.16048157215118408, -0.09866729378700256, -0.42786842584609985, 0.2211087942123413, 0.3227584660053253, -0.061454806476831436, -0.36698415875434875, -0.011424867436289787, -0.1109970435500145, -0.009933196939527988, 0.12974412739276886, 0.0007746271439827979, 0.5224003791809082, 0.46981218457221985, 0.014151017181575298, 0.5580054521560669, -0.1279800683259964, 0.034329917281866074, -0.28880617022514343, -0.6196351647377014, 0.06578066945075989, 0.5004177093505859, 0.05486970394849777, 0.3941044211387634, 0.0009400824783369899, 0.2215672731399536, -0.42979666590690613, -0.25925442576408386, -0.041419390588998795, 0.20170347392559052, -0.49339842796325684, -0.08970905840396881, 0.14330817759037018, -0.18345710635185242, 0.08189451694488525, 0.35376209020614624, -0.09753254055976868, -0.033145781606435776, 0.3071286082267761, -0.14288906753063202, -0.10083083063364029, 0.16219040751457214, -0.18164382874965668, -0.021535594016313553, 0.06113959476351738, -0.2311914712190628, 0.05594512075185776, 0.10370451956987381, -0.15233415365219116, -0.5632181167602539, 0.029593519866466522, 0.3485351800918579, 0.2069922387599945, 0.03643975779414177, -0.008021775633096695, 0.021706489846110344, 0.02680719643831253, -0.20770318806171417, 0.21015945076942444, -0.03486064448952675, 0.1919204741716385, 0.42939433455467224, 0.0899549201130867, -0.19623130559921265, 0.06922215968370438, 0.2098846584558487, 0.31047138571739197, 0.07035662978887558, -0.4160914421081543, 0.008105679415166378, -0.34515875577926636, -0.018867844715714455, -0.17393630743026733, -0.1735474318265915, -0.0452510342001915, 0.22317135334014893, -0.39880409836769104, 0.24102747440338135, 0.04193978011608124, 0.13699670135974884, 0.08296100795269012, 0.7709323763847351, 0.16022366285324097, -0.3163262605667114, -0.32958757877349854, -0.14913110435009003, -0.10581684112548828, 0.1902880221605301, -0.11931046843528748, 0.22447612881660461, -0.3472136855125427, 0.3281104564666748, 0.25035804510116577, 0.05363129451870918, -0.3267365097999573, 0.28305599093437195, -0.18548113107681274, 0.19534848630428314, -0.18173842132091522, -0.10599957406520844, 0.03640226647257805, -0.3075156509876251, 0.12988145649433136, -0.46204978227615356, 0.3038843274116516, 0.08076360821723938, 0.244680717587471, 0.004097653552889824, -0.009893396869301796, -0.3859691619873047, 0.14894045889377594, 0.47598734498023987, 0.12230046838521957, 0.04405701160430908, -0.29604002833366394, -0.4764913022518158, 0.09517817199230194, -0.12255526334047318, 0.1056140661239624, -0.195738285779953, 0.20382390916347504, 0.5223815441131592, -0.12498091161251068, 0.5741856098175049, -0.05522164702415466, 0.2743575870990753, 0.14152464270591736, 0.1245836615562439, 0.23993229866027832, 0.055447597056627274, 0.0807759240269661, -0.07351607829332352, 0.25785669684410095, 0.36383217573165894, 0.044363535940647125, 0.23782111704349518, -0.25439244508743286, -0.24489600956439972, 0.28028810024261475, 0.27158045768737793, -0.20755594968795776, -0.011092852801084518, 0.027292722836136818, 0.14574235677719116, -0.04174065589904785, -0.38219067454338074, -0.02042020671069622, -0.06731784343719482, -0.13614240288734436, -0.381157785654068, 0.23961466550827026, -0.12012746185064316, -0.3808934986591339, 0.07137066125869751, 1.0446687936782837, 0.03754454851150513, -0.28564438223838806, 0.2899385988712311, -0.16368071734905243 ]
https://github.com/huggingface/datasets/issues/2134
Saving large in-memory datasets with save_to_disk crashes because of pickling
Hi! So I've managed to created a minimum working (well technically crashing) example for the multiprocessing case, I create a huge list of zeros, like in your example, and then I try to .map(None, num_proc=2) over it, which then crashes, here's the code: ```python from datasets import Dataset if __name__ == '__main__': ton_of_zeroes = [0] * ((12 * 8 << 30) // 64) large_dataset = Dataset.from_dict({'col': ton_of_zeroes}) print("Start") large_dataset.map(function=None, num_proc=2) print("Done - should not print") ``` The amount of zeros could probably be reduced, I haven't tried to minimize it to find the breaking point, I just increased it from your code (which by quick glance I assumed tried to allocate over 4 GiB) Running this results in the following traceback: ``` Parameter 'indices'=[ 0 1 2 ... 805306365 805306366 805306367] of the transform datasets.arrow_dataset.Dataset.select couldn't be hashed properly, a random hash was used instead. Make sure your transforms and parameters are serializable with pickle or dill for the dataset fingerprinting and caching to work. If you reuse this transform, the caching mechanism will consider it to be different from the previous calls and recompute everything. This warning is only showed once. Subsequent hashing failures won't be showed. Traceback (most recent call last): File "./crash_multiproc_pickle.py", line 7, in <module> large_dataset.map(function=None, num_proc=2) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in map transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in <listcomp> transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 657, in get raise self._value File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 431, in _handle_tasks put(task) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/connection.py", line 209, in send self._send_bytes(_ForkingPickler.dumps(obj)) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/reduction.py", line 54, in dumps cls(buf, protocol, *args, **kwds).dump(obj) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 454, in dump StockPickler.dump(self, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 437, in dump self.save(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 662, in save_reduce save(state) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 732, in save_bytes self._write_large_bytes(BINBYTES + pack("<I", n), obj) struct.error: 'I' format requires 0 <= number <= 4294967295 ``` My datasets usually have hundreds of thousands to low millions of rows, with each row containing a list of 10 strings and list of vectors of different length (the strings tokenized), which in the worst case have 10\*512\*8 = 40960 bytes (but usually it is much smaller, as the vectors tend to be shorter. I need these groups of text lines to create training data for the Inverse Cloze Task. Anyway I don't think my particular dataset is relevant, as the tiny script I created also manages to crash. But I think the issue is the same as the save_to_disk, from the traceback it seems that in multiprocessing, it tries to use dill to return the result of the map workers, which tries to pickle the data and can't do it, probably because it's again using the older pickle protocol. That's my guess anyway.
Using Datasets 1.5.0 on Python 3.7. Recently I've been working on medium to large size datasets (pretokenized raw text sizes from few gigabytes to low tens of gigabytes), and have found out that several preprocessing steps are massively faster when done in memory, and I have the ability to requisition a lot of RAM, so I decided to do these steps completely out of the datasets library. So my workflow is to do several .map() on datasets object, then for the operation which is faster in memory to extract the necessary columns from the dataset and then drop it whole, do the transformation in memory, and then create a fresh Dataset object using .from_dict() or other method. When I then try to call save_to_disk(path) on the dataset, it crashes because of pickling, which appears to be because of using old pickle protocol which doesn't support large files (over 4 GiB). ``` Traceback (most recent call last): File "./tokenize_and_chunkify_in_memory.py", line 80, in <module> main() File "./tokenize_and_chunkify_in_memory.py", line 75, in main tokenize_and_chunkify(config) File "./tokenize_and_chunkify_in_memory.py", line 60, in tokenize_and_chunkify contexts_dataset.save_to_disk(chunked_path) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 457, in save_to_disk self = pickle.loads(pickle.dumps(self)) OverflowError: cannot serialize a bytes object larger than 4 GiB ``` From what I've seen this issue may be possibly fixed, as the line `self = pickle.loads(pickle.dumps(self))` does not appear to be present in the current state of the repository. To save these datasets to disk, I've resorted to calling .map() over them with `function=None` and specifying the .arrow cache file, and then creating a new dataset using the .from_file() method, which I can then safely save to disk. Additional issue when working with these large in-memory datasets is when using multiprocessing, is again to do with pickling. I've tried to speed up the mapping with function=None by specifying num_proc to the available cpu count, and I again get issues with transferring the dataset, with the following traceback. I am not sure if I should open a separate issue for that. ``` Traceback (most recent call last): File "./tokenize_and_chunkify_in_memory.py", line 94, in <module> main() File "./tokenize_and_chunkify_in_memory.py", line 89, in main tokenize_and_chunkify(config) File "./tokenize_and_chunkify_in_memory.py", line 67, in tokenize_and_chunkify contexts_dataset.map(function=None, cache_file_name=str(output_dir_path / "tmp.arrow"), writer_batch_size=50000, num_proc=config.threads) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in map transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in <listcomp> transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 657, in get raise self._value File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 431, in _handle_tasks put(task) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/connection.py", line 209, in send self._send_bytes(_ForkingPickler.dumps(obj)) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/reduction.py", line 54, in dumps cls(buf, protocol, *args, **kwds).dump(obj) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 454, in dump StockPickler.dump(self, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 437, in dump self.save(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 662, in save_reduce save(state) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 732, in save_bytes self._write_large_bytes(BINBYTES + pack("<I", n), obj) struct.error: 'I' format requires 0 <= number <= 4294967295Traceback (most recent call last): File "./tokenize_and_chunkify_in_memory.py", line 94, in <module> main() File "./tokenize_and_chunkify_in_memory.py", line 89, in main tokenize_and_chunkify(config) File "./tokenize_and_chunkify_in_memory.py", line 67, in tokenize_and_chunkify contexts_dataset.map(function=None, cache_file_name=str(output_dir_path / "tmp.arrow"), writer_batch_size=50000, num_proc=config.threads) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in map transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in <listcomp> transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 657, in get raise self._value File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 431, in _handle_tasks put(task) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/connection.py", line 209, in send self._send_bytes(_ForkingPickler.dumps(obj)) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/reduction.py", line 54, in dumps cls(buf, protocol, *args, **kwds).dump(obj) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 454, in dump StockPickler.dump(self, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 437, in dump self.save(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 662, in save_reduce save(state) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 732, in save_bytes self._write_large_bytes(BINBYTES + pack("<I", n), obj) struct.error: 'I' format requires 0 <= number <= 4294967295 ```
832
Saving large in-memory datasets with save_to_disk crashes because of pickling
[ -0.47028133273124695, 0.04299506917595863, -0.02533515729010105, 0.38846656680107117, 0.28594857454299927, 0.15465252101421356, -0.3634234368801117, 0.42886465787887573, 0.22270482778549194, 0.4055977761745453, -0.10037802904844284, 0.3144632577896118, -0.31835922598838806, 0.25428342819213867, -0.18184591829776764, 0.0832781121134758, 0.21366433799266815, -0.006549126468598843, -0.1463450938463211, -0.03790971636772156, -0.12316311150789261, 0.15749742090702057, 0.12700003385543823, -0.3050132691860199, -0.16774943470954895, -0.2677780091762543, 0.04462641105055809, 0.4591274857521057, -0.16462329030036926, -0.024509115144610405, -0.13377279043197632, -0.23787921667099, 0.05111059918999672, 0.30133751034736633, -0.00010682541324058548, 0.03767404332756996, -0.0242097619920969, -0.18568433821201324, -0.41383251547813416, 0.2777244448661804, 0.10179001837968826, -0.364240825176239, -0.2645151913166046, -0.06213723123073578, 0.2846622169017792, 0.14715833961963654, 0.13976211845874786, -0.3668946623802185, 0.20887865126132965, -0.1275068074464798, 0.2956237196922302, 0.28532540798187256, 0.010336240753531456, -0.1603265106678009, -0.0495566800236702, 0.12637226283550262, -0.22360222041606903, 0.15430848300457, 0.2214699685573578, 0.05420653149485588, -0.21918721497058868, 0.14535146951675415, -0.08238493651151657, -0.24456006288528442, -0.1824854016304016, -0.0471792034804821, -0.46218037605285645, -0.05669378861784935, 0.19785134494304657, -0.09098939597606659, -0.10050411522388458, -0.35620978474617004, -0.23944558203220367, -0.3149605095386505, -0.3174799382686615, -0.32396817207336426, 0.04157501459121704, 0.17845629155635834, -0.20088423788547516, 0.025644127279520035, 0.11221228539943695, -0.3175181448459625, -0.0694158598780632, -0.12482631206512451, 0.3774929344654083, -0.2858908772468567, -0.09482430666685104, 0.1175924614071846, 0.5754807591438293, -0.11380285769701004, -0.2575092017650604, 0.030694423243403435, -0.10412683337926865, -0.2402367740869522, -0.046954356133937836, -0.26674792170524597, 0.11143054813146591, -0.13019053637981415, 0.3500913083553314, 0.0460597462952137, 0.154497891664505, 0.366193562746048, 0.052853651344776154, 0.026369448751211166, 0.4193706512451172, -0.1801287680864334, -0.1618775576353073, 0.1188976988196373, 0.4265749454498291, -0.05674171447753906, 0.020696159452199936, 0.10168080031871796, 0.2328408807516098, 0.004917707294225693, 0.2646903395652771, -0.3588631749153137, -0.0984255000948906, -0.21977439522743225, -0.1678362935781479, 0.3340180814266205, -0.008023868314921856, 0.32159388065338135, -0.13916495442390442, 0.3742304742336273, -0.027369169518351555, -0.08853073418140411, -0.12917709350585938, 0.018880711868405342, -0.22394756972789764, 0.15208882093429565, -0.26292935013771057, 0.11687399446964264, 0.059603605419397354, 0.2430838644504547, 0.31216689944267273, 0.08026772737503052, 0.06798525154590607, -0.1639220416545868, -0.11329060792922974, -0.07207097858190536, 0.038744546473026276, -0.2852689325809479, 0.04176060110330582, 0.27347445487976074, 0.10523416101932526, 0.12883587181568146, 0.038579657673835754, -0.21967871487140656, -0.16842201352119446, 0.13716988265514374, 0.13728663325309753, -0.13155706226825714, -0.05045785382390022, 0.2569875419139862, 0.019997544586658478, 0.042486533522605896, -0.24045442044734955, 0.04285687208175659, 0.170869380235672, -0.06536204367876053, -0.20520086586475372, -0.012593120336532593, 0.02040080912411213, -0.2696208357810974, -0.17452873289585114, 0.4484320282936096, -0.24971771240234375, 0.23598253726959229, 0.10640318691730499, -0.13556170463562012, 0.401940256357193, 0.5355959534645081, 0.13916902244091034, -0.36409568786621094, -0.14621704816818237, 0.4867933690547943, 0.12372062355279922, 0.09781406074762344, -0.4758894443511963, 0.31348663568496704, -0.06367924064397812, -0.1490389108657837, -0.03910445049405098, 0.3549339473247528, -0.03645345941185951, -0.0771673321723938, 0.14846278727054596, 0.15799377858638763, -0.08419980853796005, 0.20597858726978302, -0.424715518951416, -0.08582491427659988, -0.36254775524139404, 0.1967063546180725, -0.08389997482299805, -0.03987845778465271, 0.10181444138288498, -0.19698402285575867, 0.24315616488456726, -0.19787967205047607, 0.10243387520313263, 0.33148542046546936, 0.3022734820842743, -0.07210296392440796, -0.32908788323402405, -0.03171911835670471, -0.5210965275764465, 0.1492803394794464, 0.08931167423725128, -0.07847151160240173, -0.1832261085510254, -0.10240283608436584, 0.033694565296173096, 0.20231594145298004, -0.029825635254383087, 0.21365542709827423, 0.15510760247707367, -0.005228763911873102, 0.013447839766740799, 0.23984108865261078, -0.003297260031104088, -0.023306483402848244, -0.32731056213378906, 0.03425758332014084, -0.19941891729831696, 0.03615984693169594, -0.11640048772096634, -0.5677859783172607, 0.05529564991593361, -0.08530644327402115, 0.025111103430390358, -0.11948399245738983, 0.07478046417236328, 0.11081242561340332, 0.11293027549982071, 0.01158115640282631, 0.07104362547397614, 0.05511076748371124, 0.013037540018558502, 0.0014543437864631414, 0.04681573435664177, 0.06480943411588669, 0.1993546336889267, -0.14612799882888794, -0.2570841610431671, 0.1508571356534958, -0.02901826985180378, -0.09752873331308365, 0.28809618949890137, -0.09489946067333221, 0.15416885912418365, -0.016641011461615562, 0.29132115840911865, -0.2767162024974823, 0.008380821906030178, 0.11200913041830063, 0.18324828147888184, -0.09511245787143707, -0.6047795414924622, 0.063255675137043, 0.2721153497695923, 0.005244576837867498, 0.41409045457839966, 0.10549943149089813, 0.1829594075679779, -0.04267604649066925, 0.07878968864679337, 0.24981796741485596, 0.4032474160194397, 0.1690097600221634, 0.30356836318969727, -0.086231529712677, -0.08055334538221359, -0.18200190365314484, 0.007348911836743355, -0.023610975593328476, -0.018150338903069496, 0.3251948654651642, 0.1444644182920456, -0.10279927402734756, -0.6042327880859375, -0.00896755512803793, -0.15283823013305664, 0.14254926145076752, 0.08194480836391449, 0.05433424562215805, -0.17173992097377777, -0.07518991827964783, -0.07453761249780655, 0.13249251246452332, 0.06755757331848145, -0.3846830427646637, 0.012338507920503616, 0.6221529841423035, -0.4987172484397888, 0.0038806768134236336, -0.004973223432898521, 0.32824644446372986, 0.1978091299533844, 0.08048871904611588, 0.13482405245304108, 0.10946216434240341, -0.13228458166122437, 0.08459293842315674, 0.35166165232658386, -0.1311081498861313, 0.5121675729751587, 0.3124130964279175, -0.09705375880002975, -0.41502663493156433, -0.002303984947502613, 0.08143122494220734, -0.03788621723651886, 0.28056830167770386, 0.033923227339982986, 0.33244645595550537, -0.03868458420038223, -0.15723058581352234, -0.004996500909328461, 0.09113386273384094, -0.12125842273235321, 0.017779111862182617, 0.17730778455734253, 0.01214697677642107, -0.2721993327140808, -0.11818811297416687, -0.24025972187519073, -0.4257951080799103, 0.26390278339385986, -0.04645685479044914, 0.08752796053886414, 0.22622206807136536, 0.3794938325881958, -0.09512919932603836, 0.2356138825416565, -0.1833656281232834, -0.18991312384605408, -0.004948489833623171, 0.23856747150421143, -0.1470043808221817, -0.392633855342865, -0.13699911534786224, 0.1549653857946396, -0.19955405592918396, 0.1390685886144638, -0.46695059537887573, 0.19302980601787567, -0.34437060356140137, 0.15339310467243195, -0.14700692892074585, 0.005125715862959623, 0.25390753149986267, 0.06831279397010803, -0.21483473479747772, 0.08057442307472229, -0.15929067134857178, 0.16464640200138092, 0.035728659480810165, 0.12027279287576675, -0.36226126551628113, 0.1590442955493927, 0.2317248433828354, 0.3770785629749298, 0.05713489651679993, -0.014806952327489853, 0.48315247893333435, 0.24938459694385529, 0.48254916071891785, -0.20548121631145477, -0.02561887912452221, -0.05370580404996872, -0.15582327544689178, -0.3212580978870392, -0.1259728968143463, -0.06248185783624649, -0.3207181692123413, 0.133065328001976, 0.17652232944965363, 0.32277345657348633, -0.22187568247318268, 0.3981386125087738, 0.23954784870147705, -0.0657903328537941, -0.0680014118552208, 0.1259259432554245, 0.13324058055877686, 0.14503800868988037, 0.0972563698887825, -0.1343761682510376, 0.2643468379974365, -0.10629071295261383, -0.08276698738336563, 0.030212165787816048, -0.4822233319282532, -0.01810162141919136, -0.014168333262205124, 0.2574150264263153, -0.163547083735466, -0.4806899130344391, -0.02588042803108692, -0.057894036173820496, 0.4494566321372986, 0.028743082657456398, 0.10425588488578796, 0.10763829946517944, -0.10423608869314194, -0.1321561336517334, 0.2026505321264267, -0.030740225687623024, 0.2220459133386612, 0.06136708706617355, 0.4541999399662018, -0.22748638689517975, 0.035219013690948486, -0.011770559474825859, 0.27105724811553955, -0.13513682782649994, 0.011981640011072159, -0.025783583521842957, -0.31127095222473145, -0.15511730313301086, 0.10362394899129868, 0.02875433675944805, -0.08112151175737381, -0.012193884700536728, -0.06067662313580513, -0.16656973958015442, -0.13620677590370178, 0.04993627592921257, -0.03427383676171303, 0.17673343420028687, -0.3024294078350067, 0.26809895038604736, -0.28269946575164795, 0.1529659479856491, 0.3016491234302521, 0.3831442594528198, -0.09847715497016907, 0.15434619784355164, 0.15801110863685608, 0.13623973727226257, 0.09777071326971054, 0.300137996673584, 0.05751403421163559, 0.011159790679812431, -0.10872743278741837, 0.13705646991729736, -0.3869149386882782, 0.17454886436462402, -0.07881855219602585, -0.06681676208972931, -0.2016698569059372, 0.20793522894382477, 0.5048606395721436, 0.023843705654144287, 0.13900496065616608, 0.08659869432449341, -0.1100015640258789, -0.042984798550605774, 0.3134933114051819, 0.16590616106987, 0.6817291378974915, -0.01108731608837843, 0.43173062801361084, 0.18168649077415466, -0.17756451666355133, 0.018806684762239456, 0.09152057021856308, 0.09074163436889648, -0.37283098697662354, -0.11381305754184723, 0.18381871283054352, -0.003799652447924018, 0.01723816804587841, -0.16453438997268677, -0.15660636126995087, 0.011430814862251282, -0.15728311240673065, -0.35499101877212524, -0.22856007516384125, 0.06966130435466766, -0.47336652874946594, -0.363626092672348, -0.06470979750156403, 0.2597445845603943, 0.12964032590389252, -0.0238996222615242, -0.058520808815956116, -0.11751412600278854, -0.08119978755712509, 0.1009552925825119, -0.1896129548549652, -0.05210596323013306, -0.02128412202000618, 0.4697228670120239, -0.16935324668884277, -0.22469951212406158, -0.2143663614988327, -0.04066743329167366, -0.07995235174894333, 0.27201753854751587, -0.035961978137493134, -0.10037633776664734, -0.010649872943758965, -0.06665042042732239, -0.047465741634368896, -0.06075482442975044, 0.29878464341163635, 0.04016602784395218, 0.18651777505874634, -0.01660880073904991, -0.0657247006893158, -0.2371736615896225, -0.29056045413017273, 0.04262235760688782, -0.3063066601753235, -0.19866536557674408, -0.4877398908138275, -0.07470794022083282, -0.28062769770622253, -0.20163007080554962, 0.18774963915348053, 0.20599572360515594, 0.1752019077539444, 0.36436986923217773, -0.038123078644275665, -0.044058408588171005, -0.25966280698776245, 0.48310360312461853, -0.05769149586558342, 0.14932546019554138, 0.2029242068529129, 0.12670093774795532, -0.21091178059577942, -0.3302527666091919, 0.09772796183824539, -0.059515513479709625, 0.22750943899154663, 0.5049907565116882, -0.26696115732192993, -0.2150220274925232, -0.0878140777349472, 0.23200830817222595, 0.2221977412700653, -0.06434476375579834, -0.17603182792663574, -0.08675293624401093, -0.5476608276367188, 0.024559617042541504, 0.2650947570800781, 0.3843470513820648, -0.21661196649074554, -0.02181962877511978, -0.29047027230262756, 0.125147745013237, -0.36115172505378723, 0.07738053053617477, -0.40139496326446533, -0.0394163616001606, 0.24646693468093872, 0.03511810675263405, 0.07773240655660629, 0.000859416148159653, 0.1415737420320511, 0.27316969633102417, -0.1481144279241562, -0.25899434089660645, 0.040156442672014236, 0.0184757299721241, 0.034437328577041626, 0.1693781018257141, -0.1266651600599289, -0.1417386382818222, 0.11131724715232849, -0.09231959283351898, 0.20730501413345337, 0.1606341153383255, -0.17903101444244385, -0.1418299823999405, 0.07386806607246399, 0.24284633994102478, 0.31327545642852783, 0.14033888280391693, 0.11317994445562363, 0.19686073064804077, 0.05715659633278847, -0.07280237227678299, -0.04448236897587776, -0.28608182072639465, 0.011837093159556389, 0.05969903990626335, 0.1801319122314453, -0.022929910570383072, 0.23410746455192566, -0.24157853424549103, -0.3699062168598175, 0.36762019991874695, 0.1556585133075714, 0.427592933177948, -0.02217351645231247, -0.30553093552589417, 0.05474384129047394, 0.3033558428287506, 0.14632569253444672, -0.38230133056640625, -0.10114645957946777, -0.22656066715717316, 0.029561085626482964, 0.20417042076587677, -0.16048157215118408, -0.09866729378700256, -0.42786842584609985, 0.2211087942123413, 0.3227584660053253, -0.061454806476831436, -0.36698415875434875, -0.011424867436289787, -0.1109970435500145, -0.009933196939527988, 0.12974412739276886, 0.0007746271439827979, 0.5224003791809082, 0.46981218457221985, 0.014151017181575298, 0.5580054521560669, -0.1279800683259964, 0.034329917281866074, -0.28880617022514343, -0.6196351647377014, 0.06578066945075989, 0.5004177093505859, 0.05486970394849777, 0.3941044211387634, 0.0009400824783369899, 0.2215672731399536, -0.42979666590690613, -0.25925442576408386, -0.041419390588998795, 0.20170347392559052, -0.49339842796325684, -0.08970905840396881, 0.14330817759037018, -0.18345710635185242, 0.08189451694488525, 0.35376209020614624, -0.09753254055976868, -0.033145781606435776, 0.3071286082267761, -0.14288906753063202, -0.10083083063364029, 0.16219040751457214, -0.18164382874965668, -0.021535594016313553, 0.06113959476351738, -0.2311914712190628, 0.05594512075185776, 0.10370451956987381, -0.15233415365219116, -0.5632181167602539, 0.029593519866466522, 0.3485351800918579, 0.2069922387599945, 0.03643975779414177, -0.008021775633096695, 0.021706489846110344, 0.02680719643831253, -0.20770318806171417, 0.21015945076942444, -0.03486064448952675, 0.1919204741716385, 0.42939433455467224, 0.0899549201130867, -0.19623130559921265, 0.06922215968370438, 0.2098846584558487, 0.31047138571739197, 0.07035662978887558, -0.4160914421081543, 0.008105679415166378, -0.34515875577926636, -0.018867844715714455, -0.17393630743026733, -0.1735474318265915, -0.0452510342001915, 0.22317135334014893, -0.39880409836769104, 0.24102747440338135, 0.04193978011608124, 0.13699670135974884, 0.08296100795269012, 0.7709323763847351, 0.16022366285324097, -0.3163262605667114, -0.32958757877349854, -0.14913110435009003, -0.10581684112548828, 0.1902880221605301, -0.11931046843528748, 0.22447612881660461, -0.3472136855125427, 0.3281104564666748, 0.25035804510116577, 0.05363129451870918, -0.3267365097999573, 0.28305599093437195, -0.18548113107681274, 0.19534848630428314, -0.18173842132091522, -0.10599957406520844, 0.03640226647257805, -0.3075156509876251, 0.12988145649433136, -0.46204978227615356, 0.3038843274116516, 0.08076360821723938, 0.244680717587471, 0.004097653552889824, -0.009893396869301796, -0.3859691619873047, 0.14894045889377594, 0.47598734498023987, 0.12230046838521957, 0.04405701160430908, -0.29604002833366394, -0.4764913022518158, 0.09517817199230194, -0.12255526334047318, 0.1056140661239624, -0.195738285779953, 0.20382390916347504, 0.5223815441131592, -0.12498091161251068, 0.5741856098175049, -0.05522164702415466, 0.2743575870990753, 0.14152464270591736, 0.1245836615562439, 0.23993229866027832, 0.055447597056627274, 0.0807759240269661, -0.07351607829332352, 0.25785669684410095, 0.36383217573165894, 0.044363535940647125, 0.23782111704349518, -0.25439244508743286, -0.24489600956439972, 0.28028810024261475, 0.27158045768737793, -0.20755594968795776, -0.011092852801084518, 0.027292722836136818, 0.14574235677719116, -0.04174065589904785, -0.38219067454338074, -0.02042020671069622, -0.06731784343719482, -0.13614240288734436, -0.381157785654068, 0.23961466550827026, -0.12012746185064316, -0.3808934986591339, 0.07137066125869751, 1.0446687936782837, 0.03754454851150513, -0.28564438223838806, 0.2899385988712311, -0.16368071734905243 ]
https://github.com/huggingface/datasets/issues/2134
Saving large in-memory datasets with save_to_disk crashes because of pickling
I just merged a fix #2150 that allows to pickle tables bigger than 4GiB Feel free to try it on the `master` branch !
Using Datasets 1.5.0 on Python 3.7. Recently I've been working on medium to large size datasets (pretokenized raw text sizes from few gigabytes to low tens of gigabytes), and have found out that several preprocessing steps are massively faster when done in memory, and I have the ability to requisition a lot of RAM, so I decided to do these steps completely out of the datasets library. So my workflow is to do several .map() on datasets object, then for the operation which is faster in memory to extract the necessary columns from the dataset and then drop it whole, do the transformation in memory, and then create a fresh Dataset object using .from_dict() or other method. When I then try to call save_to_disk(path) on the dataset, it crashes because of pickling, which appears to be because of using old pickle protocol which doesn't support large files (over 4 GiB). ``` Traceback (most recent call last): File "./tokenize_and_chunkify_in_memory.py", line 80, in <module> main() File "./tokenize_and_chunkify_in_memory.py", line 75, in main tokenize_and_chunkify(config) File "./tokenize_and_chunkify_in_memory.py", line 60, in tokenize_and_chunkify contexts_dataset.save_to_disk(chunked_path) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 457, in save_to_disk self = pickle.loads(pickle.dumps(self)) OverflowError: cannot serialize a bytes object larger than 4 GiB ``` From what I've seen this issue may be possibly fixed, as the line `self = pickle.loads(pickle.dumps(self))` does not appear to be present in the current state of the repository. To save these datasets to disk, I've resorted to calling .map() over them with `function=None` and specifying the .arrow cache file, and then creating a new dataset using the .from_file() method, which I can then safely save to disk. Additional issue when working with these large in-memory datasets is when using multiprocessing, is again to do with pickling. I've tried to speed up the mapping with function=None by specifying num_proc to the available cpu count, and I again get issues with transferring the dataset, with the following traceback. I am not sure if I should open a separate issue for that. ``` Traceback (most recent call last): File "./tokenize_and_chunkify_in_memory.py", line 94, in <module> main() File "./tokenize_and_chunkify_in_memory.py", line 89, in main tokenize_and_chunkify(config) File "./tokenize_and_chunkify_in_memory.py", line 67, in tokenize_and_chunkify contexts_dataset.map(function=None, cache_file_name=str(output_dir_path / "tmp.arrow"), writer_batch_size=50000, num_proc=config.threads) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in map transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in <listcomp> transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 657, in get raise self._value File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 431, in _handle_tasks put(task) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/connection.py", line 209, in send self._send_bytes(_ForkingPickler.dumps(obj)) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/reduction.py", line 54, in dumps cls(buf, protocol, *args, **kwds).dump(obj) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 454, in dump StockPickler.dump(self, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 437, in dump self.save(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 662, in save_reduce save(state) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 732, in save_bytes self._write_large_bytes(BINBYTES + pack("<I", n), obj) struct.error: 'I' format requires 0 <= number <= 4294967295Traceback (most recent call last): File "./tokenize_and_chunkify_in_memory.py", line 94, in <module> main() File "./tokenize_and_chunkify_in_memory.py", line 89, in main tokenize_and_chunkify(config) File "./tokenize_and_chunkify_in_memory.py", line 67, in tokenize_and_chunkify contexts_dataset.map(function=None, cache_file_name=str(output_dir_path / "tmp.arrow"), writer_batch_size=50000, num_proc=config.threads) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in map transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in <listcomp> transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 657, in get raise self._value File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 431, in _handle_tasks put(task) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/connection.py", line 209, in send self._send_bytes(_ForkingPickler.dumps(obj)) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/reduction.py", line 54, in dumps cls(buf, protocol, *args, **kwds).dump(obj) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 454, in dump StockPickler.dump(self, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 437, in dump self.save(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 662, in save_reduce save(state) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 732, in save_bytes self._write_large_bytes(BINBYTES + pack("<I", n), obj) struct.error: 'I' format requires 0 <= number <= 4294967295 ```
24
Saving large in-memory datasets with save_to_disk crashes because of pickling
[ -0.47028133273124695, 0.04299506917595863, -0.02533515729010105, 0.38846656680107117, 0.28594857454299927, 0.15465252101421356, -0.3634234368801117, 0.42886465787887573, 0.22270482778549194, 0.4055977761745453, -0.10037802904844284, 0.3144632577896118, -0.31835922598838806, 0.25428342819213867, -0.18184591829776764, 0.0832781121134758, 0.21366433799266815, -0.006549126468598843, -0.1463450938463211, -0.03790971636772156, -0.12316311150789261, 0.15749742090702057, 0.12700003385543823, -0.3050132691860199, -0.16774943470954895, -0.2677780091762543, 0.04462641105055809, 0.4591274857521057, -0.16462329030036926, -0.024509115144610405, -0.13377279043197632, -0.23787921667099, 0.05111059918999672, 0.30133751034736633, -0.00010682541324058548, 0.03767404332756996, -0.0242097619920969, -0.18568433821201324, -0.41383251547813416, 0.2777244448661804, 0.10179001837968826, -0.364240825176239, -0.2645151913166046, -0.06213723123073578, 0.2846622169017792, 0.14715833961963654, 0.13976211845874786, -0.3668946623802185, 0.20887865126132965, -0.1275068074464798, 0.2956237196922302, 0.28532540798187256, 0.010336240753531456, -0.1603265106678009, -0.0495566800236702, 0.12637226283550262, -0.22360222041606903, 0.15430848300457, 0.2214699685573578, 0.05420653149485588, -0.21918721497058868, 0.14535146951675415, -0.08238493651151657, -0.24456006288528442, -0.1824854016304016, -0.0471792034804821, -0.46218037605285645, -0.05669378861784935, 0.19785134494304657, -0.09098939597606659, -0.10050411522388458, -0.35620978474617004, -0.23944558203220367, -0.3149605095386505, -0.3174799382686615, -0.32396817207336426, 0.04157501459121704, 0.17845629155635834, -0.20088423788547516, 0.025644127279520035, 0.11221228539943695, -0.3175181448459625, -0.0694158598780632, -0.12482631206512451, 0.3774929344654083, -0.2858908772468567, -0.09482430666685104, 0.1175924614071846, 0.5754807591438293, -0.11380285769701004, -0.2575092017650604, 0.030694423243403435, -0.10412683337926865, -0.2402367740869522, -0.046954356133937836, -0.26674792170524597, 0.11143054813146591, -0.13019053637981415, 0.3500913083553314, 0.0460597462952137, 0.154497891664505, 0.366193562746048, 0.052853651344776154, 0.026369448751211166, 0.4193706512451172, -0.1801287680864334, -0.1618775576353073, 0.1188976988196373, 0.4265749454498291, -0.05674171447753906, 0.020696159452199936, 0.10168080031871796, 0.2328408807516098, 0.004917707294225693, 0.2646903395652771, -0.3588631749153137, -0.0984255000948906, -0.21977439522743225, -0.1678362935781479, 0.3340180814266205, -0.008023868314921856, 0.32159388065338135, -0.13916495442390442, 0.3742304742336273, -0.027369169518351555, -0.08853073418140411, -0.12917709350585938, 0.018880711868405342, -0.22394756972789764, 0.15208882093429565, -0.26292935013771057, 0.11687399446964264, 0.059603605419397354, 0.2430838644504547, 0.31216689944267273, 0.08026772737503052, 0.06798525154590607, -0.1639220416545868, -0.11329060792922974, -0.07207097858190536, 0.038744546473026276, -0.2852689325809479, 0.04176060110330582, 0.27347445487976074, 0.10523416101932526, 0.12883587181568146, 0.038579657673835754, -0.21967871487140656, -0.16842201352119446, 0.13716988265514374, 0.13728663325309753, -0.13155706226825714, -0.05045785382390022, 0.2569875419139862, 0.019997544586658478, 0.042486533522605896, -0.24045442044734955, 0.04285687208175659, 0.170869380235672, -0.06536204367876053, -0.20520086586475372, -0.012593120336532593, 0.02040080912411213, -0.2696208357810974, -0.17452873289585114, 0.4484320282936096, -0.24971771240234375, 0.23598253726959229, 0.10640318691730499, -0.13556170463562012, 0.401940256357193, 0.5355959534645081, 0.13916902244091034, -0.36409568786621094, -0.14621704816818237, 0.4867933690547943, 0.12372062355279922, 0.09781406074762344, -0.4758894443511963, 0.31348663568496704, -0.06367924064397812, -0.1490389108657837, -0.03910445049405098, 0.3549339473247528, -0.03645345941185951, -0.0771673321723938, 0.14846278727054596, 0.15799377858638763, -0.08419980853796005, 0.20597858726978302, -0.424715518951416, -0.08582491427659988, -0.36254775524139404, 0.1967063546180725, -0.08389997482299805, -0.03987845778465271, 0.10181444138288498, -0.19698402285575867, 0.24315616488456726, -0.19787967205047607, 0.10243387520313263, 0.33148542046546936, 0.3022734820842743, -0.07210296392440796, -0.32908788323402405, -0.03171911835670471, -0.5210965275764465, 0.1492803394794464, 0.08931167423725128, -0.07847151160240173, -0.1832261085510254, -0.10240283608436584, 0.033694565296173096, 0.20231594145298004, -0.029825635254383087, 0.21365542709827423, 0.15510760247707367, -0.005228763911873102, 0.013447839766740799, 0.23984108865261078, -0.003297260031104088, -0.023306483402848244, -0.32731056213378906, 0.03425758332014084, -0.19941891729831696, 0.03615984693169594, -0.11640048772096634, -0.5677859783172607, 0.05529564991593361, -0.08530644327402115, 0.025111103430390358, -0.11948399245738983, 0.07478046417236328, 0.11081242561340332, 0.11293027549982071, 0.01158115640282631, 0.07104362547397614, 0.05511076748371124, 0.013037540018558502, 0.0014543437864631414, 0.04681573435664177, 0.06480943411588669, 0.1993546336889267, -0.14612799882888794, -0.2570841610431671, 0.1508571356534958, -0.02901826985180378, -0.09752873331308365, 0.28809618949890137, -0.09489946067333221, 0.15416885912418365, -0.016641011461615562, 0.29132115840911865, -0.2767162024974823, 0.008380821906030178, 0.11200913041830063, 0.18324828147888184, -0.09511245787143707, -0.6047795414924622, 0.063255675137043, 0.2721153497695923, 0.005244576837867498, 0.41409045457839966, 0.10549943149089813, 0.1829594075679779, -0.04267604649066925, 0.07878968864679337, 0.24981796741485596, 0.4032474160194397, 0.1690097600221634, 0.30356836318969727, -0.086231529712677, -0.08055334538221359, -0.18200190365314484, 0.007348911836743355, -0.023610975593328476, -0.018150338903069496, 0.3251948654651642, 0.1444644182920456, -0.10279927402734756, -0.6042327880859375, -0.00896755512803793, -0.15283823013305664, 0.14254926145076752, 0.08194480836391449, 0.05433424562215805, -0.17173992097377777, -0.07518991827964783, -0.07453761249780655, 0.13249251246452332, 0.06755757331848145, -0.3846830427646637, 0.012338507920503616, 0.6221529841423035, -0.4987172484397888, 0.0038806768134236336, -0.004973223432898521, 0.32824644446372986, 0.1978091299533844, 0.08048871904611588, 0.13482405245304108, 0.10946216434240341, -0.13228458166122437, 0.08459293842315674, 0.35166165232658386, -0.1311081498861313, 0.5121675729751587, 0.3124130964279175, -0.09705375880002975, -0.41502663493156433, -0.002303984947502613, 0.08143122494220734, -0.03788621723651886, 0.28056830167770386, 0.033923227339982986, 0.33244645595550537, -0.03868458420038223, -0.15723058581352234, -0.004996500909328461, 0.09113386273384094, -0.12125842273235321, 0.017779111862182617, 0.17730778455734253, 0.01214697677642107, -0.2721993327140808, -0.11818811297416687, -0.24025972187519073, -0.4257951080799103, 0.26390278339385986, -0.04645685479044914, 0.08752796053886414, 0.22622206807136536, 0.3794938325881958, -0.09512919932603836, 0.2356138825416565, -0.1833656281232834, -0.18991312384605408, -0.004948489833623171, 0.23856747150421143, -0.1470043808221817, -0.392633855342865, -0.13699911534786224, 0.1549653857946396, -0.19955405592918396, 0.1390685886144638, -0.46695059537887573, 0.19302980601787567, -0.34437060356140137, 0.15339310467243195, -0.14700692892074585, 0.005125715862959623, 0.25390753149986267, 0.06831279397010803, -0.21483473479747772, 0.08057442307472229, -0.15929067134857178, 0.16464640200138092, 0.035728659480810165, 0.12027279287576675, -0.36226126551628113, 0.1590442955493927, 0.2317248433828354, 0.3770785629749298, 0.05713489651679993, -0.014806952327489853, 0.48315247893333435, 0.24938459694385529, 0.48254916071891785, -0.20548121631145477, -0.02561887912452221, -0.05370580404996872, -0.15582327544689178, -0.3212580978870392, -0.1259728968143463, -0.06248185783624649, -0.3207181692123413, 0.133065328001976, 0.17652232944965363, 0.32277345657348633, -0.22187568247318268, 0.3981386125087738, 0.23954784870147705, -0.0657903328537941, -0.0680014118552208, 0.1259259432554245, 0.13324058055877686, 0.14503800868988037, 0.0972563698887825, -0.1343761682510376, 0.2643468379974365, -0.10629071295261383, -0.08276698738336563, 0.030212165787816048, -0.4822233319282532, -0.01810162141919136, -0.014168333262205124, 0.2574150264263153, -0.163547083735466, -0.4806899130344391, -0.02588042803108692, -0.057894036173820496, 0.4494566321372986, 0.028743082657456398, 0.10425588488578796, 0.10763829946517944, -0.10423608869314194, -0.1321561336517334, 0.2026505321264267, -0.030740225687623024, 0.2220459133386612, 0.06136708706617355, 0.4541999399662018, -0.22748638689517975, 0.035219013690948486, -0.011770559474825859, 0.27105724811553955, -0.13513682782649994, 0.011981640011072159, -0.025783583521842957, -0.31127095222473145, -0.15511730313301086, 0.10362394899129868, 0.02875433675944805, -0.08112151175737381, -0.012193884700536728, -0.06067662313580513, -0.16656973958015442, -0.13620677590370178, 0.04993627592921257, -0.03427383676171303, 0.17673343420028687, -0.3024294078350067, 0.26809895038604736, -0.28269946575164795, 0.1529659479856491, 0.3016491234302521, 0.3831442594528198, -0.09847715497016907, 0.15434619784355164, 0.15801110863685608, 0.13623973727226257, 0.09777071326971054, 0.300137996673584, 0.05751403421163559, 0.011159790679812431, -0.10872743278741837, 0.13705646991729736, -0.3869149386882782, 0.17454886436462402, -0.07881855219602585, -0.06681676208972931, -0.2016698569059372, 0.20793522894382477, 0.5048606395721436, 0.023843705654144287, 0.13900496065616608, 0.08659869432449341, -0.1100015640258789, -0.042984798550605774, 0.3134933114051819, 0.16590616106987, 0.6817291378974915, -0.01108731608837843, 0.43173062801361084, 0.18168649077415466, -0.17756451666355133, 0.018806684762239456, 0.09152057021856308, 0.09074163436889648, -0.37283098697662354, -0.11381305754184723, 0.18381871283054352, -0.003799652447924018, 0.01723816804587841, -0.16453438997268677, -0.15660636126995087, 0.011430814862251282, -0.15728311240673065, -0.35499101877212524, -0.22856007516384125, 0.06966130435466766, -0.47336652874946594, -0.363626092672348, -0.06470979750156403, 0.2597445845603943, 0.12964032590389252, -0.0238996222615242, -0.058520808815956116, -0.11751412600278854, -0.08119978755712509, 0.1009552925825119, -0.1896129548549652, -0.05210596323013306, -0.02128412202000618, 0.4697228670120239, -0.16935324668884277, -0.22469951212406158, -0.2143663614988327, -0.04066743329167366, -0.07995235174894333, 0.27201753854751587, -0.035961978137493134, -0.10037633776664734, -0.010649872943758965, -0.06665042042732239, -0.047465741634368896, -0.06075482442975044, 0.29878464341163635, 0.04016602784395218, 0.18651777505874634, -0.01660880073904991, -0.0657247006893158, -0.2371736615896225, -0.29056045413017273, 0.04262235760688782, -0.3063066601753235, -0.19866536557674408, -0.4877398908138275, -0.07470794022083282, -0.28062769770622253, -0.20163007080554962, 0.18774963915348053, 0.20599572360515594, 0.1752019077539444, 0.36436986923217773, -0.038123078644275665, -0.044058408588171005, -0.25966280698776245, 0.48310360312461853, -0.05769149586558342, 0.14932546019554138, 0.2029242068529129, 0.12670093774795532, -0.21091178059577942, -0.3302527666091919, 0.09772796183824539, -0.059515513479709625, 0.22750943899154663, 0.5049907565116882, -0.26696115732192993, -0.2150220274925232, -0.0878140777349472, 0.23200830817222595, 0.2221977412700653, -0.06434476375579834, -0.17603182792663574, -0.08675293624401093, -0.5476608276367188, 0.024559617042541504, 0.2650947570800781, 0.3843470513820648, -0.21661196649074554, -0.02181962877511978, -0.29047027230262756, 0.125147745013237, -0.36115172505378723, 0.07738053053617477, -0.40139496326446533, -0.0394163616001606, 0.24646693468093872, 0.03511810675263405, 0.07773240655660629, 0.000859416148159653, 0.1415737420320511, 0.27316969633102417, -0.1481144279241562, -0.25899434089660645, 0.040156442672014236, 0.0184757299721241, 0.034437328577041626, 0.1693781018257141, -0.1266651600599289, -0.1417386382818222, 0.11131724715232849, -0.09231959283351898, 0.20730501413345337, 0.1606341153383255, -0.17903101444244385, -0.1418299823999405, 0.07386806607246399, 0.24284633994102478, 0.31327545642852783, 0.14033888280391693, 0.11317994445562363, 0.19686073064804077, 0.05715659633278847, -0.07280237227678299, -0.04448236897587776, -0.28608182072639465, 0.011837093159556389, 0.05969903990626335, 0.1801319122314453, -0.022929910570383072, 0.23410746455192566, -0.24157853424549103, -0.3699062168598175, 0.36762019991874695, 0.1556585133075714, 0.427592933177948, -0.02217351645231247, -0.30553093552589417, 0.05474384129047394, 0.3033558428287506, 0.14632569253444672, -0.38230133056640625, -0.10114645957946777, -0.22656066715717316, 0.029561085626482964, 0.20417042076587677, -0.16048157215118408, -0.09866729378700256, -0.42786842584609985, 0.2211087942123413, 0.3227584660053253, -0.061454806476831436, -0.36698415875434875, -0.011424867436289787, -0.1109970435500145, -0.009933196939527988, 0.12974412739276886, 0.0007746271439827979, 0.5224003791809082, 0.46981218457221985, 0.014151017181575298, 0.5580054521560669, -0.1279800683259964, 0.034329917281866074, -0.28880617022514343, -0.6196351647377014, 0.06578066945075989, 0.5004177093505859, 0.05486970394849777, 0.3941044211387634, 0.0009400824783369899, 0.2215672731399536, -0.42979666590690613, -0.25925442576408386, -0.041419390588998795, 0.20170347392559052, -0.49339842796325684, -0.08970905840396881, 0.14330817759037018, -0.18345710635185242, 0.08189451694488525, 0.35376209020614624, -0.09753254055976868, -0.033145781606435776, 0.3071286082267761, -0.14288906753063202, -0.10083083063364029, 0.16219040751457214, -0.18164382874965668, -0.021535594016313553, 0.06113959476351738, -0.2311914712190628, 0.05594512075185776, 0.10370451956987381, -0.15233415365219116, -0.5632181167602539, 0.029593519866466522, 0.3485351800918579, 0.2069922387599945, 0.03643975779414177, -0.008021775633096695, 0.021706489846110344, 0.02680719643831253, -0.20770318806171417, 0.21015945076942444, -0.03486064448952675, 0.1919204741716385, 0.42939433455467224, 0.0899549201130867, -0.19623130559921265, 0.06922215968370438, 0.2098846584558487, 0.31047138571739197, 0.07035662978887558, -0.4160914421081543, 0.008105679415166378, -0.34515875577926636, -0.018867844715714455, -0.17393630743026733, -0.1735474318265915, -0.0452510342001915, 0.22317135334014893, -0.39880409836769104, 0.24102747440338135, 0.04193978011608124, 0.13699670135974884, 0.08296100795269012, 0.7709323763847351, 0.16022366285324097, -0.3163262605667114, -0.32958757877349854, -0.14913110435009003, -0.10581684112548828, 0.1902880221605301, -0.11931046843528748, 0.22447612881660461, -0.3472136855125427, 0.3281104564666748, 0.25035804510116577, 0.05363129451870918, -0.3267365097999573, 0.28305599093437195, -0.18548113107681274, 0.19534848630428314, -0.18173842132091522, -0.10599957406520844, 0.03640226647257805, -0.3075156509876251, 0.12988145649433136, -0.46204978227615356, 0.3038843274116516, 0.08076360821723938, 0.244680717587471, 0.004097653552889824, -0.009893396869301796, -0.3859691619873047, 0.14894045889377594, 0.47598734498023987, 0.12230046838521957, 0.04405701160430908, -0.29604002833366394, -0.4764913022518158, 0.09517817199230194, -0.12255526334047318, 0.1056140661239624, -0.195738285779953, 0.20382390916347504, 0.5223815441131592, -0.12498091161251068, 0.5741856098175049, -0.05522164702415466, 0.2743575870990753, 0.14152464270591736, 0.1245836615562439, 0.23993229866027832, 0.055447597056627274, 0.0807759240269661, -0.07351607829332352, 0.25785669684410095, 0.36383217573165894, 0.044363535940647125, 0.23782111704349518, -0.25439244508743286, -0.24489600956439972, 0.28028810024261475, 0.27158045768737793, -0.20755594968795776, -0.011092852801084518, 0.027292722836136818, 0.14574235677719116, -0.04174065589904785, -0.38219067454338074, -0.02042020671069622, -0.06731784343719482, -0.13614240288734436, -0.381157785654068, 0.23961466550827026, -0.12012746185064316, -0.3808934986591339, 0.07137066125869751, 1.0446687936782837, 0.03754454851150513, -0.28564438223838806, 0.2899385988712311, -0.16368071734905243 ]
https://github.com/huggingface/datasets/issues/2134
Saving large in-memory datasets with save_to_disk crashes because of pickling
awesome! I started getting this error as well when I tried to tokenize with a longer sequence length
Using Datasets 1.5.0 on Python 3.7. Recently I've been working on medium to large size datasets (pretokenized raw text sizes from few gigabytes to low tens of gigabytes), and have found out that several preprocessing steps are massively faster when done in memory, and I have the ability to requisition a lot of RAM, so I decided to do these steps completely out of the datasets library. So my workflow is to do several .map() on datasets object, then for the operation which is faster in memory to extract the necessary columns from the dataset and then drop it whole, do the transformation in memory, and then create a fresh Dataset object using .from_dict() or other method. When I then try to call save_to_disk(path) on the dataset, it crashes because of pickling, which appears to be because of using old pickle protocol which doesn't support large files (over 4 GiB). ``` Traceback (most recent call last): File "./tokenize_and_chunkify_in_memory.py", line 80, in <module> main() File "./tokenize_and_chunkify_in_memory.py", line 75, in main tokenize_and_chunkify(config) File "./tokenize_and_chunkify_in_memory.py", line 60, in tokenize_and_chunkify contexts_dataset.save_to_disk(chunked_path) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 457, in save_to_disk self = pickle.loads(pickle.dumps(self)) OverflowError: cannot serialize a bytes object larger than 4 GiB ``` From what I've seen this issue may be possibly fixed, as the line `self = pickle.loads(pickle.dumps(self))` does not appear to be present in the current state of the repository. To save these datasets to disk, I've resorted to calling .map() over them with `function=None` and specifying the .arrow cache file, and then creating a new dataset using the .from_file() method, which I can then safely save to disk. Additional issue when working with these large in-memory datasets is when using multiprocessing, is again to do with pickling. I've tried to speed up the mapping with function=None by specifying num_proc to the available cpu count, and I again get issues with transferring the dataset, with the following traceback. I am not sure if I should open a separate issue for that. ``` Traceback (most recent call last): File "./tokenize_and_chunkify_in_memory.py", line 94, in <module> main() File "./tokenize_and_chunkify_in_memory.py", line 89, in main tokenize_and_chunkify(config) File "./tokenize_and_chunkify_in_memory.py", line 67, in tokenize_and_chunkify contexts_dataset.map(function=None, cache_file_name=str(output_dir_path / "tmp.arrow"), writer_batch_size=50000, num_proc=config.threads) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in map transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in <listcomp> transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 657, in get raise self._value File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 431, in _handle_tasks put(task) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/connection.py", line 209, in send self._send_bytes(_ForkingPickler.dumps(obj)) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/reduction.py", line 54, in dumps cls(buf, protocol, *args, **kwds).dump(obj) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 454, in dump StockPickler.dump(self, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 437, in dump self.save(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 662, in save_reduce save(state) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 732, in save_bytes self._write_large_bytes(BINBYTES + pack("<I", n), obj) struct.error: 'I' format requires 0 <= number <= 4294967295Traceback (most recent call last): File "./tokenize_and_chunkify_in_memory.py", line 94, in <module> main() File "./tokenize_and_chunkify_in_memory.py", line 89, in main tokenize_and_chunkify(config) File "./tokenize_and_chunkify_in_memory.py", line 67, in tokenize_and_chunkify contexts_dataset.map(function=None, cache_file_name=str(output_dir_path / "tmp.arrow"), writer_batch_size=50000, num_proc=config.threads) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in map transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in <listcomp> transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 657, in get raise self._value File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 431, in _handle_tasks put(task) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/connection.py", line 209, in send self._send_bytes(_ForkingPickler.dumps(obj)) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/reduction.py", line 54, in dumps cls(buf, protocol, *args, **kwds).dump(obj) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 454, in dump StockPickler.dump(self, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 437, in dump self.save(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 662, in save_reduce save(state) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 732, in save_bytes self._write_large_bytes(BINBYTES + pack("<I", n), obj) struct.error: 'I' format requires 0 <= number <= 4294967295 ```
18
Saving large in-memory datasets with save_to_disk crashes because of pickling
[ -0.47028133273124695, 0.04299506917595863, -0.02533515729010105, 0.38846656680107117, 0.28594857454299927, 0.15465252101421356, -0.3634234368801117, 0.42886465787887573, 0.22270482778549194, 0.4055977761745453, -0.10037802904844284, 0.3144632577896118, -0.31835922598838806, 0.25428342819213867, -0.18184591829776764, 0.0832781121134758, 0.21366433799266815, -0.006549126468598843, -0.1463450938463211, -0.03790971636772156, -0.12316311150789261, 0.15749742090702057, 0.12700003385543823, -0.3050132691860199, -0.16774943470954895, -0.2677780091762543, 0.04462641105055809, 0.4591274857521057, -0.16462329030036926, -0.024509115144610405, -0.13377279043197632, -0.23787921667099, 0.05111059918999672, 0.30133751034736633, -0.00010682541324058548, 0.03767404332756996, -0.0242097619920969, -0.18568433821201324, -0.41383251547813416, 0.2777244448661804, 0.10179001837968826, -0.364240825176239, -0.2645151913166046, -0.06213723123073578, 0.2846622169017792, 0.14715833961963654, 0.13976211845874786, -0.3668946623802185, 0.20887865126132965, -0.1275068074464798, 0.2956237196922302, 0.28532540798187256, 0.010336240753531456, -0.1603265106678009, -0.0495566800236702, 0.12637226283550262, -0.22360222041606903, 0.15430848300457, 0.2214699685573578, 0.05420653149485588, -0.21918721497058868, 0.14535146951675415, -0.08238493651151657, -0.24456006288528442, -0.1824854016304016, -0.0471792034804821, -0.46218037605285645, -0.05669378861784935, 0.19785134494304657, -0.09098939597606659, -0.10050411522388458, -0.35620978474617004, -0.23944558203220367, -0.3149605095386505, -0.3174799382686615, -0.32396817207336426, 0.04157501459121704, 0.17845629155635834, -0.20088423788547516, 0.025644127279520035, 0.11221228539943695, -0.3175181448459625, -0.0694158598780632, -0.12482631206512451, 0.3774929344654083, -0.2858908772468567, -0.09482430666685104, 0.1175924614071846, 0.5754807591438293, -0.11380285769701004, -0.2575092017650604, 0.030694423243403435, -0.10412683337926865, -0.2402367740869522, -0.046954356133937836, -0.26674792170524597, 0.11143054813146591, -0.13019053637981415, 0.3500913083553314, 0.0460597462952137, 0.154497891664505, 0.366193562746048, 0.052853651344776154, 0.026369448751211166, 0.4193706512451172, -0.1801287680864334, -0.1618775576353073, 0.1188976988196373, 0.4265749454498291, -0.05674171447753906, 0.020696159452199936, 0.10168080031871796, 0.2328408807516098, 0.004917707294225693, 0.2646903395652771, -0.3588631749153137, -0.0984255000948906, -0.21977439522743225, -0.1678362935781479, 0.3340180814266205, -0.008023868314921856, 0.32159388065338135, -0.13916495442390442, 0.3742304742336273, -0.027369169518351555, -0.08853073418140411, -0.12917709350585938, 0.018880711868405342, -0.22394756972789764, 0.15208882093429565, -0.26292935013771057, 0.11687399446964264, 0.059603605419397354, 0.2430838644504547, 0.31216689944267273, 0.08026772737503052, 0.06798525154590607, -0.1639220416545868, -0.11329060792922974, -0.07207097858190536, 0.038744546473026276, -0.2852689325809479, 0.04176060110330582, 0.27347445487976074, 0.10523416101932526, 0.12883587181568146, 0.038579657673835754, -0.21967871487140656, -0.16842201352119446, 0.13716988265514374, 0.13728663325309753, -0.13155706226825714, -0.05045785382390022, 0.2569875419139862, 0.019997544586658478, 0.042486533522605896, -0.24045442044734955, 0.04285687208175659, 0.170869380235672, -0.06536204367876053, -0.20520086586475372, -0.012593120336532593, 0.02040080912411213, -0.2696208357810974, -0.17452873289585114, 0.4484320282936096, -0.24971771240234375, 0.23598253726959229, 0.10640318691730499, -0.13556170463562012, 0.401940256357193, 0.5355959534645081, 0.13916902244091034, -0.36409568786621094, -0.14621704816818237, 0.4867933690547943, 0.12372062355279922, 0.09781406074762344, -0.4758894443511963, 0.31348663568496704, -0.06367924064397812, -0.1490389108657837, -0.03910445049405098, 0.3549339473247528, -0.03645345941185951, -0.0771673321723938, 0.14846278727054596, 0.15799377858638763, -0.08419980853796005, 0.20597858726978302, -0.424715518951416, -0.08582491427659988, -0.36254775524139404, 0.1967063546180725, -0.08389997482299805, -0.03987845778465271, 0.10181444138288498, -0.19698402285575867, 0.24315616488456726, -0.19787967205047607, 0.10243387520313263, 0.33148542046546936, 0.3022734820842743, -0.07210296392440796, -0.32908788323402405, -0.03171911835670471, -0.5210965275764465, 0.1492803394794464, 0.08931167423725128, -0.07847151160240173, -0.1832261085510254, -0.10240283608436584, 0.033694565296173096, 0.20231594145298004, -0.029825635254383087, 0.21365542709827423, 0.15510760247707367, -0.005228763911873102, 0.013447839766740799, 0.23984108865261078, -0.003297260031104088, -0.023306483402848244, -0.32731056213378906, 0.03425758332014084, -0.19941891729831696, 0.03615984693169594, -0.11640048772096634, -0.5677859783172607, 0.05529564991593361, -0.08530644327402115, 0.025111103430390358, -0.11948399245738983, 0.07478046417236328, 0.11081242561340332, 0.11293027549982071, 0.01158115640282631, 0.07104362547397614, 0.05511076748371124, 0.013037540018558502, 0.0014543437864631414, 0.04681573435664177, 0.06480943411588669, 0.1993546336889267, -0.14612799882888794, -0.2570841610431671, 0.1508571356534958, -0.02901826985180378, -0.09752873331308365, 0.28809618949890137, -0.09489946067333221, 0.15416885912418365, -0.016641011461615562, 0.29132115840911865, -0.2767162024974823, 0.008380821906030178, 0.11200913041830063, 0.18324828147888184, -0.09511245787143707, -0.6047795414924622, 0.063255675137043, 0.2721153497695923, 0.005244576837867498, 0.41409045457839966, 0.10549943149089813, 0.1829594075679779, -0.04267604649066925, 0.07878968864679337, 0.24981796741485596, 0.4032474160194397, 0.1690097600221634, 0.30356836318969727, -0.086231529712677, -0.08055334538221359, -0.18200190365314484, 0.007348911836743355, -0.023610975593328476, -0.018150338903069496, 0.3251948654651642, 0.1444644182920456, -0.10279927402734756, -0.6042327880859375, -0.00896755512803793, -0.15283823013305664, 0.14254926145076752, 0.08194480836391449, 0.05433424562215805, -0.17173992097377777, -0.07518991827964783, -0.07453761249780655, 0.13249251246452332, 0.06755757331848145, -0.3846830427646637, 0.012338507920503616, 0.6221529841423035, -0.4987172484397888, 0.0038806768134236336, -0.004973223432898521, 0.32824644446372986, 0.1978091299533844, 0.08048871904611588, 0.13482405245304108, 0.10946216434240341, -0.13228458166122437, 0.08459293842315674, 0.35166165232658386, -0.1311081498861313, 0.5121675729751587, 0.3124130964279175, -0.09705375880002975, -0.41502663493156433, -0.002303984947502613, 0.08143122494220734, -0.03788621723651886, 0.28056830167770386, 0.033923227339982986, 0.33244645595550537, -0.03868458420038223, -0.15723058581352234, -0.004996500909328461, 0.09113386273384094, -0.12125842273235321, 0.017779111862182617, 0.17730778455734253, 0.01214697677642107, -0.2721993327140808, -0.11818811297416687, -0.24025972187519073, -0.4257951080799103, 0.26390278339385986, -0.04645685479044914, 0.08752796053886414, 0.22622206807136536, 0.3794938325881958, -0.09512919932603836, 0.2356138825416565, -0.1833656281232834, -0.18991312384605408, -0.004948489833623171, 0.23856747150421143, -0.1470043808221817, -0.392633855342865, -0.13699911534786224, 0.1549653857946396, -0.19955405592918396, 0.1390685886144638, -0.46695059537887573, 0.19302980601787567, -0.34437060356140137, 0.15339310467243195, -0.14700692892074585, 0.005125715862959623, 0.25390753149986267, 0.06831279397010803, -0.21483473479747772, 0.08057442307472229, -0.15929067134857178, 0.16464640200138092, 0.035728659480810165, 0.12027279287576675, -0.36226126551628113, 0.1590442955493927, 0.2317248433828354, 0.3770785629749298, 0.05713489651679993, -0.014806952327489853, 0.48315247893333435, 0.24938459694385529, 0.48254916071891785, -0.20548121631145477, -0.02561887912452221, -0.05370580404996872, -0.15582327544689178, -0.3212580978870392, -0.1259728968143463, -0.06248185783624649, -0.3207181692123413, 0.133065328001976, 0.17652232944965363, 0.32277345657348633, -0.22187568247318268, 0.3981386125087738, 0.23954784870147705, -0.0657903328537941, -0.0680014118552208, 0.1259259432554245, 0.13324058055877686, 0.14503800868988037, 0.0972563698887825, -0.1343761682510376, 0.2643468379974365, -0.10629071295261383, -0.08276698738336563, 0.030212165787816048, -0.4822233319282532, -0.01810162141919136, -0.014168333262205124, 0.2574150264263153, -0.163547083735466, -0.4806899130344391, -0.02588042803108692, -0.057894036173820496, 0.4494566321372986, 0.028743082657456398, 0.10425588488578796, 0.10763829946517944, -0.10423608869314194, -0.1321561336517334, 0.2026505321264267, -0.030740225687623024, 0.2220459133386612, 0.06136708706617355, 0.4541999399662018, -0.22748638689517975, 0.035219013690948486, -0.011770559474825859, 0.27105724811553955, -0.13513682782649994, 0.011981640011072159, -0.025783583521842957, -0.31127095222473145, -0.15511730313301086, 0.10362394899129868, 0.02875433675944805, -0.08112151175737381, -0.012193884700536728, -0.06067662313580513, -0.16656973958015442, -0.13620677590370178, 0.04993627592921257, -0.03427383676171303, 0.17673343420028687, -0.3024294078350067, 0.26809895038604736, -0.28269946575164795, 0.1529659479856491, 0.3016491234302521, 0.3831442594528198, -0.09847715497016907, 0.15434619784355164, 0.15801110863685608, 0.13623973727226257, 0.09777071326971054, 0.300137996673584, 0.05751403421163559, 0.011159790679812431, -0.10872743278741837, 0.13705646991729736, -0.3869149386882782, 0.17454886436462402, -0.07881855219602585, -0.06681676208972931, -0.2016698569059372, 0.20793522894382477, 0.5048606395721436, 0.023843705654144287, 0.13900496065616608, 0.08659869432449341, -0.1100015640258789, -0.042984798550605774, 0.3134933114051819, 0.16590616106987, 0.6817291378974915, -0.01108731608837843, 0.43173062801361084, 0.18168649077415466, -0.17756451666355133, 0.018806684762239456, 0.09152057021856308, 0.09074163436889648, -0.37283098697662354, -0.11381305754184723, 0.18381871283054352, -0.003799652447924018, 0.01723816804587841, -0.16453438997268677, -0.15660636126995087, 0.011430814862251282, -0.15728311240673065, -0.35499101877212524, -0.22856007516384125, 0.06966130435466766, -0.47336652874946594, -0.363626092672348, -0.06470979750156403, 0.2597445845603943, 0.12964032590389252, -0.0238996222615242, -0.058520808815956116, -0.11751412600278854, -0.08119978755712509, 0.1009552925825119, -0.1896129548549652, -0.05210596323013306, -0.02128412202000618, 0.4697228670120239, -0.16935324668884277, -0.22469951212406158, -0.2143663614988327, -0.04066743329167366, -0.07995235174894333, 0.27201753854751587, -0.035961978137493134, -0.10037633776664734, -0.010649872943758965, -0.06665042042732239, -0.047465741634368896, -0.06075482442975044, 0.29878464341163635, 0.04016602784395218, 0.18651777505874634, -0.01660880073904991, -0.0657247006893158, -0.2371736615896225, -0.29056045413017273, 0.04262235760688782, -0.3063066601753235, -0.19866536557674408, -0.4877398908138275, -0.07470794022083282, -0.28062769770622253, -0.20163007080554962, 0.18774963915348053, 0.20599572360515594, 0.1752019077539444, 0.36436986923217773, -0.038123078644275665, -0.044058408588171005, -0.25966280698776245, 0.48310360312461853, -0.05769149586558342, 0.14932546019554138, 0.2029242068529129, 0.12670093774795532, -0.21091178059577942, -0.3302527666091919, 0.09772796183824539, -0.059515513479709625, 0.22750943899154663, 0.5049907565116882, -0.26696115732192993, -0.2150220274925232, -0.0878140777349472, 0.23200830817222595, 0.2221977412700653, -0.06434476375579834, -0.17603182792663574, -0.08675293624401093, -0.5476608276367188, 0.024559617042541504, 0.2650947570800781, 0.3843470513820648, -0.21661196649074554, -0.02181962877511978, -0.29047027230262756, 0.125147745013237, -0.36115172505378723, 0.07738053053617477, -0.40139496326446533, -0.0394163616001606, 0.24646693468093872, 0.03511810675263405, 0.07773240655660629, 0.000859416148159653, 0.1415737420320511, 0.27316969633102417, -0.1481144279241562, -0.25899434089660645, 0.040156442672014236, 0.0184757299721241, 0.034437328577041626, 0.1693781018257141, -0.1266651600599289, -0.1417386382818222, 0.11131724715232849, -0.09231959283351898, 0.20730501413345337, 0.1606341153383255, -0.17903101444244385, -0.1418299823999405, 0.07386806607246399, 0.24284633994102478, 0.31327545642852783, 0.14033888280391693, 0.11317994445562363, 0.19686073064804077, 0.05715659633278847, -0.07280237227678299, -0.04448236897587776, -0.28608182072639465, 0.011837093159556389, 0.05969903990626335, 0.1801319122314453, -0.022929910570383072, 0.23410746455192566, -0.24157853424549103, -0.3699062168598175, 0.36762019991874695, 0.1556585133075714, 0.427592933177948, -0.02217351645231247, -0.30553093552589417, 0.05474384129047394, 0.3033558428287506, 0.14632569253444672, -0.38230133056640625, -0.10114645957946777, -0.22656066715717316, 0.029561085626482964, 0.20417042076587677, -0.16048157215118408, -0.09866729378700256, -0.42786842584609985, 0.2211087942123413, 0.3227584660053253, -0.061454806476831436, -0.36698415875434875, -0.011424867436289787, -0.1109970435500145, -0.009933196939527988, 0.12974412739276886, 0.0007746271439827979, 0.5224003791809082, 0.46981218457221985, 0.014151017181575298, 0.5580054521560669, -0.1279800683259964, 0.034329917281866074, -0.28880617022514343, -0.6196351647377014, 0.06578066945075989, 0.5004177093505859, 0.05486970394849777, 0.3941044211387634, 0.0009400824783369899, 0.2215672731399536, -0.42979666590690613, -0.25925442576408386, -0.041419390588998795, 0.20170347392559052, -0.49339842796325684, -0.08970905840396881, 0.14330817759037018, -0.18345710635185242, 0.08189451694488525, 0.35376209020614624, -0.09753254055976868, -0.033145781606435776, 0.3071286082267761, -0.14288906753063202, -0.10083083063364029, 0.16219040751457214, -0.18164382874965668, -0.021535594016313553, 0.06113959476351738, -0.2311914712190628, 0.05594512075185776, 0.10370451956987381, -0.15233415365219116, -0.5632181167602539, 0.029593519866466522, 0.3485351800918579, 0.2069922387599945, 0.03643975779414177, -0.008021775633096695, 0.021706489846110344, 0.02680719643831253, -0.20770318806171417, 0.21015945076942444, -0.03486064448952675, 0.1919204741716385, 0.42939433455467224, 0.0899549201130867, -0.19623130559921265, 0.06922215968370438, 0.2098846584558487, 0.31047138571739197, 0.07035662978887558, -0.4160914421081543, 0.008105679415166378, -0.34515875577926636, -0.018867844715714455, -0.17393630743026733, -0.1735474318265915, -0.0452510342001915, 0.22317135334014893, -0.39880409836769104, 0.24102747440338135, 0.04193978011608124, 0.13699670135974884, 0.08296100795269012, 0.7709323763847351, 0.16022366285324097, -0.3163262605667114, -0.32958757877349854, -0.14913110435009003, -0.10581684112548828, 0.1902880221605301, -0.11931046843528748, 0.22447612881660461, -0.3472136855125427, 0.3281104564666748, 0.25035804510116577, 0.05363129451870918, -0.3267365097999573, 0.28305599093437195, -0.18548113107681274, 0.19534848630428314, -0.18173842132091522, -0.10599957406520844, 0.03640226647257805, -0.3075156509876251, 0.12988145649433136, -0.46204978227615356, 0.3038843274116516, 0.08076360821723938, 0.244680717587471, 0.004097653552889824, -0.009893396869301796, -0.3859691619873047, 0.14894045889377594, 0.47598734498023987, 0.12230046838521957, 0.04405701160430908, -0.29604002833366394, -0.4764913022518158, 0.09517817199230194, -0.12255526334047318, 0.1056140661239624, -0.195738285779953, 0.20382390916347504, 0.5223815441131592, -0.12498091161251068, 0.5741856098175049, -0.05522164702415466, 0.2743575870990753, 0.14152464270591736, 0.1245836615562439, 0.23993229866027832, 0.055447597056627274, 0.0807759240269661, -0.07351607829332352, 0.25785669684410095, 0.36383217573165894, 0.044363535940647125, 0.23782111704349518, -0.25439244508743286, -0.24489600956439972, 0.28028810024261475, 0.27158045768737793, -0.20755594968795776, -0.011092852801084518, 0.027292722836136818, 0.14574235677719116, -0.04174065589904785, -0.38219067454338074, -0.02042020671069622, -0.06731784343719482, -0.13614240288734436, -0.381157785654068, 0.23961466550827026, -0.12012746185064316, -0.3808934986591339, 0.07137066125869751, 1.0446687936782837, 0.03754454851150513, -0.28564438223838806, 0.2899385988712311, -0.16368071734905243 ]
https://github.com/huggingface/datasets/issues/2134
Saving large in-memory datasets with save_to_disk crashes because of pickling
@prokopCerny does this fix work for you? I found that with the latest master, my container with 500GB RAM starts crashing when I try to map a large dataset using `num_proc`. @lhoestq would it be possible to implement some logic to keep the individual cache files small (say below 100mb)? I find this helps with loading large datasets, but the "hack" I was using (increasing `num_proc` to a large number) doesn't work anymore with the latest master; my container crashes even with `num_proc=200` now
Using Datasets 1.5.0 on Python 3.7. Recently I've been working on medium to large size datasets (pretokenized raw text sizes from few gigabytes to low tens of gigabytes), and have found out that several preprocessing steps are massively faster when done in memory, and I have the ability to requisition a lot of RAM, so I decided to do these steps completely out of the datasets library. So my workflow is to do several .map() on datasets object, then for the operation which is faster in memory to extract the necessary columns from the dataset and then drop it whole, do the transformation in memory, and then create a fresh Dataset object using .from_dict() or other method. When I then try to call save_to_disk(path) on the dataset, it crashes because of pickling, which appears to be because of using old pickle protocol which doesn't support large files (over 4 GiB). ``` Traceback (most recent call last): File "./tokenize_and_chunkify_in_memory.py", line 80, in <module> main() File "./tokenize_and_chunkify_in_memory.py", line 75, in main tokenize_and_chunkify(config) File "./tokenize_and_chunkify_in_memory.py", line 60, in tokenize_and_chunkify contexts_dataset.save_to_disk(chunked_path) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 457, in save_to_disk self = pickle.loads(pickle.dumps(self)) OverflowError: cannot serialize a bytes object larger than 4 GiB ``` From what I've seen this issue may be possibly fixed, as the line `self = pickle.loads(pickle.dumps(self))` does not appear to be present in the current state of the repository. To save these datasets to disk, I've resorted to calling .map() over them with `function=None` and specifying the .arrow cache file, and then creating a new dataset using the .from_file() method, which I can then safely save to disk. Additional issue when working with these large in-memory datasets is when using multiprocessing, is again to do with pickling. I've tried to speed up the mapping with function=None by specifying num_proc to the available cpu count, and I again get issues with transferring the dataset, with the following traceback. I am not sure if I should open a separate issue for that. ``` Traceback (most recent call last): File "./tokenize_and_chunkify_in_memory.py", line 94, in <module> main() File "./tokenize_and_chunkify_in_memory.py", line 89, in main tokenize_and_chunkify(config) File "./tokenize_and_chunkify_in_memory.py", line 67, in tokenize_and_chunkify contexts_dataset.map(function=None, cache_file_name=str(output_dir_path / "tmp.arrow"), writer_batch_size=50000, num_proc=config.threads) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in map transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in <listcomp> transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 657, in get raise self._value File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 431, in _handle_tasks put(task) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/connection.py", line 209, in send self._send_bytes(_ForkingPickler.dumps(obj)) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/reduction.py", line 54, in dumps cls(buf, protocol, *args, **kwds).dump(obj) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 454, in dump StockPickler.dump(self, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 437, in dump self.save(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 662, in save_reduce save(state) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 732, in save_bytes self._write_large_bytes(BINBYTES + pack("<I", n), obj) struct.error: 'I' format requires 0 <= number <= 4294967295Traceback (most recent call last): File "./tokenize_and_chunkify_in_memory.py", line 94, in <module> main() File "./tokenize_and_chunkify_in_memory.py", line 89, in main tokenize_and_chunkify(config) File "./tokenize_and_chunkify_in_memory.py", line 67, in tokenize_and_chunkify contexts_dataset.map(function=None, cache_file_name=str(output_dir_path / "tmp.arrow"), writer_batch_size=50000, num_proc=config.threads) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in map transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in <listcomp> transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 657, in get raise self._value File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 431, in _handle_tasks put(task) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/connection.py", line 209, in send self._send_bytes(_ForkingPickler.dumps(obj)) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/reduction.py", line 54, in dumps cls(buf, protocol, *args, **kwds).dump(obj) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 454, in dump StockPickler.dump(self, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 437, in dump self.save(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 662, in save_reduce save(state) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 732, in save_bytes self._write_large_bytes(BINBYTES + pack("<I", n), obj) struct.error: 'I' format requires 0 <= number <= 4294967295 ```
84
Saving large in-memory datasets with save_to_disk crashes because of pickling
[ -0.47028133273124695, 0.04299506917595863, -0.02533515729010105, 0.38846656680107117, 0.28594857454299927, 0.15465252101421356, -0.3634234368801117, 0.42886465787887573, 0.22270482778549194, 0.4055977761745453, -0.10037802904844284, 0.3144632577896118, -0.31835922598838806, 0.25428342819213867, -0.18184591829776764, 0.0832781121134758, 0.21366433799266815, -0.006549126468598843, -0.1463450938463211, -0.03790971636772156, -0.12316311150789261, 0.15749742090702057, 0.12700003385543823, -0.3050132691860199, -0.16774943470954895, -0.2677780091762543, 0.04462641105055809, 0.4591274857521057, -0.16462329030036926, -0.024509115144610405, -0.13377279043197632, -0.23787921667099, 0.05111059918999672, 0.30133751034736633, -0.00010682541324058548, 0.03767404332756996, -0.0242097619920969, -0.18568433821201324, -0.41383251547813416, 0.2777244448661804, 0.10179001837968826, -0.364240825176239, -0.2645151913166046, -0.06213723123073578, 0.2846622169017792, 0.14715833961963654, 0.13976211845874786, -0.3668946623802185, 0.20887865126132965, -0.1275068074464798, 0.2956237196922302, 0.28532540798187256, 0.010336240753531456, -0.1603265106678009, -0.0495566800236702, 0.12637226283550262, -0.22360222041606903, 0.15430848300457, 0.2214699685573578, 0.05420653149485588, -0.21918721497058868, 0.14535146951675415, -0.08238493651151657, -0.24456006288528442, -0.1824854016304016, -0.0471792034804821, -0.46218037605285645, -0.05669378861784935, 0.19785134494304657, -0.09098939597606659, -0.10050411522388458, -0.35620978474617004, -0.23944558203220367, -0.3149605095386505, -0.3174799382686615, -0.32396817207336426, 0.04157501459121704, 0.17845629155635834, -0.20088423788547516, 0.025644127279520035, 0.11221228539943695, -0.3175181448459625, -0.0694158598780632, -0.12482631206512451, 0.3774929344654083, -0.2858908772468567, -0.09482430666685104, 0.1175924614071846, 0.5754807591438293, -0.11380285769701004, -0.2575092017650604, 0.030694423243403435, -0.10412683337926865, -0.2402367740869522, -0.046954356133937836, -0.26674792170524597, 0.11143054813146591, -0.13019053637981415, 0.3500913083553314, 0.0460597462952137, 0.154497891664505, 0.366193562746048, 0.052853651344776154, 0.026369448751211166, 0.4193706512451172, -0.1801287680864334, -0.1618775576353073, 0.1188976988196373, 0.4265749454498291, -0.05674171447753906, 0.020696159452199936, 0.10168080031871796, 0.2328408807516098, 0.004917707294225693, 0.2646903395652771, -0.3588631749153137, -0.0984255000948906, -0.21977439522743225, -0.1678362935781479, 0.3340180814266205, -0.008023868314921856, 0.32159388065338135, -0.13916495442390442, 0.3742304742336273, -0.027369169518351555, -0.08853073418140411, -0.12917709350585938, 0.018880711868405342, -0.22394756972789764, 0.15208882093429565, -0.26292935013771057, 0.11687399446964264, 0.059603605419397354, 0.2430838644504547, 0.31216689944267273, 0.08026772737503052, 0.06798525154590607, -0.1639220416545868, -0.11329060792922974, -0.07207097858190536, 0.038744546473026276, -0.2852689325809479, 0.04176060110330582, 0.27347445487976074, 0.10523416101932526, 0.12883587181568146, 0.038579657673835754, -0.21967871487140656, -0.16842201352119446, 0.13716988265514374, 0.13728663325309753, -0.13155706226825714, -0.05045785382390022, 0.2569875419139862, 0.019997544586658478, 0.042486533522605896, -0.24045442044734955, 0.04285687208175659, 0.170869380235672, -0.06536204367876053, -0.20520086586475372, -0.012593120336532593, 0.02040080912411213, -0.2696208357810974, -0.17452873289585114, 0.4484320282936096, -0.24971771240234375, 0.23598253726959229, 0.10640318691730499, -0.13556170463562012, 0.401940256357193, 0.5355959534645081, 0.13916902244091034, -0.36409568786621094, -0.14621704816818237, 0.4867933690547943, 0.12372062355279922, 0.09781406074762344, -0.4758894443511963, 0.31348663568496704, -0.06367924064397812, -0.1490389108657837, -0.03910445049405098, 0.3549339473247528, -0.03645345941185951, -0.0771673321723938, 0.14846278727054596, 0.15799377858638763, -0.08419980853796005, 0.20597858726978302, -0.424715518951416, -0.08582491427659988, -0.36254775524139404, 0.1967063546180725, -0.08389997482299805, -0.03987845778465271, 0.10181444138288498, -0.19698402285575867, 0.24315616488456726, -0.19787967205047607, 0.10243387520313263, 0.33148542046546936, 0.3022734820842743, -0.07210296392440796, -0.32908788323402405, -0.03171911835670471, -0.5210965275764465, 0.1492803394794464, 0.08931167423725128, -0.07847151160240173, -0.1832261085510254, -0.10240283608436584, 0.033694565296173096, 0.20231594145298004, -0.029825635254383087, 0.21365542709827423, 0.15510760247707367, -0.005228763911873102, 0.013447839766740799, 0.23984108865261078, -0.003297260031104088, -0.023306483402848244, -0.32731056213378906, 0.03425758332014084, -0.19941891729831696, 0.03615984693169594, -0.11640048772096634, -0.5677859783172607, 0.05529564991593361, -0.08530644327402115, 0.025111103430390358, -0.11948399245738983, 0.07478046417236328, 0.11081242561340332, 0.11293027549982071, 0.01158115640282631, 0.07104362547397614, 0.05511076748371124, 0.013037540018558502, 0.0014543437864631414, 0.04681573435664177, 0.06480943411588669, 0.1993546336889267, -0.14612799882888794, -0.2570841610431671, 0.1508571356534958, -0.02901826985180378, -0.09752873331308365, 0.28809618949890137, -0.09489946067333221, 0.15416885912418365, -0.016641011461615562, 0.29132115840911865, -0.2767162024974823, 0.008380821906030178, 0.11200913041830063, 0.18324828147888184, -0.09511245787143707, -0.6047795414924622, 0.063255675137043, 0.2721153497695923, 0.005244576837867498, 0.41409045457839966, 0.10549943149089813, 0.1829594075679779, -0.04267604649066925, 0.07878968864679337, 0.24981796741485596, 0.4032474160194397, 0.1690097600221634, 0.30356836318969727, -0.086231529712677, -0.08055334538221359, -0.18200190365314484, 0.007348911836743355, -0.023610975593328476, -0.018150338903069496, 0.3251948654651642, 0.1444644182920456, -0.10279927402734756, -0.6042327880859375, -0.00896755512803793, -0.15283823013305664, 0.14254926145076752, 0.08194480836391449, 0.05433424562215805, -0.17173992097377777, -0.07518991827964783, -0.07453761249780655, 0.13249251246452332, 0.06755757331848145, -0.3846830427646637, 0.012338507920503616, 0.6221529841423035, -0.4987172484397888, 0.0038806768134236336, -0.004973223432898521, 0.32824644446372986, 0.1978091299533844, 0.08048871904611588, 0.13482405245304108, 0.10946216434240341, -0.13228458166122437, 0.08459293842315674, 0.35166165232658386, -0.1311081498861313, 0.5121675729751587, 0.3124130964279175, -0.09705375880002975, -0.41502663493156433, -0.002303984947502613, 0.08143122494220734, -0.03788621723651886, 0.28056830167770386, 0.033923227339982986, 0.33244645595550537, -0.03868458420038223, -0.15723058581352234, -0.004996500909328461, 0.09113386273384094, -0.12125842273235321, 0.017779111862182617, 0.17730778455734253, 0.01214697677642107, -0.2721993327140808, -0.11818811297416687, -0.24025972187519073, -0.4257951080799103, 0.26390278339385986, -0.04645685479044914, 0.08752796053886414, 0.22622206807136536, 0.3794938325881958, -0.09512919932603836, 0.2356138825416565, -0.1833656281232834, -0.18991312384605408, -0.004948489833623171, 0.23856747150421143, -0.1470043808221817, -0.392633855342865, -0.13699911534786224, 0.1549653857946396, -0.19955405592918396, 0.1390685886144638, -0.46695059537887573, 0.19302980601787567, -0.34437060356140137, 0.15339310467243195, -0.14700692892074585, 0.005125715862959623, 0.25390753149986267, 0.06831279397010803, -0.21483473479747772, 0.08057442307472229, -0.15929067134857178, 0.16464640200138092, 0.035728659480810165, 0.12027279287576675, -0.36226126551628113, 0.1590442955493927, 0.2317248433828354, 0.3770785629749298, 0.05713489651679993, -0.014806952327489853, 0.48315247893333435, 0.24938459694385529, 0.48254916071891785, -0.20548121631145477, -0.02561887912452221, -0.05370580404996872, -0.15582327544689178, -0.3212580978870392, -0.1259728968143463, -0.06248185783624649, -0.3207181692123413, 0.133065328001976, 0.17652232944965363, 0.32277345657348633, -0.22187568247318268, 0.3981386125087738, 0.23954784870147705, -0.0657903328537941, -0.0680014118552208, 0.1259259432554245, 0.13324058055877686, 0.14503800868988037, 0.0972563698887825, -0.1343761682510376, 0.2643468379974365, -0.10629071295261383, -0.08276698738336563, 0.030212165787816048, -0.4822233319282532, -0.01810162141919136, -0.014168333262205124, 0.2574150264263153, -0.163547083735466, -0.4806899130344391, -0.02588042803108692, -0.057894036173820496, 0.4494566321372986, 0.028743082657456398, 0.10425588488578796, 0.10763829946517944, -0.10423608869314194, -0.1321561336517334, 0.2026505321264267, -0.030740225687623024, 0.2220459133386612, 0.06136708706617355, 0.4541999399662018, -0.22748638689517975, 0.035219013690948486, -0.011770559474825859, 0.27105724811553955, -0.13513682782649994, 0.011981640011072159, -0.025783583521842957, -0.31127095222473145, -0.15511730313301086, 0.10362394899129868, 0.02875433675944805, -0.08112151175737381, -0.012193884700536728, -0.06067662313580513, -0.16656973958015442, -0.13620677590370178, 0.04993627592921257, -0.03427383676171303, 0.17673343420028687, -0.3024294078350067, 0.26809895038604736, -0.28269946575164795, 0.1529659479856491, 0.3016491234302521, 0.3831442594528198, -0.09847715497016907, 0.15434619784355164, 0.15801110863685608, 0.13623973727226257, 0.09777071326971054, 0.300137996673584, 0.05751403421163559, 0.011159790679812431, -0.10872743278741837, 0.13705646991729736, -0.3869149386882782, 0.17454886436462402, -0.07881855219602585, -0.06681676208972931, -0.2016698569059372, 0.20793522894382477, 0.5048606395721436, 0.023843705654144287, 0.13900496065616608, 0.08659869432449341, -0.1100015640258789, -0.042984798550605774, 0.3134933114051819, 0.16590616106987, 0.6817291378974915, -0.01108731608837843, 0.43173062801361084, 0.18168649077415466, -0.17756451666355133, 0.018806684762239456, 0.09152057021856308, 0.09074163436889648, -0.37283098697662354, -0.11381305754184723, 0.18381871283054352, -0.003799652447924018, 0.01723816804587841, -0.16453438997268677, -0.15660636126995087, 0.011430814862251282, -0.15728311240673065, -0.35499101877212524, -0.22856007516384125, 0.06966130435466766, -0.47336652874946594, -0.363626092672348, -0.06470979750156403, 0.2597445845603943, 0.12964032590389252, -0.0238996222615242, -0.058520808815956116, -0.11751412600278854, -0.08119978755712509, 0.1009552925825119, -0.1896129548549652, -0.05210596323013306, -0.02128412202000618, 0.4697228670120239, -0.16935324668884277, -0.22469951212406158, -0.2143663614988327, -0.04066743329167366, -0.07995235174894333, 0.27201753854751587, -0.035961978137493134, -0.10037633776664734, -0.010649872943758965, -0.06665042042732239, -0.047465741634368896, -0.06075482442975044, 0.29878464341163635, 0.04016602784395218, 0.18651777505874634, -0.01660880073904991, -0.0657247006893158, -0.2371736615896225, -0.29056045413017273, 0.04262235760688782, -0.3063066601753235, -0.19866536557674408, -0.4877398908138275, -0.07470794022083282, -0.28062769770622253, -0.20163007080554962, 0.18774963915348053, 0.20599572360515594, 0.1752019077539444, 0.36436986923217773, -0.038123078644275665, -0.044058408588171005, -0.25966280698776245, 0.48310360312461853, -0.05769149586558342, 0.14932546019554138, 0.2029242068529129, 0.12670093774795532, -0.21091178059577942, -0.3302527666091919, 0.09772796183824539, -0.059515513479709625, 0.22750943899154663, 0.5049907565116882, -0.26696115732192993, -0.2150220274925232, -0.0878140777349472, 0.23200830817222595, 0.2221977412700653, -0.06434476375579834, -0.17603182792663574, -0.08675293624401093, -0.5476608276367188, 0.024559617042541504, 0.2650947570800781, 0.3843470513820648, -0.21661196649074554, -0.02181962877511978, -0.29047027230262756, 0.125147745013237, -0.36115172505378723, 0.07738053053617477, -0.40139496326446533, -0.0394163616001606, 0.24646693468093872, 0.03511810675263405, 0.07773240655660629, 0.000859416148159653, 0.1415737420320511, 0.27316969633102417, -0.1481144279241562, -0.25899434089660645, 0.040156442672014236, 0.0184757299721241, 0.034437328577041626, 0.1693781018257141, -0.1266651600599289, -0.1417386382818222, 0.11131724715232849, -0.09231959283351898, 0.20730501413345337, 0.1606341153383255, -0.17903101444244385, -0.1418299823999405, 0.07386806607246399, 0.24284633994102478, 0.31327545642852783, 0.14033888280391693, 0.11317994445562363, 0.19686073064804077, 0.05715659633278847, -0.07280237227678299, -0.04448236897587776, -0.28608182072639465, 0.011837093159556389, 0.05969903990626335, 0.1801319122314453, -0.022929910570383072, 0.23410746455192566, -0.24157853424549103, -0.3699062168598175, 0.36762019991874695, 0.1556585133075714, 0.427592933177948, -0.02217351645231247, -0.30553093552589417, 0.05474384129047394, 0.3033558428287506, 0.14632569253444672, -0.38230133056640625, -0.10114645957946777, -0.22656066715717316, 0.029561085626482964, 0.20417042076587677, -0.16048157215118408, -0.09866729378700256, -0.42786842584609985, 0.2211087942123413, 0.3227584660053253, -0.061454806476831436, -0.36698415875434875, -0.011424867436289787, -0.1109970435500145, -0.009933196939527988, 0.12974412739276886, 0.0007746271439827979, 0.5224003791809082, 0.46981218457221985, 0.014151017181575298, 0.5580054521560669, -0.1279800683259964, 0.034329917281866074, -0.28880617022514343, -0.6196351647377014, 0.06578066945075989, 0.5004177093505859, 0.05486970394849777, 0.3941044211387634, 0.0009400824783369899, 0.2215672731399536, -0.42979666590690613, -0.25925442576408386, -0.041419390588998795, 0.20170347392559052, -0.49339842796325684, -0.08970905840396881, 0.14330817759037018, -0.18345710635185242, 0.08189451694488525, 0.35376209020614624, -0.09753254055976868, -0.033145781606435776, 0.3071286082267761, -0.14288906753063202, -0.10083083063364029, 0.16219040751457214, -0.18164382874965668, -0.021535594016313553, 0.06113959476351738, -0.2311914712190628, 0.05594512075185776, 0.10370451956987381, -0.15233415365219116, -0.5632181167602539, 0.029593519866466522, 0.3485351800918579, 0.2069922387599945, 0.03643975779414177, -0.008021775633096695, 0.021706489846110344, 0.02680719643831253, -0.20770318806171417, 0.21015945076942444, -0.03486064448952675, 0.1919204741716385, 0.42939433455467224, 0.0899549201130867, -0.19623130559921265, 0.06922215968370438, 0.2098846584558487, 0.31047138571739197, 0.07035662978887558, -0.4160914421081543, 0.008105679415166378, -0.34515875577926636, -0.018867844715714455, -0.17393630743026733, -0.1735474318265915, -0.0452510342001915, 0.22317135334014893, -0.39880409836769104, 0.24102747440338135, 0.04193978011608124, 0.13699670135974884, 0.08296100795269012, 0.7709323763847351, 0.16022366285324097, -0.3163262605667114, -0.32958757877349854, -0.14913110435009003, -0.10581684112548828, 0.1902880221605301, -0.11931046843528748, 0.22447612881660461, -0.3472136855125427, 0.3281104564666748, 0.25035804510116577, 0.05363129451870918, -0.3267365097999573, 0.28305599093437195, -0.18548113107681274, 0.19534848630428314, -0.18173842132091522, -0.10599957406520844, 0.03640226647257805, -0.3075156509876251, 0.12988145649433136, -0.46204978227615356, 0.3038843274116516, 0.08076360821723938, 0.244680717587471, 0.004097653552889824, -0.009893396869301796, -0.3859691619873047, 0.14894045889377594, 0.47598734498023987, 0.12230046838521957, 0.04405701160430908, -0.29604002833366394, -0.4764913022518158, 0.09517817199230194, -0.12255526334047318, 0.1056140661239624, -0.195738285779953, 0.20382390916347504, 0.5223815441131592, -0.12498091161251068, 0.5741856098175049, -0.05522164702415466, 0.2743575870990753, 0.14152464270591736, 0.1245836615562439, 0.23993229866027832, 0.055447597056627274, 0.0807759240269661, -0.07351607829332352, 0.25785669684410095, 0.36383217573165894, 0.044363535940647125, 0.23782111704349518, -0.25439244508743286, -0.24489600956439972, 0.28028810024261475, 0.27158045768737793, -0.20755594968795776, -0.011092852801084518, 0.027292722836136818, 0.14574235677719116, -0.04174065589904785, -0.38219067454338074, -0.02042020671069622, -0.06731784343719482, -0.13614240288734436, -0.381157785654068, 0.23961466550827026, -0.12012746185064316, -0.3808934986591339, 0.07137066125869751, 1.0446687936782837, 0.03754454851150513, -0.28564438223838806, 0.2899385988712311, -0.16368071734905243 ]
https://github.com/huggingface/datasets/issues/2134
Saving large in-memory datasets with save_to_disk crashes because of pickling
Closing since the original issue was fixed in #2150 Feel free to reopen if you are still experiencing it. For the other problems, please open separate issues
Using Datasets 1.5.0 on Python 3.7. Recently I've been working on medium to large size datasets (pretokenized raw text sizes from few gigabytes to low tens of gigabytes), and have found out that several preprocessing steps are massively faster when done in memory, and I have the ability to requisition a lot of RAM, so I decided to do these steps completely out of the datasets library. So my workflow is to do several .map() on datasets object, then for the operation which is faster in memory to extract the necessary columns from the dataset and then drop it whole, do the transformation in memory, and then create a fresh Dataset object using .from_dict() or other method. When I then try to call save_to_disk(path) on the dataset, it crashes because of pickling, which appears to be because of using old pickle protocol which doesn't support large files (over 4 GiB). ``` Traceback (most recent call last): File "./tokenize_and_chunkify_in_memory.py", line 80, in <module> main() File "./tokenize_and_chunkify_in_memory.py", line 75, in main tokenize_and_chunkify(config) File "./tokenize_and_chunkify_in_memory.py", line 60, in tokenize_and_chunkify contexts_dataset.save_to_disk(chunked_path) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 457, in save_to_disk self = pickle.loads(pickle.dumps(self)) OverflowError: cannot serialize a bytes object larger than 4 GiB ``` From what I've seen this issue may be possibly fixed, as the line `self = pickle.loads(pickle.dumps(self))` does not appear to be present in the current state of the repository. To save these datasets to disk, I've resorted to calling .map() over them with `function=None` and specifying the .arrow cache file, and then creating a new dataset using the .from_file() method, which I can then safely save to disk. Additional issue when working with these large in-memory datasets is when using multiprocessing, is again to do with pickling. I've tried to speed up the mapping with function=None by specifying num_proc to the available cpu count, and I again get issues with transferring the dataset, with the following traceback. I am not sure if I should open a separate issue for that. ``` Traceback (most recent call last): File "./tokenize_and_chunkify_in_memory.py", line 94, in <module> main() File "./tokenize_and_chunkify_in_memory.py", line 89, in main tokenize_and_chunkify(config) File "./tokenize_and_chunkify_in_memory.py", line 67, in tokenize_and_chunkify contexts_dataset.map(function=None, cache_file_name=str(output_dir_path / "tmp.arrow"), writer_batch_size=50000, num_proc=config.threads) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in map transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in <listcomp> transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 657, in get raise self._value File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 431, in _handle_tasks put(task) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/connection.py", line 209, in send self._send_bytes(_ForkingPickler.dumps(obj)) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/reduction.py", line 54, in dumps cls(buf, protocol, *args, **kwds).dump(obj) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 454, in dump StockPickler.dump(self, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 437, in dump self.save(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 662, in save_reduce save(state) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 732, in save_bytes self._write_large_bytes(BINBYTES + pack("<I", n), obj) struct.error: 'I' format requires 0 <= number <= 4294967295Traceback (most recent call last): File "./tokenize_and_chunkify_in_memory.py", line 94, in <module> main() File "./tokenize_and_chunkify_in_memory.py", line 89, in main tokenize_and_chunkify(config) File "./tokenize_and_chunkify_in_memory.py", line 67, in tokenize_and_chunkify contexts_dataset.map(function=None, cache_file_name=str(output_dir_path / "tmp.arrow"), writer_batch_size=50000, num_proc=config.threads) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in map transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1485, in <listcomp> transformed_shards = [r.get() for r in results] File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 657, in get raise self._value File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/pool.py", line 431, in _handle_tasks put(task) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/connection.py", line 209, in send self._send_bytes(_ForkingPickler.dumps(obj)) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/multiprocess/reduction.py", line 54, in dumps cls(buf, protocol, *args, **kwds).dump(obj) File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 454, in dump StockPickler.dump(self, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 437, in dump self.save(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 662, in save_reduce save(state) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/home/cernypro/dev/envs/huggingface_gpu/lib/python3.7/site-packages/dill/_dill.py", line 941, in save_module_dict StockPickler.save_dict(pickler, obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 859, in save_dict self._batch_setitems(obj.items()) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 885, in _batch_setitems save(v) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 846, in _batch_appends save(tmp[0]) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 789, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 819, in save_list self._batch_appends(obj) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 843, in _batch_appends save(x) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 549, in save self.save_reduce(obj=obj, *rv) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 638, in save_reduce save(args) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 774, in save_tuple save(element) File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 504, in save f(self, obj) # Call unbound method with explicit self File "/mnt/appl/software/Python/3.7.4-GCCcore-8.3.0/lib/python3.7/pickle.py", line 732, in save_bytes self._write_large_bytes(BINBYTES + pack("<I", n), obj) struct.error: 'I' format requires 0 <= number <= 4294967295 ```
27
Saving large in-memory datasets with save_to_disk crashes because of pickling
[ -0.47028133273124695, 0.04299506917595863, -0.02533515729010105, 0.38846656680107117, 0.28594857454299927, 0.15465252101421356, -0.3634234368801117, 0.42886465787887573, 0.22270482778549194, 0.4055977761745453, -0.10037802904844284, 0.3144632577896118, -0.31835922598838806, 0.25428342819213867, -0.18184591829776764, 0.0832781121134758, 0.21366433799266815, -0.006549126468598843, -0.1463450938463211, -0.03790971636772156, -0.12316311150789261, 0.15749742090702057, 0.12700003385543823, -0.3050132691860199, -0.16774943470954895, -0.2677780091762543, 0.04462641105055809, 0.4591274857521057, -0.16462329030036926, -0.024509115144610405, -0.13377279043197632, -0.23787921667099, 0.05111059918999672, 0.30133751034736633, -0.00010682541324058548, 0.03767404332756996, -0.0242097619920969, -0.18568433821201324, -0.41383251547813416, 0.2777244448661804, 0.10179001837968826, -0.364240825176239, -0.2645151913166046, -0.06213723123073578, 0.2846622169017792, 0.14715833961963654, 0.13976211845874786, -0.3668946623802185, 0.20887865126132965, -0.1275068074464798, 0.2956237196922302, 0.28532540798187256, 0.010336240753531456, -0.1603265106678009, -0.0495566800236702, 0.12637226283550262, -0.22360222041606903, 0.15430848300457, 0.2214699685573578, 0.05420653149485588, -0.21918721497058868, 0.14535146951675415, -0.08238493651151657, -0.24456006288528442, -0.1824854016304016, -0.0471792034804821, -0.46218037605285645, -0.05669378861784935, 0.19785134494304657, -0.09098939597606659, -0.10050411522388458, -0.35620978474617004, -0.23944558203220367, -0.3149605095386505, -0.3174799382686615, -0.32396817207336426, 0.04157501459121704, 0.17845629155635834, -0.20088423788547516, 0.025644127279520035, 0.11221228539943695, -0.3175181448459625, -0.0694158598780632, -0.12482631206512451, 0.3774929344654083, -0.2858908772468567, -0.09482430666685104, 0.1175924614071846, 0.5754807591438293, -0.11380285769701004, -0.2575092017650604, 0.030694423243403435, -0.10412683337926865, -0.2402367740869522, -0.046954356133937836, -0.26674792170524597, 0.11143054813146591, -0.13019053637981415, 0.3500913083553314, 0.0460597462952137, 0.154497891664505, 0.366193562746048, 0.052853651344776154, 0.026369448751211166, 0.4193706512451172, -0.1801287680864334, -0.1618775576353073, 0.1188976988196373, 0.4265749454498291, -0.05674171447753906, 0.020696159452199936, 0.10168080031871796, 0.2328408807516098, 0.004917707294225693, 0.2646903395652771, -0.3588631749153137, -0.0984255000948906, -0.21977439522743225, -0.1678362935781479, 0.3340180814266205, -0.008023868314921856, 0.32159388065338135, -0.13916495442390442, 0.3742304742336273, -0.027369169518351555, -0.08853073418140411, -0.12917709350585938, 0.018880711868405342, -0.22394756972789764, 0.15208882093429565, -0.26292935013771057, 0.11687399446964264, 0.059603605419397354, 0.2430838644504547, 0.31216689944267273, 0.08026772737503052, 0.06798525154590607, -0.1639220416545868, -0.11329060792922974, -0.07207097858190536, 0.038744546473026276, -0.2852689325809479, 0.04176060110330582, 0.27347445487976074, 0.10523416101932526, 0.12883587181568146, 0.038579657673835754, -0.21967871487140656, -0.16842201352119446, 0.13716988265514374, 0.13728663325309753, -0.13155706226825714, -0.05045785382390022, 0.2569875419139862, 0.019997544586658478, 0.042486533522605896, -0.24045442044734955, 0.04285687208175659, 0.170869380235672, -0.06536204367876053, -0.20520086586475372, -0.012593120336532593, 0.02040080912411213, -0.2696208357810974, -0.17452873289585114, 0.4484320282936096, -0.24971771240234375, 0.23598253726959229, 0.10640318691730499, -0.13556170463562012, 0.401940256357193, 0.5355959534645081, 0.13916902244091034, -0.36409568786621094, -0.14621704816818237, 0.4867933690547943, 0.12372062355279922, 0.09781406074762344, -0.4758894443511963, 0.31348663568496704, -0.06367924064397812, -0.1490389108657837, -0.03910445049405098, 0.3549339473247528, -0.03645345941185951, -0.0771673321723938, 0.14846278727054596, 0.15799377858638763, -0.08419980853796005, 0.20597858726978302, -0.424715518951416, -0.08582491427659988, -0.36254775524139404, 0.1967063546180725, -0.08389997482299805, -0.03987845778465271, 0.10181444138288498, -0.19698402285575867, 0.24315616488456726, -0.19787967205047607, 0.10243387520313263, 0.33148542046546936, 0.3022734820842743, -0.07210296392440796, -0.32908788323402405, -0.03171911835670471, -0.5210965275764465, 0.1492803394794464, 0.08931167423725128, -0.07847151160240173, -0.1832261085510254, -0.10240283608436584, 0.033694565296173096, 0.20231594145298004, -0.029825635254383087, 0.21365542709827423, 0.15510760247707367, -0.005228763911873102, 0.013447839766740799, 0.23984108865261078, -0.003297260031104088, -0.023306483402848244, -0.32731056213378906, 0.03425758332014084, -0.19941891729831696, 0.03615984693169594, -0.11640048772096634, -0.5677859783172607, 0.05529564991593361, -0.08530644327402115, 0.025111103430390358, -0.11948399245738983, 0.07478046417236328, 0.11081242561340332, 0.11293027549982071, 0.01158115640282631, 0.07104362547397614, 0.05511076748371124, 0.013037540018558502, 0.0014543437864631414, 0.04681573435664177, 0.06480943411588669, 0.1993546336889267, -0.14612799882888794, -0.2570841610431671, 0.1508571356534958, -0.02901826985180378, -0.09752873331308365, 0.28809618949890137, -0.09489946067333221, 0.15416885912418365, -0.016641011461615562, 0.29132115840911865, -0.2767162024974823, 0.008380821906030178, 0.11200913041830063, 0.18324828147888184, -0.09511245787143707, -0.6047795414924622, 0.063255675137043, 0.2721153497695923, 0.005244576837867498, 0.41409045457839966, 0.10549943149089813, 0.1829594075679779, -0.04267604649066925, 0.07878968864679337, 0.24981796741485596, 0.4032474160194397, 0.1690097600221634, 0.30356836318969727, -0.086231529712677, -0.08055334538221359, -0.18200190365314484, 0.007348911836743355, -0.023610975593328476, -0.018150338903069496, 0.3251948654651642, 0.1444644182920456, -0.10279927402734756, -0.6042327880859375, -0.00896755512803793, -0.15283823013305664, 0.14254926145076752, 0.08194480836391449, 0.05433424562215805, -0.17173992097377777, -0.07518991827964783, -0.07453761249780655, 0.13249251246452332, 0.06755757331848145, -0.3846830427646637, 0.012338507920503616, 0.6221529841423035, -0.4987172484397888, 0.0038806768134236336, -0.004973223432898521, 0.32824644446372986, 0.1978091299533844, 0.08048871904611588, 0.13482405245304108, 0.10946216434240341, -0.13228458166122437, 0.08459293842315674, 0.35166165232658386, -0.1311081498861313, 0.5121675729751587, 0.3124130964279175, -0.09705375880002975, -0.41502663493156433, -0.002303984947502613, 0.08143122494220734, -0.03788621723651886, 0.28056830167770386, 0.033923227339982986, 0.33244645595550537, -0.03868458420038223, -0.15723058581352234, -0.004996500909328461, 0.09113386273384094, -0.12125842273235321, 0.017779111862182617, 0.17730778455734253, 0.01214697677642107, -0.2721993327140808, -0.11818811297416687, -0.24025972187519073, -0.4257951080799103, 0.26390278339385986, -0.04645685479044914, 0.08752796053886414, 0.22622206807136536, 0.3794938325881958, -0.09512919932603836, 0.2356138825416565, -0.1833656281232834, -0.18991312384605408, -0.004948489833623171, 0.23856747150421143, -0.1470043808221817, -0.392633855342865, -0.13699911534786224, 0.1549653857946396, -0.19955405592918396, 0.1390685886144638, -0.46695059537887573, 0.19302980601787567, -0.34437060356140137, 0.15339310467243195, -0.14700692892074585, 0.005125715862959623, 0.25390753149986267, 0.06831279397010803, -0.21483473479747772, 0.08057442307472229, -0.15929067134857178, 0.16464640200138092, 0.035728659480810165, 0.12027279287576675, -0.36226126551628113, 0.1590442955493927, 0.2317248433828354, 0.3770785629749298, 0.05713489651679993, -0.014806952327489853, 0.48315247893333435, 0.24938459694385529, 0.48254916071891785, -0.20548121631145477, -0.02561887912452221, -0.05370580404996872, -0.15582327544689178, -0.3212580978870392, -0.1259728968143463, -0.06248185783624649, -0.3207181692123413, 0.133065328001976, 0.17652232944965363, 0.32277345657348633, -0.22187568247318268, 0.3981386125087738, 0.23954784870147705, -0.0657903328537941, -0.0680014118552208, 0.1259259432554245, 0.13324058055877686, 0.14503800868988037, 0.0972563698887825, -0.1343761682510376, 0.2643468379974365, -0.10629071295261383, -0.08276698738336563, 0.030212165787816048, -0.4822233319282532, -0.01810162141919136, -0.014168333262205124, 0.2574150264263153, -0.163547083735466, -0.4806899130344391, -0.02588042803108692, -0.057894036173820496, 0.4494566321372986, 0.028743082657456398, 0.10425588488578796, 0.10763829946517944, -0.10423608869314194, -0.1321561336517334, 0.2026505321264267, -0.030740225687623024, 0.2220459133386612, 0.06136708706617355, 0.4541999399662018, -0.22748638689517975, 0.035219013690948486, -0.011770559474825859, 0.27105724811553955, -0.13513682782649994, 0.011981640011072159, -0.025783583521842957, -0.31127095222473145, -0.15511730313301086, 0.10362394899129868, 0.02875433675944805, -0.08112151175737381, -0.012193884700536728, -0.06067662313580513, -0.16656973958015442, -0.13620677590370178, 0.04993627592921257, -0.03427383676171303, 0.17673343420028687, -0.3024294078350067, 0.26809895038604736, -0.28269946575164795, 0.1529659479856491, 0.3016491234302521, 0.3831442594528198, -0.09847715497016907, 0.15434619784355164, 0.15801110863685608, 0.13623973727226257, 0.09777071326971054, 0.300137996673584, 0.05751403421163559, 0.011159790679812431, -0.10872743278741837, 0.13705646991729736, -0.3869149386882782, 0.17454886436462402, -0.07881855219602585, -0.06681676208972931, -0.2016698569059372, 0.20793522894382477, 0.5048606395721436, 0.023843705654144287, 0.13900496065616608, 0.08659869432449341, -0.1100015640258789, -0.042984798550605774, 0.3134933114051819, 0.16590616106987, 0.6817291378974915, -0.01108731608837843, 0.43173062801361084, 0.18168649077415466, -0.17756451666355133, 0.018806684762239456, 0.09152057021856308, 0.09074163436889648, -0.37283098697662354, -0.11381305754184723, 0.18381871283054352, -0.003799652447924018, 0.01723816804587841, -0.16453438997268677, -0.15660636126995087, 0.011430814862251282, -0.15728311240673065, -0.35499101877212524, -0.22856007516384125, 0.06966130435466766, -0.47336652874946594, -0.363626092672348, -0.06470979750156403, 0.2597445845603943, 0.12964032590389252, -0.0238996222615242, -0.058520808815956116, -0.11751412600278854, -0.08119978755712509, 0.1009552925825119, -0.1896129548549652, -0.05210596323013306, -0.02128412202000618, 0.4697228670120239, -0.16935324668884277, -0.22469951212406158, -0.2143663614988327, -0.04066743329167366, -0.07995235174894333, 0.27201753854751587, -0.035961978137493134, -0.10037633776664734, -0.010649872943758965, -0.06665042042732239, -0.047465741634368896, -0.06075482442975044, 0.29878464341163635, 0.04016602784395218, 0.18651777505874634, -0.01660880073904991, -0.0657247006893158, -0.2371736615896225, -0.29056045413017273, 0.04262235760688782, -0.3063066601753235, -0.19866536557674408, -0.4877398908138275, -0.07470794022083282, -0.28062769770622253, -0.20163007080554962, 0.18774963915348053, 0.20599572360515594, 0.1752019077539444, 0.36436986923217773, -0.038123078644275665, -0.044058408588171005, -0.25966280698776245, 0.48310360312461853, -0.05769149586558342, 0.14932546019554138, 0.2029242068529129, 0.12670093774795532, -0.21091178059577942, -0.3302527666091919, 0.09772796183824539, -0.059515513479709625, 0.22750943899154663, 0.5049907565116882, -0.26696115732192993, -0.2150220274925232, -0.0878140777349472, 0.23200830817222595, 0.2221977412700653, -0.06434476375579834, -0.17603182792663574, -0.08675293624401093, -0.5476608276367188, 0.024559617042541504, 0.2650947570800781, 0.3843470513820648, -0.21661196649074554, -0.02181962877511978, -0.29047027230262756, 0.125147745013237, -0.36115172505378723, 0.07738053053617477, -0.40139496326446533, -0.0394163616001606, 0.24646693468093872, 0.03511810675263405, 0.07773240655660629, 0.000859416148159653, 0.1415737420320511, 0.27316969633102417, -0.1481144279241562, -0.25899434089660645, 0.040156442672014236, 0.0184757299721241, 0.034437328577041626, 0.1693781018257141, -0.1266651600599289, -0.1417386382818222, 0.11131724715232849, -0.09231959283351898, 0.20730501413345337, 0.1606341153383255, -0.17903101444244385, -0.1418299823999405, 0.07386806607246399, 0.24284633994102478, 0.31327545642852783, 0.14033888280391693, 0.11317994445562363, 0.19686073064804077, 0.05715659633278847, -0.07280237227678299, -0.04448236897587776, -0.28608182072639465, 0.011837093159556389, 0.05969903990626335, 0.1801319122314453, -0.022929910570383072, 0.23410746455192566, -0.24157853424549103, -0.3699062168598175, 0.36762019991874695, 0.1556585133075714, 0.427592933177948, -0.02217351645231247, -0.30553093552589417, 0.05474384129047394, 0.3033558428287506, 0.14632569253444672, -0.38230133056640625, -0.10114645957946777, -0.22656066715717316, 0.029561085626482964, 0.20417042076587677, -0.16048157215118408, -0.09866729378700256, -0.42786842584609985, 0.2211087942123413, 0.3227584660053253, -0.061454806476831436, -0.36698415875434875, -0.011424867436289787, -0.1109970435500145, -0.009933196939527988, 0.12974412739276886, 0.0007746271439827979, 0.5224003791809082, 0.46981218457221985, 0.014151017181575298, 0.5580054521560669, -0.1279800683259964, 0.034329917281866074, -0.28880617022514343, -0.6196351647377014, 0.06578066945075989, 0.5004177093505859, 0.05486970394849777, 0.3941044211387634, 0.0009400824783369899, 0.2215672731399536, -0.42979666590690613, -0.25925442576408386, -0.041419390588998795, 0.20170347392559052, -0.49339842796325684, -0.08970905840396881, 0.14330817759037018, -0.18345710635185242, 0.08189451694488525, 0.35376209020614624, -0.09753254055976868, -0.033145781606435776, 0.3071286082267761, -0.14288906753063202, -0.10083083063364029, 0.16219040751457214, -0.18164382874965668, -0.021535594016313553, 0.06113959476351738, -0.2311914712190628, 0.05594512075185776, 0.10370451956987381, -0.15233415365219116, -0.5632181167602539, 0.029593519866466522, 0.3485351800918579, 0.2069922387599945, 0.03643975779414177, -0.008021775633096695, 0.021706489846110344, 0.02680719643831253, -0.20770318806171417, 0.21015945076942444, -0.03486064448952675, 0.1919204741716385, 0.42939433455467224, 0.0899549201130867, -0.19623130559921265, 0.06922215968370438, 0.2098846584558487, 0.31047138571739197, 0.07035662978887558, -0.4160914421081543, 0.008105679415166378, -0.34515875577926636, -0.018867844715714455, -0.17393630743026733, -0.1735474318265915, -0.0452510342001915, 0.22317135334014893, -0.39880409836769104, 0.24102747440338135, 0.04193978011608124, 0.13699670135974884, 0.08296100795269012, 0.7709323763847351, 0.16022366285324097, -0.3163262605667114, -0.32958757877349854, -0.14913110435009003, -0.10581684112548828, 0.1902880221605301, -0.11931046843528748, 0.22447612881660461, -0.3472136855125427, 0.3281104564666748, 0.25035804510116577, 0.05363129451870918, -0.3267365097999573, 0.28305599093437195, -0.18548113107681274, 0.19534848630428314, -0.18173842132091522, -0.10599957406520844, 0.03640226647257805, -0.3075156509876251, 0.12988145649433136, -0.46204978227615356, 0.3038843274116516, 0.08076360821723938, 0.244680717587471, 0.004097653552889824, -0.009893396869301796, -0.3859691619873047, 0.14894045889377594, 0.47598734498023987, 0.12230046838521957, 0.04405701160430908, -0.29604002833366394, -0.4764913022518158, 0.09517817199230194, -0.12255526334047318, 0.1056140661239624, -0.195738285779953, 0.20382390916347504, 0.5223815441131592, -0.12498091161251068, 0.5741856098175049, -0.05522164702415466, 0.2743575870990753, 0.14152464270591736, 0.1245836615562439, 0.23993229866027832, 0.055447597056627274, 0.0807759240269661, -0.07351607829332352, 0.25785669684410095, 0.36383217573165894, 0.044363535940647125, 0.23782111704349518, -0.25439244508743286, -0.24489600956439972, 0.28028810024261475, 0.27158045768737793, -0.20755594968795776, -0.011092852801084518, 0.027292722836136818, 0.14574235677719116, -0.04174065589904785, -0.38219067454338074, -0.02042020671069622, -0.06731784343719482, -0.13614240288734436, -0.381157785654068, 0.23961466550827026, -0.12012746185064316, -0.3808934986591339, 0.07137066125869751, 1.0446687936782837, 0.03754454851150513, -0.28564438223838806, 0.2899385988712311, -0.16368071734905243 ]
https://github.com/huggingface/datasets/issues/2133
bug in mlqa dataset
If you print those questions, you get readable texts: ```python >>> questions = [ ... "\u0645\u062a\u0649 \u0628\u062f\u0627\u062a \u0627\u0644\u0645\u062c\u0644\u0629 \u0627\u0644\u0645\u062f\u0631\u0633\u064a\u0629 \u0641\u064a \u0646\u0648\u062a\u0631\u062f\u0627\u0645 \u0628\u0627\u0644\u0646\u0634\u0631?", ... "\u0643\u0645 \u0645\u0631\u0629 \u064a\u062a\u0645 \u0646\u0634\u0631\u0647\u0627 \u0641\u064a \u0646\u0648\u062a\u0631\u062f\u0627\u0645?", ... "\u0645\u0627 \u0647\u064a \u0627\u0644\u0648\u0631\u0642\u0629 \u0627\u0644\u064a\u0648\u0645\u064a\u0629 \u0644\u0644\u0637\u0644\u0627\u0628 \u0641\u064a \u0646\u0648\u062a\u0631\u062f\u0627\u0645?", ... "\u0643\u0645 \u0639\u062f\u062f \u0627\u0644\u0627\u0648\u0631\u0627\u0642 \u0627\u0644\u0627\u062e\u0628\u0627\u0631\u064a\u0629 \u0644\u0644\u0637\u0644\u0627\u0628 \u0627\u0644\u062a\u064a \u0648\u062c\u062f\u062a \u0641\u064a \u0646\u0648\u062a\u0631\u062f\u0627\u0645?", ... "\u0641\u064a \u0627\u064a \u0633\u0646\u0629 \u0628\u062f\u0627\u062a \u0648\u0631\u0642\u0629 \u0627\u0644\u0637\u0627\u0644\u0628 \u0627\u0644\u062d\u0633 \u0627\u0644\u0633\u0644\u064a\u0645 \u0628\u0627\u0644\u0646\u0634\u0631 \u0641\u064a \u0646\u0648\u062a\u0631\u062f\u0627\u0645?" ... ] >>> print(questions) ['متى بدات المجلة المدرسية في نوتردام بالنشر?', 'كم مرة يتم نشرها في نوتردام?', 'ما هي الورقة اليومية للطلاب في نوتردام?', 'كم عدد الاوراق الاخبارية للطلاب التي وجدت في نوتردام?', 'في اي سنة بدات ورقة الطالب الحس السليم بالنشر في نوتردام?'] ``` I don't think we can change this
Hi Looking into MLQA dataset for langauge "ar": ``` "question": [ "\u0645\u062a\u0649 \u0628\u062f\u0627\u062a \u0627\u0644\u0645\u062c\u0644\u0629 \u0627\u0644\u0645\u062f\u0631\u0633\u064a\u0629 \u0641\u064a \u0646\u0648\u062a\u0631\u062f\u0627\u0645 \u0628\u0627\u0644\u0646\u0634\u0631?", "\u0643\u0645 \u0645\u0631\u0629 \u064a\u062a\u0645 \u0646\u0634\u0631\u0647\u0627 \u0641\u064a \u0646\u0648\u062a\u0631\u062f\u0627\u0645?", "\u0645\u0627 \u0647\u064a \u0627\u0644\u0648\u0631\u0642\u0629 \u0627\u0644\u064a\u0648\u0645\u064a\u0629 \u0644\u0644\u0637\u0644\u0627\u0628 \u0641\u064a \u0646\u0648\u062a\u0631\u062f\u0627\u0645?", "\u0643\u0645 \u0639\u062f\u062f \u0627\u0644\u0627\u0648\u0631\u0627\u0642 \u0627\u0644\u0627\u062e\u0628\u0627\u0631\u064a\u0629 \u0644\u0644\u0637\u0644\u0627\u0628 \u0627\u0644\u062a\u064a \u0648\u062c\u062f\u062a \u0641\u064a \u0646\u0648\u062a\u0631\u062f\u0627\u0645?", "\u0641\u064a \u0627\u064a \u0633\u0646\u0629 \u0628\u062f\u0627\u062a \u0648\u0631\u0642\u0629 \u0627\u0644\u0637\u0627\u0644\u0628 \u0627\u0644\u062d\u0633 \u0627\u0644\u0633\u0644\u064a\u0645 \u0628\u0627\u0644\u0646\u0634\u0631 \u0641\u064a \u0646\u0648\u062a\u0631\u062f\u0627\u0645?" ] ``` the questions are in the wrong format, and not readable, could you please have a look? thanks @lhoestq
111
bug in mlqa dataset
[ -0.19380389153957367, -0.2665293514728546, -0.2038845270872116, 0.30958011746406555, 0.10235904157161713, 0.15494614839553833, 0.25261664390563965, 0.02921556681394577, -0.19329644739627838, 0.25358763337135315, 0.11710671335458755, 0.36374473571777344, 0.13238133490085602, 0.33791688084602356, -0.03464466705918312, 0.08011848479509354, 0.16474317014217377, 0.17447428405284882, -0.16998742520809174, -0.38703256845474243, -0.14555345475673676, 0.26222050189971924, -0.2008446753025055, 0.01766703650355339, -0.27406105399131775, -0.12923233211040497, 0.022818978875875473, 0.20758235454559326, 0.02649785205721855, 0.08439353108406067, -0.06880442053079605, -0.23710860311985016, -0.20658144354820251, 0.040521152317523956, -0.00010352047684136778, -0.19355572760105133, 0.13502638041973114, -0.024151260033249855, -0.1469152569770813, 0.40301984548568726, -0.4285193681716919, 0.01255069486796856, -0.24979931116104126, -0.13813777267932892, -0.20651324093341827, 0.05441862717270851, -0.19663819670677185, -0.3728850185871124, 0.029553629457950592, 0.11937731504440308, 0.3603579103946686, 0.14323438704013824, -0.16184812784194946, -0.0021204499062150717, 0.09799245744943619, -0.030427012592554092, 0.050438281148672104, 0.17656920850276947, 0.15088938176631927, -0.09226872771978378, 0.28240272402763367, 0.5249413251876831, 0.06832952052354813, 0.045121606439352036, 0.08821321278810501, 0.21504776179790497, 0.37822505831718445, -0.331294447183609, 0.1746850162744522, 0.304978609085083, 0.2883037328720093, -0.07348708063364029, -0.24663682281970978, -0.021638881415128708, 0.06441294401884079, -0.15273074805736542, 0.3001910150051117, 0.30865031480789185, -0.021388443186879158, 0.018900204449892044, 0.10891757905483246, 0.26196035742759705, 0.014876557514071465, 0.028001856058835983, -0.5193021297454834, 0.09310007840394974, -0.07219751179218292, 0.0812561959028244, -0.29618608951568604, 0.08309797942638397, 0.15726780891418457, 0.05802903324365616, -0.23472069203853607, 0.057366594672203064, -0.27828896045684814, -0.2566579282283783, -0.007601606193929911, 0.297244131565094, -0.13897357881069183, -0.148440882563591, 0.028561769053339958, 0.005047205835580826, 0.1319812685251236, -0.06479525566101074, 0.20586247742176056, 0.005223562475293875, -0.2619844079017639, -0.035745300352573395, 0.27146703004837036, -0.18948256969451904, -0.19610464572906494, 0.011942047625780106, 0.34092509746551514, -0.08486344665288925, -0.13984867930412292, -0.039956312626600266, 0.2842065989971161, -0.26993095874786377, -0.6664332151412964, 0.1882437765598297, -0.5363967418670654, -0.029903169721364975, -0.18313121795654297, 0.2177693098783493, 0.019777363166213036, -0.25128358602523804, 0.03510548919439316, 0.06973206996917725, -0.3223191499710083, -0.468930721282959, -0.3610638976097107, -0.08169007301330566, 0.0029283983167260885, -0.19624294340610504, -0.23616552352905273, 0.2518632709980011, 0.14128181338310242, 0.083052858710289, -0.1468367874622345, 0.023366229608654976, 0.12198464572429657, -0.15871767699718475, 0.16813874244689941, 0.22849678993225098, -0.11827296763658524, 0.1633203774690628, -0.1589805632829666, 0.018692579120397568, 0.10522475838661194, 0.24802806973457336, -0.126623272895813, -0.02885512076318264, -0.18561667203903198, 0.3163807690143585, 0.22149042785167694, 0.03662285581231117, 0.4203656017780304, 0.3316279649734497, 0.2953110635280609, -0.2969862222671509, 0.16337554156780243, 0.12511266767978668, 0.04060475155711174, -0.09999021887779236, -0.03695772588253021, 0.22121970355510712, -0.4142315983772278, -0.018856506794691086, -0.19037677347660065, 0.007345722056925297, 0.32237160205841064, 0.23076361417770386, 0.0502910390496254, -0.019991273060441017, -0.3095652461051941, 0.04996883496642113, 0.1482573300600052, -0.027716392651200294, -0.7284730076789856, 0.041107114404439926, 0.028146227821707726, -0.032256677746772766, 0.058220382779836655, 0.3029992878437042, -0.012408919632434845, -0.14067840576171875, 0.2561677098274231, 0.1827351152896881, -0.1655169129371643, 0.01404633466154337, -0.45452681183815, -0.04234662279486656, 0.2622980773448944, -0.08536285907030106, -0.22045156359672546, 0.13529282808303833, 0.2555460035800934, -0.06372793018817902, 0.3459112346172333, 0.1947661191225052, -0.14155961573123932, 0.010750764049589634, 0.32240432500839233, -0.5501433610916138, 0.16379205882549286, -0.01606600172817707, -0.26683202385902405, -0.18773490190505981, -0.8753663897514343, 0.1811937838792801, 0.024991389364004135, -0.05236058309674263, -0.06844469904899597, -0.08231694996356964, -0.019425759091973305, -0.19333727657794952, 0.25053274631500244, -0.1116945818066597, -0.13174201548099518, 0.33100980520248413, 0.05458979308605194, 0.06154312565922737, 0.09920048713684082, -0.12968993186950684, -0.23323386907577515, 0.367508202791214, -0.0016966138500720263, -0.10506756603717804, 0.21092171967029572, 0.48048487305641174, 0.3137016296386719, -0.12887223064899445, -0.04454999044537544, 0.09498365223407745, -0.049424946308135986, 0.2941938042640686, -0.31822818517684937, 0.07944666594266891, 0.3920629322528839, -0.12417208403348923, 0.21538227796554565, 0.4488511383533478, 0.11855455487966537, 0.15310339629650116, -0.19405680894851685, 0.3910980820655823, 0.12494417279958725, -0.12281966209411621, -0.1975020468235016, 0.3458966314792633, 0.1533612161874771, -0.0470135360956192, 0.07586807012557983, -0.420143723487854, 0.28408125042915344, 0.08697234839200974, 0.1760837882757187, 0.20830930769443512, -0.33629849553108215, 0.43387681245803833, 0.3436802327632904, -0.02897782437503338, 0.22046983242034912, -0.19792580604553223, -0.22742727398872375, -0.02369881048798561, 0.2650904059410095, 0.24436116218566895, 0.37990498542785645, 0.1638382375240326, -0.09400776028633118, 0.11385836452245712, 0.04444313421845436, -0.41315528750419617, 0.2241441011428833, 0.03595638647675514, -0.18818463385105133, 0.10154812037944794, 0.3069024980068207, 0.03493852913379669, -0.18584586679935455, 0.3114428222179413, 0.20419256389141083, 0.16701260209083557, -0.27570685744285583, 0.3832327127456665, -0.2693862020969391, -0.6027747988700867, -0.12916897237300873, -0.09386591613292694, 0.026467127725481987, -0.32986488938331604, 0.18440257012844086, -0.048629675060510635, -0.15494264662265778, 0.2257813811302185, 0.4319212734699249, 0.38555797934532166, 0.055448781698942184, 0.48221421241760254, -0.20126581192016602, 0.10618875920772552, -0.3001457452774048, 0.21896150708198547, 0.06729716807603836, 0.195987269282341, 0.15847720205783844, -0.0030223659705370665, -0.2391589730978012, -0.285523384809494, -0.3230888545513153, 0.1854006052017212, 0.20251072943210602, 0.6038917899131775, 0.08087585866451263, -0.08191279321908951, -0.0661739930510521, 0.13881272077560425, 0.04506925866007805, 0.2540798783302307, -0.14240093529224396, -0.05339600890874863, -0.3398073613643646, -0.030483625829219818, -0.1919299066066742, -0.3581621050834656, -0.2015780806541443, -0.11259579658508301, -0.04218354448676109, -0.08445876091718674, 0.14048580825328827, -0.0745965987443924, -0.14364147186279297, -0.25048521161079407, -0.05064968392252922, -0.1400609016418457, -0.42185521125793457, -0.030498331412672997, 0.22235143184661865, -0.09048041701316833, -0.5108684301376343, -0.04595637321472168, -0.1798873096704483, 0.22947780787944794, -0.12296147644519806, -0.22165901958942413, -0.2260206788778305, -0.08190655708312988, -0.16005568206310272, 0.0635683685541153, -0.17153479158878326, 0.14677345752716064, -0.2948327660560608, -0.1009131371974945, -0.15056543052196503, -0.18364417552947998, 0.09056122601032257, 0.2848605811595917, 0.298834890127182, -0.31712836027145386, 0.6410058736801147, -0.0774388536810875, 0.08799083530902863, 0.41331353783607483, -0.06327372789382935, 0.15830710530281067, -0.08295764029026031, 0.15021905303001404, -0.08380939066410065, -0.03229648247361183, 0.4019690752029419, 0.27363377809524536, -0.16746346652507782, 0.24952282011508942, -0.08818337321281433, -0.262818843126297, 0.1297415941953659, -0.06737417727708817, 0.020383305847644806, -0.1691056340932846, -0.07780557870864868, -0.3387286365032196, 0.1256798505783081, 0.42421770095825195, 0.29339009523391724, 0.1335332840681076, -0.18479952216148376, 0.15444743633270264, -0.08538620918989182, 0.198604553937912, -0.05862325802445412, -0.33249786496162415, -0.3981398642063141, -0.30909255146980286, 0.13519912958145142, -0.19979995489120483, 0.3849163055419922, -0.0788663923740387, -0.08368469774723053, 0.26425740122795105, -0.0016042543575167656, 0.8154558539390564, -0.1048860102891922, 0.08837837725877762, 0.11852968484163284, 0.341302752494812, -0.2091555893421173, -0.14681440591812134, -0.08886555582284927, 0.4740009307861328, 0.21443535387516022, 0.007161364890635014, -0.1288248896598816, 0.1378968060016632, 0.1651189774274826, 0.10355736315250397, -0.4370131194591522, -0.12055134028196335, -0.32328060269355774, -0.09738700091838837, -0.01196612510830164, 0.021221144124865532, -0.06998275965452194, 0.07709085196256638, 0.03813088312745094, -0.20577865839004517, -0.1208527460694313, -0.22815537452697754, -0.02468186616897583, 0.21931162476539612, 0.5587421655654907, -0.18108856678009033, 0.3147300183773041, -0.06367364525794983, 0.40803471207618713, -0.05384312570095062, 0.4321051836013794, 0.12559427320957184, -0.07741402089595795, 0.16154636442661285, -0.4784667491912842, 0.31834274530410767, 0.24149560928344727, -0.12967048585414886, 0.1113022193312645, 0.22698208689689636, -0.0662408396601677, -0.1284506469964981, -0.1703833043575287, 0.10114224255084991, 0.12768736481666565, -0.05294713377952576, -0.07204075157642365, 0.33746853470802307, -0.19911307096481323, -0.17267607152462006, 0.0888194888830185, 0.06685947626829147, -0.06387834250926971, 0.34750598669052124, 0.1540839821100235, 0.9345794916152954, 0.16242872178554535, -0.024730553850531578, 0.23227611184120178, -0.15455777943134308, 0.1394244134426117, -0.0719427540898323, 0.20270447432994843, -0.4778294265270233, -0.008474093861877918, -0.03929290920495987, -0.06517551839351654, 0.2103949338197708, -0.0782979279756546, -0.13417279720306396, 0.08817809820175171, -0.03852548450231552, -0.06884603202342987, -0.08400582522153854, -0.2811167240142822, 0.1086333617568016, 0.09258666634559631, -0.2918170392513275, 0.16765384376049042, 0.2687470018863678, 0.1781049519777298, -0.16293276846408844, -0.1440853327512741, -0.005487035494297743, -0.07014822214841843, -0.05223999544978142, -0.12078283727169037, -0.4588414430618286, -0.1545088291168213, 0.33329758048057556, -0.5670602917671204, -0.13182665407657623, 0.15450361371040344, 0.14981412887573242, -0.05476194992661476, -0.10982568562030792, 0.22702401876449585, 0.2325010746717453, 0.25351279973983765, 0.19768126308918, -0.0510975681245327, 0.1787695735692978, -0.2402661293745041, -0.1447456181049347, 0.21824458241462708, -0.010108334012329578, -0.0372304767370224, -0.14677448570728302, 0.28173843026161194, 0.07668717205524445, -0.02308373712003231, -0.1397271454334259, -0.17080362141132355, 0.20712555944919586, -0.2596593499183655, 0.21898476779460907, 0.19797685742378235, 0.019991843029856682, 0.41451993584632874, -0.08697348833084106, -0.19568638503551483, -0.3475711941719055, 0.3932947814464569, 0.21728208661079407, 0.3289680778980255, 0.37248438596725464, -0.15214940905570984, -0.03119487129151821, -0.32877397537231445, 0.04168456792831421, 0.00443500280380249, -0.19143041968345642, 0.23546528816223145, -0.20841607451438904, -0.1584940403699875, -0.07564179599285126, 0.4160815179347992, -0.19345206022262573, 0.1116502434015274, -0.20117872953414917, -0.5507813692092896, -0.1480826437473297, -0.05287137255072594, 0.023495208472013474, -0.07493918389081955, -0.04567472264170647, 0.19303986430168152, -0.10700096935033798, 0.05049974098801613, -0.42289069294929504, -0.10118471831083298, -0.05395498126745224, 0.027651406824588776, -0.2529962360858917, 0.10759541392326355, -0.02640901692211628, 0.01744627207517624, 0.2164454311132431, 0.01613793335855007, -0.16611063480377197, -0.3369421362876892, -0.13603602349758148, 0.08619717508554459, 0.02344990149140358, -0.09989213943481445, -0.030562426894903183, -0.0660683810710907, -0.20632615685462952, 0.10201927274465561, 0.07644609361886978, -0.19837340712547302, 0.09198517352342606, 0.05204525962471962, 0.04326502978801727, -0.24519222974777222, -0.30705568194389343, -0.015439673326909542, 0.16259030997753143, -0.4330918490886688, 0.1527264416217804, 0.024345586076378822, -0.16410791873931885, 0.033526696264743805, 0.10935892909765244, -0.16830088198184967, -0.32221847772598267, 0.051051948219537735, 0.3641447424888611, -0.2835124433040619, -0.05413868650794029, 0.4293888807296753, -0.09198424965143204, 0.11730589717626572, -0.4188748002052307, -0.10709958523511887, -0.056979868561029434, 0.30782416462898254, -0.44487664103507996, -0.21058140695095062, -0.15611149370670319, 0.18573853373527527, 0.16874854266643524, 0.028450004756450653, 0.4781399369239807, -0.27798736095428467, 0.06286939978599548, 0.17486730217933655, 0.13664963841438293, -0.32108819484710693, -0.03795669972896576, 0.21990379691123962, -0.019824577495455742, 0.312608927488327, 0.3712994456291199, 0.1064220666885376, -0.12902876734733582, 0.7743085622787476, 0.1352359652519226, 0.17881371080875397, 0.2667626440525055, -0.08137068152427673, -0.08067433536052704, -0.15614700317382812, 0.23003564774990082, 0.11100147664546967, -0.21309219300746918, 0.06581459939479828, 0.4314168393611908, -0.19032812118530273, -0.014444536529481411, -0.161041721701622, -0.26953861117362976, -0.20953641831874847, -0.3637946546077728, -0.17073863744735718, 0.06162581965327263, -0.1764628291130066, 0.428388774394989, -0.16969993710517883, -0.137765035033226, 0.060853663831949234, 0.3060415983200073, -0.11061624437570572, -0.16806629300117493, -0.18283890187740326, -0.09997230023145676, 0.14619646966457367, 0.059322189539670944, -0.09043002128601074, 0.4312252104282379, 0.06862396746873856, 0.046795088797807693, 0.3284507691860199, 0.07629378885030746, 0.130174919962883, 0.11828531324863434, -0.08608195930719376, -0.04340587183833122, -0.04864075407385826, -0.24370357394218445, -0.07732696831226349, 0.21862420439720154, 0.21367131173610687, 0.16533394157886505, 0.059865038841962814, 0.2033027708530426, -0.1970704346895218, 0.24283728003501892, 0.37978190183639526, 0.411115437746048, -0.31176313757896423, 0.08071412146091461, -0.5046049356460571, -0.1454906463623047, -0.29191234707832336, -0.012591799721121788, -0.05594352260231972, -0.07730419933795929, 0.0013530801516026258, -0.085323765873909, 0.12261918932199478, -0.06614037603139877, 0.1605798751115799, -0.08291532099246979, 0.5615744590759277, -0.06272484362125397, 0.15116442739963531, -0.18269670009613037, -0.1498897224664688, -0.5843080282211304, 0.22648170590400696, 0.09301269054412842, 0.1129506379365921, -0.01936681941151619, 0.3351375162601471, -0.03147577866911888, -0.12737740576267242, 0.18437166512012482, 0.3000476658344269, -0.06891961395740509, -0.04039701074361801, -0.47321853041648865, -0.3931939899921417, -0.15978498756885529, 0.04103663191199303, -0.0708688348531723, -0.17387041449546814, 0.48232850432395935, -0.030171483755111694, 0.22291672229766846, -0.12272992730140686, -0.18240241706371307, -0.20891864597797394, 0.5358858108520508, 0.35818228125572205, 0.39329496026039124, 0.028153900057077408, -0.15684837102890015, 0.06959588825702667, -0.22747167944908142, -0.09812077134847641, -0.08882702887058258, 0.08790294080972672, 0.09049542993307114, 0.26428690552711487, 0.07487756013870239, -0.08795003592967987, 0.08245398849248886, 0.3765389919281006, 0.21488945186138153, 0.03355810046195984, -0.25257608294487, 0.5367727279663086, -0.03911201283335686, 0.1982244998216629, -0.007494420278817415, 0.09488910436630249, 0.04814533516764641, -0.0180906280875206, -0.07079452276229858, -0.1622380018234253, 0.2558175027370453, -0.4832603931427002, 0.08514092862606049, -0.25479385256767273, 0.2682934105396271, -0.15982626378536224, -0.07105293869972229, -0.13134779036045074, -0.2215854972600937, 0.44829240441322327, -0.3856567144393921, -0.03035026602447033, 0.2705024778842926, 0.15387222170829773, -0.06237483397126198, -0.11408347636461258, 0.5593858361244202, 0.2824360132217407, -0.2470061331987381, 0.24533461034297943, -0.23353248834609985 ]
https://github.com/huggingface/datasets/issues/2133
bug in mlqa dataset
Hi @dorost1234. In Python 3, strings are sequences of Unicode _code points_. Unicode is a specification that maps all characters (and emoji symbols) with its unique representation in terms of code points. That is what you see: Unicode code points (represented by a \u escaped sequence of 16-bit hex values). Characters are usually represented (on screen and papers) with a graphical element called _glyph_. That is what you would like to see: glyphs. But Python does not care about glyphs: that is the job of the GUI or the terminal; glyphs are what you get with the `print` function (if your terminal is properly configured to display those glyphs). You have more detailed information about Unicode in the Python documentation: https://docs.python.org/3/howto/unicode.html
Hi Looking into MLQA dataset for langauge "ar": ``` "question": [ "\u0645\u062a\u0649 \u0628\u062f\u0627\u062a \u0627\u0644\u0645\u062c\u0644\u0629 \u0627\u0644\u0645\u062f\u0631\u0633\u064a\u0629 \u0641\u064a \u0646\u0648\u062a\u0631\u062f\u0627\u0645 \u0628\u0627\u0644\u0646\u0634\u0631?", "\u0643\u0645 \u0645\u0631\u0629 \u064a\u062a\u0645 \u0646\u0634\u0631\u0647\u0627 \u0641\u064a \u0646\u0648\u062a\u0631\u062f\u0627\u0645?", "\u0645\u0627 \u0647\u064a \u0627\u0644\u0648\u0631\u0642\u0629 \u0627\u0644\u064a\u0648\u0645\u064a\u0629 \u0644\u0644\u0637\u0644\u0627\u0628 \u0641\u064a \u0646\u0648\u062a\u0631\u062f\u0627\u0645?", "\u0643\u0645 \u0639\u062f\u062f \u0627\u0644\u0627\u0648\u0631\u0627\u0642 \u0627\u0644\u0627\u062e\u0628\u0627\u0631\u064a\u0629 \u0644\u0644\u0637\u0644\u0627\u0628 \u0627\u0644\u062a\u064a \u0648\u062c\u062f\u062a \u0641\u064a \u0646\u0648\u062a\u0631\u062f\u0627\u0645?", "\u0641\u064a \u0627\u064a \u0633\u0646\u0629 \u0628\u062f\u0627\u062a \u0648\u0631\u0642\u0629 \u0627\u0644\u0637\u0627\u0644\u0628 \u0627\u0644\u062d\u0633 \u0627\u0644\u0633\u0644\u064a\u0645 \u0628\u0627\u0644\u0646\u0634\u0631 \u0641\u064a \u0646\u0648\u062a\u0631\u062f\u0627\u0645?" ] ``` the questions are in the wrong format, and not readable, could you please have a look? thanks @lhoestq
121
bug in mlqa dataset
[ -0.19380389153957367, -0.2665293514728546, -0.2038845270872116, 0.30958011746406555, 0.10235904157161713, 0.15494614839553833, 0.25261664390563965, 0.02921556681394577, -0.19329644739627838, 0.25358763337135315, 0.11710671335458755, 0.36374473571777344, 0.13238133490085602, 0.33791688084602356, -0.03464466705918312, 0.08011848479509354, 0.16474317014217377, 0.17447428405284882, -0.16998742520809174, -0.38703256845474243, -0.14555345475673676, 0.26222050189971924, -0.2008446753025055, 0.01766703650355339, -0.27406105399131775, -0.12923233211040497, 0.022818978875875473, 0.20758235454559326, 0.02649785205721855, 0.08439353108406067, -0.06880442053079605, -0.23710860311985016, -0.20658144354820251, 0.040521152317523956, -0.00010352047684136778, -0.19355572760105133, 0.13502638041973114, -0.024151260033249855, -0.1469152569770813, 0.40301984548568726, -0.4285193681716919, 0.01255069486796856, -0.24979931116104126, -0.13813777267932892, -0.20651324093341827, 0.05441862717270851, -0.19663819670677185, -0.3728850185871124, 0.029553629457950592, 0.11937731504440308, 0.3603579103946686, 0.14323438704013824, -0.16184812784194946, -0.0021204499062150717, 0.09799245744943619, -0.030427012592554092, 0.050438281148672104, 0.17656920850276947, 0.15088938176631927, -0.09226872771978378, 0.28240272402763367, 0.5249413251876831, 0.06832952052354813, 0.045121606439352036, 0.08821321278810501, 0.21504776179790497, 0.37822505831718445, -0.331294447183609, 0.1746850162744522, 0.304978609085083, 0.2883037328720093, -0.07348708063364029, -0.24663682281970978, -0.021638881415128708, 0.06441294401884079, -0.15273074805736542, 0.3001910150051117, 0.30865031480789185, -0.021388443186879158, 0.018900204449892044, 0.10891757905483246, 0.26196035742759705, 0.014876557514071465, 0.028001856058835983, -0.5193021297454834, 0.09310007840394974, -0.07219751179218292, 0.0812561959028244, -0.29618608951568604, 0.08309797942638397, 0.15726780891418457, 0.05802903324365616, -0.23472069203853607, 0.057366594672203064, -0.27828896045684814, -0.2566579282283783, -0.007601606193929911, 0.297244131565094, -0.13897357881069183, -0.148440882563591, 0.028561769053339958, 0.005047205835580826, 0.1319812685251236, -0.06479525566101074, 0.20586247742176056, 0.005223562475293875, -0.2619844079017639, -0.035745300352573395, 0.27146703004837036, -0.18948256969451904, -0.19610464572906494, 0.011942047625780106, 0.34092509746551514, -0.08486344665288925, -0.13984867930412292, -0.039956312626600266, 0.2842065989971161, -0.26993095874786377, -0.6664332151412964, 0.1882437765598297, -0.5363967418670654, -0.029903169721364975, -0.18313121795654297, 0.2177693098783493, 0.019777363166213036, -0.25128358602523804, 0.03510548919439316, 0.06973206996917725, -0.3223191499710083, -0.468930721282959, -0.3610638976097107, -0.08169007301330566, 0.0029283983167260885, -0.19624294340610504, -0.23616552352905273, 0.2518632709980011, 0.14128181338310242, 0.083052858710289, -0.1468367874622345, 0.023366229608654976, 0.12198464572429657, -0.15871767699718475, 0.16813874244689941, 0.22849678993225098, -0.11827296763658524, 0.1633203774690628, -0.1589805632829666, 0.018692579120397568, 0.10522475838661194, 0.24802806973457336, -0.126623272895813, -0.02885512076318264, -0.18561667203903198, 0.3163807690143585, 0.22149042785167694, 0.03662285581231117, 0.4203656017780304, 0.3316279649734497, 0.2953110635280609, -0.2969862222671509, 0.16337554156780243, 0.12511266767978668, 0.04060475155711174, -0.09999021887779236, -0.03695772588253021, 0.22121970355510712, -0.4142315983772278, -0.018856506794691086, -0.19037677347660065, 0.007345722056925297, 0.32237160205841064, 0.23076361417770386, 0.0502910390496254, -0.019991273060441017, -0.3095652461051941, 0.04996883496642113, 0.1482573300600052, -0.027716392651200294, -0.7284730076789856, 0.041107114404439926, 0.028146227821707726, -0.032256677746772766, 0.058220382779836655, 0.3029992878437042, -0.012408919632434845, -0.14067840576171875, 0.2561677098274231, 0.1827351152896881, -0.1655169129371643, 0.01404633466154337, -0.45452681183815, -0.04234662279486656, 0.2622980773448944, -0.08536285907030106, -0.22045156359672546, 0.13529282808303833, 0.2555460035800934, -0.06372793018817902, 0.3459112346172333, 0.1947661191225052, -0.14155961573123932, 0.010750764049589634, 0.32240432500839233, -0.5501433610916138, 0.16379205882549286, -0.01606600172817707, -0.26683202385902405, -0.18773490190505981, -0.8753663897514343, 0.1811937838792801, 0.024991389364004135, -0.05236058309674263, -0.06844469904899597, -0.08231694996356964, -0.019425759091973305, -0.19333727657794952, 0.25053274631500244, -0.1116945818066597, -0.13174201548099518, 0.33100980520248413, 0.05458979308605194, 0.06154312565922737, 0.09920048713684082, -0.12968993186950684, -0.23323386907577515, 0.367508202791214, -0.0016966138500720263, -0.10506756603717804, 0.21092171967029572, 0.48048487305641174, 0.3137016296386719, -0.12887223064899445, -0.04454999044537544, 0.09498365223407745, -0.049424946308135986, 0.2941938042640686, -0.31822818517684937, 0.07944666594266891, 0.3920629322528839, -0.12417208403348923, 0.21538227796554565, 0.4488511383533478, 0.11855455487966537, 0.15310339629650116, -0.19405680894851685, 0.3910980820655823, 0.12494417279958725, -0.12281966209411621, -0.1975020468235016, 0.3458966314792633, 0.1533612161874771, -0.0470135360956192, 0.07586807012557983, -0.420143723487854, 0.28408125042915344, 0.08697234839200974, 0.1760837882757187, 0.20830930769443512, -0.33629849553108215, 0.43387681245803833, 0.3436802327632904, -0.02897782437503338, 0.22046983242034912, -0.19792580604553223, -0.22742727398872375, -0.02369881048798561, 0.2650904059410095, 0.24436116218566895, 0.37990498542785645, 0.1638382375240326, -0.09400776028633118, 0.11385836452245712, 0.04444313421845436, -0.41315528750419617, 0.2241441011428833, 0.03595638647675514, -0.18818463385105133, 0.10154812037944794, 0.3069024980068207, 0.03493852913379669, -0.18584586679935455, 0.3114428222179413, 0.20419256389141083, 0.16701260209083557, -0.27570685744285583, 0.3832327127456665, -0.2693862020969391, -0.6027747988700867, -0.12916897237300873, -0.09386591613292694, 0.026467127725481987, -0.32986488938331604, 0.18440257012844086, -0.048629675060510635, -0.15494264662265778, 0.2257813811302185, 0.4319212734699249, 0.38555797934532166, 0.055448781698942184, 0.48221421241760254, -0.20126581192016602, 0.10618875920772552, -0.3001457452774048, 0.21896150708198547, 0.06729716807603836, 0.195987269282341, 0.15847720205783844, -0.0030223659705370665, -0.2391589730978012, -0.285523384809494, -0.3230888545513153, 0.1854006052017212, 0.20251072943210602, 0.6038917899131775, 0.08087585866451263, -0.08191279321908951, -0.0661739930510521, 0.13881272077560425, 0.04506925866007805, 0.2540798783302307, -0.14240093529224396, -0.05339600890874863, -0.3398073613643646, -0.030483625829219818, -0.1919299066066742, -0.3581621050834656, -0.2015780806541443, -0.11259579658508301, -0.04218354448676109, -0.08445876091718674, 0.14048580825328827, -0.0745965987443924, -0.14364147186279297, -0.25048521161079407, -0.05064968392252922, -0.1400609016418457, -0.42185521125793457, -0.030498331412672997, 0.22235143184661865, -0.09048041701316833, -0.5108684301376343, -0.04595637321472168, -0.1798873096704483, 0.22947780787944794, -0.12296147644519806, -0.22165901958942413, -0.2260206788778305, -0.08190655708312988, -0.16005568206310272, 0.0635683685541153, -0.17153479158878326, 0.14677345752716064, -0.2948327660560608, -0.1009131371974945, -0.15056543052196503, -0.18364417552947998, 0.09056122601032257, 0.2848605811595917, 0.298834890127182, -0.31712836027145386, 0.6410058736801147, -0.0774388536810875, 0.08799083530902863, 0.41331353783607483, -0.06327372789382935, 0.15830710530281067, -0.08295764029026031, 0.15021905303001404, -0.08380939066410065, -0.03229648247361183, 0.4019690752029419, 0.27363377809524536, -0.16746346652507782, 0.24952282011508942, -0.08818337321281433, -0.262818843126297, 0.1297415941953659, -0.06737417727708817, 0.020383305847644806, -0.1691056340932846, -0.07780557870864868, -0.3387286365032196, 0.1256798505783081, 0.42421770095825195, 0.29339009523391724, 0.1335332840681076, -0.18479952216148376, 0.15444743633270264, -0.08538620918989182, 0.198604553937912, -0.05862325802445412, -0.33249786496162415, -0.3981398642063141, -0.30909255146980286, 0.13519912958145142, -0.19979995489120483, 0.3849163055419922, -0.0788663923740387, -0.08368469774723053, 0.26425740122795105, -0.0016042543575167656, 0.8154558539390564, -0.1048860102891922, 0.08837837725877762, 0.11852968484163284, 0.341302752494812, -0.2091555893421173, -0.14681440591812134, -0.08886555582284927, 0.4740009307861328, 0.21443535387516022, 0.007161364890635014, -0.1288248896598816, 0.1378968060016632, 0.1651189774274826, 0.10355736315250397, -0.4370131194591522, -0.12055134028196335, -0.32328060269355774, -0.09738700091838837, -0.01196612510830164, 0.021221144124865532, -0.06998275965452194, 0.07709085196256638, 0.03813088312745094, -0.20577865839004517, -0.1208527460694313, -0.22815537452697754, -0.02468186616897583, 0.21931162476539612, 0.5587421655654907, -0.18108856678009033, 0.3147300183773041, -0.06367364525794983, 0.40803471207618713, -0.05384312570095062, 0.4321051836013794, 0.12559427320957184, -0.07741402089595795, 0.16154636442661285, -0.4784667491912842, 0.31834274530410767, 0.24149560928344727, -0.12967048585414886, 0.1113022193312645, 0.22698208689689636, -0.0662408396601677, -0.1284506469964981, -0.1703833043575287, 0.10114224255084991, 0.12768736481666565, -0.05294713377952576, -0.07204075157642365, 0.33746853470802307, -0.19911307096481323, -0.17267607152462006, 0.0888194888830185, 0.06685947626829147, -0.06387834250926971, 0.34750598669052124, 0.1540839821100235, 0.9345794916152954, 0.16242872178554535, -0.024730553850531578, 0.23227611184120178, -0.15455777943134308, 0.1394244134426117, -0.0719427540898323, 0.20270447432994843, -0.4778294265270233, -0.008474093861877918, -0.03929290920495987, -0.06517551839351654, 0.2103949338197708, -0.0782979279756546, -0.13417279720306396, 0.08817809820175171, -0.03852548450231552, -0.06884603202342987, -0.08400582522153854, -0.2811167240142822, 0.1086333617568016, 0.09258666634559631, -0.2918170392513275, 0.16765384376049042, 0.2687470018863678, 0.1781049519777298, -0.16293276846408844, -0.1440853327512741, -0.005487035494297743, -0.07014822214841843, -0.05223999544978142, -0.12078283727169037, -0.4588414430618286, -0.1545088291168213, 0.33329758048057556, -0.5670602917671204, -0.13182665407657623, 0.15450361371040344, 0.14981412887573242, -0.05476194992661476, -0.10982568562030792, 0.22702401876449585, 0.2325010746717453, 0.25351279973983765, 0.19768126308918, -0.0510975681245327, 0.1787695735692978, -0.2402661293745041, -0.1447456181049347, 0.21824458241462708, -0.010108334012329578, -0.0372304767370224, -0.14677448570728302, 0.28173843026161194, 0.07668717205524445, -0.02308373712003231, -0.1397271454334259, -0.17080362141132355, 0.20712555944919586, -0.2596593499183655, 0.21898476779460907, 0.19797685742378235, 0.019991843029856682, 0.41451993584632874, -0.08697348833084106, -0.19568638503551483, -0.3475711941719055, 0.3932947814464569, 0.21728208661079407, 0.3289680778980255, 0.37248438596725464, -0.15214940905570984, -0.03119487129151821, -0.32877397537231445, 0.04168456792831421, 0.00443500280380249, -0.19143041968345642, 0.23546528816223145, -0.20841607451438904, -0.1584940403699875, -0.07564179599285126, 0.4160815179347992, -0.19345206022262573, 0.1116502434015274, -0.20117872953414917, -0.5507813692092896, -0.1480826437473297, -0.05287137255072594, 0.023495208472013474, -0.07493918389081955, -0.04567472264170647, 0.19303986430168152, -0.10700096935033798, 0.05049974098801613, -0.42289069294929504, -0.10118471831083298, -0.05395498126745224, 0.027651406824588776, -0.2529962360858917, 0.10759541392326355, -0.02640901692211628, 0.01744627207517624, 0.2164454311132431, 0.01613793335855007, -0.16611063480377197, -0.3369421362876892, -0.13603602349758148, 0.08619717508554459, 0.02344990149140358, -0.09989213943481445, -0.030562426894903183, -0.0660683810710907, -0.20632615685462952, 0.10201927274465561, 0.07644609361886978, -0.19837340712547302, 0.09198517352342606, 0.05204525962471962, 0.04326502978801727, -0.24519222974777222, -0.30705568194389343, -0.015439673326909542, 0.16259030997753143, -0.4330918490886688, 0.1527264416217804, 0.024345586076378822, -0.16410791873931885, 0.033526696264743805, 0.10935892909765244, -0.16830088198184967, -0.32221847772598267, 0.051051948219537735, 0.3641447424888611, -0.2835124433040619, -0.05413868650794029, 0.4293888807296753, -0.09198424965143204, 0.11730589717626572, -0.4188748002052307, -0.10709958523511887, -0.056979868561029434, 0.30782416462898254, -0.44487664103507996, -0.21058140695095062, -0.15611149370670319, 0.18573853373527527, 0.16874854266643524, 0.028450004756450653, 0.4781399369239807, -0.27798736095428467, 0.06286939978599548, 0.17486730217933655, 0.13664963841438293, -0.32108819484710693, -0.03795669972896576, 0.21990379691123962, -0.019824577495455742, 0.312608927488327, 0.3712994456291199, 0.1064220666885376, -0.12902876734733582, 0.7743085622787476, 0.1352359652519226, 0.17881371080875397, 0.2667626440525055, -0.08137068152427673, -0.08067433536052704, -0.15614700317382812, 0.23003564774990082, 0.11100147664546967, -0.21309219300746918, 0.06581459939479828, 0.4314168393611908, -0.19032812118530273, -0.014444536529481411, -0.161041721701622, -0.26953861117362976, -0.20953641831874847, -0.3637946546077728, -0.17073863744735718, 0.06162581965327263, -0.1764628291130066, 0.428388774394989, -0.16969993710517883, -0.137765035033226, 0.060853663831949234, 0.3060415983200073, -0.11061624437570572, -0.16806629300117493, -0.18283890187740326, -0.09997230023145676, 0.14619646966457367, 0.059322189539670944, -0.09043002128601074, 0.4312252104282379, 0.06862396746873856, 0.046795088797807693, 0.3284507691860199, 0.07629378885030746, 0.130174919962883, 0.11828531324863434, -0.08608195930719376, -0.04340587183833122, -0.04864075407385826, -0.24370357394218445, -0.07732696831226349, 0.21862420439720154, 0.21367131173610687, 0.16533394157886505, 0.059865038841962814, 0.2033027708530426, -0.1970704346895218, 0.24283728003501892, 0.37978190183639526, 0.411115437746048, -0.31176313757896423, 0.08071412146091461, -0.5046049356460571, -0.1454906463623047, -0.29191234707832336, -0.012591799721121788, -0.05594352260231972, -0.07730419933795929, 0.0013530801516026258, -0.085323765873909, 0.12261918932199478, -0.06614037603139877, 0.1605798751115799, -0.08291532099246979, 0.5615744590759277, -0.06272484362125397, 0.15116442739963531, -0.18269670009613037, -0.1498897224664688, -0.5843080282211304, 0.22648170590400696, 0.09301269054412842, 0.1129506379365921, -0.01936681941151619, 0.3351375162601471, -0.03147577866911888, -0.12737740576267242, 0.18437166512012482, 0.3000476658344269, -0.06891961395740509, -0.04039701074361801, -0.47321853041648865, -0.3931939899921417, -0.15978498756885529, 0.04103663191199303, -0.0708688348531723, -0.17387041449546814, 0.48232850432395935, -0.030171483755111694, 0.22291672229766846, -0.12272992730140686, -0.18240241706371307, -0.20891864597797394, 0.5358858108520508, 0.35818228125572205, 0.39329496026039124, 0.028153900057077408, -0.15684837102890015, 0.06959588825702667, -0.22747167944908142, -0.09812077134847641, -0.08882702887058258, 0.08790294080972672, 0.09049542993307114, 0.26428690552711487, 0.07487756013870239, -0.08795003592967987, 0.08245398849248886, 0.3765389919281006, 0.21488945186138153, 0.03355810046195984, -0.25257608294487, 0.5367727279663086, -0.03911201283335686, 0.1982244998216629, -0.007494420278817415, 0.09488910436630249, 0.04814533516764641, -0.0180906280875206, -0.07079452276229858, -0.1622380018234253, 0.2558175027370453, -0.4832603931427002, 0.08514092862606049, -0.25479385256767273, 0.2682934105396271, -0.15982626378536224, -0.07105293869972229, -0.13134779036045074, -0.2215854972600937, 0.44829240441322327, -0.3856567144393921, -0.03035026602447033, 0.2705024778842926, 0.15387222170829773, -0.06237483397126198, -0.11408347636461258, 0.5593858361244202, 0.2824360132217407, -0.2470061331987381, 0.24533461034297943, -0.23353248834609985 ]
https://github.com/huggingface/datasets/issues/2132
TydiQA dataset is mixed and is not split per language
You can filter the languages this way: ```python tydiqa_en = tydiqa_dataset.filter(lambda x: x["language"] == "english") ``` Otherwise maybe we can have one configuration per language ? What do you think of this for example ? ```python load_dataset("tydiqa", "primary_task.en") ```
Hi @lhoestq Currently TydiQA is mixed and user can only access the whole training set of all languages: https://www.tensorflow.org/datasets/catalog/tydi_qa for using this dataset, one need to train/evaluate in each separate language, and having them mixed, makes it hard to use this dataset. This is much convenient for user to have them split and I appreciate your help on this. Meanwhile, till hopefully this is split per language, I greatly appreciate telling me how I can preprocess and get data per language. thanks a lot
39
TydiQA dataset is mixed and is not split per language
[ -0.1909470111131668, -0.12866471707820892, -0.1562698930501938, 0.2635510563850403, 0.1261909008026123, -0.035679057240486145, 0.34338244795799255, 0.24092182517051697, -0.1765751838684082, -0.05150477960705757, -0.234826922416687, 0.007658987771719694, 0.21384333074092865, 0.3898856043815613, -0.04463396221399307, -0.06896542757749557, -0.10580088198184967, 0.062338169664144516, -0.1465291678905487, -0.14482711255550385, 0.05166110023856163, 0.4418661296367645, -0.1421143114566803, -0.14192882180213928, -0.04107121005654335, -0.2275751531124115, 0.0044612274505198, -0.025902176275849342, -0.21581687033176422, 0.13644535839557648, 0.12355686724185944, 0.005407564342021942, -0.016763757914304733, 0.22906309366226196, -0.00010499278141651303, -0.0016835950082167983, -0.08782748878002167, -0.33066800236701965, -0.04832196980714798, 0.14622022211551666, -0.2278069704771042, -0.09433560073375702, -0.21424536406993866, -0.13046972453594208, -0.2523708641529083, -0.014297589659690857, -0.035973839461803436, -0.2862965166568756, 0.27944234013557434, 0.2165362685918808, 0.2208433747291565, 0.08262389898300171, -0.054099492728710175, 0.07544058561325073, 0.04696643725037575, 0.06678351014852524, -0.14378947019577026, -0.093626968562603, 0.28314170241355896, 0.07835162431001663, 0.027837123721837997, 0.289259672164917, 0.2553755044937134, 0.0015604901127517223, -0.5084143877029419, -0.04320177808403969, -0.1323215663433075, -0.33128246665000916, 0.34979891777038574, 0.43799182772636414, 0.48386698961257935, -0.09943769872188568, -0.18395745754241943, 0.07844100147485733, -0.17402954399585724, -0.006251228973269463, 0.2305191159248352, 0.48349615931510925, 0.08000262081623077, 0.1814965456724167, 0.4407418370246887, 0.24891424179077148, 0.02377796173095703, -0.017312010750174522, -0.514636754989624, 0.2958669364452362, -0.012827923521399498, -0.03282608464360237, -0.051237802952528, -0.032177940011024475, 0.13280974328517914, 0.20918333530426025, -0.2131831794977188, 0.0553576685488224, -0.21734629571437836, -0.22442850470542908, 0.060668397694826126, -0.13742727041244507, 0.2026788890361786, -0.4786967635154724, 0.055832039564847946, 0.2659417986869812, -0.08895361423492432, 0.04034889116883278, 0.3655879497528076, -0.1233791708946228, 0.18874472379684448, 0.3104463219642639, 0.14043311774730682, -0.1537000685930252, -0.12139784544706345, 0.09758590906858444, 0.11179585009813309, -0.33196282386779785, -0.40981850028038025, 0.10607249289751053, -0.007233459502458572, -0.08459706604480743, -0.3189323842525482, -0.10358354449272156, 0.02373497001826763, -0.2632063031196594, -0.09331069886684418, 0.2198333889245987, 0.18587373197078705, -0.15858174860477448, -0.19431988894939423, 0.36302193999290466, -0.4089650809764862, -0.49666962027549744, -0.28612250089645386, -0.143070250749588, -0.07314103841781616, -0.22433753311634064, -0.0010344177717342973, 0.42624717950820923, -0.009258555248379707, -0.02270197868347168, 0.08242084085941315, 0.019266534596681595, 0.048939794301986694, -0.20250333845615387, 0.29803478717803955, 0.060583919286727905, 0.23250889778137207, 0.32371532917022705, 0.16338181495666504, -0.23451600968837738, -0.32216641306877136, 0.00600854679942131, -0.26272115111351013, -0.035821788012981415, -0.1341782510280609, 0.24066823720932007, 0.32710498571395874, 0.1128401979804039, 0.28715384006500244, 0.39174988865852356, 0.509016215801239, -0.2342023402452469, 0.03054821491241455, -0.012340251356363297, 0.0929599478840828, -0.035543043166399, 0.021051550284028053, 0.25747814774513245, -0.5678387880325317, -0.1540299952030182, 0.14819537103176117, -0.2899118959903717, 0.5147278904914856, 0.46400052309036255, 0.07174355536699295, 0.09961755573749542, -0.18079407513141632, 0.05986488610506058, 0.3756670653820038, -0.09990992397069931, -0.687384307384491, 0.14872612059116364, 0.18579913675785065, -0.026587260887026787, 0.2757096290588379, -0.05878081172704697, 0.31768083572387695, -0.0037171372678130865, 0.27705347537994385, 0.44491297006607056, -0.18898063898086548, 0.10294514894485474, -0.16697944700717926, -0.10843320935964584, 0.4442934989929199, 0.17635902762413025, -0.06822953373193741, -0.23171232640743256, 0.2197365015745163, 0.26970037817955017, 0.4467737674713135, -0.04963941127061844, 0.14122480154037476, 0.047216158360242844, -0.17413154244422913, -0.20902849733829498, 0.18808656930923462, 0.05045498535037041, -0.1736012101173401, -0.06629298627376556, -0.5153449773788452, 0.32558348774909973, -0.1494583934545517, -0.20567837357521057, -0.04605410248041153, -0.3586044907569885, -0.20071890950202942, -0.21568195521831512, 0.28300800919532776, 0.1046171560883522, -0.14620110392570496, 0.36212536692619324, 0.07190357148647308, -0.16584354639053345, 0.10678870975971222, -0.1600494086742401, -0.17755438387393951, 0.1791875809431076, -0.14478053152561188, -0.1255916953086853, 0.09597066044807434, 0.42945557832717896, -0.11016421020030975, -0.1867000162601471, 0.02727908454835415, -0.07694447040557861, 0.11634510010480881, 0.2488977611064911, -0.06717076152563095, -0.2864955961704254, 0.3928311765193939, -0.2639376223087311, -0.09565383195877075, 0.024220310151576996, -0.06834427267313004, -0.009530487470328808, 0.17961955070495605, 0.282508909702301, 0.017593232914805412, 0.08406031876802444, 0.12274430692195892, -0.045568376779556274, 0.5054420232772827, -0.16496823728084564, 0.15986941754817963, -0.5233190059661865, 0.3021073341369629, -0.15465649962425232, 0.013599350117146969, 0.21005895733833313, -0.14669209718704224, 0.5273836851119995, 0.7708613276481628, 0.1742023229598999, 0.28194135427474976, -0.04770766198635101, 0.12559445202350616, 0.09222475439310074, 0.0277450792491436, 0.3838152289390564, 0.006914464756846428, 0.0987556055188179, 0.3870600163936615, -0.37932702898979187, 0.2716882526874542, -0.1507750302553177, -0.10975884646177292, -0.14145350456237793, -0.22554726898670197, 0.311044305562973, 0.04396145045757294, -0.04412075877189636, -0.39672690629959106, 0.27148720622062683, 0.21867476403713226, 0.09977979212999344, 0.15804195404052734, 0.1843637079000473, -0.5033064484596252, -0.2513091266155243, -0.07073414325714111, -0.21540266275405884, -0.20466843247413635, -0.05132496356964111, 0.3248487710952759, -0.4352317452430725, -0.0758780911564827, 0.30696403980255127, 0.3249364197254181, -0.01623438484966755, -0.08216634392738342, -0.03322838991880417, -0.0036940639838576317, -0.22348177433013916, -0.208680659532547, 0.24948564171791077, 0.20353621244430542, 0.06702782213687897, 0.26776233315467834, -0.5815499424934387, -0.2991388738155365, -0.11720489710569382, -0.3409353494644165, 0.28181350231170654, -0.16838081181049347, -0.0932147353887558, -0.028325317427515984, 0.1149156391620636, -0.039032723754644394, -0.20163992047309875, 0.32450827956199646, 0.19902601838111877, -0.18798626959323883, 0.20817916095256805, -0.2328907698392868, -0.03790207952260971, -0.14411374926567078, -0.548236072063446, -0.5101974606513977, -0.30861610174179077, -0.3091694414615631, -0.05321916565299034, 0.26206400990486145, -0.37320688366889954, -0.08640488237142563, -0.2468278855085373, -0.18546727299690247, 0.08712435513734818, -0.17793530225753784, -0.050290413200855255, 0.1787234991788864, -0.3579776883125305, -0.38211196660995483, -0.08030330389738083, -0.006268701981753111, 0.5911732912063599, -0.07886853069067001, -0.19336822628974915, 0.4028458893299103, -0.14004680514335632, -0.01146106980741024, -0.00558165367692709, -0.0018193817231804132, 0.32694584131240845, -0.008478478528559208, -0.008925641886889935, -0.2301826924085617, 0.1430603414773941, 0.14838537573814392, -0.07362835854291916, 0.44458526372909546, -0.21394729614257812, 0.32078689336776733, 0.20501455664634705, 0.3442288339138031, 0.33364543318748474, 0.02668253518640995, 0.292731910943985, -0.042550213634967804, -0.01036260835826397, -0.3678148686885834, -0.16804590821266174, 0.24059315025806427, 0.2079441249370575, 0.09124641120433807, 0.34089916944503784, 0.04948093369603157, -0.324739009141922, 0.019279710948467255, -0.02106272242963314, -0.41064900159835815, -0.43596208095550537, 0.09155473858118057, 0.05660325288772583, 0.27854326367378235, 0.28249603509902954, -0.18148356676101685, 0.007596233393996954, 0.020800605416297913, -0.06322773545980453, 0.11722730100154877, -0.21550337970256805, 0.07853645086288452, -0.15509642660617828, -0.25045502185821533, -0.3553707003593445, 0.12968717515468597, 0.016651200130581856, 0.17839419841766357, -0.4520682990550995, -0.2526884377002716, 0.22008123993873596, 0.007142809685319662, 0.4451773464679718, -0.04859313368797302, 0.004111718852072954, 0.007748268079012632, 0.06771649420261383, 0.11244069784879684, 0.11243020743131638, -0.208388090133667, 0.026038283482193947, 0.41650304198265076, -0.15051203966140747, -0.5471808910369873, 0.019582392647862434, -0.08212591707706451, 0.4292023181915283, -0.12586870789527893, 0.1625537872314453, -0.3121931254863739, -0.3338365852832794, -0.3041069209575653, 0.015841044485569, 0.1785869002342224, -0.00961605180054903, 0.09864803403615952, -0.4419214427471161, -0.07758426666259766, -0.14865465462207794, 0.05175947770476341, 0.3064740300178528, 0.3006998598575592, -0.21274355053901672, 0.1494012027978897, -0.3074442148208618, -0.07425066828727722, 0.3595867156982422, 0.6835296750068665, 0.009016668424010277, -0.31792375445365906, 0.2892453670501709, -0.5736500024795532, 0.09400200843811035, 0.1046028658747673, 0.04929885268211365, 0.07603884488344193, -0.06665240973234177, 0.1041434109210968, -0.011973777785897255, -0.10110948979854584, 0.4476225674152374, 0.013007955625653267, -0.42046675086021423, -0.0019647665321826935, -0.18432055413722992, -0.21486343443393707, -0.08636940270662308, 0.32902956008911133, 0.1367124319076538, -0.2162414938211441, 0.5243263244628906, -0.12385573238134384, 0.8108199834823608, -0.08702402561903, 0.21958106756210327, 0.1596558541059494, 0.19141504168510437, 0.06747405230998993, -0.04404595494270325, -0.048407409340143204, -0.15177175402641296, 0.09099503606557846, -0.11679589748382568, 0.19992142915725708, 0.175918310880661, 0.28025686740875244, -0.37932759523391724, -0.09485698491334915, -0.09083975851535797, -0.2770037055015564, -0.03508518263697624, -0.12728451192378998, -0.12216110527515411, -0.14661236107349396, -0.1774788498878479, 0.127772718667984, 0.11450351029634476, 0.06920143216848373, 0.05922669172286987, -0.14657729864120483, -0.08982688933610916, -0.2107134759426117, -0.00754418084397912, -0.0067225852981209755, -0.1606069654226303, 0.021301697939634323, 0.07866959273815155, -0.5976353883743286, 0.17401954531669617, 0.24043621122837067, 0.3903324604034424, 0.21697671711444855, 0.005865692161023617, 0.3174918591976166, 0.21749578416347504, -0.045342929661273956, -0.013727000914514065, -0.14413106441497803, 0.12465502321720123, -0.1102139875292778, -0.2689148485660553, -0.06874518096446991, 0.0955675020813942, 0.014155998826026917, -0.047171927988529205, 0.29416343569755554, 0.0525713674724102, -0.20636796951293945, 0.017239494249224663, 0.03026249073445797, 0.012865380384027958, -0.23217026889324188, 0.21754691004753113, 0.06789222359657288, 0.0017307765083387494, 0.17771857976913452, -0.283176451921463, -0.25148633122444153, -0.3724483549594879, -0.017389025539159775, 0.31562143564224243, 0.44022154808044434, 0.38697540760040283, 0.0681283101439476, -0.11938874423503876, -0.32295525074005127, 0.19682301580905914, -0.0017519512912258506, -0.43381568789482117, 0.012639464810490608, 0.10541535168886185, -0.25072360038757324, -0.07535417377948761, 0.32131725549697876, -0.24042858183383942, 0.09362579137086868, -0.27809637784957886, -0.282948762178421, 0.03225351870059967, 0.1361856460571289, -0.10078228265047073, -0.14855265617370605, 0.26700127124786377, 0.33087295293807983, 0.02243877202272415, 0.5704273581504822, -0.3474230468273163, 0.060684684664011, -0.22836454212665558, 0.27779290080070496, -0.28275054693222046, -0.04307262971997261, 0.10422710329294205, 0.04708307981491089, 0.12135796993970871, -0.01539214700460434, 0.17663289606571198, -0.3348099887371063, -0.05808670073747635, 0.12102308869361877, 0.12858276069164276, 0.30571290850639343, 0.0847880095243454, -0.08882325887680054, -0.11213501542806625, 0.004929935093969107, 0.2640833258628845, -0.07766938209533691, 0.15176764130592346, 0.24575674533843994, 0.09033846110105515, 0.010292546823620796, -0.19318564236164093, 0.08108864724636078, -0.06735645979642868, -0.00015314454503823072, -0.04008282348513603, 0.0644858181476593, -0.24221345782279968, -0.12954452633857727, -0.029263649135828018, 0.08828459680080414, 0.09582661837339401, 0.01590932160615921, 0.17362676560878754, -0.1238507330417633, 0.25306934118270874, -0.06712634861469269, 0.03532470017671585, 0.13074690103530884, -0.1335761398077011, -0.10688944905996323, 0.24227632582187653, 0.18803204596042633, -0.38177406787872314, -0.15720035135746002, -0.1556137651205063, -0.23032456636428833, 0.3222527801990509, 0.16856099665164948, 0.11109382659196854, -0.15242286026477814, 0.466416597366333, -0.20354396104812622, 0.08981620520353317, -0.46118229627609253, 0.020038936287164688, 0.5156068205833435, -0.187764510512352, 0.2631324827671051, 0.23561902344226837, -0.2891482710838318, -0.09374133497476578, 0.2233528196811676, -0.21517613530158997, 0.16305793821811676, -0.016109876334667206, -0.055730316787958145, 0.07904130965471268, -0.24385161697864532, -0.0866117998957634, -0.09074170887470245, 0.03904165327548981, -0.015906857326626778, 0.23953652381896973, 0.19632205367088318, -0.1356433779001236, -0.13595306873321533, -0.13700823485851288, -0.02879452332854271, 0.039642203599214554, -0.01996857300400734, -0.1343591958284378, -0.025639744475483894, 0.07003647834062576, -0.22109392285346985, -0.08283327519893646, 0.24025772511959076, 0.14444801211357117, 0.09024442732334137, 0.041275184601545334, -0.15945616364479065, 0.11622526496648788, -0.23242232203483582, -0.27051806449890137, 0.006803843192756176, 0.46258774399757385, 0.14672720432281494, -0.0010586157441139221, 0.18776248395442963, 0.41047564148902893, 0.011465982533991337, -0.04577403515577316, -0.13160187005996704, 0.024467196315526962, -0.22573170065879822, -0.22714738547801971, -0.20321111381053925, 0.41185134649276733, 0.15058326721191406, 0.18898622691631317, 0.26798033714294434, 0.2176901400089264, -0.22971591353416443, -0.2570821940898895, 0.3576108515262604, -0.04385974630713463, 0.17417825758457184, 0.414044588804245, -0.4045644998550415, 0.08199905604124069, -0.21760068833827972, -0.09007976949214935, -0.5777084827423096, -0.12753161787986755, -0.01575956493616104, -0.36863523721694946, 0.21475660800933838, -0.3005814552307129, 0.11266728490591049, 0.1444181203842163, 0.41137123107910156, -0.1753823608160019, 0.31933480501174927, -0.022320322692394257, -0.1927393674850464, -0.3999359905719757, 0.42314133048057556, -0.18698886036872864, -0.01873486116528511, -0.3271940350532532, 0.3459238111972809, 0.39498913288116455, 0.17369090020656586, 0.3501834571361542, 0.06795530021190643, -0.04112749919295311, 0.07938288152217865, -0.25782108306884766, -0.07390706241130829, -0.3362444043159485, 0.3663944900035858, -0.22832393646240234, -0.37181949615478516, 0.44743773341178894, 0.022688357159495354, 0.1090037003159523, 0.05847474932670593, -0.19653940200805664, 0.08906327933073044, 0.11807949841022491, 0.005551157984882593, 0.390705406665802, 0.1754159927368164, -0.454473078250885, -0.007792522199451923, -0.020707974210381508, -0.22523821890354156, -0.1913653314113617, 0.4419497549533844, 0.2881375253200531, 0.01749805547297001, -0.23686012625694275, -0.16380806267261505, 0.007415488362312317, 0.49866798520088196, 0.0991261750459671, 0.14085035026073456, 0.028566615656018257, 0.2995961010456085, 0.368381142616272, -0.006748143117874861, 0.41263777017593384, 0.44540587067604065, 0.014885775744915009, -0.2836494743824005, -0.12319885939359665, -0.36159971356391907, -0.17097891867160797, -0.10541989654302597, -0.18250055611133575, 0.13846947252750397, -0.04405369609594345, 0.11643633991479874, -0.008973518386483192, -0.20091435313224792, 0.10015829652547836, 0.20304538309574127, -0.030523162335157394, 0.11164876818656921, 0.1948474794626236, 0.23755797743797302, -0.10400445759296417, -0.20463502407073975, 0.5139865279197693, 0.34646621346473694, -0.21812252700328827, 0.1941303014755249, 0.02685209922492504 ]
https://github.com/huggingface/datasets/issues/2132
TydiQA dataset is mixed and is not split per language
Hi thank you very much for the great response, this will be really wonderful to have one configuration per language, as one need the dataset in majority of case per language for cross-lingual evaluations. This becomes also then more close to TFDS format, which is separated per language https://www.tensorflow.org/datasets/catalog/tydi_qa which will be really awesome to have. thanks On Mon, Mar 29, 2021 at 6:17 PM Quentin Lhoest ***@***.***> wrote: > You can filter the languages this way: > > tydiqa_en = tydiqa_dataset.filter(lambda x: x["language"] == "english") > > Otherwise maybe we can have one configuration per language ? > What do you think of this for example ? > > load_dataset("tydiqa", "primary_task.en") > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/huggingface/datasets/issues/2132#issuecomment-809516799>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AS37NMXPW2PWSQ2RHG73O7TTGCY4LANCNFSM4Z7ER7IA> > . >
Hi @lhoestq Currently TydiQA is mixed and user can only access the whole training set of all languages: https://www.tensorflow.org/datasets/catalog/tydi_qa for using this dataset, one need to train/evaluate in each separate language, and having them mixed, makes it hard to use this dataset. This is much convenient for user to have them split and I appreciate your help on this. Meanwhile, till hopefully this is split per language, I greatly appreciate telling me how I can preprocess and get data per language. thanks a lot
145
TydiQA dataset is mixed and is not split per language
[ -0.1909470111131668, -0.12866471707820892, -0.1562698930501938, 0.2635510563850403, 0.1261909008026123, -0.035679057240486145, 0.34338244795799255, 0.24092182517051697, -0.1765751838684082, -0.05150477960705757, -0.234826922416687, 0.007658987771719694, 0.21384333074092865, 0.3898856043815613, -0.04463396221399307, -0.06896542757749557, -0.10580088198184967, 0.062338169664144516, -0.1465291678905487, -0.14482711255550385, 0.05166110023856163, 0.4418661296367645, -0.1421143114566803, -0.14192882180213928, -0.04107121005654335, -0.2275751531124115, 0.0044612274505198, -0.025902176275849342, -0.21581687033176422, 0.13644535839557648, 0.12355686724185944, 0.005407564342021942, -0.016763757914304733, 0.22906309366226196, -0.00010499278141651303, -0.0016835950082167983, -0.08782748878002167, -0.33066800236701965, -0.04832196980714798, 0.14622022211551666, -0.2278069704771042, -0.09433560073375702, -0.21424536406993866, -0.13046972453594208, -0.2523708641529083, -0.014297589659690857, -0.035973839461803436, -0.2862965166568756, 0.27944234013557434, 0.2165362685918808, 0.2208433747291565, 0.08262389898300171, -0.054099492728710175, 0.07544058561325073, 0.04696643725037575, 0.06678351014852524, -0.14378947019577026, -0.093626968562603, 0.28314170241355896, 0.07835162431001663, 0.027837123721837997, 0.289259672164917, 0.2553755044937134, 0.0015604901127517223, -0.5084143877029419, -0.04320177808403969, -0.1323215663433075, -0.33128246665000916, 0.34979891777038574, 0.43799182772636414, 0.48386698961257935, -0.09943769872188568, -0.18395745754241943, 0.07844100147485733, -0.17402954399585724, -0.006251228973269463, 0.2305191159248352, 0.48349615931510925, 0.08000262081623077, 0.1814965456724167, 0.4407418370246887, 0.24891424179077148, 0.02377796173095703, -0.017312010750174522, -0.514636754989624, 0.2958669364452362, -0.012827923521399498, -0.03282608464360237, -0.051237802952528, -0.032177940011024475, 0.13280974328517914, 0.20918333530426025, -0.2131831794977188, 0.0553576685488224, -0.21734629571437836, -0.22442850470542908, 0.060668397694826126, -0.13742727041244507, 0.2026788890361786, -0.4786967635154724, 0.055832039564847946, 0.2659417986869812, -0.08895361423492432, 0.04034889116883278, 0.3655879497528076, -0.1233791708946228, 0.18874472379684448, 0.3104463219642639, 0.14043311774730682, -0.1537000685930252, -0.12139784544706345, 0.09758590906858444, 0.11179585009813309, -0.33196282386779785, -0.40981850028038025, 0.10607249289751053, -0.007233459502458572, -0.08459706604480743, -0.3189323842525482, -0.10358354449272156, 0.02373497001826763, -0.2632063031196594, -0.09331069886684418, 0.2198333889245987, 0.18587373197078705, -0.15858174860477448, -0.19431988894939423, 0.36302193999290466, -0.4089650809764862, -0.49666962027549744, -0.28612250089645386, -0.143070250749588, -0.07314103841781616, -0.22433753311634064, -0.0010344177717342973, 0.42624717950820923, -0.009258555248379707, -0.02270197868347168, 0.08242084085941315, 0.019266534596681595, 0.048939794301986694, -0.20250333845615387, 0.29803478717803955, 0.060583919286727905, 0.23250889778137207, 0.32371532917022705, 0.16338181495666504, -0.23451600968837738, -0.32216641306877136, 0.00600854679942131, -0.26272115111351013, -0.035821788012981415, -0.1341782510280609, 0.24066823720932007, 0.32710498571395874, 0.1128401979804039, 0.28715384006500244, 0.39174988865852356, 0.509016215801239, -0.2342023402452469, 0.03054821491241455, -0.012340251356363297, 0.0929599478840828, -0.035543043166399, 0.021051550284028053, 0.25747814774513245, -0.5678387880325317, -0.1540299952030182, 0.14819537103176117, -0.2899118959903717, 0.5147278904914856, 0.46400052309036255, 0.07174355536699295, 0.09961755573749542, -0.18079407513141632, 0.05986488610506058, 0.3756670653820038, -0.09990992397069931, -0.687384307384491, 0.14872612059116364, 0.18579913675785065, -0.026587260887026787, 0.2757096290588379, -0.05878081172704697, 0.31768083572387695, -0.0037171372678130865, 0.27705347537994385, 0.44491297006607056, -0.18898063898086548, 0.10294514894485474, -0.16697944700717926, -0.10843320935964584, 0.4442934989929199, 0.17635902762413025, -0.06822953373193741, -0.23171232640743256, 0.2197365015745163, 0.26970037817955017, 0.4467737674713135, -0.04963941127061844, 0.14122480154037476, 0.047216158360242844, -0.17413154244422913, -0.20902849733829498, 0.18808656930923462, 0.05045498535037041, -0.1736012101173401, -0.06629298627376556, -0.5153449773788452, 0.32558348774909973, -0.1494583934545517, -0.20567837357521057, -0.04605410248041153, -0.3586044907569885, -0.20071890950202942, -0.21568195521831512, 0.28300800919532776, 0.1046171560883522, -0.14620110392570496, 0.36212536692619324, 0.07190357148647308, -0.16584354639053345, 0.10678870975971222, -0.1600494086742401, -0.17755438387393951, 0.1791875809431076, -0.14478053152561188, -0.1255916953086853, 0.09597066044807434, 0.42945557832717896, -0.11016421020030975, -0.1867000162601471, 0.02727908454835415, -0.07694447040557861, 0.11634510010480881, 0.2488977611064911, -0.06717076152563095, -0.2864955961704254, 0.3928311765193939, -0.2639376223087311, -0.09565383195877075, 0.024220310151576996, -0.06834427267313004, -0.009530487470328808, 0.17961955070495605, 0.282508909702301, 0.017593232914805412, 0.08406031876802444, 0.12274430692195892, -0.045568376779556274, 0.5054420232772827, -0.16496823728084564, 0.15986941754817963, -0.5233190059661865, 0.3021073341369629, -0.15465649962425232, 0.013599350117146969, 0.21005895733833313, -0.14669209718704224, 0.5273836851119995, 0.7708613276481628, 0.1742023229598999, 0.28194135427474976, -0.04770766198635101, 0.12559445202350616, 0.09222475439310074, 0.0277450792491436, 0.3838152289390564, 0.006914464756846428, 0.0987556055188179, 0.3870600163936615, -0.37932702898979187, 0.2716882526874542, -0.1507750302553177, -0.10975884646177292, -0.14145350456237793, -0.22554726898670197, 0.311044305562973, 0.04396145045757294, -0.04412075877189636, -0.39672690629959106, 0.27148720622062683, 0.21867476403713226, 0.09977979212999344, 0.15804195404052734, 0.1843637079000473, -0.5033064484596252, -0.2513091266155243, -0.07073414325714111, -0.21540266275405884, -0.20466843247413635, -0.05132496356964111, 0.3248487710952759, -0.4352317452430725, -0.0758780911564827, 0.30696403980255127, 0.3249364197254181, -0.01623438484966755, -0.08216634392738342, -0.03322838991880417, -0.0036940639838576317, -0.22348177433013916, -0.208680659532547, 0.24948564171791077, 0.20353621244430542, 0.06702782213687897, 0.26776233315467834, -0.5815499424934387, -0.2991388738155365, -0.11720489710569382, -0.3409353494644165, 0.28181350231170654, -0.16838081181049347, -0.0932147353887558, -0.028325317427515984, 0.1149156391620636, -0.039032723754644394, -0.20163992047309875, 0.32450827956199646, 0.19902601838111877, -0.18798626959323883, 0.20817916095256805, -0.2328907698392868, -0.03790207952260971, -0.14411374926567078, -0.548236072063446, -0.5101974606513977, -0.30861610174179077, -0.3091694414615631, -0.05321916565299034, 0.26206400990486145, -0.37320688366889954, -0.08640488237142563, -0.2468278855085373, -0.18546727299690247, 0.08712435513734818, -0.17793530225753784, -0.050290413200855255, 0.1787234991788864, -0.3579776883125305, -0.38211196660995483, -0.08030330389738083, -0.006268701981753111, 0.5911732912063599, -0.07886853069067001, -0.19336822628974915, 0.4028458893299103, -0.14004680514335632, -0.01146106980741024, -0.00558165367692709, -0.0018193817231804132, 0.32694584131240845, -0.008478478528559208, -0.008925641886889935, -0.2301826924085617, 0.1430603414773941, 0.14838537573814392, -0.07362835854291916, 0.44458526372909546, -0.21394729614257812, 0.32078689336776733, 0.20501455664634705, 0.3442288339138031, 0.33364543318748474, 0.02668253518640995, 0.292731910943985, -0.042550213634967804, -0.01036260835826397, -0.3678148686885834, -0.16804590821266174, 0.24059315025806427, 0.2079441249370575, 0.09124641120433807, 0.34089916944503784, 0.04948093369603157, -0.324739009141922, 0.019279710948467255, -0.02106272242963314, -0.41064900159835815, -0.43596208095550537, 0.09155473858118057, 0.05660325288772583, 0.27854326367378235, 0.28249603509902954, -0.18148356676101685, 0.007596233393996954, 0.020800605416297913, -0.06322773545980453, 0.11722730100154877, -0.21550337970256805, 0.07853645086288452, -0.15509642660617828, -0.25045502185821533, -0.3553707003593445, 0.12968717515468597, 0.016651200130581856, 0.17839419841766357, -0.4520682990550995, -0.2526884377002716, 0.22008123993873596, 0.007142809685319662, 0.4451773464679718, -0.04859313368797302, 0.004111718852072954, 0.007748268079012632, 0.06771649420261383, 0.11244069784879684, 0.11243020743131638, -0.208388090133667, 0.026038283482193947, 0.41650304198265076, -0.15051203966140747, -0.5471808910369873, 0.019582392647862434, -0.08212591707706451, 0.4292023181915283, -0.12586870789527893, 0.1625537872314453, -0.3121931254863739, -0.3338365852832794, -0.3041069209575653, 0.015841044485569, 0.1785869002342224, -0.00961605180054903, 0.09864803403615952, -0.4419214427471161, -0.07758426666259766, -0.14865465462207794, 0.05175947770476341, 0.3064740300178528, 0.3006998598575592, -0.21274355053901672, 0.1494012027978897, -0.3074442148208618, -0.07425066828727722, 0.3595867156982422, 0.6835296750068665, 0.009016668424010277, -0.31792375445365906, 0.2892453670501709, -0.5736500024795532, 0.09400200843811035, 0.1046028658747673, 0.04929885268211365, 0.07603884488344193, -0.06665240973234177, 0.1041434109210968, -0.011973777785897255, -0.10110948979854584, 0.4476225674152374, 0.013007955625653267, -0.42046675086021423, -0.0019647665321826935, -0.18432055413722992, -0.21486343443393707, -0.08636940270662308, 0.32902956008911133, 0.1367124319076538, -0.2162414938211441, 0.5243263244628906, -0.12385573238134384, 0.8108199834823608, -0.08702402561903, 0.21958106756210327, 0.1596558541059494, 0.19141504168510437, 0.06747405230998993, -0.04404595494270325, -0.048407409340143204, -0.15177175402641296, 0.09099503606557846, -0.11679589748382568, 0.19992142915725708, 0.175918310880661, 0.28025686740875244, -0.37932759523391724, -0.09485698491334915, -0.09083975851535797, -0.2770037055015564, -0.03508518263697624, -0.12728451192378998, -0.12216110527515411, -0.14661236107349396, -0.1774788498878479, 0.127772718667984, 0.11450351029634476, 0.06920143216848373, 0.05922669172286987, -0.14657729864120483, -0.08982688933610916, -0.2107134759426117, -0.00754418084397912, -0.0067225852981209755, -0.1606069654226303, 0.021301697939634323, 0.07866959273815155, -0.5976353883743286, 0.17401954531669617, 0.24043621122837067, 0.3903324604034424, 0.21697671711444855, 0.005865692161023617, 0.3174918591976166, 0.21749578416347504, -0.045342929661273956, -0.013727000914514065, -0.14413106441497803, 0.12465502321720123, -0.1102139875292778, -0.2689148485660553, -0.06874518096446991, 0.0955675020813942, 0.014155998826026917, -0.047171927988529205, 0.29416343569755554, 0.0525713674724102, -0.20636796951293945, 0.017239494249224663, 0.03026249073445797, 0.012865380384027958, -0.23217026889324188, 0.21754691004753113, 0.06789222359657288, 0.0017307765083387494, 0.17771857976913452, -0.283176451921463, -0.25148633122444153, -0.3724483549594879, -0.017389025539159775, 0.31562143564224243, 0.44022154808044434, 0.38697540760040283, 0.0681283101439476, -0.11938874423503876, -0.32295525074005127, 0.19682301580905914, -0.0017519512912258506, -0.43381568789482117, 0.012639464810490608, 0.10541535168886185, -0.25072360038757324, -0.07535417377948761, 0.32131725549697876, -0.24042858183383942, 0.09362579137086868, -0.27809637784957886, -0.282948762178421, 0.03225351870059967, 0.1361856460571289, -0.10078228265047073, -0.14855265617370605, 0.26700127124786377, 0.33087295293807983, 0.02243877202272415, 0.5704273581504822, -0.3474230468273163, 0.060684684664011, -0.22836454212665558, 0.27779290080070496, -0.28275054693222046, -0.04307262971997261, 0.10422710329294205, 0.04708307981491089, 0.12135796993970871, -0.01539214700460434, 0.17663289606571198, -0.3348099887371063, -0.05808670073747635, 0.12102308869361877, 0.12858276069164276, 0.30571290850639343, 0.0847880095243454, -0.08882325887680054, -0.11213501542806625, 0.004929935093969107, 0.2640833258628845, -0.07766938209533691, 0.15176764130592346, 0.24575674533843994, 0.09033846110105515, 0.010292546823620796, -0.19318564236164093, 0.08108864724636078, -0.06735645979642868, -0.00015314454503823072, -0.04008282348513603, 0.0644858181476593, -0.24221345782279968, -0.12954452633857727, -0.029263649135828018, 0.08828459680080414, 0.09582661837339401, 0.01590932160615921, 0.17362676560878754, -0.1238507330417633, 0.25306934118270874, -0.06712634861469269, 0.03532470017671585, 0.13074690103530884, -0.1335761398077011, -0.10688944905996323, 0.24227632582187653, 0.18803204596042633, -0.38177406787872314, -0.15720035135746002, -0.1556137651205063, -0.23032456636428833, 0.3222527801990509, 0.16856099665164948, 0.11109382659196854, -0.15242286026477814, 0.466416597366333, -0.20354396104812622, 0.08981620520353317, -0.46118229627609253, 0.020038936287164688, 0.5156068205833435, -0.187764510512352, 0.2631324827671051, 0.23561902344226837, -0.2891482710838318, -0.09374133497476578, 0.2233528196811676, -0.21517613530158997, 0.16305793821811676, -0.016109876334667206, -0.055730316787958145, 0.07904130965471268, -0.24385161697864532, -0.0866117998957634, -0.09074170887470245, 0.03904165327548981, -0.015906857326626778, 0.23953652381896973, 0.19632205367088318, -0.1356433779001236, -0.13595306873321533, -0.13700823485851288, -0.02879452332854271, 0.039642203599214554, -0.01996857300400734, -0.1343591958284378, -0.025639744475483894, 0.07003647834062576, -0.22109392285346985, -0.08283327519893646, 0.24025772511959076, 0.14444801211357117, 0.09024442732334137, 0.041275184601545334, -0.15945616364479065, 0.11622526496648788, -0.23242232203483582, -0.27051806449890137, 0.006803843192756176, 0.46258774399757385, 0.14672720432281494, -0.0010586157441139221, 0.18776248395442963, 0.41047564148902893, 0.011465982533991337, -0.04577403515577316, -0.13160187005996704, 0.024467196315526962, -0.22573170065879822, -0.22714738547801971, -0.20321111381053925, 0.41185134649276733, 0.15058326721191406, 0.18898622691631317, 0.26798033714294434, 0.2176901400089264, -0.22971591353416443, -0.2570821940898895, 0.3576108515262604, -0.04385974630713463, 0.17417825758457184, 0.414044588804245, -0.4045644998550415, 0.08199905604124069, -0.21760068833827972, -0.09007976949214935, -0.5777084827423096, -0.12753161787986755, -0.01575956493616104, -0.36863523721694946, 0.21475660800933838, -0.3005814552307129, 0.11266728490591049, 0.1444181203842163, 0.41137123107910156, -0.1753823608160019, 0.31933480501174927, -0.022320322692394257, -0.1927393674850464, -0.3999359905719757, 0.42314133048057556, -0.18698886036872864, -0.01873486116528511, -0.3271940350532532, 0.3459238111972809, 0.39498913288116455, 0.17369090020656586, 0.3501834571361542, 0.06795530021190643, -0.04112749919295311, 0.07938288152217865, -0.25782108306884766, -0.07390706241130829, -0.3362444043159485, 0.3663944900035858, -0.22832393646240234, -0.37181949615478516, 0.44743773341178894, 0.022688357159495354, 0.1090037003159523, 0.05847474932670593, -0.19653940200805664, 0.08906327933073044, 0.11807949841022491, 0.005551157984882593, 0.390705406665802, 0.1754159927368164, -0.454473078250885, -0.007792522199451923, -0.020707974210381508, -0.22523821890354156, -0.1913653314113617, 0.4419497549533844, 0.2881375253200531, 0.01749805547297001, -0.23686012625694275, -0.16380806267261505, 0.007415488362312317, 0.49866798520088196, 0.0991261750459671, 0.14085035026073456, 0.028566615656018257, 0.2995961010456085, 0.368381142616272, -0.006748143117874861, 0.41263777017593384, 0.44540587067604065, 0.014885775744915009, -0.2836494743824005, -0.12319885939359665, -0.36159971356391907, -0.17097891867160797, -0.10541989654302597, -0.18250055611133575, 0.13846947252750397, -0.04405369609594345, 0.11643633991479874, -0.008973518386483192, -0.20091435313224792, 0.10015829652547836, 0.20304538309574127, -0.030523162335157394, 0.11164876818656921, 0.1948474794626236, 0.23755797743797302, -0.10400445759296417, -0.20463502407073975, 0.5139865279197693, 0.34646621346473694, -0.21812252700328827, 0.1941303014755249, 0.02685209922492504 ]
https://github.com/huggingface/datasets/issues/2131
When training with Multi-Node Multi-GPU the worker 2 has TypeError: 'NoneType' object
Hi ! Thanks for reporting I was able to reproduce this issue. This was caused by missing split infos if a worker reloads the cache of the other worker. I just opened https://github.com/huggingface/datasets/pull/2137 to fix this issue
version: 1.5.0 met a very strange error, I am training large scale language model, and need train on 2 machines(workers). And sometimes I will get this error `TypeError: 'NoneType' object is not iterable` This is traceback ``` 71 |   | Traceback (most recent call last): -- | -- | -- 72 |   | File "run_gpt.py", line 316, in <module> 73 |   | main() 74 |   | File "run_gpt.py", line 222, in main 75 |   | delimiter="\t", column_names=["input_ids", "attention_mask", "chinese_ref"]) 76 |   | File "/data/miniconda3/lib/python3.7/site-packages/datasets/load.py", line 747, in load_dataset 77 |   | use_auth_token=use_auth_token, 78 |   | File "/data/miniconda3/lib/python3.7/site-packages/datasets/builder.py", line 513, in download_and_prepare 79 |   | self.download_post_processing_resources(dl_manager) 80 |   | File "/data/miniconda3/lib/python3.7/site-packages/datasets/builder.py", line 673, in download_post_processing_resources 81 |   | for split in self.info.splits: 82 |   | TypeError: 'NoneType' object is not iterable 83 |   | WARNING:datasets.builder:Reusing dataset csv (/usr/local/app/.cache/huggingface/datasets/csv/default-1c257ebd48e225e7/0.0.0/2960f95a26e85d40ca41a230ac88787f715ee3003edaacb8b1f0891e9f04dda2) 84 |   | Traceback (most recent call last): 85 |   | File "/data/miniconda3/lib/python3.7/runpy.py", line 193, in _run_module_as_main 86 |   | "__main__", mod_spec) 87 |   | File "/data/miniconda3/lib/python3.7/runpy.py", line 85, in _run_code 88 |   | exec(code, run_globals) 89 |   | File "/data/miniconda3/lib/python3.7/site-packages/torch/distributed/launch.py", line 340, in <module> 90 |   | main() 91 |   | File "/data/miniconda3/lib/python3.7/site-packages/torch/distributed/launch.py", line 326, in main 92 |   | sigkill_handler(signal.SIGTERM, None) # not coming back 93 |   | File "/data/miniconda3/lib/python3.7/site-packages/torch/distributed/launch.py", line 301, in sigkill_handler 94 |   | raise subprocess.CalledProcessError(returncode=last_return_code, cmd=cmd) ``` On worker 1 it loads the dataset well, however on worker 2 will get this error. And I will meet this error from time to time, sometimes it just goes well.
37
When training with Multi-Node Multi-GPU the worker 2 has TypeError: 'NoneType' object
[ -0.18809948861598969, -0.23397818207740784, -0.06949525326490402, 0.23602327704429626, 0.23503990471363068, -0.12536665797233582, 0.4766896963119507, 0.3657529056072235, 0.18310943245887756, 0.21543976664543152, 0.33514103293418884, 0.3152008056640625, -0.10194604843854904, 0.3197213113307953, 0.025794928893446922, -0.32248833775520325, -0.06841243803501129, 0.10075177997350693, -0.22343051433563232, -0.23574377596378326, -0.17825791239738464, 0.20455767214298248, 0.12710312008857727, 0.22327570617198944, -0.6950470209121704, -0.2969171404838562, 0.13766193389892578, 0.17407144606113434, 0.12196497619152069, -0.0857323482632637, 0.17336180806159973, -0.10596499592065811, 0.15381203591823578, 0.6136708855628967, -0.00010055536404252052, 0.22882485389709473, 0.09877480566501617, 0.06682391464710236, 0.002233917359262705, -0.1924457997083664, 0.08311109244823456, -0.15253053605556488, 0.02865716442465782, -0.21053126454353333, -0.3928817808628082, -0.16690562665462494, 0.2299811691045761, 0.03883376717567444, -0.008669116534292698, 0.23832707107067108, 0.2874847650527954, 0.32502514123916626, 0.22984784841537476, -0.18789497017860413, -0.12725766003131866, -0.10825630277395248, -0.08811874687671661, -0.28506141901016235, -0.06458676606416702, -0.005618640687316656, -0.0519682914018631, 0.42141395807266235, 0.11922954767942429, 0.2118837982416153, -0.031086666509509087, 0.021446920931339264, 0.3632579743862152, -0.2955189645290375, 0.08835218101739883, 0.15035317838191986, -0.19918973743915558, 0.08333110064268112, -0.01276129949837923, 0.10576419532299042, 0.16368839144706726, -0.06930702179670334, 0.17233522236347198, 0.26833051443099976, -0.04530257731676102, -0.04540283977985382, -0.12352921813726425, 0.012831877917051315, -0.36863648891448975, -0.013193333521485329, -0.004201332572847605, 0.20158803462982178, -0.01020385418087244, 0.2284943014383316, 0.1379525512456894, 0.17027217149734497, 0.23245888948440552, 0.09998419135808945, 0.11487298458814621, -0.28914421796798706, -0.22152647376060486, -0.14079545438289642, 0.14593879878520966, -0.19369657337665558, -0.19997626543045044, 0.03556853532791138, 0.03491213172674179, 0.057709094136953354, 0.05676470696926117, 0.2880932688713074, -0.09861491620540619, -0.3318069577217102, 0.020087366923689842, 0.09413657337427139, 0.17034812271595, 0.1926906555891037, -0.397850900888443, 0.05323250964283943, -0.08119100332260132, -0.3226832449436188, -0.2550247013568878, 0.22429831326007843, 0.3960960805416107, 0.17838267982006073, -0.2265245020389557, -0.11885696649551392, -0.1564336121082306, 0.3005574643611908, 0.10739565640687943, 0.3199300765991211, -0.05801130831241608, 0.3350626826286316, 0.18904390931129456, 0.2766566872596741, -0.17900823056697845, -0.4704079329967499, -0.25880366563796997, 0.24336662888526917, -0.13224691152572632, -0.15869387984275818, 0.12770231068134308, 0.06214449927210808, 0.24037520587444305, -0.06716150045394897, 0.18368491530418396, -0.01378384605050087, 0.42242348194122314, -0.3016231060028076, 0.04738995432853699, 0.24550805985927582, 0.36973246932029724, -0.16556932032108307, 0.22488439083099365, -0.06754851341247559, 0.07046841084957123, -0.03610096499323845, -0.2685493528842926, -0.2841520607471466, -0.06747471541166306, 0.23891086876392365, 0.3235456049442291, 0.12153074890375137, 0.2588822841644287, 0.06391212344169617, 0.2663319408893585, 0.09282857924699783, -0.06810528039932251, -0.23949316143989563, -0.24564151465892792, -0.20455719530582428, -0.12867110967636108, 0.023255685344338417, 0.25269436836242676, -0.09722401946783066, 0.2958013415336609, -0.129120334982872, 0.20837783813476562, 0.3519034683704376, -0.07126152515411377, -0.007095402106642723, 0.10521591454744339, 0.18683363497257233, 0.09545892477035522, -0.2568807005882263, 0.1306009739637375, 0.2383350282907486, -0.14999409019947052, -0.12330666184425354, 0.22942832112312317, -0.10553204268217087, -0.08408945053815842, 0.18078070878982544, 0.24210116267204285, 0.3422386348247528, -0.16667062044143677, 0.14828942716121674, -0.18227840960025787, -0.08064617961645126, 0.19895288348197937, 0.107744961977005, 0.49123042821884155, -0.07357537001371384, -0.2294771522283554, -0.09447038918733597, 0.06110633164644241, -0.3494604825973511, 0.025791851803660393, -0.04552265629172325, 0.05586003139615059, -0.22136950492858887, -0.15762870013713837, 0.10558506846427917, -0.17477479577064514, -0.017953062430024147, -0.2841017544269562, 0.2804276645183563, 0.20858313143253326, 0.017415599897503853, 0.25192564725875854, -0.14115571975708008, -0.08128735423088074, -0.21093538403511047, 0.2911178469657898, 0.36360299587249756, -0.3268093764781952, -0.033276092261075974, 0.0030200963374227285, 0.05770913138985634, -0.4278865456581116, -0.0551605187356472, 0.05035945773124695, 0.16204623878002167, -0.29424968361854553, -0.3012341856956482, 0.07064347714185715, 0.1098484918475151, 0.2711142599582672, -0.16649679839611053, 0.184661403298378, 0.06824935227632523, -0.16392889618873596, 0.1156553402543068, -0.04987121745944023, 0.19295331835746765, 0.24844145774841309, -0.15065230429172516, -0.14373306930065155, 0.25825235247612, 0.07366740703582764, -0.08993314951658249, 0.09144820272922516, 0.3910177946090698, 0.08818244934082031, -0.26602181792259216, 0.02785404585301876, 0.11936484277248383, 0.1412922590970993, -0.07708483934402466, 0.010409833863377571, 0.18647009134292603, -0.13632725179195404, -0.1295541226863861, -0.2050667703151703, -0.09784863144159317, -0.7170296907424927, -0.001327057951129973, 0.5640538334846497, 0.247594952583313, 0.3956924378871918, -0.12143628299236298, 0.1713925451040268, 0.010743638500571251, -0.0713745579123497, -0.03370159864425659, 0.2854672074317932, 0.15540353953838348, 0.20839440822601318, -0.11528684943914413, -0.24534274637699127, -0.20460888743400574, 0.013072028756141663, -0.2814558446407318, 0.4442533254623413, 0.2361808568239212, -0.014844470657408237, -0.21525709331035614, -0.080820232629776, -0.04231838509440422, 0.19838325679302216, 0.19635123014450073, -0.3889141380786896, 0.07343131303787231, -0.12664246559143066, -0.09482570737600327, -0.016676390543580055, 0.2668267786502838, 0.13646094501018524, -0.019332904368638992, 0.08508537709712982, 0.2894531190395355, -0.060688652098178864, 0.3394485116004944, 0.2676233649253845, 0.16029508411884308, 0.22575370967388153, 0.274494469165802, 0.18973541259765625, 0.10988921672105789, -0.055836617946624756, 0.12707963585853577, 0.06979213654994965, -0.21180590987205505, 0.0508054681122303, -0.051443565636873245, -0.1808556616306305, -0.21611525118350983, -0.12943820655345917, -0.0028271072078496218, -0.10345793515443802, 0.06935641914606094, 0.2374352067708969, 0.0709070935845375, -0.12128961086273193, -0.2604658901691437, 0.2763681411743164, -0.563220202922821, -0.05615248903632164, 0.05770322307944298, -0.16406704485416412, -0.033177636563777924, -0.2909072935581207, -0.4519038796424866, -0.024416187778115273, -0.23517529666423798, 0.2913874089717865, 0.20058932900428772, 0.23344595730304718, 0.12262073159217834, 0.37333977222442627, 0.04832006245851517, 0.2805328369140625, 0.08829069137573242, -0.21217399835586548, -0.6177214980125427, 0.25298547744750977, -0.07229029387235641, -0.4526580274105072, -0.1659093201160431, 0.06499789655208588, 0.48694485425949097, 0.1655322164297104, -0.13443051278591156, -0.17692437767982483, 0.22041435539722443, -0.030203331261873245, -0.026801351457834244, -0.15352332592010498, 0.44775739312171936, -0.06586349010467529, -0.22360047698020935, -0.07357481867074966, 0.03807802498340607, 0.37102237343788147, 0.16634568572044373, 0.1316041350364685, -0.1259547621011734, 0.21720193326473236, 0.2436746060848236, 0.4787366986274719, -0.07973653823137283, -0.26607924699783325, 0.2325311303138733, -0.1341860443353653, 0.010523593984544277, 0.18522335588932037, -0.2676779627799988, 0.2351282835006714, -0.24531657993793488, 0.05700308457016945, -0.18439283967018127, -0.3248966634273529, -0.4568270146846771, -0.0700625628232956, 0.07858036458492279, -0.35875385999679565, 0.021009400486946106, 0.21416786313056946, 0.043251145631074905, 0.24144424498081207, -0.08837534487247467, 0.08690112084150314, -0.20272448658943176, 0.12578703463077545, 0.14399605989456177, 0.19863244891166687, -0.08936705440282822, -0.08840925991535187, -0.31227076053619385, -0.1855984479188919, -0.04527711868286133, 0.22382216155529022, -0.10333387553691864, 0.2308216094970703, -0.1498648077249527, -0.025673551484942436, 0.023431111127138138, -0.01566275767982006, 0.5428035855293274, -0.3089565634727478, 0.019458506256341934, 0.16576531529426575, -0.5506641268730164, 0.023672452196478844, -0.13473518192768097, -0.25685715675354004, 0.3247670531272888, 0.36431407928466797, 0.14100708067417145, -0.013832061551511288, -0.18869836628437042, 0.12072153389453888, -0.5791306495666504, -0.0712251290678978, 0.1585789918899536, -0.2821979820728302, -0.12150465697050095, -0.1999262273311615, 0.16454581916332245, 0.04809975251555443, 0.24493613839149475, -0.32326260209083557, -0.09768810868263245, -0.3917461037635803, 0.09138064086437225, -0.009257237426936626, 0.1914985626935959, 0.009126248769462109, -0.0031201369129121304, -0.34504008293151855, 0.06399594247341156, 0.22102275490760803, 0.2594272196292877, -0.13890470564365387, 0.12305591255426407, -0.11809108406305313, 0.34692975878715515, -0.27743470668792725, 0.2000948041677475, 0.30506184697151184, -0.07168945670127869, -0.07858134806156158, 0.07584074884653091, 0.22542479634284973, -0.06664083153009415, 0.20568975806236267, 0.42130017280578613, 0.10857231169939041, 0.031011225655674934, -0.2696572542190552, 0.10793791711330414, 0.03579014167189598, 0.15119299292564392, -0.02537219598889351, -0.2756202518939972, -0.13051268458366394, 0.004449733067303896, 0.25847214460372925, 0.4859546720981598, 0.12018526345491409, 0.1356286257505417, 0.3846726715564728, -0.10737727582454681, 0.5283094048500061, -0.5740408301353455, 0.45442622900009155, -0.2555547058582306, -0.17336006462574005, -0.04092122241854668, -0.08822953701019287, 0.3264099359512329, 0.053609058260917664, -0.23260952532291412, 0.043744973838329315, 0.10007064044475555, -0.22581878304481506, -0.21606136858463287, 0.27669793367385864, 0.017641279846429825, -0.30040857195854187, -0.17409585416316986, 0.1651710718870163, -0.14030294120311737, 0.18131442368030548, -0.11370663344860077, -0.31931570172309875, 0.16415797173976898, -0.10095132887363434, 0.13994866609573364, 0.11051245778799057, -0.18334081768989563, 0.3915780484676361, 0.2760159373283386, -0.1598338931798935, 0.005030330736190081, 0.1174149215221405, 0.3139567971229553, -0.2855048179626465, -0.12491605430841446, 0.08037985116243362, -0.1602521687746048, -0.1626649796962738, -0.2807893753051758, -0.19325409829616547, 0.3699866831302643, -0.19702041149139404, -0.3478454649448395, 0.07459478080272675, 0.0012722739484161139, -0.14908243715763092, 0.1250903457403183, -0.026013193652033806, -0.5067849159240723, 0.13042964041233063, -0.01608380861580372, 0.19263191521167755, -0.14936989545822144, -0.2403961569070816, 0.23438386619091034, -0.11686178296804428, -0.6279665231704712, 0.038864243775606155, 0.47764521837234497, -0.23123149573802948, 0.10350660979747772, 0.3134876787662506, 0.2912541925907135, 0.3999025821685791, 0.3405033349990845, 0.3215735852718353, -0.02049323543906212, -0.44518178701400757, -0.035426922142505646, 0.387673020362854, -0.17350566387176514, 0.11832067370414734, -0.07009376585483551, -0.3954639434814453, 0.04903188720345497, 0.03839151933789253, 0.0380907878279686, 0.553252637386322, 0.03518066182732582, -0.008661303669214249, -0.1909124255180359, -0.05918354168534279, -0.27167075872421265, 0.01607869751751423, 0.11856574565172195, 0.6232024431228638, 0.4465310573577881, 0.2378879338502884, -0.41742831468582153, 0.18011951446533203, -0.5531345009803772, 0.02714892104268074, -0.29583805799484253, -0.2904321849346161, 0.03841046243906021, 0.05456168204545975, 0.18137727677822113, -0.0416550375521183, -0.21418075263500214, -0.27264827489852905, -0.10855574905872345, 0.05179793760180473, 0.021270865574479103, 0.15275487303733826, 0.12424508482217789, 0.06871884316205978, -0.33006349205970764, 0.23359428346157074, 0.12843076884746552, -0.08895329385995865, -0.06870302557945251, 0.1422385573387146, -0.17317894101142883, 0.1608590930700302, 0.14957521855831146, -0.22389337420463562, -0.1225869357585907, -0.13295724987983704, -0.07569462805986404, -0.06320533156394958, 0.30567440390586853, -0.06657112389802933, 0.29210519790649414, -0.0852828174829483, -0.11868374049663544, 0.216135174036026, 0.13360066711902618, -0.3720370829105377, -0.12949040532112122, -0.18843017518520355, -0.11973273009061813, -0.09869310259819031, -0.22105123102664948, 0.12303223460912704, -0.12333957850933075, 0.28459373116493225, -0.206743061542511, 0.1116291806101799, 0.20429331064224243, -0.0952906385064125, 0.12197302281856537, 0.10597412288188934, 0.19550329446792603, 0.011071539483964443, -0.3165079355239868, 0.32164400815963745, -0.25763455033302307, -0.5709133744239807, 0.09479153901338577, -0.28527191281318665, -0.36900901794433594, 0.1581089347600937, 0.17120511829853058, 0.17244815826416016, -0.053867556154727936, 0.21820515394210815, 0.22998544573783875, 0.2550397217273712, 0.14508898556232452, 0.03750963509082794, 0.2451586276292801, -0.10654290020465851, -0.3471563458442688, 0.09709223359823227, -0.28287845849990845, -0.04832601174712181, -0.14311490952968597, 0.09255899488925934, -0.24105431139469147, -0.43452736735343933, -0.2712971866130829, 0.1253976970911026, -0.5028587579727173, -0.14764133095741272, -0.508564829826355, 0.009046767838299274, -0.16036802530288696, 0.011555437929928303, 0.14786358177661896, 0.20476552844047546, 0.3422699570655823, 0.04359092563390732, -0.29509902000427246, 0.13620689511299133, 0.030789028853178024, 0.1448574811220169, 0.10963989794254303, -0.06796923279762268, 0.07957293838262558, 0.05425668880343437, -0.2015208750963211, -0.2149370312690735, 0.354081392288208, 0.35943761467933655, 0.04809150844812393, -0.2684871554374695, -0.006267929449677467, 0.2536255121231079, -0.0930776596069336, -0.0569649413228035, -0.02685028873383999, 0.49416375160217285, 0.06616397947072983, 0.10523079335689545, 0.22542710602283478, -0.19153612852096558, 0.1723826676607132, 0.07477985322475433, -0.04268883541226387, -0.05325883999466896, 0.20920532941818237, -0.20582908391952515, 0.043822385370731354, -0.05032118037343025, 0.07159663736820221, -0.40729594230651855, 0.029188811779022217, 0.4744407534599304, -0.14504577219486237, 0.24453912675380707, -0.010429807007312775, 0.13738906383514404, 0.048468321561813354, 0.5006589889526367, -0.23455479741096497, -0.2453145533800125, -0.2573845386505127, -0.09886147826910019, 0.008348837494850159, 0.43570634722709656, -0.13290691375732422, 0.134223073720932, -0.19237734377384186, 0.6223956346511841, 0.1332126259803772, -0.18915969133377075, -0.043687403202056885, -0.011513479985296726, 0.3546083867549896, 0.15751953423023224, -0.3599231541156769, 0.14287486672401428, -0.3628816306591034, -0.05949334800243378, 0.3110736608505249, -0.05449429154396057, 0.034947142004966736, 0.13055238127708435, 0.23269321024417877, 0.06044786423444748, -0.012400569394230843, -0.22562247514724731, 0.05465157330036163, 0.1422031968832016, -0.02322152815759182, 0.3318401873111725, -0.23660054802894592, -0.005149642936885357, 0.11883774399757385, -0.17469778656959534, -0.33327940106391907, 0.42982929944992065, 0.19758811593055725, 0.3499501645565033, -0.04854628071188927, 0.2047591209411621, -0.19855497777462006, 0.3467872142791748, 0.07386721670627594, 0.15196548402309418, -0.07394528388977051, 0.40216687321662903, -0.05661287531256676, -0.10259929299354553, 0.027041662484407425, 0.1322757601737976, 0.12930692732334137, -0.28180819749832153, -0.34440892934799194, -0.24362361431121826, 0.4389515817165375, -0.15502406656742096, -0.32148513197898865, -0.5069274306297302, 0.18422597646713257, 0.1396934986114502, 0.289450466632843, -0.4831055998802185, -0.09023619443178177, -0.10078642517328262, -0.14130842685699463, -0.3859178125858307, 0.028384534642100334, -0.09224416315555573, -0.11397266387939453, -0.03374019265174866, -0.2308894842863083, -0.0351330004632473, -0.2086559385061264, -0.18240799009799957, -0.23365791141986847 ]
https://github.com/huggingface/datasets/issues/2130
wikiann dataset is missing columns
Here please find TFDS format of this dataset: https://www.tensorflow.org/datasets/catalog/wikiann where there is a span column, this is really necessary to be able to use the data, and I appreciate your help @lhoestq
Hi Wikiann dataset needs to have "spans" columns, which is necessary to be able to use this dataset, but this column is missing from huggingface datasets, could you please have a look? thank you @lhoestq
32
wikiann dataset is missing columns
[ -0.14667639136314392, 0.13274382054805756, -0.16293466091156006, 0.2277955561876297, 0.17718210816383362, 0.23837187886238098, 0.26147761940956116, 0.18710264563560486, 0.13371765613555908, 0.19967928528785706, 0.03239366412162781, 0.12388983368873596, 0.12512579560279846, 0.18891790509223938, 0.12104514241218567, -0.3319186568260193, 0.18029575049877167, 0.4024943709373474, -0.36997881531715393, -0.3405243754386902, -0.3686808943748474, 0.2235453575849533, -0.41598257422447205, -0.10202058404684067, -0.20869912207126617, -0.12995755672454834, -0.18448901176452637, 0.06529174000024796, -0.19224290549755096, -0.09563903510570526, 0.06812825798988342, -0.13647016882896423, -0.043736618012189865, -0.043672483414411545, -0.00010875918815145269, -0.09582287073135376, 0.1840311586856842, -0.10926716029644012, -0.3517844080924988, 0.6269947290420532, -0.1911735236644745, -0.2713892161846161, 0.04632805660367012, -0.4282893240451813, -0.1742374151945114, -0.2578414976596832, -0.09657872468233109, -0.007314328104257584, -0.09682201594114304, 0.16015850007534027, 0.25186029076576233, 0.2976614832878113, 0.12416747957468033, -0.17024396359920502, 0.11313702911138535, -0.17457179725170135, -0.10748489201068878, -0.4131285548210144, 0.1613032966852188, -0.19820500910282135, 0.11668118089437485, 0.40909168124198914, 0.0392051562666893, -0.16662637889385223, 0.10972122102975845, 0.07194581627845764, -0.16456541419029236, -0.12280835211277008, 0.4457530677318573, 0.406848669052124, 0.8194243907928467, 0.12171301245689392, -0.029065053910017014, -0.0018687084084376693, 0.13478170335292816, -0.09847358614206314, 0.24348433315753937, 0.013426153920590878, 0.0011522725690156221, 0.14489859342575073, 0.10141076147556305, -0.13727328181266785, -0.008440028876066208, 0.24436050653457642, -0.3426704704761505, 0.5324281454086304, 0.14723797142505646, 0.11316386610269547, -0.33933699131011963, 0.017937714233994484, 0.10052206367254257, 0.03707924112677574, -0.04475291818380356, 0.1987486332654953, -0.15701650083065033, -0.10614409297704697, 0.26382386684417725, 0.37703630328178406, 0.04044228047132492, -0.2955349087715149, -0.1309269517660141, -0.07648202776908875, 0.19801004230976105, -0.02723086066544056, 0.22227557003498077, 0.12171781808137894, 0.0663188248872757, 0.3785170614719391, 0.16592632234096527, 0.027797188609838486, -0.04113383591175079, -0.12478940188884735, 0.06756322830915451, 0.04398738965392113, 0.21973389387130737, -0.11855645477771759, -0.1788155734539032, -0.24797961115837097, 0.07029984891414642, 0.09158457815647125, 0.3878924548625946, 0.023254549130797386, -0.21616528928279877, 0.31599313020706177, 0.08518631756305695, 0.34102725982666016, -0.30689191818237305, 0.2140490710735321, -0.08088656514883041, -0.17244680225849152, -0.4746845066547394, 0.1518525779247284, 0.09284170717000961, -0.17512862384319305, 0.15092669427394867, 0.0321010984480381, 0.6262264847755432, 0.019718701019883156, -0.11318455636501312, 0.04709095135331154, -0.08039030432701111, -0.057442557066679, -0.06412294507026672, 0.4290279448032379, 0.019637765362858772, 0.18459957838058472, 0.10640113055706024, -0.2845175266265869, 0.056588634848594666, 0.07161017507314682, -0.045379363000392914, 0.006805384997278452, -0.2993623614311218, 0.28053805232048035, 0.04629209265112877, -0.18419665098190308, -0.0757749080657959, 0.00560010876506567, 0.1436934918165207, -0.43923670053482056, 0.12199980765581131, -0.16940096020698547, 0.15806353092193604, -0.26183196902275085, 0.18548746407032013, 0.21955351531505585, -0.37859785556793213, -0.25686073303222656, 0.09314051270484924, -0.07601042836904526, 0.3653848171234131, 0.17855693399906158, 0.008823568932712078, 0.1651037633419037, -0.2576482892036438, 0.1723492294549942, 0.24381621181964874, -0.2758980691432953, -0.26539346575737, -0.2352573722600937, 0.24907515943050385, -0.03200127184391022, -0.04114483296871185, 0.052399713546037674, 0.31218039989471436, 0.20958469808101654, 0.006395476870238781, 0.06611718982458115, 0.027257097885012627, -0.031098628416657448, -0.2169160693883896, -0.1876714676618576, 0.1655465066432953, 0.015451733954250813, 0.3879815340042114, 0.23778611421585083, 0.18259477615356445, -0.11764946579933167, 0.16183727979660034, -0.1842370480298996, 0.18857677280902863, 0.4366864860057831, 0.00848478078842163, -0.005891688633710146, 0.09698617458343506, -0.02284885197877884, -0.4161105751991272, 0.10300884395837784, 0.28971707820892334, 0.1426597684621811, 0.04165109619498253, -0.06704500317573547, -0.23300623893737793, -0.006972344126552343, -0.06158833205699921, -0.13945740461349487, 0.27243536710739136, 0.11630063503980637, -0.007749272044748068, 0.3151446282863617, -0.040208760648965836, -0.1156328096985817, -0.15226848423480988, -0.026904521510004997, -0.1976260095834732, 0.24947592616081238, -0.06653358042240143, -0.09969276934862137, 0.22384238243103027, 0.2452067881822586, 0.33376947045326233, 0.14042912423610687, 0.1287812739610672, -0.00928590539842844, -0.010570782236754894, 0.07743564248085022, 0.15565204620361328, 0.11180542409420013, 0.076772540807724, -0.17904934287071228, -0.0010122989770025015, -0.008170525543391705, 0.14324992895126343, -0.20327460765838623, -0.19270893931388855, 0.1616361141204834, 0.17803096771240234, 0.1959836781024933, -0.034206878393888474, 0.236809641122818, 0.39824530482292175, -0.23426681756973267, 0.1463427096605301, -0.3935481309890747, -0.07795227319002151, -0.24860458076000214, -0.05746329948306084, -0.1004064530134201, -0.26065701246261597, 0.25128868222236633, 0.4014480710029602, 0.09794588387012482, 0.27160000801086426, -0.28807491064071655, -0.34616708755493164, 0.02426116168498993, 0.4555356204509735, -0.021815087646245956, 0.24676556885242462, 0.32449376583099365, 0.25906315445899963, -0.2388029843568802, -0.07392337173223495, -0.13135771453380585, 0.07231638580560684, 0.08707084506750107, 0.17188696563243866, 0.3082122504711151, 0.15093418955802917, -0.1330462396144867, -0.3808947205543518, 0.2647010087966919, 0.034350503236055374, 0.37697407603263855, -0.07633811235427856, -0.24285463988780975, -0.24970827996730804, -0.08081573992967606, 0.395596444606781, 0.2400965541601181, 0.12290526181459427, -0.525958776473999, 0.18207548558712006, -0.1578265130519867, -0.2500249743461609, 0.02074025757610798, -0.3811171054840088, 0.07600873708724976, -0.0065896594896912575, 0.2083018571138382, -0.38295772671699524, -0.2488248497247696, -0.21610157191753387, 0.20473361015319824, -0.19296161830425262, 0.1581474244594574, 0.08730228245258331, -0.18787294626235962, -0.18406088650226593, -0.44231393933296204, -0.3316726088523865, 0.10516315698623657, 0.0960676372051239, 0.12536059319972992, 0.130093514919281, 0.5591709017753601, -0.2469940334558487, -0.18502813577651978, 0.22785915434360504, -0.2447929084300995, -0.08096393197774887, 0.07126221805810928, -0.08510740846395493, -0.07851436734199524, -0.10428865253925323, -0.3502601385116577, -0.18206484615802765, -0.08822435140609741, -0.19750675559043884, 0.2040046751499176, 0.006763074547052383, -0.19297993183135986, 0.009045080281794071, -0.11645348370075226, -0.0893068015575409, -0.13423994183540344, -0.28261107206344604, -0.02882029488682747, 0.39289677143096924, -0.21424417197704315, -0.37152737379074097, 0.20531116425991058, -0.26405027508735657, 0.46743735671043396, 0.02668726071715355, -0.4919748604297638, -0.023156151175498962, 0.03781628981232643, 0.35677847266197205, -0.05096828192472458, -0.03841046988964081, 0.4116976261138916, 0.10855530202388763, -0.1274576038122177, -0.38281071186065674, 0.08981499820947647, -0.11934307962656021, -0.11141722649335861, 0.281693696975708, -0.5396859645843506, 0.4299527108669281, -0.2974725365638733, 0.37192070484161377, 0.0694010779261589, 0.30922985076904297, 0.23436427116394043, -0.28462088108062744, 0.45860469341278076, -0.010832059197127819, -0.09019281715154648, 0.3716842532157898, -0.060569941997528076, 0.08575554192066193, 0.4622964560985565, 0.0685313269495964, -0.47115853428840637, -0.2048461139202118, 0.05501976236701012, -0.39944085478782654, -0.11022504419088364, -0.05889260768890381, 0.3908826410770416, 0.2029952108860016, 0.27533015608787537, 0.09587115794420242, -0.3122823238372803, -0.2294374704360962, -0.06367194652557373, 0.030899083241820335, 0.09759503602981567, 0.01304951123893261, -0.32292529940605164, 0.017248671501874924, -0.4687733054161072, -0.08563870191574097, -0.24467521905899048, 0.2792193293571472, -0.013300815597176552, -0.1170528456568718, -0.023004600778222084, 0.052350495010614395, 0.43429264426231384, -0.5718246102333069, -0.1397455632686615, 0.10547468066215515, 0.3747575879096985, -0.352001816034317, -0.04183259978890419, -0.28818267583847046, -0.22921159863471985, 0.0753641203045845, 0.43690913915634155, -0.25605201721191406, 0.17402513325214386, 0.4003911316394806, 0.21320359408855438, -0.22828538715839386, -0.0024508212227374315, -0.2883487641811371, -0.5264127850532532, -0.07597509026527405, -0.19126100838184357, 0.10432235896587372, 0.10840783268213272, -0.11454986035823822, -0.17887665331363678, -0.035166289657354355, 0.07495665550231934, -0.13664007186889648, 0.22911927103996277, 0.351397305727005, 0.11701476573944092, 0.01861995831131935, -0.018036922439932823, 0.19851833581924438, 0.13874617218971252, 0.33587557077407837, -0.07816807925701141, 0.08323664218187332, 0.03190233185887337, -0.4819563925266266, 0.45738309621810913, 0.00224399846047163, 0.01790442317724228, 0.132847860455513, -0.15346220135688782, 0.06762754172086716, 0.12418344616889954, 0.03905760869383812, 0.26827821135520935, 0.08250962197780609, -0.01965627819299698, -0.04625708982348442, 0.32018259167671204, 0.01454989705234766, -0.007243603002279997, 0.3543775975704193, 0.3446499705314636, -0.19621621072292328, 0.15472793579101562, 0.10259418189525604, 0.7492300271987915, -0.03326641023159027, 0.1890992820262909, 0.5092464685440063, -0.2002522349357605, 0.21769218146800995, 0.07456836849451065, 0.1526431441307068, -0.13503797352313995, -0.18169139325618744, -0.02693529799580574, 0.08087190985679626, 0.22465698421001434, 0.08696030080318451, -0.15245728194713593, 0.29713156819343567, -0.13182826340198517, 0.5737868547439575, 0.03196701407432556, -0.2984578013420105, 0.10989466309547424, -0.08689037710428238, 0.022168055176734924, 0.16480132937431335, -0.0253867506980896, -0.0063340007327497005, -0.20404022932052612, 0.2078620195388794, -0.026485474780201912, -0.18321925401687622, -0.1614302098751068, -0.09766334295272827, -0.03378746286034584, 0.19296744465827942, -0.013369910418987274, -0.4894764721393585, -0.24869821965694427, 0.44586214423179626, 0.12159007042646408, 0.1500546932220459, -0.1372784972190857, 0.35742393136024475, -0.020580921322107315, -0.029265664517879486, -0.012217060662806034, 0.10454177111387253, 0.005359290633350611, -0.30822983384132385, -0.4834304749965668, 0.13538852334022522, -0.3643902540206909, -0.028076352551579475, -0.45190221071243286, 0.0719081312417984, -0.03043747879564762, -0.16962699592113495, -0.03365612030029297, 0.12285750359296799, 0.057952795177698135, -0.5324497222900391, 0.17136436700820923, -0.09960850328207016, 0.007989234291017056, 0.28821852803230286, 0.03843601793050766, 0.023770786821842194, -0.239891916513443, 0.32292062044143677, 0.20330730080604553, 0.015315422788262367, 0.777484655380249, 0.08230683952569962, -0.25829246640205383, -0.3614576458930969, -0.19356748461723328, 0.29408395290374756, -0.07016012817621231, -0.11544270813465118, 0.08097801357507706, -0.06189817935228348, -0.0933213159441948, 0.3542616367340088, -0.050052955746650696, -0.25376516580581665, -0.22306054830551147, -0.3197391629219055, -0.38929256796836853, 0.3313576877117157, 0.11455832421779633, -0.05259108915925026, -0.11755333095788956, -0.09687486290931702, -0.014800339005887508, 0.2860085368156433, -0.37246087193489075, -0.22659538686275482, -0.35230547189712524, 0.10152233392000198, 0.10584747046232224, 0.058577194809913635, -0.05154960975050926, -0.12234140187501907, 0.2675305902957916, -0.17786145210266113, 0.3634028136730194, -0.2772822082042694, 0.0687061995267868, 0.08962921053171158, 0.07956433296203613, 0.14006131887435913, 0.09986823797225952, -0.07548682391643524, -0.23810549080371857, -0.03116089478135109, 0.0620114766061306, -0.10175710171461105, 0.0049981772899627686, 0.3116827607154846, 0.27864038944244385, 0.07454851269721985, -0.11365707218647003, 0.08543629199266434, 0.12344957888126373, -0.14084817469120026, -0.05922287702560425, 0.0823979303240776, 0.4143896996974945, -0.029964134097099304, 0.41079655289649963, -0.05702145770192146, -0.4292129576206207, 0.2676299214363098, 0.46953657269477844, -0.2910282015800476, 0.07851511985063553, 0.17627687752246857, -0.17270347476005554, 0.0004998836666345596, -0.0701487734913826, 0.16528558731079102, 0.0762401670217514, 0.3222694396972656, -0.6166946887969971, -0.2666185796260834, 0.39501985907554626, 0.10351249575614929, 0.2649330496788025, 0.01346015464514494, 0.0720229521393776, -0.6837401390075684, 0.1689668446779251, 0.03960113227367401, 0.20401892066001892, -0.28247570991516113, -0.051516082137823105, 0.5100889801979065, -0.02352743223309517, -0.15000130236148834, 0.03308301046490669, 0.08344253897666931, -0.19678470492362976, 0.578891396522522, 0.28468087315559387, 0.2250954657793045, -0.08333028852939606, 0.06635982543230057, -0.050870779901742935, -0.25349169969558716, 0.1592371165752411, -0.07134705781936646, -0.017724299803376198, 0.06944591552019119, -0.03417661786079407, -0.1455182284116745, 0.34443235397338867, -0.09898791462182999, -0.1468760073184967, 0.11911946535110474, -0.40540313720703125, -0.013303759507834911, -0.5171498656272888, -0.2635502517223358, 0.4554789364337921, -0.02211751416325569, 0.1392078399658203, -0.06301458179950714, 0.01461002230644226, 0.014066417701542377, -0.2207777500152588, -0.12205532938241959, 0.20272302627563477, 0.2594183385372162, 0.18552568554878235, -0.018998214974999428, 0.03982038423418999, 0.47169849276542664, 0.08009888231754303, -0.08948934823274612, 0.04813557490706444, 0.2047233134508133, -0.1942846179008484, 0.19250410795211792, -0.07298821955919266, 0.20513299107551575, -0.4538525938987732, -0.15081505477428436, 0.20293304324150085, 0.24415990710258484, 0.02099745161831379, 0.10535961389541626, 0.2379094511270523, -0.23812440037727356, 0.16685082018375397, 0.016796041280031204, -0.020167259499430656, -0.022470900788903236, -0.3035265803337097, -0.186496302485466, -0.6286749243736267, -0.059615831822156906, -0.03515305370092392, -0.11242470145225525, 0.2721056640148163, 0.1426241397857666, 0.14506804943084717, 0.1275303214788437, -0.03743244335055351, 0.10072192549705505, -0.26405736804008484, 0.4767039120197296, 0.3014237582683563, -0.16950377821922302, -0.1332075595855713, -0.5646296739578247, -0.5294812321662903, 0.043971192091703415, -0.4442954361438751, -0.4464007616043091, 0.18163679540157318, 0.17937864363193512, 0.34832194447517395, -0.3177036941051483, 0.1730664074420929, 0.28818443417549133, -0.023307323455810547, 0.0413733534514904, -0.5397128462791443, -0.4499646723270416, 0.030568063259124756, 0.11547770351171494, -0.061501067131757736, -0.13093630969524384, 0.4227192997932434, 0.3109508752822876, 0.18351562321186066, 0.07505850493907928, 0.20741038024425507, -0.20662552118301392, -0.14387932419776917, -0.09856253862380981, 0.18572445213794708, 0.520386278629303, -0.27403539419174194, 0.03977933153510094, -0.11170187592506409, -0.2173386514186859, -0.0005379617214202881, 0.28610825538635254, 0.005144933704286814, 0.22271305322647095, 0.0699501559138298, 0.012489130720496178, 0.2274153083562851, 0.089236319065094, 0.23245081305503845, 0.10890843719244003, -0.07921906560659409, 0.26384228467941284, 0.22077275812625885, -0.06015893816947937, 0.25777459144592285, 0.10912621766328812, -0.12282773107290268, -0.23398293554782867, -0.1379121094942093, -0.5218909978866577, 0.25118574500083923, -0.19218488037586212, -0.311681866645813, -0.48457714915275574, -0.032703153789043427, 0.10454680025577545, 0.08143952488899231, -0.27515745162963867, -0.06341732293367386, 0.3435787260532379, -0.14567667245864868, -0.005377396009862423, 0.2929840683937073, 0.09679292887449265, 0.08933985978364944, 0.04658609256148338, 0.1567876636981964, 0.010280718095600605, -0.1155473068356514, -0.26601195335388184, -0.1278051733970642 ]
https://github.com/huggingface/datasets/issues/2130
wikiann dataset is missing columns
Hi ! Apparently you can get the spans from the NER tags using `tags_to_spans` defined here: https://github.com/tensorflow/datasets/blob/c7096bd38e86ed240b8b2c11ecab9893715a7d55/tensorflow_datasets/text/wikiann/wikiann.py#L81-L126 It would be nice to include the `spans` field in this dataset as in TFDS. This could be a good first issue for new contributors ! The objective is to use `tags_to_spans` in the `_generate_examples` method [here](https://github.com/huggingface/nlp/blob/c98e4b8f23e3770c401c6d9326e243e1ffd599ec/datasets/wikiann/wikiann.py#L292-L316) to create he `spans` for each example.
Hi Wikiann dataset needs to have "spans" columns, which is necessary to be able to use this dataset, but this column is missing from huggingface datasets, could you please have a look? thank you @lhoestq
61
wikiann dataset is missing columns
[ -0.14667639136314392, 0.13274382054805756, -0.16293466091156006, 0.2277955561876297, 0.17718210816383362, 0.23837187886238098, 0.26147761940956116, 0.18710264563560486, 0.13371765613555908, 0.19967928528785706, 0.03239366412162781, 0.12388983368873596, 0.12512579560279846, 0.18891790509223938, 0.12104514241218567, -0.3319186568260193, 0.18029575049877167, 0.4024943709373474, -0.36997881531715393, -0.3405243754386902, -0.3686808943748474, 0.2235453575849533, -0.41598257422447205, -0.10202058404684067, -0.20869912207126617, -0.12995755672454834, -0.18448901176452637, 0.06529174000024796, -0.19224290549755096, -0.09563903510570526, 0.06812825798988342, -0.13647016882896423, -0.043736618012189865, -0.043672483414411545, -0.00010875918815145269, -0.09582287073135376, 0.1840311586856842, -0.10926716029644012, -0.3517844080924988, 0.6269947290420532, -0.1911735236644745, -0.2713892161846161, 0.04632805660367012, -0.4282893240451813, -0.1742374151945114, -0.2578414976596832, -0.09657872468233109, -0.007314328104257584, -0.09682201594114304, 0.16015850007534027, 0.25186029076576233, 0.2976614832878113, 0.12416747957468033, -0.17024396359920502, 0.11313702911138535, -0.17457179725170135, -0.10748489201068878, -0.4131285548210144, 0.1613032966852188, -0.19820500910282135, 0.11668118089437485, 0.40909168124198914, 0.0392051562666893, -0.16662637889385223, 0.10972122102975845, 0.07194581627845764, -0.16456541419029236, -0.12280835211277008, 0.4457530677318573, 0.406848669052124, 0.8194243907928467, 0.12171301245689392, -0.029065053910017014, -0.0018687084084376693, 0.13478170335292816, -0.09847358614206314, 0.24348433315753937, 0.013426153920590878, 0.0011522725690156221, 0.14489859342575073, 0.10141076147556305, -0.13727328181266785, -0.008440028876066208, 0.24436050653457642, -0.3426704704761505, 0.5324281454086304, 0.14723797142505646, 0.11316386610269547, -0.33933699131011963, 0.017937714233994484, 0.10052206367254257, 0.03707924112677574, -0.04475291818380356, 0.1987486332654953, -0.15701650083065033, -0.10614409297704697, 0.26382386684417725, 0.37703630328178406, 0.04044228047132492, -0.2955349087715149, -0.1309269517660141, -0.07648202776908875, 0.19801004230976105, -0.02723086066544056, 0.22227557003498077, 0.12171781808137894, 0.0663188248872757, 0.3785170614719391, 0.16592632234096527, 0.027797188609838486, -0.04113383591175079, -0.12478940188884735, 0.06756322830915451, 0.04398738965392113, 0.21973389387130737, -0.11855645477771759, -0.1788155734539032, -0.24797961115837097, 0.07029984891414642, 0.09158457815647125, 0.3878924548625946, 0.023254549130797386, -0.21616528928279877, 0.31599313020706177, 0.08518631756305695, 0.34102725982666016, -0.30689191818237305, 0.2140490710735321, -0.08088656514883041, -0.17244680225849152, -0.4746845066547394, 0.1518525779247284, 0.09284170717000961, -0.17512862384319305, 0.15092669427394867, 0.0321010984480381, 0.6262264847755432, 0.019718701019883156, -0.11318455636501312, 0.04709095135331154, -0.08039030432701111, -0.057442557066679, -0.06412294507026672, 0.4290279448032379, 0.019637765362858772, 0.18459957838058472, 0.10640113055706024, -0.2845175266265869, 0.056588634848594666, 0.07161017507314682, -0.045379363000392914, 0.006805384997278452, -0.2993623614311218, 0.28053805232048035, 0.04629209265112877, -0.18419665098190308, -0.0757749080657959, 0.00560010876506567, 0.1436934918165207, -0.43923670053482056, 0.12199980765581131, -0.16940096020698547, 0.15806353092193604, -0.26183196902275085, 0.18548746407032013, 0.21955351531505585, -0.37859785556793213, -0.25686073303222656, 0.09314051270484924, -0.07601042836904526, 0.3653848171234131, 0.17855693399906158, 0.008823568932712078, 0.1651037633419037, -0.2576482892036438, 0.1723492294549942, 0.24381621181964874, -0.2758980691432953, -0.26539346575737, -0.2352573722600937, 0.24907515943050385, -0.03200127184391022, -0.04114483296871185, 0.052399713546037674, 0.31218039989471436, 0.20958469808101654, 0.006395476870238781, 0.06611718982458115, 0.027257097885012627, -0.031098628416657448, -0.2169160693883896, -0.1876714676618576, 0.1655465066432953, 0.015451733954250813, 0.3879815340042114, 0.23778611421585083, 0.18259477615356445, -0.11764946579933167, 0.16183727979660034, -0.1842370480298996, 0.18857677280902863, 0.4366864860057831, 0.00848478078842163, -0.005891688633710146, 0.09698617458343506, -0.02284885197877884, -0.4161105751991272, 0.10300884395837784, 0.28971707820892334, 0.1426597684621811, 0.04165109619498253, -0.06704500317573547, -0.23300623893737793, -0.006972344126552343, -0.06158833205699921, -0.13945740461349487, 0.27243536710739136, 0.11630063503980637, -0.007749272044748068, 0.3151446282863617, -0.040208760648965836, -0.1156328096985817, -0.15226848423480988, -0.026904521510004997, -0.1976260095834732, 0.24947592616081238, -0.06653358042240143, -0.09969276934862137, 0.22384238243103027, 0.2452067881822586, 0.33376947045326233, 0.14042912423610687, 0.1287812739610672, -0.00928590539842844, -0.010570782236754894, 0.07743564248085022, 0.15565204620361328, 0.11180542409420013, 0.076772540807724, -0.17904934287071228, -0.0010122989770025015, -0.008170525543391705, 0.14324992895126343, -0.20327460765838623, -0.19270893931388855, 0.1616361141204834, 0.17803096771240234, 0.1959836781024933, -0.034206878393888474, 0.236809641122818, 0.39824530482292175, -0.23426681756973267, 0.1463427096605301, -0.3935481309890747, -0.07795227319002151, -0.24860458076000214, -0.05746329948306084, -0.1004064530134201, -0.26065701246261597, 0.25128868222236633, 0.4014480710029602, 0.09794588387012482, 0.27160000801086426, -0.28807491064071655, -0.34616708755493164, 0.02426116168498993, 0.4555356204509735, -0.021815087646245956, 0.24676556885242462, 0.32449376583099365, 0.25906315445899963, -0.2388029843568802, -0.07392337173223495, -0.13135771453380585, 0.07231638580560684, 0.08707084506750107, 0.17188696563243866, 0.3082122504711151, 0.15093418955802917, -0.1330462396144867, -0.3808947205543518, 0.2647010087966919, 0.034350503236055374, 0.37697407603263855, -0.07633811235427856, -0.24285463988780975, -0.24970827996730804, -0.08081573992967606, 0.395596444606781, 0.2400965541601181, 0.12290526181459427, -0.525958776473999, 0.18207548558712006, -0.1578265130519867, -0.2500249743461609, 0.02074025757610798, -0.3811171054840088, 0.07600873708724976, -0.0065896594896912575, 0.2083018571138382, -0.38295772671699524, -0.2488248497247696, -0.21610157191753387, 0.20473361015319824, -0.19296161830425262, 0.1581474244594574, 0.08730228245258331, -0.18787294626235962, -0.18406088650226593, -0.44231393933296204, -0.3316726088523865, 0.10516315698623657, 0.0960676372051239, 0.12536059319972992, 0.130093514919281, 0.5591709017753601, -0.2469940334558487, -0.18502813577651978, 0.22785915434360504, -0.2447929084300995, -0.08096393197774887, 0.07126221805810928, -0.08510740846395493, -0.07851436734199524, -0.10428865253925323, -0.3502601385116577, -0.18206484615802765, -0.08822435140609741, -0.19750675559043884, 0.2040046751499176, 0.006763074547052383, -0.19297993183135986, 0.009045080281794071, -0.11645348370075226, -0.0893068015575409, -0.13423994183540344, -0.28261107206344604, -0.02882029488682747, 0.39289677143096924, -0.21424417197704315, -0.37152737379074097, 0.20531116425991058, -0.26405027508735657, 0.46743735671043396, 0.02668726071715355, -0.4919748604297638, -0.023156151175498962, 0.03781628981232643, 0.35677847266197205, -0.05096828192472458, -0.03841046988964081, 0.4116976261138916, 0.10855530202388763, -0.1274576038122177, -0.38281071186065674, 0.08981499820947647, -0.11934307962656021, -0.11141722649335861, 0.281693696975708, -0.5396859645843506, 0.4299527108669281, -0.2974725365638733, 0.37192070484161377, 0.0694010779261589, 0.30922985076904297, 0.23436427116394043, -0.28462088108062744, 0.45860469341278076, -0.010832059197127819, -0.09019281715154648, 0.3716842532157898, -0.060569941997528076, 0.08575554192066193, 0.4622964560985565, 0.0685313269495964, -0.47115853428840637, -0.2048461139202118, 0.05501976236701012, -0.39944085478782654, -0.11022504419088364, -0.05889260768890381, 0.3908826410770416, 0.2029952108860016, 0.27533015608787537, 0.09587115794420242, -0.3122823238372803, -0.2294374704360962, -0.06367194652557373, 0.030899083241820335, 0.09759503602981567, 0.01304951123893261, -0.32292529940605164, 0.017248671501874924, -0.4687733054161072, -0.08563870191574097, -0.24467521905899048, 0.2792193293571472, -0.013300815597176552, -0.1170528456568718, -0.023004600778222084, 0.052350495010614395, 0.43429264426231384, -0.5718246102333069, -0.1397455632686615, 0.10547468066215515, 0.3747575879096985, -0.352001816034317, -0.04183259978890419, -0.28818267583847046, -0.22921159863471985, 0.0753641203045845, 0.43690913915634155, -0.25605201721191406, 0.17402513325214386, 0.4003911316394806, 0.21320359408855438, -0.22828538715839386, -0.0024508212227374315, -0.2883487641811371, -0.5264127850532532, -0.07597509026527405, -0.19126100838184357, 0.10432235896587372, 0.10840783268213272, -0.11454986035823822, -0.17887665331363678, -0.035166289657354355, 0.07495665550231934, -0.13664007186889648, 0.22911927103996277, 0.351397305727005, 0.11701476573944092, 0.01861995831131935, -0.018036922439932823, 0.19851833581924438, 0.13874617218971252, 0.33587557077407837, -0.07816807925701141, 0.08323664218187332, 0.03190233185887337, -0.4819563925266266, 0.45738309621810913, 0.00224399846047163, 0.01790442317724228, 0.132847860455513, -0.15346220135688782, 0.06762754172086716, 0.12418344616889954, 0.03905760869383812, 0.26827821135520935, 0.08250962197780609, -0.01965627819299698, -0.04625708982348442, 0.32018259167671204, 0.01454989705234766, -0.007243603002279997, 0.3543775975704193, 0.3446499705314636, -0.19621621072292328, 0.15472793579101562, 0.10259418189525604, 0.7492300271987915, -0.03326641023159027, 0.1890992820262909, 0.5092464685440063, -0.2002522349357605, 0.21769218146800995, 0.07456836849451065, 0.1526431441307068, -0.13503797352313995, -0.18169139325618744, -0.02693529799580574, 0.08087190985679626, 0.22465698421001434, 0.08696030080318451, -0.15245728194713593, 0.29713156819343567, -0.13182826340198517, 0.5737868547439575, 0.03196701407432556, -0.2984578013420105, 0.10989466309547424, -0.08689037710428238, 0.022168055176734924, 0.16480132937431335, -0.0253867506980896, -0.0063340007327497005, -0.20404022932052612, 0.2078620195388794, -0.026485474780201912, -0.18321925401687622, -0.1614302098751068, -0.09766334295272827, -0.03378746286034584, 0.19296744465827942, -0.013369910418987274, -0.4894764721393585, -0.24869821965694427, 0.44586214423179626, 0.12159007042646408, 0.1500546932220459, -0.1372784972190857, 0.35742393136024475, -0.020580921322107315, -0.029265664517879486, -0.012217060662806034, 0.10454177111387253, 0.005359290633350611, -0.30822983384132385, -0.4834304749965668, 0.13538852334022522, -0.3643902540206909, -0.028076352551579475, -0.45190221071243286, 0.0719081312417984, -0.03043747879564762, -0.16962699592113495, -0.03365612030029297, 0.12285750359296799, 0.057952795177698135, -0.5324497222900391, 0.17136436700820923, -0.09960850328207016, 0.007989234291017056, 0.28821852803230286, 0.03843601793050766, 0.023770786821842194, -0.239891916513443, 0.32292062044143677, 0.20330730080604553, 0.015315422788262367, 0.777484655380249, 0.08230683952569962, -0.25829246640205383, -0.3614576458930969, -0.19356748461723328, 0.29408395290374756, -0.07016012817621231, -0.11544270813465118, 0.08097801357507706, -0.06189817935228348, -0.0933213159441948, 0.3542616367340088, -0.050052955746650696, -0.25376516580581665, -0.22306054830551147, -0.3197391629219055, -0.38929256796836853, 0.3313576877117157, 0.11455832421779633, -0.05259108915925026, -0.11755333095788956, -0.09687486290931702, -0.014800339005887508, 0.2860085368156433, -0.37246087193489075, -0.22659538686275482, -0.35230547189712524, 0.10152233392000198, 0.10584747046232224, 0.058577194809913635, -0.05154960975050926, -0.12234140187501907, 0.2675305902957916, -0.17786145210266113, 0.3634028136730194, -0.2772822082042694, 0.0687061995267868, 0.08962921053171158, 0.07956433296203613, 0.14006131887435913, 0.09986823797225952, -0.07548682391643524, -0.23810549080371857, -0.03116089478135109, 0.0620114766061306, -0.10175710171461105, 0.0049981772899627686, 0.3116827607154846, 0.27864038944244385, 0.07454851269721985, -0.11365707218647003, 0.08543629199266434, 0.12344957888126373, -0.14084817469120026, -0.05922287702560425, 0.0823979303240776, 0.4143896996974945, -0.029964134097099304, 0.41079655289649963, -0.05702145770192146, -0.4292129576206207, 0.2676299214363098, 0.46953657269477844, -0.2910282015800476, 0.07851511985063553, 0.17627687752246857, -0.17270347476005554, 0.0004998836666345596, -0.0701487734913826, 0.16528558731079102, 0.0762401670217514, 0.3222694396972656, -0.6166946887969971, -0.2666185796260834, 0.39501985907554626, 0.10351249575614929, 0.2649330496788025, 0.01346015464514494, 0.0720229521393776, -0.6837401390075684, 0.1689668446779251, 0.03960113227367401, 0.20401892066001892, -0.28247570991516113, -0.051516082137823105, 0.5100889801979065, -0.02352743223309517, -0.15000130236148834, 0.03308301046490669, 0.08344253897666931, -0.19678470492362976, 0.578891396522522, 0.28468087315559387, 0.2250954657793045, -0.08333028852939606, 0.06635982543230057, -0.050870779901742935, -0.25349169969558716, 0.1592371165752411, -0.07134705781936646, -0.017724299803376198, 0.06944591552019119, -0.03417661786079407, -0.1455182284116745, 0.34443235397338867, -0.09898791462182999, -0.1468760073184967, 0.11911946535110474, -0.40540313720703125, -0.013303759507834911, -0.5171498656272888, -0.2635502517223358, 0.4554789364337921, -0.02211751416325569, 0.1392078399658203, -0.06301458179950714, 0.01461002230644226, 0.014066417701542377, -0.2207777500152588, -0.12205532938241959, 0.20272302627563477, 0.2594183385372162, 0.18552568554878235, -0.018998214974999428, 0.03982038423418999, 0.47169849276542664, 0.08009888231754303, -0.08948934823274612, 0.04813557490706444, 0.2047233134508133, -0.1942846179008484, 0.19250410795211792, -0.07298821955919266, 0.20513299107551575, -0.4538525938987732, -0.15081505477428436, 0.20293304324150085, 0.24415990710258484, 0.02099745161831379, 0.10535961389541626, 0.2379094511270523, -0.23812440037727356, 0.16685082018375397, 0.016796041280031204, -0.020167259499430656, -0.022470900788903236, -0.3035265803337097, -0.186496302485466, -0.6286749243736267, -0.059615831822156906, -0.03515305370092392, -0.11242470145225525, 0.2721056640148163, 0.1426241397857666, 0.14506804943084717, 0.1275303214788437, -0.03743244335055351, 0.10072192549705505, -0.26405736804008484, 0.4767039120197296, 0.3014237582683563, -0.16950377821922302, -0.1332075595855713, -0.5646296739578247, -0.5294812321662903, 0.043971192091703415, -0.4442954361438751, -0.4464007616043091, 0.18163679540157318, 0.17937864363193512, 0.34832194447517395, -0.3177036941051483, 0.1730664074420929, 0.28818443417549133, -0.023307323455810547, 0.0413733534514904, -0.5397128462791443, -0.4499646723270416, 0.030568063259124756, 0.11547770351171494, -0.061501067131757736, -0.13093630969524384, 0.4227192997932434, 0.3109508752822876, 0.18351562321186066, 0.07505850493907928, 0.20741038024425507, -0.20662552118301392, -0.14387932419776917, -0.09856253862380981, 0.18572445213794708, 0.520386278629303, -0.27403539419174194, 0.03977933153510094, -0.11170187592506409, -0.2173386514186859, -0.0005379617214202881, 0.28610825538635254, 0.005144933704286814, 0.22271305322647095, 0.0699501559138298, 0.012489130720496178, 0.2274153083562851, 0.089236319065094, 0.23245081305503845, 0.10890843719244003, -0.07921906560659409, 0.26384228467941284, 0.22077275812625885, -0.06015893816947937, 0.25777459144592285, 0.10912621766328812, -0.12282773107290268, -0.23398293554782867, -0.1379121094942093, -0.5218909978866577, 0.25118574500083923, -0.19218488037586212, -0.311681866645813, -0.48457714915275574, -0.032703153789043427, 0.10454680025577545, 0.08143952488899231, -0.27515745162963867, -0.06341732293367386, 0.3435787260532379, -0.14567667245864868, -0.005377396009862423, 0.2929840683937073, 0.09679292887449265, 0.08933985978364944, 0.04658609256148338, 0.1567876636981964, 0.010280718095600605, -0.1155473068356514, -0.26601195335388184, -0.1278051733970642 ]
https://github.com/huggingface/datasets/issues/2130
wikiann dataset is missing columns
Hi @lhoestq thank you very much for the help, it would be very nice to have it included, here is the full code, one need to also convert tags to string first: ``` import datasets from datasets import load_dataset def tags_to_spans(tags): """Convert tags to spans.""" spans = set() span_start = 0 span_end = 0 active_conll_tag = None for index, string_tag in enumerate(tags): # Actual BIO tag. bio_tag = string_tag[0] assert bio_tag in ["B", "I", "O"], "Invalid Tag" conll_tag = string_tag[2:] if bio_tag == "O": # The span has ended. if active_conll_tag: spans.add((active_conll_tag, (span_start, span_end))) active_conll_tag = None # We don't care about tags we are # told to ignore, so we do nothing. continue elif bio_tag == "B": # We are entering a new span; reset indices and active tag to new span. if active_conll_tag: spans.add((active_conll_tag, (span_start, span_end))) active_conll_tag = conll_tag span_start = index span_end = index elif bio_tag == "I" and conll_tag == active_conll_tag: # We're inside a span. span_end += 1 else: # This is the case the bio label is an "I", but either: # 1) the span hasn't started - i.e. an ill formed span. # 2) We have IOB1 tagging scheme. # We'll process the previous span if it exists, but also include this # span. This is important, because otherwise, a model may get a perfect # F1 score whilst still including false positive ill-formed spans. if active_conll_tag: spans.add((active_conll_tag, (span_start, span_end))) active_conll_tag = conll_tag span_start = index span_end = index # Last token might have been a part of a valid span. if active_conll_tag: spans.add((active_conll_tag, (span_start, span_end))) # Return sorted list of spans return sorted(list(spans), key=lambda x: x[1][0]) dataset = load_dataset('wikiann', 'en', split="train") ner_tags = { 0:"O", 1:"B-PER", 2:"I-PER", 3:"B-ORG", 4:"I-ORG", 5:"B-LOC", 6:"I-LOC" } def get_spans(tokens, tags): """Convert tags to textspans.""" spans = tags_to_spans(tags) text_spans = [ x[0] + ": " + " ".join([tokens[i] for i in range(x[1][0], x[1][1] + 1)]) for x in spans ] if not text_spans: text_spans = ["None"] return text_spans for i, d in enumerate(dataset): tokens = d['tokens'] tags = d['ner_tags'] tags = [ner_tags[i] for i in tags] spans = get_spans(tokens, tags) print("spans ", spans) print(d) if i > 10: break; ``` I am not sure how to contribute to the repository and how things work, could you let me know how one can access the datasets to be able to contribute to the repository? Maybe I could do it then thanks
Hi Wikiann dataset needs to have "spans" columns, which is necessary to be able to use this dataset, but this column is missing from huggingface datasets, could you please have a look? thank you @lhoestq
402
wikiann dataset is missing columns
[ -0.14667639136314392, 0.13274382054805756, -0.16293466091156006, 0.2277955561876297, 0.17718210816383362, 0.23837187886238098, 0.26147761940956116, 0.18710264563560486, 0.13371765613555908, 0.19967928528785706, 0.03239366412162781, 0.12388983368873596, 0.12512579560279846, 0.18891790509223938, 0.12104514241218567, -0.3319186568260193, 0.18029575049877167, 0.4024943709373474, -0.36997881531715393, -0.3405243754386902, -0.3686808943748474, 0.2235453575849533, -0.41598257422447205, -0.10202058404684067, -0.20869912207126617, -0.12995755672454834, -0.18448901176452637, 0.06529174000024796, -0.19224290549755096, -0.09563903510570526, 0.06812825798988342, -0.13647016882896423, -0.043736618012189865, -0.043672483414411545, -0.00010875918815145269, -0.09582287073135376, 0.1840311586856842, -0.10926716029644012, -0.3517844080924988, 0.6269947290420532, -0.1911735236644745, -0.2713892161846161, 0.04632805660367012, -0.4282893240451813, -0.1742374151945114, -0.2578414976596832, -0.09657872468233109, -0.007314328104257584, -0.09682201594114304, 0.16015850007534027, 0.25186029076576233, 0.2976614832878113, 0.12416747957468033, -0.17024396359920502, 0.11313702911138535, -0.17457179725170135, -0.10748489201068878, -0.4131285548210144, 0.1613032966852188, -0.19820500910282135, 0.11668118089437485, 0.40909168124198914, 0.0392051562666893, -0.16662637889385223, 0.10972122102975845, 0.07194581627845764, -0.16456541419029236, -0.12280835211277008, 0.4457530677318573, 0.406848669052124, 0.8194243907928467, 0.12171301245689392, -0.029065053910017014, -0.0018687084084376693, 0.13478170335292816, -0.09847358614206314, 0.24348433315753937, 0.013426153920590878, 0.0011522725690156221, 0.14489859342575073, 0.10141076147556305, -0.13727328181266785, -0.008440028876066208, 0.24436050653457642, -0.3426704704761505, 0.5324281454086304, 0.14723797142505646, 0.11316386610269547, -0.33933699131011963, 0.017937714233994484, 0.10052206367254257, 0.03707924112677574, -0.04475291818380356, 0.1987486332654953, -0.15701650083065033, -0.10614409297704697, 0.26382386684417725, 0.37703630328178406, 0.04044228047132492, -0.2955349087715149, -0.1309269517660141, -0.07648202776908875, 0.19801004230976105, -0.02723086066544056, 0.22227557003498077, 0.12171781808137894, 0.0663188248872757, 0.3785170614719391, 0.16592632234096527, 0.027797188609838486, -0.04113383591175079, -0.12478940188884735, 0.06756322830915451, 0.04398738965392113, 0.21973389387130737, -0.11855645477771759, -0.1788155734539032, -0.24797961115837097, 0.07029984891414642, 0.09158457815647125, 0.3878924548625946, 0.023254549130797386, -0.21616528928279877, 0.31599313020706177, 0.08518631756305695, 0.34102725982666016, -0.30689191818237305, 0.2140490710735321, -0.08088656514883041, -0.17244680225849152, -0.4746845066547394, 0.1518525779247284, 0.09284170717000961, -0.17512862384319305, 0.15092669427394867, 0.0321010984480381, 0.6262264847755432, 0.019718701019883156, -0.11318455636501312, 0.04709095135331154, -0.08039030432701111, -0.057442557066679, -0.06412294507026672, 0.4290279448032379, 0.019637765362858772, 0.18459957838058472, 0.10640113055706024, -0.2845175266265869, 0.056588634848594666, 0.07161017507314682, -0.045379363000392914, 0.006805384997278452, -0.2993623614311218, 0.28053805232048035, 0.04629209265112877, -0.18419665098190308, -0.0757749080657959, 0.00560010876506567, 0.1436934918165207, -0.43923670053482056, 0.12199980765581131, -0.16940096020698547, 0.15806353092193604, -0.26183196902275085, 0.18548746407032013, 0.21955351531505585, -0.37859785556793213, -0.25686073303222656, 0.09314051270484924, -0.07601042836904526, 0.3653848171234131, 0.17855693399906158, 0.008823568932712078, 0.1651037633419037, -0.2576482892036438, 0.1723492294549942, 0.24381621181964874, -0.2758980691432953, -0.26539346575737, -0.2352573722600937, 0.24907515943050385, -0.03200127184391022, -0.04114483296871185, 0.052399713546037674, 0.31218039989471436, 0.20958469808101654, 0.006395476870238781, 0.06611718982458115, 0.027257097885012627, -0.031098628416657448, -0.2169160693883896, -0.1876714676618576, 0.1655465066432953, 0.015451733954250813, 0.3879815340042114, 0.23778611421585083, 0.18259477615356445, -0.11764946579933167, 0.16183727979660034, -0.1842370480298996, 0.18857677280902863, 0.4366864860057831, 0.00848478078842163, -0.005891688633710146, 0.09698617458343506, -0.02284885197877884, -0.4161105751991272, 0.10300884395837784, 0.28971707820892334, 0.1426597684621811, 0.04165109619498253, -0.06704500317573547, -0.23300623893737793, -0.006972344126552343, -0.06158833205699921, -0.13945740461349487, 0.27243536710739136, 0.11630063503980637, -0.007749272044748068, 0.3151446282863617, -0.040208760648965836, -0.1156328096985817, -0.15226848423480988, -0.026904521510004997, -0.1976260095834732, 0.24947592616081238, -0.06653358042240143, -0.09969276934862137, 0.22384238243103027, 0.2452067881822586, 0.33376947045326233, 0.14042912423610687, 0.1287812739610672, -0.00928590539842844, -0.010570782236754894, 0.07743564248085022, 0.15565204620361328, 0.11180542409420013, 0.076772540807724, -0.17904934287071228, -0.0010122989770025015, -0.008170525543391705, 0.14324992895126343, -0.20327460765838623, -0.19270893931388855, 0.1616361141204834, 0.17803096771240234, 0.1959836781024933, -0.034206878393888474, 0.236809641122818, 0.39824530482292175, -0.23426681756973267, 0.1463427096605301, -0.3935481309890747, -0.07795227319002151, -0.24860458076000214, -0.05746329948306084, -0.1004064530134201, -0.26065701246261597, 0.25128868222236633, 0.4014480710029602, 0.09794588387012482, 0.27160000801086426, -0.28807491064071655, -0.34616708755493164, 0.02426116168498993, 0.4555356204509735, -0.021815087646245956, 0.24676556885242462, 0.32449376583099365, 0.25906315445899963, -0.2388029843568802, -0.07392337173223495, -0.13135771453380585, 0.07231638580560684, 0.08707084506750107, 0.17188696563243866, 0.3082122504711151, 0.15093418955802917, -0.1330462396144867, -0.3808947205543518, 0.2647010087966919, 0.034350503236055374, 0.37697407603263855, -0.07633811235427856, -0.24285463988780975, -0.24970827996730804, -0.08081573992967606, 0.395596444606781, 0.2400965541601181, 0.12290526181459427, -0.525958776473999, 0.18207548558712006, -0.1578265130519867, -0.2500249743461609, 0.02074025757610798, -0.3811171054840088, 0.07600873708724976, -0.0065896594896912575, 0.2083018571138382, -0.38295772671699524, -0.2488248497247696, -0.21610157191753387, 0.20473361015319824, -0.19296161830425262, 0.1581474244594574, 0.08730228245258331, -0.18787294626235962, -0.18406088650226593, -0.44231393933296204, -0.3316726088523865, 0.10516315698623657, 0.0960676372051239, 0.12536059319972992, 0.130093514919281, 0.5591709017753601, -0.2469940334558487, -0.18502813577651978, 0.22785915434360504, -0.2447929084300995, -0.08096393197774887, 0.07126221805810928, -0.08510740846395493, -0.07851436734199524, -0.10428865253925323, -0.3502601385116577, -0.18206484615802765, -0.08822435140609741, -0.19750675559043884, 0.2040046751499176, 0.006763074547052383, -0.19297993183135986, 0.009045080281794071, -0.11645348370075226, -0.0893068015575409, -0.13423994183540344, -0.28261107206344604, -0.02882029488682747, 0.39289677143096924, -0.21424417197704315, -0.37152737379074097, 0.20531116425991058, -0.26405027508735657, 0.46743735671043396, 0.02668726071715355, -0.4919748604297638, -0.023156151175498962, 0.03781628981232643, 0.35677847266197205, -0.05096828192472458, -0.03841046988964081, 0.4116976261138916, 0.10855530202388763, -0.1274576038122177, -0.38281071186065674, 0.08981499820947647, -0.11934307962656021, -0.11141722649335861, 0.281693696975708, -0.5396859645843506, 0.4299527108669281, -0.2974725365638733, 0.37192070484161377, 0.0694010779261589, 0.30922985076904297, 0.23436427116394043, -0.28462088108062744, 0.45860469341278076, -0.010832059197127819, -0.09019281715154648, 0.3716842532157898, -0.060569941997528076, 0.08575554192066193, 0.4622964560985565, 0.0685313269495964, -0.47115853428840637, -0.2048461139202118, 0.05501976236701012, -0.39944085478782654, -0.11022504419088364, -0.05889260768890381, 0.3908826410770416, 0.2029952108860016, 0.27533015608787537, 0.09587115794420242, -0.3122823238372803, -0.2294374704360962, -0.06367194652557373, 0.030899083241820335, 0.09759503602981567, 0.01304951123893261, -0.32292529940605164, 0.017248671501874924, -0.4687733054161072, -0.08563870191574097, -0.24467521905899048, 0.2792193293571472, -0.013300815597176552, -0.1170528456568718, -0.023004600778222084, 0.052350495010614395, 0.43429264426231384, -0.5718246102333069, -0.1397455632686615, 0.10547468066215515, 0.3747575879096985, -0.352001816034317, -0.04183259978890419, -0.28818267583847046, -0.22921159863471985, 0.0753641203045845, 0.43690913915634155, -0.25605201721191406, 0.17402513325214386, 0.4003911316394806, 0.21320359408855438, -0.22828538715839386, -0.0024508212227374315, -0.2883487641811371, -0.5264127850532532, -0.07597509026527405, -0.19126100838184357, 0.10432235896587372, 0.10840783268213272, -0.11454986035823822, -0.17887665331363678, -0.035166289657354355, 0.07495665550231934, -0.13664007186889648, 0.22911927103996277, 0.351397305727005, 0.11701476573944092, 0.01861995831131935, -0.018036922439932823, 0.19851833581924438, 0.13874617218971252, 0.33587557077407837, -0.07816807925701141, 0.08323664218187332, 0.03190233185887337, -0.4819563925266266, 0.45738309621810913, 0.00224399846047163, 0.01790442317724228, 0.132847860455513, -0.15346220135688782, 0.06762754172086716, 0.12418344616889954, 0.03905760869383812, 0.26827821135520935, 0.08250962197780609, -0.01965627819299698, -0.04625708982348442, 0.32018259167671204, 0.01454989705234766, -0.007243603002279997, 0.3543775975704193, 0.3446499705314636, -0.19621621072292328, 0.15472793579101562, 0.10259418189525604, 0.7492300271987915, -0.03326641023159027, 0.1890992820262909, 0.5092464685440063, -0.2002522349357605, 0.21769218146800995, 0.07456836849451065, 0.1526431441307068, -0.13503797352313995, -0.18169139325618744, -0.02693529799580574, 0.08087190985679626, 0.22465698421001434, 0.08696030080318451, -0.15245728194713593, 0.29713156819343567, -0.13182826340198517, 0.5737868547439575, 0.03196701407432556, -0.2984578013420105, 0.10989466309547424, -0.08689037710428238, 0.022168055176734924, 0.16480132937431335, -0.0253867506980896, -0.0063340007327497005, -0.20404022932052612, 0.2078620195388794, -0.026485474780201912, -0.18321925401687622, -0.1614302098751068, -0.09766334295272827, -0.03378746286034584, 0.19296744465827942, -0.013369910418987274, -0.4894764721393585, -0.24869821965694427, 0.44586214423179626, 0.12159007042646408, 0.1500546932220459, -0.1372784972190857, 0.35742393136024475, -0.020580921322107315, -0.029265664517879486, -0.012217060662806034, 0.10454177111387253, 0.005359290633350611, -0.30822983384132385, -0.4834304749965668, 0.13538852334022522, -0.3643902540206909, -0.028076352551579475, -0.45190221071243286, 0.0719081312417984, -0.03043747879564762, -0.16962699592113495, -0.03365612030029297, 0.12285750359296799, 0.057952795177698135, -0.5324497222900391, 0.17136436700820923, -0.09960850328207016, 0.007989234291017056, 0.28821852803230286, 0.03843601793050766, 0.023770786821842194, -0.239891916513443, 0.32292062044143677, 0.20330730080604553, 0.015315422788262367, 0.777484655380249, 0.08230683952569962, -0.25829246640205383, -0.3614576458930969, -0.19356748461723328, 0.29408395290374756, -0.07016012817621231, -0.11544270813465118, 0.08097801357507706, -0.06189817935228348, -0.0933213159441948, 0.3542616367340088, -0.050052955746650696, -0.25376516580581665, -0.22306054830551147, -0.3197391629219055, -0.38929256796836853, 0.3313576877117157, 0.11455832421779633, -0.05259108915925026, -0.11755333095788956, -0.09687486290931702, -0.014800339005887508, 0.2860085368156433, -0.37246087193489075, -0.22659538686275482, -0.35230547189712524, 0.10152233392000198, 0.10584747046232224, 0.058577194809913635, -0.05154960975050926, -0.12234140187501907, 0.2675305902957916, -0.17786145210266113, 0.3634028136730194, -0.2772822082042694, 0.0687061995267868, 0.08962921053171158, 0.07956433296203613, 0.14006131887435913, 0.09986823797225952, -0.07548682391643524, -0.23810549080371857, -0.03116089478135109, 0.0620114766061306, -0.10175710171461105, 0.0049981772899627686, 0.3116827607154846, 0.27864038944244385, 0.07454851269721985, -0.11365707218647003, 0.08543629199266434, 0.12344957888126373, -0.14084817469120026, -0.05922287702560425, 0.0823979303240776, 0.4143896996974945, -0.029964134097099304, 0.41079655289649963, -0.05702145770192146, -0.4292129576206207, 0.2676299214363098, 0.46953657269477844, -0.2910282015800476, 0.07851511985063553, 0.17627687752246857, -0.17270347476005554, 0.0004998836666345596, -0.0701487734913826, 0.16528558731079102, 0.0762401670217514, 0.3222694396972656, -0.6166946887969971, -0.2666185796260834, 0.39501985907554626, 0.10351249575614929, 0.2649330496788025, 0.01346015464514494, 0.0720229521393776, -0.6837401390075684, 0.1689668446779251, 0.03960113227367401, 0.20401892066001892, -0.28247570991516113, -0.051516082137823105, 0.5100889801979065, -0.02352743223309517, -0.15000130236148834, 0.03308301046490669, 0.08344253897666931, -0.19678470492362976, 0.578891396522522, 0.28468087315559387, 0.2250954657793045, -0.08333028852939606, 0.06635982543230057, -0.050870779901742935, -0.25349169969558716, 0.1592371165752411, -0.07134705781936646, -0.017724299803376198, 0.06944591552019119, -0.03417661786079407, -0.1455182284116745, 0.34443235397338867, -0.09898791462182999, -0.1468760073184967, 0.11911946535110474, -0.40540313720703125, -0.013303759507834911, -0.5171498656272888, -0.2635502517223358, 0.4554789364337921, -0.02211751416325569, 0.1392078399658203, -0.06301458179950714, 0.01461002230644226, 0.014066417701542377, -0.2207777500152588, -0.12205532938241959, 0.20272302627563477, 0.2594183385372162, 0.18552568554878235, -0.018998214974999428, 0.03982038423418999, 0.47169849276542664, 0.08009888231754303, -0.08948934823274612, 0.04813557490706444, 0.2047233134508133, -0.1942846179008484, 0.19250410795211792, -0.07298821955919266, 0.20513299107551575, -0.4538525938987732, -0.15081505477428436, 0.20293304324150085, 0.24415990710258484, 0.02099745161831379, 0.10535961389541626, 0.2379094511270523, -0.23812440037727356, 0.16685082018375397, 0.016796041280031204, -0.020167259499430656, -0.022470900788903236, -0.3035265803337097, -0.186496302485466, -0.6286749243736267, -0.059615831822156906, -0.03515305370092392, -0.11242470145225525, 0.2721056640148163, 0.1426241397857666, 0.14506804943084717, 0.1275303214788437, -0.03743244335055351, 0.10072192549705505, -0.26405736804008484, 0.4767039120197296, 0.3014237582683563, -0.16950377821922302, -0.1332075595855713, -0.5646296739578247, -0.5294812321662903, 0.043971192091703415, -0.4442954361438751, -0.4464007616043091, 0.18163679540157318, 0.17937864363193512, 0.34832194447517395, -0.3177036941051483, 0.1730664074420929, 0.28818443417549133, -0.023307323455810547, 0.0413733534514904, -0.5397128462791443, -0.4499646723270416, 0.030568063259124756, 0.11547770351171494, -0.061501067131757736, -0.13093630969524384, 0.4227192997932434, 0.3109508752822876, 0.18351562321186066, 0.07505850493907928, 0.20741038024425507, -0.20662552118301392, -0.14387932419776917, -0.09856253862380981, 0.18572445213794708, 0.520386278629303, -0.27403539419174194, 0.03977933153510094, -0.11170187592506409, -0.2173386514186859, -0.0005379617214202881, 0.28610825538635254, 0.005144933704286814, 0.22271305322647095, 0.0699501559138298, 0.012489130720496178, 0.2274153083562851, 0.089236319065094, 0.23245081305503845, 0.10890843719244003, -0.07921906560659409, 0.26384228467941284, 0.22077275812625885, -0.06015893816947937, 0.25777459144592285, 0.10912621766328812, -0.12282773107290268, -0.23398293554782867, -0.1379121094942093, -0.5218909978866577, 0.25118574500083923, -0.19218488037586212, -0.311681866645813, -0.48457714915275574, -0.032703153789043427, 0.10454680025577545, 0.08143952488899231, -0.27515745162963867, -0.06341732293367386, 0.3435787260532379, -0.14567667245864868, -0.005377396009862423, 0.2929840683937073, 0.09679292887449265, 0.08933985978364944, 0.04658609256148338, 0.1567876636981964, 0.010280718095600605, -0.1155473068356514, -0.26601195335388184, -0.1278051733970642 ]
https://github.com/huggingface/datasets/issues/2130
wikiann dataset is missing columns
Cool ! Let me give you some context: #### Contribution guide You can find the contribution guide here: https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md It explains how to set up your dev environment in a few steps. #### Dataset loading Each Dataset is defined by a Table that have many rows (one row = one example) and columns (one column = one feature). To change how a dataset is constructed, you have to modify its dataset script that you can find here: https://github.com/huggingface/datasets/blob/master/datasets/wikiann/wikiann.py It includes everything needed to load the WikiANN dataset. You can load locally a modified version of `wikiann.py` with `load_dataset("path/to/wikiann.py")`. #### Define a new column Each column has a name and a type. You can see how the features of WikiANN are defined here: https://github.com/huggingface/datasets/blob/c98e4b8f23e3770c401c6d9326e243e1ffd599ec/datasets/wikiann/wikiann.py#L245-L263 Ideally we would have one additional feature "spans": ```python "spans": datasets.Sequence(datasets.Value("string")), ``` #### Compute the content of each row To build the WikiANN rows, the _generate_examples method from [here](https://github.com/huggingface/nlp/blob/c98e4b8f23e3770c401c6d9326e243e1ffd599ec/datasets/wikiann/wikiann.py#L292-L316) is used. This function `yield` one python dictionary for each example: ```python yield guid_index, {"tokens": tokens, "ner_tags": ner_tags, "langs": langs} ``` The objective would be to return instead something like ```python spans = spans = get_spans(tokens, tags) yield guid_index, {"tokens": tokens, "ner_tags": ner_tags, "langs": langs, "spans": spans} ``` Let me know if you have questions !
Hi Wikiann dataset needs to have "spans" columns, which is necessary to be able to use this dataset, but this column is missing from huggingface datasets, could you please have a look? thank you @lhoestq
208
wikiann dataset is missing columns
[ -0.14667639136314392, 0.13274382054805756, -0.16293466091156006, 0.2277955561876297, 0.17718210816383362, 0.23837187886238098, 0.26147761940956116, 0.18710264563560486, 0.13371765613555908, 0.19967928528785706, 0.03239366412162781, 0.12388983368873596, 0.12512579560279846, 0.18891790509223938, 0.12104514241218567, -0.3319186568260193, 0.18029575049877167, 0.4024943709373474, -0.36997881531715393, -0.3405243754386902, -0.3686808943748474, 0.2235453575849533, -0.41598257422447205, -0.10202058404684067, -0.20869912207126617, -0.12995755672454834, -0.18448901176452637, 0.06529174000024796, -0.19224290549755096, -0.09563903510570526, 0.06812825798988342, -0.13647016882896423, -0.043736618012189865, -0.043672483414411545, -0.00010875918815145269, -0.09582287073135376, 0.1840311586856842, -0.10926716029644012, -0.3517844080924988, 0.6269947290420532, -0.1911735236644745, -0.2713892161846161, 0.04632805660367012, -0.4282893240451813, -0.1742374151945114, -0.2578414976596832, -0.09657872468233109, -0.007314328104257584, -0.09682201594114304, 0.16015850007534027, 0.25186029076576233, 0.2976614832878113, 0.12416747957468033, -0.17024396359920502, 0.11313702911138535, -0.17457179725170135, -0.10748489201068878, -0.4131285548210144, 0.1613032966852188, -0.19820500910282135, 0.11668118089437485, 0.40909168124198914, 0.0392051562666893, -0.16662637889385223, 0.10972122102975845, 0.07194581627845764, -0.16456541419029236, -0.12280835211277008, 0.4457530677318573, 0.406848669052124, 0.8194243907928467, 0.12171301245689392, -0.029065053910017014, -0.0018687084084376693, 0.13478170335292816, -0.09847358614206314, 0.24348433315753937, 0.013426153920590878, 0.0011522725690156221, 0.14489859342575073, 0.10141076147556305, -0.13727328181266785, -0.008440028876066208, 0.24436050653457642, -0.3426704704761505, 0.5324281454086304, 0.14723797142505646, 0.11316386610269547, -0.33933699131011963, 0.017937714233994484, 0.10052206367254257, 0.03707924112677574, -0.04475291818380356, 0.1987486332654953, -0.15701650083065033, -0.10614409297704697, 0.26382386684417725, 0.37703630328178406, 0.04044228047132492, -0.2955349087715149, -0.1309269517660141, -0.07648202776908875, 0.19801004230976105, -0.02723086066544056, 0.22227557003498077, 0.12171781808137894, 0.0663188248872757, 0.3785170614719391, 0.16592632234096527, 0.027797188609838486, -0.04113383591175079, -0.12478940188884735, 0.06756322830915451, 0.04398738965392113, 0.21973389387130737, -0.11855645477771759, -0.1788155734539032, -0.24797961115837097, 0.07029984891414642, 0.09158457815647125, 0.3878924548625946, 0.023254549130797386, -0.21616528928279877, 0.31599313020706177, 0.08518631756305695, 0.34102725982666016, -0.30689191818237305, 0.2140490710735321, -0.08088656514883041, -0.17244680225849152, -0.4746845066547394, 0.1518525779247284, 0.09284170717000961, -0.17512862384319305, 0.15092669427394867, 0.0321010984480381, 0.6262264847755432, 0.019718701019883156, -0.11318455636501312, 0.04709095135331154, -0.08039030432701111, -0.057442557066679, -0.06412294507026672, 0.4290279448032379, 0.019637765362858772, 0.18459957838058472, 0.10640113055706024, -0.2845175266265869, 0.056588634848594666, 0.07161017507314682, -0.045379363000392914, 0.006805384997278452, -0.2993623614311218, 0.28053805232048035, 0.04629209265112877, -0.18419665098190308, -0.0757749080657959, 0.00560010876506567, 0.1436934918165207, -0.43923670053482056, 0.12199980765581131, -0.16940096020698547, 0.15806353092193604, -0.26183196902275085, 0.18548746407032013, 0.21955351531505585, -0.37859785556793213, -0.25686073303222656, 0.09314051270484924, -0.07601042836904526, 0.3653848171234131, 0.17855693399906158, 0.008823568932712078, 0.1651037633419037, -0.2576482892036438, 0.1723492294549942, 0.24381621181964874, -0.2758980691432953, -0.26539346575737, -0.2352573722600937, 0.24907515943050385, -0.03200127184391022, -0.04114483296871185, 0.052399713546037674, 0.31218039989471436, 0.20958469808101654, 0.006395476870238781, 0.06611718982458115, 0.027257097885012627, -0.031098628416657448, -0.2169160693883896, -0.1876714676618576, 0.1655465066432953, 0.015451733954250813, 0.3879815340042114, 0.23778611421585083, 0.18259477615356445, -0.11764946579933167, 0.16183727979660034, -0.1842370480298996, 0.18857677280902863, 0.4366864860057831, 0.00848478078842163, -0.005891688633710146, 0.09698617458343506, -0.02284885197877884, -0.4161105751991272, 0.10300884395837784, 0.28971707820892334, 0.1426597684621811, 0.04165109619498253, -0.06704500317573547, -0.23300623893737793, -0.006972344126552343, -0.06158833205699921, -0.13945740461349487, 0.27243536710739136, 0.11630063503980637, -0.007749272044748068, 0.3151446282863617, -0.040208760648965836, -0.1156328096985817, -0.15226848423480988, -0.026904521510004997, -0.1976260095834732, 0.24947592616081238, -0.06653358042240143, -0.09969276934862137, 0.22384238243103027, 0.2452067881822586, 0.33376947045326233, 0.14042912423610687, 0.1287812739610672, -0.00928590539842844, -0.010570782236754894, 0.07743564248085022, 0.15565204620361328, 0.11180542409420013, 0.076772540807724, -0.17904934287071228, -0.0010122989770025015, -0.008170525543391705, 0.14324992895126343, -0.20327460765838623, -0.19270893931388855, 0.1616361141204834, 0.17803096771240234, 0.1959836781024933, -0.034206878393888474, 0.236809641122818, 0.39824530482292175, -0.23426681756973267, 0.1463427096605301, -0.3935481309890747, -0.07795227319002151, -0.24860458076000214, -0.05746329948306084, -0.1004064530134201, -0.26065701246261597, 0.25128868222236633, 0.4014480710029602, 0.09794588387012482, 0.27160000801086426, -0.28807491064071655, -0.34616708755493164, 0.02426116168498993, 0.4555356204509735, -0.021815087646245956, 0.24676556885242462, 0.32449376583099365, 0.25906315445899963, -0.2388029843568802, -0.07392337173223495, -0.13135771453380585, 0.07231638580560684, 0.08707084506750107, 0.17188696563243866, 0.3082122504711151, 0.15093418955802917, -0.1330462396144867, -0.3808947205543518, 0.2647010087966919, 0.034350503236055374, 0.37697407603263855, -0.07633811235427856, -0.24285463988780975, -0.24970827996730804, -0.08081573992967606, 0.395596444606781, 0.2400965541601181, 0.12290526181459427, -0.525958776473999, 0.18207548558712006, -0.1578265130519867, -0.2500249743461609, 0.02074025757610798, -0.3811171054840088, 0.07600873708724976, -0.0065896594896912575, 0.2083018571138382, -0.38295772671699524, -0.2488248497247696, -0.21610157191753387, 0.20473361015319824, -0.19296161830425262, 0.1581474244594574, 0.08730228245258331, -0.18787294626235962, -0.18406088650226593, -0.44231393933296204, -0.3316726088523865, 0.10516315698623657, 0.0960676372051239, 0.12536059319972992, 0.130093514919281, 0.5591709017753601, -0.2469940334558487, -0.18502813577651978, 0.22785915434360504, -0.2447929084300995, -0.08096393197774887, 0.07126221805810928, -0.08510740846395493, -0.07851436734199524, -0.10428865253925323, -0.3502601385116577, -0.18206484615802765, -0.08822435140609741, -0.19750675559043884, 0.2040046751499176, 0.006763074547052383, -0.19297993183135986, 0.009045080281794071, -0.11645348370075226, -0.0893068015575409, -0.13423994183540344, -0.28261107206344604, -0.02882029488682747, 0.39289677143096924, -0.21424417197704315, -0.37152737379074097, 0.20531116425991058, -0.26405027508735657, 0.46743735671043396, 0.02668726071715355, -0.4919748604297638, -0.023156151175498962, 0.03781628981232643, 0.35677847266197205, -0.05096828192472458, -0.03841046988964081, 0.4116976261138916, 0.10855530202388763, -0.1274576038122177, -0.38281071186065674, 0.08981499820947647, -0.11934307962656021, -0.11141722649335861, 0.281693696975708, -0.5396859645843506, 0.4299527108669281, -0.2974725365638733, 0.37192070484161377, 0.0694010779261589, 0.30922985076904297, 0.23436427116394043, -0.28462088108062744, 0.45860469341278076, -0.010832059197127819, -0.09019281715154648, 0.3716842532157898, -0.060569941997528076, 0.08575554192066193, 0.4622964560985565, 0.0685313269495964, -0.47115853428840637, -0.2048461139202118, 0.05501976236701012, -0.39944085478782654, -0.11022504419088364, -0.05889260768890381, 0.3908826410770416, 0.2029952108860016, 0.27533015608787537, 0.09587115794420242, -0.3122823238372803, -0.2294374704360962, -0.06367194652557373, 0.030899083241820335, 0.09759503602981567, 0.01304951123893261, -0.32292529940605164, 0.017248671501874924, -0.4687733054161072, -0.08563870191574097, -0.24467521905899048, 0.2792193293571472, -0.013300815597176552, -0.1170528456568718, -0.023004600778222084, 0.052350495010614395, 0.43429264426231384, -0.5718246102333069, -0.1397455632686615, 0.10547468066215515, 0.3747575879096985, -0.352001816034317, -0.04183259978890419, -0.28818267583847046, -0.22921159863471985, 0.0753641203045845, 0.43690913915634155, -0.25605201721191406, 0.17402513325214386, 0.4003911316394806, 0.21320359408855438, -0.22828538715839386, -0.0024508212227374315, -0.2883487641811371, -0.5264127850532532, -0.07597509026527405, -0.19126100838184357, 0.10432235896587372, 0.10840783268213272, -0.11454986035823822, -0.17887665331363678, -0.035166289657354355, 0.07495665550231934, -0.13664007186889648, 0.22911927103996277, 0.351397305727005, 0.11701476573944092, 0.01861995831131935, -0.018036922439932823, 0.19851833581924438, 0.13874617218971252, 0.33587557077407837, -0.07816807925701141, 0.08323664218187332, 0.03190233185887337, -0.4819563925266266, 0.45738309621810913, 0.00224399846047163, 0.01790442317724228, 0.132847860455513, -0.15346220135688782, 0.06762754172086716, 0.12418344616889954, 0.03905760869383812, 0.26827821135520935, 0.08250962197780609, -0.01965627819299698, -0.04625708982348442, 0.32018259167671204, 0.01454989705234766, -0.007243603002279997, 0.3543775975704193, 0.3446499705314636, -0.19621621072292328, 0.15472793579101562, 0.10259418189525604, 0.7492300271987915, -0.03326641023159027, 0.1890992820262909, 0.5092464685440063, -0.2002522349357605, 0.21769218146800995, 0.07456836849451065, 0.1526431441307068, -0.13503797352313995, -0.18169139325618744, -0.02693529799580574, 0.08087190985679626, 0.22465698421001434, 0.08696030080318451, -0.15245728194713593, 0.29713156819343567, -0.13182826340198517, 0.5737868547439575, 0.03196701407432556, -0.2984578013420105, 0.10989466309547424, -0.08689037710428238, 0.022168055176734924, 0.16480132937431335, -0.0253867506980896, -0.0063340007327497005, -0.20404022932052612, 0.2078620195388794, -0.026485474780201912, -0.18321925401687622, -0.1614302098751068, -0.09766334295272827, -0.03378746286034584, 0.19296744465827942, -0.013369910418987274, -0.4894764721393585, -0.24869821965694427, 0.44586214423179626, 0.12159007042646408, 0.1500546932220459, -0.1372784972190857, 0.35742393136024475, -0.020580921322107315, -0.029265664517879486, -0.012217060662806034, 0.10454177111387253, 0.005359290633350611, -0.30822983384132385, -0.4834304749965668, 0.13538852334022522, -0.3643902540206909, -0.028076352551579475, -0.45190221071243286, 0.0719081312417984, -0.03043747879564762, -0.16962699592113495, -0.03365612030029297, 0.12285750359296799, 0.057952795177698135, -0.5324497222900391, 0.17136436700820923, -0.09960850328207016, 0.007989234291017056, 0.28821852803230286, 0.03843601793050766, 0.023770786821842194, -0.239891916513443, 0.32292062044143677, 0.20330730080604553, 0.015315422788262367, 0.777484655380249, 0.08230683952569962, -0.25829246640205383, -0.3614576458930969, -0.19356748461723328, 0.29408395290374756, -0.07016012817621231, -0.11544270813465118, 0.08097801357507706, -0.06189817935228348, -0.0933213159441948, 0.3542616367340088, -0.050052955746650696, -0.25376516580581665, -0.22306054830551147, -0.3197391629219055, -0.38929256796836853, 0.3313576877117157, 0.11455832421779633, -0.05259108915925026, -0.11755333095788956, -0.09687486290931702, -0.014800339005887508, 0.2860085368156433, -0.37246087193489075, -0.22659538686275482, -0.35230547189712524, 0.10152233392000198, 0.10584747046232224, 0.058577194809913635, -0.05154960975050926, -0.12234140187501907, 0.2675305902957916, -0.17786145210266113, 0.3634028136730194, -0.2772822082042694, 0.0687061995267868, 0.08962921053171158, 0.07956433296203613, 0.14006131887435913, 0.09986823797225952, -0.07548682391643524, -0.23810549080371857, -0.03116089478135109, 0.0620114766061306, -0.10175710171461105, 0.0049981772899627686, 0.3116827607154846, 0.27864038944244385, 0.07454851269721985, -0.11365707218647003, 0.08543629199266434, 0.12344957888126373, -0.14084817469120026, -0.05922287702560425, 0.0823979303240776, 0.4143896996974945, -0.029964134097099304, 0.41079655289649963, -0.05702145770192146, -0.4292129576206207, 0.2676299214363098, 0.46953657269477844, -0.2910282015800476, 0.07851511985063553, 0.17627687752246857, -0.17270347476005554, 0.0004998836666345596, -0.0701487734913826, 0.16528558731079102, 0.0762401670217514, 0.3222694396972656, -0.6166946887969971, -0.2666185796260834, 0.39501985907554626, 0.10351249575614929, 0.2649330496788025, 0.01346015464514494, 0.0720229521393776, -0.6837401390075684, 0.1689668446779251, 0.03960113227367401, 0.20401892066001892, -0.28247570991516113, -0.051516082137823105, 0.5100889801979065, -0.02352743223309517, -0.15000130236148834, 0.03308301046490669, 0.08344253897666931, -0.19678470492362976, 0.578891396522522, 0.28468087315559387, 0.2250954657793045, -0.08333028852939606, 0.06635982543230057, -0.050870779901742935, -0.25349169969558716, 0.1592371165752411, -0.07134705781936646, -0.017724299803376198, 0.06944591552019119, -0.03417661786079407, -0.1455182284116745, 0.34443235397338867, -0.09898791462182999, -0.1468760073184967, 0.11911946535110474, -0.40540313720703125, -0.013303759507834911, -0.5171498656272888, -0.2635502517223358, 0.4554789364337921, -0.02211751416325569, 0.1392078399658203, -0.06301458179950714, 0.01461002230644226, 0.014066417701542377, -0.2207777500152588, -0.12205532938241959, 0.20272302627563477, 0.2594183385372162, 0.18552568554878235, -0.018998214974999428, 0.03982038423418999, 0.47169849276542664, 0.08009888231754303, -0.08948934823274612, 0.04813557490706444, 0.2047233134508133, -0.1942846179008484, 0.19250410795211792, -0.07298821955919266, 0.20513299107551575, -0.4538525938987732, -0.15081505477428436, 0.20293304324150085, 0.24415990710258484, 0.02099745161831379, 0.10535961389541626, 0.2379094511270523, -0.23812440037727356, 0.16685082018375397, 0.016796041280031204, -0.020167259499430656, -0.022470900788903236, -0.3035265803337097, -0.186496302485466, -0.6286749243736267, -0.059615831822156906, -0.03515305370092392, -0.11242470145225525, 0.2721056640148163, 0.1426241397857666, 0.14506804943084717, 0.1275303214788437, -0.03743244335055351, 0.10072192549705505, -0.26405736804008484, 0.4767039120197296, 0.3014237582683563, -0.16950377821922302, -0.1332075595855713, -0.5646296739578247, -0.5294812321662903, 0.043971192091703415, -0.4442954361438751, -0.4464007616043091, 0.18163679540157318, 0.17937864363193512, 0.34832194447517395, -0.3177036941051483, 0.1730664074420929, 0.28818443417549133, -0.023307323455810547, 0.0413733534514904, -0.5397128462791443, -0.4499646723270416, 0.030568063259124756, 0.11547770351171494, -0.061501067131757736, -0.13093630969524384, 0.4227192997932434, 0.3109508752822876, 0.18351562321186066, 0.07505850493907928, 0.20741038024425507, -0.20662552118301392, -0.14387932419776917, -0.09856253862380981, 0.18572445213794708, 0.520386278629303, -0.27403539419174194, 0.03977933153510094, -0.11170187592506409, -0.2173386514186859, -0.0005379617214202881, 0.28610825538635254, 0.005144933704286814, 0.22271305322647095, 0.0699501559138298, 0.012489130720496178, 0.2274153083562851, 0.089236319065094, 0.23245081305503845, 0.10890843719244003, -0.07921906560659409, 0.26384228467941284, 0.22077275812625885, -0.06015893816947937, 0.25777459144592285, 0.10912621766328812, -0.12282773107290268, -0.23398293554782867, -0.1379121094942093, -0.5218909978866577, 0.25118574500083923, -0.19218488037586212, -0.311681866645813, -0.48457714915275574, -0.032703153789043427, 0.10454680025577545, 0.08143952488899231, -0.27515745162963867, -0.06341732293367386, 0.3435787260532379, -0.14567667245864868, -0.005377396009862423, 0.2929840683937073, 0.09679292887449265, 0.08933985978364944, 0.04658609256148338, 0.1567876636981964, 0.010280718095600605, -0.1155473068356514, -0.26601195335388184, -0.1278051733970642 ]
https://github.com/huggingface/datasets/issues/2129
How to train BERT model with next sentence prediction?
Hi ! We're not using `TextDatasetForNextSentencePrediction` in `datasets`. Although you can probably use the `TextDatasetForNextSentencePrediction.create_examples_from_document` on a dataset to prepare it for next sentence prediction.
Hello. I'm trying to pretrain the BERT model with next sentence prediction. Is there any function that supports next sentence prediction like ` TextDatasetForNextSentencePrediction` of `huggingface/transformers` ?
25
How to train BERT model with next sentence prediction?
[ 0.23454688489437103, -0.0993097648024559, -0.12363222241401672, -0.2300092726945877, 0.008281314745545387, -0.2806912064552307, 0.23440633714199066, 0.12159039825201035, -0.03483951836824417, 0.17340248823165894, 0.09525346755981445, 0.1348704695701599, -0.1372215300798416, -0.0818958580493927, 0.08115678280591965, -0.5413742065429688, 0.10817692428827286, 0.31925827264785767, -0.0204726904630661, -0.1280069798231125, -0.15180207788944244, -0.12769345939159393, -0.19665491580963135, 0.25014203786849976, -0.21138182282447815, -0.16315680742263794, -0.379364937543869, -0.1639787256717682, -0.13937163352966309, -0.31146135926246643, 0.12294347584247589, 0.44520819187164307, 0.2392163872718811, 0.1452561467885971, -0.00010725497850216925, -0.15424802899360657, 0.053974129259586334, -0.2204868346452713, 0.004137017298489809, -0.20124556124210358, -0.3075328767299652, 0.23459069430828094, 0.1599021553993225, -0.1745666116476059, -0.2701329290866852, 0.39142662286758423, 0.33284589648246765, 0.1701582968235016, 0.35315757989883423, 0.22168593108654022, 0.18929040431976318, -0.2058275043964386, 0.2522946298122406, -0.30247724056243896, 0.313021183013916, -0.2937352657318115, 0.11275994032621384, -0.09992129355669022, 0.21347878873348236, -0.23956318199634552, -0.4863402247428894, 0.4076173007488251, 0.19918867945671082, 0.1345319002866745, 0.2296960949897766, 0.1869920790195465, 0.23297789692878723, -0.048622772097587585, -0.19775420427322388, 0.21798382699489594, 0.10768212378025055, -0.13936734199523926, -0.27511388063430786, -0.002083667553961277, 0.19723030924797058, -0.1118798553943634, -0.07992935180664062, -0.2797243595123291, -0.04257022589445114, 0.19499918818473816, 0.30849018692970276, -0.307096928358078, -0.42521190643310547, 0.13040821254253387, -0.08169156312942505, 0.44905227422714233, -0.007518108934164047, -0.33178266882896423, 0.2063080221414566, -0.13678868114948273, 0.1280861645936966, -0.08952168375253677, 0.07502920180559158, 0.157729372382164, -0.011419214308261871, -0.18838176131248474, -0.07179497927427292, 0.12438176572322845, -0.04706605151295662, -0.1141442134976387, 0.06374381482601166, -0.018808303400874138, -0.07097384333610535, -0.23246465623378754, 0.5071670413017273, 0.18724216520786285, -0.14925740659236908, 0.252372145652771, -0.27641919255256653, 0.3303276300430298, -0.3811196982860565, -0.12948894500732422, -0.2950001358985901, 0.1291147619485855, 0.19930939376354218, -0.17153029143810272, -0.30874595046043396, 0.0004059057973790914, 0.005453953519463539, 0.1890796273946762, -0.37329187989234924, -0.08073188364505768, -0.011674772948026657, 0.27276620268821716, -0.3198813796043396, 0.26040855050086975, -0.06650716811418533, 0.15261633694171906, -0.023710358887910843, 0.012794875539839268, -0.1919473111629486, 0.019510362297296524, -0.2960042357444763, -0.006525095552206039, -0.05443655326962471, 0.2992869019508362, 0.12725543975830078, -0.07186955958604813, -0.014257394708693027, -0.04059471935033798, -0.12849539518356323, -0.26294630765914917, 0.12793122231960297, -0.10884062945842743, -0.15337061882019043, 0.04882833734154701, -0.13406969606876373, 0.23983728885650635, -0.04126462712883949, -0.043901924043893814, -0.0028563281521201134, -0.05535736680030823, -0.023796312510967255, 0.2571253180503845, -0.0033146440982818604, -0.23376329243183136, 0.5067211985588074, 0.5445153117179871, 0.03115049935877323, -0.15717966854572296, -0.05626314878463745, 0.07100623100996017, -0.06899350881576538, 0.1375998705625534, 0.15662367641925812, 0.1590353399515152, -0.36437302827835083, -0.14071589708328247, 0.12786254286766052, 0.3330734074115753, 0.2821739912033081, 0.029843974858522415, 0.0007098243222571909, 0.25992193818092346, 0.2388305962085724, 0.3497772216796875, -0.08141651004552841, -0.01271752268075943, -0.15628445148468018, 0.08776558190584183, 0.04902540519833565, 0.19747816026210785, 0.11296530812978745, -0.017161492258310318, -0.044778551906347275, -0.027432192116975784, 0.017590194940567017, -0.10913331806659698, -0.15028175711631775, -0.07635992765426636, 0.005994581617414951, -0.08324231207370758, -0.21971702575683594, -0.12386417388916016, 0.12818580865859985, -0.10682377964258194, -0.3242076635360718, 0.7737717628479004, 0.07724913954734802, -0.1099611446261406, -0.07451217621564865, -0.1957743614912033, 0.157322496175766, 0.14185817539691925, 0.12970739603042603, -0.13167285919189453, -0.04612497240304947, -0.22979736328125, 0.0008561937138438225, 0.05244075134396553, 0.14541810750961304, -0.04337773844599724, -0.1369258314371109, 0.05422551929950714, -0.17420876026153564, -0.15236903727054596, 0.24392244219779968, 0.099794402718544, -0.1840912401676178, 0.07419540733098984, -0.31220489740371704, -0.23266637325286865, -0.029107581824064255, -0.014504381455481052, 0.03320327773690224, -0.06661506742238998, -0.41293081641197205, -0.04457855224609375, 0.19602876901626587, 0.22088663280010223, -0.029089225456118584, 0.13808074593544006, 0.24074651300907135, -0.018141474574804306, 0.030230462551116943, 0.06835605949163437, -0.03137356415390968, -0.28170427680015564, -0.007745005190372467, -0.10368501394987106, 0.06477565318346024, -0.024303888902068138, -0.0682869702577591, 0.05555607005953789, -0.18633440136909485, -0.01631639152765274, 0.7204830050468445, -0.08594223856925964, 0.3164013624191284, -0.17272517085075378, -0.03444734215736389, -0.07509641349315643, -0.046976540237665176, -0.4471067786216736, 0.17747272551059723, 0.03538430482149124, 0.275551438331604, 0.020024605095386505, -0.3726739287376404, -0.025663629174232483, 0.4594138264656067, -0.012507516890764236, 0.22473785281181335, 0.19619159400463104, 0.04041767120361328, -0.14806149899959564, -0.20367629826068878, -0.2542104423046112, -0.26123833656311035, 0.255310595035553, 0.07590387761592865, -0.2600844204425812, -0.28096842765808105, -0.26578694581985474, -0.14983834326267242, -0.00937673356384039, 0.1680431067943573, 0.15445974469184875, -0.1968502253293991, -0.012850150465965271, 0.03379548341035843, -0.2635185718536377, -0.11945886164903641, 0.03949303925037384, 0.00300332042388618, 0.1878732144832611, -0.14900051057338715, -0.09504979103803635, 0.010025648400187492, -0.6538299322128296, 0.20051774382591248, 0.22935591638088226, 0.31736326217651367, -0.33388763666152954, -0.10329895466566086, 0.07567306607961655, 0.009500306099653244, 0.24184998869895935, 0.4267638325691223, 0.2773698568344116, -0.10334263741970062, -0.1860448122024536, -0.09799365699291229, 0.21811527013778687, -0.24378563463687897, -0.19455230236053467, -0.24389885365962982, -0.1206115111708641, -0.1310156136751175, 0.34310582280158997, -0.14318153262138367, 0.3799378275871277, -0.007809341419488192, 0.10626574605703354, 0.40720412135124207, -0.12472548335790634, -0.3243357241153717, -0.03614385798573494, 0.04622065648436546, -0.08437707275152206, 0.09282438457012177, -0.13952207565307617, 0.1069338470697403, 0.1862030327320099, 0.2047801911830902, -0.5261083841323853, -0.013392134569585323, 0.18534165620803833, 0.17809276282787323, 0.2887604534626007, 0.13882046937942505, -0.05268741399049759, 0.1900121420621872, 0.09135817736387253, -0.15667517483234406, -0.0016618272056803107, 0.10978781431913376, -0.4247959852218628, 0.1506287008523941, 0.011551853269338608, -0.10154478996992111, -0.5385605096817017, -0.42340531945228577, -0.0023638748098164797, -0.3505098819732666, 0.09875866770744324, -0.31594401597976685, 0.11482088267803192, -0.1754342019557953, -0.2827046811580658, -0.02930983155965805, 0.015319956466555595, 0.044158630073070526, -0.26106956601142883, -0.27226579189300537, 0.2991088032722473, 0.6119617819786072, -0.08195602893829346, 0.145171120762825, -0.1501481980085373, 0.000009385763405589387, -0.06830964982509613, 0.6340139508247375, -0.058842360973358154, -0.21717852354049683, 0.31245946884155273, 0.13872160017490387, -0.15521681308746338, -0.06382647156715393, 0.17953702807426453, -0.08114748448133469, 0.08810462802648544, -0.06909710168838501, 0.3203514516353607, -0.21189464628696442, -0.046334315091371536, 0.030900703743100166, -0.08087164163589478, 0.030526231974363327, -0.16630031168460846, 0.15827582776546478, -0.16184337437152863, 0.13815920054912567, -0.04531704634428024, 0.04172709584236145, 0.060509566217660904, 0.018214890733361244, -0.09629538655281067, -0.1209423616528511, 0.45139774680137634, -0.13768619298934937, 0.5008400678634644, -0.23363983631134033, -0.44362491369247437, -0.0391581766307354, 0.3061312735080719, -0.16931045055389404, 0.042467959225177765, -0.10055449604988098, -0.09360011667013168, -0.12922096252441406, -0.008299977518618107, 0.16765163838863373, 0.06180976331233978, 0.10130088776350021, -0.08561214059591293, 0.32203584909439087, 0.2984212338924408, -0.587166428565979, -0.4014695882797241, 0.10508899390697479, 0.16880901157855988, -0.004784009885042906, 0.010860538110136986, 0.4380226731300354, -0.15625175833702087, -0.0932379886507988, -0.26309096813201904, 0.06651916354894638, 0.47772544622421265, -0.28009623289108276, 0.24615083634853363, 0.021161755546927452, -0.19949999451637268, 0.05549377575516701, -0.3805014491081238, 0.1803756207227707, 0.19413426518440247, -0.0170886367559433, 0.19186565279960632, -0.009375957772135735, -0.15950727462768555, -0.013724442571401596, 0.005884300917387009, 0.010204477235674858, 0.5199062824249268, -0.1934806853532791, -0.2678626775741577, 0.057906679809093475, 0.03682291507720947, -0.027579477056860924, 0.21876446902751923, -0.0005778797785751522, 0.007728220894932747, 0.3217400908470154, 0.1706167310476303, 0.12267432361841202, 0.020235475152730942, 0.09400258958339691, 0.5854049921035767, 0.13247214257717133, -0.13391903042793274, -0.3036583364009857, 0.33635377883911133, -0.3042704463005066, -0.21865862607955933, -0.5335080623626709, 0.11754250526428223, -0.14337848126888275, 0.29010066390037537, 0.27950194478034973, 0.595594048500061, 0.1351230889558792, 0.27705204486846924, -0.045000363141298294, 0.21555538475513458, 0.338358610868454, -0.25826236605644226, 0.10482342541217804, 0.011324414052069187, 0.19685769081115723, -0.14390209317207336, 0.17961148917675018, -0.10648370534181595, 0.36960262060165405, -0.5839750170707703, 0.22919538617134094, -0.0701126754283905, -0.06283628195524216, 0.0817800834774971, -0.04856403172016144, 0.16974322497844696, -0.12594355642795563, -0.19910761713981628, 0.12219077348709106, 0.18136517703533173, 0.01782521791756153, -0.09461931139230728, -0.09910015016794205, 0.2827228307723999, -0.13003405928611755, 0.06564560532569885, 0.10362158715724945, -0.34894371032714844, -0.3497510254383087, -0.17140233516693115, -0.09176934510469437, 0.1477968841791153, 0.04111184552311897, 0.14063604176044464, 0.2523914575576782, -0.15567801892757416, 0.06561609357595444, 0.20573340356349945, -0.2458210289478302, -0.30661433935165405, 0.051595818251371384, 0.602570116519928, -0.231094628572464, -0.23082105815410614, 0.1392727941274643, -0.05868356674909592, -0.1802404224872589, -0.2913465201854706, -0.2846158444881439, 0.7028858661651611, -0.07228533923625946, 0.0003569025138858706, -0.004011979792267084, -0.16874557733535767, -0.2666800320148468, 0.24444596469402313, 0.04492660239338875, -0.23777340352535248, -0.1109115332365036, 0.16918741166591644, -0.09315933287143707, -0.18806768953800201, -0.05975130945444107, 0.10195188969373703, 0.3118737041950226, 0.5313431620597839, 0.09844668209552765, -0.1060379296541214, -0.36692091822624207, -0.2551642060279846, 0.45066097378730774, -0.1150994524359703, 0.25276869535446167, 0.12585777044296265, -0.10113698244094849, 0.16602568328380585, 0.6505193710327148, 0.3934592306613922, -0.1191529855132103, -0.23441293835639954, 0.1234627366065979, -0.21787413954734802, -0.14041320979595184, -0.06139221414923668, 0.16298945248126984, 0.3082285225391388, 0.3152177333831787, 0.30650556087493896, 0.4479690194129944, -0.3383868932723999, -0.36343786120414734, -0.2284340113401413, 0.27494215965270996, -0.1585651934146881, -0.26599231362342834, -0.03708420321345329, 0.15699011087417603, 0.23858295381069183, 0.09313628077507019, 0.025602541863918304, -0.32234421372413635, -0.2729988992214203, -0.016151199117302895, -0.03489311784505844, 0.225607767701149, -0.08869553357362747, 0.0667521208524704, -0.053359225392341614, -0.027082787826657295, -0.15217068791389465, -0.061554037034511566, 0.24057906866073608, 0.36779025197029114, 0.27663615345954895, -0.05132975056767464, -0.11345799267292023, -0.39911165833473206, 0.16127528250217438, -0.04847422242164612, -0.17682789266109467, -0.2227739691734314, -0.046706248074769974, -0.13456204533576965, 0.29494762420654297, 0.24910475313663483, 0.35621321201324463, 0.19014494121074677, -0.06367620080709457, 0.08407052606344223, -0.2129168063402176, -0.12920333445072174, 0.2969689667224884, -0.029826536774635315, 0.17348991334438324, -0.26508793234825134, 0.43233564496040344, 0.2849677801132202, -0.3322288990020752, -0.011252040043473244, -0.059689972549676895, -0.19111348688602448, 0.16719408333301544, 0.07951320707798004, -0.12669187784194946, 0.008694426156580448, 0.31605514883995056, 0.0881432592868805, -0.6639275550842285, 0.10085859894752502, -0.011510821990668774, 0.5069949626922607, 0.09688638895750046, 0.09119243919849396, 0.2141389548778534, 0.10173726081848145, 0.5424584746360779, 0.5054105520248413, -0.06270169466733932, 0.07580108940601349, 0.0010483526857569814, 0.1432623267173767, 0.21094882488250732, -0.024416279047727585, -0.11888980865478516, 0.15226711332798004, 0.04436130076646805, 0.2937121093273163, -0.002730283886194229, 0.7664381861686707, 0.26506859064102173, -0.02845306694507599, -0.12553685903549194, 0.12874510884284973, -0.04826057329773903, -0.45227864384651184, -0.21247467398643494, -0.1108148992061615, 0.1374422013759613, -0.06222870200872421, 0.005327270366251469, 0.3076334595680237, 0.10385417938232422, 0.1635446399450302, 0.30661067366600037, -0.13903549313545227, 0.18609048426151276, -0.17538203299045563, 0.25900372862815857, -0.10061747580766678, 0.3479815721511841, -0.050666287541389465, 0.030737604945898056, 0.007289161439985037, 0.22033338248729706, -0.11437192559242249, 0.13893575966358185, -0.06756522506475449, 0.009642109274864197, 0.03322812542319298, -0.23746845126152039, -0.07953883707523346, -0.07020260393619537, 0.2809203565120697, 0.011316036805510521, 0.31205007433891296, 0.1276514083147049, -0.27252116799354553, 0.3641078472137451, 0.3180021643638611, 0.15685179829597473, -0.10885009914636612, 0.04533705487847328, 0.5214181542396545, 0.2997101843357086, -0.1242600828409195, 0.2097647339105606, -0.6683975458145142, 0.388522744178772, -0.34735217690467834, -0.37878182530403137, -0.008386099711060524, -0.018591171130537987, 0.11745855957269669, 0.07187267392873764, 0.30065277218818665, 0.19833685457706451, 0.06030169874429703, -0.20795384049415588, -0.20875316858291626, -0.13253645598888397, 0.10570169985294342, 0.01926906406879425, 0.057297784835100174, 0.029904957860708237, -0.10393067449331284, -0.020469283685088158, -0.04181884601712227, 0.08085334300994873, -0.20868593454360962, -0.591084361076355, 0.32922595739364624, -0.19352559745311737, 0.1759795993566513, -0.1016814261674881, 0.11283422261476517, 0.06260357797145844, 0.02912195958197117, -0.06869644671678543, 0.14694447815418243, 0.10142917931079865, 0.17355002462863922, -0.03497423604130745, 0.07172472774982452, 0.29126155376434326, 0.3290919363498688, -0.1219819188117981, 0.24469837546348572, -0.3473743200302124, 0.21863281726837158, 0.04957832023501396, 0.1955672800540924, -0.300462007522583, -0.33090049028396606, 0.2831929922103882, 0.2963908016681671, -0.08255115896463394, 0.09561608731746674, -0.07949715107679367, -0.08333491533994675, 0.3872838318347931, 0.004308790899813175, -0.2302602082490921, 0.24319589138031006, 0.13395272195339203, -0.2596569359302521, 0.0092512471601367, 0.1594562977552414, -0.0012655063765123487, -0.11930037289857864, -0.2124183177947998, -0.3299926221370697, 0.22575275599956512, -0.01970050297677517, -0.3020264208316803, -0.39874231815338135, -0.22935135662555695, 0.22287245094776154, -0.13546928763389587, -0.879401683807373, 0.16777323186397552, 0.22393450140953064, 0.24210871756076813, -0.13403484225273132, 0.17993564903736115, 0.24064305424690247, 0.1452181339263916, -0.27310919761657715, 0.5854895710945129, 0.2515536844730377, -0.11290521174669266, -0.4899292290210724, -0.40893808007240295 ]
https://github.com/huggingface/datasets/issues/2129
How to train BERT model with next sentence prediction?
Thanks. Do you mean that `TextDatasetForNextSentencePrediction.create_exapmles_from_document` can be applied to dataset object other than `TextDatasetForNextSentencePrediction` e.g. a `Dataset` object which is loaded by `datasets.load_dataset`?
Hello. I'm trying to pretrain the BERT model with next sentence prediction. Is there any function that supports next sentence prediction like ` TextDatasetForNextSentencePrediction` of `huggingface/transformers` ?
24
How to train BERT model with next sentence prediction?
[ 0.23454688489437103, -0.0993097648024559, -0.12363222241401672, -0.2300092726945877, 0.008281314745545387, -0.2806912064552307, 0.23440633714199066, 0.12159039825201035, -0.03483951836824417, 0.17340248823165894, 0.09525346755981445, 0.1348704695701599, -0.1372215300798416, -0.0818958580493927, 0.08115678280591965, -0.5413742065429688, 0.10817692428827286, 0.31925827264785767, -0.0204726904630661, -0.1280069798231125, -0.15180207788944244, -0.12769345939159393, -0.19665491580963135, 0.25014203786849976, -0.21138182282447815, -0.16315680742263794, -0.379364937543869, -0.1639787256717682, -0.13937163352966309, -0.31146135926246643, 0.12294347584247589, 0.44520819187164307, 0.2392163872718811, 0.1452561467885971, -0.00010725497850216925, -0.15424802899360657, 0.053974129259586334, -0.2204868346452713, 0.004137017298489809, -0.20124556124210358, -0.3075328767299652, 0.23459069430828094, 0.1599021553993225, -0.1745666116476059, -0.2701329290866852, 0.39142662286758423, 0.33284589648246765, 0.1701582968235016, 0.35315757989883423, 0.22168593108654022, 0.18929040431976318, -0.2058275043964386, 0.2522946298122406, -0.30247724056243896, 0.313021183013916, -0.2937352657318115, 0.11275994032621384, -0.09992129355669022, 0.21347878873348236, -0.23956318199634552, -0.4863402247428894, 0.4076173007488251, 0.19918867945671082, 0.1345319002866745, 0.2296960949897766, 0.1869920790195465, 0.23297789692878723, -0.048622772097587585, -0.19775420427322388, 0.21798382699489594, 0.10768212378025055, -0.13936734199523926, -0.27511388063430786, -0.002083667553961277, 0.19723030924797058, -0.1118798553943634, -0.07992935180664062, -0.2797243595123291, -0.04257022589445114, 0.19499918818473816, 0.30849018692970276, -0.307096928358078, -0.42521190643310547, 0.13040821254253387, -0.08169156312942505, 0.44905227422714233, -0.007518108934164047, -0.33178266882896423, 0.2063080221414566, -0.13678868114948273, 0.1280861645936966, -0.08952168375253677, 0.07502920180559158, 0.157729372382164, -0.011419214308261871, -0.18838176131248474, -0.07179497927427292, 0.12438176572322845, -0.04706605151295662, -0.1141442134976387, 0.06374381482601166, -0.018808303400874138, -0.07097384333610535, -0.23246465623378754, 0.5071670413017273, 0.18724216520786285, -0.14925740659236908, 0.252372145652771, -0.27641919255256653, 0.3303276300430298, -0.3811196982860565, -0.12948894500732422, -0.2950001358985901, 0.1291147619485855, 0.19930939376354218, -0.17153029143810272, -0.30874595046043396, 0.0004059057973790914, 0.005453953519463539, 0.1890796273946762, -0.37329187989234924, -0.08073188364505768, -0.011674772948026657, 0.27276620268821716, -0.3198813796043396, 0.26040855050086975, -0.06650716811418533, 0.15261633694171906, -0.023710358887910843, 0.012794875539839268, -0.1919473111629486, 0.019510362297296524, -0.2960042357444763, -0.006525095552206039, -0.05443655326962471, 0.2992869019508362, 0.12725543975830078, -0.07186955958604813, -0.014257394708693027, -0.04059471935033798, -0.12849539518356323, -0.26294630765914917, 0.12793122231960297, -0.10884062945842743, -0.15337061882019043, 0.04882833734154701, -0.13406969606876373, 0.23983728885650635, -0.04126462712883949, -0.043901924043893814, -0.0028563281521201134, -0.05535736680030823, -0.023796312510967255, 0.2571253180503845, -0.0033146440982818604, -0.23376329243183136, 0.5067211985588074, 0.5445153117179871, 0.03115049935877323, -0.15717966854572296, -0.05626314878463745, 0.07100623100996017, -0.06899350881576538, 0.1375998705625534, 0.15662367641925812, 0.1590353399515152, -0.36437302827835083, -0.14071589708328247, 0.12786254286766052, 0.3330734074115753, 0.2821739912033081, 0.029843974858522415, 0.0007098243222571909, 0.25992193818092346, 0.2388305962085724, 0.3497772216796875, -0.08141651004552841, -0.01271752268075943, -0.15628445148468018, 0.08776558190584183, 0.04902540519833565, 0.19747816026210785, 0.11296530812978745, -0.017161492258310318, -0.044778551906347275, -0.027432192116975784, 0.017590194940567017, -0.10913331806659698, -0.15028175711631775, -0.07635992765426636, 0.005994581617414951, -0.08324231207370758, -0.21971702575683594, -0.12386417388916016, 0.12818580865859985, -0.10682377964258194, -0.3242076635360718, 0.7737717628479004, 0.07724913954734802, -0.1099611446261406, -0.07451217621564865, -0.1957743614912033, 0.157322496175766, 0.14185817539691925, 0.12970739603042603, -0.13167285919189453, -0.04612497240304947, -0.22979736328125, 0.0008561937138438225, 0.05244075134396553, 0.14541810750961304, -0.04337773844599724, -0.1369258314371109, 0.05422551929950714, -0.17420876026153564, -0.15236903727054596, 0.24392244219779968, 0.099794402718544, -0.1840912401676178, 0.07419540733098984, -0.31220489740371704, -0.23266637325286865, -0.029107581824064255, -0.014504381455481052, 0.03320327773690224, -0.06661506742238998, -0.41293081641197205, -0.04457855224609375, 0.19602876901626587, 0.22088663280010223, -0.029089225456118584, 0.13808074593544006, 0.24074651300907135, -0.018141474574804306, 0.030230462551116943, 0.06835605949163437, -0.03137356415390968, -0.28170427680015564, -0.007745005190372467, -0.10368501394987106, 0.06477565318346024, -0.024303888902068138, -0.0682869702577591, 0.05555607005953789, -0.18633440136909485, -0.01631639152765274, 0.7204830050468445, -0.08594223856925964, 0.3164013624191284, -0.17272517085075378, -0.03444734215736389, -0.07509641349315643, -0.046976540237665176, -0.4471067786216736, 0.17747272551059723, 0.03538430482149124, 0.275551438331604, 0.020024605095386505, -0.3726739287376404, -0.025663629174232483, 0.4594138264656067, -0.012507516890764236, 0.22473785281181335, 0.19619159400463104, 0.04041767120361328, -0.14806149899959564, -0.20367629826068878, -0.2542104423046112, -0.26123833656311035, 0.255310595035553, 0.07590387761592865, -0.2600844204425812, -0.28096842765808105, -0.26578694581985474, -0.14983834326267242, -0.00937673356384039, 0.1680431067943573, 0.15445974469184875, -0.1968502253293991, -0.012850150465965271, 0.03379548341035843, -0.2635185718536377, -0.11945886164903641, 0.03949303925037384, 0.00300332042388618, 0.1878732144832611, -0.14900051057338715, -0.09504979103803635, 0.010025648400187492, -0.6538299322128296, 0.20051774382591248, 0.22935591638088226, 0.31736326217651367, -0.33388763666152954, -0.10329895466566086, 0.07567306607961655, 0.009500306099653244, 0.24184998869895935, 0.4267638325691223, 0.2773698568344116, -0.10334263741970062, -0.1860448122024536, -0.09799365699291229, 0.21811527013778687, -0.24378563463687897, -0.19455230236053467, -0.24389885365962982, -0.1206115111708641, -0.1310156136751175, 0.34310582280158997, -0.14318153262138367, 0.3799378275871277, -0.007809341419488192, 0.10626574605703354, 0.40720412135124207, -0.12472548335790634, -0.3243357241153717, -0.03614385798573494, 0.04622065648436546, -0.08437707275152206, 0.09282438457012177, -0.13952207565307617, 0.1069338470697403, 0.1862030327320099, 0.2047801911830902, -0.5261083841323853, -0.013392134569585323, 0.18534165620803833, 0.17809276282787323, 0.2887604534626007, 0.13882046937942505, -0.05268741399049759, 0.1900121420621872, 0.09135817736387253, -0.15667517483234406, -0.0016618272056803107, 0.10978781431913376, -0.4247959852218628, 0.1506287008523941, 0.011551853269338608, -0.10154478996992111, -0.5385605096817017, -0.42340531945228577, -0.0023638748098164797, -0.3505098819732666, 0.09875866770744324, -0.31594401597976685, 0.11482088267803192, -0.1754342019557953, -0.2827046811580658, -0.02930983155965805, 0.015319956466555595, 0.044158630073070526, -0.26106956601142883, -0.27226579189300537, 0.2991088032722473, 0.6119617819786072, -0.08195602893829346, 0.145171120762825, -0.1501481980085373, 0.000009385763405589387, -0.06830964982509613, 0.6340139508247375, -0.058842360973358154, -0.21717852354049683, 0.31245946884155273, 0.13872160017490387, -0.15521681308746338, -0.06382647156715393, 0.17953702807426453, -0.08114748448133469, 0.08810462802648544, -0.06909710168838501, 0.3203514516353607, -0.21189464628696442, -0.046334315091371536, 0.030900703743100166, -0.08087164163589478, 0.030526231974363327, -0.16630031168460846, 0.15827582776546478, -0.16184337437152863, 0.13815920054912567, -0.04531704634428024, 0.04172709584236145, 0.060509566217660904, 0.018214890733361244, -0.09629538655281067, -0.1209423616528511, 0.45139774680137634, -0.13768619298934937, 0.5008400678634644, -0.23363983631134033, -0.44362491369247437, -0.0391581766307354, 0.3061312735080719, -0.16931045055389404, 0.042467959225177765, -0.10055449604988098, -0.09360011667013168, -0.12922096252441406, -0.008299977518618107, 0.16765163838863373, 0.06180976331233978, 0.10130088776350021, -0.08561214059591293, 0.32203584909439087, 0.2984212338924408, -0.587166428565979, -0.4014695882797241, 0.10508899390697479, 0.16880901157855988, -0.004784009885042906, 0.010860538110136986, 0.4380226731300354, -0.15625175833702087, -0.0932379886507988, -0.26309096813201904, 0.06651916354894638, 0.47772544622421265, -0.28009623289108276, 0.24615083634853363, 0.021161755546927452, -0.19949999451637268, 0.05549377575516701, -0.3805014491081238, 0.1803756207227707, 0.19413426518440247, -0.0170886367559433, 0.19186565279960632, -0.009375957772135735, -0.15950727462768555, -0.013724442571401596, 0.005884300917387009, 0.010204477235674858, 0.5199062824249268, -0.1934806853532791, -0.2678626775741577, 0.057906679809093475, 0.03682291507720947, -0.027579477056860924, 0.21876446902751923, -0.0005778797785751522, 0.007728220894932747, 0.3217400908470154, 0.1706167310476303, 0.12267432361841202, 0.020235475152730942, 0.09400258958339691, 0.5854049921035767, 0.13247214257717133, -0.13391903042793274, -0.3036583364009857, 0.33635377883911133, -0.3042704463005066, -0.21865862607955933, -0.5335080623626709, 0.11754250526428223, -0.14337848126888275, 0.29010066390037537, 0.27950194478034973, 0.595594048500061, 0.1351230889558792, 0.27705204486846924, -0.045000363141298294, 0.21555538475513458, 0.338358610868454, -0.25826236605644226, 0.10482342541217804, 0.011324414052069187, 0.19685769081115723, -0.14390209317207336, 0.17961148917675018, -0.10648370534181595, 0.36960262060165405, -0.5839750170707703, 0.22919538617134094, -0.0701126754283905, -0.06283628195524216, 0.0817800834774971, -0.04856403172016144, 0.16974322497844696, -0.12594355642795563, -0.19910761713981628, 0.12219077348709106, 0.18136517703533173, 0.01782521791756153, -0.09461931139230728, -0.09910015016794205, 0.2827228307723999, -0.13003405928611755, 0.06564560532569885, 0.10362158715724945, -0.34894371032714844, -0.3497510254383087, -0.17140233516693115, -0.09176934510469437, 0.1477968841791153, 0.04111184552311897, 0.14063604176044464, 0.2523914575576782, -0.15567801892757416, 0.06561609357595444, 0.20573340356349945, -0.2458210289478302, -0.30661433935165405, 0.051595818251371384, 0.602570116519928, -0.231094628572464, -0.23082105815410614, 0.1392727941274643, -0.05868356674909592, -0.1802404224872589, -0.2913465201854706, -0.2846158444881439, 0.7028858661651611, -0.07228533923625946, 0.0003569025138858706, -0.004011979792267084, -0.16874557733535767, -0.2666800320148468, 0.24444596469402313, 0.04492660239338875, -0.23777340352535248, -0.1109115332365036, 0.16918741166591644, -0.09315933287143707, -0.18806768953800201, -0.05975130945444107, 0.10195188969373703, 0.3118737041950226, 0.5313431620597839, 0.09844668209552765, -0.1060379296541214, -0.36692091822624207, -0.2551642060279846, 0.45066097378730774, -0.1150994524359703, 0.25276869535446167, 0.12585777044296265, -0.10113698244094849, 0.16602568328380585, 0.6505193710327148, 0.3934592306613922, -0.1191529855132103, -0.23441293835639954, 0.1234627366065979, -0.21787413954734802, -0.14041320979595184, -0.06139221414923668, 0.16298945248126984, 0.3082285225391388, 0.3152177333831787, 0.30650556087493896, 0.4479690194129944, -0.3383868932723999, -0.36343786120414734, -0.2284340113401413, 0.27494215965270996, -0.1585651934146881, -0.26599231362342834, -0.03708420321345329, 0.15699011087417603, 0.23858295381069183, 0.09313628077507019, 0.025602541863918304, -0.32234421372413635, -0.2729988992214203, -0.016151199117302895, -0.03489311784505844, 0.225607767701149, -0.08869553357362747, 0.0667521208524704, -0.053359225392341614, -0.027082787826657295, -0.15217068791389465, -0.061554037034511566, 0.24057906866073608, 0.36779025197029114, 0.27663615345954895, -0.05132975056767464, -0.11345799267292023, -0.39911165833473206, 0.16127528250217438, -0.04847422242164612, -0.17682789266109467, -0.2227739691734314, -0.046706248074769974, -0.13456204533576965, 0.29494762420654297, 0.24910475313663483, 0.35621321201324463, 0.19014494121074677, -0.06367620080709457, 0.08407052606344223, -0.2129168063402176, -0.12920333445072174, 0.2969689667224884, -0.029826536774635315, 0.17348991334438324, -0.26508793234825134, 0.43233564496040344, 0.2849677801132202, -0.3322288990020752, -0.011252040043473244, -0.059689972549676895, -0.19111348688602448, 0.16719408333301544, 0.07951320707798004, -0.12669187784194946, 0.008694426156580448, 0.31605514883995056, 0.0881432592868805, -0.6639275550842285, 0.10085859894752502, -0.011510821990668774, 0.5069949626922607, 0.09688638895750046, 0.09119243919849396, 0.2141389548778534, 0.10173726081848145, 0.5424584746360779, 0.5054105520248413, -0.06270169466733932, 0.07580108940601349, 0.0010483526857569814, 0.1432623267173767, 0.21094882488250732, -0.024416279047727585, -0.11888980865478516, 0.15226711332798004, 0.04436130076646805, 0.2937121093273163, -0.002730283886194229, 0.7664381861686707, 0.26506859064102173, -0.02845306694507599, -0.12553685903549194, 0.12874510884284973, -0.04826057329773903, -0.45227864384651184, -0.21247467398643494, -0.1108148992061615, 0.1374422013759613, -0.06222870200872421, 0.005327270366251469, 0.3076334595680237, 0.10385417938232422, 0.1635446399450302, 0.30661067366600037, -0.13903549313545227, 0.18609048426151276, -0.17538203299045563, 0.25900372862815857, -0.10061747580766678, 0.3479815721511841, -0.050666287541389465, 0.030737604945898056, 0.007289161439985037, 0.22033338248729706, -0.11437192559242249, 0.13893575966358185, -0.06756522506475449, 0.009642109274864197, 0.03322812542319298, -0.23746845126152039, -0.07953883707523346, -0.07020260393619537, 0.2809203565120697, 0.011316036805510521, 0.31205007433891296, 0.1276514083147049, -0.27252116799354553, 0.3641078472137451, 0.3180021643638611, 0.15685179829597473, -0.10885009914636612, 0.04533705487847328, 0.5214181542396545, 0.2997101843357086, -0.1242600828409195, 0.2097647339105606, -0.6683975458145142, 0.388522744178772, -0.34735217690467834, -0.37878182530403137, -0.008386099711060524, -0.018591171130537987, 0.11745855957269669, 0.07187267392873764, 0.30065277218818665, 0.19833685457706451, 0.06030169874429703, -0.20795384049415588, -0.20875316858291626, -0.13253645598888397, 0.10570169985294342, 0.01926906406879425, 0.057297784835100174, 0.029904957860708237, -0.10393067449331284, -0.020469283685088158, -0.04181884601712227, 0.08085334300994873, -0.20868593454360962, -0.591084361076355, 0.32922595739364624, -0.19352559745311737, 0.1759795993566513, -0.1016814261674881, 0.11283422261476517, 0.06260357797145844, 0.02912195958197117, -0.06869644671678543, 0.14694447815418243, 0.10142917931079865, 0.17355002462863922, -0.03497423604130745, 0.07172472774982452, 0.29126155376434326, 0.3290919363498688, -0.1219819188117981, 0.24469837546348572, -0.3473743200302124, 0.21863281726837158, 0.04957832023501396, 0.1955672800540924, -0.300462007522583, -0.33090049028396606, 0.2831929922103882, 0.2963908016681671, -0.08255115896463394, 0.09561608731746674, -0.07949715107679367, -0.08333491533994675, 0.3872838318347931, 0.004308790899813175, -0.2302602082490921, 0.24319589138031006, 0.13395272195339203, -0.2596569359302521, 0.0092512471601367, 0.1594562977552414, -0.0012655063765123487, -0.11930037289857864, -0.2124183177947998, -0.3299926221370697, 0.22575275599956512, -0.01970050297677517, -0.3020264208316803, -0.39874231815338135, -0.22935135662555695, 0.22287245094776154, -0.13546928763389587, -0.879401683807373, 0.16777323186397552, 0.22393450140953064, 0.24210871756076813, -0.13403484225273132, 0.17993564903736115, 0.24064305424690247, 0.1452181339263916, -0.27310919761657715, 0.5854895710945129, 0.2515536844730377, -0.11290521174669266, -0.4899292290210724, -0.40893808007240295 ]
https://github.com/huggingface/datasets/issues/2129
How to train BERT model with next sentence prediction?
It would probably require a bit of tweaking, but you can apply it to a dataset, yes. This should give you a new dataset with sentence pairs you can train a model on. You can find the documentation about dataset processing here: https://huggingface.co/docs/datasets/processing.html#processing-data-with-map
Hello. I'm trying to pretrain the BERT model with next sentence prediction. Is there any function that supports next sentence prediction like ` TextDatasetForNextSentencePrediction` of `huggingface/transformers` ?
43
How to train BERT model with next sentence prediction?
[ 0.23454688489437103, -0.0993097648024559, -0.12363222241401672, -0.2300092726945877, 0.008281314745545387, -0.2806912064552307, 0.23440633714199066, 0.12159039825201035, -0.03483951836824417, 0.17340248823165894, 0.09525346755981445, 0.1348704695701599, -0.1372215300798416, -0.0818958580493927, 0.08115678280591965, -0.5413742065429688, 0.10817692428827286, 0.31925827264785767, -0.0204726904630661, -0.1280069798231125, -0.15180207788944244, -0.12769345939159393, -0.19665491580963135, 0.25014203786849976, -0.21138182282447815, -0.16315680742263794, -0.379364937543869, -0.1639787256717682, -0.13937163352966309, -0.31146135926246643, 0.12294347584247589, 0.44520819187164307, 0.2392163872718811, 0.1452561467885971, -0.00010725497850216925, -0.15424802899360657, 0.053974129259586334, -0.2204868346452713, 0.004137017298489809, -0.20124556124210358, -0.3075328767299652, 0.23459069430828094, 0.1599021553993225, -0.1745666116476059, -0.2701329290866852, 0.39142662286758423, 0.33284589648246765, 0.1701582968235016, 0.35315757989883423, 0.22168593108654022, 0.18929040431976318, -0.2058275043964386, 0.2522946298122406, -0.30247724056243896, 0.313021183013916, -0.2937352657318115, 0.11275994032621384, -0.09992129355669022, 0.21347878873348236, -0.23956318199634552, -0.4863402247428894, 0.4076173007488251, 0.19918867945671082, 0.1345319002866745, 0.2296960949897766, 0.1869920790195465, 0.23297789692878723, -0.048622772097587585, -0.19775420427322388, 0.21798382699489594, 0.10768212378025055, -0.13936734199523926, -0.27511388063430786, -0.002083667553961277, 0.19723030924797058, -0.1118798553943634, -0.07992935180664062, -0.2797243595123291, -0.04257022589445114, 0.19499918818473816, 0.30849018692970276, -0.307096928358078, -0.42521190643310547, 0.13040821254253387, -0.08169156312942505, 0.44905227422714233, -0.007518108934164047, -0.33178266882896423, 0.2063080221414566, -0.13678868114948273, 0.1280861645936966, -0.08952168375253677, 0.07502920180559158, 0.157729372382164, -0.011419214308261871, -0.18838176131248474, -0.07179497927427292, 0.12438176572322845, -0.04706605151295662, -0.1141442134976387, 0.06374381482601166, -0.018808303400874138, -0.07097384333610535, -0.23246465623378754, 0.5071670413017273, 0.18724216520786285, -0.14925740659236908, 0.252372145652771, -0.27641919255256653, 0.3303276300430298, -0.3811196982860565, -0.12948894500732422, -0.2950001358985901, 0.1291147619485855, 0.19930939376354218, -0.17153029143810272, -0.30874595046043396, 0.0004059057973790914, 0.005453953519463539, 0.1890796273946762, -0.37329187989234924, -0.08073188364505768, -0.011674772948026657, 0.27276620268821716, -0.3198813796043396, 0.26040855050086975, -0.06650716811418533, 0.15261633694171906, -0.023710358887910843, 0.012794875539839268, -0.1919473111629486, 0.019510362297296524, -0.2960042357444763, -0.006525095552206039, -0.05443655326962471, 0.2992869019508362, 0.12725543975830078, -0.07186955958604813, -0.014257394708693027, -0.04059471935033798, -0.12849539518356323, -0.26294630765914917, 0.12793122231960297, -0.10884062945842743, -0.15337061882019043, 0.04882833734154701, -0.13406969606876373, 0.23983728885650635, -0.04126462712883949, -0.043901924043893814, -0.0028563281521201134, -0.05535736680030823, -0.023796312510967255, 0.2571253180503845, -0.0033146440982818604, -0.23376329243183136, 0.5067211985588074, 0.5445153117179871, 0.03115049935877323, -0.15717966854572296, -0.05626314878463745, 0.07100623100996017, -0.06899350881576538, 0.1375998705625534, 0.15662367641925812, 0.1590353399515152, -0.36437302827835083, -0.14071589708328247, 0.12786254286766052, 0.3330734074115753, 0.2821739912033081, 0.029843974858522415, 0.0007098243222571909, 0.25992193818092346, 0.2388305962085724, 0.3497772216796875, -0.08141651004552841, -0.01271752268075943, -0.15628445148468018, 0.08776558190584183, 0.04902540519833565, 0.19747816026210785, 0.11296530812978745, -0.017161492258310318, -0.044778551906347275, -0.027432192116975784, 0.017590194940567017, -0.10913331806659698, -0.15028175711631775, -0.07635992765426636, 0.005994581617414951, -0.08324231207370758, -0.21971702575683594, -0.12386417388916016, 0.12818580865859985, -0.10682377964258194, -0.3242076635360718, 0.7737717628479004, 0.07724913954734802, -0.1099611446261406, -0.07451217621564865, -0.1957743614912033, 0.157322496175766, 0.14185817539691925, 0.12970739603042603, -0.13167285919189453, -0.04612497240304947, -0.22979736328125, 0.0008561937138438225, 0.05244075134396553, 0.14541810750961304, -0.04337773844599724, -0.1369258314371109, 0.05422551929950714, -0.17420876026153564, -0.15236903727054596, 0.24392244219779968, 0.099794402718544, -0.1840912401676178, 0.07419540733098984, -0.31220489740371704, -0.23266637325286865, -0.029107581824064255, -0.014504381455481052, 0.03320327773690224, -0.06661506742238998, -0.41293081641197205, -0.04457855224609375, 0.19602876901626587, 0.22088663280010223, -0.029089225456118584, 0.13808074593544006, 0.24074651300907135, -0.018141474574804306, 0.030230462551116943, 0.06835605949163437, -0.03137356415390968, -0.28170427680015564, -0.007745005190372467, -0.10368501394987106, 0.06477565318346024, -0.024303888902068138, -0.0682869702577591, 0.05555607005953789, -0.18633440136909485, -0.01631639152765274, 0.7204830050468445, -0.08594223856925964, 0.3164013624191284, -0.17272517085075378, -0.03444734215736389, -0.07509641349315643, -0.046976540237665176, -0.4471067786216736, 0.17747272551059723, 0.03538430482149124, 0.275551438331604, 0.020024605095386505, -0.3726739287376404, -0.025663629174232483, 0.4594138264656067, -0.012507516890764236, 0.22473785281181335, 0.19619159400463104, 0.04041767120361328, -0.14806149899959564, -0.20367629826068878, -0.2542104423046112, -0.26123833656311035, 0.255310595035553, 0.07590387761592865, -0.2600844204425812, -0.28096842765808105, -0.26578694581985474, -0.14983834326267242, -0.00937673356384039, 0.1680431067943573, 0.15445974469184875, -0.1968502253293991, -0.012850150465965271, 0.03379548341035843, -0.2635185718536377, -0.11945886164903641, 0.03949303925037384, 0.00300332042388618, 0.1878732144832611, -0.14900051057338715, -0.09504979103803635, 0.010025648400187492, -0.6538299322128296, 0.20051774382591248, 0.22935591638088226, 0.31736326217651367, -0.33388763666152954, -0.10329895466566086, 0.07567306607961655, 0.009500306099653244, 0.24184998869895935, 0.4267638325691223, 0.2773698568344116, -0.10334263741970062, -0.1860448122024536, -0.09799365699291229, 0.21811527013778687, -0.24378563463687897, -0.19455230236053467, -0.24389885365962982, -0.1206115111708641, -0.1310156136751175, 0.34310582280158997, -0.14318153262138367, 0.3799378275871277, -0.007809341419488192, 0.10626574605703354, 0.40720412135124207, -0.12472548335790634, -0.3243357241153717, -0.03614385798573494, 0.04622065648436546, -0.08437707275152206, 0.09282438457012177, -0.13952207565307617, 0.1069338470697403, 0.1862030327320099, 0.2047801911830902, -0.5261083841323853, -0.013392134569585323, 0.18534165620803833, 0.17809276282787323, 0.2887604534626007, 0.13882046937942505, -0.05268741399049759, 0.1900121420621872, 0.09135817736387253, -0.15667517483234406, -0.0016618272056803107, 0.10978781431913376, -0.4247959852218628, 0.1506287008523941, 0.011551853269338608, -0.10154478996992111, -0.5385605096817017, -0.42340531945228577, -0.0023638748098164797, -0.3505098819732666, 0.09875866770744324, -0.31594401597976685, 0.11482088267803192, -0.1754342019557953, -0.2827046811580658, -0.02930983155965805, 0.015319956466555595, 0.044158630073070526, -0.26106956601142883, -0.27226579189300537, 0.2991088032722473, 0.6119617819786072, -0.08195602893829346, 0.145171120762825, -0.1501481980085373, 0.000009385763405589387, -0.06830964982509613, 0.6340139508247375, -0.058842360973358154, -0.21717852354049683, 0.31245946884155273, 0.13872160017490387, -0.15521681308746338, -0.06382647156715393, 0.17953702807426453, -0.08114748448133469, 0.08810462802648544, -0.06909710168838501, 0.3203514516353607, -0.21189464628696442, -0.046334315091371536, 0.030900703743100166, -0.08087164163589478, 0.030526231974363327, -0.16630031168460846, 0.15827582776546478, -0.16184337437152863, 0.13815920054912567, -0.04531704634428024, 0.04172709584236145, 0.060509566217660904, 0.018214890733361244, -0.09629538655281067, -0.1209423616528511, 0.45139774680137634, -0.13768619298934937, 0.5008400678634644, -0.23363983631134033, -0.44362491369247437, -0.0391581766307354, 0.3061312735080719, -0.16931045055389404, 0.042467959225177765, -0.10055449604988098, -0.09360011667013168, -0.12922096252441406, -0.008299977518618107, 0.16765163838863373, 0.06180976331233978, 0.10130088776350021, -0.08561214059591293, 0.32203584909439087, 0.2984212338924408, -0.587166428565979, -0.4014695882797241, 0.10508899390697479, 0.16880901157855988, -0.004784009885042906, 0.010860538110136986, 0.4380226731300354, -0.15625175833702087, -0.0932379886507988, -0.26309096813201904, 0.06651916354894638, 0.47772544622421265, -0.28009623289108276, 0.24615083634853363, 0.021161755546927452, -0.19949999451637268, 0.05549377575516701, -0.3805014491081238, 0.1803756207227707, 0.19413426518440247, -0.0170886367559433, 0.19186565279960632, -0.009375957772135735, -0.15950727462768555, -0.013724442571401596, 0.005884300917387009, 0.010204477235674858, 0.5199062824249268, -0.1934806853532791, -0.2678626775741577, 0.057906679809093475, 0.03682291507720947, -0.027579477056860924, 0.21876446902751923, -0.0005778797785751522, 0.007728220894932747, 0.3217400908470154, 0.1706167310476303, 0.12267432361841202, 0.020235475152730942, 0.09400258958339691, 0.5854049921035767, 0.13247214257717133, -0.13391903042793274, -0.3036583364009857, 0.33635377883911133, -0.3042704463005066, -0.21865862607955933, -0.5335080623626709, 0.11754250526428223, -0.14337848126888275, 0.29010066390037537, 0.27950194478034973, 0.595594048500061, 0.1351230889558792, 0.27705204486846924, -0.045000363141298294, 0.21555538475513458, 0.338358610868454, -0.25826236605644226, 0.10482342541217804, 0.011324414052069187, 0.19685769081115723, -0.14390209317207336, 0.17961148917675018, -0.10648370534181595, 0.36960262060165405, -0.5839750170707703, 0.22919538617134094, -0.0701126754283905, -0.06283628195524216, 0.0817800834774971, -0.04856403172016144, 0.16974322497844696, -0.12594355642795563, -0.19910761713981628, 0.12219077348709106, 0.18136517703533173, 0.01782521791756153, -0.09461931139230728, -0.09910015016794205, 0.2827228307723999, -0.13003405928611755, 0.06564560532569885, 0.10362158715724945, -0.34894371032714844, -0.3497510254383087, -0.17140233516693115, -0.09176934510469437, 0.1477968841791153, 0.04111184552311897, 0.14063604176044464, 0.2523914575576782, -0.15567801892757416, 0.06561609357595444, 0.20573340356349945, -0.2458210289478302, -0.30661433935165405, 0.051595818251371384, 0.602570116519928, -0.231094628572464, -0.23082105815410614, 0.1392727941274643, -0.05868356674909592, -0.1802404224872589, -0.2913465201854706, -0.2846158444881439, 0.7028858661651611, -0.07228533923625946, 0.0003569025138858706, -0.004011979792267084, -0.16874557733535767, -0.2666800320148468, 0.24444596469402313, 0.04492660239338875, -0.23777340352535248, -0.1109115332365036, 0.16918741166591644, -0.09315933287143707, -0.18806768953800201, -0.05975130945444107, 0.10195188969373703, 0.3118737041950226, 0.5313431620597839, 0.09844668209552765, -0.1060379296541214, -0.36692091822624207, -0.2551642060279846, 0.45066097378730774, -0.1150994524359703, 0.25276869535446167, 0.12585777044296265, -0.10113698244094849, 0.16602568328380585, 0.6505193710327148, 0.3934592306613922, -0.1191529855132103, -0.23441293835639954, 0.1234627366065979, -0.21787413954734802, -0.14041320979595184, -0.06139221414923668, 0.16298945248126984, 0.3082285225391388, 0.3152177333831787, 0.30650556087493896, 0.4479690194129944, -0.3383868932723999, -0.36343786120414734, -0.2284340113401413, 0.27494215965270996, -0.1585651934146881, -0.26599231362342834, -0.03708420321345329, 0.15699011087417603, 0.23858295381069183, 0.09313628077507019, 0.025602541863918304, -0.32234421372413635, -0.2729988992214203, -0.016151199117302895, -0.03489311784505844, 0.225607767701149, -0.08869553357362747, 0.0667521208524704, -0.053359225392341614, -0.027082787826657295, -0.15217068791389465, -0.061554037034511566, 0.24057906866073608, 0.36779025197029114, 0.27663615345954895, -0.05132975056767464, -0.11345799267292023, -0.39911165833473206, 0.16127528250217438, -0.04847422242164612, -0.17682789266109467, -0.2227739691734314, -0.046706248074769974, -0.13456204533576965, 0.29494762420654297, 0.24910475313663483, 0.35621321201324463, 0.19014494121074677, -0.06367620080709457, 0.08407052606344223, -0.2129168063402176, -0.12920333445072174, 0.2969689667224884, -0.029826536774635315, 0.17348991334438324, -0.26508793234825134, 0.43233564496040344, 0.2849677801132202, -0.3322288990020752, -0.011252040043473244, -0.059689972549676895, -0.19111348688602448, 0.16719408333301544, 0.07951320707798004, -0.12669187784194946, 0.008694426156580448, 0.31605514883995056, 0.0881432592868805, -0.6639275550842285, 0.10085859894752502, -0.011510821990668774, 0.5069949626922607, 0.09688638895750046, 0.09119243919849396, 0.2141389548778534, 0.10173726081848145, 0.5424584746360779, 0.5054105520248413, -0.06270169466733932, 0.07580108940601349, 0.0010483526857569814, 0.1432623267173767, 0.21094882488250732, -0.024416279047727585, -0.11888980865478516, 0.15226711332798004, 0.04436130076646805, 0.2937121093273163, -0.002730283886194229, 0.7664381861686707, 0.26506859064102173, -0.02845306694507599, -0.12553685903549194, 0.12874510884284973, -0.04826057329773903, -0.45227864384651184, -0.21247467398643494, -0.1108148992061615, 0.1374422013759613, -0.06222870200872421, 0.005327270366251469, 0.3076334595680237, 0.10385417938232422, 0.1635446399450302, 0.30661067366600037, -0.13903549313545227, 0.18609048426151276, -0.17538203299045563, 0.25900372862815857, -0.10061747580766678, 0.3479815721511841, -0.050666287541389465, 0.030737604945898056, 0.007289161439985037, 0.22033338248729706, -0.11437192559242249, 0.13893575966358185, -0.06756522506475449, 0.009642109274864197, 0.03322812542319298, -0.23746845126152039, -0.07953883707523346, -0.07020260393619537, 0.2809203565120697, 0.011316036805510521, 0.31205007433891296, 0.1276514083147049, -0.27252116799354553, 0.3641078472137451, 0.3180021643638611, 0.15685179829597473, -0.10885009914636612, 0.04533705487847328, 0.5214181542396545, 0.2997101843357086, -0.1242600828409195, 0.2097647339105606, -0.6683975458145142, 0.388522744178772, -0.34735217690467834, -0.37878182530403137, -0.008386099711060524, -0.018591171130537987, 0.11745855957269669, 0.07187267392873764, 0.30065277218818665, 0.19833685457706451, 0.06030169874429703, -0.20795384049415588, -0.20875316858291626, -0.13253645598888397, 0.10570169985294342, 0.01926906406879425, 0.057297784835100174, 0.029904957860708237, -0.10393067449331284, -0.020469283685088158, -0.04181884601712227, 0.08085334300994873, -0.20868593454360962, -0.591084361076355, 0.32922595739364624, -0.19352559745311737, 0.1759795993566513, -0.1016814261674881, 0.11283422261476517, 0.06260357797145844, 0.02912195958197117, -0.06869644671678543, 0.14694447815418243, 0.10142917931079865, 0.17355002462863922, -0.03497423604130745, 0.07172472774982452, 0.29126155376434326, 0.3290919363498688, -0.1219819188117981, 0.24469837546348572, -0.3473743200302124, 0.21863281726837158, 0.04957832023501396, 0.1955672800540924, -0.300462007522583, -0.33090049028396606, 0.2831929922103882, 0.2963908016681671, -0.08255115896463394, 0.09561608731746674, -0.07949715107679367, -0.08333491533994675, 0.3872838318347931, 0.004308790899813175, -0.2302602082490921, 0.24319589138031006, 0.13395272195339203, -0.2596569359302521, 0.0092512471601367, 0.1594562977552414, -0.0012655063765123487, -0.11930037289857864, -0.2124183177947998, -0.3299926221370697, 0.22575275599956512, -0.01970050297677517, -0.3020264208316803, -0.39874231815338135, -0.22935135662555695, 0.22287245094776154, -0.13546928763389587, -0.879401683807373, 0.16777323186397552, 0.22393450140953064, 0.24210871756076813, -0.13403484225273132, 0.17993564903736115, 0.24064305424690247, 0.1452181339263916, -0.27310919761657715, 0.5854895710945129, 0.2515536844730377, -0.11290521174669266, -0.4899292290210724, -0.40893808007240295 ]
https://github.com/huggingface/datasets/issues/2128
Dialogue action slot name and value are reversed in MultiWoZ 2.2
Hi Good catch ! Thanks for reporting If you are interested in contributing, feel free to open a PR to fix this :)
Hi @yjernite, thank you for adding MultiWoZ 2.2 in the huggingface datasets platform. It is beneficial! I spot an error that the order of Dialogue action slot names and values are reversed. https://github.com/huggingface/datasets/blob/649b2c469779bc4221e1b6969aa2496d63eb5953/datasets/multi_woz_v22/multi_woz_v22.py#L251-L262
23
Dialogue action slot name and value are reversed in MultiWoZ 2.2
[ 0.24738946557044983, -0.10068166255950928, -0.010974799282848835, 0.23661519587039948, -0.18124493956565857, -0.11276468634605408, 0.49565616250038147, 0.19224877655506134, -0.1676407903432846, 0.3158228099346161, -0.4013402462005615, 0.34680140018463135, 0.19072693586349487, 0.40954869985580444, -0.07500685006380081, 0.01967412419617176, 0.02818058803677559, 0.1517009735107422, 0.3107030987739563, -0.02645188942551613, -0.4349302053451538, 0.4633273780345917, -0.5829511880874634, 0.5953071713447571, -0.08763376623392105, -0.043648771941661835, 0.24610449373722076, -0.0044099693186581135, -0.01659795455634594, 0.15102966129779816, -0.07942375540733337, 0.09659463167190552, -0.3133021295070648, 0.08265288174152374, -0.00011279069440206513, -0.22774362564086914, 0.4061366021633148, -0.062102384865283966, -0.14096572995185852, 0.14304593205451965, -0.42995384335517883, 0.2298106849193573, -0.13146528601646423, -0.028911691159009933, 0.23421426117420197, 0.2663135826587677, 0.078318290412426, -0.08682971447706223, -0.14094968140125275, -0.03720621392130852, 0.16555853188037872, 0.24128136038780212, -0.1313212364912033, -0.011797021143138409, 0.006462391931563616, 0.04220597445964813, -0.1511135846376419, 0.1772390455007553, -0.021014926955103874, 0.11015651375055313, -0.12224666774272919, 0.21003951132297516, -0.10904736071825027, 0.14215661585330963, -0.3202345073223114, 0.048817332834005356, 0.08123435080051422, 0.2862755060195923, 0.08906977623701096, 0.24055829644203186, -0.04178319126367569, -0.20759308338165283, 0.059565868228673935, -0.135568305850029, 0.13192877173423767, -0.1270504742860794, -0.002091410104185343, 0.30271998047828674, 0.019151274114847183, 0.07069271057844162, 0.10176748782396317, 0.14978118240833282, 0.08980242162942886, 0.029281649738550186, -0.04514617472887039, 0.6049797534942627, -0.0020574843510985374, 0.10171335190534592, -0.40838372707366943, -0.11098843812942505, 0.18301177024841309, 0.3602238893508911, -0.2664962410926819, -0.1022682785987854, -0.3361825942993164, 0.22022050619125366, 0.19483280181884766, 0.13743449747562408, -0.15772590041160583, -0.2802891433238983, 0.3983246386051178, 0.3141919672489166, -0.031794700771570206, 0.06813889741897583, 0.12980332970619202, 0.30934378504753113, 0.42901235818862915, -0.20924054086208344, -0.006789540406316519, 0.29001283645629883, 0.289915531873703, -0.014170968905091286, -0.06535491347312927, -0.27297863364219666, -0.1716039627790451, -0.011362399905920029, 0.2851364314556122, 0.20845721662044525, -0.2072480469942093, -0.14464303851127625, -0.301129549741745, 0.15393854677677155, 0.3384995460510254, 0.08728823810815811, -0.197252556681633, 0.5439164042472839, 0.08852444589138031, 0.2670438885688782, -0.13947097957134247, 0.08036396652460098, -0.11086882650852203, -0.0525333434343338, -0.18102258443832397, -0.037882301956415176, 0.29861336946487427, 0.7509469389915466, 0.19553443789482117, 0.12180839478969574, 0.5169706344604492, -0.04741883650422096, -0.03740748390555382, 0.2851420044898987, -0.07739954441785812, -0.17841637134552002, 0.30146294832229614, 0.30462920665740967, -0.05688077211380005, 0.2327064573764801, 0.16081318259239197, 0.05033202841877937, -0.3541977107524872, -0.045188214629888535, 0.139132559299469, 0.20394520461559296, 0.23579134047031403, 0.07321107387542725, 0.3005998432636261, -0.1441778540611267, 0.16002638638019562, -0.2822166979312897, 0.18507111072540283, 0.080497607588768, -0.0839436948299408, -0.07354162633419037, -0.3487403094768524, -0.07813668996095657, 0.22142323851585388, 0.023600948974490166, 0.05033417046070099, -0.041405800729990005, 0.2307218611240387, -0.08060272783041, -0.2864033877849579, -0.12870511412620544, -0.16456621885299683, 0.28545641899108887, 0.1308496743440628, -0.5678623914718628, -0.061294473707675934, -0.09966880083084106, -0.30933788418769836, 0.10216990113258362, 0.2497374564409256, 0.006775836925953627, 0.018508659675717354, -0.07750336080789566, 0.38644343614578247, 0.027535490691661835, 0.24644285440444946, 0.2733677625656128, -0.1996622085571289, -0.22094374895095825, 0.2898358404636383, -0.2835178077220917, -0.001617568195797503, -0.0697191059589386, -0.25032860040664673, 0.30793148279190063, 0.5136056542396545, -0.03148794174194336, -0.001519527519121766, -0.11098533123731613, -0.20156779885292053, 0.00846301019191742, 0.30521002411842346, 0.024759966880083084, -0.26465103030204773, -0.06309545785188675, -0.6378729343414307, -0.005697694141417742, 0.24802015721797943, 0.07906024158000946, -0.11381411552429199, 0.015858547762036324, -0.3052072525024414, -0.2385045886039734, 0.20922650396823883, 0.33760127425193787, -0.36134129762649536, -0.4322131276130676, -0.11491760611534119, 0.4815359115600586, 0.15510202944278717, -0.0011574177769944072, 0.0473766103386879, -0.29211586713790894, -0.09904827922582626, -0.02084430679678917, 0.004112651571631432, 0.292214572429657, 0.31888818740844727, 0.18467073142528534, -0.189128577709198, 0.6596499085426331, 0.016555173322558403, 0.12880448997020721, -0.19943514466285706, -0.2631605565547943, 0.14983779191970825, 0.07352879643440247, 0.2957931458950043, 0.1061042845249176, -0.08166447281837463, 0.12594786286354065, -0.15841828286647797, 0.6119392514228821, -0.2036220133304596, -0.09174055606126785, 0.050671011209487915, 0.07660584151744843, 0.026052799075841904, -0.15728774666786194, -0.30021312832832336, -0.3588975965976715, -0.1165166050195694, 0.137720987200737, -0.21217161417007446, 0.2624056041240692, -0.3106812536716461, 0.07985953986644745, 0.6271007657051086, 0.001430382370017469, 0.2833610773086548, -0.20193849503993988, 0.08374471217393875, -0.24479925632476807, -0.04803471639752388, 0.25680243968963623, 0.039618246257305145, 0.15206323564052582, 0.010075252503156662, -0.23010988533496857, -0.19628125429153442, -0.25060465931892395, 0.23863950371742249, -0.19056008756160736, -0.04626099765300751, 0.34715214371681213, 0.2964720129966736, -0.3017309010028839, -0.13258199393749237, 0.614641010761261, 0.40034064650535583, -0.15684960782527924, -0.24624304473400116, -0.30097395181655884, -0.37286514043807983, -0.06348074972629547, -0.17913347482681274, -0.5320140719413757, 0.20241282880306244, -0.11360705643892288, 0.2498091161251068, 0.07392779737710953, 0.1682993769645691, 0.3108408749103546, 0.11859609931707382, 0.02647586166858673, 0.02844911254942417, 0.3139864206314087, -0.028048576787114143, -0.02137565426528454, -0.09667869657278061, 0.14327305555343628, -0.3948860168457031, 0.15943609178066254, -0.2528291940689087, -0.013545016758143902, -0.16385716199874878, -0.01736222580075264, -0.16189466416835785, 0.2472575604915619, 0.17131935060024261, -0.18268010020256042, 0.10617917031049728, -0.08378658443689346, 0.35101228952407837, -0.4001856744289398, 0.05258042737841606, 0.14320184290409088, -0.05101403594017029, 0.21109388768672943, -0.11238837987184525, -0.1656818836927414, -0.3969060480594635, -0.1205914244055748, 0.25837230682373047, -0.14509715139865875, 0.312774658203125, -0.1486404985189438, 0.2424524426460266, 0.20099616050720215, -0.4737352728843689, -0.1447775661945343, -0.11395019292831421, 0.427125483751297, -0.3370670974254608, 0.022669540718197823, 0.18465806543827057, -0.24798831343650818, -0.0029693185351788998, -0.370123028755188, -0.08460325747728348, 0.3351466953754425, -0.19392316043376923, 0.3887512683868408, -0.3700818419456482, 0.06072699651122093, -0.20740288496017456, 0.4943147599697113, -0.22899764776229858, 0.3021971583366394, 0.12808652222156525, -0.1187632605433464, -0.3518677353858948, -0.2874082922935486, 0.4976443648338318, 0.36500972509384155, 0.145183727145195, 0.181648850440979, -0.326905220746994, 0.06378033012151718, -0.07625216245651245, -0.16703134775161743, 0.4846946597099304, 0.05951767787337303, -0.15559716522693634, -0.1288045346736908, 0.087245412170887, -0.19841288030147552, 0.3409593999385834, 0.18497011065483093, 0.20560933649539948, 0.16572509706020355, 0.0017769242404028773, -0.4241114556789398, 0.14787307381629944, 0.1949068009853363, -0.6072059869766235, -0.3298073410987854, -0.32082653045654297, 0.19042491912841797, -0.2272094488143921, 0.10668931156396866, -0.04164626821875572, -0.25398463010787964, 0.013574066571891308, 0.3025694191455841, -0.25388777256011963, -0.20613031089305878, -0.310467928647995, -0.19350503385066986, 0.11617499589920044, 0.37213122844696045, 0.06560967117547989, -0.027476483955979347, 0.29190337657928467, 0.2521384358406067, -0.3870524764060974, 0.07691996544599533, -0.17482562363147736, 0.6838911771774292, 0.2834654748439789, 0.16165977716445923, -0.005880136974155903, 0.23638667166233063, -0.31994184851646423, -0.29576393961906433, -0.14487726986408234, 0.2180698961019516, 0.07035192102193832, 0.007397404406219721, 0.07903773337602615, -0.17678095400333405, 0.31338462233543396, -0.5455446243286133, -0.2452400177717209, 0.05004036799073219, 0.03579128161072731, 0.3600151538848877, -0.336782842874527, -0.2820233702659607, -0.36265990138053894, 0.1502200961112976, 0.18735118210315704, -0.23765304684638977, 0.13168081641197205, -0.06986597925424576, -0.030932193621993065, 0.10504910349845886, 0.11323089897632599, 0.40753093361854553, -0.10361891239881516, 0.051254406571388245, 0.24442215263843536, -0.14566442370414734, -0.4049486517906189, 0.29412907361984253, 0.0324937142431736, 0.05278295278549194, -0.40725573897361755, 0.17842335999011993, 0.45054754614830017, -0.15702170133590698, 0.09527193754911423, -0.23974381387233734, 0.06861831992864609, 0.09058839082717896, -0.09829489141702652, 0.3338077664375305, 0.1344219297170639, 0.37429922819137573, -0.15481290221214294, -0.20566843450069427, -0.15102699398994446, -0.4471796154975891, -0.016458721831440926, -0.00307638943195343, -0.14000019431114197, -0.3383680284023285, -0.020904358476400375, 0.5682790279388428, 0.20506344735622406, 0.022402213886380196, 0.6060539484024048, -0.34726592898368835, -0.24406833946704865, -0.14068086445331573, 0.19895245134830475, -0.00926140509545803, 0.5074047446250916, 0.05664798989892006, 0.03159649297595024, -0.14514486491680145, -0.03271377459168434, -0.18230555951595306, 0.1304469257593155, -0.261480450630188, -0.30231761932373047, -0.17169520258903503, -0.3072017431259155, 0.09968682378530502, -0.4183589518070221, 0.3258892595767975, 0.05800355598330498, 0.00010108263813890517, -0.20614080131053925, -0.027166305109858513, -0.17720744013786316, 0.11755169183015823, -0.021174125373363495, -0.029098214581608772, 0.11899775266647339, -0.4293373227119446, -0.044206634163856506, 0.041249390691518784, 0.22026923298835754, -0.34175777435302734, 0.4963569641113281, -0.02058761566877365, 0.11898213624954224, 0.006525471340864897, 0.14484742283821106, 0.26147711277008057, 0.2252308875322342, -0.1924721896648407, 0.38456791639328003, 0.18904361128807068, -0.07995971292257309, -0.3344036042690277, -0.22057846188545227, 0.09384647756814957, 0.1953868716955185, -0.19674640893936157, 0.15267501771450043, 0.38850024342536926, 0.03355797380208969, -0.14977441728115082, 0.13507762551307678, 0.25722482800483704, -0.2592843472957611, 0.14982177317142487, -0.2740304470062256, -0.21696366369724274, -0.04760284349322319, -0.15284240245819092, -0.23317667841911316, -0.03571324795484543, 0.19243879616260529, 0.10924362391233444, -0.061024270951747894, 0.26913413405418396, 0.08188168704509735, -0.08284119516611099, -0.16817162930965424, -0.09849876910448074, -0.3207946717739105, 0.1895027607679367, 0.060642682015895844, 0.14914865791797638, -0.6603590250015259, -0.13487501442432404, 0.022201254963874817, 0.01182110421359539, 0.5895233750343323, -0.2520257234573364, -0.08898594230413437, -0.06291510164737701, -0.015857499092817307, 0.1855459362268448, -0.13782243430614471, -0.09076318144798279, 0.032609544694423676, 0.32746008038520813, -0.15194709599018097, -0.28435349464416504, 0.11706715822219849, 0.0013267555041238666, 0.26462942361831665, -0.0027862803544849157, -0.3020322322845459, 0.01403384655714035, 0.08691451698541641, 0.22813399136066437, -0.21261714398860931, -0.06809323281049728, -0.23534859716892242, -0.3854046165943146, 0.12499790638685226, -0.1258605718612671, -0.015703776851296425, 0.23508669435977936, -0.24116258323192596, -0.13969580829143524, -0.18998880684375763, 0.044716693460941315, 0.3622455298900604, 0.05763108655810356, 0.33146825432777405, 0.10722855478525162, -0.22494886815547943, 0.15225200355052948, -0.20219455659389496, 0.017491953447461128, -0.0681597888469696, -0.3087233603000641, -0.11409039050340652, -0.2885565161705017, -0.02116323634982109, 0.21382589638233185, 0.1279948502779007, -0.10913927853107452, 0.33099180459976196, -0.09597652405500412, -0.1635638177394867, -0.16909179091453552, 0.13167595863342285, 0.06959100812673569, -0.2953725755214691, 0.2787833511829376, -0.15129713714122772, -0.24900110065937042, 0.1754942387342453, -0.15037742257118225, -0.05635014548897743, 0.03198571875691414, -0.4800069034099579, 0.17937371134757996, 0.13720187544822693, -0.3990282118320465, -0.3375547528266907, 0.14484727382659912, -0.08558668196201324, -0.2573104202747345, -0.36275389790534973, 0.051131125539541245, 0.11492225527763367, -0.24510139226913452, 0.2760387063026428, 0.538517415523529, -0.04256243631243706, 0.2385123372077942, 0.305802583694458, 0.33884355425834656, -0.16672950983047485, 0.28337201476097107, 0.2792668640613556, 0.29413071274757385, 0.100929394364357, -0.3658556640148163, 0.1144438162446022, -0.2689838111400604, 0.2218133509159088, 0.3736865818500519, 0.3708251118659973, 0.14497050642967224, -0.0067176371812820435, -0.2559993863105774, 0.1379195749759674, -0.25977855920791626, -0.40873512625694275, -0.366255521774292, -0.144095316529274, -0.21526497602462769, -0.13747328519821167, 0.07641835510730743, 0.4896118640899658, 0.36290493607521057, 0.12821033596992493, -0.0411040298640728, -0.3539554178714752, 0.049142833799123764, -0.07846242189407349, -0.11475130915641785, -0.1934046745300293, 0.27531901001930237, 0.08175601065158844, -0.04783673956990242, 0.2192838340997696, 0.26310184597969055, 0.016218606382608414, 0.14181411266326904, -0.1481027901172638, -0.1560966670513153, 0.16342775523662567, -0.08437377959489822, -0.2663986086845398, -0.2655484080314636, 0.5401095151901245, 0.3637832701206207, -0.10870489478111267, 0.1266143023967743, -0.2224772572517395, 0.28901487588882446, 0.2703687250614166, -0.1471872627735138, 0.06743857264518738, 0.25711336731910706, -0.11583743989467621, -0.003228679532185197, -0.2013625204563141, -0.06328321248292923, -0.4631958305835724, -0.10238329321146011, -0.17891234159469604, -0.0021787669975310564, 0.14475275576114655, 0.02659645676612854, 0.09745921194553375, 0.33704590797424316, 0.0965876653790474, -0.1998356729745865, -0.2450038641691208, 0.06036193668842316, 0.19605226814746857, -0.12388303130865097, 0.23222027719020844, 0.6510452032089233, 0.41383635997772217, -0.0499550960958004, 0.038214486092329025, 0.06995254755020142, -0.20306183397769928, 0.24305547773838043, -0.007465527858585119, 0.11305158585309982, -0.03368837758898735, -0.36275020241737366, 0.4879310131072998, 0.5124680995941162, -0.009980663657188416, 0.30359211564064026, -0.26088085770606995, 0.17557314038276672, -0.11747436225414276, 0.13967029750347137, 0.12880191206932068, 0.052283868193626404, 0.026467623189091682, -0.328642338514328, -0.08181485533714294, -0.09660077095031738, -0.0940747857093811, -0.16466937959194183, -0.04476698115468025, -0.027910226956009865, 0.16890743374824524, -0.10999806225299835, -0.2999178171157837, -0.23793932795524597, 0.19105611741542816, -0.06211083382368088, 0.1779632717370987, -0.022897938266396523, -0.29105180501937866, -0.004784808028489351, -0.16552869975566864, -0.2619515359401703, 0.5233621001243591, 0.039818041026592255, -0.10740021616220474, -0.07251112908124924, -0.023081256076693535, -0.06665289402008057, 0.10804878920316696, 0.0720948800444603, -0.3192225992679596, 0.26278260350227356, -0.11150237917900085, -0.4021912217140198, -0.07013410329818726, 0.3139398694038391, -0.4999856948852539, 0.06357332319021225, 0.03475455567240715, 0.11098846048116684, 0.06182735413312912, 0.025847818702459335, -0.30380576848983765, 0.11351410299539566, -0.10460226237773895, -0.25675734877586365, -0.13796144723892212, -0.11852540820837021, 0.6566787362098694, -0.35153311491012573, 0.05061020702123642, 0.07496634870767593 ]
https://github.com/huggingface/datasets/issues/2123
Problem downloading GEM wiki_auto_asset_turk dataset
Hi, sadly I can't replicate the problem on my Windows machine. Try to update the library to the newest version with: ```bash pip install git+https://github.com/huggingface/datasets ```
@yjernite ### Summary I am currently working on the GEM datasets and do not manage to download the wiki_auto_asset_turk data, whereas all other datasets download well with the same code. ### Steps to reproduce Code snippet: from datasets import load_dataset #dataset = load_dataset('gem', 'web_nlg_en') dataset = load_dataset('gem', 'wiki_auto_asset_turk') ``` **Expected behavior:** I expect the dataset to start downloading (download bar appears and progresses toward 100%) **Actual behavior:** Instead of seeing the download bar appearing, nothing happens; the following appears in the console as expected, but nothing more: Downloading: 36.6kB [00:00, 37.2MB/s] Downloading: 41.7kB [00:00, ?B/s] Downloading and preparing dataset gem/wiki_auto_asset_turk (download: 121.37 MiB, generated: 145.69 MiB, post-processed: Unknown size, total: 267.07 MiB) to C:\Users\sfmil\.cache\huggingface\datasets\gem\wiki_auto_asset_turk\1.0.0\f252756d7f1b8f019aac71a1623b2950acfe10d25d956668ac4eae4e93c58b8d... ### Is this a regression? No, it was the first time I was trying to download this dataset (same for the other ones). ### Debug info - Python version: Python 3.8.2 - OS version: Windows 10 Family
26
Problem downloading GEM wiki_auto_asset_turk dataset
[ -0.09188239276409149, -0.027546320110559464, -0.2303328663110733, 0.3017617464065552, 0.13157331943511963, 0.1334589570760727, 0.3716553747653961, 0.3121260702610016, 0.008028049021959305, 0.07026038318872452, 0.13344363868236542, 0.0587296262383461, 0.12692791223526, -0.10192706435918808, -0.08350328356027603, -0.04655800014734268, 0.04578434303402901, -0.08514166623353958, -0.054177455604076385, -0.2130621373653412, 0.015793558210134506, 0.31032902002334595, 0.02274337038397789, 0.11076989769935608, -0.2819891571998596, 0.0030690382700413465, 0.23066428303718567, -0.011847550049424171, -0.29162508249282837, -0.04010982811450958, 0.11173699796199799, 0.09487798064947128, -0.030037755146622658, 0.10733138024806976, -0.00010589329758659005, 0.14235737919807434, 0.1973976492881775, -0.10096010565757751, 0.02838274836540222, -0.14636555314064026, -0.17587009072303772, -0.1323264092206955, -0.11178826540708542, -0.39938968420028687, 0.07975506782531738, 0.2657415270805359, -0.010942889377474785, 0.3595771789550781, 0.04325006157159805, 0.2293497920036316, 0.3072250783443451, 0.3674548268318176, 0.1961505264043808, -0.05810294300317764, 0.2324640452861786, -0.7612498998641968, -0.003100735368207097, -0.31391021609306335, -0.18423393368721008, 0.21237285435199738, -0.023551037535071373, 0.6219286322593689, -0.0653253048658371, 0.17895622551441193, -0.16681382060050964, -0.027327658608555794, -0.019882744178175926, -0.4516158699989319, 0.5308458805084229, 0.13122102618217468, 0.7524400353431702, 0.20106573402881622, -0.11791492253541946, 0.3394433259963989, -0.02629229985177517, 0.23951300978660583, 0.18674996495246887, 0.49494341015815735, -0.2342216819524765, 0.05730552226305008, -0.20411019027233124, -0.19934087991714478, -0.23866118490695953, 0.03783728927373886, -0.15384550392627716, 0.3168126940727234, -0.035044483840465546, 0.07492662221193314, 0.07014526426792145, -0.17625339329242706, -0.22824454307556152, 0.11444711685180664, -0.1772393137216568, 0.19181613624095917, -0.03442754969000816, -0.10379896312952042, 0.15032002329826355, -0.08246342092752457, 0.05084676295518875, 0.19364333152770996, -0.005170970689505339, 0.31809353828430176, -0.2128586620092392, 0.14689888060092926, -0.0668681338429451, -0.013506785035133362, 0.005694558843970299, -0.3107112944126129, 0.2970154881477356, -0.015575560741126537, 0.06049438565969467, 0.09319276362657547, -0.1881858855485916, -0.22755618393421173, 0.03726089000701904, -0.1537592113018036, -0.015708623453974724, -0.13074344396591187, 0.03464968502521515, 0.24507008492946625, 0.34588852524757385, -0.010687562637031078, -0.28904974460601807, 0.25958433747291565, -0.25903791189193726, -0.3264465630054474, -0.12876255810260773, 0.29212939739227295, -0.19725897908210754, 0.11455338448286057, -0.18813954293727875, 0.018788490444421768, 0.3432700037956238, -0.2283868044614792, -0.051857564598321915, -0.022419404238462448, 0.4782686233520508, -0.1402466744184494, -0.14967688918113708, 0.0014783124206587672, -0.07015103101730347, 0.05273333191871643, 0.06786717474460602, 0.5004000663757324, 0.30955368280410767, 0.3574374318122864, -0.0953284204006195, -0.10679133236408234, 0.04574256017804146, 0.12060773372650146, -0.5265734195709229, -0.46392086148262024, -0.25612688064575195, 0.27399006485939026, -0.12590235471725464, -0.17764677107334137, 0.3204094469547272, 0.09786082059144974, 0.21968050301074982, -0.15296825766563416, -0.1864972859621048, 0.07012781500816345, 0.1369079351425171, -0.05924193188548088, 0.07888412475585938, 0.18085211515426636, -0.2566567063331604, 0.1158253625035286, 0.1174338236451149, -0.04782690107822418, 0.3998540937900543, 0.14248941838741302, -0.14210209250450134, -0.2740546464920044, 0.003263437654823065, 0.5626381039619446, 0.37559187412261963, 0.02689126878976822, -0.559305727481842, -0.0331234447658062, -0.03400984779000282, -0.10868387669324875, 0.14891162514686584, 0.30952608585357666, 0.17997410893440247, 0.0679628923535347, -0.10698296874761581, 0.24265946447849274, 0.027666352689266205, 0.04795451462268829, -0.2281203269958496, -0.49889591336250305, -0.037203866988420486, -0.0282256118953228, 0.3117607533931732, -0.1475478857755661, 0.19316589832305908, 0.06751321256160736, 0.23545733094215393, 0.17468538880348206, -0.011782841756939888, 0.019733872264623642, 0.037405263632535934, -0.3013998866081238, 0.038625720888376236, -0.018947657197713852, 0.0812302976846695, 0.09186308830976486, 0.5902642607688904, 0.4099876880645752, -0.42903658747673035, 0.08067609369754791, -0.23930950462818146, -0.016659174114465714, -0.20806175470352173, 0.05075643211603165, 0.20578217506408691, 0.021959546953439713, 0.09236688166856766, 0.21703936159610748, 0.17589256167411804, -0.34294775128364563, -0.0935511440038681, -0.007407165598124266, 0.06921827048063278, 0.10224323719739914, -0.2547740638256073, -0.0019301732536405325, 0.018998796120285988, -0.20314571261405945, 0.015699680894613266, 0.024124445393681526, -0.10537408292293549, 0.006799702532589436, -0.12120123952627182, 0.19585855305194855, 0.09284006059169769, 0.006071191281080246, 0.07500346004962921, -0.17186161875724792, -0.07527551800012589, 0.019803034141659737, 0.061961445957422256, 0.09247786551713943, 0.11925327777862549, 0.25113415718078613, 0.35577064752578735, 0.0018507451750338078, 0.11513341963291168, 0.25328999757766724, 0.5426218509674072, 0.09785284847021103, -0.05763871595263481, -0.2342851459980011, 0.01523293275386095, -0.31779855489730835, -0.4862125813961029, -0.14061246812343597, -0.11237825453281403, 0.2468632608652115, 0.7282670140266418, 0.1381227672100067, 0.1737046241760254, 0.0828772485256195, 0.018782779574394226, -0.0720173642039299, 0.12517069280147552, 0.41017234325408936, -0.18186409771442413, 0.18697814643383026, 0.06699953228235245, -0.3987472653388977, -0.10544182360172272, -0.206267312169075, 0.17512691020965576, 0.05070684477686882, 0.22578707337379456, 0.30035412311553955, -0.004748476669192314, -0.08392922580242157, -0.2704392373561859, -0.07635614275932312, -0.0122712766751647, 0.16336528956890106, 0.0906292274594307, -0.06130285933613777, -0.15695559978485107, 0.23040108382701874, 0.26161709427833557, -0.29583242535591125, -0.24752454459667206, -0.17991973459720612, 0.2731035351753235, -0.01877778209745884, -0.14676779508590698, 0.09699507802724838, 0.016991037875413895, -0.12954740226268768, 0.1494889110326767, -0.008130544796586037, -0.2298838347196579, -0.35850924253463745, -0.17764654755592346, 0.1298239380121231, 0.016801051795482635, -0.1328589916229248, 0.3593803346157074, -0.10673858970403671, -0.04926252365112305, -0.27289924025535583, -0.36733072996139526, 0.18063870072364807, 0.09892752766609192, 0.1511603146791458, -0.12626071274280548, 0.5198385119438171, -0.10103065520524979, -0.3084186315536499, 0.11043979227542877, 0.0046006375923752785, -0.041940826922655106, 0.1189938634634018, -0.06513895839452744, -0.3326026201248169, -0.04875734820961952, -0.4718073904514313, -0.29926300048828125, -0.13464222848415375, -0.27056822180747986, 0.4133802056312561, 0.2630579173564911, 0.028533954173326492, 0.3687288463115692, -0.040787484496831894, 0.1867159903049469, -0.02055799774825573, -0.20585449039936066, -0.3269721269607544, 0.6810529232025146, -0.26658394932746887, -0.47327855229377747, 0.359173446893692, -0.020363030955195427, 0.5045772790908813, 0.07440316677093506, -0.36772581934928894, 0.07725470513105392, 0.046450693160295486, -0.03181911259889603, 0.3244648277759552, -0.04080173373222351, 0.09518887102603912, -0.04968870058655739, -0.16884587705135345, -0.05036534368991852, 0.138774111866951, 0.1547853648662567, 0.11465352028608322, 0.03222738951444626, 0.014135833829641342, 0.17240597307682037, 0.11823295801877975, 0.8762364983558655, -0.14579442143440247, -0.006848439574241638, 0.19629152119159698, -0.06475498527288437, -0.034020934253931046, 0.021480634808540344, -0.1009419783949852, -0.2927076518535614, -0.12656565010547638, 0.07170254737138748, 0.18998503684997559, 0.11554757505655289, -0.43096914887428284, -0.0995662584900856, 0.01801566407084465, -0.46507275104522705, -0.3038472831249237, -0.14241185784339905, 0.2596907615661621, -0.0448690727353096, 0.35600799322128296, 0.1819113790988922, -0.12765643000602722, -0.2322547733783722, 0.29193446040153503, 0.356036901473999, -0.1923411786556244, 0.010105723515152931, 0.0052278004586696625, 0.0029643960297107697, -0.45406287908554077, 0.1334831416606903, 0.022316455841064453, -0.1910284459590912, -0.10945353657007217, 0.07246340066194534, 0.25528383255004883, -0.3345578610897064, 0.06778928637504578, -0.31016725301742554, 0.21630287170410156, -0.12318412214517593, -0.10123846679925919, 0.1344953179359436, -0.07774009555578232, -0.12818633019924164, -0.08909565955400467, 0.5077006220817566, 0.16635435819625854, -0.19326062500476837, 0.0940573662519455, 0.19264459609985352, -0.15482154488563538, -0.24742986261844635, 0.03468755632638931, -0.16100789606571198, -0.47814270853996277, -0.5254095196723938, -0.10988038778305054, -0.16040447354316711, 0.23680979013442993, -0.05105004832148552, -0.15809766948223114, -0.08685936778783798, 0.17996180057525635, -0.08580023050308228, 0.13142113387584686, 0.3464518189430237, 0.09257085621356964, -0.06764498353004456, -0.023076143115758896, -0.26750871539115906, -0.01228476595133543, 0.3257603645324707, 0.22780834138393402, 0.16472145915031433, -0.019948532804846764, -0.38661959767341614, -0.005653140600770712, 0.26091572642326355, -0.21815980970859528, -0.14038869738578796, 0.16208140552043915, 0.20215937495231628, 0.16820842027664185, 0.11696688085794449, 0.3591723144054413, -0.04176994040608406, -0.05559203401207924, -0.2719809412956238, 0.31406694650650024, -0.24879899621009827, 0.03061474859714508, 0.09717117249965668, 0.29357537627220154, 0.16359780728816986, 0.40387824177742004, 0.10534970462322235, 0.7247862219810486, 0.11839233338832855, 0.17310260236263275, 0.23198339343070984, 0.18415825068950653, 0.28846701979637146, -0.4834507405757904, 0.22563941776752472, -0.2638360857963562, 0.329600065946579, -0.14724652469158173, 0.15260566771030426, -0.08523213118314743, 0.19183014333248138, -0.006310839205980301, 0.04802659898996353, 0.10134188830852509, 0.19294649362564087, -0.07197486609220505, -0.04484167322516441, -0.16378922760486603, 0.02817443758249283, 0.22273468971252441, 0.18225139379501343, 0.06678742170333862, 0.379451721906662, -0.03570966422557831, -0.2599373459815979, 0.17624840140342712, -0.3321997821331024, -0.27637940645217896, 0.17328070104122162, 0.22922463715076447, 0.28517282009124756, -0.3608970046043396, -0.26574036478996277, -0.22750210762023926, 0.3228134512901306, -0.1930488646030426, 0.12077455222606659, -0.18075352907180786, 0.20885498821735382, 0.015623390674591064, -0.30917608737945557, -0.055799007415771484, 0.11085956543684006, 0.1707703024148941, -0.43264296650886536, -0.28232112526893616, 0.10099593549966812, -0.013363126665353775, -0.013843163847923279, 0.07171422243118286, 0.07475119829177856, 0.11764614284038544, 0.21296627819538116, -0.38752174377441406, 0.16113832592964172, -0.3200918138027191, -0.145033597946167, 0.2470049113035202, -0.14410868287086487, -0.06779680401086807, 0.09060783684253693, 0.2663343846797943, -0.2760635018348694, -0.16045613586902618, 0.30152663588523865, 0.07239805907011032, 0.030885299667716026, 0.3797279894351959, -0.0439240038394928, -0.3401872515678406, -0.2891315817832947, -0.3508702218532562, -0.1601249873638153, -0.5857023596763611, -0.041995156556367874, -0.03636975586414337, 0.0013254256919026375, -0.19980022311210632, -0.09090866893529892, 0.11324814707040787, -0.04758833721280098, -0.3136013448238373, -0.4001986086368561, 0.09394088387489319, -0.03483927994966507, 0.011515630409121513, 0.13744311034679413, -0.28795433044433594, -0.47882238030433655, 0.07548578828573227, 0.07965364307165146, -0.363524466753006, 0.02200053445994854, -0.08325403183698654, -0.07181087136268616, -0.12530386447906494, 0.20092147588729858, 0.22516204416751862, 0.18356558680534363, 0.19756543636322021, -0.032664429396390915, -0.2966517210006714, -0.30237385630607605, -0.10830071568489075, 0.07640945166349411, 0.0781673938035965, -0.18053966760635376, 0.3026215732097626, -0.18022552132606506, -0.27609673142433167, 0.2818976640701294, 0.15822367370128632, -0.06984400004148483, 0.0021260352805256844, 0.14580321311950684, 0.07610222697257996, 0.12184541672468185, -0.08305934071540833, 0.016877487301826477, -0.026989849284291267, 0.9475167989730835, -0.09795653820037842, -0.006295116618275642, 0.1102251335978508, -0.1356934756040573, 0.02725146897137165, -0.015885131433606148, -0.07879725843667984, -0.017824994400143623, 0.29983779788017273, -0.30222779512405396, 0.2961370050907135, 0.0675601214170456, 0.14640429615974426, 0.05109101161360741, -0.035173092037439346, -0.13437174260616302, 0.1779996156692505, 0.34622541069984436, -0.3266667127609253, -0.3143557012081146, 0.03871627151966095, -0.18782547116279602, 0.000008053712008404545, -0.15738290548324585, 0.1673905998468399, -0.19007335603237152, 0.026671314612030983, 0.21170195937156677, 0.35232290625572205, -0.47462189197540283, -0.16080115735530853, 0.3852897882461548, -0.20549295842647552, 0.3438689708709717, -0.09287774562835693, -0.10012716799974442, -0.07380501180887222, 0.3362586498260498, -0.07342275232076645, 0.1299826055765152, 0.27366581559181213, -0.08101549744606018, -0.3208390176296234, -0.32731831073760986, 0.08921892195940018, -0.046268071979284286, -0.16884906589984894, 0.2435566782951355, 0.3496972620487213, 0.10774052143096924, 0.49283576011657715, 0.029990054666996002, -0.5705395340919495, 0.2786881625652313, -0.14904280006885529, 0.05397733673453331, -0.039801616221666336, -0.3644656836986542, -0.03368542715907097, 0.5346605777740479, 0.027011942118406296, 0.06073508411645889, 0.10413039475679398, 0.11985186487436295, 0.009529334492981434, -0.26695817708969116, 0.12839774787425995, -0.3821691572666168, -0.03971564397215843, -0.25500404834747314, 0.02724817954003811, 0.14962217211723328, -0.12095190584659576, -0.016162173822522163, -0.08780553936958313, 0.37791240215301514, 0.15264049172401428, 0.011894499883055687, -0.06374999135732651, 0.006206434220075607, -0.09719481319189072, -0.18042118847370148, 0.14026962220668793, 0.3275858759880066, 0.0513029582798481, 0.09301695972681046, 0.19023743271827698, -0.35884377360343933, 0.0909983441233635, 0.3033768832683563, -0.11043538898229599, 0.1694634109735489, 0.049321498721838, -0.11381553113460541, 0.0037659653462469578, -0.16592542827129364, -0.2561551630496979, -0.3951893448829651, -0.22266674041748047, 0.3146359324455261, 0.061468906700611115, 0.1675836592912674, -0.3244906961917877, 0.1219584196805954, -0.24636609852313995, 0.4940210282802582, -0.06141895428299904, 0.03805108740925789, -0.16116954386234283, 0.0387050062417984, -0.5835085511207581, 0.14734505116939545, 0.17627070844173431, 0.1606694906949997, -0.04348941519856453, 0.41730770468711853, -0.04680682346224785, 0.15477153658866882, 0.23311835527420044, -0.35352686047554016, 0.10665828734636307, 0.24320626258850098, -0.32856640219688416, 0.3030075132846832, -0.1297013759613037, 0.10619224607944489, -0.04883890971541405, -0.15662126243114471, 0.12449870258569717, -0.4996224641799927, 0.17290210723876953, -0.0930149182677269, -0.09677200764417648, 0.12262275815010071, -0.1999543309211731, 0.563511073589325, -0.23860467970371246, 0.3145368695259094, -0.2254827469587326, 0.022072168067097664, -0.06394924223423004, -0.08470961451530457, 0.026501324027776718, 0.10038281977176666, 0.247195765376091, 0.2963259518146515, 0.21840274333953857, 0.1401776820421219, -0.04632510989904404, -0.01930374838411808, -0.09637854993343353, 0.18473073840141296, 0.06064201518893242, -0.06881041824817657, 0.028803346678614616, 0.07876057922840118, 0.021173009648919106, 0.04711900278925896, -0.03256750479340553, -0.11896537244319916, -0.20715312659740448, -0.3928746283054352, 0.3565656840801239, -0.014834008179605007, -0.2587774991989136, -0.25470373034477234, -0.040811412036418915, 0.35444286465644836, 0.03150615096092224, -0.26896876096725464, 0.15604664385318756, 0.026773648336529732, -0.04841231927275658, -0.21230548620224, 0.11146272718906403, 0.23738083243370056, -0.11749609559774399, -0.06090346723794937, 0.2354198545217514, 0.1078011617064476, -0.3800846040248871, -0.12808215618133545, -0.17720597982406616 ]
https://github.com/huggingface/datasets/issues/2123
Problem downloading GEM wiki_auto_asset_turk dataset
Is there an error message ? What stacktrace do you get if you interrupt the execution of the program while downloading ?
@yjernite ### Summary I am currently working on the GEM datasets and do not manage to download the wiki_auto_asset_turk data, whereas all other datasets download well with the same code. ### Steps to reproduce Code snippet: from datasets import load_dataset #dataset = load_dataset('gem', 'web_nlg_en') dataset = load_dataset('gem', 'wiki_auto_asset_turk') ``` **Expected behavior:** I expect the dataset to start downloading (download bar appears and progresses toward 100%) **Actual behavior:** Instead of seeing the download bar appearing, nothing happens; the following appears in the console as expected, but nothing more: Downloading: 36.6kB [00:00, 37.2MB/s] Downloading: 41.7kB [00:00, ?B/s] Downloading and preparing dataset gem/wiki_auto_asset_turk (download: 121.37 MiB, generated: 145.69 MiB, post-processed: Unknown size, total: 267.07 MiB) to C:\Users\sfmil\.cache\huggingface\datasets\gem\wiki_auto_asset_turk\1.0.0\f252756d7f1b8f019aac71a1623b2950acfe10d25d956668ac4eae4e93c58b8d... ### Is this a regression? No, it was the first time I was trying to download this dataset (same for the other ones). ### Debug info - Python version: Python 3.8.2 - OS version: Windows 10 Family
22
Problem downloading GEM wiki_auto_asset_turk dataset
[ -0.09188239276409149, -0.027546320110559464, -0.2303328663110733, 0.3017617464065552, 0.13157331943511963, 0.1334589570760727, 0.3716553747653961, 0.3121260702610016, 0.008028049021959305, 0.07026038318872452, 0.13344363868236542, 0.0587296262383461, 0.12692791223526, -0.10192706435918808, -0.08350328356027603, -0.04655800014734268, 0.04578434303402901, -0.08514166623353958, -0.054177455604076385, -0.2130621373653412, 0.015793558210134506, 0.31032902002334595, 0.02274337038397789, 0.11076989769935608, -0.2819891571998596, 0.0030690382700413465, 0.23066428303718567, -0.011847550049424171, -0.29162508249282837, -0.04010982811450958, 0.11173699796199799, 0.09487798064947128, -0.030037755146622658, 0.10733138024806976, -0.00010589329758659005, 0.14235737919807434, 0.1973976492881775, -0.10096010565757751, 0.02838274836540222, -0.14636555314064026, -0.17587009072303772, -0.1323264092206955, -0.11178826540708542, -0.39938968420028687, 0.07975506782531738, 0.2657415270805359, -0.010942889377474785, 0.3595771789550781, 0.04325006157159805, 0.2293497920036316, 0.3072250783443451, 0.3674548268318176, 0.1961505264043808, -0.05810294300317764, 0.2324640452861786, -0.7612498998641968, -0.003100735368207097, -0.31391021609306335, -0.18423393368721008, 0.21237285435199738, -0.023551037535071373, 0.6219286322593689, -0.0653253048658371, 0.17895622551441193, -0.16681382060050964, -0.027327658608555794, -0.019882744178175926, -0.4516158699989319, 0.5308458805084229, 0.13122102618217468, 0.7524400353431702, 0.20106573402881622, -0.11791492253541946, 0.3394433259963989, -0.02629229985177517, 0.23951300978660583, 0.18674996495246887, 0.49494341015815735, -0.2342216819524765, 0.05730552226305008, -0.20411019027233124, -0.19934087991714478, -0.23866118490695953, 0.03783728927373886, -0.15384550392627716, 0.3168126940727234, -0.035044483840465546, 0.07492662221193314, 0.07014526426792145, -0.17625339329242706, -0.22824454307556152, 0.11444711685180664, -0.1772393137216568, 0.19181613624095917, -0.03442754969000816, -0.10379896312952042, 0.15032002329826355, -0.08246342092752457, 0.05084676295518875, 0.19364333152770996, -0.005170970689505339, 0.31809353828430176, -0.2128586620092392, 0.14689888060092926, -0.0668681338429451, -0.013506785035133362, 0.005694558843970299, -0.3107112944126129, 0.2970154881477356, -0.015575560741126537, 0.06049438565969467, 0.09319276362657547, -0.1881858855485916, -0.22755618393421173, 0.03726089000701904, -0.1537592113018036, -0.015708623453974724, -0.13074344396591187, 0.03464968502521515, 0.24507008492946625, 0.34588852524757385, -0.010687562637031078, -0.28904974460601807, 0.25958433747291565, -0.25903791189193726, -0.3264465630054474, -0.12876255810260773, 0.29212939739227295, -0.19725897908210754, 0.11455338448286057, -0.18813954293727875, 0.018788490444421768, 0.3432700037956238, -0.2283868044614792, -0.051857564598321915, -0.022419404238462448, 0.4782686233520508, -0.1402466744184494, -0.14967688918113708, 0.0014783124206587672, -0.07015103101730347, 0.05273333191871643, 0.06786717474460602, 0.5004000663757324, 0.30955368280410767, 0.3574374318122864, -0.0953284204006195, -0.10679133236408234, 0.04574256017804146, 0.12060773372650146, -0.5265734195709229, -0.46392086148262024, -0.25612688064575195, 0.27399006485939026, -0.12590235471725464, -0.17764677107334137, 0.3204094469547272, 0.09786082059144974, 0.21968050301074982, -0.15296825766563416, -0.1864972859621048, 0.07012781500816345, 0.1369079351425171, -0.05924193188548088, 0.07888412475585938, 0.18085211515426636, -0.2566567063331604, 0.1158253625035286, 0.1174338236451149, -0.04782690107822418, 0.3998540937900543, 0.14248941838741302, -0.14210209250450134, -0.2740546464920044, 0.003263437654823065, 0.5626381039619446, 0.37559187412261963, 0.02689126878976822, -0.559305727481842, -0.0331234447658062, -0.03400984779000282, -0.10868387669324875, 0.14891162514686584, 0.30952608585357666, 0.17997410893440247, 0.0679628923535347, -0.10698296874761581, 0.24265946447849274, 0.027666352689266205, 0.04795451462268829, -0.2281203269958496, -0.49889591336250305, -0.037203866988420486, -0.0282256118953228, 0.3117607533931732, -0.1475478857755661, 0.19316589832305908, 0.06751321256160736, 0.23545733094215393, 0.17468538880348206, -0.011782841756939888, 0.019733872264623642, 0.037405263632535934, -0.3013998866081238, 0.038625720888376236, -0.018947657197713852, 0.0812302976846695, 0.09186308830976486, 0.5902642607688904, 0.4099876880645752, -0.42903658747673035, 0.08067609369754791, -0.23930950462818146, -0.016659174114465714, -0.20806175470352173, 0.05075643211603165, 0.20578217506408691, 0.021959546953439713, 0.09236688166856766, 0.21703936159610748, 0.17589256167411804, -0.34294775128364563, -0.0935511440038681, -0.007407165598124266, 0.06921827048063278, 0.10224323719739914, -0.2547740638256073, -0.0019301732536405325, 0.018998796120285988, -0.20314571261405945, 0.015699680894613266, 0.024124445393681526, -0.10537408292293549, 0.006799702532589436, -0.12120123952627182, 0.19585855305194855, 0.09284006059169769, 0.006071191281080246, 0.07500346004962921, -0.17186161875724792, -0.07527551800012589, 0.019803034141659737, 0.061961445957422256, 0.09247786551713943, 0.11925327777862549, 0.25113415718078613, 0.35577064752578735, 0.0018507451750338078, 0.11513341963291168, 0.25328999757766724, 0.5426218509674072, 0.09785284847021103, -0.05763871595263481, -0.2342851459980011, 0.01523293275386095, -0.31779855489730835, -0.4862125813961029, -0.14061246812343597, -0.11237825453281403, 0.2468632608652115, 0.7282670140266418, 0.1381227672100067, 0.1737046241760254, 0.0828772485256195, 0.018782779574394226, -0.0720173642039299, 0.12517069280147552, 0.41017234325408936, -0.18186409771442413, 0.18697814643383026, 0.06699953228235245, -0.3987472653388977, -0.10544182360172272, -0.206267312169075, 0.17512691020965576, 0.05070684477686882, 0.22578707337379456, 0.30035412311553955, -0.004748476669192314, -0.08392922580242157, -0.2704392373561859, -0.07635614275932312, -0.0122712766751647, 0.16336528956890106, 0.0906292274594307, -0.06130285933613777, -0.15695559978485107, 0.23040108382701874, 0.26161709427833557, -0.29583242535591125, -0.24752454459667206, -0.17991973459720612, 0.2731035351753235, -0.01877778209745884, -0.14676779508590698, 0.09699507802724838, 0.016991037875413895, -0.12954740226268768, 0.1494889110326767, -0.008130544796586037, -0.2298838347196579, -0.35850924253463745, -0.17764654755592346, 0.1298239380121231, 0.016801051795482635, -0.1328589916229248, 0.3593803346157074, -0.10673858970403671, -0.04926252365112305, -0.27289924025535583, -0.36733072996139526, 0.18063870072364807, 0.09892752766609192, 0.1511603146791458, -0.12626071274280548, 0.5198385119438171, -0.10103065520524979, -0.3084186315536499, 0.11043979227542877, 0.0046006375923752785, -0.041940826922655106, 0.1189938634634018, -0.06513895839452744, -0.3326026201248169, -0.04875734820961952, -0.4718073904514313, -0.29926300048828125, -0.13464222848415375, -0.27056822180747986, 0.4133802056312561, 0.2630579173564911, 0.028533954173326492, 0.3687288463115692, -0.040787484496831894, 0.1867159903049469, -0.02055799774825573, -0.20585449039936066, -0.3269721269607544, 0.6810529232025146, -0.26658394932746887, -0.47327855229377747, 0.359173446893692, -0.020363030955195427, 0.5045772790908813, 0.07440316677093506, -0.36772581934928894, 0.07725470513105392, 0.046450693160295486, -0.03181911259889603, 0.3244648277759552, -0.04080173373222351, 0.09518887102603912, -0.04968870058655739, -0.16884587705135345, -0.05036534368991852, 0.138774111866951, 0.1547853648662567, 0.11465352028608322, 0.03222738951444626, 0.014135833829641342, 0.17240597307682037, 0.11823295801877975, 0.8762364983558655, -0.14579442143440247, -0.006848439574241638, 0.19629152119159698, -0.06475498527288437, -0.034020934253931046, 0.021480634808540344, -0.1009419783949852, -0.2927076518535614, -0.12656565010547638, 0.07170254737138748, 0.18998503684997559, 0.11554757505655289, -0.43096914887428284, -0.0995662584900856, 0.01801566407084465, -0.46507275104522705, -0.3038472831249237, -0.14241185784339905, 0.2596907615661621, -0.0448690727353096, 0.35600799322128296, 0.1819113790988922, -0.12765643000602722, -0.2322547733783722, 0.29193446040153503, 0.356036901473999, -0.1923411786556244, 0.010105723515152931, 0.0052278004586696625, 0.0029643960297107697, -0.45406287908554077, 0.1334831416606903, 0.022316455841064453, -0.1910284459590912, -0.10945353657007217, 0.07246340066194534, 0.25528383255004883, -0.3345578610897064, 0.06778928637504578, -0.31016725301742554, 0.21630287170410156, -0.12318412214517593, -0.10123846679925919, 0.1344953179359436, -0.07774009555578232, -0.12818633019924164, -0.08909565955400467, 0.5077006220817566, 0.16635435819625854, -0.19326062500476837, 0.0940573662519455, 0.19264459609985352, -0.15482154488563538, -0.24742986261844635, 0.03468755632638931, -0.16100789606571198, -0.47814270853996277, -0.5254095196723938, -0.10988038778305054, -0.16040447354316711, 0.23680979013442993, -0.05105004832148552, -0.15809766948223114, -0.08685936778783798, 0.17996180057525635, -0.08580023050308228, 0.13142113387584686, 0.3464518189430237, 0.09257085621356964, -0.06764498353004456, -0.023076143115758896, -0.26750871539115906, -0.01228476595133543, 0.3257603645324707, 0.22780834138393402, 0.16472145915031433, -0.019948532804846764, -0.38661959767341614, -0.005653140600770712, 0.26091572642326355, -0.21815980970859528, -0.14038869738578796, 0.16208140552043915, 0.20215937495231628, 0.16820842027664185, 0.11696688085794449, 0.3591723144054413, -0.04176994040608406, -0.05559203401207924, -0.2719809412956238, 0.31406694650650024, -0.24879899621009827, 0.03061474859714508, 0.09717117249965668, 0.29357537627220154, 0.16359780728816986, 0.40387824177742004, 0.10534970462322235, 0.7247862219810486, 0.11839233338832855, 0.17310260236263275, 0.23198339343070984, 0.18415825068950653, 0.28846701979637146, -0.4834507405757904, 0.22563941776752472, -0.2638360857963562, 0.329600065946579, -0.14724652469158173, 0.15260566771030426, -0.08523213118314743, 0.19183014333248138, -0.006310839205980301, 0.04802659898996353, 0.10134188830852509, 0.19294649362564087, -0.07197486609220505, -0.04484167322516441, -0.16378922760486603, 0.02817443758249283, 0.22273468971252441, 0.18225139379501343, 0.06678742170333862, 0.379451721906662, -0.03570966422557831, -0.2599373459815979, 0.17624840140342712, -0.3321997821331024, -0.27637940645217896, 0.17328070104122162, 0.22922463715076447, 0.28517282009124756, -0.3608970046043396, -0.26574036478996277, -0.22750210762023926, 0.3228134512901306, -0.1930488646030426, 0.12077455222606659, -0.18075352907180786, 0.20885498821735382, 0.015623390674591064, -0.30917608737945557, -0.055799007415771484, 0.11085956543684006, 0.1707703024148941, -0.43264296650886536, -0.28232112526893616, 0.10099593549966812, -0.013363126665353775, -0.013843163847923279, 0.07171422243118286, 0.07475119829177856, 0.11764614284038544, 0.21296627819538116, -0.38752174377441406, 0.16113832592964172, -0.3200918138027191, -0.145033597946167, 0.2470049113035202, -0.14410868287086487, -0.06779680401086807, 0.09060783684253693, 0.2663343846797943, -0.2760635018348694, -0.16045613586902618, 0.30152663588523865, 0.07239805907011032, 0.030885299667716026, 0.3797279894351959, -0.0439240038394928, -0.3401872515678406, -0.2891315817832947, -0.3508702218532562, -0.1601249873638153, -0.5857023596763611, -0.041995156556367874, -0.03636975586414337, 0.0013254256919026375, -0.19980022311210632, -0.09090866893529892, 0.11324814707040787, -0.04758833721280098, -0.3136013448238373, -0.4001986086368561, 0.09394088387489319, -0.03483927994966507, 0.011515630409121513, 0.13744311034679413, -0.28795433044433594, -0.47882238030433655, 0.07548578828573227, 0.07965364307165146, -0.363524466753006, 0.02200053445994854, -0.08325403183698654, -0.07181087136268616, -0.12530386447906494, 0.20092147588729858, 0.22516204416751862, 0.18356558680534363, 0.19756543636322021, -0.032664429396390915, -0.2966517210006714, -0.30237385630607605, -0.10830071568489075, 0.07640945166349411, 0.0781673938035965, -0.18053966760635376, 0.3026215732097626, -0.18022552132606506, -0.27609673142433167, 0.2818976640701294, 0.15822367370128632, -0.06984400004148483, 0.0021260352805256844, 0.14580321311950684, 0.07610222697257996, 0.12184541672468185, -0.08305934071540833, 0.016877487301826477, -0.026989849284291267, 0.9475167989730835, -0.09795653820037842, -0.006295116618275642, 0.1102251335978508, -0.1356934756040573, 0.02725146897137165, -0.015885131433606148, -0.07879725843667984, -0.017824994400143623, 0.29983779788017273, -0.30222779512405396, 0.2961370050907135, 0.0675601214170456, 0.14640429615974426, 0.05109101161360741, -0.035173092037439346, -0.13437174260616302, 0.1779996156692505, 0.34622541069984436, -0.3266667127609253, -0.3143557012081146, 0.03871627151966095, -0.18782547116279602, 0.000008053712008404545, -0.15738290548324585, 0.1673905998468399, -0.19007335603237152, 0.026671314612030983, 0.21170195937156677, 0.35232290625572205, -0.47462189197540283, -0.16080115735530853, 0.3852897882461548, -0.20549295842647552, 0.3438689708709717, -0.09287774562835693, -0.10012716799974442, -0.07380501180887222, 0.3362586498260498, -0.07342275232076645, 0.1299826055765152, 0.27366581559181213, -0.08101549744606018, -0.3208390176296234, -0.32731831073760986, 0.08921892195940018, -0.046268071979284286, -0.16884906589984894, 0.2435566782951355, 0.3496972620487213, 0.10774052143096924, 0.49283576011657715, 0.029990054666996002, -0.5705395340919495, 0.2786881625652313, -0.14904280006885529, 0.05397733673453331, -0.039801616221666336, -0.3644656836986542, -0.03368542715907097, 0.5346605777740479, 0.027011942118406296, 0.06073508411645889, 0.10413039475679398, 0.11985186487436295, 0.009529334492981434, -0.26695817708969116, 0.12839774787425995, -0.3821691572666168, -0.03971564397215843, -0.25500404834747314, 0.02724817954003811, 0.14962217211723328, -0.12095190584659576, -0.016162173822522163, -0.08780553936958313, 0.37791240215301514, 0.15264049172401428, 0.011894499883055687, -0.06374999135732651, 0.006206434220075607, -0.09719481319189072, -0.18042118847370148, 0.14026962220668793, 0.3275858759880066, 0.0513029582798481, 0.09301695972681046, 0.19023743271827698, -0.35884377360343933, 0.0909983441233635, 0.3033768832683563, -0.11043538898229599, 0.1694634109735489, 0.049321498721838, -0.11381553113460541, 0.0037659653462469578, -0.16592542827129364, -0.2561551630496979, -0.3951893448829651, -0.22266674041748047, 0.3146359324455261, 0.061468906700611115, 0.1675836592912674, -0.3244906961917877, 0.1219584196805954, -0.24636609852313995, 0.4940210282802582, -0.06141895428299904, 0.03805108740925789, -0.16116954386234283, 0.0387050062417984, -0.5835085511207581, 0.14734505116939545, 0.17627070844173431, 0.1606694906949997, -0.04348941519856453, 0.41730770468711853, -0.04680682346224785, 0.15477153658866882, 0.23311835527420044, -0.35352686047554016, 0.10665828734636307, 0.24320626258850098, -0.32856640219688416, 0.3030075132846832, -0.1297013759613037, 0.10619224607944489, -0.04883890971541405, -0.15662126243114471, 0.12449870258569717, -0.4996224641799927, 0.17290210723876953, -0.0930149182677269, -0.09677200764417648, 0.12262275815010071, -0.1999543309211731, 0.563511073589325, -0.23860467970371246, 0.3145368695259094, -0.2254827469587326, 0.022072168067097664, -0.06394924223423004, -0.08470961451530457, 0.026501324027776718, 0.10038281977176666, 0.247195765376091, 0.2963259518146515, 0.21840274333953857, 0.1401776820421219, -0.04632510989904404, -0.01930374838411808, -0.09637854993343353, 0.18473073840141296, 0.06064201518893242, -0.06881041824817657, 0.028803346678614616, 0.07876057922840118, 0.021173009648919106, 0.04711900278925896, -0.03256750479340553, -0.11896537244319916, -0.20715312659740448, -0.3928746283054352, 0.3565656840801239, -0.014834008179605007, -0.2587774991989136, -0.25470373034477234, -0.040811412036418915, 0.35444286465644836, 0.03150615096092224, -0.26896876096725464, 0.15604664385318756, 0.026773648336529732, -0.04841231927275658, -0.21230548620224, 0.11146272718906403, 0.23738083243370056, -0.11749609559774399, -0.06090346723794937, 0.2354198545217514, 0.1078011617064476, -0.3800846040248871, -0.12808215618133545, -0.17720597982406616 ]
https://github.com/huggingface/datasets/issues/2123
Problem downloading GEM wiki_auto_asset_turk dataset
Sorry for the long time since my last comment, I tried again and don't seem to have the problem anymore, thanks for your support!
@yjernite ### Summary I am currently working on the GEM datasets and do not manage to download the wiki_auto_asset_turk data, whereas all other datasets download well with the same code. ### Steps to reproduce Code snippet: from datasets import load_dataset #dataset = load_dataset('gem', 'web_nlg_en') dataset = load_dataset('gem', 'wiki_auto_asset_turk') ``` **Expected behavior:** I expect the dataset to start downloading (download bar appears and progresses toward 100%) **Actual behavior:** Instead of seeing the download bar appearing, nothing happens; the following appears in the console as expected, but nothing more: Downloading: 36.6kB [00:00, 37.2MB/s] Downloading: 41.7kB [00:00, ?B/s] Downloading and preparing dataset gem/wiki_auto_asset_turk (download: 121.37 MiB, generated: 145.69 MiB, post-processed: Unknown size, total: 267.07 MiB) to C:\Users\sfmil\.cache\huggingface\datasets\gem\wiki_auto_asset_turk\1.0.0\f252756d7f1b8f019aac71a1623b2950acfe10d25d956668ac4eae4e93c58b8d... ### Is this a regression? No, it was the first time I was trying to download this dataset (same for the other ones). ### Debug info - Python version: Python 3.8.2 - OS version: Windows 10 Family
24
Problem downloading GEM wiki_auto_asset_turk dataset
[ -0.09188239276409149, -0.027546320110559464, -0.2303328663110733, 0.3017617464065552, 0.13157331943511963, 0.1334589570760727, 0.3716553747653961, 0.3121260702610016, 0.008028049021959305, 0.07026038318872452, 0.13344363868236542, 0.0587296262383461, 0.12692791223526, -0.10192706435918808, -0.08350328356027603, -0.04655800014734268, 0.04578434303402901, -0.08514166623353958, -0.054177455604076385, -0.2130621373653412, 0.015793558210134506, 0.31032902002334595, 0.02274337038397789, 0.11076989769935608, -0.2819891571998596, 0.0030690382700413465, 0.23066428303718567, -0.011847550049424171, -0.29162508249282837, -0.04010982811450958, 0.11173699796199799, 0.09487798064947128, -0.030037755146622658, 0.10733138024806976, -0.00010589329758659005, 0.14235737919807434, 0.1973976492881775, -0.10096010565757751, 0.02838274836540222, -0.14636555314064026, -0.17587009072303772, -0.1323264092206955, -0.11178826540708542, -0.39938968420028687, 0.07975506782531738, 0.2657415270805359, -0.010942889377474785, 0.3595771789550781, 0.04325006157159805, 0.2293497920036316, 0.3072250783443451, 0.3674548268318176, 0.1961505264043808, -0.05810294300317764, 0.2324640452861786, -0.7612498998641968, -0.003100735368207097, -0.31391021609306335, -0.18423393368721008, 0.21237285435199738, -0.023551037535071373, 0.6219286322593689, -0.0653253048658371, 0.17895622551441193, -0.16681382060050964, -0.027327658608555794, -0.019882744178175926, -0.4516158699989319, 0.5308458805084229, 0.13122102618217468, 0.7524400353431702, 0.20106573402881622, -0.11791492253541946, 0.3394433259963989, -0.02629229985177517, 0.23951300978660583, 0.18674996495246887, 0.49494341015815735, -0.2342216819524765, 0.05730552226305008, -0.20411019027233124, -0.19934087991714478, -0.23866118490695953, 0.03783728927373886, -0.15384550392627716, 0.3168126940727234, -0.035044483840465546, 0.07492662221193314, 0.07014526426792145, -0.17625339329242706, -0.22824454307556152, 0.11444711685180664, -0.1772393137216568, 0.19181613624095917, -0.03442754969000816, -0.10379896312952042, 0.15032002329826355, -0.08246342092752457, 0.05084676295518875, 0.19364333152770996, -0.005170970689505339, 0.31809353828430176, -0.2128586620092392, 0.14689888060092926, -0.0668681338429451, -0.013506785035133362, 0.005694558843970299, -0.3107112944126129, 0.2970154881477356, -0.015575560741126537, 0.06049438565969467, 0.09319276362657547, -0.1881858855485916, -0.22755618393421173, 0.03726089000701904, -0.1537592113018036, -0.015708623453974724, -0.13074344396591187, 0.03464968502521515, 0.24507008492946625, 0.34588852524757385, -0.010687562637031078, -0.28904974460601807, 0.25958433747291565, -0.25903791189193726, -0.3264465630054474, -0.12876255810260773, 0.29212939739227295, -0.19725897908210754, 0.11455338448286057, -0.18813954293727875, 0.018788490444421768, 0.3432700037956238, -0.2283868044614792, -0.051857564598321915, -0.022419404238462448, 0.4782686233520508, -0.1402466744184494, -0.14967688918113708, 0.0014783124206587672, -0.07015103101730347, 0.05273333191871643, 0.06786717474460602, 0.5004000663757324, 0.30955368280410767, 0.3574374318122864, -0.0953284204006195, -0.10679133236408234, 0.04574256017804146, 0.12060773372650146, -0.5265734195709229, -0.46392086148262024, -0.25612688064575195, 0.27399006485939026, -0.12590235471725464, -0.17764677107334137, 0.3204094469547272, 0.09786082059144974, 0.21968050301074982, -0.15296825766563416, -0.1864972859621048, 0.07012781500816345, 0.1369079351425171, -0.05924193188548088, 0.07888412475585938, 0.18085211515426636, -0.2566567063331604, 0.1158253625035286, 0.1174338236451149, -0.04782690107822418, 0.3998540937900543, 0.14248941838741302, -0.14210209250450134, -0.2740546464920044, 0.003263437654823065, 0.5626381039619446, 0.37559187412261963, 0.02689126878976822, -0.559305727481842, -0.0331234447658062, -0.03400984779000282, -0.10868387669324875, 0.14891162514686584, 0.30952608585357666, 0.17997410893440247, 0.0679628923535347, -0.10698296874761581, 0.24265946447849274, 0.027666352689266205, 0.04795451462268829, -0.2281203269958496, -0.49889591336250305, -0.037203866988420486, -0.0282256118953228, 0.3117607533931732, -0.1475478857755661, 0.19316589832305908, 0.06751321256160736, 0.23545733094215393, 0.17468538880348206, -0.011782841756939888, 0.019733872264623642, 0.037405263632535934, -0.3013998866081238, 0.038625720888376236, -0.018947657197713852, 0.0812302976846695, 0.09186308830976486, 0.5902642607688904, 0.4099876880645752, -0.42903658747673035, 0.08067609369754791, -0.23930950462818146, -0.016659174114465714, -0.20806175470352173, 0.05075643211603165, 0.20578217506408691, 0.021959546953439713, 0.09236688166856766, 0.21703936159610748, 0.17589256167411804, -0.34294775128364563, -0.0935511440038681, -0.007407165598124266, 0.06921827048063278, 0.10224323719739914, -0.2547740638256073, -0.0019301732536405325, 0.018998796120285988, -0.20314571261405945, 0.015699680894613266, 0.024124445393681526, -0.10537408292293549, 0.006799702532589436, -0.12120123952627182, 0.19585855305194855, 0.09284006059169769, 0.006071191281080246, 0.07500346004962921, -0.17186161875724792, -0.07527551800012589, 0.019803034141659737, 0.061961445957422256, 0.09247786551713943, 0.11925327777862549, 0.25113415718078613, 0.35577064752578735, 0.0018507451750338078, 0.11513341963291168, 0.25328999757766724, 0.5426218509674072, 0.09785284847021103, -0.05763871595263481, -0.2342851459980011, 0.01523293275386095, -0.31779855489730835, -0.4862125813961029, -0.14061246812343597, -0.11237825453281403, 0.2468632608652115, 0.7282670140266418, 0.1381227672100067, 0.1737046241760254, 0.0828772485256195, 0.018782779574394226, -0.0720173642039299, 0.12517069280147552, 0.41017234325408936, -0.18186409771442413, 0.18697814643383026, 0.06699953228235245, -0.3987472653388977, -0.10544182360172272, -0.206267312169075, 0.17512691020965576, 0.05070684477686882, 0.22578707337379456, 0.30035412311553955, -0.004748476669192314, -0.08392922580242157, -0.2704392373561859, -0.07635614275932312, -0.0122712766751647, 0.16336528956890106, 0.0906292274594307, -0.06130285933613777, -0.15695559978485107, 0.23040108382701874, 0.26161709427833557, -0.29583242535591125, -0.24752454459667206, -0.17991973459720612, 0.2731035351753235, -0.01877778209745884, -0.14676779508590698, 0.09699507802724838, 0.016991037875413895, -0.12954740226268768, 0.1494889110326767, -0.008130544796586037, -0.2298838347196579, -0.35850924253463745, -0.17764654755592346, 0.1298239380121231, 0.016801051795482635, -0.1328589916229248, 0.3593803346157074, -0.10673858970403671, -0.04926252365112305, -0.27289924025535583, -0.36733072996139526, 0.18063870072364807, 0.09892752766609192, 0.1511603146791458, -0.12626071274280548, 0.5198385119438171, -0.10103065520524979, -0.3084186315536499, 0.11043979227542877, 0.0046006375923752785, -0.041940826922655106, 0.1189938634634018, -0.06513895839452744, -0.3326026201248169, -0.04875734820961952, -0.4718073904514313, -0.29926300048828125, -0.13464222848415375, -0.27056822180747986, 0.4133802056312561, 0.2630579173564911, 0.028533954173326492, 0.3687288463115692, -0.040787484496831894, 0.1867159903049469, -0.02055799774825573, -0.20585449039936066, -0.3269721269607544, 0.6810529232025146, -0.26658394932746887, -0.47327855229377747, 0.359173446893692, -0.020363030955195427, 0.5045772790908813, 0.07440316677093506, -0.36772581934928894, 0.07725470513105392, 0.046450693160295486, -0.03181911259889603, 0.3244648277759552, -0.04080173373222351, 0.09518887102603912, -0.04968870058655739, -0.16884587705135345, -0.05036534368991852, 0.138774111866951, 0.1547853648662567, 0.11465352028608322, 0.03222738951444626, 0.014135833829641342, 0.17240597307682037, 0.11823295801877975, 0.8762364983558655, -0.14579442143440247, -0.006848439574241638, 0.19629152119159698, -0.06475498527288437, -0.034020934253931046, 0.021480634808540344, -0.1009419783949852, -0.2927076518535614, -0.12656565010547638, 0.07170254737138748, 0.18998503684997559, 0.11554757505655289, -0.43096914887428284, -0.0995662584900856, 0.01801566407084465, -0.46507275104522705, -0.3038472831249237, -0.14241185784339905, 0.2596907615661621, -0.0448690727353096, 0.35600799322128296, 0.1819113790988922, -0.12765643000602722, -0.2322547733783722, 0.29193446040153503, 0.356036901473999, -0.1923411786556244, 0.010105723515152931, 0.0052278004586696625, 0.0029643960297107697, -0.45406287908554077, 0.1334831416606903, 0.022316455841064453, -0.1910284459590912, -0.10945353657007217, 0.07246340066194534, 0.25528383255004883, -0.3345578610897064, 0.06778928637504578, -0.31016725301742554, 0.21630287170410156, -0.12318412214517593, -0.10123846679925919, 0.1344953179359436, -0.07774009555578232, -0.12818633019924164, -0.08909565955400467, 0.5077006220817566, 0.16635435819625854, -0.19326062500476837, 0.0940573662519455, 0.19264459609985352, -0.15482154488563538, -0.24742986261844635, 0.03468755632638931, -0.16100789606571198, -0.47814270853996277, -0.5254095196723938, -0.10988038778305054, -0.16040447354316711, 0.23680979013442993, -0.05105004832148552, -0.15809766948223114, -0.08685936778783798, 0.17996180057525635, -0.08580023050308228, 0.13142113387584686, 0.3464518189430237, 0.09257085621356964, -0.06764498353004456, -0.023076143115758896, -0.26750871539115906, -0.01228476595133543, 0.3257603645324707, 0.22780834138393402, 0.16472145915031433, -0.019948532804846764, -0.38661959767341614, -0.005653140600770712, 0.26091572642326355, -0.21815980970859528, -0.14038869738578796, 0.16208140552043915, 0.20215937495231628, 0.16820842027664185, 0.11696688085794449, 0.3591723144054413, -0.04176994040608406, -0.05559203401207924, -0.2719809412956238, 0.31406694650650024, -0.24879899621009827, 0.03061474859714508, 0.09717117249965668, 0.29357537627220154, 0.16359780728816986, 0.40387824177742004, 0.10534970462322235, 0.7247862219810486, 0.11839233338832855, 0.17310260236263275, 0.23198339343070984, 0.18415825068950653, 0.28846701979637146, -0.4834507405757904, 0.22563941776752472, -0.2638360857963562, 0.329600065946579, -0.14724652469158173, 0.15260566771030426, -0.08523213118314743, 0.19183014333248138, -0.006310839205980301, 0.04802659898996353, 0.10134188830852509, 0.19294649362564087, -0.07197486609220505, -0.04484167322516441, -0.16378922760486603, 0.02817443758249283, 0.22273468971252441, 0.18225139379501343, 0.06678742170333862, 0.379451721906662, -0.03570966422557831, -0.2599373459815979, 0.17624840140342712, -0.3321997821331024, -0.27637940645217896, 0.17328070104122162, 0.22922463715076447, 0.28517282009124756, -0.3608970046043396, -0.26574036478996277, -0.22750210762023926, 0.3228134512901306, -0.1930488646030426, 0.12077455222606659, -0.18075352907180786, 0.20885498821735382, 0.015623390674591064, -0.30917608737945557, -0.055799007415771484, 0.11085956543684006, 0.1707703024148941, -0.43264296650886536, -0.28232112526893616, 0.10099593549966812, -0.013363126665353775, -0.013843163847923279, 0.07171422243118286, 0.07475119829177856, 0.11764614284038544, 0.21296627819538116, -0.38752174377441406, 0.16113832592964172, -0.3200918138027191, -0.145033597946167, 0.2470049113035202, -0.14410868287086487, -0.06779680401086807, 0.09060783684253693, 0.2663343846797943, -0.2760635018348694, -0.16045613586902618, 0.30152663588523865, 0.07239805907011032, 0.030885299667716026, 0.3797279894351959, -0.0439240038394928, -0.3401872515678406, -0.2891315817832947, -0.3508702218532562, -0.1601249873638153, -0.5857023596763611, -0.041995156556367874, -0.03636975586414337, 0.0013254256919026375, -0.19980022311210632, -0.09090866893529892, 0.11324814707040787, -0.04758833721280098, -0.3136013448238373, -0.4001986086368561, 0.09394088387489319, -0.03483927994966507, 0.011515630409121513, 0.13744311034679413, -0.28795433044433594, -0.47882238030433655, 0.07548578828573227, 0.07965364307165146, -0.363524466753006, 0.02200053445994854, -0.08325403183698654, -0.07181087136268616, -0.12530386447906494, 0.20092147588729858, 0.22516204416751862, 0.18356558680534363, 0.19756543636322021, -0.032664429396390915, -0.2966517210006714, -0.30237385630607605, -0.10830071568489075, 0.07640945166349411, 0.0781673938035965, -0.18053966760635376, 0.3026215732097626, -0.18022552132606506, -0.27609673142433167, 0.2818976640701294, 0.15822367370128632, -0.06984400004148483, 0.0021260352805256844, 0.14580321311950684, 0.07610222697257996, 0.12184541672468185, -0.08305934071540833, 0.016877487301826477, -0.026989849284291267, 0.9475167989730835, -0.09795653820037842, -0.006295116618275642, 0.1102251335978508, -0.1356934756040573, 0.02725146897137165, -0.015885131433606148, -0.07879725843667984, -0.017824994400143623, 0.29983779788017273, -0.30222779512405396, 0.2961370050907135, 0.0675601214170456, 0.14640429615974426, 0.05109101161360741, -0.035173092037439346, -0.13437174260616302, 0.1779996156692505, 0.34622541069984436, -0.3266667127609253, -0.3143557012081146, 0.03871627151966095, -0.18782547116279602, 0.000008053712008404545, -0.15738290548324585, 0.1673905998468399, -0.19007335603237152, 0.026671314612030983, 0.21170195937156677, 0.35232290625572205, -0.47462189197540283, -0.16080115735530853, 0.3852897882461548, -0.20549295842647552, 0.3438689708709717, -0.09287774562835693, -0.10012716799974442, -0.07380501180887222, 0.3362586498260498, -0.07342275232076645, 0.1299826055765152, 0.27366581559181213, -0.08101549744606018, -0.3208390176296234, -0.32731831073760986, 0.08921892195940018, -0.046268071979284286, -0.16884906589984894, 0.2435566782951355, 0.3496972620487213, 0.10774052143096924, 0.49283576011657715, 0.029990054666996002, -0.5705395340919495, 0.2786881625652313, -0.14904280006885529, 0.05397733673453331, -0.039801616221666336, -0.3644656836986542, -0.03368542715907097, 0.5346605777740479, 0.027011942118406296, 0.06073508411645889, 0.10413039475679398, 0.11985186487436295, 0.009529334492981434, -0.26695817708969116, 0.12839774787425995, -0.3821691572666168, -0.03971564397215843, -0.25500404834747314, 0.02724817954003811, 0.14962217211723328, -0.12095190584659576, -0.016162173822522163, -0.08780553936958313, 0.37791240215301514, 0.15264049172401428, 0.011894499883055687, -0.06374999135732651, 0.006206434220075607, -0.09719481319189072, -0.18042118847370148, 0.14026962220668793, 0.3275858759880066, 0.0513029582798481, 0.09301695972681046, 0.19023743271827698, -0.35884377360343933, 0.0909983441233635, 0.3033768832683563, -0.11043538898229599, 0.1694634109735489, 0.049321498721838, -0.11381553113460541, 0.0037659653462469578, -0.16592542827129364, -0.2561551630496979, -0.3951893448829651, -0.22266674041748047, 0.3146359324455261, 0.061468906700611115, 0.1675836592912674, -0.3244906961917877, 0.1219584196805954, -0.24636609852313995, 0.4940210282802582, -0.06141895428299904, 0.03805108740925789, -0.16116954386234283, 0.0387050062417984, -0.5835085511207581, 0.14734505116939545, 0.17627070844173431, 0.1606694906949997, -0.04348941519856453, 0.41730770468711853, -0.04680682346224785, 0.15477153658866882, 0.23311835527420044, -0.35352686047554016, 0.10665828734636307, 0.24320626258850098, -0.32856640219688416, 0.3030075132846832, -0.1297013759613037, 0.10619224607944489, -0.04883890971541405, -0.15662126243114471, 0.12449870258569717, -0.4996224641799927, 0.17290210723876953, -0.0930149182677269, -0.09677200764417648, 0.12262275815010071, -0.1999543309211731, 0.563511073589325, -0.23860467970371246, 0.3145368695259094, -0.2254827469587326, 0.022072168067097664, -0.06394924223423004, -0.08470961451530457, 0.026501324027776718, 0.10038281977176666, 0.247195765376091, 0.2963259518146515, 0.21840274333953857, 0.1401776820421219, -0.04632510989904404, -0.01930374838411808, -0.09637854993343353, 0.18473073840141296, 0.06064201518893242, -0.06881041824817657, 0.028803346678614616, 0.07876057922840118, 0.021173009648919106, 0.04711900278925896, -0.03256750479340553, -0.11896537244319916, -0.20715312659740448, -0.3928746283054352, 0.3565656840801239, -0.014834008179605007, -0.2587774991989136, -0.25470373034477234, -0.040811412036418915, 0.35444286465644836, 0.03150615096092224, -0.26896876096725464, 0.15604664385318756, 0.026773648336529732, -0.04841231927275658, -0.21230548620224, 0.11146272718906403, 0.23738083243370056, -0.11749609559774399, -0.06090346723794937, 0.2354198545217514, 0.1078011617064476, -0.3800846040248871, -0.12808215618133545, -0.17720597982406616 ]
https://github.com/huggingface/datasets/issues/2123
Problem downloading GEM wiki_auto_asset_turk dataset
Great ! I'm closing the issue then. Feel free to re-open if you experience this issue again
@yjernite ### Summary I am currently working on the GEM datasets and do not manage to download the wiki_auto_asset_turk data, whereas all other datasets download well with the same code. ### Steps to reproduce Code snippet: from datasets import load_dataset #dataset = load_dataset('gem', 'web_nlg_en') dataset = load_dataset('gem', 'wiki_auto_asset_turk') ``` **Expected behavior:** I expect the dataset to start downloading (download bar appears and progresses toward 100%) **Actual behavior:** Instead of seeing the download bar appearing, nothing happens; the following appears in the console as expected, but nothing more: Downloading: 36.6kB [00:00, 37.2MB/s] Downloading: 41.7kB [00:00, ?B/s] Downloading and preparing dataset gem/wiki_auto_asset_turk (download: 121.37 MiB, generated: 145.69 MiB, post-processed: Unknown size, total: 267.07 MiB) to C:\Users\sfmil\.cache\huggingface\datasets\gem\wiki_auto_asset_turk\1.0.0\f252756d7f1b8f019aac71a1623b2950acfe10d25d956668ac4eae4e93c58b8d... ### Is this a regression? No, it was the first time I was trying to download this dataset (same for the other ones). ### Debug info - Python version: Python 3.8.2 - OS version: Windows 10 Family
17
Problem downloading GEM wiki_auto_asset_turk dataset
[ -0.09188239276409149, -0.027546320110559464, -0.2303328663110733, 0.3017617464065552, 0.13157331943511963, 0.1334589570760727, 0.3716553747653961, 0.3121260702610016, 0.008028049021959305, 0.07026038318872452, 0.13344363868236542, 0.0587296262383461, 0.12692791223526, -0.10192706435918808, -0.08350328356027603, -0.04655800014734268, 0.04578434303402901, -0.08514166623353958, -0.054177455604076385, -0.2130621373653412, 0.015793558210134506, 0.31032902002334595, 0.02274337038397789, 0.11076989769935608, -0.2819891571998596, 0.0030690382700413465, 0.23066428303718567, -0.011847550049424171, -0.29162508249282837, -0.04010982811450958, 0.11173699796199799, 0.09487798064947128, -0.030037755146622658, 0.10733138024806976, -0.00010589329758659005, 0.14235737919807434, 0.1973976492881775, -0.10096010565757751, 0.02838274836540222, -0.14636555314064026, -0.17587009072303772, -0.1323264092206955, -0.11178826540708542, -0.39938968420028687, 0.07975506782531738, 0.2657415270805359, -0.010942889377474785, 0.3595771789550781, 0.04325006157159805, 0.2293497920036316, 0.3072250783443451, 0.3674548268318176, 0.1961505264043808, -0.05810294300317764, 0.2324640452861786, -0.7612498998641968, -0.003100735368207097, -0.31391021609306335, -0.18423393368721008, 0.21237285435199738, -0.023551037535071373, 0.6219286322593689, -0.0653253048658371, 0.17895622551441193, -0.16681382060050964, -0.027327658608555794, -0.019882744178175926, -0.4516158699989319, 0.5308458805084229, 0.13122102618217468, 0.7524400353431702, 0.20106573402881622, -0.11791492253541946, 0.3394433259963989, -0.02629229985177517, 0.23951300978660583, 0.18674996495246887, 0.49494341015815735, -0.2342216819524765, 0.05730552226305008, -0.20411019027233124, -0.19934087991714478, -0.23866118490695953, 0.03783728927373886, -0.15384550392627716, 0.3168126940727234, -0.035044483840465546, 0.07492662221193314, 0.07014526426792145, -0.17625339329242706, -0.22824454307556152, 0.11444711685180664, -0.1772393137216568, 0.19181613624095917, -0.03442754969000816, -0.10379896312952042, 0.15032002329826355, -0.08246342092752457, 0.05084676295518875, 0.19364333152770996, -0.005170970689505339, 0.31809353828430176, -0.2128586620092392, 0.14689888060092926, -0.0668681338429451, -0.013506785035133362, 0.005694558843970299, -0.3107112944126129, 0.2970154881477356, -0.015575560741126537, 0.06049438565969467, 0.09319276362657547, -0.1881858855485916, -0.22755618393421173, 0.03726089000701904, -0.1537592113018036, -0.015708623453974724, -0.13074344396591187, 0.03464968502521515, 0.24507008492946625, 0.34588852524757385, -0.010687562637031078, -0.28904974460601807, 0.25958433747291565, -0.25903791189193726, -0.3264465630054474, -0.12876255810260773, 0.29212939739227295, -0.19725897908210754, 0.11455338448286057, -0.18813954293727875, 0.018788490444421768, 0.3432700037956238, -0.2283868044614792, -0.051857564598321915, -0.022419404238462448, 0.4782686233520508, -0.1402466744184494, -0.14967688918113708, 0.0014783124206587672, -0.07015103101730347, 0.05273333191871643, 0.06786717474460602, 0.5004000663757324, 0.30955368280410767, 0.3574374318122864, -0.0953284204006195, -0.10679133236408234, 0.04574256017804146, 0.12060773372650146, -0.5265734195709229, -0.46392086148262024, -0.25612688064575195, 0.27399006485939026, -0.12590235471725464, -0.17764677107334137, 0.3204094469547272, 0.09786082059144974, 0.21968050301074982, -0.15296825766563416, -0.1864972859621048, 0.07012781500816345, 0.1369079351425171, -0.05924193188548088, 0.07888412475585938, 0.18085211515426636, -0.2566567063331604, 0.1158253625035286, 0.1174338236451149, -0.04782690107822418, 0.3998540937900543, 0.14248941838741302, -0.14210209250450134, -0.2740546464920044, 0.003263437654823065, 0.5626381039619446, 0.37559187412261963, 0.02689126878976822, -0.559305727481842, -0.0331234447658062, -0.03400984779000282, -0.10868387669324875, 0.14891162514686584, 0.30952608585357666, 0.17997410893440247, 0.0679628923535347, -0.10698296874761581, 0.24265946447849274, 0.027666352689266205, 0.04795451462268829, -0.2281203269958496, -0.49889591336250305, -0.037203866988420486, -0.0282256118953228, 0.3117607533931732, -0.1475478857755661, 0.19316589832305908, 0.06751321256160736, 0.23545733094215393, 0.17468538880348206, -0.011782841756939888, 0.019733872264623642, 0.037405263632535934, -0.3013998866081238, 0.038625720888376236, -0.018947657197713852, 0.0812302976846695, 0.09186308830976486, 0.5902642607688904, 0.4099876880645752, -0.42903658747673035, 0.08067609369754791, -0.23930950462818146, -0.016659174114465714, -0.20806175470352173, 0.05075643211603165, 0.20578217506408691, 0.021959546953439713, 0.09236688166856766, 0.21703936159610748, 0.17589256167411804, -0.34294775128364563, -0.0935511440038681, -0.007407165598124266, 0.06921827048063278, 0.10224323719739914, -0.2547740638256073, -0.0019301732536405325, 0.018998796120285988, -0.20314571261405945, 0.015699680894613266, 0.024124445393681526, -0.10537408292293549, 0.006799702532589436, -0.12120123952627182, 0.19585855305194855, 0.09284006059169769, 0.006071191281080246, 0.07500346004962921, -0.17186161875724792, -0.07527551800012589, 0.019803034141659737, 0.061961445957422256, 0.09247786551713943, 0.11925327777862549, 0.25113415718078613, 0.35577064752578735, 0.0018507451750338078, 0.11513341963291168, 0.25328999757766724, 0.5426218509674072, 0.09785284847021103, -0.05763871595263481, -0.2342851459980011, 0.01523293275386095, -0.31779855489730835, -0.4862125813961029, -0.14061246812343597, -0.11237825453281403, 0.2468632608652115, 0.7282670140266418, 0.1381227672100067, 0.1737046241760254, 0.0828772485256195, 0.018782779574394226, -0.0720173642039299, 0.12517069280147552, 0.41017234325408936, -0.18186409771442413, 0.18697814643383026, 0.06699953228235245, -0.3987472653388977, -0.10544182360172272, -0.206267312169075, 0.17512691020965576, 0.05070684477686882, 0.22578707337379456, 0.30035412311553955, -0.004748476669192314, -0.08392922580242157, -0.2704392373561859, -0.07635614275932312, -0.0122712766751647, 0.16336528956890106, 0.0906292274594307, -0.06130285933613777, -0.15695559978485107, 0.23040108382701874, 0.26161709427833557, -0.29583242535591125, -0.24752454459667206, -0.17991973459720612, 0.2731035351753235, -0.01877778209745884, -0.14676779508590698, 0.09699507802724838, 0.016991037875413895, -0.12954740226268768, 0.1494889110326767, -0.008130544796586037, -0.2298838347196579, -0.35850924253463745, -0.17764654755592346, 0.1298239380121231, 0.016801051795482635, -0.1328589916229248, 0.3593803346157074, -0.10673858970403671, -0.04926252365112305, -0.27289924025535583, -0.36733072996139526, 0.18063870072364807, 0.09892752766609192, 0.1511603146791458, -0.12626071274280548, 0.5198385119438171, -0.10103065520524979, -0.3084186315536499, 0.11043979227542877, 0.0046006375923752785, -0.041940826922655106, 0.1189938634634018, -0.06513895839452744, -0.3326026201248169, -0.04875734820961952, -0.4718073904514313, -0.29926300048828125, -0.13464222848415375, -0.27056822180747986, 0.4133802056312561, 0.2630579173564911, 0.028533954173326492, 0.3687288463115692, -0.040787484496831894, 0.1867159903049469, -0.02055799774825573, -0.20585449039936066, -0.3269721269607544, 0.6810529232025146, -0.26658394932746887, -0.47327855229377747, 0.359173446893692, -0.020363030955195427, 0.5045772790908813, 0.07440316677093506, -0.36772581934928894, 0.07725470513105392, 0.046450693160295486, -0.03181911259889603, 0.3244648277759552, -0.04080173373222351, 0.09518887102603912, -0.04968870058655739, -0.16884587705135345, -0.05036534368991852, 0.138774111866951, 0.1547853648662567, 0.11465352028608322, 0.03222738951444626, 0.014135833829641342, 0.17240597307682037, 0.11823295801877975, 0.8762364983558655, -0.14579442143440247, -0.006848439574241638, 0.19629152119159698, -0.06475498527288437, -0.034020934253931046, 0.021480634808540344, -0.1009419783949852, -0.2927076518535614, -0.12656565010547638, 0.07170254737138748, 0.18998503684997559, 0.11554757505655289, -0.43096914887428284, -0.0995662584900856, 0.01801566407084465, -0.46507275104522705, -0.3038472831249237, -0.14241185784339905, 0.2596907615661621, -0.0448690727353096, 0.35600799322128296, 0.1819113790988922, -0.12765643000602722, -0.2322547733783722, 0.29193446040153503, 0.356036901473999, -0.1923411786556244, 0.010105723515152931, 0.0052278004586696625, 0.0029643960297107697, -0.45406287908554077, 0.1334831416606903, 0.022316455841064453, -0.1910284459590912, -0.10945353657007217, 0.07246340066194534, 0.25528383255004883, -0.3345578610897064, 0.06778928637504578, -0.31016725301742554, 0.21630287170410156, -0.12318412214517593, -0.10123846679925919, 0.1344953179359436, -0.07774009555578232, -0.12818633019924164, -0.08909565955400467, 0.5077006220817566, 0.16635435819625854, -0.19326062500476837, 0.0940573662519455, 0.19264459609985352, -0.15482154488563538, -0.24742986261844635, 0.03468755632638931, -0.16100789606571198, -0.47814270853996277, -0.5254095196723938, -0.10988038778305054, -0.16040447354316711, 0.23680979013442993, -0.05105004832148552, -0.15809766948223114, -0.08685936778783798, 0.17996180057525635, -0.08580023050308228, 0.13142113387584686, 0.3464518189430237, 0.09257085621356964, -0.06764498353004456, -0.023076143115758896, -0.26750871539115906, -0.01228476595133543, 0.3257603645324707, 0.22780834138393402, 0.16472145915031433, -0.019948532804846764, -0.38661959767341614, -0.005653140600770712, 0.26091572642326355, -0.21815980970859528, -0.14038869738578796, 0.16208140552043915, 0.20215937495231628, 0.16820842027664185, 0.11696688085794449, 0.3591723144054413, -0.04176994040608406, -0.05559203401207924, -0.2719809412956238, 0.31406694650650024, -0.24879899621009827, 0.03061474859714508, 0.09717117249965668, 0.29357537627220154, 0.16359780728816986, 0.40387824177742004, 0.10534970462322235, 0.7247862219810486, 0.11839233338832855, 0.17310260236263275, 0.23198339343070984, 0.18415825068950653, 0.28846701979637146, -0.4834507405757904, 0.22563941776752472, -0.2638360857963562, 0.329600065946579, -0.14724652469158173, 0.15260566771030426, -0.08523213118314743, 0.19183014333248138, -0.006310839205980301, 0.04802659898996353, 0.10134188830852509, 0.19294649362564087, -0.07197486609220505, -0.04484167322516441, -0.16378922760486603, 0.02817443758249283, 0.22273468971252441, 0.18225139379501343, 0.06678742170333862, 0.379451721906662, -0.03570966422557831, -0.2599373459815979, 0.17624840140342712, -0.3321997821331024, -0.27637940645217896, 0.17328070104122162, 0.22922463715076447, 0.28517282009124756, -0.3608970046043396, -0.26574036478996277, -0.22750210762023926, 0.3228134512901306, -0.1930488646030426, 0.12077455222606659, -0.18075352907180786, 0.20885498821735382, 0.015623390674591064, -0.30917608737945557, -0.055799007415771484, 0.11085956543684006, 0.1707703024148941, -0.43264296650886536, -0.28232112526893616, 0.10099593549966812, -0.013363126665353775, -0.013843163847923279, 0.07171422243118286, 0.07475119829177856, 0.11764614284038544, 0.21296627819538116, -0.38752174377441406, 0.16113832592964172, -0.3200918138027191, -0.145033597946167, 0.2470049113035202, -0.14410868287086487, -0.06779680401086807, 0.09060783684253693, 0.2663343846797943, -0.2760635018348694, -0.16045613586902618, 0.30152663588523865, 0.07239805907011032, 0.030885299667716026, 0.3797279894351959, -0.0439240038394928, -0.3401872515678406, -0.2891315817832947, -0.3508702218532562, -0.1601249873638153, -0.5857023596763611, -0.041995156556367874, -0.03636975586414337, 0.0013254256919026375, -0.19980022311210632, -0.09090866893529892, 0.11324814707040787, -0.04758833721280098, -0.3136013448238373, -0.4001986086368561, 0.09394088387489319, -0.03483927994966507, 0.011515630409121513, 0.13744311034679413, -0.28795433044433594, -0.47882238030433655, 0.07548578828573227, 0.07965364307165146, -0.363524466753006, 0.02200053445994854, -0.08325403183698654, -0.07181087136268616, -0.12530386447906494, 0.20092147588729858, 0.22516204416751862, 0.18356558680534363, 0.19756543636322021, -0.032664429396390915, -0.2966517210006714, -0.30237385630607605, -0.10830071568489075, 0.07640945166349411, 0.0781673938035965, -0.18053966760635376, 0.3026215732097626, -0.18022552132606506, -0.27609673142433167, 0.2818976640701294, 0.15822367370128632, -0.06984400004148483, 0.0021260352805256844, 0.14580321311950684, 0.07610222697257996, 0.12184541672468185, -0.08305934071540833, 0.016877487301826477, -0.026989849284291267, 0.9475167989730835, -0.09795653820037842, -0.006295116618275642, 0.1102251335978508, -0.1356934756040573, 0.02725146897137165, -0.015885131433606148, -0.07879725843667984, -0.017824994400143623, 0.29983779788017273, -0.30222779512405396, 0.2961370050907135, 0.0675601214170456, 0.14640429615974426, 0.05109101161360741, -0.035173092037439346, -0.13437174260616302, 0.1779996156692505, 0.34622541069984436, -0.3266667127609253, -0.3143557012081146, 0.03871627151966095, -0.18782547116279602, 0.000008053712008404545, -0.15738290548324585, 0.1673905998468399, -0.19007335603237152, 0.026671314612030983, 0.21170195937156677, 0.35232290625572205, -0.47462189197540283, -0.16080115735530853, 0.3852897882461548, -0.20549295842647552, 0.3438689708709717, -0.09287774562835693, -0.10012716799974442, -0.07380501180887222, 0.3362586498260498, -0.07342275232076645, 0.1299826055765152, 0.27366581559181213, -0.08101549744606018, -0.3208390176296234, -0.32731831073760986, 0.08921892195940018, -0.046268071979284286, -0.16884906589984894, 0.2435566782951355, 0.3496972620487213, 0.10774052143096924, 0.49283576011657715, 0.029990054666996002, -0.5705395340919495, 0.2786881625652313, -0.14904280006885529, 0.05397733673453331, -0.039801616221666336, -0.3644656836986542, -0.03368542715907097, 0.5346605777740479, 0.027011942118406296, 0.06073508411645889, 0.10413039475679398, 0.11985186487436295, 0.009529334492981434, -0.26695817708969116, 0.12839774787425995, -0.3821691572666168, -0.03971564397215843, -0.25500404834747314, 0.02724817954003811, 0.14962217211723328, -0.12095190584659576, -0.016162173822522163, -0.08780553936958313, 0.37791240215301514, 0.15264049172401428, 0.011894499883055687, -0.06374999135732651, 0.006206434220075607, -0.09719481319189072, -0.18042118847370148, 0.14026962220668793, 0.3275858759880066, 0.0513029582798481, 0.09301695972681046, 0.19023743271827698, -0.35884377360343933, 0.0909983441233635, 0.3033768832683563, -0.11043538898229599, 0.1694634109735489, 0.049321498721838, -0.11381553113460541, 0.0037659653462469578, -0.16592542827129364, -0.2561551630496979, -0.3951893448829651, -0.22266674041748047, 0.3146359324455261, 0.061468906700611115, 0.1675836592912674, -0.3244906961917877, 0.1219584196805954, -0.24636609852313995, 0.4940210282802582, -0.06141895428299904, 0.03805108740925789, -0.16116954386234283, 0.0387050062417984, -0.5835085511207581, 0.14734505116939545, 0.17627070844173431, 0.1606694906949997, -0.04348941519856453, 0.41730770468711853, -0.04680682346224785, 0.15477153658866882, 0.23311835527420044, -0.35352686047554016, 0.10665828734636307, 0.24320626258850098, -0.32856640219688416, 0.3030075132846832, -0.1297013759613037, 0.10619224607944489, -0.04883890971541405, -0.15662126243114471, 0.12449870258569717, -0.4996224641799927, 0.17290210723876953, -0.0930149182677269, -0.09677200764417648, 0.12262275815010071, -0.1999543309211731, 0.563511073589325, -0.23860467970371246, 0.3145368695259094, -0.2254827469587326, 0.022072168067097664, -0.06394924223423004, -0.08470961451530457, 0.026501324027776718, 0.10038281977176666, 0.247195765376091, 0.2963259518146515, 0.21840274333953857, 0.1401776820421219, -0.04632510989904404, -0.01930374838411808, -0.09637854993343353, 0.18473073840141296, 0.06064201518893242, -0.06881041824817657, 0.028803346678614616, 0.07876057922840118, 0.021173009648919106, 0.04711900278925896, -0.03256750479340553, -0.11896537244319916, -0.20715312659740448, -0.3928746283054352, 0.3565656840801239, -0.014834008179605007, -0.2587774991989136, -0.25470373034477234, -0.040811412036418915, 0.35444286465644836, 0.03150615096092224, -0.26896876096725464, 0.15604664385318756, 0.026773648336529732, -0.04841231927275658, -0.21230548620224, 0.11146272718906403, 0.23738083243370056, -0.11749609559774399, -0.06090346723794937, 0.2354198545217514, 0.1078011617064476, -0.3800846040248871, -0.12808215618133545, -0.17720597982406616 ]
https://github.com/huggingface/datasets/issues/2116
Creating custom dataset results in error while calling the map() function
Hi, the `_data` attribute is missing due to `MyDataset.__init__` not calling the parent `__init__`. However, I don't think it's a good idea to subclass the `datasets.Dataset` class (e.g. it's kind of dangerous to override `datasets.Dataset.__getitem__`). Instead, it's better to follow the "association over inheritance" approach with a simple wrapper class that delegates calls to a wrapped `Dataset` (map, etc.). Btw, the library offers the `datasets.Dataset.from_pandas` class method to directly create a `datasets.Dataset` from the dataframe.
calling `map()` of `datasets` library results into an error while defining a Custom dataset. Reproducible example: ``` import datasets class MyDataset(datasets.Dataset): def __init__(self, sentences): "Initialization" self.samples = sentences def __len__(self): "Denotes the total number of samples" return len(self.samples) def __getitem__(self, index): "Generates one sample of data" # Select sample # Load data and get label samples = self.samples[index] return samples def preprocess_function_train(examples): inputs = examples labels = [example+tokenizer.eos_token for example in examples ] inputs = tokenizer(inputs, max_length=30, padding=True, truncation=True) labels = tokenizer(labels, max_length=30, padding=True, truncation=True) model_inputs = inputs model_inputs["labels"] = labels["input_ids"] print("about to return") return model_inputs ##train["sentence"] is dataframe column train_dataset = MyDataset(train['sentence'].values.tolist()) train_dataset = train_dataset.map( preprocess_function, batched = True, batch_size=32 ) ``` Stack trace of error: ``` Traceback (most recent call last): File "dir/train_generate.py", line 362, in <module> main() File "dir/train_generate.py", line 245, in main train_dataset = train_dataset.map( File "anaconda_dir/anaconda3/envs/env1/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 1244, in map return self._map_single( File "anaconda_dir/anaconda3/envs/env1/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 149, in wrapper unformatted_columns = set(self.column_names) - set(self._format_columns or []) File "anaconda_dir/anaconda3/envs/env1/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 526, in column_names return self._data.column_names AttributeError: 'MyDataset' object has no attribute '_data' ```
75
Creating custom dataset results in error while calling the map() function
[ -0.33564668893814087, -0.04379834607243538, -0.18176141381263733, 0.07934893667697906, 0.09388884156942368, 0.013494027778506279, 0.2590619623661041, 0.28374171257019043, 0.3952392041683197, 0.1470509022474289, 0.015658479183912277, 0.42607301473617554, -0.17045912146568298, 0.10621094703674316, -0.15266047418117523, 0.2591199278831482, -0.053983237594366074, 0.3663318455219269, -0.149335116147995, -0.09367818385362625, -0.3924156427383423, 0.21559873223304749, -0.08390064537525177, 0.10155653208494186, -0.19681832194328308, -0.24657687544822693, 0.14246095716953278, 0.1849527209997177, -0.28641778230667114, -0.24149905145168304, 0.11530127376317978, 0.006971816066652536, -0.22819744050502777, 0.5910900831222534, -0.00009628119005355984, 0.05572643131017685, 0.04268970340490341, -0.07809071242809296, 0.07320016622543335, 0.013499163091182709, -0.4217076599597931, -0.0678916797041893, -0.12293446809053421, -0.40102991461753845, -0.15212063491344452, -0.10855185985565186, -0.14754249155521393, -0.4688560664653778, 0.24821072816848755, 0.36679375171661377, 0.38533565402030945, -0.07401856780052185, 0.0473460927605629, -0.2420034408569336, 0.22614125907421112, 0.22414939105510712, -0.10029511153697968, 0.03203580528497696, 0.19561435282230377, -0.30388250946998596, 0.0073559898883104324, 0.21870367228984833, -0.08442951738834381, 0.15404926240444183, 0.2935214042663574, -0.12069651484489441, -0.005005932878702879, -0.1772627830505371, 0.20942185819149017, 0.046797335147857666, 0.3551240563392639, -0.3808309733867645, 0.0036959622520953417, 0.2005688101053238, -0.07300834357738495, -0.009467254392802715, 0.22375011444091797, 0.03781066834926605, -0.1977943629026413, 0.038866233080625534, -0.17650124430656433, -0.0036655329167842865, -0.15514697134494781, 0.37213975191116333, 0.16100116074085236, 0.005373349413275719, -0.19882746040821075, 0.20646259188652039, 0.14532886445522308, -0.2515520751476288, -0.11940374970436096, -0.18036241829395294, -0.00016191316535696387, 0.23048460483551025, 0.05361830070614815, -0.1468999981880188, 0.17650847136974335, -0.16233931481838226, 0.10171006619930267, -0.2807539999485016, 0.25169846415519714, 0.06679312884807587, 0.15392015874385834, 0.15347495675086975, 0.20992928743362427, -0.10684342682361603, 0.05449841544032097, 0.2204912006855011, 0.04106614366173744, -0.15119537711143494, -0.19262146949768066, -0.0459018237888813, 0.20228125154972076, -0.21190184354782104, -0.014394581317901611, 0.09027277678251266, 0.180669367313385, -0.007449170108884573, 0.14708684384822845, 0.0015379645628854632, -0.15824881196022034, 0.06393924355506897, 0.015785712748765945, 0.21808376908302307, 0.2057875394821167, -0.4438573718070984, -0.05372079089283943, 0.061604201793670654, -0.1941862404346466, 0.07796390354633331, -0.2610166370868683, 0.06636719405651093, -0.19577465951442719, -0.06311160326004028, 0.20765942335128784, 0.2682320475578308, 0.17256690561771393, -0.07954628020524979, -0.05020459368824959, -0.07903057336807251, 0.1594722718000412, -0.1984289437532425, 0.2013300359249115, 0.032268378883600235, 0.014971036463975906, 0.0654321238398552, 0.18013311922550201, -0.02886916510760784, -0.025235069915652275, 0.14570818841457367, -0.08475209772586823, -0.3436276614665985, -0.042107630521059036, 0.30013132095336914, 0.09930658340454102, 0.2425718456506729, 0.16116736829280853, 0.22045734524726868, 0.25471481680870056, -0.4421062469482422, -0.15595392882823944, 0.07214950025081635, -0.2601895332336426, -0.3721393942832947, -0.11974696069955826, 0.3640938103199005, -0.42768821120262146, 0.24224209785461426, -0.20827800035476685, -0.1956537663936615, -0.09529759734869003, -0.007169040385633707, -0.20910081267356873, 0.4094337821006775, -0.19522638618946075, 0.4250263571739197, 0.40539392828941345, 0.03477660194039345, -0.49818018078804016, 0.19930775463581085, -0.10388587415218353, -0.32522687315940857, -0.17612408101558685, 0.10076409578323364, 0.25626394152641296, -0.026870403438806534, 0.17429707944393158, -0.012707901187241077, -0.04172542691230774, 0.24176692962646484, 0.06708767265081406, -0.05366431176662445, 0.08583085238933563, -0.015075420029461384, -0.11275278031826019, 0.33647850155830383, 0.43030858039855957, -0.11754478514194489, -0.10673879086971283, -0.2487581968307495, 0.15778179466724396, 0.24878239631652832, 0.27494752407073975, -0.08806922286748886, -0.20002564787864685, -0.03670047968626022, -0.33252930641174316, -0.049391720443964005, 0.0163619015365839, 0.112259142100811, -0.16531644761562347, 0.09265951067209244, -0.4047817587852478, -0.013403781689703465, -0.051437631249427795, 0.09491962194442749, 0.3439555764198303, 0.12160127609968185, 0.1168278306722641, -0.01736736111342907, 0.06942618638277054, -0.17703886330127716, -0.10680849105119705, -0.17484039068222046, -0.2660354673862457, -0.05261602997779846, -0.08086182922124863, -0.27053800225257874, 0.06143433600664139, 0.1548522710800171, 0.22360824048519135, -0.06743490695953369, -0.26093822717666626, 0.32692649960517883, 0.15029360353946686, -0.12318374961614609, 0.03582897409796715, 0.07640828937292099, -0.14529019594192505, -0.3345696032047272, 0.10670594871044159, 0.07593101263046265, 0.2293948531150818, -0.20088081061840057, -0.15169452130794525, 0.1686197966337204, -0.009300453588366508, -0.045044902712106705, -0.13493528962135315, 0.13306263089179993, 0.13150101900100708, 0.10847841948270798, 0.07560893148183823, -0.40588611364364624, -0.2902032136917114, 0.061443302780389786, 0.23967641592025757, -0.06532005220651627, 0.07812046259641647, -0.06206044554710388, 0.4361128509044647, 0.12708070874214172, 0.3371874690055847, -0.001577810849994421, 0.13920198380947113, 0.010444892570376396, 0.12454399466514587, 0.23146866261959076, 0.49582597613334656, 0.13120494782924652, -0.11092019826173782, 0.20127107203006744, -0.11803426593542099, -0.07701048254966736, 0.01784488372504711, -0.07096899300813675, 0.13142843544483185, 0.003899630857631564, 0.07544759660959244, -0.2487383335828781, -0.23834818601608276, -0.09325452148914337, 0.04595894366502762, 0.21879352629184723, -0.11935066431760788, -0.18266727030277252, -0.04616978392004967, 0.027945304289460182, 0.07129506021738052, -0.1551792323589325, -0.1100304052233696, -0.21019048988819122, 0.050066348165273666, 0.027089225128293037, -0.1101626381278038, 0.13294123113155365, 0.18882852792739868, 0.036552656441926956, 0.18070365488529205, -0.18639206886291504, 0.1479237824678421, -0.40458419919013977, -0.05295197293162346, 0.19394098222255707, -0.02968621253967285, 0.06874040514230728, 0.2952461540699005, 0.011984722688794136, 0.1195763573050499, -0.23324806988239288, -0.16453269124031067, 0.12313029170036316, -0.12077661603689194, 0.01950548216700554, 0.38953670859336853, 0.20250211656093597, -0.08801059424877167, -0.14790211617946625, 0.35565969347953796, -0.22802704572677612, -0.1358252912759781, 0.08473901450634003, -0.12664316594600677, -0.2403452843427658, -0.21245577931404114, -0.4785974621772766, 0.014928449876606464, -0.3210236728191376, 0.08638884127140045, 0.0939306989312172, 0.27201083302497864, 0.044450946152210236, 0.4126128554344177, 0.16657689213752747, 0.06290092319250107, -0.16751597821712494, -0.3595932424068451, -0.12162282317876816, 0.2710821330547333, -0.5025895237922668, -0.2800367474555969, 0.1948160082101822, -0.05558926239609718, 0.2342328280210495, 0.3345217704772949, -0.2997705340385437, -0.03083709254860878, -0.031098023056983948, 0.1484503448009491, 0.012633591890335083, 0.031636305153369904, 0.3159685432910919, 0.18619579076766968, -0.1855728179216385, -0.3469208776950836, -0.43221041560173035, 0.2115350067615509, 0.2396608293056488, 0.034468334168195724, 0.23541755974292755, 0.37366655468940735, -0.1491815149784088, 0.455476850271225, 0.11024434119462967, -0.11215066909790039, 0.3446519374847412, -0.24604345858097076, 0.37551766633987427, -0.28751084208488464, -0.2989281117916107, 0.04689409211277962, 0.10654038190841675, -0.026917211711406708, 0.08489914238452911, -0.0464053601026535, -0.3624977171421051, -0.09568696469068527, 0.24602508544921875, -0.4299278259277344, -0.191293865442276, 0.009630517102777958, 0.15354956686496735, 0.2782522737979889, 0.15928345918655396, 0.17898456752300262, -0.5716187953948975, 0.032815489917993546, 0.0059764026664197445, -0.25193995237350464, 0.06004103273153305, -0.009751154109835625, -0.4387843608856201, 0.13434180617332458, -0.2868805229663849, 0.4184349477291107, 0.09752533584833145, 0.2499936819076538, -0.35638219118118286, 0.015729421749711037, -0.12138638645410538, 0.22829850018024445, 0.36625936627388, -0.6153860092163086, -0.07100754976272583, 0.07792959362268448, 0.09411002695560455, -0.31581443548202515, 0.33716973662376404, 0.009748218581080437, 0.5609896183013916, 0.005364022217690945, 0.36690014600753784, -0.32012248039245605, 0.08020488917827606, 0.0581076480448246, -0.0496731735765934, -0.02249687910079956, -0.00576329929754138, 0.11070013791322708, -0.36399173736572266, -0.34296390414237976, -0.15574252605438232, -0.03242972865700722, 0.19078707695007324, 0.49241557717323303, -0.13807636499404907, 0.08015879988670349, 0.08318539708852768, -0.12230311334133148, 0.19763514399528503, 0.2750958204269409, 0.13947784900665283, -0.09558457881212234, 0.1426260620355606, -0.18913738429546356, 0.06744473427534103, 0.48252835869789124, -0.17748379707336426, -0.07105212658643723, 0.2058158665895462, -0.2698110342025757, 0.1931467056274414, 0.24170829355716705, 0.04633815586566925, -0.26506906747817993, -0.03360576555132866, -0.0434543751180172, -0.15256021916866302, 0.19047294557094574, 0.25563159584999084, -0.17172513902187347, -0.0750768780708313, -0.3418950140476227, -0.05028415471315384, -0.18217220902442932, -0.056949686259031296, 0.4887765944004059, -0.13159123063087463, -0.2331322878599167, 0.4436132311820984, 0.03244040161371231, 0.6253204941749573, -0.09615853428840637, -0.15498797595500946, 0.17435048520565033, -0.03965017572045326, 0.0506458505988121, -0.06403224170207977, 0.0272371843457222, -0.3410326838493347, 0.01012788712978363, -0.015199027955532074, -0.11935466527938843, 0.19450917840003967, 0.5553743243217468, -0.13331833481788635, -0.010409980081021786, 0.2272707223892212, 0.41393589973449707, -0.09628382325172424, 0.0007041147910058498, 0.34256264567375183, -0.34279218316078186, -0.12415460497140884, 0.381169855594635, -0.10249582678079605, 0.05736156925559044, -0.05701196938753128, -0.21500913798809052, -0.14669139683246613, -0.3814137578010559, -0.02550629898905754, -0.05289694294333458, -0.42564862966537476, 0.24527646601200104, 0.00323675898835063, -0.034807734191417694, 0.01245193649083376, 0.20065197348594666, -0.02356976643204689, 0.2901155948638916, -0.11849366128444672, -0.1766749918460846, 0.19613176584243774, 0.13297753036022186, -0.2396225929260254, 0.05935254320502281, -0.16041798889636993, 0.044257860630750656, -0.16202892363071442, 0.09985420107841492, -0.0991327241063118, -0.22833000123500824, -0.2073972523212433, 0.047113385051488876, -0.018559304997324944, -0.45710134506225586, -0.27133890986442566, -0.19342182576656342, -0.13902972638607025, -0.15691256523132324, 0.265779972076416, -0.07350315153598785, 0.07178905606269836, 0.2583806812763214, 0.039848193526268005, -0.1572793871164322, -0.005168376490473747, 0.17482423782348633, -0.10701099038124084, 0.2178630232810974, 0.2288261204957962, -0.03193862736225128, -0.04620018228888512, -0.4433518946170807, 0.10742631554603577, 0.056397076696157455, -0.27918654680252075, 0.10605614632368088, -0.06664206832647324, -0.19648641347885132, 0.054287929087877274, 0.27752766013145447, -0.011326652020215988, 0.30629104375839233, 0.24009673297405243, -0.1528000384569168, -0.3592844605445862, -0.004264179617166519, 0.050010886043310165, 0.2723752558231354, 0.09308646619319916, 0.15110771358013153, 0.092104971408844, 0.16687370836734772, -0.5050188302993774, 0.06545630097389221, -0.123021699488163, 0.17076736688613892, 0.16115780174732208, 0.1557672768831253, -0.022254981100559235, 0.005809088237583637, 0.2666303813457489, 0.32706356048583984, -0.4486421048641205, -0.3521822690963745, 0.0021948942448943853, 0.056261997669935226, 0.19972151517868042, -0.11692780256271362, -0.07463780045509338, -0.19770598411560059, -0.27753132581710815, -0.241941899061203, -0.043939270079135895, 0.1438460648059845, -0.22864381968975067, 0.07030798494815826, 0.0855555385351181, -0.07762948423624039, 0.06540238112211227, -0.05656748265028, 0.009431194514036179, 0.11747504025697708, -0.1267702430486679, -0.014605428092181683, 0.12463491410017014, -0.16108475625514984, 0.1981937140226364, 0.14034147560596466, 0.09001974761486053, 0.11524170637130737, 0.33066147565841675, -0.1471068114042282, 0.1062849760055542, 0.24590647220611572, 0.28519952297210693, -0.14038047194480896, -0.29770326614379883, 0.001291503431275487, 0.012814139015972614, 0.36508098244667053, -0.17412853240966797, -0.1526748538017273, 0.6163367629051208, 0.002629319205880165, 0.24577052891254425, 0.27547430992126465, 0.1835027039051056, 0.022133320569992065, -0.265634149312973, -0.045841727405786514, 0.03427082300186157, -0.3038159906864166, 0.021320896223187447, 0.46036022901535034, -0.2762238681316376, 0.0018356068758293986, 0.23622165620326996, 0.23875176906585693, 0.05103538557887077, 0.6784988641738892, 0.10378129035234451, 0.1999000459909439, 0.09689774364233017, -0.09754695743322372, 0.05221260339021683, -0.486369252204895, 0.45482662320137024, 0.08915737271308899, 0.034007053822278976, 0.2325591892004013, 0.06035948544740677, -0.0877353847026825, -0.4096112549304962, 0.08170469850301743, -0.17714205384254456, -0.08028212934732437, -0.22776351869106293, 0.15188172459602356, -0.09945401549339294, -0.12999692559242249, 0.12338702380657196, -0.2065093070268631, -0.04707646369934082, -0.046427056193351746, 0.4458928108215332, -0.25991401076316833, 0.11058825999498367, -0.030358489602804184, -0.1126352846622467, -0.08221874386072159, -0.09114532917737961, -0.23704685270786285, 0.05830258131027222, -0.11722815036773682, 0.062013838440179825, -0.013499228283762932, 0.20948034524917603, 0.18201985955238342, 0.31429117918014526, -0.147100567817688, 0.11445819586515427, 0.13486692309379578, -0.2540123462677002, -0.09129618108272552, 0.20193210244178772, 0.17826193571090698, 0.0938577726483345, 0.3652823865413666, 0.2683592438697815, -0.21504667401313782, -0.12291546165943146, 0.2463422268629074, 0.30416029691696167, 0.18435710668563843, -0.13485994935035706, -0.10864614695310593, -0.2685248553752899, -0.04900365322828293, 0.05400718376040459, -0.18344815075397491, -0.20912779867649078, 0.31059563159942627, -0.1228778138756752, 0.4040571451187134, -0.20739294588565826, 0.18276751041412354, -0.07086387276649475, 0.559162974357605, -0.09492896497249603, -0.05271168053150177, -0.33600708842277527, -0.2869727313518524, -0.4027562439441681, 0.08076227456331253, -0.20810751616954803, 0.08295415341854095, -0.08117379248142242, 0.049745988100767136, 0.2904994487762451, 0.12740321457386017, 0.13631677627563477, -0.29882699251174927, -0.14716781675815582, 0.19263975322246552, -0.14911627769470215, -0.2987353801727295, -0.05628279596567154, -0.09704123437404633, 0.2593608498573303, -0.30629366636276245, 0.07365991175174713, 0.060111433267593384, 0.3339364528656006, -0.22622813284397125, -0.01726473495364189, -0.14933204650878906, -0.004282320849597454, 0.4258744716644287, 0.15816602110862732, 0.22626207768917084, -0.23952145874500275, -0.02843719720840454, 0.006825523916631937, -0.1289522498846054, 0.06830300390720367, 0.33201366662979126, 0.1295536905527115, 0.500617265701294, -0.10345599800348282, 0.01434430293738842, -0.3002537190914154, -0.06973491609096527, 0.10161996632814407, 0.2857813239097595, 0.0217447392642498, 0.29740673303604126, -0.1617531180381775, -0.13782212138175964, 0.06744701415300369, 0.1322064846754074, -0.03856818005442619, 0.36243531107902527, 0.12788984179496765, -0.21250657737255096, 0.41073891520500183, -0.1753567010164261, -0.475363165140152, 0.26427769660949707, 0.0016051937127485871, -0.11579129099845886, -0.22860419750213623, -0.25154614448547363, 0.16528382897377014, 0.257068008184433, -0.16068071126937866, -0.07718546688556671, -0.02281242422759533, -0.44441160559654236, -0.09031054377555847, 0.10112923383712769, 0.3582807779312134, 0.004028854891657829, -0.17547394335269928, 0.09174922853708267, -0.16733768582344055 ]
https://github.com/huggingface/datasets/issues/2106
WMT19 Dataset for Kazakh-English is not formatted correctly
Hi ! Thanks for reporting By looking at the raw `news-commentary-v14.en-kk.tsv` file, it looks like there are at least 17 lines with this issue. Moreover these issues are not always the same: - L97 is only `kk` text and must be appended at the end of the `kk` text of the **next** line - L2897 is only `kk` text and must be appended at the end of the `kk` text of the **previous** line - L1247 and L1248 are only `kk` texts and must be inserted at the **beginning** of the `kk` text of the next line - (and there are many others) It would be nice to have a corrected version of this file ! The file is available in the `wmt/news-commentary` repository on the Datasets Hub here: https://huggingface.co/datasets/wmt/news-commentary/tree/main/v14/training Then maybe we can notify the WMT authors and host the corrected version somewhere
In addition to the bug of languages being switched from Issue @415, there are incorrect translations in the dataset because the English-Kazakh translations have a one off formatting error. The News Commentary v14 parallel data set for kk-en from http://www.statmt.org/wmt19/translation-task.html has a bug here: > Line 94. The Swiss National Bank, for its part, has been battling with the deflationary effects of the franc’s dramatic appreciation over the past few years. Швейцарияның Ұлттық банкі өз тарапынан, соңғы бірнеше жыл ішінде франк құнының қатты өсуінің дефляциялық әсерімен күресіп келеді. > > Line 95. Дефляциялық күштер 2008 жылы терең және ұзаққа созылған жаһандық дағдарысқа байланысты орын алған ірі экономикалық және қаржылық орын алмасулардың арқасында босатылды. Жеке қарыз қаражаты үлесінің қысқаруы орталық банктің рефляцияға жұмсалған күш-жігеріне тұрақты соққан қарсы желдей болды. > > Line 96. The deflationary forces were unleashed by the major economic and financial dislocations associated with the deep and protracted global crisis that erupted in 2008. Private deleveraging became a steady headwind to central bank efforts to reflate. 2009 жылы, алдыңғы қатарлы экономикалардың шамамен үштен бірі бағаның төмендеуін көрсетті, бұл соғыстан кейінгі жоғары деңгей болды. As you can see, line 95 has only the Kazakh translation which should be part of line 96. This causes all of the following English-Kazakh translation pairs to be one off rendering ALL of those translations incorrect. This issue was not fixed when the dataset was imported to Huggingface. By running this code ``` import datasets from datasets import load_dataset dataset = load_dataset('wmt19', 'kk-en') for key in dataset['train']['translation']: if 'The deflationary forces were unleashed by the major economic and financial dislocations associated with the deep and protracted global crisis that erupted in 2008.' in key['kk']: print(key['en']) print(key['kk']) break ``` we get: > 2009 жылы, алдыңғы қатарлы экономикалардың шамамен үштен бірі бағаның төмендеуін көрсетті, бұл соғыстан кейінгі жоғары деңгей болды. > The deflationary forces were unleashed by the major economic and financial dislocations associated with the deep and protracted global crisis that erupted in 2008. Private deleveraging became a steady headwind to central bank efforts to reflate. which shows that the issue still persists in the Huggingface dataset. The Kazakh sentence matches up to the next English sentence in the dataset instead of the current one. Please let me know if there's you have any ideas to fix this one-off error from the dataset or if this can be fixed by Huggingface.
144
WMT19 Dataset for Kazakh-English is not formatted correctly
[ -0.06709219515323639, -0.320740669965744, -0.17601582407951355, 0.04271278530359268, 0.1967603862285614, -0.06420832127332687, 0.2909905016422272, 0.13424120843410492, -0.09510049223899841, 0.1879379153251648, -0.0017696229042485356, -0.08107808977365494, 0.2342386543750763, 0.3799503743648529, 0.06932498514652252, -0.014754842035472393, -0.08165739476680756, 0.13094036281108856, -0.4828149080276489, -0.10025578737258911, 0.09269102662801743, 0.05956223979592323, -0.29581233859062195, 0.00715018343180418, -0.3737233579158783, -0.11113161593675613, 0.03905167058110237, -0.27890458703041077, -0.1771480143070221, -0.04561855271458626, 0.02018497884273529, 0.14170977473258972, -0.1948520392179489, -0.0013653873465955257, -0.00010996455966960639, -0.16885574162006378, 0.10162664204835892, -0.05567503347992897, -0.07065445929765701, 0.20554330945014954, -0.31114432215690613, -0.5103787183761597, -0.2288302183151245, -0.0687180608510971, -0.1928887963294983, -0.27820828557014465, 0.13761821389198303, 0.08365719765424728, 0.24047967791557312, 0.1520366072654724, 0.23683375120162964, 0.02873774617910385, -0.019822830334305763, 0.11322935670614243, 0.05948587507009506, 0.08837727457284927, -0.14586323499679565, -0.27664485573768616, 0.12105672061443329, 0.1976460963487625, -0.17566321790218353, 0.46974635124206543, 0.1778038740158081, -0.09526539593935013, -0.37314528226852417, -0.0067945243790745735, -0.0956302061676979, 0.23519283533096313, 0.2662263512611389, 0.28963324427604675, 0.7188369631767273, 0.06034759804606438, -0.06375757604837418, 0.14941754937171936, 0.07937007397413254, -0.26265162229537964, 0.012912681326270103, 0.2783490717411041, -0.013928798027336597, 0.3349790871143341, 0.1309153288602829, 0.0891026109457016, -0.22047118842601776, 0.11017245054244995, -0.12262046337127686, 0.7787691354751587, -0.1887441873550415, -0.023398246616125107, -0.37800565361976624, -0.21540673077106476, 0.2517172396183014, 0.09224487841129303, 0.005842451937496662, -0.26408353447914124, 0.06659673899412155, -0.05826391652226448, -0.09423922747373581, -0.2292943298816681, 0.20729953050613403, -0.4716171622276306, 0.13376064598560333, 0.5753337144851685, -0.06540169566869736, -0.18395614624023438, 0.07824469357728958, 0.18480908870697021, 0.39618271589279175, -0.3694652020931244, 0.17108260095119476, 0.0847734585404396, -0.0069725168868899345, -0.06811677664518356, -0.0038297155406326056, -0.388175904750824, -0.1682504117488861, 0.12496330589056015, -0.07263887673616409, 0.03838543966412544, 0.014605135656893253, 0.18747049570083618, 0.4198824465274811, -0.20196327567100525, -0.28835856914520264, 0.05247858911752701, -0.10381124913692474, 0.1899668127298355, -0.19835536181926727, 0.014026853255927563, -0.26235413551330566, -0.47163477540016174, -0.20977434515953064, -0.07658234238624573, -0.18706071376800537, -0.19209715723991394, -0.14606159925460815, 0.2512844204902649, 0.21827368438243866, -0.04925500229001045, 0.02293222025036812, -0.06265102326869965, -0.12385684251785278, 0.008270487189292908, 0.4838259518146515, 0.24885669350624084, 0.0783298909664154, 0.25384804606437683, -0.17953099310398102, 0.06479509174823761, -0.0016643255949020386, 0.2511269152164459, -0.20905417203903198, 0.29009050130844116, 0.05182359740138054, 0.23895715177059174, 0.05259837955236435, -0.09025528281927109, 0.04371429234743118, 0.2270011007785797, 0.14388446509838104, 0.07418026775121689, -0.004098759964108467, 0.0660647302865982, -0.34578657150268555, 0.12838654220104218, 0.025837859138846397, 0.12476475536823273, -0.30646711587905884, 0.0786050483584404, -0.10347161442041397, -0.0445384755730629, 0.5647814869880676, 0.36976075172424316, 0.2089318186044693, 0.15882155299186707, -0.013899000361561775, 0.29799318313598633, 0.13362419605255127, 0.06680584698915482, -0.36859506368637085, 0.1606398969888687, 0.0015092225512489676, -0.04679606854915619, 0.1195739358663559, -0.04429082199931145, -0.08504049479961395, 0.26996904611587524, 0.02782423049211502, 0.12354402989149094, 0.15440811216831207, 0.07191439718008041, -0.10979606956243515, -0.2497020959854126, 0.5197443962097168, -0.09080428630113602, 0.1046302542090416, -0.4805542230606079, 0.04515368863940239, -0.12166095525026321, 0.5312768220901489, 0.0644109696149826, 0.13638770580291748, -0.14286057651042938, -0.13444805145263672, -0.14795488119125366, 0.17682631313800812, 0.1696237176656723, 0.023957863450050354, -0.1325550079345703, 0.10487258434295654, 0.35488200187683105, -0.15411591529846191, -0.01608566753566265, -0.2852783203125, -0.07358039170503616, -0.34848088026046753, -0.09530020505189896, 0.28940096497535706, 0.07889626920223236, -0.6105490922927856, 0.12350382655858994, 0.16480113565921783, -0.2894265949726105, -0.077169269323349, -0.1613534837961197, -0.05494984984397888, -0.001022236654534936, -0.13405464589595795, -0.027701159939169884, 0.1193496435880661, 0.3107072412967682, 0.21381664276123047, 0.19259029626846313, -0.210372656583786, 0.013427226804196835, 0.2714517414569855, 0.29117441177368164, -0.10230732709169388, -0.3683209717273712, 0.22254560887813568, -0.5864412784576416, -0.018519287928938866, -0.01634826697409153, 0.013452459126710892, -0.07462289184331894, -0.12160739302635193, 0.276019424200058, 0.03123076818883419, -0.043150365352630615, -0.08087676763534546, -0.0020950837060809135, 0.5271621346473694, -0.11859411746263504, -0.07982330769300461, -0.6205906867980957, -0.0018706595292314887, 0.0067460862919688225, -0.40302103757858276, 0.05199963599443436, -0.031136788427829742, 0.4170092046260834, 0.6578794121742249, 0.27421414852142334, 0.3523751497268677, -0.13547185063362122, -0.2374459207057953, -0.22932694852352142, 0.2935402989387512, 0.0637681782245636, -0.206415057182312, 0.08717545121908188, 0.26453840732574463, 0.07302835583686829, 0.1656510978937149, -0.2851402163505554, 0.024414625018835068, -0.13947317004203796, 0.03315526619553566, 0.3134753108024597, -0.10556727647781372, -0.23690573871135712, -0.453450083732605, 0.4979422986507416, -0.09793994575738907, -0.11617457866668701, -0.07594399154186249, -0.25843319296836853, -0.5542072057723999, -0.17820273339748383, -0.42198771238327026, -0.13358619809150696, 0.18872524797916412, -0.22584937512874603, 0.05025694519281387, -0.286582350730896, -0.2884867489337921, 0.2743077278137207, 0.41988852620124817, -0.05393136665225029, 0.04450283572077751, 0.553699254989624, 0.12478183209896088, -0.3336026966571808, -0.15754781663417816, 0.19269421696662903, -0.0030814483761787415, 0.37933894991874695, 0.23559966683387756, -0.512036919593811, 0.05540688708424568, -0.007884342223405838, -0.5115692615509033, 0.22916127741336823, -0.06706847995519638, -0.0706634521484375, 0.012668997049331665, 0.33009955286979675, -0.11385729908943176, -0.022718382999300957, 0.28409019112586975, -0.05273859575390816, -0.14027489721775055, 0.1673654317855835, -0.20709550380706787, -0.330478698015213, -0.15961436927318573, -0.45521116256713867, -0.10313557088375092, 0.004347451031208038, -0.3338981568813324, 0.07237240672111511, -0.0028494014404714108, 0.3228164315223694, 0.09478585422039032, -0.22079584002494812, -0.083065927028656, 0.20958302915096283, -0.38194432854652405, 0.03703119233250618, 0.40633565187454224, -0.29155606031417847, -0.4453185498714447, 0.11987177282571793, -0.008391900919377804, 0.26457902789115906, 0.015070989727973938, 0.032297417521476746, 0.3129825294017792, -0.010197100229561329, -0.40131643414497375, 0.25047385692596436, 0.2147287279367447, 0.040204502642154694, 0.016788039356470108, -0.13251785933971405, -0.2268228679895401, -0.13153213262557983, 0.062252894043922424, -0.09080173075199127, 0.15609434247016907, -0.11678779125213623, -0.03250078856945038, 0.13340525329113007, 0.13119421899318695, 0.007784514222294092, 0.29935452342033386, 0.03869505971670151, -0.03437475487589836, 0.34825608134269714, -0.07167022675275803, 0.02861645817756653, 0.17492595314979553, 0.17384880781173706, 0.26569443941116333, 0.7583446502685547, 0.048515480011701584, 0.1273847073316574, 0.18790310621261597, -0.25047391653060913, -0.3950023949146271, -0.26682665944099426, 0.21374385058879852, 0.22153109312057495, 0.18765264749526978, 0.2972653806209564, 0.10918538272380829, -0.04323882609605789, -0.25718751549720764, 0.005644595716148615, -0.012233799323439598, -0.4488850235939026, 0.027658211067318916, -0.5370497107505798, -0.3474220037460327, -0.5259448885917664, -0.06469665467739105, 0.1278727799654007, 0.6843335628509521, -0.04692697152495384, 0.06590210646390915, 0.09358451515436172, 0.011005507782101631, -0.016803808510303497, -0.25116387009620667, 0.22268415987491608, -0.1336868852376938, 0.07751692086458206, -0.06630788743495941, -0.022920621559023857, -0.24504117667675018, -0.17379000782966614, -0.28444305062294006, -0.023704949766397476, -0.136873260140419, 0.013569291681051254, -0.23113225400447845, 0.26531898975372314, -0.3786296248435974, 0.04069095104932785, -0.15613935887813568, -0.2945801913738251, -0.08854735642671585, -0.1868029683828354, 0.07970336824655533, -0.07771743834018707, -0.04393517225980759, -0.08568465709686279, 0.07416555285453796, 0.10915541648864746, 0.059701140969991684, 0.21111099421977997, 0.32989856600761414, 0.27070584893226624, -0.1794981211423874, 0.2078692466020584, 0.2007851004600525, 0.18144120275974274, 0.3029913008213043, -0.045363716781139374, 0.16413216292858124, -0.23060910403728485, -0.7286427617073059, 0.3810156583786011, 0.29145967960357666, -0.10222042351961136, 0.17741000652313232, 0.24171043932437897, -0.035697389394044876, -0.09412408620119095, 0.1541522890329361, 0.48098304867744446, 0.340391606092453, -0.3307567238807678, -0.14818733930587769, 0.013324148952960968, -0.23795951902866364, 0.1346280425786972, 0.10191678255796432, 0.1645658016204834, -0.18636807799339294, 0.08026670664548874, 0.20051641762256622, 0.5720140933990479, 0.13666179776191711, 0.3241211175918579, 0.11753729730844498, 0.17173774540424347, -0.040972236543893814, 0.5359932780265808, -0.07632020115852356, -0.19226191937923431, -0.07695668190717697, -0.04948024824261665, 0.21945278346538544, 0.20347170531749725, 0.19454815983772278, -0.13968832790851593, 0.18969115614891052, 0.1631423979997635, 0.5229812860488892, 0.09737487882375717, -0.012657401151955128, 0.2768489718437195, -0.12761829793453217, 0.0326603502035141, 0.07511617988348007, -0.2686008810997009, -0.2211592197418213, -0.08180464059114456, -0.04251911863684654, 0.0756291076540947, -0.09835907816886902, -0.16571955382823944, -0.04098422825336456, -0.11034474521875381, -0.04819465056061745, -0.181387796998024, -0.16038085520267487, 0.13707920908927917, -0.038208767771720886, 0.1847158819437027, 0.44759461283683777, -0.06035986170172691, 0.20284880697727203, 0.046445611864328384, 0.05218549817800522, -0.09455297142267227, 0.24230922758579254, 0.041821375489234924, -0.3242936432361603, -0.260932981967926, -0.11871179938316345, 0.07276038080453873, 0.23512983322143555, 0.218888521194458, -0.08965623378753662, 0.19248796999454498, -0.05525364726781845, -0.1328878551721573, 0.22482842206954956, -0.06990768760442734, -0.20928646624088287, 0.16638432443141937, -0.10385223478078842, 0.008090588264167309, 0.29100552201271057, 0.5271070003509521, -0.15760833024978638, -0.1466599702835083, 0.06239202618598938, 0.27030083537101746, 0.2060295194387436, 0.3868328928947449, 0.1432209014892578, -0.2043594866991043, -0.26211297512054443, 0.13513118028640747, 0.0031445035710930824, -0.149712473154068, -0.15979737043380737, -0.1372748464345932, -0.037571344524621964, -0.09681873768568039, 0.4552949070930481, 0.03738801181316376, -0.022244246676564217, -0.18149732053279877, -0.15154990553855896, -0.20560234785079956, 0.06278736144304276, -0.0007918973569758236, -0.08481428772211075, 0.11223249137401581, 0.25187867879867554, -0.02184799127280712, 0.09733201563358307, -0.3616895377635956, -0.09400764852762222, 0.29324331879615784, 0.07500599324703217, -0.31102052330970764, 0.09293147921562195, -0.07063796371221542, -0.06756696850061417, 0.09846815466880798, -0.09569227695465088, -0.07407158613204956, -0.3425714075565338, -0.26631832122802734, 0.03478976711630821, 0.14386582374572754, -0.23428823053836823, 0.17724274098873138, -0.09434349834918976, -0.14331430196762085, -0.16648569703102112, -0.11613177508115768, 0.16839063167572021, 0.0672723576426506, 0.5589235424995422, 0.38682350516319275, 0.1549435704946518, -0.13557718694210052, -0.0463479720056057, 0.11944327503442764, 0.18767933547496796, 0.1068115234375, -0.10348395258188248, 0.10412675142288208, -0.04058172553777695, 0.3467981815338135, -0.06347926706075668, 0.00541731109842658, 0.13590970635414124, 0.16091465950012207, -0.26205241680145264, 0.15008437633514404, 0.11284974217414856, 0.12058822810649872, 0.1239951103925705, -0.006588396150618792, -0.3388664126396179, 0.04302697628736496, 0.22490040957927704, -0.49219489097595215, -0.10045451670885086, 0.0299884881824255, -0.17247354984283447, 0.18849843740463257, -0.09230659157037735, 0.49902236461639404, -0.1891830861568451, 0.1816195696592331, -0.04347885772585869, -0.2582962214946747, -0.3555651903152466, -0.06155133619904518, 0.3855838477611542, 0.03664776682853699, 0.30346518754959106, 0.14089666306972504, 0.013870921917259693, -0.14480216801166534, 0.30555590987205505, 0.305702805519104, 0.11650820076465607, 0.2878304719924927, 0.1655164659023285, -0.21038608253002167, -0.18241703510284424, 0.1363201141357422, 0.3541204035282135, -0.28557199239730835, 0.07813573628664017, 0.44722476601600647, 0.22218193113803864, 0.32202839851379395, -0.1200595498085022, 0.05062219128012657, -0.20003646612167358, -0.3287286162376404, -0.06280165910720825, -0.2736542224884033, 0.008283703587949276, -0.22914162278175354, -0.06051616370677948, -0.15123511850833893, 0.1704326868057251, -0.020466595888137817, -0.06401713192462921, -0.0698448196053505, -0.07155480980873108, 0.032352007925510406, -0.17090125381946564, 0.08131609857082367, -0.3285410702228546, 0.31068259477615356, 0.12881794571876526, 0.03161758556962013, 0.15086504817008972, 0.10805867612361908, 0.08919823914766312, 0.017067644745111465, 0.050148576498031616, -0.09981036186218262, 0.0012197074247524142, -0.23485897481441498, -0.043602973222732544, 0.14488869905471802, 0.4373161196708679, -0.14253687858581543, 0.18407729268074036, 0.18564578890800476, -0.24018234014511108, 0.11762039363384247, 0.6236439943313599, -0.43923768401145935, 0.30068862438201904, -0.29168322682380676, -0.037080831825733185, -0.20508790016174316, -0.1887677162885666, -0.06082998961210251, -0.29379695653915405, -0.07822302728891373, 0.4969383180141449, -0.12292468547821045, 0.1851784735918045, -0.38517215847969055, 0.11251042038202286, 0.0517737939953804, 0.6233422756195068, 0.1818123608827591, -0.08898036926984787, 0.172536700963974, -0.4196031391620636, -0.5392507910728455, 0.23056387901306152, -0.0896933451294899, 0.19108304381370544, -0.03136417269706726, -0.19225937128067017, 0.30607229471206665, 0.12855517864227295, 0.1733659952878952, 0.2041163444519043, -0.1562458574771881, -0.2695760726928711, -0.31288042664527893, 0.05455660820007324, 0.47055119276046753, 0.27477848529815674, -0.17612166702747345, -0.12718571722507477, 0.3003298044204712, -0.1317494958639145, 0.1529703289270401, -0.25347623229026794, 0.043143197894096375, -0.22916987538337708, 0.3373417258262634, -0.05951511859893799, 0.13502494990825653, 0.2747398614883423, -0.5033819675445557, 0.03746143728494644, -0.057550448924303055, -0.02160276100039482, 0.07494243234395981, 0.589269757270813, 0.30020177364349365, 0.12154576927423477, 0.27877286076545715, 0.32475030422210693, 0.21622881293296814, 0.0972835123538971, -0.04455079883337021, 0.07698403298854828, -0.18776187300682068, 0.18660977482795715, -0.02335500717163086, -0.30258145928382874, 0.019302967935800552, 0.2733428478240967, -0.05670183151960373, -0.3551245629787445, -0.020631825551390648, -0.4284067153930664, -0.12068245559930801, -0.01732427068054676, -0.4451989233493805, -0.33420705795288086, -0.22574888169765472, 0.16658131778240204, 0.22228728234767914, 0.14870744943618774, 0.1850263625383377, 0.047593358904123306, -0.01386298332363367, -0.0013212201884016395, 0.24849043786525726, -0.1233057752251625, 0.056755926460027695, -0.000028321099307504483, 0.6464321613311768, 0.4376448094844818, -0.33059874176979065, -0.6238252520561218, -0.2891712486743927 ]
https://github.com/huggingface/datasets/issues/2105
Request to remove S2ORC dataset
Hello @kyleclo! Currently, we are getting the data from your bucket, so if you remove it the HF script won't work anymore :) Until you solve things on your end, @lhoestq suggested we just return a warning message when people try to load that dataset from HF. What would you like it to say?
Hi! I was wondering if it's possible to remove [S2ORC](https://huggingface.co/datasets/s2orc) from hosting on Huggingface's platform? Unfortunately, there are some legal considerations about how we make this data available. Happy to add back to Huggingface's platform once we work out those hurdles! Thanks!
54
Request to remove S2ORC dataset
[ 0.1414489597082138, 0.13370327651500702, -0.16068652272224426, 0.3740813434123993, -0.18525877594947815, -0.17621542513370514, 0.24241764843463898, 0.186640202999115, -0.18565057218074799, 0.050712939351797104, -0.26895031332969666, 0.25538671016693115, -0.23722057044506073, 0.21782079339027405, -0.6312879323959351, 0.4826146364212036, -0.14983965456485748, 0.41793715953826904, -0.28869837522506714, 0.0853704884648323, -0.10720199346542358, 0.22044044733047485, -0.2582605183124542, 0.05742296203970909, -0.30811020731925964, -0.24635706841945648, 0.06298576295375824, 0.1697605550289154, -0.18841011822223663, -0.18866080045700073, 0.277323454618454, 0.5141285061836243, 0.14795738458633423, 0.5124179124832153, -0.00011580225691432133, -0.19234922528266907, -0.046597640961408615, 0.1829521656036377, -0.3665849268436432, 0.4030996263027191, -0.3265966773033142, 0.24422280490398407, 0.08892368525266647, -0.23739877343177795, -0.002767933066934347, -0.203365296125412, -0.052462395280599594, -0.10456786304712296, 0.4955992102622986, 0.42304039001464844, 0.2149592936038971, 0.21050137281417847, -0.3646073639392853, 0.009825820103287697, 0.13241919875144958, 0.5043036937713623, -0.06385984271764755, -0.08525551110506058, -0.10095556825399399, 0.04912212863564491, 0.37472835183143616, 0.5122964382171631, -0.5144110321998596, 0.004594914149492979, -0.04578689485788345, -0.34198668599128723, -0.34488391876220703, -0.1937098652124405, 0.6274959444999695, 0.18206864595413208, 0.574707567691803, -0.16987228393554688, 0.08493206650018692, 0.21936073899269104, 0.045049477368593216, 0.025317782536149025, 0.11099930107593536, 0.06948480010032654, 0.05495161563158035, 0.5397698283195496, -0.27414754033088684, -0.45817017555236816, -0.20618344843387604, -0.28187188506126404, -0.6155623197555542, 0.3474273085594177, -0.33557501435279846, 0.005138678476214409, -0.0622870959341526, -0.09470080584287643, 0.6131173968315125, -0.01570701226592064, -0.05279173329472542, -0.015193765051662922, -0.23310193419456482, -0.2697480618953705, -0.024273810908198357, -0.1560477465391159, -0.28620702028274536, -0.1255612075328827, 0.09308429062366486, -0.10923663526773453, -0.04808416590094566, 0.1654634177684784, 0.14684785902500153, -0.0872022733092308, 0.034078266471624374, 0.3072147071361542, 0.058591023087501526, -0.10019611567258835, 0.04616355150938034, 0.15887786448001862, 0.15760663151741028, -0.03671653941273689, -0.32360345125198364, 0.1182926818728447, 0.5804020762443542, -0.4271619915962219, -0.3954295814037323, 0.24381841719150543, -0.07621326297521591, 0.020035695284605026, -0.016551094129681587, 0.00745296198874712, -0.035557761788368225, -0.010261349380016327, 0.10749024152755737, 0.07489285618066788, 0.08417380601167679, -0.039291590452194214, -0.18431079387664795, 0.08936317265033722, -0.10332299023866653, -0.23032237589359283, 0.4260396361351013, 0.0824495255947113, 0.35869672894477844, 0.050336964428424835, 0.2599751651287079, 0.22956998646259308, 0.16429106891155243, -0.020236091688275337, 0.20055165886878967, 0.2221391797065735, -0.1580716073513031, 0.13444781303405762, -0.0707627534866333, 0.14448793232440948, -0.04051654785871506, 0.1641966998577118, -0.4467453062534332, -0.29640331864356995, -0.4470342695713043, 0.18982011079788208, -0.10366296023130417, -0.06801152229309082, 0.23737649619579315, -0.356026291847229, -0.06004944071173668, -0.17408029735088348, 0.13093449175357819, 0.023435527458786964, -0.3286527395248413, -0.017250902950763702, -0.3860030174255371, 0.2493821382522583, -0.29829907417297363, 0.06584551930427551, 0.1180734857916832, 0.012995169498026371, 0.32021692395210266, 0.38770002126693726, -0.25696825981140137, -0.2791672646999359, -0.1545104682445526, -0.03898094221949577, -0.18075129389762878, -0.1245858296751976, -0.3246486186981201, 0.31017377972602844, -0.2551172971725464, -0.15549921989440918, 0.31231752038002014, -0.1433638483285904, 0.11859513074159622, -0.4381072223186493, -0.10360121726989746, -0.1398306041955948, 0.33903059363365173, -0.22899121046066284, -0.22836776077747345, -0.37742388248443604, 0.2676001489162445, -0.018806157633662224, 0.17601488530635834, 0.3642159700393677, 0.14057795703411102, 0.09793583303689957, 0.32915496826171875, -0.09157194197177887, 0.03442317992448807, 0.2614099681377411, 0.30151665210723877, -0.29142266511917114, -0.16747964918613434, 0.10883048176765442, 0.11686532944440842, -0.13477016985416412, -0.145811527967453, 0.2667376399040222, 0.18465949594974518, -0.171366885304451, -0.26770612597465515, -0.2105603665113449, -0.15107253193855286, 0.23510092496871948, 0.13075093924999237, 0.035750024020671844, -0.14477592706680298, -0.1581694334745407, -0.10405924916267395, 0.19481222331523895, -0.45385417342185974, -0.0030377921648323536, 0.004247634205967188, -0.11019941419363022, -0.02359990030527115, 0.045555975288152695, 0.3782450556755066, 0.13994334638118744, 0.09341530501842499, 0.016779646277427673, 0.09226235002279282, 0.0987325981259346, 0.0510103739798069, -0.06098269671201706, 0.02641276828944683, 0.5468814969062805, 0.14559480547904968, -0.2708854079246521, 0.5636674165725708, 0.1490466445684433, -0.0035061431117355824, 0.2820506989955902, -0.20925582945346832, 0.2612777650356293, -0.23100383579730988, 0.059570860117673874, -0.32244542241096497, -0.18107977509498596, 0.45979177951812744, -0.12565438449382782, -0.17289938032627106, -0.025559425354003906, -0.16246293485164642, 0.26760101318359375, -0.37570083141326904, 0.34438183903694153, -0.012718886137008667, -0.06600545346736908, 0.13341845571994781, 0.15668191015720367, 0.08180282264947891, 0.0012347182491794229, -0.07099549472332001, -0.4044189751148224, 0.4361151456832886, 0.5556405782699585, 0.35192084312438965, 0.38031014800071716, 0.02520761266350746, 0.010740620084106922, 0.2698632776737213, -0.1337708830833435, 0.35462382435798645, 0.0662495493888855, 0.12755471467971802, 0.04976489767432213, 0.2907169461250305, 0.08995270729064941, -0.3433457911014557, -0.19405916333198547, -0.14744441211223602, 0.20340077579021454, 0.008708884008228779, -0.03369142860174179, -0.14659057557582855, -0.31672805547714233, 0.270094096660614, 0.7097269892692566, -0.11550980806350708, 0.02929731085896492, 0.2490083873271942, -0.0180662851780653, 0.02489401586353779, 0.1659175157546997, -0.26737627387046814, 0.2504947781562805, -0.18013857305049896, 0.05514707788825035, 0.0830293670296669, -0.1576090157032013, 0.02846004068851471, 0.2505587041378021, -0.18265368044376373, 0.04502006620168686, 0.41210541129112244, -0.03722026199102402, 0.026874959468841553, -0.1787598580121994, -0.1851751059293747, 0.2134215533733368, 0.16193389892578125, -0.5036066770553589, 0.280656635761261, 0.2224803864955902, -0.05532210320234299, -0.14732976257801056, -0.23382508754730225, -0.12143844366073608, -0.1466798037290573, 0.07100658863782883, -0.28485915064811707, -0.008236310444772243, -0.17796112596988678, 0.043709393590688705, 0.08437514305114746, -0.07047025859355927, -0.07971862703561783, -0.12342829257249832, 0.19490115344524384, 0.40179160237312317, -0.03450609743595123, -0.01613142155110836, -0.13238413631916046, -0.01198966521769762, -0.4227081835269928, -0.6246518492698669, -0.04645959287881851, 0.0006335561629384756, 0.09991215914487839, 0.3153887987136841, 0.3646162450313568, 0.40848395228385925, 0.2971835434436798, -0.28864768147468567, -0.17627106606960297, 0.05307546630501747, -0.13091319799423218, 0.017326736822724342, -0.10476428270339966, 0.411665678024292, 0.2762323319911957, -0.16654875874519348, -0.06571586430072784, -0.16849425435066223, -0.06739182025194168, 0.25043612718582153, 0.15444600582122803, -0.11719246953725815, 0.185845285654068, 0.23252078890800476, 0.3870607912540436, 0.02857331931591034, -0.18197941780090332, 0.18342165648937225, -0.03389259800314903, 0.2771121561527252, -0.07997094094753265, -0.44501474499702454, 0.13741673529148102, 0.306385338306427, -0.22821350395679474, 0.3823055624961853, -0.23068386316299438, -0.3645697236061096, 0.12072763592004776, 0.049693845212459564, -0.5599727034568787, -0.10787990689277649, -0.20119500160217285, 0.2600923776626587, 0.4867187440395355, 0.05114559829235077, -0.3469208776950836, 0.11022467166185379, -0.23299455642700195, 0.14013560116291046, -0.022166850045323372, 0.2873868942260742, -0.2829325199127197, -0.7155182957649231, -0.014947580173611641, -0.48517027497291565, 0.41440367698669434, -0.1990731954574585, -0.07873071730136871, -0.16010601818561554, 0.21276287734508514, 0.28809189796447754, 0.020370790734887123, 0.356671005487442, 0.06318806856870651, 0.07987263798713684, -0.08094312250614166, -0.0734729990363121, -0.13098105788230896, 0.10448189824819565, -0.20545031130313873, 0.3929189443588257, 0.17069491744041443, -0.1852598488330841, -0.16390123963356018, -0.3958723247051239, 0.4958488941192627, -0.06848039478063583, -0.12788750231266022, -0.06864407658576965, -0.004419512115418911, -0.3813377618789673, -0.25571969151496887, -0.20681220293045044, 0.15706855058670044, 0.17731335759162903, 0.07594691216945648, -0.13195744156837463, -0.1542590856552124, -0.12820005416870117, 0.4773505628108978, -0.19180232286453247, 0.1048327088356018, 0.4614785313606262, -0.1304693967103958, -0.16102710366249084, 0.3375653326511383, 0.3656294047832489, 0.41443201899528503, 0.06483995914459229, -0.05845176801085472, 0.3351629078388214, -0.1526155024766922, 0.3531530499458313, 0.43961185216903687, 0.00180763378739357, 0.15687216818332672, 0.009595568291842937, 0.2481183558702469, -0.07389897853136063, 0.15025010704994202, 0.2342233955860138, -0.46667057275772095, 0.11055608838796616, -0.269711434841156, -0.1504971832036972, 0.06763851642608643, -0.15566879510879517, -0.18062418699264526, 0.38070860505104065, -0.04744061827659607, 0.0489262193441391, 0.1331121176481247, 1.2195760011672974, -0.01299135573208332, 0.12806671857833862, 0.2844206690788269, -0.1389208436012268, 0.44076406955718994, -0.3619717061519623, -0.2695232927799225, -0.02419471926987171, 0.13087473809719086, -0.016858339309692383, 0.19651252031326294, -0.03627835959196091, 0.2031913846731186, 0.2572317123413086, -0.021341806277632713, -0.23129117488861084, -0.09798385202884674, -0.02223234996199608, 0.276220440864563, -0.019283685833215714, 0.13591675460338593, -0.1247628927230835, 0.14373120665550232, -0.2167290598154068, -0.08729308098554611, -0.1131097748875618, -0.028289614245295525, 0.4389219582080841, -0.24523748457431793, 0.044795576483011246, -0.09310100227594376, -0.03822145611047745, 0.07903037220239639, -0.49603334069252014, -0.02263152226805687, 0.09302575886249542, 0.01740838959813118, 0.17068757116794586, 0.09241148829460144, -0.08225912600755692, 0.1531156301498413, -0.14290741086006165, -0.11601728945970535, -0.05608765780925751, 0.19665202498435974, -0.3586772084236145, -0.14105384051799774, 0.005854820366948843, 0.10800544172525406, 0.14436335861682892, -0.22657784819602966, -0.006566386669874191, 0.11511150002479553, -0.056778911501169205, -0.2861758768558502, 0.025189463049173355, 0.2516205906867981, 0.025549225509166718, -0.20030920207500458, 0.18095307052135468, 0.20788076519966125, 0.08856268972158432, 0.07194183021783829, 0.08184538036584854, -0.4422299861907959, -0.20172932744026184, 0.3736023008823395, 0.21942771971225739, -0.1396835893392563, 0.4622425436973572, -0.199736550450325, -0.16586224734783173, -0.5142265558242798, -0.05977510288357735, -0.3084130585193634, -0.5674459934234619, 0.04320163279771805, 0.14304618537425995, -0.24682776629924774, 0.09217441082000732, -0.11647804081439972, 0.005823265295475721, 0.09150967746973038, 0.12901729345321655, -0.04022679105401039, -0.09590285271406174, -0.0015299692749977112, -0.1349913477897644, 0.25735124945640564, 0.007885461673140526, 0.0097901476547122, -0.48944011330604553, -0.09350509196519852, -0.4038155972957611, 0.3554214835166931, 0.07686344534158707, 0.16365177929401398, 0.1404123604297638, 0.022194821387529373, 0.09233319759368896, -0.19286403059959412, 0.12112187594175339, -0.12453419715166092, 0.03878074511885643, -0.27454128861427307, -0.10606828331947327, 0.15027983486652374, 0.05962556600570679, -0.29265296459198, -0.004334681201726198, -0.2623342275619507, -0.38846874237060547, 0.09268134832382202, 0.21291472017765045, 0.4451822340488434, 0.28302574157714844, 0.31872808933258057, -0.23542629182338715, -0.21632573008537292, -0.19362732768058777, -0.009478206746280193, 0.12135172635316849, 0.03359723091125488, 0.03973441570997238, 0.29851865768432617, -0.03501950576901436, -0.2609866261482239, 0.14618001878261566, 0.3895502984523773, 0.14068301022052765, -0.04899114742875099, -0.05391787737607956, -0.27802371978759766, -0.1626511663198471, 0.07174383103847504, 0.29591602087020874, -0.27932053804397583, 0.04555794969201088, -0.4360904097557068, 0.03017643466591835, 0.29213088750839233, -0.45102134346961975, -0.10072011500597, 0.2986504137516022, 0.0590059831738472, 0.017622463405132294, 0.1634262353181839, 0.08138542622327805, 0.06178431957960129, 0.38146889209747314, 0.04297473281621933, 0.17033442854881287, -0.2058715522289276, -0.0049069649539887905, 0.2646637558937073, -0.2100663185119629, -0.12023890763521194, 0.3276636600494385, 0.32549721002578735, 0.07688435167074203, 0.15433025360107422, 0.08785908669233322, 0.41669780015945435, 0.360095351934433, 0.12439034134149551, 0.14879782497882843, -0.33909398317337036, -0.13735415041446686, 0.043664880096912384, -0.16680032014846802, 0.17441147565841675, 0.2587108612060547, 0.025186246261000633, 0.04798423498868942, -0.015628239139914513, -0.32133859395980835, 0.3749803602695465, -0.010034772567451, -0.027052676305174828, -0.317940890789032, -0.1726287305355072, 0.0010284034069627523, 0.06504039466381073, -0.09658165276050568, 0.055543217808008194, 0.20913660526275635, -0.24540163576602936, -0.2421444058418274, -0.04233182221651077, 0.011300981044769287, 0.1953776627779007, 0.00031667467555962503, -0.02273455448448658, -0.17002491652965546, 0.0039320155046880245, 0.15412315726280212, 0.23785971105098724, 0.5059558153152466, 0.23970693349838257, -0.2899121642112732, 0.027583442628383636, -0.17556272447109222, 0.0015753450570628047, -0.19492004811763763, -0.2596398591995239, 0.2057323455810547, -0.046082504093647, 0.025407668203115463, -0.21105456352233887, 0.13067148625850677, -0.16400104761123657, -0.08541526645421982, -0.026015736162662506, 0.1379184126853943, -0.22027342021465302, -0.17530657351016998, 0.32153335213661194, -0.26003149151802063, 0.27195340394973755, 0.14972743391990662, -0.24601055681705475, -0.24730612337589264, 0.32491374015808105, -0.025646904483437538, 0.29201430082321167, -0.034434471279382706, 0.10202368348836899, -0.4316382110118866, 0.07190921157598495, 0.265019953250885, 0.11708728969097137, -0.2555645704269409, -0.10664568841457367, -0.32535064220428467, 0.05476118251681328, 0.006145175080746412, 0.009474375285208225, -0.101997010409832, 0.04787645861506462, 0.32807835936546326, 0.046513333916664124, -0.08373377472162247, -0.35954365134239197, 0.23089854419231415, -0.07117743045091629, -0.15434470772743225, 0.483646959066391, 0.24338744580745697, 0.19873671233654022, 0.024225454777479172, -0.4144299626350403, -0.1477525532245636, 0.044157229363918304, 0.09699418395757675, -0.24322651326656342, 0.09091247618198395, 0.030250776559114456, -0.2777371108531952, 0.2231791913509369, 0.05813620612025261, 0.12462552636861801, -0.1777268350124359, -0.2337004393339157, -0.09048967063426971, -0.1802099496126175, 0.031375642865896225, -0.16766716539859772, 0.5709335207939148, 0.1867579221725464, -0.08971332758665085, 0.14206701517105103, 0.21434946358203888, 0.447603315114975, -0.1521283984184265, 0.3154440224170685, -0.3535277247428894, 0.24327534437179565, -0.25953853130340576, 0.24278156459331512, -0.318051815032959, -0.02164698764681816, 0.20481139421463013, -0.1646360456943512, -0.288831889629364, -0.2739839553833008, 0.588509738445282, -0.34581077098846436, -0.2419878989458084, -0.11464230716228485, 0.6436219811439514, 0.002906606998294592, -0.11612699180841446, -0.13876338303089142, 0.3664540648460388, 0.18534012138843536, -0.2520720660686493, -0.02820040099322796, 0.3047916889190674, -0.12360496073961258, -0.14835311472415924, 0.15993909537792206, 0.25806766748428345, 0.29893893003463745, -0.14660987257957458, -0.21023666858673096, -0.18517348170280457 ]
https://github.com/huggingface/datasets/issues/2105
Request to remove S2ORC dataset
Hi @kyleclo, as of today, you have not removed your bucket data yet, and therefore HuggingFace can download it from there. Is it OK? Are you planning to eventually delete it? Thank you.
Hi! I was wondering if it's possible to remove [S2ORC](https://huggingface.co/datasets/s2orc) from hosting on Huggingface's platform? Unfortunately, there are some legal considerations about how we make this data available. Happy to add back to Huggingface's platform once we work out those hurdles! Thanks!
33
Request to remove S2ORC dataset
[ 0.1414489597082138, 0.13370327651500702, -0.16068652272224426, 0.3740813434123993, -0.18525877594947815, -0.17621542513370514, 0.24241764843463898, 0.186640202999115, -0.18565057218074799, 0.050712939351797104, -0.26895031332969666, 0.25538671016693115, -0.23722057044506073, 0.21782079339027405, -0.6312879323959351, 0.4826146364212036, -0.14983965456485748, 0.41793715953826904, -0.28869837522506714, 0.0853704884648323, -0.10720199346542358, 0.22044044733047485, -0.2582605183124542, 0.05742296203970909, -0.30811020731925964, -0.24635706841945648, 0.06298576295375824, 0.1697605550289154, -0.18841011822223663, -0.18866080045700073, 0.277323454618454, 0.5141285061836243, 0.14795738458633423, 0.5124179124832153, -0.00011580225691432133, -0.19234922528266907, -0.046597640961408615, 0.1829521656036377, -0.3665849268436432, 0.4030996263027191, -0.3265966773033142, 0.24422280490398407, 0.08892368525266647, -0.23739877343177795, -0.002767933066934347, -0.203365296125412, -0.052462395280599594, -0.10456786304712296, 0.4955992102622986, 0.42304039001464844, 0.2149592936038971, 0.21050137281417847, -0.3646073639392853, 0.009825820103287697, 0.13241919875144958, 0.5043036937713623, -0.06385984271764755, -0.08525551110506058, -0.10095556825399399, 0.04912212863564491, 0.37472835183143616, 0.5122964382171631, -0.5144110321998596, 0.004594914149492979, -0.04578689485788345, -0.34198668599128723, -0.34488391876220703, -0.1937098652124405, 0.6274959444999695, 0.18206864595413208, 0.574707567691803, -0.16987228393554688, 0.08493206650018692, 0.21936073899269104, 0.045049477368593216, 0.025317782536149025, 0.11099930107593536, 0.06948480010032654, 0.05495161563158035, 0.5397698283195496, -0.27414754033088684, -0.45817017555236816, -0.20618344843387604, -0.28187188506126404, -0.6155623197555542, 0.3474273085594177, -0.33557501435279846, 0.005138678476214409, -0.0622870959341526, -0.09470080584287643, 0.6131173968315125, -0.01570701226592064, -0.05279173329472542, -0.015193765051662922, -0.23310193419456482, -0.2697480618953705, -0.024273810908198357, -0.1560477465391159, -0.28620702028274536, -0.1255612075328827, 0.09308429062366486, -0.10923663526773453, -0.04808416590094566, 0.1654634177684784, 0.14684785902500153, -0.0872022733092308, 0.034078266471624374, 0.3072147071361542, 0.058591023087501526, -0.10019611567258835, 0.04616355150938034, 0.15887786448001862, 0.15760663151741028, -0.03671653941273689, -0.32360345125198364, 0.1182926818728447, 0.5804020762443542, -0.4271619915962219, -0.3954295814037323, 0.24381841719150543, -0.07621326297521591, 0.020035695284605026, -0.016551094129681587, 0.00745296198874712, -0.035557761788368225, -0.010261349380016327, 0.10749024152755737, 0.07489285618066788, 0.08417380601167679, -0.039291590452194214, -0.18431079387664795, 0.08936317265033722, -0.10332299023866653, -0.23032237589359283, 0.4260396361351013, 0.0824495255947113, 0.35869672894477844, 0.050336964428424835, 0.2599751651287079, 0.22956998646259308, 0.16429106891155243, -0.020236091688275337, 0.20055165886878967, 0.2221391797065735, -0.1580716073513031, 0.13444781303405762, -0.0707627534866333, 0.14448793232440948, -0.04051654785871506, 0.1641966998577118, -0.4467453062534332, -0.29640331864356995, -0.4470342695713043, 0.18982011079788208, -0.10366296023130417, -0.06801152229309082, 0.23737649619579315, -0.356026291847229, -0.06004944071173668, -0.17408029735088348, 0.13093449175357819, 0.023435527458786964, -0.3286527395248413, -0.017250902950763702, -0.3860030174255371, 0.2493821382522583, -0.29829907417297363, 0.06584551930427551, 0.1180734857916832, 0.012995169498026371, 0.32021692395210266, 0.38770002126693726, -0.25696825981140137, -0.2791672646999359, -0.1545104682445526, -0.03898094221949577, -0.18075129389762878, -0.1245858296751976, -0.3246486186981201, 0.31017377972602844, -0.2551172971725464, -0.15549921989440918, 0.31231752038002014, -0.1433638483285904, 0.11859513074159622, -0.4381072223186493, -0.10360121726989746, -0.1398306041955948, 0.33903059363365173, -0.22899121046066284, -0.22836776077747345, -0.37742388248443604, 0.2676001489162445, -0.018806157633662224, 0.17601488530635834, 0.3642159700393677, 0.14057795703411102, 0.09793583303689957, 0.32915496826171875, -0.09157194197177887, 0.03442317992448807, 0.2614099681377411, 0.30151665210723877, -0.29142266511917114, -0.16747964918613434, 0.10883048176765442, 0.11686532944440842, -0.13477016985416412, -0.145811527967453, 0.2667376399040222, 0.18465949594974518, -0.171366885304451, -0.26770612597465515, -0.2105603665113449, -0.15107253193855286, 0.23510092496871948, 0.13075093924999237, 0.035750024020671844, -0.14477592706680298, -0.1581694334745407, -0.10405924916267395, 0.19481222331523895, -0.45385417342185974, -0.0030377921648323536, 0.004247634205967188, -0.11019941419363022, -0.02359990030527115, 0.045555975288152695, 0.3782450556755066, 0.13994334638118744, 0.09341530501842499, 0.016779646277427673, 0.09226235002279282, 0.0987325981259346, 0.0510103739798069, -0.06098269671201706, 0.02641276828944683, 0.5468814969062805, 0.14559480547904968, -0.2708854079246521, 0.5636674165725708, 0.1490466445684433, -0.0035061431117355824, 0.2820506989955902, -0.20925582945346832, 0.2612777650356293, -0.23100383579730988, 0.059570860117673874, -0.32244542241096497, -0.18107977509498596, 0.45979177951812744, -0.12565438449382782, -0.17289938032627106, -0.025559425354003906, -0.16246293485164642, 0.26760101318359375, -0.37570083141326904, 0.34438183903694153, -0.012718886137008667, -0.06600545346736908, 0.13341845571994781, 0.15668191015720367, 0.08180282264947891, 0.0012347182491794229, -0.07099549472332001, -0.4044189751148224, 0.4361151456832886, 0.5556405782699585, 0.35192084312438965, 0.38031014800071716, 0.02520761266350746, 0.010740620084106922, 0.2698632776737213, -0.1337708830833435, 0.35462382435798645, 0.0662495493888855, 0.12755471467971802, 0.04976489767432213, 0.2907169461250305, 0.08995270729064941, -0.3433457911014557, -0.19405916333198547, -0.14744441211223602, 0.20340077579021454, 0.008708884008228779, -0.03369142860174179, -0.14659057557582855, -0.31672805547714233, 0.270094096660614, 0.7097269892692566, -0.11550980806350708, 0.02929731085896492, 0.2490083873271942, -0.0180662851780653, 0.02489401586353779, 0.1659175157546997, -0.26737627387046814, 0.2504947781562805, -0.18013857305049896, 0.05514707788825035, 0.0830293670296669, -0.1576090157032013, 0.02846004068851471, 0.2505587041378021, -0.18265368044376373, 0.04502006620168686, 0.41210541129112244, -0.03722026199102402, 0.026874959468841553, -0.1787598580121994, -0.1851751059293747, 0.2134215533733368, 0.16193389892578125, -0.5036066770553589, 0.280656635761261, 0.2224803864955902, -0.05532210320234299, -0.14732976257801056, -0.23382508754730225, -0.12143844366073608, -0.1466798037290573, 0.07100658863782883, -0.28485915064811707, -0.008236310444772243, -0.17796112596988678, 0.043709393590688705, 0.08437514305114746, -0.07047025859355927, -0.07971862703561783, -0.12342829257249832, 0.19490115344524384, 0.40179160237312317, -0.03450609743595123, -0.01613142155110836, -0.13238413631916046, -0.01198966521769762, -0.4227081835269928, -0.6246518492698669, -0.04645959287881851, 0.0006335561629384756, 0.09991215914487839, 0.3153887987136841, 0.3646162450313568, 0.40848395228385925, 0.2971835434436798, -0.28864768147468567, -0.17627106606960297, 0.05307546630501747, -0.13091319799423218, 0.017326736822724342, -0.10476428270339966, 0.411665678024292, 0.2762323319911957, -0.16654875874519348, -0.06571586430072784, -0.16849425435066223, -0.06739182025194168, 0.25043612718582153, 0.15444600582122803, -0.11719246953725815, 0.185845285654068, 0.23252078890800476, 0.3870607912540436, 0.02857331931591034, -0.18197941780090332, 0.18342165648937225, -0.03389259800314903, 0.2771121561527252, -0.07997094094753265, -0.44501474499702454, 0.13741673529148102, 0.306385338306427, -0.22821350395679474, 0.3823055624961853, -0.23068386316299438, -0.3645697236061096, 0.12072763592004776, 0.049693845212459564, -0.5599727034568787, -0.10787990689277649, -0.20119500160217285, 0.2600923776626587, 0.4867187440395355, 0.05114559829235077, -0.3469208776950836, 0.11022467166185379, -0.23299455642700195, 0.14013560116291046, -0.022166850045323372, 0.2873868942260742, -0.2829325199127197, -0.7155182957649231, -0.014947580173611641, -0.48517027497291565, 0.41440367698669434, -0.1990731954574585, -0.07873071730136871, -0.16010601818561554, 0.21276287734508514, 0.28809189796447754, 0.020370790734887123, 0.356671005487442, 0.06318806856870651, 0.07987263798713684, -0.08094312250614166, -0.0734729990363121, -0.13098105788230896, 0.10448189824819565, -0.20545031130313873, 0.3929189443588257, 0.17069491744041443, -0.1852598488330841, -0.16390123963356018, -0.3958723247051239, 0.4958488941192627, -0.06848039478063583, -0.12788750231266022, -0.06864407658576965, -0.004419512115418911, -0.3813377618789673, -0.25571969151496887, -0.20681220293045044, 0.15706855058670044, 0.17731335759162903, 0.07594691216945648, -0.13195744156837463, -0.1542590856552124, -0.12820005416870117, 0.4773505628108978, -0.19180232286453247, 0.1048327088356018, 0.4614785313606262, -0.1304693967103958, -0.16102710366249084, 0.3375653326511383, 0.3656294047832489, 0.41443201899528503, 0.06483995914459229, -0.05845176801085472, 0.3351629078388214, -0.1526155024766922, 0.3531530499458313, 0.43961185216903687, 0.00180763378739357, 0.15687216818332672, 0.009595568291842937, 0.2481183558702469, -0.07389897853136063, 0.15025010704994202, 0.2342233955860138, -0.46667057275772095, 0.11055608838796616, -0.269711434841156, -0.1504971832036972, 0.06763851642608643, -0.15566879510879517, -0.18062418699264526, 0.38070860505104065, -0.04744061827659607, 0.0489262193441391, 0.1331121176481247, 1.2195760011672974, -0.01299135573208332, 0.12806671857833862, 0.2844206690788269, -0.1389208436012268, 0.44076406955718994, -0.3619717061519623, -0.2695232927799225, -0.02419471926987171, 0.13087473809719086, -0.016858339309692383, 0.19651252031326294, -0.03627835959196091, 0.2031913846731186, 0.2572317123413086, -0.021341806277632713, -0.23129117488861084, -0.09798385202884674, -0.02223234996199608, 0.276220440864563, -0.019283685833215714, 0.13591675460338593, -0.1247628927230835, 0.14373120665550232, -0.2167290598154068, -0.08729308098554611, -0.1131097748875618, -0.028289614245295525, 0.4389219582080841, -0.24523748457431793, 0.044795576483011246, -0.09310100227594376, -0.03822145611047745, 0.07903037220239639, -0.49603334069252014, -0.02263152226805687, 0.09302575886249542, 0.01740838959813118, 0.17068757116794586, 0.09241148829460144, -0.08225912600755692, 0.1531156301498413, -0.14290741086006165, -0.11601728945970535, -0.05608765780925751, 0.19665202498435974, -0.3586772084236145, -0.14105384051799774, 0.005854820366948843, 0.10800544172525406, 0.14436335861682892, -0.22657784819602966, -0.006566386669874191, 0.11511150002479553, -0.056778911501169205, -0.2861758768558502, 0.025189463049173355, 0.2516205906867981, 0.025549225509166718, -0.20030920207500458, 0.18095307052135468, 0.20788076519966125, 0.08856268972158432, 0.07194183021783829, 0.08184538036584854, -0.4422299861907959, -0.20172932744026184, 0.3736023008823395, 0.21942771971225739, -0.1396835893392563, 0.4622425436973572, -0.199736550450325, -0.16586224734783173, -0.5142265558242798, -0.05977510288357735, -0.3084130585193634, -0.5674459934234619, 0.04320163279771805, 0.14304618537425995, -0.24682776629924774, 0.09217441082000732, -0.11647804081439972, 0.005823265295475721, 0.09150967746973038, 0.12901729345321655, -0.04022679105401039, -0.09590285271406174, -0.0015299692749977112, -0.1349913477897644, 0.25735124945640564, 0.007885461673140526, 0.0097901476547122, -0.48944011330604553, -0.09350509196519852, -0.4038155972957611, 0.3554214835166931, 0.07686344534158707, 0.16365177929401398, 0.1404123604297638, 0.022194821387529373, 0.09233319759368896, -0.19286403059959412, 0.12112187594175339, -0.12453419715166092, 0.03878074511885643, -0.27454128861427307, -0.10606828331947327, 0.15027983486652374, 0.05962556600570679, -0.29265296459198, -0.004334681201726198, -0.2623342275619507, -0.38846874237060547, 0.09268134832382202, 0.21291472017765045, 0.4451822340488434, 0.28302574157714844, 0.31872808933258057, -0.23542629182338715, -0.21632573008537292, -0.19362732768058777, -0.009478206746280193, 0.12135172635316849, 0.03359723091125488, 0.03973441570997238, 0.29851865768432617, -0.03501950576901436, -0.2609866261482239, 0.14618001878261566, 0.3895502984523773, 0.14068301022052765, -0.04899114742875099, -0.05391787737607956, -0.27802371978759766, -0.1626511663198471, 0.07174383103847504, 0.29591602087020874, -0.27932053804397583, 0.04555794969201088, -0.4360904097557068, 0.03017643466591835, 0.29213088750839233, -0.45102134346961975, -0.10072011500597, 0.2986504137516022, 0.0590059831738472, 0.017622463405132294, 0.1634262353181839, 0.08138542622327805, 0.06178431957960129, 0.38146889209747314, 0.04297473281621933, 0.17033442854881287, -0.2058715522289276, -0.0049069649539887905, 0.2646637558937073, -0.2100663185119629, -0.12023890763521194, 0.3276636600494385, 0.32549721002578735, 0.07688435167074203, 0.15433025360107422, 0.08785908669233322, 0.41669780015945435, 0.360095351934433, 0.12439034134149551, 0.14879782497882843, -0.33909398317337036, -0.13735415041446686, 0.043664880096912384, -0.16680032014846802, 0.17441147565841675, 0.2587108612060547, 0.025186246261000633, 0.04798423498868942, -0.015628239139914513, -0.32133859395980835, 0.3749803602695465, -0.010034772567451, -0.027052676305174828, -0.317940890789032, -0.1726287305355072, 0.0010284034069627523, 0.06504039466381073, -0.09658165276050568, 0.055543217808008194, 0.20913660526275635, -0.24540163576602936, -0.2421444058418274, -0.04233182221651077, 0.011300981044769287, 0.1953776627779007, 0.00031667467555962503, -0.02273455448448658, -0.17002491652965546, 0.0039320155046880245, 0.15412315726280212, 0.23785971105098724, 0.5059558153152466, 0.23970693349838257, -0.2899121642112732, 0.027583442628383636, -0.17556272447109222, 0.0015753450570628047, -0.19492004811763763, -0.2596398591995239, 0.2057323455810547, -0.046082504093647, 0.025407668203115463, -0.21105456352233887, 0.13067148625850677, -0.16400104761123657, -0.08541526645421982, -0.026015736162662506, 0.1379184126853943, -0.22027342021465302, -0.17530657351016998, 0.32153335213661194, -0.26003149151802063, 0.27195340394973755, 0.14972743391990662, -0.24601055681705475, -0.24730612337589264, 0.32491374015808105, -0.025646904483437538, 0.29201430082321167, -0.034434471279382706, 0.10202368348836899, -0.4316382110118866, 0.07190921157598495, 0.265019953250885, 0.11708728969097137, -0.2555645704269409, -0.10664568841457367, -0.32535064220428467, 0.05476118251681328, 0.006145175080746412, 0.009474375285208225, -0.101997010409832, 0.04787645861506462, 0.32807835936546326, 0.046513333916664124, -0.08373377472162247, -0.35954365134239197, 0.23089854419231415, -0.07117743045091629, -0.15434470772743225, 0.483646959066391, 0.24338744580745697, 0.19873671233654022, 0.024225454777479172, -0.4144299626350403, -0.1477525532245636, 0.044157229363918304, 0.09699418395757675, -0.24322651326656342, 0.09091247618198395, 0.030250776559114456, -0.2777371108531952, 0.2231791913509369, 0.05813620612025261, 0.12462552636861801, -0.1777268350124359, -0.2337004393339157, -0.09048967063426971, -0.1802099496126175, 0.031375642865896225, -0.16766716539859772, 0.5709335207939148, 0.1867579221725464, -0.08971332758665085, 0.14206701517105103, 0.21434946358203888, 0.447603315114975, -0.1521283984184265, 0.3154440224170685, -0.3535277247428894, 0.24327534437179565, -0.25953853130340576, 0.24278156459331512, -0.318051815032959, -0.02164698764681816, 0.20481139421463013, -0.1646360456943512, -0.288831889629364, -0.2739839553833008, 0.588509738445282, -0.34581077098846436, -0.2419878989458084, -0.11464230716228485, 0.6436219811439514, 0.002906606998294592, -0.11612699180841446, -0.13876338303089142, 0.3664540648460388, 0.18534012138843536, -0.2520720660686493, -0.02820040099322796, 0.3047916889190674, -0.12360496073961258, -0.14835311472415924, 0.15993909537792206, 0.25806766748428345, 0.29893893003463745, -0.14660987257957458, -0.21023666858673096, -0.18517348170280457 ]
https://github.com/huggingface/datasets/issues/2105
Request to remove S2ORC dataset
Hi! Sorry I missed @yjernite 's previous message, thanks for responding! Is there an option where we can keep our data in our bucket, but the HF script no longer pulls data from it?
Hi! I was wondering if it's possible to remove [S2ORC](https://huggingface.co/datasets/s2orc) from hosting on Huggingface's platform? Unfortunately, there are some legal considerations about how we make this data available. Happy to add back to Huggingface's platform once we work out those hurdles! Thanks!
34
Request to remove S2ORC dataset
[ 0.1414489597082138, 0.13370327651500702, -0.16068652272224426, 0.3740813434123993, -0.18525877594947815, -0.17621542513370514, 0.24241764843463898, 0.186640202999115, -0.18565057218074799, 0.050712939351797104, -0.26895031332969666, 0.25538671016693115, -0.23722057044506073, 0.21782079339027405, -0.6312879323959351, 0.4826146364212036, -0.14983965456485748, 0.41793715953826904, -0.28869837522506714, 0.0853704884648323, -0.10720199346542358, 0.22044044733047485, -0.2582605183124542, 0.05742296203970909, -0.30811020731925964, -0.24635706841945648, 0.06298576295375824, 0.1697605550289154, -0.18841011822223663, -0.18866080045700073, 0.277323454618454, 0.5141285061836243, 0.14795738458633423, 0.5124179124832153, -0.00011580225691432133, -0.19234922528266907, -0.046597640961408615, 0.1829521656036377, -0.3665849268436432, 0.4030996263027191, -0.3265966773033142, 0.24422280490398407, 0.08892368525266647, -0.23739877343177795, -0.002767933066934347, -0.203365296125412, -0.052462395280599594, -0.10456786304712296, 0.4955992102622986, 0.42304039001464844, 0.2149592936038971, 0.21050137281417847, -0.3646073639392853, 0.009825820103287697, 0.13241919875144958, 0.5043036937713623, -0.06385984271764755, -0.08525551110506058, -0.10095556825399399, 0.04912212863564491, 0.37472835183143616, 0.5122964382171631, -0.5144110321998596, 0.004594914149492979, -0.04578689485788345, -0.34198668599128723, -0.34488391876220703, -0.1937098652124405, 0.6274959444999695, 0.18206864595413208, 0.574707567691803, -0.16987228393554688, 0.08493206650018692, 0.21936073899269104, 0.045049477368593216, 0.025317782536149025, 0.11099930107593536, 0.06948480010032654, 0.05495161563158035, 0.5397698283195496, -0.27414754033088684, -0.45817017555236816, -0.20618344843387604, -0.28187188506126404, -0.6155623197555542, 0.3474273085594177, -0.33557501435279846, 0.005138678476214409, -0.0622870959341526, -0.09470080584287643, 0.6131173968315125, -0.01570701226592064, -0.05279173329472542, -0.015193765051662922, -0.23310193419456482, -0.2697480618953705, -0.024273810908198357, -0.1560477465391159, -0.28620702028274536, -0.1255612075328827, 0.09308429062366486, -0.10923663526773453, -0.04808416590094566, 0.1654634177684784, 0.14684785902500153, -0.0872022733092308, 0.034078266471624374, 0.3072147071361542, 0.058591023087501526, -0.10019611567258835, 0.04616355150938034, 0.15887786448001862, 0.15760663151741028, -0.03671653941273689, -0.32360345125198364, 0.1182926818728447, 0.5804020762443542, -0.4271619915962219, -0.3954295814037323, 0.24381841719150543, -0.07621326297521591, 0.020035695284605026, -0.016551094129681587, 0.00745296198874712, -0.035557761788368225, -0.010261349380016327, 0.10749024152755737, 0.07489285618066788, 0.08417380601167679, -0.039291590452194214, -0.18431079387664795, 0.08936317265033722, -0.10332299023866653, -0.23032237589359283, 0.4260396361351013, 0.0824495255947113, 0.35869672894477844, 0.050336964428424835, 0.2599751651287079, 0.22956998646259308, 0.16429106891155243, -0.020236091688275337, 0.20055165886878967, 0.2221391797065735, -0.1580716073513031, 0.13444781303405762, -0.0707627534866333, 0.14448793232440948, -0.04051654785871506, 0.1641966998577118, -0.4467453062534332, -0.29640331864356995, -0.4470342695713043, 0.18982011079788208, -0.10366296023130417, -0.06801152229309082, 0.23737649619579315, -0.356026291847229, -0.06004944071173668, -0.17408029735088348, 0.13093449175357819, 0.023435527458786964, -0.3286527395248413, -0.017250902950763702, -0.3860030174255371, 0.2493821382522583, -0.29829907417297363, 0.06584551930427551, 0.1180734857916832, 0.012995169498026371, 0.32021692395210266, 0.38770002126693726, -0.25696825981140137, -0.2791672646999359, -0.1545104682445526, -0.03898094221949577, -0.18075129389762878, -0.1245858296751976, -0.3246486186981201, 0.31017377972602844, -0.2551172971725464, -0.15549921989440918, 0.31231752038002014, -0.1433638483285904, 0.11859513074159622, -0.4381072223186493, -0.10360121726989746, -0.1398306041955948, 0.33903059363365173, -0.22899121046066284, -0.22836776077747345, -0.37742388248443604, 0.2676001489162445, -0.018806157633662224, 0.17601488530635834, 0.3642159700393677, 0.14057795703411102, 0.09793583303689957, 0.32915496826171875, -0.09157194197177887, 0.03442317992448807, 0.2614099681377411, 0.30151665210723877, -0.29142266511917114, -0.16747964918613434, 0.10883048176765442, 0.11686532944440842, -0.13477016985416412, -0.145811527967453, 0.2667376399040222, 0.18465949594974518, -0.171366885304451, -0.26770612597465515, -0.2105603665113449, -0.15107253193855286, 0.23510092496871948, 0.13075093924999237, 0.035750024020671844, -0.14477592706680298, -0.1581694334745407, -0.10405924916267395, 0.19481222331523895, -0.45385417342185974, -0.0030377921648323536, 0.004247634205967188, -0.11019941419363022, -0.02359990030527115, 0.045555975288152695, 0.3782450556755066, 0.13994334638118744, 0.09341530501842499, 0.016779646277427673, 0.09226235002279282, 0.0987325981259346, 0.0510103739798069, -0.06098269671201706, 0.02641276828944683, 0.5468814969062805, 0.14559480547904968, -0.2708854079246521, 0.5636674165725708, 0.1490466445684433, -0.0035061431117355824, 0.2820506989955902, -0.20925582945346832, 0.2612777650356293, -0.23100383579730988, 0.059570860117673874, -0.32244542241096497, -0.18107977509498596, 0.45979177951812744, -0.12565438449382782, -0.17289938032627106, -0.025559425354003906, -0.16246293485164642, 0.26760101318359375, -0.37570083141326904, 0.34438183903694153, -0.012718886137008667, -0.06600545346736908, 0.13341845571994781, 0.15668191015720367, 0.08180282264947891, 0.0012347182491794229, -0.07099549472332001, -0.4044189751148224, 0.4361151456832886, 0.5556405782699585, 0.35192084312438965, 0.38031014800071716, 0.02520761266350746, 0.010740620084106922, 0.2698632776737213, -0.1337708830833435, 0.35462382435798645, 0.0662495493888855, 0.12755471467971802, 0.04976489767432213, 0.2907169461250305, 0.08995270729064941, -0.3433457911014557, -0.19405916333198547, -0.14744441211223602, 0.20340077579021454, 0.008708884008228779, -0.03369142860174179, -0.14659057557582855, -0.31672805547714233, 0.270094096660614, 0.7097269892692566, -0.11550980806350708, 0.02929731085896492, 0.2490083873271942, -0.0180662851780653, 0.02489401586353779, 0.1659175157546997, -0.26737627387046814, 0.2504947781562805, -0.18013857305049896, 0.05514707788825035, 0.0830293670296669, -0.1576090157032013, 0.02846004068851471, 0.2505587041378021, -0.18265368044376373, 0.04502006620168686, 0.41210541129112244, -0.03722026199102402, 0.026874959468841553, -0.1787598580121994, -0.1851751059293747, 0.2134215533733368, 0.16193389892578125, -0.5036066770553589, 0.280656635761261, 0.2224803864955902, -0.05532210320234299, -0.14732976257801056, -0.23382508754730225, -0.12143844366073608, -0.1466798037290573, 0.07100658863782883, -0.28485915064811707, -0.008236310444772243, -0.17796112596988678, 0.043709393590688705, 0.08437514305114746, -0.07047025859355927, -0.07971862703561783, -0.12342829257249832, 0.19490115344524384, 0.40179160237312317, -0.03450609743595123, -0.01613142155110836, -0.13238413631916046, -0.01198966521769762, -0.4227081835269928, -0.6246518492698669, -0.04645959287881851, 0.0006335561629384756, 0.09991215914487839, 0.3153887987136841, 0.3646162450313568, 0.40848395228385925, 0.2971835434436798, -0.28864768147468567, -0.17627106606960297, 0.05307546630501747, -0.13091319799423218, 0.017326736822724342, -0.10476428270339966, 0.411665678024292, 0.2762323319911957, -0.16654875874519348, -0.06571586430072784, -0.16849425435066223, -0.06739182025194168, 0.25043612718582153, 0.15444600582122803, -0.11719246953725815, 0.185845285654068, 0.23252078890800476, 0.3870607912540436, 0.02857331931591034, -0.18197941780090332, 0.18342165648937225, -0.03389259800314903, 0.2771121561527252, -0.07997094094753265, -0.44501474499702454, 0.13741673529148102, 0.306385338306427, -0.22821350395679474, 0.3823055624961853, -0.23068386316299438, -0.3645697236061096, 0.12072763592004776, 0.049693845212459564, -0.5599727034568787, -0.10787990689277649, -0.20119500160217285, 0.2600923776626587, 0.4867187440395355, 0.05114559829235077, -0.3469208776950836, 0.11022467166185379, -0.23299455642700195, 0.14013560116291046, -0.022166850045323372, 0.2873868942260742, -0.2829325199127197, -0.7155182957649231, -0.014947580173611641, -0.48517027497291565, 0.41440367698669434, -0.1990731954574585, -0.07873071730136871, -0.16010601818561554, 0.21276287734508514, 0.28809189796447754, 0.020370790734887123, 0.356671005487442, 0.06318806856870651, 0.07987263798713684, -0.08094312250614166, -0.0734729990363121, -0.13098105788230896, 0.10448189824819565, -0.20545031130313873, 0.3929189443588257, 0.17069491744041443, -0.1852598488330841, -0.16390123963356018, -0.3958723247051239, 0.4958488941192627, -0.06848039478063583, -0.12788750231266022, -0.06864407658576965, -0.004419512115418911, -0.3813377618789673, -0.25571969151496887, -0.20681220293045044, 0.15706855058670044, 0.17731335759162903, 0.07594691216945648, -0.13195744156837463, -0.1542590856552124, -0.12820005416870117, 0.4773505628108978, -0.19180232286453247, 0.1048327088356018, 0.4614785313606262, -0.1304693967103958, -0.16102710366249084, 0.3375653326511383, 0.3656294047832489, 0.41443201899528503, 0.06483995914459229, -0.05845176801085472, 0.3351629078388214, -0.1526155024766922, 0.3531530499458313, 0.43961185216903687, 0.00180763378739357, 0.15687216818332672, 0.009595568291842937, 0.2481183558702469, -0.07389897853136063, 0.15025010704994202, 0.2342233955860138, -0.46667057275772095, 0.11055608838796616, -0.269711434841156, -0.1504971832036972, 0.06763851642608643, -0.15566879510879517, -0.18062418699264526, 0.38070860505104065, -0.04744061827659607, 0.0489262193441391, 0.1331121176481247, 1.2195760011672974, -0.01299135573208332, 0.12806671857833862, 0.2844206690788269, -0.1389208436012268, 0.44076406955718994, -0.3619717061519623, -0.2695232927799225, -0.02419471926987171, 0.13087473809719086, -0.016858339309692383, 0.19651252031326294, -0.03627835959196091, 0.2031913846731186, 0.2572317123413086, -0.021341806277632713, -0.23129117488861084, -0.09798385202884674, -0.02223234996199608, 0.276220440864563, -0.019283685833215714, 0.13591675460338593, -0.1247628927230835, 0.14373120665550232, -0.2167290598154068, -0.08729308098554611, -0.1131097748875618, -0.028289614245295525, 0.4389219582080841, -0.24523748457431793, 0.044795576483011246, -0.09310100227594376, -0.03822145611047745, 0.07903037220239639, -0.49603334069252014, -0.02263152226805687, 0.09302575886249542, 0.01740838959813118, 0.17068757116794586, 0.09241148829460144, -0.08225912600755692, 0.1531156301498413, -0.14290741086006165, -0.11601728945970535, -0.05608765780925751, 0.19665202498435974, -0.3586772084236145, -0.14105384051799774, 0.005854820366948843, 0.10800544172525406, 0.14436335861682892, -0.22657784819602966, -0.006566386669874191, 0.11511150002479553, -0.056778911501169205, -0.2861758768558502, 0.025189463049173355, 0.2516205906867981, 0.025549225509166718, -0.20030920207500458, 0.18095307052135468, 0.20788076519966125, 0.08856268972158432, 0.07194183021783829, 0.08184538036584854, -0.4422299861907959, -0.20172932744026184, 0.3736023008823395, 0.21942771971225739, -0.1396835893392563, 0.4622425436973572, -0.199736550450325, -0.16586224734783173, -0.5142265558242798, -0.05977510288357735, -0.3084130585193634, -0.5674459934234619, 0.04320163279771805, 0.14304618537425995, -0.24682776629924774, 0.09217441082000732, -0.11647804081439972, 0.005823265295475721, 0.09150967746973038, 0.12901729345321655, -0.04022679105401039, -0.09590285271406174, -0.0015299692749977112, -0.1349913477897644, 0.25735124945640564, 0.007885461673140526, 0.0097901476547122, -0.48944011330604553, -0.09350509196519852, -0.4038155972957611, 0.3554214835166931, 0.07686344534158707, 0.16365177929401398, 0.1404123604297638, 0.022194821387529373, 0.09233319759368896, -0.19286403059959412, 0.12112187594175339, -0.12453419715166092, 0.03878074511885643, -0.27454128861427307, -0.10606828331947327, 0.15027983486652374, 0.05962556600570679, -0.29265296459198, -0.004334681201726198, -0.2623342275619507, -0.38846874237060547, 0.09268134832382202, 0.21291472017765045, 0.4451822340488434, 0.28302574157714844, 0.31872808933258057, -0.23542629182338715, -0.21632573008537292, -0.19362732768058777, -0.009478206746280193, 0.12135172635316849, 0.03359723091125488, 0.03973441570997238, 0.29851865768432617, -0.03501950576901436, -0.2609866261482239, 0.14618001878261566, 0.3895502984523773, 0.14068301022052765, -0.04899114742875099, -0.05391787737607956, -0.27802371978759766, -0.1626511663198471, 0.07174383103847504, 0.29591602087020874, -0.27932053804397583, 0.04555794969201088, -0.4360904097557068, 0.03017643466591835, 0.29213088750839233, -0.45102134346961975, -0.10072011500597, 0.2986504137516022, 0.0590059831738472, 0.017622463405132294, 0.1634262353181839, 0.08138542622327805, 0.06178431957960129, 0.38146889209747314, 0.04297473281621933, 0.17033442854881287, -0.2058715522289276, -0.0049069649539887905, 0.2646637558937073, -0.2100663185119629, -0.12023890763521194, 0.3276636600494385, 0.32549721002578735, 0.07688435167074203, 0.15433025360107422, 0.08785908669233322, 0.41669780015945435, 0.360095351934433, 0.12439034134149551, 0.14879782497882843, -0.33909398317337036, -0.13735415041446686, 0.043664880096912384, -0.16680032014846802, 0.17441147565841675, 0.2587108612060547, 0.025186246261000633, 0.04798423498868942, -0.015628239139914513, -0.32133859395980835, 0.3749803602695465, -0.010034772567451, -0.027052676305174828, -0.317940890789032, -0.1726287305355072, 0.0010284034069627523, 0.06504039466381073, -0.09658165276050568, 0.055543217808008194, 0.20913660526275635, -0.24540163576602936, -0.2421444058418274, -0.04233182221651077, 0.011300981044769287, 0.1953776627779007, 0.00031667467555962503, -0.02273455448448658, -0.17002491652965546, 0.0039320155046880245, 0.15412315726280212, 0.23785971105098724, 0.5059558153152466, 0.23970693349838257, -0.2899121642112732, 0.027583442628383636, -0.17556272447109222, 0.0015753450570628047, -0.19492004811763763, -0.2596398591995239, 0.2057323455810547, -0.046082504093647, 0.025407668203115463, -0.21105456352233887, 0.13067148625850677, -0.16400104761123657, -0.08541526645421982, -0.026015736162662506, 0.1379184126853943, -0.22027342021465302, -0.17530657351016998, 0.32153335213661194, -0.26003149151802063, 0.27195340394973755, 0.14972743391990662, -0.24601055681705475, -0.24730612337589264, 0.32491374015808105, -0.025646904483437538, 0.29201430082321167, -0.034434471279382706, 0.10202368348836899, -0.4316382110118866, 0.07190921157598495, 0.265019953250885, 0.11708728969097137, -0.2555645704269409, -0.10664568841457367, -0.32535064220428467, 0.05476118251681328, 0.006145175080746412, 0.009474375285208225, -0.101997010409832, 0.04787645861506462, 0.32807835936546326, 0.046513333916664124, -0.08373377472162247, -0.35954365134239197, 0.23089854419231415, -0.07117743045091629, -0.15434470772743225, 0.483646959066391, 0.24338744580745697, 0.19873671233654022, 0.024225454777479172, -0.4144299626350403, -0.1477525532245636, 0.044157229363918304, 0.09699418395757675, -0.24322651326656342, 0.09091247618198395, 0.030250776559114456, -0.2777371108531952, 0.2231791913509369, 0.05813620612025261, 0.12462552636861801, -0.1777268350124359, -0.2337004393339157, -0.09048967063426971, -0.1802099496126175, 0.031375642865896225, -0.16766716539859772, 0.5709335207939148, 0.1867579221725464, -0.08971332758665085, 0.14206701517105103, 0.21434946358203888, 0.447603315114975, -0.1521283984184265, 0.3154440224170685, -0.3535277247428894, 0.24327534437179565, -0.25953853130340576, 0.24278156459331512, -0.318051815032959, -0.02164698764681816, 0.20481139421463013, -0.1646360456943512, -0.288831889629364, -0.2739839553833008, 0.588509738445282, -0.34581077098846436, -0.2419878989458084, -0.11464230716228485, 0.6436219811439514, 0.002906606998294592, -0.11612699180841446, -0.13876338303089142, 0.3664540648460388, 0.18534012138843536, -0.2520720660686493, -0.02820040099322796, 0.3047916889190674, -0.12360496073961258, -0.14835311472415924, 0.15993909537792206, 0.25806766748428345, 0.29893893003463745, -0.14660987257957458, -0.21023666858673096, -0.18517348170280457 ]
https://github.com/huggingface/datasets/issues/2104
Trouble loading wiki_movies
Hi ! `wiki_movies` was added in `datasets==1.2.0`. However it looks like you have `datasets==1.1.2`. To use `wiki_movies`, please update `datasets` with ``` pip install --upgrade datasets ```
Hello, I am trying to load_dataset("wiki_movies") and it gives me this error - `FileNotFoundError: Couldn't find file locally at wiki_movies/wiki_movies.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/wiki_movies/wiki_movies.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/wiki_movies/wiki_movies.py` Trying to do `python run_mlm.py \ --model_name_or_path roberta-base \ --dataset_name wiki_movies \` also gives the same error. Is this something on my end? From what I can tell, this dataset was re-added by @lhoestq a few months ago. Thank you!
27
Trouble loading wiki_movies
[ -0.11890963464975357, 0.010805722326040268, -0.262445867061615, 0.17221812903881073, 0.2049722671508789, 0.1843118965625763, 0.05017959326505661, 0.22978273034095764, 0.1310633271932602, -0.027409737929701805, 0.013473181053996086, -0.14753252267837524, 0.0317351371049881, 0.0905546024441719, -0.1558871865272522, -0.0007579221273772418, 0.18312400579452515, 0.1608930081129074, 0.12534834444522858, 0.003252581926062703, -0.31093695759773254, 0.29582908749580383, -0.1598244309425354, 0.04879279062151909, -0.19731378555297852, -0.028492895886301994, 0.27191784977912903, 0.31178003549575806, -0.03838463872671127, -0.28542768955230713, 0.1892009675502777, 0.018741266801953316, 0.31833353638648987, 0.21395722031593323, -0.00009888991189654917, -0.10206737369298935, 0.5584967136383057, -0.07390710711479187, 0.014657475054264069, 0.39508360624313354, 0.06389520317316055, 0.18239499628543854, 0.22524940967559814, -0.20308881998062134, 0.22281233966350555, 0.14490565657615662, 0.16531354188919067, -0.14308609068393707, -0.07074958086013794, 0.017032410949468613, 0.3697672486305237, -0.1329067200422287, 0.047284092754125595, 0.06172872334718704, 0.5147590041160583, -0.19129063189029694, -0.016472307965159416, 0.059180472046136856, 0.20990031957626343, -0.34389710426330566, 0.03023078851401806, 0.24133920669555664, -0.27197450399398804, -0.17553235590457916, 0.12218435853719711, -0.04864426702260971, 0.22029651701450348, -0.28317058086395264, 0.3282192051410675, 0.060248084366321564, 0.42927682399749756, 0.09814638644456863, 0.0380537249147892, 0.17922343313694, 0.029702967032790184, 0.06723218411207199, 0.28055620193481445, 0.10655674338340759, -0.08536645025014877, 0.030581481754779816, 0.09487537294626236, -0.13316068053245544, -0.06866825371980667, 0.3398084044456482, 0.24299436807632446, 0.6230658888816833, 0.22638648748397827, 0.06532789766788483, 0.07634133845567703, -0.10880766808986664, 0.24469588696956635, 0.1605638712644577, -0.09397067874670029, 0.20522110164165497, 0.3591882288455963, 0.19520361721515656, 0.15061289072036743, 0.4069525897502899, -0.1657322496175766, -0.03659960255026817, -0.36121952533721924, 0.39512261748313904, 0.1997586488723755, 0.014251664280891418, 0.17149785161018372, 0.05327716842293739, 0.044603921473026276, 0.11329003423452377, 0.5100129246711731, 0.49291080236434937, -0.20859983563423157, 0.0574551485478878, -0.19361591339111328, -0.13408836722373962, -0.07173429429531097, -0.1571224331855774, -0.1262655258178711, -0.10483306646347046, -0.04557403177022934, 0.0704670250415802, 0.06315559893846512, -0.1316176801919937, -0.031170187518000603, 0.2980008125305176, -0.21665701270103455, 0.47231876850128174, 0.09195021539926529, 0.17198067903518677, -0.17644409835338593, 0.5130259394645691, -0.3025415241718292, 0.1180804893374443, -0.09082047641277313, 0.16981850564479828, 0.14929534494876862, -0.003929875325411558, 0.2869502007961273, -0.24356846511363983, 0.19147555530071259, -0.21967990696430206, 0.04685597866773605, 0.337429404258728, -0.1032416895031929, 0.24934282898902893, 0.28114789724349976, 0.3182729184627533, 0.28681981563568115, -0.282124400138855, 0.086668960750103, -0.016636032611131668, -0.0658017098903656, -0.2460457682609558, -0.08719582855701447, 0.28789469599723816, 0.25248605012893677, 0.14442533254623413, -0.18836364150047302, -0.23119640350341797, 0.16482466459274292, -0.4848356544971466, -0.16821491718292236, 0.10883563756942749, 0.16284821927547455, -0.14275912940502167, -0.04115007445216179, 0.1926635056734085, 0.05109110847115517, 0.05999850481748581, -0.05178042873740196, -0.155221089720726, -0.09817737340927124, -0.025710463523864746, -0.2258983701467514, -0.19609993696212769, -0.35435810685157776, -0.011170594021677971, -0.03466065227985382, -0.5035879015922546, -0.09709969162940979, 0.24756444990634918, 0.09161235392093658, 0.1780855357646942, 0.16111493110656738, 0.23755121231079102, -0.07440317422151566, -0.17534247040748596, 0.14679685235023499, 0.11961537599563599, 0.18491359055042267, -0.031851328909397125, -0.17184709012508392, -0.07116780430078506, 0.03202444314956665, -0.22668050229549408, 0.33054086565971375, 0.03744848072528839, 0.012101049534976482, 0.1318720281124115, 0.3794727623462677, 0.06570291519165039, -0.11090190708637238, 0.05819998309016228, 0.12064208090305328, 0.2685092091560364, 0.004105112049728632, 0.11986754834651947, -0.22734494507312775, -0.013032889924943447, -0.024811813607811928, -0.10660691559314728, 0.03467049449682236, -0.12178393453359604, -0.20101810991764069, 0.06541474908590317, -0.06476005911827087, 0.0515461191534996, 0.3523670434951782, 0.2659907937049866, -0.08063389360904694, 0.19791021943092346, -0.05753791704773903, -0.2588709890842438, -0.22832845151424408, -0.08917294442653656, 0.11506515741348267, 0.16527116298675537, -0.34826889634132385, -0.13220341503620148, 0.11905988305807114, -0.023101726546883583, 0.38038039207458496, 0.013427547179162502, 0.07417003065347672, 0.031859397888183594, 0.053132932633161545, 0.08783610910177231, 0.0742020532488823, 0.02141878753900528, 0.02972232736647129, -0.42398834228515625, -0.04700848460197449, 0.2917032241821289, 0.09371254593133926, -0.18787041306495667, 0.16958659887313843, 0.21668791770935059, -0.21804043650627136, 0.11935032904148102, 0.20586815476417542, -0.03038063459098339, 0.135837122797966, 0.12899141013622284, 0.018033137544989586, -0.35606396198272705, 0.10562772303819656, 0.16240040957927704, -0.27205944061279297, -0.21157383918762207, -0.06139059364795685, -0.03694336861371994, 0.17606984078884125, -0.09171833097934723, 0.17145133018493652, 0.13209006190299988, 0.018157172948122025, 0.07427661865949631, 0.021521560847759247, -0.030538026243448257, -0.0706930086016655, 0.14512021839618683, -0.0984458178281784, -0.18881945312023163, -0.05059705674648285, -0.37659767270088196, 0.20308147370815277, 0.039870940148830414, 0.15113119781017303, 0.19481106102466583, -0.18103718757629395, -0.11708729714155197, -0.129030242562294, -0.002931792987510562, -0.23173150420188904, -0.18165400624275208, -0.18156936764717102, -0.13482511043548584, -0.09311952441930771, -0.11480657011270523, 0.2736280560493469, -0.2600313127040863, -0.10436411947011948, -0.5338612198829651, 0.20573990046977997, 0.4530413746833801, 0.014585730619728565, 0.14809103310108185, -0.2797144949436188, -0.220757856965065, -0.08881436288356781, -0.018482696264982224, -0.04230289161205292, -0.37939757108688354, -0.26621219515800476, 0.2580612599849701, 0.3529109060764313, -0.15813083946704865, -0.06871271133422852, -0.1798585057258606, -0.13149619102478027, -0.24438929557800293, -0.3135797381401062, 0.14127536118030548, 0.006326175294816494, 0.14052584767341614, -0.08381612598896027, 0.5768936276435852, -0.09730254858732224, -0.4847632646560669, 0.09810750186443329, -0.05485916510224342, 0.2811910808086395, 0.051379963755607605, 0.05013439431786537, -0.3918099105358124, -0.10753284394741058, -0.3433677554130554, 0.1304451823234558, -0.16498388350009918, -0.11037427186965942, 0.4283214509487152, 0.08543965220451355, 0.004526179749518633, 0.27012762427330017, 0.013667851686477661, 0.197478786110878, 0.14679044485092163, -0.06267233192920685, -0.04903397336602211, 0.5799036622047424, -0.3186337351799011, -0.32752954959869385, 0.4120325744152069, -0.015098282136023045, 0.022050082683563232, -0.3278432786464691, -0.4377930760383606, 0.0011883272090926766, 0.11429830640554428, -0.04230162873864174, 0.17643004655838013, -0.06334806978702545, 0.06251264363527298, 0.10898011177778244, -0.2630041539669037, -0.022744201123714447, -0.02693800814449787, 0.017681270837783813, -0.2148919254541397, 0.0019032019190490246, 0.10755220800638199, 0.26095762848854065, -0.38632550835609436, 0.5605856776237488, -0.27385908365249634, 0.33307966589927673, 0.28264230489730835, -0.09937106817960739, 0.2621394097805023, -0.002224793890491128, -0.08798356354236603, -0.09631014615297318, -0.23798318207263947, -0.05497986078262329, 0.4096154272556305, 0.1687239706516266, -0.43171682953834534, -0.3501133620738983, 0.17480410635471344, -0.3348018229007721, -0.07208776473999023, -0.09972798079252243, 0.2549867331981659, -0.25218313932418823, 0.08881186693906784, 0.18576616048812866, -0.06430751085281372, -0.2930927872657776, 0.25712698698043823, 0.3272077739238739, 0.03177502751350403, 0.024262621998786926, -0.09692585468292236, -0.10389102250337601, 0.05660300329327583, 0.15624919533729553, 0.1536577343940735, -0.06756243109703064, -0.11328543722629547, -0.23523272573947906, 0.13882236182689667, -0.20229411125183105, 0.4672035574913025, 0.022145593538880348, 0.17674237489700317, 0.12127628177404404, 0.10067087411880493, -0.09854982048273087, -0.2508452236652374, -0.055358294397592545, -0.3085278272628784, 0.16328325867652893, 0.07863863557577133, -0.12520943582057953, 0.13206927478313446, -0.13406330347061157, -0.11728765070438385, -0.12255759537220001, 0.06626676768064499, -0.38383162021636963, -0.15288418531417847, -0.5139129757881165, -0.1388130635023117, 0.07674151659011841, 0.20836833119392395, -0.27498385310173035, -0.11278416961431503, 0.017004869878292084, -0.23613718152046204, -0.0526554137468338, -0.004018373787403107, 0.2181941717863083, 0.18345701694488525, -0.17874383926391602, -0.10379619151353836, 0.06696434319019318, 0.07834436744451523, 0.07975243031978607, 0.11829458922147751, 0.42153748869895935, 0.07966010272502899, -0.2040943056344986, -0.06321544945240021, 0.3112349212169647, -0.07146801799535751, -0.35254383087158203, 0.18772007524967194, -0.0643264576792717, 0.011012059636414051, -0.056598272174596786, 0.27129918336868286, -0.33571699261665344, -0.14306743443012238, -0.0848599225282669, 0.4326258897781372, 0.05923023447394371, -0.10300235450267792, 0.27652302384376526, 0.4783407151699066, -0.270488977432251, -0.013769157230854034, 0.11891372501850128, 0.8633098602294922, -0.1327042281627655, 0.35356202721595764, 0.13496102392673492, 0.1255595088005066, -0.17099769413471222, -0.15129616856575012, 0.190798819065094, -0.25999605655670166, 0.02946736291050911, -0.1215362399816513, 0.14571057260036469, -0.23431895673274994, -0.11028414964675903, -0.4020802080631256, 0.12855985760688782, -0.43269774317741394, 0.21225455403327942, -0.06990449130535126, 0.011536273173987865, -0.05503475293517113, 0.11120118200778961, -0.03636717423796654, 0.2903723120689392, 0.22853408753871918, 0.07091859728097916, -0.1906183809041977, 0.141383096575737, -0.07835523784160614, -0.1032235249876976, -0.27624088525772095, 0.20811580121517181, -0.03539133071899414, 0.3420100212097168, -0.09139419347047806, 0.0607101134955883, -0.49951863288879395, 0.39577746391296387, -0.19005072116851807, 0.17684327065944672, -0.16432267427444458, 0.097264863550663, 0.18463817238807678, -0.5393089652061462, -0.36348962783813477, 0.19941924512386322, 0.1783059984445572, -0.2554719150066376, -0.22015738487243652, 0.1739780604839325, 0.025376081466674805, -0.08982745558023453, -0.326998233795166, 0.08521010726690292, 0.2002299726009369, -0.08365315198898315, -0.5840678811073303, -0.15056398510932922, -0.36795514822006226, -0.05959636718034744, 0.33132800459861755, -0.2852049469947815, -0.053946539759635925, -0.23264937102794647, 0.5847423076629639, 0.07221432030200958, -0.1805771291255951, 0.4639325737953186, -0.016982484608888626, -0.19265784323215485, 0.1690485030412674, 0.5375912189483643, -0.4491298198699951, -0.2787289619445801, -0.18360264599323273, -0.29095956683158875, 0.04824855923652649, -0.12694324553012848, 0.3196864128112793, -0.23297488689422607, 0.1251375675201416, 0.16548295319080353, 0.02763737179338932, 0.22309774160385132, 0.1507389396429062, -0.23748907446861267, -0.033669810742139816, 0.38199156522750854, -0.18227538466453552, 0.11455991864204407, -0.22985482215881348, -0.41417908668518066, 0.1396637111902237, -0.08954234421253204, -0.4369654953479767, -0.14825327694416046, -0.17343051731586456, -0.11644881218671799, 0.18963845074176788, 0.10503267496824265, -0.1513904482126236, 0.35182857513427734, 0.3367263078689575, 0.030461227521300316, 0.07066930085420609, -0.387773334980011, 0.06588482856750488, 0.07259123772382736, 0.22323276102542877, -0.22892114520072937, 0.1847728192806244, -0.09894520044326782, -0.04210077226161957, 0.029378965497016907, -0.013310919515788555, -0.005795080214738846, 0.11960985511541367, 0.00889159832149744, 0.11785803735256195, -0.16743400692939758, -0.09717022627592087, 0.13501526415348053, -0.3041480481624603, 0.5230616927146912, -0.047802433371543884, -0.21004903316497803, 0.20869062840938568, -0.11432106047868729, -0.032169610261917114, 0.013235466554760933, -0.12656351923942566, 0.3419169783592224, 0.3032763600349426, -0.02433227375149727, 0.0032299731392413378, 0.28828778862953186, -0.17382930219173431, 0.08175910264253616, -0.14328594505786896, -0.06287777423858643, -0.02419734001159668, 0.2991064190864563, -0.10524571686983109, -0.02426258847117424, 0.16237832605838776, -0.3305678963661194, -0.17573165893554688, 0.03095109574496746, 0.026446519419550896, -0.4087437689304352, -0.02335561066865921, 0.155877947807312, 0.07458832859992981, -0.321228951215744, 0.2675965130329132, -0.0024346993304789066, -0.027764618396759033, -0.04170374944806099, -0.44700655341148376, -0.19363106787204742, -0.026380760595202446, 0.21235257387161255, -0.27943727374076843, -0.004305988550186157, -0.04589330404996872, 0.20063357055187225, -0.2624707818031311, -0.09971911460161209, 0.05511213466525078, 0.28579363226890564, 0.0454174168407917, 0.12017161399126053, -0.005673965904861689, -0.26432424783706665, 0.31351861357688904, 0.34480220079421997, -0.34261104464530945, 0.1720137745141983, -0.01905256323516369, -0.2507060170173645, -0.11840164661407471, -0.21356242895126343, 0.0048502665013074875, 0.20989638566970825, 0.034028925001621246, 0.009471968747675419, -0.10468549281358719, 0.34533196687698364, -0.1233706846833229, 0.1338292360305786, 0.2736525535583496, -0.3440273106098175, 0.25549858808517456, 0.04717060923576355, 0.03232395648956299, 0.2792775630950928, 0.1980510950088501, 0.16165851056575775, -0.19632022082805634, 0.34084710478782654, 0.3037010431289673, -0.4779651463031769, -0.13949206471443176, 0.12446984648704529, -0.18914228677749634, 0.03832206502556801, 0.30524688959121704, 0.18408234417438507, 0.15736573934555054, -0.2529235780239105, 0.35386964678764343, -0.4180696904659271, 0.012369904667139053, 0.14927007257938385, 0.013053881004452705, 0.2883901000022888, -0.261401504278183, -0.25884246826171875, 0.06245012953877449, -0.35459890961647034, 0.0950649306178093, -0.281807005405426, -0.07771290093660355, 0.1743200123310089, 0.014297991059720516, 0.006101121194660664, -0.08721300214529037, 0.14801783859729767, 0.00487557565793395, 0.4278316795825958, 0.011912810616195202, 0.0573287196457386, -0.022356005385518074, -0.13366612792015076, -0.3399370312690735, 0.3202819526195526, 0.26827776432037354, -0.22650770843029022, 0.02327185682952404, -0.10144305974245071, -0.12902215123176575, -0.07130894809961319, 0.18237973749637604, -0.18358227610588074, 0.21477724611759186, -0.08202671259641647, -0.03833474963903427, 0.10807196795940399, 0.20787033438682556, -0.010359890758991241, -0.07656402885913849, -0.18106722831726074, -0.22774095833301544, -0.5485222339630127, 0.29417070746421814, -0.13703995943069458, -0.16996192932128906, -0.27792447805404663, 0.3457113206386566, 0.24878522753715515, -0.1904899924993515, 0.5208947658538818, -0.25569602847099304, -0.12461135536432266, -0.12730686366558075, -0.28853198885917664, 0.17551098763942719, -0.0044899689964950085, -0.04603071138262749, 0.27966073155403137, -0.21288780868053436, 0.051019925624132156, -0.016190791502594948, 0.37007731199264526, 0.12802517414093018, 0.39866408705711365, -0.10876506567001343, -0.0760791152715683, 0.08627670258283615, -0.05682269483804703, 0.320428729057312, 0.16630107164382935, -0.19467876851558685, 0.05748625472187996, -0.012696380726993084, -0.4194425046443939, 0.24411176145076752, -0.325363427400589, -0.11199098825454712, -0.02249799109995365, -0.002643957268446684, -0.1845289170742035, 0.2301013022661209, -0.17186859250068665, 0.246517613530159, -0.022381631657481194, 0.10313770920038223, -0.20173197984695435, 0.013044876977801323, -0.018333716318011284, -0.16773830354213715, -0.089020736515522, -0.2801380455493927, 0.15197153389453888, -0.19964833557605743, -0.21974831819534302, 0.022172939032316208 ]
https://github.com/huggingface/datasets/issues/2104
Trouble loading wiki_movies
Thanks a lot! That solved it and I was able to upload a model trained on it as well :)
Hello, I am trying to load_dataset("wiki_movies") and it gives me this error - `FileNotFoundError: Couldn't find file locally at wiki_movies/wiki_movies.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/wiki_movies/wiki_movies.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/wiki_movies/wiki_movies.py` Trying to do `python run_mlm.py \ --model_name_or_path roberta-base \ --dataset_name wiki_movies \` also gives the same error. Is this something on my end? From what I can tell, this dataset was re-added by @lhoestq a few months ago. Thank you!
20
Trouble loading wiki_movies
[ -0.11890963464975357, 0.010805722326040268, -0.262445867061615, 0.17221812903881073, 0.2049722671508789, 0.1843118965625763, 0.05017959326505661, 0.22978273034095764, 0.1310633271932602, -0.027409737929701805, 0.013473181053996086, -0.14753252267837524, 0.0317351371049881, 0.0905546024441719, -0.1558871865272522, -0.0007579221273772418, 0.18312400579452515, 0.1608930081129074, 0.12534834444522858, 0.003252581926062703, -0.31093695759773254, 0.29582908749580383, -0.1598244309425354, 0.04879279062151909, -0.19731378555297852, -0.028492895886301994, 0.27191784977912903, 0.31178003549575806, -0.03838463872671127, -0.28542768955230713, 0.1892009675502777, 0.018741266801953316, 0.31833353638648987, 0.21395722031593323, -0.00009888991189654917, -0.10206737369298935, 0.5584967136383057, -0.07390710711479187, 0.014657475054264069, 0.39508360624313354, 0.06389520317316055, 0.18239499628543854, 0.22524940967559814, -0.20308881998062134, 0.22281233966350555, 0.14490565657615662, 0.16531354188919067, -0.14308609068393707, -0.07074958086013794, 0.017032410949468613, 0.3697672486305237, -0.1329067200422287, 0.047284092754125595, 0.06172872334718704, 0.5147590041160583, -0.19129063189029694, -0.016472307965159416, 0.059180472046136856, 0.20990031957626343, -0.34389710426330566, 0.03023078851401806, 0.24133920669555664, -0.27197450399398804, -0.17553235590457916, 0.12218435853719711, -0.04864426702260971, 0.22029651701450348, -0.28317058086395264, 0.3282192051410675, 0.060248084366321564, 0.42927682399749756, 0.09814638644456863, 0.0380537249147892, 0.17922343313694, 0.029702967032790184, 0.06723218411207199, 0.28055620193481445, 0.10655674338340759, -0.08536645025014877, 0.030581481754779816, 0.09487537294626236, -0.13316068053245544, -0.06866825371980667, 0.3398084044456482, 0.24299436807632446, 0.6230658888816833, 0.22638648748397827, 0.06532789766788483, 0.07634133845567703, -0.10880766808986664, 0.24469588696956635, 0.1605638712644577, -0.09397067874670029, 0.20522110164165497, 0.3591882288455963, 0.19520361721515656, 0.15061289072036743, 0.4069525897502899, -0.1657322496175766, -0.03659960255026817, -0.36121952533721924, 0.39512261748313904, 0.1997586488723755, 0.014251664280891418, 0.17149785161018372, 0.05327716842293739, 0.044603921473026276, 0.11329003423452377, 0.5100129246711731, 0.49291080236434937, -0.20859983563423157, 0.0574551485478878, -0.19361591339111328, -0.13408836722373962, -0.07173429429531097, -0.1571224331855774, -0.1262655258178711, -0.10483306646347046, -0.04557403177022934, 0.0704670250415802, 0.06315559893846512, -0.1316176801919937, -0.031170187518000603, 0.2980008125305176, -0.21665701270103455, 0.47231876850128174, 0.09195021539926529, 0.17198067903518677, -0.17644409835338593, 0.5130259394645691, -0.3025415241718292, 0.1180804893374443, -0.09082047641277313, 0.16981850564479828, 0.14929534494876862, -0.003929875325411558, 0.2869502007961273, -0.24356846511363983, 0.19147555530071259, -0.21967990696430206, 0.04685597866773605, 0.337429404258728, -0.1032416895031929, 0.24934282898902893, 0.28114789724349976, 0.3182729184627533, 0.28681981563568115, -0.282124400138855, 0.086668960750103, -0.016636032611131668, -0.0658017098903656, -0.2460457682609558, -0.08719582855701447, 0.28789469599723816, 0.25248605012893677, 0.14442533254623413, -0.18836364150047302, -0.23119640350341797, 0.16482466459274292, -0.4848356544971466, -0.16821491718292236, 0.10883563756942749, 0.16284821927547455, -0.14275912940502167, -0.04115007445216179, 0.1926635056734085, 0.05109110847115517, 0.05999850481748581, -0.05178042873740196, -0.155221089720726, -0.09817737340927124, -0.025710463523864746, -0.2258983701467514, -0.19609993696212769, -0.35435810685157776, -0.011170594021677971, -0.03466065227985382, -0.5035879015922546, -0.09709969162940979, 0.24756444990634918, 0.09161235392093658, 0.1780855357646942, 0.16111493110656738, 0.23755121231079102, -0.07440317422151566, -0.17534247040748596, 0.14679685235023499, 0.11961537599563599, 0.18491359055042267, -0.031851328909397125, -0.17184709012508392, -0.07116780430078506, 0.03202444314956665, -0.22668050229549408, 0.33054086565971375, 0.03744848072528839, 0.012101049534976482, 0.1318720281124115, 0.3794727623462677, 0.06570291519165039, -0.11090190708637238, 0.05819998309016228, 0.12064208090305328, 0.2685092091560364, 0.004105112049728632, 0.11986754834651947, -0.22734494507312775, -0.013032889924943447, -0.024811813607811928, -0.10660691559314728, 0.03467049449682236, -0.12178393453359604, -0.20101810991764069, 0.06541474908590317, -0.06476005911827087, 0.0515461191534996, 0.3523670434951782, 0.2659907937049866, -0.08063389360904694, 0.19791021943092346, -0.05753791704773903, -0.2588709890842438, -0.22832845151424408, -0.08917294442653656, 0.11506515741348267, 0.16527116298675537, -0.34826889634132385, -0.13220341503620148, 0.11905988305807114, -0.023101726546883583, 0.38038039207458496, 0.013427547179162502, 0.07417003065347672, 0.031859397888183594, 0.053132932633161545, 0.08783610910177231, 0.0742020532488823, 0.02141878753900528, 0.02972232736647129, -0.42398834228515625, -0.04700848460197449, 0.2917032241821289, 0.09371254593133926, -0.18787041306495667, 0.16958659887313843, 0.21668791770935059, -0.21804043650627136, 0.11935032904148102, 0.20586815476417542, -0.03038063459098339, 0.135837122797966, 0.12899141013622284, 0.018033137544989586, -0.35606396198272705, 0.10562772303819656, 0.16240040957927704, -0.27205944061279297, -0.21157383918762207, -0.06139059364795685, -0.03694336861371994, 0.17606984078884125, -0.09171833097934723, 0.17145133018493652, 0.13209006190299988, 0.018157172948122025, 0.07427661865949631, 0.021521560847759247, -0.030538026243448257, -0.0706930086016655, 0.14512021839618683, -0.0984458178281784, -0.18881945312023163, -0.05059705674648285, -0.37659767270088196, 0.20308147370815277, 0.039870940148830414, 0.15113119781017303, 0.19481106102466583, -0.18103718757629395, -0.11708729714155197, -0.129030242562294, -0.002931792987510562, -0.23173150420188904, -0.18165400624275208, -0.18156936764717102, -0.13482511043548584, -0.09311952441930771, -0.11480657011270523, 0.2736280560493469, -0.2600313127040863, -0.10436411947011948, -0.5338612198829651, 0.20573990046977997, 0.4530413746833801, 0.014585730619728565, 0.14809103310108185, -0.2797144949436188, -0.220757856965065, -0.08881436288356781, -0.018482696264982224, -0.04230289161205292, -0.37939757108688354, -0.26621219515800476, 0.2580612599849701, 0.3529109060764313, -0.15813083946704865, -0.06871271133422852, -0.1798585057258606, -0.13149619102478027, -0.24438929557800293, -0.3135797381401062, 0.14127536118030548, 0.006326175294816494, 0.14052584767341614, -0.08381612598896027, 0.5768936276435852, -0.09730254858732224, -0.4847632646560669, 0.09810750186443329, -0.05485916510224342, 0.2811910808086395, 0.051379963755607605, 0.05013439431786537, -0.3918099105358124, -0.10753284394741058, -0.3433677554130554, 0.1304451823234558, -0.16498388350009918, -0.11037427186965942, 0.4283214509487152, 0.08543965220451355, 0.004526179749518633, 0.27012762427330017, 0.013667851686477661, 0.197478786110878, 0.14679044485092163, -0.06267233192920685, -0.04903397336602211, 0.5799036622047424, -0.3186337351799011, -0.32752954959869385, 0.4120325744152069, -0.015098282136023045, 0.022050082683563232, -0.3278432786464691, -0.4377930760383606, 0.0011883272090926766, 0.11429830640554428, -0.04230162873864174, 0.17643004655838013, -0.06334806978702545, 0.06251264363527298, 0.10898011177778244, -0.2630041539669037, -0.022744201123714447, -0.02693800814449787, 0.017681270837783813, -0.2148919254541397, 0.0019032019190490246, 0.10755220800638199, 0.26095762848854065, -0.38632550835609436, 0.5605856776237488, -0.27385908365249634, 0.33307966589927673, 0.28264230489730835, -0.09937106817960739, 0.2621394097805023, -0.002224793890491128, -0.08798356354236603, -0.09631014615297318, -0.23798318207263947, -0.05497986078262329, 0.4096154272556305, 0.1687239706516266, -0.43171682953834534, -0.3501133620738983, 0.17480410635471344, -0.3348018229007721, -0.07208776473999023, -0.09972798079252243, 0.2549867331981659, -0.25218313932418823, 0.08881186693906784, 0.18576616048812866, -0.06430751085281372, -0.2930927872657776, 0.25712698698043823, 0.3272077739238739, 0.03177502751350403, 0.024262621998786926, -0.09692585468292236, -0.10389102250337601, 0.05660300329327583, 0.15624919533729553, 0.1536577343940735, -0.06756243109703064, -0.11328543722629547, -0.23523272573947906, 0.13882236182689667, -0.20229411125183105, 0.4672035574913025, 0.022145593538880348, 0.17674237489700317, 0.12127628177404404, 0.10067087411880493, -0.09854982048273087, -0.2508452236652374, -0.055358294397592545, -0.3085278272628784, 0.16328325867652893, 0.07863863557577133, -0.12520943582057953, 0.13206927478313446, -0.13406330347061157, -0.11728765070438385, -0.12255759537220001, 0.06626676768064499, -0.38383162021636963, -0.15288418531417847, -0.5139129757881165, -0.1388130635023117, 0.07674151659011841, 0.20836833119392395, -0.27498385310173035, -0.11278416961431503, 0.017004869878292084, -0.23613718152046204, -0.0526554137468338, -0.004018373787403107, 0.2181941717863083, 0.18345701694488525, -0.17874383926391602, -0.10379619151353836, 0.06696434319019318, 0.07834436744451523, 0.07975243031978607, 0.11829458922147751, 0.42153748869895935, 0.07966010272502899, -0.2040943056344986, -0.06321544945240021, 0.3112349212169647, -0.07146801799535751, -0.35254383087158203, 0.18772007524967194, -0.0643264576792717, 0.011012059636414051, -0.056598272174596786, 0.27129918336868286, -0.33571699261665344, -0.14306743443012238, -0.0848599225282669, 0.4326258897781372, 0.05923023447394371, -0.10300235450267792, 0.27652302384376526, 0.4783407151699066, -0.270488977432251, -0.013769157230854034, 0.11891372501850128, 0.8633098602294922, -0.1327042281627655, 0.35356202721595764, 0.13496102392673492, 0.1255595088005066, -0.17099769413471222, -0.15129616856575012, 0.190798819065094, -0.25999605655670166, 0.02946736291050911, -0.1215362399816513, 0.14571057260036469, -0.23431895673274994, -0.11028414964675903, -0.4020802080631256, 0.12855985760688782, -0.43269774317741394, 0.21225455403327942, -0.06990449130535126, 0.011536273173987865, -0.05503475293517113, 0.11120118200778961, -0.03636717423796654, 0.2903723120689392, 0.22853408753871918, 0.07091859728097916, -0.1906183809041977, 0.141383096575737, -0.07835523784160614, -0.1032235249876976, -0.27624088525772095, 0.20811580121517181, -0.03539133071899414, 0.3420100212097168, -0.09139419347047806, 0.0607101134955883, -0.49951863288879395, 0.39577746391296387, -0.19005072116851807, 0.17684327065944672, -0.16432267427444458, 0.097264863550663, 0.18463817238807678, -0.5393089652061462, -0.36348962783813477, 0.19941924512386322, 0.1783059984445572, -0.2554719150066376, -0.22015738487243652, 0.1739780604839325, 0.025376081466674805, -0.08982745558023453, -0.326998233795166, 0.08521010726690292, 0.2002299726009369, -0.08365315198898315, -0.5840678811073303, -0.15056398510932922, -0.36795514822006226, -0.05959636718034744, 0.33132800459861755, -0.2852049469947815, -0.053946539759635925, -0.23264937102794647, 0.5847423076629639, 0.07221432030200958, -0.1805771291255951, 0.4639325737953186, -0.016982484608888626, -0.19265784323215485, 0.1690485030412674, 0.5375912189483643, -0.4491298198699951, -0.2787289619445801, -0.18360264599323273, -0.29095956683158875, 0.04824855923652649, -0.12694324553012848, 0.3196864128112793, -0.23297488689422607, 0.1251375675201416, 0.16548295319080353, 0.02763737179338932, 0.22309774160385132, 0.1507389396429062, -0.23748907446861267, -0.033669810742139816, 0.38199156522750854, -0.18227538466453552, 0.11455991864204407, -0.22985482215881348, -0.41417908668518066, 0.1396637111902237, -0.08954234421253204, -0.4369654953479767, -0.14825327694416046, -0.17343051731586456, -0.11644881218671799, 0.18963845074176788, 0.10503267496824265, -0.1513904482126236, 0.35182857513427734, 0.3367263078689575, 0.030461227521300316, 0.07066930085420609, -0.387773334980011, 0.06588482856750488, 0.07259123772382736, 0.22323276102542877, -0.22892114520072937, 0.1847728192806244, -0.09894520044326782, -0.04210077226161957, 0.029378965497016907, -0.013310919515788555, -0.005795080214738846, 0.11960985511541367, 0.00889159832149744, 0.11785803735256195, -0.16743400692939758, -0.09717022627592087, 0.13501526415348053, -0.3041480481624603, 0.5230616927146912, -0.047802433371543884, -0.21004903316497803, 0.20869062840938568, -0.11432106047868729, -0.032169610261917114, 0.013235466554760933, -0.12656351923942566, 0.3419169783592224, 0.3032763600349426, -0.02433227375149727, 0.0032299731392413378, 0.28828778862953186, -0.17382930219173431, 0.08175910264253616, -0.14328594505786896, -0.06287777423858643, -0.02419734001159668, 0.2991064190864563, -0.10524571686983109, -0.02426258847117424, 0.16237832605838776, -0.3305678963661194, -0.17573165893554688, 0.03095109574496746, 0.026446519419550896, -0.4087437689304352, -0.02335561066865921, 0.155877947807312, 0.07458832859992981, -0.321228951215744, 0.2675965130329132, -0.0024346993304789066, -0.027764618396759033, -0.04170374944806099, -0.44700655341148376, -0.19363106787204742, -0.026380760595202446, 0.21235257387161255, -0.27943727374076843, -0.004305988550186157, -0.04589330404996872, 0.20063357055187225, -0.2624707818031311, -0.09971911460161209, 0.05511213466525078, 0.28579363226890564, 0.0454174168407917, 0.12017161399126053, -0.005673965904861689, -0.26432424783706665, 0.31351861357688904, 0.34480220079421997, -0.34261104464530945, 0.1720137745141983, -0.01905256323516369, -0.2507060170173645, -0.11840164661407471, -0.21356242895126343, 0.0048502665013074875, 0.20989638566970825, 0.034028925001621246, 0.009471968747675419, -0.10468549281358719, 0.34533196687698364, -0.1233706846833229, 0.1338292360305786, 0.2736525535583496, -0.3440273106098175, 0.25549858808517456, 0.04717060923576355, 0.03232395648956299, 0.2792775630950928, 0.1980510950088501, 0.16165851056575775, -0.19632022082805634, 0.34084710478782654, 0.3037010431289673, -0.4779651463031769, -0.13949206471443176, 0.12446984648704529, -0.18914228677749634, 0.03832206502556801, 0.30524688959121704, 0.18408234417438507, 0.15736573934555054, -0.2529235780239105, 0.35386964678764343, -0.4180696904659271, 0.012369904667139053, 0.14927007257938385, 0.013053881004452705, 0.2883901000022888, -0.261401504278183, -0.25884246826171875, 0.06245012953877449, -0.35459890961647034, 0.0950649306178093, -0.281807005405426, -0.07771290093660355, 0.1743200123310089, 0.014297991059720516, 0.006101121194660664, -0.08721300214529037, 0.14801783859729767, 0.00487557565793395, 0.4278316795825958, 0.011912810616195202, 0.0573287196457386, -0.022356005385518074, -0.13366612792015076, -0.3399370312690735, 0.3202819526195526, 0.26827776432037354, -0.22650770843029022, 0.02327185682952404, -0.10144305974245071, -0.12902215123176575, -0.07130894809961319, 0.18237973749637604, -0.18358227610588074, 0.21477724611759186, -0.08202671259641647, -0.03833474963903427, 0.10807196795940399, 0.20787033438682556, -0.010359890758991241, -0.07656402885913849, -0.18106722831726074, -0.22774095833301544, -0.5485222339630127, 0.29417070746421814, -0.13703995943069458, -0.16996192932128906, -0.27792447805404663, 0.3457113206386566, 0.24878522753715515, -0.1904899924993515, 0.5208947658538818, -0.25569602847099304, -0.12461135536432266, -0.12730686366558075, -0.28853198885917664, 0.17551098763942719, -0.0044899689964950085, -0.04603071138262749, 0.27966073155403137, -0.21288780868053436, 0.051019925624132156, -0.016190791502594948, 0.37007731199264526, 0.12802517414093018, 0.39866408705711365, -0.10876506567001343, -0.0760791152715683, 0.08627670258283615, -0.05682269483804703, 0.320428729057312, 0.16630107164382935, -0.19467876851558685, 0.05748625472187996, -0.012696380726993084, -0.4194425046443939, 0.24411176145076752, -0.325363427400589, -0.11199098825454712, -0.02249799109995365, -0.002643957268446684, -0.1845289170742035, 0.2301013022661209, -0.17186859250068665, 0.246517613530159, -0.022381631657481194, 0.10313770920038223, -0.20173197984695435, 0.013044876977801323, -0.018333716318011284, -0.16773830354213715, -0.089020736515522, -0.2801380455493927, 0.15197153389453888, -0.19964833557605743, -0.21974831819534302, 0.022172939032316208 ]
https://github.com/huggingface/datasets/issues/2103
citation, homepage, and license fields of `dataset_info.json` are duplicated many times
Thanks for reporting :) Maybe we can concatenate fields only if they are different. Currently this is done here: https://github.com/huggingface/nlp/blob/349ac4398a3bcae6356f14c5754483383a60e8a4/src/datasets/info.py#L180-L196 This can be a good first contribution to the library. Please comment if you'd like to improve this and open a PR :)
This happens after a `map` operation when `num_proc` is set to `>1`. I tested this by cleaning up the json before running the `map` op on the dataset so it's unlikely it's coming from an earlier concatenation. Example result: ``` "citation": "@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n ``` @lhoestq and I believe this is happening due to the fields being concatenated `num_proc` times.
43
citation, homepage, and license fields of `dataset_info.json` are duplicated many times
[ 0.09142735600471497, 0.39073604345321655, -0.19822707772254944, 0.3427543044090271, 0.13115143775939941, 0.10315928608179092, 0.3660975396633148, 0.43986228108406067, -0.04546280950307846, -0.08571130782365799, -0.0062523395754396915, 0.49565935134887695, 0.4618341326713562, -0.15974678099155426, 0.0475403256714344, 0.16717879474163055, 0.018808165565133095, 0.042054228484630585, 0.17519430816173553, -0.0960700586438179, -0.0094169732183218, 0.24884143471717834, 0.15081597864627838, 0.033430952578783035, -0.13273252546787262, -0.123890221118927, -0.04652898758649826, -0.02688477374613285, -0.019952191039919853, -0.3390085995197296, -0.29360878467559814, 0.49813833832740784, -0.27274224162101746, 0.023007581010460854, -0.00010656597441993654, 0.07933056354522705, 0.1360284686088562, 0.1433916836977005, -0.32645344734191895, 0.17526356875896454, -0.23396016657352448, 0.036212824285030365, 0.2509979009628296, -0.2384609878063202, 0.10423285514116287, -0.44878441095352173, -0.13318540155887604, 0.12718689441680908, 0.2975480258464813, -0.03869112208485603, 0.21730482578277588, -0.3459109961986542, -0.09742926806211472, 0.060495439916849136, 0.4437529146671295, 0.40197253227233887, 0.27371370792388916, 0.018574925139546394, 0.14087910950183868, 0.05275766924023628, -0.3612396717071533, 0.5254149436950684, 0.09120949357748032, 0.156669020652771, -0.13112975656986237, -0.026717212051153183, 0.10689578950405121, -0.017181403934955597, 0.397884726524353, 0.05330541729927063, 0.26166000962257385, -0.3803868293762207, -0.23726198077201843, -0.3344741761684418, 0.19233053922653198, 0.1353583037853241, -0.1202973872423172, 0.136262908577919, 0.3414468765258789, 0.03827209025621414, 0.02263370342552662, -0.2569796144962311, -0.17881697416305542, -0.3252255916595459, -0.0284668430685997, 0.07507727295160294, -0.05190400406718254, 0.12891130149364471, 0.3445364832878113, -0.1579340398311615, 0.2660978138446808, -0.2199140042066574, -0.10230258107185364, -0.42937469482421875, 0.10533490777015686, -0.2153986245393753, 0.15224425494670868, -0.22723665833473206, 0.14636214077472687, 0.3913399279117584, 0.14560995995998383, 0.19957485795021057, 0.09707367420196533, 0.017809592187404633, 0.4648244380950928, -0.1623985767364502, -0.00936416070908308, 0.10777214914560318, 0.361544668674469, 0.05094502121210098, -0.25148817896842957, 0.21021857857704163, 0.051841408014297485, 0.1710519641637802, -0.3890227973461151, -0.11744008213281631, 0.171490877866745, -0.14859719574451447, -0.19197876751422882, 0.23583468794822693, -0.019206350669264793, -0.21629764139652252, -0.13209661841392517, 0.10876059532165527, 0.17333108186721802, -0.13022197782993317, -0.14499281346797943, -0.07267691195011139, 0.024288207292556763, -0.2248375117778778, -0.2498970329761505, 0.20690642297267914, 0.20266929268836975, -0.06017367169260979, 0.30189964175224304, 0.19264325499534607, 0.4567122459411621, 0.32696333527565, -0.23701788485050201, -0.5010893940925598, 0.3849177062511444, 0.07221522182226181, -0.1097700446844101, 0.3013996481895447, 0.03569984436035156, 0.3580666780471802, 0.09831410646438599, -0.11209020763635635, -0.18286959826946259, 0.05609392747282982, -0.29746460914611816, -0.15845373272895813, 0.013547207228839397, 0.26465851068496704, 0.1422852873802185, -0.013218003325164318, 0.18703262507915497, -0.07179959118366241, -0.08462736010551453, 0.1064821183681488, -0.11668547242879868, 0.1597784012556076, 0.1785474717617035, 0.038629766553640366, -0.11834453046321869, 0.4441204369068146, -0.222979336977005, 0.044666338711977005, -0.09862054139375687, 0.029679974541068077, -0.16363953053951263, 0.17343895137310028, -0.33917710185050964, 0.5092575550079346, -0.001480049453675747, 0.12336686253547668, 0.35126185417175293, -0.5391409993171692, -0.2455744594335556, 0.39264968037605286, -0.19474177062511444, -0.2705521583557129, 0.09682199358940125, 0.10037019848823547, 0.155648872256279, 0.1725836545228958, 0.09188470244407654, -0.26046380400657654, 0.3029692769050598, 0.11564481258392334, -0.16034120321273804, -0.10795145481824875, -0.14522089064121246, 0.3504330515861511, -0.29214975237846375, -0.29648393392562866, 0.05272496119141579, 0.2699843943119049, 0.02182382345199585, -0.15185636281967163, -0.14351797103881836, 0.5028969645500183, 0.030726730823516846, -0.0013344939798116684, 0.2233332395553589, 0.22157590091228485, -0.09720872342586517, -0.14117400348186493, 0.017116498202085495, -0.07387050241231918, -0.06320603936910629, -0.2520653009414673, -0.20016741752624512, 0.05139822140336037, -0.254302054643631, -0.05901436135172844, 0.29067540168762207, 0.3973298966884613, -0.10271120071411133, -0.00024472386576235294, 0.003308778628706932, 0.013552563264966011, -0.30684152245521545, 0.02008572407066822, -0.36727210879325867, -0.32944387197494507, -0.35105079412460327, 0.18468278646469116, 0.3205816149711609, -0.11872557550668716, 0.3192093074321747, -0.1827775090932846, 0.09981170296669006, -0.03403854742646217, 0.2798307240009308, 0.1712925285100937, 0.41932347416877747, 0.21374663710594177, 0.47290170192718506, 0.12288490682840347, 0.017682626843452454, -0.035956256091594696, 0.060673877596855164, -0.10137750953435898, -0.38126859068870544, 0.2611108422279358, -0.022127600386738777, -0.06824713945388794, 0.17089802026748657, -0.1299849897623062, 0.5622892379760742, 0.07678423076868057, -0.06325305998325348, -0.4986605644226074, -0.1135750263929367, 0.46159493923187256, -0.28989651799201965, 0.3134678602218628, -0.008908298797905445, 0.6481149196624756, 0.42575138807296753, -0.1717212200164795, 0.04925874248147011, -0.11289135366678238, -0.035638220608234406, -0.28853079676628113, 0.1282951831817627, 0.5540051460266113, 0.06642822921276093, 0.13052968680858612, -0.00032858180929906666, 0.039903704077005386, 0.12240103632211685, -0.31205108761787415, 0.25937363505363464, -0.14942045509815216, -0.11581550538539886, 0.1818086951971054, 0.15891918540000916, -0.23973698914051056, -0.4664156138896942, -0.26268959045410156, 0.4870886504650116, 0.1747332215309143, -0.2279512584209442, 0.017387401312589645, -0.5674117207527161, 0.056000448763370514, -0.1100691482424736, 0.12463495135307312, 0.1305200606584549, -0.0980084016919136, 0.3749069571495056, 0.5130389332771301, -0.39965352416038513, 0.24335487186908722, -0.07452894002199173, 0.45821908116340637, 0.0083072604611516, 0.18216107785701752, -0.06819381564855576, -0.22095640003681183, -0.13560321927070618, 0.08715623617172241, 0.08351679891347885, 0.017519323155283928, 0.08020135760307312, -0.20117098093032837, 0.055676039308309555, -0.8106694221496582, -0.2311457097530365, 0.25972896814346313, -0.10397635400295258, -0.023999875411391258, 0.15371447801589966, -0.014267540536820889, -0.32949385046958923, -0.16740551590919495, -0.10500121116638184, 0.3488171398639679, -0.1863442361354828, 0.02972908690571785, -0.21632029116153717, -0.07630600780248642, -0.20445133745670319, -0.49047836661338806, 0.13463668525218964, -0.042049914598464966, 0.07135677337646484, 0.01852218247950077, 0.2153688222169876, 0.047102559357881546, -0.13426943123340607, -0.031507961452007294, -0.18979299068450928, 0.391998827457428, -0.4812588393688202, -0.12072457373142242, -0.0038688145577907562, -0.20700116455554962, -0.2226175218820572, -0.13367842137813568, 0.0720035508275032, 0.049153413623571396, -0.0024380581453442574, -0.5592194199562073, -0.19457997381687164, 0.20489956438541412, -0.17569398880004883, -0.16286328434944153, 0.048768773674964905, 0.1580580174922943, 0.1804489940404892, -0.26372963190078735, -0.06264495849609375, -0.1328992396593094, 0.1776433140039444, -0.07315471023321152, -0.019839808344841003, -0.35401099920272827, -0.04246089980006218, -0.40119054913520813, 0.5179123282432556, 0.5306448340415955, 0.07739962637424469, 0.028399238362908363, -0.00014861137606203556, 0.22688914835453033, 0.08533740788698196, -0.04275260120630264, -0.13034088909626007, 0.10687851905822754, 0.012458798475563526, 0.48272785544395447, -0.16865016520023346, 0.036123309284448624, 0.26029062271118164, 0.2721099853515625, -0.44586381316185, -0.35952070355415344, -0.03132052719593048, -0.06190963461995125, 0.050136808305978775, 0.18621273338794708, 0.42359209060668945, -0.06504344195127487, 0.15929542481899261, 0.0861792340874672, -0.06392610818147659, -0.1368425339460373, -0.2582218050956726, -0.21536968648433685, -0.2551650404930115, -0.09887158125638962, -0.06730002909898758, -0.23430028557777405, 0.20369911193847656, -0.14284944534301758, -0.014225101098418236, 0.15694202482700348, -0.125636488199234, 0.5469282865524292, -0.3425964415073395, 0.22038611769676208, 0.18486322462558746, -0.2851172685623169, -0.1893261969089508, -0.09595917910337448, -0.3678528666496277, 0.046846989542245865, 0.2702488899230957, 0.2703648805618286, -0.2807648777961731, 0.10379645228385925, 0.11020280420780182, -0.148699089884758, -0.1445132941007614, 0.17818854749202728, 0.03836521506309509, -0.527563214302063, -0.30018237233161926, -0.08430366963148117, -0.10588449239730835, -0.05181265249848366, -0.10775557160377502, -0.2082148939371109, 0.03516650199890137, 0.1916031837463379, 0.003857632167637348, 0.5244240760803223, 0.1364586055278778, 0.06572046875953674, 0.07747723162174225, -0.0019824299961328506, 0.15526877343654633, 0.3407367169857025, 0.313286691904068, -0.032207880169153214, -0.15022288262844086, 0.264833927154541, -0.23868638277053833, -0.08887846767902374, 0.41365575790405273, 0.13424630463123322, 0.03709609434008598, 0.05821126326918602, -0.25994664430618286, -0.14940108358860016, 0.03097367286682129, 0.23114769160747528, -0.22007951140403748, 0.21409082412719727, -0.1441061794757843, 0.18656878173351288, 0.14973604679107666, -0.42224615812301636, 0.1449684351682663, 0.13684628903865814, -0.013228602707386017, 0.2561641037464142, -0.08330834656953812, 0.6023225784301758, -0.039578136056661606, -0.0861879512667656, -0.08163721859455109, -0.4113287925720215, 0.6738086342811584, -0.39535170793533325, 0.29298147559165955, -0.5526753067970276, -0.014062567614018917, 0.19846442341804504, -0.025512199848890305, -0.1977650672197342, 0.1383923590183258, -0.023864084854722023, -0.18061545491218567, 0.15470914542675018, 0.17315420508384705, -0.23647451400756836, 0.4904259443283081, 0.00003765286965062842, -0.011025859974324703, 0.07283531874418259, 0.22223803400993347, -0.15125377476215363, 0.040648821741342545, -0.05849446356296539, 0.058808717876672745, 0.057527899742126465, -0.11783119291067123, -0.24855898320674896, -0.022558143362402916, 0.32281118631362915, 0.5424705147743225, -0.304347425699234, -0.27885690331459045, -0.197535440325737, -0.1762848049402237, 0.285429447889328, 0.12963467836380005, -0.26658910512924194, 0.1917099505662918, 0.006005140021443367, 0.27038368582725525, -0.21756014227867126, 0.1310914158821106, 0.05719689652323723, -0.0787467211484909, -0.3337922692298889, -0.34408557415008545, 0.12811321020126343, -0.13308687508106232, -0.20646491646766663, 0.053568266332149506, -0.2520276606082916, -0.19940683245658875, 0.20229624211788177, 0.15025708079338074, -0.18582072854042053, -0.3283712565898895, 0.13616180419921875, -0.15218766033649445, -0.0037556614261120558, 0.15043626725673676, 0.2843228280544281, -0.29181259870529175, -0.14245900511741638, 0.25069281458854675, 0.2722916305065155, 0.21644507348537445, 0.261559396982193, -0.07781850546598434, -0.14871229231357574, -0.45053401589393616, -0.013223018497228622, -0.07340303808450699, -0.02738339640200138, 0.21896106004714966, -0.25217702984809875, -0.28359103202819824, -0.1116577684879303, -0.0014515015063807368, 0.013366910628974438, 0.4285702407360077, -0.11428782343864441, -0.0962141752243042, -0.08888435363769531, 0.1330069601535797, -0.040799353271722794, 0.27899372577667236, 0.2701452970504761, -0.25949016213417053, -0.17530086636543274, 0.06662014871835709, -0.35131171345710754, 0.29435983300209045, -0.19681565463542938, -0.022772938013076782, -0.27793121337890625, -0.10355962067842484, -0.10298241674900055, 0.13834063708782196, 0.22729361057281494, -0.014301019720733166, -0.08010660856962204, -0.25051695108413696, -0.08782399445772171, 0.09561527520418167, -0.06918037682771683, 0.1947329193353653, -0.2894393503665924, -0.07958824932575226, 0.06406846642494202, -0.00278004864230752, 0.3497411906719208, -0.19657044112682343, 0.30892565846443176, 0.13676711916923523, -0.517248272895813, 0.08282776176929474, 0.30678606033325195, -0.2222863733768463, 0.004324367269873619, 0.41850271821022034, 0.2773532569408417, 0.14777842164039612, -0.13836929202079773, -0.09184359014034271, -0.3396000862121582, 0.15289388597011566, 0.1465316116809845, -0.0012593817664310336, -0.0018738902872428298, -0.014418940991163254, -0.21918942034244537, 0.30523523688316345, 0.20122383534908295, 0.552330493927002, -0.38195186853408813, -0.2621743679046631, -0.17488239705562592, 0.255973756313324, -0.25199052691459656, -0.40618377923965454, 0.25071901082992554, -0.11390512436628342, -0.01082011591643095, 0.19011753797531128, 0.3739849030971527, -0.23400536179542542, 0.05337875708937645, 0.005898808129131794, 0.7687289118766785, -0.1526971012353897, 0.1285504847764969, 0.26019400358200073, -0.35897770524024963, -0.26194387674331665, 0.19169451296329498, 0.23243600130081177, 0.15163089334964752, 0.24291324615478516, -0.014158434234559536, 0.20869040489196777, -0.16208994388580322, -0.029987003654241562, 0.28437340259552, -0.09797846525907516, 0.5545276999473572, 0.24892261624336243, 0.1394565850496292, 0.0303745586425066, 0.14766079187393188, -0.07596514374017715, 0.053848788142204285, -0.13234658539295197, -0.42305272817611694, 0.1720896065235138, -0.3459232747554779, -0.14116717875003815, -0.10759106278419495, -0.1320415437221527, 0.2335556447505951, 0.3036576509475708, -0.14242728054523468, 0.12117498368024826, 0.13721410930156708, -0.13000795245170593, -0.279356449842453, -0.6158234477043152, 0.5120312571525574, -0.23124518990516663, 0.15464164316654205, -0.20975282788276672, 0.0908985286951065, 0.037864308804273605, -0.15147089958190918, -0.03931806609034538, 0.4130418002605438, 0.07820640504360199, -0.04754994437098503, 0.10287989675998688, -0.22922156751155853, -0.349006325006485, -0.08713262528181076, 0.0034702878911048174, 0.01571021042764187, 0.01870019920170307, -0.1423036754131317, 0.19403156638145447, 0.11768050491809845, -0.03470069169998169, -0.0607965923845768, 0.4052256643772125, -0.08585818856954575, 0.12550747394561768, 0.08799677342176437, 0.048244718462228775, 0.015070428140461445, 0.10162556916475296, 0.06834729015827179, -0.30809906125068665, -0.38395315408706665, 0.444553941488266, 0.22844937443733215, 0.2502858638763428, -0.18714484572410583, 0.13456767797470093, -0.11756280809640884, 0.3398643434047699, -0.18788497149944305, -0.2491116225719452, 0.12366937100887299, -0.045648153871297836, -0.224286288022995, 0.2900485098361969, -0.2695101499557495, 0.15651246905326843, 0.08880473673343658, 0.2767920196056366, -0.012217894196510315, -0.00503279035910964, 0.07396761327981949, -0.14510782063007355, -0.3199268579483032, -0.05043987184762955, -0.4167861044406891, 0.1225203275680542, 0.0431341826915741, -0.05399409309029579, 0.02569613792002201, 0.11058586835861206, 0.4240986406803131, 0.1119527518749237, 0.013986969366669655, -0.03304939717054367, -0.0363021120429039, 0.05507177859544754, -0.04752817377448082, 0.6355320811271667, 0.148623988032341, 0.12425176799297333, -0.11222711950540543, -0.21837377548217773, -0.17904053628444672, -0.033920347690582275, 0.02335572987794876, 0.45421934127807617, 0.41614529490470886, -0.14780785143375397, 0.11856526881456375, -0.09598876535892487, -0.09301679581403732, 0.17853549122810364, 0.020881883800029755, -0.05404319986701012, -0.24281148612499237, -0.1142026036977768, 0.04894290491938591, 0.06870950013399124, -0.1525379866361618, -0.08362676948308945, -0.053282126784324646, 0.12185686081647873, -0.07434532791376114, -0.4285129904747009, 0.2788439393043518, -0.10683687031269073, -0.1810990422964096, -0.0128397848457098, 0.5089205503463745, -0.2110084593296051, 0.21202591061592102, -0.5162016749382019, 0.1106562465429306, 0.23434573411941528, -0.19982384145259857, -0.289205402135849, 0.24297350645065308, -0.19901271164417267, -0.13869135081768036, -0.05795710161328316, 0.13423198461532593, 0.1745111495256424, -0.2168150693178177, -0.11572977155447006, -0.008382399566471577 ]
https://github.com/huggingface/datasets/issues/2099
load_from_disk takes a long time to load local dataset
Hi ! Can you share more information about the features of your dataset ? You can get them by printing `my_dataset.features` Can you also share the code of your `map` function ?
I have an extremely large tokenized dataset (24M examples) that loads in a few minutes. However, after adding a column similar to `input_ids` (basically a list of integers) and saving the dataset to disk, the load time goes to >1 hour. I've even tried using `np.uint8` after seeing #1985 but it doesn't seem to be helping (the total size seems to be smaller though). Does anyone know what could be the issue? Or does the casting of that column to `int8` need to happen in the function that writes the arrow table instead of in the `map` where I create the list of integers? Tagging @lhoestq since you seem to be working on these issues and PRs :)
32
load_from_disk takes a long time to load local dataset
[ -0.5856128931045532, -0.20367494225502014, -0.24403072893619537, 0.47821635007858276, 0.1767960488796234, -0.04831889644265175, 0.18887558579444885, 0.2827474772930145, 0.45445793867111206, 0.30645495653152466, 0.034059084951877594, 0.1634202003479004, 0.21507051587104797, 0.09686446934938431, -0.21898168325424194, 0.16294585168361664, 0.09121637791395187, 0.16219119727611542, 0.0013111502630636096, -0.3981916904449463, -0.0808764174580574, 0.13782526552677155, 0.01870785467326641, -0.1109025627374649, -0.075887531042099, -0.014572315849363804, 0.06276075541973114, 0.3470310866832733, -0.0846284031867981, -0.08377710729837418, 0.11610571295022964, 0.07488139718770981, 0.02110396884381771, 0.1998784989118576, -0.00010240551637252793, 0.017294691875576973, 0.05367482826113701, 0.14691691100597382, -0.2761973738670349, 0.2981393039226532, 0.22653228044509888, -0.17218782007694244, 0.198621466755867, -0.1903584897518158, -0.12414608895778656, 0.040180351585149765, -0.15079690515995026, -0.43324851989746094, 0.07221908122301102, -0.10482989251613617, 0.2560521960258484, 0.3093648850917816, -0.5081679224967957, -0.23128965497016907, -0.11297297477722168, 0.14498673379421234, -0.14621105790138245, 0.34244370460510254, 0.4828307032585144, -0.0855061486363411, -0.3369525074958801, 0.21999791264533997, -0.15170688927173615, 0.24277575314044952, 0.18567045032978058, 0.15248912572860718, 0.3594578802585602, 0.21518152952194214, 0.2042004019021988, -0.07553692162036896, 0.46458661556243896, 0.11385871469974518, 0.021260464563965797, -0.23019497096538544, -0.18205241858959198, 0.0025815169792622328, 0.3301025629043579, -0.06770505756139755, -0.44226548075675964, 0.1968589723110199, -0.1155402809381485, -0.15594105422496796, -0.1140652522444725, -0.1052636131644249, -0.22814099490642548, -0.10515788197517395, 0.03482576087117195, -0.010621585883200169, 0.3958863914012909, 0.08562935888767242, 0.33362290263175964, -0.04711953550577164, 0.3082456886768341, 0.09184714406728745, -0.2266620546579361, 0.022692974656820297, 0.31962668895721436, 0.05021420866250992, -0.006726481020450592, 0.03900638222694397, 0.043741170316934586, 0.37230461835861206, 0.031687162816524506, -0.09430031478404999, 0.13866406679153442, 0.13470220565795898, -0.020370857790112495, -0.08267077803611755, 0.10126563161611557, -0.09030422568321228, -0.32351529598236084, 0.04040379449725151, -0.10024058073759079, -0.18791383504867554, 0.1765689253807068, -0.09282715618610382, -0.08308032900094986, -0.1895492970943451, -0.05088275671005249, 0.12577016651630402, 0.44018709659576416, -0.12730994820594788, 0.0749310702085495, 0.39735516905784607, -0.09081088751554489, 0.23895876109600067, -0.09122160822153091, -0.17665721476078033, -0.3562319874763489, -0.009346062317490578, -0.27961552143096924, -0.2793509066104889, -0.09750815480947495, 0.10947690159082413, 0.20758867263793945, -0.05835168436169624, 0.027540355920791626, -0.09956201910972595, -0.15542879700660706, 0.05014028027653694, 0.010977715253829956, -0.2455742359161377, 0.14283588528633118, 0.12631286680698395, -0.014178423210978508, 0.2620793581008911, 0.21154755353927612, -0.009617030620574951, -0.35285207629203796, 0.2507162094116211, -0.17526474595069885, -0.4241773188114166, -0.10655561834573746, 0.3505895137786865, -0.07499141246080399, 0.07069616764783859, -0.14438889920711517, -0.2361668199300766, -0.22503171861171722, -0.0831165537238121, -0.4406069219112396, 0.09423250705003738, -0.29403290152549744, 0.009052290581166744, 0.1315770298242569, 0.45882752537727356, -0.4264954924583435, 0.251181960105896, -0.17094732820987701, -0.14283564686775208, 0.3465871214866638, 0.3973427414894104, -0.2935294806957245, 0.34271445870399475, -0.3431713581085205, -0.04058009758591652, 0.22073130309581757, -0.3553893566131592, -0.33207300305366516, 0.7877496480941772, -0.3369447588920593, -0.19586020708084106, 0.2534971237182617, 0.20765428245067596, 0.11251647025346756, 0.05968879908323288, 0.22439946234226227, 0.5816436409950256, 0.015514878556132317, 0.27810704708099365, -0.398936003446579, -0.028913132846355438, -0.13110099732875824, 0.523442804813385, -0.24356454610824585, 0.17092560231685638, 0.19031375646591187, 0.07293490320444107, 0.35667967796325684, -0.015064670704305172, -0.12927713990211487, 0.24651800096035004, 0.08936887979507446, -0.20453689992427826, -0.1132071316242218, 0.16572129726409912, -0.323553204536438, 0.23866453766822815, 0.24516381323337555, -0.10002497583627701, -0.06427086144685745, 0.028640467673540115, -0.3501931428909302, 0.30222246050834656, -0.22342447936534882, 0.2532980442047119, 0.14433863759040833, 0.39181065559387207, 0.12037267535924911, -0.04272914305329323, 0.07534196227788925, 0.040679894387722015, -0.2452620267868042, -0.15905450284481049, -0.10542289167642593, 0.1945764273405075, -0.011345912702381611, -0.00021552189718931913, -0.075065977871418, -0.15602529048919678, -0.03496218100190163, -0.14426890015602112, -0.09668667614459991, 0.16506598889827728, 0.08496838063001633, 0.42740336060523987, 0.21870845556259155, -0.10041189938783646, 0.07772960513830185, 0.09243419021368027, 0.30985620617866516, -0.09846484661102295, 0.17284050583839417, -0.2514275014400482, -0.2805618643760681, 0.3028514087200165, -0.14557898044586182, 0.32503578066825867, 0.06263865530490875, -0.37484613060951233, 0.3930567800998688, 0.05478217825293541, 0.24207453429698944, -0.1736396849155426, 0.261778324842453, 0.3628542125225067, 0.3858488202095032, 0.3941855728626251, -0.018588868901133537, 0.14894263446331024, 0.3987658619880676, -0.2414846420288086, -0.16931912302970886, 0.021793166175484657, 0.18789459764957428, -0.22380712628364563, 0.22389674186706543, 0.1761811375617981, 0.23619624972343445, 0.29925596714019775, 0.1944279819726944, -0.16702131927013397, -0.028512295335531235, -0.20386168360710144, 0.037998300045728683, -0.23908837139606476, 0.12496764957904816, 0.3064337372779846, 0.003911287058144808, -0.259014755487442, -0.5046109557151794, -0.09919819235801697, 0.10590551048517227, 0.2091061919927597, -0.06453359872102737, -0.005677550099790096, -0.17957733571529388, 0.09467775374650955, -0.10354053974151611, 0.15984097123146057, 0.1681727021932602, -0.23965369164943695, -0.07246007770299911, 0.2824484407901764, -0.13683195412158966, -0.014580055139958858, 0.10965393483638763, 0.14485664665699005, 0.17627592384815216, -0.4780442416667938, -0.04554355889558792, -0.146246999502182, -0.14734362065792084, 0.11650170385837555, 0.259427547454834, 0.14803193509578705, 0.24197687208652496, -0.23906904458999634, -0.02238120138645172, -0.16476601362228394, 0.08420275151729584, 0.07070273905992508, 0.08861061185598373, 0.08076851814985275, -0.2194877564907074, 0.32003509998321533, -0.18748390674591064, -0.1462051272392273, 0.313222199678421, -0.3135420083999634, -0.26468920707702637, 0.06727834790945053, -0.06887324154376984, -0.015146801248192787, -0.1654348522424698, -0.19766414165496826, -0.21345993876457214, -0.4104618430137634, 0.0009061354212462902, 0.07633436471223831, 0.2453383058309555, -0.005493191070854664, 0.09226485341787338, -0.06773695349693298, 0.2888622581958771, 0.12056948244571686, -0.3102566599845886, -0.4478447735309601, 0.19906772673130035, -0.0517461858689785, -0.24814315140247345, -0.11843560636043549, 0.07623201608657837, 0.08925535529851913, 0.08616813272237778, -0.5013342499732971, -0.1631949096918106, -0.20782025158405304, 0.3350377082824707, -0.1392768919467926, -0.043603263795375824, 0.21183380484580994, 0.06777746230363846, -0.18486341834068298, 0.14609596133232117, -0.18126967549324036, 0.08364686369895935, -0.03723800554871559, -0.26991814374923706, -0.225733682513237, 0.3486514985561371, -0.21846431493759155, 0.28201961517333984, -0.35935312509536743, 0.13416674733161926, 0.1345384418964386, -0.008075796999037266, 0.330022931098938, -0.39150574803352356, -0.0871746614575386, -0.1108795776963234, 0.19641157984733582, -0.5013186931610107, 0.29157310724258423, -0.03573516011238098, -0.3783460557460785, -0.15168102085590363, 0.024884041398763657, -0.15612943470478058, -0.19325245916843414, 0.09188700467348099, 0.18480803072452545, -0.006307991687208414, 0.09071820229291916, 0.3403111398220062, -0.17105038464069366, -0.05748409405350685, 0.039870575070381165, -0.15826943516731262, 0.01503708679229021, -0.2400067001581192, -0.5269549489021301, 0.08843539655208588, -0.42742258310317993, -0.0507657453417778, -0.12137550860643387, 0.13425245881080627, -0.05693962052464485, -0.3497202694416046, 0.44954586029052734, -0.14920011162757874, 0.6727444529533386, 0.2142534852027893, 0.4612819254398346, 0.06802577525377274, -0.39061400294303894, -0.3541282117366791, 0.043632622808218, 0.10885836184024811, -0.11793477088212967, -0.13977159559726715, 0.5781159996986389, 0.05173780024051666, -0.1678285151720047, -0.0577872097492218, 0.3243645131587982, -0.15779651701450348, -0.24621520936489105, -0.10873454809188843, -0.29684796929359436, -0.20273612439632416, -0.036259327083826065, -0.20298758149147034, 0.311124324798584, 0.15661904215812683, -0.19160285592079163, -0.05041787773370743, 0.11008573323488235, 0.02286136895418167, 0.19815300405025482, 0.2057095319032669, -0.14429396390914917, 0.4285476803779602, -0.05954870954155922, 0.305581271648407, 0.01298237033188343, 0.5461338758468628, -0.30853965878486633, 0.20086334645748138, 0.4360332787036896, -0.12778253853321075, -0.11766085773706436, 0.40674516558647156, 0.31318792700767517, -0.1830914318561554, 0.0588083378970623, 0.18639615178108215, -0.39337727427482605, 0.24591057002544403, -0.1399656981229782, -0.11893317848443985, 0.11436718702316284, -0.17985542118549347, 0.20760475099086761, -0.10498230159282684, -0.09419170767068863, 0.07204762101173401, -0.2691001296043396, 0.09043721854686737, 0.49460896849632263, -0.035184819251298904, 0.6911956071853638, -0.3414730429649353, 0.1503550261259079, 0.21741686761379242, 0.1756550371646881, -0.23813535273075104, -0.25466933846473694, 0.004886134993284941, -0.26940444111824036, -0.06781232357025146, 0.15588416159152985, -0.0726548284292221, -0.09434859454631805, 0.2516276240348816, 0.22487616539001465, -0.12873287498950958, 0.1090303286910057, 0.24066714942455292, -0.30293428897857666, 0.34563177824020386, 0.05334612354636192, -0.29842492938041687, -0.41981741786003113, 0.17549513280391693, 0.09728368371725082, 0.12157522886991501, -0.07834994792938232, 0.21097606420516968, 0.07893561571836472, -0.16453365981578827, 0.24581485986709595, 0.017731012776494026, -0.002132839523255825, 0.2982238531112671, -0.21247541904449463, -0.2756848931312561, -0.6322296857833862, 0.22885461151599884, -0.08023597300052643, 0.15270017087459564, -0.035972125828266144, 0.23448270559310913, -0.13210667669773102, 0.19548028707504272, -0.11201956123113632, -0.18844634294509888, 0.08104866743087769, -0.2131163775920868, -0.0710769072175026, -0.1229095607995987, -0.275407612323761, -0.43783140182495117, 0.1342281997203827, 0.303778737783432, 0.011965087614953518, 0.052367549389600754, -0.31578174233436584, -0.06763660162687302, 0.02878098003566265, -0.01994968019425869, 0.2189098298549652, 0.21946826577186584, 0.12883393466472626, 0.13894222676753998, 0.18447786569595337, -0.46849024295806885, -0.1213822215795517, 0.5030476450920105, 0.1875782012939453, -0.08038412779569626, 0.22375881671905518, -0.0710769072175026, -0.18263082206249237, -0.3824419379234314, 0.02956538088619709, 0.29893958568573, -0.26962873339653015, 0.023548632860183716, 0.008035751059651375, -0.13415645062923431, 0.20956870913505554, 0.10999307781457901, 0.22684651613235474, -0.10389931499958038, -0.02326199971139431, -0.19054006040096283, -0.25000160932540894, -0.1079346165060997, 0.10347840934991837, -0.020288214087486267, 0.3010765314102173, -0.2749500870704651, -0.18486811220645905, 0.1389957219362259, -0.4147641658782959, 0.06507624685764313, -0.2658134996891022, -0.034709759056568146, 0.05858026072382927, -0.13252419233322144, 0.3269329369068146, -0.07506226003170013, 0.30046603083610535, -0.11050517857074738, -0.22013235092163086, -0.3393394947052002, 0.29848727583885193, 0.062395352870225906, -0.18677306175231934, 0.01392672210931778, -0.1327623426914215, -0.41403332352638245, 0.014567379839718342, -0.15950638055801392, 0.07918905466794968, 0.045140791684389114, 0.028467532247304916, -0.2707531154155731, 0.2062561810016632, 0.32901033759117126, -0.007678885944187641, 0.2679637372493744, -0.042429376393556595, 0.3369080126285553, -0.19221021234989166, -0.11081665009260178, 0.01965978741645813, -0.21431924402713776, 0.01516104768961668, -0.0014849200379103422, 0.12640973925590515, 0.13080677390098572, 0.2855032980442047, -0.027243752032518387, -0.05010875687003136, 0.39106622338294983, 0.4355258345603943, 0.012359739281237125, 0.10469590872526169, -0.17729288339614868, 0.05770472064614296, 0.3081417977809906, -0.017930490896105766, -0.39155346155166626, 0.0206766240298748, -0.3698683977127075, 0.09942883998155594, 0.07912009954452515, 0.2854667007923126, -0.1419379711151123, 0.18239465355873108, 0.10738089680671692, 0.47492143511772156, 0.022086525335907936, -0.38441047072410583, 0.41124269366264343, -0.06299839168787003, -0.08028130978345871, 0.14543287456035614, 0.2215457558631897, 0.16096681356430054, 0.6497934460639954, -0.10145743191242218, 0.24058859050273895, -0.07579409331083298, 0.48594316840171814, -0.35107582807540894, -0.5745469331741333, 0.4753831624984741, 0.2757487893104553, -0.3004661798477173, -0.11403633654117584, -0.17812664806842804, -0.11043622344732285, -0.31417903304100037, -0.15727417171001434, -0.2629573941230774, 0.06367655843496323, -0.313510924577713, -0.04035542160272598, -0.08091745525598526, -0.06373884528875351, 0.04435866326093674, 0.19022846221923828, -0.14773467183113098, -0.01679389178752899, -0.008415719494223595, -0.04477328062057495, -0.023792991414666176, 0.29256799817085266, -0.05362985283136368, -0.153213232755661, -0.18628324568271637, -0.331941694021225, 0.01570695824921131, -0.17202141880989075, 0.01380096934735775, 0.1390441209077835, -0.22014844417572021, 0.14268916845321655, 0.36536186933517456, -0.03833357244729996, -0.05889203026890755, 0.09196750074625015, -0.12608933448791504, -0.3668053150177002, 0.15041224658489227, -0.1670314073562622, 0.3416514992713928, 0.4224233627319336, 0.1932174265384674, -0.33691859245300293, -0.09664490818977356, 0.1376282125711441, 0.07279836386442184, 0.0785730704665184, 0.03994283452630043, 0.1765439361333847, -0.0780860111117363, -0.19384916126728058, 0.01364157348871231, -0.26516488194465637, -0.2839047908782959, 0.20223015546798706, -0.15783405303955078, 0.2726135849952698, -0.039212796837091446, 0.12298274785280228, -0.3009854555130005, 0.7088284492492676, 0.12594109773635864, -0.06830360740423203, -0.15891467034816742, -0.25044378638267517, -0.6658980846405029, 0.202621728181839, -0.007899675518274307, 0.1699085235595703, 0.07500024139881134, 0.3187476396560669, 0.3639798164367676, 0.1394272893667221, -0.2345000058412552, -0.002510171150788665, 0.05789432302117348, -0.06606645882129669, -0.1538008600473404, -0.04683378338813782, -0.015987679362297058, -0.16988661885261536, -0.1197023019194603, -0.6450055837631226, 0.3803485929965973, -0.09634590893983841, 0.25817108154296875, 0.009612282738089561, -0.06193666160106659, -0.09479514509439468, 0.32874253392219543, 0.3730330467224121, 0.08312555402517319, 0.18971854448318481, 0.023817459121346474, -0.014976158738136292, 0.12071966379880905, -0.041690513491630554, 0.1928779035806656, -0.09822042286396027, 0.016912361606955528, -0.019819261506199837, -0.05766529217362404, 0.2845669388771057, -0.10961876809597015, 0.21554622054100037, -0.04794381931424141, 0.1716851145029068, -0.024310937151312828, -0.06618724763393402, -0.09104622900485992, 0.040596336126327515, 0.3473609983921051, 0.0999656617641449, 0.20879918336868286, -0.0954706221818924, -0.12204620987176895, -0.09967828541994095, 0.1947554349899292, 0.10891450196504593, -0.1387820541858673, -0.048521872609853745, 0.15748658776283264, -0.05017564073204994, 0.14048321545124054, -0.08300691097974777, 0.1270347237586975, 0.2580341696739197, -0.10874797403812408, 0.07937394827604294, 0.40920498967170715, -0.13485607504844666, 0.00745331309735775, -0.01702093333005905, 0.12098443508148193, -0.07824128121137619, -0.1862582117319107, -0.32879024744033813, -0.18342681229114532 ]
https://github.com/huggingface/datasets/issues/2099
load_from_disk takes a long time to load local dataset
It is actually just the tokenized `wikipedia` dataset with `input_ids`, `attention_mask`, etc, with one extra column which is a list of integers. The `text` column is removed during tokenization. ``` def add_len_and_seq(example): end_idx = example['input_ids'].index(SEP) example['actual_len'] = end_idx-1 seq_len = len(example['input_ids']) example['seq'] = [PAD_ID] + [np.uint8(example['some_integer'])]*(end_idx-1) + [PAD_ID]*(seq_len-end_idx) return example ```
I have an extremely large tokenized dataset (24M examples) that loads in a few minutes. However, after adding a column similar to `input_ids` (basically a list of integers) and saving the dataset to disk, the load time goes to >1 hour. I've even tried using `np.uint8` after seeing #1985 but it doesn't seem to be helping (the total size seems to be smaller though). Does anyone know what could be the issue? Or does the casting of that column to `int8` need to happen in the function that writes the arrow table instead of in the `map` where I create the list of integers? Tagging @lhoestq since you seem to be working on these issues and PRs :)
51
load_from_disk takes a long time to load local dataset
[ -0.5856128931045532, -0.20367494225502014, -0.24403072893619537, 0.47821635007858276, 0.1767960488796234, -0.04831889644265175, 0.18887558579444885, 0.2827474772930145, 0.45445793867111206, 0.30645495653152466, 0.034059084951877594, 0.1634202003479004, 0.21507051587104797, 0.09686446934938431, -0.21898168325424194, 0.16294585168361664, 0.09121637791395187, 0.16219119727611542, 0.0013111502630636096, -0.3981916904449463, -0.0808764174580574, 0.13782526552677155, 0.01870785467326641, -0.1109025627374649, -0.075887531042099, -0.014572315849363804, 0.06276075541973114, 0.3470310866832733, -0.0846284031867981, -0.08377710729837418, 0.11610571295022964, 0.07488139718770981, 0.02110396884381771, 0.1998784989118576, -0.00010240551637252793, 0.017294691875576973, 0.05367482826113701, 0.14691691100597382, -0.2761973738670349, 0.2981393039226532, 0.22653228044509888, -0.17218782007694244, 0.198621466755867, -0.1903584897518158, -0.12414608895778656, 0.040180351585149765, -0.15079690515995026, -0.43324851989746094, 0.07221908122301102, -0.10482989251613617, 0.2560521960258484, 0.3093648850917816, -0.5081679224967957, -0.23128965497016907, -0.11297297477722168, 0.14498673379421234, -0.14621105790138245, 0.34244370460510254, 0.4828307032585144, -0.0855061486363411, -0.3369525074958801, 0.21999791264533997, -0.15170688927173615, 0.24277575314044952, 0.18567045032978058, 0.15248912572860718, 0.3594578802585602, 0.21518152952194214, 0.2042004019021988, -0.07553692162036896, 0.46458661556243896, 0.11385871469974518, 0.021260464563965797, -0.23019497096538544, -0.18205241858959198, 0.0025815169792622328, 0.3301025629043579, -0.06770505756139755, -0.44226548075675964, 0.1968589723110199, -0.1155402809381485, -0.15594105422496796, -0.1140652522444725, -0.1052636131644249, -0.22814099490642548, -0.10515788197517395, 0.03482576087117195, -0.010621585883200169, 0.3958863914012909, 0.08562935888767242, 0.33362290263175964, -0.04711953550577164, 0.3082456886768341, 0.09184714406728745, -0.2266620546579361, 0.022692974656820297, 0.31962668895721436, 0.05021420866250992, -0.006726481020450592, 0.03900638222694397, 0.043741170316934586, 0.37230461835861206, 0.031687162816524506, -0.09430031478404999, 0.13866406679153442, 0.13470220565795898, -0.020370857790112495, -0.08267077803611755, 0.10126563161611557, -0.09030422568321228, -0.32351529598236084, 0.04040379449725151, -0.10024058073759079, -0.18791383504867554, 0.1765689253807068, -0.09282715618610382, -0.08308032900094986, -0.1895492970943451, -0.05088275671005249, 0.12577016651630402, 0.44018709659576416, -0.12730994820594788, 0.0749310702085495, 0.39735516905784607, -0.09081088751554489, 0.23895876109600067, -0.09122160822153091, -0.17665721476078033, -0.3562319874763489, -0.009346062317490578, -0.27961552143096924, -0.2793509066104889, -0.09750815480947495, 0.10947690159082413, 0.20758867263793945, -0.05835168436169624, 0.027540355920791626, -0.09956201910972595, -0.15542879700660706, 0.05014028027653694, 0.010977715253829956, -0.2455742359161377, 0.14283588528633118, 0.12631286680698395, -0.014178423210978508, 0.2620793581008911, 0.21154755353927612, -0.009617030620574951, -0.35285207629203796, 0.2507162094116211, -0.17526474595069885, -0.4241773188114166, -0.10655561834573746, 0.3505895137786865, -0.07499141246080399, 0.07069616764783859, -0.14438889920711517, -0.2361668199300766, -0.22503171861171722, -0.0831165537238121, -0.4406069219112396, 0.09423250705003738, -0.29403290152549744, 0.009052290581166744, 0.1315770298242569, 0.45882752537727356, -0.4264954924583435, 0.251181960105896, -0.17094732820987701, -0.14283564686775208, 0.3465871214866638, 0.3973427414894104, -0.2935294806957245, 0.34271445870399475, -0.3431713581085205, -0.04058009758591652, 0.22073130309581757, -0.3553893566131592, -0.33207300305366516, 0.7877496480941772, -0.3369447588920593, -0.19586020708084106, 0.2534971237182617, 0.20765428245067596, 0.11251647025346756, 0.05968879908323288, 0.22439946234226227, 0.5816436409950256, 0.015514878556132317, 0.27810704708099365, -0.398936003446579, -0.028913132846355438, -0.13110099732875824, 0.523442804813385, -0.24356454610824585, 0.17092560231685638, 0.19031375646591187, 0.07293490320444107, 0.35667967796325684, -0.015064670704305172, -0.12927713990211487, 0.24651800096035004, 0.08936887979507446, -0.20453689992427826, -0.1132071316242218, 0.16572129726409912, -0.323553204536438, 0.23866453766822815, 0.24516381323337555, -0.10002497583627701, -0.06427086144685745, 0.028640467673540115, -0.3501931428909302, 0.30222246050834656, -0.22342447936534882, 0.2532980442047119, 0.14433863759040833, 0.39181065559387207, 0.12037267535924911, -0.04272914305329323, 0.07534196227788925, 0.040679894387722015, -0.2452620267868042, -0.15905450284481049, -0.10542289167642593, 0.1945764273405075, -0.011345912702381611, -0.00021552189718931913, -0.075065977871418, -0.15602529048919678, -0.03496218100190163, -0.14426890015602112, -0.09668667614459991, 0.16506598889827728, 0.08496838063001633, 0.42740336060523987, 0.21870845556259155, -0.10041189938783646, 0.07772960513830185, 0.09243419021368027, 0.30985620617866516, -0.09846484661102295, 0.17284050583839417, -0.2514275014400482, -0.2805618643760681, 0.3028514087200165, -0.14557898044586182, 0.32503578066825867, 0.06263865530490875, -0.37484613060951233, 0.3930567800998688, 0.05478217825293541, 0.24207453429698944, -0.1736396849155426, 0.261778324842453, 0.3628542125225067, 0.3858488202095032, 0.3941855728626251, -0.018588868901133537, 0.14894263446331024, 0.3987658619880676, -0.2414846420288086, -0.16931912302970886, 0.021793166175484657, 0.18789459764957428, -0.22380712628364563, 0.22389674186706543, 0.1761811375617981, 0.23619624972343445, 0.29925596714019775, 0.1944279819726944, -0.16702131927013397, -0.028512295335531235, -0.20386168360710144, 0.037998300045728683, -0.23908837139606476, 0.12496764957904816, 0.3064337372779846, 0.003911287058144808, -0.259014755487442, -0.5046109557151794, -0.09919819235801697, 0.10590551048517227, 0.2091061919927597, -0.06453359872102737, -0.005677550099790096, -0.17957733571529388, 0.09467775374650955, -0.10354053974151611, 0.15984097123146057, 0.1681727021932602, -0.23965369164943695, -0.07246007770299911, 0.2824484407901764, -0.13683195412158966, -0.014580055139958858, 0.10965393483638763, 0.14485664665699005, 0.17627592384815216, -0.4780442416667938, -0.04554355889558792, -0.146246999502182, -0.14734362065792084, 0.11650170385837555, 0.259427547454834, 0.14803193509578705, 0.24197687208652496, -0.23906904458999634, -0.02238120138645172, -0.16476601362228394, 0.08420275151729584, 0.07070273905992508, 0.08861061185598373, 0.08076851814985275, -0.2194877564907074, 0.32003509998321533, -0.18748390674591064, -0.1462051272392273, 0.313222199678421, -0.3135420083999634, -0.26468920707702637, 0.06727834790945053, -0.06887324154376984, -0.015146801248192787, -0.1654348522424698, -0.19766414165496826, -0.21345993876457214, -0.4104618430137634, 0.0009061354212462902, 0.07633436471223831, 0.2453383058309555, -0.005493191070854664, 0.09226485341787338, -0.06773695349693298, 0.2888622581958771, 0.12056948244571686, -0.3102566599845886, -0.4478447735309601, 0.19906772673130035, -0.0517461858689785, -0.24814315140247345, -0.11843560636043549, 0.07623201608657837, 0.08925535529851913, 0.08616813272237778, -0.5013342499732971, -0.1631949096918106, -0.20782025158405304, 0.3350377082824707, -0.1392768919467926, -0.043603263795375824, 0.21183380484580994, 0.06777746230363846, -0.18486341834068298, 0.14609596133232117, -0.18126967549324036, 0.08364686369895935, -0.03723800554871559, -0.26991814374923706, -0.225733682513237, 0.3486514985561371, -0.21846431493759155, 0.28201961517333984, -0.35935312509536743, 0.13416674733161926, 0.1345384418964386, -0.008075796999037266, 0.330022931098938, -0.39150574803352356, -0.0871746614575386, -0.1108795776963234, 0.19641157984733582, -0.5013186931610107, 0.29157310724258423, -0.03573516011238098, -0.3783460557460785, -0.15168102085590363, 0.024884041398763657, -0.15612943470478058, -0.19325245916843414, 0.09188700467348099, 0.18480803072452545, -0.006307991687208414, 0.09071820229291916, 0.3403111398220062, -0.17105038464069366, -0.05748409405350685, 0.039870575070381165, -0.15826943516731262, 0.01503708679229021, -0.2400067001581192, -0.5269549489021301, 0.08843539655208588, -0.42742258310317993, -0.0507657453417778, -0.12137550860643387, 0.13425245881080627, -0.05693962052464485, -0.3497202694416046, 0.44954586029052734, -0.14920011162757874, 0.6727444529533386, 0.2142534852027893, 0.4612819254398346, 0.06802577525377274, -0.39061400294303894, -0.3541282117366791, 0.043632622808218, 0.10885836184024811, -0.11793477088212967, -0.13977159559726715, 0.5781159996986389, 0.05173780024051666, -0.1678285151720047, -0.0577872097492218, 0.3243645131587982, -0.15779651701450348, -0.24621520936489105, -0.10873454809188843, -0.29684796929359436, -0.20273612439632416, -0.036259327083826065, -0.20298758149147034, 0.311124324798584, 0.15661904215812683, -0.19160285592079163, -0.05041787773370743, 0.11008573323488235, 0.02286136895418167, 0.19815300405025482, 0.2057095319032669, -0.14429396390914917, 0.4285476803779602, -0.05954870954155922, 0.305581271648407, 0.01298237033188343, 0.5461338758468628, -0.30853965878486633, 0.20086334645748138, 0.4360332787036896, -0.12778253853321075, -0.11766085773706436, 0.40674516558647156, 0.31318792700767517, -0.1830914318561554, 0.0588083378970623, 0.18639615178108215, -0.39337727427482605, 0.24591057002544403, -0.1399656981229782, -0.11893317848443985, 0.11436718702316284, -0.17985542118549347, 0.20760475099086761, -0.10498230159282684, -0.09419170767068863, 0.07204762101173401, -0.2691001296043396, 0.09043721854686737, 0.49460896849632263, -0.035184819251298904, 0.6911956071853638, -0.3414730429649353, 0.1503550261259079, 0.21741686761379242, 0.1756550371646881, -0.23813535273075104, -0.25466933846473694, 0.004886134993284941, -0.26940444111824036, -0.06781232357025146, 0.15588416159152985, -0.0726548284292221, -0.09434859454631805, 0.2516276240348816, 0.22487616539001465, -0.12873287498950958, 0.1090303286910057, 0.24066714942455292, -0.30293428897857666, 0.34563177824020386, 0.05334612354636192, -0.29842492938041687, -0.41981741786003113, 0.17549513280391693, 0.09728368371725082, 0.12157522886991501, -0.07834994792938232, 0.21097606420516968, 0.07893561571836472, -0.16453365981578827, 0.24581485986709595, 0.017731012776494026, -0.002132839523255825, 0.2982238531112671, -0.21247541904449463, -0.2756848931312561, -0.6322296857833862, 0.22885461151599884, -0.08023597300052643, 0.15270017087459564, -0.035972125828266144, 0.23448270559310913, -0.13210667669773102, 0.19548028707504272, -0.11201956123113632, -0.18844634294509888, 0.08104866743087769, -0.2131163775920868, -0.0710769072175026, -0.1229095607995987, -0.275407612323761, -0.43783140182495117, 0.1342281997203827, 0.303778737783432, 0.011965087614953518, 0.052367549389600754, -0.31578174233436584, -0.06763660162687302, 0.02878098003566265, -0.01994968019425869, 0.2189098298549652, 0.21946826577186584, 0.12883393466472626, 0.13894222676753998, 0.18447786569595337, -0.46849024295806885, -0.1213822215795517, 0.5030476450920105, 0.1875782012939453, -0.08038412779569626, 0.22375881671905518, -0.0710769072175026, -0.18263082206249237, -0.3824419379234314, 0.02956538088619709, 0.29893958568573, -0.26962873339653015, 0.023548632860183716, 0.008035751059651375, -0.13415645062923431, 0.20956870913505554, 0.10999307781457901, 0.22684651613235474, -0.10389931499958038, -0.02326199971139431, -0.19054006040096283, -0.25000160932540894, -0.1079346165060997, 0.10347840934991837, -0.020288214087486267, 0.3010765314102173, -0.2749500870704651, -0.18486811220645905, 0.1389957219362259, -0.4147641658782959, 0.06507624685764313, -0.2658134996891022, -0.034709759056568146, 0.05858026072382927, -0.13252419233322144, 0.3269329369068146, -0.07506226003170013, 0.30046603083610535, -0.11050517857074738, -0.22013235092163086, -0.3393394947052002, 0.29848727583885193, 0.062395352870225906, -0.18677306175231934, 0.01392672210931778, -0.1327623426914215, -0.41403332352638245, 0.014567379839718342, -0.15950638055801392, 0.07918905466794968, 0.045140791684389114, 0.028467532247304916, -0.2707531154155731, 0.2062561810016632, 0.32901033759117126, -0.007678885944187641, 0.2679637372493744, -0.042429376393556595, 0.3369080126285553, -0.19221021234989166, -0.11081665009260178, 0.01965978741645813, -0.21431924402713776, 0.01516104768961668, -0.0014849200379103422, 0.12640973925590515, 0.13080677390098572, 0.2855032980442047, -0.027243752032518387, -0.05010875687003136, 0.39106622338294983, 0.4355258345603943, 0.012359739281237125, 0.10469590872526169, -0.17729288339614868, 0.05770472064614296, 0.3081417977809906, -0.017930490896105766, -0.39155346155166626, 0.0206766240298748, -0.3698683977127075, 0.09942883998155594, 0.07912009954452515, 0.2854667007923126, -0.1419379711151123, 0.18239465355873108, 0.10738089680671692, 0.47492143511772156, 0.022086525335907936, -0.38441047072410583, 0.41124269366264343, -0.06299839168787003, -0.08028130978345871, 0.14543287456035614, 0.2215457558631897, 0.16096681356430054, 0.6497934460639954, -0.10145743191242218, 0.24058859050273895, -0.07579409331083298, 0.48594316840171814, -0.35107582807540894, -0.5745469331741333, 0.4753831624984741, 0.2757487893104553, -0.3004661798477173, -0.11403633654117584, -0.17812664806842804, -0.11043622344732285, -0.31417903304100037, -0.15727417171001434, -0.2629573941230774, 0.06367655843496323, -0.313510924577713, -0.04035542160272598, -0.08091745525598526, -0.06373884528875351, 0.04435866326093674, 0.19022846221923828, -0.14773467183113098, -0.01679389178752899, -0.008415719494223595, -0.04477328062057495, -0.023792991414666176, 0.29256799817085266, -0.05362985283136368, -0.153213232755661, -0.18628324568271637, -0.331941694021225, 0.01570695824921131, -0.17202141880989075, 0.01380096934735775, 0.1390441209077835, -0.22014844417572021, 0.14268916845321655, 0.36536186933517456, -0.03833357244729996, -0.05889203026890755, 0.09196750074625015, -0.12608933448791504, -0.3668053150177002, 0.15041224658489227, -0.1670314073562622, 0.3416514992713928, 0.4224233627319336, 0.1932174265384674, -0.33691859245300293, -0.09664490818977356, 0.1376282125711441, 0.07279836386442184, 0.0785730704665184, 0.03994283452630043, 0.1765439361333847, -0.0780860111117363, -0.19384916126728058, 0.01364157348871231, -0.26516488194465637, -0.2839047908782959, 0.20223015546798706, -0.15783405303955078, 0.2726135849952698, -0.039212796837091446, 0.12298274785280228, -0.3009854555130005, 0.7088284492492676, 0.12594109773635864, -0.06830360740423203, -0.15891467034816742, -0.25044378638267517, -0.6658980846405029, 0.202621728181839, -0.007899675518274307, 0.1699085235595703, 0.07500024139881134, 0.3187476396560669, 0.3639798164367676, 0.1394272893667221, -0.2345000058412552, -0.002510171150788665, 0.05789432302117348, -0.06606645882129669, -0.1538008600473404, -0.04683378338813782, -0.015987679362297058, -0.16988661885261536, -0.1197023019194603, -0.6450055837631226, 0.3803485929965973, -0.09634590893983841, 0.25817108154296875, 0.009612282738089561, -0.06193666160106659, -0.09479514509439468, 0.32874253392219543, 0.3730330467224121, 0.08312555402517319, 0.18971854448318481, 0.023817459121346474, -0.014976158738136292, 0.12071966379880905, -0.041690513491630554, 0.1928779035806656, -0.09822042286396027, 0.016912361606955528, -0.019819261506199837, -0.05766529217362404, 0.2845669388771057, -0.10961876809597015, 0.21554622054100037, -0.04794381931424141, 0.1716851145029068, -0.024310937151312828, -0.06618724763393402, -0.09104622900485992, 0.040596336126327515, 0.3473609983921051, 0.0999656617641449, 0.20879918336868286, -0.0954706221818924, -0.12204620987176895, -0.09967828541994095, 0.1947554349899292, 0.10891450196504593, -0.1387820541858673, -0.048521872609853745, 0.15748658776283264, -0.05017564073204994, 0.14048321545124054, -0.08300691097974777, 0.1270347237586975, 0.2580341696739197, -0.10874797403812408, 0.07937394827604294, 0.40920498967170715, -0.13485607504844666, 0.00745331309735775, -0.01702093333005905, 0.12098443508148193, -0.07824128121137619, -0.1862582117319107, -0.32879024744033813, -0.18342681229114532 ]
https://github.com/huggingface/datasets/issues/2099
load_from_disk takes a long time to load local dataset
Is `PAD_ID` a python integer ? You need all the integers in `example['seq']` to have the same type. Does this work if you remove the `np.uint8` and use python integers instead ?
I have an extremely large tokenized dataset (24M examples) that loads in a few minutes. However, after adding a column similar to `input_ids` (basically a list of integers) and saving the dataset to disk, the load time goes to >1 hour. I've even tried using `np.uint8` after seeing #1985 but it doesn't seem to be helping (the total size seems to be smaller though). Does anyone know what could be the issue? Or does the casting of that column to `int8` need to happen in the function that writes the arrow table instead of in the `map` where I create the list of integers? Tagging @lhoestq since you seem to be working on these issues and PRs :)
32
load_from_disk takes a long time to load local dataset
[ -0.5856128931045532, -0.20367494225502014, -0.24403072893619537, 0.47821635007858276, 0.1767960488796234, -0.04831889644265175, 0.18887558579444885, 0.2827474772930145, 0.45445793867111206, 0.30645495653152466, 0.034059084951877594, 0.1634202003479004, 0.21507051587104797, 0.09686446934938431, -0.21898168325424194, 0.16294585168361664, 0.09121637791395187, 0.16219119727611542, 0.0013111502630636096, -0.3981916904449463, -0.0808764174580574, 0.13782526552677155, 0.01870785467326641, -0.1109025627374649, -0.075887531042099, -0.014572315849363804, 0.06276075541973114, 0.3470310866832733, -0.0846284031867981, -0.08377710729837418, 0.11610571295022964, 0.07488139718770981, 0.02110396884381771, 0.1998784989118576, -0.00010240551637252793, 0.017294691875576973, 0.05367482826113701, 0.14691691100597382, -0.2761973738670349, 0.2981393039226532, 0.22653228044509888, -0.17218782007694244, 0.198621466755867, -0.1903584897518158, -0.12414608895778656, 0.040180351585149765, -0.15079690515995026, -0.43324851989746094, 0.07221908122301102, -0.10482989251613617, 0.2560521960258484, 0.3093648850917816, -0.5081679224967957, -0.23128965497016907, -0.11297297477722168, 0.14498673379421234, -0.14621105790138245, 0.34244370460510254, 0.4828307032585144, -0.0855061486363411, -0.3369525074958801, 0.21999791264533997, -0.15170688927173615, 0.24277575314044952, 0.18567045032978058, 0.15248912572860718, 0.3594578802585602, 0.21518152952194214, 0.2042004019021988, -0.07553692162036896, 0.46458661556243896, 0.11385871469974518, 0.021260464563965797, -0.23019497096538544, -0.18205241858959198, 0.0025815169792622328, 0.3301025629043579, -0.06770505756139755, -0.44226548075675964, 0.1968589723110199, -0.1155402809381485, -0.15594105422496796, -0.1140652522444725, -0.1052636131644249, -0.22814099490642548, -0.10515788197517395, 0.03482576087117195, -0.010621585883200169, 0.3958863914012909, 0.08562935888767242, 0.33362290263175964, -0.04711953550577164, 0.3082456886768341, 0.09184714406728745, -0.2266620546579361, 0.022692974656820297, 0.31962668895721436, 0.05021420866250992, -0.006726481020450592, 0.03900638222694397, 0.043741170316934586, 0.37230461835861206, 0.031687162816524506, -0.09430031478404999, 0.13866406679153442, 0.13470220565795898, -0.020370857790112495, -0.08267077803611755, 0.10126563161611557, -0.09030422568321228, -0.32351529598236084, 0.04040379449725151, -0.10024058073759079, -0.18791383504867554, 0.1765689253807068, -0.09282715618610382, -0.08308032900094986, -0.1895492970943451, -0.05088275671005249, 0.12577016651630402, 0.44018709659576416, -0.12730994820594788, 0.0749310702085495, 0.39735516905784607, -0.09081088751554489, 0.23895876109600067, -0.09122160822153091, -0.17665721476078033, -0.3562319874763489, -0.009346062317490578, -0.27961552143096924, -0.2793509066104889, -0.09750815480947495, 0.10947690159082413, 0.20758867263793945, -0.05835168436169624, 0.027540355920791626, -0.09956201910972595, -0.15542879700660706, 0.05014028027653694, 0.010977715253829956, -0.2455742359161377, 0.14283588528633118, 0.12631286680698395, -0.014178423210978508, 0.2620793581008911, 0.21154755353927612, -0.009617030620574951, -0.35285207629203796, 0.2507162094116211, -0.17526474595069885, -0.4241773188114166, -0.10655561834573746, 0.3505895137786865, -0.07499141246080399, 0.07069616764783859, -0.14438889920711517, -0.2361668199300766, -0.22503171861171722, -0.0831165537238121, -0.4406069219112396, 0.09423250705003738, -0.29403290152549744, 0.009052290581166744, 0.1315770298242569, 0.45882752537727356, -0.4264954924583435, 0.251181960105896, -0.17094732820987701, -0.14283564686775208, 0.3465871214866638, 0.3973427414894104, -0.2935294806957245, 0.34271445870399475, -0.3431713581085205, -0.04058009758591652, 0.22073130309581757, -0.3553893566131592, -0.33207300305366516, 0.7877496480941772, -0.3369447588920593, -0.19586020708084106, 0.2534971237182617, 0.20765428245067596, 0.11251647025346756, 0.05968879908323288, 0.22439946234226227, 0.5816436409950256, 0.015514878556132317, 0.27810704708099365, -0.398936003446579, -0.028913132846355438, -0.13110099732875824, 0.523442804813385, -0.24356454610824585, 0.17092560231685638, 0.19031375646591187, 0.07293490320444107, 0.35667967796325684, -0.015064670704305172, -0.12927713990211487, 0.24651800096035004, 0.08936887979507446, -0.20453689992427826, -0.1132071316242218, 0.16572129726409912, -0.323553204536438, 0.23866453766822815, 0.24516381323337555, -0.10002497583627701, -0.06427086144685745, 0.028640467673540115, -0.3501931428909302, 0.30222246050834656, -0.22342447936534882, 0.2532980442047119, 0.14433863759040833, 0.39181065559387207, 0.12037267535924911, -0.04272914305329323, 0.07534196227788925, 0.040679894387722015, -0.2452620267868042, -0.15905450284481049, -0.10542289167642593, 0.1945764273405075, -0.011345912702381611, -0.00021552189718931913, -0.075065977871418, -0.15602529048919678, -0.03496218100190163, -0.14426890015602112, -0.09668667614459991, 0.16506598889827728, 0.08496838063001633, 0.42740336060523987, 0.21870845556259155, -0.10041189938783646, 0.07772960513830185, 0.09243419021368027, 0.30985620617866516, -0.09846484661102295, 0.17284050583839417, -0.2514275014400482, -0.2805618643760681, 0.3028514087200165, -0.14557898044586182, 0.32503578066825867, 0.06263865530490875, -0.37484613060951233, 0.3930567800998688, 0.05478217825293541, 0.24207453429698944, -0.1736396849155426, 0.261778324842453, 0.3628542125225067, 0.3858488202095032, 0.3941855728626251, -0.018588868901133537, 0.14894263446331024, 0.3987658619880676, -0.2414846420288086, -0.16931912302970886, 0.021793166175484657, 0.18789459764957428, -0.22380712628364563, 0.22389674186706543, 0.1761811375617981, 0.23619624972343445, 0.29925596714019775, 0.1944279819726944, -0.16702131927013397, -0.028512295335531235, -0.20386168360710144, 0.037998300045728683, -0.23908837139606476, 0.12496764957904816, 0.3064337372779846, 0.003911287058144808, -0.259014755487442, -0.5046109557151794, -0.09919819235801697, 0.10590551048517227, 0.2091061919927597, -0.06453359872102737, -0.005677550099790096, -0.17957733571529388, 0.09467775374650955, -0.10354053974151611, 0.15984097123146057, 0.1681727021932602, -0.23965369164943695, -0.07246007770299911, 0.2824484407901764, -0.13683195412158966, -0.014580055139958858, 0.10965393483638763, 0.14485664665699005, 0.17627592384815216, -0.4780442416667938, -0.04554355889558792, -0.146246999502182, -0.14734362065792084, 0.11650170385837555, 0.259427547454834, 0.14803193509578705, 0.24197687208652496, -0.23906904458999634, -0.02238120138645172, -0.16476601362228394, 0.08420275151729584, 0.07070273905992508, 0.08861061185598373, 0.08076851814985275, -0.2194877564907074, 0.32003509998321533, -0.18748390674591064, -0.1462051272392273, 0.313222199678421, -0.3135420083999634, -0.26468920707702637, 0.06727834790945053, -0.06887324154376984, -0.015146801248192787, -0.1654348522424698, -0.19766414165496826, -0.21345993876457214, -0.4104618430137634, 0.0009061354212462902, 0.07633436471223831, 0.2453383058309555, -0.005493191070854664, 0.09226485341787338, -0.06773695349693298, 0.2888622581958771, 0.12056948244571686, -0.3102566599845886, -0.4478447735309601, 0.19906772673130035, -0.0517461858689785, -0.24814315140247345, -0.11843560636043549, 0.07623201608657837, 0.08925535529851913, 0.08616813272237778, -0.5013342499732971, -0.1631949096918106, -0.20782025158405304, 0.3350377082824707, -0.1392768919467926, -0.043603263795375824, 0.21183380484580994, 0.06777746230363846, -0.18486341834068298, 0.14609596133232117, -0.18126967549324036, 0.08364686369895935, -0.03723800554871559, -0.26991814374923706, -0.225733682513237, 0.3486514985561371, -0.21846431493759155, 0.28201961517333984, -0.35935312509536743, 0.13416674733161926, 0.1345384418964386, -0.008075796999037266, 0.330022931098938, -0.39150574803352356, -0.0871746614575386, -0.1108795776963234, 0.19641157984733582, -0.5013186931610107, 0.29157310724258423, -0.03573516011238098, -0.3783460557460785, -0.15168102085590363, 0.024884041398763657, -0.15612943470478058, -0.19325245916843414, 0.09188700467348099, 0.18480803072452545, -0.006307991687208414, 0.09071820229291916, 0.3403111398220062, -0.17105038464069366, -0.05748409405350685, 0.039870575070381165, -0.15826943516731262, 0.01503708679229021, -0.2400067001581192, -0.5269549489021301, 0.08843539655208588, -0.42742258310317993, -0.0507657453417778, -0.12137550860643387, 0.13425245881080627, -0.05693962052464485, -0.3497202694416046, 0.44954586029052734, -0.14920011162757874, 0.6727444529533386, 0.2142534852027893, 0.4612819254398346, 0.06802577525377274, -0.39061400294303894, -0.3541282117366791, 0.043632622808218, 0.10885836184024811, -0.11793477088212967, -0.13977159559726715, 0.5781159996986389, 0.05173780024051666, -0.1678285151720047, -0.0577872097492218, 0.3243645131587982, -0.15779651701450348, -0.24621520936489105, -0.10873454809188843, -0.29684796929359436, -0.20273612439632416, -0.036259327083826065, -0.20298758149147034, 0.311124324798584, 0.15661904215812683, -0.19160285592079163, -0.05041787773370743, 0.11008573323488235, 0.02286136895418167, 0.19815300405025482, 0.2057095319032669, -0.14429396390914917, 0.4285476803779602, -0.05954870954155922, 0.305581271648407, 0.01298237033188343, 0.5461338758468628, -0.30853965878486633, 0.20086334645748138, 0.4360332787036896, -0.12778253853321075, -0.11766085773706436, 0.40674516558647156, 0.31318792700767517, -0.1830914318561554, 0.0588083378970623, 0.18639615178108215, -0.39337727427482605, 0.24591057002544403, -0.1399656981229782, -0.11893317848443985, 0.11436718702316284, -0.17985542118549347, 0.20760475099086761, -0.10498230159282684, -0.09419170767068863, 0.07204762101173401, -0.2691001296043396, 0.09043721854686737, 0.49460896849632263, -0.035184819251298904, 0.6911956071853638, -0.3414730429649353, 0.1503550261259079, 0.21741686761379242, 0.1756550371646881, -0.23813535273075104, -0.25466933846473694, 0.004886134993284941, -0.26940444111824036, -0.06781232357025146, 0.15588416159152985, -0.0726548284292221, -0.09434859454631805, 0.2516276240348816, 0.22487616539001465, -0.12873287498950958, 0.1090303286910057, 0.24066714942455292, -0.30293428897857666, 0.34563177824020386, 0.05334612354636192, -0.29842492938041687, -0.41981741786003113, 0.17549513280391693, 0.09728368371725082, 0.12157522886991501, -0.07834994792938232, 0.21097606420516968, 0.07893561571836472, -0.16453365981578827, 0.24581485986709595, 0.017731012776494026, -0.002132839523255825, 0.2982238531112671, -0.21247541904449463, -0.2756848931312561, -0.6322296857833862, 0.22885461151599884, -0.08023597300052643, 0.15270017087459564, -0.035972125828266144, 0.23448270559310913, -0.13210667669773102, 0.19548028707504272, -0.11201956123113632, -0.18844634294509888, 0.08104866743087769, -0.2131163775920868, -0.0710769072175026, -0.1229095607995987, -0.275407612323761, -0.43783140182495117, 0.1342281997203827, 0.303778737783432, 0.011965087614953518, 0.052367549389600754, -0.31578174233436584, -0.06763660162687302, 0.02878098003566265, -0.01994968019425869, 0.2189098298549652, 0.21946826577186584, 0.12883393466472626, 0.13894222676753998, 0.18447786569595337, -0.46849024295806885, -0.1213822215795517, 0.5030476450920105, 0.1875782012939453, -0.08038412779569626, 0.22375881671905518, -0.0710769072175026, -0.18263082206249237, -0.3824419379234314, 0.02956538088619709, 0.29893958568573, -0.26962873339653015, 0.023548632860183716, 0.008035751059651375, -0.13415645062923431, 0.20956870913505554, 0.10999307781457901, 0.22684651613235474, -0.10389931499958038, -0.02326199971139431, -0.19054006040096283, -0.25000160932540894, -0.1079346165060997, 0.10347840934991837, -0.020288214087486267, 0.3010765314102173, -0.2749500870704651, -0.18486811220645905, 0.1389957219362259, -0.4147641658782959, 0.06507624685764313, -0.2658134996891022, -0.034709759056568146, 0.05858026072382927, -0.13252419233322144, 0.3269329369068146, -0.07506226003170013, 0.30046603083610535, -0.11050517857074738, -0.22013235092163086, -0.3393394947052002, 0.29848727583885193, 0.062395352870225906, -0.18677306175231934, 0.01392672210931778, -0.1327623426914215, -0.41403332352638245, 0.014567379839718342, -0.15950638055801392, 0.07918905466794968, 0.045140791684389114, 0.028467532247304916, -0.2707531154155731, 0.2062561810016632, 0.32901033759117126, -0.007678885944187641, 0.2679637372493744, -0.042429376393556595, 0.3369080126285553, -0.19221021234989166, -0.11081665009260178, 0.01965978741645813, -0.21431924402713776, 0.01516104768961668, -0.0014849200379103422, 0.12640973925590515, 0.13080677390098572, 0.2855032980442047, -0.027243752032518387, -0.05010875687003136, 0.39106622338294983, 0.4355258345603943, 0.012359739281237125, 0.10469590872526169, -0.17729288339614868, 0.05770472064614296, 0.3081417977809906, -0.017930490896105766, -0.39155346155166626, 0.0206766240298748, -0.3698683977127075, 0.09942883998155594, 0.07912009954452515, 0.2854667007923126, -0.1419379711151123, 0.18239465355873108, 0.10738089680671692, 0.47492143511772156, 0.022086525335907936, -0.38441047072410583, 0.41124269366264343, -0.06299839168787003, -0.08028130978345871, 0.14543287456035614, 0.2215457558631897, 0.16096681356430054, 0.6497934460639954, -0.10145743191242218, 0.24058859050273895, -0.07579409331083298, 0.48594316840171814, -0.35107582807540894, -0.5745469331741333, 0.4753831624984741, 0.2757487893104553, -0.3004661798477173, -0.11403633654117584, -0.17812664806842804, -0.11043622344732285, -0.31417903304100037, -0.15727417171001434, -0.2629573941230774, 0.06367655843496323, -0.313510924577713, -0.04035542160272598, -0.08091745525598526, -0.06373884528875351, 0.04435866326093674, 0.19022846221923828, -0.14773467183113098, -0.01679389178752899, -0.008415719494223595, -0.04477328062057495, -0.023792991414666176, 0.29256799817085266, -0.05362985283136368, -0.153213232755661, -0.18628324568271637, -0.331941694021225, 0.01570695824921131, -0.17202141880989075, 0.01380096934735775, 0.1390441209077835, -0.22014844417572021, 0.14268916845321655, 0.36536186933517456, -0.03833357244729996, -0.05889203026890755, 0.09196750074625015, -0.12608933448791504, -0.3668053150177002, 0.15041224658489227, -0.1670314073562622, 0.3416514992713928, 0.4224233627319336, 0.1932174265384674, -0.33691859245300293, -0.09664490818977356, 0.1376282125711441, 0.07279836386442184, 0.0785730704665184, 0.03994283452630043, 0.1765439361333847, -0.0780860111117363, -0.19384916126728058, 0.01364157348871231, -0.26516488194465637, -0.2839047908782959, 0.20223015546798706, -0.15783405303955078, 0.2726135849952698, -0.039212796837091446, 0.12298274785280228, -0.3009854555130005, 0.7088284492492676, 0.12594109773635864, -0.06830360740423203, -0.15891467034816742, -0.25044378638267517, -0.6658980846405029, 0.202621728181839, -0.007899675518274307, 0.1699085235595703, 0.07500024139881134, 0.3187476396560669, 0.3639798164367676, 0.1394272893667221, -0.2345000058412552, -0.002510171150788665, 0.05789432302117348, -0.06606645882129669, -0.1538008600473404, -0.04683378338813782, -0.015987679362297058, -0.16988661885261536, -0.1197023019194603, -0.6450055837631226, 0.3803485929965973, -0.09634590893983841, 0.25817108154296875, 0.009612282738089561, -0.06193666160106659, -0.09479514509439468, 0.32874253392219543, 0.3730330467224121, 0.08312555402517319, 0.18971854448318481, 0.023817459121346474, -0.014976158738136292, 0.12071966379880905, -0.041690513491630554, 0.1928779035806656, -0.09822042286396027, 0.016912361606955528, -0.019819261506199837, -0.05766529217362404, 0.2845669388771057, -0.10961876809597015, 0.21554622054100037, -0.04794381931424141, 0.1716851145029068, -0.024310937151312828, -0.06618724763393402, -0.09104622900485992, 0.040596336126327515, 0.3473609983921051, 0.0999656617641449, 0.20879918336868286, -0.0954706221818924, -0.12204620987176895, -0.09967828541994095, 0.1947554349899292, 0.10891450196504593, -0.1387820541858673, -0.048521872609853745, 0.15748658776283264, -0.05017564073204994, 0.14048321545124054, -0.08300691097974777, 0.1270347237586975, 0.2580341696739197, -0.10874797403812408, 0.07937394827604294, 0.40920498967170715, -0.13485607504844666, 0.00745331309735775, -0.01702093333005905, 0.12098443508148193, -0.07824128121137619, -0.1862582117319107, -0.32879024744033813, -0.18342681229114532 ]
https://github.com/huggingface/datasets/issues/2099
load_from_disk takes a long time to load local dataset
yup I casted it to `np.uint8` outside the function where it was defined. It was originally using python integers.
I have an extremely large tokenized dataset (24M examples) that loads in a few minutes. However, after adding a column similar to `input_ids` (basically a list of integers) and saving the dataset to disk, the load time goes to >1 hour. I've even tried using `np.uint8` after seeing #1985 but it doesn't seem to be helping (the total size seems to be smaller though). Does anyone know what could be the issue? Or does the casting of that column to `int8` need to happen in the function that writes the arrow table instead of in the `map` where I create the list of integers? Tagging @lhoestq since you seem to be working on these issues and PRs :)
19
load_from_disk takes a long time to load local dataset
[ -0.5856128931045532, -0.20367494225502014, -0.24403072893619537, 0.47821635007858276, 0.1767960488796234, -0.04831889644265175, 0.18887558579444885, 0.2827474772930145, 0.45445793867111206, 0.30645495653152466, 0.034059084951877594, 0.1634202003479004, 0.21507051587104797, 0.09686446934938431, -0.21898168325424194, 0.16294585168361664, 0.09121637791395187, 0.16219119727611542, 0.0013111502630636096, -0.3981916904449463, -0.0808764174580574, 0.13782526552677155, 0.01870785467326641, -0.1109025627374649, -0.075887531042099, -0.014572315849363804, 0.06276075541973114, 0.3470310866832733, -0.0846284031867981, -0.08377710729837418, 0.11610571295022964, 0.07488139718770981, 0.02110396884381771, 0.1998784989118576, -0.00010240551637252793, 0.017294691875576973, 0.05367482826113701, 0.14691691100597382, -0.2761973738670349, 0.2981393039226532, 0.22653228044509888, -0.17218782007694244, 0.198621466755867, -0.1903584897518158, -0.12414608895778656, 0.040180351585149765, -0.15079690515995026, -0.43324851989746094, 0.07221908122301102, -0.10482989251613617, 0.2560521960258484, 0.3093648850917816, -0.5081679224967957, -0.23128965497016907, -0.11297297477722168, 0.14498673379421234, -0.14621105790138245, 0.34244370460510254, 0.4828307032585144, -0.0855061486363411, -0.3369525074958801, 0.21999791264533997, -0.15170688927173615, 0.24277575314044952, 0.18567045032978058, 0.15248912572860718, 0.3594578802585602, 0.21518152952194214, 0.2042004019021988, -0.07553692162036896, 0.46458661556243896, 0.11385871469974518, 0.021260464563965797, -0.23019497096538544, -0.18205241858959198, 0.0025815169792622328, 0.3301025629043579, -0.06770505756139755, -0.44226548075675964, 0.1968589723110199, -0.1155402809381485, -0.15594105422496796, -0.1140652522444725, -0.1052636131644249, -0.22814099490642548, -0.10515788197517395, 0.03482576087117195, -0.010621585883200169, 0.3958863914012909, 0.08562935888767242, 0.33362290263175964, -0.04711953550577164, 0.3082456886768341, 0.09184714406728745, -0.2266620546579361, 0.022692974656820297, 0.31962668895721436, 0.05021420866250992, -0.006726481020450592, 0.03900638222694397, 0.043741170316934586, 0.37230461835861206, 0.031687162816524506, -0.09430031478404999, 0.13866406679153442, 0.13470220565795898, -0.020370857790112495, -0.08267077803611755, 0.10126563161611557, -0.09030422568321228, -0.32351529598236084, 0.04040379449725151, -0.10024058073759079, -0.18791383504867554, 0.1765689253807068, -0.09282715618610382, -0.08308032900094986, -0.1895492970943451, -0.05088275671005249, 0.12577016651630402, 0.44018709659576416, -0.12730994820594788, 0.0749310702085495, 0.39735516905784607, -0.09081088751554489, 0.23895876109600067, -0.09122160822153091, -0.17665721476078033, -0.3562319874763489, -0.009346062317490578, -0.27961552143096924, -0.2793509066104889, -0.09750815480947495, 0.10947690159082413, 0.20758867263793945, -0.05835168436169624, 0.027540355920791626, -0.09956201910972595, -0.15542879700660706, 0.05014028027653694, 0.010977715253829956, -0.2455742359161377, 0.14283588528633118, 0.12631286680698395, -0.014178423210978508, 0.2620793581008911, 0.21154755353927612, -0.009617030620574951, -0.35285207629203796, 0.2507162094116211, -0.17526474595069885, -0.4241773188114166, -0.10655561834573746, 0.3505895137786865, -0.07499141246080399, 0.07069616764783859, -0.14438889920711517, -0.2361668199300766, -0.22503171861171722, -0.0831165537238121, -0.4406069219112396, 0.09423250705003738, -0.29403290152549744, 0.009052290581166744, 0.1315770298242569, 0.45882752537727356, -0.4264954924583435, 0.251181960105896, -0.17094732820987701, -0.14283564686775208, 0.3465871214866638, 0.3973427414894104, -0.2935294806957245, 0.34271445870399475, -0.3431713581085205, -0.04058009758591652, 0.22073130309581757, -0.3553893566131592, -0.33207300305366516, 0.7877496480941772, -0.3369447588920593, -0.19586020708084106, 0.2534971237182617, 0.20765428245067596, 0.11251647025346756, 0.05968879908323288, 0.22439946234226227, 0.5816436409950256, 0.015514878556132317, 0.27810704708099365, -0.398936003446579, -0.028913132846355438, -0.13110099732875824, 0.523442804813385, -0.24356454610824585, 0.17092560231685638, 0.19031375646591187, 0.07293490320444107, 0.35667967796325684, -0.015064670704305172, -0.12927713990211487, 0.24651800096035004, 0.08936887979507446, -0.20453689992427826, -0.1132071316242218, 0.16572129726409912, -0.323553204536438, 0.23866453766822815, 0.24516381323337555, -0.10002497583627701, -0.06427086144685745, 0.028640467673540115, -0.3501931428909302, 0.30222246050834656, -0.22342447936534882, 0.2532980442047119, 0.14433863759040833, 0.39181065559387207, 0.12037267535924911, -0.04272914305329323, 0.07534196227788925, 0.040679894387722015, -0.2452620267868042, -0.15905450284481049, -0.10542289167642593, 0.1945764273405075, -0.011345912702381611, -0.00021552189718931913, -0.075065977871418, -0.15602529048919678, -0.03496218100190163, -0.14426890015602112, -0.09668667614459991, 0.16506598889827728, 0.08496838063001633, 0.42740336060523987, 0.21870845556259155, -0.10041189938783646, 0.07772960513830185, 0.09243419021368027, 0.30985620617866516, -0.09846484661102295, 0.17284050583839417, -0.2514275014400482, -0.2805618643760681, 0.3028514087200165, -0.14557898044586182, 0.32503578066825867, 0.06263865530490875, -0.37484613060951233, 0.3930567800998688, 0.05478217825293541, 0.24207453429698944, -0.1736396849155426, 0.261778324842453, 0.3628542125225067, 0.3858488202095032, 0.3941855728626251, -0.018588868901133537, 0.14894263446331024, 0.3987658619880676, -0.2414846420288086, -0.16931912302970886, 0.021793166175484657, 0.18789459764957428, -0.22380712628364563, 0.22389674186706543, 0.1761811375617981, 0.23619624972343445, 0.29925596714019775, 0.1944279819726944, -0.16702131927013397, -0.028512295335531235, -0.20386168360710144, 0.037998300045728683, -0.23908837139606476, 0.12496764957904816, 0.3064337372779846, 0.003911287058144808, -0.259014755487442, -0.5046109557151794, -0.09919819235801697, 0.10590551048517227, 0.2091061919927597, -0.06453359872102737, -0.005677550099790096, -0.17957733571529388, 0.09467775374650955, -0.10354053974151611, 0.15984097123146057, 0.1681727021932602, -0.23965369164943695, -0.07246007770299911, 0.2824484407901764, -0.13683195412158966, -0.014580055139958858, 0.10965393483638763, 0.14485664665699005, 0.17627592384815216, -0.4780442416667938, -0.04554355889558792, -0.146246999502182, -0.14734362065792084, 0.11650170385837555, 0.259427547454834, 0.14803193509578705, 0.24197687208652496, -0.23906904458999634, -0.02238120138645172, -0.16476601362228394, 0.08420275151729584, 0.07070273905992508, 0.08861061185598373, 0.08076851814985275, -0.2194877564907074, 0.32003509998321533, -0.18748390674591064, -0.1462051272392273, 0.313222199678421, -0.3135420083999634, -0.26468920707702637, 0.06727834790945053, -0.06887324154376984, -0.015146801248192787, -0.1654348522424698, -0.19766414165496826, -0.21345993876457214, -0.4104618430137634, 0.0009061354212462902, 0.07633436471223831, 0.2453383058309555, -0.005493191070854664, 0.09226485341787338, -0.06773695349693298, 0.2888622581958771, 0.12056948244571686, -0.3102566599845886, -0.4478447735309601, 0.19906772673130035, -0.0517461858689785, -0.24814315140247345, -0.11843560636043549, 0.07623201608657837, 0.08925535529851913, 0.08616813272237778, -0.5013342499732971, -0.1631949096918106, -0.20782025158405304, 0.3350377082824707, -0.1392768919467926, -0.043603263795375824, 0.21183380484580994, 0.06777746230363846, -0.18486341834068298, 0.14609596133232117, -0.18126967549324036, 0.08364686369895935, -0.03723800554871559, -0.26991814374923706, -0.225733682513237, 0.3486514985561371, -0.21846431493759155, 0.28201961517333984, -0.35935312509536743, 0.13416674733161926, 0.1345384418964386, -0.008075796999037266, 0.330022931098938, -0.39150574803352356, -0.0871746614575386, -0.1108795776963234, 0.19641157984733582, -0.5013186931610107, 0.29157310724258423, -0.03573516011238098, -0.3783460557460785, -0.15168102085590363, 0.024884041398763657, -0.15612943470478058, -0.19325245916843414, 0.09188700467348099, 0.18480803072452545, -0.006307991687208414, 0.09071820229291916, 0.3403111398220062, -0.17105038464069366, -0.05748409405350685, 0.039870575070381165, -0.15826943516731262, 0.01503708679229021, -0.2400067001581192, -0.5269549489021301, 0.08843539655208588, -0.42742258310317993, -0.0507657453417778, -0.12137550860643387, 0.13425245881080627, -0.05693962052464485, -0.3497202694416046, 0.44954586029052734, -0.14920011162757874, 0.6727444529533386, 0.2142534852027893, 0.4612819254398346, 0.06802577525377274, -0.39061400294303894, -0.3541282117366791, 0.043632622808218, 0.10885836184024811, -0.11793477088212967, -0.13977159559726715, 0.5781159996986389, 0.05173780024051666, -0.1678285151720047, -0.0577872097492218, 0.3243645131587982, -0.15779651701450348, -0.24621520936489105, -0.10873454809188843, -0.29684796929359436, -0.20273612439632416, -0.036259327083826065, -0.20298758149147034, 0.311124324798584, 0.15661904215812683, -0.19160285592079163, -0.05041787773370743, 0.11008573323488235, 0.02286136895418167, 0.19815300405025482, 0.2057095319032669, -0.14429396390914917, 0.4285476803779602, -0.05954870954155922, 0.305581271648407, 0.01298237033188343, 0.5461338758468628, -0.30853965878486633, 0.20086334645748138, 0.4360332787036896, -0.12778253853321075, -0.11766085773706436, 0.40674516558647156, 0.31318792700767517, -0.1830914318561554, 0.0588083378970623, 0.18639615178108215, -0.39337727427482605, 0.24591057002544403, -0.1399656981229782, -0.11893317848443985, 0.11436718702316284, -0.17985542118549347, 0.20760475099086761, -0.10498230159282684, -0.09419170767068863, 0.07204762101173401, -0.2691001296043396, 0.09043721854686737, 0.49460896849632263, -0.035184819251298904, 0.6911956071853638, -0.3414730429649353, 0.1503550261259079, 0.21741686761379242, 0.1756550371646881, -0.23813535273075104, -0.25466933846473694, 0.004886134993284941, -0.26940444111824036, -0.06781232357025146, 0.15588416159152985, -0.0726548284292221, -0.09434859454631805, 0.2516276240348816, 0.22487616539001465, -0.12873287498950958, 0.1090303286910057, 0.24066714942455292, -0.30293428897857666, 0.34563177824020386, 0.05334612354636192, -0.29842492938041687, -0.41981741786003113, 0.17549513280391693, 0.09728368371725082, 0.12157522886991501, -0.07834994792938232, 0.21097606420516968, 0.07893561571836472, -0.16453365981578827, 0.24581485986709595, 0.017731012776494026, -0.002132839523255825, 0.2982238531112671, -0.21247541904449463, -0.2756848931312561, -0.6322296857833862, 0.22885461151599884, -0.08023597300052643, 0.15270017087459564, -0.035972125828266144, 0.23448270559310913, -0.13210667669773102, 0.19548028707504272, -0.11201956123113632, -0.18844634294509888, 0.08104866743087769, -0.2131163775920868, -0.0710769072175026, -0.1229095607995987, -0.275407612323761, -0.43783140182495117, 0.1342281997203827, 0.303778737783432, 0.011965087614953518, 0.052367549389600754, -0.31578174233436584, -0.06763660162687302, 0.02878098003566265, -0.01994968019425869, 0.2189098298549652, 0.21946826577186584, 0.12883393466472626, 0.13894222676753998, 0.18447786569595337, -0.46849024295806885, -0.1213822215795517, 0.5030476450920105, 0.1875782012939453, -0.08038412779569626, 0.22375881671905518, -0.0710769072175026, -0.18263082206249237, -0.3824419379234314, 0.02956538088619709, 0.29893958568573, -0.26962873339653015, 0.023548632860183716, 0.008035751059651375, -0.13415645062923431, 0.20956870913505554, 0.10999307781457901, 0.22684651613235474, -0.10389931499958038, -0.02326199971139431, -0.19054006040096283, -0.25000160932540894, -0.1079346165060997, 0.10347840934991837, -0.020288214087486267, 0.3010765314102173, -0.2749500870704651, -0.18486811220645905, 0.1389957219362259, -0.4147641658782959, 0.06507624685764313, -0.2658134996891022, -0.034709759056568146, 0.05858026072382927, -0.13252419233322144, 0.3269329369068146, -0.07506226003170013, 0.30046603083610535, -0.11050517857074738, -0.22013235092163086, -0.3393394947052002, 0.29848727583885193, 0.062395352870225906, -0.18677306175231934, 0.01392672210931778, -0.1327623426914215, -0.41403332352638245, 0.014567379839718342, -0.15950638055801392, 0.07918905466794968, 0.045140791684389114, 0.028467532247304916, -0.2707531154155731, 0.2062561810016632, 0.32901033759117126, -0.007678885944187641, 0.2679637372493744, -0.042429376393556595, 0.3369080126285553, -0.19221021234989166, -0.11081665009260178, 0.01965978741645813, -0.21431924402713776, 0.01516104768961668, -0.0014849200379103422, 0.12640973925590515, 0.13080677390098572, 0.2855032980442047, -0.027243752032518387, -0.05010875687003136, 0.39106622338294983, 0.4355258345603943, 0.012359739281237125, 0.10469590872526169, -0.17729288339614868, 0.05770472064614296, 0.3081417977809906, -0.017930490896105766, -0.39155346155166626, 0.0206766240298748, -0.3698683977127075, 0.09942883998155594, 0.07912009954452515, 0.2854667007923126, -0.1419379711151123, 0.18239465355873108, 0.10738089680671692, 0.47492143511772156, 0.022086525335907936, -0.38441047072410583, 0.41124269366264343, -0.06299839168787003, -0.08028130978345871, 0.14543287456035614, 0.2215457558631897, 0.16096681356430054, 0.6497934460639954, -0.10145743191242218, 0.24058859050273895, -0.07579409331083298, 0.48594316840171814, -0.35107582807540894, -0.5745469331741333, 0.4753831624984741, 0.2757487893104553, -0.3004661798477173, -0.11403633654117584, -0.17812664806842804, -0.11043622344732285, -0.31417903304100037, -0.15727417171001434, -0.2629573941230774, 0.06367655843496323, -0.313510924577713, -0.04035542160272598, -0.08091745525598526, -0.06373884528875351, 0.04435866326093674, 0.19022846221923828, -0.14773467183113098, -0.01679389178752899, -0.008415719494223595, -0.04477328062057495, -0.023792991414666176, 0.29256799817085266, -0.05362985283136368, -0.153213232755661, -0.18628324568271637, -0.331941694021225, 0.01570695824921131, -0.17202141880989075, 0.01380096934735775, 0.1390441209077835, -0.22014844417572021, 0.14268916845321655, 0.36536186933517456, -0.03833357244729996, -0.05889203026890755, 0.09196750074625015, -0.12608933448791504, -0.3668053150177002, 0.15041224658489227, -0.1670314073562622, 0.3416514992713928, 0.4224233627319336, 0.1932174265384674, -0.33691859245300293, -0.09664490818977356, 0.1376282125711441, 0.07279836386442184, 0.0785730704665184, 0.03994283452630043, 0.1765439361333847, -0.0780860111117363, -0.19384916126728058, 0.01364157348871231, -0.26516488194465637, -0.2839047908782959, 0.20223015546798706, -0.15783405303955078, 0.2726135849952698, -0.039212796837091446, 0.12298274785280228, -0.3009854555130005, 0.7088284492492676, 0.12594109773635864, -0.06830360740423203, -0.15891467034816742, -0.25044378638267517, -0.6658980846405029, 0.202621728181839, -0.007899675518274307, 0.1699085235595703, 0.07500024139881134, 0.3187476396560669, 0.3639798164367676, 0.1394272893667221, -0.2345000058412552, -0.002510171150788665, 0.05789432302117348, -0.06606645882129669, -0.1538008600473404, -0.04683378338813782, -0.015987679362297058, -0.16988661885261536, -0.1197023019194603, -0.6450055837631226, 0.3803485929965973, -0.09634590893983841, 0.25817108154296875, 0.009612282738089561, -0.06193666160106659, -0.09479514509439468, 0.32874253392219543, 0.3730330467224121, 0.08312555402517319, 0.18971854448318481, 0.023817459121346474, -0.014976158738136292, 0.12071966379880905, -0.041690513491630554, 0.1928779035806656, -0.09822042286396027, 0.016912361606955528, -0.019819261506199837, -0.05766529217362404, 0.2845669388771057, -0.10961876809597015, 0.21554622054100037, -0.04794381931424141, 0.1716851145029068, -0.024310937151312828, -0.06618724763393402, -0.09104622900485992, 0.040596336126327515, 0.3473609983921051, 0.0999656617641449, 0.20879918336868286, -0.0954706221818924, -0.12204620987176895, -0.09967828541994095, 0.1947554349899292, 0.10891450196504593, -0.1387820541858673, -0.048521872609853745, 0.15748658776283264, -0.05017564073204994, 0.14048321545124054, -0.08300691097974777, 0.1270347237586975, 0.2580341696739197, -0.10874797403812408, 0.07937394827604294, 0.40920498967170715, -0.13485607504844666, 0.00745331309735775, -0.01702093333005905, 0.12098443508148193, -0.07824128121137619, -0.1862582117319107, -0.32879024744033813, -0.18342681229114532 ]
https://github.com/huggingface/datasets/issues/2099
load_from_disk takes a long time to load local dataset
Strangely, even when I manually created `np.arrays` of specific `dtypes`, the types in the final `dataset_info.json` that gets written are still `int64`. Update: I tried creating lists of `int8`s and got the same result.
I have an extremely large tokenized dataset (24M examples) that loads in a few minutes. However, after adding a column similar to `input_ids` (basically a list of integers) and saving the dataset to disk, the load time goes to >1 hour. I've even tried using `np.uint8` after seeing #1985 but it doesn't seem to be helping (the total size seems to be smaller though). Does anyone know what could be the issue? Or does the casting of that column to `int8` need to happen in the function that writes the arrow table instead of in the `map` where I create the list of integers? Tagging @lhoestq since you seem to be working on these issues and PRs :)
34
load_from_disk takes a long time to load local dataset
[ -0.5856128931045532, -0.20367494225502014, -0.24403072893619537, 0.47821635007858276, 0.1767960488796234, -0.04831889644265175, 0.18887558579444885, 0.2827474772930145, 0.45445793867111206, 0.30645495653152466, 0.034059084951877594, 0.1634202003479004, 0.21507051587104797, 0.09686446934938431, -0.21898168325424194, 0.16294585168361664, 0.09121637791395187, 0.16219119727611542, 0.0013111502630636096, -0.3981916904449463, -0.0808764174580574, 0.13782526552677155, 0.01870785467326641, -0.1109025627374649, -0.075887531042099, -0.014572315849363804, 0.06276075541973114, 0.3470310866832733, -0.0846284031867981, -0.08377710729837418, 0.11610571295022964, 0.07488139718770981, 0.02110396884381771, 0.1998784989118576, -0.00010240551637252793, 0.017294691875576973, 0.05367482826113701, 0.14691691100597382, -0.2761973738670349, 0.2981393039226532, 0.22653228044509888, -0.17218782007694244, 0.198621466755867, -0.1903584897518158, -0.12414608895778656, 0.040180351585149765, -0.15079690515995026, -0.43324851989746094, 0.07221908122301102, -0.10482989251613617, 0.2560521960258484, 0.3093648850917816, -0.5081679224967957, -0.23128965497016907, -0.11297297477722168, 0.14498673379421234, -0.14621105790138245, 0.34244370460510254, 0.4828307032585144, -0.0855061486363411, -0.3369525074958801, 0.21999791264533997, -0.15170688927173615, 0.24277575314044952, 0.18567045032978058, 0.15248912572860718, 0.3594578802585602, 0.21518152952194214, 0.2042004019021988, -0.07553692162036896, 0.46458661556243896, 0.11385871469974518, 0.021260464563965797, -0.23019497096538544, -0.18205241858959198, 0.0025815169792622328, 0.3301025629043579, -0.06770505756139755, -0.44226548075675964, 0.1968589723110199, -0.1155402809381485, -0.15594105422496796, -0.1140652522444725, -0.1052636131644249, -0.22814099490642548, -0.10515788197517395, 0.03482576087117195, -0.010621585883200169, 0.3958863914012909, 0.08562935888767242, 0.33362290263175964, -0.04711953550577164, 0.3082456886768341, 0.09184714406728745, -0.2266620546579361, 0.022692974656820297, 0.31962668895721436, 0.05021420866250992, -0.006726481020450592, 0.03900638222694397, 0.043741170316934586, 0.37230461835861206, 0.031687162816524506, -0.09430031478404999, 0.13866406679153442, 0.13470220565795898, -0.020370857790112495, -0.08267077803611755, 0.10126563161611557, -0.09030422568321228, -0.32351529598236084, 0.04040379449725151, -0.10024058073759079, -0.18791383504867554, 0.1765689253807068, -0.09282715618610382, -0.08308032900094986, -0.1895492970943451, -0.05088275671005249, 0.12577016651630402, 0.44018709659576416, -0.12730994820594788, 0.0749310702085495, 0.39735516905784607, -0.09081088751554489, 0.23895876109600067, -0.09122160822153091, -0.17665721476078033, -0.3562319874763489, -0.009346062317490578, -0.27961552143096924, -0.2793509066104889, -0.09750815480947495, 0.10947690159082413, 0.20758867263793945, -0.05835168436169624, 0.027540355920791626, -0.09956201910972595, -0.15542879700660706, 0.05014028027653694, 0.010977715253829956, -0.2455742359161377, 0.14283588528633118, 0.12631286680698395, -0.014178423210978508, 0.2620793581008911, 0.21154755353927612, -0.009617030620574951, -0.35285207629203796, 0.2507162094116211, -0.17526474595069885, -0.4241773188114166, -0.10655561834573746, 0.3505895137786865, -0.07499141246080399, 0.07069616764783859, -0.14438889920711517, -0.2361668199300766, -0.22503171861171722, -0.0831165537238121, -0.4406069219112396, 0.09423250705003738, -0.29403290152549744, 0.009052290581166744, 0.1315770298242569, 0.45882752537727356, -0.4264954924583435, 0.251181960105896, -0.17094732820987701, -0.14283564686775208, 0.3465871214866638, 0.3973427414894104, -0.2935294806957245, 0.34271445870399475, -0.3431713581085205, -0.04058009758591652, 0.22073130309581757, -0.3553893566131592, -0.33207300305366516, 0.7877496480941772, -0.3369447588920593, -0.19586020708084106, 0.2534971237182617, 0.20765428245067596, 0.11251647025346756, 0.05968879908323288, 0.22439946234226227, 0.5816436409950256, 0.015514878556132317, 0.27810704708099365, -0.398936003446579, -0.028913132846355438, -0.13110099732875824, 0.523442804813385, -0.24356454610824585, 0.17092560231685638, 0.19031375646591187, 0.07293490320444107, 0.35667967796325684, -0.015064670704305172, -0.12927713990211487, 0.24651800096035004, 0.08936887979507446, -0.20453689992427826, -0.1132071316242218, 0.16572129726409912, -0.323553204536438, 0.23866453766822815, 0.24516381323337555, -0.10002497583627701, -0.06427086144685745, 0.028640467673540115, -0.3501931428909302, 0.30222246050834656, -0.22342447936534882, 0.2532980442047119, 0.14433863759040833, 0.39181065559387207, 0.12037267535924911, -0.04272914305329323, 0.07534196227788925, 0.040679894387722015, -0.2452620267868042, -0.15905450284481049, -0.10542289167642593, 0.1945764273405075, -0.011345912702381611, -0.00021552189718931913, -0.075065977871418, -0.15602529048919678, -0.03496218100190163, -0.14426890015602112, -0.09668667614459991, 0.16506598889827728, 0.08496838063001633, 0.42740336060523987, 0.21870845556259155, -0.10041189938783646, 0.07772960513830185, 0.09243419021368027, 0.30985620617866516, -0.09846484661102295, 0.17284050583839417, -0.2514275014400482, -0.2805618643760681, 0.3028514087200165, -0.14557898044586182, 0.32503578066825867, 0.06263865530490875, -0.37484613060951233, 0.3930567800998688, 0.05478217825293541, 0.24207453429698944, -0.1736396849155426, 0.261778324842453, 0.3628542125225067, 0.3858488202095032, 0.3941855728626251, -0.018588868901133537, 0.14894263446331024, 0.3987658619880676, -0.2414846420288086, -0.16931912302970886, 0.021793166175484657, 0.18789459764957428, -0.22380712628364563, 0.22389674186706543, 0.1761811375617981, 0.23619624972343445, 0.29925596714019775, 0.1944279819726944, -0.16702131927013397, -0.028512295335531235, -0.20386168360710144, 0.037998300045728683, -0.23908837139606476, 0.12496764957904816, 0.3064337372779846, 0.003911287058144808, -0.259014755487442, -0.5046109557151794, -0.09919819235801697, 0.10590551048517227, 0.2091061919927597, -0.06453359872102737, -0.005677550099790096, -0.17957733571529388, 0.09467775374650955, -0.10354053974151611, 0.15984097123146057, 0.1681727021932602, -0.23965369164943695, -0.07246007770299911, 0.2824484407901764, -0.13683195412158966, -0.014580055139958858, 0.10965393483638763, 0.14485664665699005, 0.17627592384815216, -0.4780442416667938, -0.04554355889558792, -0.146246999502182, -0.14734362065792084, 0.11650170385837555, 0.259427547454834, 0.14803193509578705, 0.24197687208652496, -0.23906904458999634, -0.02238120138645172, -0.16476601362228394, 0.08420275151729584, 0.07070273905992508, 0.08861061185598373, 0.08076851814985275, -0.2194877564907074, 0.32003509998321533, -0.18748390674591064, -0.1462051272392273, 0.313222199678421, -0.3135420083999634, -0.26468920707702637, 0.06727834790945053, -0.06887324154376984, -0.015146801248192787, -0.1654348522424698, -0.19766414165496826, -0.21345993876457214, -0.4104618430137634, 0.0009061354212462902, 0.07633436471223831, 0.2453383058309555, -0.005493191070854664, 0.09226485341787338, -0.06773695349693298, 0.2888622581958771, 0.12056948244571686, -0.3102566599845886, -0.4478447735309601, 0.19906772673130035, -0.0517461858689785, -0.24814315140247345, -0.11843560636043549, 0.07623201608657837, 0.08925535529851913, 0.08616813272237778, -0.5013342499732971, -0.1631949096918106, -0.20782025158405304, 0.3350377082824707, -0.1392768919467926, -0.043603263795375824, 0.21183380484580994, 0.06777746230363846, -0.18486341834068298, 0.14609596133232117, -0.18126967549324036, 0.08364686369895935, -0.03723800554871559, -0.26991814374923706, -0.225733682513237, 0.3486514985561371, -0.21846431493759155, 0.28201961517333984, -0.35935312509536743, 0.13416674733161926, 0.1345384418964386, -0.008075796999037266, 0.330022931098938, -0.39150574803352356, -0.0871746614575386, -0.1108795776963234, 0.19641157984733582, -0.5013186931610107, 0.29157310724258423, -0.03573516011238098, -0.3783460557460785, -0.15168102085590363, 0.024884041398763657, -0.15612943470478058, -0.19325245916843414, 0.09188700467348099, 0.18480803072452545, -0.006307991687208414, 0.09071820229291916, 0.3403111398220062, -0.17105038464069366, -0.05748409405350685, 0.039870575070381165, -0.15826943516731262, 0.01503708679229021, -0.2400067001581192, -0.5269549489021301, 0.08843539655208588, -0.42742258310317993, -0.0507657453417778, -0.12137550860643387, 0.13425245881080627, -0.05693962052464485, -0.3497202694416046, 0.44954586029052734, -0.14920011162757874, 0.6727444529533386, 0.2142534852027893, 0.4612819254398346, 0.06802577525377274, -0.39061400294303894, -0.3541282117366791, 0.043632622808218, 0.10885836184024811, -0.11793477088212967, -0.13977159559726715, 0.5781159996986389, 0.05173780024051666, -0.1678285151720047, -0.0577872097492218, 0.3243645131587982, -0.15779651701450348, -0.24621520936489105, -0.10873454809188843, -0.29684796929359436, -0.20273612439632416, -0.036259327083826065, -0.20298758149147034, 0.311124324798584, 0.15661904215812683, -0.19160285592079163, -0.05041787773370743, 0.11008573323488235, 0.02286136895418167, 0.19815300405025482, 0.2057095319032669, -0.14429396390914917, 0.4285476803779602, -0.05954870954155922, 0.305581271648407, 0.01298237033188343, 0.5461338758468628, -0.30853965878486633, 0.20086334645748138, 0.4360332787036896, -0.12778253853321075, -0.11766085773706436, 0.40674516558647156, 0.31318792700767517, -0.1830914318561554, 0.0588083378970623, 0.18639615178108215, -0.39337727427482605, 0.24591057002544403, -0.1399656981229782, -0.11893317848443985, 0.11436718702316284, -0.17985542118549347, 0.20760475099086761, -0.10498230159282684, -0.09419170767068863, 0.07204762101173401, -0.2691001296043396, 0.09043721854686737, 0.49460896849632263, -0.035184819251298904, 0.6911956071853638, -0.3414730429649353, 0.1503550261259079, 0.21741686761379242, 0.1756550371646881, -0.23813535273075104, -0.25466933846473694, 0.004886134993284941, -0.26940444111824036, -0.06781232357025146, 0.15588416159152985, -0.0726548284292221, -0.09434859454631805, 0.2516276240348816, 0.22487616539001465, -0.12873287498950958, 0.1090303286910057, 0.24066714942455292, -0.30293428897857666, 0.34563177824020386, 0.05334612354636192, -0.29842492938041687, -0.41981741786003113, 0.17549513280391693, 0.09728368371725082, 0.12157522886991501, -0.07834994792938232, 0.21097606420516968, 0.07893561571836472, -0.16453365981578827, 0.24581485986709595, 0.017731012776494026, -0.002132839523255825, 0.2982238531112671, -0.21247541904449463, -0.2756848931312561, -0.6322296857833862, 0.22885461151599884, -0.08023597300052643, 0.15270017087459564, -0.035972125828266144, 0.23448270559310913, -0.13210667669773102, 0.19548028707504272, -0.11201956123113632, -0.18844634294509888, 0.08104866743087769, -0.2131163775920868, -0.0710769072175026, -0.1229095607995987, -0.275407612323761, -0.43783140182495117, 0.1342281997203827, 0.303778737783432, 0.011965087614953518, 0.052367549389600754, -0.31578174233436584, -0.06763660162687302, 0.02878098003566265, -0.01994968019425869, 0.2189098298549652, 0.21946826577186584, 0.12883393466472626, 0.13894222676753998, 0.18447786569595337, -0.46849024295806885, -0.1213822215795517, 0.5030476450920105, 0.1875782012939453, -0.08038412779569626, 0.22375881671905518, -0.0710769072175026, -0.18263082206249237, -0.3824419379234314, 0.02956538088619709, 0.29893958568573, -0.26962873339653015, 0.023548632860183716, 0.008035751059651375, -0.13415645062923431, 0.20956870913505554, 0.10999307781457901, 0.22684651613235474, -0.10389931499958038, -0.02326199971139431, -0.19054006040096283, -0.25000160932540894, -0.1079346165060997, 0.10347840934991837, -0.020288214087486267, 0.3010765314102173, -0.2749500870704651, -0.18486811220645905, 0.1389957219362259, -0.4147641658782959, 0.06507624685764313, -0.2658134996891022, -0.034709759056568146, 0.05858026072382927, -0.13252419233322144, 0.3269329369068146, -0.07506226003170013, 0.30046603083610535, -0.11050517857074738, -0.22013235092163086, -0.3393394947052002, 0.29848727583885193, 0.062395352870225906, -0.18677306175231934, 0.01392672210931778, -0.1327623426914215, -0.41403332352638245, 0.014567379839718342, -0.15950638055801392, 0.07918905466794968, 0.045140791684389114, 0.028467532247304916, -0.2707531154155731, 0.2062561810016632, 0.32901033759117126, -0.007678885944187641, 0.2679637372493744, -0.042429376393556595, 0.3369080126285553, -0.19221021234989166, -0.11081665009260178, 0.01965978741645813, -0.21431924402713776, 0.01516104768961668, -0.0014849200379103422, 0.12640973925590515, 0.13080677390098572, 0.2855032980442047, -0.027243752032518387, -0.05010875687003136, 0.39106622338294983, 0.4355258345603943, 0.012359739281237125, 0.10469590872526169, -0.17729288339614868, 0.05770472064614296, 0.3081417977809906, -0.017930490896105766, -0.39155346155166626, 0.0206766240298748, -0.3698683977127075, 0.09942883998155594, 0.07912009954452515, 0.2854667007923126, -0.1419379711151123, 0.18239465355873108, 0.10738089680671692, 0.47492143511772156, 0.022086525335907936, -0.38441047072410583, 0.41124269366264343, -0.06299839168787003, -0.08028130978345871, 0.14543287456035614, 0.2215457558631897, 0.16096681356430054, 0.6497934460639954, -0.10145743191242218, 0.24058859050273895, -0.07579409331083298, 0.48594316840171814, -0.35107582807540894, -0.5745469331741333, 0.4753831624984741, 0.2757487893104553, -0.3004661798477173, -0.11403633654117584, -0.17812664806842804, -0.11043622344732285, -0.31417903304100037, -0.15727417171001434, -0.2629573941230774, 0.06367655843496323, -0.313510924577713, -0.04035542160272598, -0.08091745525598526, -0.06373884528875351, 0.04435866326093674, 0.19022846221923828, -0.14773467183113098, -0.01679389178752899, -0.008415719494223595, -0.04477328062057495, -0.023792991414666176, 0.29256799817085266, -0.05362985283136368, -0.153213232755661, -0.18628324568271637, -0.331941694021225, 0.01570695824921131, -0.17202141880989075, 0.01380096934735775, 0.1390441209077835, -0.22014844417572021, 0.14268916845321655, 0.36536186933517456, -0.03833357244729996, -0.05889203026890755, 0.09196750074625015, -0.12608933448791504, -0.3668053150177002, 0.15041224658489227, -0.1670314073562622, 0.3416514992713928, 0.4224233627319336, 0.1932174265384674, -0.33691859245300293, -0.09664490818977356, 0.1376282125711441, 0.07279836386442184, 0.0785730704665184, 0.03994283452630043, 0.1765439361333847, -0.0780860111117363, -0.19384916126728058, 0.01364157348871231, -0.26516488194465637, -0.2839047908782959, 0.20223015546798706, -0.15783405303955078, 0.2726135849952698, -0.039212796837091446, 0.12298274785280228, -0.3009854555130005, 0.7088284492492676, 0.12594109773635864, -0.06830360740423203, -0.15891467034816742, -0.25044378638267517, -0.6658980846405029, 0.202621728181839, -0.007899675518274307, 0.1699085235595703, 0.07500024139881134, 0.3187476396560669, 0.3639798164367676, 0.1394272893667221, -0.2345000058412552, -0.002510171150788665, 0.05789432302117348, -0.06606645882129669, -0.1538008600473404, -0.04683378338813782, -0.015987679362297058, -0.16988661885261536, -0.1197023019194603, -0.6450055837631226, 0.3803485929965973, -0.09634590893983841, 0.25817108154296875, 0.009612282738089561, -0.06193666160106659, -0.09479514509439468, 0.32874253392219543, 0.3730330467224121, 0.08312555402517319, 0.18971854448318481, 0.023817459121346474, -0.014976158738136292, 0.12071966379880905, -0.041690513491630554, 0.1928779035806656, -0.09822042286396027, 0.016912361606955528, -0.019819261506199837, -0.05766529217362404, 0.2845669388771057, -0.10961876809597015, 0.21554622054100037, -0.04794381931424141, 0.1716851145029068, -0.024310937151312828, -0.06618724763393402, -0.09104622900485992, 0.040596336126327515, 0.3473609983921051, 0.0999656617641449, 0.20879918336868286, -0.0954706221818924, -0.12204620987176895, -0.09967828541994095, 0.1947554349899292, 0.10891450196504593, -0.1387820541858673, -0.048521872609853745, 0.15748658776283264, -0.05017564073204994, 0.14048321545124054, -0.08300691097974777, 0.1270347237586975, 0.2580341696739197, -0.10874797403812408, 0.07937394827604294, 0.40920498967170715, -0.13485607504844666, 0.00745331309735775, -0.01702093333005905, 0.12098443508148193, -0.07824128121137619, -0.1862582117319107, -0.32879024744033813, -0.18342681229114532 ]
https://github.com/huggingface/datasets/issues/2099
load_from_disk takes a long time to load local dataset
Yes this is a known issue: #625 We're working on making the precision kept for numpy :) To specify the precision of the integers, currently one needs to specify the output features with `.map(..., features=output_features)`
I have an extremely large tokenized dataset (24M examples) that loads in a few minutes. However, after adding a column similar to `input_ids` (basically a list of integers) and saving the dataset to disk, the load time goes to >1 hour. I've even tried using `np.uint8` after seeing #1985 but it doesn't seem to be helping (the total size seems to be smaller though). Does anyone know what could be the issue? Or does the casting of that column to `int8` need to happen in the function that writes the arrow table instead of in the `map` where I create the list of integers? Tagging @lhoestq since you seem to be working on these issues and PRs :)
35
load_from_disk takes a long time to load local dataset
[ -0.5856128931045532, -0.20367494225502014, -0.24403072893619537, 0.47821635007858276, 0.1767960488796234, -0.04831889644265175, 0.18887558579444885, 0.2827474772930145, 0.45445793867111206, 0.30645495653152466, 0.034059084951877594, 0.1634202003479004, 0.21507051587104797, 0.09686446934938431, -0.21898168325424194, 0.16294585168361664, 0.09121637791395187, 0.16219119727611542, 0.0013111502630636096, -0.3981916904449463, -0.0808764174580574, 0.13782526552677155, 0.01870785467326641, -0.1109025627374649, -0.075887531042099, -0.014572315849363804, 0.06276075541973114, 0.3470310866832733, -0.0846284031867981, -0.08377710729837418, 0.11610571295022964, 0.07488139718770981, 0.02110396884381771, 0.1998784989118576, -0.00010240551637252793, 0.017294691875576973, 0.05367482826113701, 0.14691691100597382, -0.2761973738670349, 0.2981393039226532, 0.22653228044509888, -0.17218782007694244, 0.198621466755867, -0.1903584897518158, -0.12414608895778656, 0.040180351585149765, -0.15079690515995026, -0.43324851989746094, 0.07221908122301102, -0.10482989251613617, 0.2560521960258484, 0.3093648850917816, -0.5081679224967957, -0.23128965497016907, -0.11297297477722168, 0.14498673379421234, -0.14621105790138245, 0.34244370460510254, 0.4828307032585144, -0.0855061486363411, -0.3369525074958801, 0.21999791264533997, -0.15170688927173615, 0.24277575314044952, 0.18567045032978058, 0.15248912572860718, 0.3594578802585602, 0.21518152952194214, 0.2042004019021988, -0.07553692162036896, 0.46458661556243896, 0.11385871469974518, 0.021260464563965797, -0.23019497096538544, -0.18205241858959198, 0.0025815169792622328, 0.3301025629043579, -0.06770505756139755, -0.44226548075675964, 0.1968589723110199, -0.1155402809381485, -0.15594105422496796, -0.1140652522444725, -0.1052636131644249, -0.22814099490642548, -0.10515788197517395, 0.03482576087117195, -0.010621585883200169, 0.3958863914012909, 0.08562935888767242, 0.33362290263175964, -0.04711953550577164, 0.3082456886768341, 0.09184714406728745, -0.2266620546579361, 0.022692974656820297, 0.31962668895721436, 0.05021420866250992, -0.006726481020450592, 0.03900638222694397, 0.043741170316934586, 0.37230461835861206, 0.031687162816524506, -0.09430031478404999, 0.13866406679153442, 0.13470220565795898, -0.020370857790112495, -0.08267077803611755, 0.10126563161611557, -0.09030422568321228, -0.32351529598236084, 0.04040379449725151, -0.10024058073759079, -0.18791383504867554, 0.1765689253807068, -0.09282715618610382, -0.08308032900094986, -0.1895492970943451, -0.05088275671005249, 0.12577016651630402, 0.44018709659576416, -0.12730994820594788, 0.0749310702085495, 0.39735516905784607, -0.09081088751554489, 0.23895876109600067, -0.09122160822153091, -0.17665721476078033, -0.3562319874763489, -0.009346062317490578, -0.27961552143096924, -0.2793509066104889, -0.09750815480947495, 0.10947690159082413, 0.20758867263793945, -0.05835168436169624, 0.027540355920791626, -0.09956201910972595, -0.15542879700660706, 0.05014028027653694, 0.010977715253829956, -0.2455742359161377, 0.14283588528633118, 0.12631286680698395, -0.014178423210978508, 0.2620793581008911, 0.21154755353927612, -0.009617030620574951, -0.35285207629203796, 0.2507162094116211, -0.17526474595069885, -0.4241773188114166, -0.10655561834573746, 0.3505895137786865, -0.07499141246080399, 0.07069616764783859, -0.14438889920711517, -0.2361668199300766, -0.22503171861171722, -0.0831165537238121, -0.4406069219112396, 0.09423250705003738, -0.29403290152549744, 0.009052290581166744, 0.1315770298242569, 0.45882752537727356, -0.4264954924583435, 0.251181960105896, -0.17094732820987701, -0.14283564686775208, 0.3465871214866638, 0.3973427414894104, -0.2935294806957245, 0.34271445870399475, -0.3431713581085205, -0.04058009758591652, 0.22073130309581757, -0.3553893566131592, -0.33207300305366516, 0.7877496480941772, -0.3369447588920593, -0.19586020708084106, 0.2534971237182617, 0.20765428245067596, 0.11251647025346756, 0.05968879908323288, 0.22439946234226227, 0.5816436409950256, 0.015514878556132317, 0.27810704708099365, -0.398936003446579, -0.028913132846355438, -0.13110099732875824, 0.523442804813385, -0.24356454610824585, 0.17092560231685638, 0.19031375646591187, 0.07293490320444107, 0.35667967796325684, -0.015064670704305172, -0.12927713990211487, 0.24651800096035004, 0.08936887979507446, -0.20453689992427826, -0.1132071316242218, 0.16572129726409912, -0.323553204536438, 0.23866453766822815, 0.24516381323337555, -0.10002497583627701, -0.06427086144685745, 0.028640467673540115, -0.3501931428909302, 0.30222246050834656, -0.22342447936534882, 0.2532980442047119, 0.14433863759040833, 0.39181065559387207, 0.12037267535924911, -0.04272914305329323, 0.07534196227788925, 0.040679894387722015, -0.2452620267868042, -0.15905450284481049, -0.10542289167642593, 0.1945764273405075, -0.011345912702381611, -0.00021552189718931913, -0.075065977871418, -0.15602529048919678, -0.03496218100190163, -0.14426890015602112, -0.09668667614459991, 0.16506598889827728, 0.08496838063001633, 0.42740336060523987, 0.21870845556259155, -0.10041189938783646, 0.07772960513830185, 0.09243419021368027, 0.30985620617866516, -0.09846484661102295, 0.17284050583839417, -0.2514275014400482, -0.2805618643760681, 0.3028514087200165, -0.14557898044586182, 0.32503578066825867, 0.06263865530490875, -0.37484613060951233, 0.3930567800998688, 0.05478217825293541, 0.24207453429698944, -0.1736396849155426, 0.261778324842453, 0.3628542125225067, 0.3858488202095032, 0.3941855728626251, -0.018588868901133537, 0.14894263446331024, 0.3987658619880676, -0.2414846420288086, -0.16931912302970886, 0.021793166175484657, 0.18789459764957428, -0.22380712628364563, 0.22389674186706543, 0.1761811375617981, 0.23619624972343445, 0.29925596714019775, 0.1944279819726944, -0.16702131927013397, -0.028512295335531235, -0.20386168360710144, 0.037998300045728683, -0.23908837139606476, 0.12496764957904816, 0.3064337372779846, 0.003911287058144808, -0.259014755487442, -0.5046109557151794, -0.09919819235801697, 0.10590551048517227, 0.2091061919927597, -0.06453359872102737, -0.005677550099790096, -0.17957733571529388, 0.09467775374650955, -0.10354053974151611, 0.15984097123146057, 0.1681727021932602, -0.23965369164943695, -0.07246007770299911, 0.2824484407901764, -0.13683195412158966, -0.014580055139958858, 0.10965393483638763, 0.14485664665699005, 0.17627592384815216, -0.4780442416667938, -0.04554355889558792, -0.146246999502182, -0.14734362065792084, 0.11650170385837555, 0.259427547454834, 0.14803193509578705, 0.24197687208652496, -0.23906904458999634, -0.02238120138645172, -0.16476601362228394, 0.08420275151729584, 0.07070273905992508, 0.08861061185598373, 0.08076851814985275, -0.2194877564907074, 0.32003509998321533, -0.18748390674591064, -0.1462051272392273, 0.313222199678421, -0.3135420083999634, -0.26468920707702637, 0.06727834790945053, -0.06887324154376984, -0.015146801248192787, -0.1654348522424698, -0.19766414165496826, -0.21345993876457214, -0.4104618430137634, 0.0009061354212462902, 0.07633436471223831, 0.2453383058309555, -0.005493191070854664, 0.09226485341787338, -0.06773695349693298, 0.2888622581958771, 0.12056948244571686, -0.3102566599845886, -0.4478447735309601, 0.19906772673130035, -0.0517461858689785, -0.24814315140247345, -0.11843560636043549, 0.07623201608657837, 0.08925535529851913, 0.08616813272237778, -0.5013342499732971, -0.1631949096918106, -0.20782025158405304, 0.3350377082824707, -0.1392768919467926, -0.043603263795375824, 0.21183380484580994, 0.06777746230363846, -0.18486341834068298, 0.14609596133232117, -0.18126967549324036, 0.08364686369895935, -0.03723800554871559, -0.26991814374923706, -0.225733682513237, 0.3486514985561371, -0.21846431493759155, 0.28201961517333984, -0.35935312509536743, 0.13416674733161926, 0.1345384418964386, -0.008075796999037266, 0.330022931098938, -0.39150574803352356, -0.0871746614575386, -0.1108795776963234, 0.19641157984733582, -0.5013186931610107, 0.29157310724258423, -0.03573516011238098, -0.3783460557460785, -0.15168102085590363, 0.024884041398763657, -0.15612943470478058, -0.19325245916843414, 0.09188700467348099, 0.18480803072452545, -0.006307991687208414, 0.09071820229291916, 0.3403111398220062, -0.17105038464069366, -0.05748409405350685, 0.039870575070381165, -0.15826943516731262, 0.01503708679229021, -0.2400067001581192, -0.5269549489021301, 0.08843539655208588, -0.42742258310317993, -0.0507657453417778, -0.12137550860643387, 0.13425245881080627, -0.05693962052464485, -0.3497202694416046, 0.44954586029052734, -0.14920011162757874, 0.6727444529533386, 0.2142534852027893, 0.4612819254398346, 0.06802577525377274, -0.39061400294303894, -0.3541282117366791, 0.043632622808218, 0.10885836184024811, -0.11793477088212967, -0.13977159559726715, 0.5781159996986389, 0.05173780024051666, -0.1678285151720047, -0.0577872097492218, 0.3243645131587982, -0.15779651701450348, -0.24621520936489105, -0.10873454809188843, -0.29684796929359436, -0.20273612439632416, -0.036259327083826065, -0.20298758149147034, 0.311124324798584, 0.15661904215812683, -0.19160285592079163, -0.05041787773370743, 0.11008573323488235, 0.02286136895418167, 0.19815300405025482, 0.2057095319032669, -0.14429396390914917, 0.4285476803779602, -0.05954870954155922, 0.305581271648407, 0.01298237033188343, 0.5461338758468628, -0.30853965878486633, 0.20086334645748138, 0.4360332787036896, -0.12778253853321075, -0.11766085773706436, 0.40674516558647156, 0.31318792700767517, -0.1830914318561554, 0.0588083378970623, 0.18639615178108215, -0.39337727427482605, 0.24591057002544403, -0.1399656981229782, -0.11893317848443985, 0.11436718702316284, -0.17985542118549347, 0.20760475099086761, -0.10498230159282684, -0.09419170767068863, 0.07204762101173401, -0.2691001296043396, 0.09043721854686737, 0.49460896849632263, -0.035184819251298904, 0.6911956071853638, -0.3414730429649353, 0.1503550261259079, 0.21741686761379242, 0.1756550371646881, -0.23813535273075104, -0.25466933846473694, 0.004886134993284941, -0.26940444111824036, -0.06781232357025146, 0.15588416159152985, -0.0726548284292221, -0.09434859454631805, 0.2516276240348816, 0.22487616539001465, -0.12873287498950958, 0.1090303286910057, 0.24066714942455292, -0.30293428897857666, 0.34563177824020386, 0.05334612354636192, -0.29842492938041687, -0.41981741786003113, 0.17549513280391693, 0.09728368371725082, 0.12157522886991501, -0.07834994792938232, 0.21097606420516968, 0.07893561571836472, -0.16453365981578827, 0.24581485986709595, 0.017731012776494026, -0.002132839523255825, 0.2982238531112671, -0.21247541904449463, -0.2756848931312561, -0.6322296857833862, 0.22885461151599884, -0.08023597300052643, 0.15270017087459564, -0.035972125828266144, 0.23448270559310913, -0.13210667669773102, 0.19548028707504272, -0.11201956123113632, -0.18844634294509888, 0.08104866743087769, -0.2131163775920868, -0.0710769072175026, -0.1229095607995987, -0.275407612323761, -0.43783140182495117, 0.1342281997203827, 0.303778737783432, 0.011965087614953518, 0.052367549389600754, -0.31578174233436584, -0.06763660162687302, 0.02878098003566265, -0.01994968019425869, 0.2189098298549652, 0.21946826577186584, 0.12883393466472626, 0.13894222676753998, 0.18447786569595337, -0.46849024295806885, -0.1213822215795517, 0.5030476450920105, 0.1875782012939453, -0.08038412779569626, 0.22375881671905518, -0.0710769072175026, -0.18263082206249237, -0.3824419379234314, 0.02956538088619709, 0.29893958568573, -0.26962873339653015, 0.023548632860183716, 0.008035751059651375, -0.13415645062923431, 0.20956870913505554, 0.10999307781457901, 0.22684651613235474, -0.10389931499958038, -0.02326199971139431, -0.19054006040096283, -0.25000160932540894, -0.1079346165060997, 0.10347840934991837, -0.020288214087486267, 0.3010765314102173, -0.2749500870704651, -0.18486811220645905, 0.1389957219362259, -0.4147641658782959, 0.06507624685764313, -0.2658134996891022, -0.034709759056568146, 0.05858026072382927, -0.13252419233322144, 0.3269329369068146, -0.07506226003170013, 0.30046603083610535, -0.11050517857074738, -0.22013235092163086, -0.3393394947052002, 0.29848727583885193, 0.062395352870225906, -0.18677306175231934, 0.01392672210931778, -0.1327623426914215, -0.41403332352638245, 0.014567379839718342, -0.15950638055801392, 0.07918905466794968, 0.045140791684389114, 0.028467532247304916, -0.2707531154155731, 0.2062561810016632, 0.32901033759117126, -0.007678885944187641, 0.2679637372493744, -0.042429376393556595, 0.3369080126285553, -0.19221021234989166, -0.11081665009260178, 0.01965978741645813, -0.21431924402713776, 0.01516104768961668, -0.0014849200379103422, 0.12640973925590515, 0.13080677390098572, 0.2855032980442047, -0.027243752032518387, -0.05010875687003136, 0.39106622338294983, 0.4355258345603943, 0.012359739281237125, 0.10469590872526169, -0.17729288339614868, 0.05770472064614296, 0.3081417977809906, -0.017930490896105766, -0.39155346155166626, 0.0206766240298748, -0.3698683977127075, 0.09942883998155594, 0.07912009954452515, 0.2854667007923126, -0.1419379711151123, 0.18239465355873108, 0.10738089680671692, 0.47492143511772156, 0.022086525335907936, -0.38441047072410583, 0.41124269366264343, -0.06299839168787003, -0.08028130978345871, 0.14543287456035614, 0.2215457558631897, 0.16096681356430054, 0.6497934460639954, -0.10145743191242218, 0.24058859050273895, -0.07579409331083298, 0.48594316840171814, -0.35107582807540894, -0.5745469331741333, 0.4753831624984741, 0.2757487893104553, -0.3004661798477173, -0.11403633654117584, -0.17812664806842804, -0.11043622344732285, -0.31417903304100037, -0.15727417171001434, -0.2629573941230774, 0.06367655843496323, -0.313510924577713, -0.04035542160272598, -0.08091745525598526, -0.06373884528875351, 0.04435866326093674, 0.19022846221923828, -0.14773467183113098, -0.01679389178752899, -0.008415719494223595, -0.04477328062057495, -0.023792991414666176, 0.29256799817085266, -0.05362985283136368, -0.153213232755661, -0.18628324568271637, -0.331941694021225, 0.01570695824921131, -0.17202141880989075, 0.01380096934735775, 0.1390441209077835, -0.22014844417572021, 0.14268916845321655, 0.36536186933517456, -0.03833357244729996, -0.05889203026890755, 0.09196750074625015, -0.12608933448791504, -0.3668053150177002, 0.15041224658489227, -0.1670314073562622, 0.3416514992713928, 0.4224233627319336, 0.1932174265384674, -0.33691859245300293, -0.09664490818977356, 0.1376282125711441, 0.07279836386442184, 0.0785730704665184, 0.03994283452630043, 0.1765439361333847, -0.0780860111117363, -0.19384916126728058, 0.01364157348871231, -0.26516488194465637, -0.2839047908782959, 0.20223015546798706, -0.15783405303955078, 0.2726135849952698, -0.039212796837091446, 0.12298274785280228, -0.3009854555130005, 0.7088284492492676, 0.12594109773635864, -0.06830360740423203, -0.15891467034816742, -0.25044378638267517, -0.6658980846405029, 0.202621728181839, -0.007899675518274307, 0.1699085235595703, 0.07500024139881134, 0.3187476396560669, 0.3639798164367676, 0.1394272893667221, -0.2345000058412552, -0.002510171150788665, 0.05789432302117348, -0.06606645882129669, -0.1538008600473404, -0.04683378338813782, -0.015987679362297058, -0.16988661885261536, -0.1197023019194603, -0.6450055837631226, 0.3803485929965973, -0.09634590893983841, 0.25817108154296875, 0.009612282738089561, -0.06193666160106659, -0.09479514509439468, 0.32874253392219543, 0.3730330467224121, 0.08312555402517319, 0.18971854448318481, 0.023817459121346474, -0.014976158738136292, 0.12071966379880905, -0.041690513491630554, 0.1928779035806656, -0.09822042286396027, 0.016912361606955528, -0.019819261506199837, -0.05766529217362404, 0.2845669388771057, -0.10961876809597015, 0.21554622054100037, -0.04794381931424141, 0.1716851145029068, -0.024310937151312828, -0.06618724763393402, -0.09104622900485992, 0.040596336126327515, 0.3473609983921051, 0.0999656617641449, 0.20879918336868286, -0.0954706221818924, -0.12204620987176895, -0.09967828541994095, 0.1947554349899292, 0.10891450196504593, -0.1387820541858673, -0.048521872609853745, 0.15748658776283264, -0.05017564073204994, 0.14048321545124054, -0.08300691097974777, 0.1270347237586975, 0.2580341696739197, -0.10874797403812408, 0.07937394827604294, 0.40920498967170715, -0.13485607504844666, 0.00745331309735775, -0.01702093333005905, 0.12098443508148193, -0.07824128121137619, -0.1862582117319107, -0.32879024744033813, -0.18342681229114532 ]
https://github.com/huggingface/datasets/issues/2099
load_from_disk takes a long time to load local dataset
Do you know what step is taking forever in the code ? What happens if you interrupt the execution of the dataset loading ?
I have an extremely large tokenized dataset (24M examples) that loads in a few minutes. However, after adding a column similar to `input_ids` (basically a list of integers) and saving the dataset to disk, the load time goes to >1 hour. I've even tried using `np.uint8` after seeing #1985 but it doesn't seem to be helping (the total size seems to be smaller though). Does anyone know what could be the issue? Or does the casting of that column to `int8` need to happen in the function that writes the arrow table instead of in the `map` where I create the list of integers? Tagging @lhoestq since you seem to be working on these issues and PRs :)
24
load_from_disk takes a long time to load local dataset
[ -0.5856128931045532, -0.20367494225502014, -0.24403072893619537, 0.47821635007858276, 0.1767960488796234, -0.04831889644265175, 0.18887558579444885, 0.2827474772930145, 0.45445793867111206, 0.30645495653152466, 0.034059084951877594, 0.1634202003479004, 0.21507051587104797, 0.09686446934938431, -0.21898168325424194, 0.16294585168361664, 0.09121637791395187, 0.16219119727611542, 0.0013111502630636096, -0.3981916904449463, -0.0808764174580574, 0.13782526552677155, 0.01870785467326641, -0.1109025627374649, -0.075887531042099, -0.014572315849363804, 0.06276075541973114, 0.3470310866832733, -0.0846284031867981, -0.08377710729837418, 0.11610571295022964, 0.07488139718770981, 0.02110396884381771, 0.1998784989118576, -0.00010240551637252793, 0.017294691875576973, 0.05367482826113701, 0.14691691100597382, -0.2761973738670349, 0.2981393039226532, 0.22653228044509888, -0.17218782007694244, 0.198621466755867, -0.1903584897518158, -0.12414608895778656, 0.040180351585149765, -0.15079690515995026, -0.43324851989746094, 0.07221908122301102, -0.10482989251613617, 0.2560521960258484, 0.3093648850917816, -0.5081679224967957, -0.23128965497016907, -0.11297297477722168, 0.14498673379421234, -0.14621105790138245, 0.34244370460510254, 0.4828307032585144, -0.0855061486363411, -0.3369525074958801, 0.21999791264533997, -0.15170688927173615, 0.24277575314044952, 0.18567045032978058, 0.15248912572860718, 0.3594578802585602, 0.21518152952194214, 0.2042004019021988, -0.07553692162036896, 0.46458661556243896, 0.11385871469974518, 0.021260464563965797, -0.23019497096538544, -0.18205241858959198, 0.0025815169792622328, 0.3301025629043579, -0.06770505756139755, -0.44226548075675964, 0.1968589723110199, -0.1155402809381485, -0.15594105422496796, -0.1140652522444725, -0.1052636131644249, -0.22814099490642548, -0.10515788197517395, 0.03482576087117195, -0.010621585883200169, 0.3958863914012909, 0.08562935888767242, 0.33362290263175964, -0.04711953550577164, 0.3082456886768341, 0.09184714406728745, -0.2266620546579361, 0.022692974656820297, 0.31962668895721436, 0.05021420866250992, -0.006726481020450592, 0.03900638222694397, 0.043741170316934586, 0.37230461835861206, 0.031687162816524506, -0.09430031478404999, 0.13866406679153442, 0.13470220565795898, -0.020370857790112495, -0.08267077803611755, 0.10126563161611557, -0.09030422568321228, -0.32351529598236084, 0.04040379449725151, -0.10024058073759079, -0.18791383504867554, 0.1765689253807068, -0.09282715618610382, -0.08308032900094986, -0.1895492970943451, -0.05088275671005249, 0.12577016651630402, 0.44018709659576416, -0.12730994820594788, 0.0749310702085495, 0.39735516905784607, -0.09081088751554489, 0.23895876109600067, -0.09122160822153091, -0.17665721476078033, -0.3562319874763489, -0.009346062317490578, -0.27961552143096924, -0.2793509066104889, -0.09750815480947495, 0.10947690159082413, 0.20758867263793945, -0.05835168436169624, 0.027540355920791626, -0.09956201910972595, -0.15542879700660706, 0.05014028027653694, 0.010977715253829956, -0.2455742359161377, 0.14283588528633118, 0.12631286680698395, -0.014178423210978508, 0.2620793581008911, 0.21154755353927612, -0.009617030620574951, -0.35285207629203796, 0.2507162094116211, -0.17526474595069885, -0.4241773188114166, -0.10655561834573746, 0.3505895137786865, -0.07499141246080399, 0.07069616764783859, -0.14438889920711517, -0.2361668199300766, -0.22503171861171722, -0.0831165537238121, -0.4406069219112396, 0.09423250705003738, -0.29403290152549744, 0.009052290581166744, 0.1315770298242569, 0.45882752537727356, -0.4264954924583435, 0.251181960105896, -0.17094732820987701, -0.14283564686775208, 0.3465871214866638, 0.3973427414894104, -0.2935294806957245, 0.34271445870399475, -0.3431713581085205, -0.04058009758591652, 0.22073130309581757, -0.3553893566131592, -0.33207300305366516, 0.7877496480941772, -0.3369447588920593, -0.19586020708084106, 0.2534971237182617, 0.20765428245067596, 0.11251647025346756, 0.05968879908323288, 0.22439946234226227, 0.5816436409950256, 0.015514878556132317, 0.27810704708099365, -0.398936003446579, -0.028913132846355438, -0.13110099732875824, 0.523442804813385, -0.24356454610824585, 0.17092560231685638, 0.19031375646591187, 0.07293490320444107, 0.35667967796325684, -0.015064670704305172, -0.12927713990211487, 0.24651800096035004, 0.08936887979507446, -0.20453689992427826, -0.1132071316242218, 0.16572129726409912, -0.323553204536438, 0.23866453766822815, 0.24516381323337555, -0.10002497583627701, -0.06427086144685745, 0.028640467673540115, -0.3501931428909302, 0.30222246050834656, -0.22342447936534882, 0.2532980442047119, 0.14433863759040833, 0.39181065559387207, 0.12037267535924911, -0.04272914305329323, 0.07534196227788925, 0.040679894387722015, -0.2452620267868042, -0.15905450284481049, -0.10542289167642593, 0.1945764273405075, -0.011345912702381611, -0.00021552189718931913, -0.075065977871418, -0.15602529048919678, -0.03496218100190163, -0.14426890015602112, -0.09668667614459991, 0.16506598889827728, 0.08496838063001633, 0.42740336060523987, 0.21870845556259155, -0.10041189938783646, 0.07772960513830185, 0.09243419021368027, 0.30985620617866516, -0.09846484661102295, 0.17284050583839417, -0.2514275014400482, -0.2805618643760681, 0.3028514087200165, -0.14557898044586182, 0.32503578066825867, 0.06263865530490875, -0.37484613060951233, 0.3930567800998688, 0.05478217825293541, 0.24207453429698944, -0.1736396849155426, 0.261778324842453, 0.3628542125225067, 0.3858488202095032, 0.3941855728626251, -0.018588868901133537, 0.14894263446331024, 0.3987658619880676, -0.2414846420288086, -0.16931912302970886, 0.021793166175484657, 0.18789459764957428, -0.22380712628364563, 0.22389674186706543, 0.1761811375617981, 0.23619624972343445, 0.29925596714019775, 0.1944279819726944, -0.16702131927013397, -0.028512295335531235, -0.20386168360710144, 0.037998300045728683, -0.23908837139606476, 0.12496764957904816, 0.3064337372779846, 0.003911287058144808, -0.259014755487442, -0.5046109557151794, -0.09919819235801697, 0.10590551048517227, 0.2091061919927597, -0.06453359872102737, -0.005677550099790096, -0.17957733571529388, 0.09467775374650955, -0.10354053974151611, 0.15984097123146057, 0.1681727021932602, -0.23965369164943695, -0.07246007770299911, 0.2824484407901764, -0.13683195412158966, -0.014580055139958858, 0.10965393483638763, 0.14485664665699005, 0.17627592384815216, -0.4780442416667938, -0.04554355889558792, -0.146246999502182, -0.14734362065792084, 0.11650170385837555, 0.259427547454834, 0.14803193509578705, 0.24197687208652496, -0.23906904458999634, -0.02238120138645172, -0.16476601362228394, 0.08420275151729584, 0.07070273905992508, 0.08861061185598373, 0.08076851814985275, -0.2194877564907074, 0.32003509998321533, -0.18748390674591064, -0.1462051272392273, 0.313222199678421, -0.3135420083999634, -0.26468920707702637, 0.06727834790945053, -0.06887324154376984, -0.015146801248192787, -0.1654348522424698, -0.19766414165496826, -0.21345993876457214, -0.4104618430137634, 0.0009061354212462902, 0.07633436471223831, 0.2453383058309555, -0.005493191070854664, 0.09226485341787338, -0.06773695349693298, 0.2888622581958771, 0.12056948244571686, -0.3102566599845886, -0.4478447735309601, 0.19906772673130035, -0.0517461858689785, -0.24814315140247345, -0.11843560636043549, 0.07623201608657837, 0.08925535529851913, 0.08616813272237778, -0.5013342499732971, -0.1631949096918106, -0.20782025158405304, 0.3350377082824707, -0.1392768919467926, -0.043603263795375824, 0.21183380484580994, 0.06777746230363846, -0.18486341834068298, 0.14609596133232117, -0.18126967549324036, 0.08364686369895935, -0.03723800554871559, -0.26991814374923706, -0.225733682513237, 0.3486514985561371, -0.21846431493759155, 0.28201961517333984, -0.35935312509536743, 0.13416674733161926, 0.1345384418964386, -0.008075796999037266, 0.330022931098938, -0.39150574803352356, -0.0871746614575386, -0.1108795776963234, 0.19641157984733582, -0.5013186931610107, 0.29157310724258423, -0.03573516011238098, -0.3783460557460785, -0.15168102085590363, 0.024884041398763657, -0.15612943470478058, -0.19325245916843414, 0.09188700467348099, 0.18480803072452545, -0.006307991687208414, 0.09071820229291916, 0.3403111398220062, -0.17105038464069366, -0.05748409405350685, 0.039870575070381165, -0.15826943516731262, 0.01503708679229021, -0.2400067001581192, -0.5269549489021301, 0.08843539655208588, -0.42742258310317993, -0.0507657453417778, -0.12137550860643387, 0.13425245881080627, -0.05693962052464485, -0.3497202694416046, 0.44954586029052734, -0.14920011162757874, 0.6727444529533386, 0.2142534852027893, 0.4612819254398346, 0.06802577525377274, -0.39061400294303894, -0.3541282117366791, 0.043632622808218, 0.10885836184024811, -0.11793477088212967, -0.13977159559726715, 0.5781159996986389, 0.05173780024051666, -0.1678285151720047, -0.0577872097492218, 0.3243645131587982, -0.15779651701450348, -0.24621520936489105, -0.10873454809188843, -0.29684796929359436, -0.20273612439632416, -0.036259327083826065, -0.20298758149147034, 0.311124324798584, 0.15661904215812683, -0.19160285592079163, -0.05041787773370743, 0.11008573323488235, 0.02286136895418167, 0.19815300405025482, 0.2057095319032669, -0.14429396390914917, 0.4285476803779602, -0.05954870954155922, 0.305581271648407, 0.01298237033188343, 0.5461338758468628, -0.30853965878486633, 0.20086334645748138, 0.4360332787036896, -0.12778253853321075, -0.11766085773706436, 0.40674516558647156, 0.31318792700767517, -0.1830914318561554, 0.0588083378970623, 0.18639615178108215, -0.39337727427482605, 0.24591057002544403, -0.1399656981229782, -0.11893317848443985, 0.11436718702316284, -0.17985542118549347, 0.20760475099086761, -0.10498230159282684, -0.09419170767068863, 0.07204762101173401, -0.2691001296043396, 0.09043721854686737, 0.49460896849632263, -0.035184819251298904, 0.6911956071853638, -0.3414730429649353, 0.1503550261259079, 0.21741686761379242, 0.1756550371646881, -0.23813535273075104, -0.25466933846473694, 0.004886134993284941, -0.26940444111824036, -0.06781232357025146, 0.15588416159152985, -0.0726548284292221, -0.09434859454631805, 0.2516276240348816, 0.22487616539001465, -0.12873287498950958, 0.1090303286910057, 0.24066714942455292, -0.30293428897857666, 0.34563177824020386, 0.05334612354636192, -0.29842492938041687, -0.41981741786003113, 0.17549513280391693, 0.09728368371725082, 0.12157522886991501, -0.07834994792938232, 0.21097606420516968, 0.07893561571836472, -0.16453365981578827, 0.24581485986709595, 0.017731012776494026, -0.002132839523255825, 0.2982238531112671, -0.21247541904449463, -0.2756848931312561, -0.6322296857833862, 0.22885461151599884, -0.08023597300052643, 0.15270017087459564, -0.035972125828266144, 0.23448270559310913, -0.13210667669773102, 0.19548028707504272, -0.11201956123113632, -0.18844634294509888, 0.08104866743087769, -0.2131163775920868, -0.0710769072175026, -0.1229095607995987, -0.275407612323761, -0.43783140182495117, 0.1342281997203827, 0.303778737783432, 0.011965087614953518, 0.052367549389600754, -0.31578174233436584, -0.06763660162687302, 0.02878098003566265, -0.01994968019425869, 0.2189098298549652, 0.21946826577186584, 0.12883393466472626, 0.13894222676753998, 0.18447786569595337, -0.46849024295806885, -0.1213822215795517, 0.5030476450920105, 0.1875782012939453, -0.08038412779569626, 0.22375881671905518, -0.0710769072175026, -0.18263082206249237, -0.3824419379234314, 0.02956538088619709, 0.29893958568573, -0.26962873339653015, 0.023548632860183716, 0.008035751059651375, -0.13415645062923431, 0.20956870913505554, 0.10999307781457901, 0.22684651613235474, -0.10389931499958038, -0.02326199971139431, -0.19054006040096283, -0.25000160932540894, -0.1079346165060997, 0.10347840934991837, -0.020288214087486267, 0.3010765314102173, -0.2749500870704651, -0.18486811220645905, 0.1389957219362259, -0.4147641658782959, 0.06507624685764313, -0.2658134996891022, -0.034709759056568146, 0.05858026072382927, -0.13252419233322144, 0.3269329369068146, -0.07506226003170013, 0.30046603083610535, -0.11050517857074738, -0.22013235092163086, -0.3393394947052002, 0.29848727583885193, 0.062395352870225906, -0.18677306175231934, 0.01392672210931778, -0.1327623426914215, -0.41403332352638245, 0.014567379839718342, -0.15950638055801392, 0.07918905466794968, 0.045140791684389114, 0.028467532247304916, -0.2707531154155731, 0.2062561810016632, 0.32901033759117126, -0.007678885944187641, 0.2679637372493744, -0.042429376393556595, 0.3369080126285553, -0.19221021234989166, -0.11081665009260178, 0.01965978741645813, -0.21431924402713776, 0.01516104768961668, -0.0014849200379103422, 0.12640973925590515, 0.13080677390098572, 0.2855032980442047, -0.027243752032518387, -0.05010875687003136, 0.39106622338294983, 0.4355258345603943, 0.012359739281237125, 0.10469590872526169, -0.17729288339614868, 0.05770472064614296, 0.3081417977809906, -0.017930490896105766, -0.39155346155166626, 0.0206766240298748, -0.3698683977127075, 0.09942883998155594, 0.07912009954452515, 0.2854667007923126, -0.1419379711151123, 0.18239465355873108, 0.10738089680671692, 0.47492143511772156, 0.022086525335907936, -0.38441047072410583, 0.41124269366264343, -0.06299839168787003, -0.08028130978345871, 0.14543287456035614, 0.2215457558631897, 0.16096681356430054, 0.6497934460639954, -0.10145743191242218, 0.24058859050273895, -0.07579409331083298, 0.48594316840171814, -0.35107582807540894, -0.5745469331741333, 0.4753831624984741, 0.2757487893104553, -0.3004661798477173, -0.11403633654117584, -0.17812664806842804, -0.11043622344732285, -0.31417903304100037, -0.15727417171001434, -0.2629573941230774, 0.06367655843496323, -0.313510924577713, -0.04035542160272598, -0.08091745525598526, -0.06373884528875351, 0.04435866326093674, 0.19022846221923828, -0.14773467183113098, -0.01679389178752899, -0.008415719494223595, -0.04477328062057495, -0.023792991414666176, 0.29256799817085266, -0.05362985283136368, -0.153213232755661, -0.18628324568271637, -0.331941694021225, 0.01570695824921131, -0.17202141880989075, 0.01380096934735775, 0.1390441209077835, -0.22014844417572021, 0.14268916845321655, 0.36536186933517456, -0.03833357244729996, -0.05889203026890755, 0.09196750074625015, -0.12608933448791504, -0.3668053150177002, 0.15041224658489227, -0.1670314073562622, 0.3416514992713928, 0.4224233627319336, 0.1932174265384674, -0.33691859245300293, -0.09664490818977356, 0.1376282125711441, 0.07279836386442184, 0.0785730704665184, 0.03994283452630043, 0.1765439361333847, -0.0780860111117363, -0.19384916126728058, 0.01364157348871231, -0.26516488194465637, -0.2839047908782959, 0.20223015546798706, -0.15783405303955078, 0.2726135849952698, -0.039212796837091446, 0.12298274785280228, -0.3009854555130005, 0.7088284492492676, 0.12594109773635864, -0.06830360740423203, -0.15891467034816742, -0.25044378638267517, -0.6658980846405029, 0.202621728181839, -0.007899675518274307, 0.1699085235595703, 0.07500024139881134, 0.3187476396560669, 0.3639798164367676, 0.1394272893667221, -0.2345000058412552, -0.002510171150788665, 0.05789432302117348, -0.06606645882129669, -0.1538008600473404, -0.04683378338813782, -0.015987679362297058, -0.16988661885261536, -0.1197023019194603, -0.6450055837631226, 0.3803485929965973, -0.09634590893983841, 0.25817108154296875, 0.009612282738089561, -0.06193666160106659, -0.09479514509439468, 0.32874253392219543, 0.3730330467224121, 0.08312555402517319, 0.18971854448318481, 0.023817459121346474, -0.014976158738136292, 0.12071966379880905, -0.041690513491630554, 0.1928779035806656, -0.09822042286396027, 0.016912361606955528, -0.019819261506199837, -0.05766529217362404, 0.2845669388771057, -0.10961876809597015, 0.21554622054100037, -0.04794381931424141, 0.1716851145029068, -0.024310937151312828, -0.06618724763393402, -0.09104622900485992, 0.040596336126327515, 0.3473609983921051, 0.0999656617641449, 0.20879918336868286, -0.0954706221818924, -0.12204620987176895, -0.09967828541994095, 0.1947554349899292, 0.10891450196504593, -0.1387820541858673, -0.048521872609853745, 0.15748658776283264, -0.05017564073204994, 0.14048321545124054, -0.08300691097974777, 0.1270347237586975, 0.2580341696739197, -0.10874797403812408, 0.07937394827604294, 0.40920498967170715, -0.13485607504844666, 0.00745331309735775, -0.01702093333005905, 0.12098443508148193, -0.07824128121137619, -0.1862582117319107, -0.32879024744033813, -0.18342681229114532 ]
https://github.com/huggingface/datasets/issues/2099
load_from_disk takes a long time to load local dataset
After a synchronous discussion, we found that the cache file sizes have an enormous effect on the loading speed: smaller cache files result in faster load times. `num_proc` controls the number of cache files that are being written and is inversely proportional to the individual file size. In other words, increase `num_proc` for smaller cache files :) Maybe this can be highlighted somewhere in the docs.
I have an extremely large tokenized dataset (24M examples) that loads in a few minutes. However, after adding a column similar to `input_ids` (basically a list of integers) and saving the dataset to disk, the load time goes to >1 hour. I've even tried using `np.uint8` after seeing #1985 but it doesn't seem to be helping (the total size seems to be smaller though). Does anyone know what could be the issue? Or does the casting of that column to `int8` need to happen in the function that writes the arrow table instead of in the `map` where I create the list of integers? Tagging @lhoestq since you seem to be working on these issues and PRs :)
66
load_from_disk takes a long time to load local dataset
[ -0.5856128931045532, -0.20367494225502014, -0.24403072893619537, 0.47821635007858276, 0.1767960488796234, -0.04831889644265175, 0.18887558579444885, 0.2827474772930145, 0.45445793867111206, 0.30645495653152466, 0.034059084951877594, 0.1634202003479004, 0.21507051587104797, 0.09686446934938431, -0.21898168325424194, 0.16294585168361664, 0.09121637791395187, 0.16219119727611542, 0.0013111502630636096, -0.3981916904449463, -0.0808764174580574, 0.13782526552677155, 0.01870785467326641, -0.1109025627374649, -0.075887531042099, -0.014572315849363804, 0.06276075541973114, 0.3470310866832733, -0.0846284031867981, -0.08377710729837418, 0.11610571295022964, 0.07488139718770981, 0.02110396884381771, 0.1998784989118576, -0.00010240551637252793, 0.017294691875576973, 0.05367482826113701, 0.14691691100597382, -0.2761973738670349, 0.2981393039226532, 0.22653228044509888, -0.17218782007694244, 0.198621466755867, -0.1903584897518158, -0.12414608895778656, 0.040180351585149765, -0.15079690515995026, -0.43324851989746094, 0.07221908122301102, -0.10482989251613617, 0.2560521960258484, 0.3093648850917816, -0.5081679224967957, -0.23128965497016907, -0.11297297477722168, 0.14498673379421234, -0.14621105790138245, 0.34244370460510254, 0.4828307032585144, -0.0855061486363411, -0.3369525074958801, 0.21999791264533997, -0.15170688927173615, 0.24277575314044952, 0.18567045032978058, 0.15248912572860718, 0.3594578802585602, 0.21518152952194214, 0.2042004019021988, -0.07553692162036896, 0.46458661556243896, 0.11385871469974518, 0.021260464563965797, -0.23019497096538544, -0.18205241858959198, 0.0025815169792622328, 0.3301025629043579, -0.06770505756139755, -0.44226548075675964, 0.1968589723110199, -0.1155402809381485, -0.15594105422496796, -0.1140652522444725, -0.1052636131644249, -0.22814099490642548, -0.10515788197517395, 0.03482576087117195, -0.010621585883200169, 0.3958863914012909, 0.08562935888767242, 0.33362290263175964, -0.04711953550577164, 0.3082456886768341, 0.09184714406728745, -0.2266620546579361, 0.022692974656820297, 0.31962668895721436, 0.05021420866250992, -0.006726481020450592, 0.03900638222694397, 0.043741170316934586, 0.37230461835861206, 0.031687162816524506, -0.09430031478404999, 0.13866406679153442, 0.13470220565795898, -0.020370857790112495, -0.08267077803611755, 0.10126563161611557, -0.09030422568321228, -0.32351529598236084, 0.04040379449725151, -0.10024058073759079, -0.18791383504867554, 0.1765689253807068, -0.09282715618610382, -0.08308032900094986, -0.1895492970943451, -0.05088275671005249, 0.12577016651630402, 0.44018709659576416, -0.12730994820594788, 0.0749310702085495, 0.39735516905784607, -0.09081088751554489, 0.23895876109600067, -0.09122160822153091, -0.17665721476078033, -0.3562319874763489, -0.009346062317490578, -0.27961552143096924, -0.2793509066104889, -0.09750815480947495, 0.10947690159082413, 0.20758867263793945, -0.05835168436169624, 0.027540355920791626, -0.09956201910972595, -0.15542879700660706, 0.05014028027653694, 0.010977715253829956, -0.2455742359161377, 0.14283588528633118, 0.12631286680698395, -0.014178423210978508, 0.2620793581008911, 0.21154755353927612, -0.009617030620574951, -0.35285207629203796, 0.2507162094116211, -0.17526474595069885, -0.4241773188114166, -0.10655561834573746, 0.3505895137786865, -0.07499141246080399, 0.07069616764783859, -0.14438889920711517, -0.2361668199300766, -0.22503171861171722, -0.0831165537238121, -0.4406069219112396, 0.09423250705003738, -0.29403290152549744, 0.009052290581166744, 0.1315770298242569, 0.45882752537727356, -0.4264954924583435, 0.251181960105896, -0.17094732820987701, -0.14283564686775208, 0.3465871214866638, 0.3973427414894104, -0.2935294806957245, 0.34271445870399475, -0.3431713581085205, -0.04058009758591652, 0.22073130309581757, -0.3553893566131592, -0.33207300305366516, 0.7877496480941772, -0.3369447588920593, -0.19586020708084106, 0.2534971237182617, 0.20765428245067596, 0.11251647025346756, 0.05968879908323288, 0.22439946234226227, 0.5816436409950256, 0.015514878556132317, 0.27810704708099365, -0.398936003446579, -0.028913132846355438, -0.13110099732875824, 0.523442804813385, -0.24356454610824585, 0.17092560231685638, 0.19031375646591187, 0.07293490320444107, 0.35667967796325684, -0.015064670704305172, -0.12927713990211487, 0.24651800096035004, 0.08936887979507446, -0.20453689992427826, -0.1132071316242218, 0.16572129726409912, -0.323553204536438, 0.23866453766822815, 0.24516381323337555, -0.10002497583627701, -0.06427086144685745, 0.028640467673540115, -0.3501931428909302, 0.30222246050834656, -0.22342447936534882, 0.2532980442047119, 0.14433863759040833, 0.39181065559387207, 0.12037267535924911, -0.04272914305329323, 0.07534196227788925, 0.040679894387722015, -0.2452620267868042, -0.15905450284481049, -0.10542289167642593, 0.1945764273405075, -0.011345912702381611, -0.00021552189718931913, -0.075065977871418, -0.15602529048919678, -0.03496218100190163, -0.14426890015602112, -0.09668667614459991, 0.16506598889827728, 0.08496838063001633, 0.42740336060523987, 0.21870845556259155, -0.10041189938783646, 0.07772960513830185, 0.09243419021368027, 0.30985620617866516, -0.09846484661102295, 0.17284050583839417, -0.2514275014400482, -0.2805618643760681, 0.3028514087200165, -0.14557898044586182, 0.32503578066825867, 0.06263865530490875, -0.37484613060951233, 0.3930567800998688, 0.05478217825293541, 0.24207453429698944, -0.1736396849155426, 0.261778324842453, 0.3628542125225067, 0.3858488202095032, 0.3941855728626251, -0.018588868901133537, 0.14894263446331024, 0.3987658619880676, -0.2414846420288086, -0.16931912302970886, 0.021793166175484657, 0.18789459764957428, -0.22380712628364563, 0.22389674186706543, 0.1761811375617981, 0.23619624972343445, 0.29925596714019775, 0.1944279819726944, -0.16702131927013397, -0.028512295335531235, -0.20386168360710144, 0.037998300045728683, -0.23908837139606476, 0.12496764957904816, 0.3064337372779846, 0.003911287058144808, -0.259014755487442, -0.5046109557151794, -0.09919819235801697, 0.10590551048517227, 0.2091061919927597, -0.06453359872102737, -0.005677550099790096, -0.17957733571529388, 0.09467775374650955, -0.10354053974151611, 0.15984097123146057, 0.1681727021932602, -0.23965369164943695, -0.07246007770299911, 0.2824484407901764, -0.13683195412158966, -0.014580055139958858, 0.10965393483638763, 0.14485664665699005, 0.17627592384815216, -0.4780442416667938, -0.04554355889558792, -0.146246999502182, -0.14734362065792084, 0.11650170385837555, 0.259427547454834, 0.14803193509578705, 0.24197687208652496, -0.23906904458999634, -0.02238120138645172, -0.16476601362228394, 0.08420275151729584, 0.07070273905992508, 0.08861061185598373, 0.08076851814985275, -0.2194877564907074, 0.32003509998321533, -0.18748390674591064, -0.1462051272392273, 0.313222199678421, -0.3135420083999634, -0.26468920707702637, 0.06727834790945053, -0.06887324154376984, -0.015146801248192787, -0.1654348522424698, -0.19766414165496826, -0.21345993876457214, -0.4104618430137634, 0.0009061354212462902, 0.07633436471223831, 0.2453383058309555, -0.005493191070854664, 0.09226485341787338, -0.06773695349693298, 0.2888622581958771, 0.12056948244571686, -0.3102566599845886, -0.4478447735309601, 0.19906772673130035, -0.0517461858689785, -0.24814315140247345, -0.11843560636043549, 0.07623201608657837, 0.08925535529851913, 0.08616813272237778, -0.5013342499732971, -0.1631949096918106, -0.20782025158405304, 0.3350377082824707, -0.1392768919467926, -0.043603263795375824, 0.21183380484580994, 0.06777746230363846, -0.18486341834068298, 0.14609596133232117, -0.18126967549324036, 0.08364686369895935, -0.03723800554871559, -0.26991814374923706, -0.225733682513237, 0.3486514985561371, -0.21846431493759155, 0.28201961517333984, -0.35935312509536743, 0.13416674733161926, 0.1345384418964386, -0.008075796999037266, 0.330022931098938, -0.39150574803352356, -0.0871746614575386, -0.1108795776963234, 0.19641157984733582, -0.5013186931610107, 0.29157310724258423, -0.03573516011238098, -0.3783460557460785, -0.15168102085590363, 0.024884041398763657, -0.15612943470478058, -0.19325245916843414, 0.09188700467348099, 0.18480803072452545, -0.006307991687208414, 0.09071820229291916, 0.3403111398220062, -0.17105038464069366, -0.05748409405350685, 0.039870575070381165, -0.15826943516731262, 0.01503708679229021, -0.2400067001581192, -0.5269549489021301, 0.08843539655208588, -0.42742258310317993, -0.0507657453417778, -0.12137550860643387, 0.13425245881080627, -0.05693962052464485, -0.3497202694416046, 0.44954586029052734, -0.14920011162757874, 0.6727444529533386, 0.2142534852027893, 0.4612819254398346, 0.06802577525377274, -0.39061400294303894, -0.3541282117366791, 0.043632622808218, 0.10885836184024811, -0.11793477088212967, -0.13977159559726715, 0.5781159996986389, 0.05173780024051666, -0.1678285151720047, -0.0577872097492218, 0.3243645131587982, -0.15779651701450348, -0.24621520936489105, -0.10873454809188843, -0.29684796929359436, -0.20273612439632416, -0.036259327083826065, -0.20298758149147034, 0.311124324798584, 0.15661904215812683, -0.19160285592079163, -0.05041787773370743, 0.11008573323488235, 0.02286136895418167, 0.19815300405025482, 0.2057095319032669, -0.14429396390914917, 0.4285476803779602, -0.05954870954155922, 0.305581271648407, 0.01298237033188343, 0.5461338758468628, -0.30853965878486633, 0.20086334645748138, 0.4360332787036896, -0.12778253853321075, -0.11766085773706436, 0.40674516558647156, 0.31318792700767517, -0.1830914318561554, 0.0588083378970623, 0.18639615178108215, -0.39337727427482605, 0.24591057002544403, -0.1399656981229782, -0.11893317848443985, 0.11436718702316284, -0.17985542118549347, 0.20760475099086761, -0.10498230159282684, -0.09419170767068863, 0.07204762101173401, -0.2691001296043396, 0.09043721854686737, 0.49460896849632263, -0.035184819251298904, 0.6911956071853638, -0.3414730429649353, 0.1503550261259079, 0.21741686761379242, 0.1756550371646881, -0.23813535273075104, -0.25466933846473694, 0.004886134993284941, -0.26940444111824036, -0.06781232357025146, 0.15588416159152985, -0.0726548284292221, -0.09434859454631805, 0.2516276240348816, 0.22487616539001465, -0.12873287498950958, 0.1090303286910057, 0.24066714942455292, -0.30293428897857666, 0.34563177824020386, 0.05334612354636192, -0.29842492938041687, -0.41981741786003113, 0.17549513280391693, 0.09728368371725082, 0.12157522886991501, -0.07834994792938232, 0.21097606420516968, 0.07893561571836472, -0.16453365981578827, 0.24581485986709595, 0.017731012776494026, -0.002132839523255825, 0.2982238531112671, -0.21247541904449463, -0.2756848931312561, -0.6322296857833862, 0.22885461151599884, -0.08023597300052643, 0.15270017087459564, -0.035972125828266144, 0.23448270559310913, -0.13210667669773102, 0.19548028707504272, -0.11201956123113632, -0.18844634294509888, 0.08104866743087769, -0.2131163775920868, -0.0710769072175026, -0.1229095607995987, -0.275407612323761, -0.43783140182495117, 0.1342281997203827, 0.303778737783432, 0.011965087614953518, 0.052367549389600754, -0.31578174233436584, -0.06763660162687302, 0.02878098003566265, -0.01994968019425869, 0.2189098298549652, 0.21946826577186584, 0.12883393466472626, 0.13894222676753998, 0.18447786569595337, -0.46849024295806885, -0.1213822215795517, 0.5030476450920105, 0.1875782012939453, -0.08038412779569626, 0.22375881671905518, -0.0710769072175026, -0.18263082206249237, -0.3824419379234314, 0.02956538088619709, 0.29893958568573, -0.26962873339653015, 0.023548632860183716, 0.008035751059651375, -0.13415645062923431, 0.20956870913505554, 0.10999307781457901, 0.22684651613235474, -0.10389931499958038, -0.02326199971139431, -0.19054006040096283, -0.25000160932540894, -0.1079346165060997, 0.10347840934991837, -0.020288214087486267, 0.3010765314102173, -0.2749500870704651, -0.18486811220645905, 0.1389957219362259, -0.4147641658782959, 0.06507624685764313, -0.2658134996891022, -0.034709759056568146, 0.05858026072382927, -0.13252419233322144, 0.3269329369068146, -0.07506226003170013, 0.30046603083610535, -0.11050517857074738, -0.22013235092163086, -0.3393394947052002, 0.29848727583885193, 0.062395352870225906, -0.18677306175231934, 0.01392672210931778, -0.1327623426914215, -0.41403332352638245, 0.014567379839718342, -0.15950638055801392, 0.07918905466794968, 0.045140791684389114, 0.028467532247304916, -0.2707531154155731, 0.2062561810016632, 0.32901033759117126, -0.007678885944187641, 0.2679637372493744, -0.042429376393556595, 0.3369080126285553, -0.19221021234989166, -0.11081665009260178, 0.01965978741645813, -0.21431924402713776, 0.01516104768961668, -0.0014849200379103422, 0.12640973925590515, 0.13080677390098572, 0.2855032980442047, -0.027243752032518387, -0.05010875687003136, 0.39106622338294983, 0.4355258345603943, 0.012359739281237125, 0.10469590872526169, -0.17729288339614868, 0.05770472064614296, 0.3081417977809906, -0.017930490896105766, -0.39155346155166626, 0.0206766240298748, -0.3698683977127075, 0.09942883998155594, 0.07912009954452515, 0.2854667007923126, -0.1419379711151123, 0.18239465355873108, 0.10738089680671692, 0.47492143511772156, 0.022086525335907936, -0.38441047072410583, 0.41124269366264343, -0.06299839168787003, -0.08028130978345871, 0.14543287456035614, 0.2215457558631897, 0.16096681356430054, 0.6497934460639954, -0.10145743191242218, 0.24058859050273895, -0.07579409331083298, 0.48594316840171814, -0.35107582807540894, -0.5745469331741333, 0.4753831624984741, 0.2757487893104553, -0.3004661798477173, -0.11403633654117584, -0.17812664806842804, -0.11043622344732285, -0.31417903304100037, -0.15727417171001434, -0.2629573941230774, 0.06367655843496323, -0.313510924577713, -0.04035542160272598, -0.08091745525598526, -0.06373884528875351, 0.04435866326093674, 0.19022846221923828, -0.14773467183113098, -0.01679389178752899, -0.008415719494223595, -0.04477328062057495, -0.023792991414666176, 0.29256799817085266, -0.05362985283136368, -0.153213232755661, -0.18628324568271637, -0.331941694021225, 0.01570695824921131, -0.17202141880989075, 0.01380096934735775, 0.1390441209077835, -0.22014844417572021, 0.14268916845321655, 0.36536186933517456, -0.03833357244729996, -0.05889203026890755, 0.09196750074625015, -0.12608933448791504, -0.3668053150177002, 0.15041224658489227, -0.1670314073562622, 0.3416514992713928, 0.4224233627319336, 0.1932174265384674, -0.33691859245300293, -0.09664490818977356, 0.1376282125711441, 0.07279836386442184, 0.0785730704665184, 0.03994283452630043, 0.1765439361333847, -0.0780860111117363, -0.19384916126728058, 0.01364157348871231, -0.26516488194465637, -0.2839047908782959, 0.20223015546798706, -0.15783405303955078, 0.2726135849952698, -0.039212796837091446, 0.12298274785280228, -0.3009854555130005, 0.7088284492492676, 0.12594109773635864, -0.06830360740423203, -0.15891467034816742, -0.25044378638267517, -0.6658980846405029, 0.202621728181839, -0.007899675518274307, 0.1699085235595703, 0.07500024139881134, 0.3187476396560669, 0.3639798164367676, 0.1394272893667221, -0.2345000058412552, -0.002510171150788665, 0.05789432302117348, -0.06606645882129669, -0.1538008600473404, -0.04683378338813782, -0.015987679362297058, -0.16988661885261536, -0.1197023019194603, -0.6450055837631226, 0.3803485929965973, -0.09634590893983841, 0.25817108154296875, 0.009612282738089561, -0.06193666160106659, -0.09479514509439468, 0.32874253392219543, 0.3730330467224121, 0.08312555402517319, 0.18971854448318481, 0.023817459121346474, -0.014976158738136292, 0.12071966379880905, -0.041690513491630554, 0.1928779035806656, -0.09822042286396027, 0.016912361606955528, -0.019819261506199837, -0.05766529217362404, 0.2845669388771057, -0.10961876809597015, 0.21554622054100037, -0.04794381931424141, 0.1716851145029068, -0.024310937151312828, -0.06618724763393402, -0.09104622900485992, 0.040596336126327515, 0.3473609983921051, 0.0999656617641449, 0.20879918336868286, -0.0954706221818924, -0.12204620987176895, -0.09967828541994095, 0.1947554349899292, 0.10891450196504593, -0.1387820541858673, -0.048521872609853745, 0.15748658776283264, -0.05017564073204994, 0.14048321545124054, -0.08300691097974777, 0.1270347237586975, 0.2580341696739197, -0.10874797403812408, 0.07937394827604294, 0.40920498967170715, -0.13485607504844666, 0.00745331309735775, -0.01702093333005905, 0.12098443508148193, -0.07824128121137619, -0.1862582117319107, -0.32879024744033813, -0.18342681229114532 ]
https://github.com/huggingface/datasets/issues/2096
CoNLL 2003 dataset not including German
Hello. I've been looking for information about German Conll2003 and found your question. Official site (https://www.clips.uantwerpen.be/conll2003/ner/) mentions that organizers provide only annotation. German texts (ECI Multilingual Text Corpus) are not freely available and can be ordered from the Linguistic Data Consortium. But maybe something has changed since 2003.
Hello, thanks for all the work on developing and maintaining this amazing platform, which I am enjoying working with! I was wondering if there is a reason why the German CoNLL 2003 dataset is not included in the [repository](https://github.com/huggingface/datasets/tree/master/datasets/conll2003), since a copy of it could be found in some places on the internet such as GitHub? I could help adding the German data to the hub, unless there are some copyright issues that I am unaware of... This is considering that many work use the union of CoNLL 2002 and 2003 datasets for comparing cross-lingual NER transfer performance in `en`, `de`, `es`, and `nl`. E.g., [XLM-R](https://www.aclweb.org/anthology/2020.acl-main.747.pdf). ## Adding a Dataset - **Name:** CoNLL 2003 German - **Paper:** https://www.aclweb.org/anthology/W03-0419/ - **Data:** https://github.com/huggingface/datasets/tree/master/datasets/conll2003
48
CoNLL 2003 dataset not including German
[ -0.27478906512260437, 0.013347902335226536, -0.19325228035449982, 0.2609158754348755, -0.14108657836914062, 0.08613091707229614, 0.3023723363876343, 0.07458110898733139, -0.4187265932559967, 0.12730459868907928, -0.10734567046165466, -0.15823332965373993, -0.15414239466190338, 0.22056666016578674, -0.00672823004424572, 0.2895338237285614, 0.042678263038396835, 0.2379658967256546, 0.15467023849487305, -0.406680703163147, -0.23463033139705658, 0.2616631090641022, -0.1582261323928833, -0.2060699164867401, -0.44914647936820984, 0.23408959805965424, 0.0923854187130928, 0.05685476213693619, -0.09779197722673416, -0.07184022665023804, 0.2318027913570404, -0.050355564802885056, 0.18813589215278625, -0.04187789559364319, -0.00011068189633078873, -0.17009711265563965, -0.10759040713310242, -0.45865708589553833, -0.13445526361465454, 0.0599319227039814, -0.4949285089969635, 0.09802617877721786, -0.29561805725097656, -0.21096082031726837, -0.3077741861343384, 0.1600511074066162, -0.12714625895023346, 0.034193918108940125, 0.03224930912256241, 0.31073281168937683, 0.192867711186409, -0.10218498855829239, -0.2659596800804138, -0.19521746039390564, 0.23451127111911774, -0.03813285008072853, 0.030967216938734055, 0.08550534397363663, 0.40523722767829895, 0.012422367930412292, -0.21735098958015442, 0.31490814685821533, 0.1370255947113037, -0.04996727406978607, -0.30377358198165894, -0.037947021424770355, 0.13054123520851135, -0.2323569804430008, 0.2659847140312195, 0.2703534662723541, 0.3661938011646271, 0.0017840812215581536, -0.14667654037475586, -0.02386803925037384, -0.02208102121949196, -0.15645307302474976, 0.09122039377689362, 0.15442457795143127, -0.27961626648902893, 0.21269266307353973, 0.10978975147008896, -0.3227957487106323, -0.1699848622083664, 0.08993245661258698, -0.46606341004371643, 0.8435325622558594, -0.010061204433441162, -0.18950748443603516, 0.15763962268829346, 0.1390594244003296, 0.33215829730033875, 0.14178378880023956, -0.1617070883512497, 0.1316150575876236, -0.11030055582523346, -0.3024045526981354, 0.03974103182554245, -0.014988341368734837, 0.12785527110099792, -0.2692814767360687, -0.31605929136276245, -0.012746148742735386, -0.11624203622341156, -0.015586234629154205, 0.003378701861947775, 0.019563352689146996, 0.47517701983451843, 0.05603550001978874, 0.07944729924201965, -0.4896254539489746, 0.15889504551887512, 0.12686863541603088, -0.22220194339752197, -0.028245283290743828, -0.14890903234481812, 0.16461719572544098, -0.35467657446861267, -0.37906140089035034, -0.21179693937301636, 0.14046500623226166, 0.04087851196527481, -0.2653600871562958, -0.1943877935409546, 0.3401893675327301, 0.2877904176712036, 0.10953108966350555, -0.2589830756187439, 0.3453218936920166, 0.09236294776201248, -0.5201668739318848, -0.13825960457324982, -0.038149163126945496, -0.09815163910388947, -0.6936452984809875, 0.10761331766843796, -0.0026587804313749075, 0.19861602783203125, -0.10367102921009064, -0.04731135442852974, 0.22405757009983063, 0.16839002072811127, -0.14327986538410187, 0.6428621411323547, -0.0756683498620987, 0.11140932887792587, 0.08586959540843964, 0.05477949604392052, -0.29300370812416077, -0.27547508478164673, 0.08626285195350647, -0.10432123392820358, -0.09451408684253693, -0.5848163366317749, 0.16837815940380096, -0.33510592579841614, -0.37443098425865173, 0.6004456281661987, 0.31962811946868896, -0.09524160623550415, -0.2289760708808899, 0.01755831576883793, 0.14635664224624634, -0.17356343567371368, 0.0820736512541771, 0.03822290897369385, 0.2573568820953369, -0.4977681338787079, -0.2185472846031189, 0.12634512782096863, -0.42039811611175537, 0.23977458477020264, 0.15391221642494202, -0.05480547621846199, -0.1773587167263031, -0.23231565952301025, -0.1716303676366806, 0.34502777457237244, -0.1127832755446434, -0.45224374532699585, 0.005858427844941616, 0.29599425196647644, -0.27986007928848267, 0.17792074382305145, 0.02101963199675083, 0.0479072704911232, 0.016776051372289658, 0.01387872826308012, 0.11368513107299805, 0.1903960257768631, -0.2236676663160324, 0.02006964571774006, -0.3085896074771881, 0.2319599837064743, 0.15107207000255585, 0.2824361026287079, 0.21275918185710907, 0.33185938000679016, 0.21227528154850006, 0.30191469192504883, -0.05897948518395424, 0.04692675545811653, 0.6098189353942871, 0.18021166324615479, -0.1880829930305481, 0.002581300213932991, 0.08998323231935501, -0.21322952210903168, -0.10950864851474762, -0.058381810784339905, 0.3706161081790924, 0.29722878336906433, 0.12992647290229797, -0.08051309734582901, -0.31162887811660767, 0.0595560260117054, -0.07432986050844193, 0.21003955602645874, 0.2748877704143524, 0.04175236076116562, 0.21313464641571045, 0.04166872799396515, 0.18625813722610474, 0.477428138256073, -0.4070422649383545, 0.12113746255636215, 0.11082224547863007, 0.007082568947225809, -0.20171435177326202, 0.052619557827711105, 0.27938809990882874, 0.014545141719281673, -0.027303403243422508, -0.16008934378623962, -0.2691371440887451, 0.2492184042930603, -0.017702827230095863, 0.30792078375816345, 0.09943535923957825, 0.03148128092288971, -0.04634598270058632, -0.03532077372074127, -0.39196282625198364, -0.1217031478881836, 0.09117257595062256, -0.055431049317121506, 0.10516545176506042, 0.649916410446167, -0.1543513983488083, 0.05634317547082901, 0.3028891086578369, 0.33316582441329956, -0.26490718126296997, 0.1374613344669342, -0.5549162030220032, 0.42587417364120483, 0.14172625541687012, 0.03463238105177879, 0.4996955096721649, -0.5935555696487427, -0.14969675242900848, 0.6621074676513672, 0.1217041164636612, 0.2656138837337494, 0.05399460345506668, -0.18986377120018005, 0.1689658910036087, 0.46096378564834595, 0.4779425263404846, -0.1632274091243744, 0.3838319480419159, 0.2514592409133911, -0.17383326590061188, 0.24440962076187134, -0.17806169390678406, 0.11319331079721451, -0.20337435603141785, 0.2059018611907959, 0.274222731590271, 0.04030073434114456, -0.14892828464508057, -0.56046462059021, 0.0340685173869133, -0.08070721477270126, -0.05319111421704292, 0.019656483083963394, -0.05971625819802284, -0.3159991204738617, -0.17767231166362762, 0.02054198458790779, 0.0017249753000214696, -0.4215196669101715, -0.05730082839727402, 0.2172708660364151, -0.24046918749809265, -0.027102531865239143, 0.0803409293293953, -0.22739093005657196, 0.20061734318733215, -0.09966690838336945, -0.30971360206604004, -0.24561838805675507, -0.47209686040878296, -0.3134082853794098, 0.2343512624502182, -0.10096238553524017, -0.11969340592622757, 0.13855136930942535, -0.5688142776489258, -0.00919008906930685, 0.12612876296043396, -0.40327024459838867, 0.3852774202823639, 0.06983276456594467, -0.08187496662139893, -0.0986873134970665, -0.20013098418712616, -0.5579603314399719, -0.041332174092531204, 0.07860076427459717, 0.09138253331184387, -0.07165606319904327, 0.2522367537021637, -0.4027332067489624, 0.011309761554002762, -0.11570388823747635, -0.16486473381519318, -0.37557488679885864, -0.16977931559085846, -0.2527184784412384, 0.11676513403654099, 0.01701374538242817, -0.001031176303513348, 0.0872393324971199, -0.1495516002178192, -0.34454789757728577, 0.19090628623962402, -0.42288869619369507, -0.05883610621094704, 0.5229547619819641, -0.07869632542133331, -0.30180680751800537, 0.00877776276320219, -0.14353278279304504, 0.15727266669273376, -0.014848222024738789, -0.3197854459285736, -0.08466672152280807, -0.0035852105356752872, -0.0027155582793056965, -0.17989744246006012, 0.054815154522657394, 0.1764703243970871, 0.10385525971651077, -0.017541395500302315, -0.292572945356369, 0.054222188889980316, 0.29570794105529785, -0.024483690038323402, 0.39963942766189575, -0.4711011052131653, 0.002992275170981884, 0.21932688355445862, 0.3323585093021393, -0.01538824662566185, 0.14083190262317657, 0.31436118483543396, -0.2157592475414276, 0.27816498279571533, 0.01566457934677601, -0.022790132090449333, 0.15591348707675934, 0.1768009215593338, 0.04006168618798256, 0.28008589148521423, -0.056823231279850006, -0.4444712996482849, -0.21834318339824677, 0.20731908082962036, -0.2258024513721466, -0.010422488674521446, 0.05242868512868881, 0.09826084226369858, 0.509004533290863, 0.13532960414886475, 0.038119349628686905, -0.161598339676857, -0.1455414742231369, -0.1819702684879303, -0.2527332603931427, -0.010847737081348896, -0.02631434239447117, -0.15731023252010345, 0.16090288758277893, -0.3794735074043274, 0.10136207193136215, 0.037372712045907974, 0.31532609462738037, -0.39467185735702515, 0.0419270321726799, 0.043575264513492584, 0.06807912141084671, 0.5010854005813599, -0.35040128231048584, 0.05609133094549179, 0.16101567447185516, -0.009465871378779411, -0.4458799958229065, 0.1284094601869583, -0.49534720182418823, -0.3477316200733185, 0.7213575839996338, 0.20212970674037933, -0.2042078971862793, -0.11137266457080841, -0.021860556676983833, 0.14881210029125214, -0.14129313826560974, 0.061113420873880386, -0.2925892472267151, -0.25464436411857605, -0.40310603380203247, 0.07759325206279755, 0.3124207556247711, -0.1357664316892624, 0.2878737151622772, -0.03855298459529877, 0.14627836644649506, 0.13457517325878143, 0.22170092165470123, 0.420744389295578, 0.22964662313461304, 0.24124783277511597, -0.2521923780441284, -0.06985386461019516, 0.2923378646373749, 0.032338280230760574, 0.26840969920158386, 0.09393810480833054, -0.3755083978176117, 0.5153650045394897, -0.3723369836807251, 0.5250901579856873, 0.14376913011074066, 0.1546350121498108, -0.029791219159960747, 0.028223175555467606, -0.18133720755577087, 0.019667642191052437, 0.18343792855739594, 0.14694713056087494, 0.2077297568321228, -0.29494038224220276, -0.045728813856840134, 0.027116186916828156, 0.04193121939897537, -0.2657625377178192, -0.27363237738609314, -0.0877334326505661, -0.15300406515598297, 0.1930079460144043, 0.12408630549907684, 0.835698664188385, 0.26726797223091125, 0.16425654292106628, 0.17894092202186584, -0.23869170248508453, -0.12482798844575882, 0.19496490061283112, -0.08972317725419998, -0.08911792933940887, -0.26930373907089233, -0.09281115978956223, -0.16908639669418335, -0.16836096346378326, 0.4348556101322174, -0.06485538184642792, -0.004598942119628191, -0.23043416440486908, -0.2642996609210968, 0.21641406416893005, 0.2366698682308197, -0.32220813632011414, 0.14477097988128662, 0.22900938987731934, 0.13643020391464233, 0.09903814643621445, 0.24921417236328125, 0.10573738068342209, -0.051421016454696655, -0.2044314742088318, -0.3020919859409332, -0.30257853865623474, 0.15404146909713745, -0.28097841143608093, -0.004084696993231773, -0.014840974472463131, -0.30906862020492554, 0.21366310119628906, 0.38263022899627686, 0.16224947571754456, 0.1585453748703003, -0.11689462512731552, 0.23481063544750214, 0.4663386642932892, 0.159254789352417, 0.39496976137161255, 0.13291993737220764, 0.02405054122209549, -0.25107115507125854, -0.2105463445186615, 0.19868101179599762, -0.10226228833198547, -0.061658862978219986, 0.13076740503311157, 0.1288813203573227, -0.33701303601264954, 0.0271015502512455, -0.11336468160152435, 0.3792341947555542, 0.034816157072782516, -0.19165678322315216, 0.15455898642539978, 0.015683867037296295, -0.02815365605056286, 0.005553347524255514, -0.1791878193616867, -0.23540189862251282, -0.2502440810203552, 0.028485644608736038, 0.2206241637468338, 0.328584223985672, 0.3206605911254883, -0.096469447016716, -0.03056938759982586, -0.32107722759246826, 0.03702620416879654, -0.039639879018068314, -0.4894537925720215, -0.07487013936042786, 0.09616191685199738, -0.40359240770339966, -0.32876044511795044, 0.05569484457373619, 0.09252315759658813, 0.14426350593566895, -0.0982406958937645, -0.09376762807369232, 0.0037941131740808487, 0.08426446467638016, 0.02326996996998787, 0.20958298444747925, 0.05004924163222313, 0.17535969614982605, -0.1766679733991623, -0.15252360701560974, -0.3505423963069916, -0.05842239409685135, -0.16441892087459564, 0.17330676317214966, -0.15935680270195007, -0.0703510120511055, 0.027169637382030487, -0.14956015348434448, 0.10224701464176178, -0.24353240430355072, 0.14746949076652527, -0.30639004707336426, -0.1321372389793396, 0.07847733795642853, 0.09369815140962601, 0.042719122022390366, 0.14514587819576263, -0.11140702664852142, -0.1610335409641266, 0.17837131023406982, -0.12959478795528412, 0.02770160883665085, 0.0555315800011158, 0.6267580389976501, -0.19985823333263397, -0.09669139236211777, 0.2932926416397095, 0.04831723868846893, 0.19204533100128174, 0.14812710881233215, 0.015170061960816383, 0.5394754409790039, 0.17819587886333466, 0.11462856084108353, 0.24889223277568817, 0.09204652905464172, -0.20768114924430847, 0.03828427195549011, -0.2521498203277588, 0.11166942864656448, 0.21860240399837494, 0.3945870101451874, -0.13977916538715363, 0.07178306579589844, -0.08914586156606674, -0.009287443943321705, 0.3611777126789093, 0.29890939593315125, -0.5264682769775391, -0.25753480195999146, 0.039382368326187134, -0.003740799380466342, 0.2679915428161621, 0.06155356764793396, 0.31693509221076965, -0.11365685611963272, 0.5124367475509644, -0.18146388232707977, -0.03198808804154396, 0.2836126983165741, 0.22679223120212555, 0.42504826188087463, 0.050882093608379364, 0.34516748785972595, 0.042565762996673584, -0.0830160453915596, -0.12299176305532455, 0.21466802060604095, 0.36105528473854065, -0.03675132989883423, -0.06439762562513351, 0.11801061034202576, 0.09929867088794708, -0.1552187204360962, 0.1780770719051361, -0.007736596744507551, 0.08391786366701126, 0.27188125252723694, 0.019742541015148163, 0.16369980573654175, 0.024969598278403282, -0.03355780243873596, -0.3615304231643677, 0.100124292075634, 0.018183261156082153, 0.07589158415794373, 0.013507620431482792, 0.029690532013773918, 0.1143711730837822, 0.25950872898101807, 0.006968483328819275, -0.0750470906496048, -0.1331050992012024, 0.22134725749492645, 0.19983111321926117, -0.026476681232452393, 0.12392840534448624, 0.1807602345943451, -0.18548478186130524, -0.25966987013816833, 0.27257058024406433, -0.0540836863219738, -0.1461455374956131, 0.09725974500179291, 0.4125896990299225, 0.15017102658748627, -0.19445094466209412, 0.3092770576477051, -0.21062958240509033, -0.04577379301190376, -0.1421615034341812, -0.33472511172294617, 0.18638283014297485, 0.5424020290374756, 0.15890100598335266, 0.3282817006111145, 0.21387448906898499, -0.15487858653068542, -0.21149998903274536, 0.20579735934734344, -0.18328487873077393, 0.05807628855109215, -0.153605118393898, -0.010607094503939152, 0.1569715440273285, -0.16310156881809235, -0.006708410102874041, -0.14347194135189056, 0.2784976065158844, 0.30186986923217773, -0.03939115256071091, 0.28719547390937805, 0.011874880641698837, 0.07819332182407379, -0.02518797479569912, 0.044540565460920334, 0.03377337381243706, 0.4735144376754761, 0.08608955889940262, -0.5190945863723755, -0.415022075176239, 0.142804816365242, 0.05800969526171684, 0.15661360323429108, -0.08592312037944794, -0.045917022973299026, 0.4136323630809784, 0.22678224742412567, 0.05985838174819946, 0.3959040343761444, -0.3918966054916382, 0.11524787545204163, -0.3376697301864624, -0.03263380005955696, 0.3114149570465088, 0.5376550555229187, -0.12159083783626556, -0.2596994936466217, 0.22628292441368103, 0.09716728329658508, 0.1249595507979393, -0.2080773413181305, -0.3442869782447815, -0.040224071592092514, 0.29292216897010803, 0.27030622959136963, 0.18680185079574585, 0.6173797249794006, -0.5219705700874329, 0.07418477535247803, 0.2598571479320526, -0.3264302909374237, -0.01907939650118351, -0.09121028333902359, 0.25482550263404846, -0.14003309607505798, -0.41256260871887207, 0.11775825172662735, 0.2888772189617157, 0.32570120692253113, 0.11893579363822937, 0.19658103585243225, -0.23313157260417938, 0.10692719370126724, 0.08097923547029495, -0.08828693628311157, 0.08112803101539612, 0.23700851202011108, 0.0015602018684148788, -0.29789867997169495, -0.007536330260336399, 0.06154664233326912, 0.10749468207359314, -0.11041872203350067, -0.27432781457901, -0.4309101104736328, -0.02996106632053852, 0.14239834249019623, -0.005437828600406647, 0.2231755554676056, 0.15039204061031342, 0.3693575859069824, 0.27724501490592957, 0.04328326880931854, 0.23084363341331482, 0.2568250894546509, -0.2640659213066101, -0.10997273772954941, 0.3365664482116699, 0.24866321682929993, -0.6200979948043823, -0.19864468276500702, -0.1768590658903122 ]
https://github.com/huggingface/datasets/issues/2092
How to disable making arrow tables in load_dataset ?
Hi ! We plan to add streaming features in the future. This should allow to load a dataset instantaneously without generating the arrow table. The trade-off is that accessing examples from a streaming dataset must be done in an iterative way, and with an additional (but hopefully minor) overhead. What do you think about this ? If you have ideas or suggestions of what you expect from such features as a user, feel free to share them, this is really valuable to us !
Is there a way to disable the construction of arrow tables, or to make them on the fly as the dataset is being used ?
84
How to disable making arrow tables in load_dataset ?
[ -0.4980105757713318, -0.13449156284332275, -0.17859859764575958, 0.08813359588384628, 0.10003823041915894, 0.12476404011249542, 0.3309117257595062, 0.14540868997573853, 0.35695549845695496, 0.24688877165317535, -0.18517561256885529, 0.6678849458694458, 0.0672544538974762, 0.031970907002687454, 0.08968950808048248, 0.2666516900062561, -0.07281984388828278, 0.5513595342636108, -0.5919684767723083, -0.058029260486364365, -0.23994292318820953, -0.1119096428155899, 0.0008100325940176845, 0.13736498355865479, -0.061659108847379684, -0.2661501467227936, 0.27965351939201355, 0.013414490967988968, -0.36276236176490784, -0.33400800824165344, -0.02763628214597702, 0.2574026584625244, -0.26110872626304626, 0.09893224388360977, -0.00011166316107846797, 0.22263582050800323, -0.04598023369908333, 0.1560451239347458, -0.4889599084854126, 0.08026046305894852, -0.23161077499389648, -0.041923653334379196, 0.6482442021369934, -0.08794485777616501, 0.25198182463645935, -0.3753117620944977, -0.2151614874601364, -0.20626312494277954, 0.29763728380203247, 0.07618009299039841, 0.25197455286979675, 0.21764183044433594, -0.17457719147205353, -0.1023905798792839, 0.5272774696350098, 0.0918974056839943, -0.2748440206050873, 0.1428842842578888, -0.24700506031513214, -0.04982613027095795, -0.41468238830566406, 0.11813104897737503, -0.0670226514339447, 0.17538020014762878, -0.008904355578124523, -0.09453217685222626, 0.0016779982252046466, -0.10922073572874069, 0.23669041693210602, 0.09860838949680328, 0.49840399622917175, -0.32405003905296326, 0.051875341683626175, -0.13930048048496246, 0.0334305465221405, -0.06579562276601791, 0.006311444099992514, 0.11234545707702637, 0.05456515774130821, 0.11231271177530289, -0.017730483785271645, -0.3044070899486542, -0.1057521402835846, -0.16821277141571045, 0.12473396956920624, 0.1462942510843277, -0.11968351155519485, 0.021811043843626976, 0.3907771706581116, -0.1002674400806427, 0.3841158449649811, 0.257449746131897, -0.3708852231502533, -0.09498268365859985, -0.16549915075302124, -0.04868444427847862, 0.021475549787282944, 0.00975713599473238, 0.23365677893161774, 0.2278241515159607, 0.561268150806427, 0.13999997079372406, 0.19765925407409668, -0.05445367470383644, -0.14505480229854584, -0.013987858779728413, 0.23199202120304108, 0.11289634555578232, 0.18756744265556335, 0.16097794473171234, 0.13780292868614197, 0.024619020521640778, 0.03923938050866127, -0.35096120834350586, -0.06399430334568024, 0.04768454283475876, 0.19541344046592712, -0.031414952129125595, -0.2426072657108307, -0.04451661929488182, 0.28913137316703796, 0.0193118155002594, 0.1080816239118576, 0.31421712040901184, 0.2830456793308258, 0.006447333376854658, -0.074569471180439, 0.26686885952949524, -0.18133707344532013, -0.190060555934906, -0.2385742962360382, -0.18758738040924072, -0.12452750653028488, 0.13196109235286713, 0.2688501477241516, 0.2645764648914337, -0.040328048169612885, 0.39381083846092224, -0.15311172604560852, 0.12353307008743286, 0.24450059235095978, -0.14926254749298096, 0.3785364031791687, 0.4511745870113373, 0.09245720505714417, -0.07487551867961884, 0.1432827264070511, -0.009222717024385929, 0.006106504704803228, 0.2413920909166336, -0.2910628616809845, -0.2322620004415512, 0.034112054854631424, 0.22513893246650696, 0.1525595635175705, 0.07696565240621567, -0.5348309278488159, 0.06412609666585922, -0.06698699295520782, 0.021617185324430466, 0.3564620614051819, 0.15792958438396454, -0.08137720823287964, -0.07495252043008804, 0.029980819672346115, 0.3446473777294159, -0.4151073098182678, 0.010724089108407497, 0.014180270954966545, -0.2702404856681824, 0.13437257707118988, -0.04749901965260506, -0.3966025114059448, 0.04297773912549019, -0.1815882921218872, 0.0652143582701683, 0.5939346551895142, 0.0423111729323864, -0.23466534912586212, 0.09799680858850479, -0.05479133129119873, -0.09972493350505829, 0.23578011989593506, -0.17019380629062653, -0.008011975325644016, 0.1266269087791443, -0.04587874934077263, -0.05800247564911842, 0.40690988302230835, -0.002771850675344467, 0.08296286314725876, -0.22876083850860596, 0.20733074843883514, -0.021036919206380844, -0.2981002628803253, 0.20327824354171753, 0.30434995889663696, -0.301303505897522, 0.2891596555709839, -0.09610780328512192, -0.22522391378879547, 0.054072484374046326, -0.003979293163865805, -0.17655706405639648, -0.03894694522023201, 0.10232581943273544, -0.6253839135169983, -0.05641980096697807, 0.010518058203160763, -0.04775736480951309, -0.14511078596115112, -0.2566840946674347, -0.17252932488918304, 0.267808198928833, -0.2642627954483032, 0.4932985007762909, 0.18517328798770905, -0.2680979073047638, -0.19252032041549683, -0.11840859055519104, -0.05018443986773491, -0.11638019233942032, -0.33971738815307617, 0.14958004653453827, -0.2913079261779785, 0.06470153480768204, 0.2391034960746765, -0.020311178639531136, 0.17551304399967194, -0.012228777632117271, -0.005778184160590172, 0.29919734597206116, -0.16281317174434662, 0.21254238486289978, 0.17395630478858948, 0.14094631373882294, -0.08244616538286209, 0.24725784361362457, -0.08767008781433105, -0.3060866594314575, 0.07084464281797409, -0.3151256740093231, -0.0029833505395799875, 0.1856817901134491, 0.1606249362230301, 0.3258984386920929, -0.19946548342704773, 0.18596151471138, 0.10317335277795792, -0.03159741312265396, 0.21686814725399017, 0.12234092503786087, -0.05608818307518959, -0.5700222253799438, 0.07256953418254852, 0.2581356465816498, 0.31379371881484985, 0.1648539900779724, -0.030607281252741814, 0.11078668385744095, 0.3135487139225006, 0.18459399044513702, 0.3111397325992584, 0.007863756269216537, 0.017286673188209534, -0.240224227309227, 0.18700522184371948, 0.062200963497161865, 0.2262556552886963, 0.35136500000953674, 0.22217626869678497, -0.05616817995905876, -0.17556132376194, -0.3500731885433197, 0.18692225217819214, -0.11479233205318451, 0.39239904284477234, 0.2342173010110855, 0.09464799612760544, -0.26319724321365356, -0.6764811277389526, 0.03047211654484272, -0.1734921634197235, -0.00038918922655284405, -0.4091196358203888, -0.031150853261351585, -0.3495534062385559, 0.028787530958652496, 0.0763370618224144, 0.03859524428844452, -0.14165621995925903, -0.06367010623216629, 0.3263241946697235, 0.028509944677352905, -0.22722382843494415, 0.27249372005462646, -0.24206075072288513, 0.17816194891929626, 0.12126780301332474, -0.0841107964515686, -0.4347916841506958, -0.07935287058353424, 0.13095174729824066, 0.13537479937076569, -0.19056588411331177, 0.06547989696264267, 0.2779691815376282, -0.12325874716043472, 0.126735657453537, -0.21869944036006927, 0.10088822990655899, 0.15593576431274414, 0.10052625089883804, -0.22515790164470673, 0.32050812244415283, 0.20851969718933105, -0.08425012975931168, -0.018885402008891106, 0.0687507763504982, -0.3485161066055298, -0.17667452991008759, 0.23538878560066223, -0.3588939309120178, 0.30797073245048523, -0.10669869929552078, -0.11345727741718292, 0.14473938941955566, -0.38711991906166077, 0.1010362058877945, 0.14020301401615143, 0.15577369928359985, 0.2551094591617584, 0.26044562458992004, -0.013790180906653404, 0.12092000246047974, 0.2524182200431824, -0.20047986507415771, 0.0023543841671198606, 0.38375359773635864, -0.29247748851776123, -0.16805748641490936, 0.008778765797615051, 0.017795102670788765, 0.2748156785964966, 0.3345610797405243, -0.46608853340148926, 0.21564103662967682, -0.2727336883544922, -0.04720110446214676, -0.3072398602962494, 0.09131857752799988, 0.23877938091754913, 0.24255037307739258, -0.24044173955917358, -0.035406216979026794, 0.08398043364286423, 0.35626208782196045, -0.24112893640995026, -0.25418707728385925, -0.08961308002471924, 0.4571973979473114, -0.2933577299118042, 0.44332414865493774, -0.25324198603630066, -0.0034137906040996313, 0.3958372473716736, -0.31182199716567993, 0.5555037260055542, -0.42989856004714966, 0.12272259593009949, -0.5483070015907288, 0.0467110350728035, 0.23909643292427063, 0.1550222784280777, -0.193096324801445, -0.19730287790298462, 0.05783119797706604, 0.05569955334067345, -0.018480423837900162, -0.2146114856004715, 0.0411374531686306, -0.5523030161857605, -0.1655375361442566, -0.002337500685825944, 0.029903313145041466, -0.04447426274418831, -0.09724994748830795, 0.1530536711215973, -0.26565149426460266, 0.019754434004426003, -0.22986072301864624, -0.3512902557849884, 0.08438578248023987, -0.15434223413467407, 0.24328872561454773, -0.2140129804611206, 0.13186471164226532, 0.0014092337805777788, -0.2732495665550232, 0.15876173973083496, 0.1422940045595169, 0.4840088188648224, 0.04022735357284546, 0.07448065280914307, -0.0858069658279419, 0.10390982031822205, -0.5009897947311401, 0.12563888728618622, -0.09541139006614685, 0.15926334261894226, -0.31346800923347473, 0.14257510006427765, -0.12641692161560059, -0.06712231785058975, 0.00834710244089365, 0.18571685254573822, -0.12317466735839844, -0.028832292184233665, -0.4628407061100006, 0.06052841618657112, -0.14773179590702057, 0.019706688821315765, 0.18171627819538116, -0.1543785184621811, -0.3299883008003235, -0.4245587885379791, -0.3960742652416229, -0.4269561469554901, -0.05269693583250046, 0.3349645435810089, 0.33583343029022217, 0.07893091440200806, -0.05391611158847809, 0.2669070065021515, 0.16362251341342926, 0.3802787959575653, 0.6580160856246948, -0.15918172895908356, -0.29127007722854614, 0.2991464138031006, -0.12026205658912659, 0.22035914659500122, 0.16362693905830383, -0.20874975621700287, 0.24782715737819672, -0.0171892698854208, -0.07324600219726562, -0.048994433134794235, -0.052948761731386185, -0.08991924673318863, -0.31926536560058594, -0.01863027922809124, -0.2689431607723236, 0.280027836561203, 0.03409012407064438, -0.13308890163898468, 0.4920656383037567, 0.07903051376342773, -0.2490975558757782, 0.29690784215927124, 0.20459569990634918, 0.721145749092102, 0.009248943999409676, 0.18593406677246094, 0.2871035039424896, -0.07734746485948563, 0.043127067387104034, -0.1057305634021759, 0.07347523421049118, -0.3109968602657318, -0.2597990036010742, -0.0310605950653553, -0.17929504811763763, 0.09014227986335754, 0.4378896951675415, 0.04465572535991669, -0.11439475417137146, -0.3356989920139313, 0.05053159222006798, -0.2682785391807556, -0.01691516488790512, -0.15476463735103607, -0.2663213908672333, -0.47463804483413696, 0.07672744244337082, 0.1158159151673317, -0.5222378373146057, -0.015057515352964401, 0.30978211760520935, 0.2105497270822525, -0.30482837557792664, 0.30298250913619995, 0.07248686254024506, -0.4297119379043579, 0.30144134163856506, -0.13772916793823242, -0.3183442950248718, -0.051334042102098465, 0.16781513392925262, -0.22359758615493774, 0.08153556287288666, 0.011235362850129604, 0.04815245792269707, 0.20448963344097137, 0.16036094725131989, -0.42949631810188293, 0.2644566297531128, 0.06380097568035126, -0.030082492157816887, -0.1216966062784195, 0.1618862748146057, 0.010576585307717323, -0.2865763008594513, 0.27254965901374817, 0.008178274147212505, -0.04223376139998436, -0.30980947613716125, 0.14512872695922852, -0.08887846767902374, 0.4170590937137604, -0.12981097400188446, 0.1336338073015213, -0.06299593299627304, 0.27691417932510376, -0.180507093667984, 0.28835931420326233, -0.47796574234962463, -0.09257791191339493, 0.32201096415519714, 0.06572093814611435, 0.16817320883274078, 0.3533163368701935, -0.012580332346260548, -0.3021370470523834, -0.5158764719963074, 0.151621475815773, 0.516771674156189, -0.8029075860977173, 0.2133689671754837, 0.20885612070560455, -0.19326958060264587, 0.025980990380048752, 0.17330291867256165, -0.029072627425193787, 0.24267175793647766, -0.056993938982486725, 0.16151967644691467, -0.22911547124385834, 0.17072229087352753, -0.07951128482818604, 0.3038381040096283, 0.19796165823936462, -0.5342735648155212, -0.0006281638634391129, 0.11808399856090546, -0.3207395374774933, -0.05044208839535713, 0.07505027204751968, -0.2069471925497055, -0.2663753926753998, 0.15945617854595184, 0.010150066576898098, 0.0411715991795063, 0.14033158123493195, -0.16555827856063843, -0.2583284378051758, -0.26549023389816284, -0.10691135376691818, 0.09611251950263977, -0.18000514805316925, 0.13649199903011322, -0.27191823720932007, -0.33351004123687744, -0.25493696331977844, -0.15318232774734497, 0.2644144296646118, -0.1794595867395401, 0.0901046171784401, -0.010654800571501255, 0.40407904982566833, -0.0724470391869545, -0.2825561761856079, -0.07864396274089813, 0.0031059219036251307, 0.09521200507879257, -0.043973151594400406, -0.0729132890701294, -0.15696711838245392, -0.18175965547561646, 0.089985691010952, 0.269711434841156, 0.34143149852752686, -0.05574565753340721, -0.3718302845954895, -0.05763394013047218, -0.0938892811536789, -0.26479339599609375, 0.1867458075284958, 0.3426873981952667, 0.025914734229445457, -0.5243097543716431, 0.15919817984104156, 0.20968566834926605, -0.2828943431377411, -0.13848909735679626, 0.1527988761663437, -0.09556673467159271, 0.17396433651447296, 0.22854329645633698, 0.14658258855342865, -0.1588279902935028, 0.014490288682281971, 0.06683912128210068, -0.21190102398395538, -0.04627879709005356, -0.011298616416752338, 0.3642714321613312, -0.09472543746232986, -0.07879497855901718, 0.41084766387939453, 0.372001975774765, 0.2639392912387848, 0.15319384634494781, 0.03177560120820999, 0.36225655674934387, 0.21324335038661957, 0.023018958047032356, -0.11970344930887222, -0.26130518317222595, -0.1722898781299591, 0.05200771987438202, -0.3119688630104065, -0.21708813309669495, 0.3743738532066345, 0.3122938871383667, 0.44306591153144836, -0.1781243234872818, -0.24087631702423096, -0.0917496383190155, -0.1068466380238533, -0.04629427194595337, -0.18680110573768616, -0.14588619768619537, -0.15654803812503815, -0.07247322797775269, -0.1051521897315979, 0.3028732240200043, 0.32901859283447266, -0.198890820145607, 0.24301807582378387, -0.1810598373413086, 0.6189882755279541, 0.103364497423172, -0.0631653293967247, 0.0666145384311676, 0.00802974496036768, -0.03739380091428757, 0.24456293880939484, 0.09848305583000183, 0.18351756036281586, -0.024617670103907585, 0.0076303258538246155, 0.18028011918067932, -0.37308016419410706, 0.24261732399463654, -0.22810356318950653, -0.3253314793109894, 0.21736472845077515, 0.36701804399490356, 0.07532887160778046, 0.26653236150741577, 0.17964881658554077, -0.2432420700788498, -0.1077440157532692, 0.2654710114002228, 0.3241434693336487, 0.14163552224636078, -0.05121806263923645, 0.2034485638141632, -0.3131673038005829, 0.18679912388324738, -0.08711385726928711, -0.20780161023139954, 0.03212391212582588, 0.5364564061164856, -0.36803463101387024, -0.14374876022338867, -0.34118178486824036, 0.11310461163520813, 0.11433566361665726, 0.727576494216919, -0.04565572738647461, 0.33776044845581055, 0.14392149448394775, -0.15529343485832214, -0.329978883266449, 0.1335977017879486, 0.06770485639572144, 0.06768934428691864, 0.15612512826919556, 0.04729469493031502, 0.23696593940258026, 0.3061334192752838, 0.3232063353061676, -0.11302108317613602, 0.06987645477056503, 0.03718049079179764, -0.039941757917404175, 0.1424364596605301, 0.014675991609692574, 0.25695595145225525, -0.3334137201309204, -0.2556096315383911, -0.07542429119348526, 0.19710254669189453, 0.08759820461273193, -0.17224432528018951, 0.04473434388637543, 0.0452105738222599, 0.4119623303413391, 0.4628271758556366, 0.018931811675429344, 0.16929209232330322, -0.23561649024486542, 0.12930803000926971, 0.0037435817066580057, -0.5335925221443176, -0.00839968305081129, 0.23970851302146912, 0.3087971806526184, -0.17912615835666656, -0.033784035593271255, 0.1564514935016632, 0.1217183992266655, -0.09937111288309097, 0.16013643145561218, 0.40713849663734436, -0.08695407211780548, 0.4178069233894348, 0.22539907693862915, -0.1379966139793396, -0.17178887128829956, -0.1021704226732254, 0.13466854393482208, 0.034727420657873154, 0.1504507064819336, -0.2703818678855896, 0.12594668567180634, -0.04023163765668869, -0.28108611702919006, 0.13633152842521667, 0.45193228125572205, 0.3252546191215515, -0.19272544980049133, -0.3375086486339569, 0.01974654383957386, 0.24603837728500366, -0.19901075959205627, -0.13050071895122528, 0.4808776080608368, -0.21832774579524994, 0.2467297911643982, -0.179164320230484, 0.5403856039047241, 0.13537119328975677, -0.1179552748799324, -0.3550058901309967, -0.42334693670272827 ]
https://github.com/huggingface/datasets/issues/2092
How to disable making arrow tables in load_dataset ?
People mainly want this feature either because it takes too much time too make arrow tables, or they occupy too much memory on the disk. I think both the problem can be solved if we provide arrow tables themselves on datasets hub. Can we do this currently @lhoestq ?
Is there a way to disable the construction of arrow tables, or to make them on the fly as the dataset is being used ?
49
How to disable making arrow tables in load_dataset ?
[ -0.4980105757713318, -0.13449156284332275, -0.17859859764575958, 0.08813359588384628, 0.10003823041915894, 0.12476404011249542, 0.3309117257595062, 0.14540868997573853, 0.35695549845695496, 0.24688877165317535, -0.18517561256885529, 0.6678849458694458, 0.0672544538974762, 0.031970907002687454, 0.08968950808048248, 0.2666516900062561, -0.07281984388828278, 0.5513595342636108, -0.5919684767723083, -0.058029260486364365, -0.23994292318820953, -0.1119096428155899, 0.0008100325940176845, 0.13736498355865479, -0.061659108847379684, -0.2661501467227936, 0.27965351939201355, 0.013414490967988968, -0.36276236176490784, -0.33400800824165344, -0.02763628214597702, 0.2574026584625244, -0.26110872626304626, 0.09893224388360977, -0.00011166316107846797, 0.22263582050800323, -0.04598023369908333, 0.1560451239347458, -0.4889599084854126, 0.08026046305894852, -0.23161077499389648, -0.041923653334379196, 0.6482442021369934, -0.08794485777616501, 0.25198182463645935, -0.3753117620944977, -0.2151614874601364, -0.20626312494277954, 0.29763728380203247, 0.07618009299039841, 0.25197455286979675, 0.21764183044433594, -0.17457719147205353, -0.1023905798792839, 0.5272774696350098, 0.0918974056839943, -0.2748440206050873, 0.1428842842578888, -0.24700506031513214, -0.04982613027095795, -0.41468238830566406, 0.11813104897737503, -0.0670226514339447, 0.17538020014762878, -0.008904355578124523, -0.09453217685222626, 0.0016779982252046466, -0.10922073572874069, 0.23669041693210602, 0.09860838949680328, 0.49840399622917175, -0.32405003905296326, 0.051875341683626175, -0.13930048048496246, 0.0334305465221405, -0.06579562276601791, 0.006311444099992514, 0.11234545707702637, 0.05456515774130821, 0.11231271177530289, -0.017730483785271645, -0.3044070899486542, -0.1057521402835846, -0.16821277141571045, 0.12473396956920624, 0.1462942510843277, -0.11968351155519485, 0.021811043843626976, 0.3907771706581116, -0.1002674400806427, 0.3841158449649811, 0.257449746131897, -0.3708852231502533, -0.09498268365859985, -0.16549915075302124, -0.04868444427847862, 0.021475549787282944, 0.00975713599473238, 0.23365677893161774, 0.2278241515159607, 0.561268150806427, 0.13999997079372406, 0.19765925407409668, -0.05445367470383644, -0.14505480229854584, -0.013987858779728413, 0.23199202120304108, 0.11289634555578232, 0.18756744265556335, 0.16097794473171234, 0.13780292868614197, 0.024619020521640778, 0.03923938050866127, -0.35096120834350586, -0.06399430334568024, 0.04768454283475876, 0.19541344046592712, -0.031414952129125595, -0.2426072657108307, -0.04451661929488182, 0.28913137316703796, 0.0193118155002594, 0.1080816239118576, 0.31421712040901184, 0.2830456793308258, 0.006447333376854658, -0.074569471180439, 0.26686885952949524, -0.18133707344532013, -0.190060555934906, -0.2385742962360382, -0.18758738040924072, -0.12452750653028488, 0.13196109235286713, 0.2688501477241516, 0.2645764648914337, -0.040328048169612885, 0.39381083846092224, -0.15311172604560852, 0.12353307008743286, 0.24450059235095978, -0.14926254749298096, 0.3785364031791687, 0.4511745870113373, 0.09245720505714417, -0.07487551867961884, 0.1432827264070511, -0.009222717024385929, 0.006106504704803228, 0.2413920909166336, -0.2910628616809845, -0.2322620004415512, 0.034112054854631424, 0.22513893246650696, 0.1525595635175705, 0.07696565240621567, -0.5348309278488159, 0.06412609666585922, -0.06698699295520782, 0.021617185324430466, 0.3564620614051819, 0.15792958438396454, -0.08137720823287964, -0.07495252043008804, 0.029980819672346115, 0.3446473777294159, -0.4151073098182678, 0.010724089108407497, 0.014180270954966545, -0.2702404856681824, 0.13437257707118988, -0.04749901965260506, -0.3966025114059448, 0.04297773912549019, -0.1815882921218872, 0.0652143582701683, 0.5939346551895142, 0.0423111729323864, -0.23466534912586212, 0.09799680858850479, -0.05479133129119873, -0.09972493350505829, 0.23578011989593506, -0.17019380629062653, -0.008011975325644016, 0.1266269087791443, -0.04587874934077263, -0.05800247564911842, 0.40690988302230835, -0.002771850675344467, 0.08296286314725876, -0.22876083850860596, 0.20733074843883514, -0.021036919206380844, -0.2981002628803253, 0.20327824354171753, 0.30434995889663696, -0.301303505897522, 0.2891596555709839, -0.09610780328512192, -0.22522391378879547, 0.054072484374046326, -0.003979293163865805, -0.17655706405639648, -0.03894694522023201, 0.10232581943273544, -0.6253839135169983, -0.05641980096697807, 0.010518058203160763, -0.04775736480951309, -0.14511078596115112, -0.2566840946674347, -0.17252932488918304, 0.267808198928833, -0.2642627954483032, 0.4932985007762909, 0.18517328798770905, -0.2680979073047638, -0.19252032041549683, -0.11840859055519104, -0.05018443986773491, -0.11638019233942032, -0.33971738815307617, 0.14958004653453827, -0.2913079261779785, 0.06470153480768204, 0.2391034960746765, -0.020311178639531136, 0.17551304399967194, -0.012228777632117271, -0.005778184160590172, 0.29919734597206116, -0.16281317174434662, 0.21254238486289978, 0.17395630478858948, 0.14094631373882294, -0.08244616538286209, 0.24725784361362457, -0.08767008781433105, -0.3060866594314575, 0.07084464281797409, -0.3151256740093231, -0.0029833505395799875, 0.1856817901134491, 0.1606249362230301, 0.3258984386920929, -0.19946548342704773, 0.18596151471138, 0.10317335277795792, -0.03159741312265396, 0.21686814725399017, 0.12234092503786087, -0.05608818307518959, -0.5700222253799438, 0.07256953418254852, 0.2581356465816498, 0.31379371881484985, 0.1648539900779724, -0.030607281252741814, 0.11078668385744095, 0.3135487139225006, 0.18459399044513702, 0.3111397325992584, 0.007863756269216537, 0.017286673188209534, -0.240224227309227, 0.18700522184371948, 0.062200963497161865, 0.2262556552886963, 0.35136500000953674, 0.22217626869678497, -0.05616817995905876, -0.17556132376194, -0.3500731885433197, 0.18692225217819214, -0.11479233205318451, 0.39239904284477234, 0.2342173010110855, 0.09464799612760544, -0.26319724321365356, -0.6764811277389526, 0.03047211654484272, -0.1734921634197235, -0.00038918922655284405, -0.4091196358203888, -0.031150853261351585, -0.3495534062385559, 0.028787530958652496, 0.0763370618224144, 0.03859524428844452, -0.14165621995925903, -0.06367010623216629, 0.3263241946697235, 0.028509944677352905, -0.22722382843494415, 0.27249372005462646, -0.24206075072288513, 0.17816194891929626, 0.12126780301332474, -0.0841107964515686, -0.4347916841506958, -0.07935287058353424, 0.13095174729824066, 0.13537479937076569, -0.19056588411331177, 0.06547989696264267, 0.2779691815376282, -0.12325874716043472, 0.126735657453537, -0.21869944036006927, 0.10088822990655899, 0.15593576431274414, 0.10052625089883804, -0.22515790164470673, 0.32050812244415283, 0.20851969718933105, -0.08425012975931168, -0.018885402008891106, 0.0687507763504982, -0.3485161066055298, -0.17667452991008759, 0.23538878560066223, -0.3588939309120178, 0.30797073245048523, -0.10669869929552078, -0.11345727741718292, 0.14473938941955566, -0.38711991906166077, 0.1010362058877945, 0.14020301401615143, 0.15577369928359985, 0.2551094591617584, 0.26044562458992004, -0.013790180906653404, 0.12092000246047974, 0.2524182200431824, -0.20047986507415771, 0.0023543841671198606, 0.38375359773635864, -0.29247748851776123, -0.16805748641490936, 0.008778765797615051, 0.017795102670788765, 0.2748156785964966, 0.3345610797405243, -0.46608853340148926, 0.21564103662967682, -0.2727336883544922, -0.04720110446214676, -0.3072398602962494, 0.09131857752799988, 0.23877938091754913, 0.24255037307739258, -0.24044173955917358, -0.035406216979026794, 0.08398043364286423, 0.35626208782196045, -0.24112893640995026, -0.25418707728385925, -0.08961308002471924, 0.4571973979473114, -0.2933577299118042, 0.44332414865493774, -0.25324198603630066, -0.0034137906040996313, 0.3958372473716736, -0.31182199716567993, 0.5555037260055542, -0.42989856004714966, 0.12272259593009949, -0.5483070015907288, 0.0467110350728035, 0.23909643292427063, 0.1550222784280777, -0.193096324801445, -0.19730287790298462, 0.05783119797706604, 0.05569955334067345, -0.018480423837900162, -0.2146114856004715, 0.0411374531686306, -0.5523030161857605, -0.1655375361442566, -0.002337500685825944, 0.029903313145041466, -0.04447426274418831, -0.09724994748830795, 0.1530536711215973, -0.26565149426460266, 0.019754434004426003, -0.22986072301864624, -0.3512902557849884, 0.08438578248023987, -0.15434223413467407, 0.24328872561454773, -0.2140129804611206, 0.13186471164226532, 0.0014092337805777788, -0.2732495665550232, 0.15876173973083496, 0.1422940045595169, 0.4840088188648224, 0.04022735357284546, 0.07448065280914307, -0.0858069658279419, 0.10390982031822205, -0.5009897947311401, 0.12563888728618622, -0.09541139006614685, 0.15926334261894226, -0.31346800923347473, 0.14257510006427765, -0.12641692161560059, -0.06712231785058975, 0.00834710244089365, 0.18571685254573822, -0.12317466735839844, -0.028832292184233665, -0.4628407061100006, 0.06052841618657112, -0.14773179590702057, 0.019706688821315765, 0.18171627819538116, -0.1543785184621811, -0.3299883008003235, -0.4245587885379791, -0.3960742652416229, -0.4269561469554901, -0.05269693583250046, 0.3349645435810089, 0.33583343029022217, 0.07893091440200806, -0.05391611158847809, 0.2669070065021515, 0.16362251341342926, 0.3802787959575653, 0.6580160856246948, -0.15918172895908356, -0.29127007722854614, 0.2991464138031006, -0.12026205658912659, 0.22035914659500122, 0.16362693905830383, -0.20874975621700287, 0.24782715737819672, -0.0171892698854208, -0.07324600219726562, -0.048994433134794235, -0.052948761731386185, -0.08991924673318863, -0.31926536560058594, -0.01863027922809124, -0.2689431607723236, 0.280027836561203, 0.03409012407064438, -0.13308890163898468, 0.4920656383037567, 0.07903051376342773, -0.2490975558757782, 0.29690784215927124, 0.20459569990634918, 0.721145749092102, 0.009248943999409676, 0.18593406677246094, 0.2871035039424896, -0.07734746485948563, 0.043127067387104034, -0.1057305634021759, 0.07347523421049118, -0.3109968602657318, -0.2597990036010742, -0.0310605950653553, -0.17929504811763763, 0.09014227986335754, 0.4378896951675415, 0.04465572535991669, -0.11439475417137146, -0.3356989920139313, 0.05053159222006798, -0.2682785391807556, -0.01691516488790512, -0.15476463735103607, -0.2663213908672333, -0.47463804483413696, 0.07672744244337082, 0.1158159151673317, -0.5222378373146057, -0.015057515352964401, 0.30978211760520935, 0.2105497270822525, -0.30482837557792664, 0.30298250913619995, 0.07248686254024506, -0.4297119379043579, 0.30144134163856506, -0.13772916793823242, -0.3183442950248718, -0.051334042102098465, 0.16781513392925262, -0.22359758615493774, 0.08153556287288666, 0.011235362850129604, 0.04815245792269707, 0.20448963344097137, 0.16036094725131989, -0.42949631810188293, 0.2644566297531128, 0.06380097568035126, -0.030082492157816887, -0.1216966062784195, 0.1618862748146057, 0.010576585307717323, -0.2865763008594513, 0.27254965901374817, 0.008178274147212505, -0.04223376139998436, -0.30980947613716125, 0.14512872695922852, -0.08887846767902374, 0.4170590937137604, -0.12981097400188446, 0.1336338073015213, -0.06299593299627304, 0.27691417932510376, -0.180507093667984, 0.28835931420326233, -0.47796574234962463, -0.09257791191339493, 0.32201096415519714, 0.06572093814611435, 0.16817320883274078, 0.3533163368701935, -0.012580332346260548, -0.3021370470523834, -0.5158764719963074, 0.151621475815773, 0.516771674156189, -0.8029075860977173, 0.2133689671754837, 0.20885612070560455, -0.19326958060264587, 0.025980990380048752, 0.17330291867256165, -0.029072627425193787, 0.24267175793647766, -0.056993938982486725, 0.16151967644691467, -0.22911547124385834, 0.17072229087352753, -0.07951128482818604, 0.3038381040096283, 0.19796165823936462, -0.5342735648155212, -0.0006281638634391129, 0.11808399856090546, -0.3207395374774933, -0.05044208839535713, 0.07505027204751968, -0.2069471925497055, -0.2663753926753998, 0.15945617854595184, 0.010150066576898098, 0.0411715991795063, 0.14033158123493195, -0.16555827856063843, -0.2583284378051758, -0.26549023389816284, -0.10691135376691818, 0.09611251950263977, -0.18000514805316925, 0.13649199903011322, -0.27191823720932007, -0.33351004123687744, -0.25493696331977844, -0.15318232774734497, 0.2644144296646118, -0.1794595867395401, 0.0901046171784401, -0.010654800571501255, 0.40407904982566833, -0.0724470391869545, -0.2825561761856079, -0.07864396274089813, 0.0031059219036251307, 0.09521200507879257, -0.043973151594400406, -0.0729132890701294, -0.15696711838245392, -0.18175965547561646, 0.089985691010952, 0.269711434841156, 0.34143149852752686, -0.05574565753340721, -0.3718302845954895, -0.05763394013047218, -0.0938892811536789, -0.26479339599609375, 0.1867458075284958, 0.3426873981952667, 0.025914734229445457, -0.5243097543716431, 0.15919817984104156, 0.20968566834926605, -0.2828943431377411, -0.13848909735679626, 0.1527988761663437, -0.09556673467159271, 0.17396433651447296, 0.22854329645633698, 0.14658258855342865, -0.1588279902935028, 0.014490288682281971, 0.06683912128210068, -0.21190102398395538, -0.04627879709005356, -0.011298616416752338, 0.3642714321613312, -0.09472543746232986, -0.07879497855901718, 0.41084766387939453, 0.372001975774765, 0.2639392912387848, 0.15319384634494781, 0.03177560120820999, 0.36225655674934387, 0.21324335038661957, 0.023018958047032356, -0.11970344930887222, -0.26130518317222595, -0.1722898781299591, 0.05200771987438202, -0.3119688630104065, -0.21708813309669495, 0.3743738532066345, 0.3122938871383667, 0.44306591153144836, -0.1781243234872818, -0.24087631702423096, -0.0917496383190155, -0.1068466380238533, -0.04629427194595337, -0.18680110573768616, -0.14588619768619537, -0.15654803812503815, -0.07247322797775269, -0.1051521897315979, 0.3028732240200043, 0.32901859283447266, -0.198890820145607, 0.24301807582378387, -0.1810598373413086, 0.6189882755279541, 0.103364497423172, -0.0631653293967247, 0.0666145384311676, 0.00802974496036768, -0.03739380091428757, 0.24456293880939484, 0.09848305583000183, 0.18351756036281586, -0.024617670103907585, 0.0076303258538246155, 0.18028011918067932, -0.37308016419410706, 0.24261732399463654, -0.22810356318950653, -0.3253314793109894, 0.21736472845077515, 0.36701804399490356, 0.07532887160778046, 0.26653236150741577, 0.17964881658554077, -0.2432420700788498, -0.1077440157532692, 0.2654710114002228, 0.3241434693336487, 0.14163552224636078, -0.05121806263923645, 0.2034485638141632, -0.3131673038005829, 0.18679912388324738, -0.08711385726928711, -0.20780161023139954, 0.03212391212582588, 0.5364564061164856, -0.36803463101387024, -0.14374876022338867, -0.34118178486824036, 0.11310461163520813, 0.11433566361665726, 0.727576494216919, -0.04565572738647461, 0.33776044845581055, 0.14392149448394775, -0.15529343485832214, -0.329978883266449, 0.1335977017879486, 0.06770485639572144, 0.06768934428691864, 0.15612512826919556, 0.04729469493031502, 0.23696593940258026, 0.3061334192752838, 0.3232063353061676, -0.11302108317613602, 0.06987645477056503, 0.03718049079179764, -0.039941757917404175, 0.1424364596605301, 0.014675991609692574, 0.25695595145225525, -0.3334137201309204, -0.2556096315383911, -0.07542429119348526, 0.19710254669189453, 0.08759820461273193, -0.17224432528018951, 0.04473434388637543, 0.0452105738222599, 0.4119623303413391, 0.4628271758556366, 0.018931811675429344, 0.16929209232330322, -0.23561649024486542, 0.12930803000926971, 0.0037435817066580057, -0.5335925221443176, -0.00839968305081129, 0.23970851302146912, 0.3087971806526184, -0.17912615835666656, -0.033784035593271255, 0.1564514935016632, 0.1217183992266655, -0.09937111288309097, 0.16013643145561218, 0.40713849663734436, -0.08695407211780548, 0.4178069233894348, 0.22539907693862915, -0.1379966139793396, -0.17178887128829956, -0.1021704226732254, 0.13466854393482208, 0.034727420657873154, 0.1504507064819336, -0.2703818678855896, 0.12594668567180634, -0.04023163765668869, -0.28108611702919006, 0.13633152842521667, 0.45193228125572205, 0.3252546191215515, -0.19272544980049133, -0.3375086486339569, 0.01974654383957386, 0.24603837728500366, -0.19901075959205627, -0.13050071895122528, 0.4808776080608368, -0.21832774579524994, 0.2467297911643982, -0.179164320230484, 0.5403856039047241, 0.13537119328975677, -0.1179552748799324, -0.3550058901309967, -0.42334693670272827 ]
https://github.com/huggingface/datasets/issues/2092
How to disable making arrow tables in load_dataset ?
@lhoestq I think the ```try_from_hf_gcs``` provide the same functionality. What all datasets are available on HF GCS? Are all the datasets on huggingFace datasets hub are made available on GCS, automatically?
Is there a way to disable the construction of arrow tables, or to make them on the fly as the dataset is being used ?
31
How to disable making arrow tables in load_dataset ?
[ -0.4980105757713318, -0.13449156284332275, -0.17859859764575958, 0.08813359588384628, 0.10003823041915894, 0.12476404011249542, 0.3309117257595062, 0.14540868997573853, 0.35695549845695496, 0.24688877165317535, -0.18517561256885529, 0.6678849458694458, 0.0672544538974762, 0.031970907002687454, 0.08968950808048248, 0.2666516900062561, -0.07281984388828278, 0.5513595342636108, -0.5919684767723083, -0.058029260486364365, -0.23994292318820953, -0.1119096428155899, 0.0008100325940176845, 0.13736498355865479, -0.061659108847379684, -0.2661501467227936, 0.27965351939201355, 0.013414490967988968, -0.36276236176490784, -0.33400800824165344, -0.02763628214597702, 0.2574026584625244, -0.26110872626304626, 0.09893224388360977, -0.00011166316107846797, 0.22263582050800323, -0.04598023369908333, 0.1560451239347458, -0.4889599084854126, 0.08026046305894852, -0.23161077499389648, -0.041923653334379196, 0.6482442021369934, -0.08794485777616501, 0.25198182463645935, -0.3753117620944977, -0.2151614874601364, -0.20626312494277954, 0.29763728380203247, 0.07618009299039841, 0.25197455286979675, 0.21764183044433594, -0.17457719147205353, -0.1023905798792839, 0.5272774696350098, 0.0918974056839943, -0.2748440206050873, 0.1428842842578888, -0.24700506031513214, -0.04982613027095795, -0.41468238830566406, 0.11813104897737503, -0.0670226514339447, 0.17538020014762878, -0.008904355578124523, -0.09453217685222626, 0.0016779982252046466, -0.10922073572874069, 0.23669041693210602, 0.09860838949680328, 0.49840399622917175, -0.32405003905296326, 0.051875341683626175, -0.13930048048496246, 0.0334305465221405, -0.06579562276601791, 0.006311444099992514, 0.11234545707702637, 0.05456515774130821, 0.11231271177530289, -0.017730483785271645, -0.3044070899486542, -0.1057521402835846, -0.16821277141571045, 0.12473396956920624, 0.1462942510843277, -0.11968351155519485, 0.021811043843626976, 0.3907771706581116, -0.1002674400806427, 0.3841158449649811, 0.257449746131897, -0.3708852231502533, -0.09498268365859985, -0.16549915075302124, -0.04868444427847862, 0.021475549787282944, 0.00975713599473238, 0.23365677893161774, 0.2278241515159607, 0.561268150806427, 0.13999997079372406, 0.19765925407409668, -0.05445367470383644, -0.14505480229854584, -0.013987858779728413, 0.23199202120304108, 0.11289634555578232, 0.18756744265556335, 0.16097794473171234, 0.13780292868614197, 0.024619020521640778, 0.03923938050866127, -0.35096120834350586, -0.06399430334568024, 0.04768454283475876, 0.19541344046592712, -0.031414952129125595, -0.2426072657108307, -0.04451661929488182, 0.28913137316703796, 0.0193118155002594, 0.1080816239118576, 0.31421712040901184, 0.2830456793308258, 0.006447333376854658, -0.074569471180439, 0.26686885952949524, -0.18133707344532013, -0.190060555934906, -0.2385742962360382, -0.18758738040924072, -0.12452750653028488, 0.13196109235286713, 0.2688501477241516, 0.2645764648914337, -0.040328048169612885, 0.39381083846092224, -0.15311172604560852, 0.12353307008743286, 0.24450059235095978, -0.14926254749298096, 0.3785364031791687, 0.4511745870113373, 0.09245720505714417, -0.07487551867961884, 0.1432827264070511, -0.009222717024385929, 0.006106504704803228, 0.2413920909166336, -0.2910628616809845, -0.2322620004415512, 0.034112054854631424, 0.22513893246650696, 0.1525595635175705, 0.07696565240621567, -0.5348309278488159, 0.06412609666585922, -0.06698699295520782, 0.021617185324430466, 0.3564620614051819, 0.15792958438396454, -0.08137720823287964, -0.07495252043008804, 0.029980819672346115, 0.3446473777294159, -0.4151073098182678, 0.010724089108407497, 0.014180270954966545, -0.2702404856681824, 0.13437257707118988, -0.04749901965260506, -0.3966025114059448, 0.04297773912549019, -0.1815882921218872, 0.0652143582701683, 0.5939346551895142, 0.0423111729323864, -0.23466534912586212, 0.09799680858850479, -0.05479133129119873, -0.09972493350505829, 0.23578011989593506, -0.17019380629062653, -0.008011975325644016, 0.1266269087791443, -0.04587874934077263, -0.05800247564911842, 0.40690988302230835, -0.002771850675344467, 0.08296286314725876, -0.22876083850860596, 0.20733074843883514, -0.021036919206380844, -0.2981002628803253, 0.20327824354171753, 0.30434995889663696, -0.301303505897522, 0.2891596555709839, -0.09610780328512192, -0.22522391378879547, 0.054072484374046326, -0.003979293163865805, -0.17655706405639648, -0.03894694522023201, 0.10232581943273544, -0.6253839135169983, -0.05641980096697807, 0.010518058203160763, -0.04775736480951309, -0.14511078596115112, -0.2566840946674347, -0.17252932488918304, 0.267808198928833, -0.2642627954483032, 0.4932985007762909, 0.18517328798770905, -0.2680979073047638, -0.19252032041549683, -0.11840859055519104, -0.05018443986773491, -0.11638019233942032, -0.33971738815307617, 0.14958004653453827, -0.2913079261779785, 0.06470153480768204, 0.2391034960746765, -0.020311178639531136, 0.17551304399967194, -0.012228777632117271, -0.005778184160590172, 0.29919734597206116, -0.16281317174434662, 0.21254238486289978, 0.17395630478858948, 0.14094631373882294, -0.08244616538286209, 0.24725784361362457, -0.08767008781433105, -0.3060866594314575, 0.07084464281797409, -0.3151256740093231, -0.0029833505395799875, 0.1856817901134491, 0.1606249362230301, 0.3258984386920929, -0.19946548342704773, 0.18596151471138, 0.10317335277795792, -0.03159741312265396, 0.21686814725399017, 0.12234092503786087, -0.05608818307518959, -0.5700222253799438, 0.07256953418254852, 0.2581356465816498, 0.31379371881484985, 0.1648539900779724, -0.030607281252741814, 0.11078668385744095, 0.3135487139225006, 0.18459399044513702, 0.3111397325992584, 0.007863756269216537, 0.017286673188209534, -0.240224227309227, 0.18700522184371948, 0.062200963497161865, 0.2262556552886963, 0.35136500000953674, 0.22217626869678497, -0.05616817995905876, -0.17556132376194, -0.3500731885433197, 0.18692225217819214, -0.11479233205318451, 0.39239904284477234, 0.2342173010110855, 0.09464799612760544, -0.26319724321365356, -0.6764811277389526, 0.03047211654484272, -0.1734921634197235, -0.00038918922655284405, -0.4091196358203888, -0.031150853261351585, -0.3495534062385559, 0.028787530958652496, 0.0763370618224144, 0.03859524428844452, -0.14165621995925903, -0.06367010623216629, 0.3263241946697235, 0.028509944677352905, -0.22722382843494415, 0.27249372005462646, -0.24206075072288513, 0.17816194891929626, 0.12126780301332474, -0.0841107964515686, -0.4347916841506958, -0.07935287058353424, 0.13095174729824066, 0.13537479937076569, -0.19056588411331177, 0.06547989696264267, 0.2779691815376282, -0.12325874716043472, 0.126735657453537, -0.21869944036006927, 0.10088822990655899, 0.15593576431274414, 0.10052625089883804, -0.22515790164470673, 0.32050812244415283, 0.20851969718933105, -0.08425012975931168, -0.018885402008891106, 0.0687507763504982, -0.3485161066055298, -0.17667452991008759, 0.23538878560066223, -0.3588939309120178, 0.30797073245048523, -0.10669869929552078, -0.11345727741718292, 0.14473938941955566, -0.38711991906166077, 0.1010362058877945, 0.14020301401615143, 0.15577369928359985, 0.2551094591617584, 0.26044562458992004, -0.013790180906653404, 0.12092000246047974, 0.2524182200431824, -0.20047986507415771, 0.0023543841671198606, 0.38375359773635864, -0.29247748851776123, -0.16805748641490936, 0.008778765797615051, 0.017795102670788765, 0.2748156785964966, 0.3345610797405243, -0.46608853340148926, 0.21564103662967682, -0.2727336883544922, -0.04720110446214676, -0.3072398602962494, 0.09131857752799988, 0.23877938091754913, 0.24255037307739258, -0.24044173955917358, -0.035406216979026794, 0.08398043364286423, 0.35626208782196045, -0.24112893640995026, -0.25418707728385925, -0.08961308002471924, 0.4571973979473114, -0.2933577299118042, 0.44332414865493774, -0.25324198603630066, -0.0034137906040996313, 0.3958372473716736, -0.31182199716567993, 0.5555037260055542, -0.42989856004714966, 0.12272259593009949, -0.5483070015907288, 0.0467110350728035, 0.23909643292427063, 0.1550222784280777, -0.193096324801445, -0.19730287790298462, 0.05783119797706604, 0.05569955334067345, -0.018480423837900162, -0.2146114856004715, 0.0411374531686306, -0.5523030161857605, -0.1655375361442566, -0.002337500685825944, 0.029903313145041466, -0.04447426274418831, -0.09724994748830795, 0.1530536711215973, -0.26565149426460266, 0.019754434004426003, -0.22986072301864624, -0.3512902557849884, 0.08438578248023987, -0.15434223413467407, 0.24328872561454773, -0.2140129804611206, 0.13186471164226532, 0.0014092337805777788, -0.2732495665550232, 0.15876173973083496, 0.1422940045595169, 0.4840088188648224, 0.04022735357284546, 0.07448065280914307, -0.0858069658279419, 0.10390982031822205, -0.5009897947311401, 0.12563888728618622, -0.09541139006614685, 0.15926334261894226, -0.31346800923347473, 0.14257510006427765, -0.12641692161560059, -0.06712231785058975, 0.00834710244089365, 0.18571685254573822, -0.12317466735839844, -0.028832292184233665, -0.4628407061100006, 0.06052841618657112, -0.14773179590702057, 0.019706688821315765, 0.18171627819538116, -0.1543785184621811, -0.3299883008003235, -0.4245587885379791, -0.3960742652416229, -0.4269561469554901, -0.05269693583250046, 0.3349645435810089, 0.33583343029022217, 0.07893091440200806, -0.05391611158847809, 0.2669070065021515, 0.16362251341342926, 0.3802787959575653, 0.6580160856246948, -0.15918172895908356, -0.29127007722854614, 0.2991464138031006, -0.12026205658912659, 0.22035914659500122, 0.16362693905830383, -0.20874975621700287, 0.24782715737819672, -0.0171892698854208, -0.07324600219726562, -0.048994433134794235, -0.052948761731386185, -0.08991924673318863, -0.31926536560058594, -0.01863027922809124, -0.2689431607723236, 0.280027836561203, 0.03409012407064438, -0.13308890163898468, 0.4920656383037567, 0.07903051376342773, -0.2490975558757782, 0.29690784215927124, 0.20459569990634918, 0.721145749092102, 0.009248943999409676, 0.18593406677246094, 0.2871035039424896, -0.07734746485948563, 0.043127067387104034, -0.1057305634021759, 0.07347523421049118, -0.3109968602657318, -0.2597990036010742, -0.0310605950653553, -0.17929504811763763, 0.09014227986335754, 0.4378896951675415, 0.04465572535991669, -0.11439475417137146, -0.3356989920139313, 0.05053159222006798, -0.2682785391807556, -0.01691516488790512, -0.15476463735103607, -0.2663213908672333, -0.47463804483413696, 0.07672744244337082, 0.1158159151673317, -0.5222378373146057, -0.015057515352964401, 0.30978211760520935, 0.2105497270822525, -0.30482837557792664, 0.30298250913619995, 0.07248686254024506, -0.4297119379043579, 0.30144134163856506, -0.13772916793823242, -0.3183442950248718, -0.051334042102098465, 0.16781513392925262, -0.22359758615493774, 0.08153556287288666, 0.011235362850129604, 0.04815245792269707, 0.20448963344097137, 0.16036094725131989, -0.42949631810188293, 0.2644566297531128, 0.06380097568035126, -0.030082492157816887, -0.1216966062784195, 0.1618862748146057, 0.010576585307717323, -0.2865763008594513, 0.27254965901374817, 0.008178274147212505, -0.04223376139998436, -0.30980947613716125, 0.14512872695922852, -0.08887846767902374, 0.4170590937137604, -0.12981097400188446, 0.1336338073015213, -0.06299593299627304, 0.27691417932510376, -0.180507093667984, 0.28835931420326233, -0.47796574234962463, -0.09257791191339493, 0.32201096415519714, 0.06572093814611435, 0.16817320883274078, 0.3533163368701935, -0.012580332346260548, -0.3021370470523834, -0.5158764719963074, 0.151621475815773, 0.516771674156189, -0.8029075860977173, 0.2133689671754837, 0.20885612070560455, -0.19326958060264587, 0.025980990380048752, 0.17330291867256165, -0.029072627425193787, 0.24267175793647766, -0.056993938982486725, 0.16151967644691467, -0.22911547124385834, 0.17072229087352753, -0.07951128482818604, 0.3038381040096283, 0.19796165823936462, -0.5342735648155212, -0.0006281638634391129, 0.11808399856090546, -0.3207395374774933, -0.05044208839535713, 0.07505027204751968, -0.2069471925497055, -0.2663753926753998, 0.15945617854595184, 0.010150066576898098, 0.0411715991795063, 0.14033158123493195, -0.16555827856063843, -0.2583284378051758, -0.26549023389816284, -0.10691135376691818, 0.09611251950263977, -0.18000514805316925, 0.13649199903011322, -0.27191823720932007, -0.33351004123687744, -0.25493696331977844, -0.15318232774734497, 0.2644144296646118, -0.1794595867395401, 0.0901046171784401, -0.010654800571501255, 0.40407904982566833, -0.0724470391869545, -0.2825561761856079, -0.07864396274089813, 0.0031059219036251307, 0.09521200507879257, -0.043973151594400406, -0.0729132890701294, -0.15696711838245392, -0.18175965547561646, 0.089985691010952, 0.269711434841156, 0.34143149852752686, -0.05574565753340721, -0.3718302845954895, -0.05763394013047218, -0.0938892811536789, -0.26479339599609375, 0.1867458075284958, 0.3426873981952667, 0.025914734229445457, -0.5243097543716431, 0.15919817984104156, 0.20968566834926605, -0.2828943431377411, -0.13848909735679626, 0.1527988761663437, -0.09556673467159271, 0.17396433651447296, 0.22854329645633698, 0.14658258855342865, -0.1588279902935028, 0.014490288682281971, 0.06683912128210068, -0.21190102398395538, -0.04627879709005356, -0.011298616416752338, 0.3642714321613312, -0.09472543746232986, -0.07879497855901718, 0.41084766387939453, 0.372001975774765, 0.2639392912387848, 0.15319384634494781, 0.03177560120820999, 0.36225655674934387, 0.21324335038661957, 0.023018958047032356, -0.11970344930887222, -0.26130518317222595, -0.1722898781299591, 0.05200771987438202, -0.3119688630104065, -0.21708813309669495, 0.3743738532066345, 0.3122938871383667, 0.44306591153144836, -0.1781243234872818, -0.24087631702423096, -0.0917496383190155, -0.1068466380238533, -0.04629427194595337, -0.18680110573768616, -0.14588619768619537, -0.15654803812503815, -0.07247322797775269, -0.1051521897315979, 0.3028732240200043, 0.32901859283447266, -0.198890820145607, 0.24301807582378387, -0.1810598373413086, 0.6189882755279541, 0.103364497423172, -0.0631653293967247, 0.0666145384311676, 0.00802974496036768, -0.03739380091428757, 0.24456293880939484, 0.09848305583000183, 0.18351756036281586, -0.024617670103907585, 0.0076303258538246155, 0.18028011918067932, -0.37308016419410706, 0.24261732399463654, -0.22810356318950653, -0.3253314793109894, 0.21736472845077515, 0.36701804399490356, 0.07532887160778046, 0.26653236150741577, 0.17964881658554077, -0.2432420700788498, -0.1077440157532692, 0.2654710114002228, 0.3241434693336487, 0.14163552224636078, -0.05121806263923645, 0.2034485638141632, -0.3131673038005829, 0.18679912388324738, -0.08711385726928711, -0.20780161023139954, 0.03212391212582588, 0.5364564061164856, -0.36803463101387024, -0.14374876022338867, -0.34118178486824036, 0.11310461163520813, 0.11433566361665726, 0.727576494216919, -0.04565572738647461, 0.33776044845581055, 0.14392149448394775, -0.15529343485832214, -0.329978883266449, 0.1335977017879486, 0.06770485639572144, 0.06768934428691864, 0.15612512826919556, 0.04729469493031502, 0.23696593940258026, 0.3061334192752838, 0.3232063353061676, -0.11302108317613602, 0.06987645477056503, 0.03718049079179764, -0.039941757917404175, 0.1424364596605301, 0.014675991609692574, 0.25695595145225525, -0.3334137201309204, -0.2556096315383911, -0.07542429119348526, 0.19710254669189453, 0.08759820461273193, -0.17224432528018951, 0.04473434388637543, 0.0452105738222599, 0.4119623303413391, 0.4628271758556366, 0.018931811675429344, 0.16929209232330322, -0.23561649024486542, 0.12930803000926971, 0.0037435817066580057, -0.5335925221443176, -0.00839968305081129, 0.23970851302146912, 0.3087971806526184, -0.17912615835666656, -0.033784035593271255, 0.1564514935016632, 0.1217183992266655, -0.09937111288309097, 0.16013643145561218, 0.40713849663734436, -0.08695407211780548, 0.4178069233894348, 0.22539907693862915, -0.1379966139793396, -0.17178887128829956, -0.1021704226732254, 0.13466854393482208, 0.034727420657873154, 0.1504507064819336, -0.2703818678855896, 0.12594668567180634, -0.04023163765668869, -0.28108611702919006, 0.13633152842521667, 0.45193228125572205, 0.3252546191215515, -0.19272544980049133, -0.3375086486339569, 0.01974654383957386, 0.24603837728500366, -0.19901075959205627, -0.13050071895122528, 0.4808776080608368, -0.21832774579524994, 0.2467297911643982, -0.179164320230484, 0.5403856039047241, 0.13537119328975677, -0.1179552748799324, -0.3550058901309967, -0.42334693670272827 ]
https://github.com/huggingface/datasets/issues/2092
How to disable making arrow tables in load_dataset ?
Only datasets like wikipedia, wiki40b, wiki_dpr and natural questions are available already processed on the HF google storage. This is used to download directly the arrow file instead of building it from the original data files.
Is there a way to disable the construction of arrow tables, or to make them on the fly as the dataset is being used ?
36
How to disable making arrow tables in load_dataset ?
[ -0.4980105757713318, -0.13449156284332275, -0.17859859764575958, 0.08813359588384628, 0.10003823041915894, 0.12476404011249542, 0.3309117257595062, 0.14540868997573853, 0.35695549845695496, 0.24688877165317535, -0.18517561256885529, 0.6678849458694458, 0.0672544538974762, 0.031970907002687454, 0.08968950808048248, 0.2666516900062561, -0.07281984388828278, 0.5513595342636108, -0.5919684767723083, -0.058029260486364365, -0.23994292318820953, -0.1119096428155899, 0.0008100325940176845, 0.13736498355865479, -0.061659108847379684, -0.2661501467227936, 0.27965351939201355, 0.013414490967988968, -0.36276236176490784, -0.33400800824165344, -0.02763628214597702, 0.2574026584625244, -0.26110872626304626, 0.09893224388360977, -0.00011166316107846797, 0.22263582050800323, -0.04598023369908333, 0.1560451239347458, -0.4889599084854126, 0.08026046305894852, -0.23161077499389648, -0.041923653334379196, 0.6482442021369934, -0.08794485777616501, 0.25198182463645935, -0.3753117620944977, -0.2151614874601364, -0.20626312494277954, 0.29763728380203247, 0.07618009299039841, 0.25197455286979675, 0.21764183044433594, -0.17457719147205353, -0.1023905798792839, 0.5272774696350098, 0.0918974056839943, -0.2748440206050873, 0.1428842842578888, -0.24700506031513214, -0.04982613027095795, -0.41468238830566406, 0.11813104897737503, -0.0670226514339447, 0.17538020014762878, -0.008904355578124523, -0.09453217685222626, 0.0016779982252046466, -0.10922073572874069, 0.23669041693210602, 0.09860838949680328, 0.49840399622917175, -0.32405003905296326, 0.051875341683626175, -0.13930048048496246, 0.0334305465221405, -0.06579562276601791, 0.006311444099992514, 0.11234545707702637, 0.05456515774130821, 0.11231271177530289, -0.017730483785271645, -0.3044070899486542, -0.1057521402835846, -0.16821277141571045, 0.12473396956920624, 0.1462942510843277, -0.11968351155519485, 0.021811043843626976, 0.3907771706581116, -0.1002674400806427, 0.3841158449649811, 0.257449746131897, -0.3708852231502533, -0.09498268365859985, -0.16549915075302124, -0.04868444427847862, 0.021475549787282944, 0.00975713599473238, 0.23365677893161774, 0.2278241515159607, 0.561268150806427, 0.13999997079372406, 0.19765925407409668, -0.05445367470383644, -0.14505480229854584, -0.013987858779728413, 0.23199202120304108, 0.11289634555578232, 0.18756744265556335, 0.16097794473171234, 0.13780292868614197, 0.024619020521640778, 0.03923938050866127, -0.35096120834350586, -0.06399430334568024, 0.04768454283475876, 0.19541344046592712, -0.031414952129125595, -0.2426072657108307, -0.04451661929488182, 0.28913137316703796, 0.0193118155002594, 0.1080816239118576, 0.31421712040901184, 0.2830456793308258, 0.006447333376854658, -0.074569471180439, 0.26686885952949524, -0.18133707344532013, -0.190060555934906, -0.2385742962360382, -0.18758738040924072, -0.12452750653028488, 0.13196109235286713, 0.2688501477241516, 0.2645764648914337, -0.040328048169612885, 0.39381083846092224, -0.15311172604560852, 0.12353307008743286, 0.24450059235095978, -0.14926254749298096, 0.3785364031791687, 0.4511745870113373, 0.09245720505714417, -0.07487551867961884, 0.1432827264070511, -0.009222717024385929, 0.006106504704803228, 0.2413920909166336, -0.2910628616809845, -0.2322620004415512, 0.034112054854631424, 0.22513893246650696, 0.1525595635175705, 0.07696565240621567, -0.5348309278488159, 0.06412609666585922, -0.06698699295520782, 0.021617185324430466, 0.3564620614051819, 0.15792958438396454, -0.08137720823287964, -0.07495252043008804, 0.029980819672346115, 0.3446473777294159, -0.4151073098182678, 0.010724089108407497, 0.014180270954966545, -0.2702404856681824, 0.13437257707118988, -0.04749901965260506, -0.3966025114059448, 0.04297773912549019, -0.1815882921218872, 0.0652143582701683, 0.5939346551895142, 0.0423111729323864, -0.23466534912586212, 0.09799680858850479, -0.05479133129119873, -0.09972493350505829, 0.23578011989593506, -0.17019380629062653, -0.008011975325644016, 0.1266269087791443, -0.04587874934077263, -0.05800247564911842, 0.40690988302230835, -0.002771850675344467, 0.08296286314725876, -0.22876083850860596, 0.20733074843883514, -0.021036919206380844, -0.2981002628803253, 0.20327824354171753, 0.30434995889663696, -0.301303505897522, 0.2891596555709839, -0.09610780328512192, -0.22522391378879547, 0.054072484374046326, -0.003979293163865805, -0.17655706405639648, -0.03894694522023201, 0.10232581943273544, -0.6253839135169983, -0.05641980096697807, 0.010518058203160763, -0.04775736480951309, -0.14511078596115112, -0.2566840946674347, -0.17252932488918304, 0.267808198928833, -0.2642627954483032, 0.4932985007762909, 0.18517328798770905, -0.2680979073047638, -0.19252032041549683, -0.11840859055519104, -0.05018443986773491, -0.11638019233942032, -0.33971738815307617, 0.14958004653453827, -0.2913079261779785, 0.06470153480768204, 0.2391034960746765, -0.020311178639531136, 0.17551304399967194, -0.012228777632117271, -0.005778184160590172, 0.29919734597206116, -0.16281317174434662, 0.21254238486289978, 0.17395630478858948, 0.14094631373882294, -0.08244616538286209, 0.24725784361362457, -0.08767008781433105, -0.3060866594314575, 0.07084464281797409, -0.3151256740093231, -0.0029833505395799875, 0.1856817901134491, 0.1606249362230301, 0.3258984386920929, -0.19946548342704773, 0.18596151471138, 0.10317335277795792, -0.03159741312265396, 0.21686814725399017, 0.12234092503786087, -0.05608818307518959, -0.5700222253799438, 0.07256953418254852, 0.2581356465816498, 0.31379371881484985, 0.1648539900779724, -0.030607281252741814, 0.11078668385744095, 0.3135487139225006, 0.18459399044513702, 0.3111397325992584, 0.007863756269216537, 0.017286673188209534, -0.240224227309227, 0.18700522184371948, 0.062200963497161865, 0.2262556552886963, 0.35136500000953674, 0.22217626869678497, -0.05616817995905876, -0.17556132376194, -0.3500731885433197, 0.18692225217819214, -0.11479233205318451, 0.39239904284477234, 0.2342173010110855, 0.09464799612760544, -0.26319724321365356, -0.6764811277389526, 0.03047211654484272, -0.1734921634197235, -0.00038918922655284405, -0.4091196358203888, -0.031150853261351585, -0.3495534062385559, 0.028787530958652496, 0.0763370618224144, 0.03859524428844452, -0.14165621995925903, -0.06367010623216629, 0.3263241946697235, 0.028509944677352905, -0.22722382843494415, 0.27249372005462646, -0.24206075072288513, 0.17816194891929626, 0.12126780301332474, -0.0841107964515686, -0.4347916841506958, -0.07935287058353424, 0.13095174729824066, 0.13537479937076569, -0.19056588411331177, 0.06547989696264267, 0.2779691815376282, -0.12325874716043472, 0.126735657453537, -0.21869944036006927, 0.10088822990655899, 0.15593576431274414, 0.10052625089883804, -0.22515790164470673, 0.32050812244415283, 0.20851969718933105, -0.08425012975931168, -0.018885402008891106, 0.0687507763504982, -0.3485161066055298, -0.17667452991008759, 0.23538878560066223, -0.3588939309120178, 0.30797073245048523, -0.10669869929552078, -0.11345727741718292, 0.14473938941955566, -0.38711991906166077, 0.1010362058877945, 0.14020301401615143, 0.15577369928359985, 0.2551094591617584, 0.26044562458992004, -0.013790180906653404, 0.12092000246047974, 0.2524182200431824, -0.20047986507415771, 0.0023543841671198606, 0.38375359773635864, -0.29247748851776123, -0.16805748641490936, 0.008778765797615051, 0.017795102670788765, 0.2748156785964966, 0.3345610797405243, -0.46608853340148926, 0.21564103662967682, -0.2727336883544922, -0.04720110446214676, -0.3072398602962494, 0.09131857752799988, 0.23877938091754913, 0.24255037307739258, -0.24044173955917358, -0.035406216979026794, 0.08398043364286423, 0.35626208782196045, -0.24112893640995026, -0.25418707728385925, -0.08961308002471924, 0.4571973979473114, -0.2933577299118042, 0.44332414865493774, -0.25324198603630066, -0.0034137906040996313, 0.3958372473716736, -0.31182199716567993, 0.5555037260055542, -0.42989856004714966, 0.12272259593009949, -0.5483070015907288, 0.0467110350728035, 0.23909643292427063, 0.1550222784280777, -0.193096324801445, -0.19730287790298462, 0.05783119797706604, 0.05569955334067345, -0.018480423837900162, -0.2146114856004715, 0.0411374531686306, -0.5523030161857605, -0.1655375361442566, -0.002337500685825944, 0.029903313145041466, -0.04447426274418831, -0.09724994748830795, 0.1530536711215973, -0.26565149426460266, 0.019754434004426003, -0.22986072301864624, -0.3512902557849884, 0.08438578248023987, -0.15434223413467407, 0.24328872561454773, -0.2140129804611206, 0.13186471164226532, 0.0014092337805777788, -0.2732495665550232, 0.15876173973083496, 0.1422940045595169, 0.4840088188648224, 0.04022735357284546, 0.07448065280914307, -0.0858069658279419, 0.10390982031822205, -0.5009897947311401, 0.12563888728618622, -0.09541139006614685, 0.15926334261894226, -0.31346800923347473, 0.14257510006427765, -0.12641692161560059, -0.06712231785058975, 0.00834710244089365, 0.18571685254573822, -0.12317466735839844, -0.028832292184233665, -0.4628407061100006, 0.06052841618657112, -0.14773179590702057, 0.019706688821315765, 0.18171627819538116, -0.1543785184621811, -0.3299883008003235, -0.4245587885379791, -0.3960742652416229, -0.4269561469554901, -0.05269693583250046, 0.3349645435810089, 0.33583343029022217, 0.07893091440200806, -0.05391611158847809, 0.2669070065021515, 0.16362251341342926, 0.3802787959575653, 0.6580160856246948, -0.15918172895908356, -0.29127007722854614, 0.2991464138031006, -0.12026205658912659, 0.22035914659500122, 0.16362693905830383, -0.20874975621700287, 0.24782715737819672, -0.0171892698854208, -0.07324600219726562, -0.048994433134794235, -0.052948761731386185, -0.08991924673318863, -0.31926536560058594, -0.01863027922809124, -0.2689431607723236, 0.280027836561203, 0.03409012407064438, -0.13308890163898468, 0.4920656383037567, 0.07903051376342773, -0.2490975558757782, 0.29690784215927124, 0.20459569990634918, 0.721145749092102, 0.009248943999409676, 0.18593406677246094, 0.2871035039424896, -0.07734746485948563, 0.043127067387104034, -0.1057305634021759, 0.07347523421049118, -0.3109968602657318, -0.2597990036010742, -0.0310605950653553, -0.17929504811763763, 0.09014227986335754, 0.4378896951675415, 0.04465572535991669, -0.11439475417137146, -0.3356989920139313, 0.05053159222006798, -0.2682785391807556, -0.01691516488790512, -0.15476463735103607, -0.2663213908672333, -0.47463804483413696, 0.07672744244337082, 0.1158159151673317, -0.5222378373146057, -0.015057515352964401, 0.30978211760520935, 0.2105497270822525, -0.30482837557792664, 0.30298250913619995, 0.07248686254024506, -0.4297119379043579, 0.30144134163856506, -0.13772916793823242, -0.3183442950248718, -0.051334042102098465, 0.16781513392925262, -0.22359758615493774, 0.08153556287288666, 0.011235362850129604, 0.04815245792269707, 0.20448963344097137, 0.16036094725131989, -0.42949631810188293, 0.2644566297531128, 0.06380097568035126, -0.030082492157816887, -0.1216966062784195, 0.1618862748146057, 0.010576585307717323, -0.2865763008594513, 0.27254965901374817, 0.008178274147212505, -0.04223376139998436, -0.30980947613716125, 0.14512872695922852, -0.08887846767902374, 0.4170590937137604, -0.12981097400188446, 0.1336338073015213, -0.06299593299627304, 0.27691417932510376, -0.180507093667984, 0.28835931420326233, -0.47796574234962463, -0.09257791191339493, 0.32201096415519714, 0.06572093814611435, 0.16817320883274078, 0.3533163368701935, -0.012580332346260548, -0.3021370470523834, -0.5158764719963074, 0.151621475815773, 0.516771674156189, -0.8029075860977173, 0.2133689671754837, 0.20885612070560455, -0.19326958060264587, 0.025980990380048752, 0.17330291867256165, -0.029072627425193787, 0.24267175793647766, -0.056993938982486725, 0.16151967644691467, -0.22911547124385834, 0.17072229087352753, -0.07951128482818604, 0.3038381040096283, 0.19796165823936462, -0.5342735648155212, -0.0006281638634391129, 0.11808399856090546, -0.3207395374774933, -0.05044208839535713, 0.07505027204751968, -0.2069471925497055, -0.2663753926753998, 0.15945617854595184, 0.010150066576898098, 0.0411715991795063, 0.14033158123493195, -0.16555827856063843, -0.2583284378051758, -0.26549023389816284, -0.10691135376691818, 0.09611251950263977, -0.18000514805316925, 0.13649199903011322, -0.27191823720932007, -0.33351004123687744, -0.25493696331977844, -0.15318232774734497, 0.2644144296646118, -0.1794595867395401, 0.0901046171784401, -0.010654800571501255, 0.40407904982566833, -0.0724470391869545, -0.2825561761856079, -0.07864396274089813, 0.0031059219036251307, 0.09521200507879257, -0.043973151594400406, -0.0729132890701294, -0.15696711838245392, -0.18175965547561646, 0.089985691010952, 0.269711434841156, 0.34143149852752686, -0.05574565753340721, -0.3718302845954895, -0.05763394013047218, -0.0938892811536789, -0.26479339599609375, 0.1867458075284958, 0.3426873981952667, 0.025914734229445457, -0.5243097543716431, 0.15919817984104156, 0.20968566834926605, -0.2828943431377411, -0.13848909735679626, 0.1527988761663437, -0.09556673467159271, 0.17396433651447296, 0.22854329645633698, 0.14658258855342865, -0.1588279902935028, 0.014490288682281971, 0.06683912128210068, -0.21190102398395538, -0.04627879709005356, -0.011298616416752338, 0.3642714321613312, -0.09472543746232986, -0.07879497855901718, 0.41084766387939453, 0.372001975774765, 0.2639392912387848, 0.15319384634494781, 0.03177560120820999, 0.36225655674934387, 0.21324335038661957, 0.023018958047032356, -0.11970344930887222, -0.26130518317222595, -0.1722898781299591, 0.05200771987438202, -0.3119688630104065, -0.21708813309669495, 0.3743738532066345, 0.3122938871383667, 0.44306591153144836, -0.1781243234872818, -0.24087631702423096, -0.0917496383190155, -0.1068466380238533, -0.04629427194595337, -0.18680110573768616, -0.14588619768619537, -0.15654803812503815, -0.07247322797775269, -0.1051521897315979, 0.3028732240200043, 0.32901859283447266, -0.198890820145607, 0.24301807582378387, -0.1810598373413086, 0.6189882755279541, 0.103364497423172, -0.0631653293967247, 0.0666145384311676, 0.00802974496036768, -0.03739380091428757, 0.24456293880939484, 0.09848305583000183, 0.18351756036281586, -0.024617670103907585, 0.0076303258538246155, 0.18028011918067932, -0.37308016419410706, 0.24261732399463654, -0.22810356318950653, -0.3253314793109894, 0.21736472845077515, 0.36701804399490356, 0.07532887160778046, 0.26653236150741577, 0.17964881658554077, -0.2432420700788498, -0.1077440157532692, 0.2654710114002228, 0.3241434693336487, 0.14163552224636078, -0.05121806263923645, 0.2034485638141632, -0.3131673038005829, 0.18679912388324738, -0.08711385726928711, -0.20780161023139954, 0.03212391212582588, 0.5364564061164856, -0.36803463101387024, -0.14374876022338867, -0.34118178486824036, 0.11310461163520813, 0.11433566361665726, 0.727576494216919, -0.04565572738647461, 0.33776044845581055, 0.14392149448394775, -0.15529343485832214, -0.329978883266449, 0.1335977017879486, 0.06770485639572144, 0.06768934428691864, 0.15612512826919556, 0.04729469493031502, 0.23696593940258026, 0.3061334192752838, 0.3232063353061676, -0.11302108317613602, 0.06987645477056503, 0.03718049079179764, -0.039941757917404175, 0.1424364596605301, 0.014675991609692574, 0.25695595145225525, -0.3334137201309204, -0.2556096315383911, -0.07542429119348526, 0.19710254669189453, 0.08759820461273193, -0.17224432528018951, 0.04473434388637543, 0.0452105738222599, 0.4119623303413391, 0.4628271758556366, 0.018931811675429344, 0.16929209232330322, -0.23561649024486542, 0.12930803000926971, 0.0037435817066580057, -0.5335925221443176, -0.00839968305081129, 0.23970851302146912, 0.3087971806526184, -0.17912615835666656, -0.033784035593271255, 0.1564514935016632, 0.1217183992266655, -0.09937111288309097, 0.16013643145561218, 0.40713849663734436, -0.08695407211780548, 0.4178069233894348, 0.22539907693862915, -0.1379966139793396, -0.17178887128829956, -0.1021704226732254, 0.13466854393482208, 0.034727420657873154, 0.1504507064819336, -0.2703818678855896, 0.12594668567180634, -0.04023163765668869, -0.28108611702919006, 0.13633152842521667, 0.45193228125572205, 0.3252546191215515, -0.19272544980049133, -0.3375086486339569, 0.01974654383957386, 0.24603837728500366, -0.19901075959205627, -0.13050071895122528, 0.4808776080608368, -0.21832774579524994, 0.2467297911643982, -0.179164320230484, 0.5403856039047241, 0.13537119328975677, -0.1179552748799324, -0.3550058901309967, -0.42334693670272827 ]
https://github.com/huggingface/datasets/issues/2092
How to disable making arrow tables in load_dataset ?
@lhoestq How can we make sure that the data we upload on HuggingFace hub is available in form of preprocessed arrow files ?
Is there a way to disable the construction of arrow tables, or to make them on the fly as the dataset is being used ?
23
How to disable making arrow tables in load_dataset ?
[ -0.4980105757713318, -0.13449156284332275, -0.17859859764575958, 0.08813359588384628, 0.10003823041915894, 0.12476404011249542, 0.3309117257595062, 0.14540868997573853, 0.35695549845695496, 0.24688877165317535, -0.18517561256885529, 0.6678849458694458, 0.0672544538974762, 0.031970907002687454, 0.08968950808048248, 0.2666516900062561, -0.07281984388828278, 0.5513595342636108, -0.5919684767723083, -0.058029260486364365, -0.23994292318820953, -0.1119096428155899, 0.0008100325940176845, 0.13736498355865479, -0.061659108847379684, -0.2661501467227936, 0.27965351939201355, 0.013414490967988968, -0.36276236176490784, -0.33400800824165344, -0.02763628214597702, 0.2574026584625244, -0.26110872626304626, 0.09893224388360977, -0.00011166316107846797, 0.22263582050800323, -0.04598023369908333, 0.1560451239347458, -0.4889599084854126, 0.08026046305894852, -0.23161077499389648, -0.041923653334379196, 0.6482442021369934, -0.08794485777616501, 0.25198182463645935, -0.3753117620944977, -0.2151614874601364, -0.20626312494277954, 0.29763728380203247, 0.07618009299039841, 0.25197455286979675, 0.21764183044433594, -0.17457719147205353, -0.1023905798792839, 0.5272774696350098, 0.0918974056839943, -0.2748440206050873, 0.1428842842578888, -0.24700506031513214, -0.04982613027095795, -0.41468238830566406, 0.11813104897737503, -0.0670226514339447, 0.17538020014762878, -0.008904355578124523, -0.09453217685222626, 0.0016779982252046466, -0.10922073572874069, 0.23669041693210602, 0.09860838949680328, 0.49840399622917175, -0.32405003905296326, 0.051875341683626175, -0.13930048048496246, 0.0334305465221405, -0.06579562276601791, 0.006311444099992514, 0.11234545707702637, 0.05456515774130821, 0.11231271177530289, -0.017730483785271645, -0.3044070899486542, -0.1057521402835846, -0.16821277141571045, 0.12473396956920624, 0.1462942510843277, -0.11968351155519485, 0.021811043843626976, 0.3907771706581116, -0.1002674400806427, 0.3841158449649811, 0.257449746131897, -0.3708852231502533, -0.09498268365859985, -0.16549915075302124, -0.04868444427847862, 0.021475549787282944, 0.00975713599473238, 0.23365677893161774, 0.2278241515159607, 0.561268150806427, 0.13999997079372406, 0.19765925407409668, -0.05445367470383644, -0.14505480229854584, -0.013987858779728413, 0.23199202120304108, 0.11289634555578232, 0.18756744265556335, 0.16097794473171234, 0.13780292868614197, 0.024619020521640778, 0.03923938050866127, -0.35096120834350586, -0.06399430334568024, 0.04768454283475876, 0.19541344046592712, -0.031414952129125595, -0.2426072657108307, -0.04451661929488182, 0.28913137316703796, 0.0193118155002594, 0.1080816239118576, 0.31421712040901184, 0.2830456793308258, 0.006447333376854658, -0.074569471180439, 0.26686885952949524, -0.18133707344532013, -0.190060555934906, -0.2385742962360382, -0.18758738040924072, -0.12452750653028488, 0.13196109235286713, 0.2688501477241516, 0.2645764648914337, -0.040328048169612885, 0.39381083846092224, -0.15311172604560852, 0.12353307008743286, 0.24450059235095978, -0.14926254749298096, 0.3785364031791687, 0.4511745870113373, 0.09245720505714417, -0.07487551867961884, 0.1432827264070511, -0.009222717024385929, 0.006106504704803228, 0.2413920909166336, -0.2910628616809845, -0.2322620004415512, 0.034112054854631424, 0.22513893246650696, 0.1525595635175705, 0.07696565240621567, -0.5348309278488159, 0.06412609666585922, -0.06698699295520782, 0.021617185324430466, 0.3564620614051819, 0.15792958438396454, -0.08137720823287964, -0.07495252043008804, 0.029980819672346115, 0.3446473777294159, -0.4151073098182678, 0.010724089108407497, 0.014180270954966545, -0.2702404856681824, 0.13437257707118988, -0.04749901965260506, -0.3966025114059448, 0.04297773912549019, -0.1815882921218872, 0.0652143582701683, 0.5939346551895142, 0.0423111729323864, -0.23466534912586212, 0.09799680858850479, -0.05479133129119873, -0.09972493350505829, 0.23578011989593506, -0.17019380629062653, -0.008011975325644016, 0.1266269087791443, -0.04587874934077263, -0.05800247564911842, 0.40690988302230835, -0.002771850675344467, 0.08296286314725876, -0.22876083850860596, 0.20733074843883514, -0.021036919206380844, -0.2981002628803253, 0.20327824354171753, 0.30434995889663696, -0.301303505897522, 0.2891596555709839, -0.09610780328512192, -0.22522391378879547, 0.054072484374046326, -0.003979293163865805, -0.17655706405639648, -0.03894694522023201, 0.10232581943273544, -0.6253839135169983, -0.05641980096697807, 0.010518058203160763, -0.04775736480951309, -0.14511078596115112, -0.2566840946674347, -0.17252932488918304, 0.267808198928833, -0.2642627954483032, 0.4932985007762909, 0.18517328798770905, -0.2680979073047638, -0.19252032041549683, -0.11840859055519104, -0.05018443986773491, -0.11638019233942032, -0.33971738815307617, 0.14958004653453827, -0.2913079261779785, 0.06470153480768204, 0.2391034960746765, -0.020311178639531136, 0.17551304399967194, -0.012228777632117271, -0.005778184160590172, 0.29919734597206116, -0.16281317174434662, 0.21254238486289978, 0.17395630478858948, 0.14094631373882294, -0.08244616538286209, 0.24725784361362457, -0.08767008781433105, -0.3060866594314575, 0.07084464281797409, -0.3151256740093231, -0.0029833505395799875, 0.1856817901134491, 0.1606249362230301, 0.3258984386920929, -0.19946548342704773, 0.18596151471138, 0.10317335277795792, -0.03159741312265396, 0.21686814725399017, 0.12234092503786087, -0.05608818307518959, -0.5700222253799438, 0.07256953418254852, 0.2581356465816498, 0.31379371881484985, 0.1648539900779724, -0.030607281252741814, 0.11078668385744095, 0.3135487139225006, 0.18459399044513702, 0.3111397325992584, 0.007863756269216537, 0.017286673188209534, -0.240224227309227, 0.18700522184371948, 0.062200963497161865, 0.2262556552886963, 0.35136500000953674, 0.22217626869678497, -0.05616817995905876, -0.17556132376194, -0.3500731885433197, 0.18692225217819214, -0.11479233205318451, 0.39239904284477234, 0.2342173010110855, 0.09464799612760544, -0.26319724321365356, -0.6764811277389526, 0.03047211654484272, -0.1734921634197235, -0.00038918922655284405, -0.4091196358203888, -0.031150853261351585, -0.3495534062385559, 0.028787530958652496, 0.0763370618224144, 0.03859524428844452, -0.14165621995925903, -0.06367010623216629, 0.3263241946697235, 0.028509944677352905, -0.22722382843494415, 0.27249372005462646, -0.24206075072288513, 0.17816194891929626, 0.12126780301332474, -0.0841107964515686, -0.4347916841506958, -0.07935287058353424, 0.13095174729824066, 0.13537479937076569, -0.19056588411331177, 0.06547989696264267, 0.2779691815376282, -0.12325874716043472, 0.126735657453537, -0.21869944036006927, 0.10088822990655899, 0.15593576431274414, 0.10052625089883804, -0.22515790164470673, 0.32050812244415283, 0.20851969718933105, -0.08425012975931168, -0.018885402008891106, 0.0687507763504982, -0.3485161066055298, -0.17667452991008759, 0.23538878560066223, -0.3588939309120178, 0.30797073245048523, -0.10669869929552078, -0.11345727741718292, 0.14473938941955566, -0.38711991906166077, 0.1010362058877945, 0.14020301401615143, 0.15577369928359985, 0.2551094591617584, 0.26044562458992004, -0.013790180906653404, 0.12092000246047974, 0.2524182200431824, -0.20047986507415771, 0.0023543841671198606, 0.38375359773635864, -0.29247748851776123, -0.16805748641490936, 0.008778765797615051, 0.017795102670788765, 0.2748156785964966, 0.3345610797405243, -0.46608853340148926, 0.21564103662967682, -0.2727336883544922, -0.04720110446214676, -0.3072398602962494, 0.09131857752799988, 0.23877938091754913, 0.24255037307739258, -0.24044173955917358, -0.035406216979026794, 0.08398043364286423, 0.35626208782196045, -0.24112893640995026, -0.25418707728385925, -0.08961308002471924, 0.4571973979473114, -0.2933577299118042, 0.44332414865493774, -0.25324198603630066, -0.0034137906040996313, 0.3958372473716736, -0.31182199716567993, 0.5555037260055542, -0.42989856004714966, 0.12272259593009949, -0.5483070015907288, 0.0467110350728035, 0.23909643292427063, 0.1550222784280777, -0.193096324801445, -0.19730287790298462, 0.05783119797706604, 0.05569955334067345, -0.018480423837900162, -0.2146114856004715, 0.0411374531686306, -0.5523030161857605, -0.1655375361442566, -0.002337500685825944, 0.029903313145041466, -0.04447426274418831, -0.09724994748830795, 0.1530536711215973, -0.26565149426460266, 0.019754434004426003, -0.22986072301864624, -0.3512902557849884, 0.08438578248023987, -0.15434223413467407, 0.24328872561454773, -0.2140129804611206, 0.13186471164226532, 0.0014092337805777788, -0.2732495665550232, 0.15876173973083496, 0.1422940045595169, 0.4840088188648224, 0.04022735357284546, 0.07448065280914307, -0.0858069658279419, 0.10390982031822205, -0.5009897947311401, 0.12563888728618622, -0.09541139006614685, 0.15926334261894226, -0.31346800923347473, 0.14257510006427765, -0.12641692161560059, -0.06712231785058975, 0.00834710244089365, 0.18571685254573822, -0.12317466735839844, -0.028832292184233665, -0.4628407061100006, 0.06052841618657112, -0.14773179590702057, 0.019706688821315765, 0.18171627819538116, -0.1543785184621811, -0.3299883008003235, -0.4245587885379791, -0.3960742652416229, -0.4269561469554901, -0.05269693583250046, 0.3349645435810089, 0.33583343029022217, 0.07893091440200806, -0.05391611158847809, 0.2669070065021515, 0.16362251341342926, 0.3802787959575653, 0.6580160856246948, -0.15918172895908356, -0.29127007722854614, 0.2991464138031006, -0.12026205658912659, 0.22035914659500122, 0.16362693905830383, -0.20874975621700287, 0.24782715737819672, -0.0171892698854208, -0.07324600219726562, -0.048994433134794235, -0.052948761731386185, -0.08991924673318863, -0.31926536560058594, -0.01863027922809124, -0.2689431607723236, 0.280027836561203, 0.03409012407064438, -0.13308890163898468, 0.4920656383037567, 0.07903051376342773, -0.2490975558757782, 0.29690784215927124, 0.20459569990634918, 0.721145749092102, 0.009248943999409676, 0.18593406677246094, 0.2871035039424896, -0.07734746485948563, 0.043127067387104034, -0.1057305634021759, 0.07347523421049118, -0.3109968602657318, -0.2597990036010742, -0.0310605950653553, -0.17929504811763763, 0.09014227986335754, 0.4378896951675415, 0.04465572535991669, -0.11439475417137146, -0.3356989920139313, 0.05053159222006798, -0.2682785391807556, -0.01691516488790512, -0.15476463735103607, -0.2663213908672333, -0.47463804483413696, 0.07672744244337082, 0.1158159151673317, -0.5222378373146057, -0.015057515352964401, 0.30978211760520935, 0.2105497270822525, -0.30482837557792664, 0.30298250913619995, 0.07248686254024506, -0.4297119379043579, 0.30144134163856506, -0.13772916793823242, -0.3183442950248718, -0.051334042102098465, 0.16781513392925262, -0.22359758615493774, 0.08153556287288666, 0.011235362850129604, 0.04815245792269707, 0.20448963344097137, 0.16036094725131989, -0.42949631810188293, 0.2644566297531128, 0.06380097568035126, -0.030082492157816887, -0.1216966062784195, 0.1618862748146057, 0.010576585307717323, -0.2865763008594513, 0.27254965901374817, 0.008178274147212505, -0.04223376139998436, -0.30980947613716125, 0.14512872695922852, -0.08887846767902374, 0.4170590937137604, -0.12981097400188446, 0.1336338073015213, -0.06299593299627304, 0.27691417932510376, -0.180507093667984, 0.28835931420326233, -0.47796574234962463, -0.09257791191339493, 0.32201096415519714, 0.06572093814611435, 0.16817320883274078, 0.3533163368701935, -0.012580332346260548, -0.3021370470523834, -0.5158764719963074, 0.151621475815773, 0.516771674156189, -0.8029075860977173, 0.2133689671754837, 0.20885612070560455, -0.19326958060264587, 0.025980990380048752, 0.17330291867256165, -0.029072627425193787, 0.24267175793647766, -0.056993938982486725, 0.16151967644691467, -0.22911547124385834, 0.17072229087352753, -0.07951128482818604, 0.3038381040096283, 0.19796165823936462, -0.5342735648155212, -0.0006281638634391129, 0.11808399856090546, -0.3207395374774933, -0.05044208839535713, 0.07505027204751968, -0.2069471925497055, -0.2663753926753998, 0.15945617854595184, 0.010150066576898098, 0.0411715991795063, 0.14033158123493195, -0.16555827856063843, -0.2583284378051758, -0.26549023389816284, -0.10691135376691818, 0.09611251950263977, -0.18000514805316925, 0.13649199903011322, -0.27191823720932007, -0.33351004123687744, -0.25493696331977844, -0.15318232774734497, 0.2644144296646118, -0.1794595867395401, 0.0901046171784401, -0.010654800571501255, 0.40407904982566833, -0.0724470391869545, -0.2825561761856079, -0.07864396274089813, 0.0031059219036251307, 0.09521200507879257, -0.043973151594400406, -0.0729132890701294, -0.15696711838245392, -0.18175965547561646, 0.089985691010952, 0.269711434841156, 0.34143149852752686, -0.05574565753340721, -0.3718302845954895, -0.05763394013047218, -0.0938892811536789, -0.26479339599609375, 0.1867458075284958, 0.3426873981952667, 0.025914734229445457, -0.5243097543716431, 0.15919817984104156, 0.20968566834926605, -0.2828943431377411, -0.13848909735679626, 0.1527988761663437, -0.09556673467159271, 0.17396433651447296, 0.22854329645633698, 0.14658258855342865, -0.1588279902935028, 0.014490288682281971, 0.06683912128210068, -0.21190102398395538, -0.04627879709005356, -0.011298616416752338, 0.3642714321613312, -0.09472543746232986, -0.07879497855901718, 0.41084766387939453, 0.372001975774765, 0.2639392912387848, 0.15319384634494781, 0.03177560120820999, 0.36225655674934387, 0.21324335038661957, 0.023018958047032356, -0.11970344930887222, -0.26130518317222595, -0.1722898781299591, 0.05200771987438202, -0.3119688630104065, -0.21708813309669495, 0.3743738532066345, 0.3122938871383667, 0.44306591153144836, -0.1781243234872818, -0.24087631702423096, -0.0917496383190155, -0.1068466380238533, -0.04629427194595337, -0.18680110573768616, -0.14588619768619537, -0.15654803812503815, -0.07247322797775269, -0.1051521897315979, 0.3028732240200043, 0.32901859283447266, -0.198890820145607, 0.24301807582378387, -0.1810598373413086, 0.6189882755279541, 0.103364497423172, -0.0631653293967247, 0.0666145384311676, 0.00802974496036768, -0.03739380091428757, 0.24456293880939484, 0.09848305583000183, 0.18351756036281586, -0.024617670103907585, 0.0076303258538246155, 0.18028011918067932, -0.37308016419410706, 0.24261732399463654, -0.22810356318950653, -0.3253314793109894, 0.21736472845077515, 0.36701804399490356, 0.07532887160778046, 0.26653236150741577, 0.17964881658554077, -0.2432420700788498, -0.1077440157532692, 0.2654710114002228, 0.3241434693336487, 0.14163552224636078, -0.05121806263923645, 0.2034485638141632, -0.3131673038005829, 0.18679912388324738, -0.08711385726928711, -0.20780161023139954, 0.03212391212582588, 0.5364564061164856, -0.36803463101387024, -0.14374876022338867, -0.34118178486824036, 0.11310461163520813, 0.11433566361665726, 0.727576494216919, -0.04565572738647461, 0.33776044845581055, 0.14392149448394775, -0.15529343485832214, -0.329978883266449, 0.1335977017879486, 0.06770485639572144, 0.06768934428691864, 0.15612512826919556, 0.04729469493031502, 0.23696593940258026, 0.3061334192752838, 0.3232063353061676, -0.11302108317613602, 0.06987645477056503, 0.03718049079179764, -0.039941757917404175, 0.1424364596605301, 0.014675991609692574, 0.25695595145225525, -0.3334137201309204, -0.2556096315383911, -0.07542429119348526, 0.19710254669189453, 0.08759820461273193, -0.17224432528018951, 0.04473434388637543, 0.0452105738222599, 0.4119623303413391, 0.4628271758556366, 0.018931811675429344, 0.16929209232330322, -0.23561649024486542, 0.12930803000926971, 0.0037435817066580057, -0.5335925221443176, -0.00839968305081129, 0.23970851302146912, 0.3087971806526184, -0.17912615835666656, -0.033784035593271255, 0.1564514935016632, 0.1217183992266655, -0.09937111288309097, 0.16013643145561218, 0.40713849663734436, -0.08695407211780548, 0.4178069233894348, 0.22539907693862915, -0.1379966139793396, -0.17178887128829956, -0.1021704226732254, 0.13466854393482208, 0.034727420657873154, 0.1504507064819336, -0.2703818678855896, 0.12594668567180634, -0.04023163765668869, -0.28108611702919006, 0.13633152842521667, 0.45193228125572205, 0.3252546191215515, -0.19272544980049133, -0.3375086486339569, 0.01974654383957386, 0.24603837728500366, -0.19901075959205627, -0.13050071895122528, 0.4808776080608368, -0.21832774579524994, 0.2467297911643982, -0.179164320230484, 0.5403856039047241, 0.13537119328975677, -0.1179552748799324, -0.3550058901309967, -0.42334693670272827 ]
https://github.com/huggingface/datasets/issues/2092
How to disable making arrow tables in load_dataset ?
We're still working on this :) This will be available soon Users will be able to put their processed arrow files on the Hub
Is there a way to disable the construction of arrow tables, or to make them on the fly as the dataset is being used ?
24
How to disable making arrow tables in load_dataset ?
[ -0.4980105757713318, -0.13449156284332275, -0.17859859764575958, 0.08813359588384628, 0.10003823041915894, 0.12476404011249542, 0.3309117257595062, 0.14540868997573853, 0.35695549845695496, 0.24688877165317535, -0.18517561256885529, 0.6678849458694458, 0.0672544538974762, 0.031970907002687454, 0.08968950808048248, 0.2666516900062561, -0.07281984388828278, 0.5513595342636108, -0.5919684767723083, -0.058029260486364365, -0.23994292318820953, -0.1119096428155899, 0.0008100325940176845, 0.13736498355865479, -0.061659108847379684, -0.2661501467227936, 0.27965351939201355, 0.013414490967988968, -0.36276236176490784, -0.33400800824165344, -0.02763628214597702, 0.2574026584625244, -0.26110872626304626, 0.09893224388360977, -0.00011166316107846797, 0.22263582050800323, -0.04598023369908333, 0.1560451239347458, -0.4889599084854126, 0.08026046305894852, -0.23161077499389648, -0.041923653334379196, 0.6482442021369934, -0.08794485777616501, 0.25198182463645935, -0.3753117620944977, -0.2151614874601364, -0.20626312494277954, 0.29763728380203247, 0.07618009299039841, 0.25197455286979675, 0.21764183044433594, -0.17457719147205353, -0.1023905798792839, 0.5272774696350098, 0.0918974056839943, -0.2748440206050873, 0.1428842842578888, -0.24700506031513214, -0.04982613027095795, -0.41468238830566406, 0.11813104897737503, -0.0670226514339447, 0.17538020014762878, -0.008904355578124523, -0.09453217685222626, 0.0016779982252046466, -0.10922073572874069, 0.23669041693210602, 0.09860838949680328, 0.49840399622917175, -0.32405003905296326, 0.051875341683626175, -0.13930048048496246, 0.0334305465221405, -0.06579562276601791, 0.006311444099992514, 0.11234545707702637, 0.05456515774130821, 0.11231271177530289, -0.017730483785271645, -0.3044070899486542, -0.1057521402835846, -0.16821277141571045, 0.12473396956920624, 0.1462942510843277, -0.11968351155519485, 0.021811043843626976, 0.3907771706581116, -0.1002674400806427, 0.3841158449649811, 0.257449746131897, -0.3708852231502533, -0.09498268365859985, -0.16549915075302124, -0.04868444427847862, 0.021475549787282944, 0.00975713599473238, 0.23365677893161774, 0.2278241515159607, 0.561268150806427, 0.13999997079372406, 0.19765925407409668, -0.05445367470383644, -0.14505480229854584, -0.013987858779728413, 0.23199202120304108, 0.11289634555578232, 0.18756744265556335, 0.16097794473171234, 0.13780292868614197, 0.024619020521640778, 0.03923938050866127, -0.35096120834350586, -0.06399430334568024, 0.04768454283475876, 0.19541344046592712, -0.031414952129125595, -0.2426072657108307, -0.04451661929488182, 0.28913137316703796, 0.0193118155002594, 0.1080816239118576, 0.31421712040901184, 0.2830456793308258, 0.006447333376854658, -0.074569471180439, 0.26686885952949524, -0.18133707344532013, -0.190060555934906, -0.2385742962360382, -0.18758738040924072, -0.12452750653028488, 0.13196109235286713, 0.2688501477241516, 0.2645764648914337, -0.040328048169612885, 0.39381083846092224, -0.15311172604560852, 0.12353307008743286, 0.24450059235095978, -0.14926254749298096, 0.3785364031791687, 0.4511745870113373, 0.09245720505714417, -0.07487551867961884, 0.1432827264070511, -0.009222717024385929, 0.006106504704803228, 0.2413920909166336, -0.2910628616809845, -0.2322620004415512, 0.034112054854631424, 0.22513893246650696, 0.1525595635175705, 0.07696565240621567, -0.5348309278488159, 0.06412609666585922, -0.06698699295520782, 0.021617185324430466, 0.3564620614051819, 0.15792958438396454, -0.08137720823287964, -0.07495252043008804, 0.029980819672346115, 0.3446473777294159, -0.4151073098182678, 0.010724089108407497, 0.014180270954966545, -0.2702404856681824, 0.13437257707118988, -0.04749901965260506, -0.3966025114059448, 0.04297773912549019, -0.1815882921218872, 0.0652143582701683, 0.5939346551895142, 0.0423111729323864, -0.23466534912586212, 0.09799680858850479, -0.05479133129119873, -0.09972493350505829, 0.23578011989593506, -0.17019380629062653, -0.008011975325644016, 0.1266269087791443, -0.04587874934077263, -0.05800247564911842, 0.40690988302230835, -0.002771850675344467, 0.08296286314725876, -0.22876083850860596, 0.20733074843883514, -0.021036919206380844, -0.2981002628803253, 0.20327824354171753, 0.30434995889663696, -0.301303505897522, 0.2891596555709839, -0.09610780328512192, -0.22522391378879547, 0.054072484374046326, -0.003979293163865805, -0.17655706405639648, -0.03894694522023201, 0.10232581943273544, -0.6253839135169983, -0.05641980096697807, 0.010518058203160763, -0.04775736480951309, -0.14511078596115112, -0.2566840946674347, -0.17252932488918304, 0.267808198928833, -0.2642627954483032, 0.4932985007762909, 0.18517328798770905, -0.2680979073047638, -0.19252032041549683, -0.11840859055519104, -0.05018443986773491, -0.11638019233942032, -0.33971738815307617, 0.14958004653453827, -0.2913079261779785, 0.06470153480768204, 0.2391034960746765, -0.020311178639531136, 0.17551304399967194, -0.012228777632117271, -0.005778184160590172, 0.29919734597206116, -0.16281317174434662, 0.21254238486289978, 0.17395630478858948, 0.14094631373882294, -0.08244616538286209, 0.24725784361362457, -0.08767008781433105, -0.3060866594314575, 0.07084464281797409, -0.3151256740093231, -0.0029833505395799875, 0.1856817901134491, 0.1606249362230301, 0.3258984386920929, -0.19946548342704773, 0.18596151471138, 0.10317335277795792, -0.03159741312265396, 0.21686814725399017, 0.12234092503786087, -0.05608818307518959, -0.5700222253799438, 0.07256953418254852, 0.2581356465816498, 0.31379371881484985, 0.1648539900779724, -0.030607281252741814, 0.11078668385744095, 0.3135487139225006, 0.18459399044513702, 0.3111397325992584, 0.007863756269216537, 0.017286673188209534, -0.240224227309227, 0.18700522184371948, 0.062200963497161865, 0.2262556552886963, 0.35136500000953674, 0.22217626869678497, -0.05616817995905876, -0.17556132376194, -0.3500731885433197, 0.18692225217819214, -0.11479233205318451, 0.39239904284477234, 0.2342173010110855, 0.09464799612760544, -0.26319724321365356, -0.6764811277389526, 0.03047211654484272, -0.1734921634197235, -0.00038918922655284405, -0.4091196358203888, -0.031150853261351585, -0.3495534062385559, 0.028787530958652496, 0.0763370618224144, 0.03859524428844452, -0.14165621995925903, -0.06367010623216629, 0.3263241946697235, 0.028509944677352905, -0.22722382843494415, 0.27249372005462646, -0.24206075072288513, 0.17816194891929626, 0.12126780301332474, -0.0841107964515686, -0.4347916841506958, -0.07935287058353424, 0.13095174729824066, 0.13537479937076569, -0.19056588411331177, 0.06547989696264267, 0.2779691815376282, -0.12325874716043472, 0.126735657453537, -0.21869944036006927, 0.10088822990655899, 0.15593576431274414, 0.10052625089883804, -0.22515790164470673, 0.32050812244415283, 0.20851969718933105, -0.08425012975931168, -0.018885402008891106, 0.0687507763504982, -0.3485161066055298, -0.17667452991008759, 0.23538878560066223, -0.3588939309120178, 0.30797073245048523, -0.10669869929552078, -0.11345727741718292, 0.14473938941955566, -0.38711991906166077, 0.1010362058877945, 0.14020301401615143, 0.15577369928359985, 0.2551094591617584, 0.26044562458992004, -0.013790180906653404, 0.12092000246047974, 0.2524182200431824, -0.20047986507415771, 0.0023543841671198606, 0.38375359773635864, -0.29247748851776123, -0.16805748641490936, 0.008778765797615051, 0.017795102670788765, 0.2748156785964966, 0.3345610797405243, -0.46608853340148926, 0.21564103662967682, -0.2727336883544922, -0.04720110446214676, -0.3072398602962494, 0.09131857752799988, 0.23877938091754913, 0.24255037307739258, -0.24044173955917358, -0.035406216979026794, 0.08398043364286423, 0.35626208782196045, -0.24112893640995026, -0.25418707728385925, -0.08961308002471924, 0.4571973979473114, -0.2933577299118042, 0.44332414865493774, -0.25324198603630066, -0.0034137906040996313, 0.3958372473716736, -0.31182199716567993, 0.5555037260055542, -0.42989856004714966, 0.12272259593009949, -0.5483070015907288, 0.0467110350728035, 0.23909643292427063, 0.1550222784280777, -0.193096324801445, -0.19730287790298462, 0.05783119797706604, 0.05569955334067345, -0.018480423837900162, -0.2146114856004715, 0.0411374531686306, -0.5523030161857605, -0.1655375361442566, -0.002337500685825944, 0.029903313145041466, -0.04447426274418831, -0.09724994748830795, 0.1530536711215973, -0.26565149426460266, 0.019754434004426003, -0.22986072301864624, -0.3512902557849884, 0.08438578248023987, -0.15434223413467407, 0.24328872561454773, -0.2140129804611206, 0.13186471164226532, 0.0014092337805777788, -0.2732495665550232, 0.15876173973083496, 0.1422940045595169, 0.4840088188648224, 0.04022735357284546, 0.07448065280914307, -0.0858069658279419, 0.10390982031822205, -0.5009897947311401, 0.12563888728618622, -0.09541139006614685, 0.15926334261894226, -0.31346800923347473, 0.14257510006427765, -0.12641692161560059, -0.06712231785058975, 0.00834710244089365, 0.18571685254573822, -0.12317466735839844, -0.028832292184233665, -0.4628407061100006, 0.06052841618657112, -0.14773179590702057, 0.019706688821315765, 0.18171627819538116, -0.1543785184621811, -0.3299883008003235, -0.4245587885379791, -0.3960742652416229, -0.4269561469554901, -0.05269693583250046, 0.3349645435810089, 0.33583343029022217, 0.07893091440200806, -0.05391611158847809, 0.2669070065021515, 0.16362251341342926, 0.3802787959575653, 0.6580160856246948, -0.15918172895908356, -0.29127007722854614, 0.2991464138031006, -0.12026205658912659, 0.22035914659500122, 0.16362693905830383, -0.20874975621700287, 0.24782715737819672, -0.0171892698854208, -0.07324600219726562, -0.048994433134794235, -0.052948761731386185, -0.08991924673318863, -0.31926536560058594, -0.01863027922809124, -0.2689431607723236, 0.280027836561203, 0.03409012407064438, -0.13308890163898468, 0.4920656383037567, 0.07903051376342773, -0.2490975558757782, 0.29690784215927124, 0.20459569990634918, 0.721145749092102, 0.009248943999409676, 0.18593406677246094, 0.2871035039424896, -0.07734746485948563, 0.043127067387104034, -0.1057305634021759, 0.07347523421049118, -0.3109968602657318, -0.2597990036010742, -0.0310605950653553, -0.17929504811763763, 0.09014227986335754, 0.4378896951675415, 0.04465572535991669, -0.11439475417137146, -0.3356989920139313, 0.05053159222006798, -0.2682785391807556, -0.01691516488790512, -0.15476463735103607, -0.2663213908672333, -0.47463804483413696, 0.07672744244337082, 0.1158159151673317, -0.5222378373146057, -0.015057515352964401, 0.30978211760520935, 0.2105497270822525, -0.30482837557792664, 0.30298250913619995, 0.07248686254024506, -0.4297119379043579, 0.30144134163856506, -0.13772916793823242, -0.3183442950248718, -0.051334042102098465, 0.16781513392925262, -0.22359758615493774, 0.08153556287288666, 0.011235362850129604, 0.04815245792269707, 0.20448963344097137, 0.16036094725131989, -0.42949631810188293, 0.2644566297531128, 0.06380097568035126, -0.030082492157816887, -0.1216966062784195, 0.1618862748146057, 0.010576585307717323, -0.2865763008594513, 0.27254965901374817, 0.008178274147212505, -0.04223376139998436, -0.30980947613716125, 0.14512872695922852, -0.08887846767902374, 0.4170590937137604, -0.12981097400188446, 0.1336338073015213, -0.06299593299627304, 0.27691417932510376, -0.180507093667984, 0.28835931420326233, -0.47796574234962463, -0.09257791191339493, 0.32201096415519714, 0.06572093814611435, 0.16817320883274078, 0.3533163368701935, -0.012580332346260548, -0.3021370470523834, -0.5158764719963074, 0.151621475815773, 0.516771674156189, -0.8029075860977173, 0.2133689671754837, 0.20885612070560455, -0.19326958060264587, 0.025980990380048752, 0.17330291867256165, -0.029072627425193787, 0.24267175793647766, -0.056993938982486725, 0.16151967644691467, -0.22911547124385834, 0.17072229087352753, -0.07951128482818604, 0.3038381040096283, 0.19796165823936462, -0.5342735648155212, -0.0006281638634391129, 0.11808399856090546, -0.3207395374774933, -0.05044208839535713, 0.07505027204751968, -0.2069471925497055, -0.2663753926753998, 0.15945617854595184, 0.010150066576898098, 0.0411715991795063, 0.14033158123493195, -0.16555827856063843, -0.2583284378051758, -0.26549023389816284, -0.10691135376691818, 0.09611251950263977, -0.18000514805316925, 0.13649199903011322, -0.27191823720932007, -0.33351004123687744, -0.25493696331977844, -0.15318232774734497, 0.2644144296646118, -0.1794595867395401, 0.0901046171784401, -0.010654800571501255, 0.40407904982566833, -0.0724470391869545, -0.2825561761856079, -0.07864396274089813, 0.0031059219036251307, 0.09521200507879257, -0.043973151594400406, -0.0729132890701294, -0.15696711838245392, -0.18175965547561646, 0.089985691010952, 0.269711434841156, 0.34143149852752686, -0.05574565753340721, -0.3718302845954895, -0.05763394013047218, -0.0938892811536789, -0.26479339599609375, 0.1867458075284958, 0.3426873981952667, 0.025914734229445457, -0.5243097543716431, 0.15919817984104156, 0.20968566834926605, -0.2828943431377411, -0.13848909735679626, 0.1527988761663437, -0.09556673467159271, 0.17396433651447296, 0.22854329645633698, 0.14658258855342865, -0.1588279902935028, 0.014490288682281971, 0.06683912128210068, -0.21190102398395538, -0.04627879709005356, -0.011298616416752338, 0.3642714321613312, -0.09472543746232986, -0.07879497855901718, 0.41084766387939453, 0.372001975774765, 0.2639392912387848, 0.15319384634494781, 0.03177560120820999, 0.36225655674934387, 0.21324335038661957, 0.023018958047032356, -0.11970344930887222, -0.26130518317222595, -0.1722898781299591, 0.05200771987438202, -0.3119688630104065, -0.21708813309669495, 0.3743738532066345, 0.3122938871383667, 0.44306591153144836, -0.1781243234872818, -0.24087631702423096, -0.0917496383190155, -0.1068466380238533, -0.04629427194595337, -0.18680110573768616, -0.14588619768619537, -0.15654803812503815, -0.07247322797775269, -0.1051521897315979, 0.3028732240200043, 0.32901859283447266, -0.198890820145607, 0.24301807582378387, -0.1810598373413086, 0.6189882755279541, 0.103364497423172, -0.0631653293967247, 0.0666145384311676, 0.00802974496036768, -0.03739380091428757, 0.24456293880939484, 0.09848305583000183, 0.18351756036281586, -0.024617670103907585, 0.0076303258538246155, 0.18028011918067932, -0.37308016419410706, 0.24261732399463654, -0.22810356318950653, -0.3253314793109894, 0.21736472845077515, 0.36701804399490356, 0.07532887160778046, 0.26653236150741577, 0.17964881658554077, -0.2432420700788498, -0.1077440157532692, 0.2654710114002228, 0.3241434693336487, 0.14163552224636078, -0.05121806263923645, 0.2034485638141632, -0.3131673038005829, 0.18679912388324738, -0.08711385726928711, -0.20780161023139954, 0.03212391212582588, 0.5364564061164856, -0.36803463101387024, -0.14374876022338867, -0.34118178486824036, 0.11310461163520813, 0.11433566361665726, 0.727576494216919, -0.04565572738647461, 0.33776044845581055, 0.14392149448394775, -0.15529343485832214, -0.329978883266449, 0.1335977017879486, 0.06770485639572144, 0.06768934428691864, 0.15612512826919556, 0.04729469493031502, 0.23696593940258026, 0.3061334192752838, 0.3232063353061676, -0.11302108317613602, 0.06987645477056503, 0.03718049079179764, -0.039941757917404175, 0.1424364596605301, 0.014675991609692574, 0.25695595145225525, -0.3334137201309204, -0.2556096315383911, -0.07542429119348526, 0.19710254669189453, 0.08759820461273193, -0.17224432528018951, 0.04473434388637543, 0.0452105738222599, 0.4119623303413391, 0.4628271758556366, 0.018931811675429344, 0.16929209232330322, -0.23561649024486542, 0.12930803000926971, 0.0037435817066580057, -0.5335925221443176, -0.00839968305081129, 0.23970851302146912, 0.3087971806526184, -0.17912615835666656, -0.033784035593271255, 0.1564514935016632, 0.1217183992266655, -0.09937111288309097, 0.16013643145561218, 0.40713849663734436, -0.08695407211780548, 0.4178069233894348, 0.22539907693862915, -0.1379966139793396, -0.17178887128829956, -0.1021704226732254, 0.13466854393482208, 0.034727420657873154, 0.1504507064819336, -0.2703818678855896, 0.12594668567180634, -0.04023163765668869, -0.28108611702919006, 0.13633152842521667, 0.45193228125572205, 0.3252546191215515, -0.19272544980049133, -0.3375086486339569, 0.01974654383957386, 0.24603837728500366, -0.19901075959205627, -0.13050071895122528, 0.4808776080608368, -0.21832774579524994, 0.2467297911643982, -0.179164320230484, 0.5403856039047241, 0.13537119328975677, -0.1179552748799324, -0.3550058901309967, -0.42334693670272827 ]
https://github.com/huggingface/datasets/issues/2092
How to disable making arrow tables in load_dataset ?
Hi! You can now use `Dataset.push_to_hub` to store preprocessed files on the Hub. And to avoid downloading preprocessed files, you can use streaming by setting `streaming=True` in `load_dataset`.
Is there a way to disable the construction of arrow tables, or to make them on the fly as the dataset is being used ?
28
How to disable making arrow tables in load_dataset ?
[ -0.4980105757713318, -0.13449156284332275, -0.17859859764575958, 0.08813359588384628, 0.10003823041915894, 0.12476404011249542, 0.3309117257595062, 0.14540868997573853, 0.35695549845695496, 0.24688877165317535, -0.18517561256885529, 0.6678849458694458, 0.0672544538974762, 0.031970907002687454, 0.08968950808048248, 0.2666516900062561, -0.07281984388828278, 0.5513595342636108, -0.5919684767723083, -0.058029260486364365, -0.23994292318820953, -0.1119096428155899, 0.0008100325940176845, 0.13736498355865479, -0.061659108847379684, -0.2661501467227936, 0.27965351939201355, 0.013414490967988968, -0.36276236176490784, -0.33400800824165344, -0.02763628214597702, 0.2574026584625244, -0.26110872626304626, 0.09893224388360977, -0.00011166316107846797, 0.22263582050800323, -0.04598023369908333, 0.1560451239347458, -0.4889599084854126, 0.08026046305894852, -0.23161077499389648, -0.041923653334379196, 0.6482442021369934, -0.08794485777616501, 0.25198182463645935, -0.3753117620944977, -0.2151614874601364, -0.20626312494277954, 0.29763728380203247, 0.07618009299039841, 0.25197455286979675, 0.21764183044433594, -0.17457719147205353, -0.1023905798792839, 0.5272774696350098, 0.0918974056839943, -0.2748440206050873, 0.1428842842578888, -0.24700506031513214, -0.04982613027095795, -0.41468238830566406, 0.11813104897737503, -0.0670226514339447, 0.17538020014762878, -0.008904355578124523, -0.09453217685222626, 0.0016779982252046466, -0.10922073572874069, 0.23669041693210602, 0.09860838949680328, 0.49840399622917175, -0.32405003905296326, 0.051875341683626175, -0.13930048048496246, 0.0334305465221405, -0.06579562276601791, 0.006311444099992514, 0.11234545707702637, 0.05456515774130821, 0.11231271177530289, -0.017730483785271645, -0.3044070899486542, -0.1057521402835846, -0.16821277141571045, 0.12473396956920624, 0.1462942510843277, -0.11968351155519485, 0.021811043843626976, 0.3907771706581116, -0.1002674400806427, 0.3841158449649811, 0.257449746131897, -0.3708852231502533, -0.09498268365859985, -0.16549915075302124, -0.04868444427847862, 0.021475549787282944, 0.00975713599473238, 0.23365677893161774, 0.2278241515159607, 0.561268150806427, 0.13999997079372406, 0.19765925407409668, -0.05445367470383644, -0.14505480229854584, -0.013987858779728413, 0.23199202120304108, 0.11289634555578232, 0.18756744265556335, 0.16097794473171234, 0.13780292868614197, 0.024619020521640778, 0.03923938050866127, -0.35096120834350586, -0.06399430334568024, 0.04768454283475876, 0.19541344046592712, -0.031414952129125595, -0.2426072657108307, -0.04451661929488182, 0.28913137316703796, 0.0193118155002594, 0.1080816239118576, 0.31421712040901184, 0.2830456793308258, 0.006447333376854658, -0.074569471180439, 0.26686885952949524, -0.18133707344532013, -0.190060555934906, -0.2385742962360382, -0.18758738040924072, -0.12452750653028488, 0.13196109235286713, 0.2688501477241516, 0.2645764648914337, -0.040328048169612885, 0.39381083846092224, -0.15311172604560852, 0.12353307008743286, 0.24450059235095978, -0.14926254749298096, 0.3785364031791687, 0.4511745870113373, 0.09245720505714417, -0.07487551867961884, 0.1432827264070511, -0.009222717024385929, 0.006106504704803228, 0.2413920909166336, -0.2910628616809845, -0.2322620004415512, 0.034112054854631424, 0.22513893246650696, 0.1525595635175705, 0.07696565240621567, -0.5348309278488159, 0.06412609666585922, -0.06698699295520782, 0.021617185324430466, 0.3564620614051819, 0.15792958438396454, -0.08137720823287964, -0.07495252043008804, 0.029980819672346115, 0.3446473777294159, -0.4151073098182678, 0.010724089108407497, 0.014180270954966545, -0.2702404856681824, 0.13437257707118988, -0.04749901965260506, -0.3966025114059448, 0.04297773912549019, -0.1815882921218872, 0.0652143582701683, 0.5939346551895142, 0.0423111729323864, -0.23466534912586212, 0.09799680858850479, -0.05479133129119873, -0.09972493350505829, 0.23578011989593506, -0.17019380629062653, -0.008011975325644016, 0.1266269087791443, -0.04587874934077263, -0.05800247564911842, 0.40690988302230835, -0.002771850675344467, 0.08296286314725876, -0.22876083850860596, 0.20733074843883514, -0.021036919206380844, -0.2981002628803253, 0.20327824354171753, 0.30434995889663696, -0.301303505897522, 0.2891596555709839, -0.09610780328512192, -0.22522391378879547, 0.054072484374046326, -0.003979293163865805, -0.17655706405639648, -0.03894694522023201, 0.10232581943273544, -0.6253839135169983, -0.05641980096697807, 0.010518058203160763, -0.04775736480951309, -0.14511078596115112, -0.2566840946674347, -0.17252932488918304, 0.267808198928833, -0.2642627954483032, 0.4932985007762909, 0.18517328798770905, -0.2680979073047638, -0.19252032041549683, -0.11840859055519104, -0.05018443986773491, -0.11638019233942032, -0.33971738815307617, 0.14958004653453827, -0.2913079261779785, 0.06470153480768204, 0.2391034960746765, -0.020311178639531136, 0.17551304399967194, -0.012228777632117271, -0.005778184160590172, 0.29919734597206116, -0.16281317174434662, 0.21254238486289978, 0.17395630478858948, 0.14094631373882294, -0.08244616538286209, 0.24725784361362457, -0.08767008781433105, -0.3060866594314575, 0.07084464281797409, -0.3151256740093231, -0.0029833505395799875, 0.1856817901134491, 0.1606249362230301, 0.3258984386920929, -0.19946548342704773, 0.18596151471138, 0.10317335277795792, -0.03159741312265396, 0.21686814725399017, 0.12234092503786087, -0.05608818307518959, -0.5700222253799438, 0.07256953418254852, 0.2581356465816498, 0.31379371881484985, 0.1648539900779724, -0.030607281252741814, 0.11078668385744095, 0.3135487139225006, 0.18459399044513702, 0.3111397325992584, 0.007863756269216537, 0.017286673188209534, -0.240224227309227, 0.18700522184371948, 0.062200963497161865, 0.2262556552886963, 0.35136500000953674, 0.22217626869678497, -0.05616817995905876, -0.17556132376194, -0.3500731885433197, 0.18692225217819214, -0.11479233205318451, 0.39239904284477234, 0.2342173010110855, 0.09464799612760544, -0.26319724321365356, -0.6764811277389526, 0.03047211654484272, -0.1734921634197235, -0.00038918922655284405, -0.4091196358203888, -0.031150853261351585, -0.3495534062385559, 0.028787530958652496, 0.0763370618224144, 0.03859524428844452, -0.14165621995925903, -0.06367010623216629, 0.3263241946697235, 0.028509944677352905, -0.22722382843494415, 0.27249372005462646, -0.24206075072288513, 0.17816194891929626, 0.12126780301332474, -0.0841107964515686, -0.4347916841506958, -0.07935287058353424, 0.13095174729824066, 0.13537479937076569, -0.19056588411331177, 0.06547989696264267, 0.2779691815376282, -0.12325874716043472, 0.126735657453537, -0.21869944036006927, 0.10088822990655899, 0.15593576431274414, 0.10052625089883804, -0.22515790164470673, 0.32050812244415283, 0.20851969718933105, -0.08425012975931168, -0.018885402008891106, 0.0687507763504982, -0.3485161066055298, -0.17667452991008759, 0.23538878560066223, -0.3588939309120178, 0.30797073245048523, -0.10669869929552078, -0.11345727741718292, 0.14473938941955566, -0.38711991906166077, 0.1010362058877945, 0.14020301401615143, 0.15577369928359985, 0.2551094591617584, 0.26044562458992004, -0.013790180906653404, 0.12092000246047974, 0.2524182200431824, -0.20047986507415771, 0.0023543841671198606, 0.38375359773635864, -0.29247748851776123, -0.16805748641490936, 0.008778765797615051, 0.017795102670788765, 0.2748156785964966, 0.3345610797405243, -0.46608853340148926, 0.21564103662967682, -0.2727336883544922, -0.04720110446214676, -0.3072398602962494, 0.09131857752799988, 0.23877938091754913, 0.24255037307739258, -0.24044173955917358, -0.035406216979026794, 0.08398043364286423, 0.35626208782196045, -0.24112893640995026, -0.25418707728385925, -0.08961308002471924, 0.4571973979473114, -0.2933577299118042, 0.44332414865493774, -0.25324198603630066, -0.0034137906040996313, 0.3958372473716736, -0.31182199716567993, 0.5555037260055542, -0.42989856004714966, 0.12272259593009949, -0.5483070015907288, 0.0467110350728035, 0.23909643292427063, 0.1550222784280777, -0.193096324801445, -0.19730287790298462, 0.05783119797706604, 0.05569955334067345, -0.018480423837900162, -0.2146114856004715, 0.0411374531686306, -0.5523030161857605, -0.1655375361442566, -0.002337500685825944, 0.029903313145041466, -0.04447426274418831, -0.09724994748830795, 0.1530536711215973, -0.26565149426460266, 0.019754434004426003, -0.22986072301864624, -0.3512902557849884, 0.08438578248023987, -0.15434223413467407, 0.24328872561454773, -0.2140129804611206, 0.13186471164226532, 0.0014092337805777788, -0.2732495665550232, 0.15876173973083496, 0.1422940045595169, 0.4840088188648224, 0.04022735357284546, 0.07448065280914307, -0.0858069658279419, 0.10390982031822205, -0.5009897947311401, 0.12563888728618622, -0.09541139006614685, 0.15926334261894226, -0.31346800923347473, 0.14257510006427765, -0.12641692161560059, -0.06712231785058975, 0.00834710244089365, 0.18571685254573822, -0.12317466735839844, -0.028832292184233665, -0.4628407061100006, 0.06052841618657112, -0.14773179590702057, 0.019706688821315765, 0.18171627819538116, -0.1543785184621811, -0.3299883008003235, -0.4245587885379791, -0.3960742652416229, -0.4269561469554901, -0.05269693583250046, 0.3349645435810089, 0.33583343029022217, 0.07893091440200806, -0.05391611158847809, 0.2669070065021515, 0.16362251341342926, 0.3802787959575653, 0.6580160856246948, -0.15918172895908356, -0.29127007722854614, 0.2991464138031006, -0.12026205658912659, 0.22035914659500122, 0.16362693905830383, -0.20874975621700287, 0.24782715737819672, -0.0171892698854208, -0.07324600219726562, -0.048994433134794235, -0.052948761731386185, -0.08991924673318863, -0.31926536560058594, -0.01863027922809124, -0.2689431607723236, 0.280027836561203, 0.03409012407064438, -0.13308890163898468, 0.4920656383037567, 0.07903051376342773, -0.2490975558757782, 0.29690784215927124, 0.20459569990634918, 0.721145749092102, 0.009248943999409676, 0.18593406677246094, 0.2871035039424896, -0.07734746485948563, 0.043127067387104034, -0.1057305634021759, 0.07347523421049118, -0.3109968602657318, -0.2597990036010742, -0.0310605950653553, -0.17929504811763763, 0.09014227986335754, 0.4378896951675415, 0.04465572535991669, -0.11439475417137146, -0.3356989920139313, 0.05053159222006798, -0.2682785391807556, -0.01691516488790512, -0.15476463735103607, -0.2663213908672333, -0.47463804483413696, 0.07672744244337082, 0.1158159151673317, -0.5222378373146057, -0.015057515352964401, 0.30978211760520935, 0.2105497270822525, -0.30482837557792664, 0.30298250913619995, 0.07248686254024506, -0.4297119379043579, 0.30144134163856506, -0.13772916793823242, -0.3183442950248718, -0.051334042102098465, 0.16781513392925262, -0.22359758615493774, 0.08153556287288666, 0.011235362850129604, 0.04815245792269707, 0.20448963344097137, 0.16036094725131989, -0.42949631810188293, 0.2644566297531128, 0.06380097568035126, -0.030082492157816887, -0.1216966062784195, 0.1618862748146057, 0.010576585307717323, -0.2865763008594513, 0.27254965901374817, 0.008178274147212505, -0.04223376139998436, -0.30980947613716125, 0.14512872695922852, -0.08887846767902374, 0.4170590937137604, -0.12981097400188446, 0.1336338073015213, -0.06299593299627304, 0.27691417932510376, -0.180507093667984, 0.28835931420326233, -0.47796574234962463, -0.09257791191339493, 0.32201096415519714, 0.06572093814611435, 0.16817320883274078, 0.3533163368701935, -0.012580332346260548, -0.3021370470523834, -0.5158764719963074, 0.151621475815773, 0.516771674156189, -0.8029075860977173, 0.2133689671754837, 0.20885612070560455, -0.19326958060264587, 0.025980990380048752, 0.17330291867256165, -0.029072627425193787, 0.24267175793647766, -0.056993938982486725, 0.16151967644691467, -0.22911547124385834, 0.17072229087352753, -0.07951128482818604, 0.3038381040096283, 0.19796165823936462, -0.5342735648155212, -0.0006281638634391129, 0.11808399856090546, -0.3207395374774933, -0.05044208839535713, 0.07505027204751968, -0.2069471925497055, -0.2663753926753998, 0.15945617854595184, 0.010150066576898098, 0.0411715991795063, 0.14033158123493195, -0.16555827856063843, -0.2583284378051758, -0.26549023389816284, -0.10691135376691818, 0.09611251950263977, -0.18000514805316925, 0.13649199903011322, -0.27191823720932007, -0.33351004123687744, -0.25493696331977844, -0.15318232774734497, 0.2644144296646118, -0.1794595867395401, 0.0901046171784401, -0.010654800571501255, 0.40407904982566833, -0.0724470391869545, -0.2825561761856079, -0.07864396274089813, 0.0031059219036251307, 0.09521200507879257, -0.043973151594400406, -0.0729132890701294, -0.15696711838245392, -0.18175965547561646, 0.089985691010952, 0.269711434841156, 0.34143149852752686, -0.05574565753340721, -0.3718302845954895, -0.05763394013047218, -0.0938892811536789, -0.26479339599609375, 0.1867458075284958, 0.3426873981952667, 0.025914734229445457, -0.5243097543716431, 0.15919817984104156, 0.20968566834926605, -0.2828943431377411, -0.13848909735679626, 0.1527988761663437, -0.09556673467159271, 0.17396433651447296, 0.22854329645633698, 0.14658258855342865, -0.1588279902935028, 0.014490288682281971, 0.06683912128210068, -0.21190102398395538, -0.04627879709005356, -0.011298616416752338, 0.3642714321613312, -0.09472543746232986, -0.07879497855901718, 0.41084766387939453, 0.372001975774765, 0.2639392912387848, 0.15319384634494781, 0.03177560120820999, 0.36225655674934387, 0.21324335038661957, 0.023018958047032356, -0.11970344930887222, -0.26130518317222595, -0.1722898781299591, 0.05200771987438202, -0.3119688630104065, -0.21708813309669495, 0.3743738532066345, 0.3122938871383667, 0.44306591153144836, -0.1781243234872818, -0.24087631702423096, -0.0917496383190155, -0.1068466380238533, -0.04629427194595337, -0.18680110573768616, -0.14588619768619537, -0.15654803812503815, -0.07247322797775269, -0.1051521897315979, 0.3028732240200043, 0.32901859283447266, -0.198890820145607, 0.24301807582378387, -0.1810598373413086, 0.6189882755279541, 0.103364497423172, -0.0631653293967247, 0.0666145384311676, 0.00802974496036768, -0.03739380091428757, 0.24456293880939484, 0.09848305583000183, 0.18351756036281586, -0.024617670103907585, 0.0076303258538246155, 0.18028011918067932, -0.37308016419410706, 0.24261732399463654, -0.22810356318950653, -0.3253314793109894, 0.21736472845077515, 0.36701804399490356, 0.07532887160778046, 0.26653236150741577, 0.17964881658554077, -0.2432420700788498, -0.1077440157532692, 0.2654710114002228, 0.3241434693336487, 0.14163552224636078, -0.05121806263923645, 0.2034485638141632, -0.3131673038005829, 0.18679912388324738, -0.08711385726928711, -0.20780161023139954, 0.03212391212582588, 0.5364564061164856, -0.36803463101387024, -0.14374876022338867, -0.34118178486824036, 0.11310461163520813, 0.11433566361665726, 0.727576494216919, -0.04565572738647461, 0.33776044845581055, 0.14392149448394775, -0.15529343485832214, -0.329978883266449, 0.1335977017879486, 0.06770485639572144, 0.06768934428691864, 0.15612512826919556, 0.04729469493031502, 0.23696593940258026, 0.3061334192752838, 0.3232063353061676, -0.11302108317613602, 0.06987645477056503, 0.03718049079179764, -0.039941757917404175, 0.1424364596605301, 0.014675991609692574, 0.25695595145225525, -0.3334137201309204, -0.2556096315383911, -0.07542429119348526, 0.19710254669189453, 0.08759820461273193, -0.17224432528018951, 0.04473434388637543, 0.0452105738222599, 0.4119623303413391, 0.4628271758556366, 0.018931811675429344, 0.16929209232330322, -0.23561649024486542, 0.12930803000926971, 0.0037435817066580057, -0.5335925221443176, -0.00839968305081129, 0.23970851302146912, 0.3087971806526184, -0.17912615835666656, -0.033784035593271255, 0.1564514935016632, 0.1217183992266655, -0.09937111288309097, 0.16013643145561218, 0.40713849663734436, -0.08695407211780548, 0.4178069233894348, 0.22539907693862915, -0.1379966139793396, -0.17178887128829956, -0.1021704226732254, 0.13466854393482208, 0.034727420657873154, 0.1504507064819336, -0.2703818678855896, 0.12594668567180634, -0.04023163765668869, -0.28108611702919006, 0.13633152842521667, 0.45193228125572205, 0.3252546191215515, -0.19272544980049133, -0.3375086486339569, 0.01974654383957386, 0.24603837728500366, -0.19901075959205627, -0.13050071895122528, 0.4808776080608368, -0.21832774579524994, 0.2467297911643982, -0.179164320230484, 0.5403856039047241, 0.13537119328975677, -0.1179552748799324, -0.3550058901309967, -0.42334693670272827 ]
https://github.com/huggingface/datasets/issues/2089
Add documentaton for dataset README.md files
Hi ! We are using the [datasets-tagging app](https://github.com/huggingface/datasets-tagging) to select the tags to add. We are also adding the full list of tags in #2107 This covers multilinguality, language_creators, licenses, size_categories and task_categories. In general if you want to add a tag that doesn't exist (for example for a custom license) you must make it start with `other-` and then a custom tag name. edit (@theo-m) if you ever find yourself resorting to adding an `other-*` tag, please do ping us somewhere so we can think about adding it to the "official" list :)
Hi, the dataset README files have special headers. Somehow a documenation of the allowed values and tags is missing. Could you add that? Just to give some concrete questions that should be answered imo: - which values can be passted to multilinguality? - what should be passed to language_creators? - which values should licenses have? What do I say when it is a custom license? Should I add a link? - how should I choose size_categories ? What are valid ranges? - what are valid task_categories? Thanks Philip
94
Add documentaton for dataset README.md files
[ -0.5123075246810913, 0.3883272707462311, -0.18625079095363617, -0.11371395736932755, 0.08082728087902069, 0.3757954239845276, 0.42072492837905884, 0.21707624197006226, -0.15073058009147644, -0.06461992859840393, -0.07347828894853592, 0.242171049118042, -0.20571723580360413, 0.16636809706687927, 0.34415367245674133, 0.33112144470214844, 0.10189525783061981, 0.08496539294719696, -0.1989133059978485, -0.1910015046596527, -0.21010461449623108, -0.046426236629486084, -0.10680583864450455, -0.36606279015541077, -0.3975317180156708, -0.07852962613105774, -0.19859477877616882, 0.13834916055202484, -0.29308128356933594, -0.6182758212089539, 0.05155661702156067, 0.30754220485687256, 0.20511704683303833, 0.07748421281576157, -0.00011136953253298998, 0.02853216789662838, 0.170938178896904, -0.055232081562280655, -0.09974005818367004, 0.11950688064098358, -0.40141424536705017, -0.35726937651634216, -0.13889023661613464, -0.20756895840168, 0.08955708891153336, -0.2607966661453247, 0.2833254039287567, -0.372303307056427, 0.041713692247867584, 0.4981836676597595, 0.19437681138515472, 0.22348730266094208, 0.3501162827014923, -0.17198534309864044, 0.48915866017341614, 0.3939746916294098, -0.025496870279312134, 0.22721292078495026, 0.30234551429748535, 0.12675222754478455, -0.06331121921539307, 0.23773182928562164, -0.14174838364124298, 0.037091635167598724, 0.42595794796943665, 0.18304266035556793, 0.4624292254447937, -0.17291590571403503, 0.14270271360874176, 0.1840151697397232, 1.0009300708770752, -0.26730877161026, -0.3309732675552368, -0.1779971569776535, 0.06379689276218414, 0.060251299291849136, -0.0644584596157074, 0.22129206359386444, 0.08047705143690109, -0.0324811115860939, 0.05737350881099701, -0.4390239715576172, -0.13248786330223083, 0.005566222593188286, 0.07216021418571472, 0.727189302444458, -0.0010998628567904234, -0.15574495494365692, 0.16000549495220184, -0.09907697886228561, 0.3603510558605194, -0.08788657188415527, -0.10164575278759003, 0.05115377902984619, 0.4288340210914612, -0.12388813495635986, -0.2626856565475464, -0.33549782633781433, 0.23682518303394318, -0.2599387466907501, -0.12452516704797745, 0.11583954095840454, 0.020118504762649536, 0.027053002268075943, 0.2766494154930115, -0.18010590970516205, 0.29720038175582886, 0.2392374724149704, 0.3601853847503662, 0.057989299297332764, 0.06963742524385452, 0.0005075646913610399, -0.10355162620544434, -0.12899310886859894, 0.10176680237054825, -0.14556390047073364, -0.07795756310224533, -0.2870088517665863, 0.024592844769358635, -0.18954019248485565, 0.36064231395721436, -0.11129147559404373, -0.30872610211372375, 0.18566061556339264, 0.07237260788679123, -0.30226078629493713, -0.039356354624032974, 0.1799934208393097, -0.023703575134277344, 0.027969593182206154, -0.11298906058073044, 0.2910368740558624, -0.031016722321510315, 0.1705193668603897, 0.09220127761363983, 0.026610730215907097, 0.28252795338630676, -0.10648660361766815, 0.057677965611219406, 0.004834743216633797, 0.15522095561027527, 0.10991983860731125, 0.19126448035240173, 0.2203425019979477, 0.04371947795152664, -0.10146360099315643, -0.09567853063344955, -0.3937407433986664, -0.23669129610061646, 0.04066822677850723, -0.1871570646762848, -0.12402307242155075, -0.43395042419433594, 0.1681329756975174, 0.10940057784318924, -0.028927769511938095, -0.08239538967609406, 0.11356912553310394, 0.12341304123401642, -0.25143006443977356, 0.107735775411129, 0.1777154952287674, -0.42383554577827454, -0.06135611981153488, 0.09154877066612244, 0.5210502743721008, 0.08898762613534927, 0.013566701672971249, -0.05539221689105034, 0.07777825742959976, -0.18175865709781647, -0.2398018091917038, -0.21368741989135742, 0.2756584882736206, -0.3696095049381256, 0.240572988986969, 0.6792751550674438, -0.7827439904212952, -0.2493125945329666, 0.21096472442150116, 0.024051234126091003, -0.44160619378089905, 0.35242733359336853, 0.08823765069246292, 0.264749675989151, -0.1271032691001892, -0.07960528880357742, -0.13935522735118866, -0.05252300575375557, 0.09113016724586487, -0.06927663832902908, -0.19721578061580658, -0.22869105637073517, 0.2435125857591629, 0.2558664083480835, 0.027642009779810905, 0.56843501329422, 0.24365071952342987, 0.19625835120677948, -0.08610810339450836, 0.09205791354179382, 0.28454503417015076, 0.04078315943479538, -0.12711630761623383, 0.06227567419409752, -0.22836759686470032, -0.34325265884399414, -0.11707953363656998, 0.04298729822039604, 0.19585029780864716, -0.3840574324131012, -0.4836044907569885, -0.09599227458238602, -0.2777298092842102, -0.30098628997802734, -0.33155080676078796, 0.15548717975616455, 0.23694519698619843, -0.20676854252815247, 0.4764034152030945, -0.05357970669865608, 0.04925555735826492, 0.30864325165748596, 0.18214769661426544, -0.28916987776756287, 0.05331648513674736, 0.00815532449632883, -0.1083436980843544, 0.3896624445915222, 0.024825314059853554, -0.10066930204629898, 0.0024906580802053213, 0.13897882401943207, 0.18681560456752777, -0.02990376204252243, 0.16769665479660034, 0.3108731508255005, 0.43157434463500977, 0.373134583234787, -0.21062001585960388, 0.4042743444442749, -0.2210208624601364, 0.02972709946334362, -0.12560340762138367, -0.49441757798194885, 0.11750010401010513, 0.04179343581199646, -0.1388266384601593, 0.10099940001964569, -0.08579652011394501, 0.23552265763282776, 0.08731547743082047, -0.006766684353351593, -0.5907201766967773, -0.3832639157772064, 0.10678797960281372, 0.17907997965812683, -0.08728457242250443, 0.2945180833339691, 0.14847902953624725, 0.5901339650154114, 0.05928818881511688, 0.3114512264728546, -0.12494763731956482, -0.35516971349716187, 0.004513209220021963, 0.2303447425365448, 0.1450084000825882, 0.2103785127401352, 0.26014041900634766, 0.3417535424232483, 0.3587566316127777, -0.009493600577116013, -0.14244593679904938, 0.07398559898138046, 0.000041989769670180976, 0.1239171177148819, 0.3930200934410095, -0.13665032386779785, -0.12478911131620407, -0.4924066662788391, -0.13118712604045868, -0.06178276613354683, 0.09509171545505524, -0.04199054464697838, -0.20286542177200317, -0.20580348372459412, -0.1939985305070877, -0.2400612086057663, 0.28327688574790955, -0.19034262001514435, -0.3350471258163452, 0.022180749103426933, 0.25656387209892273, 0.09421343356370926, 0.0036172724794596434, -0.31774288415908813, 0.10006310790777206, -0.07783351093530655, 0.3365444839000702, -0.008370213210582733, -0.14143282175064087, 0.05667201802134514, 0.11194465309381485, 0.42424339056015015, 0.5832280516624451, 0.43257269263267517, -0.5330877304077148, 0.41647589206695557, -0.489884614944458, -0.39761605858802795, 0.11281818896532059, 0.13323141634464264, 0.25937020778656006, 0.2223416268825531, -0.03526662662625313, 0.05619272217154503, -0.21219663321971893, -0.04216582328081131, -0.08052128553390503, -0.1924275904893875, -0.4137275516986847, -0.05432035028934479, -0.3630324602127075, -0.10613416135311127, -0.5361288785934448, 0.021234659478068352, -0.2596852481365204, 0.003305860096588731, 0.02242734096944332, -0.020571235567331314, -0.016892287880182266, -0.13129806518554688, 0.22851838171482086, -0.32853442430496216, 0.09038195759057999, 0.06194246932864189, -0.0475320927798748, 0.5968581438064575, -0.3753695785999298, -0.28671085834503174, 0.3271506130695343, -0.2490803301334381, 0.16758301854133606, -0.04482736438512802, -0.41824620962142944, 0.0013088700361549854, -0.029621172696352005, -0.32693609595298767, -0.003994290716946125, 0.07837119698524475, 0.2967851161956787, 0.2770525813102722, -0.043579138815402985, -0.07189518958330154, 0.008836960420012474, 0.08283302932977676, -0.009838312864303589, -0.00007869551336625591, -0.13362710177898407, 0.27586501836776733, 0.07808045297861099, 0.15505309402942657, -0.058460481464862823, -0.024698719382286072, 0.2196589708328247, -0.2722201347351074, 0.3424709141254425, 0.04779844358563423, -0.15064482390880585, 0.048500560224056244, 0.14093558490276337, 0.18653520941734314, 0.29316970705986023, 0.06750823557376862, -0.10116618126630783, -0.07552215456962585, -0.370738685131073, -0.20479892194271088, -0.3395025432109833, -0.16360540688037872, 0.07004126161336899, 0.1190921813249588, 0.0017339078476652503, 0.0046189953573048115, -0.006137939635664225, -0.20181147754192352, 0.27410006523132324, 0.6365280151367188, -0.01847214065492153, 0.057833582162857056, -0.36850661039352417, 0.43419837951660156, -0.26736927032470703, 0.13267436623573303, 0.3353782594203949, 0.08236625790596008, -0.13795074820518494, 0.051602840423583984, -0.0863758772611618, -0.023231420665979385, 0.3634067177772522, -0.541030764579773, 0.14110353589057922, 0.10814232379198074, 0.06628665328025818, 0.22824788093566895, 0.09289546310901642, -0.12003301829099655, 0.1033620610833168, 0.05257615074515343, 0.40172138810157776, -0.14699231088161469, 0.038512326776981354, 0.16976509988307953, -0.1895252913236618, 0.17471176385879517, -0.19212467968463898, 0.034766167402267456, -0.22424004971981049, -0.422437846660614, 0.03791447728872299, 0.10009105503559113, -0.334926962852478, 0.05995394289493561, -0.47027090191841125, -0.09770209342241287, 0.02044132724404335, 0.15212464332580566, 0.03808395564556122, 0.02536879852414131, 0.29124271869659424, 0.12179978936910629, 0.27554330229759216, 0.2522701025009155, 0.7958114743232727, 0.2670585513114929, -0.14699533581733704, -0.4358901083469391, -0.022870561107993126, -0.7804543972015381, 0.364146888256073, 0.06590112298727036, 0.11525755375623703, -0.07639896869659424, 0.22786685824394226, -0.3477989137172699, 0.12324393540620804, 0.3381368815898895, 0.2802765667438507, -0.05714047700166702, -0.4570949673652649, -0.5263670682907104, 0.1311725229024887, 0.04539027065038681, 0.11024583131074905, 0.005532401613891125, -0.2268495261669159, -0.34631484746932983, -0.15575313568115234, 0.19897520542144775, 0.6730332970619202, 0.007738218177109957, 0.25493717193603516, -0.2991602122783661, -0.19227300584316254, 0.16364920139312744, -0.3408767282962799, 0.07162246853113174, -0.27320852875709534, -0.21105991303920746, -0.14702843129634857, -0.05220121517777443, 0.43619504570961, 0.3597490191459656, -0.09462897479534149, 0.060149651020765305, 0.4967274069786072, 0.1395104080438614, -0.2126409113407135, 0.46294718980789185, -0.2579021155834198, -0.060849618166685104, 0.15026281774044037, 0.09856477379798889, 0.1762356162071228, -0.24174566566944122, -0.03740707412362099, -0.3182406723499298, 0.12490708380937576, 0.00022174741025082767, -0.034943073987960815, -0.17012663185596466, 0.00758082140237093, 0.10805131494998932, -0.27493318915367126, 0.0975842997431755, 0.22905778884887695, 0.4060003161430359, 0.4740084409713745, 0.17172569036483765, -0.19446001946926117, 0.08953479677438736, 0.03322805464267731, -0.17303834855556488, -0.07011961936950684, -0.03274349495768547, 0.1689881533384323, -0.24443361163139343, -0.11533578485250473, -0.12782272696495056, 0.040805328637361526, -0.30323469638824463, 0.0044005815871059895, -0.1398877650499344, 0.11916287243366241, -0.10191619396209717, 0.10791242122650146, 0.1347910612821579, -0.18681882321834564, -0.2153140753507614, 0.1342739462852478, 0.015182387083768845, 0.1645151525735855, 0.20047472417354584, 0.18774472177028656, -0.26979970932006836, -0.0739353746175766, 0.5934796929359436, -0.20609359443187714, -0.11238217353820801, 0.09205178171396255, -0.10558048635721207, -0.4065370261669159, -0.30293112993240356, 0.12177629768848419, -0.14316780865192413, -0.05807024613022804, -0.11524340510368347, -0.004186292644590139, 0.060379981994628906, 0.20214371383190155, 0.3696194291114807, 0.022217173129320145, -0.14598828554153442, -0.12854382395744324, -0.33224231004714966, -0.4159978926181793, 0.12737101316452026, -0.3441142737865448, 0.19803911447525024, 0.1931619495153427, -0.13875651359558105, -0.09712770581245422, -0.13276156783103943, -0.31801459193229675, -0.06555815786123276, 0.1633637547492981, 0.007641552481800318, -0.010271679610013962, 0.3054378032684326, 0.02477452903985977, -0.05807756632566452, 0.08477062731981277, 0.19099336862564087, -0.16262489557266235, -0.1778823286294937, -0.040359016507864, 0.12017287313938141, -0.006070132367312908, -0.05959414690732956, 0.0675605833530426, -0.20235177874565125, -0.3362537622451782, -0.0934981107711792, 0.20507782697677612, 0.01580437272787094, -0.06363274902105331, 0.07912345975637436, 0.39228251576423645, -0.07454828172922134, 0.08980304002761841, 0.12803702056407928, -0.14423584938049316, -0.15716907382011414, 0.021230265498161316, 0.08198743313550949, -0.3692905008792877, 0.06087961047887802, 0.8017338514328003, 0.10826805233955383, 0.19313663244247437, 0.07525688409805298, 0.3991982936859131, -0.19210508465766907, -0.049740489572286606, 0.37390387058258057, -0.008566977456212044, 0.33678269386291504, -0.16398631036281586, -0.02295541949570179, 0.12742243707180023, 0.1505236029624939, -0.2502025067806244, -0.3975161910057068, 0.1911354959011078, -0.2942602038383484, 0.21191149950027466, 0.26295483112335205, 0.5140355825424194, -0.01192389614880085, -0.07083471864461899, 0.184650257229805, 0.2062457948923111, -0.27630603313446045, -0.0098607512190938, 0.3189491927623749, -0.02808307483792305, 0.015004842542111874, 0.22173826396465302, 0.33998218178749084, 0.06401525437831879, 0.43501517176628113, 0.19998584687709808, 0.11538758128881454, 0.2266816794872284, 0.31639212369918823, 0.027190597727894783, -0.09272213280200958, 0.29994893074035645, 0.2682105600833893, 0.1879744678735733, 0.15942007303237915, 0.4382997155189514, -0.2723613381385803, 0.37535548210144043, 0.07354310899972916, -0.13383609056472778, 0.07277367264032364, -0.037256453186273575, 0.003004383994266391, 0.3252650797367096, -0.1809319406747818, -0.056501928716897964, 0.08046941459178925, -0.10909561812877655, -0.14392082393169403, -0.36519089341163635, -0.17714042961597443, 0.015282025560736656, 0.10235664993524551, 0.4281161427497864, -0.17574623227119446, 0.013681917451322079, -0.18459422886371613, 0.047242142260074615, -0.04251440614461899, 0.1926785111427307, 0.3068329989910126, 0.27012452483177185, 0.15472932159900665, -0.014646385796368122, 0.21645723283290863, -0.03651253879070282, -0.21713435649871826, -0.17614984512329102, -0.14947183430194855, 0.19329982995986938, 0.049287788569927216, 0.11175309121608734, 0.2391083836555481, 0.13202475011348724, -0.05576777085661888, 0.18688097596168518, -0.11748945713043213, -0.3236335515975952, 0.027314458042383194, -0.19082890450954437, 0.2357320785522461, -0.07299432903528214, -0.06121902912855148, -0.008914779871702194, -0.3637821674346924, -0.5486562848091125, 0.6735615730285645, -0.28357845544815063, 0.11300916969776154, -0.08438898622989655, 0.07102716714143753, 0.09507355839014053, 0.10150403529405594, 0.21364331245422363, -0.10482484102249146, 0.29222697019577026, -0.26730477809906006, -0.7748139500617981, -0.054417334496974945, 0.1597062200307846, -0.15715447068214417, 0.05222832411527634, -0.20729655027389526, 0.13193264603614807, 0.1108539029955864, 0.3080914318561554, 0.023048218339681625, 0.07144463062286377, 0.05523256957530975, -0.15214109420776367, -0.13906964659690857, -0.13081848621368408, 0.16472764313220978, 0.006948804948478937, -0.1739974021911621, 0.07678402215242386, 0.08802468329668045, 0.08232400566339493, -0.17417414486408234, 0.27302077412605286, -0.15149055421352386, 0.03581994026899338, 0.3193870782852173, -0.2862496078014374, 0.5152825117111206, -0.530196487903595, -0.007138737011700869, -0.015350517816841602, 0.23525626957416534, -0.1053507849574089, 0.4794806241989136, 0.18186670541763306, 0.12274426221847534, -0.23903310298919678, 0.2112618237733841, 0.06422701478004456, 0.2910352647304535, 0.020613841712474823, -0.05187396705150604, -0.37383878231048584, 0.0754159688949585, -0.032411977648735046, -0.12886102497577667, 0.08139002323150635, -0.047347258776426315, -0.009279054589569569, -0.28151723742485046, 0.12948793172836304, -0.3014342486858368, 0.25733426213264465, -0.09549069404602051, -0.1485031545162201, -0.16705235838890076, -0.043167974799871445, 0.1382591277360916, -0.04596434533596039, -0.6499121189117432, -0.06535175442695618, 0.40859299898147583, 0.006127549801021814, -0.04772688075900078, 0.1305561363697052, -0.002321660751476884, 0.0710124596953392, -0.22984640300273895, 0.23945346474647522, 0.03734198585152626, -0.19363102316856384, -0.44664356112480164, -0.3677609860897064 ]
https://github.com/huggingface/datasets/issues/2089
Add documentaton for dataset README.md files
@lhoestq hmm - ok thanks for the answer. To be honest I am not sure if this issue can be closed now. I just wanted to point out that this should either be documented or linked in the documentation. If you feel like it is (will be) please just close this.
Hi, the dataset README files have special headers. Somehow a documenation of the allowed values and tags is missing. Could you add that? Just to give some concrete questions that should be answered imo: - which values can be passted to multilinguality? - what should be passed to language_creators? - which values should licenses have? What do I say when it is a custom license? Should I add a link? - how should I choose size_categories ? What are valid ranges? - what are valid task_categories? Thanks Philip
51
Add documentaton for dataset README.md files
[ -0.5123075246810913, 0.3883272707462311, -0.18625079095363617, -0.11371395736932755, 0.08082728087902069, 0.3757954239845276, 0.42072492837905884, 0.21707624197006226, -0.15073058009147644, -0.06461992859840393, -0.07347828894853592, 0.242171049118042, -0.20571723580360413, 0.16636809706687927, 0.34415367245674133, 0.33112144470214844, 0.10189525783061981, 0.08496539294719696, -0.1989133059978485, -0.1910015046596527, -0.21010461449623108, -0.046426236629486084, -0.10680583864450455, -0.36606279015541077, -0.3975317180156708, -0.07852962613105774, -0.19859477877616882, 0.13834916055202484, -0.29308128356933594, -0.6182758212089539, 0.05155661702156067, 0.30754220485687256, 0.20511704683303833, 0.07748421281576157, -0.00011136953253298998, 0.02853216789662838, 0.170938178896904, -0.055232081562280655, -0.09974005818367004, 0.11950688064098358, -0.40141424536705017, -0.35726937651634216, -0.13889023661613464, -0.20756895840168, 0.08955708891153336, -0.2607966661453247, 0.2833254039287567, -0.372303307056427, 0.041713692247867584, 0.4981836676597595, 0.19437681138515472, 0.22348730266094208, 0.3501162827014923, -0.17198534309864044, 0.48915866017341614, 0.3939746916294098, -0.025496870279312134, 0.22721292078495026, 0.30234551429748535, 0.12675222754478455, -0.06331121921539307, 0.23773182928562164, -0.14174838364124298, 0.037091635167598724, 0.42595794796943665, 0.18304266035556793, 0.4624292254447937, -0.17291590571403503, 0.14270271360874176, 0.1840151697397232, 1.0009300708770752, -0.26730877161026, -0.3309732675552368, -0.1779971569776535, 0.06379689276218414, 0.060251299291849136, -0.0644584596157074, 0.22129206359386444, 0.08047705143690109, -0.0324811115860939, 0.05737350881099701, -0.4390239715576172, -0.13248786330223083, 0.005566222593188286, 0.07216021418571472, 0.727189302444458, -0.0010998628567904234, -0.15574495494365692, 0.16000549495220184, -0.09907697886228561, 0.3603510558605194, -0.08788657188415527, -0.10164575278759003, 0.05115377902984619, 0.4288340210914612, -0.12388813495635986, -0.2626856565475464, -0.33549782633781433, 0.23682518303394318, -0.2599387466907501, -0.12452516704797745, 0.11583954095840454, 0.020118504762649536, 0.027053002268075943, 0.2766494154930115, -0.18010590970516205, 0.29720038175582886, 0.2392374724149704, 0.3601853847503662, 0.057989299297332764, 0.06963742524385452, 0.0005075646913610399, -0.10355162620544434, -0.12899310886859894, 0.10176680237054825, -0.14556390047073364, -0.07795756310224533, -0.2870088517665863, 0.024592844769358635, -0.18954019248485565, 0.36064231395721436, -0.11129147559404373, -0.30872610211372375, 0.18566061556339264, 0.07237260788679123, -0.30226078629493713, -0.039356354624032974, 0.1799934208393097, -0.023703575134277344, 0.027969593182206154, -0.11298906058073044, 0.2910368740558624, -0.031016722321510315, 0.1705193668603897, 0.09220127761363983, 0.026610730215907097, 0.28252795338630676, -0.10648660361766815, 0.057677965611219406, 0.004834743216633797, 0.15522095561027527, 0.10991983860731125, 0.19126448035240173, 0.2203425019979477, 0.04371947795152664, -0.10146360099315643, -0.09567853063344955, -0.3937407433986664, -0.23669129610061646, 0.04066822677850723, -0.1871570646762848, -0.12402307242155075, -0.43395042419433594, 0.1681329756975174, 0.10940057784318924, -0.028927769511938095, -0.08239538967609406, 0.11356912553310394, 0.12341304123401642, -0.25143006443977356, 0.107735775411129, 0.1777154952287674, -0.42383554577827454, -0.06135611981153488, 0.09154877066612244, 0.5210502743721008, 0.08898762613534927, 0.013566701672971249, -0.05539221689105034, 0.07777825742959976, -0.18175865709781647, -0.2398018091917038, -0.21368741989135742, 0.2756584882736206, -0.3696095049381256, 0.240572988986969, 0.6792751550674438, -0.7827439904212952, -0.2493125945329666, 0.21096472442150116, 0.024051234126091003, -0.44160619378089905, 0.35242733359336853, 0.08823765069246292, 0.264749675989151, -0.1271032691001892, -0.07960528880357742, -0.13935522735118866, -0.05252300575375557, 0.09113016724586487, -0.06927663832902908, -0.19721578061580658, -0.22869105637073517, 0.2435125857591629, 0.2558664083480835, 0.027642009779810905, 0.56843501329422, 0.24365071952342987, 0.19625835120677948, -0.08610810339450836, 0.09205791354179382, 0.28454503417015076, 0.04078315943479538, -0.12711630761623383, 0.06227567419409752, -0.22836759686470032, -0.34325265884399414, -0.11707953363656998, 0.04298729822039604, 0.19585029780864716, -0.3840574324131012, -0.4836044907569885, -0.09599227458238602, -0.2777298092842102, -0.30098628997802734, -0.33155080676078796, 0.15548717975616455, 0.23694519698619843, -0.20676854252815247, 0.4764034152030945, -0.05357970669865608, 0.04925555735826492, 0.30864325165748596, 0.18214769661426544, -0.28916987776756287, 0.05331648513674736, 0.00815532449632883, -0.1083436980843544, 0.3896624445915222, 0.024825314059853554, -0.10066930204629898, 0.0024906580802053213, 0.13897882401943207, 0.18681560456752777, -0.02990376204252243, 0.16769665479660034, 0.3108731508255005, 0.43157434463500977, 0.373134583234787, -0.21062001585960388, 0.4042743444442749, -0.2210208624601364, 0.02972709946334362, -0.12560340762138367, -0.49441757798194885, 0.11750010401010513, 0.04179343581199646, -0.1388266384601593, 0.10099940001964569, -0.08579652011394501, 0.23552265763282776, 0.08731547743082047, -0.006766684353351593, -0.5907201766967773, -0.3832639157772064, 0.10678797960281372, 0.17907997965812683, -0.08728457242250443, 0.2945180833339691, 0.14847902953624725, 0.5901339650154114, 0.05928818881511688, 0.3114512264728546, -0.12494763731956482, -0.35516971349716187, 0.004513209220021963, 0.2303447425365448, 0.1450084000825882, 0.2103785127401352, 0.26014041900634766, 0.3417535424232483, 0.3587566316127777, -0.009493600577116013, -0.14244593679904938, 0.07398559898138046, 0.000041989769670180976, 0.1239171177148819, 0.3930200934410095, -0.13665032386779785, -0.12478911131620407, -0.4924066662788391, -0.13118712604045868, -0.06178276613354683, 0.09509171545505524, -0.04199054464697838, -0.20286542177200317, -0.20580348372459412, -0.1939985305070877, -0.2400612086057663, 0.28327688574790955, -0.19034262001514435, -0.3350471258163452, 0.022180749103426933, 0.25656387209892273, 0.09421343356370926, 0.0036172724794596434, -0.31774288415908813, 0.10006310790777206, -0.07783351093530655, 0.3365444839000702, -0.008370213210582733, -0.14143282175064087, 0.05667201802134514, 0.11194465309381485, 0.42424339056015015, 0.5832280516624451, 0.43257269263267517, -0.5330877304077148, 0.41647589206695557, -0.489884614944458, -0.39761605858802795, 0.11281818896532059, 0.13323141634464264, 0.25937020778656006, 0.2223416268825531, -0.03526662662625313, 0.05619272217154503, -0.21219663321971893, -0.04216582328081131, -0.08052128553390503, -0.1924275904893875, -0.4137275516986847, -0.05432035028934479, -0.3630324602127075, -0.10613416135311127, -0.5361288785934448, 0.021234659478068352, -0.2596852481365204, 0.003305860096588731, 0.02242734096944332, -0.020571235567331314, -0.016892287880182266, -0.13129806518554688, 0.22851838171482086, -0.32853442430496216, 0.09038195759057999, 0.06194246932864189, -0.0475320927798748, 0.5968581438064575, -0.3753695785999298, -0.28671085834503174, 0.3271506130695343, -0.2490803301334381, 0.16758301854133606, -0.04482736438512802, -0.41824620962142944, 0.0013088700361549854, -0.029621172696352005, -0.32693609595298767, -0.003994290716946125, 0.07837119698524475, 0.2967851161956787, 0.2770525813102722, -0.043579138815402985, -0.07189518958330154, 0.008836960420012474, 0.08283302932977676, -0.009838312864303589, -0.00007869551336625591, -0.13362710177898407, 0.27586501836776733, 0.07808045297861099, 0.15505309402942657, -0.058460481464862823, -0.024698719382286072, 0.2196589708328247, -0.2722201347351074, 0.3424709141254425, 0.04779844358563423, -0.15064482390880585, 0.048500560224056244, 0.14093558490276337, 0.18653520941734314, 0.29316970705986023, 0.06750823557376862, -0.10116618126630783, -0.07552215456962585, -0.370738685131073, -0.20479892194271088, -0.3395025432109833, -0.16360540688037872, 0.07004126161336899, 0.1190921813249588, 0.0017339078476652503, 0.0046189953573048115, -0.006137939635664225, -0.20181147754192352, 0.27410006523132324, 0.6365280151367188, -0.01847214065492153, 0.057833582162857056, -0.36850661039352417, 0.43419837951660156, -0.26736927032470703, 0.13267436623573303, 0.3353782594203949, 0.08236625790596008, -0.13795074820518494, 0.051602840423583984, -0.0863758772611618, -0.023231420665979385, 0.3634067177772522, -0.541030764579773, 0.14110353589057922, 0.10814232379198074, 0.06628665328025818, 0.22824788093566895, 0.09289546310901642, -0.12003301829099655, 0.1033620610833168, 0.05257615074515343, 0.40172138810157776, -0.14699231088161469, 0.038512326776981354, 0.16976509988307953, -0.1895252913236618, 0.17471176385879517, -0.19212467968463898, 0.034766167402267456, -0.22424004971981049, -0.422437846660614, 0.03791447728872299, 0.10009105503559113, -0.334926962852478, 0.05995394289493561, -0.47027090191841125, -0.09770209342241287, 0.02044132724404335, 0.15212464332580566, 0.03808395564556122, 0.02536879852414131, 0.29124271869659424, 0.12179978936910629, 0.27554330229759216, 0.2522701025009155, 0.7958114743232727, 0.2670585513114929, -0.14699533581733704, -0.4358901083469391, -0.022870561107993126, -0.7804543972015381, 0.364146888256073, 0.06590112298727036, 0.11525755375623703, -0.07639896869659424, 0.22786685824394226, -0.3477989137172699, 0.12324393540620804, 0.3381368815898895, 0.2802765667438507, -0.05714047700166702, -0.4570949673652649, -0.5263670682907104, 0.1311725229024887, 0.04539027065038681, 0.11024583131074905, 0.005532401613891125, -0.2268495261669159, -0.34631484746932983, -0.15575313568115234, 0.19897520542144775, 0.6730332970619202, 0.007738218177109957, 0.25493717193603516, -0.2991602122783661, -0.19227300584316254, 0.16364920139312744, -0.3408767282962799, 0.07162246853113174, -0.27320852875709534, -0.21105991303920746, -0.14702843129634857, -0.05220121517777443, 0.43619504570961, 0.3597490191459656, -0.09462897479534149, 0.060149651020765305, 0.4967274069786072, 0.1395104080438614, -0.2126409113407135, 0.46294718980789185, -0.2579021155834198, -0.060849618166685104, 0.15026281774044037, 0.09856477379798889, 0.1762356162071228, -0.24174566566944122, -0.03740707412362099, -0.3182406723499298, 0.12490708380937576, 0.00022174741025082767, -0.034943073987960815, -0.17012663185596466, 0.00758082140237093, 0.10805131494998932, -0.27493318915367126, 0.0975842997431755, 0.22905778884887695, 0.4060003161430359, 0.4740084409713745, 0.17172569036483765, -0.19446001946926117, 0.08953479677438736, 0.03322805464267731, -0.17303834855556488, -0.07011961936950684, -0.03274349495768547, 0.1689881533384323, -0.24443361163139343, -0.11533578485250473, -0.12782272696495056, 0.040805328637361526, -0.30323469638824463, 0.0044005815871059895, -0.1398877650499344, 0.11916287243366241, -0.10191619396209717, 0.10791242122650146, 0.1347910612821579, -0.18681882321834564, -0.2153140753507614, 0.1342739462852478, 0.015182387083768845, 0.1645151525735855, 0.20047472417354584, 0.18774472177028656, -0.26979970932006836, -0.0739353746175766, 0.5934796929359436, -0.20609359443187714, -0.11238217353820801, 0.09205178171396255, -0.10558048635721207, -0.4065370261669159, -0.30293112993240356, 0.12177629768848419, -0.14316780865192413, -0.05807024613022804, -0.11524340510368347, -0.004186292644590139, 0.060379981994628906, 0.20214371383190155, 0.3696194291114807, 0.022217173129320145, -0.14598828554153442, -0.12854382395744324, -0.33224231004714966, -0.4159978926181793, 0.12737101316452026, -0.3441142737865448, 0.19803911447525024, 0.1931619495153427, -0.13875651359558105, -0.09712770581245422, -0.13276156783103943, -0.31801459193229675, -0.06555815786123276, 0.1633637547492981, 0.007641552481800318, -0.010271679610013962, 0.3054378032684326, 0.02477452903985977, -0.05807756632566452, 0.08477062731981277, 0.19099336862564087, -0.16262489557266235, -0.1778823286294937, -0.040359016507864, 0.12017287313938141, -0.006070132367312908, -0.05959414690732956, 0.0675605833530426, -0.20235177874565125, -0.3362537622451782, -0.0934981107711792, 0.20507782697677612, 0.01580437272787094, -0.06363274902105331, 0.07912345975637436, 0.39228251576423645, -0.07454828172922134, 0.08980304002761841, 0.12803702056407928, -0.14423584938049316, -0.15716907382011414, 0.021230265498161316, 0.08198743313550949, -0.3692905008792877, 0.06087961047887802, 0.8017338514328003, 0.10826805233955383, 0.19313663244247437, 0.07525688409805298, 0.3991982936859131, -0.19210508465766907, -0.049740489572286606, 0.37390387058258057, -0.008566977456212044, 0.33678269386291504, -0.16398631036281586, -0.02295541949570179, 0.12742243707180023, 0.1505236029624939, -0.2502025067806244, -0.3975161910057068, 0.1911354959011078, -0.2942602038383484, 0.21191149950027466, 0.26295483112335205, 0.5140355825424194, -0.01192389614880085, -0.07083471864461899, 0.184650257229805, 0.2062457948923111, -0.27630603313446045, -0.0098607512190938, 0.3189491927623749, -0.02808307483792305, 0.015004842542111874, 0.22173826396465302, 0.33998218178749084, 0.06401525437831879, 0.43501517176628113, 0.19998584687709808, 0.11538758128881454, 0.2266816794872284, 0.31639212369918823, 0.027190597727894783, -0.09272213280200958, 0.29994893074035645, 0.2682105600833893, 0.1879744678735733, 0.15942007303237915, 0.4382997155189514, -0.2723613381385803, 0.37535548210144043, 0.07354310899972916, -0.13383609056472778, 0.07277367264032364, -0.037256453186273575, 0.003004383994266391, 0.3252650797367096, -0.1809319406747818, -0.056501928716897964, 0.08046941459178925, -0.10909561812877655, -0.14392082393169403, -0.36519089341163635, -0.17714042961597443, 0.015282025560736656, 0.10235664993524551, 0.4281161427497864, -0.17574623227119446, 0.013681917451322079, -0.18459422886371613, 0.047242142260074615, -0.04251440614461899, 0.1926785111427307, 0.3068329989910126, 0.27012452483177185, 0.15472932159900665, -0.014646385796368122, 0.21645723283290863, -0.03651253879070282, -0.21713435649871826, -0.17614984512329102, -0.14947183430194855, 0.19329982995986938, 0.049287788569927216, 0.11175309121608734, 0.2391083836555481, 0.13202475011348724, -0.05576777085661888, 0.18688097596168518, -0.11748945713043213, -0.3236335515975952, 0.027314458042383194, -0.19082890450954437, 0.2357320785522461, -0.07299432903528214, -0.06121902912855148, -0.008914779871702194, -0.3637821674346924, -0.5486562848091125, 0.6735615730285645, -0.28357845544815063, 0.11300916969776154, -0.08438898622989655, 0.07102716714143753, 0.09507355839014053, 0.10150403529405594, 0.21364331245422363, -0.10482484102249146, 0.29222697019577026, -0.26730477809906006, -0.7748139500617981, -0.054417334496974945, 0.1597062200307846, -0.15715447068214417, 0.05222832411527634, -0.20729655027389526, 0.13193264603614807, 0.1108539029955864, 0.3080914318561554, 0.023048218339681625, 0.07144463062286377, 0.05523256957530975, -0.15214109420776367, -0.13906964659690857, -0.13081848621368408, 0.16472764313220978, 0.006948804948478937, -0.1739974021911621, 0.07678402215242386, 0.08802468329668045, 0.08232400566339493, -0.17417414486408234, 0.27302077412605286, -0.15149055421352386, 0.03581994026899338, 0.3193870782852173, -0.2862496078014374, 0.5152825117111206, -0.530196487903595, -0.007138737011700869, -0.015350517816841602, 0.23525626957416534, -0.1053507849574089, 0.4794806241989136, 0.18186670541763306, 0.12274426221847534, -0.23903310298919678, 0.2112618237733841, 0.06422701478004456, 0.2910352647304535, 0.020613841712474823, -0.05187396705150604, -0.37383878231048584, 0.0754159688949585, -0.032411977648735046, -0.12886102497577667, 0.08139002323150635, -0.047347258776426315, -0.009279054589569569, -0.28151723742485046, 0.12948793172836304, -0.3014342486858368, 0.25733426213264465, -0.09549069404602051, -0.1485031545162201, -0.16705235838890076, -0.043167974799871445, 0.1382591277360916, -0.04596434533596039, -0.6499121189117432, -0.06535175442695618, 0.40859299898147583, 0.006127549801021814, -0.04772688075900078, 0.1305561363697052, -0.002321660751476884, 0.0710124596953392, -0.22984640300273895, 0.23945346474647522, 0.03734198585152626, -0.19363102316856384, -0.44664356112480164, -0.3677609860897064 ]
https://github.com/huggingface/datasets/issues/2089
Add documentaton for dataset README.md files
We're still working on the validation+documentation in this. Feel free to keep this issue open till we've added them
Hi, the dataset README files have special headers. Somehow a documenation of the allowed values and tags is missing. Could you add that? Just to give some concrete questions that should be answered imo: - which values can be passted to multilinguality? - what should be passed to language_creators? - which values should licenses have? What do I say when it is a custom license? Should I add a link? - how should I choose size_categories ? What are valid ranges? - what are valid task_categories? Thanks Philip
19
Add documentaton for dataset README.md files
[ -0.5123075246810913, 0.3883272707462311, -0.18625079095363617, -0.11371395736932755, 0.08082728087902069, 0.3757954239845276, 0.42072492837905884, 0.21707624197006226, -0.15073058009147644, -0.06461992859840393, -0.07347828894853592, 0.242171049118042, -0.20571723580360413, 0.16636809706687927, 0.34415367245674133, 0.33112144470214844, 0.10189525783061981, 0.08496539294719696, -0.1989133059978485, -0.1910015046596527, -0.21010461449623108, -0.046426236629486084, -0.10680583864450455, -0.36606279015541077, -0.3975317180156708, -0.07852962613105774, -0.19859477877616882, 0.13834916055202484, -0.29308128356933594, -0.6182758212089539, 0.05155661702156067, 0.30754220485687256, 0.20511704683303833, 0.07748421281576157, -0.00011136953253298998, 0.02853216789662838, 0.170938178896904, -0.055232081562280655, -0.09974005818367004, 0.11950688064098358, -0.40141424536705017, -0.35726937651634216, -0.13889023661613464, -0.20756895840168, 0.08955708891153336, -0.2607966661453247, 0.2833254039287567, -0.372303307056427, 0.041713692247867584, 0.4981836676597595, 0.19437681138515472, 0.22348730266094208, 0.3501162827014923, -0.17198534309864044, 0.48915866017341614, 0.3939746916294098, -0.025496870279312134, 0.22721292078495026, 0.30234551429748535, 0.12675222754478455, -0.06331121921539307, 0.23773182928562164, -0.14174838364124298, 0.037091635167598724, 0.42595794796943665, 0.18304266035556793, 0.4624292254447937, -0.17291590571403503, 0.14270271360874176, 0.1840151697397232, 1.0009300708770752, -0.26730877161026, -0.3309732675552368, -0.1779971569776535, 0.06379689276218414, 0.060251299291849136, -0.0644584596157074, 0.22129206359386444, 0.08047705143690109, -0.0324811115860939, 0.05737350881099701, -0.4390239715576172, -0.13248786330223083, 0.005566222593188286, 0.07216021418571472, 0.727189302444458, -0.0010998628567904234, -0.15574495494365692, 0.16000549495220184, -0.09907697886228561, 0.3603510558605194, -0.08788657188415527, -0.10164575278759003, 0.05115377902984619, 0.4288340210914612, -0.12388813495635986, -0.2626856565475464, -0.33549782633781433, 0.23682518303394318, -0.2599387466907501, -0.12452516704797745, 0.11583954095840454, 0.020118504762649536, 0.027053002268075943, 0.2766494154930115, -0.18010590970516205, 0.29720038175582886, 0.2392374724149704, 0.3601853847503662, 0.057989299297332764, 0.06963742524385452, 0.0005075646913610399, -0.10355162620544434, -0.12899310886859894, 0.10176680237054825, -0.14556390047073364, -0.07795756310224533, -0.2870088517665863, 0.024592844769358635, -0.18954019248485565, 0.36064231395721436, -0.11129147559404373, -0.30872610211372375, 0.18566061556339264, 0.07237260788679123, -0.30226078629493713, -0.039356354624032974, 0.1799934208393097, -0.023703575134277344, 0.027969593182206154, -0.11298906058073044, 0.2910368740558624, -0.031016722321510315, 0.1705193668603897, 0.09220127761363983, 0.026610730215907097, 0.28252795338630676, -0.10648660361766815, 0.057677965611219406, 0.004834743216633797, 0.15522095561027527, 0.10991983860731125, 0.19126448035240173, 0.2203425019979477, 0.04371947795152664, -0.10146360099315643, -0.09567853063344955, -0.3937407433986664, -0.23669129610061646, 0.04066822677850723, -0.1871570646762848, -0.12402307242155075, -0.43395042419433594, 0.1681329756975174, 0.10940057784318924, -0.028927769511938095, -0.08239538967609406, 0.11356912553310394, 0.12341304123401642, -0.25143006443977356, 0.107735775411129, 0.1777154952287674, -0.42383554577827454, -0.06135611981153488, 0.09154877066612244, 0.5210502743721008, 0.08898762613534927, 0.013566701672971249, -0.05539221689105034, 0.07777825742959976, -0.18175865709781647, -0.2398018091917038, -0.21368741989135742, 0.2756584882736206, -0.3696095049381256, 0.240572988986969, 0.6792751550674438, -0.7827439904212952, -0.2493125945329666, 0.21096472442150116, 0.024051234126091003, -0.44160619378089905, 0.35242733359336853, 0.08823765069246292, 0.264749675989151, -0.1271032691001892, -0.07960528880357742, -0.13935522735118866, -0.05252300575375557, 0.09113016724586487, -0.06927663832902908, -0.19721578061580658, -0.22869105637073517, 0.2435125857591629, 0.2558664083480835, 0.027642009779810905, 0.56843501329422, 0.24365071952342987, 0.19625835120677948, -0.08610810339450836, 0.09205791354179382, 0.28454503417015076, 0.04078315943479538, -0.12711630761623383, 0.06227567419409752, -0.22836759686470032, -0.34325265884399414, -0.11707953363656998, 0.04298729822039604, 0.19585029780864716, -0.3840574324131012, -0.4836044907569885, -0.09599227458238602, -0.2777298092842102, -0.30098628997802734, -0.33155080676078796, 0.15548717975616455, 0.23694519698619843, -0.20676854252815247, 0.4764034152030945, -0.05357970669865608, 0.04925555735826492, 0.30864325165748596, 0.18214769661426544, -0.28916987776756287, 0.05331648513674736, 0.00815532449632883, -0.1083436980843544, 0.3896624445915222, 0.024825314059853554, -0.10066930204629898, 0.0024906580802053213, 0.13897882401943207, 0.18681560456752777, -0.02990376204252243, 0.16769665479660034, 0.3108731508255005, 0.43157434463500977, 0.373134583234787, -0.21062001585960388, 0.4042743444442749, -0.2210208624601364, 0.02972709946334362, -0.12560340762138367, -0.49441757798194885, 0.11750010401010513, 0.04179343581199646, -0.1388266384601593, 0.10099940001964569, -0.08579652011394501, 0.23552265763282776, 0.08731547743082047, -0.006766684353351593, -0.5907201766967773, -0.3832639157772064, 0.10678797960281372, 0.17907997965812683, -0.08728457242250443, 0.2945180833339691, 0.14847902953624725, 0.5901339650154114, 0.05928818881511688, 0.3114512264728546, -0.12494763731956482, -0.35516971349716187, 0.004513209220021963, 0.2303447425365448, 0.1450084000825882, 0.2103785127401352, 0.26014041900634766, 0.3417535424232483, 0.3587566316127777, -0.009493600577116013, -0.14244593679904938, 0.07398559898138046, 0.000041989769670180976, 0.1239171177148819, 0.3930200934410095, -0.13665032386779785, -0.12478911131620407, -0.4924066662788391, -0.13118712604045868, -0.06178276613354683, 0.09509171545505524, -0.04199054464697838, -0.20286542177200317, -0.20580348372459412, -0.1939985305070877, -0.2400612086057663, 0.28327688574790955, -0.19034262001514435, -0.3350471258163452, 0.022180749103426933, 0.25656387209892273, 0.09421343356370926, 0.0036172724794596434, -0.31774288415908813, 0.10006310790777206, -0.07783351093530655, 0.3365444839000702, -0.008370213210582733, -0.14143282175064087, 0.05667201802134514, 0.11194465309381485, 0.42424339056015015, 0.5832280516624451, 0.43257269263267517, -0.5330877304077148, 0.41647589206695557, -0.489884614944458, -0.39761605858802795, 0.11281818896532059, 0.13323141634464264, 0.25937020778656006, 0.2223416268825531, -0.03526662662625313, 0.05619272217154503, -0.21219663321971893, -0.04216582328081131, -0.08052128553390503, -0.1924275904893875, -0.4137275516986847, -0.05432035028934479, -0.3630324602127075, -0.10613416135311127, -0.5361288785934448, 0.021234659478068352, -0.2596852481365204, 0.003305860096588731, 0.02242734096944332, -0.020571235567331314, -0.016892287880182266, -0.13129806518554688, 0.22851838171482086, -0.32853442430496216, 0.09038195759057999, 0.06194246932864189, -0.0475320927798748, 0.5968581438064575, -0.3753695785999298, -0.28671085834503174, 0.3271506130695343, -0.2490803301334381, 0.16758301854133606, -0.04482736438512802, -0.41824620962142944, 0.0013088700361549854, -0.029621172696352005, -0.32693609595298767, -0.003994290716946125, 0.07837119698524475, 0.2967851161956787, 0.2770525813102722, -0.043579138815402985, -0.07189518958330154, 0.008836960420012474, 0.08283302932977676, -0.009838312864303589, -0.00007869551336625591, -0.13362710177898407, 0.27586501836776733, 0.07808045297861099, 0.15505309402942657, -0.058460481464862823, -0.024698719382286072, 0.2196589708328247, -0.2722201347351074, 0.3424709141254425, 0.04779844358563423, -0.15064482390880585, 0.048500560224056244, 0.14093558490276337, 0.18653520941734314, 0.29316970705986023, 0.06750823557376862, -0.10116618126630783, -0.07552215456962585, -0.370738685131073, -0.20479892194271088, -0.3395025432109833, -0.16360540688037872, 0.07004126161336899, 0.1190921813249588, 0.0017339078476652503, 0.0046189953573048115, -0.006137939635664225, -0.20181147754192352, 0.27410006523132324, 0.6365280151367188, -0.01847214065492153, 0.057833582162857056, -0.36850661039352417, 0.43419837951660156, -0.26736927032470703, 0.13267436623573303, 0.3353782594203949, 0.08236625790596008, -0.13795074820518494, 0.051602840423583984, -0.0863758772611618, -0.023231420665979385, 0.3634067177772522, -0.541030764579773, 0.14110353589057922, 0.10814232379198074, 0.06628665328025818, 0.22824788093566895, 0.09289546310901642, -0.12003301829099655, 0.1033620610833168, 0.05257615074515343, 0.40172138810157776, -0.14699231088161469, 0.038512326776981354, 0.16976509988307953, -0.1895252913236618, 0.17471176385879517, -0.19212467968463898, 0.034766167402267456, -0.22424004971981049, -0.422437846660614, 0.03791447728872299, 0.10009105503559113, -0.334926962852478, 0.05995394289493561, -0.47027090191841125, -0.09770209342241287, 0.02044132724404335, 0.15212464332580566, 0.03808395564556122, 0.02536879852414131, 0.29124271869659424, 0.12179978936910629, 0.27554330229759216, 0.2522701025009155, 0.7958114743232727, 0.2670585513114929, -0.14699533581733704, -0.4358901083469391, -0.022870561107993126, -0.7804543972015381, 0.364146888256073, 0.06590112298727036, 0.11525755375623703, -0.07639896869659424, 0.22786685824394226, -0.3477989137172699, 0.12324393540620804, 0.3381368815898895, 0.2802765667438507, -0.05714047700166702, -0.4570949673652649, -0.5263670682907104, 0.1311725229024887, 0.04539027065038681, 0.11024583131074905, 0.005532401613891125, -0.2268495261669159, -0.34631484746932983, -0.15575313568115234, 0.19897520542144775, 0.6730332970619202, 0.007738218177109957, 0.25493717193603516, -0.2991602122783661, -0.19227300584316254, 0.16364920139312744, -0.3408767282962799, 0.07162246853113174, -0.27320852875709534, -0.21105991303920746, -0.14702843129634857, -0.05220121517777443, 0.43619504570961, 0.3597490191459656, -0.09462897479534149, 0.060149651020765305, 0.4967274069786072, 0.1395104080438614, -0.2126409113407135, 0.46294718980789185, -0.2579021155834198, -0.060849618166685104, 0.15026281774044037, 0.09856477379798889, 0.1762356162071228, -0.24174566566944122, -0.03740707412362099, -0.3182406723499298, 0.12490708380937576, 0.00022174741025082767, -0.034943073987960815, -0.17012663185596466, 0.00758082140237093, 0.10805131494998932, -0.27493318915367126, 0.0975842997431755, 0.22905778884887695, 0.4060003161430359, 0.4740084409713745, 0.17172569036483765, -0.19446001946926117, 0.08953479677438736, 0.03322805464267731, -0.17303834855556488, -0.07011961936950684, -0.03274349495768547, 0.1689881533384323, -0.24443361163139343, -0.11533578485250473, -0.12782272696495056, 0.040805328637361526, -0.30323469638824463, 0.0044005815871059895, -0.1398877650499344, 0.11916287243366241, -0.10191619396209717, 0.10791242122650146, 0.1347910612821579, -0.18681882321834564, -0.2153140753507614, 0.1342739462852478, 0.015182387083768845, 0.1645151525735855, 0.20047472417354584, 0.18774472177028656, -0.26979970932006836, -0.0739353746175766, 0.5934796929359436, -0.20609359443187714, -0.11238217353820801, 0.09205178171396255, -0.10558048635721207, -0.4065370261669159, -0.30293112993240356, 0.12177629768848419, -0.14316780865192413, -0.05807024613022804, -0.11524340510368347, -0.004186292644590139, 0.060379981994628906, 0.20214371383190155, 0.3696194291114807, 0.022217173129320145, -0.14598828554153442, -0.12854382395744324, -0.33224231004714966, -0.4159978926181793, 0.12737101316452026, -0.3441142737865448, 0.19803911447525024, 0.1931619495153427, -0.13875651359558105, -0.09712770581245422, -0.13276156783103943, -0.31801459193229675, -0.06555815786123276, 0.1633637547492981, 0.007641552481800318, -0.010271679610013962, 0.3054378032684326, 0.02477452903985977, -0.05807756632566452, 0.08477062731981277, 0.19099336862564087, -0.16262489557266235, -0.1778823286294937, -0.040359016507864, 0.12017287313938141, -0.006070132367312908, -0.05959414690732956, 0.0675605833530426, -0.20235177874565125, -0.3362537622451782, -0.0934981107711792, 0.20507782697677612, 0.01580437272787094, -0.06363274902105331, 0.07912345975637436, 0.39228251576423645, -0.07454828172922134, 0.08980304002761841, 0.12803702056407928, -0.14423584938049316, -0.15716907382011414, 0.021230265498161316, 0.08198743313550949, -0.3692905008792877, 0.06087961047887802, 0.8017338514328003, 0.10826805233955383, 0.19313663244247437, 0.07525688409805298, 0.3991982936859131, -0.19210508465766907, -0.049740489572286606, 0.37390387058258057, -0.008566977456212044, 0.33678269386291504, -0.16398631036281586, -0.02295541949570179, 0.12742243707180023, 0.1505236029624939, -0.2502025067806244, -0.3975161910057068, 0.1911354959011078, -0.2942602038383484, 0.21191149950027466, 0.26295483112335205, 0.5140355825424194, -0.01192389614880085, -0.07083471864461899, 0.184650257229805, 0.2062457948923111, -0.27630603313446045, -0.0098607512190938, 0.3189491927623749, -0.02808307483792305, 0.015004842542111874, 0.22173826396465302, 0.33998218178749084, 0.06401525437831879, 0.43501517176628113, 0.19998584687709808, 0.11538758128881454, 0.2266816794872284, 0.31639212369918823, 0.027190597727894783, -0.09272213280200958, 0.29994893074035645, 0.2682105600833893, 0.1879744678735733, 0.15942007303237915, 0.4382997155189514, -0.2723613381385803, 0.37535548210144043, 0.07354310899972916, -0.13383609056472778, 0.07277367264032364, -0.037256453186273575, 0.003004383994266391, 0.3252650797367096, -0.1809319406747818, -0.056501928716897964, 0.08046941459178925, -0.10909561812877655, -0.14392082393169403, -0.36519089341163635, -0.17714042961597443, 0.015282025560736656, 0.10235664993524551, 0.4281161427497864, -0.17574623227119446, 0.013681917451322079, -0.18459422886371613, 0.047242142260074615, -0.04251440614461899, 0.1926785111427307, 0.3068329989910126, 0.27012452483177185, 0.15472932159900665, -0.014646385796368122, 0.21645723283290863, -0.03651253879070282, -0.21713435649871826, -0.17614984512329102, -0.14947183430194855, 0.19329982995986938, 0.049287788569927216, 0.11175309121608734, 0.2391083836555481, 0.13202475011348724, -0.05576777085661888, 0.18688097596168518, -0.11748945713043213, -0.3236335515975952, 0.027314458042383194, -0.19082890450954437, 0.2357320785522461, -0.07299432903528214, -0.06121902912855148, -0.008914779871702194, -0.3637821674346924, -0.5486562848091125, 0.6735615730285645, -0.28357845544815063, 0.11300916969776154, -0.08438898622989655, 0.07102716714143753, 0.09507355839014053, 0.10150403529405594, 0.21364331245422363, -0.10482484102249146, 0.29222697019577026, -0.26730477809906006, -0.7748139500617981, -0.054417334496974945, 0.1597062200307846, -0.15715447068214417, 0.05222832411527634, -0.20729655027389526, 0.13193264603614807, 0.1108539029955864, 0.3080914318561554, 0.023048218339681625, 0.07144463062286377, 0.05523256957530975, -0.15214109420776367, -0.13906964659690857, -0.13081848621368408, 0.16472764313220978, 0.006948804948478937, -0.1739974021911621, 0.07678402215242386, 0.08802468329668045, 0.08232400566339493, -0.17417414486408234, 0.27302077412605286, -0.15149055421352386, 0.03581994026899338, 0.3193870782852173, -0.2862496078014374, 0.5152825117111206, -0.530196487903595, -0.007138737011700869, -0.015350517816841602, 0.23525626957416534, -0.1053507849574089, 0.4794806241989136, 0.18186670541763306, 0.12274426221847534, -0.23903310298919678, 0.2112618237733841, 0.06422701478004456, 0.2910352647304535, 0.020613841712474823, -0.05187396705150604, -0.37383878231048584, 0.0754159688949585, -0.032411977648735046, -0.12886102497577667, 0.08139002323150635, -0.047347258776426315, -0.009279054589569569, -0.28151723742485046, 0.12948793172836304, -0.3014342486858368, 0.25733426213264465, -0.09549069404602051, -0.1485031545162201, -0.16705235838890076, -0.043167974799871445, 0.1382591277360916, -0.04596434533596039, -0.6499121189117432, -0.06535175442695618, 0.40859299898147583, 0.006127549801021814, -0.04772688075900078, 0.1305561363697052, -0.002321660751476884, 0.0710124596953392, -0.22984640300273895, 0.23945346474647522, 0.03734198585152626, -0.19363102316856384, -0.44664356112480164, -0.3677609860897064 ]
https://github.com/huggingface/datasets/issues/2089
Add documentaton for dataset README.md files
Hi ! There's the tagging app at https://huggingface.co/datasets/tagging/ that you can use. It shows the list of all the tags you can use. It is based on all the tag sets defined in this folder: https://github.com/huggingface/datasets/tree/master/src/datasets/utils/resources
Hi, the dataset README files have special headers. Somehow a documenation of the allowed values and tags is missing. Could you add that? Just to give some concrete questions that should be answered imo: - which values can be passted to multilinguality? - what should be passed to language_creators? - which values should licenses have? What do I say when it is a custom license? Should I add a link? - how should I choose size_categories ? What are valid ranges? - what are valid task_categories? Thanks Philip
36
Add documentaton for dataset README.md files
[ -0.5123075246810913, 0.3883272707462311, -0.18625079095363617, -0.11371395736932755, 0.08082728087902069, 0.3757954239845276, 0.42072492837905884, 0.21707624197006226, -0.15073058009147644, -0.06461992859840393, -0.07347828894853592, 0.242171049118042, -0.20571723580360413, 0.16636809706687927, 0.34415367245674133, 0.33112144470214844, 0.10189525783061981, 0.08496539294719696, -0.1989133059978485, -0.1910015046596527, -0.21010461449623108, -0.046426236629486084, -0.10680583864450455, -0.36606279015541077, -0.3975317180156708, -0.07852962613105774, -0.19859477877616882, 0.13834916055202484, -0.29308128356933594, -0.6182758212089539, 0.05155661702156067, 0.30754220485687256, 0.20511704683303833, 0.07748421281576157, -0.00011136953253298998, 0.02853216789662838, 0.170938178896904, -0.055232081562280655, -0.09974005818367004, 0.11950688064098358, -0.40141424536705017, -0.35726937651634216, -0.13889023661613464, -0.20756895840168, 0.08955708891153336, -0.2607966661453247, 0.2833254039287567, -0.372303307056427, 0.041713692247867584, 0.4981836676597595, 0.19437681138515472, 0.22348730266094208, 0.3501162827014923, -0.17198534309864044, 0.48915866017341614, 0.3939746916294098, -0.025496870279312134, 0.22721292078495026, 0.30234551429748535, 0.12675222754478455, -0.06331121921539307, 0.23773182928562164, -0.14174838364124298, 0.037091635167598724, 0.42595794796943665, 0.18304266035556793, 0.4624292254447937, -0.17291590571403503, 0.14270271360874176, 0.1840151697397232, 1.0009300708770752, -0.26730877161026, -0.3309732675552368, -0.1779971569776535, 0.06379689276218414, 0.060251299291849136, -0.0644584596157074, 0.22129206359386444, 0.08047705143690109, -0.0324811115860939, 0.05737350881099701, -0.4390239715576172, -0.13248786330223083, 0.005566222593188286, 0.07216021418571472, 0.727189302444458, -0.0010998628567904234, -0.15574495494365692, 0.16000549495220184, -0.09907697886228561, 0.3603510558605194, -0.08788657188415527, -0.10164575278759003, 0.05115377902984619, 0.4288340210914612, -0.12388813495635986, -0.2626856565475464, -0.33549782633781433, 0.23682518303394318, -0.2599387466907501, -0.12452516704797745, 0.11583954095840454, 0.020118504762649536, 0.027053002268075943, 0.2766494154930115, -0.18010590970516205, 0.29720038175582886, 0.2392374724149704, 0.3601853847503662, 0.057989299297332764, 0.06963742524385452, 0.0005075646913610399, -0.10355162620544434, -0.12899310886859894, 0.10176680237054825, -0.14556390047073364, -0.07795756310224533, -0.2870088517665863, 0.024592844769358635, -0.18954019248485565, 0.36064231395721436, -0.11129147559404373, -0.30872610211372375, 0.18566061556339264, 0.07237260788679123, -0.30226078629493713, -0.039356354624032974, 0.1799934208393097, -0.023703575134277344, 0.027969593182206154, -0.11298906058073044, 0.2910368740558624, -0.031016722321510315, 0.1705193668603897, 0.09220127761363983, 0.026610730215907097, 0.28252795338630676, -0.10648660361766815, 0.057677965611219406, 0.004834743216633797, 0.15522095561027527, 0.10991983860731125, 0.19126448035240173, 0.2203425019979477, 0.04371947795152664, -0.10146360099315643, -0.09567853063344955, -0.3937407433986664, -0.23669129610061646, 0.04066822677850723, -0.1871570646762848, -0.12402307242155075, -0.43395042419433594, 0.1681329756975174, 0.10940057784318924, -0.028927769511938095, -0.08239538967609406, 0.11356912553310394, 0.12341304123401642, -0.25143006443977356, 0.107735775411129, 0.1777154952287674, -0.42383554577827454, -0.06135611981153488, 0.09154877066612244, 0.5210502743721008, 0.08898762613534927, 0.013566701672971249, -0.05539221689105034, 0.07777825742959976, -0.18175865709781647, -0.2398018091917038, -0.21368741989135742, 0.2756584882736206, -0.3696095049381256, 0.240572988986969, 0.6792751550674438, -0.7827439904212952, -0.2493125945329666, 0.21096472442150116, 0.024051234126091003, -0.44160619378089905, 0.35242733359336853, 0.08823765069246292, 0.264749675989151, -0.1271032691001892, -0.07960528880357742, -0.13935522735118866, -0.05252300575375557, 0.09113016724586487, -0.06927663832902908, -0.19721578061580658, -0.22869105637073517, 0.2435125857591629, 0.2558664083480835, 0.027642009779810905, 0.56843501329422, 0.24365071952342987, 0.19625835120677948, -0.08610810339450836, 0.09205791354179382, 0.28454503417015076, 0.04078315943479538, -0.12711630761623383, 0.06227567419409752, -0.22836759686470032, -0.34325265884399414, -0.11707953363656998, 0.04298729822039604, 0.19585029780864716, -0.3840574324131012, -0.4836044907569885, -0.09599227458238602, -0.2777298092842102, -0.30098628997802734, -0.33155080676078796, 0.15548717975616455, 0.23694519698619843, -0.20676854252815247, 0.4764034152030945, -0.05357970669865608, 0.04925555735826492, 0.30864325165748596, 0.18214769661426544, -0.28916987776756287, 0.05331648513674736, 0.00815532449632883, -0.1083436980843544, 0.3896624445915222, 0.024825314059853554, -0.10066930204629898, 0.0024906580802053213, 0.13897882401943207, 0.18681560456752777, -0.02990376204252243, 0.16769665479660034, 0.3108731508255005, 0.43157434463500977, 0.373134583234787, -0.21062001585960388, 0.4042743444442749, -0.2210208624601364, 0.02972709946334362, -0.12560340762138367, -0.49441757798194885, 0.11750010401010513, 0.04179343581199646, -0.1388266384601593, 0.10099940001964569, -0.08579652011394501, 0.23552265763282776, 0.08731547743082047, -0.006766684353351593, -0.5907201766967773, -0.3832639157772064, 0.10678797960281372, 0.17907997965812683, -0.08728457242250443, 0.2945180833339691, 0.14847902953624725, 0.5901339650154114, 0.05928818881511688, 0.3114512264728546, -0.12494763731956482, -0.35516971349716187, 0.004513209220021963, 0.2303447425365448, 0.1450084000825882, 0.2103785127401352, 0.26014041900634766, 0.3417535424232483, 0.3587566316127777, -0.009493600577116013, -0.14244593679904938, 0.07398559898138046, 0.000041989769670180976, 0.1239171177148819, 0.3930200934410095, -0.13665032386779785, -0.12478911131620407, -0.4924066662788391, -0.13118712604045868, -0.06178276613354683, 0.09509171545505524, -0.04199054464697838, -0.20286542177200317, -0.20580348372459412, -0.1939985305070877, -0.2400612086057663, 0.28327688574790955, -0.19034262001514435, -0.3350471258163452, 0.022180749103426933, 0.25656387209892273, 0.09421343356370926, 0.0036172724794596434, -0.31774288415908813, 0.10006310790777206, -0.07783351093530655, 0.3365444839000702, -0.008370213210582733, -0.14143282175064087, 0.05667201802134514, 0.11194465309381485, 0.42424339056015015, 0.5832280516624451, 0.43257269263267517, -0.5330877304077148, 0.41647589206695557, -0.489884614944458, -0.39761605858802795, 0.11281818896532059, 0.13323141634464264, 0.25937020778656006, 0.2223416268825531, -0.03526662662625313, 0.05619272217154503, -0.21219663321971893, -0.04216582328081131, -0.08052128553390503, -0.1924275904893875, -0.4137275516986847, -0.05432035028934479, -0.3630324602127075, -0.10613416135311127, -0.5361288785934448, 0.021234659478068352, -0.2596852481365204, 0.003305860096588731, 0.02242734096944332, -0.020571235567331314, -0.016892287880182266, -0.13129806518554688, 0.22851838171482086, -0.32853442430496216, 0.09038195759057999, 0.06194246932864189, -0.0475320927798748, 0.5968581438064575, -0.3753695785999298, -0.28671085834503174, 0.3271506130695343, -0.2490803301334381, 0.16758301854133606, -0.04482736438512802, -0.41824620962142944, 0.0013088700361549854, -0.029621172696352005, -0.32693609595298767, -0.003994290716946125, 0.07837119698524475, 0.2967851161956787, 0.2770525813102722, -0.043579138815402985, -0.07189518958330154, 0.008836960420012474, 0.08283302932977676, -0.009838312864303589, -0.00007869551336625591, -0.13362710177898407, 0.27586501836776733, 0.07808045297861099, 0.15505309402942657, -0.058460481464862823, -0.024698719382286072, 0.2196589708328247, -0.2722201347351074, 0.3424709141254425, 0.04779844358563423, -0.15064482390880585, 0.048500560224056244, 0.14093558490276337, 0.18653520941734314, 0.29316970705986023, 0.06750823557376862, -0.10116618126630783, -0.07552215456962585, -0.370738685131073, -0.20479892194271088, -0.3395025432109833, -0.16360540688037872, 0.07004126161336899, 0.1190921813249588, 0.0017339078476652503, 0.0046189953573048115, -0.006137939635664225, -0.20181147754192352, 0.27410006523132324, 0.6365280151367188, -0.01847214065492153, 0.057833582162857056, -0.36850661039352417, 0.43419837951660156, -0.26736927032470703, 0.13267436623573303, 0.3353782594203949, 0.08236625790596008, -0.13795074820518494, 0.051602840423583984, -0.0863758772611618, -0.023231420665979385, 0.3634067177772522, -0.541030764579773, 0.14110353589057922, 0.10814232379198074, 0.06628665328025818, 0.22824788093566895, 0.09289546310901642, -0.12003301829099655, 0.1033620610833168, 0.05257615074515343, 0.40172138810157776, -0.14699231088161469, 0.038512326776981354, 0.16976509988307953, -0.1895252913236618, 0.17471176385879517, -0.19212467968463898, 0.034766167402267456, -0.22424004971981049, -0.422437846660614, 0.03791447728872299, 0.10009105503559113, -0.334926962852478, 0.05995394289493561, -0.47027090191841125, -0.09770209342241287, 0.02044132724404335, 0.15212464332580566, 0.03808395564556122, 0.02536879852414131, 0.29124271869659424, 0.12179978936910629, 0.27554330229759216, 0.2522701025009155, 0.7958114743232727, 0.2670585513114929, -0.14699533581733704, -0.4358901083469391, -0.022870561107993126, -0.7804543972015381, 0.364146888256073, 0.06590112298727036, 0.11525755375623703, -0.07639896869659424, 0.22786685824394226, -0.3477989137172699, 0.12324393540620804, 0.3381368815898895, 0.2802765667438507, -0.05714047700166702, -0.4570949673652649, -0.5263670682907104, 0.1311725229024887, 0.04539027065038681, 0.11024583131074905, 0.005532401613891125, -0.2268495261669159, -0.34631484746932983, -0.15575313568115234, 0.19897520542144775, 0.6730332970619202, 0.007738218177109957, 0.25493717193603516, -0.2991602122783661, -0.19227300584316254, 0.16364920139312744, -0.3408767282962799, 0.07162246853113174, -0.27320852875709534, -0.21105991303920746, -0.14702843129634857, -0.05220121517777443, 0.43619504570961, 0.3597490191459656, -0.09462897479534149, 0.060149651020765305, 0.4967274069786072, 0.1395104080438614, -0.2126409113407135, 0.46294718980789185, -0.2579021155834198, -0.060849618166685104, 0.15026281774044037, 0.09856477379798889, 0.1762356162071228, -0.24174566566944122, -0.03740707412362099, -0.3182406723499298, 0.12490708380937576, 0.00022174741025082767, -0.034943073987960815, -0.17012663185596466, 0.00758082140237093, 0.10805131494998932, -0.27493318915367126, 0.0975842997431755, 0.22905778884887695, 0.4060003161430359, 0.4740084409713745, 0.17172569036483765, -0.19446001946926117, 0.08953479677438736, 0.03322805464267731, -0.17303834855556488, -0.07011961936950684, -0.03274349495768547, 0.1689881533384323, -0.24443361163139343, -0.11533578485250473, -0.12782272696495056, 0.040805328637361526, -0.30323469638824463, 0.0044005815871059895, -0.1398877650499344, 0.11916287243366241, -0.10191619396209717, 0.10791242122650146, 0.1347910612821579, -0.18681882321834564, -0.2153140753507614, 0.1342739462852478, 0.015182387083768845, 0.1645151525735855, 0.20047472417354584, 0.18774472177028656, -0.26979970932006836, -0.0739353746175766, 0.5934796929359436, -0.20609359443187714, -0.11238217353820801, 0.09205178171396255, -0.10558048635721207, -0.4065370261669159, -0.30293112993240356, 0.12177629768848419, -0.14316780865192413, -0.05807024613022804, -0.11524340510368347, -0.004186292644590139, 0.060379981994628906, 0.20214371383190155, 0.3696194291114807, 0.022217173129320145, -0.14598828554153442, -0.12854382395744324, -0.33224231004714966, -0.4159978926181793, 0.12737101316452026, -0.3441142737865448, 0.19803911447525024, 0.1931619495153427, -0.13875651359558105, -0.09712770581245422, -0.13276156783103943, -0.31801459193229675, -0.06555815786123276, 0.1633637547492981, 0.007641552481800318, -0.010271679610013962, 0.3054378032684326, 0.02477452903985977, -0.05807756632566452, 0.08477062731981277, 0.19099336862564087, -0.16262489557266235, -0.1778823286294937, -0.040359016507864, 0.12017287313938141, -0.006070132367312908, -0.05959414690732956, 0.0675605833530426, -0.20235177874565125, -0.3362537622451782, -0.0934981107711792, 0.20507782697677612, 0.01580437272787094, -0.06363274902105331, 0.07912345975637436, 0.39228251576423645, -0.07454828172922134, 0.08980304002761841, 0.12803702056407928, -0.14423584938049316, -0.15716907382011414, 0.021230265498161316, 0.08198743313550949, -0.3692905008792877, 0.06087961047887802, 0.8017338514328003, 0.10826805233955383, 0.19313663244247437, 0.07525688409805298, 0.3991982936859131, -0.19210508465766907, -0.049740489572286606, 0.37390387058258057, -0.008566977456212044, 0.33678269386291504, -0.16398631036281586, -0.02295541949570179, 0.12742243707180023, 0.1505236029624939, -0.2502025067806244, -0.3975161910057068, 0.1911354959011078, -0.2942602038383484, 0.21191149950027466, 0.26295483112335205, 0.5140355825424194, -0.01192389614880085, -0.07083471864461899, 0.184650257229805, 0.2062457948923111, -0.27630603313446045, -0.0098607512190938, 0.3189491927623749, -0.02808307483792305, 0.015004842542111874, 0.22173826396465302, 0.33998218178749084, 0.06401525437831879, 0.43501517176628113, 0.19998584687709808, 0.11538758128881454, 0.2266816794872284, 0.31639212369918823, 0.027190597727894783, -0.09272213280200958, 0.29994893074035645, 0.2682105600833893, 0.1879744678735733, 0.15942007303237915, 0.4382997155189514, -0.2723613381385803, 0.37535548210144043, 0.07354310899972916, -0.13383609056472778, 0.07277367264032364, -0.037256453186273575, 0.003004383994266391, 0.3252650797367096, -0.1809319406747818, -0.056501928716897964, 0.08046941459178925, -0.10909561812877655, -0.14392082393169403, -0.36519089341163635, -0.17714042961597443, 0.015282025560736656, 0.10235664993524551, 0.4281161427497864, -0.17574623227119446, 0.013681917451322079, -0.18459422886371613, 0.047242142260074615, -0.04251440614461899, 0.1926785111427307, 0.3068329989910126, 0.27012452483177185, 0.15472932159900665, -0.014646385796368122, 0.21645723283290863, -0.03651253879070282, -0.21713435649871826, -0.17614984512329102, -0.14947183430194855, 0.19329982995986938, 0.049287788569927216, 0.11175309121608734, 0.2391083836555481, 0.13202475011348724, -0.05576777085661888, 0.18688097596168518, -0.11748945713043213, -0.3236335515975952, 0.027314458042383194, -0.19082890450954437, 0.2357320785522461, -0.07299432903528214, -0.06121902912855148, -0.008914779871702194, -0.3637821674346924, -0.5486562848091125, 0.6735615730285645, -0.28357845544815063, 0.11300916969776154, -0.08438898622989655, 0.07102716714143753, 0.09507355839014053, 0.10150403529405594, 0.21364331245422363, -0.10482484102249146, 0.29222697019577026, -0.26730477809906006, -0.7748139500617981, -0.054417334496974945, 0.1597062200307846, -0.15715447068214417, 0.05222832411527634, -0.20729655027389526, 0.13193264603614807, 0.1108539029955864, 0.3080914318561554, 0.023048218339681625, 0.07144463062286377, 0.05523256957530975, -0.15214109420776367, -0.13906964659690857, -0.13081848621368408, 0.16472764313220978, 0.006948804948478937, -0.1739974021911621, 0.07678402215242386, 0.08802468329668045, 0.08232400566339493, -0.17417414486408234, 0.27302077412605286, -0.15149055421352386, 0.03581994026899338, 0.3193870782852173, -0.2862496078014374, 0.5152825117111206, -0.530196487903595, -0.007138737011700869, -0.015350517816841602, 0.23525626957416534, -0.1053507849574089, 0.4794806241989136, 0.18186670541763306, 0.12274426221847534, -0.23903310298919678, 0.2112618237733841, 0.06422701478004456, 0.2910352647304535, 0.020613841712474823, -0.05187396705150604, -0.37383878231048584, 0.0754159688949585, -0.032411977648735046, -0.12886102497577667, 0.08139002323150635, -0.047347258776426315, -0.009279054589569569, -0.28151723742485046, 0.12948793172836304, -0.3014342486858368, 0.25733426213264465, -0.09549069404602051, -0.1485031545162201, -0.16705235838890076, -0.043167974799871445, 0.1382591277360916, -0.04596434533596039, -0.6499121189117432, -0.06535175442695618, 0.40859299898147583, 0.006127549801021814, -0.04772688075900078, 0.1305561363697052, -0.002321660751476884, 0.0710124596953392, -0.22984640300273895, 0.23945346474647522, 0.03734198585152626, -0.19363102316856384, -0.44664356112480164, -0.3677609860897064 ]
https://github.com/huggingface/datasets/issues/2089
Add documentaton for dataset README.md files
I don't think so. Feel free to take a look at the tags of other models (example [here](https://huggingface.co/bert-base-uncased/blob/main/README.md)). But we should definitely have some docs or an app to write the tags. Feel free to open an issue in the `transformers` repo or in the `huggingface_hub` repo so we can discuss this
Hi, the dataset README files have special headers. Somehow a documenation of the allowed values and tags is missing. Could you add that? Just to give some concrete questions that should be answered imo: - which values can be passted to multilinguality? - what should be passed to language_creators? - which values should licenses have? What do I say when it is a custom license? Should I add a link? - how should I choose size_categories ? What are valid ranges? - what are valid task_categories? Thanks Philip
52
Add documentaton for dataset README.md files
[ -0.5123075246810913, 0.3883272707462311, -0.18625079095363617, -0.11371395736932755, 0.08082728087902069, 0.3757954239845276, 0.42072492837905884, 0.21707624197006226, -0.15073058009147644, -0.06461992859840393, -0.07347828894853592, 0.242171049118042, -0.20571723580360413, 0.16636809706687927, 0.34415367245674133, 0.33112144470214844, 0.10189525783061981, 0.08496539294719696, -0.1989133059978485, -0.1910015046596527, -0.21010461449623108, -0.046426236629486084, -0.10680583864450455, -0.36606279015541077, -0.3975317180156708, -0.07852962613105774, -0.19859477877616882, 0.13834916055202484, -0.29308128356933594, -0.6182758212089539, 0.05155661702156067, 0.30754220485687256, 0.20511704683303833, 0.07748421281576157, -0.00011136953253298998, 0.02853216789662838, 0.170938178896904, -0.055232081562280655, -0.09974005818367004, 0.11950688064098358, -0.40141424536705017, -0.35726937651634216, -0.13889023661613464, -0.20756895840168, 0.08955708891153336, -0.2607966661453247, 0.2833254039287567, -0.372303307056427, 0.041713692247867584, 0.4981836676597595, 0.19437681138515472, 0.22348730266094208, 0.3501162827014923, -0.17198534309864044, 0.48915866017341614, 0.3939746916294098, -0.025496870279312134, 0.22721292078495026, 0.30234551429748535, 0.12675222754478455, -0.06331121921539307, 0.23773182928562164, -0.14174838364124298, 0.037091635167598724, 0.42595794796943665, 0.18304266035556793, 0.4624292254447937, -0.17291590571403503, 0.14270271360874176, 0.1840151697397232, 1.0009300708770752, -0.26730877161026, -0.3309732675552368, -0.1779971569776535, 0.06379689276218414, 0.060251299291849136, -0.0644584596157074, 0.22129206359386444, 0.08047705143690109, -0.0324811115860939, 0.05737350881099701, -0.4390239715576172, -0.13248786330223083, 0.005566222593188286, 0.07216021418571472, 0.727189302444458, -0.0010998628567904234, -0.15574495494365692, 0.16000549495220184, -0.09907697886228561, 0.3603510558605194, -0.08788657188415527, -0.10164575278759003, 0.05115377902984619, 0.4288340210914612, -0.12388813495635986, -0.2626856565475464, -0.33549782633781433, 0.23682518303394318, -0.2599387466907501, -0.12452516704797745, 0.11583954095840454, 0.020118504762649536, 0.027053002268075943, 0.2766494154930115, -0.18010590970516205, 0.29720038175582886, 0.2392374724149704, 0.3601853847503662, 0.057989299297332764, 0.06963742524385452, 0.0005075646913610399, -0.10355162620544434, -0.12899310886859894, 0.10176680237054825, -0.14556390047073364, -0.07795756310224533, -0.2870088517665863, 0.024592844769358635, -0.18954019248485565, 0.36064231395721436, -0.11129147559404373, -0.30872610211372375, 0.18566061556339264, 0.07237260788679123, -0.30226078629493713, -0.039356354624032974, 0.1799934208393097, -0.023703575134277344, 0.027969593182206154, -0.11298906058073044, 0.2910368740558624, -0.031016722321510315, 0.1705193668603897, 0.09220127761363983, 0.026610730215907097, 0.28252795338630676, -0.10648660361766815, 0.057677965611219406, 0.004834743216633797, 0.15522095561027527, 0.10991983860731125, 0.19126448035240173, 0.2203425019979477, 0.04371947795152664, -0.10146360099315643, -0.09567853063344955, -0.3937407433986664, -0.23669129610061646, 0.04066822677850723, -0.1871570646762848, -0.12402307242155075, -0.43395042419433594, 0.1681329756975174, 0.10940057784318924, -0.028927769511938095, -0.08239538967609406, 0.11356912553310394, 0.12341304123401642, -0.25143006443977356, 0.107735775411129, 0.1777154952287674, -0.42383554577827454, -0.06135611981153488, 0.09154877066612244, 0.5210502743721008, 0.08898762613534927, 0.013566701672971249, -0.05539221689105034, 0.07777825742959976, -0.18175865709781647, -0.2398018091917038, -0.21368741989135742, 0.2756584882736206, -0.3696095049381256, 0.240572988986969, 0.6792751550674438, -0.7827439904212952, -0.2493125945329666, 0.21096472442150116, 0.024051234126091003, -0.44160619378089905, 0.35242733359336853, 0.08823765069246292, 0.264749675989151, -0.1271032691001892, -0.07960528880357742, -0.13935522735118866, -0.05252300575375557, 0.09113016724586487, -0.06927663832902908, -0.19721578061580658, -0.22869105637073517, 0.2435125857591629, 0.2558664083480835, 0.027642009779810905, 0.56843501329422, 0.24365071952342987, 0.19625835120677948, -0.08610810339450836, 0.09205791354179382, 0.28454503417015076, 0.04078315943479538, -0.12711630761623383, 0.06227567419409752, -0.22836759686470032, -0.34325265884399414, -0.11707953363656998, 0.04298729822039604, 0.19585029780864716, -0.3840574324131012, -0.4836044907569885, -0.09599227458238602, -0.2777298092842102, -0.30098628997802734, -0.33155080676078796, 0.15548717975616455, 0.23694519698619843, -0.20676854252815247, 0.4764034152030945, -0.05357970669865608, 0.04925555735826492, 0.30864325165748596, 0.18214769661426544, -0.28916987776756287, 0.05331648513674736, 0.00815532449632883, -0.1083436980843544, 0.3896624445915222, 0.024825314059853554, -0.10066930204629898, 0.0024906580802053213, 0.13897882401943207, 0.18681560456752777, -0.02990376204252243, 0.16769665479660034, 0.3108731508255005, 0.43157434463500977, 0.373134583234787, -0.21062001585960388, 0.4042743444442749, -0.2210208624601364, 0.02972709946334362, -0.12560340762138367, -0.49441757798194885, 0.11750010401010513, 0.04179343581199646, -0.1388266384601593, 0.10099940001964569, -0.08579652011394501, 0.23552265763282776, 0.08731547743082047, -0.006766684353351593, -0.5907201766967773, -0.3832639157772064, 0.10678797960281372, 0.17907997965812683, -0.08728457242250443, 0.2945180833339691, 0.14847902953624725, 0.5901339650154114, 0.05928818881511688, 0.3114512264728546, -0.12494763731956482, -0.35516971349716187, 0.004513209220021963, 0.2303447425365448, 0.1450084000825882, 0.2103785127401352, 0.26014041900634766, 0.3417535424232483, 0.3587566316127777, -0.009493600577116013, -0.14244593679904938, 0.07398559898138046, 0.000041989769670180976, 0.1239171177148819, 0.3930200934410095, -0.13665032386779785, -0.12478911131620407, -0.4924066662788391, -0.13118712604045868, -0.06178276613354683, 0.09509171545505524, -0.04199054464697838, -0.20286542177200317, -0.20580348372459412, -0.1939985305070877, -0.2400612086057663, 0.28327688574790955, -0.19034262001514435, -0.3350471258163452, 0.022180749103426933, 0.25656387209892273, 0.09421343356370926, 0.0036172724794596434, -0.31774288415908813, 0.10006310790777206, -0.07783351093530655, 0.3365444839000702, -0.008370213210582733, -0.14143282175064087, 0.05667201802134514, 0.11194465309381485, 0.42424339056015015, 0.5832280516624451, 0.43257269263267517, -0.5330877304077148, 0.41647589206695557, -0.489884614944458, -0.39761605858802795, 0.11281818896532059, 0.13323141634464264, 0.25937020778656006, 0.2223416268825531, -0.03526662662625313, 0.05619272217154503, -0.21219663321971893, -0.04216582328081131, -0.08052128553390503, -0.1924275904893875, -0.4137275516986847, -0.05432035028934479, -0.3630324602127075, -0.10613416135311127, -0.5361288785934448, 0.021234659478068352, -0.2596852481365204, 0.003305860096588731, 0.02242734096944332, -0.020571235567331314, -0.016892287880182266, -0.13129806518554688, 0.22851838171482086, -0.32853442430496216, 0.09038195759057999, 0.06194246932864189, -0.0475320927798748, 0.5968581438064575, -0.3753695785999298, -0.28671085834503174, 0.3271506130695343, -0.2490803301334381, 0.16758301854133606, -0.04482736438512802, -0.41824620962142944, 0.0013088700361549854, -0.029621172696352005, -0.32693609595298767, -0.003994290716946125, 0.07837119698524475, 0.2967851161956787, 0.2770525813102722, -0.043579138815402985, -0.07189518958330154, 0.008836960420012474, 0.08283302932977676, -0.009838312864303589, -0.00007869551336625591, -0.13362710177898407, 0.27586501836776733, 0.07808045297861099, 0.15505309402942657, -0.058460481464862823, -0.024698719382286072, 0.2196589708328247, -0.2722201347351074, 0.3424709141254425, 0.04779844358563423, -0.15064482390880585, 0.048500560224056244, 0.14093558490276337, 0.18653520941734314, 0.29316970705986023, 0.06750823557376862, -0.10116618126630783, -0.07552215456962585, -0.370738685131073, -0.20479892194271088, -0.3395025432109833, -0.16360540688037872, 0.07004126161336899, 0.1190921813249588, 0.0017339078476652503, 0.0046189953573048115, -0.006137939635664225, -0.20181147754192352, 0.27410006523132324, 0.6365280151367188, -0.01847214065492153, 0.057833582162857056, -0.36850661039352417, 0.43419837951660156, -0.26736927032470703, 0.13267436623573303, 0.3353782594203949, 0.08236625790596008, -0.13795074820518494, 0.051602840423583984, -0.0863758772611618, -0.023231420665979385, 0.3634067177772522, -0.541030764579773, 0.14110353589057922, 0.10814232379198074, 0.06628665328025818, 0.22824788093566895, 0.09289546310901642, -0.12003301829099655, 0.1033620610833168, 0.05257615074515343, 0.40172138810157776, -0.14699231088161469, 0.038512326776981354, 0.16976509988307953, -0.1895252913236618, 0.17471176385879517, -0.19212467968463898, 0.034766167402267456, -0.22424004971981049, -0.422437846660614, 0.03791447728872299, 0.10009105503559113, -0.334926962852478, 0.05995394289493561, -0.47027090191841125, -0.09770209342241287, 0.02044132724404335, 0.15212464332580566, 0.03808395564556122, 0.02536879852414131, 0.29124271869659424, 0.12179978936910629, 0.27554330229759216, 0.2522701025009155, 0.7958114743232727, 0.2670585513114929, -0.14699533581733704, -0.4358901083469391, -0.022870561107993126, -0.7804543972015381, 0.364146888256073, 0.06590112298727036, 0.11525755375623703, -0.07639896869659424, 0.22786685824394226, -0.3477989137172699, 0.12324393540620804, 0.3381368815898895, 0.2802765667438507, -0.05714047700166702, -0.4570949673652649, -0.5263670682907104, 0.1311725229024887, 0.04539027065038681, 0.11024583131074905, 0.005532401613891125, -0.2268495261669159, -0.34631484746932983, -0.15575313568115234, 0.19897520542144775, 0.6730332970619202, 0.007738218177109957, 0.25493717193603516, -0.2991602122783661, -0.19227300584316254, 0.16364920139312744, -0.3408767282962799, 0.07162246853113174, -0.27320852875709534, -0.21105991303920746, -0.14702843129634857, -0.05220121517777443, 0.43619504570961, 0.3597490191459656, -0.09462897479534149, 0.060149651020765305, 0.4967274069786072, 0.1395104080438614, -0.2126409113407135, 0.46294718980789185, -0.2579021155834198, -0.060849618166685104, 0.15026281774044037, 0.09856477379798889, 0.1762356162071228, -0.24174566566944122, -0.03740707412362099, -0.3182406723499298, 0.12490708380937576, 0.00022174741025082767, -0.034943073987960815, -0.17012663185596466, 0.00758082140237093, 0.10805131494998932, -0.27493318915367126, 0.0975842997431755, 0.22905778884887695, 0.4060003161430359, 0.4740084409713745, 0.17172569036483765, -0.19446001946926117, 0.08953479677438736, 0.03322805464267731, -0.17303834855556488, -0.07011961936950684, -0.03274349495768547, 0.1689881533384323, -0.24443361163139343, -0.11533578485250473, -0.12782272696495056, 0.040805328637361526, -0.30323469638824463, 0.0044005815871059895, -0.1398877650499344, 0.11916287243366241, -0.10191619396209717, 0.10791242122650146, 0.1347910612821579, -0.18681882321834564, -0.2153140753507614, 0.1342739462852478, 0.015182387083768845, 0.1645151525735855, 0.20047472417354584, 0.18774472177028656, -0.26979970932006836, -0.0739353746175766, 0.5934796929359436, -0.20609359443187714, -0.11238217353820801, 0.09205178171396255, -0.10558048635721207, -0.4065370261669159, -0.30293112993240356, 0.12177629768848419, -0.14316780865192413, -0.05807024613022804, -0.11524340510368347, -0.004186292644590139, 0.060379981994628906, 0.20214371383190155, 0.3696194291114807, 0.022217173129320145, -0.14598828554153442, -0.12854382395744324, -0.33224231004714966, -0.4159978926181793, 0.12737101316452026, -0.3441142737865448, 0.19803911447525024, 0.1931619495153427, -0.13875651359558105, -0.09712770581245422, -0.13276156783103943, -0.31801459193229675, -0.06555815786123276, 0.1633637547492981, 0.007641552481800318, -0.010271679610013962, 0.3054378032684326, 0.02477452903985977, -0.05807756632566452, 0.08477062731981277, 0.19099336862564087, -0.16262489557266235, -0.1778823286294937, -0.040359016507864, 0.12017287313938141, -0.006070132367312908, -0.05959414690732956, 0.0675605833530426, -0.20235177874565125, -0.3362537622451782, -0.0934981107711792, 0.20507782697677612, 0.01580437272787094, -0.06363274902105331, 0.07912345975637436, 0.39228251576423645, -0.07454828172922134, 0.08980304002761841, 0.12803702056407928, -0.14423584938049316, -0.15716907382011414, 0.021230265498161316, 0.08198743313550949, -0.3692905008792877, 0.06087961047887802, 0.8017338514328003, 0.10826805233955383, 0.19313663244247437, 0.07525688409805298, 0.3991982936859131, -0.19210508465766907, -0.049740489572286606, 0.37390387058258057, -0.008566977456212044, 0.33678269386291504, -0.16398631036281586, -0.02295541949570179, 0.12742243707180023, 0.1505236029624939, -0.2502025067806244, -0.3975161910057068, 0.1911354959011078, -0.2942602038383484, 0.21191149950027466, 0.26295483112335205, 0.5140355825424194, -0.01192389614880085, -0.07083471864461899, 0.184650257229805, 0.2062457948923111, -0.27630603313446045, -0.0098607512190938, 0.3189491927623749, -0.02808307483792305, 0.015004842542111874, 0.22173826396465302, 0.33998218178749084, 0.06401525437831879, 0.43501517176628113, 0.19998584687709808, 0.11538758128881454, 0.2266816794872284, 0.31639212369918823, 0.027190597727894783, -0.09272213280200958, 0.29994893074035645, 0.2682105600833893, 0.1879744678735733, 0.15942007303237915, 0.4382997155189514, -0.2723613381385803, 0.37535548210144043, 0.07354310899972916, -0.13383609056472778, 0.07277367264032364, -0.037256453186273575, 0.003004383994266391, 0.3252650797367096, -0.1809319406747818, -0.056501928716897964, 0.08046941459178925, -0.10909561812877655, -0.14392082393169403, -0.36519089341163635, -0.17714042961597443, 0.015282025560736656, 0.10235664993524551, 0.4281161427497864, -0.17574623227119446, 0.013681917451322079, -0.18459422886371613, 0.047242142260074615, -0.04251440614461899, 0.1926785111427307, 0.3068329989910126, 0.27012452483177185, 0.15472932159900665, -0.014646385796368122, 0.21645723283290863, -0.03651253879070282, -0.21713435649871826, -0.17614984512329102, -0.14947183430194855, 0.19329982995986938, 0.049287788569927216, 0.11175309121608734, 0.2391083836555481, 0.13202475011348724, -0.05576777085661888, 0.18688097596168518, -0.11748945713043213, -0.3236335515975952, 0.027314458042383194, -0.19082890450954437, 0.2357320785522461, -0.07299432903528214, -0.06121902912855148, -0.008914779871702194, -0.3637821674346924, -0.5486562848091125, 0.6735615730285645, -0.28357845544815063, 0.11300916969776154, -0.08438898622989655, 0.07102716714143753, 0.09507355839014053, 0.10150403529405594, 0.21364331245422363, -0.10482484102249146, 0.29222697019577026, -0.26730477809906006, -0.7748139500617981, -0.054417334496974945, 0.1597062200307846, -0.15715447068214417, 0.05222832411527634, -0.20729655027389526, 0.13193264603614807, 0.1108539029955864, 0.3080914318561554, 0.023048218339681625, 0.07144463062286377, 0.05523256957530975, -0.15214109420776367, -0.13906964659690857, -0.13081848621368408, 0.16472764313220978, 0.006948804948478937, -0.1739974021911621, 0.07678402215242386, 0.08802468329668045, 0.08232400566339493, -0.17417414486408234, 0.27302077412605286, -0.15149055421352386, 0.03581994026899338, 0.3193870782852173, -0.2862496078014374, 0.5152825117111206, -0.530196487903595, -0.007138737011700869, -0.015350517816841602, 0.23525626957416534, -0.1053507849574089, 0.4794806241989136, 0.18186670541763306, 0.12274426221847534, -0.23903310298919678, 0.2112618237733841, 0.06422701478004456, 0.2910352647304535, 0.020613841712474823, -0.05187396705150604, -0.37383878231048584, 0.0754159688949585, -0.032411977648735046, -0.12886102497577667, 0.08139002323150635, -0.047347258776426315, -0.009279054589569569, -0.28151723742485046, 0.12948793172836304, -0.3014342486858368, 0.25733426213264465, -0.09549069404602051, -0.1485031545162201, -0.16705235838890076, -0.043167974799871445, 0.1382591277360916, -0.04596434533596039, -0.6499121189117432, -0.06535175442695618, 0.40859299898147583, 0.006127549801021814, -0.04772688075900078, 0.1305561363697052, -0.002321660751476884, 0.0710124596953392, -0.22984640300273895, 0.23945346474647522, 0.03734198585152626, -0.19363102316856384, -0.44664356112480164, -0.3677609860897064 ]
https://github.com/huggingface/datasets/issues/2089
Add documentaton for dataset README.md files
When modifying a README file, the Hub now displays a special UI with allowed values (see https://huggingface.co/docs/datasets/main/en/upload_dataset#create-a-dataset-card).
Hi, the dataset README files have special headers. Somehow a documenation of the allowed values and tags is missing. Could you add that? Just to give some concrete questions that should be answered imo: - which values can be passted to multilinguality? - what should be passed to language_creators? - which values should licenses have? What do I say when it is a custom license? Should I add a link? - how should I choose size_categories ? What are valid ranges? - what are valid task_categories? Thanks Philip
17
Add documentaton for dataset README.md files
[ -0.5123075246810913, 0.3883272707462311, -0.18625079095363617, -0.11371395736932755, 0.08082728087902069, 0.3757954239845276, 0.42072492837905884, 0.21707624197006226, -0.15073058009147644, -0.06461992859840393, -0.07347828894853592, 0.242171049118042, -0.20571723580360413, 0.16636809706687927, 0.34415367245674133, 0.33112144470214844, 0.10189525783061981, 0.08496539294719696, -0.1989133059978485, -0.1910015046596527, -0.21010461449623108, -0.046426236629486084, -0.10680583864450455, -0.36606279015541077, -0.3975317180156708, -0.07852962613105774, -0.19859477877616882, 0.13834916055202484, -0.29308128356933594, -0.6182758212089539, 0.05155661702156067, 0.30754220485687256, 0.20511704683303833, 0.07748421281576157, -0.00011136953253298998, 0.02853216789662838, 0.170938178896904, -0.055232081562280655, -0.09974005818367004, 0.11950688064098358, -0.40141424536705017, -0.35726937651634216, -0.13889023661613464, -0.20756895840168, 0.08955708891153336, -0.2607966661453247, 0.2833254039287567, -0.372303307056427, 0.041713692247867584, 0.4981836676597595, 0.19437681138515472, 0.22348730266094208, 0.3501162827014923, -0.17198534309864044, 0.48915866017341614, 0.3939746916294098, -0.025496870279312134, 0.22721292078495026, 0.30234551429748535, 0.12675222754478455, -0.06331121921539307, 0.23773182928562164, -0.14174838364124298, 0.037091635167598724, 0.42595794796943665, 0.18304266035556793, 0.4624292254447937, -0.17291590571403503, 0.14270271360874176, 0.1840151697397232, 1.0009300708770752, -0.26730877161026, -0.3309732675552368, -0.1779971569776535, 0.06379689276218414, 0.060251299291849136, -0.0644584596157074, 0.22129206359386444, 0.08047705143690109, -0.0324811115860939, 0.05737350881099701, -0.4390239715576172, -0.13248786330223083, 0.005566222593188286, 0.07216021418571472, 0.727189302444458, -0.0010998628567904234, -0.15574495494365692, 0.16000549495220184, -0.09907697886228561, 0.3603510558605194, -0.08788657188415527, -0.10164575278759003, 0.05115377902984619, 0.4288340210914612, -0.12388813495635986, -0.2626856565475464, -0.33549782633781433, 0.23682518303394318, -0.2599387466907501, -0.12452516704797745, 0.11583954095840454, 0.020118504762649536, 0.027053002268075943, 0.2766494154930115, -0.18010590970516205, 0.29720038175582886, 0.2392374724149704, 0.3601853847503662, 0.057989299297332764, 0.06963742524385452, 0.0005075646913610399, -0.10355162620544434, -0.12899310886859894, 0.10176680237054825, -0.14556390047073364, -0.07795756310224533, -0.2870088517665863, 0.024592844769358635, -0.18954019248485565, 0.36064231395721436, -0.11129147559404373, -0.30872610211372375, 0.18566061556339264, 0.07237260788679123, -0.30226078629493713, -0.039356354624032974, 0.1799934208393097, -0.023703575134277344, 0.027969593182206154, -0.11298906058073044, 0.2910368740558624, -0.031016722321510315, 0.1705193668603897, 0.09220127761363983, 0.026610730215907097, 0.28252795338630676, -0.10648660361766815, 0.057677965611219406, 0.004834743216633797, 0.15522095561027527, 0.10991983860731125, 0.19126448035240173, 0.2203425019979477, 0.04371947795152664, -0.10146360099315643, -0.09567853063344955, -0.3937407433986664, -0.23669129610061646, 0.04066822677850723, -0.1871570646762848, -0.12402307242155075, -0.43395042419433594, 0.1681329756975174, 0.10940057784318924, -0.028927769511938095, -0.08239538967609406, 0.11356912553310394, 0.12341304123401642, -0.25143006443977356, 0.107735775411129, 0.1777154952287674, -0.42383554577827454, -0.06135611981153488, 0.09154877066612244, 0.5210502743721008, 0.08898762613534927, 0.013566701672971249, -0.05539221689105034, 0.07777825742959976, -0.18175865709781647, -0.2398018091917038, -0.21368741989135742, 0.2756584882736206, -0.3696095049381256, 0.240572988986969, 0.6792751550674438, -0.7827439904212952, -0.2493125945329666, 0.21096472442150116, 0.024051234126091003, -0.44160619378089905, 0.35242733359336853, 0.08823765069246292, 0.264749675989151, -0.1271032691001892, -0.07960528880357742, -0.13935522735118866, -0.05252300575375557, 0.09113016724586487, -0.06927663832902908, -0.19721578061580658, -0.22869105637073517, 0.2435125857591629, 0.2558664083480835, 0.027642009779810905, 0.56843501329422, 0.24365071952342987, 0.19625835120677948, -0.08610810339450836, 0.09205791354179382, 0.28454503417015076, 0.04078315943479538, -0.12711630761623383, 0.06227567419409752, -0.22836759686470032, -0.34325265884399414, -0.11707953363656998, 0.04298729822039604, 0.19585029780864716, -0.3840574324131012, -0.4836044907569885, -0.09599227458238602, -0.2777298092842102, -0.30098628997802734, -0.33155080676078796, 0.15548717975616455, 0.23694519698619843, -0.20676854252815247, 0.4764034152030945, -0.05357970669865608, 0.04925555735826492, 0.30864325165748596, 0.18214769661426544, -0.28916987776756287, 0.05331648513674736, 0.00815532449632883, -0.1083436980843544, 0.3896624445915222, 0.024825314059853554, -0.10066930204629898, 0.0024906580802053213, 0.13897882401943207, 0.18681560456752777, -0.02990376204252243, 0.16769665479660034, 0.3108731508255005, 0.43157434463500977, 0.373134583234787, -0.21062001585960388, 0.4042743444442749, -0.2210208624601364, 0.02972709946334362, -0.12560340762138367, -0.49441757798194885, 0.11750010401010513, 0.04179343581199646, -0.1388266384601593, 0.10099940001964569, -0.08579652011394501, 0.23552265763282776, 0.08731547743082047, -0.006766684353351593, -0.5907201766967773, -0.3832639157772064, 0.10678797960281372, 0.17907997965812683, -0.08728457242250443, 0.2945180833339691, 0.14847902953624725, 0.5901339650154114, 0.05928818881511688, 0.3114512264728546, -0.12494763731956482, -0.35516971349716187, 0.004513209220021963, 0.2303447425365448, 0.1450084000825882, 0.2103785127401352, 0.26014041900634766, 0.3417535424232483, 0.3587566316127777, -0.009493600577116013, -0.14244593679904938, 0.07398559898138046, 0.000041989769670180976, 0.1239171177148819, 0.3930200934410095, -0.13665032386779785, -0.12478911131620407, -0.4924066662788391, -0.13118712604045868, -0.06178276613354683, 0.09509171545505524, -0.04199054464697838, -0.20286542177200317, -0.20580348372459412, -0.1939985305070877, -0.2400612086057663, 0.28327688574790955, -0.19034262001514435, -0.3350471258163452, 0.022180749103426933, 0.25656387209892273, 0.09421343356370926, 0.0036172724794596434, -0.31774288415908813, 0.10006310790777206, -0.07783351093530655, 0.3365444839000702, -0.008370213210582733, -0.14143282175064087, 0.05667201802134514, 0.11194465309381485, 0.42424339056015015, 0.5832280516624451, 0.43257269263267517, -0.5330877304077148, 0.41647589206695557, -0.489884614944458, -0.39761605858802795, 0.11281818896532059, 0.13323141634464264, 0.25937020778656006, 0.2223416268825531, -0.03526662662625313, 0.05619272217154503, -0.21219663321971893, -0.04216582328081131, -0.08052128553390503, -0.1924275904893875, -0.4137275516986847, -0.05432035028934479, -0.3630324602127075, -0.10613416135311127, -0.5361288785934448, 0.021234659478068352, -0.2596852481365204, 0.003305860096588731, 0.02242734096944332, -0.020571235567331314, -0.016892287880182266, -0.13129806518554688, 0.22851838171482086, -0.32853442430496216, 0.09038195759057999, 0.06194246932864189, -0.0475320927798748, 0.5968581438064575, -0.3753695785999298, -0.28671085834503174, 0.3271506130695343, -0.2490803301334381, 0.16758301854133606, -0.04482736438512802, -0.41824620962142944, 0.0013088700361549854, -0.029621172696352005, -0.32693609595298767, -0.003994290716946125, 0.07837119698524475, 0.2967851161956787, 0.2770525813102722, -0.043579138815402985, -0.07189518958330154, 0.008836960420012474, 0.08283302932977676, -0.009838312864303589, -0.00007869551336625591, -0.13362710177898407, 0.27586501836776733, 0.07808045297861099, 0.15505309402942657, -0.058460481464862823, -0.024698719382286072, 0.2196589708328247, -0.2722201347351074, 0.3424709141254425, 0.04779844358563423, -0.15064482390880585, 0.048500560224056244, 0.14093558490276337, 0.18653520941734314, 0.29316970705986023, 0.06750823557376862, -0.10116618126630783, -0.07552215456962585, -0.370738685131073, -0.20479892194271088, -0.3395025432109833, -0.16360540688037872, 0.07004126161336899, 0.1190921813249588, 0.0017339078476652503, 0.0046189953573048115, -0.006137939635664225, -0.20181147754192352, 0.27410006523132324, 0.6365280151367188, -0.01847214065492153, 0.057833582162857056, -0.36850661039352417, 0.43419837951660156, -0.26736927032470703, 0.13267436623573303, 0.3353782594203949, 0.08236625790596008, -0.13795074820518494, 0.051602840423583984, -0.0863758772611618, -0.023231420665979385, 0.3634067177772522, -0.541030764579773, 0.14110353589057922, 0.10814232379198074, 0.06628665328025818, 0.22824788093566895, 0.09289546310901642, -0.12003301829099655, 0.1033620610833168, 0.05257615074515343, 0.40172138810157776, -0.14699231088161469, 0.038512326776981354, 0.16976509988307953, -0.1895252913236618, 0.17471176385879517, -0.19212467968463898, 0.034766167402267456, -0.22424004971981049, -0.422437846660614, 0.03791447728872299, 0.10009105503559113, -0.334926962852478, 0.05995394289493561, -0.47027090191841125, -0.09770209342241287, 0.02044132724404335, 0.15212464332580566, 0.03808395564556122, 0.02536879852414131, 0.29124271869659424, 0.12179978936910629, 0.27554330229759216, 0.2522701025009155, 0.7958114743232727, 0.2670585513114929, -0.14699533581733704, -0.4358901083469391, -0.022870561107993126, -0.7804543972015381, 0.364146888256073, 0.06590112298727036, 0.11525755375623703, -0.07639896869659424, 0.22786685824394226, -0.3477989137172699, 0.12324393540620804, 0.3381368815898895, 0.2802765667438507, -0.05714047700166702, -0.4570949673652649, -0.5263670682907104, 0.1311725229024887, 0.04539027065038681, 0.11024583131074905, 0.005532401613891125, -0.2268495261669159, -0.34631484746932983, -0.15575313568115234, 0.19897520542144775, 0.6730332970619202, 0.007738218177109957, 0.25493717193603516, -0.2991602122783661, -0.19227300584316254, 0.16364920139312744, -0.3408767282962799, 0.07162246853113174, -0.27320852875709534, -0.21105991303920746, -0.14702843129634857, -0.05220121517777443, 0.43619504570961, 0.3597490191459656, -0.09462897479534149, 0.060149651020765305, 0.4967274069786072, 0.1395104080438614, -0.2126409113407135, 0.46294718980789185, -0.2579021155834198, -0.060849618166685104, 0.15026281774044037, 0.09856477379798889, 0.1762356162071228, -0.24174566566944122, -0.03740707412362099, -0.3182406723499298, 0.12490708380937576, 0.00022174741025082767, -0.034943073987960815, -0.17012663185596466, 0.00758082140237093, 0.10805131494998932, -0.27493318915367126, 0.0975842997431755, 0.22905778884887695, 0.4060003161430359, 0.4740084409713745, 0.17172569036483765, -0.19446001946926117, 0.08953479677438736, 0.03322805464267731, -0.17303834855556488, -0.07011961936950684, -0.03274349495768547, 0.1689881533384323, -0.24443361163139343, -0.11533578485250473, -0.12782272696495056, 0.040805328637361526, -0.30323469638824463, 0.0044005815871059895, -0.1398877650499344, 0.11916287243366241, -0.10191619396209717, 0.10791242122650146, 0.1347910612821579, -0.18681882321834564, -0.2153140753507614, 0.1342739462852478, 0.015182387083768845, 0.1645151525735855, 0.20047472417354584, 0.18774472177028656, -0.26979970932006836, -0.0739353746175766, 0.5934796929359436, -0.20609359443187714, -0.11238217353820801, 0.09205178171396255, -0.10558048635721207, -0.4065370261669159, -0.30293112993240356, 0.12177629768848419, -0.14316780865192413, -0.05807024613022804, -0.11524340510368347, -0.004186292644590139, 0.060379981994628906, 0.20214371383190155, 0.3696194291114807, 0.022217173129320145, -0.14598828554153442, -0.12854382395744324, -0.33224231004714966, -0.4159978926181793, 0.12737101316452026, -0.3441142737865448, 0.19803911447525024, 0.1931619495153427, -0.13875651359558105, -0.09712770581245422, -0.13276156783103943, -0.31801459193229675, -0.06555815786123276, 0.1633637547492981, 0.007641552481800318, -0.010271679610013962, 0.3054378032684326, 0.02477452903985977, -0.05807756632566452, 0.08477062731981277, 0.19099336862564087, -0.16262489557266235, -0.1778823286294937, -0.040359016507864, 0.12017287313938141, -0.006070132367312908, -0.05959414690732956, 0.0675605833530426, -0.20235177874565125, -0.3362537622451782, -0.0934981107711792, 0.20507782697677612, 0.01580437272787094, -0.06363274902105331, 0.07912345975637436, 0.39228251576423645, -0.07454828172922134, 0.08980304002761841, 0.12803702056407928, -0.14423584938049316, -0.15716907382011414, 0.021230265498161316, 0.08198743313550949, -0.3692905008792877, 0.06087961047887802, 0.8017338514328003, 0.10826805233955383, 0.19313663244247437, 0.07525688409805298, 0.3991982936859131, -0.19210508465766907, -0.049740489572286606, 0.37390387058258057, -0.008566977456212044, 0.33678269386291504, -0.16398631036281586, -0.02295541949570179, 0.12742243707180023, 0.1505236029624939, -0.2502025067806244, -0.3975161910057068, 0.1911354959011078, -0.2942602038383484, 0.21191149950027466, 0.26295483112335205, 0.5140355825424194, -0.01192389614880085, -0.07083471864461899, 0.184650257229805, 0.2062457948923111, -0.27630603313446045, -0.0098607512190938, 0.3189491927623749, -0.02808307483792305, 0.015004842542111874, 0.22173826396465302, 0.33998218178749084, 0.06401525437831879, 0.43501517176628113, 0.19998584687709808, 0.11538758128881454, 0.2266816794872284, 0.31639212369918823, 0.027190597727894783, -0.09272213280200958, 0.29994893074035645, 0.2682105600833893, 0.1879744678735733, 0.15942007303237915, 0.4382997155189514, -0.2723613381385803, 0.37535548210144043, 0.07354310899972916, -0.13383609056472778, 0.07277367264032364, -0.037256453186273575, 0.003004383994266391, 0.3252650797367096, -0.1809319406747818, -0.056501928716897964, 0.08046941459178925, -0.10909561812877655, -0.14392082393169403, -0.36519089341163635, -0.17714042961597443, 0.015282025560736656, 0.10235664993524551, 0.4281161427497864, -0.17574623227119446, 0.013681917451322079, -0.18459422886371613, 0.047242142260074615, -0.04251440614461899, 0.1926785111427307, 0.3068329989910126, 0.27012452483177185, 0.15472932159900665, -0.014646385796368122, 0.21645723283290863, -0.03651253879070282, -0.21713435649871826, -0.17614984512329102, -0.14947183430194855, 0.19329982995986938, 0.049287788569927216, 0.11175309121608734, 0.2391083836555481, 0.13202475011348724, -0.05576777085661888, 0.18688097596168518, -0.11748945713043213, -0.3236335515975952, 0.027314458042383194, -0.19082890450954437, 0.2357320785522461, -0.07299432903528214, -0.06121902912855148, -0.008914779871702194, -0.3637821674346924, -0.5486562848091125, 0.6735615730285645, -0.28357845544815063, 0.11300916969776154, -0.08438898622989655, 0.07102716714143753, 0.09507355839014053, 0.10150403529405594, 0.21364331245422363, -0.10482484102249146, 0.29222697019577026, -0.26730477809906006, -0.7748139500617981, -0.054417334496974945, 0.1597062200307846, -0.15715447068214417, 0.05222832411527634, -0.20729655027389526, 0.13193264603614807, 0.1108539029955864, 0.3080914318561554, 0.023048218339681625, 0.07144463062286377, 0.05523256957530975, -0.15214109420776367, -0.13906964659690857, -0.13081848621368408, 0.16472764313220978, 0.006948804948478937, -0.1739974021911621, 0.07678402215242386, 0.08802468329668045, 0.08232400566339493, -0.17417414486408234, 0.27302077412605286, -0.15149055421352386, 0.03581994026899338, 0.3193870782852173, -0.2862496078014374, 0.5152825117111206, -0.530196487903595, -0.007138737011700869, -0.015350517816841602, 0.23525626957416534, -0.1053507849574089, 0.4794806241989136, 0.18186670541763306, 0.12274426221847534, -0.23903310298919678, 0.2112618237733841, 0.06422701478004456, 0.2910352647304535, 0.020613841712474823, -0.05187396705150604, -0.37383878231048584, 0.0754159688949585, -0.032411977648735046, -0.12886102497577667, 0.08139002323150635, -0.047347258776426315, -0.009279054589569569, -0.28151723742485046, 0.12948793172836304, -0.3014342486858368, 0.25733426213264465, -0.09549069404602051, -0.1485031545162201, -0.16705235838890076, -0.043167974799871445, 0.1382591277360916, -0.04596434533596039, -0.6499121189117432, -0.06535175442695618, 0.40859299898147583, 0.006127549801021814, -0.04772688075900078, 0.1305561363697052, -0.002321660751476884, 0.0710124596953392, -0.22984640300273895, 0.23945346474647522, 0.03734198585152626, -0.19363102316856384, -0.44664356112480164, -0.3677609860897064 ]
https://github.com/huggingface/datasets/issues/2083
`concatenate_datasets` throws error when changing the order of datasets to concatenate
Hi, this bug is related to `Dataset.{remove_columns, rename_column, flatten}` not propagating the change to the schema metadata when the info features are updated, so this line is the culprit: ```python common_voice_train = common_voice_train.remove_columns(['client_id', 'up_votes', 'down_votes', 'age', 'gender', 'accent', 'locale', 'segment']) ``` The order is important because the resulting dataset inherits the schema metadata of the first dataset passed to the `concatenate_datasets(...)` function (`pa.concat_tables` [docs](https://arrow.apache.org/docs/python/generated/pyarrow.concat_tables.html)). I'll try to fix this ASAP.
Hey, I played around with the `concatenate_datasets(...)` function: https://huggingface.co/docs/datasets/package_reference/main_classes.html?highlight=concatenate_datasets#datasets.concatenate_datasets and noticed that when the order in which the datasets are concatenated changes an error is thrown where it should not IMO. Here is a google colab to reproduce the error: https://colab.research.google.com/drive/17VTFU4KQ735-waWZJjeOHS6yDTfV5ekK?usp=sharing
70
`concatenate_datasets` throws error when changing the order of datasets to concatenate
[ -0.2577175199985504, 0.14925232529640198, -0.18023891746997833, 0.05589747056365013, 0.14885056018829346, 0.20744772255420685, 0.18574050068855286, 0.24011527001857758, -0.2985627353191376, 0.11664240062236786, 0.04063503071665764, 0.1573965698480606, 0.1671113520860672, 0.17842255532741547, -0.32878074049949646, -0.12496579438447952, 0.137385293841362, 0.1323559582233429, -0.3719363808631897, 0.07947668433189392, -0.26118203997612, 0.31991925835609436, -0.412212997674942, -0.05717281997203827, -0.21021641790866852, 0.11633898317813873, -0.12981994450092316, 0.32333114743232727, -0.21618597209453583, -0.10225000977516174, 0.04400632157921791, 0.3413144052028656, 0.04301104694604874, 0.34757891297340393, -0.00009876159310806543, -0.03721272572875023, -0.013502687215805054, -0.04938742145895958, -0.2605787515640259, -0.008424128405749798, -0.4408174157142639, -0.18618139624595642, -0.23220862448215485, -0.012471642345190048, 0.10845627635717392, -0.24026019871234894, -0.1130763590335846, -0.3800559341907501, 0.07725430279970169, 0.29283878207206726, 0.3131297528743744, 0.12460990250110626, 0.008373201824724674, -0.4694623351097107, -0.029867853969335556, -0.14322727918624878, 0.12741230428218842, -0.06583672761917114, -0.07394403219223022, -0.03237588331103325, 0.12074220180511475, 0.26796039938926697, -0.082882821559906, -0.11693080514669418, -0.08548478037118912, -0.04317663982510567, 0.0731148049235344, 0.06681458652019501, 0.16859453916549683, -0.16109269857406616, 0.410652756690979, -0.31767019629478455, -0.1878964900970459, -0.01523829996585846, 0.1804257333278656, -0.17240217328071594, 0.10476920008659363, -0.06697504222393036, 0.2564969062805176, 0.06978023052215576, -0.07864267379045486, 0.04291079193353653, -0.006422347389161587, 0.12028622627258301, -0.07049921154975891, 0.27553591132164, -0.016969572752714157, 0.04900594428181648, 0.115585558116436, -0.27238014340400696, 0.3406420052051544, -0.29037100076675415, -0.1345069855451584, -0.23515938222408295, -0.47136062383651733, 0.05481468886137009, 0.02616654708981514, -0.1503882110118866, 0.26668456196784973, 0.08381789177656174, -0.08409888297319412, 0.01850157417356968, 0.21422073245048523, -0.00038314974517561495, 0.15019038319587708, 0.09629755467176437, 0.11999684572219849, 0.2661397457122803, -0.1695823222398758, -0.00740135507658124, 0.09204274415969849, 0.002709361957386136, 0.06947645545005798, -0.583162248134613, -0.1946183145046234, 0.20654337108135223, 0.10134467482566833, 0.04090525954961777, -0.29400742053985596, -0.05560232698917389, -0.04265747591853142, -0.012149492278695107, 0.08168737590312958, 0.18062682449817657, 0.18265770375728607, 0.23634245991706848, 0.2172010838985443, 0.3155986964702606, 0.10556571185588837, -0.11653465777635574, -0.3600679337978363, -0.03805381432175636, -0.12175843864679337, 0.028177941218018532, -0.15046879649162292, -0.053072765469551086, -0.07830697298049927, 0.16848482191562653, 0.27049878239631653, 0.18083840608596802, 0.052226655185222626, 0.06250642240047455, 0.11256630718708038, 0.0819563940167427, 0.16559994220733643, 0.025811612606048584, 0.2222582846879959, 0.013396548107266426, -0.02818182110786438, 0.07857274264097214, -0.3006846606731415, -0.3680606782436371, -0.3983559012413025, 0.33287686109542847, 0.20306697487831116, 0.021591519936919212, 0.11524440348148346, 0.148919939994812, 0.3252301812171936, -0.2565535604953766, -0.22724014520645142, -0.10277380049228668, -0.035253994166851044, -0.1299818456172943, -0.11767581850290298, 0.17722423374652863, -0.14553722739219666, 0.1583857387304306, -0.07808241993188858, -0.04855982959270477, 0.21193112432956696, 0.20176978409290314, -0.1617160141468048, 0.04090137034654617, -0.20895569026470184, 0.2493845522403717, 0.4363793134689331, -0.21423356235027313, -0.18821553885936737, 0.10046949237585068, -0.1974976509809494, -0.1085444912314415, 0.1462680846452713, -0.010883522219955921, -0.1453280746936798, -0.10473797470331192, 0.3684069514274597, 0.1712428629398346, 0.09936065226793289, -0.0383431613445282, -0.02005506120622158, -0.09749303013086319, 0.2160734236240387, -0.12385708838701248, -0.34476223587989807, 0.26835009455680847, -0.039910782128572464, -0.06766379624605179, 0.23024436831474304, -0.38392966985702515, -0.04986005648970604, 0.2598305344581604, -0.1077081635594368, -0.05763506144285202, -0.06965175271034241, 0.15897482633590698, -0.3567814528942108, -0.034174080938100815, 0.2249201238155365, -0.045723140239715576, -0.1926208734512329, -0.04783359542489052, -0.15126194059848785, 0.007760175969451666, -0.07739262282848358, 0.2131112664937973, 0.3009783923625946, 0.38991495966911316, -0.039262525737285614, -0.28935006260871887, 0.010870265774428844, 0.3843696117401123, -0.18223190307617188, -0.24541358649730682, -0.29677844047546387, 0.11714605987071991, -0.28592461347579956, 0.05935349315404892, 0.1860758364200592, 0.07597722858190536, 0.13916736841201782, 0.09957866370677948, -0.05198197439312935, 0.5760829448699951, -0.3155572712421417, -0.29098764061927795, 0.2453663945198059, -0.21065734326839447, -0.2909252941608429, 0.001818871940486133, -0.1154186800122261, -0.13463079929351807, -0.09907009452581406, 0.02239774540066719, -0.1687753051519394, 0.31616663932800293, 0.0045706722885370255, 0.1077306941151619, 0.021962618455290794, 0.11843369901180267, 0.3228294253349304, 0.1348937302827835, 0.03195260092616081, -0.49572452902793884, 0.27294430136680603, 0.1881026029586792, 0.12968643009662628, 0.047397349029779434, -0.3806096613407135, 0.1868751496076584, 0.5176701545715332, 0.0308474563062191, 0.04164852574467659, -0.09126513451337814, 0.1443576067686081, -0.016934338957071304, 0.04670540243387222, 0.26865166425704956, 0.4890437126159668, 0.43109622597694397, 0.03810607269406319, -0.008963779546320438, -0.194766566157341, -0.22035445272922516, 0.10263558477163315, -0.06483818590641022, 0.15015418827533722, 0.3081577718257904, 0.2704170346260071, -0.03979826718568802, -0.23575346171855927, -0.17760393023490906, 0.13042762875556946, 0.00946337915956974, -0.2812790870666504, 0.04314122721552849, -0.38690048456192017, -0.24552740156650543, -0.10752341896295547, -0.2408086210489273, -0.09102967381477356, -0.4494060277938843, 0.01672542095184326, -0.040975749492645264, -0.2319643646478653, 0.32053712010383606, 0.06782525777816772, -0.016839925199747086, 0.44901925325393677, -0.03515870124101639, 0.015772148966789246, 0.10340815782546997, -0.041810277849435806, 0.1795511096715927, 0.09408554434776306, -0.14700369536876678, 0.16567252576351166, -0.25089579820632935, 0.12868259847164154, -0.26775500178337097, -0.0960129126906395, -0.0214267335832119, -0.19767288863658905, -0.13784381747245789, 0.253185510635376, -0.031079893931746483, 0.024645023047924042, -0.5448862314224243, 0.17136411368846893, 0.41267403960227966, -0.040842197835445404, 0.3676285445690155, 0.06513084471225739, -0.2717549204826355, -0.1706055998802185, -0.3715849816799164, -0.11022289842367172, -0.36282604932785034, -0.0867006778717041, -0.07786131650209427, 0.04836081713438034, 0.26049521565437317, 0.26933202147483826, -0.09744472801685333, 0.06997984647750854, 0.06862570345401764, -0.3066118061542511, -0.24678273499011993, 0.3326626420021057, -0.2504253685474396, -0.2788005769252777, -0.1827922910451889, 0.037354011088609695, 0.12829074263572693, 0.2853125333786011, -0.048260729759931564, 0.042976029217243195, -0.037765394896268845, 0.06087132543325424, -0.32660436630249023, 0.051721420139074326, 0.237544983625412, 0.22316889464855194, -0.24320758879184723, -0.28563740849494934, -0.05714097246527672, 0.2365437000989914, -0.09680851548910141, 0.30930420756340027, -0.3802739679813385, 0.14580963551998138, 0.01870742253959179, 0.069076307117939, 0.17754845321178436, -0.1822805553674698, 0.15679872035980225, 0.17081530392169952, 0.35480567812919617, -0.11594342440366745, -0.2566312253475189, -0.27767881751060486, 0.050158530473709106, 0.32724499702453613, 0.09805334359407425, -0.15784023702144623, 0.0773216262459755, 0.07296861708164215, 0.36667707562446594, 0.043140362948179245, -0.09835907816886902, -0.052950453013181686, -0.13211777806282043, 0.2532331347465515, 0.19567888975143433, -0.08705314248800278, -0.33759063482284546, 0.2272244244813919, -0.15207111835479736, 0.0008957987301982939, -0.21669375896453857, -0.0778864324092865, -0.3898312747478485, 0.03690674528479576, -0.3364022970199585, 0.40029293298721313, 0.2239316999912262, 0.35319069027900696, 0.07496651262044907, -0.11584468930959702, -0.3261691927909851, -0.15528328716754913, 0.6243782043457031, -0.26232537627220154, -0.3743235468864441, 0.46388670802116394, 0.24461933970451355, -0.15838007628917694, -0.06669437140226364, -0.2112015336751938, 0.40034928917884827, 0.10808293521404266, 0.26325708627700806, -0.30128389596939087, -0.12679752707481384, 0.2827327251434326, 0.14040830731391907, 0.12065547704696655, -0.10987969487905502, -0.1409943550825119, -0.17410124838352203, -0.39383360743522644, -0.1955614537000656, -0.11553578078746796, 0.47445160150527954, -0.21085777878761292, -0.04523192718625069, -0.023801974952220917, -0.19448593258857727, 0.07236885279417038, -0.1500592678785324, 0.3918094336986542, 0.2008262425661087, 0.13594578206539154, -0.11063592880964279, 0.2716921865940094, 0.5164704322814941, 0.35334673523902893, -0.048866644501686096, -0.5124099850654602, 0.19795960187911987, -0.0733952522277832, 0.11824051290750504, 0.21699313819408417, -0.2866617441177368, 0.21000774204730988, 0.022184129804372787, 0.10943662375211716, 0.1012333557009697, 0.30729246139526367, 0.5198495388031006, 0.0923466607928276, -0.6317535638809204, -0.26279881596565247, 0.23864729702472687, 0.1888730823993683, 0.027355706319212914, 0.33655691146850586, -0.1383707970380783, -0.40782105922698975, -0.03458280861377716, -0.011498953215777874, 0.6556443572044373, 0.08325637876987457, 0.13108384609222412, 0.2979911267757416, 0.0068999226205050945, 0.3589516878128052, 0.13013862073421478, 0.3010156452655792, -0.17256513237953186, -0.33194172382354736, 0.07350368052721024, -0.22456052899360657, 0.07120467722415924, 0.18262971937656403, -0.45697280764579773, 0.10072018206119537, -0.32003599405288696, 0.11902181804180145, -0.07932385057210922, 0.13557085394859314, -0.058728598058223724, -0.1808614283800125, -0.23413126170635223, 0.23683291673660278, 0.2069169133901596, -0.41594356298446655, -0.25592076778411865, -0.15871089696884155, 0.0009550605900585651, -0.2465105950832367, 0.02819693088531494, 0.20856991410255432, -0.11594384908676147, 0.38389554619789124, -0.16355228424072266, -0.10295023024082184, 0.006012042053043842, -0.017179641872644424, 0.2570074498653412, 0.04395286738872528, 0.01138183195143938, -0.07994385063648224, -0.0042095487006008625, 0.0072615742683410645, -0.12983283400535583, -0.2355957329273224, 0.23207703232765198, 0.1656743735074997, -0.015333694405853748, -0.09220805019140244, 0.2270558774471283, -0.32485130429267883, -0.18887053430080414, 0.05362812429666519, -0.06373973190784454, -0.4363943040370941, -0.034868691116571426, 0.3648190200328827, 0.023402463644742966, -0.22381089627742767, 0.25225237011909485, -0.025555038824677467, -0.13531677424907684, -0.02986382506787777, -0.26697179675102234, -0.2111387997865677, -0.02335575968027115, 0.4236266613006592, 0.0868007242679596, -0.04126082733273506, 0.37963616847991943, 0.1077408492565155, -0.15011794865131378, -0.1973506212234497, -0.163741797208786, 0.0019762821029871702, -0.2429591566324234, 0.2343987375497818, -0.17453692853450775, -0.14524589478969574, 0.060401443392038345, 0.3150252401828766, 0.03760100528597832, 0.11258465051651001, 0.1919759213924408, -0.06533227860927582, -0.12836511433124542, 0.018215589225292206, -0.1201222687959671, 0.09314032644033432, 0.04206780716776848, 0.45944201946258545, -0.20352646708488464, 0.057144831866025925, -0.4714142084121704, -0.17121994495391846, -0.20199193060398102, 0.10207903385162354, -0.102088063955307, -0.09932217746973038, 0.05230152979493141, 0.08069480955600739, 0.2743842601776123, 0.12862518429756165, -0.12521515786647797, -0.37485960125923157, 0.03368448466062546, -0.008581382222473621, 0.16195234656333923, 0.004959926474839449, 0.13773730397224426, -0.2876494228839874, -0.2459161877632141, -0.18215791881084442, -0.09431096911430359, 0.13331370055675507, -0.04827810078859329, -0.10482382774353027, 0.010758040472865105, 0.055319733917713165, 0.23933537304401398, -0.0749167948961258, 0.2386309802532196, -0.18252423405647278, -0.281637579202652, 0.2637365758419037, -0.26781705021858215, -0.12422644346952438, -0.005200354848057032, 0.18157686293125153, 0.18985022604465485, 0.12025734782218933, -0.05682198703289032, -0.4042747914791107, -0.14709797501564026, 0.06049155443906784, 0.48939248919487, 0.4010492265224457, -0.22589796781539917, -0.19598492980003357, -0.0018612578278407454, 0.280133992433548, -0.3821050822734833, -0.37187159061431885, 0.007849610410630703, -0.06490852683782578, 0.07866831868886948, -0.03489074110984802, 0.1032695397734642, -0.13323915004730225, 0.1982998102903366, 0.10782468318939209, 0.0005770389689132571, 0.05846736580133438, 0.29876062273979187, 0.3543802797794342, 0.08833528310060501, 0.1548759490251541, 0.187432661652565, 0.3859785795211792, 0.19120682775974274, 0.4367017149925232, 0.08157279342412949, 0.3150815963745117, 0.2755717635154724, -0.25901246070861816, -0.13128502666950226, -0.3337318003177643, 0.3166621923446655, 0.17491455376148224, 0.1730479598045349, 0.06200660020112991, 0.14783553779125214, -0.05354585498571396, -0.22868548333644867, -0.0935824066400528, -0.1348850280046463, 0.18554233014583588, -0.12658797204494476, -0.09709009528160095, -0.008513173088431358, -0.03179952874779701, -0.1265278458595276, -0.17192700505256653, -0.0010504197562113404, 0.05440352112054825, 0.3549613654613495, -0.28590473532676697, 0.17402590811252594, -0.451210618019104, 0.3018074035644531, 0.1759481579065323, -0.04361312463879585, -0.1445080041885376, 0.22824741899967194, 0.3461954593658447, 0.007045756094157696, 0.39638814330101013, 0.21535684168338776, 0.4886711835861206, 0.27007144689559937, 0.2916060984134674, -0.17752675712108612, -0.08751320838928223, -0.11750935763120651, 0.01707571931183338, 0.00472744507715106, 0.10654401034116745, -0.23631033301353455, 0.44265735149383545, 0.2541261911392212, -0.22337903082370758, 0.019685398787260056, 0.37378761172294617, 0.025223253294825554, -0.12345460802316666, 0.0003378844412509352, -0.09508570283651352, -0.118404820561409, 0.09502744674682617, 0.12695646286010742, -0.2934146821498871, -0.05201849341392517, 0.4924393892288208, 0.03444717824459076, 0.23459170758724213, 0.006459582597017288, 0.22928467392921448, 0.23061661422252655, 0.4391336739063263, 0.2114572525024414, 0.1919982135295868, -0.2681753635406494, -0.4135041832923889, -0.33204221725463867, 0.10185930877923965, 0.0853784829378128, 0.2269594669342041, -0.1302037239074707, 0.27771371603012085, 0.2575526535511017, -0.19802264869213104, 0.189077690243721, -0.045747630298137665, -0.05181003734469414, -0.06886158138513565, -0.3833810091018677, -0.1433662325143814, 0.2410297989845276, -0.24839365482330322, 0.1381468027830124, -0.23476241528987885, 0.05755425989627838, 0.11732970178127289, 0.26094090938568115, -0.19946807622909546, 0.1264612078666687, 0.1476944088935852, -0.0012537168804556131, 0.09150148928165436, 0.30581822991371155, 0.3180476725101471, -0.32640913128852844, -0.06002218648791313, -0.15457148849964142, -0.44288620352745056, -0.18186017870903015, 0.2064451277256012, 0.16229727864265442, 0.10163610428571701, -0.26758551597595215, 0.03291027620434761, -0.001920247101224959, 0.00812540389597416, 0.2814863622188568, 0.10298991203308105, -0.29830601811408997, 0.3579869866371155, 0.030093414708971977, -0.04867600277066231, -0.15016083419322968, 0.17214421927928925, 0.11341245472431183, 0.5158804655075073, -0.11223961412906647, -0.45743241906166077, 0.36215272545814514, 0.016098348423838615, -0.46320822834968567, 0.02232873998582363, 0.03693193197250366, 0.25850844383239746, -0.013158139772713184, -0.25381985306739807, 0.026500876992940903, 0.24242597818374634, -0.0424540750682354, -0.21596303582191467, 0.36340078711509705, -0.11646678298711777, 0.08627089858055115, -0.024423426017165184, 0.25460636615753174, 0.1835712194442749, -0.6162980198860168, 0.04756235331296921, -0.23095087707042694 ]
https://github.com/huggingface/datasets/issues/2080
Multidimensional arrays in a Dataset
Hi ! This is actually supported ! but not yet in `from_pandas`. You can use `from_dict` for now instead: ```python from datasets import Dataset, Array2D, Features, Value import pandas as pd import numpy as np dataset = { 'bbox': [ np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]), np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]), np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]), np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]) ], 'input_ids': [1, 2, 3, 4] } dataset = Dataset.from_dict(dataset) ``` This will work but to use it with the torch formatter you must specify the `Array2D` feature type in order to tell the shape: ```python from datasets import Dataset, Array2D, Features, Value import pandas as pd import numpy as np dataset = { 'bbox': [ np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]), np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]), np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]), np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]) ], 'input_ids': [1, 2, 3, 4] } dataset = Dataset.from_dict(dataset, features=Features({ "bbox": Array2D(shape=(3, 4), dtype="int64"), "input_ids": Value("int64") })) dataset.set_format("torch") print(dataset[0]['bbox']) # tensor([[1, 2, 3, 4], # [1, 2, 3, 4], # [1, 2, 3, 4]]) ``` If you don't specify the `Array2D` feature type, then the inferred type will be Sequence(Sequence(Value("int64"))) and therefore the torch formatter will return list of tensors
Hi, I'm trying to put together a `datasets.Dataset` to be used with LayoutLM which is available in `transformers`. This model requires as input the bounding boxes of each of the token of a sequence. This is when I realized that `Dataset` does not support multi-dimensional arrays as a value for a column in a row. The following code results in conversion error in pyarrow (`pyarrow.lib.ArrowInvalid: ('Can only convert 1-dimensional array values', 'Conversion failed for column bbox with type object')`) ``` from datasets import Dataset import pandas as pd import numpy as np dataset = pd.DataFrame({ 'bbox': [ np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]), np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]), np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]), np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]) ], 'input_ids': [1, 2, 3, 4] }) dataset = Dataset.from_pandas(dataset) ``` Since I wanted to use pytorch for the downstream training task, I also tried a few ways to directly put in a column of 2-D pytorch tensor in a formatted dataset, but I can only have a list of 1-D tensors, or a list of arrays, or a list of lists. ``` import torch from datasets import Dataset import pandas as pd dataset = pd.DataFrame({ 'bbox': [ [[1,2,3,4],[1,2,3,4],[1,2,3,4]], [[1,2,3,4],[1,2,3,4],[1,2,3,4]], [[1,2,3,4],[1,2,3,4],[1,2,3,4]], [[1,2,3,4],[1,2,3,4],[1,2,3,4]] ], 'input_ids': [1, 2, 3, 4] }) dataset = Dataset.from_pandas(dataset) def test(examples): return {'bbbox': torch.Tensor(examples['bbox'])} dataset = dataset.map(test) print(dataset[0]['bbox']) print(dataset[0]['bbbox']) dataset.set_format(type='torch', columns=['input_ids', 'bbox'], output_all_columns=True) print(dataset[0]['bbox']) print(dataset[0]['bbbox']) def test2(examples): return {'bbbox': torch.stack(examples['bbox'])} dataset = dataset.map(test2) print(dataset[0]['bbox']) print(dataset[0]['bbbox']) ``` Is is possible to support n-D arrays/tensors in datasets? It seems that it can also be useful for this [feature request](https://github.com/huggingface/datasets/issues/263).
165
Multidimensional arrays in a Dataset
[ -0.2521325349807739, -0.27062249183654785, -0.40857651829719543, 0.2338707447052002, 0.21625354886054993, -0.00043502295739017427, 0.5509175062179565, -0.11534534394741058, 0.1538427770137787, 0.22089092433452606, -0.030273767188191414, 0.17455542087554932, -0.231286883354187, 0.3402356505393982, 0.09302471578121185, -0.04179472103714943, 0.04433613270521164, 0.36612647771835327, -0.3754703402519226, -0.09181959182024002, -0.03004450350999832, -0.16203780472278595, -0.2088519185781479, -0.0920170396566391, -0.2048511505126953, -0.38173776865005493, -0.16547377407550812, -0.02971554361283779, 0.005042227450758219, -0.040852759033441544, 0.0753900334239006, 0.16291464865207672, -0.13340777158737183, 0.1899048089981079, -0.00009352065535495058, -0.016373971477150917, -0.23472483456134796, -0.06510742753744125, 0.015962539240717888, 0.21756525337696075, -0.18982210755348206, -0.3175557851791382, -0.1949976533651352, -0.46629685163497925, 0.05910246819257736, -0.45338478684425354, -0.16121016442775726, -0.8276022672653198, 0.04716101288795471, -0.22808349132537842, 0.37160709500312805, -0.02910538949072361, 0.01716294139623642, 0.08630317449569702, -0.04399983957409859, 0.11507768929004669, 0.09646398574113846, -0.18012744188308716, 0.1773262321949005, -0.1520547866821289, 0.15677408874034882, 0.19487297534942627, -0.12251192331314087, 0.2735932767391205, 0.4003444015979767, 0.03173350915312767, -0.13416410982608795, 0.2156752198934555, 0.014727477915585041, 0.28719034790992737, 0.622982382774353, -0.2638770043849945, -0.20488975942134857, -0.028913697227835655, -0.026795251294970512, 0.15158377587795258, -0.1315234899520874, 0.335218608379364, 0.0922805666923523, -0.042224638164043427, -0.3471279442310333, -0.03881010040640831, -0.2381531298160553, 0.200723797082901, -0.18029122054576874, 0.05480881407856941, 0.04899975284934044, 0.13572260737419128, -0.0553288459777832, -0.32380178570747375, 0.2688499689102173, -0.1271994709968567, 0.24306179583072662, 0.12714914977550507, 0.01602933183312416, -0.1160130649805069, -0.3087274730205536, -0.4197470247745514, 0.26533424854278564, -0.3490099608898163, 0.5607677698135376, 0.13668932020664215, -0.0574810765683651, 0.1604287177324295, 0.4028604030609131, -0.1920851469039917, -0.17913229763507843, -0.03442848101258278, -0.10219483077526093, -0.4841715097427368, -0.15899375081062317, 0.0016675079241394997, 0.03289571404457092, 0.031786851584911346, 0.10032705962657928, -0.056022435426712036, -0.2151619791984558, 0.13590094447135925, -0.19990511238574982, 0.0027186814695596695, -0.36581361293792725, -0.21619577705860138, -0.016832193359732628, 0.15477949380874634, 0.14865390956401825, 0.1697559803724289, -0.26214003562927246, 0.18206804990768433, 0.08136553317308426, -0.18831278383731842, -0.3975912630558014, 0.20236894488334656, -0.2455495297908783, -0.13245943188667297, 0.0821574330329895, 0.4340704679489136, 0.07775276899337769, -0.08120493590831757, 0.07924510538578033, -0.11476661264896393, 0.10375235974788666, -0.12922371923923492, 0.262493371963501, -0.019105639308691025, 0.10272366553544998, -0.03950558602809906, -0.10843375325202942, 0.22097860276699066, -0.16754822432994843, 0.1786072999238968, 0.03810780867934227, -0.07816121727228165, 0.03794913366436958, 0.2713702917098999, 0.016955099999904633, -0.0380408838391304, -0.06687873601913452, 0.1929139643907547, 0.30945324897766113, -0.16287001967430115, -0.08283150941133499, -0.11582037806510925, 0.11144612729549408, -0.2705966830253601, -0.08072461187839508, -0.06035219505429268, -0.39694973826408386, 0.2689360976219177, -0.07959812879562378, -0.11861108988523483, -0.07534966617822647, 0.04370368272066116, -0.27046501636505127, -0.04875069111585617, -0.23734867572784424, 0.365129292011261, 0.13999225199222565, 0.05187178775668144, 0.1186845675110817, 0.03998759016394615, 0.072653628885746, -0.14324869215488434, 0.2685466408729553, 0.32084566354751587, -0.03189585357904434, 0.0522441603243351, 0.08414678275585175, 0.2980443835258484, -0.0652412623167038, 0.11413142085075378, -0.03392280265688896, -0.23284852504730225, 0.18973156809806824, 0.17949740588665009, 0.0038188688922673464, -0.14882779121398926, 0.40591052174568176, -0.053439173847436905, 0.1348143219947815, -0.39395254850387573, 0.11360316723585129, 0.22277770936489105, 0.20238277316093445, 0.061582088470458984, -0.19887743890285492, -0.4226498007774353, -0.3425138294696808, -0.10267045348882675, 0.14548075199127197, -0.2283228188753128, 0.21894149482250214, -0.1890433430671692, -0.05413319543004036, 0.01370179932564497, 0.22789931297302246, 0.3882339894771576, 0.3134693503379822, 0.3124352693557739, -0.21872662007808685, -0.2355218082666397, -0.27634376287460327, -0.05977027863264084, 0.09266258776187897, -0.35838884115219116, -0.15405701100826263, 0.33762410283088684, 0.10731834173202515, -0.1604892611503601, 0.21208465099334717, 0.3420230746269226, 0.036868415772914886, -0.1458214670419693, 0.35353991389274597, 0.23897159099578857, 0.013690385036170483, -0.15352413058280945, 0.13605555891990662, 0.5488510727882385, -0.010398194193840027, -0.23487359285354614, 0.4674496054649353, -0.17561635375022888, 0.07767891138792038, 0.0491500049829483, 0.02702632173895836, 0.4890151023864746, -0.20404495298862457, 0.07627632468938828, -0.08713909238576889, 0.05260841175913811, 0.23481404781341553, 0.03174903988838196, 0.0948852002620697, -0.30919501185417175, -0.09573192894458771, -0.24682869017124176, 0.18415772914886475, 0.037575919181108475, -0.3313197195529938, 0.24930161237716675, -0.0141443507745862, -0.011124306358397007, 0.2797374427318573, -0.2680809795856476, 0.04914753884077072, 0.1296044886112213, -0.11733601987361908, 0.10310240089893341, 0.3950784206390381, 0.3194637894630432, 0.024142194539308548, -0.22065508365631104, -0.04991971328854561, -0.04296283796429634, 0.12384618073701859, -0.046864211559295654, 0.17839546501636505, 0.0722055435180664, -0.009159903042018414, -0.2564099133014679, -0.12808097898960114, -0.18063265085220337, 0.06526778638362885, 0.006480774376541376, -0.11409231275320053, 0.028069747611880302, -0.4548506736755371, -0.3150622844696045, -0.30948105454444885, -0.2220212072134018, 0.008111667819321156, 0.07846079021692276, -0.011607049964368343, -0.027636319398880005, -0.22836661338806152, 0.03411798179149628, 0.20846471190452576, 0.32124394178390503, 0.11668828129768372, 0.15070217847824097, 0.13345035910606384, -0.02016347274184227, 0.15343429148197174, 0.2554507851600647, 0.15861614048480988, 0.28925246000289917, 0.2369532287120819, 0.31630486249923706, 0.026963526383042336, -0.2814227044582367, 0.02476288378238678, -0.2603553831577301, 0.10935010015964508, 0.056192465126514435, 0.06520286202430725, 0.15208765864372253, -0.053186483681201935, -0.1982761174440384, 0.13466611504554749, 0.025954095646739006, -0.09668918699026108, -0.0877649337053299, 0.24327364563941956, -0.12051951140165329, -0.0724056214094162, -0.26013481616973877, -0.2997472286224365, -0.12034464627504349, 0.024578766897320747, 0.01745336689054966, 0.1475980132818222, -0.3444434404373169, 0.3332982063293457, -0.017317481338977814, -0.08584704995155334, -0.11557450145483017, -0.1414898931980133, 0.1912919580936432, 0.09851817786693573, 0.019393356516957283, -0.18046659231185913, -0.21554812788963318, -0.24637989699840546, 0.20482634007930756, 0.4564272463321686, -0.241218701004982, -0.21040691435337067, 0.09966735541820526, -0.22612504661083221, -0.2147062122821808, 0.20336751639842987, 0.22685787081718445, 0.07472431659698486, -0.25290802121162415, -0.18531376123428345, -0.09257283061742783, 0.17743748426437378, -0.022711584344506264, -0.03492649272084236, -0.21496263146400452, 0.005803515203297138, -0.00781424529850483, 0.0676078200340271, 0.04042922332882881, -0.15547029674053192, 0.18582110106945038, -0.026871705427765846, 0.08170229196548462, 0.026347899809479713, -0.08953678607940674, 0.09865204989910126, 0.023960279300808907, -0.033705875277519226, 0.06807565689086914, -0.12755775451660156, -0.5165172815322876, 0.05814705416560173, 0.18222464621067047, -0.3664167821407318, 0.0038866123650223017, 0.26029708981513977, -0.3038541376590729, 0.1798948347568512, 0.18999585509300232, -0.32501617074012756, -0.2620489299297333, 0.01774866133928299, -0.4452437162399292, -0.29405224323272705, -0.0957798957824707, -0.10968321561813354, -0.5324551463127136, -0.18313784897327423, 0.4137346148490906, 0.23183417320251465, 0.18266287446022034, 0.5429784059524536, -0.0999327003955841, -0.015468752011656761, 0.13371926546096802, 0.17790673673152924, 0.49818894267082214, -0.12372411042451859, -0.06536132842302322, 0.13953164219856262, 0.08953380584716797, -0.2841290533542633, 0.06194258853793144, -0.32870978116989136, -0.0743451714515686, -0.23507247865200043, 0.22151412069797516, -0.22810330986976624, 0.0037767598405480385, 0.15947221219539642, 0.29331228137016296, -0.06792815029621124, -0.012852005660533905, -0.1649254709482193, -0.07241015881299973, 0.002461553318426013, -0.044833049178123474, -0.07920273393392563, 0.19866834580898285, 0.3066924214363098, -0.24977995455265045, -0.1726912260055542, -0.29966244101524353, 0.08070047944784164, -0.08891473710536957, 0.24933022260665894, 0.02872387133538723, 0.033877983689308167, -0.10602959990501404, 0.1354893445968628, 0.354236900806427, 0.11987446248531342, -0.11326475441455841, 0.26928460597991943, 0.1054348349571228, -0.31269222497940063, 0.5808568000793457, 0.1238061711192131, 0.16817615926265717, 0.1148170605301857, -0.0766177773475647, 0.00822423305362463, -0.17539754509925842, -0.12567974627017975, -0.023150399327278137, 0.061579618602991104, 0.043036140501499176, -0.5700941681861877, 0.21703249216079712, -0.021260323002934456, -0.07045270502567291, 0.18820470571517944, 0.17413485050201416, -0.12179375439882278, 0.2540147006511688, 0.4865063726902008, 0.6585076451301575, -0.20452255010604858, 0.11737554520368576, -0.0360923707485199, -0.04374196007847786, -0.1787230372428894, -0.19752287864685059, 0.06774340569972992, -0.2484799176454544, -0.16760823130607605, -0.029637381434440613, -0.1396748125553131, 0.25069352984428406, 0.498136967420578, 0.14132511615753174, -0.08491439372301102, 0.1583193838596344, 0.12297622859477997, -0.22620904445648193, -0.08650510758161545, 0.002831824356690049, 0.035072293132543564, -0.0070271254517138, 0.24898064136505127, 0.033158235251903534, -0.43938660621643066, -0.08169779181480408, -0.06602486222982407, -0.13121694326400757, 0.022045811638236046, -0.07967924326658249, -0.42322221398353577, -0.049478452652692795, 0.2846945822238922, 0.12869583070278168, -0.22033287584781647, -0.2301592081785202, 0.1896984577178955, 0.013219024054706097, -0.07255913317203522, 0.05371362343430519, -0.26831915974617004, -0.1321694552898407, -0.014068474993109703, -0.21027423441410065, -0.11114967614412308, 0.12228598445653915, -0.04842190816998482, -0.1347678154706955, -0.04661806672811508, 0.16625045239925385, -0.1512099802494049, -0.19412057101726532, 0.48062947392463684, 0.04284216836094856, -0.2415621429681778, 0.03563212230801582, 0.13932059705257416, 0.10339884459972382, 0.1285320371389389, 0.24005171656608582, 0.1815963089466095, 0.05261947214603424, 0.44755685329437256, 0.17559614777565002, 0.021658383309841156, -0.1302172839641571, 0.19298651814460754, 0.44905540347099304, -0.011023366823792458, 0.08511582016944885, -0.4056571125984192, -0.19259817898273468, -0.44675132632255554, 0.3827191889286041, 0.17842695116996765, 0.2576746344566345, -0.05096205323934555, -0.15755954384803772, -0.26772674918174744, 0.06889888644218445, 0.052576351910829544, 0.050985947251319885, 0.3994698226451874, -0.14379790425300598, -0.47344380617141724, -0.11861835420131683, 0.4398897886276245, 0.06019320711493492, 0.17334313690662384, -0.026982562616467476, -0.011253840290009975, -0.24236628413200378, 0.38165056705474854, -0.4832491874694824, 0.03740442916750908, -0.04082280024886131, 0.12545904517173767, 0.018149638548493385, -0.12567637860774994, -0.3422088921070099, 0.012789316475391388, 0.37824177742004395, -0.08911971747875214, -0.32849428057670593, -0.4020880162715912, 0.2717779278755188, 0.06656784564256668, -0.07016899436712265, 0.12318167090415955, 0.04052731394767761, -0.3049785792827606, -0.2902407944202423, -0.1461111456155777, -0.14560483396053314, 0.10130956023931503, -0.1690598726272583, -0.0071478975005447865, 0.026723869144916534, 0.06700142472982407, -0.2018457055091858, 0.01964995078742504, 0.03440094739198685, -0.14745408296585083, 0.043652694672346115, -0.0053511811420321465, 0.09350353479385376, -0.14807777106761932, 0.19151483476161957, 0.14259333908557892, 0.019657310098409653, -0.07600974291563034, 0.14680616557598114, -0.07605381309986115, -0.015261338092386723, 0.07538467645645142, 0.45015761256217957, 0.14598879218101501, -0.20666047930717468, 0.017403000965714455, 0.1308535933494568, 0.3841477334499359, -0.22480931878089905, -0.26873356103897095, 0.37402135133743286, 0.061337754130363464, 0.1712929904460907, 0.40387457609176636, 0.6410617828369141, -0.14807243645191193, 0.08279701322317123, -0.28345900774002075, 0.3091158866882324, -0.08248981833457947, -0.047895755618810654, 0.18481849133968353, -0.19638407230377197, -0.26188284158706665, 0.11605268716812134, 0.4975290596485138, 0.3061443567276001, 0.8785529136657715, -0.09844125062227249, 0.38331350684165955, 0.12148202955722809, -0.06441359966993332, -0.2868058383464813, -0.14601096510887146, 0.34107154607772827, 0.3288666903972626, 0.22667260468006134, 0.05314166843891144, 0.013731352053582668, 0.14017386734485626, -0.34870991110801697, -0.10755988955497742, -0.03614760562777519, -0.16250933706760406, -0.16945604979991913, 0.14581015706062317, -0.033124081790447235, -0.13481169939041138, -0.08442726731300354, -0.2268996387720108, -0.1134219542145729, -0.2849675118923187, 0.34822914004325867, -0.169550821185112, 0.23050515353679657, -0.16724660992622375, 0.4040473997592926, 0.3075878620147705, -0.006105309817939997, -0.11461617052555084, 0.23341530561447144, 0.39296671748161316, 0.08844941109418869, 0.22577768564224243, 0.25205230712890625, 0.09308017045259476, -0.06731127947568893, 0.22569769620895386, 0.08054573833942413, -0.21506242454051971, -0.2104656994342804, -0.17129476368427277, -0.0829128548502922, 0.052886344492435455, 0.24232839047908783, 0.3556477725505829, 0.2764527499675751, -0.2206370234489441, 0.3063427805900574, 0.3010161519050598, 0.13370239734649658, -0.13967394828796387, -0.2710585296154022, -0.14219656586647034, -0.1922425478696823, 0.06993847340345383, -0.2071029245853424, -0.31603261828422546, -0.349150151014328, 0.19386518001556396, -0.3403998613357544, 0.10414192825555801, 0.2647184729576111, 0.1583486944437027, 0.017611589282751083, 0.5532320141792297, 0.04990777373313904, 0.10349487513303757, 0.03315940126776695, -0.34709399938583374, -0.509733259677887, 0.20312049984931946, -0.2739294767379761, 0.047331538051366806, -0.08605644106864929, 0.30319875478744507, 0.3785502314567566, 0.12075593322515488, 0.04303842782974243, 0.17923030257225037, 0.0034438527654856443, 0.30697908997535706, -0.4551120698451996, -0.11317618936300278, 0.1299099326133728, 0.07091405242681503, 0.09774366021156311, -0.074505515396595, 0.2117791324853897, -0.12760014832019806, 0.30105748772621155, 0.11706395447254181, 0.3567553460597992, -0.28025418519973755, 0.18792203068733215, 0.055010102689266205, -0.23419669270515442, 0.416096568107605, 0.021276703104376793, 0.1871863305568695, 0.11163821816444397, -0.029461393132805824, 0.03402577340602875, 0.3536103367805481, 0.3816621005535126, 0.17493972182273865, -0.45416250824928284, 0.23847824335098267, 0.29757165908813477, 0.014147933572530746, -0.029008610174059868, 0.28796395659446716, 0.02016189880669117, 0.16770502924919128, -0.176666259765625, -0.06211572885513306, -0.006137761287391186, 0.14977912604808807, 0.03475845232605934, 0.04630349576473236, 0.06057899445295334, -0.14523564279079437, 0.2633344531059265, 0.20690453052520752, -0.2783038914203644, 0.003154558362439275, 0.20095740258693695, -0.03919191658496857, 0.2747725248336792, -0.3920721113681793, 0.02794697880744934, 0.44620558619499207, -0.10060271620750427, -0.02259199507534504, 0.12253609299659729, -0.21181164681911469, -0.3328641653060913, -0.044399987906217575, 0.09819767624139786, -0.0694611668586731, -0.18305443227291107, -0.20820200443267822, -0.24013389647006989 ]
https://github.com/huggingface/datasets/issues/2080
Multidimensional arrays in a Dataset
Thanks for the explanation. With my original DataFrame, I did ``` dataset = dataset.to_dict("list") ``` and then the rest of the transformation from dictionary works just fine.
Hi, I'm trying to put together a `datasets.Dataset` to be used with LayoutLM which is available in `transformers`. This model requires as input the bounding boxes of each of the token of a sequence. This is when I realized that `Dataset` does not support multi-dimensional arrays as a value for a column in a row. The following code results in conversion error in pyarrow (`pyarrow.lib.ArrowInvalid: ('Can only convert 1-dimensional array values', 'Conversion failed for column bbox with type object')`) ``` from datasets import Dataset import pandas as pd import numpy as np dataset = pd.DataFrame({ 'bbox': [ np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]), np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]), np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]), np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]) ], 'input_ids': [1, 2, 3, 4] }) dataset = Dataset.from_pandas(dataset) ``` Since I wanted to use pytorch for the downstream training task, I also tried a few ways to directly put in a column of 2-D pytorch tensor in a formatted dataset, but I can only have a list of 1-D tensors, or a list of arrays, or a list of lists. ``` import torch from datasets import Dataset import pandas as pd dataset = pd.DataFrame({ 'bbox': [ [[1,2,3,4],[1,2,3,4],[1,2,3,4]], [[1,2,3,4],[1,2,3,4],[1,2,3,4]], [[1,2,3,4],[1,2,3,4],[1,2,3,4]], [[1,2,3,4],[1,2,3,4],[1,2,3,4]] ], 'input_ids': [1, 2, 3, 4] }) dataset = Dataset.from_pandas(dataset) def test(examples): return {'bbbox': torch.Tensor(examples['bbox'])} dataset = dataset.map(test) print(dataset[0]['bbox']) print(dataset[0]['bbbox']) dataset.set_format(type='torch', columns=['input_ids', 'bbox'], output_all_columns=True) print(dataset[0]['bbox']) print(dataset[0]['bbbox']) def test2(examples): return {'bbbox': torch.stack(examples['bbox'])} dataset = dataset.map(test2) print(dataset[0]['bbox']) print(dataset[0]['bbbox']) ``` Is is possible to support n-D arrays/tensors in datasets? It seems that it can also be useful for this [feature request](https://github.com/huggingface/datasets/issues/263).
27
Multidimensional arrays in a Dataset
[ -0.2521325349807739, -0.27062249183654785, -0.40857651829719543, 0.2338707447052002, 0.21625354886054993, -0.00043502295739017427, 0.5509175062179565, -0.11534534394741058, 0.1538427770137787, 0.22089092433452606, -0.030273767188191414, 0.17455542087554932, -0.231286883354187, 0.3402356505393982, 0.09302471578121185, -0.04179472103714943, 0.04433613270521164, 0.36612647771835327, -0.3754703402519226, -0.09181959182024002, -0.03004450350999832, -0.16203780472278595, -0.2088519185781479, -0.0920170396566391, -0.2048511505126953, -0.38173776865005493, -0.16547377407550812, -0.02971554361283779, 0.005042227450758219, -0.040852759033441544, 0.0753900334239006, 0.16291464865207672, -0.13340777158737183, 0.1899048089981079, -0.00009352065535495058, -0.016373971477150917, -0.23472483456134796, -0.06510742753744125, 0.015962539240717888, 0.21756525337696075, -0.18982210755348206, -0.3175557851791382, -0.1949976533651352, -0.46629685163497925, 0.05910246819257736, -0.45338478684425354, -0.16121016442775726, -0.8276022672653198, 0.04716101288795471, -0.22808349132537842, 0.37160709500312805, -0.02910538949072361, 0.01716294139623642, 0.08630317449569702, -0.04399983957409859, 0.11507768929004669, 0.09646398574113846, -0.18012744188308716, 0.1773262321949005, -0.1520547866821289, 0.15677408874034882, 0.19487297534942627, -0.12251192331314087, 0.2735932767391205, 0.4003444015979767, 0.03173350915312767, -0.13416410982608795, 0.2156752198934555, 0.014727477915585041, 0.28719034790992737, 0.622982382774353, -0.2638770043849945, -0.20488975942134857, -0.028913697227835655, -0.026795251294970512, 0.15158377587795258, -0.1315234899520874, 0.335218608379364, 0.0922805666923523, -0.042224638164043427, -0.3471279442310333, -0.03881010040640831, -0.2381531298160553, 0.200723797082901, -0.18029122054576874, 0.05480881407856941, 0.04899975284934044, 0.13572260737419128, -0.0553288459777832, -0.32380178570747375, 0.2688499689102173, -0.1271994709968567, 0.24306179583072662, 0.12714914977550507, 0.01602933183312416, -0.1160130649805069, -0.3087274730205536, -0.4197470247745514, 0.26533424854278564, -0.3490099608898163, 0.5607677698135376, 0.13668932020664215, -0.0574810765683651, 0.1604287177324295, 0.4028604030609131, -0.1920851469039917, -0.17913229763507843, -0.03442848101258278, -0.10219483077526093, -0.4841715097427368, -0.15899375081062317, 0.0016675079241394997, 0.03289571404457092, 0.031786851584911346, 0.10032705962657928, -0.056022435426712036, -0.2151619791984558, 0.13590094447135925, -0.19990511238574982, 0.0027186814695596695, -0.36581361293792725, -0.21619577705860138, -0.016832193359732628, 0.15477949380874634, 0.14865390956401825, 0.1697559803724289, -0.26214003562927246, 0.18206804990768433, 0.08136553317308426, -0.18831278383731842, -0.3975912630558014, 0.20236894488334656, -0.2455495297908783, -0.13245943188667297, 0.0821574330329895, 0.4340704679489136, 0.07775276899337769, -0.08120493590831757, 0.07924510538578033, -0.11476661264896393, 0.10375235974788666, -0.12922371923923492, 0.262493371963501, -0.019105639308691025, 0.10272366553544998, -0.03950558602809906, -0.10843375325202942, 0.22097860276699066, -0.16754822432994843, 0.1786072999238968, 0.03810780867934227, -0.07816121727228165, 0.03794913366436958, 0.2713702917098999, 0.016955099999904633, -0.0380408838391304, -0.06687873601913452, 0.1929139643907547, 0.30945324897766113, -0.16287001967430115, -0.08283150941133499, -0.11582037806510925, 0.11144612729549408, -0.2705966830253601, -0.08072461187839508, -0.06035219505429268, -0.39694973826408386, 0.2689360976219177, -0.07959812879562378, -0.11861108988523483, -0.07534966617822647, 0.04370368272066116, -0.27046501636505127, -0.04875069111585617, -0.23734867572784424, 0.365129292011261, 0.13999225199222565, 0.05187178775668144, 0.1186845675110817, 0.03998759016394615, 0.072653628885746, -0.14324869215488434, 0.2685466408729553, 0.32084566354751587, -0.03189585357904434, 0.0522441603243351, 0.08414678275585175, 0.2980443835258484, -0.0652412623167038, 0.11413142085075378, -0.03392280265688896, -0.23284852504730225, 0.18973156809806824, 0.17949740588665009, 0.0038188688922673464, -0.14882779121398926, 0.40591052174568176, -0.053439173847436905, 0.1348143219947815, -0.39395254850387573, 0.11360316723585129, 0.22277770936489105, 0.20238277316093445, 0.061582088470458984, -0.19887743890285492, -0.4226498007774353, -0.3425138294696808, -0.10267045348882675, 0.14548075199127197, -0.2283228188753128, 0.21894149482250214, -0.1890433430671692, -0.05413319543004036, 0.01370179932564497, 0.22789931297302246, 0.3882339894771576, 0.3134693503379822, 0.3124352693557739, -0.21872662007808685, -0.2355218082666397, -0.27634376287460327, -0.05977027863264084, 0.09266258776187897, -0.35838884115219116, -0.15405701100826263, 0.33762410283088684, 0.10731834173202515, -0.1604892611503601, 0.21208465099334717, 0.3420230746269226, 0.036868415772914886, -0.1458214670419693, 0.35353991389274597, 0.23897159099578857, 0.013690385036170483, -0.15352413058280945, 0.13605555891990662, 0.5488510727882385, -0.010398194193840027, -0.23487359285354614, 0.4674496054649353, -0.17561635375022888, 0.07767891138792038, 0.0491500049829483, 0.02702632173895836, 0.4890151023864746, -0.20404495298862457, 0.07627632468938828, -0.08713909238576889, 0.05260841175913811, 0.23481404781341553, 0.03174903988838196, 0.0948852002620697, -0.30919501185417175, -0.09573192894458771, -0.24682869017124176, 0.18415772914886475, 0.037575919181108475, -0.3313197195529938, 0.24930161237716675, -0.0141443507745862, -0.011124306358397007, 0.2797374427318573, -0.2680809795856476, 0.04914753884077072, 0.1296044886112213, -0.11733601987361908, 0.10310240089893341, 0.3950784206390381, 0.3194637894630432, 0.024142194539308548, -0.22065508365631104, -0.04991971328854561, -0.04296283796429634, 0.12384618073701859, -0.046864211559295654, 0.17839546501636505, 0.0722055435180664, -0.009159903042018414, -0.2564099133014679, -0.12808097898960114, -0.18063265085220337, 0.06526778638362885, 0.006480774376541376, -0.11409231275320053, 0.028069747611880302, -0.4548506736755371, -0.3150622844696045, -0.30948105454444885, -0.2220212072134018, 0.008111667819321156, 0.07846079021692276, -0.011607049964368343, -0.027636319398880005, -0.22836661338806152, 0.03411798179149628, 0.20846471190452576, 0.32124394178390503, 0.11668828129768372, 0.15070217847824097, 0.13345035910606384, -0.02016347274184227, 0.15343429148197174, 0.2554507851600647, 0.15861614048480988, 0.28925246000289917, 0.2369532287120819, 0.31630486249923706, 0.026963526383042336, -0.2814227044582367, 0.02476288378238678, -0.2603553831577301, 0.10935010015964508, 0.056192465126514435, 0.06520286202430725, 0.15208765864372253, -0.053186483681201935, -0.1982761174440384, 0.13466611504554749, 0.025954095646739006, -0.09668918699026108, -0.0877649337053299, 0.24327364563941956, -0.12051951140165329, -0.0724056214094162, -0.26013481616973877, -0.2997472286224365, -0.12034464627504349, 0.024578766897320747, 0.01745336689054966, 0.1475980132818222, -0.3444434404373169, 0.3332982063293457, -0.017317481338977814, -0.08584704995155334, -0.11557450145483017, -0.1414898931980133, 0.1912919580936432, 0.09851817786693573, 0.019393356516957283, -0.18046659231185913, -0.21554812788963318, -0.24637989699840546, 0.20482634007930756, 0.4564272463321686, -0.241218701004982, -0.21040691435337067, 0.09966735541820526, -0.22612504661083221, -0.2147062122821808, 0.20336751639842987, 0.22685787081718445, 0.07472431659698486, -0.25290802121162415, -0.18531376123428345, -0.09257283061742783, 0.17743748426437378, -0.022711584344506264, -0.03492649272084236, -0.21496263146400452, 0.005803515203297138, -0.00781424529850483, 0.0676078200340271, 0.04042922332882881, -0.15547029674053192, 0.18582110106945038, -0.026871705427765846, 0.08170229196548462, 0.026347899809479713, -0.08953678607940674, 0.09865204989910126, 0.023960279300808907, -0.033705875277519226, 0.06807565689086914, -0.12755775451660156, -0.5165172815322876, 0.05814705416560173, 0.18222464621067047, -0.3664167821407318, 0.0038866123650223017, 0.26029708981513977, -0.3038541376590729, 0.1798948347568512, 0.18999585509300232, -0.32501617074012756, -0.2620489299297333, 0.01774866133928299, -0.4452437162399292, -0.29405224323272705, -0.0957798957824707, -0.10968321561813354, -0.5324551463127136, -0.18313784897327423, 0.4137346148490906, 0.23183417320251465, 0.18266287446022034, 0.5429784059524536, -0.0999327003955841, -0.015468752011656761, 0.13371926546096802, 0.17790673673152924, 0.49818894267082214, -0.12372411042451859, -0.06536132842302322, 0.13953164219856262, 0.08953380584716797, -0.2841290533542633, 0.06194258853793144, -0.32870978116989136, -0.0743451714515686, -0.23507247865200043, 0.22151412069797516, -0.22810330986976624, 0.0037767598405480385, 0.15947221219539642, 0.29331228137016296, -0.06792815029621124, -0.012852005660533905, -0.1649254709482193, -0.07241015881299973, 0.002461553318426013, -0.044833049178123474, -0.07920273393392563, 0.19866834580898285, 0.3066924214363098, -0.24977995455265045, -0.1726912260055542, -0.29966244101524353, 0.08070047944784164, -0.08891473710536957, 0.24933022260665894, 0.02872387133538723, 0.033877983689308167, -0.10602959990501404, 0.1354893445968628, 0.354236900806427, 0.11987446248531342, -0.11326475441455841, 0.26928460597991943, 0.1054348349571228, -0.31269222497940063, 0.5808568000793457, 0.1238061711192131, 0.16817615926265717, 0.1148170605301857, -0.0766177773475647, 0.00822423305362463, -0.17539754509925842, -0.12567974627017975, -0.023150399327278137, 0.061579618602991104, 0.043036140501499176, -0.5700941681861877, 0.21703249216079712, -0.021260323002934456, -0.07045270502567291, 0.18820470571517944, 0.17413485050201416, -0.12179375439882278, 0.2540147006511688, 0.4865063726902008, 0.6585076451301575, -0.20452255010604858, 0.11737554520368576, -0.0360923707485199, -0.04374196007847786, -0.1787230372428894, -0.19752287864685059, 0.06774340569972992, -0.2484799176454544, -0.16760823130607605, -0.029637381434440613, -0.1396748125553131, 0.25069352984428406, 0.498136967420578, 0.14132511615753174, -0.08491439372301102, 0.1583193838596344, 0.12297622859477997, -0.22620904445648193, -0.08650510758161545, 0.002831824356690049, 0.035072293132543564, -0.0070271254517138, 0.24898064136505127, 0.033158235251903534, -0.43938660621643066, -0.08169779181480408, -0.06602486222982407, -0.13121694326400757, 0.022045811638236046, -0.07967924326658249, -0.42322221398353577, -0.049478452652692795, 0.2846945822238922, 0.12869583070278168, -0.22033287584781647, -0.2301592081785202, 0.1896984577178955, 0.013219024054706097, -0.07255913317203522, 0.05371362343430519, -0.26831915974617004, -0.1321694552898407, -0.014068474993109703, -0.21027423441410065, -0.11114967614412308, 0.12228598445653915, -0.04842190816998482, -0.1347678154706955, -0.04661806672811508, 0.16625045239925385, -0.1512099802494049, -0.19412057101726532, 0.48062947392463684, 0.04284216836094856, -0.2415621429681778, 0.03563212230801582, 0.13932059705257416, 0.10339884459972382, 0.1285320371389389, 0.24005171656608582, 0.1815963089466095, 0.05261947214603424, 0.44755685329437256, 0.17559614777565002, 0.021658383309841156, -0.1302172839641571, 0.19298651814460754, 0.44905540347099304, -0.011023366823792458, 0.08511582016944885, -0.4056571125984192, -0.19259817898273468, -0.44675132632255554, 0.3827191889286041, 0.17842695116996765, 0.2576746344566345, -0.05096205323934555, -0.15755954384803772, -0.26772674918174744, 0.06889888644218445, 0.052576351910829544, 0.050985947251319885, 0.3994698226451874, -0.14379790425300598, -0.47344380617141724, -0.11861835420131683, 0.4398897886276245, 0.06019320711493492, 0.17334313690662384, -0.026982562616467476, -0.011253840290009975, -0.24236628413200378, 0.38165056705474854, -0.4832491874694824, 0.03740442916750908, -0.04082280024886131, 0.12545904517173767, 0.018149638548493385, -0.12567637860774994, -0.3422088921070099, 0.012789316475391388, 0.37824177742004395, -0.08911971747875214, -0.32849428057670593, -0.4020880162715912, 0.2717779278755188, 0.06656784564256668, -0.07016899436712265, 0.12318167090415955, 0.04052731394767761, -0.3049785792827606, -0.2902407944202423, -0.1461111456155777, -0.14560483396053314, 0.10130956023931503, -0.1690598726272583, -0.0071478975005447865, 0.026723869144916534, 0.06700142472982407, -0.2018457055091858, 0.01964995078742504, 0.03440094739198685, -0.14745408296585083, 0.043652694672346115, -0.0053511811420321465, 0.09350353479385376, -0.14807777106761932, 0.19151483476161957, 0.14259333908557892, 0.019657310098409653, -0.07600974291563034, 0.14680616557598114, -0.07605381309986115, -0.015261338092386723, 0.07538467645645142, 0.45015761256217957, 0.14598879218101501, -0.20666047930717468, 0.017403000965714455, 0.1308535933494568, 0.3841477334499359, -0.22480931878089905, -0.26873356103897095, 0.37402135133743286, 0.061337754130363464, 0.1712929904460907, 0.40387457609176636, 0.6410617828369141, -0.14807243645191193, 0.08279701322317123, -0.28345900774002075, 0.3091158866882324, -0.08248981833457947, -0.047895755618810654, 0.18481849133968353, -0.19638407230377197, -0.26188284158706665, 0.11605268716812134, 0.4975290596485138, 0.3061443567276001, 0.8785529136657715, -0.09844125062227249, 0.38331350684165955, 0.12148202955722809, -0.06441359966993332, -0.2868058383464813, -0.14601096510887146, 0.34107154607772827, 0.3288666903972626, 0.22667260468006134, 0.05314166843891144, 0.013731352053582668, 0.14017386734485626, -0.34870991110801697, -0.10755988955497742, -0.03614760562777519, -0.16250933706760406, -0.16945604979991913, 0.14581015706062317, -0.033124081790447235, -0.13481169939041138, -0.08442726731300354, -0.2268996387720108, -0.1134219542145729, -0.2849675118923187, 0.34822914004325867, -0.169550821185112, 0.23050515353679657, -0.16724660992622375, 0.4040473997592926, 0.3075878620147705, -0.006105309817939997, -0.11461617052555084, 0.23341530561447144, 0.39296671748161316, 0.08844941109418869, 0.22577768564224243, 0.25205230712890625, 0.09308017045259476, -0.06731127947568893, 0.22569769620895386, 0.08054573833942413, -0.21506242454051971, -0.2104656994342804, -0.17129476368427277, -0.0829128548502922, 0.052886344492435455, 0.24232839047908783, 0.3556477725505829, 0.2764527499675751, -0.2206370234489441, 0.3063427805900574, 0.3010161519050598, 0.13370239734649658, -0.13967394828796387, -0.2710585296154022, -0.14219656586647034, -0.1922425478696823, 0.06993847340345383, -0.2071029245853424, -0.31603261828422546, -0.349150151014328, 0.19386518001556396, -0.3403998613357544, 0.10414192825555801, 0.2647184729576111, 0.1583486944437027, 0.017611589282751083, 0.5532320141792297, 0.04990777373313904, 0.10349487513303757, 0.03315940126776695, -0.34709399938583374, -0.509733259677887, 0.20312049984931946, -0.2739294767379761, 0.047331538051366806, -0.08605644106864929, 0.30319875478744507, 0.3785502314567566, 0.12075593322515488, 0.04303842782974243, 0.17923030257225037, 0.0034438527654856443, 0.30697908997535706, -0.4551120698451996, -0.11317618936300278, 0.1299099326133728, 0.07091405242681503, 0.09774366021156311, -0.074505515396595, 0.2117791324853897, -0.12760014832019806, 0.30105748772621155, 0.11706395447254181, 0.3567553460597992, -0.28025418519973755, 0.18792203068733215, 0.055010102689266205, -0.23419669270515442, 0.416096568107605, 0.021276703104376793, 0.1871863305568695, 0.11163821816444397, -0.029461393132805824, 0.03402577340602875, 0.3536103367805481, 0.3816621005535126, 0.17493972182273865, -0.45416250824928284, 0.23847824335098267, 0.29757165908813477, 0.014147933572530746, -0.029008610174059868, 0.28796395659446716, 0.02016189880669117, 0.16770502924919128, -0.176666259765625, -0.06211572885513306, -0.006137761287391186, 0.14977912604808807, 0.03475845232605934, 0.04630349576473236, 0.06057899445295334, -0.14523564279079437, 0.2633344531059265, 0.20690453052520752, -0.2783038914203644, 0.003154558362439275, 0.20095740258693695, -0.03919191658496857, 0.2747725248336792, -0.3920721113681793, 0.02794697880744934, 0.44620558619499207, -0.10060271620750427, -0.02259199507534504, 0.12253609299659729, -0.21181164681911469, -0.3328641653060913, -0.044399987906217575, 0.09819767624139786, -0.0694611668586731, -0.18305443227291107, -0.20820200443267822, -0.24013389647006989 ]
https://github.com/huggingface/datasets/issues/2078
MemoryError when computing WER metric
Hi ! Thanks for reporting. We're indeed using `jiwer` to compute the WER. Maybe instead of calling `jiwer.wer` once for all the preditions/references we can compute the WER iteratively to avoid memory issues ? I'm not too familial with `jiwer` but this must be possible. Currently the code to compute the WER is defined here: https://github.com/huggingface/nlp/blob/349ac4398a3bcae6356f14c5754483383a60e8a4/metrics/wer/wer.py#L93-L94
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation: ``` wer = load_metric("wer") print(wer.compute(predictions=result["predicted"], references=result["target"])) ``` However, I receive the following exception: `Traceback (most recent call last): File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module> print(wer.compute(predictions=result["predicted"], references=result["target"])) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute output = self._compute(predictions=predictions, references=references, **kwargs) File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute return wer(references, predictions) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer truth, hypothesis, truth_transform, hypothesis_transform, **kwargs File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures H, S, D, I = _get_operation_counts(truth, hypothesis) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts editops = Levenshtein.editops(source_string, destination_string) MemoryError` My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
56
MemoryError when computing WER metric
[ -0.16400527954101562, -0.11851344257593155, -0.11197710782289505, 0.42964252829551697, 0.4142496585845947, -0.029726067557930946, -0.15687070786952972, 0.22753402590751648, 0.15494592487812042, 0.469943106174469, -0.04169744625687599, -0.20405283570289612, -0.15879051387310028, -0.3607625663280487, -0.40981554985046387, -0.14754711091518402, -0.1377190351486206, 0.07980351895093918, -0.3275156021118164, 0.08697982132434845, -0.3953317403793335, 0.09393288940191269, -0.23867501318454742, 0.07168731093406677, -0.2164166122674942, -0.10216986387968063, -0.17056018114089966, 0.2498825639486313, -0.23151220381259918, -0.16716374456882477, 0.07488510757684708, -0.13006362318992615, 0.042764365673065186, 0.38975954055786133, -0.00010526242840569466, -0.032223306596279144, 0.22476765513420105, -0.1220308244228363, -0.22706931829452515, 0.1904570758342743, -0.15038558840751648, -0.14698399603366852, -0.20377378165721893, -0.22183790802955627, -0.10678809881210327, 0.01338796503841877, 0.1107066348195076, -0.34909170866012573, -0.18316932022571564, 0.16737094521522522, 0.30890604853630066, 0.028812812641263008, 0.160141259431839, -0.27265244722366333, -0.0194908045232296, -0.20788142085075378, 0.1561831533908844, 0.17395979166030884, -0.0857311338186264, -0.045038215816020966, -0.48569491505622864, 0.23183023929595947, 0.17221906781196594, 0.23476752638816833, 0.1296936273574829, 0.04727790504693985, 0.16373632848262787, 0.3086504340171814, 0.10977287590503693, -0.2572634220123291, 0.2798325717449188, -0.21352022886276245, 0.027389738708734512, 0.43916869163513184, -0.16020168364048004, -0.4044969081878662, 0.3531990051269531, 0.05033343285322189, -0.4129526913166046, -0.012193744070827961, -0.27571332454681396, -0.3130571246147156, -0.44299113750457764, 0.07297772914171219, -0.17294228076934814, 0.2307528853416443, -0.019664142280817032, 0.09375055879354477, 0.2970885932445526, 0.11859119683504105, 0.00679384171962738, 0.12285538017749786, -0.04218405485153198, -0.3177367150783539, 0.007311155553907156, -0.09961912035942078, -0.05815903842449188, -0.21349528431892395, 0.060493651777505875, -0.21573671698570251, 0.26469725370407104, 0.1490793377161026, 0.31437918543815613, 0.20237569510936737, -0.08417484909296036, 0.6679657697677612, -0.03435119241476059, 0.110374815762043, 0.09626395255327225, 0.14455996453762054, -0.18384043872356415, -0.16474071145057678, 0.08160442858934402, -0.3282504975795746, 0.3157392144203186, 0.13352304697036743, -0.37596774101257324, -0.042425964027643204, -0.3132503032684326, 0.09085504710674286, -0.04254008084535599, 0.13393089175224304, 0.20328110456466675, 0.3124155104160309, 0.06216295436024666, 0.14045247435569763, 0.20702797174453735, 0.0649106353521347, -0.19403205811977386, 0.0063448334112763405, -0.3581600487232208, 0.19861865043640137, -0.2699809968471527, -0.11660267412662506, -0.07660292088985443, 0.24712404608726501, 0.14673598110675812, -0.31226229667663574, 0.14651593565940857, -0.2586148679256439, 0.16172228753566742, -0.2671006917953491, 0.1339389681816101, 0.2823275327682495, -0.03124302439391613, -0.04612021893262863, 0.17726846039295197, -0.02453864924609661, 0.1703442633152008, 0.22577519714832306, -0.07012417167425156, -0.31866455078125, 0.23133359849452972, 0.2574639618396759, -0.09484456479549408, 0.054240331053733826, -0.03383924439549446, 0.031188568100333214, 0.3663448989391327, 0.007977594621479511, -0.2933723032474518, 0.16368375718593597, -0.444174587726593, -0.2775132954120636, -0.01426731701940298, 0.1123436763882637, -0.12142515927553177, -0.218043252825737, 0.15497253835201263, -0.2790789306163788, 0.5127773880958557, 0.1574099063873291, 0.13117486238479614, -0.028479192405939102, -0.20252321660518646, 0.1262456774711609, 0.29150864481925964, -0.6022734045982361, -0.20661473274230957, 0.02148321270942688, -0.18277758359909058, -0.25908857583999634, 0.09872976690530777, -0.0338234007358551, 0.06119312718510628, 0.238643616437912, 0.3355896472930908, -0.17926828563213348, -0.22621288895606995, 0.03187311813235283, -0.2017054706811905, 0.013113264925777912, 0.3003746569156647, -0.04279100149869919, 0.6269462704658508, 0.048479221761226654, 0.1693681925535202, 0.25560736656188965, 0.09020363539457321, -0.09427221119403839, 0.1600494235754013, 0.23518700897693634, 0.23001903295516968, -0.4950178861618042, 0.23423761129379272, -0.14338575303554535, 0.17511659860610962, 0.007531620096415281, -0.14283441007137299, 0.27983763813972473, 0.2555452287197113, 0.4153672754764557, -0.08267713338136673, 0.14291176199913025, 0.18009983003139496, -0.02356717362999916, 0.31484708189964294, -0.02953191287815571, 0.011258750222623348, -0.22654646635055542, 0.017499107867479324, 0.13621042668819427, -0.4065679907798767, 0.05920412763953209, 0.13760317862033844, -0.13153061270713806, -0.20938587188720703, -0.20361877977848053, 0.23379957675933838, 0.13988721370697021, 0.24531760811805725, 0.07599201798439026, -0.28362956643104553, 0.21256014704704285, 0.06874939054250717, -0.09739712625741959, 0.23033075034618378, 0.18469029664993286, -0.018191970884799957, -0.16417758166790009, 0.08357106894254684, -0.20106054842472076, 0.10842420905828476, -0.193659707903862, 0.22195938229560852, -0.10829208791255951, -0.009208363480865955, 0.24966946244239807, 0.015646759420633316, 0.2342974692583084, 0.21249912679195404, 0.11677907407283783, 0.10418538004159927, -0.18419334292411804, 0.30186760425567627, -0.38863465189933777, -0.26889434456825256, -0.29928019642829895, 0.29192519187927246, -0.2436915785074234, 0.40058377385139465, 0.14696262776851654, 0.020206915214657784, 0.3344917297363281, -0.0802331194281578, -0.16572441160678864, -0.04773218557238579, -0.27969124913215637, 0.42367950081825256, 0.1619410365819931, 0.18550260365009308, 0.1120438426733017, -0.11903166770935059, -0.01726965792477131, 0.192414790391922, 0.11186545342206955, -0.0003578001051209867, -0.09690282493829727, 0.1650528460741043, -0.5214839577674866, -0.025753043591976166, -0.03890756145119667, 0.18506669998168945, 0.42384397983551025, -0.2204320877790451, -0.2642202377319336, -0.09617114812135696, -0.11042379587888718, 0.05059889331459999, -0.006741649471223354, 0.032106079161167145, -0.39589598774909973, -0.08356718719005585, 0.22312361001968384, -0.07527405023574829, 0.13227687776088715, 0.23906220495700836, 0.3359697461128235, 0.19470827281475067, 0.459389865398407, 0.1487388014793396, -0.15402542054653168, -0.21984650194644928, 0.16983917355537415, 0.04663299024105072, -0.11064576357603073, 0.2878705859184265, -0.19861844182014465, 0.12931311130523682, -0.16063232719898224, -0.2005201280117035, 0.11713230609893799, 0.13107573986053467, 0.19588007032871246, 0.20154760777950287, 0.18483702838420868, -0.11989641934633255, 0.033635515719652176, 0.3754514455795288, -0.2689153552055359, -0.17267419397830963, 0.4163466989994049, -0.1828000694513321, 0.022121794521808624, -0.22898748517036438, -0.17063961923122406, -0.005750830285251141, -0.33289116621017456, -0.16002032160758972, 0.06112811714410782, 0.29159486293792725, -0.07391653954982758, 0.21522009372711182, 0.10206223279237747, 0.1387271285057068, -0.09747982770204544, -0.2823602557182312, -0.23718015849590302, -0.010296950116753578, -0.28680241107940674, -0.31501680612564087, -0.08793405443429947, 0.03934979811310768, 0.43111705780029297, 0.3270381987094879, -0.21457484364509583, -0.5552237629890442, -0.0017767956014722586, -0.16977886855602264, -0.03770125284790993, -0.03335807844996452, 0.11929860711097717, -0.0812738835811615, -0.29492682218551636, -0.26620638370513916, -0.2268150895833969, 0.23545095324516296, 0.009946023114025593, -0.08981170505285263, -0.08780281245708466, 0.28330516815185547, 0.23886658251285553, 0.31637004017829895, 0.1399245709180832, 0.09477955847978592, 0.3337412476539612, 0.07350965589284897, 0.29563379287719727, 0.18131928145885468, -0.020715290680527687, 0.34783947467803955, 0.1361154019832611, -0.2917272448539734, 0.10340519994497299, 0.02920636720955372, -0.2745837867259979, -0.0052015697583556175, -0.018068427219986916, 0.19990792870521545, -0.15882737934589386, -0.11257968097925186, 0.18931807577610016, 0.29050830006599426, 0.20521138608455658, 0.07673060148954391, -0.44463014602661133, -0.2511400282382965, 0.16118790209293365, -0.03285283222794533, -0.1212807446718216, -0.0427422896027565, -0.07404150068759918, 0.002831455087289214, -0.5355420708656311, 0.24221257865428925, 0.08598745614290237, 0.2681719660758972, -0.23803189396858215, -0.026134023442864418, -0.08161094039678574, -0.08164361119270325, 0.4353477656841278, -0.13014164566993713, -0.06737379729747772, -0.09254218637943268, -0.14944347739219666, -0.28204312920570374, 0.2102290391921997, -0.307629257440567, 0.18589603900909424, 0.0819685086607933, 0.31615930795669556, -0.2025635838508606, 0.0712847113609314, -0.01685999520123005, 0.19993695616722107, -0.19522610306739807, -0.3001009225845337, -0.12626181542873383, -0.25180166959762573, -0.08224111795425415, -0.07126355171203613, -0.22228461503982544, 0.12030879408121109, 0.15460968017578125, 0.05899810045957565, -0.013344385661184788, -0.17121531069278717, 0.21373297274112701, -0.05850069597363472, 0.13018439710140228, -0.483148992061615, -0.04047605022788048, 0.11219152808189392, -0.11566948890686035, 0.24895717203617096, 0.16406995058059692, 0.06040973588824272, -0.03508364036679268, 0.3263317942619324, -0.060115665197372437, 0.17516274750232697, 0.1349450647830963, -0.17026947438716888, 0.04117725417017937, 0.13091561198234558, 0.30043938755989075, -0.44465503096580505, 0.23293866217136383, 0.01715417392551899, 0.22851015627384186, -0.14868658781051636, 0.031187396496534348, 0.020613452419638634, 0.26870232820510864, -0.051980502903461456, 0.24294136464595795, 0.044297512620687485, -0.17937950789928436, 0.2792985141277313, 0.23356887698173523, 0.912203848361969, -0.30991414189338684, -0.1562071591615677, 0.6129957437515259, -0.14154087007045746, -0.03912428393959999, -0.18950559198856354, 0.36576083302497864, -0.17713484168052673, -0.1289394497871399, 0.10123330354690552, -0.1950998306274414, -0.06465234607458115, -0.2432493269443512, 0.11247535049915314, 0.4301513731479645, -0.007029160391539335, -0.01296117715537548, 0.06586981564760208, 0.0018542584730312228, -0.16560135781764984, -0.22444875538349152, 0.2711130380630493, 0.3247247636318207, -0.0666835606098175, -0.26538369059562683, -0.1319613754749298, 0.18274596333503723, 0.06200960651040077, -0.09725628793239594, -0.2740287482738495, -0.06110372394323349, -0.1098712831735611, 0.213889017701149, -0.3530615270137787, 0.15105974674224854, -0.32078903913497925, 0.21443165838718414, 0.36967629194259644, 0.13872270286083221, 0.1259545534849167, 0.05699528753757477, -0.041507262736558914, 0.035717107355594635, 0.053106728941202164, 0.1699286699295044, 0.18693682551383972, -0.22353120148181915, -0.3420296311378479, 0.11362195760011673, 0.08620867133140564, -0.44500070810317993, -0.043242380023002625, 0.06544798612594604, -0.18462830781936646, -0.09412214905023575, 0.08064750581979752, -0.30698829889297485, -0.23135438561439514, -0.22850626707077026, 0.22393332421779633, 0.13427571952342987, -0.278344988822937, 0.5446608066558838, 0.21620361506938934, -0.17026270925998688, -0.2002900093793869, 0.33617645502090454, 0.32756349444389343, -0.14062437415122986, 0.41539913415908813, -0.027641015127301216, -0.22932836413383484, -0.21936291456222534, -0.4390583038330078, 0.12018696963787079, 0.03371952846646309, 0.3303445875644684, 0.13686789572238922, -0.13080739974975586, -0.19678469002246857, 0.12543505430221558, 0.14984694123268127, 0.4011078476905823, 0.07308956235647202, -0.24962741136550903, -0.6142904758453369, 0.028322238475084305, -0.09965896606445312, -0.10867401212453842, -0.3114827871322632, -0.08189409226179123, -0.4791572690010071, 0.005582180805504322, -0.3942911922931671, 0.00798032432794571, -0.581803023815155, 0.1023159846663475, -0.02636854164302349, -0.10721148550510406, 0.17148855328559875, 0.1302701234817505, 0.24289287626743317, 0.47350552678108215, -0.061448898166418076, -0.26361653208732605, -0.01454895455390215, 0.056131478399038315, 0.006473957560956478, -0.14862465858459473, 0.06265523284673691, -0.006070774048566818, -0.07821591198444366, -0.1417342722415924, -0.1939256489276886, 0.4723917543888092, -0.18508629500865936, 0.07678768038749695, -0.040298111736774445, -0.005941664334386587, 0.5508782267570496, 0.2202310860157013, 0.12283103913068771, 0.4983886480331421, -0.19459748268127441, 0.13401596248149872, -0.10547854751348495, -0.1312570571899414, 0.12441399693489075, 0.06457047909498215, 0.08067400008440018, -0.1492699533700943, 0.2109382152557373, -0.21671710908412933, -0.19150851666927338, 0.09709810465574265, 0.3069373667240143, -0.15644174814224243, -0.20994675159454346, -0.2031978815793991, 0.021758340299129486, 0.3168581426143646, 0.043922897428274155, 0.05395124852657318, -0.0646153911948204, 0.023342184722423553, 0.15155503153800964, 0.21241740882396698, 0.06462276726961136, -0.21209804713726044, -0.011689292266964912, -0.04981377348303795, 0.28505703806877136, -0.2610410749912262, -0.38420000672340393, -0.48509281873703003, -0.21534526348114014, -0.08074834942817688, 0.10716333985328674, 0.1773255616426468, 0.26389575004577637, 0.5327090620994568, 0.15989390015602112, 0.5079995393753052, -0.1597263067960739, 0.05937561020255089, -0.17885617911815643, -0.39242300391197205, -0.1765020489692688, 0.3219278156757355, 0.1897849440574646, 0.1086415946483612, -0.27594804763793945, -0.0026721989270299673, 0.18627755343914032, 0.1424327790737152, -0.11788582801818848, -0.15796919167041779, -0.36204129457473755, 0.12406769394874573, 0.11566168069839478, -0.3213338255882263, 0.1453363448381424, 0.011214551515877247, 0.24002449214458466, 0.13478831946849823, 0.2699490189552307, -0.018652457743883133, -0.09914892911911011, 0.28072744607925415, 0.0900253877043724, 0.287993848323822, -0.09036877006292343, -0.2850996255874634, 0.05255821719765663, 0.4557914733886719, 0.19339312613010406, 0.19416576623916626, 0.24996428191661835, 0.4828992187976837, 0.3571332097053528, -0.11601674556732178, 0.09605303406715393, -0.08317007124423981, -0.24500083923339844, -0.2310701459646225, 0.26861807703971863, 0.36839979887008667, -0.12249664962291718, 0.24262888729572296, 0.1790810078382492, -0.24126002192497253, 0.11115627735853195, 0.08954475075006485, 0.16023744642734528, 0.019558003172278404, 0.15407097339630127, -0.1548652946949005, 0.04734872281551361, -0.14520420134067535, -0.3735290467739105, -0.36973491311073303, -0.008999819867312908, 0.05892578512430191, -0.2891274690628052, 0.2939562499523163, 0.0023878924548625946, 0.12025635689496994, -0.3840460181236267, 0.4920017421245575, 0.044743675738573074, -0.029142962768673897, -0.44938594102859497, -0.1745864450931549, -0.21782097220420837, 0.4429192841053009, -0.10789623111486435, 0.38233891129493713, -0.17667801678180695, 0.2774885296821594, -0.11382240056991577, -0.29393285512924194, 0.06263800710439682, 0.2538887858390808, -0.13295692205429077, 0.1109614446759224, -0.4148550033569336, -0.1191210150718689, 0.24647152423858643, -0.3301175534725189, 0.30556175112724304, -0.28650444746017456, 0.0038241290021687746, -0.3892669975757599, 0.25609663128852844, -0.09650667756795883, 0.23063351213932037, 0.08047729730606079, 0.6506862044334412, 0.11721969395875931, 0.3224923014640808, 0.5600289106369019, -0.17910195887088776, -0.2774541974067688, -0.06298912316560745, -0.2023514062166214, -0.23663613200187683, -0.17525266110897064, -0.016257615759968758, 0.3809337019920349, -0.19279125332832336, -0.14378811419010162, -0.1725330948829651, 0.31607306003570557, -0.14478980004787445, 0.07347949594259262, 0.03038998320698738, 0.33436402678489685, -0.16772739589214325, 0.022934792563319206, 0.1822415143251419, 0.16660456359386444, 0.40788888931274414, 0.4184737205505371, -0.1464945375919342, -0.2091168761253357, 0.45599880814552307, 0.10131923109292984, -0.4745692014694214, 0.03760065138339996, 0.0936150774359703, 0.26568564772605896, -0.32729724049568176, -0.5464821457862854, -0.09331151843070984, 0.21630974113941193, 0.13424158096313477, -0.18701530992984772, 0.07770439982414246, -0.06093163415789604, 0.12286385148763657, 0.2112281620502472, 0.018339475616812706, -0.14546501636505127, -0.4038732945919037, 0.025552932173013687, 0.08575735241174698 ]
https://github.com/huggingface/datasets/issues/2078
MemoryError when computing WER metric
Hi, I've just pushed a pull request that is related to this issue https://github.com/huggingface/datasets/pull/2169. It's not iterative, but it should avoid memory errors. It's based on the editdistance python library. An iterative implementation should be as easy as storing scores and words stepwise and dividing at the end.
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation: ``` wer = load_metric("wer") print(wer.compute(predictions=result["predicted"], references=result["target"])) ``` However, I receive the following exception: `Traceback (most recent call last): File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module> print(wer.compute(predictions=result["predicted"], references=result["target"])) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute output = self._compute(predictions=predictions, references=references, **kwargs) File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute return wer(references, predictions) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer truth, hypothesis, truth_transform, hypothesis_transform, **kwargs File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures H, S, D, I = _get_operation_counts(truth, hypothesis) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts editops = Levenshtein.editops(source_string, destination_string) MemoryError` My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
48
MemoryError when computing WER metric
[ -0.16400527954101562, -0.11851344257593155, -0.11197710782289505, 0.42964252829551697, 0.4142496585845947, -0.029726067557930946, -0.15687070786952972, 0.22753402590751648, 0.15494592487812042, 0.469943106174469, -0.04169744625687599, -0.20405283570289612, -0.15879051387310028, -0.3607625663280487, -0.40981554985046387, -0.14754711091518402, -0.1377190351486206, 0.07980351895093918, -0.3275156021118164, 0.08697982132434845, -0.3953317403793335, 0.09393288940191269, -0.23867501318454742, 0.07168731093406677, -0.2164166122674942, -0.10216986387968063, -0.17056018114089966, 0.2498825639486313, -0.23151220381259918, -0.16716374456882477, 0.07488510757684708, -0.13006362318992615, 0.042764365673065186, 0.38975954055786133, -0.00010526242840569466, -0.032223306596279144, 0.22476765513420105, -0.1220308244228363, -0.22706931829452515, 0.1904570758342743, -0.15038558840751648, -0.14698399603366852, -0.20377378165721893, -0.22183790802955627, -0.10678809881210327, 0.01338796503841877, 0.1107066348195076, -0.34909170866012573, -0.18316932022571564, 0.16737094521522522, 0.30890604853630066, 0.028812812641263008, 0.160141259431839, -0.27265244722366333, -0.0194908045232296, -0.20788142085075378, 0.1561831533908844, 0.17395979166030884, -0.0857311338186264, -0.045038215816020966, -0.48569491505622864, 0.23183023929595947, 0.17221906781196594, 0.23476752638816833, 0.1296936273574829, 0.04727790504693985, 0.16373632848262787, 0.3086504340171814, 0.10977287590503693, -0.2572634220123291, 0.2798325717449188, -0.21352022886276245, 0.027389738708734512, 0.43916869163513184, -0.16020168364048004, -0.4044969081878662, 0.3531990051269531, 0.05033343285322189, -0.4129526913166046, -0.012193744070827961, -0.27571332454681396, -0.3130571246147156, -0.44299113750457764, 0.07297772914171219, -0.17294228076934814, 0.2307528853416443, -0.019664142280817032, 0.09375055879354477, 0.2970885932445526, 0.11859119683504105, 0.00679384171962738, 0.12285538017749786, -0.04218405485153198, -0.3177367150783539, 0.007311155553907156, -0.09961912035942078, -0.05815903842449188, -0.21349528431892395, 0.060493651777505875, -0.21573671698570251, 0.26469725370407104, 0.1490793377161026, 0.31437918543815613, 0.20237569510936737, -0.08417484909296036, 0.6679657697677612, -0.03435119241476059, 0.110374815762043, 0.09626395255327225, 0.14455996453762054, -0.18384043872356415, -0.16474071145057678, 0.08160442858934402, -0.3282504975795746, 0.3157392144203186, 0.13352304697036743, -0.37596774101257324, -0.042425964027643204, -0.3132503032684326, 0.09085504710674286, -0.04254008084535599, 0.13393089175224304, 0.20328110456466675, 0.3124155104160309, 0.06216295436024666, 0.14045247435569763, 0.20702797174453735, 0.0649106353521347, -0.19403205811977386, 0.0063448334112763405, -0.3581600487232208, 0.19861865043640137, -0.2699809968471527, -0.11660267412662506, -0.07660292088985443, 0.24712404608726501, 0.14673598110675812, -0.31226229667663574, 0.14651593565940857, -0.2586148679256439, 0.16172228753566742, -0.2671006917953491, 0.1339389681816101, 0.2823275327682495, -0.03124302439391613, -0.04612021893262863, 0.17726846039295197, -0.02453864924609661, 0.1703442633152008, 0.22577519714832306, -0.07012417167425156, -0.31866455078125, 0.23133359849452972, 0.2574639618396759, -0.09484456479549408, 0.054240331053733826, -0.03383924439549446, 0.031188568100333214, 0.3663448989391327, 0.007977594621479511, -0.2933723032474518, 0.16368375718593597, -0.444174587726593, -0.2775132954120636, -0.01426731701940298, 0.1123436763882637, -0.12142515927553177, -0.218043252825737, 0.15497253835201263, -0.2790789306163788, 0.5127773880958557, 0.1574099063873291, 0.13117486238479614, -0.028479192405939102, -0.20252321660518646, 0.1262456774711609, 0.29150864481925964, -0.6022734045982361, -0.20661473274230957, 0.02148321270942688, -0.18277758359909058, -0.25908857583999634, 0.09872976690530777, -0.0338234007358551, 0.06119312718510628, 0.238643616437912, 0.3355896472930908, -0.17926828563213348, -0.22621288895606995, 0.03187311813235283, -0.2017054706811905, 0.013113264925777912, 0.3003746569156647, -0.04279100149869919, 0.6269462704658508, 0.048479221761226654, 0.1693681925535202, 0.25560736656188965, 0.09020363539457321, -0.09427221119403839, 0.1600494235754013, 0.23518700897693634, 0.23001903295516968, -0.4950178861618042, 0.23423761129379272, -0.14338575303554535, 0.17511659860610962, 0.007531620096415281, -0.14283441007137299, 0.27983763813972473, 0.2555452287197113, 0.4153672754764557, -0.08267713338136673, 0.14291176199913025, 0.18009983003139496, -0.02356717362999916, 0.31484708189964294, -0.02953191287815571, 0.011258750222623348, -0.22654646635055542, 0.017499107867479324, 0.13621042668819427, -0.4065679907798767, 0.05920412763953209, 0.13760317862033844, -0.13153061270713806, -0.20938587188720703, -0.20361877977848053, 0.23379957675933838, 0.13988721370697021, 0.24531760811805725, 0.07599201798439026, -0.28362956643104553, 0.21256014704704285, 0.06874939054250717, -0.09739712625741959, 0.23033075034618378, 0.18469029664993286, -0.018191970884799957, -0.16417758166790009, 0.08357106894254684, -0.20106054842472076, 0.10842420905828476, -0.193659707903862, 0.22195938229560852, -0.10829208791255951, -0.009208363480865955, 0.24966946244239807, 0.015646759420633316, 0.2342974692583084, 0.21249912679195404, 0.11677907407283783, 0.10418538004159927, -0.18419334292411804, 0.30186760425567627, -0.38863465189933777, -0.26889434456825256, -0.29928019642829895, 0.29192519187927246, -0.2436915785074234, 0.40058377385139465, 0.14696262776851654, 0.020206915214657784, 0.3344917297363281, -0.0802331194281578, -0.16572441160678864, -0.04773218557238579, -0.27969124913215637, 0.42367950081825256, 0.1619410365819931, 0.18550260365009308, 0.1120438426733017, -0.11903166770935059, -0.01726965792477131, 0.192414790391922, 0.11186545342206955, -0.0003578001051209867, -0.09690282493829727, 0.1650528460741043, -0.5214839577674866, -0.025753043591976166, -0.03890756145119667, 0.18506669998168945, 0.42384397983551025, -0.2204320877790451, -0.2642202377319336, -0.09617114812135696, -0.11042379587888718, 0.05059889331459999, -0.006741649471223354, 0.032106079161167145, -0.39589598774909973, -0.08356718719005585, 0.22312361001968384, -0.07527405023574829, 0.13227687776088715, 0.23906220495700836, 0.3359697461128235, 0.19470827281475067, 0.459389865398407, 0.1487388014793396, -0.15402542054653168, -0.21984650194644928, 0.16983917355537415, 0.04663299024105072, -0.11064576357603073, 0.2878705859184265, -0.19861844182014465, 0.12931311130523682, -0.16063232719898224, -0.2005201280117035, 0.11713230609893799, 0.13107573986053467, 0.19588007032871246, 0.20154760777950287, 0.18483702838420868, -0.11989641934633255, 0.033635515719652176, 0.3754514455795288, -0.2689153552055359, -0.17267419397830963, 0.4163466989994049, -0.1828000694513321, 0.022121794521808624, -0.22898748517036438, -0.17063961923122406, -0.005750830285251141, -0.33289116621017456, -0.16002032160758972, 0.06112811714410782, 0.29159486293792725, -0.07391653954982758, 0.21522009372711182, 0.10206223279237747, 0.1387271285057068, -0.09747982770204544, -0.2823602557182312, -0.23718015849590302, -0.010296950116753578, -0.28680241107940674, -0.31501680612564087, -0.08793405443429947, 0.03934979811310768, 0.43111705780029297, 0.3270381987094879, -0.21457484364509583, -0.5552237629890442, -0.0017767956014722586, -0.16977886855602264, -0.03770125284790993, -0.03335807844996452, 0.11929860711097717, -0.0812738835811615, -0.29492682218551636, -0.26620638370513916, -0.2268150895833969, 0.23545095324516296, 0.009946023114025593, -0.08981170505285263, -0.08780281245708466, 0.28330516815185547, 0.23886658251285553, 0.31637004017829895, 0.1399245709180832, 0.09477955847978592, 0.3337412476539612, 0.07350965589284897, 0.29563379287719727, 0.18131928145885468, -0.020715290680527687, 0.34783947467803955, 0.1361154019832611, -0.2917272448539734, 0.10340519994497299, 0.02920636720955372, -0.2745837867259979, -0.0052015697583556175, -0.018068427219986916, 0.19990792870521545, -0.15882737934589386, -0.11257968097925186, 0.18931807577610016, 0.29050830006599426, 0.20521138608455658, 0.07673060148954391, -0.44463014602661133, -0.2511400282382965, 0.16118790209293365, -0.03285283222794533, -0.1212807446718216, -0.0427422896027565, -0.07404150068759918, 0.002831455087289214, -0.5355420708656311, 0.24221257865428925, 0.08598745614290237, 0.2681719660758972, -0.23803189396858215, -0.026134023442864418, -0.08161094039678574, -0.08164361119270325, 0.4353477656841278, -0.13014164566993713, -0.06737379729747772, -0.09254218637943268, -0.14944347739219666, -0.28204312920570374, 0.2102290391921997, -0.307629257440567, 0.18589603900909424, 0.0819685086607933, 0.31615930795669556, -0.2025635838508606, 0.0712847113609314, -0.01685999520123005, 0.19993695616722107, -0.19522610306739807, -0.3001009225845337, -0.12626181542873383, -0.25180166959762573, -0.08224111795425415, -0.07126355171203613, -0.22228461503982544, 0.12030879408121109, 0.15460968017578125, 0.05899810045957565, -0.013344385661184788, -0.17121531069278717, 0.21373297274112701, -0.05850069597363472, 0.13018439710140228, -0.483148992061615, -0.04047605022788048, 0.11219152808189392, -0.11566948890686035, 0.24895717203617096, 0.16406995058059692, 0.06040973588824272, -0.03508364036679268, 0.3263317942619324, -0.060115665197372437, 0.17516274750232697, 0.1349450647830963, -0.17026947438716888, 0.04117725417017937, 0.13091561198234558, 0.30043938755989075, -0.44465503096580505, 0.23293866217136383, 0.01715417392551899, 0.22851015627384186, -0.14868658781051636, 0.031187396496534348, 0.020613452419638634, 0.26870232820510864, -0.051980502903461456, 0.24294136464595795, 0.044297512620687485, -0.17937950789928436, 0.2792985141277313, 0.23356887698173523, 0.912203848361969, -0.30991414189338684, -0.1562071591615677, 0.6129957437515259, -0.14154087007045746, -0.03912428393959999, -0.18950559198856354, 0.36576083302497864, -0.17713484168052673, -0.1289394497871399, 0.10123330354690552, -0.1950998306274414, -0.06465234607458115, -0.2432493269443512, 0.11247535049915314, 0.4301513731479645, -0.007029160391539335, -0.01296117715537548, 0.06586981564760208, 0.0018542584730312228, -0.16560135781764984, -0.22444875538349152, 0.2711130380630493, 0.3247247636318207, -0.0666835606098175, -0.26538369059562683, -0.1319613754749298, 0.18274596333503723, 0.06200960651040077, -0.09725628793239594, -0.2740287482738495, -0.06110372394323349, -0.1098712831735611, 0.213889017701149, -0.3530615270137787, 0.15105974674224854, -0.32078903913497925, 0.21443165838718414, 0.36967629194259644, 0.13872270286083221, 0.1259545534849167, 0.05699528753757477, -0.041507262736558914, 0.035717107355594635, 0.053106728941202164, 0.1699286699295044, 0.18693682551383972, -0.22353120148181915, -0.3420296311378479, 0.11362195760011673, 0.08620867133140564, -0.44500070810317993, -0.043242380023002625, 0.06544798612594604, -0.18462830781936646, -0.09412214905023575, 0.08064750581979752, -0.30698829889297485, -0.23135438561439514, -0.22850626707077026, 0.22393332421779633, 0.13427571952342987, -0.278344988822937, 0.5446608066558838, 0.21620361506938934, -0.17026270925998688, -0.2002900093793869, 0.33617645502090454, 0.32756349444389343, -0.14062437415122986, 0.41539913415908813, -0.027641015127301216, -0.22932836413383484, -0.21936291456222534, -0.4390583038330078, 0.12018696963787079, 0.03371952846646309, 0.3303445875644684, 0.13686789572238922, -0.13080739974975586, -0.19678469002246857, 0.12543505430221558, 0.14984694123268127, 0.4011078476905823, 0.07308956235647202, -0.24962741136550903, -0.6142904758453369, 0.028322238475084305, -0.09965896606445312, -0.10867401212453842, -0.3114827871322632, -0.08189409226179123, -0.4791572690010071, 0.005582180805504322, -0.3942911922931671, 0.00798032432794571, -0.581803023815155, 0.1023159846663475, -0.02636854164302349, -0.10721148550510406, 0.17148855328559875, 0.1302701234817505, 0.24289287626743317, 0.47350552678108215, -0.061448898166418076, -0.26361653208732605, -0.01454895455390215, 0.056131478399038315, 0.006473957560956478, -0.14862465858459473, 0.06265523284673691, -0.006070774048566818, -0.07821591198444366, -0.1417342722415924, -0.1939256489276886, 0.4723917543888092, -0.18508629500865936, 0.07678768038749695, -0.040298111736774445, -0.005941664334386587, 0.5508782267570496, 0.2202310860157013, 0.12283103913068771, 0.4983886480331421, -0.19459748268127441, 0.13401596248149872, -0.10547854751348495, -0.1312570571899414, 0.12441399693489075, 0.06457047909498215, 0.08067400008440018, -0.1492699533700943, 0.2109382152557373, -0.21671710908412933, -0.19150851666927338, 0.09709810465574265, 0.3069373667240143, -0.15644174814224243, -0.20994675159454346, -0.2031978815793991, 0.021758340299129486, 0.3168581426143646, 0.043922897428274155, 0.05395124852657318, -0.0646153911948204, 0.023342184722423553, 0.15155503153800964, 0.21241740882396698, 0.06462276726961136, -0.21209804713726044, -0.011689292266964912, -0.04981377348303795, 0.28505703806877136, -0.2610410749912262, -0.38420000672340393, -0.48509281873703003, -0.21534526348114014, -0.08074834942817688, 0.10716333985328674, 0.1773255616426468, 0.26389575004577637, 0.5327090620994568, 0.15989390015602112, 0.5079995393753052, -0.1597263067960739, 0.05937561020255089, -0.17885617911815643, -0.39242300391197205, -0.1765020489692688, 0.3219278156757355, 0.1897849440574646, 0.1086415946483612, -0.27594804763793945, -0.0026721989270299673, 0.18627755343914032, 0.1424327790737152, -0.11788582801818848, -0.15796919167041779, -0.36204129457473755, 0.12406769394874573, 0.11566168069839478, -0.3213338255882263, 0.1453363448381424, 0.011214551515877247, 0.24002449214458466, 0.13478831946849823, 0.2699490189552307, -0.018652457743883133, -0.09914892911911011, 0.28072744607925415, 0.0900253877043724, 0.287993848323822, -0.09036877006292343, -0.2850996255874634, 0.05255821719765663, 0.4557914733886719, 0.19339312613010406, 0.19416576623916626, 0.24996428191661835, 0.4828992187976837, 0.3571332097053528, -0.11601674556732178, 0.09605303406715393, -0.08317007124423981, -0.24500083923339844, -0.2310701459646225, 0.26861807703971863, 0.36839979887008667, -0.12249664962291718, 0.24262888729572296, 0.1790810078382492, -0.24126002192497253, 0.11115627735853195, 0.08954475075006485, 0.16023744642734528, 0.019558003172278404, 0.15407097339630127, -0.1548652946949005, 0.04734872281551361, -0.14520420134067535, -0.3735290467739105, -0.36973491311073303, -0.008999819867312908, 0.05892578512430191, -0.2891274690628052, 0.2939562499523163, 0.0023878924548625946, 0.12025635689496994, -0.3840460181236267, 0.4920017421245575, 0.044743675738573074, -0.029142962768673897, -0.44938594102859497, -0.1745864450931549, -0.21782097220420837, 0.4429192841053009, -0.10789623111486435, 0.38233891129493713, -0.17667801678180695, 0.2774885296821594, -0.11382240056991577, -0.29393285512924194, 0.06263800710439682, 0.2538887858390808, -0.13295692205429077, 0.1109614446759224, -0.4148550033569336, -0.1191210150718689, 0.24647152423858643, -0.3301175534725189, 0.30556175112724304, -0.28650444746017456, 0.0038241290021687746, -0.3892669975757599, 0.25609663128852844, -0.09650667756795883, 0.23063351213932037, 0.08047729730606079, 0.6506862044334412, 0.11721969395875931, 0.3224923014640808, 0.5600289106369019, -0.17910195887088776, -0.2774541974067688, -0.06298912316560745, -0.2023514062166214, -0.23663613200187683, -0.17525266110897064, -0.016257615759968758, 0.3809337019920349, -0.19279125332832336, -0.14378811419010162, -0.1725330948829651, 0.31607306003570557, -0.14478980004787445, 0.07347949594259262, 0.03038998320698738, 0.33436402678489685, -0.16772739589214325, 0.022934792563319206, 0.1822415143251419, 0.16660456359386444, 0.40788888931274414, 0.4184737205505371, -0.1464945375919342, -0.2091168761253357, 0.45599880814552307, 0.10131923109292984, -0.4745692014694214, 0.03760065138339996, 0.0936150774359703, 0.26568564772605896, -0.32729724049568176, -0.5464821457862854, -0.09331151843070984, 0.21630974113941193, 0.13424158096313477, -0.18701530992984772, 0.07770439982414246, -0.06093163415789604, 0.12286385148763657, 0.2112281620502472, 0.018339475616812706, -0.14546501636505127, -0.4038732945919037, 0.025552932173013687, 0.08575735241174698 ]
https://github.com/huggingface/datasets/issues/2078
MemoryError when computing WER metric
I see, this was solved by other thread. Ok, let me know if you want to switch the implementation for any reason :)
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation: ``` wer = load_metric("wer") print(wer.compute(predictions=result["predicted"], references=result["target"])) ``` However, I receive the following exception: `Traceback (most recent call last): File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module> print(wer.compute(predictions=result["predicted"], references=result["target"])) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute output = self._compute(predictions=predictions, references=references, **kwargs) File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute return wer(references, predictions) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer truth, hypothesis, truth_transform, hypothesis_transform, **kwargs File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures H, S, D, I = _get_operation_counts(truth, hypothesis) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts editops = Levenshtein.editops(source_string, destination_string) MemoryError` My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
23
MemoryError when computing WER metric
[ -0.16400527954101562, -0.11851344257593155, -0.11197710782289505, 0.42964252829551697, 0.4142496585845947, -0.029726067557930946, -0.15687070786952972, 0.22753402590751648, 0.15494592487812042, 0.469943106174469, -0.04169744625687599, -0.20405283570289612, -0.15879051387310028, -0.3607625663280487, -0.40981554985046387, -0.14754711091518402, -0.1377190351486206, 0.07980351895093918, -0.3275156021118164, 0.08697982132434845, -0.3953317403793335, 0.09393288940191269, -0.23867501318454742, 0.07168731093406677, -0.2164166122674942, -0.10216986387968063, -0.17056018114089966, 0.2498825639486313, -0.23151220381259918, -0.16716374456882477, 0.07488510757684708, -0.13006362318992615, 0.042764365673065186, 0.38975954055786133, -0.00010526242840569466, -0.032223306596279144, 0.22476765513420105, -0.1220308244228363, -0.22706931829452515, 0.1904570758342743, -0.15038558840751648, -0.14698399603366852, -0.20377378165721893, -0.22183790802955627, -0.10678809881210327, 0.01338796503841877, 0.1107066348195076, -0.34909170866012573, -0.18316932022571564, 0.16737094521522522, 0.30890604853630066, 0.028812812641263008, 0.160141259431839, -0.27265244722366333, -0.0194908045232296, -0.20788142085075378, 0.1561831533908844, 0.17395979166030884, -0.0857311338186264, -0.045038215816020966, -0.48569491505622864, 0.23183023929595947, 0.17221906781196594, 0.23476752638816833, 0.1296936273574829, 0.04727790504693985, 0.16373632848262787, 0.3086504340171814, 0.10977287590503693, -0.2572634220123291, 0.2798325717449188, -0.21352022886276245, 0.027389738708734512, 0.43916869163513184, -0.16020168364048004, -0.4044969081878662, 0.3531990051269531, 0.05033343285322189, -0.4129526913166046, -0.012193744070827961, -0.27571332454681396, -0.3130571246147156, -0.44299113750457764, 0.07297772914171219, -0.17294228076934814, 0.2307528853416443, -0.019664142280817032, 0.09375055879354477, 0.2970885932445526, 0.11859119683504105, 0.00679384171962738, 0.12285538017749786, -0.04218405485153198, -0.3177367150783539, 0.007311155553907156, -0.09961912035942078, -0.05815903842449188, -0.21349528431892395, 0.060493651777505875, -0.21573671698570251, 0.26469725370407104, 0.1490793377161026, 0.31437918543815613, 0.20237569510936737, -0.08417484909296036, 0.6679657697677612, -0.03435119241476059, 0.110374815762043, 0.09626395255327225, 0.14455996453762054, -0.18384043872356415, -0.16474071145057678, 0.08160442858934402, -0.3282504975795746, 0.3157392144203186, 0.13352304697036743, -0.37596774101257324, -0.042425964027643204, -0.3132503032684326, 0.09085504710674286, -0.04254008084535599, 0.13393089175224304, 0.20328110456466675, 0.3124155104160309, 0.06216295436024666, 0.14045247435569763, 0.20702797174453735, 0.0649106353521347, -0.19403205811977386, 0.0063448334112763405, -0.3581600487232208, 0.19861865043640137, -0.2699809968471527, -0.11660267412662506, -0.07660292088985443, 0.24712404608726501, 0.14673598110675812, -0.31226229667663574, 0.14651593565940857, -0.2586148679256439, 0.16172228753566742, -0.2671006917953491, 0.1339389681816101, 0.2823275327682495, -0.03124302439391613, -0.04612021893262863, 0.17726846039295197, -0.02453864924609661, 0.1703442633152008, 0.22577519714832306, -0.07012417167425156, -0.31866455078125, 0.23133359849452972, 0.2574639618396759, -0.09484456479549408, 0.054240331053733826, -0.03383924439549446, 0.031188568100333214, 0.3663448989391327, 0.007977594621479511, -0.2933723032474518, 0.16368375718593597, -0.444174587726593, -0.2775132954120636, -0.01426731701940298, 0.1123436763882637, -0.12142515927553177, -0.218043252825737, 0.15497253835201263, -0.2790789306163788, 0.5127773880958557, 0.1574099063873291, 0.13117486238479614, -0.028479192405939102, -0.20252321660518646, 0.1262456774711609, 0.29150864481925964, -0.6022734045982361, -0.20661473274230957, 0.02148321270942688, -0.18277758359909058, -0.25908857583999634, 0.09872976690530777, -0.0338234007358551, 0.06119312718510628, 0.238643616437912, 0.3355896472930908, -0.17926828563213348, -0.22621288895606995, 0.03187311813235283, -0.2017054706811905, 0.013113264925777912, 0.3003746569156647, -0.04279100149869919, 0.6269462704658508, 0.048479221761226654, 0.1693681925535202, 0.25560736656188965, 0.09020363539457321, -0.09427221119403839, 0.1600494235754013, 0.23518700897693634, 0.23001903295516968, -0.4950178861618042, 0.23423761129379272, -0.14338575303554535, 0.17511659860610962, 0.007531620096415281, -0.14283441007137299, 0.27983763813972473, 0.2555452287197113, 0.4153672754764557, -0.08267713338136673, 0.14291176199913025, 0.18009983003139496, -0.02356717362999916, 0.31484708189964294, -0.02953191287815571, 0.011258750222623348, -0.22654646635055542, 0.017499107867479324, 0.13621042668819427, -0.4065679907798767, 0.05920412763953209, 0.13760317862033844, -0.13153061270713806, -0.20938587188720703, -0.20361877977848053, 0.23379957675933838, 0.13988721370697021, 0.24531760811805725, 0.07599201798439026, -0.28362956643104553, 0.21256014704704285, 0.06874939054250717, -0.09739712625741959, 0.23033075034618378, 0.18469029664993286, -0.018191970884799957, -0.16417758166790009, 0.08357106894254684, -0.20106054842472076, 0.10842420905828476, -0.193659707903862, 0.22195938229560852, -0.10829208791255951, -0.009208363480865955, 0.24966946244239807, 0.015646759420633316, 0.2342974692583084, 0.21249912679195404, 0.11677907407283783, 0.10418538004159927, -0.18419334292411804, 0.30186760425567627, -0.38863465189933777, -0.26889434456825256, -0.29928019642829895, 0.29192519187927246, -0.2436915785074234, 0.40058377385139465, 0.14696262776851654, 0.020206915214657784, 0.3344917297363281, -0.0802331194281578, -0.16572441160678864, -0.04773218557238579, -0.27969124913215637, 0.42367950081825256, 0.1619410365819931, 0.18550260365009308, 0.1120438426733017, -0.11903166770935059, -0.01726965792477131, 0.192414790391922, 0.11186545342206955, -0.0003578001051209867, -0.09690282493829727, 0.1650528460741043, -0.5214839577674866, -0.025753043591976166, -0.03890756145119667, 0.18506669998168945, 0.42384397983551025, -0.2204320877790451, -0.2642202377319336, -0.09617114812135696, -0.11042379587888718, 0.05059889331459999, -0.006741649471223354, 0.032106079161167145, -0.39589598774909973, -0.08356718719005585, 0.22312361001968384, -0.07527405023574829, 0.13227687776088715, 0.23906220495700836, 0.3359697461128235, 0.19470827281475067, 0.459389865398407, 0.1487388014793396, -0.15402542054653168, -0.21984650194644928, 0.16983917355537415, 0.04663299024105072, -0.11064576357603073, 0.2878705859184265, -0.19861844182014465, 0.12931311130523682, -0.16063232719898224, -0.2005201280117035, 0.11713230609893799, 0.13107573986053467, 0.19588007032871246, 0.20154760777950287, 0.18483702838420868, -0.11989641934633255, 0.033635515719652176, 0.3754514455795288, -0.2689153552055359, -0.17267419397830963, 0.4163466989994049, -0.1828000694513321, 0.022121794521808624, -0.22898748517036438, -0.17063961923122406, -0.005750830285251141, -0.33289116621017456, -0.16002032160758972, 0.06112811714410782, 0.29159486293792725, -0.07391653954982758, 0.21522009372711182, 0.10206223279237747, 0.1387271285057068, -0.09747982770204544, -0.2823602557182312, -0.23718015849590302, -0.010296950116753578, -0.28680241107940674, -0.31501680612564087, -0.08793405443429947, 0.03934979811310768, 0.43111705780029297, 0.3270381987094879, -0.21457484364509583, -0.5552237629890442, -0.0017767956014722586, -0.16977886855602264, -0.03770125284790993, -0.03335807844996452, 0.11929860711097717, -0.0812738835811615, -0.29492682218551636, -0.26620638370513916, -0.2268150895833969, 0.23545095324516296, 0.009946023114025593, -0.08981170505285263, -0.08780281245708466, 0.28330516815185547, 0.23886658251285553, 0.31637004017829895, 0.1399245709180832, 0.09477955847978592, 0.3337412476539612, 0.07350965589284897, 0.29563379287719727, 0.18131928145885468, -0.020715290680527687, 0.34783947467803955, 0.1361154019832611, -0.2917272448539734, 0.10340519994497299, 0.02920636720955372, -0.2745837867259979, -0.0052015697583556175, -0.018068427219986916, 0.19990792870521545, -0.15882737934589386, -0.11257968097925186, 0.18931807577610016, 0.29050830006599426, 0.20521138608455658, 0.07673060148954391, -0.44463014602661133, -0.2511400282382965, 0.16118790209293365, -0.03285283222794533, -0.1212807446718216, -0.0427422896027565, -0.07404150068759918, 0.002831455087289214, -0.5355420708656311, 0.24221257865428925, 0.08598745614290237, 0.2681719660758972, -0.23803189396858215, -0.026134023442864418, -0.08161094039678574, -0.08164361119270325, 0.4353477656841278, -0.13014164566993713, -0.06737379729747772, -0.09254218637943268, -0.14944347739219666, -0.28204312920570374, 0.2102290391921997, -0.307629257440567, 0.18589603900909424, 0.0819685086607933, 0.31615930795669556, -0.2025635838508606, 0.0712847113609314, -0.01685999520123005, 0.19993695616722107, -0.19522610306739807, -0.3001009225845337, -0.12626181542873383, -0.25180166959762573, -0.08224111795425415, -0.07126355171203613, -0.22228461503982544, 0.12030879408121109, 0.15460968017578125, 0.05899810045957565, -0.013344385661184788, -0.17121531069278717, 0.21373297274112701, -0.05850069597363472, 0.13018439710140228, -0.483148992061615, -0.04047605022788048, 0.11219152808189392, -0.11566948890686035, 0.24895717203617096, 0.16406995058059692, 0.06040973588824272, -0.03508364036679268, 0.3263317942619324, -0.060115665197372437, 0.17516274750232697, 0.1349450647830963, -0.17026947438716888, 0.04117725417017937, 0.13091561198234558, 0.30043938755989075, -0.44465503096580505, 0.23293866217136383, 0.01715417392551899, 0.22851015627384186, -0.14868658781051636, 0.031187396496534348, 0.020613452419638634, 0.26870232820510864, -0.051980502903461456, 0.24294136464595795, 0.044297512620687485, -0.17937950789928436, 0.2792985141277313, 0.23356887698173523, 0.912203848361969, -0.30991414189338684, -0.1562071591615677, 0.6129957437515259, -0.14154087007045746, -0.03912428393959999, -0.18950559198856354, 0.36576083302497864, -0.17713484168052673, -0.1289394497871399, 0.10123330354690552, -0.1950998306274414, -0.06465234607458115, -0.2432493269443512, 0.11247535049915314, 0.4301513731479645, -0.007029160391539335, -0.01296117715537548, 0.06586981564760208, 0.0018542584730312228, -0.16560135781764984, -0.22444875538349152, 0.2711130380630493, 0.3247247636318207, -0.0666835606098175, -0.26538369059562683, -0.1319613754749298, 0.18274596333503723, 0.06200960651040077, -0.09725628793239594, -0.2740287482738495, -0.06110372394323349, -0.1098712831735611, 0.213889017701149, -0.3530615270137787, 0.15105974674224854, -0.32078903913497925, 0.21443165838718414, 0.36967629194259644, 0.13872270286083221, 0.1259545534849167, 0.05699528753757477, -0.041507262736558914, 0.035717107355594635, 0.053106728941202164, 0.1699286699295044, 0.18693682551383972, -0.22353120148181915, -0.3420296311378479, 0.11362195760011673, 0.08620867133140564, -0.44500070810317993, -0.043242380023002625, 0.06544798612594604, -0.18462830781936646, -0.09412214905023575, 0.08064750581979752, -0.30698829889297485, -0.23135438561439514, -0.22850626707077026, 0.22393332421779633, 0.13427571952342987, -0.278344988822937, 0.5446608066558838, 0.21620361506938934, -0.17026270925998688, -0.2002900093793869, 0.33617645502090454, 0.32756349444389343, -0.14062437415122986, 0.41539913415908813, -0.027641015127301216, -0.22932836413383484, -0.21936291456222534, -0.4390583038330078, 0.12018696963787079, 0.03371952846646309, 0.3303445875644684, 0.13686789572238922, -0.13080739974975586, -0.19678469002246857, 0.12543505430221558, 0.14984694123268127, 0.4011078476905823, 0.07308956235647202, -0.24962741136550903, -0.6142904758453369, 0.028322238475084305, -0.09965896606445312, -0.10867401212453842, -0.3114827871322632, -0.08189409226179123, -0.4791572690010071, 0.005582180805504322, -0.3942911922931671, 0.00798032432794571, -0.581803023815155, 0.1023159846663475, -0.02636854164302349, -0.10721148550510406, 0.17148855328559875, 0.1302701234817505, 0.24289287626743317, 0.47350552678108215, -0.061448898166418076, -0.26361653208732605, -0.01454895455390215, 0.056131478399038315, 0.006473957560956478, -0.14862465858459473, 0.06265523284673691, -0.006070774048566818, -0.07821591198444366, -0.1417342722415924, -0.1939256489276886, 0.4723917543888092, -0.18508629500865936, 0.07678768038749695, -0.040298111736774445, -0.005941664334386587, 0.5508782267570496, 0.2202310860157013, 0.12283103913068771, 0.4983886480331421, -0.19459748268127441, 0.13401596248149872, -0.10547854751348495, -0.1312570571899414, 0.12441399693489075, 0.06457047909498215, 0.08067400008440018, -0.1492699533700943, 0.2109382152557373, -0.21671710908412933, -0.19150851666927338, 0.09709810465574265, 0.3069373667240143, -0.15644174814224243, -0.20994675159454346, -0.2031978815793991, 0.021758340299129486, 0.3168581426143646, 0.043922897428274155, 0.05395124852657318, -0.0646153911948204, 0.023342184722423553, 0.15155503153800964, 0.21241740882396698, 0.06462276726961136, -0.21209804713726044, -0.011689292266964912, -0.04981377348303795, 0.28505703806877136, -0.2610410749912262, -0.38420000672340393, -0.48509281873703003, -0.21534526348114014, -0.08074834942817688, 0.10716333985328674, 0.1773255616426468, 0.26389575004577637, 0.5327090620994568, 0.15989390015602112, 0.5079995393753052, -0.1597263067960739, 0.05937561020255089, -0.17885617911815643, -0.39242300391197205, -0.1765020489692688, 0.3219278156757355, 0.1897849440574646, 0.1086415946483612, -0.27594804763793945, -0.0026721989270299673, 0.18627755343914032, 0.1424327790737152, -0.11788582801818848, -0.15796919167041779, -0.36204129457473755, 0.12406769394874573, 0.11566168069839478, -0.3213338255882263, 0.1453363448381424, 0.011214551515877247, 0.24002449214458466, 0.13478831946849823, 0.2699490189552307, -0.018652457743883133, -0.09914892911911011, 0.28072744607925415, 0.0900253877043724, 0.287993848323822, -0.09036877006292343, -0.2850996255874634, 0.05255821719765663, 0.4557914733886719, 0.19339312613010406, 0.19416576623916626, 0.24996428191661835, 0.4828992187976837, 0.3571332097053528, -0.11601674556732178, 0.09605303406715393, -0.08317007124423981, -0.24500083923339844, -0.2310701459646225, 0.26861807703971863, 0.36839979887008667, -0.12249664962291718, 0.24262888729572296, 0.1790810078382492, -0.24126002192497253, 0.11115627735853195, 0.08954475075006485, 0.16023744642734528, 0.019558003172278404, 0.15407097339630127, -0.1548652946949005, 0.04734872281551361, -0.14520420134067535, -0.3735290467739105, -0.36973491311073303, -0.008999819867312908, 0.05892578512430191, -0.2891274690628052, 0.2939562499523163, 0.0023878924548625946, 0.12025635689496994, -0.3840460181236267, 0.4920017421245575, 0.044743675738573074, -0.029142962768673897, -0.44938594102859497, -0.1745864450931549, -0.21782097220420837, 0.4429192841053009, -0.10789623111486435, 0.38233891129493713, -0.17667801678180695, 0.2774885296821594, -0.11382240056991577, -0.29393285512924194, 0.06263800710439682, 0.2538887858390808, -0.13295692205429077, 0.1109614446759224, -0.4148550033569336, -0.1191210150718689, 0.24647152423858643, -0.3301175534725189, 0.30556175112724304, -0.28650444746017456, 0.0038241290021687746, -0.3892669975757599, 0.25609663128852844, -0.09650667756795883, 0.23063351213932037, 0.08047729730606079, 0.6506862044334412, 0.11721969395875931, 0.3224923014640808, 0.5600289106369019, -0.17910195887088776, -0.2774541974067688, -0.06298912316560745, -0.2023514062166214, -0.23663613200187683, -0.17525266110897064, -0.016257615759968758, 0.3809337019920349, -0.19279125332832336, -0.14378811419010162, -0.1725330948829651, 0.31607306003570557, -0.14478980004787445, 0.07347949594259262, 0.03038998320698738, 0.33436402678489685, -0.16772739589214325, 0.022934792563319206, 0.1822415143251419, 0.16660456359386444, 0.40788888931274414, 0.4184737205505371, -0.1464945375919342, -0.2091168761253357, 0.45599880814552307, 0.10131923109292984, -0.4745692014694214, 0.03760065138339996, 0.0936150774359703, 0.26568564772605896, -0.32729724049568176, -0.5464821457862854, -0.09331151843070984, 0.21630974113941193, 0.13424158096313477, -0.18701530992984772, 0.07770439982414246, -0.06093163415789604, 0.12286385148763657, 0.2112281620502472, 0.018339475616812706, -0.14546501636505127, -0.4038732945919037, 0.025552932173013687, 0.08575735241174698 ]
https://github.com/huggingface/datasets/issues/2078
MemoryError when computing WER metric
Thanks for diving into this anyway ^^' As you said this actually got solved a few days ago
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation: ``` wer = load_metric("wer") print(wer.compute(predictions=result["predicted"], references=result["target"])) ``` However, I receive the following exception: `Traceback (most recent call last): File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module> print(wer.compute(predictions=result["predicted"], references=result["target"])) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute output = self._compute(predictions=predictions, references=references, **kwargs) File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute return wer(references, predictions) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer truth, hypothesis, truth_transform, hypothesis_transform, **kwargs File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures H, S, D, I = _get_operation_counts(truth, hypothesis) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts editops = Levenshtein.editops(source_string, destination_string) MemoryError` My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
18
MemoryError when computing WER metric
[ -0.16400527954101562, -0.11851344257593155, -0.11197710782289505, 0.42964252829551697, 0.4142496585845947, -0.029726067557930946, -0.15687070786952972, 0.22753402590751648, 0.15494592487812042, 0.469943106174469, -0.04169744625687599, -0.20405283570289612, -0.15879051387310028, -0.3607625663280487, -0.40981554985046387, -0.14754711091518402, -0.1377190351486206, 0.07980351895093918, -0.3275156021118164, 0.08697982132434845, -0.3953317403793335, 0.09393288940191269, -0.23867501318454742, 0.07168731093406677, -0.2164166122674942, -0.10216986387968063, -0.17056018114089966, 0.2498825639486313, -0.23151220381259918, -0.16716374456882477, 0.07488510757684708, -0.13006362318992615, 0.042764365673065186, 0.38975954055786133, -0.00010526242840569466, -0.032223306596279144, 0.22476765513420105, -0.1220308244228363, -0.22706931829452515, 0.1904570758342743, -0.15038558840751648, -0.14698399603366852, -0.20377378165721893, -0.22183790802955627, -0.10678809881210327, 0.01338796503841877, 0.1107066348195076, -0.34909170866012573, -0.18316932022571564, 0.16737094521522522, 0.30890604853630066, 0.028812812641263008, 0.160141259431839, -0.27265244722366333, -0.0194908045232296, -0.20788142085075378, 0.1561831533908844, 0.17395979166030884, -0.0857311338186264, -0.045038215816020966, -0.48569491505622864, 0.23183023929595947, 0.17221906781196594, 0.23476752638816833, 0.1296936273574829, 0.04727790504693985, 0.16373632848262787, 0.3086504340171814, 0.10977287590503693, -0.2572634220123291, 0.2798325717449188, -0.21352022886276245, 0.027389738708734512, 0.43916869163513184, -0.16020168364048004, -0.4044969081878662, 0.3531990051269531, 0.05033343285322189, -0.4129526913166046, -0.012193744070827961, -0.27571332454681396, -0.3130571246147156, -0.44299113750457764, 0.07297772914171219, -0.17294228076934814, 0.2307528853416443, -0.019664142280817032, 0.09375055879354477, 0.2970885932445526, 0.11859119683504105, 0.00679384171962738, 0.12285538017749786, -0.04218405485153198, -0.3177367150783539, 0.007311155553907156, -0.09961912035942078, -0.05815903842449188, -0.21349528431892395, 0.060493651777505875, -0.21573671698570251, 0.26469725370407104, 0.1490793377161026, 0.31437918543815613, 0.20237569510936737, -0.08417484909296036, 0.6679657697677612, -0.03435119241476059, 0.110374815762043, 0.09626395255327225, 0.14455996453762054, -0.18384043872356415, -0.16474071145057678, 0.08160442858934402, -0.3282504975795746, 0.3157392144203186, 0.13352304697036743, -0.37596774101257324, -0.042425964027643204, -0.3132503032684326, 0.09085504710674286, -0.04254008084535599, 0.13393089175224304, 0.20328110456466675, 0.3124155104160309, 0.06216295436024666, 0.14045247435569763, 0.20702797174453735, 0.0649106353521347, -0.19403205811977386, 0.0063448334112763405, -0.3581600487232208, 0.19861865043640137, -0.2699809968471527, -0.11660267412662506, -0.07660292088985443, 0.24712404608726501, 0.14673598110675812, -0.31226229667663574, 0.14651593565940857, -0.2586148679256439, 0.16172228753566742, -0.2671006917953491, 0.1339389681816101, 0.2823275327682495, -0.03124302439391613, -0.04612021893262863, 0.17726846039295197, -0.02453864924609661, 0.1703442633152008, 0.22577519714832306, -0.07012417167425156, -0.31866455078125, 0.23133359849452972, 0.2574639618396759, -0.09484456479549408, 0.054240331053733826, -0.03383924439549446, 0.031188568100333214, 0.3663448989391327, 0.007977594621479511, -0.2933723032474518, 0.16368375718593597, -0.444174587726593, -0.2775132954120636, -0.01426731701940298, 0.1123436763882637, -0.12142515927553177, -0.218043252825737, 0.15497253835201263, -0.2790789306163788, 0.5127773880958557, 0.1574099063873291, 0.13117486238479614, -0.028479192405939102, -0.20252321660518646, 0.1262456774711609, 0.29150864481925964, -0.6022734045982361, -0.20661473274230957, 0.02148321270942688, -0.18277758359909058, -0.25908857583999634, 0.09872976690530777, -0.0338234007358551, 0.06119312718510628, 0.238643616437912, 0.3355896472930908, -0.17926828563213348, -0.22621288895606995, 0.03187311813235283, -0.2017054706811905, 0.013113264925777912, 0.3003746569156647, -0.04279100149869919, 0.6269462704658508, 0.048479221761226654, 0.1693681925535202, 0.25560736656188965, 0.09020363539457321, -0.09427221119403839, 0.1600494235754013, 0.23518700897693634, 0.23001903295516968, -0.4950178861618042, 0.23423761129379272, -0.14338575303554535, 0.17511659860610962, 0.007531620096415281, -0.14283441007137299, 0.27983763813972473, 0.2555452287197113, 0.4153672754764557, -0.08267713338136673, 0.14291176199913025, 0.18009983003139496, -0.02356717362999916, 0.31484708189964294, -0.02953191287815571, 0.011258750222623348, -0.22654646635055542, 0.017499107867479324, 0.13621042668819427, -0.4065679907798767, 0.05920412763953209, 0.13760317862033844, -0.13153061270713806, -0.20938587188720703, -0.20361877977848053, 0.23379957675933838, 0.13988721370697021, 0.24531760811805725, 0.07599201798439026, -0.28362956643104553, 0.21256014704704285, 0.06874939054250717, -0.09739712625741959, 0.23033075034618378, 0.18469029664993286, -0.018191970884799957, -0.16417758166790009, 0.08357106894254684, -0.20106054842472076, 0.10842420905828476, -0.193659707903862, 0.22195938229560852, -0.10829208791255951, -0.009208363480865955, 0.24966946244239807, 0.015646759420633316, 0.2342974692583084, 0.21249912679195404, 0.11677907407283783, 0.10418538004159927, -0.18419334292411804, 0.30186760425567627, -0.38863465189933777, -0.26889434456825256, -0.29928019642829895, 0.29192519187927246, -0.2436915785074234, 0.40058377385139465, 0.14696262776851654, 0.020206915214657784, 0.3344917297363281, -0.0802331194281578, -0.16572441160678864, -0.04773218557238579, -0.27969124913215637, 0.42367950081825256, 0.1619410365819931, 0.18550260365009308, 0.1120438426733017, -0.11903166770935059, -0.01726965792477131, 0.192414790391922, 0.11186545342206955, -0.0003578001051209867, -0.09690282493829727, 0.1650528460741043, -0.5214839577674866, -0.025753043591976166, -0.03890756145119667, 0.18506669998168945, 0.42384397983551025, -0.2204320877790451, -0.2642202377319336, -0.09617114812135696, -0.11042379587888718, 0.05059889331459999, -0.006741649471223354, 0.032106079161167145, -0.39589598774909973, -0.08356718719005585, 0.22312361001968384, -0.07527405023574829, 0.13227687776088715, 0.23906220495700836, 0.3359697461128235, 0.19470827281475067, 0.459389865398407, 0.1487388014793396, -0.15402542054653168, -0.21984650194644928, 0.16983917355537415, 0.04663299024105072, -0.11064576357603073, 0.2878705859184265, -0.19861844182014465, 0.12931311130523682, -0.16063232719898224, -0.2005201280117035, 0.11713230609893799, 0.13107573986053467, 0.19588007032871246, 0.20154760777950287, 0.18483702838420868, -0.11989641934633255, 0.033635515719652176, 0.3754514455795288, -0.2689153552055359, -0.17267419397830963, 0.4163466989994049, -0.1828000694513321, 0.022121794521808624, -0.22898748517036438, -0.17063961923122406, -0.005750830285251141, -0.33289116621017456, -0.16002032160758972, 0.06112811714410782, 0.29159486293792725, -0.07391653954982758, 0.21522009372711182, 0.10206223279237747, 0.1387271285057068, -0.09747982770204544, -0.2823602557182312, -0.23718015849590302, -0.010296950116753578, -0.28680241107940674, -0.31501680612564087, -0.08793405443429947, 0.03934979811310768, 0.43111705780029297, 0.3270381987094879, -0.21457484364509583, -0.5552237629890442, -0.0017767956014722586, -0.16977886855602264, -0.03770125284790993, -0.03335807844996452, 0.11929860711097717, -0.0812738835811615, -0.29492682218551636, -0.26620638370513916, -0.2268150895833969, 0.23545095324516296, 0.009946023114025593, -0.08981170505285263, -0.08780281245708466, 0.28330516815185547, 0.23886658251285553, 0.31637004017829895, 0.1399245709180832, 0.09477955847978592, 0.3337412476539612, 0.07350965589284897, 0.29563379287719727, 0.18131928145885468, -0.020715290680527687, 0.34783947467803955, 0.1361154019832611, -0.2917272448539734, 0.10340519994497299, 0.02920636720955372, -0.2745837867259979, -0.0052015697583556175, -0.018068427219986916, 0.19990792870521545, -0.15882737934589386, -0.11257968097925186, 0.18931807577610016, 0.29050830006599426, 0.20521138608455658, 0.07673060148954391, -0.44463014602661133, -0.2511400282382965, 0.16118790209293365, -0.03285283222794533, -0.1212807446718216, -0.0427422896027565, -0.07404150068759918, 0.002831455087289214, -0.5355420708656311, 0.24221257865428925, 0.08598745614290237, 0.2681719660758972, -0.23803189396858215, -0.026134023442864418, -0.08161094039678574, -0.08164361119270325, 0.4353477656841278, -0.13014164566993713, -0.06737379729747772, -0.09254218637943268, -0.14944347739219666, -0.28204312920570374, 0.2102290391921997, -0.307629257440567, 0.18589603900909424, 0.0819685086607933, 0.31615930795669556, -0.2025635838508606, 0.0712847113609314, -0.01685999520123005, 0.19993695616722107, -0.19522610306739807, -0.3001009225845337, -0.12626181542873383, -0.25180166959762573, -0.08224111795425415, -0.07126355171203613, -0.22228461503982544, 0.12030879408121109, 0.15460968017578125, 0.05899810045957565, -0.013344385661184788, -0.17121531069278717, 0.21373297274112701, -0.05850069597363472, 0.13018439710140228, -0.483148992061615, -0.04047605022788048, 0.11219152808189392, -0.11566948890686035, 0.24895717203617096, 0.16406995058059692, 0.06040973588824272, -0.03508364036679268, 0.3263317942619324, -0.060115665197372437, 0.17516274750232697, 0.1349450647830963, -0.17026947438716888, 0.04117725417017937, 0.13091561198234558, 0.30043938755989075, -0.44465503096580505, 0.23293866217136383, 0.01715417392551899, 0.22851015627384186, -0.14868658781051636, 0.031187396496534348, 0.020613452419638634, 0.26870232820510864, -0.051980502903461456, 0.24294136464595795, 0.044297512620687485, -0.17937950789928436, 0.2792985141277313, 0.23356887698173523, 0.912203848361969, -0.30991414189338684, -0.1562071591615677, 0.6129957437515259, -0.14154087007045746, -0.03912428393959999, -0.18950559198856354, 0.36576083302497864, -0.17713484168052673, -0.1289394497871399, 0.10123330354690552, -0.1950998306274414, -0.06465234607458115, -0.2432493269443512, 0.11247535049915314, 0.4301513731479645, -0.007029160391539335, -0.01296117715537548, 0.06586981564760208, 0.0018542584730312228, -0.16560135781764984, -0.22444875538349152, 0.2711130380630493, 0.3247247636318207, -0.0666835606098175, -0.26538369059562683, -0.1319613754749298, 0.18274596333503723, 0.06200960651040077, -0.09725628793239594, -0.2740287482738495, -0.06110372394323349, -0.1098712831735611, 0.213889017701149, -0.3530615270137787, 0.15105974674224854, -0.32078903913497925, 0.21443165838718414, 0.36967629194259644, 0.13872270286083221, 0.1259545534849167, 0.05699528753757477, -0.041507262736558914, 0.035717107355594635, 0.053106728941202164, 0.1699286699295044, 0.18693682551383972, -0.22353120148181915, -0.3420296311378479, 0.11362195760011673, 0.08620867133140564, -0.44500070810317993, -0.043242380023002625, 0.06544798612594604, -0.18462830781936646, -0.09412214905023575, 0.08064750581979752, -0.30698829889297485, -0.23135438561439514, -0.22850626707077026, 0.22393332421779633, 0.13427571952342987, -0.278344988822937, 0.5446608066558838, 0.21620361506938934, -0.17026270925998688, -0.2002900093793869, 0.33617645502090454, 0.32756349444389343, -0.14062437415122986, 0.41539913415908813, -0.027641015127301216, -0.22932836413383484, -0.21936291456222534, -0.4390583038330078, 0.12018696963787079, 0.03371952846646309, 0.3303445875644684, 0.13686789572238922, -0.13080739974975586, -0.19678469002246857, 0.12543505430221558, 0.14984694123268127, 0.4011078476905823, 0.07308956235647202, -0.24962741136550903, -0.6142904758453369, 0.028322238475084305, -0.09965896606445312, -0.10867401212453842, -0.3114827871322632, -0.08189409226179123, -0.4791572690010071, 0.005582180805504322, -0.3942911922931671, 0.00798032432794571, -0.581803023815155, 0.1023159846663475, -0.02636854164302349, -0.10721148550510406, 0.17148855328559875, 0.1302701234817505, 0.24289287626743317, 0.47350552678108215, -0.061448898166418076, -0.26361653208732605, -0.01454895455390215, 0.056131478399038315, 0.006473957560956478, -0.14862465858459473, 0.06265523284673691, -0.006070774048566818, -0.07821591198444366, -0.1417342722415924, -0.1939256489276886, 0.4723917543888092, -0.18508629500865936, 0.07678768038749695, -0.040298111736774445, -0.005941664334386587, 0.5508782267570496, 0.2202310860157013, 0.12283103913068771, 0.4983886480331421, -0.19459748268127441, 0.13401596248149872, -0.10547854751348495, -0.1312570571899414, 0.12441399693489075, 0.06457047909498215, 0.08067400008440018, -0.1492699533700943, 0.2109382152557373, -0.21671710908412933, -0.19150851666927338, 0.09709810465574265, 0.3069373667240143, -0.15644174814224243, -0.20994675159454346, -0.2031978815793991, 0.021758340299129486, 0.3168581426143646, 0.043922897428274155, 0.05395124852657318, -0.0646153911948204, 0.023342184722423553, 0.15155503153800964, 0.21241740882396698, 0.06462276726961136, -0.21209804713726044, -0.011689292266964912, -0.04981377348303795, 0.28505703806877136, -0.2610410749912262, -0.38420000672340393, -0.48509281873703003, -0.21534526348114014, -0.08074834942817688, 0.10716333985328674, 0.1773255616426468, 0.26389575004577637, 0.5327090620994568, 0.15989390015602112, 0.5079995393753052, -0.1597263067960739, 0.05937561020255089, -0.17885617911815643, -0.39242300391197205, -0.1765020489692688, 0.3219278156757355, 0.1897849440574646, 0.1086415946483612, -0.27594804763793945, -0.0026721989270299673, 0.18627755343914032, 0.1424327790737152, -0.11788582801818848, -0.15796919167041779, -0.36204129457473755, 0.12406769394874573, 0.11566168069839478, -0.3213338255882263, 0.1453363448381424, 0.011214551515877247, 0.24002449214458466, 0.13478831946849823, 0.2699490189552307, -0.018652457743883133, -0.09914892911911011, 0.28072744607925415, 0.0900253877043724, 0.287993848323822, -0.09036877006292343, -0.2850996255874634, 0.05255821719765663, 0.4557914733886719, 0.19339312613010406, 0.19416576623916626, 0.24996428191661835, 0.4828992187976837, 0.3571332097053528, -0.11601674556732178, 0.09605303406715393, -0.08317007124423981, -0.24500083923339844, -0.2310701459646225, 0.26861807703971863, 0.36839979887008667, -0.12249664962291718, 0.24262888729572296, 0.1790810078382492, -0.24126002192497253, 0.11115627735853195, 0.08954475075006485, 0.16023744642734528, 0.019558003172278404, 0.15407097339630127, -0.1548652946949005, 0.04734872281551361, -0.14520420134067535, -0.3735290467739105, -0.36973491311073303, -0.008999819867312908, 0.05892578512430191, -0.2891274690628052, 0.2939562499523163, 0.0023878924548625946, 0.12025635689496994, -0.3840460181236267, 0.4920017421245575, 0.044743675738573074, -0.029142962768673897, -0.44938594102859497, -0.1745864450931549, -0.21782097220420837, 0.4429192841053009, -0.10789623111486435, 0.38233891129493713, -0.17667801678180695, 0.2774885296821594, -0.11382240056991577, -0.29393285512924194, 0.06263800710439682, 0.2538887858390808, -0.13295692205429077, 0.1109614446759224, -0.4148550033569336, -0.1191210150718689, 0.24647152423858643, -0.3301175534725189, 0.30556175112724304, -0.28650444746017456, 0.0038241290021687746, -0.3892669975757599, 0.25609663128852844, -0.09650667756795883, 0.23063351213932037, 0.08047729730606079, 0.6506862044334412, 0.11721969395875931, 0.3224923014640808, 0.5600289106369019, -0.17910195887088776, -0.2774541974067688, -0.06298912316560745, -0.2023514062166214, -0.23663613200187683, -0.17525266110897064, -0.016257615759968758, 0.3809337019920349, -0.19279125332832336, -0.14378811419010162, -0.1725330948829651, 0.31607306003570557, -0.14478980004787445, 0.07347949594259262, 0.03038998320698738, 0.33436402678489685, -0.16772739589214325, 0.022934792563319206, 0.1822415143251419, 0.16660456359386444, 0.40788888931274414, 0.4184737205505371, -0.1464945375919342, -0.2091168761253357, 0.45599880814552307, 0.10131923109292984, -0.4745692014694214, 0.03760065138339996, 0.0936150774359703, 0.26568564772605896, -0.32729724049568176, -0.5464821457862854, -0.09331151843070984, 0.21630974113941193, 0.13424158096313477, -0.18701530992984772, 0.07770439982414246, -0.06093163415789604, 0.12286385148763657, 0.2112281620502472, 0.018339475616812706, -0.14546501636505127, -0.4038732945919037, 0.025552932173013687, 0.08575735241174698 ]
https://github.com/huggingface/datasets/issues/2078
MemoryError when computing WER metric
Someone created an issue https://github.com/jitsi/jiwer/issues/40 at jiwer which shows that this is still a problem in the current version. Would be curious to figure out how this can be fixed by jiwer... :) I assume that it runs of out memory because it's trying to compute the WER over (too many) test samples?
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation: ``` wer = load_metric("wer") print(wer.compute(predictions=result["predicted"], references=result["target"])) ``` However, I receive the following exception: `Traceback (most recent call last): File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module> print(wer.compute(predictions=result["predicted"], references=result["target"])) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute output = self._compute(predictions=predictions, references=references, **kwargs) File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute return wer(references, predictions) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer truth, hypothesis, truth_transform, hypothesis_transform, **kwargs File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures H, S, D, I = _get_operation_counts(truth, hypothesis) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts editops = Levenshtein.editops(source_string, destination_string) MemoryError` My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
53
MemoryError when computing WER metric
[ -0.16400527954101562, -0.11851344257593155, -0.11197710782289505, 0.42964252829551697, 0.4142496585845947, -0.029726067557930946, -0.15687070786952972, 0.22753402590751648, 0.15494592487812042, 0.469943106174469, -0.04169744625687599, -0.20405283570289612, -0.15879051387310028, -0.3607625663280487, -0.40981554985046387, -0.14754711091518402, -0.1377190351486206, 0.07980351895093918, -0.3275156021118164, 0.08697982132434845, -0.3953317403793335, 0.09393288940191269, -0.23867501318454742, 0.07168731093406677, -0.2164166122674942, -0.10216986387968063, -0.17056018114089966, 0.2498825639486313, -0.23151220381259918, -0.16716374456882477, 0.07488510757684708, -0.13006362318992615, 0.042764365673065186, 0.38975954055786133, -0.00010526242840569466, -0.032223306596279144, 0.22476765513420105, -0.1220308244228363, -0.22706931829452515, 0.1904570758342743, -0.15038558840751648, -0.14698399603366852, -0.20377378165721893, -0.22183790802955627, -0.10678809881210327, 0.01338796503841877, 0.1107066348195076, -0.34909170866012573, -0.18316932022571564, 0.16737094521522522, 0.30890604853630066, 0.028812812641263008, 0.160141259431839, -0.27265244722366333, -0.0194908045232296, -0.20788142085075378, 0.1561831533908844, 0.17395979166030884, -0.0857311338186264, -0.045038215816020966, -0.48569491505622864, 0.23183023929595947, 0.17221906781196594, 0.23476752638816833, 0.1296936273574829, 0.04727790504693985, 0.16373632848262787, 0.3086504340171814, 0.10977287590503693, -0.2572634220123291, 0.2798325717449188, -0.21352022886276245, 0.027389738708734512, 0.43916869163513184, -0.16020168364048004, -0.4044969081878662, 0.3531990051269531, 0.05033343285322189, -0.4129526913166046, -0.012193744070827961, -0.27571332454681396, -0.3130571246147156, -0.44299113750457764, 0.07297772914171219, -0.17294228076934814, 0.2307528853416443, -0.019664142280817032, 0.09375055879354477, 0.2970885932445526, 0.11859119683504105, 0.00679384171962738, 0.12285538017749786, -0.04218405485153198, -0.3177367150783539, 0.007311155553907156, -0.09961912035942078, -0.05815903842449188, -0.21349528431892395, 0.060493651777505875, -0.21573671698570251, 0.26469725370407104, 0.1490793377161026, 0.31437918543815613, 0.20237569510936737, -0.08417484909296036, 0.6679657697677612, -0.03435119241476059, 0.110374815762043, 0.09626395255327225, 0.14455996453762054, -0.18384043872356415, -0.16474071145057678, 0.08160442858934402, -0.3282504975795746, 0.3157392144203186, 0.13352304697036743, -0.37596774101257324, -0.042425964027643204, -0.3132503032684326, 0.09085504710674286, -0.04254008084535599, 0.13393089175224304, 0.20328110456466675, 0.3124155104160309, 0.06216295436024666, 0.14045247435569763, 0.20702797174453735, 0.0649106353521347, -0.19403205811977386, 0.0063448334112763405, -0.3581600487232208, 0.19861865043640137, -0.2699809968471527, -0.11660267412662506, -0.07660292088985443, 0.24712404608726501, 0.14673598110675812, -0.31226229667663574, 0.14651593565940857, -0.2586148679256439, 0.16172228753566742, -0.2671006917953491, 0.1339389681816101, 0.2823275327682495, -0.03124302439391613, -0.04612021893262863, 0.17726846039295197, -0.02453864924609661, 0.1703442633152008, 0.22577519714832306, -0.07012417167425156, -0.31866455078125, 0.23133359849452972, 0.2574639618396759, -0.09484456479549408, 0.054240331053733826, -0.03383924439549446, 0.031188568100333214, 0.3663448989391327, 0.007977594621479511, -0.2933723032474518, 0.16368375718593597, -0.444174587726593, -0.2775132954120636, -0.01426731701940298, 0.1123436763882637, -0.12142515927553177, -0.218043252825737, 0.15497253835201263, -0.2790789306163788, 0.5127773880958557, 0.1574099063873291, 0.13117486238479614, -0.028479192405939102, -0.20252321660518646, 0.1262456774711609, 0.29150864481925964, -0.6022734045982361, -0.20661473274230957, 0.02148321270942688, -0.18277758359909058, -0.25908857583999634, 0.09872976690530777, -0.0338234007358551, 0.06119312718510628, 0.238643616437912, 0.3355896472930908, -0.17926828563213348, -0.22621288895606995, 0.03187311813235283, -0.2017054706811905, 0.013113264925777912, 0.3003746569156647, -0.04279100149869919, 0.6269462704658508, 0.048479221761226654, 0.1693681925535202, 0.25560736656188965, 0.09020363539457321, -0.09427221119403839, 0.1600494235754013, 0.23518700897693634, 0.23001903295516968, -0.4950178861618042, 0.23423761129379272, -0.14338575303554535, 0.17511659860610962, 0.007531620096415281, -0.14283441007137299, 0.27983763813972473, 0.2555452287197113, 0.4153672754764557, -0.08267713338136673, 0.14291176199913025, 0.18009983003139496, -0.02356717362999916, 0.31484708189964294, -0.02953191287815571, 0.011258750222623348, -0.22654646635055542, 0.017499107867479324, 0.13621042668819427, -0.4065679907798767, 0.05920412763953209, 0.13760317862033844, -0.13153061270713806, -0.20938587188720703, -0.20361877977848053, 0.23379957675933838, 0.13988721370697021, 0.24531760811805725, 0.07599201798439026, -0.28362956643104553, 0.21256014704704285, 0.06874939054250717, -0.09739712625741959, 0.23033075034618378, 0.18469029664993286, -0.018191970884799957, -0.16417758166790009, 0.08357106894254684, -0.20106054842472076, 0.10842420905828476, -0.193659707903862, 0.22195938229560852, -0.10829208791255951, -0.009208363480865955, 0.24966946244239807, 0.015646759420633316, 0.2342974692583084, 0.21249912679195404, 0.11677907407283783, 0.10418538004159927, -0.18419334292411804, 0.30186760425567627, -0.38863465189933777, -0.26889434456825256, -0.29928019642829895, 0.29192519187927246, -0.2436915785074234, 0.40058377385139465, 0.14696262776851654, 0.020206915214657784, 0.3344917297363281, -0.0802331194281578, -0.16572441160678864, -0.04773218557238579, -0.27969124913215637, 0.42367950081825256, 0.1619410365819931, 0.18550260365009308, 0.1120438426733017, -0.11903166770935059, -0.01726965792477131, 0.192414790391922, 0.11186545342206955, -0.0003578001051209867, -0.09690282493829727, 0.1650528460741043, -0.5214839577674866, -0.025753043591976166, -0.03890756145119667, 0.18506669998168945, 0.42384397983551025, -0.2204320877790451, -0.2642202377319336, -0.09617114812135696, -0.11042379587888718, 0.05059889331459999, -0.006741649471223354, 0.032106079161167145, -0.39589598774909973, -0.08356718719005585, 0.22312361001968384, -0.07527405023574829, 0.13227687776088715, 0.23906220495700836, 0.3359697461128235, 0.19470827281475067, 0.459389865398407, 0.1487388014793396, -0.15402542054653168, -0.21984650194644928, 0.16983917355537415, 0.04663299024105072, -0.11064576357603073, 0.2878705859184265, -0.19861844182014465, 0.12931311130523682, -0.16063232719898224, -0.2005201280117035, 0.11713230609893799, 0.13107573986053467, 0.19588007032871246, 0.20154760777950287, 0.18483702838420868, -0.11989641934633255, 0.033635515719652176, 0.3754514455795288, -0.2689153552055359, -0.17267419397830963, 0.4163466989994049, -0.1828000694513321, 0.022121794521808624, -0.22898748517036438, -0.17063961923122406, -0.005750830285251141, -0.33289116621017456, -0.16002032160758972, 0.06112811714410782, 0.29159486293792725, -0.07391653954982758, 0.21522009372711182, 0.10206223279237747, 0.1387271285057068, -0.09747982770204544, -0.2823602557182312, -0.23718015849590302, -0.010296950116753578, -0.28680241107940674, -0.31501680612564087, -0.08793405443429947, 0.03934979811310768, 0.43111705780029297, 0.3270381987094879, -0.21457484364509583, -0.5552237629890442, -0.0017767956014722586, -0.16977886855602264, -0.03770125284790993, -0.03335807844996452, 0.11929860711097717, -0.0812738835811615, -0.29492682218551636, -0.26620638370513916, -0.2268150895833969, 0.23545095324516296, 0.009946023114025593, -0.08981170505285263, -0.08780281245708466, 0.28330516815185547, 0.23886658251285553, 0.31637004017829895, 0.1399245709180832, 0.09477955847978592, 0.3337412476539612, 0.07350965589284897, 0.29563379287719727, 0.18131928145885468, -0.020715290680527687, 0.34783947467803955, 0.1361154019832611, -0.2917272448539734, 0.10340519994497299, 0.02920636720955372, -0.2745837867259979, -0.0052015697583556175, -0.018068427219986916, 0.19990792870521545, -0.15882737934589386, -0.11257968097925186, 0.18931807577610016, 0.29050830006599426, 0.20521138608455658, 0.07673060148954391, -0.44463014602661133, -0.2511400282382965, 0.16118790209293365, -0.03285283222794533, -0.1212807446718216, -0.0427422896027565, -0.07404150068759918, 0.002831455087289214, -0.5355420708656311, 0.24221257865428925, 0.08598745614290237, 0.2681719660758972, -0.23803189396858215, -0.026134023442864418, -0.08161094039678574, -0.08164361119270325, 0.4353477656841278, -0.13014164566993713, -0.06737379729747772, -0.09254218637943268, -0.14944347739219666, -0.28204312920570374, 0.2102290391921997, -0.307629257440567, 0.18589603900909424, 0.0819685086607933, 0.31615930795669556, -0.2025635838508606, 0.0712847113609314, -0.01685999520123005, 0.19993695616722107, -0.19522610306739807, -0.3001009225845337, -0.12626181542873383, -0.25180166959762573, -0.08224111795425415, -0.07126355171203613, -0.22228461503982544, 0.12030879408121109, 0.15460968017578125, 0.05899810045957565, -0.013344385661184788, -0.17121531069278717, 0.21373297274112701, -0.05850069597363472, 0.13018439710140228, -0.483148992061615, -0.04047605022788048, 0.11219152808189392, -0.11566948890686035, 0.24895717203617096, 0.16406995058059692, 0.06040973588824272, -0.03508364036679268, 0.3263317942619324, -0.060115665197372437, 0.17516274750232697, 0.1349450647830963, -0.17026947438716888, 0.04117725417017937, 0.13091561198234558, 0.30043938755989075, -0.44465503096580505, 0.23293866217136383, 0.01715417392551899, 0.22851015627384186, -0.14868658781051636, 0.031187396496534348, 0.020613452419638634, 0.26870232820510864, -0.051980502903461456, 0.24294136464595795, 0.044297512620687485, -0.17937950789928436, 0.2792985141277313, 0.23356887698173523, 0.912203848361969, -0.30991414189338684, -0.1562071591615677, 0.6129957437515259, -0.14154087007045746, -0.03912428393959999, -0.18950559198856354, 0.36576083302497864, -0.17713484168052673, -0.1289394497871399, 0.10123330354690552, -0.1950998306274414, -0.06465234607458115, -0.2432493269443512, 0.11247535049915314, 0.4301513731479645, -0.007029160391539335, -0.01296117715537548, 0.06586981564760208, 0.0018542584730312228, -0.16560135781764984, -0.22444875538349152, 0.2711130380630493, 0.3247247636318207, -0.0666835606098175, -0.26538369059562683, -0.1319613754749298, 0.18274596333503723, 0.06200960651040077, -0.09725628793239594, -0.2740287482738495, -0.06110372394323349, -0.1098712831735611, 0.213889017701149, -0.3530615270137787, 0.15105974674224854, -0.32078903913497925, 0.21443165838718414, 0.36967629194259644, 0.13872270286083221, 0.1259545534849167, 0.05699528753757477, -0.041507262736558914, 0.035717107355594635, 0.053106728941202164, 0.1699286699295044, 0.18693682551383972, -0.22353120148181915, -0.3420296311378479, 0.11362195760011673, 0.08620867133140564, -0.44500070810317993, -0.043242380023002625, 0.06544798612594604, -0.18462830781936646, -0.09412214905023575, 0.08064750581979752, -0.30698829889297485, -0.23135438561439514, -0.22850626707077026, 0.22393332421779633, 0.13427571952342987, -0.278344988822937, 0.5446608066558838, 0.21620361506938934, -0.17026270925998688, -0.2002900093793869, 0.33617645502090454, 0.32756349444389343, -0.14062437415122986, 0.41539913415908813, -0.027641015127301216, -0.22932836413383484, -0.21936291456222534, -0.4390583038330078, 0.12018696963787079, 0.03371952846646309, 0.3303445875644684, 0.13686789572238922, -0.13080739974975586, -0.19678469002246857, 0.12543505430221558, 0.14984694123268127, 0.4011078476905823, 0.07308956235647202, -0.24962741136550903, -0.6142904758453369, 0.028322238475084305, -0.09965896606445312, -0.10867401212453842, -0.3114827871322632, -0.08189409226179123, -0.4791572690010071, 0.005582180805504322, -0.3942911922931671, 0.00798032432794571, -0.581803023815155, 0.1023159846663475, -0.02636854164302349, -0.10721148550510406, 0.17148855328559875, 0.1302701234817505, 0.24289287626743317, 0.47350552678108215, -0.061448898166418076, -0.26361653208732605, -0.01454895455390215, 0.056131478399038315, 0.006473957560956478, -0.14862465858459473, 0.06265523284673691, -0.006070774048566818, -0.07821591198444366, -0.1417342722415924, -0.1939256489276886, 0.4723917543888092, -0.18508629500865936, 0.07678768038749695, -0.040298111736774445, -0.005941664334386587, 0.5508782267570496, 0.2202310860157013, 0.12283103913068771, 0.4983886480331421, -0.19459748268127441, 0.13401596248149872, -0.10547854751348495, -0.1312570571899414, 0.12441399693489075, 0.06457047909498215, 0.08067400008440018, -0.1492699533700943, 0.2109382152557373, -0.21671710908412933, -0.19150851666927338, 0.09709810465574265, 0.3069373667240143, -0.15644174814224243, -0.20994675159454346, -0.2031978815793991, 0.021758340299129486, 0.3168581426143646, 0.043922897428274155, 0.05395124852657318, -0.0646153911948204, 0.023342184722423553, 0.15155503153800964, 0.21241740882396698, 0.06462276726961136, -0.21209804713726044, -0.011689292266964912, -0.04981377348303795, 0.28505703806877136, -0.2610410749912262, -0.38420000672340393, -0.48509281873703003, -0.21534526348114014, -0.08074834942817688, 0.10716333985328674, 0.1773255616426468, 0.26389575004577637, 0.5327090620994568, 0.15989390015602112, 0.5079995393753052, -0.1597263067960739, 0.05937561020255089, -0.17885617911815643, -0.39242300391197205, -0.1765020489692688, 0.3219278156757355, 0.1897849440574646, 0.1086415946483612, -0.27594804763793945, -0.0026721989270299673, 0.18627755343914032, 0.1424327790737152, -0.11788582801818848, -0.15796919167041779, -0.36204129457473755, 0.12406769394874573, 0.11566168069839478, -0.3213338255882263, 0.1453363448381424, 0.011214551515877247, 0.24002449214458466, 0.13478831946849823, 0.2699490189552307, -0.018652457743883133, -0.09914892911911011, 0.28072744607925415, 0.0900253877043724, 0.287993848323822, -0.09036877006292343, -0.2850996255874634, 0.05255821719765663, 0.4557914733886719, 0.19339312613010406, 0.19416576623916626, 0.24996428191661835, 0.4828992187976837, 0.3571332097053528, -0.11601674556732178, 0.09605303406715393, -0.08317007124423981, -0.24500083923339844, -0.2310701459646225, 0.26861807703971863, 0.36839979887008667, -0.12249664962291718, 0.24262888729572296, 0.1790810078382492, -0.24126002192497253, 0.11115627735853195, 0.08954475075006485, 0.16023744642734528, 0.019558003172278404, 0.15407097339630127, -0.1548652946949005, 0.04734872281551361, -0.14520420134067535, -0.3735290467739105, -0.36973491311073303, -0.008999819867312908, 0.05892578512430191, -0.2891274690628052, 0.2939562499523163, 0.0023878924548625946, 0.12025635689496994, -0.3840460181236267, 0.4920017421245575, 0.044743675738573074, -0.029142962768673897, -0.44938594102859497, -0.1745864450931549, -0.21782097220420837, 0.4429192841053009, -0.10789623111486435, 0.38233891129493713, -0.17667801678180695, 0.2774885296821594, -0.11382240056991577, -0.29393285512924194, 0.06263800710439682, 0.2538887858390808, -0.13295692205429077, 0.1109614446759224, -0.4148550033569336, -0.1191210150718689, 0.24647152423858643, -0.3301175534725189, 0.30556175112724304, -0.28650444746017456, 0.0038241290021687746, -0.3892669975757599, 0.25609663128852844, -0.09650667756795883, 0.23063351213932037, 0.08047729730606079, 0.6506862044334412, 0.11721969395875931, 0.3224923014640808, 0.5600289106369019, -0.17910195887088776, -0.2774541974067688, -0.06298912316560745, -0.2023514062166214, -0.23663613200187683, -0.17525266110897064, -0.016257615759968758, 0.3809337019920349, -0.19279125332832336, -0.14378811419010162, -0.1725330948829651, 0.31607306003570557, -0.14478980004787445, 0.07347949594259262, 0.03038998320698738, 0.33436402678489685, -0.16772739589214325, 0.022934792563319206, 0.1822415143251419, 0.16660456359386444, 0.40788888931274414, 0.4184737205505371, -0.1464945375919342, -0.2091168761253357, 0.45599880814552307, 0.10131923109292984, -0.4745692014694214, 0.03760065138339996, 0.0936150774359703, 0.26568564772605896, -0.32729724049568176, -0.5464821457862854, -0.09331151843070984, 0.21630974113941193, 0.13424158096313477, -0.18701530992984772, 0.07770439982414246, -0.06093163415789604, 0.12286385148763657, 0.2112281620502472, 0.018339475616812706, -0.14546501636505127, -0.4038732945919037, 0.025552932173013687, 0.08575735241174698 ]
https://github.com/huggingface/datasets/issues/2078
MemoryError when computing WER metric
Hi ! It's computed iteratively so not sure what could go wrong https://github.com/huggingface/datasets/blob/8afd0ba8c27800a55ea69d9fcd702dc97d9c16d8/metrics/wer/wer.py#L100-L106 @NiklasHoltmeyer what version of `datasets` are you running ?
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation: ``` wer = load_metric("wer") print(wer.compute(predictions=result["predicted"], references=result["target"])) ``` However, I receive the following exception: `Traceback (most recent call last): File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module> print(wer.compute(predictions=result["predicted"], references=result["target"])) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute output = self._compute(predictions=predictions, references=references, **kwargs) File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute return wer(references, predictions) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer truth, hypothesis, truth_transform, hypothesis_transform, **kwargs File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures H, S, D, I = _get_operation_counts(truth, hypothesis) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts editops = Levenshtein.editops(source_string, destination_string) MemoryError` My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
22
MemoryError when computing WER metric
[ -0.16400527954101562, -0.11851344257593155, -0.11197710782289505, 0.42964252829551697, 0.4142496585845947, -0.029726067557930946, -0.15687070786952972, 0.22753402590751648, 0.15494592487812042, 0.469943106174469, -0.04169744625687599, -0.20405283570289612, -0.15879051387310028, -0.3607625663280487, -0.40981554985046387, -0.14754711091518402, -0.1377190351486206, 0.07980351895093918, -0.3275156021118164, 0.08697982132434845, -0.3953317403793335, 0.09393288940191269, -0.23867501318454742, 0.07168731093406677, -0.2164166122674942, -0.10216986387968063, -0.17056018114089966, 0.2498825639486313, -0.23151220381259918, -0.16716374456882477, 0.07488510757684708, -0.13006362318992615, 0.042764365673065186, 0.38975954055786133, -0.00010526242840569466, -0.032223306596279144, 0.22476765513420105, -0.1220308244228363, -0.22706931829452515, 0.1904570758342743, -0.15038558840751648, -0.14698399603366852, -0.20377378165721893, -0.22183790802955627, -0.10678809881210327, 0.01338796503841877, 0.1107066348195076, -0.34909170866012573, -0.18316932022571564, 0.16737094521522522, 0.30890604853630066, 0.028812812641263008, 0.160141259431839, -0.27265244722366333, -0.0194908045232296, -0.20788142085075378, 0.1561831533908844, 0.17395979166030884, -0.0857311338186264, -0.045038215816020966, -0.48569491505622864, 0.23183023929595947, 0.17221906781196594, 0.23476752638816833, 0.1296936273574829, 0.04727790504693985, 0.16373632848262787, 0.3086504340171814, 0.10977287590503693, -0.2572634220123291, 0.2798325717449188, -0.21352022886276245, 0.027389738708734512, 0.43916869163513184, -0.16020168364048004, -0.4044969081878662, 0.3531990051269531, 0.05033343285322189, -0.4129526913166046, -0.012193744070827961, -0.27571332454681396, -0.3130571246147156, -0.44299113750457764, 0.07297772914171219, -0.17294228076934814, 0.2307528853416443, -0.019664142280817032, 0.09375055879354477, 0.2970885932445526, 0.11859119683504105, 0.00679384171962738, 0.12285538017749786, -0.04218405485153198, -0.3177367150783539, 0.007311155553907156, -0.09961912035942078, -0.05815903842449188, -0.21349528431892395, 0.060493651777505875, -0.21573671698570251, 0.26469725370407104, 0.1490793377161026, 0.31437918543815613, 0.20237569510936737, -0.08417484909296036, 0.6679657697677612, -0.03435119241476059, 0.110374815762043, 0.09626395255327225, 0.14455996453762054, -0.18384043872356415, -0.16474071145057678, 0.08160442858934402, -0.3282504975795746, 0.3157392144203186, 0.13352304697036743, -0.37596774101257324, -0.042425964027643204, -0.3132503032684326, 0.09085504710674286, -0.04254008084535599, 0.13393089175224304, 0.20328110456466675, 0.3124155104160309, 0.06216295436024666, 0.14045247435569763, 0.20702797174453735, 0.0649106353521347, -0.19403205811977386, 0.0063448334112763405, -0.3581600487232208, 0.19861865043640137, -0.2699809968471527, -0.11660267412662506, -0.07660292088985443, 0.24712404608726501, 0.14673598110675812, -0.31226229667663574, 0.14651593565940857, -0.2586148679256439, 0.16172228753566742, -0.2671006917953491, 0.1339389681816101, 0.2823275327682495, -0.03124302439391613, -0.04612021893262863, 0.17726846039295197, -0.02453864924609661, 0.1703442633152008, 0.22577519714832306, -0.07012417167425156, -0.31866455078125, 0.23133359849452972, 0.2574639618396759, -0.09484456479549408, 0.054240331053733826, -0.03383924439549446, 0.031188568100333214, 0.3663448989391327, 0.007977594621479511, -0.2933723032474518, 0.16368375718593597, -0.444174587726593, -0.2775132954120636, -0.01426731701940298, 0.1123436763882637, -0.12142515927553177, -0.218043252825737, 0.15497253835201263, -0.2790789306163788, 0.5127773880958557, 0.1574099063873291, 0.13117486238479614, -0.028479192405939102, -0.20252321660518646, 0.1262456774711609, 0.29150864481925964, -0.6022734045982361, -0.20661473274230957, 0.02148321270942688, -0.18277758359909058, -0.25908857583999634, 0.09872976690530777, -0.0338234007358551, 0.06119312718510628, 0.238643616437912, 0.3355896472930908, -0.17926828563213348, -0.22621288895606995, 0.03187311813235283, -0.2017054706811905, 0.013113264925777912, 0.3003746569156647, -0.04279100149869919, 0.6269462704658508, 0.048479221761226654, 0.1693681925535202, 0.25560736656188965, 0.09020363539457321, -0.09427221119403839, 0.1600494235754013, 0.23518700897693634, 0.23001903295516968, -0.4950178861618042, 0.23423761129379272, -0.14338575303554535, 0.17511659860610962, 0.007531620096415281, -0.14283441007137299, 0.27983763813972473, 0.2555452287197113, 0.4153672754764557, -0.08267713338136673, 0.14291176199913025, 0.18009983003139496, -0.02356717362999916, 0.31484708189964294, -0.02953191287815571, 0.011258750222623348, -0.22654646635055542, 0.017499107867479324, 0.13621042668819427, -0.4065679907798767, 0.05920412763953209, 0.13760317862033844, -0.13153061270713806, -0.20938587188720703, -0.20361877977848053, 0.23379957675933838, 0.13988721370697021, 0.24531760811805725, 0.07599201798439026, -0.28362956643104553, 0.21256014704704285, 0.06874939054250717, -0.09739712625741959, 0.23033075034618378, 0.18469029664993286, -0.018191970884799957, -0.16417758166790009, 0.08357106894254684, -0.20106054842472076, 0.10842420905828476, -0.193659707903862, 0.22195938229560852, -0.10829208791255951, -0.009208363480865955, 0.24966946244239807, 0.015646759420633316, 0.2342974692583084, 0.21249912679195404, 0.11677907407283783, 0.10418538004159927, -0.18419334292411804, 0.30186760425567627, -0.38863465189933777, -0.26889434456825256, -0.29928019642829895, 0.29192519187927246, -0.2436915785074234, 0.40058377385139465, 0.14696262776851654, 0.020206915214657784, 0.3344917297363281, -0.0802331194281578, -0.16572441160678864, -0.04773218557238579, -0.27969124913215637, 0.42367950081825256, 0.1619410365819931, 0.18550260365009308, 0.1120438426733017, -0.11903166770935059, -0.01726965792477131, 0.192414790391922, 0.11186545342206955, -0.0003578001051209867, -0.09690282493829727, 0.1650528460741043, -0.5214839577674866, -0.025753043591976166, -0.03890756145119667, 0.18506669998168945, 0.42384397983551025, -0.2204320877790451, -0.2642202377319336, -0.09617114812135696, -0.11042379587888718, 0.05059889331459999, -0.006741649471223354, 0.032106079161167145, -0.39589598774909973, -0.08356718719005585, 0.22312361001968384, -0.07527405023574829, 0.13227687776088715, 0.23906220495700836, 0.3359697461128235, 0.19470827281475067, 0.459389865398407, 0.1487388014793396, -0.15402542054653168, -0.21984650194644928, 0.16983917355537415, 0.04663299024105072, -0.11064576357603073, 0.2878705859184265, -0.19861844182014465, 0.12931311130523682, -0.16063232719898224, -0.2005201280117035, 0.11713230609893799, 0.13107573986053467, 0.19588007032871246, 0.20154760777950287, 0.18483702838420868, -0.11989641934633255, 0.033635515719652176, 0.3754514455795288, -0.2689153552055359, -0.17267419397830963, 0.4163466989994049, -0.1828000694513321, 0.022121794521808624, -0.22898748517036438, -0.17063961923122406, -0.005750830285251141, -0.33289116621017456, -0.16002032160758972, 0.06112811714410782, 0.29159486293792725, -0.07391653954982758, 0.21522009372711182, 0.10206223279237747, 0.1387271285057068, -0.09747982770204544, -0.2823602557182312, -0.23718015849590302, -0.010296950116753578, -0.28680241107940674, -0.31501680612564087, -0.08793405443429947, 0.03934979811310768, 0.43111705780029297, 0.3270381987094879, -0.21457484364509583, -0.5552237629890442, -0.0017767956014722586, -0.16977886855602264, -0.03770125284790993, -0.03335807844996452, 0.11929860711097717, -0.0812738835811615, -0.29492682218551636, -0.26620638370513916, -0.2268150895833969, 0.23545095324516296, 0.009946023114025593, -0.08981170505285263, -0.08780281245708466, 0.28330516815185547, 0.23886658251285553, 0.31637004017829895, 0.1399245709180832, 0.09477955847978592, 0.3337412476539612, 0.07350965589284897, 0.29563379287719727, 0.18131928145885468, -0.020715290680527687, 0.34783947467803955, 0.1361154019832611, -0.2917272448539734, 0.10340519994497299, 0.02920636720955372, -0.2745837867259979, -0.0052015697583556175, -0.018068427219986916, 0.19990792870521545, -0.15882737934589386, -0.11257968097925186, 0.18931807577610016, 0.29050830006599426, 0.20521138608455658, 0.07673060148954391, -0.44463014602661133, -0.2511400282382965, 0.16118790209293365, -0.03285283222794533, -0.1212807446718216, -0.0427422896027565, -0.07404150068759918, 0.002831455087289214, -0.5355420708656311, 0.24221257865428925, 0.08598745614290237, 0.2681719660758972, -0.23803189396858215, -0.026134023442864418, -0.08161094039678574, -0.08164361119270325, 0.4353477656841278, -0.13014164566993713, -0.06737379729747772, -0.09254218637943268, -0.14944347739219666, -0.28204312920570374, 0.2102290391921997, -0.307629257440567, 0.18589603900909424, 0.0819685086607933, 0.31615930795669556, -0.2025635838508606, 0.0712847113609314, -0.01685999520123005, 0.19993695616722107, -0.19522610306739807, -0.3001009225845337, -0.12626181542873383, -0.25180166959762573, -0.08224111795425415, -0.07126355171203613, -0.22228461503982544, 0.12030879408121109, 0.15460968017578125, 0.05899810045957565, -0.013344385661184788, -0.17121531069278717, 0.21373297274112701, -0.05850069597363472, 0.13018439710140228, -0.483148992061615, -0.04047605022788048, 0.11219152808189392, -0.11566948890686035, 0.24895717203617096, 0.16406995058059692, 0.06040973588824272, -0.03508364036679268, 0.3263317942619324, -0.060115665197372437, 0.17516274750232697, 0.1349450647830963, -0.17026947438716888, 0.04117725417017937, 0.13091561198234558, 0.30043938755989075, -0.44465503096580505, 0.23293866217136383, 0.01715417392551899, 0.22851015627384186, -0.14868658781051636, 0.031187396496534348, 0.020613452419638634, 0.26870232820510864, -0.051980502903461456, 0.24294136464595795, 0.044297512620687485, -0.17937950789928436, 0.2792985141277313, 0.23356887698173523, 0.912203848361969, -0.30991414189338684, -0.1562071591615677, 0.6129957437515259, -0.14154087007045746, -0.03912428393959999, -0.18950559198856354, 0.36576083302497864, -0.17713484168052673, -0.1289394497871399, 0.10123330354690552, -0.1950998306274414, -0.06465234607458115, -0.2432493269443512, 0.11247535049915314, 0.4301513731479645, -0.007029160391539335, -0.01296117715537548, 0.06586981564760208, 0.0018542584730312228, -0.16560135781764984, -0.22444875538349152, 0.2711130380630493, 0.3247247636318207, -0.0666835606098175, -0.26538369059562683, -0.1319613754749298, 0.18274596333503723, 0.06200960651040077, -0.09725628793239594, -0.2740287482738495, -0.06110372394323349, -0.1098712831735611, 0.213889017701149, -0.3530615270137787, 0.15105974674224854, -0.32078903913497925, 0.21443165838718414, 0.36967629194259644, 0.13872270286083221, 0.1259545534849167, 0.05699528753757477, -0.041507262736558914, 0.035717107355594635, 0.053106728941202164, 0.1699286699295044, 0.18693682551383972, -0.22353120148181915, -0.3420296311378479, 0.11362195760011673, 0.08620867133140564, -0.44500070810317993, -0.043242380023002625, 0.06544798612594604, -0.18462830781936646, -0.09412214905023575, 0.08064750581979752, -0.30698829889297485, -0.23135438561439514, -0.22850626707077026, 0.22393332421779633, 0.13427571952342987, -0.278344988822937, 0.5446608066558838, 0.21620361506938934, -0.17026270925998688, -0.2002900093793869, 0.33617645502090454, 0.32756349444389343, -0.14062437415122986, 0.41539913415908813, -0.027641015127301216, -0.22932836413383484, -0.21936291456222534, -0.4390583038330078, 0.12018696963787079, 0.03371952846646309, 0.3303445875644684, 0.13686789572238922, -0.13080739974975586, -0.19678469002246857, 0.12543505430221558, 0.14984694123268127, 0.4011078476905823, 0.07308956235647202, -0.24962741136550903, -0.6142904758453369, 0.028322238475084305, -0.09965896606445312, -0.10867401212453842, -0.3114827871322632, -0.08189409226179123, -0.4791572690010071, 0.005582180805504322, -0.3942911922931671, 0.00798032432794571, -0.581803023815155, 0.1023159846663475, -0.02636854164302349, -0.10721148550510406, 0.17148855328559875, 0.1302701234817505, 0.24289287626743317, 0.47350552678108215, -0.061448898166418076, -0.26361653208732605, -0.01454895455390215, 0.056131478399038315, 0.006473957560956478, -0.14862465858459473, 0.06265523284673691, -0.006070774048566818, -0.07821591198444366, -0.1417342722415924, -0.1939256489276886, 0.4723917543888092, -0.18508629500865936, 0.07678768038749695, -0.040298111736774445, -0.005941664334386587, 0.5508782267570496, 0.2202310860157013, 0.12283103913068771, 0.4983886480331421, -0.19459748268127441, 0.13401596248149872, -0.10547854751348495, -0.1312570571899414, 0.12441399693489075, 0.06457047909498215, 0.08067400008440018, -0.1492699533700943, 0.2109382152557373, -0.21671710908412933, -0.19150851666927338, 0.09709810465574265, 0.3069373667240143, -0.15644174814224243, -0.20994675159454346, -0.2031978815793991, 0.021758340299129486, 0.3168581426143646, 0.043922897428274155, 0.05395124852657318, -0.0646153911948204, 0.023342184722423553, 0.15155503153800964, 0.21241740882396698, 0.06462276726961136, -0.21209804713726044, -0.011689292266964912, -0.04981377348303795, 0.28505703806877136, -0.2610410749912262, -0.38420000672340393, -0.48509281873703003, -0.21534526348114014, -0.08074834942817688, 0.10716333985328674, 0.1773255616426468, 0.26389575004577637, 0.5327090620994568, 0.15989390015602112, 0.5079995393753052, -0.1597263067960739, 0.05937561020255089, -0.17885617911815643, -0.39242300391197205, -0.1765020489692688, 0.3219278156757355, 0.1897849440574646, 0.1086415946483612, -0.27594804763793945, -0.0026721989270299673, 0.18627755343914032, 0.1424327790737152, -0.11788582801818848, -0.15796919167041779, -0.36204129457473755, 0.12406769394874573, 0.11566168069839478, -0.3213338255882263, 0.1453363448381424, 0.011214551515877247, 0.24002449214458466, 0.13478831946849823, 0.2699490189552307, -0.018652457743883133, -0.09914892911911011, 0.28072744607925415, 0.0900253877043724, 0.287993848323822, -0.09036877006292343, -0.2850996255874634, 0.05255821719765663, 0.4557914733886719, 0.19339312613010406, 0.19416576623916626, 0.24996428191661835, 0.4828992187976837, 0.3571332097053528, -0.11601674556732178, 0.09605303406715393, -0.08317007124423981, -0.24500083923339844, -0.2310701459646225, 0.26861807703971863, 0.36839979887008667, -0.12249664962291718, 0.24262888729572296, 0.1790810078382492, -0.24126002192497253, 0.11115627735853195, 0.08954475075006485, 0.16023744642734528, 0.019558003172278404, 0.15407097339630127, -0.1548652946949005, 0.04734872281551361, -0.14520420134067535, -0.3735290467739105, -0.36973491311073303, -0.008999819867312908, 0.05892578512430191, -0.2891274690628052, 0.2939562499523163, 0.0023878924548625946, 0.12025635689496994, -0.3840460181236267, 0.4920017421245575, 0.044743675738573074, -0.029142962768673897, -0.44938594102859497, -0.1745864450931549, -0.21782097220420837, 0.4429192841053009, -0.10789623111486435, 0.38233891129493713, -0.17667801678180695, 0.2774885296821594, -0.11382240056991577, -0.29393285512924194, 0.06263800710439682, 0.2538887858390808, -0.13295692205429077, 0.1109614446759224, -0.4148550033569336, -0.1191210150718689, 0.24647152423858643, -0.3301175534725189, 0.30556175112724304, -0.28650444746017456, 0.0038241290021687746, -0.3892669975757599, 0.25609663128852844, -0.09650667756795883, 0.23063351213932037, 0.08047729730606079, 0.6506862044334412, 0.11721969395875931, 0.3224923014640808, 0.5600289106369019, -0.17910195887088776, -0.2774541974067688, -0.06298912316560745, -0.2023514062166214, -0.23663613200187683, -0.17525266110897064, -0.016257615759968758, 0.3809337019920349, -0.19279125332832336, -0.14378811419010162, -0.1725330948829651, 0.31607306003570557, -0.14478980004787445, 0.07347949594259262, 0.03038998320698738, 0.33436402678489685, -0.16772739589214325, 0.022934792563319206, 0.1822415143251419, 0.16660456359386444, 0.40788888931274414, 0.4184737205505371, -0.1464945375919342, -0.2091168761253357, 0.45599880814552307, 0.10131923109292984, -0.4745692014694214, 0.03760065138339996, 0.0936150774359703, 0.26568564772605896, -0.32729724049568176, -0.5464821457862854, -0.09331151843070984, 0.21630974113941193, 0.13424158096313477, -0.18701530992984772, 0.07770439982414246, -0.06093163415789604, 0.12286385148763657, 0.2112281620502472, 0.018339475616812706, -0.14546501636505127, -0.4038732945919037, 0.025552932173013687, 0.08575735241174698 ]
https://github.com/huggingface/datasets/issues/2078
MemoryError when computing WER metric
One possible explanation might be that it is the user who is passing all the sentences in a single element to `wer.compute`? As current implementation iterates over the elements of `predictions` and `references`, this can be problematic if `predictions` and `references` contain a single huge element each. This could be the case, for example, with a single string with all sentences: ```python result["predicted"] = "One sentence. Other sentence." ``` or with a __double__ nested list of sentence lists ```python result["predicted"] = [[ ["One sentence."], ["Other sentence"] ]] ``` The user should check the dimensions of the data structure passed to `predictions` and `references`.
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation: ``` wer = load_metric("wer") print(wer.compute(predictions=result["predicted"], references=result["target"])) ``` However, I receive the following exception: `Traceback (most recent call last): File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module> print(wer.compute(predictions=result["predicted"], references=result["target"])) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute output = self._compute(predictions=predictions, references=references, **kwargs) File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute return wer(references, predictions) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer truth, hypothesis, truth_transform, hypothesis_transform, **kwargs File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures H, S, D, I = _get_operation_counts(truth, hypothesis) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts editops = Levenshtein.editops(source_string, destination_string) MemoryError` My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
103
MemoryError when computing WER metric
[ -0.16400527954101562, -0.11851344257593155, -0.11197710782289505, 0.42964252829551697, 0.4142496585845947, -0.029726067557930946, -0.15687070786952972, 0.22753402590751648, 0.15494592487812042, 0.469943106174469, -0.04169744625687599, -0.20405283570289612, -0.15879051387310028, -0.3607625663280487, -0.40981554985046387, -0.14754711091518402, -0.1377190351486206, 0.07980351895093918, -0.3275156021118164, 0.08697982132434845, -0.3953317403793335, 0.09393288940191269, -0.23867501318454742, 0.07168731093406677, -0.2164166122674942, -0.10216986387968063, -0.17056018114089966, 0.2498825639486313, -0.23151220381259918, -0.16716374456882477, 0.07488510757684708, -0.13006362318992615, 0.042764365673065186, 0.38975954055786133, -0.00010526242840569466, -0.032223306596279144, 0.22476765513420105, -0.1220308244228363, -0.22706931829452515, 0.1904570758342743, -0.15038558840751648, -0.14698399603366852, -0.20377378165721893, -0.22183790802955627, -0.10678809881210327, 0.01338796503841877, 0.1107066348195076, -0.34909170866012573, -0.18316932022571564, 0.16737094521522522, 0.30890604853630066, 0.028812812641263008, 0.160141259431839, -0.27265244722366333, -0.0194908045232296, -0.20788142085075378, 0.1561831533908844, 0.17395979166030884, -0.0857311338186264, -0.045038215816020966, -0.48569491505622864, 0.23183023929595947, 0.17221906781196594, 0.23476752638816833, 0.1296936273574829, 0.04727790504693985, 0.16373632848262787, 0.3086504340171814, 0.10977287590503693, -0.2572634220123291, 0.2798325717449188, -0.21352022886276245, 0.027389738708734512, 0.43916869163513184, -0.16020168364048004, -0.4044969081878662, 0.3531990051269531, 0.05033343285322189, -0.4129526913166046, -0.012193744070827961, -0.27571332454681396, -0.3130571246147156, -0.44299113750457764, 0.07297772914171219, -0.17294228076934814, 0.2307528853416443, -0.019664142280817032, 0.09375055879354477, 0.2970885932445526, 0.11859119683504105, 0.00679384171962738, 0.12285538017749786, -0.04218405485153198, -0.3177367150783539, 0.007311155553907156, -0.09961912035942078, -0.05815903842449188, -0.21349528431892395, 0.060493651777505875, -0.21573671698570251, 0.26469725370407104, 0.1490793377161026, 0.31437918543815613, 0.20237569510936737, -0.08417484909296036, 0.6679657697677612, -0.03435119241476059, 0.110374815762043, 0.09626395255327225, 0.14455996453762054, -0.18384043872356415, -0.16474071145057678, 0.08160442858934402, -0.3282504975795746, 0.3157392144203186, 0.13352304697036743, -0.37596774101257324, -0.042425964027643204, -0.3132503032684326, 0.09085504710674286, -0.04254008084535599, 0.13393089175224304, 0.20328110456466675, 0.3124155104160309, 0.06216295436024666, 0.14045247435569763, 0.20702797174453735, 0.0649106353521347, -0.19403205811977386, 0.0063448334112763405, -0.3581600487232208, 0.19861865043640137, -0.2699809968471527, -0.11660267412662506, -0.07660292088985443, 0.24712404608726501, 0.14673598110675812, -0.31226229667663574, 0.14651593565940857, -0.2586148679256439, 0.16172228753566742, -0.2671006917953491, 0.1339389681816101, 0.2823275327682495, -0.03124302439391613, -0.04612021893262863, 0.17726846039295197, -0.02453864924609661, 0.1703442633152008, 0.22577519714832306, -0.07012417167425156, -0.31866455078125, 0.23133359849452972, 0.2574639618396759, -0.09484456479549408, 0.054240331053733826, -0.03383924439549446, 0.031188568100333214, 0.3663448989391327, 0.007977594621479511, -0.2933723032474518, 0.16368375718593597, -0.444174587726593, -0.2775132954120636, -0.01426731701940298, 0.1123436763882637, -0.12142515927553177, -0.218043252825737, 0.15497253835201263, -0.2790789306163788, 0.5127773880958557, 0.1574099063873291, 0.13117486238479614, -0.028479192405939102, -0.20252321660518646, 0.1262456774711609, 0.29150864481925964, -0.6022734045982361, -0.20661473274230957, 0.02148321270942688, -0.18277758359909058, -0.25908857583999634, 0.09872976690530777, -0.0338234007358551, 0.06119312718510628, 0.238643616437912, 0.3355896472930908, -0.17926828563213348, -0.22621288895606995, 0.03187311813235283, -0.2017054706811905, 0.013113264925777912, 0.3003746569156647, -0.04279100149869919, 0.6269462704658508, 0.048479221761226654, 0.1693681925535202, 0.25560736656188965, 0.09020363539457321, -0.09427221119403839, 0.1600494235754013, 0.23518700897693634, 0.23001903295516968, -0.4950178861618042, 0.23423761129379272, -0.14338575303554535, 0.17511659860610962, 0.007531620096415281, -0.14283441007137299, 0.27983763813972473, 0.2555452287197113, 0.4153672754764557, -0.08267713338136673, 0.14291176199913025, 0.18009983003139496, -0.02356717362999916, 0.31484708189964294, -0.02953191287815571, 0.011258750222623348, -0.22654646635055542, 0.017499107867479324, 0.13621042668819427, -0.4065679907798767, 0.05920412763953209, 0.13760317862033844, -0.13153061270713806, -0.20938587188720703, -0.20361877977848053, 0.23379957675933838, 0.13988721370697021, 0.24531760811805725, 0.07599201798439026, -0.28362956643104553, 0.21256014704704285, 0.06874939054250717, -0.09739712625741959, 0.23033075034618378, 0.18469029664993286, -0.018191970884799957, -0.16417758166790009, 0.08357106894254684, -0.20106054842472076, 0.10842420905828476, -0.193659707903862, 0.22195938229560852, -0.10829208791255951, -0.009208363480865955, 0.24966946244239807, 0.015646759420633316, 0.2342974692583084, 0.21249912679195404, 0.11677907407283783, 0.10418538004159927, -0.18419334292411804, 0.30186760425567627, -0.38863465189933777, -0.26889434456825256, -0.29928019642829895, 0.29192519187927246, -0.2436915785074234, 0.40058377385139465, 0.14696262776851654, 0.020206915214657784, 0.3344917297363281, -0.0802331194281578, -0.16572441160678864, -0.04773218557238579, -0.27969124913215637, 0.42367950081825256, 0.1619410365819931, 0.18550260365009308, 0.1120438426733017, -0.11903166770935059, -0.01726965792477131, 0.192414790391922, 0.11186545342206955, -0.0003578001051209867, -0.09690282493829727, 0.1650528460741043, -0.5214839577674866, -0.025753043591976166, -0.03890756145119667, 0.18506669998168945, 0.42384397983551025, -0.2204320877790451, -0.2642202377319336, -0.09617114812135696, -0.11042379587888718, 0.05059889331459999, -0.006741649471223354, 0.032106079161167145, -0.39589598774909973, -0.08356718719005585, 0.22312361001968384, -0.07527405023574829, 0.13227687776088715, 0.23906220495700836, 0.3359697461128235, 0.19470827281475067, 0.459389865398407, 0.1487388014793396, -0.15402542054653168, -0.21984650194644928, 0.16983917355537415, 0.04663299024105072, -0.11064576357603073, 0.2878705859184265, -0.19861844182014465, 0.12931311130523682, -0.16063232719898224, -0.2005201280117035, 0.11713230609893799, 0.13107573986053467, 0.19588007032871246, 0.20154760777950287, 0.18483702838420868, -0.11989641934633255, 0.033635515719652176, 0.3754514455795288, -0.2689153552055359, -0.17267419397830963, 0.4163466989994049, -0.1828000694513321, 0.022121794521808624, -0.22898748517036438, -0.17063961923122406, -0.005750830285251141, -0.33289116621017456, -0.16002032160758972, 0.06112811714410782, 0.29159486293792725, -0.07391653954982758, 0.21522009372711182, 0.10206223279237747, 0.1387271285057068, -0.09747982770204544, -0.2823602557182312, -0.23718015849590302, -0.010296950116753578, -0.28680241107940674, -0.31501680612564087, -0.08793405443429947, 0.03934979811310768, 0.43111705780029297, 0.3270381987094879, -0.21457484364509583, -0.5552237629890442, -0.0017767956014722586, -0.16977886855602264, -0.03770125284790993, -0.03335807844996452, 0.11929860711097717, -0.0812738835811615, -0.29492682218551636, -0.26620638370513916, -0.2268150895833969, 0.23545095324516296, 0.009946023114025593, -0.08981170505285263, -0.08780281245708466, 0.28330516815185547, 0.23886658251285553, 0.31637004017829895, 0.1399245709180832, 0.09477955847978592, 0.3337412476539612, 0.07350965589284897, 0.29563379287719727, 0.18131928145885468, -0.020715290680527687, 0.34783947467803955, 0.1361154019832611, -0.2917272448539734, 0.10340519994497299, 0.02920636720955372, -0.2745837867259979, -0.0052015697583556175, -0.018068427219986916, 0.19990792870521545, -0.15882737934589386, -0.11257968097925186, 0.18931807577610016, 0.29050830006599426, 0.20521138608455658, 0.07673060148954391, -0.44463014602661133, -0.2511400282382965, 0.16118790209293365, -0.03285283222794533, -0.1212807446718216, -0.0427422896027565, -0.07404150068759918, 0.002831455087289214, -0.5355420708656311, 0.24221257865428925, 0.08598745614290237, 0.2681719660758972, -0.23803189396858215, -0.026134023442864418, -0.08161094039678574, -0.08164361119270325, 0.4353477656841278, -0.13014164566993713, -0.06737379729747772, -0.09254218637943268, -0.14944347739219666, -0.28204312920570374, 0.2102290391921997, -0.307629257440567, 0.18589603900909424, 0.0819685086607933, 0.31615930795669556, -0.2025635838508606, 0.0712847113609314, -0.01685999520123005, 0.19993695616722107, -0.19522610306739807, -0.3001009225845337, -0.12626181542873383, -0.25180166959762573, -0.08224111795425415, -0.07126355171203613, -0.22228461503982544, 0.12030879408121109, 0.15460968017578125, 0.05899810045957565, -0.013344385661184788, -0.17121531069278717, 0.21373297274112701, -0.05850069597363472, 0.13018439710140228, -0.483148992061615, -0.04047605022788048, 0.11219152808189392, -0.11566948890686035, 0.24895717203617096, 0.16406995058059692, 0.06040973588824272, -0.03508364036679268, 0.3263317942619324, -0.060115665197372437, 0.17516274750232697, 0.1349450647830963, -0.17026947438716888, 0.04117725417017937, 0.13091561198234558, 0.30043938755989075, -0.44465503096580505, 0.23293866217136383, 0.01715417392551899, 0.22851015627384186, -0.14868658781051636, 0.031187396496534348, 0.020613452419638634, 0.26870232820510864, -0.051980502903461456, 0.24294136464595795, 0.044297512620687485, -0.17937950789928436, 0.2792985141277313, 0.23356887698173523, 0.912203848361969, -0.30991414189338684, -0.1562071591615677, 0.6129957437515259, -0.14154087007045746, -0.03912428393959999, -0.18950559198856354, 0.36576083302497864, -0.17713484168052673, -0.1289394497871399, 0.10123330354690552, -0.1950998306274414, -0.06465234607458115, -0.2432493269443512, 0.11247535049915314, 0.4301513731479645, -0.007029160391539335, -0.01296117715537548, 0.06586981564760208, 0.0018542584730312228, -0.16560135781764984, -0.22444875538349152, 0.2711130380630493, 0.3247247636318207, -0.0666835606098175, -0.26538369059562683, -0.1319613754749298, 0.18274596333503723, 0.06200960651040077, -0.09725628793239594, -0.2740287482738495, -0.06110372394323349, -0.1098712831735611, 0.213889017701149, -0.3530615270137787, 0.15105974674224854, -0.32078903913497925, 0.21443165838718414, 0.36967629194259644, 0.13872270286083221, 0.1259545534849167, 0.05699528753757477, -0.041507262736558914, 0.035717107355594635, 0.053106728941202164, 0.1699286699295044, 0.18693682551383972, -0.22353120148181915, -0.3420296311378479, 0.11362195760011673, 0.08620867133140564, -0.44500070810317993, -0.043242380023002625, 0.06544798612594604, -0.18462830781936646, -0.09412214905023575, 0.08064750581979752, -0.30698829889297485, -0.23135438561439514, -0.22850626707077026, 0.22393332421779633, 0.13427571952342987, -0.278344988822937, 0.5446608066558838, 0.21620361506938934, -0.17026270925998688, -0.2002900093793869, 0.33617645502090454, 0.32756349444389343, -0.14062437415122986, 0.41539913415908813, -0.027641015127301216, -0.22932836413383484, -0.21936291456222534, -0.4390583038330078, 0.12018696963787079, 0.03371952846646309, 0.3303445875644684, 0.13686789572238922, -0.13080739974975586, -0.19678469002246857, 0.12543505430221558, 0.14984694123268127, 0.4011078476905823, 0.07308956235647202, -0.24962741136550903, -0.6142904758453369, 0.028322238475084305, -0.09965896606445312, -0.10867401212453842, -0.3114827871322632, -0.08189409226179123, -0.4791572690010071, 0.005582180805504322, -0.3942911922931671, 0.00798032432794571, -0.581803023815155, 0.1023159846663475, -0.02636854164302349, -0.10721148550510406, 0.17148855328559875, 0.1302701234817505, 0.24289287626743317, 0.47350552678108215, -0.061448898166418076, -0.26361653208732605, -0.01454895455390215, 0.056131478399038315, 0.006473957560956478, -0.14862465858459473, 0.06265523284673691, -0.006070774048566818, -0.07821591198444366, -0.1417342722415924, -0.1939256489276886, 0.4723917543888092, -0.18508629500865936, 0.07678768038749695, -0.040298111736774445, -0.005941664334386587, 0.5508782267570496, 0.2202310860157013, 0.12283103913068771, 0.4983886480331421, -0.19459748268127441, 0.13401596248149872, -0.10547854751348495, -0.1312570571899414, 0.12441399693489075, 0.06457047909498215, 0.08067400008440018, -0.1492699533700943, 0.2109382152557373, -0.21671710908412933, -0.19150851666927338, 0.09709810465574265, 0.3069373667240143, -0.15644174814224243, -0.20994675159454346, -0.2031978815793991, 0.021758340299129486, 0.3168581426143646, 0.043922897428274155, 0.05395124852657318, -0.0646153911948204, 0.023342184722423553, 0.15155503153800964, 0.21241740882396698, 0.06462276726961136, -0.21209804713726044, -0.011689292266964912, -0.04981377348303795, 0.28505703806877136, -0.2610410749912262, -0.38420000672340393, -0.48509281873703003, -0.21534526348114014, -0.08074834942817688, 0.10716333985328674, 0.1773255616426468, 0.26389575004577637, 0.5327090620994568, 0.15989390015602112, 0.5079995393753052, -0.1597263067960739, 0.05937561020255089, -0.17885617911815643, -0.39242300391197205, -0.1765020489692688, 0.3219278156757355, 0.1897849440574646, 0.1086415946483612, -0.27594804763793945, -0.0026721989270299673, 0.18627755343914032, 0.1424327790737152, -0.11788582801818848, -0.15796919167041779, -0.36204129457473755, 0.12406769394874573, 0.11566168069839478, -0.3213338255882263, 0.1453363448381424, 0.011214551515877247, 0.24002449214458466, 0.13478831946849823, 0.2699490189552307, -0.018652457743883133, -0.09914892911911011, 0.28072744607925415, 0.0900253877043724, 0.287993848323822, -0.09036877006292343, -0.2850996255874634, 0.05255821719765663, 0.4557914733886719, 0.19339312613010406, 0.19416576623916626, 0.24996428191661835, 0.4828992187976837, 0.3571332097053528, -0.11601674556732178, 0.09605303406715393, -0.08317007124423981, -0.24500083923339844, -0.2310701459646225, 0.26861807703971863, 0.36839979887008667, -0.12249664962291718, 0.24262888729572296, 0.1790810078382492, -0.24126002192497253, 0.11115627735853195, 0.08954475075006485, 0.16023744642734528, 0.019558003172278404, 0.15407097339630127, -0.1548652946949005, 0.04734872281551361, -0.14520420134067535, -0.3735290467739105, -0.36973491311073303, -0.008999819867312908, 0.05892578512430191, -0.2891274690628052, 0.2939562499523163, 0.0023878924548625946, 0.12025635689496994, -0.3840460181236267, 0.4920017421245575, 0.044743675738573074, -0.029142962768673897, -0.44938594102859497, -0.1745864450931549, -0.21782097220420837, 0.4429192841053009, -0.10789623111486435, 0.38233891129493713, -0.17667801678180695, 0.2774885296821594, -0.11382240056991577, -0.29393285512924194, 0.06263800710439682, 0.2538887858390808, -0.13295692205429077, 0.1109614446759224, -0.4148550033569336, -0.1191210150718689, 0.24647152423858643, -0.3301175534725189, 0.30556175112724304, -0.28650444746017456, 0.0038241290021687746, -0.3892669975757599, 0.25609663128852844, -0.09650667756795883, 0.23063351213932037, 0.08047729730606079, 0.6506862044334412, 0.11721969395875931, 0.3224923014640808, 0.5600289106369019, -0.17910195887088776, -0.2774541974067688, -0.06298912316560745, -0.2023514062166214, -0.23663613200187683, -0.17525266110897064, -0.016257615759968758, 0.3809337019920349, -0.19279125332832336, -0.14378811419010162, -0.1725330948829651, 0.31607306003570557, -0.14478980004787445, 0.07347949594259262, 0.03038998320698738, 0.33436402678489685, -0.16772739589214325, 0.022934792563319206, 0.1822415143251419, 0.16660456359386444, 0.40788888931274414, 0.4184737205505371, -0.1464945375919342, -0.2091168761253357, 0.45599880814552307, 0.10131923109292984, -0.4745692014694214, 0.03760065138339996, 0.0936150774359703, 0.26568564772605896, -0.32729724049568176, -0.5464821457862854, -0.09331151843070984, 0.21630974113941193, 0.13424158096313477, -0.18701530992984772, 0.07770439982414246, -0.06093163415789604, 0.12286385148763657, 0.2112281620502472, 0.018339475616812706, -0.14546501636505127, -0.4038732945919037, 0.025552932173013687, 0.08575735241174698 ]
https://github.com/huggingface/datasets/issues/2078
MemoryError when computing WER metric
Hi all, in my case I was using and older version of datasets and, as @albertvillanova points out, passing the full list of sentences for the metric calculation. The problem was in the way jiwer implements WER, as it tries to compute WER for the full list at once instead of doing it element-wise. I think that with the latest implementation of datasets, or by using the alternative WER function that I've contributed on this [pull request](https://github.com/huggingface/datasets/pull/2169) there shouldn't be memory errors.
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation: ``` wer = load_metric("wer") print(wer.compute(predictions=result["predicted"], references=result["target"])) ``` However, I receive the following exception: `Traceback (most recent call last): File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module> print(wer.compute(predictions=result["predicted"], references=result["target"])) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute output = self._compute(predictions=predictions, references=references, **kwargs) File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute return wer(references, predictions) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer truth, hypothesis, truth_transform, hypothesis_transform, **kwargs File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures H, S, D, I = _get_operation_counts(truth, hypothesis) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts editops = Levenshtein.editops(source_string, destination_string) MemoryError` My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
82
MemoryError when computing WER metric
[ -0.16400527954101562, -0.11851344257593155, -0.11197710782289505, 0.42964252829551697, 0.4142496585845947, -0.029726067557930946, -0.15687070786952972, 0.22753402590751648, 0.15494592487812042, 0.469943106174469, -0.04169744625687599, -0.20405283570289612, -0.15879051387310028, -0.3607625663280487, -0.40981554985046387, -0.14754711091518402, -0.1377190351486206, 0.07980351895093918, -0.3275156021118164, 0.08697982132434845, -0.3953317403793335, 0.09393288940191269, -0.23867501318454742, 0.07168731093406677, -0.2164166122674942, -0.10216986387968063, -0.17056018114089966, 0.2498825639486313, -0.23151220381259918, -0.16716374456882477, 0.07488510757684708, -0.13006362318992615, 0.042764365673065186, 0.38975954055786133, -0.00010526242840569466, -0.032223306596279144, 0.22476765513420105, -0.1220308244228363, -0.22706931829452515, 0.1904570758342743, -0.15038558840751648, -0.14698399603366852, -0.20377378165721893, -0.22183790802955627, -0.10678809881210327, 0.01338796503841877, 0.1107066348195076, -0.34909170866012573, -0.18316932022571564, 0.16737094521522522, 0.30890604853630066, 0.028812812641263008, 0.160141259431839, -0.27265244722366333, -0.0194908045232296, -0.20788142085075378, 0.1561831533908844, 0.17395979166030884, -0.0857311338186264, -0.045038215816020966, -0.48569491505622864, 0.23183023929595947, 0.17221906781196594, 0.23476752638816833, 0.1296936273574829, 0.04727790504693985, 0.16373632848262787, 0.3086504340171814, 0.10977287590503693, -0.2572634220123291, 0.2798325717449188, -0.21352022886276245, 0.027389738708734512, 0.43916869163513184, -0.16020168364048004, -0.4044969081878662, 0.3531990051269531, 0.05033343285322189, -0.4129526913166046, -0.012193744070827961, -0.27571332454681396, -0.3130571246147156, -0.44299113750457764, 0.07297772914171219, -0.17294228076934814, 0.2307528853416443, -0.019664142280817032, 0.09375055879354477, 0.2970885932445526, 0.11859119683504105, 0.00679384171962738, 0.12285538017749786, -0.04218405485153198, -0.3177367150783539, 0.007311155553907156, -0.09961912035942078, -0.05815903842449188, -0.21349528431892395, 0.060493651777505875, -0.21573671698570251, 0.26469725370407104, 0.1490793377161026, 0.31437918543815613, 0.20237569510936737, -0.08417484909296036, 0.6679657697677612, -0.03435119241476059, 0.110374815762043, 0.09626395255327225, 0.14455996453762054, -0.18384043872356415, -0.16474071145057678, 0.08160442858934402, -0.3282504975795746, 0.3157392144203186, 0.13352304697036743, -0.37596774101257324, -0.042425964027643204, -0.3132503032684326, 0.09085504710674286, -0.04254008084535599, 0.13393089175224304, 0.20328110456466675, 0.3124155104160309, 0.06216295436024666, 0.14045247435569763, 0.20702797174453735, 0.0649106353521347, -0.19403205811977386, 0.0063448334112763405, -0.3581600487232208, 0.19861865043640137, -0.2699809968471527, -0.11660267412662506, -0.07660292088985443, 0.24712404608726501, 0.14673598110675812, -0.31226229667663574, 0.14651593565940857, -0.2586148679256439, 0.16172228753566742, -0.2671006917953491, 0.1339389681816101, 0.2823275327682495, -0.03124302439391613, -0.04612021893262863, 0.17726846039295197, -0.02453864924609661, 0.1703442633152008, 0.22577519714832306, -0.07012417167425156, -0.31866455078125, 0.23133359849452972, 0.2574639618396759, -0.09484456479549408, 0.054240331053733826, -0.03383924439549446, 0.031188568100333214, 0.3663448989391327, 0.007977594621479511, -0.2933723032474518, 0.16368375718593597, -0.444174587726593, -0.2775132954120636, -0.01426731701940298, 0.1123436763882637, -0.12142515927553177, -0.218043252825737, 0.15497253835201263, -0.2790789306163788, 0.5127773880958557, 0.1574099063873291, 0.13117486238479614, -0.028479192405939102, -0.20252321660518646, 0.1262456774711609, 0.29150864481925964, -0.6022734045982361, -0.20661473274230957, 0.02148321270942688, -0.18277758359909058, -0.25908857583999634, 0.09872976690530777, -0.0338234007358551, 0.06119312718510628, 0.238643616437912, 0.3355896472930908, -0.17926828563213348, -0.22621288895606995, 0.03187311813235283, -0.2017054706811905, 0.013113264925777912, 0.3003746569156647, -0.04279100149869919, 0.6269462704658508, 0.048479221761226654, 0.1693681925535202, 0.25560736656188965, 0.09020363539457321, -0.09427221119403839, 0.1600494235754013, 0.23518700897693634, 0.23001903295516968, -0.4950178861618042, 0.23423761129379272, -0.14338575303554535, 0.17511659860610962, 0.007531620096415281, -0.14283441007137299, 0.27983763813972473, 0.2555452287197113, 0.4153672754764557, -0.08267713338136673, 0.14291176199913025, 0.18009983003139496, -0.02356717362999916, 0.31484708189964294, -0.02953191287815571, 0.011258750222623348, -0.22654646635055542, 0.017499107867479324, 0.13621042668819427, -0.4065679907798767, 0.05920412763953209, 0.13760317862033844, -0.13153061270713806, -0.20938587188720703, -0.20361877977848053, 0.23379957675933838, 0.13988721370697021, 0.24531760811805725, 0.07599201798439026, -0.28362956643104553, 0.21256014704704285, 0.06874939054250717, -0.09739712625741959, 0.23033075034618378, 0.18469029664993286, -0.018191970884799957, -0.16417758166790009, 0.08357106894254684, -0.20106054842472076, 0.10842420905828476, -0.193659707903862, 0.22195938229560852, -0.10829208791255951, -0.009208363480865955, 0.24966946244239807, 0.015646759420633316, 0.2342974692583084, 0.21249912679195404, 0.11677907407283783, 0.10418538004159927, -0.18419334292411804, 0.30186760425567627, -0.38863465189933777, -0.26889434456825256, -0.29928019642829895, 0.29192519187927246, -0.2436915785074234, 0.40058377385139465, 0.14696262776851654, 0.020206915214657784, 0.3344917297363281, -0.0802331194281578, -0.16572441160678864, -0.04773218557238579, -0.27969124913215637, 0.42367950081825256, 0.1619410365819931, 0.18550260365009308, 0.1120438426733017, -0.11903166770935059, -0.01726965792477131, 0.192414790391922, 0.11186545342206955, -0.0003578001051209867, -0.09690282493829727, 0.1650528460741043, -0.5214839577674866, -0.025753043591976166, -0.03890756145119667, 0.18506669998168945, 0.42384397983551025, -0.2204320877790451, -0.2642202377319336, -0.09617114812135696, -0.11042379587888718, 0.05059889331459999, -0.006741649471223354, 0.032106079161167145, -0.39589598774909973, -0.08356718719005585, 0.22312361001968384, -0.07527405023574829, 0.13227687776088715, 0.23906220495700836, 0.3359697461128235, 0.19470827281475067, 0.459389865398407, 0.1487388014793396, -0.15402542054653168, -0.21984650194644928, 0.16983917355537415, 0.04663299024105072, -0.11064576357603073, 0.2878705859184265, -0.19861844182014465, 0.12931311130523682, -0.16063232719898224, -0.2005201280117035, 0.11713230609893799, 0.13107573986053467, 0.19588007032871246, 0.20154760777950287, 0.18483702838420868, -0.11989641934633255, 0.033635515719652176, 0.3754514455795288, -0.2689153552055359, -0.17267419397830963, 0.4163466989994049, -0.1828000694513321, 0.022121794521808624, -0.22898748517036438, -0.17063961923122406, -0.005750830285251141, -0.33289116621017456, -0.16002032160758972, 0.06112811714410782, 0.29159486293792725, -0.07391653954982758, 0.21522009372711182, 0.10206223279237747, 0.1387271285057068, -0.09747982770204544, -0.2823602557182312, -0.23718015849590302, -0.010296950116753578, -0.28680241107940674, -0.31501680612564087, -0.08793405443429947, 0.03934979811310768, 0.43111705780029297, 0.3270381987094879, -0.21457484364509583, -0.5552237629890442, -0.0017767956014722586, -0.16977886855602264, -0.03770125284790993, -0.03335807844996452, 0.11929860711097717, -0.0812738835811615, -0.29492682218551636, -0.26620638370513916, -0.2268150895833969, 0.23545095324516296, 0.009946023114025593, -0.08981170505285263, -0.08780281245708466, 0.28330516815185547, 0.23886658251285553, 0.31637004017829895, 0.1399245709180832, 0.09477955847978592, 0.3337412476539612, 0.07350965589284897, 0.29563379287719727, 0.18131928145885468, -0.020715290680527687, 0.34783947467803955, 0.1361154019832611, -0.2917272448539734, 0.10340519994497299, 0.02920636720955372, -0.2745837867259979, -0.0052015697583556175, -0.018068427219986916, 0.19990792870521545, -0.15882737934589386, -0.11257968097925186, 0.18931807577610016, 0.29050830006599426, 0.20521138608455658, 0.07673060148954391, -0.44463014602661133, -0.2511400282382965, 0.16118790209293365, -0.03285283222794533, -0.1212807446718216, -0.0427422896027565, -0.07404150068759918, 0.002831455087289214, -0.5355420708656311, 0.24221257865428925, 0.08598745614290237, 0.2681719660758972, -0.23803189396858215, -0.026134023442864418, -0.08161094039678574, -0.08164361119270325, 0.4353477656841278, -0.13014164566993713, -0.06737379729747772, -0.09254218637943268, -0.14944347739219666, -0.28204312920570374, 0.2102290391921997, -0.307629257440567, 0.18589603900909424, 0.0819685086607933, 0.31615930795669556, -0.2025635838508606, 0.0712847113609314, -0.01685999520123005, 0.19993695616722107, -0.19522610306739807, -0.3001009225845337, -0.12626181542873383, -0.25180166959762573, -0.08224111795425415, -0.07126355171203613, -0.22228461503982544, 0.12030879408121109, 0.15460968017578125, 0.05899810045957565, -0.013344385661184788, -0.17121531069278717, 0.21373297274112701, -0.05850069597363472, 0.13018439710140228, -0.483148992061615, -0.04047605022788048, 0.11219152808189392, -0.11566948890686035, 0.24895717203617096, 0.16406995058059692, 0.06040973588824272, -0.03508364036679268, 0.3263317942619324, -0.060115665197372437, 0.17516274750232697, 0.1349450647830963, -0.17026947438716888, 0.04117725417017937, 0.13091561198234558, 0.30043938755989075, -0.44465503096580505, 0.23293866217136383, 0.01715417392551899, 0.22851015627384186, -0.14868658781051636, 0.031187396496534348, 0.020613452419638634, 0.26870232820510864, -0.051980502903461456, 0.24294136464595795, 0.044297512620687485, -0.17937950789928436, 0.2792985141277313, 0.23356887698173523, 0.912203848361969, -0.30991414189338684, -0.1562071591615677, 0.6129957437515259, -0.14154087007045746, -0.03912428393959999, -0.18950559198856354, 0.36576083302497864, -0.17713484168052673, -0.1289394497871399, 0.10123330354690552, -0.1950998306274414, -0.06465234607458115, -0.2432493269443512, 0.11247535049915314, 0.4301513731479645, -0.007029160391539335, -0.01296117715537548, 0.06586981564760208, 0.0018542584730312228, -0.16560135781764984, -0.22444875538349152, 0.2711130380630493, 0.3247247636318207, -0.0666835606098175, -0.26538369059562683, -0.1319613754749298, 0.18274596333503723, 0.06200960651040077, -0.09725628793239594, -0.2740287482738495, -0.06110372394323349, -0.1098712831735611, 0.213889017701149, -0.3530615270137787, 0.15105974674224854, -0.32078903913497925, 0.21443165838718414, 0.36967629194259644, 0.13872270286083221, 0.1259545534849167, 0.05699528753757477, -0.041507262736558914, 0.035717107355594635, 0.053106728941202164, 0.1699286699295044, 0.18693682551383972, -0.22353120148181915, -0.3420296311378479, 0.11362195760011673, 0.08620867133140564, -0.44500070810317993, -0.043242380023002625, 0.06544798612594604, -0.18462830781936646, -0.09412214905023575, 0.08064750581979752, -0.30698829889297485, -0.23135438561439514, -0.22850626707077026, 0.22393332421779633, 0.13427571952342987, -0.278344988822937, 0.5446608066558838, 0.21620361506938934, -0.17026270925998688, -0.2002900093793869, 0.33617645502090454, 0.32756349444389343, -0.14062437415122986, 0.41539913415908813, -0.027641015127301216, -0.22932836413383484, -0.21936291456222534, -0.4390583038330078, 0.12018696963787079, 0.03371952846646309, 0.3303445875644684, 0.13686789572238922, -0.13080739974975586, -0.19678469002246857, 0.12543505430221558, 0.14984694123268127, 0.4011078476905823, 0.07308956235647202, -0.24962741136550903, -0.6142904758453369, 0.028322238475084305, -0.09965896606445312, -0.10867401212453842, -0.3114827871322632, -0.08189409226179123, -0.4791572690010071, 0.005582180805504322, -0.3942911922931671, 0.00798032432794571, -0.581803023815155, 0.1023159846663475, -0.02636854164302349, -0.10721148550510406, 0.17148855328559875, 0.1302701234817505, 0.24289287626743317, 0.47350552678108215, -0.061448898166418076, -0.26361653208732605, -0.01454895455390215, 0.056131478399038315, 0.006473957560956478, -0.14862465858459473, 0.06265523284673691, -0.006070774048566818, -0.07821591198444366, -0.1417342722415924, -0.1939256489276886, 0.4723917543888092, -0.18508629500865936, 0.07678768038749695, -0.040298111736774445, -0.005941664334386587, 0.5508782267570496, 0.2202310860157013, 0.12283103913068771, 0.4983886480331421, -0.19459748268127441, 0.13401596248149872, -0.10547854751348495, -0.1312570571899414, 0.12441399693489075, 0.06457047909498215, 0.08067400008440018, -0.1492699533700943, 0.2109382152557373, -0.21671710908412933, -0.19150851666927338, 0.09709810465574265, 0.3069373667240143, -0.15644174814224243, -0.20994675159454346, -0.2031978815793991, 0.021758340299129486, 0.3168581426143646, 0.043922897428274155, 0.05395124852657318, -0.0646153911948204, 0.023342184722423553, 0.15155503153800964, 0.21241740882396698, 0.06462276726961136, -0.21209804713726044, -0.011689292266964912, -0.04981377348303795, 0.28505703806877136, -0.2610410749912262, -0.38420000672340393, -0.48509281873703003, -0.21534526348114014, -0.08074834942817688, 0.10716333985328674, 0.1773255616426468, 0.26389575004577637, 0.5327090620994568, 0.15989390015602112, 0.5079995393753052, -0.1597263067960739, 0.05937561020255089, -0.17885617911815643, -0.39242300391197205, -0.1765020489692688, 0.3219278156757355, 0.1897849440574646, 0.1086415946483612, -0.27594804763793945, -0.0026721989270299673, 0.18627755343914032, 0.1424327790737152, -0.11788582801818848, -0.15796919167041779, -0.36204129457473755, 0.12406769394874573, 0.11566168069839478, -0.3213338255882263, 0.1453363448381424, 0.011214551515877247, 0.24002449214458466, 0.13478831946849823, 0.2699490189552307, -0.018652457743883133, -0.09914892911911011, 0.28072744607925415, 0.0900253877043724, 0.287993848323822, -0.09036877006292343, -0.2850996255874634, 0.05255821719765663, 0.4557914733886719, 0.19339312613010406, 0.19416576623916626, 0.24996428191661835, 0.4828992187976837, 0.3571332097053528, -0.11601674556732178, 0.09605303406715393, -0.08317007124423981, -0.24500083923339844, -0.2310701459646225, 0.26861807703971863, 0.36839979887008667, -0.12249664962291718, 0.24262888729572296, 0.1790810078382492, -0.24126002192497253, 0.11115627735853195, 0.08954475075006485, 0.16023744642734528, 0.019558003172278404, 0.15407097339630127, -0.1548652946949005, 0.04734872281551361, -0.14520420134067535, -0.3735290467739105, -0.36973491311073303, -0.008999819867312908, 0.05892578512430191, -0.2891274690628052, 0.2939562499523163, 0.0023878924548625946, 0.12025635689496994, -0.3840460181236267, 0.4920017421245575, 0.044743675738573074, -0.029142962768673897, -0.44938594102859497, -0.1745864450931549, -0.21782097220420837, 0.4429192841053009, -0.10789623111486435, 0.38233891129493713, -0.17667801678180695, 0.2774885296821594, -0.11382240056991577, -0.29393285512924194, 0.06263800710439682, 0.2538887858390808, -0.13295692205429077, 0.1109614446759224, -0.4148550033569336, -0.1191210150718689, 0.24647152423858643, -0.3301175534725189, 0.30556175112724304, -0.28650444746017456, 0.0038241290021687746, -0.3892669975757599, 0.25609663128852844, -0.09650667756795883, 0.23063351213932037, 0.08047729730606079, 0.6506862044334412, 0.11721969395875931, 0.3224923014640808, 0.5600289106369019, -0.17910195887088776, -0.2774541974067688, -0.06298912316560745, -0.2023514062166214, -0.23663613200187683, -0.17525266110897064, -0.016257615759968758, 0.3809337019920349, -0.19279125332832336, -0.14378811419010162, -0.1725330948829651, 0.31607306003570557, -0.14478980004787445, 0.07347949594259262, 0.03038998320698738, 0.33436402678489685, -0.16772739589214325, 0.022934792563319206, 0.1822415143251419, 0.16660456359386444, 0.40788888931274414, 0.4184737205505371, -0.1464945375919342, -0.2091168761253357, 0.45599880814552307, 0.10131923109292984, -0.4745692014694214, 0.03760065138339996, 0.0936150774359703, 0.26568564772605896, -0.32729724049568176, -0.5464821457862854, -0.09331151843070984, 0.21630974113941193, 0.13424158096313477, -0.18701530992984772, 0.07770439982414246, -0.06093163415789604, 0.12286385148763657, 0.2112281620502472, 0.018339475616812706, -0.14546501636505127, -0.4038732945919037, 0.025552932173013687, 0.08575735241174698 ]
https://github.com/huggingface/datasets/issues/2078
MemoryError when computing WER metric
@lhoestq i was using Datasets==1.5.0 with 1.6.1 it worked (atleast the first run) but 1.5.0 is not compatible with my preprocessing. i cant save my dataset to a parquet file while using the latest datasets version -> ``` File "../preprocess_dataset.py", line 132, in <module> pq.write_table(train_dataset.data, f'{resampled_data_dir}/{data_args.dataset_config_name}.train.parquet') File "/usr/local/lib/python3.8/dist-packages/pyarrow/parquet.py", line 1674, in write_table writer.write_table(table, row_group_size=row_group_size) File "/usr/local/lib/python3.8/dist-packages/pyarrow/parquet.py", line 588, in write_table self.writer.write_table(table, row_group_size=row_group_size) TypeError: Argument 'table' has incorrect type (expected pyarrow.lib.Table, got ConcatenationTable) ``` if i do ``` import pyarrow.parquet as pq ... ... pq.write_table(train_dataset.data, 'train.parquet') pq.write_table(eval_dataset.data, 'eval.parquet') ``` while using 1.6.1. and its working with 1.5.0
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation: ``` wer = load_metric("wer") print(wer.compute(predictions=result["predicted"], references=result["target"])) ``` However, I receive the following exception: `Traceback (most recent call last): File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module> print(wer.compute(predictions=result["predicted"], references=result["target"])) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute output = self._compute(predictions=predictions, references=references, **kwargs) File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute return wer(references, predictions) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer truth, hypothesis, truth_transform, hypothesis_transform, **kwargs File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures H, S, D, I = _get_operation_counts(truth, hypothesis) File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts editops = Levenshtein.editops(source_string, destination_string) MemoryError` My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
96
MemoryError when computing WER metric
[ -0.16400527954101562, -0.11851344257593155, -0.11197710782289505, 0.42964252829551697, 0.4142496585845947, -0.029726067557930946, -0.15687070786952972, 0.22753402590751648, 0.15494592487812042, 0.469943106174469, -0.04169744625687599, -0.20405283570289612, -0.15879051387310028, -0.3607625663280487, -0.40981554985046387, -0.14754711091518402, -0.1377190351486206, 0.07980351895093918, -0.3275156021118164, 0.08697982132434845, -0.3953317403793335, 0.09393288940191269, -0.23867501318454742, 0.07168731093406677, -0.2164166122674942, -0.10216986387968063, -0.17056018114089966, 0.2498825639486313, -0.23151220381259918, -0.16716374456882477, 0.07488510757684708, -0.13006362318992615, 0.042764365673065186, 0.38975954055786133, -0.00010526242840569466, -0.032223306596279144, 0.22476765513420105, -0.1220308244228363, -0.22706931829452515, 0.1904570758342743, -0.15038558840751648, -0.14698399603366852, -0.20377378165721893, -0.22183790802955627, -0.10678809881210327, 0.01338796503841877, 0.1107066348195076, -0.34909170866012573, -0.18316932022571564, 0.16737094521522522, 0.30890604853630066, 0.028812812641263008, 0.160141259431839, -0.27265244722366333, -0.0194908045232296, -0.20788142085075378, 0.1561831533908844, 0.17395979166030884, -0.0857311338186264, -0.045038215816020966, -0.48569491505622864, 0.23183023929595947, 0.17221906781196594, 0.23476752638816833, 0.1296936273574829, 0.04727790504693985, 0.16373632848262787, 0.3086504340171814, 0.10977287590503693, -0.2572634220123291, 0.2798325717449188, -0.21352022886276245, 0.027389738708734512, 0.43916869163513184, -0.16020168364048004, -0.4044969081878662, 0.3531990051269531, 0.05033343285322189, -0.4129526913166046, -0.012193744070827961, -0.27571332454681396, -0.3130571246147156, -0.44299113750457764, 0.07297772914171219, -0.17294228076934814, 0.2307528853416443, -0.019664142280817032, 0.09375055879354477, 0.2970885932445526, 0.11859119683504105, 0.00679384171962738, 0.12285538017749786, -0.04218405485153198, -0.3177367150783539, 0.007311155553907156, -0.09961912035942078, -0.05815903842449188, -0.21349528431892395, 0.060493651777505875, -0.21573671698570251, 0.26469725370407104, 0.1490793377161026, 0.31437918543815613, 0.20237569510936737, -0.08417484909296036, 0.6679657697677612, -0.03435119241476059, 0.110374815762043, 0.09626395255327225, 0.14455996453762054, -0.18384043872356415, -0.16474071145057678, 0.08160442858934402, -0.3282504975795746, 0.3157392144203186, 0.13352304697036743, -0.37596774101257324, -0.042425964027643204, -0.3132503032684326, 0.09085504710674286, -0.04254008084535599, 0.13393089175224304, 0.20328110456466675, 0.3124155104160309, 0.06216295436024666, 0.14045247435569763, 0.20702797174453735, 0.0649106353521347, -0.19403205811977386, 0.0063448334112763405, -0.3581600487232208, 0.19861865043640137, -0.2699809968471527, -0.11660267412662506, -0.07660292088985443, 0.24712404608726501, 0.14673598110675812, -0.31226229667663574, 0.14651593565940857, -0.2586148679256439, 0.16172228753566742, -0.2671006917953491, 0.1339389681816101, 0.2823275327682495, -0.03124302439391613, -0.04612021893262863, 0.17726846039295197, -0.02453864924609661, 0.1703442633152008, 0.22577519714832306, -0.07012417167425156, -0.31866455078125, 0.23133359849452972, 0.2574639618396759, -0.09484456479549408, 0.054240331053733826, -0.03383924439549446, 0.031188568100333214, 0.3663448989391327, 0.007977594621479511, -0.2933723032474518, 0.16368375718593597, -0.444174587726593, -0.2775132954120636, -0.01426731701940298, 0.1123436763882637, -0.12142515927553177, -0.218043252825737, 0.15497253835201263, -0.2790789306163788, 0.5127773880958557, 0.1574099063873291, 0.13117486238479614, -0.028479192405939102, -0.20252321660518646, 0.1262456774711609, 0.29150864481925964, -0.6022734045982361, -0.20661473274230957, 0.02148321270942688, -0.18277758359909058, -0.25908857583999634, 0.09872976690530777, -0.0338234007358551, 0.06119312718510628, 0.238643616437912, 0.3355896472930908, -0.17926828563213348, -0.22621288895606995, 0.03187311813235283, -0.2017054706811905, 0.013113264925777912, 0.3003746569156647, -0.04279100149869919, 0.6269462704658508, 0.048479221761226654, 0.1693681925535202, 0.25560736656188965, 0.09020363539457321, -0.09427221119403839, 0.1600494235754013, 0.23518700897693634, 0.23001903295516968, -0.4950178861618042, 0.23423761129379272, -0.14338575303554535, 0.17511659860610962, 0.007531620096415281, -0.14283441007137299, 0.27983763813972473, 0.2555452287197113, 0.4153672754764557, -0.08267713338136673, 0.14291176199913025, 0.18009983003139496, -0.02356717362999916, 0.31484708189964294, -0.02953191287815571, 0.011258750222623348, -0.22654646635055542, 0.017499107867479324, 0.13621042668819427, -0.4065679907798767, 0.05920412763953209, 0.13760317862033844, -0.13153061270713806, -0.20938587188720703, -0.20361877977848053, 0.23379957675933838, 0.13988721370697021, 0.24531760811805725, 0.07599201798439026, -0.28362956643104553, 0.21256014704704285, 0.06874939054250717, -0.09739712625741959, 0.23033075034618378, 0.18469029664993286, -0.018191970884799957, -0.16417758166790009, 0.08357106894254684, -0.20106054842472076, 0.10842420905828476, -0.193659707903862, 0.22195938229560852, -0.10829208791255951, -0.009208363480865955, 0.24966946244239807, 0.015646759420633316, 0.2342974692583084, 0.21249912679195404, 0.11677907407283783, 0.10418538004159927, -0.18419334292411804, 0.30186760425567627, -0.38863465189933777, -0.26889434456825256, -0.29928019642829895, 0.29192519187927246, -0.2436915785074234, 0.40058377385139465, 0.14696262776851654, 0.020206915214657784, 0.3344917297363281, -0.0802331194281578, -0.16572441160678864, -0.04773218557238579, -0.27969124913215637, 0.42367950081825256, 0.1619410365819931, 0.18550260365009308, 0.1120438426733017, -0.11903166770935059, -0.01726965792477131, 0.192414790391922, 0.11186545342206955, -0.0003578001051209867, -0.09690282493829727, 0.1650528460741043, -0.5214839577674866, -0.025753043591976166, -0.03890756145119667, 0.18506669998168945, 0.42384397983551025, -0.2204320877790451, -0.2642202377319336, -0.09617114812135696, -0.11042379587888718, 0.05059889331459999, -0.006741649471223354, 0.032106079161167145, -0.39589598774909973, -0.08356718719005585, 0.22312361001968384, -0.07527405023574829, 0.13227687776088715, 0.23906220495700836, 0.3359697461128235, 0.19470827281475067, 0.459389865398407, 0.1487388014793396, -0.15402542054653168, -0.21984650194644928, 0.16983917355537415, 0.04663299024105072, -0.11064576357603073, 0.2878705859184265, -0.19861844182014465, 0.12931311130523682, -0.16063232719898224, -0.2005201280117035, 0.11713230609893799, 0.13107573986053467, 0.19588007032871246, 0.20154760777950287, 0.18483702838420868, -0.11989641934633255, 0.033635515719652176, 0.3754514455795288, -0.2689153552055359, -0.17267419397830963, 0.4163466989994049, -0.1828000694513321, 0.022121794521808624, -0.22898748517036438, -0.17063961923122406, -0.005750830285251141, -0.33289116621017456, -0.16002032160758972, 0.06112811714410782, 0.29159486293792725, -0.07391653954982758, 0.21522009372711182, 0.10206223279237747, 0.1387271285057068, -0.09747982770204544, -0.2823602557182312, -0.23718015849590302, -0.010296950116753578, -0.28680241107940674, -0.31501680612564087, -0.08793405443429947, 0.03934979811310768, 0.43111705780029297, 0.3270381987094879, -0.21457484364509583, -0.5552237629890442, -0.0017767956014722586, -0.16977886855602264, -0.03770125284790993, -0.03335807844996452, 0.11929860711097717, -0.0812738835811615, -0.29492682218551636, -0.26620638370513916, -0.2268150895833969, 0.23545095324516296, 0.009946023114025593, -0.08981170505285263, -0.08780281245708466, 0.28330516815185547, 0.23886658251285553, 0.31637004017829895, 0.1399245709180832, 0.09477955847978592, 0.3337412476539612, 0.07350965589284897, 0.29563379287719727, 0.18131928145885468, -0.020715290680527687, 0.34783947467803955, 0.1361154019832611, -0.2917272448539734, 0.10340519994497299, 0.02920636720955372, -0.2745837867259979, -0.0052015697583556175, -0.018068427219986916, 0.19990792870521545, -0.15882737934589386, -0.11257968097925186, 0.18931807577610016, 0.29050830006599426, 0.20521138608455658, 0.07673060148954391, -0.44463014602661133, -0.2511400282382965, 0.16118790209293365, -0.03285283222794533, -0.1212807446718216, -0.0427422896027565, -0.07404150068759918, 0.002831455087289214, -0.5355420708656311, 0.24221257865428925, 0.08598745614290237, 0.2681719660758972, -0.23803189396858215, -0.026134023442864418, -0.08161094039678574, -0.08164361119270325, 0.4353477656841278, -0.13014164566993713, -0.06737379729747772, -0.09254218637943268, -0.14944347739219666, -0.28204312920570374, 0.2102290391921997, -0.307629257440567, 0.18589603900909424, 0.0819685086607933, 0.31615930795669556, -0.2025635838508606, 0.0712847113609314, -0.01685999520123005, 0.19993695616722107, -0.19522610306739807, -0.3001009225845337, -0.12626181542873383, -0.25180166959762573, -0.08224111795425415, -0.07126355171203613, -0.22228461503982544, 0.12030879408121109, 0.15460968017578125, 0.05899810045957565, -0.013344385661184788, -0.17121531069278717, 0.21373297274112701, -0.05850069597363472, 0.13018439710140228, -0.483148992061615, -0.04047605022788048, 0.11219152808189392, -0.11566948890686035, 0.24895717203617096, 0.16406995058059692, 0.06040973588824272, -0.03508364036679268, 0.3263317942619324, -0.060115665197372437, 0.17516274750232697, 0.1349450647830963, -0.17026947438716888, 0.04117725417017937, 0.13091561198234558, 0.30043938755989075, -0.44465503096580505, 0.23293866217136383, 0.01715417392551899, 0.22851015627384186, -0.14868658781051636, 0.031187396496534348, 0.020613452419638634, 0.26870232820510864, -0.051980502903461456, 0.24294136464595795, 0.044297512620687485, -0.17937950789928436, 0.2792985141277313, 0.23356887698173523, 0.912203848361969, -0.30991414189338684, -0.1562071591615677, 0.6129957437515259, -0.14154087007045746, -0.03912428393959999, -0.18950559198856354, 0.36576083302497864, -0.17713484168052673, -0.1289394497871399, 0.10123330354690552, -0.1950998306274414, -0.06465234607458115, -0.2432493269443512, 0.11247535049915314, 0.4301513731479645, -0.007029160391539335, -0.01296117715537548, 0.06586981564760208, 0.0018542584730312228, -0.16560135781764984, -0.22444875538349152, 0.2711130380630493, 0.3247247636318207, -0.0666835606098175, -0.26538369059562683, -0.1319613754749298, 0.18274596333503723, 0.06200960651040077, -0.09725628793239594, -0.2740287482738495, -0.06110372394323349, -0.1098712831735611, 0.213889017701149, -0.3530615270137787, 0.15105974674224854, -0.32078903913497925, 0.21443165838718414, 0.36967629194259644, 0.13872270286083221, 0.1259545534849167, 0.05699528753757477, -0.041507262736558914, 0.035717107355594635, 0.053106728941202164, 0.1699286699295044, 0.18693682551383972, -0.22353120148181915, -0.3420296311378479, 0.11362195760011673, 0.08620867133140564, -0.44500070810317993, -0.043242380023002625, 0.06544798612594604, -0.18462830781936646, -0.09412214905023575, 0.08064750581979752, -0.30698829889297485, -0.23135438561439514, -0.22850626707077026, 0.22393332421779633, 0.13427571952342987, -0.278344988822937, 0.5446608066558838, 0.21620361506938934, -0.17026270925998688, -0.2002900093793869, 0.33617645502090454, 0.32756349444389343, -0.14062437415122986, 0.41539913415908813, -0.027641015127301216, -0.22932836413383484, -0.21936291456222534, -0.4390583038330078, 0.12018696963787079, 0.03371952846646309, 0.3303445875644684, 0.13686789572238922, -0.13080739974975586, -0.19678469002246857, 0.12543505430221558, 0.14984694123268127, 0.4011078476905823, 0.07308956235647202, -0.24962741136550903, -0.6142904758453369, 0.028322238475084305, -0.09965896606445312, -0.10867401212453842, -0.3114827871322632, -0.08189409226179123, -0.4791572690010071, 0.005582180805504322, -0.3942911922931671, 0.00798032432794571, -0.581803023815155, 0.1023159846663475, -0.02636854164302349, -0.10721148550510406, 0.17148855328559875, 0.1302701234817505, 0.24289287626743317, 0.47350552678108215, -0.061448898166418076, -0.26361653208732605, -0.01454895455390215, 0.056131478399038315, 0.006473957560956478, -0.14862465858459473, 0.06265523284673691, -0.006070774048566818, -0.07821591198444366, -0.1417342722415924, -0.1939256489276886, 0.4723917543888092, -0.18508629500865936, 0.07678768038749695, -0.040298111736774445, -0.005941664334386587, 0.5508782267570496, 0.2202310860157013, 0.12283103913068771, 0.4983886480331421, -0.19459748268127441, 0.13401596248149872, -0.10547854751348495, -0.1312570571899414, 0.12441399693489075, 0.06457047909498215, 0.08067400008440018, -0.1492699533700943, 0.2109382152557373, -0.21671710908412933, -0.19150851666927338, 0.09709810465574265, 0.3069373667240143, -0.15644174814224243, -0.20994675159454346, -0.2031978815793991, 0.021758340299129486, 0.3168581426143646, 0.043922897428274155, 0.05395124852657318, -0.0646153911948204, 0.023342184722423553, 0.15155503153800964, 0.21241740882396698, 0.06462276726961136, -0.21209804713726044, -0.011689292266964912, -0.04981377348303795, 0.28505703806877136, -0.2610410749912262, -0.38420000672340393, -0.48509281873703003, -0.21534526348114014, -0.08074834942817688, 0.10716333985328674, 0.1773255616426468, 0.26389575004577637, 0.5327090620994568, 0.15989390015602112, 0.5079995393753052, -0.1597263067960739, 0.05937561020255089, -0.17885617911815643, -0.39242300391197205, -0.1765020489692688, 0.3219278156757355, 0.1897849440574646, 0.1086415946483612, -0.27594804763793945, -0.0026721989270299673, 0.18627755343914032, 0.1424327790737152, -0.11788582801818848, -0.15796919167041779, -0.36204129457473755, 0.12406769394874573, 0.11566168069839478, -0.3213338255882263, 0.1453363448381424, 0.011214551515877247, 0.24002449214458466, 0.13478831946849823, 0.2699490189552307, -0.018652457743883133, -0.09914892911911011, 0.28072744607925415, 0.0900253877043724, 0.287993848323822, -0.09036877006292343, -0.2850996255874634, 0.05255821719765663, 0.4557914733886719, 0.19339312613010406, 0.19416576623916626, 0.24996428191661835, 0.4828992187976837, 0.3571332097053528, -0.11601674556732178, 0.09605303406715393, -0.08317007124423981, -0.24500083923339844, -0.2310701459646225, 0.26861807703971863, 0.36839979887008667, -0.12249664962291718, 0.24262888729572296, 0.1790810078382492, -0.24126002192497253, 0.11115627735853195, 0.08954475075006485, 0.16023744642734528, 0.019558003172278404, 0.15407097339630127, -0.1548652946949005, 0.04734872281551361, -0.14520420134067535, -0.3735290467739105, -0.36973491311073303, -0.008999819867312908, 0.05892578512430191, -0.2891274690628052, 0.2939562499523163, 0.0023878924548625946, 0.12025635689496994, -0.3840460181236267, 0.4920017421245575, 0.044743675738573074, -0.029142962768673897, -0.44938594102859497, -0.1745864450931549, -0.21782097220420837, 0.4429192841053009, -0.10789623111486435, 0.38233891129493713, -0.17667801678180695, 0.2774885296821594, -0.11382240056991577, -0.29393285512924194, 0.06263800710439682, 0.2538887858390808, -0.13295692205429077, 0.1109614446759224, -0.4148550033569336, -0.1191210150718689, 0.24647152423858643, -0.3301175534725189, 0.30556175112724304, -0.28650444746017456, 0.0038241290021687746, -0.3892669975757599, 0.25609663128852844, -0.09650667756795883, 0.23063351213932037, 0.08047729730606079, 0.6506862044334412, 0.11721969395875931, 0.3224923014640808, 0.5600289106369019, -0.17910195887088776, -0.2774541974067688, -0.06298912316560745, -0.2023514062166214, -0.23663613200187683, -0.17525266110897064, -0.016257615759968758, 0.3809337019920349, -0.19279125332832336, -0.14378811419010162, -0.1725330948829651, 0.31607306003570557, -0.14478980004787445, 0.07347949594259262, 0.03038998320698738, 0.33436402678489685, -0.16772739589214325, 0.022934792563319206, 0.1822415143251419, 0.16660456359386444, 0.40788888931274414, 0.4184737205505371, -0.1464945375919342, -0.2091168761253357, 0.45599880814552307, 0.10131923109292984, -0.4745692014694214, 0.03760065138339996, 0.0936150774359703, 0.26568564772605896, -0.32729724049568176, -0.5464821457862854, -0.09331151843070984, 0.21630974113941193, 0.13424158096313477, -0.18701530992984772, 0.07770439982414246, -0.06093163415789604, 0.12286385148763657, 0.2112281620502472, 0.018339475616812706, -0.14546501636505127, -0.4038732945919037, 0.025552932173013687, 0.08575735241174698 ]
https://github.com/huggingface/datasets/issues/2076
Issue: Dataset download error
Hi @XuhuiZhou, thanks for reporting this issue. Indeed, the old links are no longer valid (404 Not Found error), and the script must be updated with the new links to Google Drive.
The download link in `iwslt2017.py` file does not seem to work anymore. For example, `FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnted/texts/zh/en/zh-en.tgz` Would be nice if we could modify it script and use the new downloadable link?
32
Issue: Dataset download error
[ -0.4676583707332611, 0.0751137062907219, -0.266338974237442, 0.36431920528411865, 0.22184860706329346, 0.21471622586250305, 0.036443278193473816, 0.2803308665752411, 0.009803233668208122, -0.034042730927467346, -0.008231518790125847, -0.009018635377287865, -0.01861870102584362, 0.24197953939437866, -0.13218317925930023, -0.07137833535671234, -0.07630592584609985, 0.12984684109687805, -0.28698495030403137, -0.11109558492898941, -0.13080410659313202, 0.1158761978149414, -0.10048703849315643, 0.08724386990070343, -0.09935128688812256, -0.32976898550987244, 0.020184755325317383, 0.15005044639110565, -0.4978979825973511, -0.36411252617836, 0.25470399856567383, 0.15081708133220673, 0.19434304535388947, 0.2952885925769806, -0.00009668336133472621, -0.07085355371236801, 0.2773433029651642, 0.05711490660905838, -0.3370043635368347, 0.00039817127981223166, -0.5402775406837463, -0.07693855464458466, -0.1035725474357605, -0.23372440040111542, 0.2550148665904999, -0.1405341774225235, -0.04771197587251663, -0.11371690034866333, 0.28296926617622375, 0.28107941150665283, 0.4565025866031647, 0.12823031842708588, 0.1090913638472557, -0.3120185434818268, 0.17414148151874542, 0.004085003864020109, 0.032239798456430435, 0.1254476010799408, 0.10087362676858902, 0.008943554945290089, 0.1339009404182434, 0.22448313236236572, -0.0056060729548335075, 0.1671922355890274, 0.09717350453138351, -0.12999559938907623, 0.07695963233709335, -0.21582049131393433, 0.24538040161132812, 0.09007429331541061, 0.8655695915222168, -0.09695001691579819, -0.160877525806427, 0.17361381649971008, 0.19952167570590973, -0.11970452964305878, 0.26606279611587524, 0.17879648506641388, -0.19712571799755096, 0.1760861873626709, -0.2166304737329483, -0.29221293330192566, -0.13350091874599457, 0.06785522401332855, -0.17592346668243408, 0.032407037913799286, -0.14818228781223297, -0.08480041474103928, 0.027303436771035194, -0.011603203602135181, 0.2638944983482361, -0.17857392132282257, -0.05471232905983925, -0.029885336756706238, 0.004816284403204918, 0.008015683852136135, -0.03976525738835335, 0.11610233783721924, 0.14021648466587067, -0.004502526018768549, -0.0026574793737381697, -0.07305287569761276, -0.0741330236196518, -0.021820323541760445, 0.3784479796886444, -0.0987575501203537, 0.0549941249191761, 0.12274818867444992, 0.26024749875068665, 0.043051429092884064, 0.029043694958090782, 0.12324947863817215, -0.1278848946094513, -0.06495817750692368, -0.019012853503227234, 0.0013177208602428436, 0.1963842809200287, -0.2862219512462616, -0.35436737537384033, 0.11599832773208618, 0.13563641905784607, -0.07510586082935333, -0.12397010624408722, 0.21652176976203918, -0.10896644741296768, -0.01960643008351326, 0.024418536573648453, 0.2206648290157318, -0.013537836261093616, -0.3664489686489105, -0.33234402537345886, 0.0005251237307675183, -0.12389223277568817, -0.2616540491580963, 0.20313721895217896, 0.06382991373538971, 0.12503919005393982, -0.0366717129945755, -0.2274036854505539, -0.07540909200906754, -0.030780870467424393, -0.101861372590065, -0.18917466700077057, 0.30476289987564087, 0.091558076441288, 0.26719534397125244, -0.0021345894783735275, 0.01205102913081646, 0.015732379630208015, 0.24198251962661743, -0.12905392050743103, -0.27801764011383057, -0.04951337352395058, 0.4055313467979431, 0.010981411673128605, -0.1317552775144577, -0.049496106803417206, -0.012781798839569092, -0.03131736442446709, -0.09082506597042084, -0.21476039290428162, -0.04979771003127098, -0.13124600052833557, -0.19899384677410126, 0.1225728839635849, 0.4739519953727722, -0.4267639219760895, 0.08949045836925507, -0.21790699660778046, -0.3646674156188965, 0.15167750418186188, 0.1611696034669876, -0.16826647520065308, 0.24961569905281067, -0.24272224307060242, 0.2255130410194397, 0.5363249778747559, -0.307981014251709, -0.6940828561782837, 0.31708377599716187, -0.24838081002235413, -0.33203059434890747, -0.03904348984360695, 0.11639053374528885, 0.29636767506599426, -0.0055914707481861115, 0.012360950000584126, 0.25661563873291016, -0.09512284398078918, 0.01943189650774002, -0.18435226380825043, -0.2784963846206665, -0.010029781609773636, 0.08481491357088089, 0.07708375155925751, 0.278312087059021, 0.24334251880645752, 0.019797317683696747, 0.16812042891979218, 0.19133402407169342, 0.057534005492925644, 0.32471710443496704, 0.19016779959201813, 0.03449269384145737, -0.23013803362846375, -0.11788108944892883, -0.3878341019153595, -0.06982026249170303, 0.0908256247639656, -0.007631773129105568, -0.3056265711784363, -0.017279596999287605, -0.5832180380821228, 0.035170700401067734, -0.08621709048748016, 0.16462449729442596, 0.3066355288028717, 0.07750169187784195, -0.07077312469482422, 0.038636356592178345, 0.09424985200166702, 0.34234440326690674, -0.08260102570056915, 0.06865640729665756, -0.002286595292389393, 0.25335028767585754, -0.20280660688877106, -0.06603021919727325, 0.2901844382286072, -0.1598425954580307, 0.18946588039398193, -0.08258438110351562, -0.15523852407932281, 0.2788528800010681, -0.17397810518741608, 0.0695367082953453, 0.2966834008693695, -0.08239370584487915, 0.14081832766532898, -0.21877029538154602, 0.08656837791204453, -0.11626271903514862, 0.19849199056625366, 0.0478554330766201, 0.04072171822190285, -0.11423715949058533, -0.25396373867988586, -0.1531611680984497, -0.022321047261357307, 0.13930562138557434, 0.40997833013534546, -0.06282065063714981, 0.24152059853076935, -0.27515140175819397, 0.08678120374679565, 0.10981051623821259, 0.10575294494628906, -0.07255950570106506, -0.1235760748386383, 0.03209317475557327, 0.37868112325668335, -0.010682705789804459, 0.16484442353248596, 0.011455167084932327, -0.05403592064976692, -0.0006848243065178394, 0.12444771826267242, 0.5233812928199768, 0.39405307173728943, 0.2463539093732834, 0.15524329245090485, 0.06069786846637726, 0.05891667306423187, -0.3013739287853241, 0.20545610785484314, -0.03989355266094208, 0.030789772048592567, 0.11661429703235626, -0.14549259841442108, -0.0920533835887909, -0.2643680274486542, -0.0567835196852684, 0.24945594370365143, 0.38556578755378723, -0.24292460083961487, -0.20212283730506897, -0.44654563069343567, -0.3323485553264618, -0.05976523086428642, 0.12065062671899796, -0.058751482516527176, -0.29049843549728394, 0.02109478786587715, 0.1946726143360138, -0.0764990895986557, 0.07896646112203598, -0.19269736111164093, 0.13822433352470398, 0.129150852560997, 0.056035954505205154, -0.037468068301677704, -0.11933230608701706, -0.2148485779762268, 0.2743491232395172, 0.18436838686466217, 0.148489847779274, 0.4444086253643036, -0.37394025921821594, 0.21176844835281372, -0.4926591217517853, 0.06967799365520477, 0.21960106492042542, 0.13912230730056763, 0.008993679657578468, 0.16776543855667114, 0.3385218679904938, -0.04026075080037117, -0.08410807698965073, 0.15902896225452423, -0.1347585767507553, -0.15479615330696106, 0.03356607258319855, 0.04660720005631447, -0.19433730840682983, -0.015249833464622498, -0.480089396238327, -0.31468459963798523, -0.22978946566581726, -0.05305825546383858, -0.06389298290014267, 0.1076933816075325, -0.02880253829061985, 0.14534233510494232, 0.012429901398718357, -0.07220488041639328, -0.018864957615733147, -0.32206252217292786, -0.2940511703491211, 0.3058677017688751, -0.22668969631195068, -0.4186638593673706, 0.21708272397518158, 0.1331426352262497, 0.18326377868652344, 0.384694367647171, -0.5364845991134644, 0.0037539631593972445, -0.08573814481496811, 0.22453917562961578, -0.03269560635089874, 0.07402491569519043, 0.2401699721813202, -0.0405920147895813, -0.2484225183725357, -0.14144138991832733, 0.002528808079659939, 0.2188437432050705, -0.013258326798677444, 0.32212913036346436, -0.1894744485616684, 0.3209873139858246, -0.05159947648644447, 0.5442101955413818, -0.0009053426329046488, -0.12212925404310226, 0.30295926332473755, -0.028774352744221687, 0.3147832155227661, 0.0978582575917244, -0.2711097002029419, 0.04265289753675461, -0.004462145734578371, 0.15079544484615326, 0.109701968729496, -0.08870650827884674, -0.0921001210808754, -0.18521520495414734, -0.03214108198881149, -0.3852955400943756, -0.22376292943954468, -0.20764191448688507, 0.12332773208618164, 0.1838272213935852, 0.3076261579990387, 0.05937427282333374, -0.02410624735057354, -0.08525825291872025, 0.08211454004049301, 0.09535249322652817, -0.01429935172200203, 0.02371065504848957, -0.18114416301250458, 0.1068042740225792, -0.30907270312309265, 0.25698259472846985, -0.02556498348712921, 0.3498820662498474, -0.2262742966413498, 0.18248307704925537, 0.1789863407611847, 0.07640071213245392, 0.6501675844192505, -0.2841028571128845, 0.24910515546798706, -0.11450830101966858, 0.168095201253891, -0.0506257489323616, 0.01758512109518051, -0.2768585979938507, 0.37487244606018066, 0.09029016643762589, -0.08020961284637451, -0.37713149189949036, 0.07452089339494705, 0.25825878977775574, -0.006038793362677097, -0.03942770138382912, -0.2262386679649353, 0.048025015741586685, -0.3716183006763458, -0.29147112369537354, -0.009777423925697803, -0.015407170169055462, 0.006787906866520643, -0.02055577002465725, -0.17811864614486694, -0.07683736085891724, 0.10308119654655457, -0.017397575080394745, -0.06645034998655319, 0.2772519588470459, 0.13717666268348694, 0.19725795090198517, 0.20042353868484497, 0.15620796382427216, 0.4141947627067566, 0.5325681567192078, -0.10725626349449158, -0.2800750136375427, 0.14893673360347748, -0.3999333381652832, -0.13722902536392212, 0.27307865023612976, -0.08224405348300934, -0.11894858628511429, 0.17901237308979034, 0.010615818202495575, -0.013201776891946793, 0.16620688140392303, 0.3283802270889282, -0.14224524796009064, -0.24941909313201904, -0.3855094611644745, 0.11219552159309387, 0.00266366358846426, -0.09768934547901154, 0.31074509024620056, 0.0803619995713234, -0.01671072654426098, -0.16671888530254364, -0.08626911789178848, 0.8328952193260193, -0.09006401151418686, -0.038000017404556274, 0.16630911827087402, -0.27091169357299805, 0.4178835451602936, -0.22306793928146362, 0.030567022040486336, -0.2949412167072296, -0.2890263795852661, -0.08860592544078827, -0.05968404933810234, 0.09930817037820816, 0.3447778820991516, -0.1455468386411667, 0.203619122505188, -0.010416998527944088, 0.16636869311332703, 0.09580516070127487, 0.25571170449256897, -0.13329407572746277, 0.037007156759500504, -0.09905015677213669, 0.33055415749549866, -0.1239996999502182, 0.24654150009155273, -0.26480022072792053, -0.1444694548845291, -0.00538688013330102, -0.29309317469596863, -0.26810312271118164, 0.06402510404586792, -0.21869759261608124, 0.21855323016643524, -0.28170931339263916, -0.10716002434492111, 0.11675561219453812, 0.06776117533445358, 0.1505756676197052, 0.08744406700134277, -0.17794112861156464, 0.19068555533885956, -0.0796438604593277, -0.1565828174352646, -0.046838659793138504, 0.13947784900665283, 0.05821951851248741, -0.22877100110054016, -0.29056790471076965, 0.10597704350948334, 0.04833803325891495, -0.13892005383968353, 0.04261114448308945, -0.03509364649653435, 0.05232337489724159, -0.38503116369247437, -0.16715525090694427, -0.09788506478071213, 0.03913425654172897, -0.08924966305494308, 0.3186517655849457, 0.09036792069673538, 0.06566467881202698, 0.2322431206703186, 0.2292996644973755, -0.25827550888061523, -0.20533812046051025, 0.5026828646659851, -0.0777287408709526, -0.16409367322921753, 0.40280595421791077, -0.020898425951600075, -0.2805382013320923, -0.4503452181816101, -0.0983976498246193, -0.1757136881351471, -0.3938646614551544, 0.04667358845472336, -0.2731078267097473, 0.06294884532690048, -0.042717017233371735, 0.10663812607526779, 0.1697595715522766, 0.03567088767886162, 0.08124574273824692, -0.4008382260799408, -0.17033597826957703, 0.05984291434288025, 0.0021700365468859673, 0.04023166745901108, -0.020949384197592735, -0.13005314767360687, 0.24188072979450226, -0.023393677547574043, -0.5164656043052673, 0.0002854903577826917, -0.12466046214103699, -0.06637895107269287, 0.23078595101833344, 0.05474960803985596, 0.03611835464835167, -0.11375166475772858, 0.3304189443588257, 0.07804736495018005, -0.30635032057762146, -0.3875899612903595, 0.07577880471944809, 0.051951151341199875, -0.020274465903639793, -0.18616683781147003, 0.032130900770425797, -0.3787696659564972, -0.28706133365631104, 0.2555055022239685, -0.04614821821451187, 0.09981166571378708, 0.06317555904388428, -0.07903894782066345, 0.08310893177986145, 0.022083047777414322, -0.15876072645187378, 0.24382466077804565, -0.03911857679486275, 0.28588274121284485, -0.10759640485048294, 0.11769792437553406, 0.14431457221508026, -0.13322928547859192, -0.12331830710172653, -0.08032505959272385, 0.07456236332654953, 0.046996939927339554, 0.2934224009513855, -0.436249315738678, 0.07549427449703217, 0.34495627880096436, 0.23648472130298615, 0.3055921792984009, -0.15926402807235718, -0.21496252715587616, 0.17057915031909943, 0.4372198283672333, -0.3672139048576355, -0.15907570719718933, 0.1899452954530716, 0.00893692672252655, -0.09733220934867859, 0.031732507050037384, 0.09627995640039444, -0.08905204385519028, 0.06512393057346344, 0.07485383749008179, 0.4724947214126587, 0.03655891865491867, 0.0669897049665451, 0.5282633900642395, -0.1254529058933258, 0.09373266249895096, 0.12115684896707535, 0.37366369366645813, -0.14224614202976227, 0.5748319029808044, -0.10177089273929596, 0.029750827699899673, 0.04356113821268082, 0.10713957250118256, -0.05172092840075493, -0.5053877830505371, 0.19967012107372284, 0.2595705986022949, 0.0008685914217494428, 0.0422884039580822, 0.14049479365348816, 0.10434429347515106, -0.11134897917509079, -0.037653446197509766, -0.3474574685096741, 0.1427299678325653, -0.13583840429782867, 0.20158137381076813, -0.2386258989572525, -0.22396758198738098, -0.14207492768764496, 0.11956802755594254, -0.15947271883487701, -0.13095572590827942, 0.19535863399505615, 0.0450785756111145, -0.06863663345575333, -0.47956299781799316, 0.09442746639251709, 0.03679833188652992, -0.07870811969041824, -0.2718457877635956, 0.2106054276227951, 0.04138008877635002, 0.028231922537088394, 0.3948822021484375, 0.32936546206474304, 0.26295849680900574, 0.17399628460407257, 0.14068526029586792, -0.14061014354228973, 0.06407084316015244, -0.17026035487651825, -0.15063709020614624, 0.19778524339199066, 0.2557472586631775, 0.1512250453233719, 0.2916068434715271, 0.333207905292511, -0.2582114040851593, 0.06811856478452682, 0.23827573657035828, 0.05043923482298851, 0.017415286973118782, 0.11670927703380585, -0.12423070520162582, -0.042056769132614136, -0.1822703778743744, -0.12878791987895966, -0.24767304956912994, 0.017585422843694687, 0.3705590069293976, -0.11449240893125534, 0.1549232006072998, -0.19177991151809692, 0.16970887780189514, -0.192778080701828, 0.4184064567089081, 0.35875701904296875, 0.218406543135643, -0.12275736033916473, -0.2603145241737366, -0.7747611999511719, 0.20684655010700226, -0.015338566154241562, -0.04528822377324104, -0.0018129406962543726, 0.1430279165506363, 0.10220550000667572, 0.16729579865932465, 0.418694406747818, 0.10697323828935623, -0.049057308584451675, 0.1442432403564453, -0.2968001067638397, -0.18110494315624237, 0.07276264578104019, 0.14401906728744507, 0.000670773268211633, -0.3110019862651825, 0.30454015731811523, 0.002286612056195736, 0.22348171472549438, -0.1726532131433487, -0.03891448676586151, -0.17576836049556732, -0.11455667018890381, 0.42881909012794495, 0.03022371605038643, 0.5434698462486267, -0.08137165009975433, -0.14096076786518097, -0.11565929651260376, -0.1607135534286499, -0.06874587386846542, 0.31893667578697205, 0.2167215347290039, 0.10912572592496872, -0.10333923995494843, 0.20152521133422852, -0.16513153910636902, 0.1267743706703186, -0.036167263984680176, 0.3041352331638336, -0.23098960518836975, -0.019001033157110214, -0.06944795697927475, -0.01955043151974678, 0.10636837035417557, -0.08694343268871307, -0.11466249823570251, 0.020487148314714432, -0.2002692073583603, -0.20927050709724426, 0.310214102268219, 0.14071595668792725, -0.1511397361755371, -0.09656614810228348, 0.1832275241613388, 0.1522156298160553, -0.16594703495502472, -0.29543501138687134, 0.1452191323041916, 0.2825717031955719, -0.265106737613678, -0.08021803945302963, 0.14268912374973297, -0.11476913094520569, 0.10787538439035416, 0.08889681100845337, 0.520722508430481, -0.010429111309349537, -0.4564659297466278, 0.01653176359832287, -0.14271555840969086 ]
https://github.com/huggingface/datasets/issues/2076
Issue: Dataset download error
It would be nice to update the urls indeed ! To do this, you just need to replace the urls in `iwslt2017.py` and then update the dataset_infos.json file with ``` datasets-cli test ./datasets/iwslt2017 --all_configs --save_infos --ignore_verifications ```
The download link in `iwslt2017.py` file does not seem to work anymore. For example, `FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnted/texts/zh/en/zh-en.tgz` Would be nice if we could modify it script and use the new downloadable link?
37
Issue: Dataset download error
[ -0.4676583707332611, 0.0751137062907219, -0.266338974237442, 0.36431920528411865, 0.22184860706329346, 0.21471622586250305, 0.036443278193473816, 0.2803308665752411, 0.009803233668208122, -0.034042730927467346, -0.008231518790125847, -0.009018635377287865, -0.01861870102584362, 0.24197953939437866, -0.13218317925930023, -0.07137833535671234, -0.07630592584609985, 0.12984684109687805, -0.28698495030403137, -0.11109558492898941, -0.13080410659313202, 0.1158761978149414, -0.10048703849315643, 0.08724386990070343, -0.09935128688812256, -0.32976898550987244, 0.020184755325317383, 0.15005044639110565, -0.4978979825973511, -0.36411252617836, 0.25470399856567383, 0.15081708133220673, 0.19434304535388947, 0.2952885925769806, -0.00009668336133472621, -0.07085355371236801, 0.2773433029651642, 0.05711490660905838, -0.3370043635368347, 0.00039817127981223166, -0.5402775406837463, -0.07693855464458466, -0.1035725474357605, -0.23372440040111542, 0.2550148665904999, -0.1405341774225235, -0.04771197587251663, -0.11371690034866333, 0.28296926617622375, 0.28107941150665283, 0.4565025866031647, 0.12823031842708588, 0.1090913638472557, -0.3120185434818268, 0.17414148151874542, 0.004085003864020109, 0.032239798456430435, 0.1254476010799408, 0.10087362676858902, 0.008943554945290089, 0.1339009404182434, 0.22448313236236572, -0.0056060729548335075, 0.1671922355890274, 0.09717350453138351, -0.12999559938907623, 0.07695963233709335, -0.21582049131393433, 0.24538040161132812, 0.09007429331541061, 0.8655695915222168, -0.09695001691579819, -0.160877525806427, 0.17361381649971008, 0.19952167570590973, -0.11970452964305878, 0.26606279611587524, 0.17879648506641388, -0.19712571799755096, 0.1760861873626709, -0.2166304737329483, -0.29221293330192566, -0.13350091874599457, 0.06785522401332855, -0.17592346668243408, 0.032407037913799286, -0.14818228781223297, -0.08480041474103928, 0.027303436771035194, -0.011603203602135181, 0.2638944983482361, -0.17857392132282257, -0.05471232905983925, -0.029885336756706238, 0.004816284403204918, 0.008015683852136135, -0.03976525738835335, 0.11610233783721924, 0.14021648466587067, -0.004502526018768549, -0.0026574793737381697, -0.07305287569761276, -0.0741330236196518, -0.021820323541760445, 0.3784479796886444, -0.0987575501203537, 0.0549941249191761, 0.12274818867444992, 0.26024749875068665, 0.043051429092884064, 0.029043694958090782, 0.12324947863817215, -0.1278848946094513, -0.06495817750692368, -0.019012853503227234, 0.0013177208602428436, 0.1963842809200287, -0.2862219512462616, -0.35436737537384033, 0.11599832773208618, 0.13563641905784607, -0.07510586082935333, -0.12397010624408722, 0.21652176976203918, -0.10896644741296768, -0.01960643008351326, 0.024418536573648453, 0.2206648290157318, -0.013537836261093616, -0.3664489686489105, -0.33234402537345886, 0.0005251237307675183, -0.12389223277568817, -0.2616540491580963, 0.20313721895217896, 0.06382991373538971, 0.12503919005393982, -0.0366717129945755, -0.2274036854505539, -0.07540909200906754, -0.030780870467424393, -0.101861372590065, -0.18917466700077057, 0.30476289987564087, 0.091558076441288, 0.26719534397125244, -0.0021345894783735275, 0.01205102913081646, 0.015732379630208015, 0.24198251962661743, -0.12905392050743103, -0.27801764011383057, -0.04951337352395058, 0.4055313467979431, 0.010981411673128605, -0.1317552775144577, -0.049496106803417206, -0.012781798839569092, -0.03131736442446709, -0.09082506597042084, -0.21476039290428162, -0.04979771003127098, -0.13124600052833557, -0.19899384677410126, 0.1225728839635849, 0.4739519953727722, -0.4267639219760895, 0.08949045836925507, -0.21790699660778046, -0.3646674156188965, 0.15167750418186188, 0.1611696034669876, -0.16826647520065308, 0.24961569905281067, -0.24272224307060242, 0.2255130410194397, 0.5363249778747559, -0.307981014251709, -0.6940828561782837, 0.31708377599716187, -0.24838081002235413, -0.33203059434890747, -0.03904348984360695, 0.11639053374528885, 0.29636767506599426, -0.0055914707481861115, 0.012360950000584126, 0.25661563873291016, -0.09512284398078918, 0.01943189650774002, -0.18435226380825043, -0.2784963846206665, -0.010029781609773636, 0.08481491357088089, 0.07708375155925751, 0.278312087059021, 0.24334251880645752, 0.019797317683696747, 0.16812042891979218, 0.19133402407169342, 0.057534005492925644, 0.32471710443496704, 0.19016779959201813, 0.03449269384145737, -0.23013803362846375, -0.11788108944892883, -0.3878341019153595, -0.06982026249170303, 0.0908256247639656, -0.007631773129105568, -0.3056265711784363, -0.017279596999287605, -0.5832180380821228, 0.035170700401067734, -0.08621709048748016, 0.16462449729442596, 0.3066355288028717, 0.07750169187784195, -0.07077312469482422, 0.038636356592178345, 0.09424985200166702, 0.34234440326690674, -0.08260102570056915, 0.06865640729665756, -0.002286595292389393, 0.25335028767585754, -0.20280660688877106, -0.06603021919727325, 0.2901844382286072, -0.1598425954580307, 0.18946588039398193, -0.08258438110351562, -0.15523852407932281, 0.2788528800010681, -0.17397810518741608, 0.0695367082953453, 0.2966834008693695, -0.08239370584487915, 0.14081832766532898, -0.21877029538154602, 0.08656837791204453, -0.11626271903514862, 0.19849199056625366, 0.0478554330766201, 0.04072171822190285, -0.11423715949058533, -0.25396373867988586, -0.1531611680984497, -0.022321047261357307, 0.13930562138557434, 0.40997833013534546, -0.06282065063714981, 0.24152059853076935, -0.27515140175819397, 0.08678120374679565, 0.10981051623821259, 0.10575294494628906, -0.07255950570106506, -0.1235760748386383, 0.03209317475557327, 0.37868112325668335, -0.010682705789804459, 0.16484442353248596, 0.011455167084932327, -0.05403592064976692, -0.0006848243065178394, 0.12444771826267242, 0.5233812928199768, 0.39405307173728943, 0.2463539093732834, 0.15524329245090485, 0.06069786846637726, 0.05891667306423187, -0.3013739287853241, 0.20545610785484314, -0.03989355266094208, 0.030789772048592567, 0.11661429703235626, -0.14549259841442108, -0.0920533835887909, -0.2643680274486542, -0.0567835196852684, 0.24945594370365143, 0.38556578755378723, -0.24292460083961487, -0.20212283730506897, -0.44654563069343567, -0.3323485553264618, -0.05976523086428642, 0.12065062671899796, -0.058751482516527176, -0.29049843549728394, 0.02109478786587715, 0.1946726143360138, -0.0764990895986557, 0.07896646112203598, -0.19269736111164093, 0.13822433352470398, 0.129150852560997, 0.056035954505205154, -0.037468068301677704, -0.11933230608701706, -0.2148485779762268, 0.2743491232395172, 0.18436838686466217, 0.148489847779274, 0.4444086253643036, -0.37394025921821594, 0.21176844835281372, -0.4926591217517853, 0.06967799365520477, 0.21960106492042542, 0.13912230730056763, 0.008993679657578468, 0.16776543855667114, 0.3385218679904938, -0.04026075080037117, -0.08410807698965073, 0.15902896225452423, -0.1347585767507553, -0.15479615330696106, 0.03356607258319855, 0.04660720005631447, -0.19433730840682983, -0.015249833464622498, -0.480089396238327, -0.31468459963798523, -0.22978946566581726, -0.05305825546383858, -0.06389298290014267, 0.1076933816075325, -0.02880253829061985, 0.14534233510494232, 0.012429901398718357, -0.07220488041639328, -0.018864957615733147, -0.32206252217292786, -0.2940511703491211, 0.3058677017688751, -0.22668969631195068, -0.4186638593673706, 0.21708272397518158, 0.1331426352262497, 0.18326377868652344, 0.384694367647171, -0.5364845991134644, 0.0037539631593972445, -0.08573814481496811, 0.22453917562961578, -0.03269560635089874, 0.07402491569519043, 0.2401699721813202, -0.0405920147895813, -0.2484225183725357, -0.14144138991832733, 0.002528808079659939, 0.2188437432050705, -0.013258326798677444, 0.32212913036346436, -0.1894744485616684, 0.3209873139858246, -0.05159947648644447, 0.5442101955413818, -0.0009053426329046488, -0.12212925404310226, 0.30295926332473755, -0.028774352744221687, 0.3147832155227661, 0.0978582575917244, -0.2711097002029419, 0.04265289753675461, -0.004462145734578371, 0.15079544484615326, 0.109701968729496, -0.08870650827884674, -0.0921001210808754, -0.18521520495414734, -0.03214108198881149, -0.3852955400943756, -0.22376292943954468, -0.20764191448688507, 0.12332773208618164, 0.1838272213935852, 0.3076261579990387, 0.05937427282333374, -0.02410624735057354, -0.08525825291872025, 0.08211454004049301, 0.09535249322652817, -0.01429935172200203, 0.02371065504848957, -0.18114416301250458, 0.1068042740225792, -0.30907270312309265, 0.25698259472846985, -0.02556498348712921, 0.3498820662498474, -0.2262742966413498, 0.18248307704925537, 0.1789863407611847, 0.07640071213245392, 0.6501675844192505, -0.2841028571128845, 0.24910515546798706, -0.11450830101966858, 0.168095201253891, -0.0506257489323616, 0.01758512109518051, -0.2768585979938507, 0.37487244606018066, 0.09029016643762589, -0.08020961284637451, -0.37713149189949036, 0.07452089339494705, 0.25825878977775574, -0.006038793362677097, -0.03942770138382912, -0.2262386679649353, 0.048025015741586685, -0.3716183006763458, -0.29147112369537354, -0.009777423925697803, -0.015407170169055462, 0.006787906866520643, -0.02055577002465725, -0.17811864614486694, -0.07683736085891724, 0.10308119654655457, -0.017397575080394745, -0.06645034998655319, 0.2772519588470459, 0.13717666268348694, 0.19725795090198517, 0.20042353868484497, 0.15620796382427216, 0.4141947627067566, 0.5325681567192078, -0.10725626349449158, -0.2800750136375427, 0.14893673360347748, -0.3999333381652832, -0.13722902536392212, 0.27307865023612976, -0.08224405348300934, -0.11894858628511429, 0.17901237308979034, 0.010615818202495575, -0.013201776891946793, 0.16620688140392303, 0.3283802270889282, -0.14224524796009064, -0.24941909313201904, -0.3855094611644745, 0.11219552159309387, 0.00266366358846426, -0.09768934547901154, 0.31074509024620056, 0.0803619995713234, -0.01671072654426098, -0.16671888530254364, -0.08626911789178848, 0.8328952193260193, -0.09006401151418686, -0.038000017404556274, 0.16630911827087402, -0.27091169357299805, 0.4178835451602936, -0.22306793928146362, 0.030567022040486336, -0.2949412167072296, -0.2890263795852661, -0.08860592544078827, -0.05968404933810234, 0.09930817037820816, 0.3447778820991516, -0.1455468386411667, 0.203619122505188, -0.010416998527944088, 0.16636869311332703, 0.09580516070127487, 0.25571170449256897, -0.13329407572746277, 0.037007156759500504, -0.09905015677213669, 0.33055415749549866, -0.1239996999502182, 0.24654150009155273, -0.26480022072792053, -0.1444694548845291, -0.00538688013330102, -0.29309317469596863, -0.26810312271118164, 0.06402510404586792, -0.21869759261608124, 0.21855323016643524, -0.28170931339263916, -0.10716002434492111, 0.11675561219453812, 0.06776117533445358, 0.1505756676197052, 0.08744406700134277, -0.17794112861156464, 0.19068555533885956, -0.0796438604593277, -0.1565828174352646, -0.046838659793138504, 0.13947784900665283, 0.05821951851248741, -0.22877100110054016, -0.29056790471076965, 0.10597704350948334, 0.04833803325891495, -0.13892005383968353, 0.04261114448308945, -0.03509364649653435, 0.05232337489724159, -0.38503116369247437, -0.16715525090694427, -0.09788506478071213, 0.03913425654172897, -0.08924966305494308, 0.3186517655849457, 0.09036792069673538, 0.06566467881202698, 0.2322431206703186, 0.2292996644973755, -0.25827550888061523, -0.20533812046051025, 0.5026828646659851, -0.0777287408709526, -0.16409367322921753, 0.40280595421791077, -0.020898425951600075, -0.2805382013320923, -0.4503452181816101, -0.0983976498246193, -0.1757136881351471, -0.3938646614551544, 0.04667358845472336, -0.2731078267097473, 0.06294884532690048, -0.042717017233371735, 0.10663812607526779, 0.1697595715522766, 0.03567088767886162, 0.08124574273824692, -0.4008382260799408, -0.17033597826957703, 0.05984291434288025, 0.0021700365468859673, 0.04023166745901108, -0.020949384197592735, -0.13005314767360687, 0.24188072979450226, -0.023393677547574043, -0.5164656043052673, 0.0002854903577826917, -0.12466046214103699, -0.06637895107269287, 0.23078595101833344, 0.05474960803985596, 0.03611835464835167, -0.11375166475772858, 0.3304189443588257, 0.07804736495018005, -0.30635032057762146, -0.3875899612903595, 0.07577880471944809, 0.051951151341199875, -0.020274465903639793, -0.18616683781147003, 0.032130900770425797, -0.3787696659564972, -0.28706133365631104, 0.2555055022239685, -0.04614821821451187, 0.09981166571378708, 0.06317555904388428, -0.07903894782066345, 0.08310893177986145, 0.022083047777414322, -0.15876072645187378, 0.24382466077804565, -0.03911857679486275, 0.28588274121284485, -0.10759640485048294, 0.11769792437553406, 0.14431457221508026, -0.13322928547859192, -0.12331830710172653, -0.08032505959272385, 0.07456236332654953, 0.046996939927339554, 0.2934224009513855, -0.436249315738678, 0.07549427449703217, 0.34495627880096436, 0.23648472130298615, 0.3055921792984009, -0.15926402807235718, -0.21496252715587616, 0.17057915031909943, 0.4372198283672333, -0.3672139048576355, -0.15907570719718933, 0.1899452954530716, 0.00893692672252655, -0.09733220934867859, 0.031732507050037384, 0.09627995640039444, -0.08905204385519028, 0.06512393057346344, 0.07485383749008179, 0.4724947214126587, 0.03655891865491867, 0.0669897049665451, 0.5282633900642395, -0.1254529058933258, 0.09373266249895096, 0.12115684896707535, 0.37366369366645813, -0.14224614202976227, 0.5748319029808044, -0.10177089273929596, 0.029750827699899673, 0.04356113821268082, 0.10713957250118256, -0.05172092840075493, -0.5053877830505371, 0.19967012107372284, 0.2595705986022949, 0.0008685914217494428, 0.0422884039580822, 0.14049479365348816, 0.10434429347515106, -0.11134897917509079, -0.037653446197509766, -0.3474574685096741, 0.1427299678325653, -0.13583840429782867, 0.20158137381076813, -0.2386258989572525, -0.22396758198738098, -0.14207492768764496, 0.11956802755594254, -0.15947271883487701, -0.13095572590827942, 0.19535863399505615, 0.0450785756111145, -0.06863663345575333, -0.47956299781799316, 0.09442746639251709, 0.03679833188652992, -0.07870811969041824, -0.2718457877635956, 0.2106054276227951, 0.04138008877635002, 0.028231922537088394, 0.3948822021484375, 0.32936546206474304, 0.26295849680900574, 0.17399628460407257, 0.14068526029586792, -0.14061014354228973, 0.06407084316015244, -0.17026035487651825, -0.15063709020614624, 0.19778524339199066, 0.2557472586631775, 0.1512250453233719, 0.2916068434715271, 0.333207905292511, -0.2582114040851593, 0.06811856478452682, 0.23827573657035828, 0.05043923482298851, 0.017415286973118782, 0.11670927703380585, -0.12423070520162582, -0.042056769132614136, -0.1822703778743744, -0.12878791987895966, -0.24767304956912994, 0.017585422843694687, 0.3705590069293976, -0.11449240893125534, 0.1549232006072998, -0.19177991151809692, 0.16970887780189514, -0.192778080701828, 0.4184064567089081, 0.35875701904296875, 0.218406543135643, -0.12275736033916473, -0.2603145241737366, -0.7747611999511719, 0.20684655010700226, -0.015338566154241562, -0.04528822377324104, -0.0018129406962543726, 0.1430279165506363, 0.10220550000667572, 0.16729579865932465, 0.418694406747818, 0.10697323828935623, -0.049057308584451675, 0.1442432403564453, -0.2968001067638397, -0.18110494315624237, 0.07276264578104019, 0.14401906728744507, 0.000670773268211633, -0.3110019862651825, 0.30454015731811523, 0.002286612056195736, 0.22348171472549438, -0.1726532131433487, -0.03891448676586151, -0.17576836049556732, -0.11455667018890381, 0.42881909012794495, 0.03022371605038643, 0.5434698462486267, -0.08137165009975433, -0.14096076786518097, -0.11565929651260376, -0.1607135534286499, -0.06874587386846542, 0.31893667578697205, 0.2167215347290039, 0.10912572592496872, -0.10333923995494843, 0.20152521133422852, -0.16513153910636902, 0.1267743706703186, -0.036167263984680176, 0.3041352331638336, -0.23098960518836975, -0.019001033157110214, -0.06944795697927475, -0.01955043151974678, 0.10636837035417557, -0.08694343268871307, -0.11466249823570251, 0.020487148314714432, -0.2002692073583603, -0.20927050709724426, 0.310214102268219, 0.14071595668792725, -0.1511397361755371, -0.09656614810228348, 0.1832275241613388, 0.1522156298160553, -0.16594703495502472, -0.29543501138687134, 0.1452191323041916, 0.2825717031955719, -0.265106737613678, -0.08021803945302963, 0.14268912374973297, -0.11476913094520569, 0.10787538439035416, 0.08889681100845337, 0.520722508430481, -0.010429111309349537, -0.4564659297466278, 0.01653176359832287, -0.14271555840969086 ]
https://github.com/huggingface/datasets/issues/2076
Issue: Dataset download error
Is this a command to update my local files or fix the file Github repo in general? (I am not so familiar with the datasets-cli command here) I also took a brief look at the **Sharing your dataset** section, looks like I could fix that locally and push it to the repo? I guess we are "canonical" category?
The download link in `iwslt2017.py` file does not seem to work anymore. For example, `FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnted/texts/zh/en/zh-en.tgz` Would be nice if we could modify it script and use the new downloadable link?
58
Issue: Dataset download error
[ -0.4676583707332611, 0.0751137062907219, -0.266338974237442, 0.36431920528411865, 0.22184860706329346, 0.21471622586250305, 0.036443278193473816, 0.2803308665752411, 0.009803233668208122, -0.034042730927467346, -0.008231518790125847, -0.009018635377287865, -0.01861870102584362, 0.24197953939437866, -0.13218317925930023, -0.07137833535671234, -0.07630592584609985, 0.12984684109687805, -0.28698495030403137, -0.11109558492898941, -0.13080410659313202, 0.1158761978149414, -0.10048703849315643, 0.08724386990070343, -0.09935128688812256, -0.32976898550987244, 0.020184755325317383, 0.15005044639110565, -0.4978979825973511, -0.36411252617836, 0.25470399856567383, 0.15081708133220673, 0.19434304535388947, 0.2952885925769806, -0.00009668336133472621, -0.07085355371236801, 0.2773433029651642, 0.05711490660905838, -0.3370043635368347, 0.00039817127981223166, -0.5402775406837463, -0.07693855464458466, -0.1035725474357605, -0.23372440040111542, 0.2550148665904999, -0.1405341774225235, -0.04771197587251663, -0.11371690034866333, 0.28296926617622375, 0.28107941150665283, 0.4565025866031647, 0.12823031842708588, 0.1090913638472557, -0.3120185434818268, 0.17414148151874542, 0.004085003864020109, 0.032239798456430435, 0.1254476010799408, 0.10087362676858902, 0.008943554945290089, 0.1339009404182434, 0.22448313236236572, -0.0056060729548335075, 0.1671922355890274, 0.09717350453138351, -0.12999559938907623, 0.07695963233709335, -0.21582049131393433, 0.24538040161132812, 0.09007429331541061, 0.8655695915222168, -0.09695001691579819, -0.160877525806427, 0.17361381649971008, 0.19952167570590973, -0.11970452964305878, 0.26606279611587524, 0.17879648506641388, -0.19712571799755096, 0.1760861873626709, -0.2166304737329483, -0.29221293330192566, -0.13350091874599457, 0.06785522401332855, -0.17592346668243408, 0.032407037913799286, -0.14818228781223297, -0.08480041474103928, 0.027303436771035194, -0.011603203602135181, 0.2638944983482361, -0.17857392132282257, -0.05471232905983925, -0.029885336756706238, 0.004816284403204918, 0.008015683852136135, -0.03976525738835335, 0.11610233783721924, 0.14021648466587067, -0.004502526018768549, -0.0026574793737381697, -0.07305287569761276, -0.0741330236196518, -0.021820323541760445, 0.3784479796886444, -0.0987575501203537, 0.0549941249191761, 0.12274818867444992, 0.26024749875068665, 0.043051429092884064, 0.029043694958090782, 0.12324947863817215, -0.1278848946094513, -0.06495817750692368, -0.019012853503227234, 0.0013177208602428436, 0.1963842809200287, -0.2862219512462616, -0.35436737537384033, 0.11599832773208618, 0.13563641905784607, -0.07510586082935333, -0.12397010624408722, 0.21652176976203918, -0.10896644741296768, -0.01960643008351326, 0.024418536573648453, 0.2206648290157318, -0.013537836261093616, -0.3664489686489105, -0.33234402537345886, 0.0005251237307675183, -0.12389223277568817, -0.2616540491580963, 0.20313721895217896, 0.06382991373538971, 0.12503919005393982, -0.0366717129945755, -0.2274036854505539, -0.07540909200906754, -0.030780870467424393, -0.101861372590065, -0.18917466700077057, 0.30476289987564087, 0.091558076441288, 0.26719534397125244, -0.0021345894783735275, 0.01205102913081646, 0.015732379630208015, 0.24198251962661743, -0.12905392050743103, -0.27801764011383057, -0.04951337352395058, 0.4055313467979431, 0.010981411673128605, -0.1317552775144577, -0.049496106803417206, -0.012781798839569092, -0.03131736442446709, -0.09082506597042084, -0.21476039290428162, -0.04979771003127098, -0.13124600052833557, -0.19899384677410126, 0.1225728839635849, 0.4739519953727722, -0.4267639219760895, 0.08949045836925507, -0.21790699660778046, -0.3646674156188965, 0.15167750418186188, 0.1611696034669876, -0.16826647520065308, 0.24961569905281067, -0.24272224307060242, 0.2255130410194397, 0.5363249778747559, -0.307981014251709, -0.6940828561782837, 0.31708377599716187, -0.24838081002235413, -0.33203059434890747, -0.03904348984360695, 0.11639053374528885, 0.29636767506599426, -0.0055914707481861115, 0.012360950000584126, 0.25661563873291016, -0.09512284398078918, 0.01943189650774002, -0.18435226380825043, -0.2784963846206665, -0.010029781609773636, 0.08481491357088089, 0.07708375155925751, 0.278312087059021, 0.24334251880645752, 0.019797317683696747, 0.16812042891979218, 0.19133402407169342, 0.057534005492925644, 0.32471710443496704, 0.19016779959201813, 0.03449269384145737, -0.23013803362846375, -0.11788108944892883, -0.3878341019153595, -0.06982026249170303, 0.0908256247639656, -0.007631773129105568, -0.3056265711784363, -0.017279596999287605, -0.5832180380821228, 0.035170700401067734, -0.08621709048748016, 0.16462449729442596, 0.3066355288028717, 0.07750169187784195, -0.07077312469482422, 0.038636356592178345, 0.09424985200166702, 0.34234440326690674, -0.08260102570056915, 0.06865640729665756, -0.002286595292389393, 0.25335028767585754, -0.20280660688877106, -0.06603021919727325, 0.2901844382286072, -0.1598425954580307, 0.18946588039398193, -0.08258438110351562, -0.15523852407932281, 0.2788528800010681, -0.17397810518741608, 0.0695367082953453, 0.2966834008693695, -0.08239370584487915, 0.14081832766532898, -0.21877029538154602, 0.08656837791204453, -0.11626271903514862, 0.19849199056625366, 0.0478554330766201, 0.04072171822190285, -0.11423715949058533, -0.25396373867988586, -0.1531611680984497, -0.022321047261357307, 0.13930562138557434, 0.40997833013534546, -0.06282065063714981, 0.24152059853076935, -0.27515140175819397, 0.08678120374679565, 0.10981051623821259, 0.10575294494628906, -0.07255950570106506, -0.1235760748386383, 0.03209317475557327, 0.37868112325668335, -0.010682705789804459, 0.16484442353248596, 0.011455167084932327, -0.05403592064976692, -0.0006848243065178394, 0.12444771826267242, 0.5233812928199768, 0.39405307173728943, 0.2463539093732834, 0.15524329245090485, 0.06069786846637726, 0.05891667306423187, -0.3013739287853241, 0.20545610785484314, -0.03989355266094208, 0.030789772048592567, 0.11661429703235626, -0.14549259841442108, -0.0920533835887909, -0.2643680274486542, -0.0567835196852684, 0.24945594370365143, 0.38556578755378723, -0.24292460083961487, -0.20212283730506897, -0.44654563069343567, -0.3323485553264618, -0.05976523086428642, 0.12065062671899796, -0.058751482516527176, -0.29049843549728394, 0.02109478786587715, 0.1946726143360138, -0.0764990895986557, 0.07896646112203598, -0.19269736111164093, 0.13822433352470398, 0.129150852560997, 0.056035954505205154, -0.037468068301677704, -0.11933230608701706, -0.2148485779762268, 0.2743491232395172, 0.18436838686466217, 0.148489847779274, 0.4444086253643036, -0.37394025921821594, 0.21176844835281372, -0.4926591217517853, 0.06967799365520477, 0.21960106492042542, 0.13912230730056763, 0.008993679657578468, 0.16776543855667114, 0.3385218679904938, -0.04026075080037117, -0.08410807698965073, 0.15902896225452423, -0.1347585767507553, -0.15479615330696106, 0.03356607258319855, 0.04660720005631447, -0.19433730840682983, -0.015249833464622498, -0.480089396238327, -0.31468459963798523, -0.22978946566581726, -0.05305825546383858, -0.06389298290014267, 0.1076933816075325, -0.02880253829061985, 0.14534233510494232, 0.012429901398718357, -0.07220488041639328, -0.018864957615733147, -0.32206252217292786, -0.2940511703491211, 0.3058677017688751, -0.22668969631195068, -0.4186638593673706, 0.21708272397518158, 0.1331426352262497, 0.18326377868652344, 0.384694367647171, -0.5364845991134644, 0.0037539631593972445, -0.08573814481496811, 0.22453917562961578, -0.03269560635089874, 0.07402491569519043, 0.2401699721813202, -0.0405920147895813, -0.2484225183725357, -0.14144138991832733, 0.002528808079659939, 0.2188437432050705, -0.013258326798677444, 0.32212913036346436, -0.1894744485616684, 0.3209873139858246, -0.05159947648644447, 0.5442101955413818, -0.0009053426329046488, -0.12212925404310226, 0.30295926332473755, -0.028774352744221687, 0.3147832155227661, 0.0978582575917244, -0.2711097002029419, 0.04265289753675461, -0.004462145734578371, 0.15079544484615326, 0.109701968729496, -0.08870650827884674, -0.0921001210808754, -0.18521520495414734, -0.03214108198881149, -0.3852955400943756, -0.22376292943954468, -0.20764191448688507, 0.12332773208618164, 0.1838272213935852, 0.3076261579990387, 0.05937427282333374, -0.02410624735057354, -0.08525825291872025, 0.08211454004049301, 0.09535249322652817, -0.01429935172200203, 0.02371065504848957, -0.18114416301250458, 0.1068042740225792, -0.30907270312309265, 0.25698259472846985, -0.02556498348712921, 0.3498820662498474, -0.2262742966413498, 0.18248307704925537, 0.1789863407611847, 0.07640071213245392, 0.6501675844192505, -0.2841028571128845, 0.24910515546798706, -0.11450830101966858, 0.168095201253891, -0.0506257489323616, 0.01758512109518051, -0.2768585979938507, 0.37487244606018066, 0.09029016643762589, -0.08020961284637451, -0.37713149189949036, 0.07452089339494705, 0.25825878977775574, -0.006038793362677097, -0.03942770138382912, -0.2262386679649353, 0.048025015741586685, -0.3716183006763458, -0.29147112369537354, -0.009777423925697803, -0.015407170169055462, 0.006787906866520643, -0.02055577002465725, -0.17811864614486694, -0.07683736085891724, 0.10308119654655457, -0.017397575080394745, -0.06645034998655319, 0.2772519588470459, 0.13717666268348694, 0.19725795090198517, 0.20042353868484497, 0.15620796382427216, 0.4141947627067566, 0.5325681567192078, -0.10725626349449158, -0.2800750136375427, 0.14893673360347748, -0.3999333381652832, -0.13722902536392212, 0.27307865023612976, -0.08224405348300934, -0.11894858628511429, 0.17901237308979034, 0.010615818202495575, -0.013201776891946793, 0.16620688140392303, 0.3283802270889282, -0.14224524796009064, -0.24941909313201904, -0.3855094611644745, 0.11219552159309387, 0.00266366358846426, -0.09768934547901154, 0.31074509024620056, 0.0803619995713234, -0.01671072654426098, -0.16671888530254364, -0.08626911789178848, 0.8328952193260193, -0.09006401151418686, -0.038000017404556274, 0.16630911827087402, -0.27091169357299805, 0.4178835451602936, -0.22306793928146362, 0.030567022040486336, -0.2949412167072296, -0.2890263795852661, -0.08860592544078827, -0.05968404933810234, 0.09930817037820816, 0.3447778820991516, -0.1455468386411667, 0.203619122505188, -0.010416998527944088, 0.16636869311332703, 0.09580516070127487, 0.25571170449256897, -0.13329407572746277, 0.037007156759500504, -0.09905015677213669, 0.33055415749549866, -0.1239996999502182, 0.24654150009155273, -0.26480022072792053, -0.1444694548845291, -0.00538688013330102, -0.29309317469596863, -0.26810312271118164, 0.06402510404586792, -0.21869759261608124, 0.21855323016643524, -0.28170931339263916, -0.10716002434492111, 0.11675561219453812, 0.06776117533445358, 0.1505756676197052, 0.08744406700134277, -0.17794112861156464, 0.19068555533885956, -0.0796438604593277, -0.1565828174352646, -0.046838659793138504, 0.13947784900665283, 0.05821951851248741, -0.22877100110054016, -0.29056790471076965, 0.10597704350948334, 0.04833803325891495, -0.13892005383968353, 0.04261114448308945, -0.03509364649653435, 0.05232337489724159, -0.38503116369247437, -0.16715525090694427, -0.09788506478071213, 0.03913425654172897, -0.08924966305494308, 0.3186517655849457, 0.09036792069673538, 0.06566467881202698, 0.2322431206703186, 0.2292996644973755, -0.25827550888061523, -0.20533812046051025, 0.5026828646659851, -0.0777287408709526, -0.16409367322921753, 0.40280595421791077, -0.020898425951600075, -0.2805382013320923, -0.4503452181816101, -0.0983976498246193, -0.1757136881351471, -0.3938646614551544, 0.04667358845472336, -0.2731078267097473, 0.06294884532690048, -0.042717017233371735, 0.10663812607526779, 0.1697595715522766, 0.03567088767886162, 0.08124574273824692, -0.4008382260799408, -0.17033597826957703, 0.05984291434288025, 0.0021700365468859673, 0.04023166745901108, -0.020949384197592735, -0.13005314767360687, 0.24188072979450226, -0.023393677547574043, -0.5164656043052673, 0.0002854903577826917, -0.12466046214103699, -0.06637895107269287, 0.23078595101833344, 0.05474960803985596, 0.03611835464835167, -0.11375166475772858, 0.3304189443588257, 0.07804736495018005, -0.30635032057762146, -0.3875899612903595, 0.07577880471944809, 0.051951151341199875, -0.020274465903639793, -0.18616683781147003, 0.032130900770425797, -0.3787696659564972, -0.28706133365631104, 0.2555055022239685, -0.04614821821451187, 0.09981166571378708, 0.06317555904388428, -0.07903894782066345, 0.08310893177986145, 0.022083047777414322, -0.15876072645187378, 0.24382466077804565, -0.03911857679486275, 0.28588274121284485, -0.10759640485048294, 0.11769792437553406, 0.14431457221508026, -0.13322928547859192, -0.12331830710172653, -0.08032505959272385, 0.07456236332654953, 0.046996939927339554, 0.2934224009513855, -0.436249315738678, 0.07549427449703217, 0.34495627880096436, 0.23648472130298615, 0.3055921792984009, -0.15926402807235718, -0.21496252715587616, 0.17057915031909943, 0.4372198283672333, -0.3672139048576355, -0.15907570719718933, 0.1899452954530716, 0.00893692672252655, -0.09733220934867859, 0.031732507050037384, 0.09627995640039444, -0.08905204385519028, 0.06512393057346344, 0.07485383749008179, 0.4724947214126587, 0.03655891865491867, 0.0669897049665451, 0.5282633900642395, -0.1254529058933258, 0.09373266249895096, 0.12115684896707535, 0.37366369366645813, -0.14224614202976227, 0.5748319029808044, -0.10177089273929596, 0.029750827699899673, 0.04356113821268082, 0.10713957250118256, -0.05172092840075493, -0.5053877830505371, 0.19967012107372284, 0.2595705986022949, 0.0008685914217494428, 0.0422884039580822, 0.14049479365348816, 0.10434429347515106, -0.11134897917509079, -0.037653446197509766, -0.3474574685096741, 0.1427299678325653, -0.13583840429782867, 0.20158137381076813, -0.2386258989572525, -0.22396758198738098, -0.14207492768764496, 0.11956802755594254, -0.15947271883487701, -0.13095572590827942, 0.19535863399505615, 0.0450785756111145, -0.06863663345575333, -0.47956299781799316, 0.09442746639251709, 0.03679833188652992, -0.07870811969041824, -0.2718457877635956, 0.2106054276227951, 0.04138008877635002, 0.028231922537088394, 0.3948822021484375, 0.32936546206474304, 0.26295849680900574, 0.17399628460407257, 0.14068526029586792, -0.14061014354228973, 0.06407084316015244, -0.17026035487651825, -0.15063709020614624, 0.19778524339199066, 0.2557472586631775, 0.1512250453233719, 0.2916068434715271, 0.333207905292511, -0.2582114040851593, 0.06811856478452682, 0.23827573657035828, 0.05043923482298851, 0.017415286973118782, 0.11670927703380585, -0.12423070520162582, -0.042056769132614136, -0.1822703778743744, -0.12878791987895966, -0.24767304956912994, 0.017585422843694687, 0.3705590069293976, -0.11449240893125534, 0.1549232006072998, -0.19177991151809692, 0.16970887780189514, -0.192778080701828, 0.4184064567089081, 0.35875701904296875, 0.218406543135643, -0.12275736033916473, -0.2603145241737366, -0.7747611999511719, 0.20684655010700226, -0.015338566154241562, -0.04528822377324104, -0.0018129406962543726, 0.1430279165506363, 0.10220550000667572, 0.16729579865932465, 0.418694406747818, 0.10697323828935623, -0.049057308584451675, 0.1442432403564453, -0.2968001067638397, -0.18110494315624237, 0.07276264578104019, 0.14401906728744507, 0.000670773268211633, -0.3110019862651825, 0.30454015731811523, 0.002286612056195736, 0.22348171472549438, -0.1726532131433487, -0.03891448676586151, -0.17576836049556732, -0.11455667018890381, 0.42881909012794495, 0.03022371605038643, 0.5434698462486267, -0.08137165009975433, -0.14096076786518097, -0.11565929651260376, -0.1607135534286499, -0.06874587386846542, 0.31893667578697205, 0.2167215347290039, 0.10912572592496872, -0.10333923995494843, 0.20152521133422852, -0.16513153910636902, 0.1267743706703186, -0.036167263984680176, 0.3041352331638336, -0.23098960518836975, -0.019001033157110214, -0.06944795697927475, -0.01955043151974678, 0.10636837035417557, -0.08694343268871307, -0.11466249823570251, 0.020487148314714432, -0.2002692073583603, -0.20927050709724426, 0.310214102268219, 0.14071595668792725, -0.1511397361755371, -0.09656614810228348, 0.1832275241613388, 0.1522156298160553, -0.16594703495502472, -0.29543501138687134, 0.1452191323041916, 0.2825717031955719, -0.265106737613678, -0.08021803945302963, 0.14268912374973297, -0.11476913094520569, 0.10787538439035416, 0.08889681100845337, 0.520722508430481, -0.010429111309349537, -0.4564659297466278, 0.01653176359832287, -0.14271555840969086 ]
https://github.com/huggingface/datasets/issues/2076
Issue: Dataset download error
This command will update your local file. Then you can open a Pull Request to push your fix to the github repo :) And yes you are right, it is a "canonical" dataset, i.e. a dataset script defined in this github repo (as opposed to dataset repositories of users on the huggingface hub)
The download link in `iwslt2017.py` file does not seem to work anymore. For example, `FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnted/texts/zh/en/zh-en.tgz` Would be nice if we could modify it script and use the new downloadable link?
53
Issue: Dataset download error
[ -0.4676583707332611, 0.0751137062907219, -0.266338974237442, 0.36431920528411865, 0.22184860706329346, 0.21471622586250305, 0.036443278193473816, 0.2803308665752411, 0.009803233668208122, -0.034042730927467346, -0.008231518790125847, -0.009018635377287865, -0.01861870102584362, 0.24197953939437866, -0.13218317925930023, -0.07137833535671234, -0.07630592584609985, 0.12984684109687805, -0.28698495030403137, -0.11109558492898941, -0.13080410659313202, 0.1158761978149414, -0.10048703849315643, 0.08724386990070343, -0.09935128688812256, -0.32976898550987244, 0.020184755325317383, 0.15005044639110565, -0.4978979825973511, -0.36411252617836, 0.25470399856567383, 0.15081708133220673, 0.19434304535388947, 0.2952885925769806, -0.00009668336133472621, -0.07085355371236801, 0.2773433029651642, 0.05711490660905838, -0.3370043635368347, 0.00039817127981223166, -0.5402775406837463, -0.07693855464458466, -0.1035725474357605, -0.23372440040111542, 0.2550148665904999, -0.1405341774225235, -0.04771197587251663, -0.11371690034866333, 0.28296926617622375, 0.28107941150665283, 0.4565025866031647, 0.12823031842708588, 0.1090913638472557, -0.3120185434818268, 0.17414148151874542, 0.004085003864020109, 0.032239798456430435, 0.1254476010799408, 0.10087362676858902, 0.008943554945290089, 0.1339009404182434, 0.22448313236236572, -0.0056060729548335075, 0.1671922355890274, 0.09717350453138351, -0.12999559938907623, 0.07695963233709335, -0.21582049131393433, 0.24538040161132812, 0.09007429331541061, 0.8655695915222168, -0.09695001691579819, -0.160877525806427, 0.17361381649971008, 0.19952167570590973, -0.11970452964305878, 0.26606279611587524, 0.17879648506641388, -0.19712571799755096, 0.1760861873626709, -0.2166304737329483, -0.29221293330192566, -0.13350091874599457, 0.06785522401332855, -0.17592346668243408, 0.032407037913799286, -0.14818228781223297, -0.08480041474103928, 0.027303436771035194, -0.011603203602135181, 0.2638944983482361, -0.17857392132282257, -0.05471232905983925, -0.029885336756706238, 0.004816284403204918, 0.008015683852136135, -0.03976525738835335, 0.11610233783721924, 0.14021648466587067, -0.004502526018768549, -0.0026574793737381697, -0.07305287569761276, -0.0741330236196518, -0.021820323541760445, 0.3784479796886444, -0.0987575501203537, 0.0549941249191761, 0.12274818867444992, 0.26024749875068665, 0.043051429092884064, 0.029043694958090782, 0.12324947863817215, -0.1278848946094513, -0.06495817750692368, -0.019012853503227234, 0.0013177208602428436, 0.1963842809200287, -0.2862219512462616, -0.35436737537384033, 0.11599832773208618, 0.13563641905784607, -0.07510586082935333, -0.12397010624408722, 0.21652176976203918, -0.10896644741296768, -0.01960643008351326, 0.024418536573648453, 0.2206648290157318, -0.013537836261093616, -0.3664489686489105, -0.33234402537345886, 0.0005251237307675183, -0.12389223277568817, -0.2616540491580963, 0.20313721895217896, 0.06382991373538971, 0.12503919005393982, -0.0366717129945755, -0.2274036854505539, -0.07540909200906754, -0.030780870467424393, -0.101861372590065, -0.18917466700077057, 0.30476289987564087, 0.091558076441288, 0.26719534397125244, -0.0021345894783735275, 0.01205102913081646, 0.015732379630208015, 0.24198251962661743, -0.12905392050743103, -0.27801764011383057, -0.04951337352395058, 0.4055313467979431, 0.010981411673128605, -0.1317552775144577, -0.049496106803417206, -0.012781798839569092, -0.03131736442446709, -0.09082506597042084, -0.21476039290428162, -0.04979771003127098, -0.13124600052833557, -0.19899384677410126, 0.1225728839635849, 0.4739519953727722, -0.4267639219760895, 0.08949045836925507, -0.21790699660778046, -0.3646674156188965, 0.15167750418186188, 0.1611696034669876, -0.16826647520065308, 0.24961569905281067, -0.24272224307060242, 0.2255130410194397, 0.5363249778747559, -0.307981014251709, -0.6940828561782837, 0.31708377599716187, -0.24838081002235413, -0.33203059434890747, -0.03904348984360695, 0.11639053374528885, 0.29636767506599426, -0.0055914707481861115, 0.012360950000584126, 0.25661563873291016, -0.09512284398078918, 0.01943189650774002, -0.18435226380825043, -0.2784963846206665, -0.010029781609773636, 0.08481491357088089, 0.07708375155925751, 0.278312087059021, 0.24334251880645752, 0.019797317683696747, 0.16812042891979218, 0.19133402407169342, 0.057534005492925644, 0.32471710443496704, 0.19016779959201813, 0.03449269384145737, -0.23013803362846375, -0.11788108944892883, -0.3878341019153595, -0.06982026249170303, 0.0908256247639656, -0.007631773129105568, -0.3056265711784363, -0.017279596999287605, -0.5832180380821228, 0.035170700401067734, -0.08621709048748016, 0.16462449729442596, 0.3066355288028717, 0.07750169187784195, -0.07077312469482422, 0.038636356592178345, 0.09424985200166702, 0.34234440326690674, -0.08260102570056915, 0.06865640729665756, -0.002286595292389393, 0.25335028767585754, -0.20280660688877106, -0.06603021919727325, 0.2901844382286072, -0.1598425954580307, 0.18946588039398193, -0.08258438110351562, -0.15523852407932281, 0.2788528800010681, -0.17397810518741608, 0.0695367082953453, 0.2966834008693695, -0.08239370584487915, 0.14081832766532898, -0.21877029538154602, 0.08656837791204453, -0.11626271903514862, 0.19849199056625366, 0.0478554330766201, 0.04072171822190285, -0.11423715949058533, -0.25396373867988586, -0.1531611680984497, -0.022321047261357307, 0.13930562138557434, 0.40997833013534546, -0.06282065063714981, 0.24152059853076935, -0.27515140175819397, 0.08678120374679565, 0.10981051623821259, 0.10575294494628906, -0.07255950570106506, -0.1235760748386383, 0.03209317475557327, 0.37868112325668335, -0.010682705789804459, 0.16484442353248596, 0.011455167084932327, -0.05403592064976692, -0.0006848243065178394, 0.12444771826267242, 0.5233812928199768, 0.39405307173728943, 0.2463539093732834, 0.15524329245090485, 0.06069786846637726, 0.05891667306423187, -0.3013739287853241, 0.20545610785484314, -0.03989355266094208, 0.030789772048592567, 0.11661429703235626, -0.14549259841442108, -0.0920533835887909, -0.2643680274486542, -0.0567835196852684, 0.24945594370365143, 0.38556578755378723, -0.24292460083961487, -0.20212283730506897, -0.44654563069343567, -0.3323485553264618, -0.05976523086428642, 0.12065062671899796, -0.058751482516527176, -0.29049843549728394, 0.02109478786587715, 0.1946726143360138, -0.0764990895986557, 0.07896646112203598, -0.19269736111164093, 0.13822433352470398, 0.129150852560997, 0.056035954505205154, -0.037468068301677704, -0.11933230608701706, -0.2148485779762268, 0.2743491232395172, 0.18436838686466217, 0.148489847779274, 0.4444086253643036, -0.37394025921821594, 0.21176844835281372, -0.4926591217517853, 0.06967799365520477, 0.21960106492042542, 0.13912230730056763, 0.008993679657578468, 0.16776543855667114, 0.3385218679904938, -0.04026075080037117, -0.08410807698965073, 0.15902896225452423, -0.1347585767507553, -0.15479615330696106, 0.03356607258319855, 0.04660720005631447, -0.19433730840682983, -0.015249833464622498, -0.480089396238327, -0.31468459963798523, -0.22978946566581726, -0.05305825546383858, -0.06389298290014267, 0.1076933816075325, -0.02880253829061985, 0.14534233510494232, 0.012429901398718357, -0.07220488041639328, -0.018864957615733147, -0.32206252217292786, -0.2940511703491211, 0.3058677017688751, -0.22668969631195068, -0.4186638593673706, 0.21708272397518158, 0.1331426352262497, 0.18326377868652344, 0.384694367647171, -0.5364845991134644, 0.0037539631593972445, -0.08573814481496811, 0.22453917562961578, -0.03269560635089874, 0.07402491569519043, 0.2401699721813202, -0.0405920147895813, -0.2484225183725357, -0.14144138991832733, 0.002528808079659939, 0.2188437432050705, -0.013258326798677444, 0.32212913036346436, -0.1894744485616684, 0.3209873139858246, -0.05159947648644447, 0.5442101955413818, -0.0009053426329046488, -0.12212925404310226, 0.30295926332473755, -0.028774352744221687, 0.3147832155227661, 0.0978582575917244, -0.2711097002029419, 0.04265289753675461, -0.004462145734578371, 0.15079544484615326, 0.109701968729496, -0.08870650827884674, -0.0921001210808754, -0.18521520495414734, -0.03214108198881149, -0.3852955400943756, -0.22376292943954468, -0.20764191448688507, 0.12332773208618164, 0.1838272213935852, 0.3076261579990387, 0.05937427282333374, -0.02410624735057354, -0.08525825291872025, 0.08211454004049301, 0.09535249322652817, -0.01429935172200203, 0.02371065504848957, -0.18114416301250458, 0.1068042740225792, -0.30907270312309265, 0.25698259472846985, -0.02556498348712921, 0.3498820662498474, -0.2262742966413498, 0.18248307704925537, 0.1789863407611847, 0.07640071213245392, 0.6501675844192505, -0.2841028571128845, 0.24910515546798706, -0.11450830101966858, 0.168095201253891, -0.0506257489323616, 0.01758512109518051, -0.2768585979938507, 0.37487244606018066, 0.09029016643762589, -0.08020961284637451, -0.37713149189949036, 0.07452089339494705, 0.25825878977775574, -0.006038793362677097, -0.03942770138382912, -0.2262386679649353, 0.048025015741586685, -0.3716183006763458, -0.29147112369537354, -0.009777423925697803, -0.015407170169055462, 0.006787906866520643, -0.02055577002465725, -0.17811864614486694, -0.07683736085891724, 0.10308119654655457, -0.017397575080394745, -0.06645034998655319, 0.2772519588470459, 0.13717666268348694, 0.19725795090198517, 0.20042353868484497, 0.15620796382427216, 0.4141947627067566, 0.5325681567192078, -0.10725626349449158, -0.2800750136375427, 0.14893673360347748, -0.3999333381652832, -0.13722902536392212, 0.27307865023612976, -0.08224405348300934, -0.11894858628511429, 0.17901237308979034, 0.010615818202495575, -0.013201776891946793, 0.16620688140392303, 0.3283802270889282, -0.14224524796009064, -0.24941909313201904, -0.3855094611644745, 0.11219552159309387, 0.00266366358846426, -0.09768934547901154, 0.31074509024620056, 0.0803619995713234, -0.01671072654426098, -0.16671888530254364, -0.08626911789178848, 0.8328952193260193, -0.09006401151418686, -0.038000017404556274, 0.16630911827087402, -0.27091169357299805, 0.4178835451602936, -0.22306793928146362, 0.030567022040486336, -0.2949412167072296, -0.2890263795852661, -0.08860592544078827, -0.05968404933810234, 0.09930817037820816, 0.3447778820991516, -0.1455468386411667, 0.203619122505188, -0.010416998527944088, 0.16636869311332703, 0.09580516070127487, 0.25571170449256897, -0.13329407572746277, 0.037007156759500504, -0.09905015677213669, 0.33055415749549866, -0.1239996999502182, 0.24654150009155273, -0.26480022072792053, -0.1444694548845291, -0.00538688013330102, -0.29309317469596863, -0.26810312271118164, 0.06402510404586792, -0.21869759261608124, 0.21855323016643524, -0.28170931339263916, -0.10716002434492111, 0.11675561219453812, 0.06776117533445358, 0.1505756676197052, 0.08744406700134277, -0.17794112861156464, 0.19068555533885956, -0.0796438604593277, -0.1565828174352646, -0.046838659793138504, 0.13947784900665283, 0.05821951851248741, -0.22877100110054016, -0.29056790471076965, 0.10597704350948334, 0.04833803325891495, -0.13892005383968353, 0.04261114448308945, -0.03509364649653435, 0.05232337489724159, -0.38503116369247437, -0.16715525090694427, -0.09788506478071213, 0.03913425654172897, -0.08924966305494308, 0.3186517655849457, 0.09036792069673538, 0.06566467881202698, 0.2322431206703186, 0.2292996644973755, -0.25827550888061523, -0.20533812046051025, 0.5026828646659851, -0.0777287408709526, -0.16409367322921753, 0.40280595421791077, -0.020898425951600075, -0.2805382013320923, -0.4503452181816101, -0.0983976498246193, -0.1757136881351471, -0.3938646614551544, 0.04667358845472336, -0.2731078267097473, 0.06294884532690048, -0.042717017233371735, 0.10663812607526779, 0.1697595715522766, 0.03567088767886162, 0.08124574273824692, -0.4008382260799408, -0.17033597826957703, 0.05984291434288025, 0.0021700365468859673, 0.04023166745901108, -0.020949384197592735, -0.13005314767360687, 0.24188072979450226, -0.023393677547574043, -0.5164656043052673, 0.0002854903577826917, -0.12466046214103699, -0.06637895107269287, 0.23078595101833344, 0.05474960803985596, 0.03611835464835167, -0.11375166475772858, 0.3304189443588257, 0.07804736495018005, -0.30635032057762146, -0.3875899612903595, 0.07577880471944809, 0.051951151341199875, -0.020274465903639793, -0.18616683781147003, 0.032130900770425797, -0.3787696659564972, -0.28706133365631104, 0.2555055022239685, -0.04614821821451187, 0.09981166571378708, 0.06317555904388428, -0.07903894782066345, 0.08310893177986145, 0.022083047777414322, -0.15876072645187378, 0.24382466077804565, -0.03911857679486275, 0.28588274121284485, -0.10759640485048294, 0.11769792437553406, 0.14431457221508026, -0.13322928547859192, -0.12331830710172653, -0.08032505959272385, 0.07456236332654953, 0.046996939927339554, 0.2934224009513855, -0.436249315738678, 0.07549427449703217, 0.34495627880096436, 0.23648472130298615, 0.3055921792984009, -0.15926402807235718, -0.21496252715587616, 0.17057915031909943, 0.4372198283672333, -0.3672139048576355, -0.15907570719718933, 0.1899452954530716, 0.00893692672252655, -0.09733220934867859, 0.031732507050037384, 0.09627995640039444, -0.08905204385519028, 0.06512393057346344, 0.07485383749008179, 0.4724947214126587, 0.03655891865491867, 0.0669897049665451, 0.5282633900642395, -0.1254529058933258, 0.09373266249895096, 0.12115684896707535, 0.37366369366645813, -0.14224614202976227, 0.5748319029808044, -0.10177089273929596, 0.029750827699899673, 0.04356113821268082, 0.10713957250118256, -0.05172092840075493, -0.5053877830505371, 0.19967012107372284, 0.2595705986022949, 0.0008685914217494428, 0.0422884039580822, 0.14049479365348816, 0.10434429347515106, -0.11134897917509079, -0.037653446197509766, -0.3474574685096741, 0.1427299678325653, -0.13583840429782867, 0.20158137381076813, -0.2386258989572525, -0.22396758198738098, -0.14207492768764496, 0.11956802755594254, -0.15947271883487701, -0.13095572590827942, 0.19535863399505615, 0.0450785756111145, -0.06863663345575333, -0.47956299781799316, 0.09442746639251709, 0.03679833188652992, -0.07870811969041824, -0.2718457877635956, 0.2106054276227951, 0.04138008877635002, 0.028231922537088394, 0.3948822021484375, 0.32936546206474304, 0.26295849680900574, 0.17399628460407257, 0.14068526029586792, -0.14061014354228973, 0.06407084316015244, -0.17026035487651825, -0.15063709020614624, 0.19778524339199066, 0.2557472586631775, 0.1512250453233719, 0.2916068434715271, 0.333207905292511, -0.2582114040851593, 0.06811856478452682, 0.23827573657035828, 0.05043923482298851, 0.017415286973118782, 0.11670927703380585, -0.12423070520162582, -0.042056769132614136, -0.1822703778743744, -0.12878791987895966, -0.24767304956912994, 0.017585422843694687, 0.3705590069293976, -0.11449240893125534, 0.1549232006072998, -0.19177991151809692, 0.16970887780189514, -0.192778080701828, 0.4184064567089081, 0.35875701904296875, 0.218406543135643, -0.12275736033916473, -0.2603145241737366, -0.7747611999511719, 0.20684655010700226, -0.015338566154241562, -0.04528822377324104, -0.0018129406962543726, 0.1430279165506363, 0.10220550000667572, 0.16729579865932465, 0.418694406747818, 0.10697323828935623, -0.049057308584451675, 0.1442432403564453, -0.2968001067638397, -0.18110494315624237, 0.07276264578104019, 0.14401906728744507, 0.000670773268211633, -0.3110019862651825, 0.30454015731811523, 0.002286612056195736, 0.22348171472549438, -0.1726532131433487, -0.03891448676586151, -0.17576836049556732, -0.11455667018890381, 0.42881909012794495, 0.03022371605038643, 0.5434698462486267, -0.08137165009975433, -0.14096076786518097, -0.11565929651260376, -0.1607135534286499, -0.06874587386846542, 0.31893667578697205, 0.2167215347290039, 0.10912572592496872, -0.10333923995494843, 0.20152521133422852, -0.16513153910636902, 0.1267743706703186, -0.036167263984680176, 0.3041352331638336, -0.23098960518836975, -0.019001033157110214, -0.06944795697927475, -0.01955043151974678, 0.10636837035417557, -0.08694343268871307, -0.11466249823570251, 0.020487148314714432, -0.2002692073583603, -0.20927050709724426, 0.310214102268219, 0.14071595668792725, -0.1511397361755371, -0.09656614810228348, 0.1832275241613388, 0.1522156298160553, -0.16594703495502472, -0.29543501138687134, 0.1452191323041916, 0.2825717031955719, -0.265106737613678, -0.08021803945302963, 0.14268912374973297, -0.11476913094520569, 0.10787538439035416, 0.08889681100845337, 0.520722508430481, -0.010429111309349537, -0.4564659297466278, 0.01653176359832287, -0.14271555840969086 ]
https://github.com/huggingface/datasets/issues/2076
Issue: Dataset download error
Hi, thanks for the answer. I gave a try to the problem today. But I encountered an upload error: ``` git push -u origin fix_link_iwslt Enter passphrase for key '/home2/xuhuizh/.ssh/id_rsa': ERROR: Permission to huggingface/datasets.git denied to XuhuiZhou. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. ``` Any insight here? By the way, when I run the datasets-cli command, it shows the following error, but does not seem to be the error coming from `iwslt.py` ``` Traceback (most recent call last): File "/home2/xuhuizh/anaconda3/envs/UMT/bin/datasets-cli", line 33, in <module> sys.exit(load_entry_point('datasets', 'console_scripts', 'datasets-cli')()) File "/home2/xuhuizh/projects/datasets/src/datasets/commands/datasets_cli.py", line 35, in main service.run() File "/home2/xuhuizh/projects/datasets/src/datasets/commands/test.py", line 141, in run try_from_hf_gcs=False, File "/home2/xuhuizh/projects/datasets/src/datasets/builder.py", line 579, in download_and_prepare dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs File "/home2/xuhuizh/projects/datasets/src/datasets/builder.py", line 639, in _download_and_prepare self.info.download_checksums, dl_manager.get_recorded_sizes_checksums(), "dataset source files" File "/home2/xuhuizh/projects/datasets/src/datasets/utils/info_utils.py", line 32, in verify_checksums raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums))) datasets.utils.info_utils.ExpectedMoreDownloadedFiles: {'https://wit3.fbk.eu/archive/2017-01-trnmted//texts/DeEnItNlRo/DeEnItNlRo/DeEnItNlRo-DeEnItNlRo.tgz'} ```
The download link in `iwslt2017.py` file does not seem to work anymore. For example, `FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnted/texts/zh/en/zh-en.tgz` Would be nice if we could modify it script and use the new downloadable link?
148
Issue: Dataset download error
[ -0.4676583707332611, 0.0751137062907219, -0.266338974237442, 0.36431920528411865, 0.22184860706329346, 0.21471622586250305, 0.036443278193473816, 0.2803308665752411, 0.009803233668208122, -0.034042730927467346, -0.008231518790125847, -0.009018635377287865, -0.01861870102584362, 0.24197953939437866, -0.13218317925930023, -0.07137833535671234, -0.07630592584609985, 0.12984684109687805, -0.28698495030403137, -0.11109558492898941, -0.13080410659313202, 0.1158761978149414, -0.10048703849315643, 0.08724386990070343, -0.09935128688812256, -0.32976898550987244, 0.020184755325317383, 0.15005044639110565, -0.4978979825973511, -0.36411252617836, 0.25470399856567383, 0.15081708133220673, 0.19434304535388947, 0.2952885925769806, -0.00009668336133472621, -0.07085355371236801, 0.2773433029651642, 0.05711490660905838, -0.3370043635368347, 0.00039817127981223166, -0.5402775406837463, -0.07693855464458466, -0.1035725474357605, -0.23372440040111542, 0.2550148665904999, -0.1405341774225235, -0.04771197587251663, -0.11371690034866333, 0.28296926617622375, 0.28107941150665283, 0.4565025866031647, 0.12823031842708588, 0.1090913638472557, -0.3120185434818268, 0.17414148151874542, 0.004085003864020109, 0.032239798456430435, 0.1254476010799408, 0.10087362676858902, 0.008943554945290089, 0.1339009404182434, 0.22448313236236572, -0.0056060729548335075, 0.1671922355890274, 0.09717350453138351, -0.12999559938907623, 0.07695963233709335, -0.21582049131393433, 0.24538040161132812, 0.09007429331541061, 0.8655695915222168, -0.09695001691579819, -0.160877525806427, 0.17361381649971008, 0.19952167570590973, -0.11970452964305878, 0.26606279611587524, 0.17879648506641388, -0.19712571799755096, 0.1760861873626709, -0.2166304737329483, -0.29221293330192566, -0.13350091874599457, 0.06785522401332855, -0.17592346668243408, 0.032407037913799286, -0.14818228781223297, -0.08480041474103928, 0.027303436771035194, -0.011603203602135181, 0.2638944983482361, -0.17857392132282257, -0.05471232905983925, -0.029885336756706238, 0.004816284403204918, 0.008015683852136135, -0.03976525738835335, 0.11610233783721924, 0.14021648466587067, -0.004502526018768549, -0.0026574793737381697, -0.07305287569761276, -0.0741330236196518, -0.021820323541760445, 0.3784479796886444, -0.0987575501203537, 0.0549941249191761, 0.12274818867444992, 0.26024749875068665, 0.043051429092884064, 0.029043694958090782, 0.12324947863817215, -0.1278848946094513, -0.06495817750692368, -0.019012853503227234, 0.0013177208602428436, 0.1963842809200287, -0.2862219512462616, -0.35436737537384033, 0.11599832773208618, 0.13563641905784607, -0.07510586082935333, -0.12397010624408722, 0.21652176976203918, -0.10896644741296768, -0.01960643008351326, 0.024418536573648453, 0.2206648290157318, -0.013537836261093616, -0.3664489686489105, -0.33234402537345886, 0.0005251237307675183, -0.12389223277568817, -0.2616540491580963, 0.20313721895217896, 0.06382991373538971, 0.12503919005393982, -0.0366717129945755, -0.2274036854505539, -0.07540909200906754, -0.030780870467424393, -0.101861372590065, -0.18917466700077057, 0.30476289987564087, 0.091558076441288, 0.26719534397125244, -0.0021345894783735275, 0.01205102913081646, 0.015732379630208015, 0.24198251962661743, -0.12905392050743103, -0.27801764011383057, -0.04951337352395058, 0.4055313467979431, 0.010981411673128605, -0.1317552775144577, -0.049496106803417206, -0.012781798839569092, -0.03131736442446709, -0.09082506597042084, -0.21476039290428162, -0.04979771003127098, -0.13124600052833557, -0.19899384677410126, 0.1225728839635849, 0.4739519953727722, -0.4267639219760895, 0.08949045836925507, -0.21790699660778046, -0.3646674156188965, 0.15167750418186188, 0.1611696034669876, -0.16826647520065308, 0.24961569905281067, -0.24272224307060242, 0.2255130410194397, 0.5363249778747559, -0.307981014251709, -0.6940828561782837, 0.31708377599716187, -0.24838081002235413, -0.33203059434890747, -0.03904348984360695, 0.11639053374528885, 0.29636767506599426, -0.0055914707481861115, 0.012360950000584126, 0.25661563873291016, -0.09512284398078918, 0.01943189650774002, -0.18435226380825043, -0.2784963846206665, -0.010029781609773636, 0.08481491357088089, 0.07708375155925751, 0.278312087059021, 0.24334251880645752, 0.019797317683696747, 0.16812042891979218, 0.19133402407169342, 0.057534005492925644, 0.32471710443496704, 0.19016779959201813, 0.03449269384145737, -0.23013803362846375, -0.11788108944892883, -0.3878341019153595, -0.06982026249170303, 0.0908256247639656, -0.007631773129105568, -0.3056265711784363, -0.017279596999287605, -0.5832180380821228, 0.035170700401067734, -0.08621709048748016, 0.16462449729442596, 0.3066355288028717, 0.07750169187784195, -0.07077312469482422, 0.038636356592178345, 0.09424985200166702, 0.34234440326690674, -0.08260102570056915, 0.06865640729665756, -0.002286595292389393, 0.25335028767585754, -0.20280660688877106, -0.06603021919727325, 0.2901844382286072, -0.1598425954580307, 0.18946588039398193, -0.08258438110351562, -0.15523852407932281, 0.2788528800010681, -0.17397810518741608, 0.0695367082953453, 0.2966834008693695, -0.08239370584487915, 0.14081832766532898, -0.21877029538154602, 0.08656837791204453, -0.11626271903514862, 0.19849199056625366, 0.0478554330766201, 0.04072171822190285, -0.11423715949058533, -0.25396373867988586, -0.1531611680984497, -0.022321047261357307, 0.13930562138557434, 0.40997833013534546, -0.06282065063714981, 0.24152059853076935, -0.27515140175819397, 0.08678120374679565, 0.10981051623821259, 0.10575294494628906, -0.07255950570106506, -0.1235760748386383, 0.03209317475557327, 0.37868112325668335, -0.010682705789804459, 0.16484442353248596, 0.011455167084932327, -0.05403592064976692, -0.0006848243065178394, 0.12444771826267242, 0.5233812928199768, 0.39405307173728943, 0.2463539093732834, 0.15524329245090485, 0.06069786846637726, 0.05891667306423187, -0.3013739287853241, 0.20545610785484314, -0.03989355266094208, 0.030789772048592567, 0.11661429703235626, -0.14549259841442108, -0.0920533835887909, -0.2643680274486542, -0.0567835196852684, 0.24945594370365143, 0.38556578755378723, -0.24292460083961487, -0.20212283730506897, -0.44654563069343567, -0.3323485553264618, -0.05976523086428642, 0.12065062671899796, -0.058751482516527176, -0.29049843549728394, 0.02109478786587715, 0.1946726143360138, -0.0764990895986557, 0.07896646112203598, -0.19269736111164093, 0.13822433352470398, 0.129150852560997, 0.056035954505205154, -0.037468068301677704, -0.11933230608701706, -0.2148485779762268, 0.2743491232395172, 0.18436838686466217, 0.148489847779274, 0.4444086253643036, -0.37394025921821594, 0.21176844835281372, -0.4926591217517853, 0.06967799365520477, 0.21960106492042542, 0.13912230730056763, 0.008993679657578468, 0.16776543855667114, 0.3385218679904938, -0.04026075080037117, -0.08410807698965073, 0.15902896225452423, -0.1347585767507553, -0.15479615330696106, 0.03356607258319855, 0.04660720005631447, -0.19433730840682983, -0.015249833464622498, -0.480089396238327, -0.31468459963798523, -0.22978946566581726, -0.05305825546383858, -0.06389298290014267, 0.1076933816075325, -0.02880253829061985, 0.14534233510494232, 0.012429901398718357, -0.07220488041639328, -0.018864957615733147, -0.32206252217292786, -0.2940511703491211, 0.3058677017688751, -0.22668969631195068, -0.4186638593673706, 0.21708272397518158, 0.1331426352262497, 0.18326377868652344, 0.384694367647171, -0.5364845991134644, 0.0037539631593972445, -0.08573814481496811, 0.22453917562961578, -0.03269560635089874, 0.07402491569519043, 0.2401699721813202, -0.0405920147895813, -0.2484225183725357, -0.14144138991832733, 0.002528808079659939, 0.2188437432050705, -0.013258326798677444, 0.32212913036346436, -0.1894744485616684, 0.3209873139858246, -0.05159947648644447, 0.5442101955413818, -0.0009053426329046488, -0.12212925404310226, 0.30295926332473755, -0.028774352744221687, 0.3147832155227661, 0.0978582575917244, -0.2711097002029419, 0.04265289753675461, -0.004462145734578371, 0.15079544484615326, 0.109701968729496, -0.08870650827884674, -0.0921001210808754, -0.18521520495414734, -0.03214108198881149, -0.3852955400943756, -0.22376292943954468, -0.20764191448688507, 0.12332773208618164, 0.1838272213935852, 0.3076261579990387, 0.05937427282333374, -0.02410624735057354, -0.08525825291872025, 0.08211454004049301, 0.09535249322652817, -0.01429935172200203, 0.02371065504848957, -0.18114416301250458, 0.1068042740225792, -0.30907270312309265, 0.25698259472846985, -0.02556498348712921, 0.3498820662498474, -0.2262742966413498, 0.18248307704925537, 0.1789863407611847, 0.07640071213245392, 0.6501675844192505, -0.2841028571128845, 0.24910515546798706, -0.11450830101966858, 0.168095201253891, -0.0506257489323616, 0.01758512109518051, -0.2768585979938507, 0.37487244606018066, 0.09029016643762589, -0.08020961284637451, -0.37713149189949036, 0.07452089339494705, 0.25825878977775574, -0.006038793362677097, -0.03942770138382912, -0.2262386679649353, 0.048025015741586685, -0.3716183006763458, -0.29147112369537354, -0.009777423925697803, -0.015407170169055462, 0.006787906866520643, -0.02055577002465725, -0.17811864614486694, -0.07683736085891724, 0.10308119654655457, -0.017397575080394745, -0.06645034998655319, 0.2772519588470459, 0.13717666268348694, 0.19725795090198517, 0.20042353868484497, 0.15620796382427216, 0.4141947627067566, 0.5325681567192078, -0.10725626349449158, -0.2800750136375427, 0.14893673360347748, -0.3999333381652832, -0.13722902536392212, 0.27307865023612976, -0.08224405348300934, -0.11894858628511429, 0.17901237308979034, 0.010615818202495575, -0.013201776891946793, 0.16620688140392303, 0.3283802270889282, -0.14224524796009064, -0.24941909313201904, -0.3855094611644745, 0.11219552159309387, 0.00266366358846426, -0.09768934547901154, 0.31074509024620056, 0.0803619995713234, -0.01671072654426098, -0.16671888530254364, -0.08626911789178848, 0.8328952193260193, -0.09006401151418686, -0.038000017404556274, 0.16630911827087402, -0.27091169357299805, 0.4178835451602936, -0.22306793928146362, 0.030567022040486336, -0.2949412167072296, -0.2890263795852661, -0.08860592544078827, -0.05968404933810234, 0.09930817037820816, 0.3447778820991516, -0.1455468386411667, 0.203619122505188, -0.010416998527944088, 0.16636869311332703, 0.09580516070127487, 0.25571170449256897, -0.13329407572746277, 0.037007156759500504, -0.09905015677213669, 0.33055415749549866, -0.1239996999502182, 0.24654150009155273, -0.26480022072792053, -0.1444694548845291, -0.00538688013330102, -0.29309317469596863, -0.26810312271118164, 0.06402510404586792, -0.21869759261608124, 0.21855323016643524, -0.28170931339263916, -0.10716002434492111, 0.11675561219453812, 0.06776117533445358, 0.1505756676197052, 0.08744406700134277, -0.17794112861156464, 0.19068555533885956, -0.0796438604593277, -0.1565828174352646, -0.046838659793138504, 0.13947784900665283, 0.05821951851248741, -0.22877100110054016, -0.29056790471076965, 0.10597704350948334, 0.04833803325891495, -0.13892005383968353, 0.04261114448308945, -0.03509364649653435, 0.05232337489724159, -0.38503116369247437, -0.16715525090694427, -0.09788506478071213, 0.03913425654172897, -0.08924966305494308, 0.3186517655849457, 0.09036792069673538, 0.06566467881202698, 0.2322431206703186, 0.2292996644973755, -0.25827550888061523, -0.20533812046051025, 0.5026828646659851, -0.0777287408709526, -0.16409367322921753, 0.40280595421791077, -0.020898425951600075, -0.2805382013320923, -0.4503452181816101, -0.0983976498246193, -0.1757136881351471, -0.3938646614551544, 0.04667358845472336, -0.2731078267097473, 0.06294884532690048, -0.042717017233371735, 0.10663812607526779, 0.1697595715522766, 0.03567088767886162, 0.08124574273824692, -0.4008382260799408, -0.17033597826957703, 0.05984291434288025, 0.0021700365468859673, 0.04023166745901108, -0.020949384197592735, -0.13005314767360687, 0.24188072979450226, -0.023393677547574043, -0.5164656043052673, 0.0002854903577826917, -0.12466046214103699, -0.06637895107269287, 0.23078595101833344, 0.05474960803985596, 0.03611835464835167, -0.11375166475772858, 0.3304189443588257, 0.07804736495018005, -0.30635032057762146, -0.3875899612903595, 0.07577880471944809, 0.051951151341199875, -0.020274465903639793, -0.18616683781147003, 0.032130900770425797, -0.3787696659564972, -0.28706133365631104, 0.2555055022239685, -0.04614821821451187, 0.09981166571378708, 0.06317555904388428, -0.07903894782066345, 0.08310893177986145, 0.022083047777414322, -0.15876072645187378, 0.24382466077804565, -0.03911857679486275, 0.28588274121284485, -0.10759640485048294, 0.11769792437553406, 0.14431457221508026, -0.13322928547859192, -0.12331830710172653, -0.08032505959272385, 0.07456236332654953, 0.046996939927339554, 0.2934224009513855, -0.436249315738678, 0.07549427449703217, 0.34495627880096436, 0.23648472130298615, 0.3055921792984009, -0.15926402807235718, -0.21496252715587616, 0.17057915031909943, 0.4372198283672333, -0.3672139048576355, -0.15907570719718933, 0.1899452954530716, 0.00893692672252655, -0.09733220934867859, 0.031732507050037384, 0.09627995640039444, -0.08905204385519028, 0.06512393057346344, 0.07485383749008179, 0.4724947214126587, 0.03655891865491867, 0.0669897049665451, 0.5282633900642395, -0.1254529058933258, 0.09373266249895096, 0.12115684896707535, 0.37366369366645813, -0.14224614202976227, 0.5748319029808044, -0.10177089273929596, 0.029750827699899673, 0.04356113821268082, 0.10713957250118256, -0.05172092840075493, -0.5053877830505371, 0.19967012107372284, 0.2595705986022949, 0.0008685914217494428, 0.0422884039580822, 0.14049479365348816, 0.10434429347515106, -0.11134897917509079, -0.037653446197509766, -0.3474574685096741, 0.1427299678325653, -0.13583840429782867, 0.20158137381076813, -0.2386258989572525, -0.22396758198738098, -0.14207492768764496, 0.11956802755594254, -0.15947271883487701, -0.13095572590827942, 0.19535863399505615, 0.0450785756111145, -0.06863663345575333, -0.47956299781799316, 0.09442746639251709, 0.03679833188652992, -0.07870811969041824, -0.2718457877635956, 0.2106054276227951, 0.04138008877635002, 0.028231922537088394, 0.3948822021484375, 0.32936546206474304, 0.26295849680900574, 0.17399628460407257, 0.14068526029586792, -0.14061014354228973, 0.06407084316015244, -0.17026035487651825, -0.15063709020614624, 0.19778524339199066, 0.2557472586631775, 0.1512250453233719, 0.2916068434715271, 0.333207905292511, -0.2582114040851593, 0.06811856478452682, 0.23827573657035828, 0.05043923482298851, 0.017415286973118782, 0.11670927703380585, -0.12423070520162582, -0.042056769132614136, -0.1822703778743744, -0.12878791987895966, -0.24767304956912994, 0.017585422843694687, 0.3705590069293976, -0.11449240893125534, 0.1549232006072998, -0.19177991151809692, 0.16970887780189514, -0.192778080701828, 0.4184064567089081, 0.35875701904296875, 0.218406543135643, -0.12275736033916473, -0.2603145241737366, -0.7747611999511719, 0.20684655010700226, -0.015338566154241562, -0.04528822377324104, -0.0018129406962543726, 0.1430279165506363, 0.10220550000667572, 0.16729579865932465, 0.418694406747818, 0.10697323828935623, -0.049057308584451675, 0.1442432403564453, -0.2968001067638397, -0.18110494315624237, 0.07276264578104019, 0.14401906728744507, 0.000670773268211633, -0.3110019862651825, 0.30454015731811523, 0.002286612056195736, 0.22348171472549438, -0.1726532131433487, -0.03891448676586151, -0.17576836049556732, -0.11455667018890381, 0.42881909012794495, 0.03022371605038643, 0.5434698462486267, -0.08137165009975433, -0.14096076786518097, -0.11565929651260376, -0.1607135534286499, -0.06874587386846542, 0.31893667578697205, 0.2167215347290039, 0.10912572592496872, -0.10333923995494843, 0.20152521133422852, -0.16513153910636902, 0.1267743706703186, -0.036167263984680176, 0.3041352331638336, -0.23098960518836975, -0.019001033157110214, -0.06944795697927475, -0.01955043151974678, 0.10636837035417557, -0.08694343268871307, -0.11466249823570251, 0.020487148314714432, -0.2002692073583603, -0.20927050709724426, 0.310214102268219, 0.14071595668792725, -0.1511397361755371, -0.09656614810228348, 0.1832275241613388, 0.1522156298160553, -0.16594703495502472, -0.29543501138687134, 0.1452191323041916, 0.2825717031955719, -0.265106737613678, -0.08021803945302963, 0.14268912374973297, -0.11476913094520569, 0.10787538439035416, 0.08889681100845337, 0.520722508430481, -0.010429111309349537, -0.4564659297466278, 0.01653176359832287, -0.14271555840969086 ]
https://github.com/huggingface/datasets/issues/2076
Issue: Dataset download error
Hi ! To create a PR on this repo your must fork it and create a branch on your fork. See how to fork the repo [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md#start-by-preparing-your-environment). And to make the command work without the `ExpectedMoreDownloadedFiles` error, you just need to use the `--ignore_verifications` flag.
The download link in `iwslt2017.py` file does not seem to work anymore. For example, `FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnted/texts/zh/en/zh-en.tgz` Would be nice if we could modify it script and use the new downloadable link?
45
Issue: Dataset download error
[ -0.4676583707332611, 0.0751137062907219, -0.266338974237442, 0.36431920528411865, 0.22184860706329346, 0.21471622586250305, 0.036443278193473816, 0.2803308665752411, 0.009803233668208122, -0.034042730927467346, -0.008231518790125847, -0.009018635377287865, -0.01861870102584362, 0.24197953939437866, -0.13218317925930023, -0.07137833535671234, -0.07630592584609985, 0.12984684109687805, -0.28698495030403137, -0.11109558492898941, -0.13080410659313202, 0.1158761978149414, -0.10048703849315643, 0.08724386990070343, -0.09935128688812256, -0.32976898550987244, 0.020184755325317383, 0.15005044639110565, -0.4978979825973511, -0.36411252617836, 0.25470399856567383, 0.15081708133220673, 0.19434304535388947, 0.2952885925769806, -0.00009668336133472621, -0.07085355371236801, 0.2773433029651642, 0.05711490660905838, -0.3370043635368347, 0.00039817127981223166, -0.5402775406837463, -0.07693855464458466, -0.1035725474357605, -0.23372440040111542, 0.2550148665904999, -0.1405341774225235, -0.04771197587251663, -0.11371690034866333, 0.28296926617622375, 0.28107941150665283, 0.4565025866031647, 0.12823031842708588, 0.1090913638472557, -0.3120185434818268, 0.17414148151874542, 0.004085003864020109, 0.032239798456430435, 0.1254476010799408, 0.10087362676858902, 0.008943554945290089, 0.1339009404182434, 0.22448313236236572, -0.0056060729548335075, 0.1671922355890274, 0.09717350453138351, -0.12999559938907623, 0.07695963233709335, -0.21582049131393433, 0.24538040161132812, 0.09007429331541061, 0.8655695915222168, -0.09695001691579819, -0.160877525806427, 0.17361381649971008, 0.19952167570590973, -0.11970452964305878, 0.26606279611587524, 0.17879648506641388, -0.19712571799755096, 0.1760861873626709, -0.2166304737329483, -0.29221293330192566, -0.13350091874599457, 0.06785522401332855, -0.17592346668243408, 0.032407037913799286, -0.14818228781223297, -0.08480041474103928, 0.027303436771035194, -0.011603203602135181, 0.2638944983482361, -0.17857392132282257, -0.05471232905983925, -0.029885336756706238, 0.004816284403204918, 0.008015683852136135, -0.03976525738835335, 0.11610233783721924, 0.14021648466587067, -0.004502526018768549, -0.0026574793737381697, -0.07305287569761276, -0.0741330236196518, -0.021820323541760445, 0.3784479796886444, -0.0987575501203537, 0.0549941249191761, 0.12274818867444992, 0.26024749875068665, 0.043051429092884064, 0.029043694958090782, 0.12324947863817215, -0.1278848946094513, -0.06495817750692368, -0.019012853503227234, 0.0013177208602428436, 0.1963842809200287, -0.2862219512462616, -0.35436737537384033, 0.11599832773208618, 0.13563641905784607, -0.07510586082935333, -0.12397010624408722, 0.21652176976203918, -0.10896644741296768, -0.01960643008351326, 0.024418536573648453, 0.2206648290157318, -0.013537836261093616, -0.3664489686489105, -0.33234402537345886, 0.0005251237307675183, -0.12389223277568817, -0.2616540491580963, 0.20313721895217896, 0.06382991373538971, 0.12503919005393982, -0.0366717129945755, -0.2274036854505539, -0.07540909200906754, -0.030780870467424393, -0.101861372590065, -0.18917466700077057, 0.30476289987564087, 0.091558076441288, 0.26719534397125244, -0.0021345894783735275, 0.01205102913081646, 0.015732379630208015, 0.24198251962661743, -0.12905392050743103, -0.27801764011383057, -0.04951337352395058, 0.4055313467979431, 0.010981411673128605, -0.1317552775144577, -0.049496106803417206, -0.012781798839569092, -0.03131736442446709, -0.09082506597042084, -0.21476039290428162, -0.04979771003127098, -0.13124600052833557, -0.19899384677410126, 0.1225728839635849, 0.4739519953727722, -0.4267639219760895, 0.08949045836925507, -0.21790699660778046, -0.3646674156188965, 0.15167750418186188, 0.1611696034669876, -0.16826647520065308, 0.24961569905281067, -0.24272224307060242, 0.2255130410194397, 0.5363249778747559, -0.307981014251709, -0.6940828561782837, 0.31708377599716187, -0.24838081002235413, -0.33203059434890747, -0.03904348984360695, 0.11639053374528885, 0.29636767506599426, -0.0055914707481861115, 0.012360950000584126, 0.25661563873291016, -0.09512284398078918, 0.01943189650774002, -0.18435226380825043, -0.2784963846206665, -0.010029781609773636, 0.08481491357088089, 0.07708375155925751, 0.278312087059021, 0.24334251880645752, 0.019797317683696747, 0.16812042891979218, 0.19133402407169342, 0.057534005492925644, 0.32471710443496704, 0.19016779959201813, 0.03449269384145737, -0.23013803362846375, -0.11788108944892883, -0.3878341019153595, -0.06982026249170303, 0.0908256247639656, -0.007631773129105568, -0.3056265711784363, -0.017279596999287605, -0.5832180380821228, 0.035170700401067734, -0.08621709048748016, 0.16462449729442596, 0.3066355288028717, 0.07750169187784195, -0.07077312469482422, 0.038636356592178345, 0.09424985200166702, 0.34234440326690674, -0.08260102570056915, 0.06865640729665756, -0.002286595292389393, 0.25335028767585754, -0.20280660688877106, -0.06603021919727325, 0.2901844382286072, -0.1598425954580307, 0.18946588039398193, -0.08258438110351562, -0.15523852407932281, 0.2788528800010681, -0.17397810518741608, 0.0695367082953453, 0.2966834008693695, -0.08239370584487915, 0.14081832766532898, -0.21877029538154602, 0.08656837791204453, -0.11626271903514862, 0.19849199056625366, 0.0478554330766201, 0.04072171822190285, -0.11423715949058533, -0.25396373867988586, -0.1531611680984497, -0.022321047261357307, 0.13930562138557434, 0.40997833013534546, -0.06282065063714981, 0.24152059853076935, -0.27515140175819397, 0.08678120374679565, 0.10981051623821259, 0.10575294494628906, -0.07255950570106506, -0.1235760748386383, 0.03209317475557327, 0.37868112325668335, -0.010682705789804459, 0.16484442353248596, 0.011455167084932327, -0.05403592064976692, -0.0006848243065178394, 0.12444771826267242, 0.5233812928199768, 0.39405307173728943, 0.2463539093732834, 0.15524329245090485, 0.06069786846637726, 0.05891667306423187, -0.3013739287853241, 0.20545610785484314, -0.03989355266094208, 0.030789772048592567, 0.11661429703235626, -0.14549259841442108, -0.0920533835887909, -0.2643680274486542, -0.0567835196852684, 0.24945594370365143, 0.38556578755378723, -0.24292460083961487, -0.20212283730506897, -0.44654563069343567, -0.3323485553264618, -0.05976523086428642, 0.12065062671899796, -0.058751482516527176, -0.29049843549728394, 0.02109478786587715, 0.1946726143360138, -0.0764990895986557, 0.07896646112203598, -0.19269736111164093, 0.13822433352470398, 0.129150852560997, 0.056035954505205154, -0.037468068301677704, -0.11933230608701706, -0.2148485779762268, 0.2743491232395172, 0.18436838686466217, 0.148489847779274, 0.4444086253643036, -0.37394025921821594, 0.21176844835281372, -0.4926591217517853, 0.06967799365520477, 0.21960106492042542, 0.13912230730056763, 0.008993679657578468, 0.16776543855667114, 0.3385218679904938, -0.04026075080037117, -0.08410807698965073, 0.15902896225452423, -0.1347585767507553, -0.15479615330696106, 0.03356607258319855, 0.04660720005631447, -0.19433730840682983, -0.015249833464622498, -0.480089396238327, -0.31468459963798523, -0.22978946566581726, -0.05305825546383858, -0.06389298290014267, 0.1076933816075325, -0.02880253829061985, 0.14534233510494232, 0.012429901398718357, -0.07220488041639328, -0.018864957615733147, -0.32206252217292786, -0.2940511703491211, 0.3058677017688751, -0.22668969631195068, -0.4186638593673706, 0.21708272397518158, 0.1331426352262497, 0.18326377868652344, 0.384694367647171, -0.5364845991134644, 0.0037539631593972445, -0.08573814481496811, 0.22453917562961578, -0.03269560635089874, 0.07402491569519043, 0.2401699721813202, -0.0405920147895813, -0.2484225183725357, -0.14144138991832733, 0.002528808079659939, 0.2188437432050705, -0.013258326798677444, 0.32212913036346436, -0.1894744485616684, 0.3209873139858246, -0.05159947648644447, 0.5442101955413818, -0.0009053426329046488, -0.12212925404310226, 0.30295926332473755, -0.028774352744221687, 0.3147832155227661, 0.0978582575917244, -0.2711097002029419, 0.04265289753675461, -0.004462145734578371, 0.15079544484615326, 0.109701968729496, -0.08870650827884674, -0.0921001210808754, -0.18521520495414734, -0.03214108198881149, -0.3852955400943756, -0.22376292943954468, -0.20764191448688507, 0.12332773208618164, 0.1838272213935852, 0.3076261579990387, 0.05937427282333374, -0.02410624735057354, -0.08525825291872025, 0.08211454004049301, 0.09535249322652817, -0.01429935172200203, 0.02371065504848957, -0.18114416301250458, 0.1068042740225792, -0.30907270312309265, 0.25698259472846985, -0.02556498348712921, 0.3498820662498474, -0.2262742966413498, 0.18248307704925537, 0.1789863407611847, 0.07640071213245392, 0.6501675844192505, -0.2841028571128845, 0.24910515546798706, -0.11450830101966858, 0.168095201253891, -0.0506257489323616, 0.01758512109518051, -0.2768585979938507, 0.37487244606018066, 0.09029016643762589, -0.08020961284637451, -0.37713149189949036, 0.07452089339494705, 0.25825878977775574, -0.006038793362677097, -0.03942770138382912, -0.2262386679649353, 0.048025015741586685, -0.3716183006763458, -0.29147112369537354, -0.009777423925697803, -0.015407170169055462, 0.006787906866520643, -0.02055577002465725, -0.17811864614486694, -0.07683736085891724, 0.10308119654655457, -0.017397575080394745, -0.06645034998655319, 0.2772519588470459, 0.13717666268348694, 0.19725795090198517, 0.20042353868484497, 0.15620796382427216, 0.4141947627067566, 0.5325681567192078, -0.10725626349449158, -0.2800750136375427, 0.14893673360347748, -0.3999333381652832, -0.13722902536392212, 0.27307865023612976, -0.08224405348300934, -0.11894858628511429, 0.17901237308979034, 0.010615818202495575, -0.013201776891946793, 0.16620688140392303, 0.3283802270889282, -0.14224524796009064, -0.24941909313201904, -0.3855094611644745, 0.11219552159309387, 0.00266366358846426, -0.09768934547901154, 0.31074509024620056, 0.0803619995713234, -0.01671072654426098, -0.16671888530254364, -0.08626911789178848, 0.8328952193260193, -0.09006401151418686, -0.038000017404556274, 0.16630911827087402, -0.27091169357299805, 0.4178835451602936, -0.22306793928146362, 0.030567022040486336, -0.2949412167072296, -0.2890263795852661, -0.08860592544078827, -0.05968404933810234, 0.09930817037820816, 0.3447778820991516, -0.1455468386411667, 0.203619122505188, -0.010416998527944088, 0.16636869311332703, 0.09580516070127487, 0.25571170449256897, -0.13329407572746277, 0.037007156759500504, -0.09905015677213669, 0.33055415749549866, -0.1239996999502182, 0.24654150009155273, -0.26480022072792053, -0.1444694548845291, -0.00538688013330102, -0.29309317469596863, -0.26810312271118164, 0.06402510404586792, -0.21869759261608124, 0.21855323016643524, -0.28170931339263916, -0.10716002434492111, 0.11675561219453812, 0.06776117533445358, 0.1505756676197052, 0.08744406700134277, -0.17794112861156464, 0.19068555533885956, -0.0796438604593277, -0.1565828174352646, -0.046838659793138504, 0.13947784900665283, 0.05821951851248741, -0.22877100110054016, -0.29056790471076965, 0.10597704350948334, 0.04833803325891495, -0.13892005383968353, 0.04261114448308945, -0.03509364649653435, 0.05232337489724159, -0.38503116369247437, -0.16715525090694427, -0.09788506478071213, 0.03913425654172897, -0.08924966305494308, 0.3186517655849457, 0.09036792069673538, 0.06566467881202698, 0.2322431206703186, 0.2292996644973755, -0.25827550888061523, -0.20533812046051025, 0.5026828646659851, -0.0777287408709526, -0.16409367322921753, 0.40280595421791077, -0.020898425951600075, -0.2805382013320923, -0.4503452181816101, -0.0983976498246193, -0.1757136881351471, -0.3938646614551544, 0.04667358845472336, -0.2731078267097473, 0.06294884532690048, -0.042717017233371735, 0.10663812607526779, 0.1697595715522766, 0.03567088767886162, 0.08124574273824692, -0.4008382260799408, -0.17033597826957703, 0.05984291434288025, 0.0021700365468859673, 0.04023166745901108, -0.020949384197592735, -0.13005314767360687, 0.24188072979450226, -0.023393677547574043, -0.5164656043052673, 0.0002854903577826917, -0.12466046214103699, -0.06637895107269287, 0.23078595101833344, 0.05474960803985596, 0.03611835464835167, -0.11375166475772858, 0.3304189443588257, 0.07804736495018005, -0.30635032057762146, -0.3875899612903595, 0.07577880471944809, 0.051951151341199875, -0.020274465903639793, -0.18616683781147003, 0.032130900770425797, -0.3787696659564972, -0.28706133365631104, 0.2555055022239685, -0.04614821821451187, 0.09981166571378708, 0.06317555904388428, -0.07903894782066345, 0.08310893177986145, 0.022083047777414322, -0.15876072645187378, 0.24382466077804565, -0.03911857679486275, 0.28588274121284485, -0.10759640485048294, 0.11769792437553406, 0.14431457221508026, -0.13322928547859192, -0.12331830710172653, -0.08032505959272385, 0.07456236332654953, 0.046996939927339554, 0.2934224009513855, -0.436249315738678, 0.07549427449703217, 0.34495627880096436, 0.23648472130298615, 0.3055921792984009, -0.15926402807235718, -0.21496252715587616, 0.17057915031909943, 0.4372198283672333, -0.3672139048576355, -0.15907570719718933, 0.1899452954530716, 0.00893692672252655, -0.09733220934867859, 0.031732507050037384, 0.09627995640039444, -0.08905204385519028, 0.06512393057346344, 0.07485383749008179, 0.4724947214126587, 0.03655891865491867, 0.0669897049665451, 0.5282633900642395, -0.1254529058933258, 0.09373266249895096, 0.12115684896707535, 0.37366369366645813, -0.14224614202976227, 0.5748319029808044, -0.10177089273929596, 0.029750827699899673, 0.04356113821268082, 0.10713957250118256, -0.05172092840075493, -0.5053877830505371, 0.19967012107372284, 0.2595705986022949, 0.0008685914217494428, 0.0422884039580822, 0.14049479365348816, 0.10434429347515106, -0.11134897917509079, -0.037653446197509766, -0.3474574685096741, 0.1427299678325653, -0.13583840429782867, 0.20158137381076813, -0.2386258989572525, -0.22396758198738098, -0.14207492768764496, 0.11956802755594254, -0.15947271883487701, -0.13095572590827942, 0.19535863399505615, 0.0450785756111145, -0.06863663345575333, -0.47956299781799316, 0.09442746639251709, 0.03679833188652992, -0.07870811969041824, -0.2718457877635956, 0.2106054276227951, 0.04138008877635002, 0.028231922537088394, 0.3948822021484375, 0.32936546206474304, 0.26295849680900574, 0.17399628460407257, 0.14068526029586792, -0.14061014354228973, 0.06407084316015244, -0.17026035487651825, -0.15063709020614624, 0.19778524339199066, 0.2557472586631775, 0.1512250453233719, 0.2916068434715271, 0.333207905292511, -0.2582114040851593, 0.06811856478452682, 0.23827573657035828, 0.05043923482298851, 0.017415286973118782, 0.11670927703380585, -0.12423070520162582, -0.042056769132614136, -0.1822703778743744, -0.12878791987895966, -0.24767304956912994, 0.017585422843694687, 0.3705590069293976, -0.11449240893125534, 0.1549232006072998, -0.19177991151809692, 0.16970887780189514, -0.192778080701828, 0.4184064567089081, 0.35875701904296875, 0.218406543135643, -0.12275736033916473, -0.2603145241737366, -0.7747611999511719, 0.20684655010700226, -0.015338566154241562, -0.04528822377324104, -0.0018129406962543726, 0.1430279165506363, 0.10220550000667572, 0.16729579865932465, 0.418694406747818, 0.10697323828935623, -0.049057308584451675, 0.1442432403564453, -0.2968001067638397, -0.18110494315624237, 0.07276264578104019, 0.14401906728744507, 0.000670773268211633, -0.3110019862651825, 0.30454015731811523, 0.002286612056195736, 0.22348171472549438, -0.1726532131433487, -0.03891448676586151, -0.17576836049556732, -0.11455667018890381, 0.42881909012794495, 0.03022371605038643, 0.5434698462486267, -0.08137165009975433, -0.14096076786518097, -0.11565929651260376, -0.1607135534286499, -0.06874587386846542, 0.31893667578697205, 0.2167215347290039, 0.10912572592496872, -0.10333923995494843, 0.20152521133422852, -0.16513153910636902, 0.1267743706703186, -0.036167263984680176, 0.3041352331638336, -0.23098960518836975, -0.019001033157110214, -0.06944795697927475, -0.01955043151974678, 0.10636837035417557, -0.08694343268871307, -0.11466249823570251, 0.020487148314714432, -0.2002692073583603, -0.20927050709724426, 0.310214102268219, 0.14071595668792725, -0.1511397361755371, -0.09656614810228348, 0.1832275241613388, 0.1522156298160553, -0.16594703495502472, -0.29543501138687134, 0.1452191323041916, 0.2825717031955719, -0.265106737613678, -0.08021803945302963, 0.14268912374973297, -0.11476913094520569, 0.10787538439035416, 0.08889681100845337, 0.520722508430481, -0.010429111309349537, -0.4564659297466278, 0.01653176359832287, -0.14271555840969086 ]
https://github.com/huggingface/datasets/issues/2076
Issue: Dataset download error
Hi @XuhuiZhou, As @lhoestq has well explained, you need to fork HF's repository, create a feature branch in your fork, push your changes to it and then open a Pull Request to HF's upstream repository. This is so because at HuggingFace Datasets we follow a development model called "Fork and Pull Model". You can find more information here: - [Understanding the GitHub flow](https://guides.github.com/introduction/flow/) - [Forking Projects](https://guides.github.com/activities/forking/) Alternatively, if you find all these steps too complicated, you can use the GitHub official command line tool: [GitHub CLI](https://cli.github.com/). Once installed, in order to create a Pull Request, you only need to use this command: ```shell gh pr create --web ``` This utility will automatically create the fork, push your changes and open a Pull Request, under the hood.
The download link in `iwslt2017.py` file does not seem to work anymore. For example, `FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnted/texts/zh/en/zh-en.tgz` Would be nice if we could modify it script and use the new downloadable link?
126
Issue: Dataset download error
[ -0.4676583707332611, 0.0751137062907219, -0.266338974237442, 0.36431920528411865, 0.22184860706329346, 0.21471622586250305, 0.036443278193473816, 0.2803308665752411, 0.009803233668208122, -0.034042730927467346, -0.008231518790125847, -0.009018635377287865, -0.01861870102584362, 0.24197953939437866, -0.13218317925930023, -0.07137833535671234, -0.07630592584609985, 0.12984684109687805, -0.28698495030403137, -0.11109558492898941, -0.13080410659313202, 0.1158761978149414, -0.10048703849315643, 0.08724386990070343, -0.09935128688812256, -0.32976898550987244, 0.020184755325317383, 0.15005044639110565, -0.4978979825973511, -0.36411252617836, 0.25470399856567383, 0.15081708133220673, 0.19434304535388947, 0.2952885925769806, -0.00009668336133472621, -0.07085355371236801, 0.2773433029651642, 0.05711490660905838, -0.3370043635368347, 0.00039817127981223166, -0.5402775406837463, -0.07693855464458466, -0.1035725474357605, -0.23372440040111542, 0.2550148665904999, -0.1405341774225235, -0.04771197587251663, -0.11371690034866333, 0.28296926617622375, 0.28107941150665283, 0.4565025866031647, 0.12823031842708588, 0.1090913638472557, -0.3120185434818268, 0.17414148151874542, 0.004085003864020109, 0.032239798456430435, 0.1254476010799408, 0.10087362676858902, 0.008943554945290089, 0.1339009404182434, 0.22448313236236572, -0.0056060729548335075, 0.1671922355890274, 0.09717350453138351, -0.12999559938907623, 0.07695963233709335, -0.21582049131393433, 0.24538040161132812, 0.09007429331541061, 0.8655695915222168, -0.09695001691579819, -0.160877525806427, 0.17361381649971008, 0.19952167570590973, -0.11970452964305878, 0.26606279611587524, 0.17879648506641388, -0.19712571799755096, 0.1760861873626709, -0.2166304737329483, -0.29221293330192566, -0.13350091874599457, 0.06785522401332855, -0.17592346668243408, 0.032407037913799286, -0.14818228781223297, -0.08480041474103928, 0.027303436771035194, -0.011603203602135181, 0.2638944983482361, -0.17857392132282257, -0.05471232905983925, -0.029885336756706238, 0.004816284403204918, 0.008015683852136135, -0.03976525738835335, 0.11610233783721924, 0.14021648466587067, -0.004502526018768549, -0.0026574793737381697, -0.07305287569761276, -0.0741330236196518, -0.021820323541760445, 0.3784479796886444, -0.0987575501203537, 0.0549941249191761, 0.12274818867444992, 0.26024749875068665, 0.043051429092884064, 0.029043694958090782, 0.12324947863817215, -0.1278848946094513, -0.06495817750692368, -0.019012853503227234, 0.0013177208602428436, 0.1963842809200287, -0.2862219512462616, -0.35436737537384033, 0.11599832773208618, 0.13563641905784607, -0.07510586082935333, -0.12397010624408722, 0.21652176976203918, -0.10896644741296768, -0.01960643008351326, 0.024418536573648453, 0.2206648290157318, -0.013537836261093616, -0.3664489686489105, -0.33234402537345886, 0.0005251237307675183, -0.12389223277568817, -0.2616540491580963, 0.20313721895217896, 0.06382991373538971, 0.12503919005393982, -0.0366717129945755, -0.2274036854505539, -0.07540909200906754, -0.030780870467424393, -0.101861372590065, -0.18917466700077057, 0.30476289987564087, 0.091558076441288, 0.26719534397125244, -0.0021345894783735275, 0.01205102913081646, 0.015732379630208015, 0.24198251962661743, -0.12905392050743103, -0.27801764011383057, -0.04951337352395058, 0.4055313467979431, 0.010981411673128605, -0.1317552775144577, -0.049496106803417206, -0.012781798839569092, -0.03131736442446709, -0.09082506597042084, -0.21476039290428162, -0.04979771003127098, -0.13124600052833557, -0.19899384677410126, 0.1225728839635849, 0.4739519953727722, -0.4267639219760895, 0.08949045836925507, -0.21790699660778046, -0.3646674156188965, 0.15167750418186188, 0.1611696034669876, -0.16826647520065308, 0.24961569905281067, -0.24272224307060242, 0.2255130410194397, 0.5363249778747559, -0.307981014251709, -0.6940828561782837, 0.31708377599716187, -0.24838081002235413, -0.33203059434890747, -0.03904348984360695, 0.11639053374528885, 0.29636767506599426, -0.0055914707481861115, 0.012360950000584126, 0.25661563873291016, -0.09512284398078918, 0.01943189650774002, -0.18435226380825043, -0.2784963846206665, -0.010029781609773636, 0.08481491357088089, 0.07708375155925751, 0.278312087059021, 0.24334251880645752, 0.019797317683696747, 0.16812042891979218, 0.19133402407169342, 0.057534005492925644, 0.32471710443496704, 0.19016779959201813, 0.03449269384145737, -0.23013803362846375, -0.11788108944892883, -0.3878341019153595, -0.06982026249170303, 0.0908256247639656, -0.007631773129105568, -0.3056265711784363, -0.017279596999287605, -0.5832180380821228, 0.035170700401067734, -0.08621709048748016, 0.16462449729442596, 0.3066355288028717, 0.07750169187784195, -0.07077312469482422, 0.038636356592178345, 0.09424985200166702, 0.34234440326690674, -0.08260102570056915, 0.06865640729665756, -0.002286595292389393, 0.25335028767585754, -0.20280660688877106, -0.06603021919727325, 0.2901844382286072, -0.1598425954580307, 0.18946588039398193, -0.08258438110351562, -0.15523852407932281, 0.2788528800010681, -0.17397810518741608, 0.0695367082953453, 0.2966834008693695, -0.08239370584487915, 0.14081832766532898, -0.21877029538154602, 0.08656837791204453, -0.11626271903514862, 0.19849199056625366, 0.0478554330766201, 0.04072171822190285, -0.11423715949058533, -0.25396373867988586, -0.1531611680984497, -0.022321047261357307, 0.13930562138557434, 0.40997833013534546, -0.06282065063714981, 0.24152059853076935, -0.27515140175819397, 0.08678120374679565, 0.10981051623821259, 0.10575294494628906, -0.07255950570106506, -0.1235760748386383, 0.03209317475557327, 0.37868112325668335, -0.010682705789804459, 0.16484442353248596, 0.011455167084932327, -0.05403592064976692, -0.0006848243065178394, 0.12444771826267242, 0.5233812928199768, 0.39405307173728943, 0.2463539093732834, 0.15524329245090485, 0.06069786846637726, 0.05891667306423187, -0.3013739287853241, 0.20545610785484314, -0.03989355266094208, 0.030789772048592567, 0.11661429703235626, -0.14549259841442108, -0.0920533835887909, -0.2643680274486542, -0.0567835196852684, 0.24945594370365143, 0.38556578755378723, -0.24292460083961487, -0.20212283730506897, -0.44654563069343567, -0.3323485553264618, -0.05976523086428642, 0.12065062671899796, -0.058751482516527176, -0.29049843549728394, 0.02109478786587715, 0.1946726143360138, -0.0764990895986557, 0.07896646112203598, -0.19269736111164093, 0.13822433352470398, 0.129150852560997, 0.056035954505205154, -0.037468068301677704, -0.11933230608701706, -0.2148485779762268, 0.2743491232395172, 0.18436838686466217, 0.148489847779274, 0.4444086253643036, -0.37394025921821594, 0.21176844835281372, -0.4926591217517853, 0.06967799365520477, 0.21960106492042542, 0.13912230730056763, 0.008993679657578468, 0.16776543855667114, 0.3385218679904938, -0.04026075080037117, -0.08410807698965073, 0.15902896225452423, -0.1347585767507553, -0.15479615330696106, 0.03356607258319855, 0.04660720005631447, -0.19433730840682983, -0.015249833464622498, -0.480089396238327, -0.31468459963798523, -0.22978946566581726, -0.05305825546383858, -0.06389298290014267, 0.1076933816075325, -0.02880253829061985, 0.14534233510494232, 0.012429901398718357, -0.07220488041639328, -0.018864957615733147, -0.32206252217292786, -0.2940511703491211, 0.3058677017688751, -0.22668969631195068, -0.4186638593673706, 0.21708272397518158, 0.1331426352262497, 0.18326377868652344, 0.384694367647171, -0.5364845991134644, 0.0037539631593972445, -0.08573814481496811, 0.22453917562961578, -0.03269560635089874, 0.07402491569519043, 0.2401699721813202, -0.0405920147895813, -0.2484225183725357, -0.14144138991832733, 0.002528808079659939, 0.2188437432050705, -0.013258326798677444, 0.32212913036346436, -0.1894744485616684, 0.3209873139858246, -0.05159947648644447, 0.5442101955413818, -0.0009053426329046488, -0.12212925404310226, 0.30295926332473755, -0.028774352744221687, 0.3147832155227661, 0.0978582575917244, -0.2711097002029419, 0.04265289753675461, -0.004462145734578371, 0.15079544484615326, 0.109701968729496, -0.08870650827884674, -0.0921001210808754, -0.18521520495414734, -0.03214108198881149, -0.3852955400943756, -0.22376292943954468, -0.20764191448688507, 0.12332773208618164, 0.1838272213935852, 0.3076261579990387, 0.05937427282333374, -0.02410624735057354, -0.08525825291872025, 0.08211454004049301, 0.09535249322652817, -0.01429935172200203, 0.02371065504848957, -0.18114416301250458, 0.1068042740225792, -0.30907270312309265, 0.25698259472846985, -0.02556498348712921, 0.3498820662498474, -0.2262742966413498, 0.18248307704925537, 0.1789863407611847, 0.07640071213245392, 0.6501675844192505, -0.2841028571128845, 0.24910515546798706, -0.11450830101966858, 0.168095201253891, -0.0506257489323616, 0.01758512109518051, -0.2768585979938507, 0.37487244606018066, 0.09029016643762589, -0.08020961284637451, -0.37713149189949036, 0.07452089339494705, 0.25825878977775574, -0.006038793362677097, -0.03942770138382912, -0.2262386679649353, 0.048025015741586685, -0.3716183006763458, -0.29147112369537354, -0.009777423925697803, -0.015407170169055462, 0.006787906866520643, -0.02055577002465725, -0.17811864614486694, -0.07683736085891724, 0.10308119654655457, -0.017397575080394745, -0.06645034998655319, 0.2772519588470459, 0.13717666268348694, 0.19725795090198517, 0.20042353868484497, 0.15620796382427216, 0.4141947627067566, 0.5325681567192078, -0.10725626349449158, -0.2800750136375427, 0.14893673360347748, -0.3999333381652832, -0.13722902536392212, 0.27307865023612976, -0.08224405348300934, -0.11894858628511429, 0.17901237308979034, 0.010615818202495575, -0.013201776891946793, 0.16620688140392303, 0.3283802270889282, -0.14224524796009064, -0.24941909313201904, -0.3855094611644745, 0.11219552159309387, 0.00266366358846426, -0.09768934547901154, 0.31074509024620056, 0.0803619995713234, -0.01671072654426098, -0.16671888530254364, -0.08626911789178848, 0.8328952193260193, -0.09006401151418686, -0.038000017404556274, 0.16630911827087402, -0.27091169357299805, 0.4178835451602936, -0.22306793928146362, 0.030567022040486336, -0.2949412167072296, -0.2890263795852661, -0.08860592544078827, -0.05968404933810234, 0.09930817037820816, 0.3447778820991516, -0.1455468386411667, 0.203619122505188, -0.010416998527944088, 0.16636869311332703, 0.09580516070127487, 0.25571170449256897, -0.13329407572746277, 0.037007156759500504, -0.09905015677213669, 0.33055415749549866, -0.1239996999502182, 0.24654150009155273, -0.26480022072792053, -0.1444694548845291, -0.00538688013330102, -0.29309317469596863, -0.26810312271118164, 0.06402510404586792, -0.21869759261608124, 0.21855323016643524, -0.28170931339263916, -0.10716002434492111, 0.11675561219453812, 0.06776117533445358, 0.1505756676197052, 0.08744406700134277, -0.17794112861156464, 0.19068555533885956, -0.0796438604593277, -0.1565828174352646, -0.046838659793138504, 0.13947784900665283, 0.05821951851248741, -0.22877100110054016, -0.29056790471076965, 0.10597704350948334, 0.04833803325891495, -0.13892005383968353, 0.04261114448308945, -0.03509364649653435, 0.05232337489724159, -0.38503116369247437, -0.16715525090694427, -0.09788506478071213, 0.03913425654172897, -0.08924966305494308, 0.3186517655849457, 0.09036792069673538, 0.06566467881202698, 0.2322431206703186, 0.2292996644973755, -0.25827550888061523, -0.20533812046051025, 0.5026828646659851, -0.0777287408709526, -0.16409367322921753, 0.40280595421791077, -0.020898425951600075, -0.2805382013320923, -0.4503452181816101, -0.0983976498246193, -0.1757136881351471, -0.3938646614551544, 0.04667358845472336, -0.2731078267097473, 0.06294884532690048, -0.042717017233371735, 0.10663812607526779, 0.1697595715522766, 0.03567088767886162, 0.08124574273824692, -0.4008382260799408, -0.17033597826957703, 0.05984291434288025, 0.0021700365468859673, 0.04023166745901108, -0.020949384197592735, -0.13005314767360687, 0.24188072979450226, -0.023393677547574043, -0.5164656043052673, 0.0002854903577826917, -0.12466046214103699, -0.06637895107269287, 0.23078595101833344, 0.05474960803985596, 0.03611835464835167, -0.11375166475772858, 0.3304189443588257, 0.07804736495018005, -0.30635032057762146, -0.3875899612903595, 0.07577880471944809, 0.051951151341199875, -0.020274465903639793, -0.18616683781147003, 0.032130900770425797, -0.3787696659564972, -0.28706133365631104, 0.2555055022239685, -0.04614821821451187, 0.09981166571378708, 0.06317555904388428, -0.07903894782066345, 0.08310893177986145, 0.022083047777414322, -0.15876072645187378, 0.24382466077804565, -0.03911857679486275, 0.28588274121284485, -0.10759640485048294, 0.11769792437553406, 0.14431457221508026, -0.13322928547859192, -0.12331830710172653, -0.08032505959272385, 0.07456236332654953, 0.046996939927339554, 0.2934224009513855, -0.436249315738678, 0.07549427449703217, 0.34495627880096436, 0.23648472130298615, 0.3055921792984009, -0.15926402807235718, -0.21496252715587616, 0.17057915031909943, 0.4372198283672333, -0.3672139048576355, -0.15907570719718933, 0.1899452954530716, 0.00893692672252655, -0.09733220934867859, 0.031732507050037384, 0.09627995640039444, -0.08905204385519028, 0.06512393057346344, 0.07485383749008179, 0.4724947214126587, 0.03655891865491867, 0.0669897049665451, 0.5282633900642395, -0.1254529058933258, 0.09373266249895096, 0.12115684896707535, 0.37366369366645813, -0.14224614202976227, 0.5748319029808044, -0.10177089273929596, 0.029750827699899673, 0.04356113821268082, 0.10713957250118256, -0.05172092840075493, -0.5053877830505371, 0.19967012107372284, 0.2595705986022949, 0.0008685914217494428, 0.0422884039580822, 0.14049479365348816, 0.10434429347515106, -0.11134897917509079, -0.037653446197509766, -0.3474574685096741, 0.1427299678325653, -0.13583840429782867, 0.20158137381076813, -0.2386258989572525, -0.22396758198738098, -0.14207492768764496, 0.11956802755594254, -0.15947271883487701, -0.13095572590827942, 0.19535863399505615, 0.0450785756111145, -0.06863663345575333, -0.47956299781799316, 0.09442746639251709, 0.03679833188652992, -0.07870811969041824, -0.2718457877635956, 0.2106054276227951, 0.04138008877635002, 0.028231922537088394, 0.3948822021484375, 0.32936546206474304, 0.26295849680900574, 0.17399628460407257, 0.14068526029586792, -0.14061014354228973, 0.06407084316015244, -0.17026035487651825, -0.15063709020614624, 0.19778524339199066, 0.2557472586631775, 0.1512250453233719, 0.2916068434715271, 0.333207905292511, -0.2582114040851593, 0.06811856478452682, 0.23827573657035828, 0.05043923482298851, 0.017415286973118782, 0.11670927703380585, -0.12423070520162582, -0.042056769132614136, -0.1822703778743744, -0.12878791987895966, -0.24767304956912994, 0.017585422843694687, 0.3705590069293976, -0.11449240893125534, 0.1549232006072998, -0.19177991151809692, 0.16970887780189514, -0.192778080701828, 0.4184064567089081, 0.35875701904296875, 0.218406543135643, -0.12275736033916473, -0.2603145241737366, -0.7747611999511719, 0.20684655010700226, -0.015338566154241562, -0.04528822377324104, -0.0018129406962543726, 0.1430279165506363, 0.10220550000667572, 0.16729579865932465, 0.418694406747818, 0.10697323828935623, -0.049057308584451675, 0.1442432403564453, -0.2968001067638397, -0.18110494315624237, 0.07276264578104019, 0.14401906728744507, 0.000670773268211633, -0.3110019862651825, 0.30454015731811523, 0.002286612056195736, 0.22348171472549438, -0.1726532131433487, -0.03891448676586151, -0.17576836049556732, -0.11455667018890381, 0.42881909012794495, 0.03022371605038643, 0.5434698462486267, -0.08137165009975433, -0.14096076786518097, -0.11565929651260376, -0.1607135534286499, -0.06874587386846542, 0.31893667578697205, 0.2167215347290039, 0.10912572592496872, -0.10333923995494843, 0.20152521133422852, -0.16513153910636902, 0.1267743706703186, -0.036167263984680176, 0.3041352331638336, -0.23098960518836975, -0.019001033157110214, -0.06944795697927475, -0.01955043151974678, 0.10636837035417557, -0.08694343268871307, -0.11466249823570251, 0.020487148314714432, -0.2002692073583603, -0.20927050709724426, 0.310214102268219, 0.14071595668792725, -0.1511397361755371, -0.09656614810228348, 0.1832275241613388, 0.1522156298160553, -0.16594703495502472, -0.29543501138687134, 0.1452191323041916, 0.2825717031955719, -0.265106737613678, -0.08021803945302963, 0.14268912374973297, -0.11476913094520569, 0.10787538439035416, 0.08889681100845337, 0.520722508430481, -0.010429111309349537, -0.4564659297466278, 0.01653176359832287, -0.14271555840969086 ]
https://github.com/huggingface/datasets/issues/2075
ConnectionError: Couldn't reach common_voice.py
Hi @LifaSun, thanks for reporting this issue. Sometimes, GitHub has some connectivity problems. Could you confirm that the problem persists?
When I run: from datasets import load_dataset, load_metric common_voice_train = load_dataset("common_voice", "zh-CN", split="train+validation") common_voice_test = load_dataset("common_voice", "zh-CN", split="test") Got: ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/master/datasets/common_voice/common_voice.py Version: 1.4.1 Thanks! @lhoestq @LysandreJik @thomwolf
20
ConnectionError: Couldn't reach common_voice.py
[ -0.26007598638534546, -0.33314818143844604, -0.07362531125545502, -0.193924218416214, 0.25373607873916626, -0.12450024485588074, 0.21516560018062592, 0.11983310431241989, -0.1618812531232834, 0.2236100286245346, -0.31002768874168396, -0.1171192079782486, -0.015854615718126297, -0.16117408871650696, 0.016640832647681236, -0.06455608457326889, -0.07438233494758606, 0.20427335798740387, 0.21683558821678162, -0.21304792165756226, -0.027401939034461975, 0.304214745759964, -0.08949572592973709, 0.5684362649917603, -0.13767889142036438, -0.1188332587480545, 0.17860659956932068, 0.26079702377319336, -0.03562832623720169, -0.2275523692369461, 0.08408194780349731, 0.08199106901884079, -0.2703756093978882, 0.4482190012931824, -0.00009921631863107905, 0.05217311158776283, 0.23599283397197723, -0.007911162450909615, 0.02075701206922531, -0.055398739874362946, 0.014673156663775444, 0.23902133107185364, -0.037280384451150894, 0.029676610603928566, -0.01920928992331028, -0.09276267886161804, 0.11910360306501389, -0.08264992386102676, 0.4174784719944, 0.361835777759552, 0.3594440519809723, -0.057697732001543045, 0.38560545444488525, 0.03375576063990593, -0.019756773486733437, -0.3699323832988739, 0.016553658992052078, 0.4643983542919159, 0.03426842391490936, -0.2495989203453064, 0.1944419890642166, 0.1885136216878891, -0.1310572624206543, -0.36353638768196106, -0.2800450026988983, -0.10401584208011627, 0.11388780921697617, -0.28439557552337646, 0.2869490683078766, 0.1499743014574051, 0.2620244026184082, -0.305949866771698, -0.0747574046254158, 0.25073274970054626, 0.06285198032855988, -0.11385363340377808, 0.14713634550571442, 0.11660288274288177, -0.4061194956302643, 0.12091144174337387, 0.052790459245443344, -0.2620757818222046, -0.08305305987596512, 0.014917699620127678, 0.01377884577959776, 0.1735474318265915, 0.015645930543541908, 0.022259771823883057, 0.10179780423641205, -0.020928727462887764, -0.17907492816448212, 0.37457311153411865, -0.034202005714178085, 0.23549097776412964, -0.21837882697582245, 0.04901522397994995, 0.14859344065189362, -0.27010682225227356, 0.13898035883903503, -0.20957842469215393, 0.2290349304676056, 0.14675289392471313, -0.09670907258987427, 0.1619812697172165, 0.11156605184078217, -0.08843453973531723, -0.12384822964668274, 0.24272465705871582, 0.3675229549407959, 0.12700025737285614, -0.014578381553292274, 0.0923280194401741, -0.2802872061729431, -0.28889861702919006, 0.22005218267440796, -0.08293211460113525, 0.20361384749412537, -0.0586780346930027, -0.07481329143047333, 0.10485897213220596, -0.05562148988246918, 0.031469911336898804, -0.005225916858762503, 0.48892804980278015, 0.012203090824186802, 0.23080460727214813, 0.15182499587535858, 0.2702997028827667, -0.23585277795791626, 0.2715303897857666, -0.18091371655464172, 0.16149450838565826, 0.04167903587222099, -0.1827193796634674, 0.047301892191171646, -0.06729178130626678, 0.24688582122325897, 0.012000507675111294, 0.2743222713470459, -0.2919037342071533, 0.004048554226756096, 0.1439601331949234, -0.4560098648071289, 0.09394389390945435, -0.21454469859600067, 0.04261253774166107, 0.29429057240486145, 0.10686288774013519, -0.10184621065855026, -0.08182113617658615, -0.13563379645347595, -0.47626253962516785, 0.11719067394733429, 0.35381224751472473, 0.3539222180843353, 0.06551678478717804, 0.38873207569122314, -0.22943343222141266, 0.22797423601150513, -0.5458718538284302, -0.02285747602581978, -0.34964877367019653, 0.03030109591782093, -0.19944918155670166, 0.3698831796646118, 0.022683724761009216, -0.14165142178535461, -0.13603520393371582, -0.03154093399643898, -0.2258414477109909, -0.028569752350449562, 0.3997560441493988, -0.022966135293245316, -0.21899515390396118, -0.06775351613759995, 0.3078215718269348, 0.2723958194255829, -0.5231777429580688, -0.3797818720340729, 0.08249744772911072, -0.14528238773345947, -0.06439436972141266, 0.05572633072733879, -0.19611099362373352, -0.18730682134628296, 0.11091462522745132, 0.48434603214263916, 0.03521634265780449, 0.05876503884792328, 0.10257288068532944, -0.041486967355012894, -0.072200708091259, 0.07015807926654816, -0.004481258802115917, 0.08990337699651718, -0.17025448381900787, -0.02127520740032196, 0.04657433182001114, 0.3172420561313629, 0.05125082656741142, -0.044435322284698486, 0.05667080730199814, 0.37659770250320435, -0.3510628640651703, 0.05917245149612427, 0.1375831961631775, 0.42449846863746643, -0.11510905623435974, -0.08013484627008438, 0.4481752812862396, -0.149214968085289, -0.0876791775226593, -0.3379499316215515, 0.10176844149827957, -0.22257007658481598, 0.07835191488265991, 0.29656466841697693, 0.09299725294113159, 0.15003609657287598, 0.07227904349565506, -0.1943330466747284, -0.032535865902900696, -0.021404774859547615, 0.05349305644631386, 0.118980273604393, 0.09959418326616287, -0.4561266601085663, -0.10445590317249298, 0.21495355665683746, 0.20586037635803223, 0.06888534873723984, 0.04754513129591942, -0.16644728183746338, 0.2773377001285553, -0.3664416968822479, 0.37247616052627563, -0.28749847412109375, 0.05968332290649414, -0.038605280220508575, -0.5024620294570923, 0.2702274024486542, 0.2955280542373657, 0.07671726495027542, -0.06648703664541245, 0.5728915333747864, 0.12269202619791031, 0.3886455297470093, 0.10598079115152359, 0.16989080607891083, -0.008844600059092045, 0.2662856876850128, 0.27586814761161804, 0.04250291362404823, 0.0926867201924324, 0.041961219161748886, -0.1850849688053131, 0.40830057859420776, -0.24685008823871613, -0.5042498111724854, -0.010757914744317532, 0.253804087638855, -0.0029867766425013542, 0.17290017008781433, -0.039171621203422546, -0.016068110242486, -0.1267693191766739, 0.11430739611387253, -0.23435132205486298, 0.07176627963781357, 0.028001392260193825, -0.18624192476272583, 0.33746209740638733, -0.15068203210830688, -0.1361875981092453, 0.16319893300533295, -0.010684237815439701, 0.05069509893655777, 0.3413236439228058, 0.02972225844860077, -0.1769234538078308, -0.23624543845653534, -0.2686696946620941, -0.36254948377609253, 0.018422931432724, -0.1879584938287735, 0.011762210167944431, 0.09236188232898712, 0.14500685036182404, 0.19581511616706848, -0.07231409102678299, -0.3186900019645691, -0.19106359779834747, 0.27845048904418945, 0.13171201944351196, 0.1670956015586853, 0.2210681140422821, -0.23950260877609253, -0.09492139518260956, 0.45310598611831665, 0.011775446124374866, -0.005868435371667147, -0.03451377525925636, -0.11560755223035812, 0.21593177318572998, -0.08599021285772324, -0.22702468931674957, -0.2048751264810562, -0.06988045573234558, -0.10275231301784515, 0.19200578331947327, -0.005442430265247822, -0.020804567262530327, -0.2016277015209198, -0.03888746351003647, 0.21631774306297302, 0.2437220811843872, 0.10717899352312088, -0.18444816768169403, 0.2856777310371399, -0.32779237627983093, -0.00021303855464793742, 0.06608577817678452, 0.06938120722770691, -0.08263394236564636, -0.09694172441959381, -0.4174165725708008, -0.47316089272499084, -0.43478649854660034, 0.26306623220443726, -0.08881684392690659, 0.18425233662128448, 0.17231808602809906, 0.0662735104560852, -0.032242268323898315, 0.004171426873654127, 0.5498104095458984, -0.05859481915831566, 0.0601741224527359, 0.0444551445543766, -0.13386034965515137, -0.10894612967967987, 0.12035953998565674, -0.18336765468120575, 0.6079257130622864, -0.32860249280929565, -0.14156164228916168, 0.07880254834890366, -0.029856344684958458, 0.028638552874326706, -0.007080758456140757, 0.14686839282512665, 0.2156381905078888, 0.2696823477745056, -0.279911607503891, 0.09223493933677673, -0.07842987775802612, -0.1560458540916443, 0.26053372025489807, 0.06441143900156021, 0.0626637190580368, 0.33308446407318115, -0.24233920872211456, 0.5166023969650269, -0.07726383209228516, 0.39742085337638855, 0.037341997027397156, -0.16806665062904358, 0.18906264007091522, -0.07169337570667267, -0.3543556034564972, 0.16142599284648895, 0.03469341993331909, -0.22630558907985687, 0.21815937757492065, 0.18744966387748718, 0.009831036441028118, -0.29740482568740845, -0.33521994948387146, -0.15194934606552124, -0.22401906549930573, -0.20236888527870178, 0.11837019771337509, 0.03645600751042366, 0.04660428687930107, 0.10478655248880386, 0.1049874946475029, 0.08534587174654007, 0.05994752421975136, 0.22464151680469513, -0.27195242047309875, 0.031858403235673904, -0.15536333620548248, -0.39770856499671936, -0.23945777118206024, 0.05798747390508652, -0.06584645062685013, 0.3044944703578949, -0.37023091316223145, -0.14970985054969788, -0.1124863401055336, -0.17803797125816345, -0.013083484023809433, 0.009986304678022861, -0.1780817210674286, 0.28324979543685913, 0.21349550783634186, 0.06811396777629852, -0.040269847959280014, 0.02840767800807953, 0.06495261937379837, 0.07428689301013947, -0.23937149345874786, -0.1625026911497116, 0.2920306921005249, -0.041980255395174026, 0.30804792046546936, 0.04627041518688202, 0.08886196464300156, -0.20948901772499084, -0.2511548399925232, -0.4567524194717407, 0.08859772980213165, -0.10829855501651764, 0.07157343626022339, -0.2711619734764099, 0.09592333436012268, 0.7090956568717957, -0.22155451774597168, 0.29270485043525696, 0.008755640126764774, -0.019978880882263184, -0.3166818916797638, 0.1471041589975357, 0.1521271914243698, 0.0647675096988678, -0.22581109404563904, 0.35788995027542114, 0.31444522738456726, -0.015099726617336273, -0.11948024481534958, 0.1573130041360855, 0.24366191029548645, 0.24488982558250427, -0.14825265109539032, 0.174210786819458, 0.18825851380825043, 0.08801533281803131, 0.3984893560409546, 0.06166376546025276, 0.3616583049297333, 0.19047744572162628, -0.34963709115982056, -0.34236931800842285, -0.04274265840649605, -0.2140951007604599, -0.15123778581619263, 0.0027977630961686373, 0.09059236943721771, -0.08454712480306625, 0.05280701071023941, -0.7215209007263184, 0.8795538544654846, 0.20001430809497833, 0.26393118500709534, 0.2902487814426422, 0.19867300987243652, -0.2693295180797577, -0.19222384691238403, 0.21310386061668396, -0.11973356455564499, 0.1186395138502121, 0.0717507153749466, -0.06675393879413605, -0.07943452149629593, -0.07000855356454849, -0.2716768980026245, 0.2792443037033081, -0.14943230152130127, -0.3557058274745941, 0.04669690132141113, 0.08750011771917343, -0.10334448516368866, 0.0815567821264267, -0.06723134219646454, 0.2678021192550659, 0.13912731409072876, 0.3920153081417084, 0.009963233023881912, 0.09777644276618958, -0.10169751197099686, -0.5088603496551514, -0.08710220456123352, 0.34256166219711304, -0.03388836607336998, 0.10719428211450577, 0.200778067111969, 0.052003420889377594, 0.04375351965427399, -0.10151087492704391, -0.1488010287284851, 0.5577656030654907, -0.13035179674625397, 0.08980225026607513, 0.36227288842201233, -0.22342684864997864, 0.1356334239244461, 0.2262919396162033, 0.07164942473173141, -0.0948094055056572, -0.5375967025756836, 0.4918416738510132, -0.03981268033385277, -0.20995770394802094, -0.2917223870754242, -0.09535304456949234, 0.23459556698799133, -0.16529510915279388, 0.027620332315564156, -0.22457338869571686, -0.17426003515720367, -0.18326766788959503, 0.2539651691913605, 0.22184114158153534, -0.22135698795318604, -0.008990292437374592, 0.032944124191999435, 0.001223881496116519, -0.11588331311941147, 0.11409203708171844, 0.10047882050275803, -0.36404502391815186, 0.6461927890777588, 0.06357932835817337, -0.0629052221775055, -0.3360510468482971, -0.292013019323349, 0.09673424065113068, -0.07588591426610947, 0.05220526456832886, 0.1404798924922943, -0.28589221835136414, -0.01023019477725029, 0.3211241364479065, 0.06852137297391891, 0.24224966764450073, 0.02342389151453972, -0.24175602197647095, -0.46182480454444885, 0.21994420886039734, 0.21933263540267944, 0.07591879367828369, 0.0012594334548339248, -0.0023596351966261864, 0.10133572667837143, -0.11290016770362854, -0.4306156635284424, -0.3141787648200989, -0.23730894923210144, -0.09894581139087677, 0.276603639125824, -0.35085687041282654, 0.18690907955169678, 0.19167044758796692, 0.4604496955871582, -0.07833416014909744, -0.06870867311954498, -0.30747103691101074, 0.05818896368145943, 0.06024741008877754, 0.12399047613143921, -0.3289022445678711, 0.2844916582107544, 0.043443553149700165, -0.1736677587032318, 0.06237628683447838, 0.027650343254208565, 0.026074765250086784, -0.018803294748067856, -0.1075425073504448, -0.32004514336586, -0.18700383603572845, 0.22478172183036804, 0.09769285470247269, -0.12773464620113373, 0.1988467425107956, -0.13613009452819824, 0.0934704840183258, -0.07923813909292221, -0.28348788619041443, 0.011683971621096134, 0.12752120196819305, 0.01623312570154667, -0.002973521128296852, 0.3007323145866394, -0.27661848068237305, -0.237130805850029, -0.11447939276695251, 0.6295092701911926, 0.09728766977787018, -0.35210785269737244, 0.22273454070091248, 0.10589635372161865, 0.2832111120223999, -0.2718340754508972, 0.017415538430213928, -0.1181056797504425, -0.21896669268608093, 0.1757545918226242, 0.06209765747189522, -0.04472770914435387, -0.38002848625183105, 0.11717542260885239, 0.04738733544945717, 0.08117960393428802, -0.3424384295940399, 0.042796164751052856, -0.02159118838608265, -0.24580460786819458, 0.012046203948557377, 0.1943766176700592, 0.01571366935968399, 0.16351532936096191, 0.36955174803733826, -0.5232409834861755, -0.16031891107559204, 0.10289192944765091, -0.07039327919483185, 0.20487728714942932, -0.17012612521648407, -0.023283284157514572, -0.21222059428691864, -0.12770314514636993, -0.07182005792856216, -0.16555601358413696, 0.494953989982605, -0.29085075855255127, 0.22147317230701447, -0.09555380791425705, 0.177398219704628, -0.15123116970062256, -0.15304532647132874, 0.23759566247463226, -0.21914726495742798, -0.13305208086967468, -0.22073805332183838, 0.15878605842590332, 0.0695560947060585, 0.09013812988996506, -0.01968453824520111, 0.13777019083499908, -0.07567199319601059, 0.0016490514390170574, 0.016804078593850136, 0.026455936953425407, -0.10232695192098618, 0.1696465015411377, 0.1767389327287674, -0.02654104493558407, 0.23407596349716187, 0.14058028161525726, 0.5639548897743225, 0.19776998460292816, -0.023394625633955002, 0.3185747563838959, -0.021528545767068863, -0.1032472550868988, 0.1550481617450714, 0.009385792538523674, 0.31844741106033325, 0.37538331747055054, 0.046252310276031494, 0.2608112096786499, -0.31893250346183777, -0.012504278682172298, 0.017296573147177696, 0.13216859102249146, -0.03440465033054352, 0.11132057011127472, -0.27330195903778076, -0.32678282260894775, -0.4932572841644287, 0.13761800527572632, -0.5799873471260071, -0.07938101142644882, 0.40969613194465637, 0.2723223567008972, 0.040331993252038956, -0.5538439750671387, 0.1603405475616455, -0.023559143766760826, -0.015527812764048576, 0.30398574471473694, 0.2887762188911438, 0.09301646798849106, 0.1194031611084938, -0.22863560914993286, 0.40468427538871765, 0.010805263184010983, -0.23499691486358643, -0.37153875827789307, -0.12938310205936432, 0.25415027141571045, -0.07051112502813339, 0.26146772503852844, -0.06654934585094452, -0.4011971652507782, -0.3004501760005951, 0.10657786577939987, -0.16981689631938934, 0.08297493308782578, 0.043077707290649414, 0.07636859267950058, -0.3074241876602173, 0.1360515058040619, -0.42707952857017517, 0.2556532919406891, -0.007325830869376659, -0.059763483703136444, -0.0813981145620346, -0.09599003940820694, 0.12723805010318756, 0.11281811445951462, 0.4670919179916382, -0.20012806355953217, -0.06788582354784012, -0.060635972768068314, -0.3166685700416565, -0.06817124783992767, -0.041944749653339386, -0.00938620138913393, 0.34713366627693176, 0.0785762220621109, 0.1274973750114441, -0.29293301701545715, -0.05749836564064026, 0.09132954478263855, -0.22797946631908417, 0.13204769790172577, 0.20518851280212402, -0.03130330145359039, 0.011680823750793934, 0.03173285722732544, -0.11409571021795273, -0.03446369990706444, -0.0963975191116333, -0.1645524501800537, -0.4521620273590088, 0.3722253441810608, 0.052524346858263016, -0.3169844448566437, -0.28443625569343567, 0.3687440752983093, -0.3543447256088257, 0.04269726201891899, -0.03675484284758568, 0.1995818316936493, 0.12405528873205185, 0.025046177208423615, -0.23640839755535126, -0.13760881125926971, -0.13419489562511444, -0.14887304604053497, 0.05480209365487099, 0.26151183247566223, -0.01779518462717533, -0.041304249316453934, -0.006864963099360466, -0.04527409374713898 ]
https://github.com/huggingface/datasets/issues/2070
ArrowInvalid issue for squad v2 dataset
Hi ! This error happens when you use `map` in batched mode and then your function doesn't return the same number of values per column. Indeed since you're using `map` in batched mode, `prepare_validation_features` must take a batch as input (i.e. a dictionary of multiple rows of the dataset), and return a batch. However it seems like `tokenized_examples` doesn't have the same number of elements in each field. One field seems to have `1180` elements while `candidate_attention_mask` only has `1178`.
Hello, I am using the huggingface official question answering example notebook (https://colab.research.google.com/github/huggingface/notebooks/blob/master/examples/question_answering.ipynb). In the prepare_validation_features function, I made some modifications to tokenize a new set of quesions with the original contexts and save them in three different list called candidate_input_dis, candidate_attetion_mask and candidate_token_type_ids. When I try to run the next cell for dataset.map, I got the following error: `ArrowInvalid: Column 1 named candidate_attention_mask expected length 1180 but got length 1178` My code is as follows: ``` def generate_candidate_questions(examples): val_questions = examples["question"] candididate_questions = random.sample(datasets["train"]["question"], len(val_questions)) candididate_questions = [x[:max_length] for x in candididate_questions] return candididate_questions def prepare_validation_features(examples, use_mixing=False): pad_on_right = tokenizer.padding_side == "right" tokenized_examples = tokenizer( examples["question" if pad_on_right else "context"], examples["context" if pad_on_right else "question"], truncation="only_second" if pad_on_right else "only_first", max_length=max_length, stride=doc_stride, return_overflowing_tokens=True, return_offsets_mapping=True, padding="max_length", ) if use_mixing: candidate_questions = generate_candidate_questions(examples) tokenized_candidates = tokenizer( candidate_questions if pad_on_right else examples["context"], examples["context"] if pad_on_right else candidate_questions, truncation="only_second" if pad_on_right else "only_first", max_length=max_length, stride=doc_stride, return_overflowing_tokens=True, return_offsets_mapping=True, padding="max_length", ) sample_mapping = tokenized_examples.pop("overflow_to_sample_mapping") tokenized_examples["example_id"] = [] if use_mixing: tokenized_examples["candidate_input_ids"] = tokenized_candidates["input_ids"] tokenized_examples["candidate_attention_mask"] = tokenized_candidates["attention_mask"] tokenized_examples["candidate_token_type_ids"] = tokenized_candidates["token_type_ids"] for i in range(len(tokenized_examples["input_ids"])): sequence_ids = tokenized_examples.sequence_ids(i) context_index = 1 if pad_on_right else 0 sample_index = sample_mapping[i] tokenized_examples["example_id"].append(examples["id"][sample_index]) tokenized_examples["offset_mapping"][i] = [ (o if sequence_ids[k] == context_index else None) for k, o in enumerate(tokenized_examples["offset_mapping"][i]) ] return tokenized_examples validation_features = datasets["validation"].map( lambda xs: prepare_validation_features(xs, True), batched=True, remove_columns=datasets["validation"].column_names ) ``` I guess this might happen because of the batched=True. I see similar issues in this repo related to arrow table length mismatch error, but in their cases, the numbers vary a lot. In my case, this error always happens when the expected length and unexpected length are very close. Thanks for the help!
80
ArrowInvalid issue for squad v2 dataset
[ -0.015228143893182278, -0.15468809008598328, -0.1413259506225586, 0.1479606181383133, 0.0831298753619194, -0.07218055427074432, 0.18831098079681396, 0.2513907253742218, -0.48402005434036255, 0.12778198719024658, -0.15471452474594116, 0.6543686389923096, 0.23959092795848846, -0.33937036991119385, -0.22739306092262268, 0.2383960485458374, -0.18591880798339844, 0.12188249081373215, 0.011744863353669643, -0.25501978397369385, -0.017458105459809303, 0.11321312934160233, -0.3619304895401001, 0.13100454211235046, -0.24882248044013977, -0.15302836894989014, 0.4076678156852722, 0.1931479424238205, -0.15976129472255707, -0.5991430878639221, 0.19869518280029297, -0.29925549030303955, 0.11160670965909958, 0.07922032475471497, -0.0001146926442743279, 0.1138014942407608, 0.36457404494285583, 0.01876850612461567, -0.26795074343681335, 0.43959248065948486, -0.10088541358709335, -0.07868130505084991, 0.23821382224559784, -0.12399249523878098, 0.16051261126995087, -0.07092517614364624, -0.1763153374195099, -0.38600078225135803, 0.3953234553337097, -0.025368213653564453, 0.20218923687934875, 0.13833345472812653, 0.029600566253066063, 0.019959596917033195, 0.08301272988319397, -0.023278482258319855, -0.1779640018939972, -0.14988510310649872, 0.2917327582836151, 0.09486342966556549, -0.041112806648015976, 0.42659005522727966, 0.33757689595222473, 0.34182336926460266, 0.05871991813182831, -0.06697604060173035, -0.09875987470149994, -0.08396004140377045, 0.19667181372642517, 0.017609888687729836, 0.260709673166275, -0.15848137438297272, -0.2913532853126526, 0.15489740669727325, 0.19917869567871094, 0.2736380398273468, 0.16989697515964508, 0.029818221926689148, 0.15753237903118134, 0.1313076764345169, 0.23892278969287872, 0.16568921506404877, -0.34555584192276, -0.0218084417283535, 0.11259933561086655, 0.297151654958725, 0.05907280743122101, 0.2105940580368042, -0.10977572947740555, -0.13560885190963745, -0.04224671050906181, 0.4436101019382477, -0.2646971344947815, 0.05502500385046005, -0.3727969229221344, -0.12935037910938263, -0.2540724277496338, -0.22025266289710999, -0.04767485335469246, -0.11108903586864471, 0.38966816663742065, 0.25272226333618164, 0.3363921046257019, 0.01480057928711176, 0.1528007537126541, -0.26215311884880066, 0.45443469285964966, 0.477150559425354, 0.30864831805229187, -0.4994257688522339, -0.021839218214154243, 0.15212805569171906, -0.10402622073888779, -0.4588271677494049, 0.3225781321525574, 0.07694318890571594, 0.1976609230041504, -0.17442066967487335, -0.31220635771751404, 0.0800526812672615, -0.4547777473926544, -0.006441372912377119, -0.061200231313705444, 0.14191314578056335, 0.206990048289299, -0.01452271081507206, -0.0909503623843193, 0.18699762225151062, -0.0661059319972992, -0.43789899349212646, -0.1543310135602951, -0.1335800141096115, -0.06219901889562607, -0.10562050342559814, 0.21155519783496857, 0.07938629388809204, 0.11525861918926239, -0.006741646211594343, 0.04561825096607208, -0.048370059579610825, 0.34342271089553833, 0.05514124780893326, 0.24768565595149994, -0.05288291350007057, 0.05801933631300926, 0.19166754186153412, -0.12553569674491882, -0.17586421966552734, 0.10398799926042557, -0.008598977699875832, -0.17159150540828705, -0.081825852394104, -0.31333765387535095, 0.21232321858406067, 0.11972714960575104, -0.19388027489185333, 0.4305439591407776, -0.11467844247817993, 0.011109145358204842, -0.17783287167549133, 0.26350805163383484, -0.03655034676194191, 0.3160543739795685, -0.04983477666974068, -0.17253640294075012, 0.044072963297367096, -0.7845944762229919, -0.12056922167539597, 0.4611756205558777, -0.09108099341392517, -0.12348524481058121, 0.24708381295204163, -0.30413830280303955, -0.2389710694551468, 0.09853790700435638, 0.17699122428894043, 0.5282767415046692, -0.7226925492286682, -0.5468959212303162, 0.005950722377747297, -0.05164942517876625, -0.6246241927146912, 0.1540553718805313, 0.10871457308530807, 0.34824106097221375, 0.07186737656593323, -0.09980476647615433, 0.03791916370391846, 0.15278083086013794, 0.1428806036710739, -0.19746266305446625, -0.14983060956001282, -0.1289106160402298, 0.12942995131015778, -0.07961217314004898, -0.15415769815444946, 0.29318684339523315, -0.05456259101629257, 0.004442875739187002, -0.0687638372182846, 0.37651240825653076, 0.3338392674922943, 0.3039756715297699, -0.1984398066997528, 0.3391551673412323, 0.1493319422006607, -0.5561638474464417, -0.09135425090789795, -0.20926198363304138, -0.0770266205072403, -0.17005346715450287, -0.247882679104805, -0.2984717786312103, 0.07068641483783722, -0.20532141625881195, 0.15281210839748383, 0.13417035341262817, 0.04310380667448044, -0.11119852215051651, -0.4866510331630707, -0.31827807426452637, -0.04258616268634796, -0.17248430848121643, 0.14963890612125397, 0.20533674955368042, 0.31390389800071716, -0.02949804998934269, -0.3524058759212494, 0.15992626547813416, 0.08520117402076721, 0.21549655497074127, -0.11139543354511261, 0.031013373285531998, 0.23976439237594604, 0.009573087096214294, 0.12209360301494598, 0.4339412450790405, -0.18918143212795258, 0.24131934344768524, -0.5018917918205261, 0.06242559105157852, 0.16016417741775513, 0.1606678068637848, 0.1303386390209198, -0.36876437067985535, 0.20073288679122925, -0.019203312695026398, 0.1745692640542984, -0.280198872089386, -0.03323596343398094, 0.333322137594223, 0.012373443692922592, -0.3076592683792114, -0.1608559489250183, -0.4368075430393219, -0.032087329775094986, 0.526157557964325, -0.05655854195356369, -0.12819185853004456, 0.20472635328769684, 0.21897050738334656, 0.2309197187423706, 0.09851545095443726, -0.050436779856681824, -0.08059312403202057, 0.18102774024009705, 0.13344301283359528, 0.1236751452088356, 0.05667846277356148, 0.24873490631580353, 0.04110417887568474, -0.29101109504699707, -0.06395556777715683, -0.19459311664104462, 0.04536065086722374, -0.0026820700149983168, 0.26991111040115356, 0.2498343288898468, 0.37762734293937683, -0.030907711014151573, -0.1985613852739334, 0.15467026829719543, 0.17384518682956696, 0.15173497796058655, -0.35582438111305237, -0.08470679819583893, -0.22779585421085358, 0.21589627861976624, -0.04240523651242256, -0.08791965991258621, -0.014657986350357533, -0.08094070851802826, 0.04755544662475586, -0.16174323856830597, -0.030547065660357475, 0.34716665744781494, 0.006854725070297718, 0.308187872171402, 0.4583137631416321, 0.04580608010292053, 0.1261572241783142, -0.1303958296775818, -0.12487488240003586, 0.06972149759531021, 0.03603513538837433, -0.021462371572852135, -0.07791067659854889, 0.3591437339782715, 0.11732166260480881, -0.285679429769516, -0.2692529559135437, 0.24463418126106262, 0.2575804591178894, -0.1468881368637085, 0.06375410407781601, 0.05943666771054268, -0.2837253212928772, -0.1645248681306839, 0.15456900000572205, -0.15587300062179565, -0.21117064356803894, -0.08434975892305374, -0.4429425895214081, -0.21758636832237244, -0.10881229490041733, -0.439665287733078, -0.11311309039592743, -0.10583145171403885, 0.022138558328151703, 0.07986605912446976, -0.15321974456310272, 0.02036692574620247, 0.1022215262055397, 0.12318799644708633, 0.01100195199251175, -0.029235953465104103, -0.21288646757602692, 0.21300414204597473, 0.4470658302307129, -0.19253486394882202, -0.17019623517990112, 0.1593482345342636, -0.10826759785413742, 0.1777697652578354, 0.10845915973186493, 0.027744175866246223, -0.17513325810432434, -0.017456378787755966, 0.09591314196586609, -0.26097622513771057, 0.24018080532550812, 0.2865391671657562, -0.11432389169931412, -0.030831560492515564, -0.232512429356575, -0.33895835280418396, 0.466836154460907, 0.01882471889257431, 0.13961008191108704, -0.3278592824935913, 0.23857533931732178, -0.07099949568510056, 0.7848299741744995, 0.0405011810362339, -0.19923780858516693, -0.0545613057911396, -0.10373958200216293, 0.03740789741277695, 0.07635422796010971, 0.0948527380824089, 0.10652409493923187, 0.21386456489562988, 0.10867675393819809, 0.005628697108477354, 0.007495804224163294, -0.638846755027771, 0.24150227010250092, 0.3034664988517761, -0.33539053797721863, -0.06296605616807938, -0.14368528127670288, 0.3923964202404022, -0.17289556562900543, 0.24390974640846252, 0.17337357997894287, -0.20936574041843414, 0.019573181867599487, 0.038322582840919495, -0.35859414935112, 0.08697345107793808, -0.07946263253688812, -0.44261425733566284, -0.00099208764731884, 0.2668127119541168, 0.2108023762702942, 0.06777210533618927, 0.43284478783607483, 0.18767733871936798, -0.41552743315696716, 0.1884351223707199, -0.1007285937666893, 0.3816315233707428, -0.12987269461154938, 0.10239619761705399, -0.13001005351543427, 0.15341441333293915, -0.4966060221195221, -0.07872942835092545, -0.09505195915699005, 0.49249595403671265, 0.41201916337013245, -0.00177838618401438, -0.16427400708198547, -0.052949197590351105, 0.3092116713523865, -0.428711861371994, 0.04460231587290764, 0.0032189616467803717, -0.15412980318069458, 0.13431786000728607, -0.2964708209037781, 0.039334870874881744, 0.08877643942832947, -0.20489273965358734, 0.4459083676338196, -0.2889406383037567, -0.22489891946315765, -0.27001458406448364, -0.09834103286266327, 0.3365246653556824, 0.38448566198349, 0.2560259699821472, 0.020795458927750587, 0.4817621111869812, 0.3221076726913452, 0.0017399077769368887, 0.1612551510334015, 0.0603368878364563, -0.35170066356658936, 0.3933836817741394, -0.5086582899093628, 0.284454345703125, 0.486011266708374, 0.14390186965465546, 0.006311601959168911, -0.23613838851451874, -0.2595374286174774, 0.27754512429237366, -0.14696930348873138, 0.06634657829999924, 0.008940981701016426, 0.27988365292549133, 0.2178625911474228, 0.2810947895050049, -0.18893416225910187, -0.11648058891296387, 0.5269972085952759, 0.49083083868026733, 0.02159065194427967, 0.021837683394551277, 0.3244723975658417, 0.6964711546897888, 0.46861979365348816, -0.052510034292936325, 0.22968772053718567, -0.3264240026473999, -0.06601963192224503, 0.09888813644647598, -0.03823414817452431, -0.5515268445014954, 0.251901239156723, 0.09545013308525085, -0.1847265213727951, -0.15079531073570251, 0.1663307249546051, -0.05248396471142769, -0.16380901634693146, -0.09925476461648941, 0.31830894947052, -0.1649477183818817, 0.015504918061196804, -0.004589072894304991, -0.2671966254711151, -0.13468961417675018, 0.14596915245056152, -0.042634543031454086, -0.11278318613767624, -0.1150755062699318, -0.1319671869277954, -0.33692625164985657, -0.12389583140611649, 0.17679688334465027, -0.06044267863035202, -0.2841225564479828, 0.29594871401786804, 0.5101065039634705, -0.16033492982387543, -0.004594367928802967, 0.10996320843696594, 0.3323391377925873, -0.3074660003185272, 0.0006455954280681908, 0.33978021144866943, 0.31610381603240967, 0.014208992943167686, -0.13605305552482605, 0.12746046483516693, -0.04769648239016533, -0.1839028298854828, -0.33896932005882263, 0.20928029716014862, 0.07938037812709808, -0.4928494393825531, 0.08772826194763184, 0.3044973611831665, -0.10149901360273361, -0.060617391020059586, 0.014344828203320503, 0.0572611428797245, -0.1902315616607666, -0.028377007693052292, 0.15380118787288666, -0.02828560769557953, -0.023723240941762924, 0.08625026792287827, 0.6702098250389099, -0.2644769847393036, 0.15226677060127258, 0.41064003109931946, -0.24446402490139008, 0.117695651948452, 0.49826863408088684, -0.15131992101669312, -0.16430166363716125, -0.3487507700920105, 0.3261806070804596, 0.18992532789707184, -0.30577412247657776, -0.1218772828578949, -0.41208648681640625, -0.3695085346698761, 0.15488788485527039, 0.1401100754737854, 0.14355748891830444, 0.3334147334098816, -0.3567483127117157, -0.06751681864261627, -0.26378369331359863, 0.13635267317295074, -0.1433655321598053, -0.0017089301254600286, -0.22151878476142883, -0.20601293444633484, -0.014572069980204105, -0.041330788284540176, -0.3373301029205322, 0.09766623377799988, 0.06719619780778885, -0.018612079322338104, -0.2865505516529083, -0.12099022418260574, -0.09303842484951019, -0.18352273106575012, 0.0690087378025055, 0.19758060574531555, -0.030559450387954712, -0.23498107492923737, -0.062819704413414, 0.12198526412248611, -0.013132291845977306, 0.14473411440849304, -0.3057565987110138, -0.16605743765830994, -0.37318387627601624, 0.2525605261325836, -0.043266650289297104, -0.022256793454289436, 0.16334614157676697, 0.14293263852596283, -0.0016140929656103253, -0.38129982352256775, -0.07436680048704147, -0.2138424813747406, 0.36858704686164856, -0.02486412599682808, 0.04763331264257431, 0.20003144443035126, -0.1820206195116043, 0.08023782819509506, 0.1272173672914505, 0.2380780130624771, -0.03183072432875633, 0.3693751394748688, -0.01465810090303421, -0.48849278688430786, -0.10215461254119873, 0.3585016429424286, -0.10710703581571579, 0.2770691215991974, -0.26297295093536377, -0.18615232408046722, -0.19295020401477814, 0.2512752413749695, -0.11496219038963318, 0.10930262506008148, 0.18035414814949036, -0.06756006926298141, 0.11269988864660263, 0.14684583246707916, 0.04250346124172211, -0.10590330511331558, 0.2208053469657898, 0.2671506702899933, 0.284519225358963, -0.45813262462615967, -0.1553124487400055, 0.007139364257454872, -0.23944850265979767, -0.09593263268470764, 0.5461627840995789, -0.0626077875494957, 0.1732778251171112, 0.05613507330417633, -0.01855543442070484, 0.1193646490573883, 0.2675950825214386, 0.1548001915216446, 0.1459657996892929, 0.29258790612220764, -0.30971282720565796, 0.15032720565795898, 0.14096273481845856, -0.30650731921195984, 0.5759519338607788, 0.6149958372116089, 0.05864211916923523, -0.6741935610771179, -0.13162362575531006, -0.31909704208374023, -0.14887923002243042, -0.028649866580963135, -0.9052322506904602, -0.19636604189872742, -0.10605497658252716, -0.04026389494538307, -0.2419659048318863, 0.3292374312877655, 0.23742805421352386, 0.06571020931005478, 0.117251917719841, -0.2535039782524109, 0.18970780074596405, 0.22162221372127533, 0.1908263862133026, -0.044069062918424606, 0.14149408042430878, -0.11394359916448593, 0.015571062453091145, 0.23711669445037842, 0.25705674290657043, 0.030735118314623833, -0.037262070924043655, -0.018434124067425728, -0.31317389011383057, 0.029063569381833076, -0.26975423097610474, -0.04099540784955025, 0.10887240618467331, 0.19725261628627777, -0.3695831000804901, 0.15406474471092224, 0.1575605720281601, -0.13485853374004364, 0.005289055872708559, 0.22744448482990265, 0.07896340638399124, 0.1884368658065796, -0.30614715814590454, -0.2736992835998535, -0.1681230217218399, 0.00327013386413455, -0.21302920579910278, -0.08199716359376907, 0.07158615440130234, 0.010501357726752758, -0.05057264864444733, 0.020463863387703896, -0.09133829176425934, 0.0935654565691948, -0.04448208212852478, 0.4432814121246338, -0.013856970705091953, -0.26965218782424927, 0.23451372981071472, -0.037042006850242615, -0.42604419589042664, 0.21145392954349518, 0.03368126600980759, 0.12470969557762146, 0.11667409539222717, 0.6503884196281433, 0.32004809379577637, 0.24390630424022675, 0.5597527623176575, -0.08476143330335617, 0.044711884111166, -0.09117536246776581, -0.5161969065666199, 0.0765804871916771, 0.313228964805603, 0.07508554309606552, 0.07485878467559814, -0.2975657284259796, 0.09214755892753601, 0.33273178339004517, 0.11825966835021973, 0.009990941733121872, -0.4777721166610718, -0.20821447670459747, -0.26504719257354736, 0.31306639313697815, -0.23908202350139618, 0.20050685107707977, -0.005459285341203213, 0.013069786131381989, -0.11706211417913437, -0.4288555681705475, -0.11142557114362717, 0.1966167837381363, 0.07798109203577042, 0.41871213912963867, 0.0335410051047802, 0.13447381556034088, 0.05297322943806648, 0.00558386230841279, -0.13483695685863495, 0.07673993706703186, -0.18136364221572876, 0.29314133524894714, -0.2005557417869568, 0.07948342710733414, -0.44351625442504883, -0.02443847618997097, 0.06895078718662262, 0.06617207825183868, -0.159297376871109, -0.3235415518283844, 0.3723364770412445, -0.16350124776363373, -0.222335085272789, 0.1463867425918579, 0.26842305064201355, 0.7889924645423889, 0.11789955943822861, -0.18799090385437012, 0.014231362380087376, 0.1826002150774002, -0.3103361129760742, -0.16891814768314362, -0.017708726227283478, 0.0738324299454689, 0.1582377403974533, -0.08575718849897385, 0.13311658799648285, 0.2889670133590698, 0.18473713099956512, -0.30777156352996826, -0.06947806477546692 ]
https://github.com/huggingface/datasets/issues/2068
PyTorch not available error on SageMaker GPU docker though it is installed
Hey @sivakhno, how does your `requirements.txt` look like to install the `datasets` library and which version of it are you running? Can you try to install `datasets>=1.4.0`
I get en error when running data loading using SageMaker SDK ``` File "main.py", line 34, in <module> run_training() File "main.py", line 25, in run_training dm.setup('fit') File "/opt/conda/lib/python3.6/site-packages/pytorch_lightning/core/datamodule.py", line 92, in wrapped_fn return fn(*args, **kwargs) File "/opt/ml/code/data_module.py", line 103, in setup self.dataset[split].set_format(type="torch", columns=self.columns) File "/opt/conda/lib/python3.6/site-packages/datasets/fingerprint.py", line 337, in wrapper out = func(self, *args, **kwargs) File "/opt/conda/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 995, in set_format _ = get_formatter(type, **format_kwargs) File "/opt/conda/lib/python3.6/site-packages/datasets/formatting/__init__.py", line 114, in get_formatter raise _FORMAT_TYPES_ALIASES_UNAVAILABLE[format_type] ValueError: PyTorch needs to be installed to be able to return PyTorch tensors. ``` when trying to execute dataset loading using this notebook https://github.com/PyTorchLightning/pytorch-lightning/blob/master/notebooks/04-transformers-text-classification.ipynb, specifically lines ``` self.columns = [c for c in self.dataset[split].column_names if c in self.loader_columns] self.dataset[split].set_format(type="torch", columns=self.columns) ``` The SageMaker docker image used is 763104351884.dkr.ecr.eu-central-1.amazonaws.com/pytorch-training:1.4.0-gpu-py3 . By running container interactively I have checked that torch loading completes successfully by executing `https://github.com/huggingface/datasets/blob/master/src/datasets/config.py#L39`. Also as a first line in the data loading module I have ``` import os os.environ["USE_TF"] = "0" os.environ["USE_TORCH"] = "1" ```` But unfortunately the error stills persists. Any suggestions would be appreciated as I am stack. Many Thanks!
27
PyTorch not available error on SageMaker GPU docker though it is installed
[ -0.2730225622653961, -0.12165607511997223, -0.12411712855100632, -0.14499209821224213, 0.14568638801574707, -0.06740928441286087, 0.3162088394165039, 0.2052198350429535, 0.4958428740501404, 0.33664536476135254, 0.007071818690747023, 0.3529796302318573, -0.07115771621465683, 0.21433699131011963, 0.18981945514678955, -0.15409786999225616, -0.047025710344314575, 0.19435426592826843, -0.06883828341960907, 0.005863054655492306, 0.2831686735153198, 0.06782032549381256, -0.26066315174102783, 0.27317196130752563, -0.3253849744796753, -0.1395479440689087, 0.38792696595191956, -0.07405214756727219, 0.02113141492009163, -0.2711009383201599, 0.11667376011610031, 0.043141815811395645, -0.009916760958731174, 0.5043232440948486, -0.00010741711594164371, 0.34360745549201965, 0.053655799478292465, 0.05029401555657387, 0.004789076279848814, -0.31608060002326965, 0.39262548089027405, 0.01566910929977894, 0.10934943705797195, -0.05747758224606514, -0.4063539206981659, -0.6010891795158386, -0.08216679841279984, -0.08494115620851517, 0.13906167447566986, 0.43247294425964355, 0.19850629568099976, 0.30035415291786194, 0.2789793908596039, -0.1922798454761505, 0.10013244301080704, -0.41192758083343506, -0.18697527050971985, 0.10948298126459122, 0.10432809591293335, -0.052256640046834946, -0.20756317675113678, 0.4095941483974457, 0.13994912803173065, 0.11250863969326019, 0.1261938214302063, -0.10978688299655914, 0.19757282733917236, -0.27418485283851624, 0.13883905112743378, -0.22652274370193481, -0.057994190603494644, -0.1353815644979477, -0.08056946098804474, -0.05278943106532097, 0.17215734720230103, -0.14372766017913818, 0.275947630405426, 0.02114439569413662, -0.2862076759338379, -0.24327796697616577, 0.13791894912719727, -0.4072542190551758, -0.360872358083725, -0.1935577243566513, -0.12523330748081207, 0.7777139544487, 0.08129233121871948, 0.3458366096019745, -0.04000895097851753, 0.13221853971481323, 0.08952941000461578, 0.2892746031284332, 0.03399161249399185, -0.23941932618618011, -0.22039559483528137, 0.12669432163238525, 0.12569668889045715, -0.39283522963523865, -0.23701810836791992, 0.3977648615837097, 0.04469628259539604, 0.15285274386405945, 0.4887981116771698, 0.18080094456672668, -0.22530913352966309, 0.018144557252526283, -0.23315511643886566, 0.18716256320476532, 0.5156018733978271, 0.26110926270484924, -0.07963711768388748, -0.008327159099280834, -0.1347990185022354, -0.3181106448173523, 0.0967692881822586, 0.03970175236463547, 0.15007026493549347, -0.13995563983917236, -0.021987605839967728, -0.07683683186769485, -0.29218199849128723, 0.12999962270259857, 0.24202339351177216, 0.37507081031799316, -0.275036096572876, -0.07665630429983139, 0.3159846365451813, 0.021694140508770943, -0.14633330702781677, 0.25807732343673706, -0.08870867639780045, 0.4429442584514618, -0.21020694077014923, -0.2955787181854248, 0.19340191781520844, -0.25959986448287964, 0.30912819504737854, -0.07469169795513153, 0.5503382682800293, 0.0006857356638647616, 0.18209484219551086, 0.13893455266952515, -0.00751635804772377, 0.48232612013816833, 0.20204859972000122, -0.1475510448217392, -0.07362669706344604, 0.02567778155207634, 0.08080580085515976, 0.09142021834850311, -0.01863236352801323, -0.24239282310009003, -0.0071719130501151085, 0.27715545892715454, 0.1393604725599289, -0.09634532779455185, 0.3481357991695404, -0.33010590076446533, 0.05296916142106056, -0.24464720487594604, -0.15016235411167145, -0.5084778666496277, 0.0024933507665991783, 0.043586306273937225, 0.30059996247291565, -0.21127639710903168, -0.26365137100219727, -0.17404524981975555, 0.26978906989097595, -0.11322519928216934, 0.0668935552239418, 0.16825023293495178, -0.179756298661232, 0.2720068097114563, -0.17877906560897827, -0.005270230118185282, 0.27910470962524414, -0.15362395346164703, -0.2808228135108948, -0.23429854214191437, -0.16042162477970123, -0.22779659926891327, 0.2012239247560501, -0.009574606083333492, 0.15266206860542297, 0.2994244396686554, 0.17795823514461517, 0.02788558229804039, 0.08040261268615723, -0.11891908198595047, 0.038785334676504135, -0.028134094551205635, 0.001115810708142817, 0.13977749645709991, 0.6981489062309265, 0.0016582236858084798, -0.24687941372394562, -0.11119918525218964, -0.014563493430614471, -0.22134700417518616, -0.0717424750328064, 0.02326979860663414, 0.43633538484573364, 0.11655309051275253, 0.1959475427865982, -0.16145429015159607, 0.011681721545755863, 0.3458293080329895, -0.5078358054161072, 0.3487514853477478, -0.2913147807121277, 0.29136398434638977, 0.06737011671066284, 0.3662557005882263, -0.2584214210510254, -0.13862992823123932, 0.2049241065979004, 0.4859277904033661, 0.24685761332511902, -0.040227096527814865, -0.13674932718276978, -0.018390605226159096, -0.06495351344347, 0.16355015337467194, 0.30625832080841064, 0.057110391557216644, -0.3921356499195099, -0.40343403816223145, 0.041244667023420334, -0.10657785087823868, 0.14585436880588531, -0.14868669211864471, -0.00007100586663000286, -0.0804537758231163, 0.058402303606271744, -0.20836441218852997, -0.31783610582351685, -0.10856486111879349, 0.2033728063106537, 0.036508750170469284, 0.04472009465098381, 0.33959338068962097, -0.04748528450727463, 0.15628686547279358, 0.032126061618328094, 0.049286726862192154, 0.2863070070743561, 0.22317931056022644, 0.07533782720565796, 0.15771454572677612, 0.46275660395622253, 0.11658713966608047, 0.027379218488931656, 0.18206460773944855, 0.193640798330307, -0.3415287435054779, 0.2625357210636139, -0.48952576518058777, -0.1839471161365509, 0.015344693325459957, -0.04786522686481476, 0.1906111240386963, 0.13031037151813507, -0.15743911266326904, -0.10077811777591705, 0.059720370918512344, 0.2114950716495514, 0.046254925429821014, -0.20185615122318268, 0.14914318919181824, -0.0707174763083458, -0.08634382486343384, -0.4909646809101105, -0.26671066880226135, -0.09529472887516022, 0.09137521684169769, 0.018338210880756378, 0.5370651483535767, 0.005418453365564346, -0.26510074734687805, -0.29993757605552673, -0.18222616612911224, -0.05208376422524452, 0.05216822028160095, -0.021735720336437225, 0.08115927875041962, 0.11016013473272324, -0.1898544281721115, 0.12728489935398102, 0.2763916254043579, -0.16609296202659607, -0.05093840882182121, 0.09274900704622269, 0.44661134481430054, -0.03556821495294571, 0.4931887090206146, 0.18435698747634888, 0.10628150403499603, 0.025523526594042778, -0.11566302925348282, 0.11448357254266739, -0.14962412416934967, -0.07458555698394775, 0.1701616793870926, -0.24891260266304016, -0.15134760737419128, 0.520200252532959, -0.0053166612051427364, 0.09045589715242386, -0.4850507974624634, -0.4492514431476593, 0.26738667488098145, 0.05889356881380081, 0.12154021859169006, 0.08451426774263382, -0.16984841227531433, 0.31975284218788147, 0.03360752761363983, 0.24629561603069305, -0.5876530408859253, 0.060433559119701385, -0.25471872091293335, -0.26611095666885376, -0.16616398096084595, -0.20039324462413788, -0.2338411808013916, 0.03483986482024193, -0.22983117401599884, 0.009208825416862965, 0.27088063955307007, 0.01145720761269331, -0.08823730051517487, 0.01674029603600502, 0.2651362717151642, 0.08426554501056671, 0.3492415249347687, 0.03173455968499184, 0.08118079602718353, 0.15073536336421967, -0.0747266411781311, -0.4173998236656189, 0.36684921383857727, -0.02480282075703144, 0.37739479541778564, 0.17183558642864227, -0.27895238995552063, -0.15891456604003906, -0.10705629736185074, -0.0026072263717651367, -0.17605696618556976, -0.19012869894504547, 0.4202006161212921, 0.07012990117073059, -0.12704646587371826, -0.069765105843544, -0.42024803161621094, 0.14249658584594727, -0.04490656033158302, 0.07381399720907211, 0.05752754583954811, 0.2369057685136795, -0.04320256784558296, 0.5788870453834534, -0.4404696226119995, 0.0622379407286644, -0.02398901991546154, -0.1922803819179535, 0.2509963810443878, -0.014515546150505543, -0.18476749956607819, 0.12182242423295975, -0.01329666655510664, -0.2052493840456009, -0.33459150791168213, -0.1716456413269043, -0.04069647192955017, -0.1780676543712616, 0.0830763652920723, 0.24301475286483765, -0.05703885853290558, 0.09623271971940994, 0.09465466439723969, 0.13021314144134521, 0.015643641352653503, 0.2532142102718353, -0.018238743767142296, 0.14977934956550598, 0.1484779268503189, 0.21438702940940857, 0.2650221586227417, -0.06086110696196556, -0.37263140082359314, -0.29904478788375854, -0.2865055501461029, 0.015445363707840443, 0.05243457853794098, 0.21770881116390228, -0.3258932828903198, -0.01943906396627426, 0.25909969210624695, -0.25831952691078186, 0.17820358276367188, 0.13072340190410614, 0.010316007770597935, 0.26046162843704224, -0.5258432626724243, -0.019305795431137085, -0.33778706192970276, -0.2477860450744629, 0.24374574422836304, -0.15306556224822998, 0.01622794382274151, -0.019951092079281807, -0.02185632660984993, 0.33154428005218506, -0.11485467106103897, -0.2986767292022705, 0.08833756297826767, -0.322806179523468, -0.058840107172727585, -0.31180182099342346, 0.0852029025554657, -0.07515934854745865, 0.054428309202194214, 0.1131569966673851, 0.17158187925815582, -0.02338176965713501, -0.25625744462013245, -0.30086061358451843, 0.23796337842941284, 0.19069965183734894, -0.25750407576560974, 0.025232980027794838, 0.09191747009754181, 0.41070646047592163, -0.18345840275287628, -0.09333344548940659, 0.08005788177251816, -0.3800347149372101, 0.24320299923419952, 0.1545613408088684, 0.04455637186765671, 0.13850897550582886, -0.37958186864852905, 0.13136827945709229, -0.09989985078573227, 0.3822357654571533, -0.17316965758800507, 0.30212530493736267, 0.38939693570137024, 0.043328020721673965, -0.09190460294485092, -0.2867850065231323, -0.244464710354805, 0.029705526307225227, 0.0483442060649395, 0.13256040215492249, 0.04548213258385658, -0.14167191088199615, -0.05863385647535324, 0.2005847841501236, 0.4027474820613861, -0.046236857771873474, 0.10636863857507706, 0.4776463806629181, -0.26192474365234375, 0.6472675800323486, -0.03084452450275421, 0.5763959288597107, -0.20904698967933655, 0.14339962601661682, 0.06570960581302643, -0.32181987166404724, 0.06362998485565186, -0.3341076672077179, 0.09222396463155746, 0.3172977566719055, 0.10367412120103836, 0.14548690617084503, 0.04662381485104561, 0.28415632247924805, 0.06601761281490326, -0.18177030980587006, 0.2729818522930145, 0.14228570461273193, -0.34663885831832886, 0.43233242630958557, -0.07864212989807129, 0.15563157200813293, 0.2485341578722, -0.07523097097873688, -0.32464444637298584, 0.14718057215213776, -0.08607853949069977, 0.35636961460113525, -0.16671817004680634, -0.5023226141929626, -0.08195214718580246, -0.30743786692619324, -0.10094744712114334, 0.090489462018013, 0.011049386113882065, 0.32569292187690735, -0.34459197521209717, -0.3702066242694855, -0.1033223494887352, 0.309333860874176, 0.22207213938236237, -0.3223639726638794, -0.37274983525276184, 0.209584042429924, -0.07077306509017944, -0.4473761022090912, -0.21956738829612732, 0.20483516156673431, 0.2953055799007416, 0.34974443912506104, 0.1201995313167572, -0.10631731897592545, -0.17081883549690247, -0.2031245082616806, 0.2115982472896576, 0.00004623845234164037, -0.146879643201828, -0.090634286403656, 0.04466537758708, -0.09984815120697021, -0.10390965640544891, 0.2588491439819336, 0.21758191287517548, -0.13913601636886597, 0.5386074185371399, 0.2928157150745392, -0.1965785026550293, -0.25825393199920654, -0.629716694355011, 0.05604531988501549, -0.22260385751724243, 0.202249214053154, -0.09790198504924774, -0.27073344588279724, -0.14005930721759796, -0.029542777687311172, 0.30555543303489685, -0.16146953403949738, -0.3075045645236969, -0.20375771820545197, -0.24837177991867065, -0.1156897097826004, 0.020104628056287766, 0.11283234506845474, 0.2643568813800812, 0.18023476004600525, 0.20480121672153473, -0.2014104276895523, -0.3268894851207733, -0.14795435965061188, -0.21167172491550446, -0.12756898999214172, -0.11518273502588272, -0.13962982594966888, 0.1291898638010025, 0.07441524416208267, 0.12939657270908356, -0.008593528531491756, -0.07639005035161972, -0.1910766363143921, -0.12793445587158203, 0.018369123339653015, 0.03605125844478607, -0.06266915053129196, -0.04419447109103203, -0.3655136227607727, -0.22686263918876648, 0.25896620750427246, 0.30697113275527954, 0.17201527953147888, -0.0797349140048027, 0.06535357236862183, -0.09986439347267151, -0.0891781896352768, -0.05756115913391113, 0.1345006823539734, 0.055308997631073, -0.010713061317801476, 0.19757337868213654, 0.03857125714421272, 0.0010082798544317484, 0.14632761478424072, 0.07053479552268982, -0.007379758637398481, -0.3218889832496643, 0.18941502273082733, 0.20138148963451385, -0.4122897684574127, 0.07330621778964996, -0.2549475133419037, 0.4338189661502838, 0.25028857588768005, 0.01873396523296833, 0.1308121532201767, 0.08314352482557297, 0.19215869903564453, -0.35686635971069336, -0.09069914370775223, -0.33161118626594543, -0.143087700009346, 0.29022496938705444, 0.0032677100971341133, -0.009226901456713676, 0.1683819442987442, 0.29112371802330017, 0.3789033889770508, 0.07106439769268036, -0.2634505331516266, -0.006082229316234589, -0.1092504933476448, -0.23078016936779022, 0.19263263046741486, 0.22986140847206116, 0.14630793035030365, -0.008313490077853203, 0.24764691293239594, 0.00682602496817708, 0.19041934609413147, -0.00743141071870923, 0.03941958025097847, 0.3454985022544861, 0.07696323096752167, -0.11339232325553894, 0.010443612933158875, -0.019389478489756584, -0.15792760252952576, -0.11823337525129318, 0.10891828685998917, -0.4401642382144928, -0.1374039649963379, -0.2669175863265991, -0.10701911896467209, -0.363400936126709, 0.054064828902482986, -0.20942895114421844, -0.02773808129131794, 0.11014916747808456, 0.22230422496795654, 0.39486458897590637, 0.21313630044460297, -0.5140151381492615, -0.06628702580928802, -0.3645690679550171, 0.19603125751018524, -0.3688778281211853, 0.0820373073220253, -0.04219288006424904, 0.03557542338967323, 0.034266337752342224, 0.3473925292491913, -0.16972124576568604, -0.1724976897239685, 0.08916117250919342, 0.44871118664741516, -0.02804122120141983, -0.07894366979598999, -0.025305403396487236, -0.04383004084229469, 0.039119504392147064, -0.13605979084968567, 0.20745915174484253, 0.1369474083185196, -0.05810852348804474, 0.04759829118847847, 0.20652835071086884, -0.24407564103603363, 0.2343093752861023, 0.09122509509325027, 0.12319932132959366, 0.14348392188549042, 0.31167587637901306, -0.04099327698349953, -0.1525244414806366, -0.09233622997999191, -0.11486795544624329, -0.30505311489105225, -0.05416823551058769, 0.3277946710586548, 0.08043532818555832, -0.22144350409507751, -0.23856116831302643, 0.1367712765932083, 0.03791657090187073, 0.4800138473510742, 0.10564400255680084, -0.006942179519683123, 0.06932175904512405, 0.11168507486581802, -0.16256709396839142, 0.3345179259777069, -0.14539967477321625, -0.03246969357132912, -0.15215466916561127, 0.12199845910072327, -0.07375440001487732, -0.18280872702598572, 0.49632880091667175, 0.016218626871705055, 0.16119377315044403, -0.38333582878112793, -0.20364245772361755, -0.028256917372345924, 0.21713072061538696, -0.0496835894882679, 0.2826994061470032, -0.18409594893455505, 0.1009766012430191, -0.011653660796582699, 0.1756584197282791, -0.09551307559013367, 0.024927010759711266, 0.14219850301742554, -0.3091459572315216, 0.2696951925754547, -0.17365610599517822, 0.5738282203674316, 0.015742190182209015, -0.14563599228858948, -0.10406646877527237, -0.20610086619853973, -0.274303674697876, 0.1466791182756424, 0.13824383914470673, 0.4732000231742859, 0.15104034543037415, -0.2587415277957916, -0.39756864309310913, 0.38674724102020264, 0.03553131967782974, -0.4918835461139679, -0.025812344625592232, 0.2805521786212921, -0.038742829114198685, 0.16018135845661163, 0.2561129629611969, 0.06926131993532181, 0.23034323751926422, -0.3721751570701599, -0.38099029660224915, -0.12368287146091461, 0.47374528646469116, 0.03309142217040062, -0.33550915122032166, -0.2796778380870819, 0.17264966666698456, -0.17060604691505432, 0.07998838275671005, -0.1982639729976654, 0.024861877784132957, -0.15994668006896973, 0.014111771248281002, -0.057508405297994614, 0.12618388235569, 0.08302967250347137, -0.0625075027346611, -0.03719668090343475, 0.2025630623102188, 0.06814349442720413, -0.09785586595535278, -0.20594769716262817, -0.16014830768108368 ]
https://github.com/huggingface/datasets/issues/2068
PyTorch not available error on SageMaker GPU docker though it is installed
Hi @philschmid - thanks for suggestion. I am using `datasets==1.4.1`. I have also tried using `torch=1.6.0` (docker `763104351884.dkr.ecr.eu-central-1.amazonaws.com/pytorch-training:1.6.0-gpu-py3 `), but the error is the same.
I get en error when running data loading using SageMaker SDK ``` File "main.py", line 34, in <module> run_training() File "main.py", line 25, in run_training dm.setup('fit') File "/opt/conda/lib/python3.6/site-packages/pytorch_lightning/core/datamodule.py", line 92, in wrapped_fn return fn(*args, **kwargs) File "/opt/ml/code/data_module.py", line 103, in setup self.dataset[split].set_format(type="torch", columns=self.columns) File "/opt/conda/lib/python3.6/site-packages/datasets/fingerprint.py", line 337, in wrapper out = func(self, *args, **kwargs) File "/opt/conda/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 995, in set_format _ = get_formatter(type, **format_kwargs) File "/opt/conda/lib/python3.6/site-packages/datasets/formatting/__init__.py", line 114, in get_formatter raise _FORMAT_TYPES_ALIASES_UNAVAILABLE[format_type] ValueError: PyTorch needs to be installed to be able to return PyTorch tensors. ``` when trying to execute dataset loading using this notebook https://github.com/PyTorchLightning/pytorch-lightning/blob/master/notebooks/04-transformers-text-classification.ipynb, specifically lines ``` self.columns = [c for c in self.dataset[split].column_names if c in self.loader_columns] self.dataset[split].set_format(type="torch", columns=self.columns) ``` The SageMaker docker image used is 763104351884.dkr.ecr.eu-central-1.amazonaws.com/pytorch-training:1.4.0-gpu-py3 . By running container interactively I have checked that torch loading completes successfully by executing `https://github.com/huggingface/datasets/blob/master/src/datasets/config.py#L39`. Also as a first line in the data loading module I have ``` import os os.environ["USE_TF"] = "0" os.environ["USE_TORCH"] = "1" ```` But unfortunately the error stills persists. Any suggestions would be appreciated as I am stack. Many Thanks!
25
PyTorch not available error on SageMaker GPU docker though it is installed
[ -0.2730225622653961, -0.12165607511997223, -0.12411712855100632, -0.14499209821224213, 0.14568638801574707, -0.06740928441286087, 0.3162088394165039, 0.2052198350429535, 0.4958428740501404, 0.33664536476135254, 0.007071818690747023, 0.3529796302318573, -0.07115771621465683, 0.21433699131011963, 0.18981945514678955, -0.15409786999225616, -0.047025710344314575, 0.19435426592826843, -0.06883828341960907, 0.005863054655492306, 0.2831686735153198, 0.06782032549381256, -0.26066315174102783, 0.27317196130752563, -0.3253849744796753, -0.1395479440689087, 0.38792696595191956, -0.07405214756727219, 0.02113141492009163, -0.2711009383201599, 0.11667376011610031, 0.043141815811395645, -0.009916760958731174, 0.5043232440948486, -0.00010741711594164371, 0.34360745549201965, 0.053655799478292465, 0.05029401555657387, 0.004789076279848814, -0.31608060002326965, 0.39262548089027405, 0.01566910929977894, 0.10934943705797195, -0.05747758224606514, -0.4063539206981659, -0.6010891795158386, -0.08216679841279984, -0.08494115620851517, 0.13906167447566986, 0.43247294425964355, 0.19850629568099976, 0.30035415291786194, 0.2789793908596039, -0.1922798454761505, 0.10013244301080704, -0.41192758083343506, -0.18697527050971985, 0.10948298126459122, 0.10432809591293335, -0.052256640046834946, -0.20756317675113678, 0.4095941483974457, 0.13994912803173065, 0.11250863969326019, 0.1261938214302063, -0.10978688299655914, 0.19757282733917236, -0.27418485283851624, 0.13883905112743378, -0.22652274370193481, -0.057994190603494644, -0.1353815644979477, -0.08056946098804474, -0.05278943106532097, 0.17215734720230103, -0.14372766017913818, 0.275947630405426, 0.02114439569413662, -0.2862076759338379, -0.24327796697616577, 0.13791894912719727, -0.4072542190551758, -0.360872358083725, -0.1935577243566513, -0.12523330748081207, 0.7777139544487, 0.08129233121871948, 0.3458366096019745, -0.04000895097851753, 0.13221853971481323, 0.08952941000461578, 0.2892746031284332, 0.03399161249399185, -0.23941932618618011, -0.22039559483528137, 0.12669432163238525, 0.12569668889045715, -0.39283522963523865, -0.23701810836791992, 0.3977648615837097, 0.04469628259539604, 0.15285274386405945, 0.4887981116771698, 0.18080094456672668, -0.22530913352966309, 0.018144557252526283, -0.23315511643886566, 0.18716256320476532, 0.5156018733978271, 0.26110926270484924, -0.07963711768388748, -0.008327159099280834, -0.1347990185022354, -0.3181106448173523, 0.0967692881822586, 0.03970175236463547, 0.15007026493549347, -0.13995563983917236, -0.021987605839967728, -0.07683683186769485, -0.29218199849128723, 0.12999962270259857, 0.24202339351177216, 0.37507081031799316, -0.275036096572876, -0.07665630429983139, 0.3159846365451813, 0.021694140508770943, -0.14633330702781677, 0.25807732343673706, -0.08870867639780045, 0.4429442584514618, -0.21020694077014923, -0.2955787181854248, 0.19340191781520844, -0.25959986448287964, 0.30912819504737854, -0.07469169795513153, 0.5503382682800293, 0.0006857356638647616, 0.18209484219551086, 0.13893455266952515, -0.00751635804772377, 0.48232612013816833, 0.20204859972000122, -0.1475510448217392, -0.07362669706344604, 0.02567778155207634, 0.08080580085515976, 0.09142021834850311, -0.01863236352801323, -0.24239282310009003, -0.0071719130501151085, 0.27715545892715454, 0.1393604725599289, -0.09634532779455185, 0.3481357991695404, -0.33010590076446533, 0.05296916142106056, -0.24464720487594604, -0.15016235411167145, -0.5084778666496277, 0.0024933507665991783, 0.043586306273937225, 0.30059996247291565, -0.21127639710903168, -0.26365137100219727, -0.17404524981975555, 0.26978906989097595, -0.11322519928216934, 0.0668935552239418, 0.16825023293495178, -0.179756298661232, 0.2720068097114563, -0.17877906560897827, -0.005270230118185282, 0.27910470962524414, -0.15362395346164703, -0.2808228135108948, -0.23429854214191437, -0.16042162477970123, -0.22779659926891327, 0.2012239247560501, -0.009574606083333492, 0.15266206860542297, 0.2994244396686554, 0.17795823514461517, 0.02788558229804039, 0.08040261268615723, -0.11891908198595047, 0.038785334676504135, -0.028134094551205635, 0.001115810708142817, 0.13977749645709991, 0.6981489062309265, 0.0016582236858084798, -0.24687941372394562, -0.11119918525218964, -0.014563493430614471, -0.22134700417518616, -0.0717424750328064, 0.02326979860663414, 0.43633538484573364, 0.11655309051275253, 0.1959475427865982, -0.16145429015159607, 0.011681721545755863, 0.3458293080329895, -0.5078358054161072, 0.3487514853477478, -0.2913147807121277, 0.29136398434638977, 0.06737011671066284, 0.3662557005882263, -0.2584214210510254, -0.13862992823123932, 0.2049241065979004, 0.4859277904033661, 0.24685761332511902, -0.040227096527814865, -0.13674932718276978, -0.018390605226159096, -0.06495351344347, 0.16355015337467194, 0.30625832080841064, 0.057110391557216644, -0.3921356499195099, -0.40343403816223145, 0.041244667023420334, -0.10657785087823868, 0.14585436880588531, -0.14868669211864471, -0.00007100586663000286, -0.0804537758231163, 0.058402303606271744, -0.20836441218852997, -0.31783610582351685, -0.10856486111879349, 0.2033728063106537, 0.036508750170469284, 0.04472009465098381, 0.33959338068962097, -0.04748528450727463, 0.15628686547279358, 0.032126061618328094, 0.049286726862192154, 0.2863070070743561, 0.22317931056022644, 0.07533782720565796, 0.15771454572677612, 0.46275660395622253, 0.11658713966608047, 0.027379218488931656, 0.18206460773944855, 0.193640798330307, -0.3415287435054779, 0.2625357210636139, -0.48952576518058777, -0.1839471161365509, 0.015344693325459957, -0.04786522686481476, 0.1906111240386963, 0.13031037151813507, -0.15743911266326904, -0.10077811777591705, 0.059720370918512344, 0.2114950716495514, 0.046254925429821014, -0.20185615122318268, 0.14914318919181824, -0.0707174763083458, -0.08634382486343384, -0.4909646809101105, -0.26671066880226135, -0.09529472887516022, 0.09137521684169769, 0.018338210880756378, 0.5370651483535767, 0.005418453365564346, -0.26510074734687805, -0.29993757605552673, -0.18222616612911224, -0.05208376422524452, 0.05216822028160095, -0.021735720336437225, 0.08115927875041962, 0.11016013473272324, -0.1898544281721115, 0.12728489935398102, 0.2763916254043579, -0.16609296202659607, -0.05093840882182121, 0.09274900704622269, 0.44661134481430054, -0.03556821495294571, 0.4931887090206146, 0.18435698747634888, 0.10628150403499603, 0.025523526594042778, -0.11566302925348282, 0.11448357254266739, -0.14962412416934967, -0.07458555698394775, 0.1701616793870926, -0.24891260266304016, -0.15134760737419128, 0.520200252532959, -0.0053166612051427364, 0.09045589715242386, -0.4850507974624634, -0.4492514431476593, 0.26738667488098145, 0.05889356881380081, 0.12154021859169006, 0.08451426774263382, -0.16984841227531433, 0.31975284218788147, 0.03360752761363983, 0.24629561603069305, -0.5876530408859253, 0.060433559119701385, -0.25471872091293335, -0.26611095666885376, -0.16616398096084595, -0.20039324462413788, -0.2338411808013916, 0.03483986482024193, -0.22983117401599884, 0.009208825416862965, 0.27088063955307007, 0.01145720761269331, -0.08823730051517487, 0.01674029603600502, 0.2651362717151642, 0.08426554501056671, 0.3492415249347687, 0.03173455968499184, 0.08118079602718353, 0.15073536336421967, -0.0747266411781311, -0.4173998236656189, 0.36684921383857727, -0.02480282075703144, 0.37739479541778564, 0.17183558642864227, -0.27895238995552063, -0.15891456604003906, -0.10705629736185074, -0.0026072263717651367, -0.17605696618556976, -0.19012869894504547, 0.4202006161212921, 0.07012990117073059, -0.12704646587371826, -0.069765105843544, -0.42024803161621094, 0.14249658584594727, -0.04490656033158302, 0.07381399720907211, 0.05752754583954811, 0.2369057685136795, -0.04320256784558296, 0.5788870453834534, -0.4404696226119995, 0.0622379407286644, -0.02398901991546154, -0.1922803819179535, 0.2509963810443878, -0.014515546150505543, -0.18476749956607819, 0.12182242423295975, -0.01329666655510664, -0.2052493840456009, -0.33459150791168213, -0.1716456413269043, -0.04069647192955017, -0.1780676543712616, 0.0830763652920723, 0.24301475286483765, -0.05703885853290558, 0.09623271971940994, 0.09465466439723969, 0.13021314144134521, 0.015643641352653503, 0.2532142102718353, -0.018238743767142296, 0.14977934956550598, 0.1484779268503189, 0.21438702940940857, 0.2650221586227417, -0.06086110696196556, -0.37263140082359314, -0.29904478788375854, -0.2865055501461029, 0.015445363707840443, 0.05243457853794098, 0.21770881116390228, -0.3258932828903198, -0.01943906396627426, 0.25909969210624695, -0.25831952691078186, 0.17820358276367188, 0.13072340190410614, 0.010316007770597935, 0.26046162843704224, -0.5258432626724243, -0.019305795431137085, -0.33778706192970276, -0.2477860450744629, 0.24374574422836304, -0.15306556224822998, 0.01622794382274151, -0.019951092079281807, -0.02185632660984993, 0.33154428005218506, -0.11485467106103897, -0.2986767292022705, 0.08833756297826767, -0.322806179523468, -0.058840107172727585, -0.31180182099342346, 0.0852029025554657, -0.07515934854745865, 0.054428309202194214, 0.1131569966673851, 0.17158187925815582, -0.02338176965713501, -0.25625744462013245, -0.30086061358451843, 0.23796337842941284, 0.19069965183734894, -0.25750407576560974, 0.025232980027794838, 0.09191747009754181, 0.41070646047592163, -0.18345840275287628, -0.09333344548940659, 0.08005788177251816, -0.3800347149372101, 0.24320299923419952, 0.1545613408088684, 0.04455637186765671, 0.13850897550582886, -0.37958186864852905, 0.13136827945709229, -0.09989985078573227, 0.3822357654571533, -0.17316965758800507, 0.30212530493736267, 0.38939693570137024, 0.043328020721673965, -0.09190460294485092, -0.2867850065231323, -0.244464710354805, 0.029705526307225227, 0.0483442060649395, 0.13256040215492249, 0.04548213258385658, -0.14167191088199615, -0.05863385647535324, 0.2005847841501236, 0.4027474820613861, -0.046236857771873474, 0.10636863857507706, 0.4776463806629181, -0.26192474365234375, 0.6472675800323486, -0.03084452450275421, 0.5763959288597107, -0.20904698967933655, 0.14339962601661682, 0.06570960581302643, -0.32181987166404724, 0.06362998485565186, -0.3341076672077179, 0.09222396463155746, 0.3172977566719055, 0.10367412120103836, 0.14548690617084503, 0.04662381485104561, 0.28415632247924805, 0.06601761281490326, -0.18177030980587006, 0.2729818522930145, 0.14228570461273193, -0.34663885831832886, 0.43233242630958557, -0.07864212989807129, 0.15563157200813293, 0.2485341578722, -0.07523097097873688, -0.32464444637298584, 0.14718057215213776, -0.08607853949069977, 0.35636961460113525, -0.16671817004680634, -0.5023226141929626, -0.08195214718580246, -0.30743786692619324, -0.10094744712114334, 0.090489462018013, 0.011049386113882065, 0.32569292187690735, -0.34459197521209717, -0.3702066242694855, -0.1033223494887352, 0.309333860874176, 0.22207213938236237, -0.3223639726638794, -0.37274983525276184, 0.209584042429924, -0.07077306509017944, -0.4473761022090912, -0.21956738829612732, 0.20483516156673431, 0.2953055799007416, 0.34974443912506104, 0.1201995313167572, -0.10631731897592545, -0.17081883549690247, -0.2031245082616806, 0.2115982472896576, 0.00004623845234164037, -0.146879643201828, -0.090634286403656, 0.04466537758708, -0.09984815120697021, -0.10390965640544891, 0.2588491439819336, 0.21758191287517548, -0.13913601636886597, 0.5386074185371399, 0.2928157150745392, -0.1965785026550293, -0.25825393199920654, -0.629716694355011, 0.05604531988501549, -0.22260385751724243, 0.202249214053154, -0.09790198504924774, -0.27073344588279724, -0.14005930721759796, -0.029542777687311172, 0.30555543303489685, -0.16146953403949738, -0.3075045645236969, -0.20375771820545197, -0.24837177991867065, -0.1156897097826004, 0.020104628056287766, 0.11283234506845474, 0.2643568813800812, 0.18023476004600525, 0.20480121672153473, -0.2014104276895523, -0.3268894851207733, -0.14795435965061188, -0.21167172491550446, -0.12756898999214172, -0.11518273502588272, -0.13962982594966888, 0.1291898638010025, 0.07441524416208267, 0.12939657270908356, -0.008593528531491756, -0.07639005035161972, -0.1910766363143921, -0.12793445587158203, 0.018369123339653015, 0.03605125844478607, -0.06266915053129196, -0.04419447109103203, -0.3655136227607727, -0.22686263918876648, 0.25896620750427246, 0.30697113275527954, 0.17201527953147888, -0.0797349140048027, 0.06535357236862183, -0.09986439347267151, -0.0891781896352768, -0.05756115913391113, 0.1345006823539734, 0.055308997631073, -0.010713061317801476, 0.19757337868213654, 0.03857125714421272, 0.0010082798544317484, 0.14632761478424072, 0.07053479552268982, -0.007379758637398481, -0.3218889832496643, 0.18941502273082733, 0.20138148963451385, -0.4122897684574127, 0.07330621778964996, -0.2549475133419037, 0.4338189661502838, 0.25028857588768005, 0.01873396523296833, 0.1308121532201767, 0.08314352482557297, 0.19215869903564453, -0.35686635971069336, -0.09069914370775223, -0.33161118626594543, -0.143087700009346, 0.29022496938705444, 0.0032677100971341133, -0.009226901456713676, 0.1683819442987442, 0.29112371802330017, 0.3789033889770508, 0.07106439769268036, -0.2634505331516266, -0.006082229316234589, -0.1092504933476448, -0.23078016936779022, 0.19263263046741486, 0.22986140847206116, 0.14630793035030365, -0.008313490077853203, 0.24764691293239594, 0.00682602496817708, 0.19041934609413147, -0.00743141071870923, 0.03941958025097847, 0.3454985022544861, 0.07696323096752167, -0.11339232325553894, 0.010443612933158875, -0.019389478489756584, -0.15792760252952576, -0.11823337525129318, 0.10891828685998917, -0.4401642382144928, -0.1374039649963379, -0.2669175863265991, -0.10701911896467209, -0.363400936126709, 0.054064828902482986, -0.20942895114421844, -0.02773808129131794, 0.11014916747808456, 0.22230422496795654, 0.39486458897590637, 0.21313630044460297, -0.5140151381492615, -0.06628702580928802, -0.3645690679550171, 0.19603125751018524, -0.3688778281211853, 0.0820373073220253, -0.04219288006424904, 0.03557542338967323, 0.034266337752342224, 0.3473925292491913, -0.16972124576568604, -0.1724976897239685, 0.08916117250919342, 0.44871118664741516, -0.02804122120141983, -0.07894366979598999, -0.025305403396487236, -0.04383004084229469, 0.039119504392147064, -0.13605979084968567, 0.20745915174484253, 0.1369474083185196, -0.05810852348804474, 0.04759829118847847, 0.20652835071086884, -0.24407564103603363, 0.2343093752861023, 0.09122509509325027, 0.12319932132959366, 0.14348392188549042, 0.31167587637901306, -0.04099327698349953, -0.1525244414806366, -0.09233622997999191, -0.11486795544624329, -0.30505311489105225, -0.05416823551058769, 0.3277946710586548, 0.08043532818555832, -0.22144350409507751, -0.23856116831302643, 0.1367712765932083, 0.03791657090187073, 0.4800138473510742, 0.10564400255680084, -0.006942179519683123, 0.06932175904512405, 0.11168507486581802, -0.16256709396839142, 0.3345179259777069, -0.14539967477321625, -0.03246969357132912, -0.15215466916561127, 0.12199845910072327, -0.07375440001487732, -0.18280872702598572, 0.49632880091667175, 0.016218626871705055, 0.16119377315044403, -0.38333582878112793, -0.20364245772361755, -0.028256917372345924, 0.21713072061538696, -0.0496835894882679, 0.2826994061470032, -0.18409594893455505, 0.1009766012430191, -0.011653660796582699, 0.1756584197282791, -0.09551307559013367, 0.024927010759711266, 0.14219850301742554, -0.3091459572315216, 0.2696951925754547, -0.17365610599517822, 0.5738282203674316, 0.015742190182209015, -0.14563599228858948, -0.10406646877527237, -0.20610086619853973, -0.274303674697876, 0.1466791182756424, 0.13824383914470673, 0.4732000231742859, 0.15104034543037415, -0.2587415277957916, -0.39756864309310913, 0.38674724102020264, 0.03553131967782974, -0.4918835461139679, -0.025812344625592232, 0.2805521786212921, -0.038742829114198685, 0.16018135845661163, 0.2561129629611969, 0.06926131993532181, 0.23034323751926422, -0.3721751570701599, -0.38099029660224915, -0.12368287146091461, 0.47374528646469116, 0.03309142217040062, -0.33550915122032166, -0.2796778380870819, 0.17264966666698456, -0.17060604691505432, 0.07998838275671005, -0.1982639729976654, 0.024861877784132957, -0.15994668006896973, 0.014111771248281002, -0.057508405297994614, 0.12618388235569, 0.08302967250347137, -0.0625075027346611, -0.03719668090343475, 0.2025630623102188, 0.06814349442720413, -0.09785586595535278, -0.20594769716262817, -0.16014830768108368 ]
https://github.com/huggingface/datasets/issues/2068
PyTorch not available error on SageMaker GPU docker though it is installed
Could paste the code you use the start your training job and the fine-tuning script you run?
I get en error when running data loading using SageMaker SDK ``` File "main.py", line 34, in <module> run_training() File "main.py", line 25, in run_training dm.setup('fit') File "/opt/conda/lib/python3.6/site-packages/pytorch_lightning/core/datamodule.py", line 92, in wrapped_fn return fn(*args, **kwargs) File "/opt/ml/code/data_module.py", line 103, in setup self.dataset[split].set_format(type="torch", columns=self.columns) File "/opt/conda/lib/python3.6/site-packages/datasets/fingerprint.py", line 337, in wrapper out = func(self, *args, **kwargs) File "/opt/conda/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 995, in set_format _ = get_formatter(type, **format_kwargs) File "/opt/conda/lib/python3.6/site-packages/datasets/formatting/__init__.py", line 114, in get_formatter raise _FORMAT_TYPES_ALIASES_UNAVAILABLE[format_type] ValueError: PyTorch needs to be installed to be able to return PyTorch tensors. ``` when trying to execute dataset loading using this notebook https://github.com/PyTorchLightning/pytorch-lightning/blob/master/notebooks/04-transformers-text-classification.ipynb, specifically lines ``` self.columns = [c for c in self.dataset[split].column_names if c in self.loader_columns] self.dataset[split].set_format(type="torch", columns=self.columns) ``` The SageMaker docker image used is 763104351884.dkr.ecr.eu-central-1.amazonaws.com/pytorch-training:1.4.0-gpu-py3 . By running container interactively I have checked that torch loading completes successfully by executing `https://github.com/huggingface/datasets/blob/master/src/datasets/config.py#L39`. Also as a first line in the data loading module I have ``` import os os.environ["USE_TF"] = "0" os.environ["USE_TORCH"] = "1" ```` But unfortunately the error stills persists. Any suggestions would be appreciated as I am stack. Many Thanks!
17
PyTorch not available error on SageMaker GPU docker though it is installed
[ -0.2730225622653961, -0.12165607511997223, -0.12411712855100632, -0.14499209821224213, 0.14568638801574707, -0.06740928441286087, 0.3162088394165039, 0.2052198350429535, 0.4958428740501404, 0.33664536476135254, 0.007071818690747023, 0.3529796302318573, -0.07115771621465683, 0.21433699131011963, 0.18981945514678955, -0.15409786999225616, -0.047025710344314575, 0.19435426592826843, -0.06883828341960907, 0.005863054655492306, 0.2831686735153198, 0.06782032549381256, -0.26066315174102783, 0.27317196130752563, -0.3253849744796753, -0.1395479440689087, 0.38792696595191956, -0.07405214756727219, 0.02113141492009163, -0.2711009383201599, 0.11667376011610031, 0.043141815811395645, -0.009916760958731174, 0.5043232440948486, -0.00010741711594164371, 0.34360745549201965, 0.053655799478292465, 0.05029401555657387, 0.004789076279848814, -0.31608060002326965, 0.39262548089027405, 0.01566910929977894, 0.10934943705797195, -0.05747758224606514, -0.4063539206981659, -0.6010891795158386, -0.08216679841279984, -0.08494115620851517, 0.13906167447566986, 0.43247294425964355, 0.19850629568099976, 0.30035415291786194, 0.2789793908596039, -0.1922798454761505, 0.10013244301080704, -0.41192758083343506, -0.18697527050971985, 0.10948298126459122, 0.10432809591293335, -0.052256640046834946, -0.20756317675113678, 0.4095941483974457, 0.13994912803173065, 0.11250863969326019, 0.1261938214302063, -0.10978688299655914, 0.19757282733917236, -0.27418485283851624, 0.13883905112743378, -0.22652274370193481, -0.057994190603494644, -0.1353815644979477, -0.08056946098804474, -0.05278943106532097, 0.17215734720230103, -0.14372766017913818, 0.275947630405426, 0.02114439569413662, -0.2862076759338379, -0.24327796697616577, 0.13791894912719727, -0.4072542190551758, -0.360872358083725, -0.1935577243566513, -0.12523330748081207, 0.7777139544487, 0.08129233121871948, 0.3458366096019745, -0.04000895097851753, 0.13221853971481323, 0.08952941000461578, 0.2892746031284332, 0.03399161249399185, -0.23941932618618011, -0.22039559483528137, 0.12669432163238525, 0.12569668889045715, -0.39283522963523865, -0.23701810836791992, 0.3977648615837097, 0.04469628259539604, 0.15285274386405945, 0.4887981116771698, 0.18080094456672668, -0.22530913352966309, 0.018144557252526283, -0.23315511643886566, 0.18716256320476532, 0.5156018733978271, 0.26110926270484924, -0.07963711768388748, -0.008327159099280834, -0.1347990185022354, -0.3181106448173523, 0.0967692881822586, 0.03970175236463547, 0.15007026493549347, -0.13995563983917236, -0.021987605839967728, -0.07683683186769485, -0.29218199849128723, 0.12999962270259857, 0.24202339351177216, 0.37507081031799316, -0.275036096572876, -0.07665630429983139, 0.3159846365451813, 0.021694140508770943, -0.14633330702781677, 0.25807732343673706, -0.08870867639780045, 0.4429442584514618, -0.21020694077014923, -0.2955787181854248, 0.19340191781520844, -0.25959986448287964, 0.30912819504737854, -0.07469169795513153, 0.5503382682800293, 0.0006857356638647616, 0.18209484219551086, 0.13893455266952515, -0.00751635804772377, 0.48232612013816833, 0.20204859972000122, -0.1475510448217392, -0.07362669706344604, 0.02567778155207634, 0.08080580085515976, 0.09142021834850311, -0.01863236352801323, -0.24239282310009003, -0.0071719130501151085, 0.27715545892715454, 0.1393604725599289, -0.09634532779455185, 0.3481357991695404, -0.33010590076446533, 0.05296916142106056, -0.24464720487594604, -0.15016235411167145, -0.5084778666496277, 0.0024933507665991783, 0.043586306273937225, 0.30059996247291565, -0.21127639710903168, -0.26365137100219727, -0.17404524981975555, 0.26978906989097595, -0.11322519928216934, 0.0668935552239418, 0.16825023293495178, -0.179756298661232, 0.2720068097114563, -0.17877906560897827, -0.005270230118185282, 0.27910470962524414, -0.15362395346164703, -0.2808228135108948, -0.23429854214191437, -0.16042162477970123, -0.22779659926891327, 0.2012239247560501, -0.009574606083333492, 0.15266206860542297, 0.2994244396686554, 0.17795823514461517, 0.02788558229804039, 0.08040261268615723, -0.11891908198595047, 0.038785334676504135, -0.028134094551205635, 0.001115810708142817, 0.13977749645709991, 0.6981489062309265, 0.0016582236858084798, -0.24687941372394562, -0.11119918525218964, -0.014563493430614471, -0.22134700417518616, -0.0717424750328064, 0.02326979860663414, 0.43633538484573364, 0.11655309051275253, 0.1959475427865982, -0.16145429015159607, 0.011681721545755863, 0.3458293080329895, -0.5078358054161072, 0.3487514853477478, -0.2913147807121277, 0.29136398434638977, 0.06737011671066284, 0.3662557005882263, -0.2584214210510254, -0.13862992823123932, 0.2049241065979004, 0.4859277904033661, 0.24685761332511902, -0.040227096527814865, -0.13674932718276978, -0.018390605226159096, -0.06495351344347, 0.16355015337467194, 0.30625832080841064, 0.057110391557216644, -0.3921356499195099, -0.40343403816223145, 0.041244667023420334, -0.10657785087823868, 0.14585436880588531, -0.14868669211864471, -0.00007100586663000286, -0.0804537758231163, 0.058402303606271744, -0.20836441218852997, -0.31783610582351685, -0.10856486111879349, 0.2033728063106537, 0.036508750170469284, 0.04472009465098381, 0.33959338068962097, -0.04748528450727463, 0.15628686547279358, 0.032126061618328094, 0.049286726862192154, 0.2863070070743561, 0.22317931056022644, 0.07533782720565796, 0.15771454572677612, 0.46275660395622253, 0.11658713966608047, 0.027379218488931656, 0.18206460773944855, 0.193640798330307, -0.3415287435054779, 0.2625357210636139, -0.48952576518058777, -0.1839471161365509, 0.015344693325459957, -0.04786522686481476, 0.1906111240386963, 0.13031037151813507, -0.15743911266326904, -0.10077811777591705, 0.059720370918512344, 0.2114950716495514, 0.046254925429821014, -0.20185615122318268, 0.14914318919181824, -0.0707174763083458, -0.08634382486343384, -0.4909646809101105, -0.26671066880226135, -0.09529472887516022, 0.09137521684169769, 0.018338210880756378, 0.5370651483535767, 0.005418453365564346, -0.26510074734687805, -0.29993757605552673, -0.18222616612911224, -0.05208376422524452, 0.05216822028160095, -0.021735720336437225, 0.08115927875041962, 0.11016013473272324, -0.1898544281721115, 0.12728489935398102, 0.2763916254043579, -0.16609296202659607, -0.05093840882182121, 0.09274900704622269, 0.44661134481430054, -0.03556821495294571, 0.4931887090206146, 0.18435698747634888, 0.10628150403499603, 0.025523526594042778, -0.11566302925348282, 0.11448357254266739, -0.14962412416934967, -0.07458555698394775, 0.1701616793870926, -0.24891260266304016, -0.15134760737419128, 0.520200252532959, -0.0053166612051427364, 0.09045589715242386, -0.4850507974624634, -0.4492514431476593, 0.26738667488098145, 0.05889356881380081, 0.12154021859169006, 0.08451426774263382, -0.16984841227531433, 0.31975284218788147, 0.03360752761363983, 0.24629561603069305, -0.5876530408859253, 0.060433559119701385, -0.25471872091293335, -0.26611095666885376, -0.16616398096084595, -0.20039324462413788, -0.2338411808013916, 0.03483986482024193, -0.22983117401599884, 0.009208825416862965, 0.27088063955307007, 0.01145720761269331, -0.08823730051517487, 0.01674029603600502, 0.2651362717151642, 0.08426554501056671, 0.3492415249347687, 0.03173455968499184, 0.08118079602718353, 0.15073536336421967, -0.0747266411781311, -0.4173998236656189, 0.36684921383857727, -0.02480282075703144, 0.37739479541778564, 0.17183558642864227, -0.27895238995552063, -0.15891456604003906, -0.10705629736185074, -0.0026072263717651367, -0.17605696618556976, -0.19012869894504547, 0.4202006161212921, 0.07012990117073059, -0.12704646587371826, -0.069765105843544, -0.42024803161621094, 0.14249658584594727, -0.04490656033158302, 0.07381399720907211, 0.05752754583954811, 0.2369057685136795, -0.04320256784558296, 0.5788870453834534, -0.4404696226119995, 0.0622379407286644, -0.02398901991546154, -0.1922803819179535, 0.2509963810443878, -0.014515546150505543, -0.18476749956607819, 0.12182242423295975, -0.01329666655510664, -0.2052493840456009, -0.33459150791168213, -0.1716456413269043, -0.04069647192955017, -0.1780676543712616, 0.0830763652920723, 0.24301475286483765, -0.05703885853290558, 0.09623271971940994, 0.09465466439723969, 0.13021314144134521, 0.015643641352653503, 0.2532142102718353, -0.018238743767142296, 0.14977934956550598, 0.1484779268503189, 0.21438702940940857, 0.2650221586227417, -0.06086110696196556, -0.37263140082359314, -0.29904478788375854, -0.2865055501461029, 0.015445363707840443, 0.05243457853794098, 0.21770881116390228, -0.3258932828903198, -0.01943906396627426, 0.25909969210624695, -0.25831952691078186, 0.17820358276367188, 0.13072340190410614, 0.010316007770597935, 0.26046162843704224, -0.5258432626724243, -0.019305795431137085, -0.33778706192970276, -0.2477860450744629, 0.24374574422836304, -0.15306556224822998, 0.01622794382274151, -0.019951092079281807, -0.02185632660984993, 0.33154428005218506, -0.11485467106103897, -0.2986767292022705, 0.08833756297826767, -0.322806179523468, -0.058840107172727585, -0.31180182099342346, 0.0852029025554657, -0.07515934854745865, 0.054428309202194214, 0.1131569966673851, 0.17158187925815582, -0.02338176965713501, -0.25625744462013245, -0.30086061358451843, 0.23796337842941284, 0.19069965183734894, -0.25750407576560974, 0.025232980027794838, 0.09191747009754181, 0.41070646047592163, -0.18345840275287628, -0.09333344548940659, 0.08005788177251816, -0.3800347149372101, 0.24320299923419952, 0.1545613408088684, 0.04455637186765671, 0.13850897550582886, -0.37958186864852905, 0.13136827945709229, -0.09989985078573227, 0.3822357654571533, -0.17316965758800507, 0.30212530493736267, 0.38939693570137024, 0.043328020721673965, -0.09190460294485092, -0.2867850065231323, -0.244464710354805, 0.029705526307225227, 0.0483442060649395, 0.13256040215492249, 0.04548213258385658, -0.14167191088199615, -0.05863385647535324, 0.2005847841501236, 0.4027474820613861, -0.046236857771873474, 0.10636863857507706, 0.4776463806629181, -0.26192474365234375, 0.6472675800323486, -0.03084452450275421, 0.5763959288597107, -0.20904698967933655, 0.14339962601661682, 0.06570960581302643, -0.32181987166404724, 0.06362998485565186, -0.3341076672077179, 0.09222396463155746, 0.3172977566719055, 0.10367412120103836, 0.14548690617084503, 0.04662381485104561, 0.28415632247924805, 0.06601761281490326, -0.18177030980587006, 0.2729818522930145, 0.14228570461273193, -0.34663885831832886, 0.43233242630958557, -0.07864212989807129, 0.15563157200813293, 0.2485341578722, -0.07523097097873688, -0.32464444637298584, 0.14718057215213776, -0.08607853949069977, 0.35636961460113525, -0.16671817004680634, -0.5023226141929626, -0.08195214718580246, -0.30743786692619324, -0.10094744712114334, 0.090489462018013, 0.011049386113882065, 0.32569292187690735, -0.34459197521209717, -0.3702066242694855, -0.1033223494887352, 0.309333860874176, 0.22207213938236237, -0.3223639726638794, -0.37274983525276184, 0.209584042429924, -0.07077306509017944, -0.4473761022090912, -0.21956738829612732, 0.20483516156673431, 0.2953055799007416, 0.34974443912506104, 0.1201995313167572, -0.10631731897592545, -0.17081883549690247, -0.2031245082616806, 0.2115982472896576, 0.00004623845234164037, -0.146879643201828, -0.090634286403656, 0.04466537758708, -0.09984815120697021, -0.10390965640544891, 0.2588491439819336, 0.21758191287517548, -0.13913601636886597, 0.5386074185371399, 0.2928157150745392, -0.1965785026550293, -0.25825393199920654, -0.629716694355011, 0.05604531988501549, -0.22260385751724243, 0.202249214053154, -0.09790198504924774, -0.27073344588279724, -0.14005930721759796, -0.029542777687311172, 0.30555543303489685, -0.16146953403949738, -0.3075045645236969, -0.20375771820545197, -0.24837177991867065, -0.1156897097826004, 0.020104628056287766, 0.11283234506845474, 0.2643568813800812, 0.18023476004600525, 0.20480121672153473, -0.2014104276895523, -0.3268894851207733, -0.14795435965061188, -0.21167172491550446, -0.12756898999214172, -0.11518273502588272, -0.13962982594966888, 0.1291898638010025, 0.07441524416208267, 0.12939657270908356, -0.008593528531491756, -0.07639005035161972, -0.1910766363143921, -0.12793445587158203, 0.018369123339653015, 0.03605125844478607, -0.06266915053129196, -0.04419447109103203, -0.3655136227607727, -0.22686263918876648, 0.25896620750427246, 0.30697113275527954, 0.17201527953147888, -0.0797349140048027, 0.06535357236862183, -0.09986439347267151, -0.0891781896352768, -0.05756115913391113, 0.1345006823539734, 0.055308997631073, -0.010713061317801476, 0.19757337868213654, 0.03857125714421272, 0.0010082798544317484, 0.14632761478424072, 0.07053479552268982, -0.007379758637398481, -0.3218889832496643, 0.18941502273082733, 0.20138148963451385, -0.4122897684574127, 0.07330621778964996, -0.2549475133419037, 0.4338189661502838, 0.25028857588768005, 0.01873396523296833, 0.1308121532201767, 0.08314352482557297, 0.19215869903564453, -0.35686635971069336, -0.09069914370775223, -0.33161118626594543, -0.143087700009346, 0.29022496938705444, 0.0032677100971341133, -0.009226901456713676, 0.1683819442987442, 0.29112371802330017, 0.3789033889770508, 0.07106439769268036, -0.2634505331516266, -0.006082229316234589, -0.1092504933476448, -0.23078016936779022, 0.19263263046741486, 0.22986140847206116, 0.14630793035030365, -0.008313490077853203, 0.24764691293239594, 0.00682602496817708, 0.19041934609413147, -0.00743141071870923, 0.03941958025097847, 0.3454985022544861, 0.07696323096752167, -0.11339232325553894, 0.010443612933158875, -0.019389478489756584, -0.15792760252952576, -0.11823337525129318, 0.10891828685998917, -0.4401642382144928, -0.1374039649963379, -0.2669175863265991, -0.10701911896467209, -0.363400936126709, 0.054064828902482986, -0.20942895114421844, -0.02773808129131794, 0.11014916747808456, 0.22230422496795654, 0.39486458897590637, 0.21313630044460297, -0.5140151381492615, -0.06628702580928802, -0.3645690679550171, 0.19603125751018524, -0.3688778281211853, 0.0820373073220253, -0.04219288006424904, 0.03557542338967323, 0.034266337752342224, 0.3473925292491913, -0.16972124576568604, -0.1724976897239685, 0.08916117250919342, 0.44871118664741516, -0.02804122120141983, -0.07894366979598999, -0.025305403396487236, -0.04383004084229469, 0.039119504392147064, -0.13605979084968567, 0.20745915174484253, 0.1369474083185196, -0.05810852348804474, 0.04759829118847847, 0.20652835071086884, -0.24407564103603363, 0.2343093752861023, 0.09122509509325027, 0.12319932132959366, 0.14348392188549042, 0.31167587637901306, -0.04099327698349953, -0.1525244414806366, -0.09233622997999191, -0.11486795544624329, -0.30505311489105225, -0.05416823551058769, 0.3277946710586548, 0.08043532818555832, -0.22144350409507751, -0.23856116831302643, 0.1367712765932083, 0.03791657090187073, 0.4800138473510742, 0.10564400255680084, -0.006942179519683123, 0.06932175904512405, 0.11168507486581802, -0.16256709396839142, 0.3345179259777069, -0.14539967477321625, -0.03246969357132912, -0.15215466916561127, 0.12199845910072327, -0.07375440001487732, -0.18280872702598572, 0.49632880091667175, 0.016218626871705055, 0.16119377315044403, -0.38333582878112793, -0.20364245772361755, -0.028256917372345924, 0.21713072061538696, -0.0496835894882679, 0.2826994061470032, -0.18409594893455505, 0.1009766012430191, -0.011653660796582699, 0.1756584197282791, -0.09551307559013367, 0.024927010759711266, 0.14219850301742554, -0.3091459572315216, 0.2696951925754547, -0.17365610599517822, 0.5738282203674316, 0.015742190182209015, -0.14563599228858948, -0.10406646877527237, -0.20610086619853973, -0.274303674697876, 0.1466791182756424, 0.13824383914470673, 0.4732000231742859, 0.15104034543037415, -0.2587415277957916, -0.39756864309310913, 0.38674724102020264, 0.03553131967782974, -0.4918835461139679, -0.025812344625592232, 0.2805521786212921, -0.038742829114198685, 0.16018135845661163, 0.2561129629611969, 0.06926131993532181, 0.23034323751926422, -0.3721751570701599, -0.38099029660224915, -0.12368287146091461, 0.47374528646469116, 0.03309142217040062, -0.33550915122032166, -0.2796778380870819, 0.17264966666698456, -0.17060604691505432, 0.07998838275671005, -0.1982639729976654, 0.024861877784132957, -0.15994668006896973, 0.014111771248281002, -0.057508405297994614, 0.12618388235569, 0.08302967250347137, -0.0625075027346611, -0.03719668090343475, 0.2025630623102188, 0.06814349442720413, -0.09785586595535278, -0.20594769716262817, -0.16014830768108368 ]
https://github.com/huggingface/datasets/issues/2067
Multiprocessing windows error
Hi ! Thanks for reporting. This looks like a bug, could you try to provide a minimal code example that reproduces the issue ? This would be very helpful ! Otherwise I can try to run the wav2vec2 code above on my side but probably not this week..
As described here https://huggingface.co/blog/fine-tune-xlsr-wav2vec2 When using the num_proc argument on windows the whole Python environment crashes and hanging in loop. For example at the map_to_array part. An error occures because the cache file already exists and windows throws and error. After this the log crashes into an loop
48
Multiprocessing windows error
[ -0.2799700200557709, -0.36839237809181213, -0.23512470722198486, 0.19405187666416168, 0.12593837082386017, -0.014877716079354286, 0.143172487616539, 0.016826193779706955, 0.0836070105433464, 0.3339700996875763, 0.0676731988787651, 0.06666979193687439, -0.053079668432474136, 0.11228303611278534, -0.3882979154586792, -0.28133925795555115, -0.10311253368854523, 0.000129938664031215, 0.02253057062625885, 0.03270881250500679, -0.3575035333633423, 0.4177406430244446, -0.28903090953826904, 0.36230161786079407, -0.3267533779144287, -0.21666854619979858, -0.06543689966201782, 0.3522132933139801, 0.31681495904922485, 0.05886666476726532, -0.18844380974769592, -0.12226936221122742, 0.003163715125992894, 0.5114744305610657, -0.00009443330782232806, 0.05679246038198471, 0.24053402245044708, 0.05958441644906998, 0.2105332612991333, 0.3973817527294159, -0.03256777673959732, 0.23330378532409668, -0.01746179535984993, -0.12411881238222122, 0.28876224160194397, 0.08082792907953262, 0.1389639675617218, -0.15678340196609497, 0.2967745065689087, -0.10800398886203766, 0.43376070261001587, 0.3348698318004608, 0.009757998399436474, -0.0018688577692955732, -0.143983393907547, -0.2351927012205124, -0.016406189650297165, -0.028140543028712273, 0.1762624830007553, -0.41096803545951843, 0.06828872859477997, 0.24040544033050537, -0.135024294257164, 0.029709989205002785, -0.39050838351249695, -0.23071786761283875, 0.3911120593547821, -0.3030635118484497, 0.1832464039325714, -0.19754202663898468, -0.06663897633552551, 0.001912633772008121, 0.11065584421157837, 0.09080357104539871, -0.08545216917991638, -0.4189563989639282, 0.25482016801834106, 0.23112434148788452, -0.2188507467508316, -0.0017800196073949337, 0.02204691432416439, 0.011753135360777378, -0.06136545166373253, -0.19220049679279327, 0.16569991409778595, 0.3184267282485962, -0.01786617748439312, 0.09224908798933029, 0.26378247141838074, 0.3866884410381317, -0.12663735449314117, 0.0955824926495552, -0.12752588093280792, -0.16717274487018585, -0.22647175192832947, 0.1370013952255249, -0.002914782613515854, 0.10235633701086044, -0.2546493113040924, -0.06780455261468887, -0.23972004652023315, 0.16083301603794098, 0.2948465347290039, 0.020970486104488373, 0.12184538692235947, -0.2896766662597656, -0.08994477242231369, -0.327482670545578, 0.23668552935123444, -0.26270315051078796, -0.23867280781269073, 0.008065925911068916, -0.010152219794690609, -0.5493664741516113, 0.13670065999031067, 0.13574229180812836, 0.061849988996982574, 0.10290910303592682, -0.3002648949623108, -0.013733510859310627, 0.03175591677427292, -0.18294507265090942, 0.13948765397071838, 0.128330260515213, 0.13787581026554108, 0.5009729266166687, 0.11768370866775513, 0.13512204587459564, -0.30745312571525574, -0.12122992426156998, -0.1829194873571396, 0.1417059451341629, -0.3000885248184204, -0.08674918115139008, 0.016722485423088074, 0.08708788454532623, -0.03164002671837807, 0.1436944454908371, 0.008183037862181664, -0.31716594099998474, 0.21748413145542145, -0.26540377736091614, -0.18461214005947113, 0.1460411548614502, 0.23465992510318756, 0.1679522544145584, -0.013012034818530083, -0.006383899133652449, 0.22594985365867615, 0.04435936361551285, -0.20892168581485748, -0.18780727684497833, -0.07240676879882812, 0.3500426709651947, 0.38856664299964905, 0.28271159529685974, 0.18674001097679138, -0.06594987213611603, 0.18321457505226135, 0.07781921327114105, 0.06577033549547195, -0.2364029437303543, -0.10401511192321777, -0.32599419355392456, -0.06345820426940918, 0.34829309582710266, -0.026414161548018456, 0.15805163979530334, -0.03968720883131027, -0.41926082968711853, 0.3081449568271637, 0.3695876896381378, 0.09736575186252594, 0.2034427970647812, -0.14594705402851105, 0.11359523981809616, -0.22225166857242584, -0.19964073598384857, 0.19103285670280457, 0.23025459051132202, -0.21634319424629211, -0.1607673019170761, 0.10350366681814194, -0.01877528615295887, -0.15150634944438934, -0.0669451504945755, 0.2432989478111267, -0.058155205100774765, -0.15301501750946045, 0.2518623173236847, -0.10609984397888184, -0.0014010744635015726, -0.1469748169183731, -0.008703629486262798, 0.3236035108566284, -0.06491448730230331, -0.0348852165043354, 0.02713513933122158, 0.2742898762226105, -0.04562688246369362, 0.024643506854772568, 0.0433121919631958, 0.10762340575456619, 0.38434115052223206, -0.14941942691802979, -0.25261059403419495, 0.09394754469394684, -0.11966860294342041, -0.06526892632246017, -0.03510456532239914, 0.30832377076148987, 0.0420820415019989, 0.17738060653209686, 0.27630698680877686, -0.049742452800273895, 0.041898034512996674, 0.36191126704216003, 0.31062600016593933, -0.1037239357829094, -0.31603100895881653, -0.009778819046914577, 0.422628253698349, -0.08051804453134537, -0.09216978400945663, 0.17213232815265656, -0.0005923907156102359, -0.37443113327026367, -0.33074402809143066, -0.07023141533136368, 0.12129011005163193, 0.22893919050693512, 0.08070578426122665, 0.028955776244401932, 0.3130545914173126, -0.08872602880001068, 0.10121724754571915, 0.11283500492572784, -0.010591857135295868, -0.11858989298343658, -0.27072417736053467, -0.1282190978527069, -0.040899742394685745, 0.0994788184762001, -0.19909346103668213, 0.5990368723869324, -0.03703278675675392, -0.28359854221343994, 0.18063560128211975, 0.047022659331560135, 0.20075686275959015, 0.13472828269004822, -0.1558677703142166, 0.31152305006980896, 0.014158492907881737, 0.2453550398349762, -0.02487080730497837, -0.346464067697525, -0.24493105709552765, -0.5259037017822266, -0.2593296468257904, 0.12674590945243835, 0.2893860340118408, 0.13814620673656464, -0.10369610041379929, 0.031216269358992577, 0.3775481581687927, -0.0629519373178482, -0.08641769737005234, 0.34576746821403503, 0.20991575717926025, -0.2256297618150711, 0.0617188885807991, -0.05962441861629486, -0.13980726897716522, 0.12899774312973022, 0.04809074476361275, 0.3049910068511963, 0.11360625922679901, -0.2136862576007843, -0.04632442444562912, -0.1643449068069458, -0.12839668989181519, -0.036530304700136185, 0.02093551866710186, -0.27020958065986633, 0.03088231198489666, -0.199458509683609, -0.09399799257516861, -0.3165087401866913, -0.0677797943353653, 0.0324673093855381, -0.07192689925432205, 0.09594400227069855, 0.4235294759273529, -0.26865682005882263, 0.0559464693069458, -0.2508644461631775, 0.09574749320745468, -0.29555627703666687, 0.33212810754776, 0.14394187927246094, 0.10791106522083282, -0.13001517951488495, 0.19370552897453308, 0.22778625786304474, -0.05758032947778702, 0.3629339933395386, -0.11026918888092041, -0.01607927680015564, -0.10564009100198746, 0.20856603980064392, -0.001795911812223494, 0.035431452095508575, 0.05020204558968544, 0.05014989897608757, 0.02428956888616085, 0.017336362972855568, -0.6483753323554993, 0.3488817811012268, -0.3118044137954712, 0.024525362998247147, 0.0024265595711767673, 0.1673123687505722, -0.35158097743988037, -0.30344030261039734, 0.041178617626428604, -0.03864625096321106, -0.20630685985088348, 0.230753093957901, -0.28274667263031006, 0.23479562997817993, -0.11250460147857666, -0.22985650599002838, -0.014784014783799648, 0.08624216169118881, 0.08972437679767609, -0.09140174090862274, 0.05504008010029793, -0.17421671748161316, -0.13951435685157776, -0.20589639246463776, 0.15701749920845032, 0.1483844667673111, -0.014690496027469635, 0.016079258173704147, -0.1441597193479538, -0.05417119711637497, -0.059310004115104675, -0.05340193212032318, -0.09842744469642639, 0.1440947949886322, 0.24679282307624817, 0.09933331608772278, -0.30511215329170227, -0.17719170451164246, -0.2002495378255844, 0.19942830502986908, -0.160543754696846, 0.12078966945409775, 0.017474863678216934, 0.09173552691936493, -0.20863519608974457, 0.46478238701820374, 0.04181241989135742, 0.20628157258033752, 0.27026915550231934, -0.05521153286099434, 0.01090957410633564, 0.20734378695487976, -0.35240617394447327, 0.14826755225658417, -0.26417770981788635, -0.02858658693730831, 0.1532900035381317, -0.09902528673410416, -0.09756757318973541, -0.04816168546676636, -0.004869461990892887, -0.5543439388275146, -0.11889559030532837, -0.03486911579966545, 0.10061804205179214, 0.23923850059509277, -0.1998416781425476, -0.21537074446678162, 0.0009248568676412106, 0.11660769581794739, 0.054062049835920334, 0.32162556052207947, -0.20581118762493134, -0.348610520362854, 0.10620775073766708, -0.31839847564697266, -0.13830554485321045, 0.26186099648475647, 0.08017024397850037, 0.361812025308609, -0.2992880642414093, 0.00035165261942893267, 0.015722105279564857, -0.1869492381811142, 0.7502389550209045, -0.032646019011735916, -0.09754565358161926, 0.18196165561676025, -0.09694458544254303, 0.1944761574268341, -0.1729745864868164, -0.35697686672210693, 0.4838171601295471, 0.19179457426071167, -0.12150996178388596, 0.078831247985363, -0.028283052146434784, 0.15579256415367126, -0.16598239541053772, -0.2953124940395355, -0.2101350873708725, -0.27226805686950684, -0.26587802171707153, -0.030665287747979164, 0.288564532995224, -0.025435781106352806, 0.11294058710336685, -0.25746461749076843, 0.15956225991249084, -0.011909900233149529, 0.002866361988708377, 0.14789405465126038, -0.11063825339078903, 0.09752452373504639, -0.046301424503326416, -0.02775275893509388, -0.28120023012161255, 0.4262881875038147, 0.007745198905467987, -0.09587062150239944, -0.012652278877794743, 0.20135417580604553, 0.239238440990448, -0.26136910915374756, 0.4672282636165619, 0.25984829664230347, 0.032032694667577744, 0.08058690279722214, -0.07105967402458191, 0.29928964376449585, -0.1596919149160385, -0.2000139057636261, 0.5044227838516235, 0.15291808545589447, 0.07352428138256073, 0.312314510345459, -0.13885599374771118, 0.10914991796016693, -0.0900208055973053, 0.46831953525543213, -0.08972030133008957, -0.11507170647382736, -0.23103517293930054, 0.09048060327768326, 0.7477176785469055, -0.12076546251773834, -0.2300674468278885, 0.006680457387119532, -0.412161648273468, -0.16199961304664612, 0.17129316926002502, 0.3627527058124542, -0.22724156081676483, -0.1710103154182434, 0.17662575840950012, -0.06903038918972015, 0.13819003105163574, -0.004329896531999111, -0.07828599214553833, 0.17447251081466675, 0.12685345113277435, -0.39389362931251526, -0.09126337617635727, 0.13299109041690826, 0.06288418918848038, -0.15565085411071777, 0.09473662823438644, 0.2837655246257782, 0.06759370863437653, 0.09201454371213913, -0.42315441370010376, -0.006959318649023771, 0.3530035614967346, -0.1909807026386261, -0.5154414176940918, -0.09347254782915115, -0.2249113768339157, 0.2129075974225998, -0.06184506043791771, 0.25178104639053345, 0.10189544409513474, -0.08404529094696045, 0.1987505704164505, -0.0943838357925415, 0.011006697081029415, 0.0005213688709773123, 0.2212587296962738, -0.23225799202919006, -0.20765435695648193, -0.057639818638563156, 0.05407575145363808, -0.2528841495513916, -0.46059924364089966, 0.07256446778774261, 0.015366027131676674, -0.32146987318992615, -0.14827659726142883, 0.3546743094921112, 0.0780281126499176, 0.18608219921588898, 0.019901039078831673, 0.0866413488984108, 0.0776951014995575, -0.09242377430200577, 0.33906859159469604, -0.08497273176908493, -0.0797082781791687, 0.3889922499656677, -0.3798460066318512, -0.1858433336019516, -0.08128973096609116, -0.1392512023448944, 0.052413616329431534, -0.03307485207915306, 0.3034227192401886, 0.2713174521923065, -0.2203095257282257, -0.39264360070228577, -0.3093135952949524, -0.33559736609458923, -0.01642192341387272, 0.1850673258304596, 0.06060383468866348, -0.17760047316551208, 0.034646324813365936, -0.06740520149469376, 0.12384993582963943, 0.3678913116455078, -0.16035258769989014, -0.18565519154071808, -0.1467675417661667, 0.06829027831554413, -0.16540110111236572, -0.00347157777287066, 0.03374859690666199, 0.32914072275161743, 0.44546422362327576, 0.147209033370018, -0.4922372102737427, -0.07712652534246445, -0.23521031439304352, 0.08499889075756073, 0.10721202939748764, -0.20267464220523834, -0.16087563335895538, 0.12762409448623657, 0.2976323366165161, 0.1208498626947403, -0.02999192848801613, -0.41856592893600464, -0.0464545376598835, 0.0252173263579607, -0.10170906782150269, -0.10927142947912216, 0.26046499609947205, -0.138905331492424, 0.09348540753126144, 0.06610389053821564, -0.060401152819395065, 0.09458092600107193, -0.16241437196731567, 0.09622649848461151, 0.25799453258514404, 0.1205168068408966, -0.00844572577625513, 0.15216103196144104, -0.008260894566774368, 0.4086723327636719, -0.11230187118053436, 0.06738109886646271, 0.20108558237552643, -0.17128585278987885, -0.14056499302387238, -0.1795366257429123, 0.0744805708527565, 0.155201718211174, -0.3362266421318054, -0.07642009109258652, -0.26146647334098816, 0.040697820484638214, 0.2236739546060562, 0.11843683570623398, -0.037475503981113434, 0.13977353274822235, 0.11454776674509048, 0.36643877625465393, -0.13854694366455078, 0.24540960788726807, 0.09937354177236557, -0.23251399397850037, -0.08304965496063232, 0.12974968552589417, 0.13128557801246643, -0.0981362909078598, 0.06416725367307663, 0.07172531634569168, -0.021455269306898117, -0.15286175906658173, -0.12474287301301956, -0.09636008739471436, 0.08145052939653397, 0.22343067824840546, 0.12793028354644775, 0.04019623249769211, -0.004949538037180901, 0.07652105391025543, 0.15244027972221375, 0.11533727496862411, -0.09474807232618332, -0.10027682036161423, -0.0054470268078148365, -0.26542380452156067, -0.18787959218025208, -0.15163084864616394, 0.052021510899066925, 0.07392589002847672, -0.2538914680480957, 0.34172943234443665, -0.34410274028778076, -0.26547616720199585, -0.3054017424583435, 0.39419952034950256, -0.3178355097770691, -0.1705111414194107, -0.11741627007722855, 0.013118289411067963, -0.06917805224657059, 0.08238113671541214, 0.30461588501930237, 0.2876213490962982, 0.5166537761688232, -0.03754990175366402, -0.11640779674053192, 0.021641209721565247, -0.16588357090950012, 0.2821876108646393, 0.08326111733913422, -0.23540820181369781, -0.013817169703543186, 0.27577275037765503, 0.027878299355506897, 0.03043985739350319, 0.4476102590560913, 0.48307472467422485, 0.2138003706932068, -0.307198703289032, -0.26655274629592896, 0.02517782337963581, 0.16828447580337524, -0.09140230715274811, 0.21028685569763184, 0.16924192011356354, 0.26904386281967163, 0.04801109433174133, 0.3182421624660492, -0.3208770155906677, -0.12213277816772461, 0.2648463547229767, 0.02853408083319664, 0.11095575988292694, 0.04678834229707718, -0.009103434160351753, -0.10605387389659882, -0.08425650000572205, 0.051009517163038254, -0.29132160544395447, 0.053880803287029266, 0.21053335070610046, -0.4326273798942566, 0.0039407238364219666, -0.004637488629668951, 0.1917373538017273, 0.041260670870542526, 0.4253656268119812, 0.27628442645072937, 0.38540610671043396, -0.3191881775856018, -0.2945902347564697, -0.32599881291389465, 0.2831879258155823, -0.12087307125329971, -0.017068229615688324, -0.23907342553138733, 0.10642372816801071, -0.07247556746006012, -0.11936762183904648, 0.3356826901435852, -0.13633392751216888, 0.13024912774562836, 0.41406866908073425, -0.4192843735218048, 0.33113399147987366, 0.4017646014690399, -0.2253069430589676, 0.3059004843235016, -0.2134922593832016, 0.35404106974601746, 0.11155679076910019, 0.31714484095573425, -0.03745521977543831, 0.03495872765779495, 0.07112915813922882, 0.06046988070011139, 0.07828450202941895, -0.02083057165145874, 0.3832412660121918, -0.3179943859577179, 0.03480273112654686, 0.018006471917033195, 0.054349422454833984, 0.02392728254199028, -0.0660761222243309, 0.23053903877735138, 0.06802164018154144, -0.2543948292732239, 0.25558897852897644, -0.06752785295248032, 0.10324251651763916, 0.04782633110880852, 0.3834156095981598, -0.005889370106160641, 0.1376390904188156, 0.10353302210569382, -0.1719593107700348, 0.17703178524971008, 0.25223326683044434, 0.013146008364856243, 0.10358305275440216, -0.2606654763221741, -0.09306201338768005, 0.010387668386101723, -0.1447543203830719, -0.4132416844367981, -0.4724825322628021, 0.41559314727783203, -0.28991296887397766, 0.24666942656040192, -0.17373961210250854, -0.11815445125102997, 0.08278314769268036, 0.041091274470090866, -0.24952928721904755, 0.04361123591661453, -0.3538552522659302, -0.39487597346305847, 0.2306181937456131, -0.18172216415405273, -0.0927099660038948, -0.12014831602573395, 0.14367467164993286, 0.13230392336845398 ]